HNHacker News
TopNewBestAskShowJobs

RandomThoughts3

1,515 karma · joined July 3, 2024

submissionscomments
RandomThoughts3··on React 19
With the official doc. The react doc is well written. You have a quick start section, a good tutorial and the API is fully covered.
RandomThoughts3··on The electric shock behind Europe's stuttering EV future
But focusing only on manufacturing is missing half of the picture. China is using for batteries the same playbook they used for PVs. They are spending a lot of money to hire all the top researchers they can in the field.

Truth is they are years ahead of most battery manufacturers in R&D.

RandomThoughts3··on React 19
> I feel sorry though for someone getting into frontend dev now.

I most certainly don’t.

As someone who has mostly done low level coding and used to generally dislike my few interactions with web frontend development, I was extremely surprised when I picked up React a few years ago for a personal project.

The whole thing feels like actual proper development. What a breath of fresh air compared to the situation before.

RandomThoughts3··on Nearly half of teenagers globally cannot read with comprehension
From experience, most of the people who think conversation would be better done by text lack the empathy required to craft messages which will be properly understood. It’s extremely difficult to write so that the recipient of your message actually understands exactly what you meant.
RandomThoughts3··on Nearly half of teenagers globally cannot read with comprehension
I have seen more long winded IM exchanges becoming long winded emails exchange where more and more people fail to understand each other that should have been a quick call than the reverse.

A call gives you a lot more contextual clue than text. A lot.

RandomThoughts3··on How Typing Transformed Nietzsche's Consciousness
> where he offers his own semi-translation and interpretation of the meaning.

Jung's takes on Nietzsche are quite personal.

> Carl Jung had a deep understanding of Nietzsche, that none of the English language translators have.

That's extremely debatable.

RandomThoughts3··on 8 months of OCaml after 8 years of Haskell in production (2023)
Conversely, the Ocaml module system is powerful enough to do all the things you had want to do with Haskell except the Ocaml module system is nice to use.

Anyway, the issue has nothing to do with relative powerfulness. The issue is that the Haskell community encourages practices which lead to unreadable code: lot of new operators, point-free, fancy abstraction. Meanwhile, the Ocaml community was always very different with a general dislike of overly fancy things when they were not unavoidable.

RandomThoughts3··on 8 months of OCaml after 8 years of Haskell in production (2023)
The Ocaml library added a Int module with a function to_string (so Int.to_string) and a generic printer ages ago. There is also a (+) operator for Float in the float module which you can open in any scope if you so wish.

Ocaml obviously supports polymorphism and an extremely expressive type system. The fact that operators are not polymorphic is purely a choice (and a good one).

RandomThoughts3··on Advent of Code 2024
Just stop writing memfault.

I say it in jest but that's actually how I used to program a few years ago when I was working on large industrial pieces of software with long compilation time. You just have to be careful and check what you wrote before sending it to the machine.

I think "iterative" programming has made people really complacent when it comes to silly errors. Slowing down can often do wonder.

RandomThoughts3··on Advent of Code 2024
Advent of Code is traditionally parsing heavy and very light on actual mathematics. It’s not very leetcody.

If you have never tried it you should definitely give it a go. It’s quite enjoyable at a moderate dosage.

RandomThoughts3··on A surprise solar boom reveals a fatal flaw in our climate change projections
We all die in just a few decades.

Anyway, there are no billions of new middle class people ready to buy a car there. You are far, far overestimating the growth potential and at the same time underestimating the current rate of vehicles ownership (mostly two wheeled).

Electrification, certainly, more A/C definitely, more cars, sure a bit but infrastructures are already under heavy load which limits the interest. Billions of cars, never.

RandomThoughts3··on A surprise solar boom reveals a fatal flaw in our climate change projections
> And when billions of newly minted middle class buy their own first car

Where are these supposed billions?

Because populations are either already contracting or on the verge of contracting nearly everywhere: China, India, Nigeria, even Pakistan, etc.

The first things people do when they get richer is that they stop having so many kids.

RandomThoughts3··on A surprise solar boom reveals a fatal flaw in our climate change projections
The article is so all over the place, it’s hard to understand the point it’s making.

It mixes together different agencies doing forecasting for different purposes and widely fail to actually go where it should. I’m starting to wonder if it’s not a puff piece from a company with an interest in pretending that the target for emissions should be higher (it probably is actually).

As it doesn’t at all address how the IPCC scenarios which are the main tools for political discussion nowadays use energy consumption forecasting, it’s kind of completely useless.

Spoiler alerts, the IPCC does scenarios based modelling using five broadly different scenarios called SSP which take into account economic development and its impact (with varying levels depending of the SSP). The point is that this covers a broad range of possibilities. Plus, these SSP are reviewed for each reports while trying to take into account what was misestimated (speed of development of renewable was one thing which was underestimated before). The problem pointed in the Vox article basically doesn’t exist.

RandomThoughts3··on Canon ships its first nanoprint lithography machine, rivals ASML
Japan is a sovereign country. They are closely allied to the US now but that doesn’t mean it will always be the case nor that they have to silently agree to every stupid mandate the US tries to impose.
RandomThoughts3··on A pretty visualisation of the European power grid (2022)
People are intentionally muddling the case to make France success looks less successful. I like how you pretend to be candid while actually making the situation worse. Always funny to observe.
RandomThoughts3··on Hetzner cuts traffic on US VPSs, raises prices
You don't actually tolerate high seller margins. Hosting is a competitive market.

