HNHacker News
TopNewBestAskShowJobs

abdusco

1,380 karma · joined January 7, 2019

submissionscomments
abdusco··on Five journalists among 20 killed in Israeli strike on Gaza hospital
Those "mistakes" and insubordinations are somehow _very_ convenient for Israel's agenda.

Apparently one strike isn't enough for the army that can perform point strikes against scientists in Iran, they "fumble" and bomb a hospital, then do it again and bomb the people who rush in to help.

The last witnesses who are able to expose the extent of unimaginable cruelty are being threatened, targeted and killed off.

abdusco··on Five journalists among 20 killed in Israeli strike on Gaza hospital
> In a statement, the Israeli military says it “regrets any harm to uninvolved individuals and does not target journalists as such".

I guess they were targeting supposed Hamas operatives being treated in an operating room. It's too bad that five journalists were there. They are very sorry that journalists' bodies got in the way of the bomb.

https://www.bbc.com/news/live/cn725ny0ryjt?post=asset%3Abdd2...

abdusco··on [dead]
https://archive.ph/ALDXa
abdusco··on Grug Design
> grug not need Helvetica Neue Ultra Thin Condensed Oblique for error message.

That's a very sophisticated statement from a cave ~painter~ designer :)

abdusco··on [dead]
They're turning Gaza into a hell, now planning to "conquer" it and clean it off of Hamas (and the evidence for war crimes), then they'll say, we're already here, we might as well take it.
abdusco··on FFmpeg 8.0 adds Whisper support
https://gist.github.com/abdusco/5bd5c909547f5f9b935dbd2fb2fe...
abdusco··on FFmpeg 8.0 adds Whisper support
I solved it by generating English subtitles, then passing those to an LLM in chunks that are ~20 entries in size. Include preceding and following subtitles as context for better translation. Make sure to replace the timestamps with simple integer ids, because LLMs like to mangle those, no matter how hard you prompt.

I could share a python script that is working pretty reliably for me.

abdusco··on How I use Tailscale
I tried using `tailscale funnel` against a dummy server `python -m http.server`, and within 10 seconds the bots started to check for vulnerabilities.

Tailscale warns you about how enabling it will issue an HTTPS certificate which will be in a public ledger. But I wasn't expecting it to be this quick.

    127.0.0.1 - - [10/Aug/2025 00:11:34] "GET /@vite/env HTTP/1.1" 404 -
    127.0.0.1 - - [10/Aug/2025 00:11:34] code 404, message File not found
    127.0.0.1 - - [10/Aug/2025 00:11:34] "GET /actuator/env HTTP/1.1" 404 -
    127.0.0.1 - - [10/Aug/2025 00:11:34] code 404, message File not found
    127.0.0.1 - - [10/Aug/2025 00:11:34] "GET /server HTTP/1.1" 404 -
    127.0.0.1 - - [10/Aug/2025 00:11:35] code 404, message File not found
    127.0.0.1 - - [10/Aug/2025 00:11:35] "GET /.vscode/sftp.json HTTP/1.1" 404 -
    127.0.0.1 - - [10/Aug/2025 00:11:35] code 404, message File not found
    127.0.0.1 - - [10/Aug/2025 00:11:39] "GET /s/7333e2433323e20343e2538313/_/;/META-INF/maven/com.atlassian.jira/jira-webapp-dist/pom.properties HTTP/1.1" 404 -
abdusco··on Uv: Running a script with dependencies
I still write small some scripts in golang when the bootup time is important. Python still takes its time to boot up, and it's not the best tool for the job if it's gonna be called like a shell utility for thousands of files, for example.
abdusco··on Office is too slow, so Microsoft is making it load at Windows startup
Autoruns utility still exists.

https://learn.microsoft.com/en-us/sysinternals/downloads/aut...

abdusco··on Frankenstein's `__init__`
My go-to is a factory classmethod:

    class Foo:
        def __init__(self, config: Config): ...

        @classmethod
        def from_config_file(cls, filename: str):
          config = # parse config file
          return cls(config)
