Posts
2342
Following
118
Followers
641
software tinkerer and aspiring rationalist. transhumanist and alterhuman

I try to be very careful about CWing things. sometimes I make mistakes but I want to make my posts as safe to read as possible

I sometimes post NSFW/kinky/lewd things behind CWs. this should go without saying but if you're a minor please do not interact with anything lewd/NSFW that I post

I have very limited energy and am very shy so it might take me a long time to reply to messages sometimes, or I might not be able to reply at all. this is kind of an "output only" account for the most part, but I'm hopeful that I can change that over time

I sometimes use curly braces to {clearly show where a grammatical phrase begins and ends}, like that. you can think of them like parenthesis in code or math, except they operate on grammar instead
repeated

Eivind (like the Terrible) 🎄

Four bendy buses managed to enter a roundabout at the exact same time from four different directions in Oslo yesterday afternoon and get properly stuck, each bus blocking the exit for the one behind it.

8
15
2

@rowan @eclairwolf I’m so glad you liked it so much! 💙 Bambara is amazing and so is this whole album

0
0
2
repeated

Talking to a co-worker about the ADHD tendency to keep too many photos on your phone.

Mendie: ... And then, I actually keep this photo in my phone, itself, so I don't know what that says about me.

6
8
1

me replying to emails like: thanks for the words :) I didn’t read them

0
0
7

@liese oohh I haven’t but that sounds great for me! I have been meaning to try F# at some point - I think you might’ve been the one who originally recommended it

although now that I look at it a little more, it looks intimidatingly similar to Haskell on the surface. it looks like it has much better documentation though omg - so that’s a huge plus that I really appreciate

I’ll definitely give this site a look when I get the chance, and thanks for mentioning it

1
0
1
repeated
repeated

I hate CORS

1
1
2
repeated

I got nerdsniped by your shitpost into trying to write a Forth interpreter in RNA. It didn’t actually take that long to get it working, at least in a simulator. Then I started looking at how to get my code into a prokaryotic ribosome. Imagine my surprise when I found **very** similar structure already there.

3
2
1
Edited 10 days ago
kas's thoughts on pure vs. impure functions
Show content

I’ve been thinking about the concept of pure functions a lot lately. at first I wanted to dismiss them but knew that I didn’t have enough experience with them to really make a judgement, but now I think that I’ve tried them enough to be able to give my thoughts

so first of all, pure functions are useful because they can be easily tested as self-contained code, which makes both debugging and unit-testing easier

but, I would argue that a codebase full of thoroughly unit-tested impure functions is actually much easier to debug than a codebase full of non-unit-tested pure functions. simply because you can immediately rule out all unit-tested functions as the cause of the bug (unless the unit-tests are missing something important, which I’ve never run into personally)

pure functions are very easy to unit-test, but impure functions with simple and well-documented side-effects are roughly as easy, and IMO they tend to be much more ergonomic overall: they’re generally easier to write, read, understand, and use (assuming that this is a function where one would be tempted to have side-effects, of course)

the one exception to this IMO is when you’re mutating shared state that isn’t neatly contained inside of an abstraction like an object. for example if a function takes a data-structure and then mutates that data-structure, you have to trust the caller to know that it’s okay for all references to that data-structure to be mutated. but in that case my solution would just be to make a class for that data-structure instead. because then it’s much easier to conceptualize what that state represents, and when it’s appropriate to make a copy of it instead of changing the original

I feel like there are plenty of potential footgun situations for a caller thinking that they have the only reference to some data-structure, mutating it, and then realizing that some code somewhere else was relying on the same assumption (that they have the only reference to that data). but again I think that the best solution is often just to make a new class to hold the data instead of treating the data itself as immutable

so basically I think that limiting the un-abstracted complexity of a function’s side effects is often a very good idea. but I think there are diminishing returns to limiting side-effects, and trying to maximize the number of pure functions in a codebase is more trouble than it’s worth - both for the caller and for the function-writer

2
2
3
repeated
repeated
Edited 10 days ago

36% I have cat(s) and they love me.
18% I have cat(s) and they tolerate me.
0% I have cat(s) and they hate me.
27% I do not have one or more cats.
18% I am a cat. Meow.
0
2
2
repeated

Avoiding public WiFi, QR codes, or public USB chargers doesn’t prevent you from being hacked. Happy to sign onto this open letter alongside 80+ cybersecurity veterans urging a shift from folklore to guidance that actually helps people avoid the most common attacks. https://www.hacklore.org/

1
2
1

@liese this totally makes sense! and it’s actually how I do this in Python too. I’ll start by writing the types and parameter names of the function, then I might write a docstring (which I use almost like pseudocode to tell myself what I want the function to do) and then I write the function itself

although… I’m not exactly an expert at typing yet lol and sometimes I just can’t figure out how to type something so that the typechecker is happy, and I just use Any instead, or some other shortcut hehe. so I feel pretty lost in a language that insists that I figure its type system out

1
0
1

@tropicaltrevor yep that’s exactly how I feel! I love typechecking and type annotations in Python and whenever I’m in a language that doesn’t have that I tend to feel a little lost. but it’s really important for me to be able to opt out of that too

the reason why I made my first post was because I ran into a situation where I had written a Haskell function that I was 100% certain would work, but I just could not explain it to the Haskell type system in a way that it could understand. and it kept giving me really arcane type errors - even if I let it infer the type itself

if I were using Python I could just opt out of having type annotations for that function, but Haskell insisted that I figure out what would please it, and I just couldn’t :/

0
0
1

I might give up on Haskell tbh. everything about the language - from reading it, to writing it, to installing and managing its tooling, to looking up documentation - takes so much effort. it’s exhausting to work with

2
0
3

I hate static typing and typeclasses so much T_T

2
0
1
repeated

@kasdeya I volunteer on Sundays in a museum on a niche "nerdy" subject (local public transit history). It's weird to me how many young/Gen Z folk keep asking us "can I buy that?" about the museum exhibits. As you say, it's like they're conditioned to associate joy from an object with a need for ownership of that object.

0
2
1
lewd/kinky fiction as a way of processing abuse
Show content

this is probably obvious to y’all but I just realized that Empty Spaces, Human Domestication Guide, and mechsploitation are all genres that are trying to do roughly the same thing. the common themes are:

  • an innocent POV character
  • who was/is made to be completely passive
  • is robbed of power, agency, and dignity
  • and subjected to extreme, eroticized abuse

and I think what’s going on is that these are ways to process trauma - especially the kind of trauma that comes from abuse that happened over a long period of time, where the abuse victim is shaped into being whatever is most convenient for the abuser, with no regard for the abuse victim’s physical or mental wellbeing. which effectively shapes them into a doll, or a mech pilot, or a floret

obviously recreating trauma through kink is a well-known thing at this point, and I think that these fiction genres are probably some combination of that and vent art. I guess it’s probably a way to take control over the trauma - to re-experience it in a way that feels safe. if I felt safe reading fiction, maybe I would like these genres too

1
0
11
repeated

Everyone is arguing about what the Roman Dodecahedrons are for, but the "sacred geometry" crowd isn't bothered by solving the mystery. They have put some "EMF protection antennas" and "transmitting balls" on something they 3D printed and are blocking ALL the bad energy with all the confidence of God.

And someday? Someone may find this artifact too and they will wonder.

1
2
1
Show older