HNHacker News
TopNewBestAskShowJobs

jks

564 karma · joined June 20, 2011

submissionscomments
jks··on The shell and its crappy handling of whitespace
shellcheck can remind you of most pitfalls
jks··on Emacs 29.1
My experience is the opposite: I can keep my init.el in version control, and it contains Lisp code that I can run and debug by hand if needed. If some mode doesn't work right, I can step through its code and examine its variables. If I want to know what a key combination does, I can ask Emacs and it will tell me something like "M-s l runs the command consult-line (found in global-map), which is an interactive native-compiled Lisp function in ‘consult.el’." So I know that the combination is defined in global-map, and the function is defined in consult.el, and I can easily find the code.

In VS Code it's certainly easy to install an extension. Some mystery thing happens, and there are new commands available and some programming language support might be enhanced, but it is all very opaque. If I wanted to debug the code, I have no clue where to start. I'm sure it's there somewhere but all this looks to me much less discoverable than in Emacs.

jks··on The World Wide Web (1994)
I remember reading a weekly newsletter (perhaps in email but probably on Usenet) that listed all the best new websites that had been set up. One week such-and-such university's law school had set up a site that listed their state's laws (but for the full text you still had to go to the library). I can't remember what it was called - it could have been Jerry and David's Guide, which became Yahoo, but all snapshots that I can find look more like an attempt at a comprehensive hierarchical list than a weekly "what's new".
jks··on The World Wide Web (1994)
Back when a Finnish radio channel got a website, they had an infuriating ad where they played Surfin' USA by the Beach Boys and invited everyone to come surf on their site, and read out their URL: aitch tee tee pee colon slash slash double-u double-u double-u... I suppose browsers started filling in the URL scheme pretty early, because I remember somebody arguing that you shouldn't leave it out, it could well be ftp or gopher or who knows what they invent next.
jks··on Google Groups has been left to die
Yes, but for those purposes it doesn't matter if the email features are left to die, such as the monospace fonts that don't render or the message read/unread status that's flaky.
jks··on Popular education in Sweden: much more than you wanted to know (2022)
In Finland there are "kansanopisto" that are a little like the Swedish ones described in the article but with less resources. I spent my final year of upper secondary school at one of them (https://www.paivola.fi) which hosts a math enrichment programme, but that one is quite unique.

That particular institute got started in the late 1800s to educate farmers with an ideology similar to the Swedish system of the article, but by the 1990s it had mostly language courses. (Didn't get into university? Come study Spanish for a gap year, we'll make a trip to Spain at the end.) Currently in addition to the math programme they seem to teach several subjects with a kind of unofficial arrangement with universities. (Didn't make it to law school/psychology/teacher school? Come study exactly that for a year to improve your chances in the next admissions round, with some credit probably accepted toward your eventual university degree.)

jks··on Ask HN: I hate gym. How to stay in shape?
Your description of the downsides of a gym brought to mind Reinhard Engels' "Shovelglove": wrap something soft around a sledgehammer to protect your floor. Then do shoveling and similar movements for some short period of time every weekday. He has more instructions and a video: http://www.shovelglove.com
jks··on “tipflation” and “tip creep” are sparking a backlash
Hello from Helsinki. I have a therapy lamp on my breakfast table and on my desktop at work, and it helps a tiny bit but not much. People clearly have different reactions, and I guess mine is worse than that of most people. But of course, I mainly meet people who are still capable of functioning.
jks··on Ask HN: Terminal Cheatsheets
It's not exactly a cheat sheet, but have you looked at https://tldr.sh?
jks··on How to own an airline in 3 easy steps and grab the TSA nofly list along the way
I sometimes fill in my name as [object Object].
jks··on Helsinki hospitals severely overcrowded, emergency rooms full to capacity
Some emergency rooms are full because there is no place to send patients for further care. The emergency room is not supposed to be a place to spend a lot of time, they just treat your immediate life-threatening problem and then send you either home or to a hospital bed. But when hospital beds and elderly care units are full, the patients stay in the emergency rooms.

I suspect (but do not know for certain) that part of the reason is the big social and healthcare reform that is to take place in 2023. The responsibility for arranging healthcare lies on municipalities and is going to be transferred to new, euphemistically named "wellbeing services counties". This means that each municipality loses some funds from their budget, and the amount depends on their social-services and healthcare budgets for 2022. This means that keeping the budget artificially low this year means they have more money available for other purposes next year (schools, roads, libraries, what have you).

Here's an article (in Finnish) from 2021 discussing this risk: https://www.iltalehti.fi/politiikka/a/21899c53-d959-4383-a75...

jks··on Twenty five thousand dollars of funny money
Way back in the 1990s I worked in a place where we had to use Ada and follow a strict style guide. The guide prohibited using raw numeric types (such as "unsigned int" or "double" in C-like languages) and required creating a new type (https://en.wikibooks.org/wiki/Ada_Programming/Type_System#De...) for each different quantity, such as temperature or speed. Then you couldn't assign a speed value to a temperature variable, or compare them to each other or do arithmetic, unless you specifically define what the operators mean.

It felt like a lot of busywork, but it did prevent some classes of bugs.

jks··on Releasing v1 of GPT-JT, fork of GPT-6B fine-tuned on 3.53B tokens
Perhaps first try it out at https://huggingface.co/spaces/togethercomputer/GPT-JT to see what kind of things you can do with it.
jks··on Apple is becoming an ad company despite privacy claims
https://www.ethicalads.io

I mean, I haven't audited their systems and haven't seen any reports from independent auditors, but at least they are making direct statements about privacy that the other ad networks aren't.

jks··on Apple is becoming an ad company despite privacy claims
NextDNS has a "Native tracking protection" blocklist for Apple. Looking at my logs, it has blocked iadsdk.apple.com and many subdomains, and supportmetrics, securemetrics, books-analytics-events, weather-analytics-events (all under apple.com).
jks··on What is an eigenvalue?
My favorite is the "Lemma that is not Burnside's". Also known as the orbit-counting theorem, the Pólya-Burnside lemma, the Cauchy-Frobenius lemma, and of course Burnside's lemma.
jks··on macOS Ventura is now available
Happy user of Finda here: https://keminglabs.com/finda/

Don't know if it works on Ventura, not upgrading until I know.

jks··on 98.css – design system for building faithful recreations of Windows 98 UIs
Sounds like the optimistic merging principle of the late Pieter Hintjens: http://hintjens.com/blog:106
jks··on We worked for 4 months to build a port for Stadia and today we finished it
How about this one https://twitter.com/textfiles/status/1196447880728453120
jks··on Ask HN: How to master verbal communication?
There is a language exchange subreddit where you can find someone to have Zoom calls with: https://www.reddit.com/r/language_exchange/
jks··on Document Foundation starts charging €8.99 for 'free' LibreOffice
With CentOS, Red Hat pulled a cunning move: they started supporting the project themselves, then after some time changed its direction from a repackaged white-box Red Hat to a fast-moving prerelease Red Hat. Now it's much harder for a bigger business to decide which of the CentOS-lookalikes to choose.
jks··on IFixit: Self Repair Program makes M1 MacBooks less repairable
Yes, the hard drive on a "Late 2014" Mac Mini (A1347) had died and I swapped in a SATA SSD.
jks··on The Jupyter+Git problem is now solved
Can this do three-way merge? If I have to resolve two conflicting code blocks, it is often useful to know how each of them change the code from the shared parent.
jks··on IFixit: Self Repair Program makes M1 MacBooks less repairable
I've changed parts on several Apple laptops and one Mac Mini using iFixit manuals. In every case, it was really useful to read all the comments left by readers. Sometimes the comments tell you that you can skip several steps, in some cases they point out when you need to be extra careful or when the iFixit photos were misleading.
jks··on Ask HN: Sources to learn powerful everyday useful mathematical concepts
Try Street-Fighting Mathematics by Sanjoy Mahajan: https://direct.mit.edu/books/oa-monograph/5339/Street-Fighti...
jks··on The layoffs at Klarna
> I worked for a company that didn't let people know if they where safe, for a week. A friend worked for a company that didn't let people know for 3 months.

Finland has in some respects even more stringent employment laws than Sweden. If a company is laying off people, it needs to "negotiate" with employee representatives for a set amount of time. For small companies or small layoffs, the time is two weeks, but if there are at least 30 employees and the layoff affects at least 10 of them, the negotiation time is six weeks. Companies typically say at the outset which employee groups are affected but delay the decisions about individual employees to the end. I don't know if this is by law, but I suppose that saying sooner would be an opening for a union to claim that the negotiations were not done in good faith, and possibly sue the company.

Having been a potentially affected employee on two occasions and an employee representative on one of them, let me say that waiting six weeks for the decision is not fun for anyone.

jks··on Disney surpasses Netflix in global paid streaming subscribers
They are very popular in Finland. A bit of news a few years ago was that the Finnish translation of Donald Duck had the largest readership of all weekly publications in Finland.
jks··on Will Europe Force a Facebook Blackout?
Betteridge's Law of Headlines continues to hold:

    So, how likely is it that Meta will actually pull its services from
    Europe? In reality, the chances are probably pretty slim. Meta has
    said it has “no desire” to leave the continent, going as far as
    publishing a blog post titled “Meta Is Absolutely Not Threatening to
    Leave Europe.” Europe’s 30-plus countries are a large market for
    Meta, and stopping services, even temporarily, could be costly. (A close
    comparison is when the company briefly banned news posts in Australia in
    early 2021, following a row with publishers.) While Meta may not leave
    Europe, it may have to make changes to how it stores and transfers data
    once the final decision from the Irish regulator is published, although
    there is no set timeline. It may also face a fine.
jks··on Files Transferred over Shell Protocol
Emacs has the similar Tramp, which can use various different ways to access remote files (or, in some cases, local files): https://www.gnu.org/software/tramp/#Connection-types
jks··on Ask HN: Proposal for an ActivityPub RSS Based News Aggregation Community
This seems to resemble how Google Reader used to work. I think you could share items to your contacts, or perhaps it was just "starring" items and your contacts would see what you had starred. You could write comments on items that your contacts would see, but there were never comment threads like on Facebook, or "liking" your friends' shares.
← PreviousPage 3 of 7Next →