Hacker Newsnew | past | comments | ask | show | jobs | submit | alright2565's commentslogin

I've done something similar with a CAD app, where I've used AI tools to package it as a Nix flake. It's a really good format for wine packaging since it makes it so easy to patch wine in ways that would never be accepted upstream, and it makes launching it just one command vs needing to deal with other people's potentially broken wine prefixes.

Yeah, completely agree.

I absolutely love Nix Flakes; they feel, to me, like what Docker was supposed to be. A little self-contained packaged environment that gives you a place to do any kind of custom hacks deterministically.


nix + LLMs is the most fun I've had with personal computing since I burned an Ubuntu live CD in middle school

Same. I've had a lot of good luck getting Claude to make Flakes and then adding it to my Jovian Steam console to play it; it allows me to even pre-set stuff like mappings for my Xbox controller.

https://hub.brucewillis.sexy/~tombert/game-flakes/sources (I promise, safe for work, despite the URL).


Or, for the unique solutions: https://oeis.org/A285180

The CE mark is worthless, since it is a self-certificaton.

The UL mark is valuable, as are the other test lab marks. However, while an ethical storefront would require it, Amazon does not. I've bought plenty of things that are not listed, and if I want safe products I generally have to include "UL" or "ETL" in my search. Even that doesn't always work, I've seen products on there claiming a listing in the title but photo shopping the place where the UL logo ought to be off of their product images.


> The CE mark is worthless, since it is a self-certificaton.

Boeing 737 MAX tragedy did happen because of self-certification abuse, still I would not call FAA certification worthless.


Boeing is a company worth billions of dollars. "UKCSR" is not, there is absolutely no consequence to them getting shut down due to unsafe products. They'll just come back tomorrow as "JUSGB."

This is also solvable through regulation though.

For example, NYC now requires all sold e bikes to be UL certified because of too many apartment lithium battery fires.


I can tell you right now, excluding specific teams that focus on software security, that you have access to better models than the US Army.

> just use machinename.local after plugging it.

If only :)

This should work, but glibc has a bug where it doesn't support communicating a link-local scope ID in its name resolution subsystem. So you will have to first manually resolve the name, and then use the IPv6 LL address with scope ID directly.


Sure there is. For thousands of classes/functions, I can test the boundaries between them in nanoseconds each. Integration tests are the important part, because with the quality of AI coding these days, unit testing is a waste of time.

With micro services, that same function call is now a minimum of 200us. And now I have LOC for serialization/deserialization, retries, error handling, etc, bloating my code and making it harder to understand, plus now to do the same integration test I need to understand N different build systems for each component.


You can also make breaking changes to internal APIs without versioning or release coordination. Just update all the call sites.


Or my personal favorite, just an s3 bucket. In your CI's nix.conf:

    post-build-hook = .../upload-to-cache.sh
upload-to-cache.sh:

    #!/usr/bin/env bash
    set -euo pipefail
    set -f
    export IFS=' '
    exec "${NIX_CACHE_NIX_BIN:-nix}" copy --extra-experimental-features nix-command \
      --to "s3://my-cache-bucket?region=us-east-1" $OUT_PATHS
Set up environment variables as necessary for auth.


I haven't driven this particular car, but if it's anything like any other infotainment system I've seen, I'm really hoping they're able get a profiler running on there to determine the technique they use to get massive frame drops on hardware they fully control.


A friend had a nice job of driving BMWs for a manufacturer of such a system (it was early 2000s and the system was more embedded than Android/Linux). One test was setting a calendar alarm (because yeah of course the BMW needs an on-board calendar), and while cruising down the highway, wait for the alarm to go off, and then open a door. He said a colleague did this and the system crashed and went dark...

I suppose even driving 20kmh should trigger the "door open!" alarm.


It went like this:

We need a team of very good sw developers.

Maybe we can have 20% of the team be cheap "developers", people that have no inclination towards sw development to do the boring stuff.

