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

SEARCH KEYWORD -- Block



  JavaScript Needs Blocks

While reading Hacker News posts about JavaScript, I often come across the misconception that Ruby’s blocks are essentially equivalent to JavaScript’s “first class functions”. Because the ability to pass functions around, especially when you can create them anonymously, is extremely powerful, the fact that both JavaScript and Ruby have a mechanism to do so makes it natural to assume equivalence. In fact, when people talk about why Ruby’s blocks are different ...

   JavaScript,Block,Style,Format,Maintainebility     2012-01-11 11:59:35

  Web Security: In-Depth Explanation of X-XSS-Protection

What is X-XSS-Protection X-XSS-Protection is an HTTP response header designed to enable or configure built-in cross-site scripting (XSS) filters in certain versions of Internet Explorer, Chrome, and Safari. The purpose of these filters is to detect reflected XSS attacks in the response and prevent the loading of pages, thereby protecting users from such attacks. The X-XSS-Protection response header was initially introduced by Microsoft in Internet Explorer 8 to control the browser's XSS filter. ...

   X-XSS-PROTECTION,WEB SECURITY,CONTENT SECURITY POLICY,XSS,CSP     2023-11-29 01:48:40

  Samijyon : A tablet from North Korea

According to Sina Tech, North Korea Tech posted an article about Samijyon. Samijyon is a model of Android  tablet manufactured by North Korea. You can buy it with $200 in North Korea. Smajiyon's hardware configuration is as good as Samsung and Apple, but it doesn't allow WiFi connection and ordinary North Koreans cannot connect to Internet as well, users can only connect to domestic network of North Korea. On this tablet, there are no built-in Google apps such as Gmail and Google Play. But...

   Samijyon,North Korea,Tablet     2013-08-03 22:01:35

  Facebook share price is over $38 before the market opens on Wednesday

According to Sina Tech, Facebook share price is over $38 before the market opens on Wednesday. It's the first time that its share price is over $38 since its IPO last year. In May 2012, Facebook went to public on Nasdaq with a releasing share price of $38. The share price went below $38 after the first trading day. Then after its share price kept dropping until last September it reached to its lowest point with a share price of $17.58. But as Facebook's performance was better than expected last...

   Facebook ,Share price     2013-07-31 07:45:18

  Guide to Clearing Storage Space on a Macbook

Macbooks are pretty notorious when it comes to what storage space you have available. Those few gigabytes that you have will disappear in no time if you are not careful. The whole issue becomes even more problematic for people who are not that familiar with Macbooks or have switched from another computer. And if you do not pay attention, it will not take too long before you have next to no storage space on the hard drive. Leaving only a few gigabytes of free space will significantly reduce the ...

   MACBOOK,APPLE,DATA STORAGE     2020-08-08 00:21:42

  Are you ready for Facebook's phone?

According  to Sina Tech, Facebook will announce its own phone today in US. They will also release its new Android application. The Facebook phone is manufactured by HTC, the model will be HTC First. This will be a deeply customized Facebook phone, some IT professionals think this phone's name is very similar to HTC's flag model HTC One. This phone may provide a home screen application named Facebook Home. Facebook Home adopts the minimization design, it can display photos in full screen. T...

   Facebook phone,HTC,Facebook Home     2013-04-04 07:01:12

  Load and execute JavaScript

When we load and execute JavaScript in a webpage, there are many points we need to care about because of its design and feature. There are two features about JavaScript execution in a browser: 1). The JavaScript codes will be executed immediately once loaded;2). When JavaScript codes are being executed, they will block the following contents (including page rendering and other resources downloading). So if there are multiple js files to be loaded, these codes will be executed sequentially. Since...

   JavaScript,async,defer,load,execute     2013-06-07 04:53:46

  Unix directory hierarchy history

As a beginner user of Unix or Linux, people would frequently get confused about the use of different directories of the system.  For example, there is a /bin directory under root(/), it is used to store binary files. However, there are /usr/bin and /usr/local/bin under /usr which are used for storing binary files as well. Some systems even have /opt/bin. What are the differences among them? Though there are articles explaining different directories in *nix such as Filesystem Hierarchy Stan...

   UNIX,LINUX,FILESSYTEM,DIRECTORY HIERARCHY,HISTORY     2016-10-21 23:47:17

  Make Big Data Collection Efficient with Hadoop Architecture and Design Tools

Hadoop architecture and design is popular to spread small array of code to large number of computers. That is why big data collection can be made more efficient with hadoop architecture and design. Hadoop is an open source system where you are free to make changes and design new tools according to your business requirement.   Here we will discuss most popular tools under the category Hadoop development and how they are helpful for big projects. Ambari and Hive– When you are designing...

   HADOOP ARCHITECTURE,HADOOP HIVE ARCHITECTURE,HADOOP ARCHITECTURE AND DESIGN     2015-09-17 05:24:44

  For Google CEO Larry Page, a Difficult Premiere Role

When Google Inc. co-founder Larry Page announced that he would take over as chief executive earlier this year, he promised that he would shake up the Internet search giant to speed up decision making. Instead, much of the shaking up has happened to the new CEO.Challenges have piled up for Mr. Page since he assumed his post in April. They include a broad U.S. antitrust probe of the company's practices; the settlement of a long-running criminal investigation into Google's adver...

   Google,CEO,Lary Page,Motorola,Role     2011-08-31 08:55:43