HNHacker News
TopNewBestAskShowJobs

fjfaase

2,265 karma · joined March 20, 2017

Software engineer with more than 30 years experience writing software in mostly C++. Interest in parsers, interpreters and combinatorics problems.

* https://www.iwriteiam.nl/ * https://github.com/FransFaase * https://fjfaase.at.hn

submissionscomments
fjfaase··on Mathematical Origami
It is possible to fold a cube from a single sheet. The cube on the page is made from several units. The method for folding a cube from a single sheet was independently invented by Kazou Haga, Kunihiko Kasahara, Jeannine Mosely, me, and probably some others as well.

https://www.iwriteiam.nl/box-fold.html

fjfaase··on Meta takes down a critical video about meta AI Glasses after filming at Meta
As far as I know he is Dutch and he sounds like a native Dutch speaker. But he but also uses English with some of the people that do not speak Dutch.
fjfaase··on Suspected sabotage causes major Netherlands rail disruption
FYI Nord Stream did not transport oil, but gas (not to be confused with gasoline).
fjfaase··on Trusting-Trust Attack against an Entire Linux Distribution
FYI, I reviewed the live-bootstrap project that starts with a small seed. For a T-diagram that shows all processes being executed in stage0, have a look at [1]. I did work on a solution that requires less steps, but starts with a bit larger seed (though maybe documented a bit better), see [2] and [3] for the T-diagram. Also has targets for x86_64 and arm64. (Work on RISC-V has started.)

[1] https://fransfaase.github.io/Emulator/tdiagram.html

[2] https://fransfaase.github.io/MES-replacement/

[3] https://fransfaase.github.io/MES-replacement/Tdiagram.html

fjfaase··on Bootstrappable Builds: How and Why
I have developing software in C(++) since 1990, but I did learn some new things about the language when developing a C compiler for a live-bootstrap variant not using the GNU Mes compiler.
fjfaase··on Bootstrappable Builds: How and Why
I still have a small fee available from NLNet for the implementation of a RISC-V back-end for a compiler (more a transpiler) from a small stack language to assembly. I have already started the effort, but at this moment not the time to work on it. I am available for support. Back-ends to x86, x86_64 and arm64 are available and working. This is part of the MES-replacement project [1]. Let me know if you are interested (see email at the bottom of the website mentioned in my profile here or on GitHub.)

[1] https://github.com/FransFaase/MES-replacement

