Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sluukkonen
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
1.
▲
by
sluukkonen
5y ago
Isn’t that kind of implementation blatantly illegal, though?
2.
▲
by
sluukkonen
8y ago
Would've making regular assignment an expression broken too much existing code?
3.
▲
by
sluukkonen
9y ago
There is some work underway. https://github.com/tc39/proposal-bigint/blob/master/README.m...
4.
▲
by
sluukkonen
9y ago
I have no idea why the C++ designers chose those particular names, but at least Scala uses the same Promise/Future dichotomy, where you resolve (or reject) a Promise into a Future. Perhaps they drew from the same well?
5.
▲
by
sluukkonen
9y ago
There's also an updated version of the episode that they aired this year. http://www.radiolab.org/story/update-crispr/
6.
▲
by
sluukkonen
10y ago
I have no experience with SQS, but there is definitely space for a simpler queue implementation (or even a standard) than AMQP. I think it's needlessly complex for many problem domains.
7.
▲
by
sluukkonen
10y ago
Here's one example. Web browsers often use bloom filters or similar data structures to check for malicious URLs. They first check the URL against the local bloom filter, and if a match is found, they double check against an online API
8.
▲
by
sluukkonen
10y ago
That's Norway. The other Nordic countries weren't lucky enough to have significant numbers of oil.
9.
▲
by
sluukkonen
10y ago
Not the American pronounciation!
10.
▲
by
sluukkonen
10y ago
The y is pronounced like the ü in über.
11.
▲
by
sluukkonen
10y ago
> Imagine if that lone guy at Microsoft didn't figure out trick with 286 protected mode that allowed Windows to survive and wasn't heard by top management - we would all be running OS/2 10 now. I haven't heard this st
12.
▲
by
sluukkonen
10y ago
CSGO does as well.
13.
▲
by
sluukkonen
10y ago
Going above 32G doesn't kill performance per se, it just means that there is not point in using heap sizes between 32G and 48G due to the larger pointers. If you go above that, it's all good again.
14.
▲
by
sluukkonen
10y ago
It's a nice tool, I use it daily. Right now my only gripe is that it doesn't format (PostgreSQL) JSON columns in any way, so if you're storing a lot of JSON data, it can be difficult to view.
15.
▲
by
sluukkonen
12y ago
During the hottest days of the summer (it very rarely goes above 28C or so - average maximum temperature is around 22C during the hottest summer months in southern Finland), yes, but not that often.
16.
▲
by
sluukkonen
12y ago
Music isn't obviously not the focus of any Twitch stream, but nevertheless, people are breaking copyright laws by playing copyrighted music on their streams. And if Twitch becomes a part of YouTube, they might have to crack down on cop
17.
▲
by
sluukkonen
13y ago
All major Ruby implementations use OS threads, but the GIL still limits parallelism in MRI.
18.
▲
by
sluukkonen
13y ago
Looks like it's clear now. Colin Watson voted for Upstart[1], so systemd wins. [1] https://lists.debian.org/debian-ctte/2014/02/msg00332.html
19.
▲
by
sluukkonen
13y ago
> Without concurrent request dispatch, jruby's hypothetical greater thread parallelism is unlikely to effect requests-per-second benchmarks. Also, the benchmarking test would have to be willing to issue requests concurrently! That&#
20.
▲
by
sluukkonen
13y ago
I'd wager that it's the TB/Undertow code running most of the time on that benchmark. On real-world benchmarks the difference is going to be a lot smaller. Not saying that you shouldn't run your JRuby apps on Torquebox -
21.
▲
by
sluukkonen
13y ago
Looks like it's running with the threadsafe mode off. That would probably give JRuby an edge, as it's able to take advantage of greater thread parallelism than MRI. No idea if he's letting the JVM warm up enough either.
22.
▲
by
sluukkonen
13y ago
Ah, that's too bad. It would be nice if setting user-scalable=no was all you had to do to disable the delay. And anyway, despite using an iPhone for god knows how many years, I didn't even know that a double tap on iOS scrolls the
23.
▲
by
sluukkonen
13y ago
> For what it's worth, this delay was already removed for sites that had user-scalable=no set. Most mobile "apps" used this. Is this true for mobile Safari as well?
24.
▲
by
sluukkonen
13y ago
Each String in Ruby has their own encoding. But by default, it is UTF-8 these days.
25.
▲
by
sluukkonen
13y ago
Now I'm interested in seeing the whole Harry Caudill documentary. I wonder what it's called...
26.
▲
by
sluukkonen
13y ago
But the JVM not having reified generics is a mostly a blessing for Scala. With reified generics, your language's type system can essentially be only as powerful as the VM's type system, and I think it's clear that Scala today
27.
▲
by
sluukkonen
13y ago
Reified generics is one of the reasons why Scala on the .NET is effectively dead. The VM's type system isn't powerful enough to support some features of Scala, such as higher-kinded types.
28.
▲
by
sluukkonen
13y ago
It does highlight implicit conversions by default (they're underlined and have a light blue background colour). I don't think it does anything special w.r.t. macros, but I might be wrong. As far as I know, they use their own compi
29.
▲
by
sluukkonen
13y ago
There is. x^n = (x^(n/2))^2 if n is even, (x^(n-1/2))^2 if n is odd, so it's possible to exponentiation in logarithmic time.
30.
▲
by
sluukkonen
13y ago
Quoting attributes is optional in HTML (though recommended).
More ›