HNHacker News
TopNewBestAskShowJobs

Cadwhisker

389 karma · joined January 29, 2017

submissionscomments
Cadwhisker··on Total Eclipse of the Moon: 2022 May 16
The one I'm waiting for will be a toal solar eclipse for 4 minutes over Sydney on the 22nd July 2028...

https://astro.ukho.gov.uk/eclipse/0412028/

Knowing Sydney, they'll probably blow up a ton of fireworks or something...

Cadwhisker··on AV1 Video Codec
I have to agree with NVENC. I've benchmarked dozens of HW and SW encoders for quality (not just encoding speed) and it gives the best BD-Rate on average.

For H.264, hardware can brute-force every possible Intra encoded macroblock and make rate-distortion-optimised QP/prediction decisions in real-time or better. This gets much harder for H.265, where brute-force is fairly impractical and the clever algorithm wins.

A well-designed hardware codec can also run inter-frame block matching searches vastly more efficiently than software can.

Cadwhisker··on AV1 Video Codec
I think a more relevant front page link/summary would be that the open-source AV-1 codec has reached the v1.0.0 milestone (18 days ago).

https://github.com/AOMediaCodec/SVT-AV1/releases/tag/v1.0.0

Cadwhisker··on AV1 Video Codec
You can see nVidia's hardware support here: https://developer.nvidia.com/video-encode-and-decode-gpu-sup...

The take-away is that nVidia only has hardware support for AV1 on the RTX 3000 Ampere series cards.

Intel supported AV-1 decoding in its Xe-LP GPUs in 2020.

Intel also reached v1.0.0 of its open-source codec 2 weeks ago, here: https://github.com/AOMediaCodec/SVT-AV1

I am not aware of any other CPU or GPU that has an AV-1 codec built in.

Cadwhisker··on AV1 Video Codec
There's a slightly counter-intuitive thing with H.264 and H.265 encoding: for any given bit-rate, you'll get better quality if you encode at 10-bits instead of 8-bits, even if the source clip was 8-bit.

The reason for this is the DCT transform results in 16-bit numbers for every pixel. The reason that doesn't make things worse is (partly) because it only sends the non zero values.

There's too many more reasons why, but that's the quick summary.

Cadwhisker··on AV1 Video Codec
macOS and Windows 10 have included a license for H.264 and H.265 for a few years now (encode/decode are OS API calls). Linux does not, however GPUs like Intel's QuickSync, nVidia's NVEnc/NVDec and AMD's VCEEnc/VCEDec have one. If you paid for the GPU or CPU with a built-in codec, then that included a license.

ffmpeg can be compiled with support for your hardware encoder.

Cadwhisker··on Monsanto’s ghostwriting to influence science and media
Yep, fair enough. I'll remove the comment. Others have phrased it better.
Cadwhisker··on Monsanto’s ghostwriting to influence science and media
[deleted]
Cadwhisker··on Interactive, file-level Time Machine-like tool for ZFS
Nice choice of username, then ;)
Cadwhisker··on DaVinci Resolve 18
It's been a free upgrade for as long as I can remember and there's no indication that the policy will change.
Cadwhisker··on DaVinci Resolve 18
He talks at length about this in the new product release video, starting @ 7:28.

https://www.youtube.com/watch?v=tr8ft07qX_g

Cadwhisker··on Intel Virtualization and Apple Silicon
Does this method allow you to pass-through USB ports?

How is it different from running an XPRA server on the remote machine?

Cadwhisker··on Ask HN: What made your business take off that you wish you'd done much earlier?
Atlassian software
Cadwhisker··on Australian spy agency disrupts foreign election interference
Better coverage here: https://www.smh.com.au/politics/federal/chinese-spies-attemp...

"A Chinese spy ring attempted to bankroll NSW Labor candidates in the upcoming federal election in an attempt to get MPs elected to Australia’s Parliament.

The plot was foiled by the nation’s counter-espionage agency ASIO, preventing the spies from installing sympathetic candidates into Labor’s preselection process."

The opposition party are already spinning this to claim that the Labor party are friendly to China.

Cadwhisker··on Ask HN: What are some good tech magazines?
This was the best "advanced" electronics magazine I found so far. They're taking the hobbyist level magazines up a notch.
Cadwhisker··on BeeWare – write Python, run everywhere using native UIs
If you know how to take advantage of Qt, then you can make real-time video player, a real-time interactive graph or whatever else you can build with Qt's framework, then deploy it to Windows, Mac or Linux as if it were a native app.
Cadwhisker··on BeeWare – write Python, run everywhere using native UIs
There's also Fman's Build System (FBS): https://build-system.fman.io/

