Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pkkm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
pkkm
3y ago
This is just the Clean Code style. If you read the book (or an article with examples [0]), you'll see that it advocates exactly this kind of thing: refactoring functions that are "long" and "unreadable" because they
92.
▲
by
pkkm
3y ago
This title is pure clickbait. The article says that out of the last 9 years, the statement has been true for 1 and false for 8. Flagged.
93.
▲
by
pkkm
3y ago
You're right that disabling strict aliasing removes some optimization opportunities for the compiler, but you can always get them back by adding restrict here and there. So it's really about what the default behavior should be.
94.
▲
by
pkkm
3y ago
Unless you think that the abbreviation const stands for some other word than constant , I'm not sure how that's relevant here?
95.
▲
by
pkkm
3y ago
> This is a woeful state of affairs propagated by an ill founded and widespread confidence that the C and C++ standards probably aren't as hostile to type aliasing as they actually are. Yep. Honestly, while I get the historical reas
96.
▲
by
pkkm
3y ago
See also the GoboLinux filesystem hierarchy [0], which may be what would happen if we redesigned the traditional Unix hierarchy. [0] https://wiki.gobolinux.org/Overview/GoboLinux-Filesystem-Hie...
97.
▲
by
pkkm
3y ago
Everyone already knows what the words "bombing" and "shooting" mean, and it would be hard to find someone who considers war to be a good thing. The entire question is which dead children and whose misery we pay atten
98.
▲
by
pkkm
3y ago
> Sysvinit did so little that it's almost trivial to understand. This is only an advantage if you take an extremely short-sighted view of complexity. Yes, sysvinit itself is very simple, but by that metric you may just as well repla
99.
▲
by
pkkm
3y ago
This is just motte-and-bailey. You're shifting the definition of the "unix philosophy" between the general idea of interoperability, and the UNIX design of small programs that communicate via text and are glued together with
100.
▲
by
pkkm
3y ago
> The core idea is "do one thing and do it well". The historical "unix philosophy" was specifically about small programs communicating over pipes via plain text. If you retroactively change it to "do one thing an
101.
▲
by
pkkm
3y ago
> Systemd OTOH makes almost all possible sins against the unix philosophy Is this supposed to be a bad thing? Because I don't find it obvious. In fact, I don't get why many people have this mystical reverence for the "unix
102.
▲
by
pkkm
3y ago
Try setting showdead in your user profile.
103.
▲
by
pkkm
3y ago
For people who can't afford custom earplugs, you can find a lot of earplugs with good sound clarity if you google "musician earplugs" or "concert earplugs". You may have to try more than one brand before you find so
104.
▲
by
pkkm
3y ago
Oh, that's just one of many such cases. There's also the history of how it took years of requests, and pressure from Valve, for Wayland devs to consider letting the user disable VSync. Or the disaster around the UI scale, which un
105.
▲
by
pkkm
3y ago
Wayland and systemd are two topics that I credit with showing me that I shouldn't give too much weight to the consensus on Hacker News and Reddit. Things turned out opposite to the prevailing sentiment at the time. systemd faced an eno
106.
▲
by
pkkm
3y ago
I'm guessing that your intention was to show us https://bbs.archlinux.org/viewtopic.php?pid=1149530#p1149530 ? It would be better to submit the direct link to the post than to make people scroll through the whole page
107.
▲
The Day of a New Command-Line Interface
(arcan-fe.com)
3 points
by
pkkm
3y ago
|
0 comments
108.
▲
by
pkkm
3y ago
> During these frenzied moments we almost need a forked HN homepage where the trend of the month is cordoned off to prevent contagion. I wish dang would just disable registration for a week or two when this kind of thing is happening. It
109.
▲
by
pkkm
3y ago
> now Krita is actually quite old. The reason you haven't heard of it is probably that it's more focused on digital painting than on general image manipulation.
110.
▲
DateType: Distinguish aware and native datetimes at the type level
(github.com)
2 points
by
pkkm
3y ago
|
0 comments
111.
▲
HPy: The Future of Python Native Extensions (EuroPython 2023) [video]
(youtube.com)
2 points
by
pkkm
3y ago
|
0 comments
112.
▲
by
pkkm
3y ago
Thank you. I had no idea this existed but it's the kind of thing I was looking for.
113.
▲
by
pkkm
3y ago
The same way as now. You'd just cache the last IP address of every port in the kernels of both communicating computers.
114.
▲
by
pkkm
3y ago
Since we're already talking about IPv6, I'll take the opportunity to bring up a topic I've been thinking about recently. If they were already redesigning the IP protocol, why didn't the creators of IPv6 ensure good suppo
115.
▲
Get a TypeError when using a datetime when you wanted a date
(blog.glyph.im)
1 points
by
pkkm
3y ago
|
0 comments
116.
▲
Dates and Times and Types (2022)
(blog.glyph.im)
1 points
by
pkkm
3y ago
|
0 comments
117.
▲
Hello, HPy
(hpyproject.org)
1 points
by
pkkm
3y ago
|
1 comments
118.
▲
Are We Digital Typesetting Yet?
(arewedigitaltypesettingyet.com)
2 points
by
pkkm
3y ago
|
0 comments
119.
▲
by
pkkm
3y ago
> I can give you concrete examples of demonstrable >10x productivity improvements which resulted in products succeeding where they otherwise would undoubtedly have failed. Well, I would definitely be interested in these examples. I oc
120.
▲
Putting the I back in IDE: Towards a GitHub Explorer (2018)
(blog.janestreet.com)
1 points
by
pkkm
3y ago
|
0 comments
More ›