HNHacker News
TopNewBestAskShowJobs

sjamaan

564 karma · joined November 8, 2018

CHICKEN core maintainer

Personal blog: https://www.more-magic.net

submissionscomments
sjamaan··on Notes on Bhutan
Yeah, investing it in bitcoin sure beats selling the power to India at bargain bin prices during summer time only to have to buy it back in winter time at premium rates. I think this really shows his majesty's wisdom and ability to think ahead (iiuc it was his decision to start mining bitcoins using green energy).
sjamaan··on Notes on Bhutan
Tourism is not really a growth sector. There are too many hotels already, with hoteliers complaining they can't get bookings at a decent price because there's too much competition undercutting them, and tour operators demanding lower prices than is sustainable.

Truthfully, the GMC is Bhutan's best bet at growth. The idea is to attract foreign talent who can train and educate locals, so that it can act as an attractor for youths, and a flywheel for prosperity in the country.

sjamaan··on The Cloudflare outage might be a good thing
Same with the big Crowdstrike fail of 2024. Especially when everyone kept repeating the laughable statement that these guys have their shit in order, so it couldn't possibly be a simple fuckup on their end. Guess what, they don't, and it was. And nobody has realized the importance of diversity for resilience, so all the major stuff is still running on Windows and using Crowdstrike.
sjamaan··on My stages of learning to be a socially normal person
> When someone uses my name in conversation, it makes me think less of them, because it's so unnatural and clearly they might be doing it to manipulate me.

Oh man, I always find it so slimy when people do that! I've also noticed it's mostly HR people or sales people who do this, so clearly it's a phony technique they learned somewhere. But I suppose it gets taught because it works, maybe for people who don't pick up on the fact that it's so forced?

sjamaan··on What the hell have you built
Sounds like the best type of place to work for me. Instead of being a replaceable cog in a meat grinder that doesn't even pay well, working with boring tech, you get to work with talented people in an actually interesting language and get decently paid.

And best of all, you don't feel the need to keep chasing after the latest hype just to keep your CV relevant.

sjamaan··on What the hell have you built
This is also how you can identify decent places to work at: look for job postings that emphasize you aren't expected to already know the language.

