HNHacker News
TopNewBestAskShowJobs

abdusco

1,379 karma · joined January 7, 2019

submissionscomments
abdusco··on Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
Playwright is another, really good alternative
abdusco··on Transactions and Concurrency in PostgreSQL
I personally find it refreshing to read an example that is not "A deposits $10, B withdraws $10".
abdusco··on Stop EU Chat Control
Any filter worth its salt would also include "pr0n" along with "porn"
abdusco··on Impacts of lack of sleep
Did you try sleeping earlier? If you regularly sleep at 01:00, then you won't be able to wake up at 06:00. If you go to sleep at 22:00 then it's not as impossible as you think.
abdusco··on Making Hard Things Easy
I usually resort to running inline scripts using python3 or node (using only the standard library) if I need to do something that I can't express in bash easily. That means avoiding stuff that have to look up and I won't remember or be able to debug in a month.
abdusco··on Pixel 8 Pro
They had huge bezels. I feel like current phones with huge displays are at most as big as then-phablets or even smaller.
abdusco··on One Revolution per Minute [video]
Reminds me of the soundtrack of Tron: Legacy
abdusco··on I digitalized Berlin's registration form
The trick is to look for appointments early in the morning. People who think they won't be able to make it to the appointment that day cancel theirs and there's a bunch of openings every morning.
abdusco··on Go CLI to calculate total media duraton in directories
What are the possible use cases for this tool? Why would I want to find out the total runtime of all videos in a directory?

Also, you might wanna limit concurrency[0] instead of spawning many ffprobe instances at the ~same time.

[0]: https://github.com/sourcegraph/conc

In another note, ChatGPT suggests this shell command to do the same thing. It doesn't process files in parallel though.

    find . -name "*.mp4" -print0 | \
      xargs -0 -I {} ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 {} | \
      awk '{sum += $1} END {print sum}'
abdusco··on Ask HN: My mother is slowly losing her eyesight, how to prepare?
losing*
abdusco··on I walked across Luxembourg
Thank you so much. I read about this app here, but I couldn't find it later when I moved to Germany. I'll use the shit out of this app.
abdusco··on Ode to the M1
And get paid peanuts in return?
abdusco··on Firefox has surpassed Chrome on Speedometer
They probably don't know how to close tabs.
abdusco··on Threads, an Instagram app
They're probably getting the highest traffic they've seen in years. And they'll continue to get it until `threads` search results are dominated by the Threads app.
abdusco··on 100% test coverage
Maybe the author means something else. How else could you hit 100% of the lines if you're not covering all branches.
abdusco··on National Geographic lays off its last remaining staff writers
Reminds of the plot of the film The Secret Life Of Walter Mitty[0], where the Life magazine was transitioning to digital-only releases.

[0]: https://en.wikipedia.org/wiki/The_Secret_Life_of_Walter_Mitt...

abdusco··on Ask HN: Why does HN require tiny baby fingers to operate on a phone?
I use Kiwi Browser on Android. It's a custom build of Chromium with extension support. I install Stylus and write some CSS to fix anything that bothers me.
abdusco··on Windows NT on 600MHz machine opens apps instantly. What happened?
Firefox lets you use / for search.
abdusco··on Ask HN: What is the morale like inside Reddit, as an employee?
Had a good chuckle out over this one :)
abdusco··on Don't Use Mocks
There's value in having database tests. It lets you assert the logic embedded in SQL in repos, which you cannot test without actually running the query on an actual database.
abdusco··on Microsoft officially supports running Windows 11 on M1 and M2 Macs
How is the performance? Battery life? Is it usable for long periods of time or just "good enough" to test a couple of things?
abdusco··on uBlock Origin 1.50.0
I think you can download portable version of a Chromium-based browser and install any extension you want on it.
abdusco··on Rarbg Is No More
I guess this is a reminder to support your pirated material source.
abdusco··on Correct Horse Battery Staple: Secure Password Generator
Bitwarden also supports this out-of-the-box

https://bitwarden.com/help/generator/#password-types see "Passphrase"

abdusco··on Two students built an A-bomb (2003)
Assuming you'll be able to understand the dialogs...
abdusco··on CLI tricks every developer should know
What I often miss is a hotkey to jump prev/next argument. The closest I could find is jumping by words, but it's not the same.
abdusco··on Scrcpy: Display and control your Android devices connected over USB or TCP/IP
Digitizer was still functional perhaps
abdusco··on FlipperZero: 1 Month Battery Life with Firmware Update
Can I buy one in Germany? Has anyone any experience with it?
abdusco··on Closing a stale SSH connection
One of the most useful SSH tricks I've ever learned. I wonder if there's a way to detect a stale session and force reconnect when I turn on the computer? Like mosh[0], but with SSH.

[0]: https://mosh.org/

abdusco··on Writing JavaScript without a build system
How to work around decorator usage, though? The examples in the documentation seem to be built around the assumption of a build step being present.
← PreviousPage 5 of 13Next →