pgz

Joined 13 years ago

Karma
258
Submissions
61
Member since
Aug 11
GitHub: https://github.com/pigoz Twitter: @pigoz Freenode: pigoz
View on Hacker News

Recent submissions

Comment · 4 years ago
Was wondering the same, looks quite suspicious
Comment · 4 years ago
I've used https://github.com/kaegi/alass and sometimes it works, sometimes it doesn't. It's not an easy problem to address automatically...

Video players wouldn't want that in their codebase, maybe if it was available as a C library.

Comment · 6 years ago
For me it used to jump to the next chapter instead of the next page when reading Japanese novels but they fixed that bug in 5.0.
Comment · 6 years ago
Great, I already feel inferior. I only put an ASCII cat on my profile.
Comment · 6 years ago
I never expected the day would come when an AI to generate furries would be the top entry on HN.
Comment · 6 years ago
I always suspected governments desperately seek 2% inflation because they are long term borrowers.
Comment · 6 years ago
I've made my own mpv extension for Japanese subtitle analysis too. It can also create Anki cards automatically (with screenshot and audio).

Having a scriptable media player is really something else.

Comment · 7 years ago
Well, if you really need the autoscale feature to handle sudden and ludicrous spikes of traffic, you will most likely also use a database that autoscales too. i.e. DynamoDB.

For most applications, it's really not needed though.

Comment · 7 years ago
You can look up words on the Kindle. And if you highlight them there are ways to access the highlighted sentences in a machine-friendly way (to i.e. export them to Anki).
Comment · 7 years ago
Indeed, you get high quality in context cards, something that is still missing from most Anki decks.

The code is here https://github.com/pigoz/mpv-nihongo, keep in mind that a lot of stuff is hardcoded, poorly documented, and it requires an mpv patch to work.

If there's enough interest, I can try and make it simple for someone that's not me to use.

Comment · 7 years ago
I did something similar for myself using mpv's scripting interface (for Japanese immersion).

I can press a button and have the current subtitle analyzed for words with mecab, or press another button and have audio + screenshot + text sent to Anki for review.

mpv allows to seek previous/next subtitle, so even relistening a particular phrase is really convenient.

It makes language learning really fun.

Comment · 8 years ago
I always found this system very interesting, since the citizen can decide how some of their tax money is spent (besides voting).

On the other hand I have always lived in Northern Italy, and around half of my taxes go to the poorer regions of Italy, mostly to be squandered by corruption, clientelism, and organized crime.

Comment · 8 years ago
The title kinda reminded of Evangelion where all the choices are made by 3 independent AI super computers with a majority vote.
Comment · 8 years ago
I have not open-sourced my code since it's a gross hack I did in one afternoon.

It looks exactly like the screenshot of that project. Very interesting that I thought of the same solution without knowing jijimaku.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton