Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Standard



  A mini guide to HTTP referer

In HTTP header, there is a field named Referer which is to provide the referrer of the current accessed page. In this post, we will introduce the usage of HTTP referer field. On the web, when a user visits a webpage, s/he must be from some place. This place is usually referred a s referer. This information is very important to some website operators and server owners as they want to know where they get the traffic from and this helps them provide better service for potential targeted users. In t...

   HTML,HTTP REFERER,REFERRERPOLICY     2019-06-29 02:23:25

  Sony is to release PlayStation4 in 2015

According to Japanese media, Sony may release its flagship game console PlayStation 4 in the Christmas 2013, codenamed Orbis, As the source of the message is very reliable, so the possibility of a new generation of Sony PlayStation 4 game console to the market next year is still quite large. Sony has registered the Orbis domain name, but people are still unable to obtain relevant news on the Orbis website. The release plan on the Sony PlayStation4 game console will be officially launched this s...

   Sont,PS4,PlayStation,High resolution     2012-04-04 08:44:13

  What makes a great IT project manager

Since IT project management is a field in constant flux, there's no one universal definition of a great IT project manager. Still, there are some skills and features that can be easily adapted to any working environment, meeting new organizational needs and consequent challenges. A significant problem is the fact that project manager will mean different things to different people (even within the same organization!). Some say that the greatest IT project managers are those who are able to balanc...

   project management     2015-07-06 02:15:46

  7 misunderstandings of DNS resolution

DNS resolution is generally considered as providing mapping between domain name and IP address, for example www.google.com maps to 74.125.71.103. There are two important reasons for doing DNS resolution: IP address is hard to remember, while domain name is human friendly Virtual host may access different contents according to the header of the host domain name(sub-domain name) Some webmasters may have some unreasonable requirements when doing DNS resolution. It mainly because they are not very...

   DNS resolution,misunderstanding     2012-10-20 12:57:16

  Use Delve to debug GoLang program

If you don't know how to debug program, you are not a real programmer. gdb can be used to debug go program, but according to golang website, delve is a better option.   Note that Delve is a better alternative to GDB when debugging Go programs built with the standard toolchain. It understands the Go runtime, data structures, and expressions better than GDB. Below is a simple go program. package main type Person struct { Name string Age int } func main() { var me Person me.Nam...

   GOLANG,DEBUG,DELVE     2018-11-09 23:28:43

  What is encryption? Its role in the modern age

“Messages and calls are end-to-end encrypted.” If you are a WhatsApp user, you must have read this statement at the top of chats you open. Now, what does it mean? The statement signifies that all the messages or voice notes shared between users are encrypted, and no one can read or listen in on them. As mostly all of us use messaging apps and emails, information security has become a major concern. Moreover, we don’t know how many digital footprints we leave on the web can be t...

   DATA SECURITY,VPN     2021-01-21 08:04:16

  malloc/free and new/delete in C++

malloc and free are C++/C language standard library functions, while new/delete are operator of C++. They can be used to allocate dynamic memory and free memory in C++ programs malloc/free can not meet the requirements of dynamic objects creation. Object needs to call the constructor to initialize the object when creating, the object needs to call the destructor before it is destroyed  Since malloc() and free() are library functions rather than operators, the compiler has no control permiss...

   C++,memory,malloc,free,new,delete     2012-06-20 06:52:09

  Valid JavaScript variable names

Did you know var π = Math.PI; is syntactically valid JavaScript? I thought this was pretty cool, so I decided to look into which Unicode glyphs are allowed in JavaScript variable names, or identifiers as the ECMAScript specification calls them. Reserved words The ECMAScript 5.1 spec says: An Identifier is an IdentifierName that is not a ReservedWord. The spec describes four groups of reserved words: keywords, future reserved words, null literals and boolean lite...

   JavaScript,Name convention,Standard     2012-02-22 05:16:53

  Coming back, Nokia?

Nokia officially unveiled an Windows Phone 8 phone model Lumia 920T in cooperation with China Mobile in yesterday's Global Developer Conference of China Mobile. This is the first to support China Mobile's TD-SCDMA 3G mobile phone network standard in the Windows Phone ecosystem, it that Windows Phone is available in TD camp. Meanwhile, as China Mobile's official custom models, Lumia 920T will be sold using China Mobile's sales channel, this may further promote the sales of Nokia Windows Phone dev...

   Nokia, China Mobile, Lumia 920T,TD-SCDMA     2012-12-06 13:17:24

  Integer overflow

You may be familiar with integer overflow, but what you may not be familiar with is how gcc handles signed integer overflow. First let's look at the standard, for unsigned integer, the standard says : A computation involving unsigned operands can never overflow, because a result that cannot be represented by the resulting unsigned integer type is reduced modulo the number that is one greater than the largest value that can be represented by the resulting type. In other words, unsigned integer ov...

   Integer overflow,gcc,Linux     2012-10-20 13:33:10