258 karma · joined August 11, 2013
Video players wouldn't want that in their codebase, maybe if it was available as a C library.
Having a scriptable media player is really something else.
For most applications, it's really not needed though.
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.
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.
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.
It looks exactly like the screenshot of that project. Very interesting that I thought of the same solution without knowing jijimaku.
I also plan to auto generate Anki cards with unknown words when I do the analysis pass.
The syntax for Lenses is particularly cool imho. Since it's bootstrapped on top of OCaml I doubt it has HKT though.
I contributed a lot of macOS related code to mpv, but even if the project has a huge user base of power users, developers, videophiles, it's quite hard to use by your average joe. This project fills that gap very well, and I finally have something to recommend over VLC.
But in some way it's a small reflection of an inefficient society.
For two reasons:
- You get higher higher pay because hopefully you are more useful to your company than the other people in your team.
- You are probably forcing your team to work longer than they would if you left before them.
For example if you look at EU countries, the ones with the economy in worse conditions are those with longer working hours (Greece, Italy).
Here in Italy for example it's forbidden to bring your smartphone into the voting cabin, because the Mafia was asking for photo proofs.
So esrauch found a great counter to my idea.
That way she can later verify that in his section repository his vote is still there and has been counted. Of course the mapping sha1 <-> voter will be anonymous, but this way everyone can see all the votes.
This doesn't solve the problem of some hacker adding votes on top of the legitimate ones though.
In Italy the express couriers are not allowed to leave stuff in your front yard, and it's generally not possible to schedule the first delivery attempt.
As a developer, it would make my life easier as well, when I try to split designs into components / css.