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
|
1 year ago
|
on: Optimising LR Automata
Author here, feel free to ask me whatever you like.
Apanatshka
|
2 years ago
|
on: Dutch Drug-Related Text Classification Model by NOS
Apanatshka
|
3 years ago
|
on: Inkscape 1.2.2
You've given up on Gimp? What's wrong? Did I miss some news?
Apanatshka
|
3 years ago
|
on: Robot treats 500k plants per hour with 95% less chemicals [video]
That's because trains get taxed, while flights _still_ get subsidised. It's maddening.
Apanatshka
|
4 years ago
|
on: OrganicMaps is Android and iOS offline maps for travel without trackers or ads
There's an app called StreetComplete (recently discussed on HN) that allows you to easily contribute missing information like local business information to OSM. If you can find the time, you can use that to solve some of the issues you have and help others at the same time! :)
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
|
4 years ago
|
on: Putting an Ultra-Tiny Linux Board in a Phone Charger Eventually
Make sure to test your RPi 0W with the Bluetooth speaker you had in mind asap. Mine won't connect to my soundbar, which is complicating my setup for connecting my projector and soundbar wirelessly :(
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
|
5 years ago
|
on: Hash Array Mapped Tries (HAMT) to the Rescue
Happenstance really, he briefly joined our research group. I'll send him a link to this thread.
Apanatshka
|
5 years ago
|
on: Hash Array Mapped Tries (HAMT) to the Rescue
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
|
7 years ago
|
on: The Challenge of Cross-Language Interoperability (2013)
What I've gathered about Graal is that once you have a compiler for the platform, Cross-Language communication on a hot path gets optimised to near-zero cost.
Apanatshka
|
8 years ago
|
on: Ask HN: What language/framework do you plan to use in your next project?
Good luck :) I love the language, but you'll need some perseverance to learn the more interesting parts like lifetimes and the borrow checker. I can recommend the book on rust-lang.org!
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.