Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
foxfluff
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
271.
▲
by
foxfluff
5y ago
> There's a ton of content that would enrich Gemini (and that fits Gemini's mission) but that simply isn't usable in text/gemini. That's kind of what I've concluded too. I like the mission of gemini (and I
272.
▲
by
foxfluff
5y ago
Yeah these hierarchies are something that really slow me down. Was it arch/aarch64/dts? Arrgh no, arch/aarch64/boot/dts? No, actually arch/arm64/boot/dts.. Similarly, I couldn't decide on a hi
273.
▲
by
foxfluff
5y ago
I don't consider folders spatial. At all. The only hard relation is hierarchical, and in a folder, there's no inherent order or spatial relationship. I find it a pain to navigate. Actual spatial arrangement of data (and code) i
274.
▲
by
foxfluff
5y ago
My take on this is that you always have plausible deniability when you deny freedoms "for security." I don't like it. Blocking everything except Chrome would immediately raise way too many eyebrows, but allowing the few big
275.
▲
by
foxfluff
5y ago
Depending on what your performance target is, you might do without adapters. Low speed USB can be bitbanged even with 8-bit attiny. RP2040 with PIO can run DVI, 720p@30Hz (though you do need to overclock the chip heavily). I don't k
276.
▲
by
foxfluff
5y ago
True, but it's harder to compromise a fully programmable device. In essence, you'd have to somehow prevent certain kinds of programming while still permitting all the rest. How is the device to know that flipping pin 121 and 122
277.
▲
by
foxfluff
5y ago
It's also larger than that; I believe one of the biggest threats to freedom today is complexity. That's why people are so bitter at Mozilla for example, and perhaps to a lesser degree systemd. But it applies to a lot of stuff, f
278.
▲
by
foxfluff
5y ago
Making fabrication accessible would definitely be nice. In the meanwhile, I'd be interested in finding a community that puts "relatively open" hardware to good use. That includes old computers that won't grow antifeatur
279.
▲
by
foxfluff
5y ago
I don't know about that. Google was fined 150 million EUR for not having a simple "refuse all" button in their consent nag. A single button. The complaint was that refusing is not as easy as accepting all cookies. 150M EUR
280.
▲
by
foxfluff
5y ago
Then are the consent popups satire too? To me the header would've just been a way to say "no consent" without requiring you to play whack a mole with popups. If DNT is satire and consent popups are too, are these fines also
281.
▲
by
foxfluff
5y ago
> What problem does web3 or decentralization fix? > rent server from small provider If everyone rents a server and we make these servers talk to each other, that is what I would call decentralization. If you rely on a server operated
282.
▲
by
foxfluff
5y ago
DNT was supposed to be a solution. Companies who insist on nagging you until you "voluntarily consent" are to blame. I'm not sure what killed DNT but it seems like they're trying to revive it again in Europe: https:&#
283.
▲
by
foxfluff
5y ago
Well, doing something that the platform or language doesn't help you with or isn't designed for can be hard (or impossible), but I think that is true of literally any and every system. Writing a bootloader or memory allocator or a
284.
▲
by
foxfluff
5y ago
> I like assembly, but the idea that assembly is easy is not realistic. By assembly, I mean the general idea of machine instructions, which you find on every computer. It is simple and quite easy. It doesn't matter whether you sta
285.
▲
by
foxfluff
5y ago
Not to argue your point but I think the "elite" old-sk00l C style implementation would be this: void truncate(char *s) { if (s && *s) s[strlen(s)-1] = 0; } I don't have a hard and fast rule on when to use con
286.
▲
by
foxfluff
5y ago
My first experience was in my teens, using a disassembler to change hardcoded keybindings in a game (x86) and then defeat some kind of checksum (anti-tamper?) mechanism because otherwise it wouldn't run after the modifications. I didn&
287.
▲
by
foxfluff
5y ago
I think the idea of a course is that you will be taught. Why worry about it? Do you not trust your uni to provide the necessary course materials and exercises? Did someone tell you assembly is hard? I will tell you that assembly is easy,
288.
▲
by
foxfluff
5y ago
Have you considered that these are different groups of people talking? I'd like to take responsibility for my part by not reusing passwords, not using weak passwords, not using my passwords on computers that I can't trust (other p
289.
▲
by
foxfluff
5y ago
> say unusual browser, small country, rare language, use a vpn etc > Basically it's these massive bayesian filters that output how suspicious some activity is. It almost feels like the digital equivalent of racism, xenophobia, ho
290.
▲
by
foxfluff
5y ago
I don't think people are informed well enough to know which company gives a shit about its users. Google had pretty good reputation when I started first using GMail via an invite during the beta. I agree more laws aren't always t
291.
▲
by
foxfluff
5y ago
Anecdotally, getting arbitrarily blocked and locked out of your stuff is the single biggest practical security today problem today for me (maybe it isn't for non-technical users who reuse weak passwords, install catpicture.jpeg.exes an
292.
▲
by
foxfluff
5y ago
I am my own domain registrar.
293.
▲
by
foxfluff
5y ago
This is one of the reasons I've been reluctant to start using a hosting provider (in addition to social engineering, it's always possible that their infrastructure gets compromised). Their problems become my problems. And on the
294.
▲
by
foxfluff
5y ago
The submission isn't loading for me right now but based on your comment, I imagine I share some views with the author. I have this problem with games; there are lots of games. I can only find out if I enjoy one by spending time on it
295.
▲
by
foxfluff
5y ago
snprintf. If you want to stick to the (safest) pattern of only passing the buffer size for the second parameter, you'd do this: snprintf(buf, sizeof buf, "%.*s", prefix_length, source_str); Example: $ cat x.c
296.
▲
by
foxfluff
5y ago
Would you be open to sharing what you did with strings? My central argument in the response there is that writing buf[len] = ‘\0’; is almost always a sign that you either don't know libc functions, aren't willing to use them, are
297.
▲
by
foxfluff
5y ago
That's true. If the range you're interested in is not the same as the range of long or long long, you'll have to check the range yourself before you go on and use the value. No ifdefs required. If you're not happy doi
298.
▲
by
foxfluff
5y ago
> Cumbersomeness of these functions is so trivial compared to the problems of C that are real that it's just not worth mentioning them. I fully agree! C has many problems, and libc sucking is but one of them (and rather easily work
299.
▲
by
foxfluff
5y ago
Newsflash, the C language has conversions. You can assign a long or long long to your int32_t.
300.
▲
by
foxfluff
5y ago
> I wonder how your programs do I/O if not with strings. There's this one weird trick we call binary. Let me give you an example of how I did I/O yesterday: static void usb_tx(struct usb_ep *ep, const void *data, ui
More ›