@twee setting number_pad:1 in the config might help. And you might be able to get by for a while by entering non-movement commands `M-x foo'-style by entering them as extended commands (nethackwiki.com/wiki/Commands).

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.

dstu boosted

a city builder/management game but for o'neill cylinders

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.)

@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 github.com/openrazer/openrazer 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: linux-kernel-labs.github.io/ma

@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 " racket/base") enables freedom from dependence on a specific syntax and eases definition of an underlying semantics. E.g., shriram.github.io/p4p/ (and the subsequent pyret.org/). Or docs.racket-lang.org/scribble/.

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.

dstu boosted

>
Then, the program

racket/base

'(1 "five.rkt"234567 8)
is equivalent to

racket/base

'(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.

docs.racket-lang.org/guide/has

Went back to the fencing club for sparring night for the first time in ages, and... whoo boy, it is painfully evident that I stopped practicing and have really fallen out of shape. But I may finally drawn a bead on sleeping enough every night, which is nice.

Had a dream I was handling the bare magnetic media for a 3.5" floppy. It had a striking resemblance to the mesh steel filter in the coffee press that we use when guests are over, because dream logic. Not sure what brought that on.

dstu boosted

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.

It's day two (almost day three now), and I can't tell if I'm falling ill or just completely exhausted.

dstu boosted

Self care is not a waste of time. Self care makes your use of time more sustainable. ~ Jackie Viramontez

@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 over the weekend. The reference I used was [1], although now I see that Wikipedia also has a reasonable intro [2].

This structure is useful for representing planar graphs, which are an important building block if you want to generate maps of imaginary worlds.

[1] ti.inf.ethz.ch/ew/Lehre/CG13/l
[2] en.wikipedia.org/wiki/Doubly_c

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[1]), with a reasonably pleasant API, and passing elementary unit tests.

Time to call it a night.

[1] reddit.com/r/rust/comments/3oo

Show more
Mastodon @ SDF

"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