HNHacker News
TopNewBestAskShowJobs

legulere

6,791 karma · joined May 16, 2012

submissionscomments
legulere··on .NET 10 Preview 6 brings JIT improvements, one-shot tool execution
There are several logging libraries for .net as well, microsoft even lists them: https://learn.microsoft.com/en-us/dotnet/core/extensions/log...

Libraries getting swallowed up is not so bad as it sounds. For instance for web frameworks there was a phase of experimentation with projects like Nancy that inspired changes for asp.net core. There is still alternatives like fast endpoints.

Also you have things happening like integrated system.text.json replacing newtonsoft.json that over time took on some cruft.

legulere··on Never write your own date parsing library
If you store it just as a string it means that you cannot do anything useful with it like age-dependent logic or you just pass on parsing logic to users of the field.

FHIR in my opinion has a pretty good system for dates (including birthdates): YYYY, YYYY-MM, or YYYY-MM-DD. (Not knowing your exact birthday is common for some countries).

https://build.fhir.org/datatypes.html#date

legulere··on Bulgaria to join euro area on 1 January 2026
The Bulgarian Lev is already pegged to the euro and was pegged to the DM before
legulere··on Visual History of the Latin Alphabet
Also not all letters of the English alphabet are universally used or existed in latin: latin didn't discern v and u, and there was no w.
legulere··on Apple's Liquid Glass is prep work for AR interfaces, not just a design refresh
With a product it's pretty simple: sale numbers, market share, adoption rate. The iPhone is just the best example. Sure there were already mobile internet devices out there like the Nokia N800 I owned myself, and android was already in development, but Apple put out a mass-market compatible modern smartphone first.
legulere··on Apple's Liquid Glass is prep work for AR interfaces, not just a design refresh
Apple however often is the first to do a new thing successfully however. Earlier products often did not achieve enough success to be viable or just in a niche. A lot of labor lies in the path from idea to a viable product.
legulere··on Did "Big Oil" Sell Us on a Recycling Scam?
Removing plastics from landfills would decease the sizes of landfills and thus costs to keep them up or to instead incinerate the waste. Decades aren't enough, as plastics basically don't decompose fully at all. Landfills are basically a high interest loan, to not have to pay for dealing with the trash today.
legulere··on Did "Big Oil" Sell Us on a Recycling Scam?
For recycling one of the hardest problems is separating plastics out from the rest. The rest is causing issues in landfills: landfill gas containing methane, which is a more potent greenhouse gas than CO2, leachates contaminating groundwater. If you have the plastics already sorted out recycling them makes more sense even on the short term.

It's also very easy to underestimate the costs of landfilling, because you have to keep them up basically forever. Having one person look after it for ten thousand years is higher than having ten thousand people look after it for one year, because wages rise faster than inflation.

legulere··on GenAI Is Our Polyester
I like the comparison with plastics: it is often only used because it is cheaper than the alternatives with worse results. Also there’s a pollution problem.
legulere··on The Myth of Developer Obsolescence
I don't think the higher pay is true. There are simply less people proficient in new technology at the beginning. You're simply seeing classic demand and response play out. After a while things will calm down again.

I think a better comparison is to Jevons Paradox. New Technologies make developers more efficient and thus cheaper. This increases demand more than what is gained by the efficiency increases.

I don't see us anytime soon running out of things that are worth automating, especially if the cost for that continues to drop.

legulere··on Lottie is an open format for animated vector graphics
Shouldn't it be possible to compile Lottie-animations down to SVG+JS? Is that maybe just something that's still missing?
legulere··on JavaScript's New Superpower: Explicit Resource Management
It’s still difficult to get right in cases where you hold a disposable as a member. Its not obvious if disposables passed in also get disposed and what’s right depends on the situation (think a string based TextWriter getting passed in a byte-based Stream) and you will need to handle double disposes.

Further C# has destructors that get used as a last resort effort on native resources like file descriptors.

