Quantcast
Channel: Blargh
Browsing all 112 articles
Browse latest View live

Meshtastic quick setup

I wanted some nice offline mid range chat app, for when I don’t have data, or data roaming is too expensive. I also want it to work for people who are not amateur radio licensed, since my girlfriend...

View Article


Image may be NSFW.
Clik here to view.

Use AGW for packet radio applications

When creating packet radio applications, there are several options on how to get the packets “out there”, and get them back. That is, how to interface with the modem.Sure, you can write your own modem,...

View Article


Cross compiling Rust to Ubiquiti access point

SOLVED: I should have put the linker in .cargo/config.toml, not Cargo.toml. See followup blog post. This is not the right way to do it, as will become abundantly clear. But it works.Set up build...

View Article

Cross compiling Rust -- Fixed

Set up rust build environmentrustup toolchain install nightly rustup component add rust-src --toolchain nightly apt install {binutils,gcc}-mips-linux-gnu Choose glibc or musl as your libcYou can use...

View Article

Rust is faster than C, even before I added SIMD

I found some old C code of mine from around 2001 or so. I vaguely remember trying to make it as optimized as possible. Sure, I was still a teenager, so it’s not state of the art. But it’s not half bad....

View Article


Is your TLS resuming?

There are two main ways that a TLS handshake can go: Full handshake, or resume.There are two benefits to resumption:it can save a round trip between the client and server.it saves CPU cost of a public...

View Article

An AX.25 implementation in Rust

After having written a user space AX.25 stack in C++, I got bitten by the Rust bug. So this is the third time I’ve written an AX.25 stack, and I’ve become exceedingly efficient at it.Here it...

View Article

Connection coalescing breaks the Internet

Connection coalescing is the dumbest idea to ever reach RFC status. I can’t believe nobody stopped it before it got this far.It breaks everything.Thus starts my latest opinion post.What is connection...

View Article


Pike is wrong on bloat

This is my response to Rob Pike’s words On Bloat.I’m not surprised to see this from Pike. He’s a NIH extremist. And yes, in this aspect he’s my spirit animal when coding for fun. I’ll avoid using a...

View Article


Rebuilding FRR with pim6d

Short post today.Turns out that Debian, in its infinite wisdom, disables pim6d in frr. Here’s a short howto on how to build it fixed.$ sudo apt build-dep frr […] $ apt source frr […] $ cd frr-8* $...

View Article

Exploring RISC-V vector instructions

It finally happened! A raspberry pi like device, with a RISC-V CPU supporting the v extension. Aka RVV. Aka vector instructions.I bought one, and explored it a bit.SIMD backgroundFirst some background...

View Article

io_uring, kTLS and Rust for zero syscall HTTPS server

Around the turn of the century we started to get a bigger need for high capacity web servers. For example there was the C10k problem paper.At the time, the kinds of things done to reduce work done per...

View Article
Browsing all 112 articles
Browse latest View live