fjfaase··on Kusama Yayoi has died
This fall there will be an exhibition at the Stedelijk Museum in Amsterdam. She stayed for some time in the Netherlands, met with Dutch artists, and organized events with them.
fjfaase··on Tumble Forth – from assembly to OS with C compiler (2023)
For the C compiler that I developed to replace the GNU Mes compiler in the live-bootstrap project, I also used a Forth like language that uses two stack. One stack for parameters and return values and one for the return addresses and local variables. The Forth like language is transpiled in assembly and through some steps made into an ELF file. The targets are: x86, x86_46, and arm64. Work on supporting riscv64 has started, but is currently on hold due to other responsibilities. If there is anyone willing to complete it, I do have some small funds as a bonus.
fjfaase··on The bond market isn’t buying what Fed Chair Warsh is selling
This is not uniquely American. Here in the Netherlands we also have fixed interest rates for long periods. Usually for 20 years.
fjfaase··on Lidl Introduces the European Payment Method Wero in Germany
Wero is a European wide payment system. In the Netherlands it replaces iDeal, which has been the (almost) universal payment method for webshops in the Netherlands. In not all European countries such payment systems are used as widespread as in the Netherlands. Wero is actually a payment broker as it usually connects with the payment system (often a banking app) of your choice.
fjfaase··on Original Apollo 11 Guidance Computer source code for command and lunar modules
Strange that no one took the effort to fix yaYUL to read the YUL format, but instead of adapting the transcription of the source to match the 'quirks' of yaYUL.
fjfaase··on Ask HN: Favorite Sorting Algorithm?
There are some simple ways to improve bubble sort. The first is to move in two directions. The second is to first start comparing elements at a large distance than one and reduce the distance on how often element needed to be swapped.
fjfaase··on Prefer duplication over the wrong abstraction (2016)
I once used code duplication to implement a fourth type of dialog that looked somewhat similar to the others, that were sharing a lot of code, because I felt that although it looked much the same as the others, there was some fundamental difference. Took me about a day to implement. When some other engineer saw this, he spend the next three weeks trying to integrate all of them with some shared class. His work was not completely worthless, because he did find some small bug during all his efforts to avoid any possible code duplication. I already had predicted that it would take a lot effort, but I did not object, because I hoped that he would learn something from it and the next time think twice before always trying to avoid code duplication.
fjfaase··on I admire Fabrice Bellard. He is almost certainly a better overall programmer
Many people have complained about the quality of TCC code. It sometimes feel the code id one big unittest including all nasty C edge cases. I found this out when developing an even tinnier C compiler to compile TCC 0.9.26.
fjfaase··on Trial of 12mph bike lane speed limit grinds gears of Dutch cyclists
In the Netherlands we do not bike for sport but for daily commutes and shopping. Most people on non e-bikes go at about 15km/h.
fjfaase··on Trial of 12mph bike lane speed limit grinds gears of Dutch cyclists
I think that if you as 60+ person cannot bike without support your brain is probably also not fit enough anymore for the speed you are going to ride at. So, I advice older people not to use an e-bike. I am not going to use one. Maybe a trike is a safe option at speeds not exceeding 10km/h.
fjfaase··on The number of possible chess games exceeds the number of atoms in the universe
The number of possible go games exceeds the number of chess games by far.
fjfaase··on Show HN: Open-source private home security camera system (end-to-end encryption)
Are there also open-source solutions without dependency on server in the cloud and that depend on internet connection? I am looking for a total home solution where I can communicate with doorbel through laptop with headset.
fjfaase··on Everything in C is undefined behavior
Is comparing a signed integer with an unsigned integer UB? I resently wrote some code and compiled it with gcc to x86_64 (without optimization) that returned an incorrect answer.
fjfaase··on Nobody Pushed Back: Why Engineers Stay Silent Until It's Too Late
This is one of the most frustrating things as being a software engineer: working on solutions that you feel that are not going to work. In some cases, I was the one saying that a particular solution was not going to work. It did not bring me any good.
fjfaase··on Eight More '8-Bit Era' Microprocessors
This might have been the PDP-11.
fjfaase··on Eight More '8-Bit Era' Microprocessors
Question: I once heard somebody talk about a micro-controller (with a minimal instruction set) where every register could be the program counter. It did not have jump or call instructions. You had 'emulate' those with the instruction (possibly conditionally) that changed the assignment of the program counter to one of the instructions. If I am not mistaken, it had eight registers. Does this ring a bell?
fjfaase··on I made a simple, free family tree app that handled my 300 person, 5 gen. family
What about privacy? Maybe not everyone wants to share his information with every far relative that you might never have met or twenty years ago when your grandmother died and you already have become a grandparent as well.
fjfaase··on Debunking the CIA's “magic” heartbeat sensor [video]
I think the link must be https://www.youtube.com/watch?v=SVTPv4sI_Jc
fjfaase··on Embedded Rust or C Firmware? Lessons from an Industrial Microcontroller Use Case
I find this a bit disappointing. Why not publish it with the preprint. Now we have no way to establish the quality of the two solutions or whether it is even possible to improve one of the solutions. I wonder why the C variant could not implement a JSON parser without malloc and free, while the RUST variant could.
fjfaase··on Embedded Rust or C firmware? Lessons from an industrial microcontroller use case
Really strange the the C JSON parser has to use malloc where the RUST version does not. As if it is not possible to write a JSON parser in C that does use malloc. I presume that the syntax of the commands that the device will accept is known, and than there is no reason why you have to build a DOM of the JSON before you can process it. Apparently, the RUST version can do it. I really begin to question the abilities of two teams if the one team failed to implement a JSON parser solution without using memory allocations.
fjfaase··on Ask HN: Who wants to be hired? (May 2026)
Location: Enschede, The Netherland

Remote: Yes, also onsite (within biking distance)

Willing to relocate: No

Technologies: C, C++, C#, embedded, compilers

Résumé/CV: https://iwriteiam.nl/FransCV.html

Email: See CV

fjfaase··on Running Bare-Metal Rust Alongside ESP-IDF on the ESP32-S3's Second Core
I think you can run a single task on core 1 without interference if you give it the right priority (and disable some things).
fjfaase··on The Knight Programming Language
I developed a similar language as an intermediate language for a C-compiler that I wrote. It uses reverse Polish notation instead of Polish notation [1], because it is easier to compile reverse Polish notation to machine code. I call the language Stack-C. See [2]. There are 32 bit and 64 bit compilers for x86 assembly and there is a memory safe interpreter for the language with a (rather limited) built-in debugger.

[1] https://en.wikipedia.org/wiki/Polish_notation

[2] https://github.com/FransFaase/MES-replacement/blob/main/Stac...

fjfaase··on A programmable watch you can actually wear
It had a Bosch motion sensor with AI abilities it says in the description.
Page 1 of 31Next →