Archive | news RSS feed for this section

Google Public DNS

3 Dec

Google announces their DNS initiative: Google Public DNS.

I always thought it was kinda inconvenient that there’s a “DNS propagation” downtime. Looks like one of the things Google is doing is making DNS propagation fast and asynchronous to requests.

Google Public DNS independently resolves domain names and keeps the resolutions in the cache until their time-to-live (TTL) expires, at which point they are automatically refreshed. The cycle of caching and refreshing is performed offline, asynchronously with user requests, so that responses are almost always available directly from cache.

Weekly Digest for June 4th

4 Jun

googlereader (feed #4)
Shared 2 links.
2:25pm via Google Reader
twitter (feed #3)
Interesting that Github:FI is a compiled JRuby app, does that mean no tweaking the source? – http://fi.github.com [#]
3:14pm via Twitter
twitter (feed #3)
also would be nice to have the gist.github app inside a private network – I’m assuming github:fi does not include gist? [#]
3:16pm via Twitter
delicious (feed #2)
5:38pm via Delicious
delicious (feed #2)
6:45pm via Delicious
blog (feed #1)
10:35pm via britg.com
twitter (feed #3)
Pan Seared Salmon with Mushroom Risotto and Baby Spinach Salad http://britg.com/?p=942 [#]
10:37pm via Twitter
delicious (feed #2)
10:46pm via Delicious
twitter (feed #3)
HAML in CakePHP – http://bit.ly/155oDX [#]
3:02am via Twitter
delicious (feed #2)
6:15pm via Delicious
twitter (feed #3)
I absolutely love the wordpress theme http://mixcss.com is using. Need to find a project to use it on. Theme is: http://bit.ly/vpQJ9 [#]
6:19pm via Twitter
delicious (feed #2)
8:22pm via Delicious
twitter (feed #3)
APE Project looks like Comet-made-easy – Ajax Push pluggable into Apache http://www.ape-project.org/en/about.html [#]
8:53pm via Twitter

Erlang Supervisor Behavior Gotcha – Worker Init Params

23 May

When starting up a behavior like supervisor, the start_link func looks something like:

start_link() ->
  supervisor:start_link({local, ?MODULE}, ?MODULE, []).

Which in turn calls the initialization callback:

init(_Args) ->
  %% do some stuff.

Notice that the initialization callback takes 1 argument event though the params list (the third parameter) is empty in your start_link func.

So, naturally (am I alone in this?) I assumed that when defining a Child Spec for a Supervisor, the {M, F, A} definition would follow the same pattern:

Childspec = {child1,
            {child1, start, []},
            permanent, brutal_kill, worker, dynamic},
%% ...

But the above definition does not call child1:start/1, where the one parameter is the emtpy list. Instead, the list items are extracted as individual parameters. So {child1, start, [p1, p2, p3]} would call child1:start/3, and {child1, start, []} calls child1:start/0. Just something to look out for if you’re new to erlang and the supervisor behavior like me.

23 May

  • “When a man runs from fatherhood, he’s not really running from responsibility, he’s running from the guilt of a mediocre life”http://bit.ly/ #
  • last tweet’s link: http://bit.ly/gU6y4 #

Powered by Twitter Tools.

22 May

  • Voxtrot: Blood Red Blood http://dora.fm/Xu #dora #
  • when my commit messages turn into grunts, it’s time to take a break. latest commit message: “blah” #

Powered by Twitter Tools.

21 May

Powered by Twitter Tools.

20 May

  • The twitter plugin for adium makes twitter feel like a giant global IRC channel. this is a good thing #
  • The Shins: So Says I http://dora.fm/XU #dora #
  • spending some quality time with The Soft Bulletin #
  • Trying to find by excuse to get out and walk on this beautiful day. Lunch at pei wei #
  • it’s time for a major life change. I’ve decided to move from a dark vim theme to a light one #
  • The Magic Numbers: Love Me Like You http://dora.fm/x7 #dora #

Powered by Twitter Tools.

19 May

  • This Sammy project is piquing my interest – lightweight, stateful ajax, plus more. http://bit.ly/5BXFk @sammy_js #
  • trying out the official twitter support in Adium 1.4b #
  • giving @sammy_js a run, going to see if it works well in my workflow #
  • two thumbs up for Twitter in Adium 1.4b — anything that unifies apps wins in my book #
  • just told our Roomba to dock and sleep and it beeped a definitive “no” … it’s the beginning of the end for humankind #
  • keep fighting the good fight phonegap devs http://bit.ly/qDl9G #
  • @rossbates hah, awesome – yeah I swear I’m going to come home one day and see a “KILL ALL HUMANS” pattern in the floor in reply to rossbates #

Powered by Twitter Tools.

18 May

Powered by Twitter Tools.

17 May

  • using a Chrono Trigger poster as my bookmark… that’s how I roll #
  • everyone is talking about #wolframalpha but I can’t get the damn site to load a result page #
  • I use Mint.com everyday and I still find cool new useful stuff on it. mint.com++ #

Powered by Twitter Tools.