HNHacker News
TopNewBestAskShowJobs

quamserena

197 karma · joined August 9, 2025

Author of quamserena.com
submissionscomments
quamserena··on iPhone Pocket
It’s totally shot lol. I’ve had the battery replaced it once already, and frankly it didn’t make too much of a difference. The battery always shows 1%, even if it has 50% charge left in actuality, and I never know when it’s going to die. I don’t really use my phone enough for this to be a problem but it’s annoying. I blame Apple for shipping heavier and heavier versions of iOS that demand more and more power for no discernible reason (Liquid Glass being the latest example).
quamserena··on iPhone Pocket
I happen to still use an iPhone from 2016 as my daily driver.
quamserena··on iPhone Pocket
I like having a tactile home button.
quamserena··on iPhone Pocket
I’m still on the 1st gen SE from 2016. Imagine my disappointment when I found out that the iPhone Pocket was, in fact, not an iPhone that fits in your pocket.

Looking at replacing my SE with a keitai supplemented with an Android emulator

quamserena··on I Stopped Being a Climate Catastrophist
Anyone else notice the obvious misspelling of “climate” in the AI-generated hero image?
quamserena··on The Rust Foundation Maintainers Fund
Thank you, this is exactly what I was getting at.
quamserena··on The Rust Foundation Maintainers Fund
That is absolutely not politically neutral.
quamserena··on Pain Points of OCaml
> Your syntax complaints will never be well-justified. It’s just a syntax family you are unfamiliar with, not an actual downside. You can either put up with it or change language. The syntax is however in no way inferior to C style syntax because that’s what you are used to.

I think match statements should have an explicit `end` terminator or something so that you can nest them naturally. I think errors from accidental partial function application could be clearer. I think those two are pretty objective.

In terms of my subjective opinion the punctuation of C-style makes code hierarchy more clear, but at the cost of making it read less fluidly. I also think that `let...in` is weird and that Rust straddles a nice middle ground here by not having it but still having everything be an expression.

I like strict languages, and I like Rust for its strictness and robustness. I don’t like its standard library though, I wish it was more batteries included.

quamserena··on The Rust Foundation Maintainers Fund
This is all fun and games until a “politically neutral” decision is made by a programming language foundation to refer to all trans people using they/them. How would that make you feel?
quamserena··on Pain Points of OCaml
I’m not a fan of serde either. I wish there was a way to have foreign derives (or even better: compile-time reflection). There wasn’t a great way to serialize things in Rust in the standard library and the ecosystem crystalized around serde, which is suboptimal imo. There are libraries like facet[0] that implement general reflection, rather than just a subset of it, but it probably won't be supported by all of your dependencies.

[0] https://github.com/facet-rs/facet

quamserena··on Pain Points of OCaml
> I stopped fighting this battle a long time ago. I think Ocaml just doesn't spoon feed people enough. They would have to actually read the documentation to understand and that's simply too hard nowadays so you end up which this kind of articles about "pain points" which are basically "I don't know what I'm doing and making a lot of mistakes, let me blame my tool".

The learning process for me has been as follows:

1. Make an error somewhere, maybe due to a misunderstanding

2. Error message makes no sense, or I don't know enough OCaml

3. Re-read the relevant portion of the documentation and examples

4. Hope that I can find the right way to do this somewhere

Compare this to Rust, which treats us quite nicely with descriptive errors that complement a vast and comprehensive reference manual. I do RTFM but a programming language is too big to learn all at once by reading a book before starting programming.

> Basically, when someone complaining starts by "I don't like the Algol-like syntax", obviously without saying it's Algol-like because that would require they actually know what Algol is, the rest is probably going to be extremely poor at best.

I am vaguely familiar with ALGOL but have never used it before. Do I need to put down OCaml and learn ALGOL first in order for my syntax complaints to be well-justified?

