127 karma · joined May 20, 2014 (12y ago) · 53 submissions
comment 7mo ago · link · parent
I have a recursive ascent code generator with a bunch of optimisations that I wrote about [1,2]; it's a linear-time parser for LR(1) with reduced overhead. I have an RNGLR implementation (a polynomial-time parser for any context-free grammar), that's still a table-based interpreter like more LR-based parsers out there. I've extended that implementation with special code to handle cycles more efficiently. Some day, I'll take some time to write a paper on that and publish it. Currently, I'm trying to combine the two ideas and create a generalised recursive ascent code generator. If I succeed I'll write another blog post again, it's been a year since the last one...
[1]: https://blog.jeffsmits.net/optimising-recursive-ascent/ [2]: https://blog.jeffsmits.net/optimising-recursive-ascent-part-...
comment 1y ago · link · parent
comment 1y ago · link · parent
4.
(Right-Nulled) Generalised LR Parsing(blog.jeffsmits.net ↗)
61 points · by Apanatshka · 1y ago · 2 comments
comment 2y ago · link · parent
7.
Dutch Drug-Related Text Classification Model by NOS(huggingface.co ↗)
1 points · by Apanatshka · 2y ago · 1 comment
10.
Eelco Visser Has Died(tudelft.nl ↗)
2 points · by Apanatshka · 4y ago · 1 comment
comment 5y ago · link · parent
comment 5y ago · link · parent
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.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
However! If you think outside the box, you might get a fairly accurate gaze tracker and a different GUI design to get this to work. That vision (no pun intended) is more of a long term one. An easy short term use for eye gaze use would be automatically setting GUI window focus based on eye gaze. That already might save you a keyboard-mouse switch. As long as you have no more than four windows on your screen, you can make it work with the current tech already.
28.
Push-down Automata with a bit of Rust(apanatshka.github.io ↗)
3 points · by Apanatshka · 10y ago · 1 comment
comment 10y ago · link · parent
comment 10y ago · link · parent