HNHacker News
TopNewBestAskShowJobs

jks

564 karma · joined June 20, 2011

submissionscomments
jks··on Norway Is the Only Country with Public Tax Returns (2018)
In Finland newspapers get the data and run their own search engines of the highest earners. For example:

https://verokone.hs.fi/

jks··on Microsoft confirms Exchange Year 2022 problem
> Why is anyone using two-digit years

Because with four-digit years this kind of date would never have fit into a signed 32-bit integer. Incidentally, this shows that the timestamp was taken into use after Y2K, since none of the pre-millennium years would have fit.

jks··on Consider SQLite
Litestream does streaming backups using a separate process: https://litestream.io/
jks··on Ask HN: Why have we accepted the cookie pop-up situation across the web?
In Finland, the law implementing the GDPR used to be interpreted so that browser settings were enough to opt out of cookies and you just had to inform the user about what cookies you were setting. This interpretation was suggested by Traficom (the government office in charge of traffic and telecommunications). Some individual complained to the Helsinki Administrative Court, which issued rulings (H1515/2021 and H1516/2021) stating that this interpretation is incorrect - as far as I understand, this is because browser settings cannot differentiate between necessary and optional cookies. The new Traficom advice requires the same annoying pop-ups as everywhere else in the EU.

But I agree it shouldn't technically be too hard to standardize the settings so that your browser could communicate to each site what the user consents to. The hard part is enforcing compliance - we already had Do Not Track, which had very little effect.

jks··on Goodbye Brave
There is e.g. https://www.ethicalads.io/ which I have chosen to allow in my uBlock Origin settings, since their ads aren't too obtrusive and they (at least claim that they) only target ads using IP geolocation and site keywords. But I'm sure it's hard for them to grow their business, since most people in the target audience will probably be using an ad blocker in which they will have to make a specific exception.
jks··on Ask HN: Please Give Me Advice
Sleep problems may be a symptom of depression, but they may also be the cause of depression. You could try finding a sleep physician or a CBT-I therapist.
jks··on Getting a Computer Science PhD in the USA
I (as another European) associate it with the excellent CMU Common Lisp.
jks··on Bestline: Light self-contained readline alternative
In modern Emacs versions the top of the kill ring can be found in the Edit menu, and there are other packages to help navigate it: https://www.emacswiki.org/emacs/BrowseKillRing

I agree that the ancient terminology is a problem with Emacs. People who are used to Emacs don't want to change it, but it is alien to all new users. Funnily enough, in vi (a competing old text editor that predates current UI standards) "yank" means "copy".

Another example is "window" and "frame", which mean the opposite that you would think if you have used any modern windowing system. A similar problem (that is not strictly about terminology) is the way "undo" works. It is more powerful than the standard undo/redo system, but it can be very confusing when you encounter it the first time. Repeated "undo" commands work the way they do in other programs, but once you run any other command, the undo operations go in the undo history just like other commands and are themselves undoable, so the way to cancel an undo operation (which is called "redo" in many other programs) is to type some character and then run "undo" twice.

jks··on Bestline: Light self-contained readline alternative
The terminology comes from Emacs:

https://www.emacswiki.org/emacs/KillingAndYanking https://www.gnu.org/software/emacs/manual/html_node/emacs/Ki...

The basic idea is that your clipboard ("kill ring") can contain many entries, so you can kill several lines (or words, sentences, functions, what have you) and then yank them back at other locations. Yanking copies the most recently killed text, but you can use another command to replace it with previous entries until you find the right one. Thus you don't have to fear losing the clipboard while performing intermediate operations.

Readline-type libraries typically implement a small subset of the Emacs kill-ring features, so you really need to try Emacs to appreciate the full range of the concept.

jks··on Bestline: Light self-contained readline alternative
This library is a fork of Antirez's linenoise, so it's perhaps not only an inspiration but a quality that the code had to begin with, which the author of the fork declares that she intends to preserve.

The linenoise README mentions "sensibility for small easy to understand code". It's not really explained further in the README, but I suppose the point is that you can read the ~1200 lines of source code and get a feel for it yourself.

jks··on What if Bitcoin went to zero?
Usually not, with some exceptions: https://www.economist.com/frequently-asked-questions
jks··on Looking into Zig
They're discussing this in https://github.com/ziglang/zig/issues/910 (server) and https://github.com/ziglang/zig/issues/2007 (client).
jks··on Discord Launches Threads
I have liked Zulip's threads (they call them "topics") best: https://zulip.com/help/about-streams-and-topics
jks··on Ask HN: Looking for Emacs org-mode tutorial videos by women
I have a different but related question: are there org-mode tutorials, by presenters of any gender, that show how they actually use org-mode as part of their workflows? I've seen enough tutorials where you are shown how to make

  * headlines

  ** in a hierarchy

  * and back to level 1

  1. and numbered lists
  2. [ ] and clickable items
