News for hackers. Stuff that matters.

chrisdew

Re:Learn You Galois Fields for Great Good (00) on Saturday June 21, 2025 @07:22AM (#44336628)
UK Universities don't have majors and minors as the US does.
Is the Damm algorithm strictly better than all of these?

https://en.wikipedia.org/wiki/Damm_algorithm

Re:Ubuntu Looking at Discontinuing Its Source ISOs on Monday January 08, 2024 @07:29AM (#38911016)
Back when I switched to Ubuntu 8.04, fifteen years ago, they had the best set of included drivers and non-free (MP3) software.

I switched back to Debian (12/bookworm) a few months ago because of Ubuntu's snap packages. I've not noticed any downside yet.

Re:Add extra stuff to a “standard” encoding? Sure, why not on Wednesday September 20, 2023 @07:15AM (#37582789)
Protobuf over UDP can use the UDP payload length. Likewise for the many variants of self-sychronising DLE framing (DLE,STX..DLE,ETX) used on serial links.

A varint length field prepended to protobuf messages (sent over a reliable transport, such as TCP) seems sane.

Re:Why have I never heard of the Ene-Farm? (2017) on Saturday September 03, 2022 @06:20AM (#32700429)
How do you avoid condensation on walls and mould problems?
Re:Video Stabilization with FFmpeg and VidStab on Wednesday August 10, 2022 @07:16AM (#32410159)
The "double-bonus two-liner":

    export vid="sourcevid.mkv"
    ffmpeg -i "$vid" -vf vidstabdetect -f null -; ffmpeg -i "$vid" -vf vidstabtransform "$vid.stab.mkv"; ffmpeg -i "$vid" -i "$vid.stab.mkv"  -filter_complex vstack "$vid.stacked.mkv"
can be a one liner:

    vid="sourcevid.mkv" ffmpeg -i "$vid" -vf vidstabdetect -f null -; ffmpeg -i "$vid" -vf vidstabtransform "$vid.stab.mkv"; ffmpeg -i "$vid" -i "$vid.stab.mkv"  -filter_complex vstack "$vid.stacked.mkv"
Blind Upload uses crypto.subtle to encrypt files in the browser, before uploading them to the cloud and displaying the key only in the browser.

https://www.blindupload.org https://developer.mozilla.org/en-US/docs/Web/API/Crypto/subt...

Re:Ask HN: CLI Tool for File Encryption? on Friday April 29, 2022 @09:58AM (#31205160)
Re:QOI: Lossless Image Compression in O(n) Time on Wednesday November 24, 2021 @07:23AM (#29329275)
The current encoding is complete, so no future extensions are possible.

A fix would be to change:

  110rrrrr ggggbbbb - copy the last pixel and adjust RGB by (r-15, g-7, b-7)
to:

  1100rrrr ggggbbbb - copy the last pixel and adjust RGB by (r-7, g-7, b-7)
This leaves:

  1101???? ...
available for future extensions.
Re:Show HN: Domain Drain on Wednesday March 10, 2021 @12:48AM (#26408219)
I've now added the sorting and a link to the full list.
Re:Show HN: Domain Drain on Saturday March 06, 2021 @08:18AM (#26367142)
Yes, it's a very slow Dutch Auction.

Your suggestions are very welcome. I'll add those features tomorrow.

Re:Show HN: Domain Drain on Saturday March 06, 2021 @04:23AM (#26366240)
Hi, thanks for your question.

At the bottom of the "Sellers" information is the line: "If you are interested in listing your domain(s) on Domain Drain, complete the form below for more information." and a form to complete.

How could I position this better?

I'm concerned that if I put it at the top, people won't know why they're filling in the form.

Re:Show HN: Domain Drain on Saturday March 06, 2021 @01:51AM (#26365706)
Hi, I'm Chris and Domain Drain is my side project. Any questions, please ask.
Re:Raspberry Pi 400 Desktop PC on Tuesday November 03, 2020 @11:32AM (#24981136)
Does the Pi 400 PCB allow a future 8 GB model?
Re:Gridgarden: A cool game to learn CSS Grid on Tuesday September 24, 2019 @03:53AM (#21057572)
Great game, but does grid display use 1-based numbering?
Re:Efficient string copying and concatenation in C on Friday September 13, 2019 @04:22AM (#20960208)
Is your string library open sourced? Could you provide a link?
Re:Is this Paypal experience customary? on Friday July 05, 2019 @08:05AM (#20361861)
Some financial systems, a large number of which run on mainframes, have databases where all fields are fixed length. (A database with fixed-length records is trivial to access randomly.)

One of my credit cards lists my name as "Christophe" rather than "Christopher" as they have a fixed-length 10 character field for first names. Customer support said it was unfixable.

It only takes one such system, in a complex web, to impose that limit on all systems.

Re:Undefined Behavior in 2017 on Wednesday July 05, 2017 @04:04AM (#14700651)
Some undefined behaviours relate to runtime values. !iirc! signed 2+2 is safe but signed SIGNED_INT_MAX + 1 is not.
Re:Undefined Behavior in 2017 on Wednesday July 05, 2017 @03:36AM (#14700528)
How many of these 200+ undefined behaviours exist in more modern low-level languages, such as Rust and D?
I've been using my Nokia 6310i for a few weeks now, after three broken Androids and one broken iPhone. I have no intention of getting another smart phone.

Please build a non-smart, monochrome, small screened, long battery life, 4G Nokia.

Re:Ask HN: Are there any 4g/LTE dumb phones? on Friday November 18, 2016 @05:29AM (#12985749)
I'm in the UK, I didn't know that.

Older »