Readit News logoReadit News
maximilianburke commented on Zig Libc   ziglang.org/devlog/2026/#... · Posted by u/ingve
maximilianburke · 8 days ago
It is possible to both abolish ICE and CBP.

Especially as CBP officers commit crimes at a higher rate than undocumented migrants in the US: https://www.doomsdayscenario.co/p/accountability-for-ice-and...

In fact if you were to make a police force entirely out of CBP officers who have been arrested, it would be the fourth largest police force in America.

maximilianburke commented on Implementing a tiny CPU rasterizer (2024)   lisyarus.github.io/blog/p... · Posted by u/PaulHoule
feelamee · 12 days ago
> Triangles are easy to rasterize

sure, rasterizing triangle is not so hard, but.. you know, rasterizing rectangle is far far easier

maximilianburke · 12 days ago
…as long as all points are co-planar.
maximilianburke commented on Why is the Gmail app 700 MB?   akr.am/blog/posts/why-is-... · Posted by u/thefilmore
culebron21 · a month ago
Not surprising, sadly. In 2022, a friend who did trekking, asked how to view files with national parks borders on a map. I recommended installing QGIS desktop (geospatial viewer/editor of files/database tables). He replied: "1 GB of download?! Seriously?!" I was surprised, because last time I had paid attention, maybe in 2016, it was ~200 megs. I checked, and indeed, it weighed 1 gig. I checked in 2025, and it's beyond 1,3 gig now. And it's FOSS, not commercial bloatware you might think. I have no idea what they stuff it with.

Just yesterday, I wanted to generate a GeoTiff on a macbook. To do it in a simple way, you need libGDAL, a geo-spatial abstraction library that exists since maybe the '90 and supports all thinkable formats. Under Linux, you just install it together with QGIS as a dependency. Mac is still unix, so you may think, a 3-decades old library, with few patches to support modern formats, should be just a couple of megs, right? Brew suggested downloading ~2 GB of ~100 packages!!!! Half of them were aws-* (yes, AWS tools), and 1 GB of LLVM!!! (is it their whole GIT repo with 10M SLOC?)

For geotiff, I ended just using standard Tiff library, inserting my 4 geospatial tags with a few lines of code.

maximilianburke · a month ago
I just downloaded QGIS to take a look. On my Mac, it takes 2.1GB of disk space after installation, which has some notable space sinks:

* 562mb of Python 3.11 and libraries (of which 240mb goes to the qgis python library, 101mb goes to duckdb, and 50mb to PyQt5) * 130mb to i18n * 140mb to `libclntsh.dylib` which I think is the Oracle DB client library? * 80mb to libduckdb.dylib, separate from the Python version * 80mb to libQtWebKit

maximilianburke commented on C Is Best (2025)   sqlite.org/whyc.html... · Posted by u/alexpadula
usefulcat · a month ago
And it remains to be seen how well this approach will work as time passes and the number of versions continues to increase.
maximilianburke · a month ago
Well, there's the 2015, 2018, 2021, and 2024 editions. It's been a decade and it seems to be working pretty well?
maximilianburke commented on Jonathan Blow has spent the past decade designing 1,400 puzzles   arstechnica.com/gaming/20... · Posted by u/furcyd
socalgal2 · 2 months ago
> The Republicans are led by white supremacists and they hate me for being transgender

This is utterly false. At best you can claim you’ve heard of a few homophobic racists who happen to be republican . I’ve met just as many who happen to be democrat

Just to easily refute one of your 2 claims. Non-white republicans demographics is growing, not shrinking

maximilianburke · 2 months ago
It's possible (and true) that non-white Republican demographics have been growing and that the Republicans are currently being led by white supremacists, with the latter being demonstrated by the words and actions of Trump, Miller, Noem, Hegseth, Musk, etc.
maximilianburke commented on Super Mario 64 for the PS1   github.com/malucard/sm64-... · Posted by u/LaserDiscMan
giancarlostoro · 2 months ago
Interesting, I'm wondering if the GBA could handle a light version of a Minecraft style game, but the N64 looks like it could be great at it too. I need to get me a SummerCart64 one of these days and experiment with my old N64.
maximilianburke · 2 months ago
Probably. There's Tomb Raider for the GBA via OpenLara: https://www.youtube.com/watch?v=_GVSLcqGP7g
maximilianburke commented on Rust in the kernel is no longer experimental   lwn.net/Articles/1049831/... · Posted by u/rascul
menaerus · 2 months ago
Sorry but what have I said wrong? The nature of code written in kernel development is such that using unsafe is inevitable. Low-level code with memory juggling and patterns that you usually don't find in application code.

