News for hackers. Stuff that matters.

jlnthws

Re:If AI writes your code, why use Python? on Tuesday May 12, 2026 @12:46AM (#48104283)
Why not use AI to speed up the Python runtime? V8 showed what focused engineering can do for JavaScript, and Astral showed how much room there is to improve Python tooling. The same tricks may not apply directly, but AI could definitely accelerate the work.
Re:Belgium stops decommissioning nuclear power plants on Thursday April 30, 2026 @10:03AM (#47962689)
Volcanic winters are far more frequent than catastrophic asteroid blasts. Disregarding a volcanic winter possibility and its impact is like disregarding the possibility of a pandemic.
Re:Belgium stops decommissioning nuclear power plants on Thursday April 30, 2026 @09:58AM (#47962609)
I wonder where they store coal waste.
Nice! Now moving from Windows to Linux is the "easy", visible part. Replacing US cloud + US AI dependence end to end is much harder, and that’s the real deal today.
Re:macOS Tahoe windows have different corner radiuses on Tuesday March 10, 2026 @08:12AM (#47322161)
Wouldn't that imply that design is solved (at least regarding visual elements discussed here)? Then why not move onto other things? Why self-sabotage their success?
Re:Why Today's Python Developers Are Embracing Type Hints on Sunday September 28, 2025 @06:08AM (#45403174)
Use them for what they are (hints, documentation). Use it for gradual typing when implementation makes it hard to understand return or parameters types. But don't enforce it across your code base, use another language or another mindset instead.
Re:Zoxide: A Better CD Command on Thursday September 25, 2025 @11:26AM (#45373910)
Of course you can alias, but I was not very clear indeed. My point is that these tools ship multiple commands (z, zi, etc. autojump does too). I treat core shell commands as interfaces: keep the name, swap the implementation. If there's just one command, you can of course alias it (but why should I do this final step); if there are many, it turns into clutter. These tools should enhance existing commands instead of reinventing them: the goal is the same result, just faster and better. The philosophy is non-intrusive augmentation, like bash_completion or fzf.
Re:Zoxide: A Better CD Command on Tuesday September 23, 2025 @02:02PM (#45350647)
Those kind of tools should have the same name as the command they replace, I don’t want to change my workflow with this or that. I think a simple wrapper over cd with fzf is good enough and much simpler. Claude can probably write it in a few minutes.
Re:Xrust – XPath, XQuery, and XSLT for Rust on Monday September 15, 2025 @08:16AM (#45248764)
How complete is it? I can't reach the page, it can't decide if I'm a robot or not.
Re:Terence Tao weighs in on the suspension of UCLA grants on Saturday August 02, 2025 @05:31AM (#44766034)
Come to Europe!
Re:Where does air pollution come from? on Wednesday April 02, 2025 @08:46AM (#43556047)
So is domestic aviation negligible in every way? Is non-domestic aviation part of the transport category? Not clear to me.
Re:Dust from Car Brakes More Harmful Than Exhaust, Study Finds on Saturday February 15, 2025 @11:40AM (#43059856)
This is the regular current taboo. Micro-dust from tires and brakes contributes to half of an ICE vehicle’s pollution, with the other half coming from exhaust emissions. The amount of this micro-dust scales with a power of the vehicle’s weight, typically between the square and cube for cars, and up to the fourth power for heavy trucks. EVs are 30–60% heavier than their ICE counterparts. Assuming all other factors remain constant, EVs thus generate more particulate pollution than ICE vehicles. This does NOT even include the environmental impact of battery production and electricity generation.
The sharp rise in the rat population in my city coincides with a new regulation requiring food waste to be placed in a thin, dedicated bag outside. Since collection is delayed, the waste spoils, providing an easy food source for pests. It did not coincide with climate warming, at least not in my city.
Rigrep and fzf in bash and vim.
Re:The Origin of Ambergris (2012) on Thursday July 04, 2024 @04:53PM (#40877957)
"Ambergris has been synthesized, but its synthetic versions are not convincing. They lack an indefinable something that is gained only after years spent at sea."

Probably a bit like synthesized truffle oil, good enough for most people but lacking richness for a trained delicate palate.

Re:Apple's risky bet on CarPlay on Wednesday April 24, 2024 @08:39AM (#40143654)
> incredibly superior to a cell phone

I guess YMMV. I've recently had the chance to test drive some of the latest models from BMW and Audi, and honestly, I found their infotainment software to be quite laggy and sometimes unresponsive. It felt inexact and bloated, reminiscent of an old Windows XP laptop with a Samsung UI skin. While the CarPlay integration was ok, it still didn’t surpass the simplicity and efficiency of just using my iPhone mounted on the dashboard as a makeshift heads-up display.

Re:Apple's risky bet on CarPlay on Wednesday April 24, 2024 @08:12AM (#40143432)
I still drive a 2008 model car with nothing more than a radio and a basic Bluetooth handsfree system, and it's all I've ever needed. When I bought the car, I consciously opted out of a 3500€ built-in GPS, predicting that smartphone navigation would soon surpass it. Over a decade later, that decision still holds up—my iPhone handles all my navigation needs more effectively than any built-in system could.

Now, as I face the inevitability of replacing my car due to dubious environmental regulations (current car emits less than modern but twice heavier ones), I'm genuinely concerned about the current state of car infotainment systems. They feel overly complex, bloated, and fragile, prioritizing features over functionality and user experience. The shift towards these systems seems more like a downgrade, sacrificing reliability and usability for unnecessary add-ons that don't improve the driving experience.

Anyone in the same position? What car would you recommend that meets environmental standards but keeps the infotainment system super simple, or even non-existent?

Re:Americans can no longer afford their cars on Monday January 15, 2024 @05:01PM (#39006624)
Interesting. EV are 10 to 20% heavier than a comparable ICE vehicle. So, if we follow this 4th power law, an EV impact on the road would be 50 to 100% more than its equivalent ICE. For me that's yet another new data to factor in the equation EV vs ICE.
Re:Things are about to get a lot worse for Generative AI on Saturday December 30, 2023 @02:31PM (#38818209)
We could get inspiration from the case of the record industry against Napster, or cabs VS Uber. Both parties are somehow abusing their position, but the world is moving on. Rent seeking is probably not an absolute source of wealth after all.
Re:GitHub Renamed Me (2014) on Wednesday November 22, 2023 @12:04PM (#38381840)
I was early adopter and managed to get a 2-letter username but I’ve also been renamed to -xx without notice and any explanation :(
They first need to build European-style mindset to properly take advantage of this.
Re:Apple Virtualization Framework on Sunday June 04, 2023 @08:51AM (#36185224)
The key is to ensure your x86 code is run with Rosetta instead of being emulated (with qemu for instance). By upgrading to Ventura and using the latest Docker Desktop which allows Rosetta translation, I was able to run x86 containers 6 times faster than before. Last time I checked, Multipass had no options for Rosetta translation yet (it's planned though).

Keep in mind Rosetta has a few limitations like it can't translate AVX instructions.

That's why we have conventions: to avoid wasting time arguing about which style to use here and there. I wasted more time reading this article than I will ever waste with lower/upper case naming issues.

By the way, Arabic has 4 letter forms, Japanese has 3 sets of characters, Chinese has 2 character forms, Vietnamese and some other romanized Asian languages have many diacritics (for the tones) which change the meaning of words,... Latin alphabet as it is used in English is by far the simplest of all (to use, teach or learn).

Yes that’s the correct explanation: 1/120 speed for 220mm focal length equivalent is far too slow, at least 1 EV. The stabilization is probably not on par with big pro lenses and SLR so you might offset 1 more EV. Now the way the AI is fixing this seems obviously wrong but it’s “best effort”. I’m guessing it has taken several pictures and merged them. This can’t be right 100% of the time. Maybe they should add a “no smart self-similarity merges” option, I would use it most of the time.
Re:The metaverse is bullshit on Saturday October 30, 2021 @08:27AM (#29048247)
Metaverse seems backwards because it’s adding skeuomorphism back to social networks.
Re:For developers, Safari is crap and outdated on Tuesday July 27, 2021 @06:09AM (#27970660)
This is the best answer. Web devs blindly following edgy Chrome trends which are nothing more than a way to slow down Apple's revenue (which is fair game).

App Store revenue was over $70B last year, with a 20% increase every year. Let me put it into words for you: seventy billion dollars. This is more than the total revenue of Intel, HP, Walt Disney, Unilever, FedEx or Pfizer, from the App Store alone. Most of that revenue comes from iOS apps. There is no way Apple would implement every new web standards mandated by its main competitor just to lose some of that revenue. Web devs should stop whining and come back to earth.

Their device is tiny. I don't understand how it works with low frequency / large wavelength sound wave. Do you?
Thanks, this is the most underrated answer. Selling processed food as one solution to climate change is genius marketing BS but still just BS. It reminds me of Soylent, Juicero and the like.

If you care about the environment, your health and animal well being then just eat less animal product (you need some anyway), buy only local food (local meat) and above all stop wasting so much of it.

Just a few decades ago people knew what they were eating, no processed food in any way. They were raising their livestock in their yard, they knew their single sheep / pork / cow and poultry and respected them. At some point you need to eat and kill them, people getting shocked by this have just become brainwashed or oversensitive. Go spend some time in Africa, Asia or Eastern Europe, they're laughing at this nonsense trend.

What about Terrapower and Nuscale? They are building new type of reactors, much smaller and allegedly safer/cleaner.

Older »