HNHacker News
TopNewBestAskShowJobs

paol

2,980 karma · joined August 10, 2010

submissionscomments
paol··on Reddit’s disrespectful design
I use old.reddit.com exclusively (automatically enforced by a browser extension[1]) and haven't experienced unexpected logouts.

[1] https://github.com/tom-james-watson/old-reddit-redirect

paol··on On UFOs-as-Aliens Priors
I wouldn't have put it so rudely, but that was more or less my take as well.
paol··on Firefox 89 Tab Appearance
A checkbox labeled "Title Bar" at the bottom of the customize window
paol··on QNAP ships NAS backup software with hidden credentials
Would you mind giving a quick review of the acoustic characteristics of the case?

I'm looking to move away from a QNAP box, and one of the driving reasons is the horrible "hard-plastic hard-mount everything" design that couldn't amplify hard drive noise any more if they'd done it on purpose.

paol··on QNAP ships NAS backup software with hidden credentials
That seems perfect spec-wise. Would you mind giving a quick review of the acoustic characteristics of the case?

I'm looking to move away from a QNAP box, and one of the driving reasons is the horrible "hard-plastic hard-mount everything" design that couldn't amplify hard drive noise any more if they'd done it on purpose.

(The other reasons are that I'd rather manage ZFS myself, and the need for more than gigabit ethernet)

paol··on KDE Connect: Enabling communication between all your devices
> "Send Clipboard" button

Where does that appear? Its not on the button bar that appears over a text selection.

paol··on KDE Connect: Enabling communication between all your devices
I'll take this opportunity to ask a technical question: clipboard integration via KDE Connect was a godsend, but it stopped working with Android 10.

I think I read somewhere that Android 10 forbids apps from managing the clipboard. Can anyone confirm this? I hold out hope that clipboard integration might work again...

paol··on FFmpeg 4.4
Gladly. There's even some relatively advanced stuff in there:

  # Save a RTSP stream to file
  ffmpeg -i rtps://someserver/somevideo -c copy out.mp4

  # encoding quality settings examples
  #   H264
  ffmpeg -i input.mp4 -a:c copy -c:v libx264 -crf 22 -preset slower -tune film -profile:v high -level 4.1 output.mp4
  #   H264 10bit (must switch to a different libx264 version)
  LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/x264-10bit ffmpeg -i input.mp4 -a:c copy -c:v libx264 -crf 22 -preset slower -tune film -pix_fmt yuv420p10le -profile:v high10 -level 5.0 output.mp4

  # resize 
  ffmpeg -i in.mp4 -s 480x270 -c:v libx264 out.mp4

  # change source fps
  ffmpeg -r 10 -i in.mp4 out.mp4

  # resample fps
  ffmpeg -i in.mp4 -r 10 out.mp4

  # extract the audio from a video
  ffmpeg -i inputfile.mp4 -vn -codec:a copy outputfile.m4a

  # merge audio and video files
  ffmpeg -i inputfile.mp4 -i inputfile.m4a -codec copy outputfile.mp4

  # cut (reencoding)
  #   set the start time and duration as HH:MM:SS
  ffmpeg -ss 00:00:40.000 -i input.mp4 -t 00:00:10 -c:v libx264 output.mp4
  #   set the start time and duration as seconds
  ffmpeg -ss 40.0 -i input.mp4 -t 10.0 -c:v libx264 output.mp4
  #   skip an exact number of frames at the start (100)
  ffmpeg -i input.mp4 -vf 'select=gte(n\,100)' -c:v libx264 output.mp4

  # cut (w/o reencoding - cut times will be approximate)
  ffmpeg -ss 40.0 -i input.mp4 -t 10.0 -c copy output.mp4

  # save all keyframes to images
  ffmpeg -i video.mp4 -vf "select=eq(pict_type\,I)" -vsync vfr video-%03d.png

  # encode video from images (image numbering must be sequential)
  ffmpeg -r 25 -i image_%04d.jpg -vcodec libx264 timelapse.mp4

  # flip image horizontally
  ffmpeg -i input.mp4 -vf hflip -c:v libx264 output.mp4

  # crop and concatenate 3 videos vertically
  ffmpeg -i cam_4.mp4 -i cam_5.mp4 -i cam_6.mp4 -filter_complex "[0:v]crop=1296:432:0:200[c0];[1:v]crop=1296:432:0:200[c1];[2:v]crop=1296:432:0:230[c2];[c0][c1][c2]vstack=inputs=3[out]" -map "[out]" out.mp4

  # 2x2 mosaic (all inputs must be same size)
  ffmpeg -i video1.mp4 -i video2.mp4 -i video3.mp4 -i video4.mp4 -filter_complex "[0:v][1:v]hstack=inputs=2[row1];[2:v][3:v]hstack=inputs=2[row2];[row1][row2]vstack=inputs=2[out]" -map "[out]" out.mp4

  # picture-in-picture
  ffmpeg -i video1.mp4 -i video2.mp4 -filter_complex "[1:v]scale=iw/3:ih/3[pip];[0:v][pip]overlay=main_w-overlay_w-20:main_h-overlay_h-20[out]" -map "[out]" out.mp4

  # print framerate of every file in dir
  for f in *.mp4; do echo $f; mediainfo $f|grep "Frame rate"; done

  # print selected info of every file in dir in CSV format
  for f in *.mp4; do echo -n $f,; mediainfo --Inform="Video;%Duration%,%FrameCount%,%FrameRate%" $f; done
paol··on The mainframe is alive and thriving
That doesn't make it thriving though. It's a niche that continues to get smaller, albeit at a very slow rate.
paol··on Space bar does not work on YouTube search at the moment
You don't need a plugin for that, it works out of the box.

[Edit] doc: https://www-archive.mozilla.org/docs/end-user/keywords.html

paol··on 'New car smell' is the scent of carcinogens
Cabin air is renewed at a high rate form the outside. It will contain fumes when the airplane is on the ground, because airport air contains fumes.

The vast majority of the time the airplane is at cruising altitude, though. That air is as clean as you are going to get on planet earth.

paol··on An Atonement of Nano
Absolutely. This is also why it's the right choice for the default editor: it lets anyone use it even if they've never seen it before.
paol··on MasterCard to push up fees for UK purchases from EU due to Brexit
The money quotes:

"From October, Mastercard said it would increase these fees to 1.5% on every transaction, up from 0.3%. The EU introduced a cap on such fees in 2015 after concerns they pushed prices up for consumers and unfairly burdened companies."

"Mastercard is implementing the rises simply as it's no longer bound by the restrictions imposed by the UK being in the EU."

Thus proving the caps were indeed necessary. If MC was making money with a 0.3% fee the other 1.2% are pure sweet profit margin.

paol··on Lessons for Philosophers and Scientists from Sherlock Holmes and Father Brown
Very cool. I'm a big fan of the standard ebooks project and it really seems to have picked up steam (i.e attracting contributers like yourself)
paol··on For the first time in Europe, registrations for EVs overtook diesel
Yes, this is important. As soon as you start counting hybrids the statistics become somewhat meaningless, not all hybrids are created equal. Some almost seem to just amount to greenwashing, but maybe I'm just cynical.
paol··on YouTube will now show ads on all videos even if creators don’t want them
I've long wondered why they don't do this for video ads. If they were served as part of the main video stream it would be almost impossible for ad-blockers to filter them.

(I even think the DASH segmentation would allow them to this without reencoding the original video, but that's just speculation on my part)

paol··on Don't use third party auth to sign in
Same here. Seeing that popup on medium.com with my google login identity was what finally prompted me to start using containers. Now google's domains are safely kept in their little box where they belong.

It's funny because there's nothing new about those login popups - I already knew conceptually that kind of thing was possible - but seeing your little avatar picture show up where it doesn't belong provokes a much more direct reaction than abstract knowledge.

paol··on Re-Thinking the Desktop OS
Then you need to address your petition to app developers. The OSes are not the source of the problem.
paol··on Benchmarking TensorFlow on Nvidia GeForce RTX 3090
It's the opposite, the T4 is far behind gaming GPUs.

Reasons to buy a T4:

- You need the 16Gb RAM. You usually won't for inference, though.

- You need single slot cards to use in server chassis. Even here you are likely better off buying a Quadros than a T4

- You need the high power efficiency of the T4 (75W TDP)

paol··on Benchmarking TensorFlow on Nvidia GeForce RTX 3090
Nvidia has official ppa's with all versions of CUDA, libcudnn and drivers. If you install from there you will not have problems.

It helps keeping to Ubuntu LTS versions though, that's what they support best.

paol··on Benchmarking TensorFlow on Nvidia GeForce RTX 3090
If you're just beginning a 3080 is overkill, never mind two. Get a used 1080ti (or even 2080ti if not overpriced), it'll be cheaper and even has a bit more RAM.
paol··on F1 Pit Stop In 2-Seconds: An In-Depth Analysis (2017) [video]
There haven't been green lights at the start for many years now. The start signal is the red lights going out.

But you're right about the randomization (although I don't think 9 seconds is right, I've never seen it take nearly as long as that)

paol··on F1 Pit Stop In 2-Seconds: An In-Depth Analysis (2017) [video]
If I understand correctly they are both right, it's a consensus system, i.e. the light will turn green once all inputs are GO
paol··on Sigil – A free, open-source, multi-platform eBook editor
Thank you, I was trying to figure out if it was a WYSIWYG editor or what.

It appears to be largely equivalent to the Calibre editor.

paol··on Lenovo’s Fedora-Powered ThinkPad P53 Is Everything I Want in a Linux Laptop
For your use case the best option is to run video off the intel integrated graphics and leave the DGPU entirely for compute.

That's how I have this very laptop configured, and also how I configured the workstations for the people here using GPUs for DL development (because a composited desktop will get very janky if you try to run it off a GPU currently being brought to its knees by a training process).

paol··on Red Hat and CentOS systems aren’t booting due to BootHole patches
EFI really was a step in completely the wrong direction. Massive complexity & feature set for no good reason.

Legacy BIOS had to go, it was designed at the time of 8086 and DOS and was really out of step with modern HW and OS needs. The replacement could have been even simpler though, now that OSes really want to take over everything themselves and no longer lean on the BIOS that way that DOS used to. Instead EFI created a monster and now we're stuck with it.

paol··on ListenBrainz moves to TimescaleDB
Excited to find out about the project. I regularly use MusicBrainz but didn't know about the sister projects.

I'll definitely be creating a ListenBrainz account. As a long time last.fm user I occasionally worry about the future of the platform. (There have been long stretches of time where it seems to have been in maintenance mode). You seem to support bulk importing last.fm data right?

paol··on Mozilla project exposes YouTube's recommendation 'bubbles'
There's no question about the value of the content youtube has accumulated. It's their stewardship of it that worries me.
paol··on Mozilla project exposes YouTube's recommendation 'bubbles'
Yes, that change in the right bar recommendations was very noticeable (though it happened quite some time ago). Like you I find the new system much less useful.

This has all the hallmarks of one of those changes driven by single-minded metric chasing (engagement!) instead of principled reasoning on what the product should do and feel like to use.

paol··on Building a $5k ML Workstation with Tiitan RTX and Ryzen ThreadRipper [video]
The reduction from 16x to 8x PCIe lanes is usually not a bottleneck for ML. Still, it's always a good idea to benchmark and validate the configuration, especially if you're planning to spend a lot of money on a bunch of identical systems.

As for RAM, only you can know how big your datasets are. But if you're training models on GPUs the bottleneck is almost certainly going to be GPU RAM, not system RAM.

← PreviousPage 5 of 13Next →