Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cwmma
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
601.
▲
by
cwmma
12y ago
My takeaway was that somebody is selling a hard drive that will wipe itself if you go through a tunnel.
602.
▲
by
cwmma
12y ago
yes generators can help you control the flow as you do async programing, but you can't use generators to do something like an ajax function which gives you an async value, you'd need promises or something for that, generators allo
603.
▲
by
cwmma
12y ago
yeah my bad I was looking through the wrong source. Do you do anything special for point queries, e.g. what town is this point in, which geohashes tend not to be that great for (in my experience)
604.
▲
by
cwmma
12y ago
so it looks like your doing a geohash for the geoindexing bure not using a hilbert curve[1]? Did you guys look into more flexible structures like an rtree or some of the other stuff from libspatialindex [2] which might be a bit more flexibl
605.
▲
by
cwmma
12y ago
or maybe just a shortcut to see results button
606.
▲
by
cwmma
12y ago
> . Allow algorithms that can be wrong isn't this by definition a heuristic ?
607.
▲
by
cwmma
12y ago
I think you need to look at the way.bundle.js for the version with dependencies as it relies on jquery.js, underscore.js, underscore.json.js, js2form.js, and form2js.js
608.
▲
by
cwmma
12y ago
The only way I see wide spread pre-release piracy causing a dent is if the people who watch it early dislike it leading to bad word of mouth.
609.
▲
by
cwmma
12y ago
yup, my go to test name: \_(ʘ_ʘ)_/ "'<!--/*༼ つ ◕_◕ ༽つ caused it to show { "formData": { "name": "\\_(ʘ_ʘ)_/ \"'
610.
▲
by
cwmma
12y ago
So there is a reason you don't see much financial stuff written in JavaScript, doubles plus financial really don't mix.
611.
▲
by
cwmma
12y ago
Ugh it would have been nice if they had settled on a standard async api E.g. Node style callbacks or promises instead of their own random one. Edit: it would be nice if the documentation mentioned the promise support.
612.
▲
by
cwmma
12y ago
A file database like sqlite or leveldb might be a good compromise between the features of a database and the ease of a flat filesystem
613.
▲
by
cwmma
12y ago
summery of linked twitter convo - this is an invasion of privacy - we only use it to mark an issue as read just like if you read the issue on our site - so you admit you encroach on people privacy? - you can disable it by turning of image a
614.
▲
by
cwmma
12y ago
but postgres compared to sqlserver, you won't go back.
615.
▲
by
cwmma
12y ago
> The dependencies are static, so you can't do stuff like `if(Math.random() < .5) { require('foo') } else { require('bar') }`. That is a good thing. A lot of people at this point agree that a statically analyz
616.
▲
by
cwmma
12y ago
or in es6 var {getCodec} = require("iconv-lite");
617.
▲
by
cwmma
12y ago
lodash is the fast one that pioneered this, underscore for the longest time fell back to slow native ones.
618.
▲
by
cwmma
12y ago
TJ (the node lead) has suggested, fairly recently that making it easy to use other engine is something he is open to, at a node.js on the road event he mentioned that in his ideas for study so the line.
619.
▲
by
cwmma
12y ago
> - the unavailability of a secure, non-monkey-patchable runtime environment for JS crypto code to execute in, guaranteeing one can use the aforementioned functions as intended That one at least can be dealt with by web workers
620.
▲
by
cwmma
12y ago
people have 2 methods for reading words, sounding out words letter by letter, this is what you use for new words, and names, the other method is the recognizing words by the general letter shape as described in the article. These are totall
621.
▲
by
cwmma
12y ago
in theory it could make them less informative, but I suspect in practice most engines that implement it will figure out a way to make stack frames usable with TCO
622.
▲
by
cwmma
12y ago
* shouldn't throw exceptions
623.
▲
by
cwmma
12y ago
in your second example you just described most async javascript, through it tends to be called "callback"
624.
▲
by
cwmma
12y ago
require('name/repo#commitish') works with npm/browserify, considering that bower uses git repos you can require them that way.
625.
▲
by
cwmma
12y ago
protip, global.$ = jQuery;
626.
▲
by
cwmma
12y ago
It can be bad to do that if there might have been some private stuff in the history especially if its pretty long. This is one of the things that led to the 4chan hack (private key deep in history)
627.
▲
by
cwmma
12y ago
It can be hard to transfer it between animals, pigs for instance don't care about marks on themselves
628.
▲
by
cwmma
12y ago
Indeed, I picked up http://backfir.es on name cheap
629.
▲
by
cwmma
12y ago
If your a dev you type allow always and get on with your life, if your not then this might prevent you from getting phished. Facebook did something similar a while back after some phishing cases involving pasting JavaScript.
630.
▲
by
cwmma
13y ago
so bostock has gotten better, but there was a time (also known as when I did a lot of stuff with topojson and unraveled how it worked) where it looked like this https://github.com/mbostock/topojson/blob/fe691
More ›