Maybe 20% of real developers is enough in a team. The rest will learn from them.

Let's have 100% cheap developers, the project only needs changes.

We can get even cheaper developers, come to us with no prior experience and in 3 months we will teach you what you need to know.

Our projects are delayed due to covid.

Oh no, the Chinese!


TBH a lot of devs working on this are probably really good devs, but having experience in the German car OEM market I can quite confidently say that usually it's management pushing unreasonable deadlines/stupid features/setting priorities wrong. Kinda like in most companies that treat SW as second class citizen. Lots of catch up to do.


BMW has a talent in that space. Over engineered modules with terrible software. I recently drove a Toyota rental and they seem to have hired some former BMW software people as well.

I don't need 120hz Apple-like design, but it's crazy how they can't even keep a basic 30fps UI running smooth. And they still try to throw in more and more bad running animations.


Those UIs are made by embedded software engineers that have been in the automotive sector for 40 years. They have no clue how to make a modern functioning UI. The company then hires a UX expert that draws out a full plan. The software engineers implement it, it looks identical to the UX specification… but occasionally drops to 10FPS.

Probably because an important message passed by on the CAN-bus and that got a bit more priority from the CPU than the GUI


I think IF they had hired embedded software engineers with 40 years of experience, those people would have delivered a UI that meets or exceeds all UI needs (even if it didn't look as visually appealing as it could). A 40-year embedded veteran knows how to write real-time code, structure the system and make it work under all conditions.

In fact I wager the OPPOSITE happened -- that they hired or outsourced software to people who have "web technology experience" and the UI and graphics architecture is a mishmash software stacks hastily thrown together (read: not architected).

Jaguar has a similar issue with the I-PACE where the HVAC system couldn't keep up with the knobs and would lag. A real embedded engineer who worked on real-time systems would know how to properly handle a quadrature encoded knob and NOT lag. A web-technology-first person who slapped something together using nodejs and/or Python would likely not know.


> Those UIs are made by embedded software engineers that have been in the automotive sector for 40 years. They have no clue how to make a modern functioning UI.

Compared with UIs made by Microsoft, Google or Apple which also "have no clue how to make a modern functioning UI".

At least those "embedded software engineers that have been in the automotive sector for 40 years" don't need 16 GB of RAM for a chat programm


CPUs do not talk to displays via CAN.


It's actually a little harder than people outside the UI framework space might think (there's really not a lot of time per frame; it's easy to put too much work where it doesn't belong; it's easy to regress if you're not monitoring for it after code changes).

It's core to usability at this point, though. They should make the effort.


Do you have a specific example of a function that exhibits this?

Both my BMWs (one each of the last two generations of iDrive) do not in any noticeable capacity, nor did my 2009 one with what was then known as "professional" navigation.


Toyota is using Flutter I believe.


> good devs are hard to find and expensive

> company contracts offshore agency

> devs costs drop by 20-40%

> offshore agency grabs any warm body off the street, JS-adjacent experience and minimum English is only requirement

> keeps 40% of the money

> "how many story points for the 360° camera React component, guys?"


> ... to determine the technique they use to get massive frame drops on hardware they fully control

I understand that's really lame but... who the heck gives a flying f--k about framerate in a car?

Are we talking about videos lagging for people sitting at the back (like kids)?


I don't want a data center in my back yard because I do want housing in my back yard.

Once a data center shows up, that plot of land is locked out of more productive development for decades.


The problem is following up. It's hard to understand the process, and what to do when the public body doesn't respond.

If nothing else, the Sunshine Request site is a good place to get form emails for these requests from.


What you do is: you sue. On my 13th FOIA lawsuit and I have a couple more in the works ;)

Depending on where you're from, it's pretty easy to find a pro bono attorney. In Illinois, the plaintiff's attorneys recoup their costs on a successful win.


Whatever Chaps says about this, take to the bank.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: