HNHacker News
TopNewBestAskShowJobs

fjfaase

2,267 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 Pesntester that want's to live in NL
Many, especially IT companies, have no problems with hiring English speaking employees. English is a mandatory subject in highschool and many Dutch are fluent in English, which is often mentioned as an important stumbling block for foreigners to learn Dutch because people switch to English so easily when they notice you are a foreigner.
fjfaase··on Show HN: Watch babies being born worldwide on the live Baby Map – babymap.org
Would be more interesting to me, if it would also show deaths and migrations to show the growth or decline of the population of counties.
fjfaase··on Why I write recursive descent parsers, despite their issues (2020)
I recently wrote a small C compiler that uses a recursive decent parser while this should not be possible if you just look at the syntax grammar. Why, because it looks at some semantic information about the class of identifiers, whether they are variables of typedefs for example. On the otherhand this is not very surprising, because in the days C was developed, easy parsing was a practical implication of it not being an academic research thing, but something that just had to work.

Recursive decent parsers can simply be implemented with recusive functions. Implementing semantic checks becomes easy with additional parameters.

fjfaase··on Tram Trains
See https://en.wikipedia.org/wiki/Tram-train for a more extensive list of tram train solutions world wide.
fjfaase··on The benefits of trunk-based development
After having worked four years with trunk based development and enjoying it very much, I worked on a project were it was required to have one branch per feature for review purposes. It caused lots of delays, temporary work arounds, merge conflicts, moving changes between branches, bugs being introduced, due to reviews being delayed. I got the impression it made development twice as slow and did not improve code quality.
fjfaase··on Only Yours: a bold new approach to typography based on unique variants
I recently started reading 'Designing Type', which takes you starting from the 'O', through all the decisions for designing a font, and I was wondering if it would be possible to produce a font from a set of parameters. It looks like someone already has done this. Very interesting!
fjfaase··on Logical implication is a comparison operator
So, in Visual Basic one can use '>=' for imply.
fjfaase··on Logical implication is a comparison operator
This assumes that the value of true is larger than false. In Visual Basic true is equal to -1, the signed two-complement value were all bits are set.
fjfaase··on 1993. Despite all of the problems with VB, it was So Much Fun
In some sense VB was ahead of time with its 'automatic' event mechanism and it total transparent interproces communication based on the fact that all objects are COM objects. No need to use JSON or protobuffers when sharing an object among processes, because of the automatic marshalling that was done when calling a method on an object from another process.

Most of this got lost when VB.NET was introduced.

fjfaase··on Is the Interstellar Object 3I/Atlas Alien Technology?
According to wikipedia 3I/ATLAS has an inclination of 175.11±0.0003°, which means that it is not at all moving close to the ecliptic plane. Most gravitational bound objects beyond Neptune are not in the ecliptic plane.
fjfaase··on Against Single-File Codebases
Almost all of my hobby project programs are in a single file. With right use of comments and organisation of data structures and functions it is not much different than dividing the code into multiple files. I often have multiple views on the file open, just like you would with multiple files.
fjfaase··on Is the Interstellar Object 3I/Atlas Alien Technology?
A lot of arguments are based on the supposed 'strange' orbit and not so much on any physical evidence. Feels very speculative to me.
fjfaase··on Trump sues Corporation for Public Broadcasting directors who refused to be fired
It is important to realize that many MAGA voters did not vote for Trump for what he does for them but what he does against others. These voters do not see him as a savior that saves them, but as one that fight on their side against those they perceive as their enemies (whether real or imagined). They are willing to suffer for him as long as they get the idea that their enemies suffer even more. It is a common technique among authoritarian leaders.
fjfaase··on Hacking Coroutines into C
I have used this approach, with an almost similar looking define for YIELD myself.

If there is just one instance of a co-routine, which is often the case for embedded software, one could also make use of static variables inside the function. This also makes the code slightly faster.

You need some logic, if for example two co-routines need to access a shared peripheral, such as I2C. Than you might also need to implement a queue. Last year, I worked a bit on a tiny cooperative polling OS, including a transpiler. I did not finish the project, because it was considered too advanced for the project I wanted to use it for. Instead old fashion state machines documented with flow-charts were required. Because everyone can read those, is the argument. I feel that the implementation of state machines is error prone, because it is basically implementing goto statements where the state is like the label. Nasty bugs are easily introduced if you forget a break statement at the right place is my experience.

fjfaase··on Quantum Entanglement in Your Brain Is What Generates Consciousness
I am aware of this. But the entanglement of photons in nerve cells can only go as far as one nerve cell, because between cells the signaling is based on chemicals that flow through some liquid. The signaling is not even electric. One nervecel releases some pockets with neurotransmitters and the other cell has receptors for those, causing an electric signal to start in that cell. This breaks any meanigful entanglement due to the very bad signal noise ratio.

So, I was given an example of another quantum effect as an example. If there is some entanglement in nervecells, it might as well occur in plant cells, because they have a common ancestor.

These kind of articles wash over the signal noise ratio. Your phone does pick-up WiFi signals from tens of kilometer away, yet you hardly ever establish a connection with them, because there are so many other stronger signals. Only in some very specific setup is this possible, like we are still able to communicate with the voyager probes, one of which is now more than a lightday away.

fjfaase··on Quantum Entanglement in Your Brain Is What Generates Consciousness
Yet the signaling between nerve cells is through chemicals, neurotransmitters, being released. The working of transistors in CPU's is also based on quatum effects, so, following the same reasoning, they could be conscious as well. And many processes in plants, photosyntesizes, are based on quatum effects, so, for that same reasoning, plants and trees could be conscious.

