HNHacker News
TopNewBestAskShowJobs

chrisdew

409 karma · joined February 20, 2009

submissionscomments
chrisdew··on Learn you Galois fields for great good (2023)
UK Universities don't have majors and minors as the US does.
chrisdew··on Take a break: Error-detecting codes in credit card numbers, ISBNs etc. (2000)
Is the Damm algorithm strictly better than all of these?

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

chrisdew··on Ubuntu Looking at Discontinuing Its Source ISOs
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.

chrisdew··on Add extra stuff to a “standard” encoding? Sure, why not
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.

chrisdew··on Why have I never heard of the Ene-Farm? (2017)
How do you avoid condensation on walls and mould problems?
chrisdew··on Video Stabilization with FFmpeg and VidStab
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"
chrisdew··on Ask HN: Can you share websites that are pushing the utility of browsers forward?
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...

chrisdew··on Ask HN: CLI Tool for File Encryption?
I use Turnstile: https://github.com/fadedbee/turnstile
chrisdew··on QOI: Lossless Image Compression in O(n) Time
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.
chrisdew··on Show HN: Domain Drain
I've now added the sorting and a link to the full list.
chrisdew··on Show HN: Domain Drain
Yes, it's a very slow Dutch Auction.

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

chrisdew··on Show HN: Domain Drain
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.

chrisdew··on Show HN: Domain Drain
Hi, I'm Chris and Domain Drain is my side project. Any questions, please ask.
chrisdew··on Raspberry Pi 400 Desktop PC
Does the Pi 400 PCB allow a future 8 GB model?
chrisdew··on Gridgarden: A cool game to learn CSS Grid
Great game, but does grid display use 1-based numbering?
chrisdew··on Efficient string copying and concatenation in C
Is your string library open sourced? Could you provide a link?
chrisdew··on Is this Paypal experience customary?
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.

chrisdew··on Undefined Behavior in 2017
Some undefined behaviours relate to runtime values. !iirc! signed 2+2 is safe but signed SIGNED_INT_MAX + 1 is not.
chrisdew··on Undefined Behavior in 2017
How many of these 200+ undefined behaviours exist in more modern low-level languages, such as Rust and D?
chrisdew··on Nokia brand licensee HMD Global is now the new home of Nokia phones
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.

chrisdew··on Ask HN: Are there any 4g/LTE dumb phones?
I'm in the UK, I didn't know that.
chrisdew··on Ask HN: Are there any 4g/LTE dumb phones?
Thanks, but I'm deliberately looking for something non-Android non-iOS.
chrisdew··on Ask HN: Are there any 4g/LTE dumb phones?
Thanks, but I don't want to pay for two SIMs/plans.

Edit: I'd also prefer not to have to remember to carry two devices.

chrisdew··on What Pro Computing Could Be
Yes, we lost something as soon as applications could start doing things without explicit instruction from the machine's owner.

Limited technology (pre-HDD) accidentally gave us privacy (data on disconnected floppy disks) and security (OSs on ROMs).

chrisdew··on Ask HN: What do you use for remote access?
Autossh is great, I use it all the time. I use "@reboot" in a non-privileged user's cron to start them.
chrisdew··on UK votes to leave EU
As a Brit, I hope it forces some EU changes and a new referendum. Largely because Scotland will leave the UK if the UK leaves the EU.
chrisdew··on Show HN: CartoChrono, a mapping tool – useful to anyone else?
Thanks, I like the idea of making an embeddable playback widget for other people's web sites. The point was to be able to visualise chunks of CSV time/position data - being able to publish those visualisations may be a useful feature.
chrisdew··on Show HN: CartoChrono, a mapping tool – useful to anyone else?
I'm considering spending some more time on this to refactor the code and add a couple of new features. I want to find out whether such a tool is of use to anyone else, before spending further hours. I am open to feature requests.
chrisdew··on Let Chris Crawford teach you to program Atari's 8-bit computers [video]
> Then I discovered that if you put performance-critical code into lower-memory addresses it runs much faster.

Do you mean higher memory addresses?

Code in the lower 16KB of RAM (addresses 16-32KB) has contended memory access with the ULA, which causes the CPU to pause while the TV raster line is drawn.

Code in the upper 32K does not have this issue.

chrisdew··on ASCII Art Weather
Why does it forecast sunshine at night?
Page 1 of 4Next →