HN user

s20n

330 karma

All views expressed here are my personal views and are not associated with any organisation that I am a part of.

Posts4
Comments57
View on HN

Thanks, that would be great! I am trying to think how this could work. Generally, subtitles are embedded as a separate track in the video container or as a sidecar .srt file [1].

Perhaps they can be converted and shown using the WebVTT API[2] or <track> tags [3]?

Edit: Maybe that wouldn't work, here's a relevant stackoverflow post [4]

[1] https://en.wikipedia.org/wiki/SubRip

[2] https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API

[3] https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

[4] https://stackoverflow.com/questions/61446205/webrtc-and-text...

I used to stream movies from my desktop over the local network with VLC and the main issue I faced was that I could never get the subtitles to work. I took a quick look at this repository and it doesn't look like they support subtitles either.

It really grinds my gears that the uploader had to ruin the "Greatest Shot in Television" by stretching the 4:3 video to 16:9.

I know I sound like a pedant but so many of these old TV recordings are uploaded this way on youtube. I was so annoyed by this infact that a few years ago I made a dumb extension that squeezes the video element back to 4:3 [1]. I'm not sure if this still works though.

[1] https://chromewebstore.google.com/detail/doddimnledmldclhlbf...

It's ridiculous how accurate this recreation is to the original, it looks and feels identical.

The author was able to do this just decompiling the exe files, without looking at the original source code. Basically, completely blind.

So it goes without saying: The deaf, dumb and blind kid sure makes a mean pinball.

Sorry, complete noob here. Why didn't you just cd into $(yes a/ | head -n $((32 * 1024)) | tr -d '\n')? Why do you need to use the while loop for cd?

EDIT: got it. -bash: cd: a/a/a/....../a/a/: File name too long

I've been pronouncing both of them as /dʒis/ like hiss and not /dʒɪz/. I however am not a native english speaker of English. I wonder if native speakers gravitate towards the z more?

While I know that it may have been a security liability, I'm particularly sad that they're removing the AX.25 module from the kernel.

and since nobody stepped up to help us deal with the influx of the AI-generated bug reports we need to move it out of tree to protect our sanity.

This thread from the linux-hams mailing list [2] has more insight into this decision. I guess the silver lining is that, more modern protocols (in userspace), written in modern languages will become the norm for HAM radio on linux now.

[1] : <https://lwn.net/ml/all/20260421021824.1293976-1-kuba@kernel....>

[2] : <https://lore.kernel.org/linux-hams/CAEoi9W5su6bssb9hELQkfAs7...>

I agree with the notion that having multiple passes makes compilers easier to understand and maintain but finding the right number of passes is the real challenge here.

The optimal number of passes/IRs depends heavily on what language is being compiled. Some languages naturally warrant this kind of an architecture that would involve a lot of passes.

Compiling Scheme for instance would naturally entail several passes. It could look something like the following:

Lexer -> Parser -> Macro Expander -> Alpha Renaming -> Core AST (Lowering) -> CPS Transform -> Beta / Eta Reduction -> Closure Conversion -> Codegen

Thanks for working on LispPad, I'm really enjoying using it.

Polar complex number literals are actually not part of R7RS

I actually thought they were part of the spec. Specifically, I am referring to the last paragraph from section 6.2.5 of R7RS small <https://small.r7rs.org/attachment/r7rs.pdf>

This is the excerpt from the pdf:

6.2.5. Syntax of numerical constants

...

There are two notations provided for non-real complex numbers: the rectangular notation a+bi, where a is the real part and b is the imaginary part; and the polar no- tation r@θ, where r is the magnitude and θ is the phase (angle) in radians. These are related by the equation a + bi = r cos θ + (r sin θ)i. All of a, b, r , and θ are real numbers.

For me man(3) is the most interesting of them all.

Run `apropos . | grep "(3)"`; you'll be surprised how many libraries come with man pages for their functions (e.g; curl).

Now I wonder if there are any IDEs that can automatically dial into these man pages and pull up documentation for functions?

I'm sure this is really smart but boy is this a pain to read. I even tried holding the orbs in hopes of reading the text but it kept reflowing so much that I gave up after 5 minutes.

Edit: I just realized that clicking once freezes the orbs.

I’ve been using Copilot - and more recently Claude - as a sort of “spicy autocomplete” and occasional debugging assistant for some time, but any time I try to get it to do anything remotely clever, it completely shits the bed.

This seems like a really disingenuous statement. If claude can write an entire C compiler that is able to compile the linux kernel, I think it has already surpassed an unimaginable threshold for "cleverness"

I used i3 for the longest time and I'd say a wayland based alternative like sway or miracle is a better choice nowadays. Even KDE Plasma recently dropped x11 support [1] so going forward, most apps will target wayland first.

Migrating my i3 config to sway hardly took any effort. I was also able to get rid of a lot of xorg specific configurations from various x11 dotfiles and put them directly in the sway config (Such as Natural Scrolling)

[1] https://itsfoss.com/news/kde-plasma-to-drop-x11-support/.

I've been using Emacs 30 on my android tablet for a few months now with a bluetooth keyboard. Needless to say, you can't really leverage eglot so it's basically a no-go for any meaningful software development. I've been using it for org-mode and it is fantastic for that.