2011-08-31
Twitter bookmarklet tip: associate a name with a web page
2011-08-28
How to write and unit-test universal JavaScript modules (browser, Node.js)
Node.js has a very nice module system that is easy to understand, yet distinguishes between the exports of a module and things that should be private to it. This post explains how the code of a Node.js module can be modified so that it works on both Node.js and web browsers. It also explains how to unit-test such code.
2011-08-27
Team sizes: webOS versus Android versus OS X
2011-08-24
Spreading arrays into arguments in JavaScript
Sometimes, one needs to spread the elements of an array, to use them as the arguments of a function call. JavaScript allows you to do that via Function.prototype.apply, but that does not work for constructor invocations. This post explains spreading and how to make it work in the presence of the new operator.
2011-08-23
Chrome Native Client: write C++ apps against HTML5 APIs
2011-08-22
Firefox’s extensions get a security review, Chrome’s don’t
2011-08-20
2011-08-19
Google’s options for Motorola in light of its Android profits
2011-08-18
HP will spin off PC division, stop making webOS hardware
- 2011-08-27: Team sizes: webOS versus Android versus OS X
- 2011-08-20: HP lost its way.
The press release
Quoting the official HP press release [via MacRumors]:- HP confirms that it is in discussions with Autonomy [Corporation, see below] regarding a possible offer for the company.
- HP will consider a broad range of options [for its Personal Systems Group (PSG)] that may include, among others, a full or partial separation of PSG from HP through a spin-off or other transaction.
- In addition, HP reported that it plans to announce that it will discontinue operations for webOS devices, specifically the TouchPad and webOS phones. HP will continue to explore options to optimize the value of webOS software going forward.
Firefox: the disappearing version number
TV: Alphas
2011-08-17
An introduction to JSDoc
Awesome article about JSDoc. I learned (er remembered) a few things from reading it myself! via @rauschma 2ality.com/2011/08/jsdoc-intro.html
JSDoc is the de facto standard for documenting JavaScript code. You need to know at least its syntax (which is also used by many other tools) if you publish code. Alas, documentation is still scarce, but this post can help – it shows you how to run JSDoc and how its syntax works. (The JSDoc wiki [2] is the main source of this post, some examples are borrowed from it.)
2011-08-15
What is the correct media type for JavaScript source code?
Press review: Google buys Motorola Mobility
The news in a nutshell:
- Motorola recently spun off its mobile division into Motorola Mobility.
- Google has purchased that company for $12.5 billion.
- Probable main reason for purchasing Motorola: to get patents for defending Android against attacks.
2011-08-12
Bluetooth low energy – two years on a coin-cell battery
2011-08-06
JavaScript’s JSON API
2011-08-05
Patents: Google versus Microsoft
2011-08-03
Preventing the next Breivik
Die Helfer müssen mit Menschen, die extremistisch denken, in Dialog treten, sie müssen sie im Gespräch herausfordern. Ich selbst habe viel mit Radikalen gearbeitet, mit Rassisten in den Südstaaten der USA, die ähnlich realitätsferne Gedanken hatten wie Breivik. Meine Freunde haben immer gesagt, das bringe doch nichts. Aber das stimmt nicht: Diese Leute wollen, dass man ihre Ideen in Frage stellt, sie lechzen danach, als Gesprächspartner ernst genommen zu werden.Loose translation:
Social workers have to seek out a dialog with people with extremist thinking, they have to challenge them in a conversation. I myself have worked much with radicals, with racists in the southern states of the USA whose thoughts were similarly removed from reality to Breivik’s. My friends have always told me that that’s no use. But that’s not true: Those people want their ideas to be questioned, they long to be taken seriously in a conversation.Having these kinds of conversations is not easy, but it is necessary, because it provides a reality check to their thinking.
What’s next for our economy?
2011-08-02
iCloud icon versus classic Mac icon
![]() |
| iCloud error page (for the iCloud web apps) |
| Classic Mac icon. Introduced with the first Macintosh in 1984, used for years. Source: “Design Icon: The Mac Icons” |
2011-08-01
Adobe Edge: a Flash-like tool for HTML5
JavaScript performance: Array.prototype versus []
Update: Inspired by a comment from Kevin Roberts, I’ve added a third way of accessing generic methods, and a conclusion.