> And here, it doesn't disappoint. Point 2, "I don't like type inference, it's too clever". Or you could just put type annotations at every declarations like every pieces of documentation ever produced on the language invite you to.

I am doing this now, as I stated in the article. Compare against Rust's strictness, where bad ideas like not annotating function signatures are not allowed.

> The type paragraph and the mentions of shadowing actually shows the author doesn't know how to use the Ocaml module system. For the neophytes here, it's the main standout feature of Ocaml. It's a bit like talking about C without knowing how to use pointers. I have seen people do that actually so I probably shouldn't be too surprised.

I said in the article that:

> Enumerated types also dump all of their variants into the module scope

Is it wrong to say that they dump their types into the module scope? You have to put enum types in separate modules otherwise they will step on each other. (Is this understanding incorrect?) Maybe I will come to appreciate this as I learn more OCaml, but right now it seems like an unnecessary footgun.

> Menhir and ocamllex syntaxes are just slight twists on the actual syntaxes of yacc and lex. Nothing surprising for someone who knows both tools but I guess it's becoming a rarity nowadays.

Yes, I know this. The part that I don't understand is why OCaml wants to be like C with these tools in the first place. These tools exist in C because C doesn't have match statements, but OCaml does. What gives?

> For printing, they quote "#[derive(Debug)]" in Rust but apparently they never reached ppx_deriving in Ocaml. It's a shame because it does exactly the same thing.

ppx_show is an external library. Imagine having such a cucked stdlib that you have to call to an external library to print

> I think a significant part of why Ocaml is nice is that it is not appealing to many developers.

Clearly, that’s why people made a better syntax frontend for OCaml

quamserena··on Pain Points of OCaml
I wish OCaml had more helpful error messages like these, right now it feels like I’m on my own solving some of the more inscrutable errors.
quamserena··on Pain Points of OCaml
I would rather have partial function application be explicit rather than just omitting args because right now if you accidentally forget an argument (a bug) it isn’t an error there and instead becomes a type error somewhere else.
quamserena··on Pain Points of OCaml
My problem is that when you’re trying to appease it the errors it spits out can be confusing or in the wrong place
quamserena··on Pain Points of OCaml
I second the point that Rust types can get quite long. I usually use aliases where I can but that isn’t always possible. I think that sometimes people use boxing just to avoid these long types even if the code in theory doesn’t require an allocation
quamserena··on Pain Points of OCaml
Maybe it’ll grow on me as I get used to it :) but e.g. I was really confused about a nonsense error in a match statement until I realized that it was because of a nested match statement.

If you don’t use ocamllex/Menhir, what do you use for parsing & compiling?

quamserena··on Pain Points of OCaml
I actually find that annotated parameters and return types help me during the exploratory stage too otherwise I invariably end up making a typeerror somewhere and the errors aren’t helpful (the error shows up in the wrong spot, or the function mysteriously changes type)
quamserena··on Pain Points of OCaml
I am aware of this, but afaik it’s an external library? https://github.com/thierry-martinez/ppx_show
quamserena··on Pain Points of OCaml
I am surprised by this too. I wonder what OP is writing in Rust that requires monthly changes?
quamserena··on Minecraft removing obfuscation in Java Edition
Better than datapacks overall but lacks a way to plug into the rendering pipeline or make custom dimensions. Java mods have more capabilities
quamserena··on Minecraft removing obfuscation in Java Edition
Still is for legal reasons. Also the community names (Yarn) come with javadoc that actually explains what the function does
quamserena··on Minecraft removing obfuscation in Java Edition
Yeah mods are just regular Java .jars that can do anything. To circumvent this issue Mojang introduced datapacks but they are super limited in what they can do. They’re basically just Minecraft commands in a file along with some manifest files to change e.g. mob loot drop rates. These Minecraft commands are Turing complete but a huge PITA to work with directly, no concept of local variables or if statements, no network access, etc. Every entity in MC has associated NBT data that is similar to JSON that stores values like position, velocity, inventory, etc. You can change NBT with commands for mobs, but in what can only be described as a religious decision, Minecraft commands are unable to modify player NBT. So for example it is impossible to impart a velocity on a player.

