Hacker Newsnew | past | comments | ask | show | jobs | submit | deskamess's commentslogin

How do you read youtube videos? Very curious as I have been wanting to watch PDF's scroll by slowly on a large TV. I am interested in the workflow of getting a pdf/document into a scrolling video format. These days NotebookLM may be an option but I am curious if there is something custom. If I can get it into video form (mp4) then I can even deliver it via plex.


I use yt-dlp to download the transcript, and if it's not available i can get the audio file and run it through parakeet locally. Then I have the plain text, which could be read out loud (kind of defeating the purpose), but perhaps at triple speed with a computer voice that's still understandble at that speed. I could also summarize it with an llm. With pandoc or typst I can convert to single column or mult column pdf to print or watch on tv or my smart glasses. If I strip the vowels and make the font smaller I can fit more!

One could convert the Markdown/PDF to a very long image first with pandoc+wkhtml, then use ffmpeg to crop and move the viewport slowly over the image, this scrolls at 20 pixels per second for 30s - with the mpv player one could change speed dynamically through keys.

ffmpeg -loop 1 -i long_image.png -vf "crop=iw:ih/10:0:t*20" -t 30 -pix_fmt yuv420p output.mp4

Alternatively one could use a Rapid Serial Visual Presentation / Speedreading / Spritz technique to output to mp4 or use dedicated rsvp program where one can change speed.

One could also output to a braille 'screen'.

Scrolling mp4 text on the the TV or Laptop to read is a good idea for my mother and her macula degeneration, or perhaps I should make use of an easier to see/read magnification browser plugin tool.


Monopolies and wanna-be monopolies on the AI-train are running for their lives. They have to innovate to be the last one standing (or second last) - in their mind.


I have an old 2060 with 6GB (I think). I also have a work laptop 3060 with 6GB (shared to 8GB). What can I do with those? I dabble a bit here and there but I would like to run my own local LLM for 'fun'.

Thanks!


If you just want to run a local LLM you could download ollama and do it in minutes. You'll be limited to small models (I would start with qwen3:1.7b) but it should be quite fast.


Yep... cant wait for them 'unwrap' the reason.


Bad timing for North America Eastern TZ - day break here. Pacific/Mountain TZ should be fine.


In Rhode Island it seems like auroras practically guarantee overcast skies.

Update: tonight the sky is clear and the air is frigid. I guess this logically implies there won't be an aurora :)


How far away is JPEG-XL rust version from Google if Chrome is not interested in it?


You can review it here: https://github.com/libjxl/jxl-rs

Seems to be under very active development.


Ah... so I always though pushups were for my chest, but my triceps always got a workout. So I thought I was doing something wrong. I have shoulder issues so the tricep pushup is probably better for me.


Looks to be US only? Any plans to expand to Canada? If not, are there paid options where I can visit the US to utilize this service (perhaps pick a border state like NY or Vermont)?


Yes, there are indeed paid options! We regularly support clients who travel to NY or Vermont for bloodwork. Our co-founder is Canadian and we work with many clients from Canada. Could you shoot me an email and our team can help figure out the logistics? adi@betterbrain.com (Happy to send you a discount code)


I use FF... but they are financially tied to Google and even technically they are waiting on Google to implement JPEG-XL instead of moving forward themselves. Why not do some work/spend some money to borrow Safari's implementation or audit and augment a third party library? Instead of waiting on Google... esp on this matter where you could be waiting for a long time.


So would the signed 'object' contain code? Or is it just data? And even if it is code, does deserializing mean execution? I guess it could mean execution at some other stage in the process.

What is the end-goal of this... would it be data exfiltration vs ransomware.


Java object serialization can be super dangerous as it just works on any class that implements serializable.

That means if the shape of your object is something like

    class Foo implements Serializable {
      SerializableFunction bar;
      
      void doBar() {
        bar.apply();
      }
    }
You've created a class which an attacker can plug in any object which implements `SerializableFunction` into `bar`. That includes externally created functions!

Here's an article detailing exactly how that works: https://www.baeldung.com/java-serialize-lambda


It often results in remote code/command execution, its data that de-serializes into java objects. But during the instantiation or sometimes deconstruction of objects, code can be executed. Popular tool for java: https://github.com/frohoff/ysoserial


> What is the end-goal of this... would it be data exfiltration vs ransomware.

The end-goal is to gain complete access to the system - the outcome (data theft or ransomware) is customers choice


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: