Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Of all the existential questions that plague me, this is perhaps the most thorny:

Uncategorized
5 3 0

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    6 Views
    Sometimes I wander into wonderful rabbit holes.This week's adventure, "What’s the fastest way to multiply two 32-bit numbers on an ARM Cortex-M0 CPU?"If you're thinking Karatsuba multiplication (https://en.wikipedia.org/wiki/Karatsuba_algorithm), you’re wrong.While Karatsuba offers a lower asymptotic complexity (around O(n^1.58)), it only pays off when used recursively on larger integers.On the Cortex-M0, Karatsuba runs much slower than the plain naïve multiply. It turns out, simplicity wins at this scale.Godbolt Source:https://godbolt.org/z/4rP7bnv6r#programming #math
  • 0 Votes
    3 Posts
    14 Views
    @stefano @nixCraft @imil Here on Debian {in MX Linux} I had to add the following tools since the machine is not configured for programmingbmake`apt install bmake`bsdtar`apt install libarchive-tools`then success>> log# $ ./startnb.sh -f etc/sshd.conf* using console: vioconusing QEMU version 7.2.19 (Debian 1:7.2+dfsg-7+deb12u16)[ 1.0000000] NetBSD 11.99.3 (MICROVM) Notice: this software is protected by copyright[ 1.0000000] Detecting hardware... (QBOOT 000000000000)[ 1.0257426] done.[ 1.0345973] kernel boot time: 51msCreated tmpfs /dev (1835008 byte, 3552 inodes)add net default: gateway 10.0.2.2Starting sshd.Server listening on :: port 22.Server listening on 0.0.0.0 port 22.>> End of log^ZI pressed ^C to enter the server to add the needed passwords for the user and rootlogin was a success then#netBSD #BSD #UNIX #OpenSource #programming #quemu #bash #sh
  • 0 Votes
    1 Posts
    12 Views
    Heads up, Pragmatic Programmers (https://pragprog.com) is having a flash sale for 45% off PragProg books through Sept 18th to 20th. If there's something you've been wanting to level up on, keep an eye out on these upcoming dates.#ruby #programming #pragprog #techbooks #devlife
  • Text

    Uncategorized code programming
    1
    0 Votes
    1 Posts
    9 Views
    Text.If you can't write real code with just a basic text editor, you can't code. It's an unpopular opinion in the modern world, with all the assistance, code completion, "AI", etc... but basic skills without crutches/assistance are important. #code #programming