HNHacker News
TopNewBestAskShowJobs

sbergjohansen

28 karma · joined June 27, 2018

Came for the links, stayed for the comments
submissionscomments
sbergjohansen··on Show HN: Learn where countries are on the world map with Spaced Repetition
Agreed, I love the app but would prefer to be drilled more frequently on misses and less frequently on first-time hits.
sbergjohansen··on Show HN: Learn where countries are on the world map with Spaced Repetition
Second this
sbergjohansen··on Server-Sent Events (SSE) Are Underrated
Previous related discussion (2022):

https://news.ycombinator.com/item?id=30403438 (100 comments)

sbergjohansen··on Procrastination and the fear of not being good enough
To anyone interested in further exploring this theme I warmly recommend "The Courage to be Disliked" by Kishimi and Koga.
sbergjohansen··on Debian’s “secret” sauce
Thanks, I had been wondering about that! Lots of good info in this article.

Edit: The article is about Debian's packaging and distribution process.

sbergjohansen··on Many WhatsApp accounts with Iranian numbers are disabled, even outside of Iran
Any update on this 24h on?

It would be really interesting to understand whether Meta is playing an active role in blocking the use of Whatsapp for users with a particular country code, but who are currently outside the affected country (as some trending but unsubstantiated posts on LinkedIn/Twitter allege), or whether it really is that easy for a single government to block the service globally for a subset of its users.

sbergjohansen··on Vifm: A Vim-like file manager
vifm allows you to rename multiple files in bulk by opening a temporary file containing one filename per line in actual vim.

Edit: apparently ranger has this feature, too.

sbergjohansen··on Ask HN: Teach me something new
!! substitutes the last command:

  sudo !!
and

  cd -
takes you to the previous directory.
sbergjohansen··on Server-sent events, WebSockets, and HTTP
Also, when using an nginx reverse proxy, including 'X-Accel-Buffering: no' in the HTTP header of the server response may be required to keep events from being buffered.
sbergjohansen··on Mystical Experiences of Arthur Koestler (1954)
Unfortunately, I haven't read the new translation! (I was thrilled to learn of the discovery only weeks after finishing Hardy, but the whole thing receded from my attention in the three years it took for the new volumes to actually become available. I've taken this opportunity to finally order the German text.)

A 2019 LA Review of Books article [0] gives Hardy quite some credit and concludes about the new translation by Boehm:

> Despite aspects that makes this a less-than-authoritative edition, the translation itself shines. It is a smooth, gripping read, and contains passages inserted after Hardy’s translation was made, which now appear in English for the first time. New details, such as the exact song sung by Rubashov’s neighbor in prison, add freshness. Boehm corrects the chapter titles from Hardy’s “The First Hearing,” “The Second Hearing,” and so forth to “The First Interrogation,” which makes more sense in context.

[0] https://lareviewofbooks.org/article/logic-alone-all-love-lai... (previously on HN but with no comments)

sbergjohansen··on Mystical Experiences of Arthur Koestler (1954)
This is as good a place as any to mention that Koestler's long-lost original German manuscript titled "Sonnenfinsternis" was discovered in 2015 by a doctoral student digging through the archives of Zurich library. "Darkness at Noon" as known until then was a hastily completed translation into the English by Koestler's lover Daphne Hardy, available German versions being, in turn, back-translations from the English.

Both the German original and a new English translation have since been published.

https://news.ycombinator.com/item?id=18188912 (HN 2018)

https://en.wikipedia.org/wiki/Darkness_at_Noon

sbergjohansen··on Homemade Q-Switch for Solid State Lasers
This is ace. Thanks for posting.
sbergjohansen··on Satellite images of the Beirut explosion site – before and after
Note that the before/after images were taken two months apart.
sbergjohansen··on Photo Requests from Solitary
From the FAQ of the linked page:

> In general, people are sent to solitary not by a judge or jury, but solely at the discretion of prison staff. In many prisons and jails, solitary confinement has become a control strategy of first resort, although it has never been proven to reduce prison violence.

> Incarcerated men and women can be placed in complete isolation for months or years not only for violent acts, but for possessing contraband (including too many pencils or postage stamps), testing positive for drug use, ignoring orders, or using profanity. In some states, anyone who is believed to belong to a prison gang can be placed in solitary indefinitely. Other people end up in solitary because they have untreated mental illnesses, are children in need of “protection,” are LGBTQ, are people of color, are Muslim, have unpopular political beliefs, or report rape or abuse by prison officials.

sbergjohansen··on Why does `True == False is False` evaluate to False in Python? (2013)
See the comment by lonelappde, but note that the example under discussion here is actually not about `is` vs. `==` either.
sbergjohansen··on Why does `True == False is False` evaluate to False in Python? (2013)
Yes. By the time I realised my second example is redundant, it was already too late to edit the comment. Thanks for clarifying.
sbergjohansen··on Why does `True == False is False` evaluate to False in Python? (2013)
To see that this is not about precedence, evaluate the following:

  >>> True == False is False
  False
  >>> False == True is False
  False
sbergjohansen··on Ask HN: Do you have experience with school bullying?
I'm really sorry to hear what you had to go through. Thank you for sharing your experience (and to the many others who have written here). I wish you all the best in finding friends and a partner, which you definitely will. Please be good to yourself! Your nuanced writing shows your sensitivity is still there, and that's a good thing.
sbergjohansen··on An Interactive Introduction to Fourier Transforms
Right! I did assume a continuous space because that's what it looked like to me. Hence my pedantic comment which was sort of comically at odds with the light-hearted spirit of your article :) Very nice work. Thanks for sharing, and for the clarifying remarks!
sbergjohansen··on An Interactive Introduction to Fourier Transforms
At the time of writing the Gibbs phenomenon -- the overshoot occurring at discontinuities of a square wave, which does not go away no matter how many harmonics are included (see https://en.wikipedia.org/wiki/Gibbs_phenomenon) -- is not correctly represented in these visualisations, implying that important aspects of the underlying maths are obscured. In my opinion this limits the didactic value of an otherwise impressive presentation.
sbergjohansen··on Ask HN: What's the best documentation you've ever read?
I've always admired Agilent's Programmer's Reference for the ESA series electronic spectrum analyzers http://literature.cdn.keysight.com/litweb/pdf/E4401-90507.pd...