I think the use of quatum mechanics here, is like 'god(s)' was/were used in the past for explaining things we do not understand or seem magical.

fjfaase··on Why Is Fertility So Low in High Income Countries? (NBER)
That is true and there are also stipend that allow you to cover cost of basic living. But that is not true in all European countries, such as the Netherlands.

There are not many students that raise a family at the same time or earn a income sufficient for supporting a family.

fjfaase··on Why Is Fertility So Low in High Income Countries? (NBER)
In the Netherlands, higher education used to be free and supported with a reasonable stipend, but in the past decades, students have to pay a few thousands of Euro to attend education and the stipend are no longer sufficient to cover costs of living. So, instead of earning an income sufficient to start a family they have to make extra costs for about half of that. If they do not have rich parents that can support them, they have to have jobs (often causing extra delays) or borrow money. Both of the latter causes delays in when they can start a family. I have some colleagues who are not able to buy a house due to the debts they have. Although the interest rates for these debts are low and rules with respect to paying the debs are relaxed, the banks still take them into account when applying for a mortgage.
fjfaase··on Why Is Fertility So Low in High Income Countries? (NBER)
In high income countries, you have to provide your child with higher education to have a competitive income. Because education is expensive, having more children makes it impossible to give them a good education. On top of that higher education occurs during the period that humans are the most fit. Fitness and fertility rates drop quickly after the age of 30.
fjfaase··on The Yellow Milkmaid Syndrome – paintings with identity problems
Art museums have a very bad reputation with respect to the light. Many of the classical art works were made by day light, but hardly any art works are displayed in day light, often for the fear of UV light causing damage to the paint. Museums are known for using yellow light (between 3000 and 4000K) where daylight is between 5000 and 6500K, this because some experiment showed that visitors preferred the more yellow light for indoor exhibitions. Non dimmed halogen lamps are the best for imitating daylight. These are now replaced by LED lights that claim to be daylight but have spectra with spikes causing some paint mixtures that look the same under daylight as different colors. Also these LED lights are often weak in the IR to red range, cause all red paints to appear dull.

Even if digital pictures of art works are taken with halogen lamp set to 6000K the pictures might look very different from what people are expecting them to be, because they differ so much from the light conditions that these are works are put on display.

fjfaase··on Diffsitter – A Tree-sitter based AST difftool to get meaningful semantic diffs
Discussed before on https://news.ycombinator.com/item?id=27875333
fjfaase··on Code and Trust: Vibrators to Pacemakers
Vibrators might have killed more people than pacemakers, because Whenever you use a vibrator it could put pathogen in places that could lead to a fatal infection or cause cancer. There are many more people using vibrators than that have pacemakers installed and for vibrators there a less strong requirements with respect to safety and proper use.
fjfaase··on Code and Trust: Vibrators to Pacemakers
I know someone who developed medical devices, not as critical as pacemakers, and he kind of boasts that he probably killed (as in caused premature death of) some people, but also extended the life of many many more.
fjfaase··on Texas Flood Challenges Faith
These kind of natural disasters happen all over the world, some with much higher numbers of causulties. And then there are also human caused disasters and wars with large number of casualties. This disaster is probably a combination of both natural and human causes.
fjfaase··on Proving P ≠ NP via Categorical and Graph-Theoretic 3-SAT
Maybe you should look for a more math oriented platform. There are regular postings here on the NP vs P problem from, often first time authors, claiming to have solved the problem. Usually, these are not taken seriously and mostly not discussed with respect to their content. Sometimes, if someone does take the effort to study the actual math, serious flaws are pointed out.
fjfaase··on Ask HN: I am looking for compression(ZIP), but for photo(.png/.jpg)?
If the images are rather similar you might try to make a movie of them or an animated gif.
fjfaase··on Ask HN: I am looking for compression(ZIP), but for photo(.png/.jpg)?
Indeed, a PNG file is a kind of ZIP file specifically tailored for images that is lossless in the sense that no information of the original image is lost.

A JPG file is a kind of ZIP that leaves out some information from the original image to even achieve higher compression rates.

Apply another compression algorithm to already compressed files, usually does not result in any reduction of the file size and likely even could make the file larger. As fun fact is that ZIP, when fed with absolutely random data, will result in a larger file, namely by adding some information to the file to tell that it could not be compressed any further.

fjfaase··on The 1960s schools experiment that created a whole new alphabet
I have no trouble reading the fragments shown. I learned English as a second language as someone with a form of dyslexia that makes you struggle with spelling. The spelling of English is not very fonetic and even nowadays I sometimes use Google to look-up the spelling of a word or struggle with the correct pronouciation of certain words. A more fonetics based spelling would greatly have helped to learn the language.

Fonetic based spelling also have there problems brcause languages constantly change and there are often local variations with different pronounciations.

fjfaase··on Seven Heresies of "Rationality"
I wonder in as far as point 6 is influenced by the American christian culture that atheist are amoral by definition, where in Europe being without faith does not automatical make you amoral.

I also think it is important to read about rescent science with respect to the brain and consciousness. I also think about the books by Frans de Waal, that make you realize we are not that apart as a species from other animals.

fjfaase··on Solve high degree polynomials using Geode numbers
For earlier discussion see: https://news.ycombinator.com/item?id=43869093
← PreviousPage 8 of 32Next →