Apanatshka's comments

Apanatshka | 1 year ago | on: Ask HN: What are you working on? (February 2025)

Reading literature (academic and otherwise) on parsers, writing blog posts about what I learn, trying to implement the things I learnt. I've written about basic finite automata (for regular expressions), LL, LR (including the difference between SLR, LALR, and LR(1)), detoured into some optimisations for LR from the 80's, then generalised LR (RNGLR in particular). I'm now implementing these things, RNGLR is not easy to implement despite having understood it well enough conceptually to write a blog about it (https://blog.jeffsmits.net/generalised-lr-parsing/). I've read far more than I've written about, trying to keep that straight in my head as well / planning the next... probably year of writing ^^'

Apanatshka | 1 year ago | on: Ask HN: What are you working on? (February 2025)

Is that legal in your country? In mine (Netherlands) there are way too many people with doorbell camera aimed right at the street even though it's illegal to record a public space like that. Most folks are ignorant about it though, or think that surely the internet-connected gadget sold by some anonymous corporation won't be abused....

Apanatshka | 4 years ago | on: Pesticides are killing the world's soils

An important and sometimes forgotten thing about democracy is that it isn't as simple as the majority rules. It's the majority rules while taking minorities into account. In a well functioning representational democracy this is kept in mind my career politicians. In a hybrid between representational and direct like in Switzerland, the population can overrule and just go with majority rule.

For example, the Swiss pension system is similar to others in Europe, where the current working population pay taxes almost directly towards pensions of the retired. Since this system will break down if taxes aren't increased like crazy or pensions lowered, politicians have been trying to change the system. But there are too many people soon to be retired or already retired that care less about their country's youth and future than their own pension, so they keep blocking changes. So every democratic system has its tradeoffs...

I learned this from a young Swiss when I was visiting Switzerland and praising their way of democracy. It was a few years ago though, so maybe this info is no longer accurate. And I didn't fact check, it was just an example brought up in casual conversation.

Apanatshka | 5 years ago | on: 75 Years Ago, 'War of the Worlds' Started a Panic. Or Did It? (2013)

The article mentions Radiolab. I remember listening to a Radiolab episode about War of the Worlds, but that must have been a later revision, because in that episode they go into how the first airing of the play did not cause a panick, but other airings of the play in other places certainly caused panick and violence.

Apanatshka | 5 years ago | on: Still alive

That excerpt made me think of Romantically Apocalyptic, which is a... visual novel / web comic? I read it for a while, really enjoying the art and the strange and absurd conversations, characters and events. It felt a bit unplanned and all over the place though, but that might just be my prejudice towards web comics combined with the style of writing.

Apanatshka | 5 years ago | on: Malware on My Android Phone

My Firefox on Android has a QR code scanner, I typically use that even when I know it's not a website. When you open a new tab and select the address bar you get to see the button for the QR code scanner.

Apanatshka | 5 years ago | on: LLVM merges machine function splitter for reduction in TLB misses

I've seen a poster presentation at the student research competition of a PL conference where the student created a tool to do this after the fact on binaries. It looked quite promising, but I think preliminary results were single digit percentage speedup for most benchmarks. I'll have to see if I can find it again.

Apanatshka | 6 years ago | on: My Favourite Diff

A similar example is in a "filtering" operation. I mostly have this in functional programming where you pass a predicate to filter on. But what's the perspective of the filter? Are you filtering poison from your water, or are you sifting the water looking for gold nuggets. I prefer to use functions remove and retain (respectively) to be more explicit.

Apanatshka | 6 years ago | on: Programming Language Checklist

Projectional editors use that setup. Might be slightly different than what you have in mind since projectional editing is not great at text editing. But have a look at Jetbrains MPS, that's a language workbench for projectional editors.

Apanatshka | 9 years ago | on: Data from man's pacemaker led to arson charges

I think multiple episodes including the season 2 christmas episode comment on brain computer interfaces in one form or another and they all seem realistic and scary to me. Best not use direct brain computer interfaces.
page 1