Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
roetlich
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
roetlich
2y ago
> BFS works just fine with variable edge weights, you just have to use a priority queue instead of a plain queue for the next set of nodes to be visited. But usually you don't call it BFS if it's using a priority queue?
32.
▲
by
roetlich
2y ago
> How do you even know the inferred type of your function is what you really think it should be? By adding a type annotation? Am I missing something?
33.
▲
by
roetlich
2y ago
I think you need to re-read some of the comments you are replying to. There is a 64 bit int type: https://ocaml.org/manual/5.3/api/Int64.html You can use all 64 bits. There are also other int types, with diff
34.
▲
by
roetlich
2y ago
Looks awesome! This with a small carrying case would be amazing. Maybe the space next to the keys could be a kind of small touch pad used for scrolling?
35.
▲
by
roetlich
2y ago
Just stay on the page, don't click the "Get a scroll buddy for your website" link.
36.
▲
by
roetlich
2y ago
lol. Maybe it's better to ignore bad bug reports. For what it's worth, I tried LibreWolf and Edge on Windows and Firefox on Android, to try some less used combinations. Images always load. :)
37.
▲
by
roetlich
2y ago
I love that the search is so fast.
38.
▲
by
roetlich
2y ago
> I suppose this doesn't account for files which no longer exist or that have been completely re-written. But... that's the point of this? Finding the initial commit is not nearly as fun as looking at the oldest code that is st
39.
▲
by
roetlich
2y ago
No, I'm not going to. I didn't claim all Windows APIs can be debugged or easily used without Visual Studio. I didn't claim all of Android features can be debugged without Android Studio. Pornel made this claim: > Building
40.
▲
by
roetlich
2y ago
> C# isn't a blessed tier 1 language on macOS. No, but it is on Windows? But you don't need Visual Studio or even Windows to write a desktop GUI application, and you can then run "natively" on Windows. "Native&qu
41.
▲
by
roetlich
2y ago
How about using the vendor tooling? Here for example is the guide to running and building C# desktop Apps on MacOS: https://dotnet.microsoft.com/en-us/learn/maui/first-app-tuto... This is one of the blessed t
42.
▲
by
roetlich
2y ago
The most common end-user operating systems are Android and Windows, neither of those require a special GUI to create an app. You don't even need to buy specific hardware to write programs for those.
43.
▲
by
roetlich
2y ago
This looks great, thank you for making this.
44.
▲
by
roetlich
2y ago
> O((10^6) * n) Isn't that O(n)? Is there a typo or am I missing something?
45.
▲
by
roetlich
2y ago
Hi, many years ago I used HackerRank to practice, before I got my first job as a programmer. I always thought it had nicer UI than leetcode. For practicing a new language I now mostly use exercism.io, because it allows me to run everything
46.
▲
by
roetlich
2y ago
> And it’s not perf considerations if it’s the difference between your program running at all and crashing. Yeah, that's what I meant to include by "behave very differently". I don't think we disagree on anything tech
47.
▲
by
roetlich
2y ago
> The literature does not always put the “tracing” in front of the “garbage collection”. Not always, but often enough that an introductory article that presents an overview of different memory managment techniques should maybe use the lo
48.
▲
by
roetlich
2y ago
> Also, no point in calling it “tracing garbage collection”. You're against more explicit naming just for the sake of it? In the literature reference counting is also referred to as a type of garbage collection, and doesn't inv
49.
▲
by
roetlich
2y ago
Cool, very impressive! Why the dependency on both C and C++?
50.
▲
by
roetlich
2y ago
I think you are looking for Exercism: https://exercism.org/ Great website! Edit: This also looks good, haven't tried it yet: https://app.codecrafters.io/catalog
51.
▲
by
roetlich
2y ago
Hi Swirly, most youtube videos will not help that much, other than conference talks. I recommend going more slowly, and comfortably reading books. For example "Designing Data-Intensive Applications", based on your interests. Don&#
52.
▲
by
roetlich
2y ago
> I really want to love F# but keep banging my head against the wall. Yeah. What's your opinion on Gleam?
53.
▲
by
roetlich
2y ago
But knowing to effectively programming F# requires you to understand OOP and the functional abstractions. Most libraries in .Net still target C#, so understanding C# syntax and mentally translating it to F# is often required. If your applic
54.
▲
by
roetlich
2y ago
Yes, another plus point of C#. Sorry for the snark, but I do think C# compile are just barely acceptable for me, so I'm happy they aren't adding more heavy compile time features.
55.
▲
by
roetlich
2y ago
Also: https://news.ycombinator.com/item?id=23189918 Not literally "in Cobol" in the title, but almost. And in both cases the primary novelty is that it's written in Cobol.
56.
▲
by
roetlich
2y ago
For context, here's the NDR report: https://www.ndr.de/fernsehen/sendungen/panorama/aktuell/Inve... And more info here: https://lists.torproject.org/pipermail/tor-relays/20
57.
▲
by
roetlich
2y ago
Hasura has commercial use: https://hasura.io/
58.
▲
by
roetlich
2y ago
You should probably rerun the benchmarks for wc2 on the same hardware as well. Otherwise one might have a faster SSD, or something else that makes the comparison unfair.
59.
▲
by
roetlich
2y ago
From looking at the code, the clever bit is how this is doing word count. (and word & line count at the same time). So yeah, it makes -l isn't better.
60.
▲
Ask HN: Do we have evidence that green threading is faster than OS threads?
9 points
by
roetlich
3y ago
|
2 comments
More ›