legulere··on Google to back three new nuclear projects
It's not necessarily malice, it's very easy to underestimate the difficulty building and running a real nuclear reactor. The 1953 'Paper Reactor' memo still applies fully today: https://whatisnuclear.com/rickover.html
legulere··on Vibe Coding is not an excuse for low-quality work
Complexity is going up rather than down. Companies already solve simple problems with spreadsheets.
legulere··on The “S” in MCP Stands for Security
We’re not longer living in the 90s where we’re dividing the world just in secure or insecure. We’re living in a reality where everything should be least privileges.

Using a code completion service should not give that service full control over your computer.

legulere··on An image of an archeologist adventurer who wears a hat and uses a bullwhip
This line of reasoning doesn't make sense for retroactive lengthening of copyright though, as the author is not gaining anything from that anymore.
legulere··on Don't Be Afraid of Types
Also known as primitive obsession
legulere··on Italy moves to reverse anti-nuclear stance
Before uranium enrichment comes conversion to Uranium Hexafluoride. For instance the German uranium enrichment facility (biggest one in Europe) gets Uranium Hexafluoride from Russia.

Also a list of countries operating enrichment facilities does not say anything about capacity (Russia 50%) or market share (Russia 44%).

https://www.enerdata.net/publications/executive-briefing/ura...

The reality is that both the US and Europe are dependent on Russian uranium services, with the biggest dependency in Eastern Europe for fuel rods for Soviet-style Reactors. It's slowly changing, but will probably take decades.

legulere··on Italy moves to reverse anti-nuclear stance
That’s raw uranium ore. Uranium undergoes several refinement steps. In each Russia has an enormous market share.
legulere··on GPT-4.5
With a synthetic ETF you are not actually buying the titles of the index. There is a swap with a bank that guarantees you the same earnings as the index. Why would a bank do that if they cannot outperform the index?

I'm just a layperson, so I might be wrong in some way that I don't understand

legulere··on The need for memory safety standards
Longer compile times prolong iterative programming processes and having to take care of memory management through linear types adds restrictions on how you can express code and leads to additional mental burden. This can be part of a trade-off, where you get things in return (no runtime/gc), but your typical web app I don't see much advantages.
legulere··on GPT-4.5
Most index funds are synthetic. They would not be possible if it was not possible to beat the index quite reliably.
legulere··on The need for memory safety standards
Both have a garbage collection though that lead to higher developer productivity than compared to rust's affine types.
legulere··on Dust from car brakes more harmful than exhaust, study finds
Also regenerative breaking exerts force which leads to particle emissions from the tires. Breaking earlier and slower also helps when you otherwise would have stayed in the range where you can break regeneratively.
legulere··on Reasons to Not Parse Localized Strings
Microsoft Excel is the worst offender here. When you're on a locale with , as a decimal point it's not able to read CSVs with . as a decimal point. It uses ; instead of , as a field separator.

Delegating parsing user input is a good idea, but sometimes the input methods you can rely on just don't cut it.

By the way: The international way to express a decimal separator is a (thin non-breaking) space. There's no misunderstanding possible.

legulere··on World's darkest and clearest skies at risk from industrial megaproject
You state that energy storage is a fantasy, liebreich puts Long Duration Grid Balancing as a B on the hydrogen ladder. Sure it's going to be extremely expensive, but I don't see any cheaper alternative for countries without dark winters where also the wind can sometimes be not enough.

I agree though that it gets pushed in lots of inappropriate places, where better alternatives exist.

legulere··on Akamai to shut down its CDN operations in China
I guess the author alludes to the paradox of tolerance first described by Karl Popper 1945 in The Open Society and Its Enemies.

Sometimes deterring punishment is the only thing that keeps people from abusing tolerance or freedom to destroy that tolerance and freedom, but it needs to stay a measure of last resort.

legulere··on System76 built the fastest Windows Arm PC
Sadly the article lacks comparison in single core performance with Apple chips. Comparison with x86 chips would also be interesting.
legulere··on Liberating Wi-Fi on the ESP32 [video]
Some years ago they also operated a pneumatic tube system.
legulere··on Bitcoin price hits $100K for first time in history
This increases the market for bitcoin mining and subsequently energy waste. For me personally this enough reason to ban bitcoin
← PreviousPage 5 of 34Next →