@lordbowlich did they have you read Willa Cather at all?
internal-error: int internal_type_vptr_fieldno(struct type *): Assertion `TYPE_CODE (type) == TYPE_CODE_STRUCT || TYPE_CODE (type) == TYPE_CODE_UNION' failed.
A problem internal to GDB has been detected, further debugging may prove unreliable.
On the plus side, the actual new code to support all our new fancy addressing for document locations and more complicated document structure, which I pulled apart and rewrote about 3 times when trying to find this bug, is now really clean and easy to read.
Old lessons about searching for keys under lampposts might be applicable for avoiding this sort of waste of time in the future.
Spent at least a day (probably more like 3 days, all told) fixing problems in unit tests that were ultimately due to a bug in test support code that had been ported over to support the huge refactor and originated in v1 of this section of the codebase. Massive ugliness until I nailed down what was going on. (Accidentally reusing object IDs from the central pool because the test utility wasn't incrementing the global counter properly.)
@xmanmonk my condolences
@nhr If you're super lucky, the drivers that exist can already talk with your laptop's devices, but they don't know that because the device identifiers aren't coded into them yet. E.g., look at the constants in https://github.com/openrazer/openrazer/blob/master/driver/razerkbd_driver.h and how they're used in that codebase, and see if you can work out (maybe by poking around in /sys or with lsusb(8)) what magic numbers correspond to your devices.
General kernel driver docs entry point here: https://linux-kernel-labs.github.io/master/labs/device_model.html
@Shufei @emacsomancer the way that Racket makes it easy to define your own syntax (which I'm sure you're familiar with because you already know the significance of "#lang racket/base") enables freedom from dependence on a specific syntax and eases definition of an underlying semantics. E.g., https://shriram.github.io/p4p/ (and the subsequent https://www.pyret.org/). Or https://docs.racket-lang.org/scribble/getting-started.html.
The trusty Thinkpad from 2007 has started locking up hard because of overheating. Might be that something important is about to give out, or maybe it just needs its rear vents cleared out.
Nice to see that it lasted this long, and I will miss it once the hardware finally goes. It would be nice to upgrade and take advantage of the past 10 years' advancements in weight reduction, screen resolution, and battery life. But finding a replacement with a satisfying keyboard will be difficult.
Then, the program
'(1 ("23456") 7 8)
This is too nifty. Racket is nearly ‘pataphorical in its lack of syntactic limitations. Syntax itself is more a convention when it can be expanded or altered on the fly with read and read-syntax.
Take too hot for anywhere but here: apoliticality is a privilege.
If you want to "keep politics out of this space" then you live with the conditions that lofty political decisions will have no impact on your life. You don't live a life where the whims of some talking head can determine weather or not you have a place to sleep tomorrow, or when the next time you'll get a meal will be. To be apolitical is to have no concern for the goings-on of the status quo, which means that it benefits you.
@xmanmonk "this story of adolescent love and angst was made possible by Bath Iron Works... and viewers like you"
@xmanmonk if it's not being broadcast (live) from a submersible or bathyscaphe manned by James Cameron, it can't possibly be worth watching
The doubly connected edge list was a fun foray into data structures in #rust over the weekend. The reference I used was , although now I see that Wikipedia also has a reasonable intro .
This structure is useful for representing planar graphs, which are an important building block if you want to generate maps of imaginary worlds.
At 12:30 this afternoon, a friend messaged me to talk about building a good planar graph library in Rust.
12 hours later (with breaks to do childcare, go grocery shopping, cook dinner, process laundry, do the dishes, ...), we have something efficient and memory-safe (using the generative lifetime trick), with a reasonably pleasant API, and passing elementary unit tests.
Time to call it a night.
Also @naturaltonic on Twitter.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko