PUBLIC   marks

PUBLIC MARKS with search cache

Sponsorised links

This month

All Night Diner : AMO Development Changes in 2010

by karlcow & 1 other

The DB layer should return objects that are easy to cache and easy to invalidate. The built-in Django database classes (combined with memcache) should work fine for us here.

October 2009

WordPress MU « WordPress Codex

by mozkart & 1 other (via)
Pour cela, il suffit juste de changer 4 paramètres de PHP et pour y parvenir nous allons créé/édité le fichier .htaccess à la racine de votre FTP. (dans le dossier WWW) Et on va y insérer les lignes: SetEnv REGISTER_GLOBALS 0 SetEnv ZEND_OPTIMIZER 1 SetEnv MAGIC_QUOTES 0 SetEnv PHP_VER 5 Autrement dit, on désactive les directives PHP magic quotes, register globals qui n’apportent rien à WordPress. On passe à PHP5 (qui offre une meilleure comptabilité avec les extensions) et on active le module PHP Zend Optimiser, ainsi le code PHP sera optimisé et les traitements récurrents seront mis en cache.

Time/Weather Desktop on Flickr - Photo Sharing!

by karlcow

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

by srcmax

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

by karlcow

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

by karlcow

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

by danijelzi (via)
The Intel Core i7 860, the company’s new 45nm quad core processor, can be ordered now at Newegg. The Core i7 860 “Lynnfield” Socket LGA1156 chip is clocked at 2.8GHz. It has 8MB of cache and a TDP of 95W. The i7 860, retail model BX80605I7860, is priced at $299.99 with free shipping.

Intel Core i5-750 Available for Pre-Order, Coming September 8

by danijelzi (via)
The Intel Core i5-750, the company’s new 45nm quad core processor, can be pre-ordered now and will be available on September 8, according to a product page at SuperBiiz.com. The first Core i5 CPU is clocked at 2.66GHz. It has 8MB of cache and a TDP of 95W. The chip is designed for the Socket LGA1156, found on new and already available Intel P55 chipset-based motherboards. The Core i5-750 is priced at $219.99, while the P55 mainboards start at $109.99.

August 2009

Character encoding detection for external scripts

by karlcow

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

by Neewok

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

by nicolargo & 11 others
MemCached: un cache libre pour vos bases de données. Un truc à suivre de très prés...

Scrnshots.com Plugin For Wordpress » Matt Varone // Matt Varone

by mozkart
This plugin for WordPress allows you to show Scrnshots.com captures on your sites. It’s based on the great flicrkRSS plugin by Dave Kellam and is very easy to setup and configure via an admin panel. The plugin also has cache support, allowing you to save thumbnails on your own server

DryDrop

by karlcow

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

by karlcow & 6 others

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

by decembre & 1 other
Points forts : * Mise en oeuvre quasi-immédiate ; * Administration en français disponible ; * Personnalisation de l’aspect (template) et du contenu de la page d’accueil très simple ; * Gestion de la date de publication ou de fin de publication des articles ; * Édition des balises META (titre et mots clefs) pour chaque article ; * Gestionnaire de fichiers multimédia intégré ; * Système de cache (Réduit les accès serveur et donc fluidifie le trafic des visites) ; * Interface ergonomique améliorée par rapport à Joomla ! 1.0 ; * Communauté internationale très réactive, communauté francophone importante ; * Nombreuses extensions (forum, livre d’or, agenda, galerie...)

Mambo - CMS - Logiciels Libres - Framasoft

by decembre & 1 other
Points forts : * mise en oeuvre quasi immédiate ; * personnalisation de l’aspect et du contenu de la page d’accueil très simple ; * système de cache (permet de moins solliciter le serveur et donc de fluidifier le trafic induit par les visites) ; * interface ergonomique ; * communauté très réactive ; * nombreux composants et modules (forum, livre d’or, agenda...) ; * version pré-modée française sur Mambofrance.org.

Cache Safari de l’iPhone: pas très éfficace … | Webd

by kruty (via)
Encore il y a peu nous parlions d’un cache HTTP limité à 25ko par composant sur l’iPhone, 500ko au total. On parle de la taille une fois la ressource décompressée (sans gzip donc). 25ko c’est peu, la plupart des sites ont un composant qui dépasse cette taille. 500ko ce n’est pas beaucoup mieux, naviguez sur un ou deux sites et le cache aura complètement oublié vos précédentes visites. Pire, des bibliothèques javascript comme jquery dépassent les 25ko et donc ne passeront jamais dans le cache. La bonne nouvelle c’est que cette limite est désormais dépassée. Une présentation de Nicole Sullivan indique que la limite des 25ko a disparue, et que la taille globale du cache a été doublée.

