HackerTrans
TopNewTrendsCommentsPastAskShowJobs

hmry

1,659 karmajoined há 7 anos

comments

hmry
·há 6 dias·discuss
Why make Claude play the guitar?
hmry
·há 7 dias·discuss
Being fraudulent doesn't make something less notable. It might even make something more notable, provided enough sources report on it.
hmry
·há 7 dias·discuss
I have to imagine these types of features are for people who treat chatgpt like their friend/therapist/girlfriend/assistant/... instead of people who use it to answer questions
hmry
·há 8 dias·discuss
I don't think there's a joke, this commenter seems to believe Rust is controlled by Microsoft
hmry
·há 8 dias·discuss
Do people have good experiences with LMDB, in terms of reliability? I've never used it in production, but I've read through the code and design documents for a database implementation class.

I remember some strange code (such as pushing return values 4k above the stack, with a comment like "this works as long as the caller doesn't use more than 4k of stack space before accessing the return value"), and the author also shared some unconventional opinions about undefined behavior (like "Compilers are deterministic, if I know what platform I'm compiling to then no behavior is undefined. And if compiler authors disagree, they are morons.")

But presumably it's thoroughly tested, so those aren't problems in practice? Would be really interested to hear from people who've actually used it. I've mainly stuck to SQLite instead.
hmry
·há 10 dias·discuss
When the lobbyist in question heard "private server" they just jumped to saying "those are illegal". Perhaps she got confused between private servers offered as part of the game and reverse-engineered community servers? Or she was caught up on thinking about ToS-breaking servers for some reason?

For what it's worth, the mentioned community servers that Microsoft is fighting are those that allow gambling or selling in-game advantages for real money. That's been against Minecraft's ToS since 2014 (pre Microsoft acquisition), but enforcement has always been difficult.

What is really bizarre is the ESA doubling down after the hearing. Maybe they just don't want to admit their vice president got something so wrong in front of the senate?
hmry
·há 12 dias·discuss
I can confirm it works exactly as well as putting "everything belongs to its original owners, no copyright intended" in your youtube video description
hmry
·há 12 dias·discuss
why name your servers db-us-east-2 and web-de-stuttgart-3 when they could be called grindelwald and silkeborg?
hmry
·há 14 dias·discuss
10+ gigabit serial connections (Thunderbolt, USB 3.2/4 DisplayPort 1.4, HDMI 2.1, etc) are limited to 1 or 2 meters on passive copper cables. You need optical for anything longer (or a hot, power-hungry transceiver, like for 10GBaseT ethernet)
hmry
·há 16 dias·discuss
It's a bit slice if you put it in a packed struct.

I like them, they're nicer than C's bitfields: The order isn't implementation-defined, and the types remember their range rather than being converted to a power-of-two size upon read. (Maybe that's possible with C23 _BitInt(n), I haven't tried if those work in bitfields)
hmry
·há 16 dias·discuss
Different situations call for different responses.

When someone steals a watch, we force them to give it back. Yet when someone steals a cake and eats it, we don't force them to puke it back up.

If you pirate a movie, the court might very well force you to delete all the copies you made of the movie you downloaded, destroy DVDs you burned, etc.
hmry
·há 16 dias·discuss
Every signatory of the Berne convention or member of the TRIPS agreement, and most others too.
hmry
·há 16 dias·discuss
For crates.io: They don't allow closed-source packages. But they're just the free community package index, you're not forced to use them.

You can:

- host a private index

- host the proprietary binaries in a git repo and use a git dependency

- commit the proprietary binaries into your source repo, and use a path dependency
hmry
·há 16 dias·discuss
Using crates.io is entirely optional, you can download a library's source code and specify the path to it in your cargo config file. (Which is not uncommon in production)

For that matter, using cargo is optional, you can compile rust code using GNU make or shell scripts if you want to. (That's what the Linux kernel does)
hmry
·há 17 dias·discuss
8 billion people running a 2000 watt AC continuously for 8 hours a day = 5 trillion watts of heat. (Only the electricity consumed by the AC is turned into new heat. The heat from inside the house would have moved outside anyway, at the same rate, since it's an equilibrium)

The sun = 175 quadrillion watts of heat.

So I would say, the heat from running ACs is not significant. It's also additive with all the other existing forms of energy use we have. Unlike greenhouse gases, which are multiplicative.
hmry
·há 26 dias·discuss
Yes it is control flow, but IMO it's not hidden. It's true that you need to learn that * happens before + (which usually happens in school), but I don't see how that's any different from needing to learn that `and` short-circuits, or that `if` only evaluates its body if the condition is true.

Compare to what people usually call hidden control flow (exceptions, RAII, ...) where you don't know which parts of the code will run unless you read the definitions of the classes and bodies of the functions you use. The syntax at the call site is not enough to tell.
hmry
·há 27 dias·discuss
From what I remember, it was specifically chosen (among other reasons) because of experience with the JVM, where it was difficult to verify bytecode type-safety due to unrestricted jumps and branches.

So the choice was made to put the burden of regularizing the control flow on the compilers at compile time, rather than the browser engine at website load time. Which seems rational to me.
hmry
·há 27 dias·discuss
Really? You've never reverted a positive change because it contained a regression only discovered after release?
hmry
·há 28 dias·discuss
US still has the second amendment and the most guns per person of any country in the world (more than 10x the average), yet I don't see anybody "fight back against the benefactors"
hmry
·há 29 dias·discuss
Thank you, that's great to hear. I was worried it would be a long time before most runtimes could use WASIp3 if it required stack-switching.