News for hackers. Stuff that matters.

Zxian

Re:The Largest Electric Aircraft Just Flew [video] on Friday September 04, 2026 @11:01AM (#49565674)
Yeah, and they require a place to build. Do you think bridges between the Hawaiian islands is feasible?

Report recently from my area.

https://www2.gov.bc.ca/gov/content/transportation/transporta...

Re:The Religion of Speed on Friday July 31, 2026 @10:42AM (#49123817)
You clearly didn't read this. It's about rowing. Not being on a playground.
Re:AIs don't do what you want. This is bad on Friday July 24, 2026 @09:16PM (#49043581)
I had updated a GQL schema and wanted my agent to update the frontend to suit. I told it the server was running, that it could run specific commands to regen types, etc.

It got itself in a loop and killed the running backend process, then searched my filesystem for the changes it thought it needed (not the ones I gave it) in order to run its own copy of the backend.

That is precisely _not_ what I _told_ it to do. The other part of this is that I find, unless explicitly told to ask questions, they don't do a good job of gathering evidence before making such decisions. I'd much rather have my agent ask me a clarifying question than start killing processes at will.

Re:I let LLMs write an Elixir NIF in C; it mostly worked on Friday August 15, 2025 @09:20PM (#44919169)
I'd also recommend having a look at the Zig library for Elixir. For simple stuff, you can just inline, but support for pretty complex setups too.

Also comes with a built-in BEAM allocator so the runtime properly reports NIF memory consumption.

https://hexdocs.pm/zigler/Zig.html

Re:Senator Dianne Feinstein dies aged 90 on Friday September 29, 2023 @10:28AM (#37704812)
I don't think it's fair to assume that votes are representative of performance. Politics are a popularity contest first and unfortunately that means image is more important than actions.
Re:The Asymmetry of Open Source on Sunday June 11, 2023 @02:26PM (#36284162)
I lie to my children when I say that the TV needs to recharge after their morning shows. A way to divert their attention elsewhere, but not out of malice.
Re:Is tipping getting out of control? Many consumers say yes on Monday January 23, 2023 @08:09PM (#34497673)
The business transaction between me and a restaurant is for the food and service they provide. I pay the restaurant, the restaurant pays the labour.

Refusing to tip isn't refusing payment. If it were, I'd be illegal (i.e. theft). Labelling this as "sharing the labour cost" is precisely the problem at hand.

If I hand my pizza delivery driver a $5 bill, I intend it to be a bonus for the driver, not a subsidy for the business. I have zero incentive to pay the business any more than the prices they advertise.

Re:Manhattan rents cross $5k threshold for first time on Thursday July 14, 2022 @11:40AM (#32097477)
New York City already has a significantly higher population density than Tokyo (~11,300/km2 vs ~6,300/km). It's easier to develop more housing when you have more land.
Re:What’s in Which Python on Monday May 23, 2022 @11:48PM (#31487768)
Which OS prevents you from installing another python runtime?

I install python using asdf on both MacOS and various flavours of Linux.

https://asdf-vm.com/

The intent of the policy doesn't match the real-world implementation of users. Users are lazy. Users will alter a single character or digit in the password and call it changed.

Most people don't use password managers, and some companies block their usage. Now add a requirement of a "secure" password.

Re:Ask HN: App ideas to learn Phoenix / Elixir on Sunday February 13, 2022 @10:54AM (#30322560)
To add to this, you don't need to come up with the game mechanics. I'm taking this approach with making a LiveView-based version of the board game Azul.
Time is a consumable. It is not infinite, and it is unique to each individual.

We do not "trade" time in jail between society and an individual. We deny certain freedoms for a period of time. There is no economic equivalent when it comes to time.

Learning is a process that consumes time now for improved capability or efficiency in the future.

Why is B much better here? It enables the officer to claim they felt threatened when no valid threat existed and then exercise lethal force in self defense (whether or not the threat was valid).

I can't think of any reason why someone should be justifiably disappointed they couldn't apply lethal force.

Correction: while minimizing the risk of death. Tasers can still kill people.

https://en.m.wikipedia.org/wiki/Robert_Dzieka%C5%84ski_Taser...

There have been many studies that show bias in the a screening process when gender or ethnicity are known. Ideally, the hiring manager should be given anonymized resumes so they can better make objective decisions about the candidates.

https://m.phys.org/news/2019-03-women-percent-hiring-men.htm...

Re:Where will ‘garage orphans’ charge electric cars? on Monday August 12, 2019 @10:50PM (#20682356)
You need _some_ roads, but not to the extent of your typical suburban sprawl. Where I live (Vancouver, Canada), there are sufficient roads for most travel, but the city also has relatively high quality public transit and decent bike routes. I don't think GP meant that a city should have no roads, but rather that transportation infrastructure is almost always going to be an expenditure for a city. America has simply chosen to prioritize cars over other transportation options.

Higher density minimizes the need for cars.

Re:Await in Rust on Monday August 12, 2019 @11:18AM (#20676186)
Your analogy works as long as there's a machine doing the washing and drying.

If you replace the machines with people, it makes much more sense for the function definition to define what is and isn't synchronous. If you have to do all the chores yourself, just call the functions synchronously. If you have family members you can delegate some work to, you can call the functions asynchronously and wait for them to complete while you're doing your own work (or twiddling your thumbs).

Elixir allows you to do this very cleanly. https://hexdocs.pm/elixir/Task.html#content

Many cities use automated light rail or subway systems. Vancouver, Canada has has such a system in place since late 1985.

https://en.wikipedia.org/wiki/List_of_automated_urban_metro_...

We have a sample repository with a simple, but broken, web application. We ask our candidates to review the code as they would if a coworker had submitted it as a merge request.

it gives quite a bit of insight about what aspects they latch onto as issues of note. Do they catch the insidious, subtle issues or just the low hanging fruit? Do they understand what stdlib function arguments expect as input? Do they just pass your review through a linter and call it a day?

When deleting a repository in Gitlab, you are required to type the name of the repository in a field. This forces you to change the response based on the particular action.