HNHacker News
TopNewBestAskShowJobs

hmry

1,724 karma · joined March 24, 2019

submissionscomments
hmry··on RISC-V Is Inevitable: State of the Union Keynote Argues
Non-US hedging will be big for RISC-V in the future, but the geopolitics can also cut the other way. E.g. US banning US companies from using Chinese RISC-V chips, to protect their domestic players. Especially now that intel is partially state-owned.
hmry··on A voxel Tokyo in real Japan time – ride the Yamanote line and study Japanese
It's not running at 400 fps, the UI has the current global listener count next to a button that says "fps". The fps is only shown once you click that button. Weird design, I know.
hmry··on Can you build a recognizable World Map in under 500 bytes?
Why make Claude play the guitar?
hmry··on Performance per dollar is getting faster and cheaper
They're asking what precision the model parameters were quantized/rounded to, look up "LLM quantization" to learn more.

The old headline was something like "We served GLM5.2 on AMD MI355X at 2626 tok/s/node". They think it's bad to advertise performance numbers like that without specifying how much you quantized the model (Since you can 'cheat' more performance by quantizing more, and not mentioning the reduced output quality)

hmry··on Odin, Wikipedia and engagement farming
Being fraudulent doesn't make something less notable. It might even make something more notable, provided enough sources report on it.
hmry··on Memorizing session transcripts isn't useful
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··on crustc: entirety of `rustc`, translated to C
I don't think there's a joke, this commenter seems to believe Rust is controlled by Microsoft
hmry··on Lightning Memory-Mapped Database Manager (LMDB) 1.0
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··on ESA bafflingly declares private Minecraft servers 'illegal'
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··on Instagram is incorporating users' photos in ads for Meta Glasses
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··on Tokenmaxxing is dead, long live tokenmaxxing
why name your servers db-us-east-2 and web-de-stuttgart-3 when they could be called grindelwald and silkeborg?
hmry··on My Steam Machine is a 50ft HDMI cable
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··on Zig's new bitCast semantics and LLVM back end improvements
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··on Anthropic says Alibaba illicitly extracted Claude AI model capabilities
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··on Half-Life 2 in a Browser
Every signatory of the Berne convention or member of the TRIPS agreement, and most others too.
hmry··on GitHub shouldn't be a dependency for publishing Rust on crates.io
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··on GitHub shouldn't be a dependency for publishing Rust on crates.io
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··on Extreme Heat conference cancelled due to extreme heat warning
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··on Zig Structs of Arrays (2024)
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··on Pyodide 314.0: Python packages can now publish WebAssembly wheels to PyPI
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··on Python 3.14 garbage collection rigamarole
Really? You've never reverted a positive change because it contained a regression only discovered after release?
hmry··on There is a shadow hanging over this Fable thing
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··on WASI 0.3
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.
hmry··on WASI 0.3
Does the stackfull async implementation use the stack-switching proposal? I was under the impression that it's not implemented in most runtimes (very difficult to retrofit into existing implementations), and only available on x86_64 Linux in wasmtime.
hmry··on The Road to the WASM Component Model 1.0
That's what WASI is for
hmry··on Are you expected to run five Python type-checkers now?
Never understood this complaint about operator overloading.

In any language, a function called `isEqual` could wipe your hard drive and replace your wallpaper with a photo of a penguin. Therefore, letting programmers pick the names of their functions is bad? No, obviously naming things for least surprise is the programmer's responsibility.

But when it's the symbols `==` instead of an ASCII name, it's a problem in language design?

(FWIW in Javascript, being unable to override == is actually a problem when you want to use objects as Map keys)

hmry··on Zig Structs of Arrays (2024)
Why have operators at all?

  x = x.add(step.mul(2)).mod(width)
Or in C

  x = imod(iadd(x, imul(step, 2)), width)
vs

  x = (x + 2*step) % width
For me the answer is very simple: Operators make it easier to read the code which makes it easier to spot bugs. It also makes it easier to turn formulas from textbooks into code.

If 50% of the code you're working with is using vectors and matrices, not having operators for those parts is quite annoying.

Note that you can have vector operators without overloading, e.g. Odin has built in vector and matrix types.

But personally I think it's better to give the user more power instead of only letting the compiler author pick which types to allow operators on. Like how Java overloads + but only on the String class. Why do they get to do it, but not me?

hmry··on Major P2P issues in Israel and possibly other Middle East countries
I wish HN would ban posting links to issue trackers with comment sections, like lobsters has done. Although the spam volume from HN and reddit is pretty small compared to that from youtube reaction video influencers
hmry··on The back cover of C++: The Language raises questions not answered by front cover
This 9 year old publisher still slops the old-fashioned way
hmry··on The back cover of C++: The Language raises questions not answered by front cover
You'll need to elaborate
← PreviousPage 2 of 13Next →