HNHacker News
TopNewBestAskShowJobs

victorstanciu

719 karma · joined August 1, 2013

https://tegowerk.eu
submissionscomments
victorstanciu··on Notes on Clarifying Man Pages
> tldr.sh is a community maintained database of examples, for example you can run it as tldr grep. Lots of people have told me they find it useful.

+1 for tldr. For example, here's the output of `tldr ffmpeg`:

  ffmpeg

  Video conversion tool.
  See also: `gst-launch-1.0`.
  More information: https://ffmpeg.org/ffmpeg.html#Options.

  - Extract the sound from a video and save it as MP3:
    ffmpeg -i path/to/video.mp4 -vn path/to/sound.mp3

  - Transcode a FLAC file to Red Book CD format (44100kHz, 16bit):
    ffmpeg -i path/to/input_audio.flac -ar 44100 -sample_fmt s16 path/to/output_audio.wav

  - Save a video as GIF, scaling the height to 1000px and setting framerate to 15:
    ffmpeg -i path/to/video.mp4 -filter:v 'scale=-1:1000' -r 15 path/to/output.gif

  - Combine numbered images (frame_1.jpg, frame_2.jpg, etc) into a video or GIF:
    ffmpeg -i path/to/frame_%d.jpg -f image2 video.mpg|video.gif

  - Trim a video from a given start time mm:ss to an end time mm2:ss2 (omit the -to flag to trim till the end):
    ffmpeg -i path/to/input_video.mp4 -ss mm:ss -to mm2:ss2 -codec copy path/to/output_video.mp4

  - Convert AVI video to MP4. AAC Audio @ 128kbit, h264 Video @ CRF 23:
    ffmpeg -i path/to/input_video.avi -codec:a aac -b:a 128k -codec:v libx264 -crf 23 path/to/output_video.mp4

  - Remux MKV video to MP4 without re-encoding audio or video streams:
    ffmpeg -i path/to/input_video.mkv -codec copy path/to/output_video.mp4

  - Convert MP4 video to VP9 codec. For the best quality, use a CRF value (recommended range 15-35) and -b:v MUST be 0:
    ffmpeg -i path/to/input_video.mp4 -codec:v libvpx-vp9 -crf 30 -b:v 0 -codec:a libopus -vbr on -threads number_of_threads path/to/output_video.webm
victorstanciu··on They Trusted ChatGPT to Plan Their Hike – and Ended Up Calling for Rescue
> The pair, wearing only flat-soled sneakers [...]

I appreciate a good "AI" hate session as much as the next man, but these people would have had to be rescued no matter what tool they used to plan their trip, as long as the one tool they should have used--their brain--was apparently already on vacation ahead of them.

victorstanciu··on How Cloudflare blocked a monumental 7.3 Tbps DDoS attack
@tete called it: https://news.ycombinator.com/item?id=44262324
victorstanciu··on My quest to make motorcycle riding that tad bit safer
Shame on the author. I clicked the "cats" link in the header only to find out it's short for categories. Boo.
victorstanciu··on Page is under construction: A love letter to the personal website
It is! For the latest incarnation of my blog I forwent comments in favor of a simple mailto: link at the bottom of each post which prefills the email subject with the post's title. I've had significantly fewer interactions with readers this way, but they've also been much more meaningful and insightful. There is a performative nature to public forums of any kind--and HN is not immune to this--that stifles any genuine discussion, or drowns it in a sea of attention-seekers.

Yes, I am aware of the hypocritical irony of complaining about online comments in an online comment.

victorstanciu··on JSON has become today's machine-readable output format on Unix
You can use two integers, one that represents the entire number including decimals, and one that represents the precision, to know how many decimals are there. For example, you'd represent "123.45" as 12345 and 2. That's often how monetary amounts are stored in databases, to avoid a lot of common floating-point arithmetic pitfalls.
victorstanciu··on Half-Life
Obligatory mention that if you want to enjoy Half-Life today (in spirit if not exactly the same game), Black Mesa is the best option for doing so: https://store.steampowered.com/app/362890/Black_Mesa/
victorstanciu··on Man who lost Bitcoin fortune in Welsh tip explores purchase of entire landfill
This reminded me of a Romanian joke from the communist era.

A son corresponds with his elderly father, who writes that he'd like to dig up the garden and plant potatoes, but the ground is hard and he's old, and can't the son come and help?

The son writes back that under no circumstances should he dig up the garden, that's where the money is hidden. The very next day, the Securitate (Romanian Secret Police) comes and digs up the entire garden looking for money.

A few days later, the son sends another letter: "I believe the garden should have been dug up by now, so you can go ahead and plant the potatoes."

victorstanciu··on Firefox nightly is running an experiment featuring a Fakespot feed on newtab
This is great news, thank you, I was just thinking how much I'd like some affiliate links in my browser. Also many thanks for all the telemetry improvements listed in the changelog, those are also something I've been looking forward to for a long time. If this doesn't solve Firefox's abysmal market share, I don't know what will!
victorstanciu··on The saddest "Just Ship It" story ever (2020)
> Even though they were working on it for the past few years it's still slow, buggy, and super unpolished, it doesn't matter, because they shipped.

> Their mobile app is terrible and it needs 10 seconds to sync. It doesn't matter, they shipped. And I'm looking forward to every single update they release.

> Their backlog of things to do is huge, but it doesn't matter, they ship every single week, and the app is growing along with the community.

Sigh. I agree, and I can empathize, but as a user I am so sick and tired of half-finished crap being shoved out the door just to beat the competition to the starting line. Every day the software we use becomes slower, more bloated, and less stable, and part of it is exactly this attitude of throwing crap at the wall and hoping it sticks. And the sad part is, since everyone is doing it, you can't really not do it, otherwise--as the author discovered--you get left in the dust.

