Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TheDong
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
961.
▲
by
TheDong
3y ago
I think we want a slightly finer grained permission model. I think specifically we want a plugin to be able to indicate if it's safe for it to be triggered without the user's direct consent, and then the user themselves can also o
962.
▲
by
TheDong
3y ago
Have other people observed the sentiment the author observes, around hackers being less common? The author has a list of reasons (VC money, business culture, managers, fear of the unknown). I, personally, have observed this reduction over m
963.
▲
by
TheDong
3y ago
I mean, we don't have to hack the elf loader if we just rewrite every elf binary using patchelf: https://github.com/NixOS/patchelf The parent commenter is already suggesting "just run a regex", so it see
964.
▲
by
TheDong
3y ago
This is fixable and has already been fixed: Install NixOS or guix to live in a world where neither "/sbin" nor "/lib" exists. NixOS has also reduced "/usr/bin" to containing only a "&#x
965.
▲
by
TheDong
3y ago
Android provides you with a heavily locked down linux kernel and network setup, which is great for app sandboxing, but not great for certain tasks you might want on a server. For example, android makes it difficult to run userspace containe
966.
▲
by
TheDong
3y ago
> The haiku at the end is not a haiku, technically Yeah, haikus are 17 japanese mora, and so if it doesn't come from the mora region of japan it's not a true haiku, it's just a short poem. > I imagine that folks would t
967.
▲
by
TheDong
3y ago
> all methodologies have tradeoff's go and clojure sit near the bottom of this list in bugs/committ: https://arxiv.org/pdf/1901.10220.pdf You have linked a study which, if you read the abstract, effectivel
968.
▲
by
TheDong
3y ago
> P.s. complex, difficult to understand languages incur more bugs then simple ones, even with additional safety. Do you have any info on this? My understanding of this has been that some types of complexity make code worse, and other typ
969.
▲
by
TheDong
3y ago
Linking to the introduction bypasses the prominent note in the readme: > RedisRaft is still being developed and is not yet ready for any real production use. Please do not use it for any mission critical purpose at this time.
970.
▲
by
TheDong
3y ago
It is fundamentally impossible to completely undo things, trivially so from the second law of thermodynamics. A company which produces nuclear waste can pay the cost to store it, but cannot undo its existence. A company that burns oil can o
971.
▲
by
TheDong
4y ago
I'm not claiming you are sabotaging things or going out of your way to do poor work, that's a given. However, based on your phrasing, you make it clear you're intentionally putting in less work than you could, and recognize i
972.
▲
by
TheDong
4y ago
I don't think that sort of strategy can work for everyone because there's two possible negative mental outcomes in there too. First, some people will feel that they're "cheating" and don't deserve the paycheck
973.
▲
by
TheDong
4y ago
I don't see how that context helps. To quote: > The company told the police that the groups had been deleted and that it could not recover the data. The judge's order to suspend telegram is because they did not comply, which ap
974.
▲
by
TheDong
4y ago
Yup, ss and friends do this, but they don't read "/proc/$pid/cmdline" N times (where N is the number of file descriptors the process has) in the hotloop. I phrased it poorly. Doing the loop is what it is, but d
975.
▲
by
TheDong
4y ago
See SO_REUSEPORT in 'man 7 socket' If, for example, you run nginx in a default configuration, you'll notice both the master and worker processes will have an fd bound to the same port (port 80 or whatever), so it's also
976.
▲
by
TheDong
4y ago
A loop over all fds across all processes on a box will be very slow on any large machine with, say, a few hundred thousand processes, some of which may have up to hundreds of thousands or millions of FDs open. Especially since it looks like
977.
▲
by
TheDong
4y ago
Let's say that you're unable to list all processes. What do you do to handle that error? You exit the program. What does unwrap do? It safely exits the program. Seems to be handling the error just fine to me. The only downside is
978.
▲
by
TheDong
4y ago
> Purely functional things used for compatibility lock outs are generally not copyrightable I'd appreciate a citation on that. Just because I make "a copy of the lord of the rings, ripped in 1080p" a requirement to launch
979.
▲
by
TheDong
4y ago
In ALGOL it was more like a thousand dollar mistake. It didn't become a billion dollars until Java caused NPEs on 3 billion devices
980.
▲
by
TheDong
4y ago
So with this, the last thing Go had going for it over Java is gone, right? Java has an obviously better type system, while Java originated the billion dollar mistake, Java also at this point has much better practices around handling nulls t
981.
▲
by
TheDong
4y ago
Of course you can still have a cap. "A payment processing fee of 0.5% + 0.20c is collected on the total donation. We take an additional fee of 4.5%, up to a maximum of $10" There, done.
982.
▲
by
TheDong
4y ago
It depends on the operating system. On solaris, freebsd, and so on, the operating system ships the kernel and libc versions together, libc makes syscalls, and everyone else makes C ABI calls to libc. The libc ABI is in fact the only interfa
983.
▲
by
TheDong
4y ago
The OP isn't complaining that their phone is roaming to a managed Wi-Fi _in preference to cellular_ They're complaining that it's not using their own Wi-Fi and causing real issues for their family members. Trying to justify t
984.
▲
by
TheDong
4y ago
A banana is not a security, so the IRS does not care about the banana gaining value due to ripeness. Most cryptocurrency tokens are. If you buy a banana by selling some penny stocks, then you have to take notes on that sale to be able to pa
985.
▲
by
TheDong
4y ago
Programming is meant to be fun. That sounds like it was fun. For some projects and people, fun is more important than readability, speed, or any other dimension. (edit: not to imply that hack isn't readable or fast or such! I think it&
986.
▲
by
TheDong
4y ago
> compensating those people should be the norm. Where is the payments side of github for example? [..] if you want a bug/feature addressed you could name a price or the dev can set the price on it? Github does have monetization. It
987.
▲
by
TheDong
4y ago
Anonymous Twitter sources may have _low_ credibility, but Elon musk has _exactly zero_ credibility at this point. He has a significant and proven track record of making false and misleading statements, even ignoring the many many more diffi
988.
▲
by
TheDong
4y ago
If your goal is a usable immutable distro, selinux is the wrong tool. It just doesn't operate at the layer of creating a linux distro, or declaring what containers are running, or declaring a list of flatpak apps, or whatever. My point
989.
▲
by
TheDong
4y ago
Sure, and on any distro you can "sudo mount -o remount,ro /" and also have a useless distro, just like using selinux to make the whole thing immutable. The difference is you won't have to spent 2 years learning a custom
990.
▲
by
TheDong
4y ago
> I will bet 2-digit sums of money that simple preprocessing step would outperform what they've done. Okay. I take this bet. If your simple preprocessing step outperforms whisper on, say, me reading a random wikipedia article, I
More ›