Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samatman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
421.
▲
by
samatman
2y ago
61 million years ago, a branch of the mammalian family tree had a gene break, called GLO. Since then, those mammals have been unable to synthesize Vitamin C. That branch includes humans. There's no upside to this. Vitamin C is crucial,
422.
▲
by
samatman
2y ago
My impression was a rather shallow one, between the language getting better and my understanding why it looks and acts the way it does, I'd say my change of heart is 20% the former and 80% the latter. The reasons I think something new
423.
▲
by
samatman
2y ago
I first ran into Tcl on Sparc stations in the mid 90s, and came away with the impression that it was just a bad language. I was implicitly comparing it to Perl, this wasn't a deep dive or anything, just a vague and negative impression
424.
▲
by
samatman
2y ago
Emacs has a very long tail indeed of elisp extensions which Neovim has yet to fully catch up with. Neovim is well on its way however, and uses a programming language which many people already know and which is in any case familiar and easy
425.
▲
by
samatman
2y ago
The real answer to this question is quite fundamental to journalistic ethics: you reach out to the source for comment, and include it in the reporting. In this case that would have been "I never said that, or anything like it, and I th
426.
▲
by
samatman
2y ago
The rhetorical slight of hand you're engaging in here is simple: you're starting with a language in which 1 and 1.0 quack, and then swapping in a language in which 1 and 1.0 do not quack, and hoping, perhaps, that I won't not
427.
▲
by
samatman
2y ago
The railway is entitled to paint its property however it wants to. By that logic, the maintainers of man, who hold the copyright, and merely license it to you, have the same right. Don't like it? They were generous enough to release it
428.
▲
by
samatman
2y ago
It isn't though. C++ templates are duck-typed. Structural typing is two structs with the same structure are the same type. Duck typing is when you check if it has a quack field. For a template like this: template<typename T&g
429.
▲
by
samatman
2y ago
I'm genuinely unsure what you mean here. In SGR, 30-37 are foreground colors, 40-47 are background, and the brights are 90-97 for foreground and 100-107 for background. Even the second bright set is quite old, xterm calls them the aix
430.
▲
by
samatman
2y ago
It doesn't have to be cataracts, my eyes are just unusually sensitive to light. I find the hacker news theme borderline during the daytime, and can only handle it for short bursts at night with the brightness on my monitor set to the l
431.
▲
by
samatman
2y ago
And a lot of people will, but we're not taking C out back of the barn and shooting it. It's here to stay and adding some new features which make it a better language is a good idea. I'm not convinced this specific proposal d
432.
▲
by
samatman
2y ago
Sort of, but mostly not. The critical distinction is that, given better data (the instruction set, the source code or binary of the OS and camera app), the schematics and die shots aren't necessary or even useful. It's unlikely th
433.
▲
by
samatman
2y ago
This is one of the areas where Zig's combination of anonymous blocks and block-based defer really pay off. To create a locked region of code is just this { mutex.lock(); defer mutex.unlock(); //
434.
▲
by
samatman
2y ago
Ruby/Rails and Elixir/Phoenix both run on a garbage-collected virtual machine. I think that makes the comparison fair.
435.
▲
by
samatman
2y ago
What you're describing is different from the distinction the parent is making, which is between providing a high probability of evidence that a conjecture is true, versus proving the conjecture true through a rigorous formal proof. Oft
436.
▲
by
samatman
2y ago
It would be great if you could be a specific as possible about the ways in which Ada is more memory-safe, or otherwise-safe, than Zig. The language isn't 1.0 yet and is willing to learn from other languages.
437.
▲
by
samatman
2y ago
This understates what Zig has accomplished. The GeneralPurposeAllocator used in Debug or ReleaseSafe modes will detect use-after-free, double-free, and memory leaks. This isn't a second tool and a bunch of flags which you have to set u
438.
▲
by
samatman
2y ago
This is one of the shining features of the language: either of these is a viable option. Zig is a great way to build C projects, with native cross-compiling, and the semantics make it straightforward to supply a C API for Zig libraries to
439.
▲
by
samatman
2y ago
> And one could be forgiven for thinking that a formation of flying things would necessarily have one member in the lead position. Indeed. In which case you would have the lead zeppelin, and the led zeppelins.
440.
▲
by
samatman
2y ago
They do, but it's important to realize here that there is, in fact, a small demographic who actually want to get that political spam. So messages like that are going to get through the automated spam filter. I suppose they could bundl
441.
▲
by
samatman
2y ago
> free will exists somewhere/in a form we cannot directly observe John Conway has a rather neat explanation of this in the Strong Free Will Theorem. https://www.ams.org/notices/200902/rtx090200226p.pdf B
442.
▲
by
samatman
2y ago
The IRS is not a right wing think tank, the source is quoted immediately and you can find it here: https://www.irs.gov/statistics/soi-tax-stats-individual-stat... You will discover that the numbers are reported correct
443.
▲
by
samatman
2y ago
The US of course, I specifically said that. https://taxfoundation.org/data/all/federal/latest-federal-in... > The top 1 percent of taxpayers paid a 25.9 percent average rate, nearly eight times higher tha
444.
▲
by
samatman
2y ago
That sounds fairly awful. The top 1% of earners pay 45% of income tax (US figure). Why would you want laborers to pay so much more tax?
445.
▲
by
samatman
2y ago
It's possible that the language you're looking for is Julia. https://docs.julialang.org/en/v1/manual/parallel-computing/ I know almost nothing about Crystal, so I can't make a fair compari
446.
▲
by
samatman
2y ago
As an experiment, I upvoted your comment. But first, I loaded your profile. Then I refreshed it several times. At no point did your karma score change on your profile. It's caching.
447.
▲
by
samatman
2y ago
It appears you're referring to this: https://news.ycombinator.com/item?id=30742539 The most likely explanation of the effect you're observing is that the server, having done a database fetch to get you the profile
448.
▲
by
samatman
2y ago
I would put this only slightly differently: experimental results should be considered unpublishable without the raw data, and irrelevant until replicated.
449.
▲
by
samatman
2y ago
I wouldn't call this a bomb at all. Bombs are events, not processes. Resource contention for IPv4 has been around for a long time, with a number of workarounds and the ultimate out of supporting IPv6. There has been, to date, no momen
450.
▲
by
samatman
2y ago
Well, apes know how to produce apes, we mostly just give them some privacy.
More ›