HNHacker News
TopNewBestAskShowJobs

Flundstrom2

118 karma · joined September 18, 2022

submissionscomments
Flundstrom2··on Disconnect from FAANG, Connect to Free
I guess Europeans are quite satisfied that US don't have jurisdiction in the EU.

Sure, GDPR isn't applicable against law enforcement, but it is a surprisingly strong public right. TM and robocalls? It didn't take long for all of that to cease after I simply started to ask for the name and contact information to the consumer privacy manager for the caller's employer and then whispering "GDPR" whenever I got an unsolicited phone call.

Flundstrom2··on What to do if another company is using our brand name without permission?
Trademarks are tricky, since they only applies to a specific category of goods or services.

They are especially tricky if you do not have a Registered Trademark.

Pay a lawyer to send a generic cease and desist letter.

If the infringer do not comply, pay an IP lawyer for legal councel.

Flundstrom2··on We cut CI emissions by up to 90% – by choosing where code runs
That's great!

Considering the millions of instructions that nowadays are executed just to cope with all layers of abstraction to read a sigle byte from a drive, we really need to start thinking about energy consumption and energy-efficient programming!

When it's too cool, I spin up a kernel build, after a while the room is warmed by the heat of the CPU.

Flundstrom2··on Ask HN: How are you using LLMs for coding?
Copilot in visual studio to fix compiler errors and let it type all the boilerplate code by TAB-ing. Sometimes it even manages to spit out an entire - and correct - function.

Mistral Le Chat for more advanced questions and figuring out things that copilot can't.

Flundstrom2··on Proposal: Cookie Consent Should Be Browser-Native, Not Website-Native
There is already one important implementation that is basically ignored nowadays. But if EU would enforce the use of Do-Not-Track and your proposal there would be quite a movement.

However, "cookie" should be interpreted pretty liberal, to cover state storage and tracking in general.

Flundstrom2··on What would constitute a "good" programming language for embedded systems?
Depending on size of the embedded system, the preconditions differs slighly; An Android phone is an embedded system, just like an 8051.

Android programs (and lots of Android itself) is written in Java, giving it memory safety, strong typing and ease of programming.

But it comes at the cost of garbage collection, requiring JIT for performance and high RAM and Flash consumption.

Those drawbacks are acceptable for use apps (just buy a new phone every 2 years), but not in the low-level, such as the Linux kernel. And straight up impossible on an 8051.

C gives the performance and low footprint to work both in a Linux environment and 8051, but it comes with the drawback of no memory safety and a lot of footguns. Performance is not just about speed and RAM/Flash requirements, but also about en energy consumption and physical size of the MCU on the PCB - both of which are increasingly important.

Enter rust: The performance and low footprint of C, with the memory safety and strong typing of Java. The lack of garbage collector is compensated by a /very/ picky compiler that makes memory management a fist-class citizen. All those problems a C developer would manually have to manage, remember and hopefully cover, are enforced compile-time.

Analysis done in large C codebases have shown that roughly half of all security vulnerabilities reported simply cannot happen in Rust because the compiler don't allow it.

Some say Rust is harder to learn, and it's harder to program in. But that is because writing bug-free programs IS hard, and the language is designed to prevent a whole class of bugs without sacrificing performance or footprint.

I think, Rust is what C would have been, had C been invented now, rather than 50+ (!) years ago.

There are only a handful of languages that are efficient enough to be suitable for embedded systems, with C and C++ being the most common. But Rust is certainly one that is very well suited for the job.

And thanks to cargo, embassy and OSes like Ariel, there is a very big set of standardised APIs and crates that makes embedded development feel just as efficient as desktop or server development.

Flundstrom2··on Ask HN: For job applications do the voluntary disclosures matter? Why have them?
Although not explicitly illegal, asking these kind of questions in another country would open up the risk of being sued for discrimination in case a person belonging to a minority wouldnt get the job.

Ive always wondered about the US' obsession with racial heritage (I thought that got settled in 1945) etc.

Flundstrom2··on Ask HN: Will there be software roles in the coming European defense sector?
There's definitely software roles in european Defence industries. The SAAB Gripen is basically a huge amounts of embedded systems strapped on a Mach 2 jet engine with wings.

Same goes for the SAAB Kockums submarines. Not to mention the radar systems.

But you would need to be a citizen to get security clearance.

Flundstrom2··on A combo of ChatGPT and spot EC2 instances screwed me over
3) Never trust an LLM
← PreviousPage 3 of 3