One wonders why Mojang didn’t embed Lua or Python or something and instead hand-rolled an even shittier version of Bash. The only reason MC servers like Hypixel exist is because the community developed an API on top of the vanilla jar that makes plugin development easy. Even with that there is still no way for servers to run client-side code, severely limiting what you can do. They could’ve easily captured all of Roblox’s marketshare but just let that opportunity slip through their fingers. Through this and a series of other boneheaded decisions (huge breaking changes, changes to the base game, lack of optimization), they have seriously fractured their ecosystem:

- PvP is in 1.8 (a version from 2015) or sometimes even 1.7 (from 2013)

- Some technical Minecraft is latest, some is in 1.12 (from 2017)

- Adventure maps are latest version

- Casual players play Bedrock (an entirely different codebase!)

The words “stable API” have never been said in the Mojang offices. So the community made their own for different versions, servers use the Bukkit 1.8 API, client 1.8 mods use Forge, latest mods use Forge or Fabric. The deobfuscated names are of little utility because the old names are so well ingrained, and modders will also probably avoid them for legal reasons.

quamserena··on I'm drowning in AI features I never asked for and I hate it
Or, you can use Linux Mint and get all of the compatibility of Ubuntu with none of Canonical's bullshit.
quamserena··on I'm drowning in AI features I never asked for and I hate it
Meh, Linux Mint has some serious rough edges from my experience. Suspend doesn’t work if multiple users are logged in, save-as dialog windows open under the current window (a 7-year old bug!!!) [0], audio devices are not shared between users, some drives don't mount on boot, etc. These problems are probably fixable if you have the know-how but it isn't great for the tech illiterate.

That being said, I have never had kernel panics or opened my computer to find a corrupted OS after a bad update (unlike Windows), so there's that.

[0] https://github.com/flatpak/xdg-desktop-portal-gtk/issues/137

quamserena··on I'm drowning in AI features I never asked for and I hate it
I blocked that with uBlock origin the moment I first saw it. So annoying! Someone should make a filter for all of these AI widgets.
quamserena··on We tested 20 LLMs for ideological bias, revealing distinct alignments
If the user seeks an abortion, the LLM ought to help them. Likewise if the user is planning a pro-life march, the LLM ought to help them. They are tools above all else, and should leave their politics at the door when serving the user just as a therapist does.
quamserena··on We tested 20 LLMs for ideological bias, revealing distinct alignments
I’m surprised no one else has mentioned this. No such thing as an objective understanding of the world – best we can do is ask that its understanding be based on facts and ethics.

xAI have had a myriad of issues trying to get Grok to be right wing. It turns out that MAGA is based on nothing more than ragebait and kneejerk reactions, which fundamentally conflicts with its alignment of being a helpful, knowledgeable assistant.

quamserena··on A Homological Proof of P != NP: Computational Topology via Categorical Framework
The GitHub repo 404’s and likewise with the Docker image. Where's the code?

https://github.com/comphomology/pvsnp-formal

quamserena··on US Treasury Sells Dollars to Keep Peso Within Argentina FX Band
Trying to revert a service-based economy into a manufacturing-based one is an incredibly stupid idea and there is no way this doesn’t blow up in our face. Devaluation of the dollar threatens our reserve currency status, yield rates, and will cause rapid inflation, all to chase some pipe dream that Joe the Factory Worker and his family will be able to live a middle-class life again on a single salary.

In actuality, cash will flow into equities, the rich will benefit and the average American will suffer the consequences of their vote.

quamserena··on The Lottery-fication of Everything
Until a Trump tweet causes a big move against you during the day? I’m interested in your strategy, pray tell.
← PreviousPage 2 of 3Next →