Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ghoward
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
151.
▲
by
ghoward
4y ago
I think you are right. It's not worth it. I just switched to Firefox. I'm typing this on Firefox. I used to use Ungoogled Chromium.
152.
▲
by
ghoward
4y ago
I have a relative that works in the tax prep industry. She wouldn't mind losing her job if it meant that income taxes went away.
153.
▲
by
ghoward
4y ago
I guess this is as good a time to ask as any. Is it possible for a process to authenticate a user without root privileges, including setuid/setgid?
154.
▲
by
ghoward
4y ago
We're talking about C, though. I hope the average human is not writing C.
155.
▲
by
ghoward
4y ago
I think I agree with you, as much as I don't want to. I am a C programmer, and I think I do know what I am doing. (I implemented safe, UB-free two's-complement arithmetic in C using only unsigned integers.) I prefer unsigned. But
156.
▲
by
ghoward
4y ago
Rollover on unsigned ints is well-defined in C.
157.
▲
by
ghoward
4y ago
Do you have your process of how to handle bug reports written down? I'd love to see it, especially if it includes what data you gather, like the commit that introduced a bug. I guess it's probably in everything curl or will be?
158.
▲
by
ghoward
4y ago
Funny that this would show up when a month ago, GnuCash was submitted on this site. [1] I decided then that I would take the opportunity to learn how to use it and learn accounting properly for my family budget, mostly because I want to sta
159.
▲
by
ghoward
4y ago
I'm not sure how much of this is true. I'm a conservative, and I would love to have more walkable/bikeable cities and to not need a car.
160.
▲
by
ghoward
4y ago
You're right, for the most part. We have to have hardware that doesn't lie when the data made it to disk, whatever that disk is. And we also need hardware that can do atomic updates to single sectors. But once we have those things
161.
▲
by
ghoward
4y ago
Yeah, that's part of my idea too; just have different libc's capable of emulating various OS calls. UML sounds interesting.
162.
▲
by
ghoward
4y ago
I agree with you. My vision for the operating system of the future is to build a microkernel that exclusively uses a modified ZFS that has a transactional API, that can run Linux drivers in userspace with zero or few changes, and that use
163.
▲
by
ghoward
4y ago
I'm not so sure it's ridiculous. What is ridiculous is that users have no way of restricting what packages can run on a fine-grained level, at both build time and runtime. We should fix that problem. If we do, then we could ma
164.
▲
by
ghoward
4y ago
I agree. The only ones I cannot figure out in a single-pass compiler are functions, and only if they're mutually recursive. I'm wondering if that's a rare enough situation to be acceptable.
165.
▲
by
ghoward
4y ago
I do want this language to be for people, but having keywords definable by the user bumps up against people on both ends. I think you are right that there may not really be dealbreakers, just compromises. I'm trying to think of ways to
166.
▲
Ask HN: How Much Do You Dislike Forward Declarations and Why?
1 points
by
ghoward
4y ago
|
4 comments
167.
▲
by
ghoward
4y ago
Yes, I agree that Bazel and Nix are not much different. Nix seems to be even more sandbox-like than Bazel, and that's good in my opinion. Beyond what they do, I'd like checks that are even more invasive, more cautious about lettin
168.
▲
by
ghoward
4y ago
Why do my comments seem combative? All I said was basically good job, but it will unfortunately not be used much. Why is that combative? With regards to chroot, I stand corrected. I knew it was a tree of symlinks, but I thought it was also
169.
▲
by
ghoward
4y ago
After having used unveil() in OpenBSD, I don't really agree that it's huge. Not until it's everywhere. In fact, that's the reason I'm egging on portability: until it's everywhere, it doesn't really matter,
170.
▲
by
ghoward
4y ago
Does Cosmopolitan's Landlocking work on anything besides Linux? By definition, that cannot be the case because Landlock is a Linux thing. Cosmopolitan is portable, yes, but this sandboxing is not.
171.
▲
by
ghoward
4y ago
It can be done on Windows, but not how Bazel would want to do it. Basically, the sandbox has to be in the interpreter. And I guess I should be clear that it still won't be be as good as on Linux. By the way, what's this "POSI
172.
▲
by
ghoward
4y ago
Good work, but I'm afraid that this will not really catch on because it's not that portable. I also think that Bazel has the same problem; most of the sandboxing works only on Linux. Until something like this works on Windows, it
173.
▲
by
ghoward
4y ago
Surprisingly, it is possible to do exactly what the author wants. I know because I've done it. However, it is as complicated as the author says it is. The project in question is my `bc` [1]. Until version 3.0.0 [2], it used a "
174.
▲
by
ghoward
4y ago
Thanks for letting me know. I think I'll consider both of them compromised.
175.
▲
by
ghoward
4y ago
Argh! I feel dumb. You're absolutely correct. My bad.
176.
▲
by
ghoward
4y ago
Considering I knew I had to make it work everywhere, and that included not depending on tools that are not standard in POSIX, I still think I made the right choice. But yes, xxd is an easy solution.
177.
▲
by
ghoward
4y ago
I've just run a benchmark on my code. It did 13875457.34 bytes per second, which means my program would have done the 82 MiB file he had in 6.20 seconds, faster than hexdump, GCC, and Clang. It used a max of 3223848 Kbytes, which is ab
178.
▲
by
ghoward
4y ago
The answer to this is easy. At least it was for me; I didn't know it was such a problem. My solution is [1]. It generates a C file with a specific array name passed in through the command-line. It also has a few other niceties that I n
179.
▲
by
ghoward
4y ago
> You've made error values. This is just one trivial thing you can do with error values without adding keywords. As you said, it's just a function call. Well, yeah, with some "ergonomics." Like walking a stack of erro
180.
▲
by
ghoward
4y ago
Error values suffer from the pit of failure. If you forget to handle them correctly, you have a bug. See [1]. Exceptions are better than async because they do not "reify" stack frames, an incredibly terrible idea. I mean, it works
More ›