Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ben0x539
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
241.
▲
by
ben0x539
4y ago
The site could detect that it's invoked as part of a `curl | bash` and sometimes serve a different script than you would get if you manually downloaded the script or the installer for manual inspection/auditing, making it harder t
242.
▲
by
ben0x539
4y ago
like that's how you get the knowledge, you're enthusiastic about a thing and then spend a bunch of time with it and then you build up knowledge. it's healthier in that order.
243.
▲
by
ben0x539
4y ago
let people enjoy things
244.
▲
by
ben0x539
4y ago
That's why I'm surprised I keep running into this :D
245.
▲
by
ben0x539
4y ago
"in practice", I forget to close things a lot more often in Go than in Rust.
246.
▲
by
ben0x539
4y ago
Yeah, it's not an ideal situation. A lot of the time you just read from the file and then you don't really care about the success of close(), though. Maybe that should be a whole set of different types...
247.
▲
by
ben0x539
4y ago
my go-to example is the non-lexical lifetimes stuff, like when you're somewhere in a match and you don't get to return a reference to a thing because there's another reference that's clearly not relevant anymore at the t
248.
▲
by
ben0x539
4y ago
people are allowed to love things without being experts or even particularly didactic about it lmao
249.
▲
by
ben0x539
4y ago
My contention is that if you reduce redundant work, staffing levels will be reduced to match to go back to the current equilibrium of overwork.
250.
▲
by
ben0x539
4y ago
if the overtime isnt needed let people go home after 6 hours each day
251.
▲
by
ben0x539
4y ago
i think that argument works a lot better in a field where they arent bullying people into working overtime near constantly
252.
▲
by
ben0x539
4y ago
How many working hours are in those weeks?
253.
▲
by
ben0x539
4y ago
ok, to be clearer, i don't think their s key is actually broken!
254.
▲
by
ben0x539
5y ago
Are people generally cool with unsolicited PRs to "editorial" content? I'd have assumed that stating or not stating something in a README is mostly an intentional decision.
255.
▲
by
ben0x539
5y ago
"serie" is the singular for series in a bunch of languages, which honestly makes more sense than having a singular noun ending in s and the plural form being identical to the singular.
256.
▲
by
ben0x539
5y ago
You cannot use `sudo cat` to open a file with root privileges, because `sudo cat > foo` means "open file foo with your current privileges, then run `sudo cat` passing the file to it", and the whole root thing only happens afte
257.
▲
by
ben0x539
5y ago
Rust also enthusiastically monomorphizes generic code. Templates vs generics seems to be more about the duck typing C++ templates use vs generics doing type parameters with statically checked constraints on the types.
258.
▲
by
ben0x539
5y ago
Imagine you can build 100 kernels per hour. If you increase build rate by 50%, you can now build 150 kernels per hour. If you decrease build time by 50%, you can now build 100 kernels per 30 minutes, or 200 kernels per hour, which is more i
259.
▲
by
ben0x539
5y ago
ffmpeg is great. I wrote a thing to proxy a twitch livestream and return it as lazy animated gif, so it could be embedded into, like, old-school messageboards and proprietary chat clients that allow hotlinking images. At the core it was fee
260.
▲
by
ben0x539
5y ago
foo := someDefaultValue if someCondition { foo := someMoreSpecificValue } Whoops, accidentally created a fresh, unused variable in the nested scope instead of changing the value of the original variable. I do that
261.
▲
by
ben0x539
5y ago
Oh, hey, I had one of these when I was afk-ratting in an Ishtar in Guristas space, those were the days: https://github.com/ben0x539/eve-log-alert I'd drop my Ishtar[s] in an anomaly[s], then tab out and probably r
262.
▲
by
ben0x539
5y ago
> * Require more than 8 characters If I'm reading this right, it's more than 7 characters. And more than 5 if you don't let users pick the password, which seems surprising. > Memorized secrets SHALL be at least 8 charac
263.
▲
by
ben0x539
5y ago
Templates? Generics are already on the way, this is a very unrelated suggestion, and seems much less complicated.
264.
▲
by
ben0x539
5y ago
In this proposal, the compiler will yell at you if you switch over the contained type of a value of the interface type and don't have a case for each possible type.
265.
▲
by
ben0x539
5y ago
> Then I can fork GNU, add extra junk options You likely can't, all the possible option flags already have some meaning. <:)
266.
▲
by
ben0x539
5y ago
> Just make the API call to write to the disk. If that returns "disk full" let the user know. Don't "check" first. idk. Things don't always behave super gracefully if the disk is actually entirely full, this
267.
▲
by
ben0x539
5y ago
Because the "linux" versions tend to have more features and better help output? I've never seen anyone install Linux and be like "damn, I wish my coreutils were more obtuse" and install a bunch of non-GNU stuff. Lik
268.
▲
by
ben0x539
5y ago
Do the 7 people you've described as not great read HN?
269.
▲
by
ben0x539
5y ago
Somewhat random question: What kind of run time do you get out of a battery charge with PopOS on the framework laptop? I've seen some comments from people who were unhappy with theirs, but maybe PopOS has some better tuning?
270.
▲
by
ben0x539
5y ago
That's an interesting line to draw! Do you think this also extends to stuff like firefox or java vm, or are you only focusing on "system" software with that analysis?
More ›