Sponsorised links
October 2009
WordPress MU « WordPress Codex
Time/Weather Desktop on Flickr - Photo Sharing!
Well, most of the work is done by Earthdesk and GeekTool 3.
Earthdesk is set to Natural Color, Equirectangular projection, Natural Color, Real Moonlight, centered on Vienna, Background: Starfield. Zoom 80%, Clouds 80%, Brightness 80%.
In GeekTool, the times and the weathers are all separate Shell "geeklets".
Times are generated by running shell commands like
env TZ=Asia/Tokyo date " %l:%M %p"
every 20 seconds
The weather is the tricky part. The way I am doing it now, if I am not careful, gets me throttled for too many concurrent requests to the wunderground.com API server. It also fails badly if I am disconnected, so I will need to do it differently.
FWIW: I have a PHP script which I run as separate Shell Geeklets. I invoke it with the name of the city I want. It then hits wunderground and gets back an XML stream of the local weather, which I parse, format and echo. (the way I'd change this is run the script from cron, with a 30 second wait between requests, and cache the results locally, which I would then call from the Shell Geeklets)
From there it's just a question of setting fonts, sizes, colors and moving the little Geeklet boxes around as you want them.
faq - swfobject - SWFObject FAQ - Project Hosting on Google Code
16. Why does Firefox load my SWF twice?
Firefox 3 has a known issue that sometimes causes a swf to be 'double initialized'. The problem appears to be fixed in their codebase, but has not been released yet. See the following bugs for more details: bug 438830 and bug 445599.
Or, if you have "Disable cache" selected in your Firefox Web Developer Toolbar extension a double load will occur.
Sponsorised links
September 2009
Surfin’ Safari - Blog Archive » WebKit Page Cache II – The unload Event
In this article I’d like to talk more about unload event handlers, why they prevent pages from going into the Page Cache, and what can be done to make things better.
Surfin’ Safari - Blog Archive » WebKit Page Cache I – The Basics
This is the first of two posts that will center around a modern browser engine feature that doesn’t usually get a lot of press: The Page Cache.
Intel Core i7 860 CPU Now Available
Intel Core i5-750 Available for Pre-Order, Coming September 8
August 2009
Character encoding detection for external scripts
This is (EF BB BF) C3 B6 3D 22 21 22 loaded into browsers under various labels. That happens to be properly formed ECMAScript code for all the encodings used. The bogus results for Opera9 can easily be reproduced in context of the testing script, but probably not individually from a clean cache; what's going on there is unknown. I also noted in running these tests that Opera claims "Opera supports the entire ECMA-262 2nd and 3rd standards with no exceptions" while in fact their implementation does not, the parser rejects code that follows the IdentifierStart :: UnicodeEscapeSequence production of ECMA-262 section 7.6. Instead it implements Opera-only extensions, like comma-free arrays ala [ 1 2 3 ]. Other fun facts include: IE does not implement onload for iframes and cannot modify the innerHTML or tr elements; Firefox ignores "tags" when setting the innerHTML of dynamically created tr elements with no ownerElement... Oh and Opera again needs /th "tags" so it won't nest adjacent th elements when setting innerHTML.
Torrage - Torrent Storage Cache
You can not search or list torrent files that are stored here, you can only access them if you already know the info_hash value of the torrent you want to download.
memcached: a distributed memory object caching system
Scrnshots.com Plugin For Wordpress » Matt Varone // Matt Varone
Qui se cache derrière les enseignes discount - Journal du Net
DryDrop
It is simple. Let's say you have GitHub repo containing static web site and you want to host it on App Engine. DryDrop is an application ready to be uploaded as your App Engine project. When you upload it first time, you should setup post-receive hook in your GitHub repo to point to your App Engine project, so every change you push to GitHub can be reflected on your App Engine site immediately.
Let's say someone visits your App Engine site. DryDrop has a simple cache. If requested page is not in the cache, DryDrop will try to fetch it from GitHub, store it in the cache and then serve it. Next time the same URL is requested, it will be served directly from DryDrop cache.
Let's say you did some changes to your files. In the moment you push file changes into GitHub, post-receive hook will ping DryDrop and that invalidates modified files in the cache. Next request will trigger downloading of fresh files from GitHub.
Blocking Unwanted Parasites with a Hosts File
The Hosts file contains the mappings of IP addresses to host names. This file is loaded into memory (cache) at startup, then Windows checks the Hosts file before it queries any DNS servers, which enables it to override addresses in the DNS.
July 2009
Joomla ! - CMS - Logiciels Libres - Framasoft
Mambo - CMS - Logiciels Libres - Framasoft
Cache Safari de l’iPhone: pas très éfficace … | Webd
Facebook | Articles de Engineering @ Facebook
June 2009
sfManagedCachePlugin | Recoursive
adverbrain » Un Social Game pour Twitter, Spymaster - le cerveau du marketing sur Internet
May 2009
