HNHacker News
TopNewBestAskShowJobs

edejong

3,467 karma · joined August 16, 2013

[ my public key: https://keybase.io/edejong; my proof: https://keybase.io/edejong/sigs/dbfU-EzZZVtdlJm9N_urPCOxlJ3jNcPU-08trjAA5F8 ]

hnchat.com:QC6b1eMuHsLMnBE6wPaw

submissionscomments
edejong··on Things they didn’t teach you about software engineering
Because there is more to life than coding? Family, friendship, health, leisure… Other professionals actively try to separate these from their daily duties, regardless of whether they like their jobs.
edejong··on More developers use Linux than Mac, according to 2022 StackOverflow survey
I’m using it too, but it is very unreliable. I need to restart the program often once a day.
edejong··on Bike Frame Stiffness
I’m 100% Dutch. I ride road bikes and commuter bikes. I’ve never in my life seen a steel commuter bike break like that. They rust, they bent and they scratch, but they won’t break. Or maybe if you buy a very iffy brand?

As a road cyclist I go 30-50 km/h with a helmet. And as a commuter I’ll keep a moderate 20 km/h without a helmet. Big difference in terms of kinetic energy.

edejong··on China state CCTV avoids crowd close ups at the World Cup
Zero policy is also co-existence. The choice is not binary, but a sliding scale based on a risk assessment.

Now it is known that reinfections incurs additional risk for long term disability, it makes sense to take measures to reduce the risk of infection.

edejong··on China state CCTV avoids crowd close ups at the World Cup
* Mild Covid is linked to brain damage months after [1][2]

* Here is a collection of threads describing all the possible negative influences COVID has on the cardiovascular system, the brain, kidneys and the autoimmune system. https://twitter.com/laurieallee/status/1521178772023652352

[1] https://www.nbcnews.com/health/health-news/long-covid-even-m...

[2] https://www.nature.com/articles/s41586-022-04569-5

edejong··on I/O is no longer the bottleneck
"Optimised" code according to the author. What can we do to optimise further?

- Read file in one thread pool, streaming the chunks to...

- ...another thread pool, tokenise, count, sort the chunks and send them to ...

- ... merge in another thread pool. (basically map-reduce).

- please stop malloc'ing for each token

- prealloc map for found tokens (better to just allocate room for 200k words).

- SIMD would optimise your inner-loop quite a lot. However, there are optimised libraries for this, so you don't have to write this yourself.

- `word = append(word, c)` <= this is very slow

Why is there no profiling? Why don't you check how the compiler interpreted your code and benchmark the subparts?

In addition, there are at least some errors in your optimised program:

- you can't lower-case by substract like you do. Non-ascii characters would fail.

- also you can't tokenising by comparing with c <= ' '. There are many characters which would break a string. See this exercise: https://campus.datacamp.com/courses/introduction-to-natural-...

edejong··on Why Domain Driven Design?
You might become interested in actor systems.
edejong··on Silicon Valley layoffs aren’t a cost-cutting measure. They’re a culture reset
FTR, I read this thread. You’re 100% right but probably misunderstood because new generations have not known anything else.

To me, when employees took company healthcare insurance in the US as a perk, I think the problems began. It’s worse than infantalising. It is creating servitude. “Work, lest thou looses their primal needs of bodily integrity.”

edejong··on Over 16k people still use a Pebble smartwatch
The watch faces were something else indeed. Creative, funny and very geeky.
edejong··on Over 16k people still use a Pebble smartwatch
The Pebble 2 was released to the backers of the Kickstarter campaign. I've had 3 different ones over the years (all of them eventually broke down)...

(correction, I lost one because the band snapped and the watch dropped into the sea).

edejong··on Over 16k people still use a Pebble smartwatch
Yeah, although the Garmin Fenix 7 is an awesome watch, especially as an amateur athlete, it is ** expensive.

Features from the Fenix 7 which I value over Pebble (apart from the obvious):

- Materials: titanium and sapphire. Means it is indestructible. Great for hiking expeditions.

- Garmin Connect (SaaS fitness community).

- HRV (Heart Rate Variability).

- Regular, well tested updates.

Stuff that I miss:

- Hackability (I want to transfer my data directly to InfluxDB)

- Thickness (14.5 mm, which is 5 mm more than the Pebble)

- Community

edejong··on Over 16k people still use a Pebble smartwatch
Yes. I had to look it up, because I always control my music via the headphones. https://www8.garmin.com/manuals/webhelp/fenix66s6xpro/EN-US/...

(and confirmed for iPhone)

edejong··on Over 16k people still use a Pebble smartwatch
There still is no good replacement for these properties of the Pebble 2 smartwatch:

- > 7 days battery life

- HR monitor (useful as a sports watch)

- < 10 mm thickness

- toned down to fit different clothing styles

- hackable

- high-contrast, always-on screen

- buttons

I am currently wearing a Garmin Fenix 7 Sapphire sportswatch, which comes close.

edejong··on Largest score declines in NAEP mathematics at grades 4 and 8
Interesting study. I read most of it and couldn't immediately find any big mistakes. Unfortunately, the study does not compare official government tests.

In addition, the study compares up to Q1 2021 (average would be feb 2021). By then it had 580k confirmed COVID cases on a population of 10 million (5%) and it was in the middle of the first large wave.

Personally, I think the study is not 100% convincing, but important to position within a larger frame of evidence.

edejong··on Largest score declines in NAEP mathematics at grades 4 and 8
Unfortunately, it was terribly ineffective for that purpose. We closed them to reduce peak hospital admissions in the older population.
edejong··on Largest score declines in NAEP mathematics at grades 4 and 8
Although it is easy to attribute this to school closures, we should not dismiss the possibility of these results being caused by brain damage from (repeated) COVID infections [1, 2, 3].

[1] Douaud, G., Lee, S., Alfaro-Almagro, F. et al. SARS-CoV-2 is associated with changes in brain structure in UK Biobank. Nature 604, 697–707 (2022). https://www.nature.com/articles/s41586-022-04569-5#citeas

[2] https://www.frontiersin.org/articles/10.3389/fnins.2022.9921...

[3] https://neurosciencenews.com/covid-microglia-21676/

[3] https://link.springer.com/article/10.1007/s00415-022-11398-z

edejong··on Ask HN: Why is Microsoft Teams still so bad?
Totally not my experience. I had long, uninterrupted conversations with my (now) wife. Daily. During my studies I organized group meetings with dozens of participants without many problems. Skypes original decentralized network design was genius.
edejong··on Long Covid, Cognitive Impairment, and the Stalled Decline in Disability Rates
As a software engineer I have a wide variety of tests to my disposal. Still, there are things which I would not be able to test for. EM interference between chips in a data center. Row-hammer attacks. Clock jitter. My running processes would fail, but there is no way for me to prove a specific cause.

So we search deeper. And sometimes we find something: https://mylongcoviddiaries.medium.com/i-finally-have-a-diagn...

edejong··on Long Covid, Cognitive Impairment, and the Stalled Decline in Disability Rates
I would be in camp #2 as well, was it not that we are discovering tests showing evidence of Long COVID. See for example this blog from a long hauler: https://mylongcoviddiaries.medium.com/i-finally-have-a-diagn...

There seems to be evidence that tiny blood clots are causing the wide variety of symptoms. https://worldfreedomalliance.org/au/news/could-tiny-blood-cl...

edejong··on As TikTok grows, so does suspicion
> What people think is a threat and what is a threat are completely 2 different things.

Meaningless. A threat is by definition subjective and context dependent.

> First of all average people's opinions outside of western democracies are meaningless because those people don't have access to education or information to form any real opinions.

Get off your high horse. Most of the world have a terrible opinion of the US just for the arrogance you just showed. The US education system is in shambles, the divide between can and can't do is the one of the highest in its GDP class. Poverty is just a broken leg away.

> Second of all at least the first research is more or less a complete lie. In Finland people have throughout the history without a doubt kept Russia as the biggest threat.

Russia is seen as a big threat by the Fins. However, in the next conflict: who will supply the arms? Who will benefit the most? Who is likely to incite?

> 3rd, even if we assume that it isn't would be pretty fun to ask those same people the same question again. Finland, Sweden, Australia and Ukraine are begging for the help of US now that the curtains have opened and Russia and China have either started a war already or are threatening to start one.

Fun?

edejong··on Why roller coaster loops aren’t circular anymore
We have a very substantial part of the population becoming chronically ill after an infection of a disease labeled “mostly mild”, yet we decided low-key interventions such as masking and air filtration are not worth it.
edejong··on Probiotics can support the effect of antidepressants
Probiotics are not necessarily low risk when used during or after antibiotics usage.

Quoting directly from [1] "Effect of Probiotic Use on Antibiotic Administration Among Care Home Residents: A Randomized Clinical Trial"

"...participants who were randomized to the probiotic group were administered significantly more antibiotics for lower respiratory tract infections, had small but statistically significant lower self-reported generic well-being/capability scores at 3 months, and a prespecified sensitivity analysis found a significant increase in cumulative systemic antibiotic days.

These findings should be interpreted with caution, given multiple testing. However, this study does not rule out harm from probiotics. Certain probiotics may delay the return of the host gut microbiome to its normal state after antibiotic treatment,[2] and a retrospective single-center study found probiotic exposure was associated with C difficile infection in hospitalized patients.[3]"

[1] Butler CC, Lau M, Gillespie D, et al. Effect of Probiotic Use on Antibiotic Administration Among Care Home Residents: A Randomized Clinical Trial. JAMA. 2020;324(1):47–56. doi:10.1001/jama.2020.8556

[2] Suez J , Zmora N , Zilberman-Schapira G , et al Post-antibiotic gut mucosal microbiome reconstitution is impaired by probiotics and improved by autologous FMT. Cell. 2018;174(6):1406-1423.e1416. doi:10.1016/j.cell.2018.08.047

[3] Carvour ML , Wilder SL , Ryan KL , et al. Predictors of Clostridium difficile infection and predictive impact of probiotic use in a diverse hospital-wide cohort. Am J Infect Control. 2019;47(1):2-8. doi:10.1016/j.ajic.2018.07.014

edejong··on Dutch scandal serves as a warning for Europe over risks of using algorithms
Would a promotion (or not losing your job) count as a gain?
edejong··on I use a hair dryer to make roast chicken (2018)
The article describes a nice hack and doesn't disrespect the audience. I guess that's why it gets upvoted.
edejong··on Bugs in Hello World
Correct solution:

  printf '#include <stdio.h>\nint main() { return printf("Hello world!\\n") && fflush(stdout); }\n' | cc -xc - && ./a.out > /dev/full && echo "Success\!"
edejong··on Ask HN: What was better in the past in tech?
"I can use the shell" != "I can write shell scripts"

Bash is really difficult to write well (if at all) and too many people don't appreciate this. Of course this leads to instability in shell scripts. Offender number 1? Dockerfiles!

edejong··on Vitamin D supplementation reduces autoimmune disease risk in trial findings
It’s an RCT. What will those measurements contribute? In addition, it is likely the measured serum levels will be lower because they are used up.
edejong··on Vitamin D supplementation reduces autoimmune disease risk in trial findings
I would like to take time to debunk that whole article, but let's just focus on the article [1] I shared and to debunk his argumentation for the preprint article [2].

To begin with, you have to understand that the vitamin D3 supplement we take is usually cholecalciferol, which is metabolised by our body over a period of weeks into calcifediol. The key takeaway is that the usual supplement takes weeks to be effective.

The RCT in article [1] is so strong because it supplements calcifediol at hospital intake, meaning the supplementation is immediately effective. So you can see that as a proxy for having supplemented with normal vitamin D for a couple of weeks prior.

In article [2], the one he is promoting, cholecalciferol (normal vitamin D) is supplemented. This means it is unlikely that it will have a significant effect during the first weeks of admission.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7456194/

[2] https://www.medrxiv.org/content/10.1101/2020.11.16.20232397v...

edejong··on Vitamin D supplementation reduces autoimmune disease risk in trial findings
There are many reasons why it's not that simple.

1. We need to dress up to go outside, exposing only minimal amounts of skin.

2. People of color produce less vitamin D (most likely due to skin pigmentation).

3. Pollution and shadows significantly reduce UV light within cities.

edejong··on Vitamin D supplementation reduces autoimmune disease risk in trial findings
Podcasts, Twitter, Youtube, Fauci (informally): yes. Official medical recommendations: none that I am aware of.
← PreviousPage 3 of 29Next →