Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rollcat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
301.
▲
by
rollcat
1y ago
Of course you can. It's called an AS (autonomous system), I think all you need is an IP address range, a physical link to someone willing to peer with you (another AS), some hardware, some paperwork, etc; and bam you're your own I
302.
▲
by
rollcat
1y ago
I return the error to the caller. The caller returns it to their caller. 5 frames up, someone gets a [syscall.EINVAL], and has to figure out what to do about it. Perhaps it's time to log it? If I had to write my own "100 mista
303.
▲
by
rollcat
1y ago
Today we still have xattrs, but it's not even too late, it's simply impossible; even OS X gave up on resource forks, because PCs won. (An excerpt from history.txt)
304.
▲
by
rollcat
1y ago
You would have to infer the intent of the code. One example, from a small project I'm working on: $ find . -name "*.go" | xargs grep 'if err !=' | wc -l 242 $ find . -name "*.go" | xargs
305.
▲
by
rollcat
1y ago
Snip: if err != nil { return fmt.Errorf("invalid integer: %q", a) } Snip. No syntax for error handling is OK with me. Spelling out "hey I actually do need a stack trace" at every call site isn't
306.
▲
by
rollcat
1y ago
Says the headline a web page that takes 12s to load on a modern machine. People tend to ignore a problem if it's someone else's. The costs of [insert disruptive technology here] are largely externalised - on our natural environmen
307.
▲
by
rollcat
1y ago
IMHO many "open source alternatives to" should drop that tagline. This sentence is the first thing I read, and likely the last. I don't know what "Trello" is. I don't see what your project or app could do for m
308.
▲
by
rollcat
1y ago
Yep, the "market" is littered with Trello clones. I was also a big fan - until they went downhill (basically everything post-Atlassian). What most of the clones miss, is Trello's enormous attention to details - like excellent
309.
▲
by
rollcat
1y ago
How do you feel about SQLite, especially re: backup/restore? Do you just copy the live DB+WAL around, do you bring the service down first, perhaps ZFS snapshots, any horror stories?
310.
▲
by
rollcat
1y ago
Of course it depends on what you consider "low end" - it's relative to your expectations. I have a G4 TiBook, the definition of a high-end laptop, by 2002 standards. If you consider a $300 laptop a good daily driver, I'
311.
▲
by
rollcat
1y ago
An Apple M1 is decent enough for LMs. My friend wondered why I got so excited about it when it came out five years ago. It wasn't that it was particularly powerful - it's decent. What it did was to set a new bar for "low end&
312.
▲
by
rollcat
1y ago
With all the UB, I wonder how did we manage to write any secure or safety-critical code at all.
313.
▲
by
rollcat
1y ago
I keep wondering. Is there even a decent FOSS tablet (as opposed to desktop) environment? There are plenty of reasons why iPads and Macs have vastly different UIs. KDE seems strictly desktop-focused. Gnome seems to be pulling in both direct
314.
▲
by
rollcat
1y ago
The capabilities are interesting and useful, but the wider practical impact is that we're already being flooded with cheap cookie-cutter slop, while original artists' copyrights are completely disregarded. If you're building
315.
▲
by
rollcat
1y ago
I say this to everyone who keeps telling me that an iPad would make a better jailbroken Linux computer than what it currently is today. A close friend of mine (art college degree) has switched from oil / acrylic / watercolor to iP
316.
▲
by
rollcat
1y ago
It's kinda cool than HN looks OK even in simple browsers like Dillo: < https://imgur.com/a/Seu8rYT > However it's pretty bad on narrow screens. I wish there was some progressive enhancement via modern CSS
317.
▲
by
rollcat
1y ago
Kinda. Empty files for so many languages, it would be interesting to see at least an exit(0) or so.
318.
▲
by
rollcat
1y ago
An unexpected optimisation can introduce a side channel (most commonly timing). This one would be safe, but "how do you tell a compiler which ones [not] to use" is a whole topic by itself.
319.
▲
by
rollcat
1y ago
This rule scales up all the way to multi-node supercomputers / cloud. The overhead is negligible when you can employ 10.000 cores.
320.
▲
by
rollcat
1y ago
Holy heck. Exploring this uncovers so many little gems. - Winamp. With skins. - SWFs. Badger. - A bunch bootable ISOs with OSs like Kolibri. Kinda nuts to have a real OS in a browser OS on a real OS. Also: Windows RG. - Web-self-inspector.
321.
▲
by
rollcat
1y ago
To everyone: Ignore the nay-sayers. You've done more than most of them ever attempted. It's more easily said than done, negative feedback tends to set off a stronger emotional response. Seek feedback from people you know will supp
322.
▲
by
rollcat
1y ago
> What LLMs are good at and their main value I'd argue, is nudging you along and removing the need to implement things that "just take time". I was still learning Java at uni (while being a Python/Lisp fanboy) when I
323.
▲
by
rollcat
1y ago
Overall this sounds good, but: > 1. Almost no statefulness, which was great for scalability. This is called "eventual consistency", it's probably fine in practice but you still do have a lot of state. Personally, if I ha
324.
▲
by
rollcat
1y ago
Any system that allows you to create 10000 accounts is already vulnerable to DoS. Also, as vintermann suggested, you can use a faster, domain-specific database if you're concerned about this becoming an issue. And sometimes edge cases
325.
▲
by
rollcat
1y ago
Agreed. Search engine results is what gives a domain name credibility. EU has been going hard on "gatekeepers" recently. Good regulation could fix this. E.g. make Google verify each address by sending the business a form in a self
326.
▲
by
rollcat
1y ago
I took note, and I agree. The problem is that (as a non-native English speaker), I had to look the word up. I'm concerned that this nuance could escape people, even when they know what the word stands for. "Making things up"
327.
▲
by
rollcat
1y ago
There's a simpler word for that: lying. It's also equally wrong. Lying implies intent. Stop anthropomorphising language models.
328.
▲
by
rollcat
1y ago
Came here to mention this. Man page: https://man.openbsd.org/man1/acme-client.1 Source: https://github.com/openbsd/src/tree/master/usr.sbin/acme-cli...
329.
▲
by
rollcat
1y ago
I've learned about the PC-98 by accident, by browsing FreeBSD releases. It used to be a tier-1 target, later degraded, and finally dropped in 12.0. Since FreeBSD is now moving to drop all 32bit CPUs entirely, it wouldn't have li
330.
▲
by
rollcat
1y ago
I can't quite put my finger on these changes in the landscape. Shuji Nakamura invented blue LEDs in his garage. Meanwhile, graphene. I just don't think there's a universal rule.
More ›