If there was significant gains to be made by being more aggressive on the low end of the market, providers would already be doing it (and they are - OVH 5$ offer is quite aggressive). There is a reason nobody actually offers a better deal.

RandomThoughts3··on Hetzner cuts traffic on US VPSs, raises prices
But nobody can do that. OVH doesn't let you be a large net negative.

What happens is roughly that:

- You are costing 1$ (bandwidth, etc.). You make OVH 4$. They are happy. Nobody offers you a cheaper alternative so you are stuck paying 5$ anyway.

- You are costing 4$ (bandwidth, etc.). You make OVH 1$. They are happy as marginal costs are low anyway.

- You are costing more than 5$. OVH severely rate limit your bandwidth to cut their costs and wait for you to leave because the service is now useless to you.

RandomThoughts3··on Hetzner cuts traffic on US VPSs, raises prices
> What is the performance impact?

DNAT, layered file system access, likely duplication of libraries if you don't pay much attention to your containers.

RandomThoughts3··on Hetzner cuts traffic on US VPSs, raises prices
The performance impact seems completely unjustified for most of the things people do with a personal machine however.
RandomThoughts3··on Hetzner cuts traffic on US VPSs, raises prices
This is a for profit business not a limited common ressource being shared.

What you are missing here is that the adjustment is not low usage users subsidising high usage users, it’s OVH margins. Nobody is being subsidised. Low usage users just make OVH more money than high usage users. OVH doesn’t mind because per user costs are actually low and they are already competitive at that price without adding more complexity to their product mix. Users which would lead to an actual loss are rate limited.

RandomThoughts3··on A pretty visualisation of the European power grid (2022)
That doesn’t make sense. The goal is decarbonation, not arbitrary account. The sole reason to mix together things that don’t go together is making bad faith arguments like in this case.
RandomThoughts3··on A pretty visualisation of the European power grid (2022)
They in fact import far less gas than Germany and let’s not even look at coal.
RandomThoughts3··on A pretty visualisation of the European power grid (2022)
It’s fairly disingenuous to mix both actually when they don’t mingle. Especially when you consider that both heating and transportation are going in the direction of using more electricity which is actually favorable to the French choice.
RandomThoughts3··on ZetaOffice: LibreOffice in the Browser
> No?

No.

Rendering outside of a web browser gives you a lot more freedom when it comes to how you layout and render. Rendering engines don’t necessarily use components tree by the way.

Even gui frameworks (which is what I think you are talking about with OS graphic library) have layout engines which are a lot more powerful than css. Flexbox is a step in the right direction but still inferior to what some frameworks could do 20 years ago.

RandomThoughts3··on ZetaOffice: LibreOffice in the Browser
A class Rectangle can be whatever you want. You can overload it. You can change everything including how it’s rendered. It doesn’t have to be any of the things you list.

A div element is a node in a tree which will be rendered by your browser in the way specified by the spec. You absolutely can’t freely do most of the actions you list to a div. There are severe limitations.

A div doesn’t at all emulate a class. Its semantically something completely different.

RandomThoughts3··on ZetaOffice: LibreOffice in the Browser
Yes, extremely.

A div element is a node in a tree which will be rendered by a very opiniated rendering engine adhering to a fairly strict set of standards, and which can be manipulated using a limited subset of technologies which are themselves fairly opinionated.

A class Rectangle can be pretty much whatever you want.

RandomThoughts3··on ZetaOffice: LibreOffice in the Browser
> Just so that a couple of snowflakes can use their fad of the day or can stay in their comfort zone.

Or because the DOM is a piece of technology designed for rendering documents and not web apps and with limitations which has been severely gimping proper rendering of web apps for the past decade despite a slew of libraries trying to fill the cracks with various amount of success. Whichever you prefer.

RandomThoughts3··on Apple iMac M4 review: who is this for, exactly?
> tons of evidence that counters your theory?

Which evidence? All the evidence points to the iMac being a massive dude slowly being phased out. I don’t think I’m jumping through weird hoops. I think you are in denial because you somehow want the iMac to be a wanted product for a reason I fail to understand (are you on the iMac team?).

> And Apple does the same amount of marketing for its iMac as it does for every other Mac.

Very funny. Apple does significant marketing for the laptop here in Europe. The iMac could at well not exist.

RandomThoughts3··on Lies we tell ourselves to keep using Golang (2022)
The article is arguing that Rust is a better choice which is laughable. Go is a small GC-ed language. Rust is an obnoxiously complex language with strong emphasis on memory management. I don’t see any projects where you could legitimately hesitate between the two.

Truth be told I quite like Go. It’s small and simple. It does the job. You can onboard people on it quickly and in practice with the toolchain you don’t run into the issue mentioned.

Would I rather use Ocaml most of time? Of course but it doesn’t have the same ecosystem. Would I rather use Rust? Heck no, I’m not going to deal with the borrow checker and life cycles if a GC is fine.

RandomThoughts3··on Noise-canceling single-layer woven silk and cotton fabric
I’m sorry but you have taken a lot of words to basically say: you hear sounds.

Special mention to “ Sound ... holds significant relevance in the human experience” which is itself a truism in the truism. Yes, sound is an experience and experiencing is a significant part of being alive. You are welcome for this insanely new and deep nugget of information.

Honestly, you can remove the first paragraph of the introduction with no loss of information involved and end up with a better article.

← PreviousPage 3 of 19Next →