Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arnarbi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
421.
▲
by
arnarbi
14y ago
> set(User, function() { return {name: "John"}; }, silent: true); That's not even valid JavaScript, so I would not expect that. It is also somewhat standard that lambda-like operators eat as many tokens as possible. But I agree with
422.
▲
by
arnarbi
14y ago
I think JulianWasTaken is hinting that your solution is exactly a recursive solution to generate all permutations (google "recursively generate permutations"). This is because any N-rook solution is just a reordering of the columns of the t
423.
▲
by
arnarbi
14y ago
It's not better. But Angular tries not to step on your toes by starting to interpret onblur attributes differently from how they are defined by standards (as other's have said, blurCallback resolves to different things in your examples). As
424.
▲
by
arnarbi
14y ago
You ask me to write an unbiased history essay for the last 5 years, which I'm neither qualified nor able to do. Haven't read these in detail, but the look ok on a quick glance: http://en.wikipedia.org/wiki/2008%E2%80%932012_Icelandic_fin..
425.
▲
by
arnarbi
14y ago
Icelandic here. What bankers did we prosecute? As far as I know, only two people of minor importance have been prosecuted. And we didn't "crowd-source" our constitution (which hasn't been changed yet, btw). The committee of 25 people simply
426.
▲
by
arnarbi
14y ago
That's true, and definitely worth pointing out. I've used them a fair bit, and while they provide exellent power, they are slightly cumbersome to use compared to Python's pervasive "overloadability" (for the lack of a better word). But I wo
427.
▲
by
arnarbi
14y ago
> An implementation written in JavaScript, is not a good implementation. Do you have some evidence for this, or are you just judging it by the fact it is written in JavaScript? I can imagine source-to-source translation between Python
428.
▲
by
arnarbi
14y ago
Both languages are very good. JavaScript has its kinks, but they are not hard to work around with library support or syntax translations (such as CoffeeScript). However, JavaScript's execution model is simple and doesn't provide as much val
429.
▲
by
arnarbi
14y ago
That's a straw man argument. "Same, except for scale" alone does not make it a reasonable comparison.
430.
▲
by
arnarbi
14y ago
MD5 is a no go, SHA-256 would at least be better. I will look at your sorce though. Bcrypt might be too heavy in plain JS if chrome doesn't offer it as a part of its api. But I agree, this should be a browser extension, not a website. Edit:
431.
▲
by
arnarbi
14y ago
> URLs are hard to type, and prone to human error. Simple as that. Your phone is just as capable of reading a URL with its camera as it is at reading barcodes. The only useful use I've seen of a QR code is a vcard though, taped to the b
432.
▲
by
arnarbi
14y ago
This works quite well: http://cenix.co.uk/im-feeling-lucky-google-chrome-shortcut/ I have it as a keyword "lucky" (type lucky and press tab to use it), but you can just as easily make it the default search.
433.
▲
by
arnarbi
14y ago
If you don't mind dependencies, there's Moment.js http://momentjs.com/
434.
▲
by
arnarbi
14y ago
The choice of font for the blog's body text doesn't lend the author any credibility on this topic. For what it's worth, I tried both syntax highlighted and not - and the former results in a measurable improvement in productivity. I believe
435.
▲
by
arnarbi
14y ago
> So you agree it wouldn't work for specs to be "written as executable reference implementations in a well defined programming language"? No, then I would be disagreeing with myself. :) > But sometimes you want to specify performanc
436.
▲
by
arnarbi
14y ago
Of course not. Such a spec would state what are its inputs and outputs, either as natural language descriptions or as types (say, if the reference language supports it). Everything outside that (e.g. timing) would be fair game to optimize.
437.
▲
by
arnarbi
14y ago
I do not agree that a spec has to be written in English. Like most natural languages, it is very easy to be ambiguous and to underspecify. Resolving this can make English just as human un-readable as anything else. Specs like this should be
438.
▲
by
arnarbi
14y ago
Nice. I'm not sure though that the geometric distance between two RGB vectors is always a good measure of their perceived similarity. Converting to a device independent space and using a different metric could improve the results. See the f
439.
▲
by
arnarbi
14y ago
Well, it was like this: 25 people were elected to serve on a council to draft a new constitution. As a part of their process, they set up a website where people could post comments and have discussion on certain articles, or the constitutio
440.
▲
by
arnarbi
14y ago
Wow - he is also the designer brains behind the Spotify brand, which has always been impressive to me.
441.
▲
by
arnarbi
14y ago
Thank you! My Swedish university address worked as well. Just created also an unlimited team account for my research group. This is exactly what I have been wishing Github would do for a couple of years now.
442.
▲
by
arnarbi
14y ago
Now, cue the browser plugin to which you give access to your gmail (via OAuth), that handles this transparently.
443.
▲
by
arnarbi
14y ago
> Most websites don't have secret token URLs that will log you in, right? That's what they are proposing. Every time you log in they send you a one-time secret token URL by email.
444.
▲
by
arnarbi
14y ago
What happens to the order of keyword arguments?
445.
▲
by
arnarbi
14y ago
This is a wild guess, but I guess it might be a synonym for content addressing http://en.wikipedia.org/wiki/Content-addressable_storage#Con...
446.
▲
by
arnarbi
14y ago
Thank you! I have been looking for that website for years!
447.
▲
by
arnarbi
14y ago
See the disqus comment on set_request_property as well.
448.
▲
by
arnarbi
14y ago
> no need to get fancy with words you don't know the meaning of. If you want to write things that leave no room for you being mistaken, it is a good idea to double check what you are saying. https://www.google.com/webhp?#hl=en&q=ca
449.
▲
by
arnarbi
14y ago
Dark for code, light for prose. Currently wombat and solarized-light, but I seem to like to change these every couple of months or so.
450.
▲
by
arnarbi
14y ago
> However, while I do agree that Moleskine notebooks are absolutely gorgeous, I usually buy other types at about 1/3rd of the price. I used to do that as well, and felt Moleskines were just too expensive. Then I splurged on one a couple
More ›