Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
correct_horse
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
correct_horse
7y ago
> You need the handle in advance to queue the second and third whoops. I probably should have thought of that.
92.
▲
by
correct_horse
7y ago
If the problem is slow switching between user space and kernel space, why not have a syscall that allows you to batch process multiple syscalls? It might work like this: user space allocates a buffer, fills it with syscall numbers and argum
93.
▲
by
correct_horse
7y ago
I feel like Java has a particular problem in common with Android - they both keep getting better, but most people are stuck on some old version. The difference is that smartphones phones last at most 5 years, but a program that a business d
94.
▲
by
correct_horse
7y ago
Nature [1] cites Graney [2] that Galileo may have confused stars for their Airy disks. Nature's phrasing makes it seem that we're not entirely sure of Galileo's exact confusion. > Graney suggested in 2008 that Galileo'
95.
▲
by
correct_horse
7y ago
I had a similar experience going through the Godot "Your first game" tutorial [1]. I have little experience with game engines, but attaching signals in GDScript seemed like it required GUI interaction, then it was difficult for me
96.
▲
by
correct_horse
7y ago
Half of people are below average
97.
▲
by
correct_horse
7y ago
whoops.
98.
▲
by
correct_horse
7y ago
I generally agree that this will never be as popular as Wikipedia. But when cooking, I rarely follow the recipe exactly. The existence of a standardized recipe does not imply a standardized dish.
99.
▲
by
correct_horse
7y ago
Are you aware that the most expensive macbook pro costs $5900? A reasonable high-spec config costs $3800.
100.
▲
by
correct_horse
7y ago
The same could be said of any 2020 SUV. Cars are dangerous.
101.
▲
by
correct_horse
7y ago
Huh. I managed to hear about Inferno, but not remember the Limbo part. In that case, Go is Bell Labs' second attempt at Java.
102.
▲
by
correct_horse
7y ago
I was taking that into consideration when I authored my comment!
103.
▲
by
correct_horse
7y ago
I'm not sure what you mean by standard collections, but BTreeMap is in Rust's standard library.
104.
▲
by
correct_horse
7y ago
I've heard lots of hot takes on "what Go really is". Here's mine. Go is what would have happened if Bell Labs wrote Java.
105.
▲
by
correct_horse
7y ago
I think the bigger problem with Go is a lack of GC options. Java, on the other end of the spectrum has multiple GC algorithms (i.e. the Z garbage collector, Shenandoah, Garbage-First/G1) each with tunables (max heap size, min heap siz
106.
▲
by
correct_horse
7y ago
The title contrasts the last paragraph. I believe the author means this to be true only in the CLR, F# specifically. > I strongly believe that using result types as a general-purpose error handling mechanism for F# applications should be
107.
▲
by
correct_horse
7y ago
This is really interesting, and I think 32-bit pointers make sense for a significant class of problems. At the very least, having the option could be useful. But... One time in node, building a react-native project, the build failed with `
108.
▲
by
correct_horse
7y ago
I've heard this called "unit typed" (see the Wikipedia page of this name), I think unitype may be incorrect. i.e. Haskell includes the unit type ()
109.
▲
by
correct_horse
7y ago
I had assumed Amazon was paying for the Amazon "app" in Ubuntu (based on gut feel) but it looks like it might have been part of a Canonical's web-y vision for the Linux desktop future [1]. Does anyone know why the Amazon app
110.
▲
by
correct_horse
7y ago
> When something very basic goes wrong, I have this hierarchy of potential culprits: the compiler buggy hardware OS vendor last and least me, because I don’t make mistakes :) I really dislike the arrogant programmer trope
111.
▲
by
correct_horse
7y ago
There are some rust core team members who work at Mozilla ( https://www.rust-lang.org/governance/teams/core ) but I imagine they don't work exclusively on Rust.
112.
▲
by
correct_horse
7y ago
I count 97 ( https://opensource.org/licenses/alphabetical ), but point taken. Maybe there should be an organized effort to make some sort of compatibility matrix for all the OSI licenses...
113.
▲
by
correct_horse
7y ago
Are you saying that standard licenses cannot be checked for compatibility automatically? Or that arbitrary homebrew licenses cannot be checked automatically?
114.
▲
by
correct_horse
7y ago
> I don't think they're too fussed about copyleft. Yeah, and I'm not either. I have never decided to vendor dependencies, and my only modifications to GPL code were to upstream (so I didn't have a legal obligation to
115.
▲
by
correct_horse
7y ago
Why don't npm-like package managers have settings for licenses in applications (as opposed to libraries)? Settings like "no AGPL" or "no copyleft dependencies" would allow easy vendoring with modifications. This (di
116.
▲
by
correct_horse
7y ago
Similar to how code is read more times than it is written, files are decompressed more times than compressed. I have not researched this opinion much
117.
▲
by
correct_horse
7y ago
Would love to see a blurb in the readme about how it works. Also useful is a comparison to evcxr, the poorly named rust interpreter I use every once in a while.
118.
▲
by
correct_horse
7y ago
I think you meant to say length of string, length of string / 2, length of string / 3, ... https://en.wikipedia.org/wiki/Harmonic
119.
▲
by
correct_horse
7y ago
Go has no proper solution to garbage collector ballast, a hack which businesses you've heard of are using in the wild. see https://blog.twitch.tv/en/2019/04/10/go-memory-ballast-how-i... and https:
120.
▲
by
correct_horse
7y ago
All I can think of when I hear about Go now is garbage collector ballast, a hack for which Go has no proper solution see https://blog.twitch.tv/en/2019/04/10/go-memory-ballast-how-i... and https:/&
More ›