Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cobbal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
211.
▲
by
cobbal
5y ago
Not to mention the fact that dithering will look different depending on the display’s gamma calibration...
212.
▲
by
cobbal
5y ago
“It’s not real engineering if someone can’t get hurt” seems like a strange definition to me.
213.
▲
by
cobbal
5y ago
What’s flexible for a dynamic scripting language is often cursed from a static perspective. Knowing what imports resolve to statically can be nice.
214.
▲
by
cobbal
5y ago
The problem is that “radical” is in the eye of the beholder. If a language is so poorly specified that developers and the specification don’t agree on the meaning of a program, that leaves optimizers in an unwinnable situation.
215.
▲
by
cobbal
5y ago
That can be fixed by using “EDITOR=true git commit --amend --allow-empty”
216.
▲
by
cobbal
5y ago
Eventually, a long enough ship should be supported by 3 or more waves at the same time, assuming waves have some sort of maximum wavelength. (Disclaimer: no idea what I’m talking about)
217.
▲
by
cobbal
5y ago
The fact that CompCert, seL4, and similar projects exist is proof that a large amount of composition is possible if you have enough time to spend on it. It’s true that you can’t compose arbitrary formalizations, but you can architect your f
218.
▲
by
cobbal
6y ago
The ISA alone doesn't mean much, but there's OS compatibility too. MacOS will run iOS applications out of the box.
219.
▲
by
cobbal
6y ago
So what you're saying is that we need more militarization of the police?
220.
▲
by
cobbal
6y ago
True... but I think it’s just called an “investigation” when done by the authorities.
221.
▲
by
cobbal
6y ago
You were downvoted because you stepped into a long-running and bitter ideological war: Bayesians vs frequentists.
222.
▲
by
cobbal
7y ago
As far as I can tell... Bayesian statistics is a model of the real world, fuzzy logic is just an easy to compute, bad approximation of reality that assumes everything is independent. (Someone correct me if I’m wrong; I’ve only studied logi
223.
▲
by
cobbal
7y ago
Cool! I've recently started writing many of my shell scripts in swift [shameless plug], but nice command line argument processing was something I wasn't looking forward to tackling. Now it looks like I won't have to :) [shame
224.
▲
by
cobbal
7y ago
That’s some good, bad sci-fi waiting to be written. A new strain of the flu spreads overnight across the globe once it is able to jump between people and the internet...
225.
▲
by
cobbal
8y ago
I can tell the difference at 12. There's a flash test at http://jakemandell.com/adaptivepitch/ and the (probably heavily sample-biased) histogram at the end suggests 10-20% of people can't differentiate 1
226.
▲
by
cobbal
8y ago
It's two different processes. Normal counting is saying, "take a thing and add one" (a successor ordinal). It's how we get from 42 to 43. If a number can be reached from zero using just this kind of counting, we call it
227.
▲
by
cobbal
8y ago
Call stacks are almost always used in implementations of functional languages as well, even those that support first-class continuations. Even implementations that use CPS as you describe don't necessarily lose call-stack discipline (e
228.
▲
by
cobbal
8y ago
Looks like a variant on ml-like `let`. let <variable> = <expression 0> in <expression 1> will bind the value of expression 0 to variable in expression 1.
229.
▲
by
cobbal
8y ago
A likely reason is that it makes it possible to iterate through a list like `'((1 2) () (a b c))`. If you have to do in-band signaling, make it something unique and obscure.
230.
▲
by
cobbal
9y ago
I was getting that error until I disabled the "HTTPS everywhere" extension for the page.
231.
▲
by
cobbal
9y ago
Oops, looks like I made several mistakes in the above calculations. For a 768 bit number the primes would be 384 bits each, gaps between numbers of the form "27a^2 ..." would be 10^58 apart, and weak primes would be at worst one o
232.
▲
by
cobbal
9y ago
Assuming at least 768 bits (an RSA number of this size has been factored), the gaps between such numbers are more than 10^232. Even if every number of this form was prime, the prime number theorem tells us we can expect one out of every 10^
233.
▲
by
cobbal
12y ago
RGB isn't white, it just looks that way to us. True white has every frequency in it. Color is an infinite-dimensional space since you can have any amount of any frequency EM waves. Humans eyes reduce that infinite dimensional space to
234.
▲
by
cobbal
12y ago
Interesting. I still think it would be hard to apply to a ref counter app, since you'd need to keep track of change in ref count for later cleanup (thread-local per object maybe? sounds inefficient), but I now will admit that it sounds
235.
▲
by
cobbal
12y ago
Possibly, but it's very handy to let immutable data be read by any thread that wants to. If, however, it's very slightly mutable due to a ref counter, you have to atomically manage the counter, even for what should be free immutab
236.
▲
by
cobbal
12y ago
It's probably not that much, on a global scale. What's more, CO2 is a better gas to be venting to the atmosphere than methane is. [citation needed]
237.
▲
by
cobbal
12y ago
I usually try to stick it all on one line when I have to do that, something like ssh somehost 'cd /some/dir; grep -lr foo .' | pbcopy not very flexible, but it works for many cases
238.
▲
by
cobbal
12y ago
With the right zsh plugin, either of them will tab complete properly. (I think "osx" from oh-my-zsh is the one that does it on mine) Edit: looks like this is actually built into zsh. Slightly surprised, but just goes to show I kno
239.
▲
by
cobbal
12y ago
Linear in this case means y = m * x. The relationship between Fahrenheit and Celsius is affine (y = m * x + b) For gory details: https://en.wikipedia.org/wiki/Affine_transformation
240.
▲
by
cobbal
13y ago
From the article: > In my experience, the spiped tunnel is highly reliable and recovers more gracefully than a standard SSH tunnel. I've never had an issue with ssh -D though
More ›