It's got some very similar features to BeeWare and the author is on Hacker News somewhere...

Cadwhisker··on BeeWare – write Python, run everywhere using native UIs
I've used Python, Qt and BeeWare to develop an interactive tool to analyse compressed video. It's fast enough that I don't know it's not a native app. You can make some very complex applications if you learn to take advantage Qt's features.

I start with a release of WinPython, then use its command line to make a virtual environment, install `briefcase` and go from there.

I should also add that I found FMan's Build System to be quite easy to do the same thing: https://github.com/mherrmann/fbs-tutorial

Cadwhisker··on Spam blacklisting is out of control
I also run an email server. I just used https://mxtoolbox.com/ to check my status and yep, UCEPROTECTL3 is the ONLY one to have my IP range listed.

The article sums it up nicely: IP blacklists have their place, however, please don’t use the overarching neighbouring blacklists such as UCEPROTECTL2 and UCEPROTECTL3.

Cadwhisker··on Facebook Renames to Meta
Finally, someone found a way to get everybody off "Facebook".
Cadwhisker··on Why satellites are manufactured in clean rooms
Yep, me too. It read like a damned advert for clean rooms towards the end.
Cadwhisker··on Why satellites are manufactured in clean rooms
In addition to the above, the effects of ESD are cumulative. You may think you're getting away with not following correct ESD procedures until one day something stops working and you're left wondering why, because nothing you did has changed.
Cadwhisker··on Git password authentication is shutting down
I still find PuTTY very useful, but domain spammers have managed to hijack the author's official page from the top of search-engine lists.
Cadwhisker··on Git password authentication is shutting down
It was a month ago and I didn't note down all my attempts. It went something like:

Pushes were not working. I re-entered my password a few times, checked other config settings a few times before Googling the Git error message, which led me to find that GitHub's security policy was changing.

I tried an SSH login (fail), switched to trying locally generated SSH keys.

Used PuTTY's "puttygen.exe" to make an SSH key. Did that, then found it was a newer format that Tortoise could not handle. Used TortoiseGit's copy of "puttygen.exe". Did this a few times as GitHub wouldn't accept the format that my key was in.

Gave up on GUI key generation, tried command-line and failed a few more times.

I think I looked at personal access tokens at some point.

Went back to GUI SSH file creation, and managed to upload my puttygen SSH key by copy/pasting from part of the dialog box that I hadn't tried before.

Used GitHub's "git@github.com:<username>/repo" syntax to get a fresh clone of my repo. Finally I realised that I needed to use the github URL syntax combined with "Load Putty Key" ticked and pointing to my private key

I'm still not sure if it's the right way or the best way, but it worked, so I stopped looking.

Cadwhisker··on Git password authentication is shutting down
I use TortoiseGit under Windows. It took me 3 days (on and off) to figure out how to push code to my repositories again. The amount of misleadng and confusing information on the internet is extraordinary.

Signed: a developer with well over a decade of experience in version control, *nix, Windows, crypto, etc.

Cadwhisker··on Nuitka: a Python compiler written in Python
Ah, great news. Thanks for making FBS; it is incredibly liberating to find a tool that lets us write Python GUI apps and have them appear as if they were made by XCode or Visual Studio.
Cadwhisker··on Nuitka: a Python compiler written in Python
I've not tried Nuitka yet, but I've done similar things with 2 other tools to package up a Qt-based GUI tool that has a Windows installer, Mac ".dmg" or a Linux package:

* FBS (FMan's Build System) - worked well for a while, but we couldn't upgrade Qt past a certain version and he version we used was only happy with Python 3.6.

* Beeware - our current solution. Very, very happy with this; works smoothly, lets us use the latest Python and Qt versions and lets us make professional-looking installers that we can distribute.

Cadwhisker··on Check out the kick-ass anti-drone weapons carried by Biden's security in Belgium
The shoulder-mount one fires a net. The one that's pointing down can knock out a drone that's a long way away... https://www.droneshield.com/dronegun-tactical
Cadwhisker··on Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest intentional weakness
For those who don't know what GEA-1 or GEA-2 is, it's used in mobile phone traffic.

There's a clearer write-up of this discovery and its implications here: https://www.miragenews.com/a-backdoor-in-mobile-phone-encryp...

Cadwhisker··on The work-from-home future is destroying bosses' brains
I can't agree anough with this approach.
← PreviousPage 4 of 5Next →