For example, in the recent "who's hiring" thread, I saw at least two places where they did that: Duckduckgo (they mention only algorithms and data structures and say "in case you're curious, we use Perl") and Stream (they offer a 10-week intro course to Go if you're not already familiar with it). If I remember correctly, Jane Street also doesn't require prior OCaml experience.

The place where I work (bevuta IT GmbH) also allowed me to learn Clojure on the job (but it certainly helped that I was already an expert in another Lisp dialect).

These hiring practices are a far cry from those old style job postings like "must have 10+ years of experience with Ruby on Rails" when the framework was only 5 years old.

sjamaan··on Ask HN: Who is hiring? (November 2025)
Any chance you would add Dzongkha?

PS: Cool product, if I were in a different life phase I would definitely consider joining you to build it!

sjamaan··on Lisp: Notes on its Past and Future (1980)
The AI winter happened. And the AI they talk about is classical, symbolic AI where you try to explicitly represent knowledge inside the computer. The new LLM stuff is all neural networks, and those benefit more from fast low-level vector implementations than high-level ease of symbolic manipulation.

So modern AI is all mostly C or even Fortran, often driven from something more pedestrian, like Python.

sjamaan··on Lisp: Notes on its Past and Future (1980)
Nope. I mostly happily used Python in my previous job for many years, now I'm doing Clojure. There are benefits and drawbacks to each, but I don't know if I'd want to go back to Python. I'm a Lisper (Schemer, really) at heart so maybe I'm biased.

Having said that, I don't think I'd pick Clojure for unpaid (hobby) projects. The JVM is such a hog and I don't like anything related to the Java culture...

sjamaan··on Free software scares normal people
I don't know if this works well in general, but for example Kodi has "basic", "advanced" and several progressively more advanced steps in between for most of its menus. It hides lots of details that are irrelevant to the majority of users.
sjamaan··on Free software scares normal people
I was ranting exactly the same just yesterday. Nowadays UI designers seem to have forgotten all about affordances. Back in the day you had drop shadows below buttons to indicate that they could be pressed, big chunky scrollbars with two lines on the handle to indicate "grippiness" etc.

A few days ago I had trouble charging an electric rental car. When plugging it in, it kept saying "charging scheduled" on the dash, but I couldn't find out how to disable that and make it charge right away. The manual seemed to indicate it could only be done with an app (ugh, disgusting). Went back to the rental company, they made it charge and showed me a video of the screen where to do that. I asked "but how on earth do you get to that screen?". Turned out you could fucking swipe the tablet display to get to a different screen! There was absolutely no indication that this was possible, and the screen even implied that it was modal because there were icons at the bottom which changed the display of the screen.

So you had: zero affordances, modal design on a specific tab, and the different modes showed different tabs at the top, further leading me to believe that this was all there was.

sjamaan··on Keep Android Open
GPL doesn't help you one bit in this particular situation, because "regular users" would still be using the locked-down stock Android that came with their device. So they still can't install your app.

Anyone who is already running a rooted Android or otherwise customized OS isn't affected by this, only developers who want to distribute their app to users.

sjamaan··on Talent
That really helps, indeed
sjamaan··on Talent
> If your parents present you with your first computer when you're five years old, and it drops you to a bash prompt, and that's all you have, then you'll probably know considerably more than everyone else just from that being your only choice for a computing environment.

Only if you have the interest and aptitude to dig in. Compare this with OP's story about trying to learn music instruments at an early age, and his brother. Like others have mentioned, it's a combination of things - you have to have the innate interest (or, if you're unlucky, really overbearing parents who force you to learn it, like Tiger Woods IIRC).

sjamaan··on Learning a foreign language–before you're born
Same for me with Dzongkha: cha (ཅ) / chha (ཆ) and tsa (ཙ) / thsa (ཚ). I can aspirate the second of these fine, so that's not the problem. Hearing the difference is. This also makes it harder to remember the spelling as I mix them up all the time.

To be fair, I've only been learning for a short while (8 months or so) and haven't had much opportunity to listen to a lot of different speakers so perhaps this may get better.

sjamaan··on "Your" vs. "My" in user interfaces
It's not really your computer anymore...
sjamaan··on Avoiding skill atrophy in the age of AI
> It's just an example, extrapolate python to everything tech that is needed for us to have a healthy relationship with tech.

Perhaps that's also a reason why - tech is so large, there's no time in a traditional curriculum to teach all of it. And only teaching what's essential is going to be tricky because who gets to decide what's essential? And won't this change over time?

sjamaan··on Hacktical C: practical hacker's guide to the C programming language
I suppose the better response is that it removes those classes of bugs where they are absolutely unnecessary. Tricky code will always be tricky, but in the straightforward 80% (or more) of your code such bugs can be completely eliminated.

It's unfortunate that C has so many truly unnecessary bugs which are only caused by stupid overly "clever" exploitation of undefined behaviour by compilers.

sjamaan··on Interviewing a software engineer who prepared with AI
You can always rent a conference room for an hour or so somewhere in between.
sjamaan··on Interviewing a software engineer who prepared with AI
I like this idea of making the soft skills explicit. Both to the interviewers and the candidate (i.e. in the job posting itself). This would save everyone involved a lot of time, too!
sjamaan··on All estimations are wrong, but none are useful
I also had to do a double-take at the blatant falsity of this statement. Software estimation is only hard when it's the first time you're doing it. Unfortunately, most software is a first-time.

There are very few specialty shops which only do the same type of project over and over. This is probably also because such repetitive work would quickly be turned into a "framework" to do more of such work, leaving only the novel stuff for each project, which would then become difficult again.

In the real world, I guess that matches up with the "prefab" type of construction.

sjamaan··on The Burnout Machine
2. hasn't happened in Europe, where it's famously hard to fire people. Why would this happen in the US?
sjamaan··on The Burnout Machine
If you have worked at a few companies and left on good terms, it shouldn't be that hard to contact them so you can go back. Otherwise, previous co-workers will be able to help out as well.
sjamaan··on Programming with chronic pain
It's only reckless if you go full force right away. Test the waters with a light load to get the blood flow going, then increase weight as you feel the area is healing/getting stronger. Stop adding load or deload when it starts to hurt.
sjamaan··on Undergraduate shows that searches within hash tables can be much faster
This bothered me too, reading it and the sample implementations I've found so far just bail out. I thought one of the benefits of hash tables was that they don't have a predefined size?
sjamaan··on Advertising Is a Cancer on Society (2019)
It's weird. Everybody finds ads obnoxious (at least some of the time), yet it's allowed and not only that, it's proliferated in recent years. You'd think something universally disliked would be legislated away.

I wish more people would realize the root cause of all this spying is advertising. Simply banning advertising would get rid of all this shit more effectively and with less overreach and compliance headaches than the GDPR.

sjamaan··on Microsoft Is Dead (2007)
I dunno man. I just went on a tour of two schools for my daughter here in the Netherlands. They both use Chromebooks for their students as cheap machines that can be easily replaced. Those don't run Windows.

Many "regular" folks have Mac machines because they no longer "have" to use Microsoft-specific software. Also, Microsoft doesn't have any phone OS (anymore) either - that's all Apple and Google.

That definitely doesn't mean Microsoft is truly "dead", but they're no longer the giant that you can't avoid. Companies can afford to ignore them, and that's a far cry from the absolute and total utter market dominance they had in the nineties (which is how I read this article).

sjamaan··on Long Term Software Development
Only if you consider web apps have become so complex that it requires a container to wrap up the complexity.
sjamaan··on Long Term Software Development
MySQL doesn't care about your data. There are many places where it silently truncates, "helpfully" tries to "do the right thing" and so on.

It used to have very impoverished data types. At least that has been mostly amended, but AFAIK you still can't make an index on a TEXT column without a limit.

The "utf8" text type, despite the name, can't hold all of unicode. You need to use utf8mb4. This is merely one example of the general attitude. Another fine example: you can't use mysql_escape_string() in the C API to safely escape strings. Instead, use mysql_real_escape_string(). Instead of hiding the unsafe version, PHP exposes both these functions as-is. PHP and MySQL are truly a match made in hell.

The MySQL issue queue is also littered with unaddressed corruption issues which have been open for many years.

MariaDB is just a fork, most criticisms to MySQL apply to it as well.

sjamaan··on Crunch – a Scheme compiler with a minimal runtime
Apropos, this crossed my feedreader today: https://lispjobs.wordpress.com/2024/12/19/mid-senior-clojure...
← PreviousPage 2 of 6Next →