News for hackers. Stuff that matters.

plusmax1

Re: on Wednesday October 21, 2026 @09:58AM (#50181073)
The biosphere in the long term is not the issue. Earth will be fine, it's the more extreme weather patterns which will cause a lot of damage, death and unrest in the world which is the problem.
I agree with you. an LLM will do what you guide it to do, give it the proper guardrails and instructions and it will produce code in any style you wish.

Be it abstract or simple, more comments or no comments, adhering to clean code principles or following whatever software architecture you want...

Include style guides, static analysis and formatting tools in the development loop, use skills and hooks properly... I started to have a much better time with agentic coding once I spent time setting things up properly for my projects and writing down how I wanted things to be done.

Show HN: CStructSharp – C-struct (de)serialization for C# and JavaScript (WASM)

https://github.com/vvollers/cstructsharp

I've been working on this for a while now (I made a POC for myself some years ago which I didn't release. But AI helped me a lot to finally complete/polish it).Inspired by digital forensic toolkits, this library allows a user to take a c-struct definition and use that to serialize an deserialize binary data.It is a flexible library which features modern c# mechanisms and conventions. I tried to...

( Read More... | no comments | on HN )
Well, I live in one of the most densely populated places, the Netherlands. This is not an issue I've encountered. The solution really is : just add more charging spots everywhere. Electric infrastructure is everywhere, charging spots don't need to be concentrated near a gas station. Here in the Netherlands they are everywhere. You just have to get into the habit of using them more often for smaller periods of time instead of habitually going to a gas station.
I totally agree, I went electric last year and couldn't be happier. Got a hyundai ioniq 6 which is an amazing car. Charging is simple and cheap and where I live (nw europe) the charging infrastructure is great. Did a couple of long range road trips (germany, france) and fast chargers were easy to find. Take a small break, have a coffee and the car was already full again. I had some anxiety about this before, but this has 100% better than I was expecting.

The best thing is, at least here, there are so many "small" charging spots. If you take them into account when traveling to places (even the grocery store, or the museum, or near whatever relative or friend you are visiting), you can just charge cheaply there. This is the hardest habit for me to break: no, i don't need to visit a "gas station" to fill up, just charge wherever you can find a charger, and it doesnt have to be 100%. Even a short stop on a slower charging spot helps a lot.

I'm dutch as well and travel relatively frequently to the US (just came back from Washington DC). I'm not sure I see the impact of this "decline" you seem to notice. Perhaps this is also why the "media narrative" is not reporting on it, since it is not really felt that way?

Housing is expensive and we built far too little in the last decades, but this is also extremely expensive the the areas of the US where you actually want to live (The coastal cities, usually). Besides, this seems to be a global issue you read about everywhere.

I feel that, on average, most things in the Netherlands are of a higher standard — from public infrastructure and transportation to healthcare and the overall quality of everyday things, whether it’s food, trains, hotels, or even the items in your bathroom. Every time I travel back and forth I notice this.

Sure, salaries for certain jobs are much higher in the US, but I wouldn't want to switch except to begin a startup, maybe. I like doing business in the US and would visit for the amazing national parks, but prefer actually living in NL. That said, a rise in salaries and perhaps a more business and capital friendly environment are things I support.

