News for hackers. Stuff that matters.

zjonsson

Re:AWS Elasticsearch service down (status: undefined) on Monday September 05, 2016 @01:52PM (#12431440)
10:45 AM PDT We are investigating increased error rates for ElasticSearch clusters in the US-EAST-1 Region.

Multiple clusters unreachable

Great idea! This is open source so anyone can play with it
Re:D3 and Leaflet maps (2012) on Tuesday February 02, 2016 @12:46PM (#11020983)
TBT: d3/leaflet combination that renders geoJSON tiles http://bl.ocks.org/ZJONSSON/5529395 (still operational)
Re:Labella.js – placing labels on a timeline without overlap on Thursday December 03, 2015 @09:10AM (#10669601)
For 200+ labels you can check out the force_labels in d3-plugins, https://github.com/d3/d3-plugins/tree/master/force_labels. Demo: http://bl.ocks.org/zjonsson/1691430
Re:Node.js: Cluster vs. Async on Friday May 22, 2015 @08:40AM (#9587878)
If you look more closely at the actual code, this exercise compares the performance of readFileSync (an operation that deliberately blocks) on 1 core vs 2 cores.
Re:Irony of a status page: status.azure.com on Tuesday November 18, 2014 @08:21PM (#8627612)
Few minutes ago it said: 'Page unable to load as internal error occurred'. Straight and clear to the point! ..now the page doesn't respond.
Re:Constant Energy Diffusion in D3 on Tuesday November 04, 2014 @04:31PM (#8559145)
Initially they overlap which is one of the main cause of the jitter. Spreading out the initial locations would be a remedy, but then I would have to find a different way to explain "diffusion" to my daughter :)
Re:Optimal denominations to split a dollar on Tuesday August 05, 2014 @08:55PM (#8140389)
Brilliant, thank you! My initial approach was simplistic (to avoid combinatory explosion) but prime numbers seem obvious in hindsight!
Re:Show HN: Speedsums on Saturday February 08, 2014 @03:42PM (#7202604)
This works as well (using jquery): var a=0,t;setInterval(function(){t=$("#question").text().replace('x','*').replace('÷','/');t=t.slice(0,t.length-2);if(t!=a)$("#answer").val(eval(t)).keyup();a=t;},0);

Older »