Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
OskarS
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
181.
▲
by
OskarS
2y ago
Truly one of the underrated perks of adulthood is deliberately misusing current slang to annoy young people! Put that in your gyatt and vape it!
182.
▲
by
OskarS
2y ago
> (This does mean that clients connected to different homeservers might see different orderings; this is unfortunate but probably unavoidable. But clients connected to the same homeserver should all see the same ordering.) I don't t
183.
▲
by
OskarS
2y ago
Man, you really can’t escape Hyrum’s Law ever! Now we have people depending on the iteration order being random!
184.
▲
by
OskarS
2y ago
I agree fully, but there’s more than that. It’s just bad marketing! Like, don’t conjure this image into people’s heads when thinking about your product! It seems like they care more about making some juvenile point about how offensive words
185.
▲
by
OskarS
2y ago
Nicely done! The multi-wprd identifiers with spaces in them is really freaking me out :)
186.
▲
by
OskarS
2y ago
I agree, very readable. One interesting thing: the sieve array does not have static bounds, the size of it is an argument. Presumably that means it’s stack-allocated dynamically a la ”alloca” (I doubt it’s heap-allocated, given there’s no f
187.
▲
by
OskarS
2y ago
If you truly believe this, there’s no reason you would want to add checksumming to SQLite either. Either the data you write can be corrupted or it can’t.
188.
▲
by
OskarS
2y ago
Honestly seems pretty reasonable to me. SQLite operates above the filesystem, and it seems to me the filesystem is the appropriate place to do this kind of error correction/detection. If you need this kind of durability of your data, w
189.
▲
by
OskarS
2y ago
It is really gorgeously written Haskell. I’ve only dabbled in Haskell, but you’re really shetting my appetite for digging in deeper.
190.
▲
by
OskarS
2y ago
Site doesn't work right in Firefox, the text is all cut off in the sidebar. First time I've seen that in a while!
191.
▲
by
OskarS
2y ago
Yep, the same, M1 Pro from 2021. It's remarkable how snappy it still feels years later, and I still virtually never hear the fan. The M-series of chips is a really remarkable achievement in hardware.
192.
▲
by
OskarS
2y ago
If it's a serious enough issue, GitHub staff can almost certainly still step in and manually restore all that stuff if needed.
193.
▲
by
OskarS
2y ago
> but generally I just want a set of knobs to tweak behaviour. But you can do that so easily as well! Like, take this YAML (substitute equivalent JSON or TOML, specific configuration language is irrelevant): options: someOpt
194.
▲
by
OskarS
2y ago
More and more the last couple of years, I’ve started to realize that ”configuration languages” are just a bad idea. Please, for the love of all that is holy, just let us use a real programming language. For simple declarative configuration,
195.
▲
by
OskarS
2y ago
I'm very pessimistic this is ever going to work. Even if they get above the threshold with everyone still on board, I'm certain this is going to be challenged in court and overturned. Not that there's anything unconstitutiona
196.
▲
by
OskarS
2y ago
Yeah, this one is so weird. You've been able to do that forever in C, and virtually all big compilers have this keyword in C++ as well, just named __restrict. Why is it so hard to get into the standard, at least for pointers? I can ima
197.
▲
by
OskarS
2y ago
Yeah, fair, but the slots in Life are mapped to MIDI, so you can trigger them that way if you want, you don't have to use the built-in sequencer.
198.
▲
by
OskarS
2y ago
We were very happy to get that working as well as it did, the first time we've ever made an app (we're VERY much audio plugin people, not app developers). Worked really nicely in the end!
199.
▲
by
OskarS
2y ago
You might want to check out Life by XLN Audio, which does some of what you want here as well: https://www.xlnaudio.com/products/life (disclaimer: I work for XLN Audio)
200.
▲
by
OskarS
2y ago
I think "every PR should be a single commit when merged" is a bit too dogmatic. If the PR is logically split up into bits of work that conceptually separate and that compile/run independently, then it makes sense to have thos
201.
▲
by
OskarS
2y ago
Lovely video, and it was enormously personally satisfying to me while he was describing his evolutionary algorithm I just sat thinking "why not just use a SAT solver, this seems like child's play for z3?" and then hearing him
202.
▲
by
OskarS
2y ago
I wanna say that Abseil's hash function does something like this? It was a couple of years ago, but I remember tearing my hair out figuring out why hash tables passed from a C++ api to my tests were failing. Turns out, the tests and th
203.
▲
by
OskarS
2y ago
Very cool! This seems like an excellent backup utility as part of core SQLite. Great that you can still run write transactions on the origin while it’s in progress, i wonder what the guarantees are there for which in-progress transactions a
204.
▲
by
OskarS
2y ago
Linux != UNIX
205.
▲
by
OskarS
2y ago
One of my favorite Cash songs is The Mercy Seat, I just think it’s a masterpiece. And it’s SO Johnny Cash (religion! crime! last line twist!) that I was stunned when I recently looked it up and realized he didn’t write it, it’s a cover of a
206.
▲
What to do when the Trisector comes? (1983) [pdf]
(web.mst.edu)
3 points
by
OskarS
2y ago
|
0 comments
207.
▲
by
OskarS
2y ago
Yes, that kind of thing, but with an illustration and usually styled nicer. This is a very typical look (the first crossword i found by googling): https://www.argument.se/wp-content/uploads/2018/10/Korsor
208.
▲
by
OskarS
2y ago
I grew up with Swedish crosswords, where the clues are written into the "non-letter" cells (the ones that are shaded in an American crossword). There's no separate clue section, it's just all part of the grid. They almos
209.
▲
by
OskarS
2y ago
> In order for delete[] to work, C++ must track the allocation size somewhere. That is super-interesting, I had never considered this, but you're absolutely right. I am now incredibly curious how the standard library implementations
210.
▲
by
OskarS
2y ago
You don't actually need to have the "adjust priority of element" operation to implement Dijkstra or A-star. The standard description of the algorithm always include this, but it is not actually necessary: instead of adjusti
More ›