Facebook | Articles de Engineering @ Facebook

by kasi77
One terabyte of in-memory cache was dedicated exclusively for the username launch.

June 2009

sfManagedCachePlugin | Recoursive

by Xavier Lacot (via)
The very point of caching is that it's faster and less resource intensive to deliver cached data than creating it on the fly. With existing cache solutions, when the cached data expires, it has to be refreshed while the user waits. In environments that rely heavily on caching, such behavior has the potential to create thread pileups and other cascading failure scenarios. This plugin introduces a cache manager : when an expired âge is called, then it is directly served from the cache, and then the cache gets asynchronously refreshed.

adverbrain » Un Social Game pour Twitter, Spymaster - le cerveau du marketing sur Internet

by tisienpo & 1 other (via)
Pour les joueurs Depuis quelques jours, je reçois des Direct Messages qui m’invitent à devenir espion sur le jeu Spymaster. Sur le même principe que les messages de blip.fm, qui ennuient surement plus d’un twitteux, j’ai malgré tout été attiré par l’air de défi du twitt. J’ai donc franchit le cap pour découvrir ce qui se cache derrière le jeu. Même si tout est en anglais, mon initiation à Spymaster c’est faite sans douleur. Spymaster s’avère être un jeu de stratégie simplifié à vocation social (twitter oblige) du type Vampire ou Mafia sur Facebook. Le but du jeu est d’amasser un maximum de monnaie, monter en niveau (comme tout RPG) et acquérir les meilleures armes, tout cela pour affirmer son pouvoir auprès de tous les autres twitteux de son réseau ou non. Au programme des actions on pourra assassiner, acheter des armes et protections au marché noir, déposer des sous sur son compte en suisse, prendre possession de bâtiments qui rapportent (comme dans le Parrain 2 sur ps3), inviter les twitteux de son réseau à jouer ou encore spammer complètement les timelines de nos amis si on ne configure pas bien notre compte. Résultat il est complet et promet de belles heures de jeu aux assidus. Néanmoins je redoute le spam qui peut se dégager de ce type de jeu. Même si l’accent est mis sur les Directs messages plutôt que la timeline, les invitations risque fort d’en énerver plus d’un, d’autant plus qu’il n’est pas possible de personnaliser le message. image-7 Pour les marketeurs Nous avons ici un exemple typique de social game, mélange de casual game et de réseau social. Ce type de jeu nous invite à interagir avec notre réseau pour avancer dans le jeu ou simplement pour pouvoir y jouer. Il est indissociable d’un réseau social. L’intérêt est qu’il existe en amont de ces jeux une large audience. De plus, l’utilisation d’une plateforme social (twitter, facebook, etc…) permet aux socials games et notamment à Spymaster, de profiter des outils de communication qui augmentent considérablement l’intérêt du jeu. La viralité de ce dernier est de la même manière, décuplée. Le business modèle du jeu n’est pas encore apparent mais on peut dire que les développeurs ont le choix de l’angle d’attaque. Entre les abonnements, les micro-transactions (achat par allopass de capacités spéciales pour avancer dans le jeu), la publicité ou le sponsoring, le social game peut être considéré comme une véritable mine d’or . Pour un annonceur l’intérêt est de pouvoir approcher soit une catégorie de personne ciblée via une expérience ludique sur un réseau de niche, soit approcher une large catégorie de personnes amatrices de casual gaming sur un réseau plus large (ex : twitter). La viralité de l’application et sa simplicité de diffusion (via les outils de la plateforme social) permettent de multiplier l’impact sur les réseaux et ainsi diffuser efficacement un message. Pour le joueur l’intérêt est décuplé dans la mesure où il peut partager cette expérience avec ses amis. Une expérience du type avec twitter avait déjà été faites avec le site twoof. On y redoutait déjà le spam sur twitter et j’avais pu remarquer que le site n’était pas énormément fréquenté. Alors peut-on dire que les twitteux sont des gamers ou des spammeurs ?

PUBLIC TAGS

ajax   apple   art   audio   blog   blogging   blogs   book   bookmarks   books   business   car   community   computer   css   culture   design   download   dvd   education   email   finance   firefox   flash   flickr   food   forum   free   fun   funny   game   games   google   guide   health   history   home   hosting   html   humor   image   images   information   internet   ipod   java   javascript   life   links   linux   mac   magazine   marketing   media   microsoft   mobile   money   movie   movies   mp3   music   news   online   phone   photo   photography   photos   photoshop   php   podcast   programming   radio   reference   rss   science   search   security   seo   service   shopping   site   social   software   sports   technology   tips   tool   tools   travel   tutorial   tv   video   videos   web   web2.0   webdesign   wiki   windows   wordpress   yahoo  

Sponsorised links