Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ainar-g
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
ainar-g
4y ago
It's especially weird considering that the Markdown file is publicly available: https://icube-forge.unistra.fr/icps/c23-library/-/blob/main/... Raw Markdown, for no-JS readers: https:/&#x
62.
▲
by
ainar-g
4y ago
Are there any practical cases where you'd want "extern void foo"?
63.
▲
by
ainar-g
4y ago
Formatting ⊊ Style Style may also include naming, documentation requirements, recommendations regarding function length, etc.
64.
▲
by
ainar-g
4y ago
I agree with everything. Notion is essentially unusable for me. My “favourite” bug is that when you import a markdown document, if you have a piece of inline monospace text that starts with a hyphen, the hyphen will disappear. So, somethi
65.
▲
by
ainar-g
4y ago
I agree that this is a PITA, but this really is more of a growth pain than an initial design flaw. Contexts have appeared way after the Go 1.0, when the entire ecosystem has already gotten used to io.Reader and io.Writer. If you want a muc
66.
▲
by
ainar-g
4y ago
The current C2x (aka C23) draft finally spells the behaviour out explicitly: > 7.24.3.2 The calloc function > […] > Returns > The calloc function returns either a pointer to the allocated space or a null pointer if the space can
67.
▲
by
ainar-g
4y ago
Good ideas are worth preserving. And preserving these ideas means keeping the discussion alive. Drew mentions in the article that quite a lot of ideas have since ported in one way or another to other unices, but Plan 9 was more than just
68.
▲
by
ainar-g
4y ago
Probably so that you could also write additional options for connections, the same way you would with setsockopt. Besides, using connection IDs, and thus having a more or less persistent filename for the current connection, makes it easier
69.
▲
by
ainar-g
4y ago
I've always wondered. Bell Labs' Inferno, Sun's JavaOS, and Microsoft's Singularity were built on the same principles of OS being almost entirely built on top of a virtual machine, and it's a very interesting idea
70.
▲
by
ainar-g
4y ago
Almost quarter of a thousand. Yay! That does raise an interesting question though. If one wanted to create a command-line tool (or, rather, toolset) as comprehensive as curl, but with a much smaller API surface, how would they go about it
71.
▲
by
ainar-g
4y ago
Next time you're shopping for a CPU, regardless if it's for a personal computer or for a server, consider whether or not you want to support a company that wants to move to this kind of business model. “Intel Creates CPU With Sub
72.
▲
by
ainar-g
4y ago
https://modern-sql.com/ is another site with compatibility graphs.
73.
▲
by
ainar-g
4y ago
I really like PostgreSQL ranges, but I've always been curious, if these are an extension or they are a part of the SQL standard? The “Range Types” page[1] doesn't seem to mention the standard at all, and appendix D.1, “Supported
74.
▲
by
ainar-g
4y ago
Wikipedia has a couple of non-timeseries examples[1]. I guess with timeseries you'd have something along the lines of: user | time_range | status ======+==============+========= 1 | [2018, 2021) | ACTIVE 2 | [2
75.
▲
by
ainar-g
4y ago
Soft deletes can be thought of as a combination of versioning and timestamps. By using the Sixth Normal Form (6NF) with timestamps in the key, you get those for free, but this kind of schema may be a bit too complex for many simpler applic
76.
▲
by
ainar-g
4y ago
I've only found out recently, thanks to the C++ Iceberg. https://fouronnes.github.io/cppiceberg/ (Entries are clickable.)
77.
▲
by
ainar-g
4y ago
From my understanding, the draw is to “start over” and create a completely new hypertext ecosystem where script-heavy advertising-laden sites just aren't technically possible. Or, at the very least, extremely impractical. It's a
78.
▲
by
ainar-g
4y ago
Luckily for you, it's all open-source, heh. https://github.com/AdguardTeam/AdGuardDNS/blob/master/script... https://github.com/AdguardTeam/AdGuardDNS/blob/master/
79.
▲
by
ainar-g
4y ago
I lead a Go team, and we pretty much never go (heh) anywhere without a suite of static analysers. go vet, govulncheck, errcheck, and staticcheck are the required minimum, but we do use some others. Back when I used to write Ruby, lack of s
80.
▲
by
ainar-g
4y ago
Or you've been using the looppointer analyser[1] from the start, heh. [1]: https://github.com/kyoh86/looppointer
81.
▲
by
ainar-g
4y ago
I've been in a very similar situation, and I hate to break it to you, but the best course of action here would be precisely what you imply is not possible. Quit. Autonomy is extremely important for personal and professional growth.
82.
▲
by
ainar-g
4y ago
Back in the day, Neovim has always felt about three times snappier than Vim (I think it was Vim 7.2). Also, I don't remember if the newer versions of Vim have it, but Neovim has native LSP support, which is also very nice.
83.
▲
by
ainar-g
4y ago
> Surely Russia has no interest in sabotaging the pipelines that give them leverage over Europe. Apart from a false-flag operation by Putin to have a casus belli to start a war with NATO? Normally, that would be suicide. But Putin has
84.
▲
by
ainar-g
4y ago
You can add “The Doomed City” to the list as well. It's an interesting take on the “aliens pull people from different places and times to conduct a social experiment” trope. https://en.wikipedia.org/wiki/The_Doome
85.
▲
by
ainar-g
4y ago
Go issue for adding WASI: https://github.com/golang/go/issues/31105
86.
▲
by
ainar-g
4y ago
/proc/config.gz seems to be unavailable to Debian 11, at least by default, but "modinfo 9p" does show the module. Thanks for the clarification!
87.
▲
by
ainar-g
4y ago
I did not expect Plan 9, the Linux kernel, and Rust to intersect like that! Would adding this module mean that I could finally mount a 9P filesystem on my Linux machine without the need for third-party software and FUSE?
88.
▲
by
ainar-g
4y ago
To those who want to try NetSurf on Ubuntu, I recommend installing from Flatpak. The default Ubuntu package seems to be broken on HTTPS sites; or at least was when I checked it the last time.
89.
▲
by
ainar-g
4y ago
Linus' channel is severely underappreciated. I especially enjoyed his dive into the typography of comedy club logos: https://www.youtube.com/watch?v=XPmlv7cDk6Q .
90.
▲
by
ainar-g
4y ago
There are still Ko-Fi, SubscribeStar, as well as YouTube memberships. To say nothing about OnlyFans and Fansly, which have been trying to become less… porn-dependent.
More ›