victorstanciu··on A book Stanley Kubrick didn’t want anyone to read is being published
I guess it shows that no matter how objectively successful you are, your skin can still be see-through thin.
victorstanciu··on A love letter to bicycle maintenance and repair
Beautiful!
victorstanciu··on A love letter to bicycle maintenance and repair
Martin (ETOE) is awesome, his channel is where I learned to paint bikes from too.
victorstanciu··on A love letter to bicycle maintenance and repair
> Now, I have a very unique and beautiful bike (people on the street tell me).

Well you can't just entice us like that without posting a photo! Here's one I painted that I am really proud of how it came out: https://tegowerk.eu/posts/nakamura-shadow-city-bike/

victorstanciu··on A love letter to bicycle maintenance and repair
Uh, what? Did you reply to the wrong post by any chance?
victorstanciu··on A love letter to bicycle maintenance and repair
Interesting point of view, thank you! For me maintenance and repair have enhanced riding rather than diminish it. I find it's similar to how cooking enhances eating, or yard work enhances laying around the yard. Of course I hate having a malfunction while riding as much as the next guy, but I also ride with more confidence because I know I can handle pretty much anything that can go wrong, even on the go.
victorstanciu··on A love letter to bicycle maintenance and repair
> The blog comes very close to quoting ‘zen and the art of motorcycle maintenance’ -I wonder if the author read that…

I did! But I did so long before I started with bike repair, so at that time I couldn't really connect with it. Thank you for reminding me that I should give it a second read!

victorstanciu··on Show HN: YouTube Shorts Redirector
> I manually hide them every thirty days

The inability of tech companies to accept that no means no, and not "bother me later" is a dark pattern that I've noticed more and more lately.

victorstanciu··on Show HN: YouTube Shorts Redirector
If you use uBlock Origin, you can also just hide them: https://github.com/gijsdev/ublock-hide-yt-shorts
victorstanciu··on Lenovo announced ThinkPads for 'better sustainability and extended repairabilty'
> There is no way of effectively repairing the connector other than throwing the motherboard away

You're exaggerating. NorthridgeFix on YouTube has probably dozens of videos of him replacing USB-C connectors. Yes, he sometimes has to replace the traces with pad strips, but that's a long way to throwing the whole board away.

victorstanciu··on The Corvette that Windows zip folders bought
This is the same Dave Plummer that also created the Task Manager. He also has a YouTube channel with a lot of nice tidbits like this about what it was like to work at MS back in the day: https://www.youtube.com/@DavesGarage
victorstanciu··on Bookish Diversions: Do Audiobooks Count?
> The experience is much worse than physical books [...]

We must have different reading habits, because my experience has been the exact opposite. On my Kindle I can read every book with the same font, same text size, same layout, same backlight. I don't have to struggle to balance big heavy doorstops, a book feels the same in my hand whether it has 200 or 1200 pages. The latest Paperwhite models are waterproof too, so I can take mine with me in the tub with no fear of dropping it in the water and ruining it. I read dozens of books each year, and a big reason for that is how convenient it is to do it on an e-reader.

Now, tech books, graphical novels, comics? For sure an e-reader sucks for these, and I still buy these in paper form, but for plain words (fiction and non-fiction)? You can pry my Kindle from my cold dead hands.

victorstanciu··on AI to hit 40% of jobs and worsen inequality, IMF says
Yes it has. Just because _some_ woodworkers still exist doesn't mean the profession as a whole hasn't massively declined with the advent of the likes of IKEA.
victorstanciu··on Ask HN: Experience Starting a Blog
> I just list my email address.

That's what I did too. I added a mailto: link to the Hugo post template that also prefills the subject line with the title of the post when you click on it. The interactions I've had with this method feel much more meaningful to me than the average comment thread, for all the reasons @sph already mentioned.

victorstanciu··on ISS Rodent Habitat (2014)
The argument against animal testing is not necessarily that we should find an alternative, but that maybe the experiments themselves aren't worth it to begin with. That maybe the moral cost of the knowledge we gain from them is too high.

You don't have to be an absolutist on the matter in either direction, but surely each instance deserves this discussion, right? Because there has to be a difference between using animals to develop life-saving drugs, and whatever the hell Neuralink is doing to those poor monkeys.

victorstanciu··on Young adults in the U.S. are reaching key life milestones later than in the past
That's just consolation fiction in the same vein as "bullies are cowards".

I think the parent comment's take was better: It just is what it is. I'm happy with what I have, and I don't feel the need to imagine scenarios in which people better off than me are secretly unhappy.

victorstanciu··on Getting Podman running on Ubuntu 22.04 LTS
The article lists a couple of caveats already, but to me the real hurdle is the lack of a proper alternative to Docker Compose.
victorstanciu··on Twitterrific and other clients begin offloading their apps from Twitter
Shame on Twitter for turning on its allies. This is yet another sobering reminder on why you should think twice before building a product on someone else's platform. They can--and will--pull the rug out from under you and leave you in the dust.
victorstanciu··on Cruel optimism and lazy pessimism
Hey, thanks for commenting. Your comment actually got me thinking of something I've been meaning to get deeper into for a long time, so I wrote another post about it: https://tegowerk.eu/posts/death-of-the-author/
victorstanciu··on Ask HN: Will we be able to replace corporate middle management with AI?
I swear tech people have such a loathing for middle managers that it's no longer even funny. My unpopular opinion is that we're more likely to replace half of us programmers than managers, and that's because management is 90% about human understanding, and that's the one thing AI sucks at, and will probably suck at for a long time to come.

> Also AI would have certain advantages such as honesty, fairness and integrity.

Why, when it has no understanding of those concepts?

Page 1 of 3Next →