zjonsson
|
9 years ago
|
on: AWS Elasticsearch service down (status: undefined)
10:45 AM PDT We are investigating increased error rates for ElasticSearch clusters in the US-EAST-1 Region.
Multiple clusters unreachable
zjonsson
|
10 years ago
|
on: Show HN: Realtime streaming data from all US courts (100 loc)
Great idea! This is open source so anyone can play with it
zjonsson
|
10 years ago
|
on: D3 and Leaflet maps (2012)
zjonsson
|
10 years ago
|
on: Labella.js – placing labels on a timeline without overlap
zjonsson
|
10 years ago
|
on: Node.js: Cluster vs. Async
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.
zjonsson
|
11 years ago
|
on: Irony of a status page: status.azure.com
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.
zjonsson
|
11 years ago
|
on: Constant Energy Diffusion in D3
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 :)
zjonsson
|
11 years ago
|
on: Optimal denominations to split a dollar
Brilliant, thank you! My initial approach was simplistic (to avoid combinatory explosion) but prime numbers seem obvious in hindsight!
zjonsson
|
12 years ago
|
on: Show HN: Speedsums
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);
zjonsson
|
12 years ago
|
on: Realtime Reykjavik Traffic (speed & heading) using D3, Leaflet and socket.io
There is a link to the source at the bottom of the page (
http://www.straeto.is/rauntimakort/). I parse the JSON input, associate the records with previous ones (i.e. which bus is uniquely which) and stream output via websockets.
zjonsson
|
12 years ago
|
on: "Hóp" New York settled in 1008 AD (Viking sagas)
Page 80 onward
zjonsson
|
12 years ago
|
on: Want To Know Where BTC Prices Are Going? Watch USD
For continuous known functions we would look at the mathematical derivative (using stochastic calculus). For sparse sample data with an unknown derivative, we resort to calculating differences between consecutive numbers.
zjonsson
|
12 years ago
|
on: Want To Know Where BTC Prices Are Going? Watch USD
This analysis is interesting, however I have to comments on the methodology:
* Same measure
Comparing USD/INDEX with BIT/USD is a little bit like comparing apples and oranges, as the underlying measure for each of the time-series is different.
Multiplying BIT/USD with USD/INDEX gives us a time-series that is BIT/INDEX. Subsequently USD/INDEX can be compared with the new BIT/INDEX to get the correlation between USD and BIT with the INDEX basket as a measure.
* Correlation is only relevant for non-integrated series
It's well known that correlation for any unrelated random walks can easily be very high (positive or negative) in a spurious and random manner. The solution here might be to take the take first-difference (geometrical) of both series (de-integrating) and then check the resulting differences for correlations.
zjonsson
|
13 years ago
|
on: The Future of Excel
Not only that, regular algebraic operations also work with vectors/matrices as inputs, as long as you press CTRL-SHIFT-ENTER after editing. This means that most functions with complex MATCH and OFFSET can be replaced as well (i.e. SUM( (column_vector = cvalue) * (row vector = vvalue) * (matrix))
zjonsson
|
13 years ago
|
on: The Future of Excel
Matrix functions and named ranges are the most underused functionality of Excel. Collectively they can replace a large amount of the conventional spagetti VBA code, emphasizing Excel's true strength.
Simple example: CDO pricer using Gaussian Copula and base correlation
https://dl.dropbox.com/u/10755342/120626_Simple_CDO.xlsx
zjonsson
|
13 years ago
|
on: Show HN: Earthquakes on Leaflet, Crossfilter and D3
D3 is an excellent tool for managing a large array of SVG objects. Connecting it to leaflet is easy, just call function _initPathRoot() on the leaflet map object, followed by d3.select("#map").select("svg"). Then you can use map.latLngToLayerPoint(..) and map.latLngToLayerPoint(...) leaflet functions to calculate the X,Y coordinates in SVG space.
zjonsson
|
13 years ago
|
on: Show HN: Earthquakes on Leaflet, Crossfilter and D3
A great idea, however the web workers would have to be semi-persistent as the initial build of the crossfilter object takes some time (i.e. I wouldn't spawn a new worker on a new request). Here I simply increased the heroku nodes to respond smoothly to Hackernews traffic. I'm pretty happy with the results.
zjonsson
|
13 years ago
|
on: Show HN: Earthquakes on Leaflet, Crossfilter and D3
zjonsson
|
13 years ago
|
on: Show HN: Earthquakes on Leaflet, Crossfilter and D3
zjonsson
|
13 years ago
|
on: D3 3.0 released
This is fantastic Mike! Thank you.
Multiple clusters unreachable