And yes, I have had a look into the examples - maybe one or two years there was a significant patch submitted to the kernel and number of unsafe sections made me realize at that moment that Rust, in terms of kernel development, might not be what it is advertised for.

> https://git.kernel.org/pub/scm/linux/kernel/git/a.hindborg/l..

Right? Thank you for the example. Let's first start by saying the obvious - this is not an upstream driver but a fork and it is also considered by its author to be a PoC at best. You can see this acknowledged by its very web page, https://rust-for-linux.com/nvme-driver, by saying "The driver is not currently suitable for general use.". So, I am not sure what point did you try to make by giving something that is not even a production quality code?

Now let's move to the analysis of the code. The whole code, without crates, counts only 1500 LoC (?). Quite small but ok. Let's see the unsafe sections:

rnvme.rs - 8x unsafe sections, 1x SyncUnsafeCell used for NvmeRequest::cmd (why?)

nvme_mq/nvme_prp.rs - 1x unsafe section

nvme_queue.rs - 6x unsafe not sections but complete traits

nvme_mq.rs - 5x unsafe sections, 2x SyncUnsafeCell used, one for IoQueueOperations::cmd second for AdminQueueOperations::cmd

In total, this is 23x unsafe sections/traits over 1500LoC, for a driver that is not even a production quality driver. I don't have time but I wonder how large this number would become if all crates this driver is using were pulled in into the analysis too.

Sorry, I am not buying that argument.

maximilianburke · 2 months ago
Unsafe doesn't mean a wild-west free-for-all. Unsafe Rust still has more safety guarantees than C or C++.

Have you written any Rust?

maximilianburke commented on Rust in the kernel is no longer experimental   lwn.net/Articles/1049831/... · Posted by u/rascul
pjmlp · 2 months ago
Why should they?

Other platforms don't have a leader that hates C++, and then accepts a language that is also quite complex, even has two macro systems of Lisp like wizardy, see Serde.

OSes have been being written with C++ on the kernel, since the late 1990's, and AI is being powered by hardware (CUDA) that was designed specifically to accomodate C++ memory model.

Also Rust compiler depends on a compiler framework written in C++, without it there is no Rust compiler, and apparently they are in no hurry to bootstrap it.

maximilianburke · 2 months ago
> Also Rust compiler depends on a compiler framework written in C++

As does the GCC C compiler.

maximilianburke commented on Rust in the kernel is no longer experimental   lwn.net/Articles/1049831/... · Posted by u/rascul
weebull · 2 months ago
I don't understand why. Working with hardware you're going to have to do various things with `unsafe`. Interfacing to C (the rest of the kernel) you'll have to be using `unsafe`.

In my mind, the reasoning for rust in this situation seems flawed.

maximilianburke · 2 months ago
Unsafe in Rust doesn't mean anything goes. Specifically it means that you are going to 1) dereference a raw pointer; or 2) call an unsafe function/method; or 3) access/modify a mutable static variable; or 4) implement an unsafe trait; or 5) access fields of a union.

You still get the safety guarantees of Rust in unsafe code like bounds checking and lifetimes.

maximilianburke commented on Let's put Tailscale on a jailbroken Kindle   tailscale.com/blog/tailsc... · Posted by u/Quizzical4230
jsheard · 2 months ago
If you want a cheap rooted eReader I think you're better off getting a Kobo instead, they don't officially support rooting but AFAICT they make basically no effort to prevent it.
maximilianburke · 2 months ago
I used to like my Kobo a lot but recently it's got some pretty severe unreliability issues, usually around reading non-Kobo epubs and PDFs. Like, if I open of those files, the device usually crashes and when it recovers after a reboot, the file disappears.

u/maximilianburke

KarmaCake day2194September 5, 2010
About
@max@av8r.ca

http://ca.linkedin.com/in/maxburke https://github.com/maxburke

CTO @ UrbanLogiq

View Original