...and all the other features, but I would be interested in seeing what kind of improved workflows or routines are enabled by using org-mode in some actual work.
jks··on Ask HN: Why there are so many ads on YouTube?
I like to think that the ads help me moderate my Youtube usage. When someone sends me a Youtube link and I open it instinctively, I now have approximately half a minute to decide if I really want to waste my time and attention on it. A lot of the time I decide I don't, and so the ads turn out to be useful for me.
jks··on Justified Variables: Words of the same length with related meanings
It could work by adding a new alignment tab character, like & in TeX. TeX tables look like

    name & value & comment \\
    long name here & 1 & one\\
    x & 2 & two \\
and the columns line up at the & characters by adding suitable whitespace. Imagine some control character that you could insert in source code:

    next&Ancestor &= current->next;
    previous&Ancestor &= null;
and the corresponding parts would line up in consecutive blocks, like elastic tab stops but even inside words by stretching the existing whitespace around the words.
jks··on When did “disturb” became the default mode?
The friendly people from Windows Technical Department keep calling me at various times of the day and night to tell me about the malware I supposedly have on my computer. I now ignore all calls unless I know the number or am expecting a call from a doctor or similar.
jks··on eBPF Is Awesome
If you're using an old enough MacOS X (I think 10.12 or older), DTrace has similar functionality. Unfortunately it has been broken in recent MacOS versions, at least unless you disable SIP.
jks··on How to force yourself to leave the computer using the leave command
Freedom (https://freedom.to) sounds like the app for this need.
jks··on How to deal with extreme physical pain
I know the feeling. The most annoying discussions in my experience go something like this:

"Why aren't you coming to the company party?"

"Because that would likely exacerbate my chronic headache and I might be unable to work for several days."

"Oh wow, is it that bad? Have you tried acupuncture? My cousin had a headache and that really helped..." And a few minutes later: "Come on, the party will be fun, how bad could it be?"

I've learned to manage my condition well enough that people generally don't notice any problems. I've probably tried any remedies you can come up with, and so far the best way to cope is to live a boring life and go to bed at the same time every night after a peaceful evening. But because I'm not writhing in pain during the conversation, some people seem to think that I'm just coming up with excuses to not come to their party or whatever they are asking me to do.

jks··on Delete Facebook and You'll Lose All Oculus Games for Good
How will you know the next headset doesn't get bought out by Facebook? I think my minimum requirement now would be a guarantee of all my money back if the company is acquired by Facebook.
jks··on A bank security check that leaves you guessing your own name
Donald Knuth used to write checks in hexadecimal amounts to people who reported errors in his books (I have $7.68) but had to stop because people post photos of the checks online and the numbers printed on them can be used for fraud.
jks··on Oatly: The New Coke?
Finn here, yes it's normal to drink milk. When I was growing up, the school lunch hall had big posters about how milk is important for your health.
jks··on Five Buck Fatigue
I would like to see ads on websites, just not the terrible ads that almost all of them are. So far I have unblocked ethicalads.io, which has ads mainly on readthedocs.io but I recently noticed their ads on some blog site. Perhaps as browsers implement tracker blocking, there will be more space for this kind of ad networks.
jks··on Independence, autonomy, and too many small teams
In Finland we have family pizzas too, and then there is the extended family pizza, which allows a whole Nokia department to be a two-pizza team: https://translate.google.com/translate?sl=auto&tl=en&u=https...
jks··on Small mail server best current practices
Addendum: if you host a mailing list server such as Mailman, you'll need to do one of (1) don't change the content or DKIM-signed headers at all (e.g. by adding Subject tags or unsubscribe instructions); (2) rewrite the From: header so that you don't look like you are impersonating the individual senders; (3) use ARC [https://en.wikipedia.org/wiki/Authenticated_Received_Chain] signatures. I don't know if Gmail and the other big providers actually honor ARC headers yet, but if they ever do, that would seem to be the cleanest solution if you need to add unsubscribe instructions or similar banners.
jks··on Facebook's employees reckon with the social network they've built
Google Reader had a limited kind of social networking where you could comment on the articles and your friends saw the comments if they were subscribed to the same feed, but there were no replies to comments and they never got outside your contacts. No popularity contests with Like buttons or similar.
jks··on Keys.pub – Manage cryptographic keys and user identities
I stopped using Keybase when they started sending me cryptocurrency spam.
jks··on Tips for Mathematical Handwriting (2007)
Apparently set theorists weren't satisfied with Greek, Fraktur or blackboard bold, so they use (at least) aleph and beth from Hebrew.
jks··on Tips for Mathematical Handwriting (2007)
To write the lowercase xi and zeta, I imagine that I am looping around the horizontal bars in the corresponding uppercase letters, and they tend to come out approximately right.

I remember a Greek-born colleague writing the uppercase Omega as just an underlined letter O. I suppose that shape is probably the idea behind the flourishes in the typeset Omega.

← PreviousPage 5 of 7Next →