Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wpollock
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
wpollock
1y ago
TIL. Thanks!
122.
▲
by
wpollock
1y ago
A standard git package includes gitweb, a web server for your repos. For a more feature-full web server, you have choices such as forgejo. As others have said, you don't need a server, ssh access is all that's needed.
123.
▲
by
wpollock
1y ago
> (I've taken to doing a chattr +i on the file quite often) That requires ext4 AFAIK, whereas many systems use XFS, BTRFS, or ZFS. I've done this as well on several files I don't want mucked with, when I can't simply
124.
▲
by
wpollock
1y ago
Under semver, any dependency version X.Y.* is supposed to be compatible with any software that was built with version X.Z.* when Y > Z. If not, the author of the dependency has broken semver. "Supposed to" being the operative
125.
▲
by
wpollock
1y ago
>Also, if the terminal is in raw mode then you'll never get ctrl+C. The process/thread/task won't receive SIGINT, true. But I believe it will see the character ETX (ASCII 3). Programs that use raw mode input need to
126.
▲
by
wpollock
1y ago
I had this issue all the time. Until I retired as a CS college professor. An accept-list is the way to go when you have lots of people making commits.
127.
▲
by
wpollock
1y ago
Geology jokes are beneath me.
128.
▲
by
wpollock
1y ago
I remember vaguely reading about this in the 1970s, maybe Scientific American? Cannot find that article now though.
129.
▲
by
wpollock
1y ago
Note that vim includes a useful tutorial you can invoke by "vimtutor" on the command line or from within vim with ":help tutor"; for neovim try ":Tutorial".
130.
▲
by
wpollock
1y ago
>mbox should die; Mbox is useful for backups and for migration between different email systems (that use different databases internally). Mbox is also fine if you only have a hundred or so email folders and only process a few dozen emai
131.
▲
by
wpollock
1y ago
For Linux, I used to use checkinstall to create a package when installing from make. It watches the make, and adds an uninstall. Works for several package management systems such as .rpm and .deb. For Cmake there is a similar tool I believe
132.
▲
by
wpollock
1y ago
A Java program can share mutable state between threads without synchronization, and it will compile and run. In Rust, such a program will not compile.
133.
▲
by
wpollock
1y ago
As I read the post, I thought of relational data models. The behavior is expected. I believe the root issue is your records should not have computed fields that depend on mutable fields. Change your record schemas to eliminate that and yo
134.
▲
by
wpollock
1y ago
Unfix for an x86 CPU. But that architecture wasn't as locked-in back then. For example, the Intel 432 CPU was designed to support OO languages. I believe it was designed with Ada in mind, and with GC support and other VM support. Ja
135.
▲
by
wpollock
1y ago
I think you are looking for the Linux Standard Base. It started out with a great idea, but the LSB grew so large most popular distros publicly stated they would no longer pursue compliance, so the effort kinda fizzled out.
136.
▲
by
wpollock
1y ago
It wasn't a "base to start with". MS Dos was QDOS. I was a summer intern in the early 1980s with IBM in Kingston, NY, and had access to the source. Gates didn't even bother to remove the SCP copyright notice from the c
137.
▲
by
wpollock
1y ago
Does the name come from The Princess Bride?
138.
▲
by
wpollock
1y ago
Very nice write up! But I think your point that time doesn't need to be a mess is refuted by all the points you made. I know you had to limit the length of the post, but time is an interest of mine, so here's a couple more points
139.
▲
by
wpollock
1y ago
The even bigger question is, does a hot dog count as a sandwich?
140.
▲
by
wpollock
1y ago
> I think nothing short of a global catastrophe will change people's minds. You mean like global warming and how the climate change catastrophe we are experiencing has changed human behavior to stop polluting? <sarcastic mode>
141.
▲
by
wpollock
1y ago
This situation might change if Google is forced to divest itself from Chrome. This is currently in the US courts, but it might take awhile.
142.
▲
by
wpollock
1y ago
Have you tried Unexpected Keyboard?
143.
▲
by
wpollock
1y ago
Good to know, thanks! I only tested on Fedora. If anyone cares, here's a link for a tarball for testing this; read the simple makefile for details: < https://wpollock.com/AUnix2/dll-demo.tgz > (I wrote this l
144.
▲
by
wpollock
1y ago
This is only true when statically linking. Order does not matter when dynamically linking. (This was a surprise to me but I have tested it.)
145.
▲
by
wpollock
1y ago
You don't know ugly. Your site is fine! I wrote my website by hand in Notepad (and vi) in the 1990s. In the late 1990s, I rewrote it to use CSS. I tried to use a dark background (research suggested that was easier on the eyes, and it
146.
▲
by
wpollock
1y ago
I should have known better than to doubt a random article I read on the Internet, how silly of me, sorry.
147.
▲
by
wpollock
1y ago
> Strikingly, media reports indicated that some food manufacturers began adding sesame to products that previously did not contain the ingredient following the implementation of the new allergen labeling requirements (Aleccia, 2022; Chat
148.
▲
by
wpollock
1y ago
Yes it was, handsome!
149.
▲
by
wpollock
1y ago
Not sure, but the API docs say 1.2. Maybe the com.sun packages include their own implementation of TLS, separate from the TLS used in the rest of the JRE.
150.
▲
by
wpollock
1y ago
There used to be a great book for this, "JavaScript The Good Parts". Is there a well-respected equivalent for JavaScript in 2025?
More ›