abdusco··on Australian man survives 100 days with artificial heart
CNC'ed out of a block of titanium
abdusco··on A 10x Faster TypeScript
Smaller binary sizes for easier + cheaper distribution might be a factor.
abdusco··on YouTube shows AI dubbed audio track options for some videos
It sounds like cheap dubbed documentations. But it is certainly useful.

Here are some screenshots: https://imgur.com/a/08oeA2f

abdusco··on Quit Social Media (2016)
I use Kiwi Browser on Android, which is a Chrome-based browser with extension support. I have a userscript that gradually fades out and desaturates social media pages in 8 minutes. After 4-5 minutes, pages fade out so much that you are forced to stop scrolling and it's not enjoyable anymore.

The same can be done on Firefox, which supports installing Tampermonkey for managing userscripts.

abdusco··on NotebookLM launches feature to customize and guide audio overviews
Simon likes to test LLMs' creativity by asking them questions about pelicans
abdusco··on TinyJS – Shorten JavaScript QuerySelect with $ and $$
It's creating global helper funcs for creating elements. E.g. `a(...)` for an anchor
abdusco··on Sanding UI
I think it's for material design inspired focus animations. :has selector wasn't a thing, so you have to use + sibling selector to target the label of a focused input

    input:focus + label {} 
    label:has(input:focus) {}
abdusco··on Nothing: Simply Do Nothing
Astro[0]: wrong tool for this job.

https://astro.build/

abdusco··on Taildrop lets you send files between your personal devices on Tailscale network
Use the CLI. It prints the transfer speed and progress:

    /Applications/Tailscale.app/Contents/MacOS/Tailscale file cp /path/to/file my-device-name:
(The colon : at the end is not a typo.)
abdusco··on How to process 100gb tsv and XML files?
For TSV, you might wanna consider importing it into a Sqlite database, then querying it however you please.

https://stackoverflow.com/a/35454070/5298150

You can also use datasette & sqlite utils for it

https://sqlite-utils.datasette.io/en/stable/cli.html#inserti...

abdusco··on The Story of Samsung's failed deal with iFixit, as told by iFixit's CEO
I usually ask for ChatGPT for a 1000 word summary. Works quite well for getting rid of unnecessary details.
abdusco··on Puppeteer Support for Firefox
Use playwright's code generator that turns turn page interactions into code.

https://playwright.dev/python/docs/codegen-intro

abdusco··on Age is a simple, modern and secure file encryption tool, format, and Go library
Could zipping the file with a password work as an encryption?
abdusco··on Affinity's Adobe-rivaling creative suite is now free for six months
Does Affinity Photo have photo library management support like Lightroom? e.g. pick/reject, tagging, rating etc.
abdusco··on gRPC: The Bad Parts
> make requests even if you don't have the .proto around

Like this?

    > grpcurl -d '{"id": 1234, "tags": ["foo","bar"]}' \
        grpc.server.com:443 my.custom.server.Service/Method
How is that even possible? How could grpcurl know how to translate your request to binary?
abdusco··on Start all of your commands with a comma (2009)
> I'd never (not so far) encounter a word or text that starts with a comma immediately followed by anything.

Agreed. I prefer using `!bang`s for the same reason for expanding text.

abdusco··on Apple is finally bringing RCS messaging to the iPhone
There's now an `HD` button to send images at high resolution, and higher quality.
abdusco··on Qimgv – Fast, simple image viewer
I've always been a fan of Faststone Image Viewer. It's similarly small and packed with features.

https://www.faststone.org/FSViewerDetail.htm

abdusco··on Loyalty at work no longer pays – and it's employers who are to blame
I am asking because I never tried this. Isn't it better to earn more and take unpaid leaves than having 2 more weeks of paid leaves? 2 weeks of extra unpaid leave = 1/2 a month's pay, meaning you could afford to do it if you earn 4% more yearly.
← PreviousPage 3 of 13Next →