If regulating false information is actually a part of the FCCs job, Fox "News" should have been shut down long ago.
Re:RFC 3339 vs. ISO 8601 on Sunday September 07, 2025 @06:30AM (#45156990)
"most countries in the world" are perfectly fine with the 24 hour clock: https://en.wikipedia.org/wiki/Date_and_time_representation_b...

I fail to see why it is not considered human friendly. Its more specific, a day is 24 hours, at least I much prefer it to "am/pm".

Re:Denmark to raise retirement age to 70 on Sunday May 25, 2025 @04:55PM (#44091026)
why wait for travel until you are retired? Retirement should not be "the" goal in life.

I've been traveling for holidays every year since I was 25 for at least 3 weeks every year, loving it so much. First it was backpacking, now it transitioned into a bit more luxury as I got older.

You don't know if you'll be hit by a bus next year, retirement is a silly milestone to focus on.

Fox News is less a news outlet and more a performance art piece in which actors, costumed as journalists, deliver carefully scripted outrage to an audience so thoroughly conditioned they believe they're watching journalism—when in reality, it’s more akin to a soap opera written by a political strategist and directed by the ghost of Joseph McCarthy.
Re:UK bans fake reviews and sneaky fees on Sunday April 06, 2025 @05:16AM (#43600066)
Proving reviews are fake is hard indeed. A few years back I fell for fake reviews. I was booking a trip and saw a fairly new "boutique hotel" with good reviews (on booking.com). Once we arrived, it was nothing of the sort. The hotel was grimy, the room was small, things were broken etc etc.

Once home I looked at the reviews again and I noticed a pattern: each review had only a few sentences and, in hindsight, odd language. For example, it was praising the management in quite a few of them. I don't know about you, but I've never considered the quality of "the management" of a hotel, let alone that I would be inclined to write about it in a review.

I'm sure they paid a shady company to post those reviews in order to boost their rating. I complained to booking.com, but of course they never did anything with it. I imagine it is hard for a platform to do, but I'm also sure they can do more than they do now.

Re:The Curse of Ayn Rand's Heir on Friday April 04, 2025 @03:43PM (#43586875)
I read "Atlas Shrugged" but I found it to be a frustrating read, mostly because of how simplistic its worldview is. When I read it, I felt like the complex issues it tries to tackle—capitalism, government, individualism—were reduced to black-and-white moral arguments, without much room for nuance or ambiguity.

The characters didn’t help either. They came across as one-dimensional: the so-called heroes are always right, always rational, while anyone who disagrees with them is portrayed as either stupid or evil. That kind of writing makes it hard for me to take her "philosophy" seriously.

You are right. However, I think I agree with the vision, too bad its Musk+Tesla. I do think in the end we won't each own a car.

It's so incredibly inefficient to have individually owned cars just rotting away on the side of the road and in car parks waiting for their owner.

It would be so much better for everyone if no one, except enthusiasts, would own a car. And you could just grab an "auto taxi" wherever you are within a few minutes instead. Perhaps someday...

Re:The One Billion Row Challenge – .NET Edition on Sunday January 07, 2024 @12:03PM (#38902885)
We develop and deploy dotnet on Linux at my shop, it works great. I can recommend it to everyone, the dev experience is wonderful. With Rider as a development environment my team couldn't be happier really. I did a lot of development in C, java and python, but C# feels a lot more solid and developing with it truly is a joy.
Re:Performance Improvements in .NET 8 on Wednesday September 13, 2023 @01:33PM (#37499266)
Amazing post. The thoroughness and level of detail is incredible.

The length of the article is absolutely massive, trying to print it would be 218 pages. (my printer).

Really looking forward to the full release.

Re:Why isn’t dotnet core popular among startups? on Tuesday September 12, 2023 @05:31PM (#37488733)
And rightfully so, dotnet nowadays is really a pleasant environment to work with. Fast, good language(s), good libraries, good dev experience and cross platform. Most criticism I see on threads like this is either based on outdated perceptions or on Microsoft hate.
Re:Why isn’t dotnet core popular among startups? on Tuesday September 12, 2023 @05:20PM (#37488574)
This is a good list. I really feel it's a very good platform and just a very pleasant environment to work with. I guess I'm a "fanboy" as someone else on this thread said, but I became one because I had to use it for a job and I found out how solid it was and how much I enjoyed tinkering with it.
Re:Why isn't dotnet core popular among startups? on Tuesday September 12, 2023 @02:27AM (#37477500)
Modern dotnet core really is great and people should give it more consideration. It is not 2016 anymore.

C# is beautiful and there are others (F#) if you prefer on the same platform. There are some great modern and well supported libraries to use for almost every use case. You can get into the nitty gritty if you want with easy interop and control over memory layout.

If you need your product to scale eventually there are good bindings/integrations for all cloud platforms with good support. The core is incredibly fast and getting better every release. The tooling is great too. (rider et al, and dotnet cli is good too)

I've worked with python, go, java and c# and nowadays I much prefer the dotnet ecosystem.

Re:Why is recruiting developers so difficult? on Tuesday August 09, 2022 @06:02PM (#32404971)
But probably true nonetheless.
Re:Sex and gender education banned for K-3 in Florida on Tuesday April 12, 2022 @02:07AM (#30999176)
No one really was. This bill exists just to score political outrage points in order to "solve" a non-existent problem.

And the insidious way it goes about solving this allows vigilante witch hunting and even more polarization and hate. There is nothing good about this bill.

Tbh I like it. Except that I've disabled most of the telemetry, the ads, the handholding and new "features" (lots of github PS scripts available to 'optimize' the initial install). I've also installed StartAllBack to disable the new taskbar which I hate. Now its behaving just the way I like it and it's lean and fast. This, together with WSL2 I don't feel I need anything else as a daily driver.
Re:YAML and Configuration Files on Saturday August 14, 2021 @05:49PM (#28184208)
well there are json alternatives which fit this bill, such as HJSON.

https://hjson.github.io/

might not be as "common" but it has good implementations for many languages.