@domi@donotsta.re
@domi@donotsta.re avatar

domi

@domi@donotsta.re

scared of you more than you think
interests: reverse engineering, networks, osdev and olde shite

"we can't all be gay. but we can all do crime" ~ juh
"Plural system, (...) very cute" ~ @phos
"idk, these things work better when they're out of context IMO" ~ @linus
"you’re such a zork" ~ @jaiden
"one sec; aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa :neocat_blush_hide:" ~ https://donotsta.re/users/filmroellchen

aka Dominique (catchall; headmates: Alice, Paula, Tulip, Emily)

This profile is from a federated server and may be incomplete. Browse more on the original instance.

domi, to random
@domi@donotsta.re avatar

i did not have “Linus makes a bash shitpost” on my 2024 bingo card

RE: https://donotsta.re/objects/37a2da66-6494-4f20-a6ee-615b9a5b25d5

foone, to random
@foone@digipres.club avatar

I saw this voltmeter at the electronics flea market. Look at that massive probe! It looks like you need to check your back blast before using it.
Apparently it's for REALLY high voltages? Like, 3kV?

domi,
@domi@donotsta.re avatar

@foone i love how the multimeter looks absolutely normal and then the probes are all crazy

ayo, (edited ) to random
@ayo@ayco.io avatar

Which CHAT protocol do you use more? #pls #boost

domi,
@domi@donotsta.re avatar

@ayo a few weeks ago someone wall‘ed me on my server when things broke, and honestly that’s a vibe

domi,
@domi@donotsta.re avatar

@pj @ayo https://xkcd.com/1810/

wall (unix) vs wall (bathroom)

weirdtreething, to random
@weirdtreething@donotsta.re avatar

Imagine nixos but instead of that horrible config file you could just install stuff with a package manager

domi,
@domi@donotsta.re avatar
domi,
@domi@donotsta.re avatar

@weirdtreething @elly @jaiden evil grin so, like snaps?

domi,
@domi@donotsta.re avatar

@weirdtreething @elly @jaiden children yearn for canonical /j

domi, to random
@domi@donotsta.re avatar

love seeing comments like those in my code

i’m now myself (?) from the future of that future and I doubly don’t remember what that TODO was about

domi, to OH
@domi@donotsta.re avatar

#OH: how have you not dissolved into the floor yet

domi,
@domi@donotsta.re avatar

@lanodan FLOOR IS LAVA

domi,
@domi@donotsta.re avatar

@lanodan NOOOOOOOO

jaiden, to Economics
@jaiden@ordinary.cafe avatar

paper 1 starts in an hour and i have not studied for it at all why do they have to do this one in the morning

RE: https://ordinary.cafe/@jaiden/112446037460891270

#ib #ibecon #exam #economics #econpaper1

domi,
@domi@donotsta.re avatar
whitequark, to random
@whitequark@mastodon.social avatar

observes you

domi,
@domi@donotsta.re avatar

@whitequark strictly forbidden by my instance rules, sorry /j

NanoRaptor, to random
@NanoRaptor@bitbang.social avatar

ADHD meds end of week 2 note.

My whole sense of time is different.

I don't come home from work, do a few amusing things then oh shit it's midnight, time to sleep. It's fit in a whole evening of visiting family, bun time, reading, catching up with folk online, and it's only 10:20pm and it feels like a normal whole weekend's already fit in. Free time used to fly by, now it's savoured fully.

Also medicaiton still way variable and peaky, but may change Monday.

domi,
@domi@donotsta.re avatar

@NanoRaptor kinda jeallous, for me the extent of the effects are “it helps me focus on things and fixes my executive dysfunction (to a certain degree)”

still, really happy that it works so well for you :) remember to take breaks every few weeks, else it stops being as effective

domi,
@domi@donotsta.re avatar

@noelle @NanoRaptor yeah! at this point i’m not even envious - i’m happy as heck for the people where it works so much better, but I’m accepting that it’s not a competition, and there are so many external factors

if I was in better health in general, it would probably work better too. simple as that

starshine, to random
@starshine@woem.space avatar

epubs are zip files? :neofox_flop:

domi,
@domi@donotsta.re avatar

@starshine everything is a zip file /hj

astrid, to random
@astrid@fedi.astrid.tech avatar
domi,
@domi@donotsta.re avatar

@astrid mastodon.social my favourite

whitequark, to random
@whitequark@mastodon.social avatar

the DOS INT13 handler is doing getenv in debug builds?

domi,
@domi@donotsta.re avatar

@whitequark okay i’m not 100% sure on this, but: copy had a really poor support for copying from floppy to floppy on a single-drive system. You’d need to swap the floppies for each file, if not multiple times per file?

… maybe that’s what this was trying to fix? i’m just mumbling tho

domi, to random
@domi@donotsta.re avatar

AAAAAAAAAAAAAAAAAAAAAAAAAA

jeder, to random

ploopy mini update: oh god oh fuck

video/mp4

domi,
@domi@donotsta.re avatar

@jeder if you want then i could come over sometime and help, you only live like 200km away :neocat_woozy:

domi,
@domi@donotsta.re avatar

@jeder i have a pinecil, which means i can solder wherever i want

domi, to random
@domi@donotsta.re avatar

It’s #ScriptSaturday again!

Being on the internet (which, I think you are right now - sorry to break the news to you :neocat_hug:), you’ve probably heard the term “cat abuse” from some reply guy. Usually it boils down to something like this:

cat a | grep meow

cat, and, by extension, the pipe, are redundant here because grep can just read a file. There are certain arguments for, and against this (i.e. when editing a regexp, it may make sense to do cat abuse, as you don’t have to scroll through the filename with each iteration); But this is not what I call cat abuse. There’s one way that’s even more cursed, but also makes some sense to use in a script.

Have you ever wanted to filter a file and send the output back into the same file, with no intermediates? Or maybe prepend a 2nd file to your first one, without creating a mess? Try this:

cat <<< "$(cat "$subtemplate" "$tmp")"" > "$tmp" 

This is taken from HTTP.sh, the templating engine to be precise. That file is kind of cursed and not necessarily good code in general, but this line is special and i’ve been reusing it in a bunch of places.

Bash pipes and redirects have a few levels of precedence. By default, if you execute cat b a > a, the a file gets overwritten before it can be read. Instead, we use a subshell in a herestring (although a herestring is not strictly necessary for this trick). A subshell always takes precedence before the redirect, thus our file can be read and written in a single command chain!

Another neat oddity is that pipes act very similarly to subshells! Similarly, that “cat abuse” from before could be rewritten to a somewhat simpler form:

cat b a | tee a
# works like you'd expect!

On the contrary, you might have noticed that it’s impossible to set a variable in a pipe chain and read it back later:

$ echo meow | read n
$ declare -p n
bash: declare: n: not found

Now, this can be solved by using a herestring! Just restructure it like so:

$ read n <<< "$(echo meow)"
$ declare -p n
declare -- n="meow"

All this can be slightly confusing, but I hope this post made it a bit simpler :blobcatheart:

domi, to random
@domi@donotsta.re avatar

you cannot spell SIGNUP without spelling GNU

domi,
@domi@donotsta.re avatar

@wolf480pl so i was searching for GNU in a shalib and that was a random string that I found

don’t ask, it doesn’t make any sense xD

schrottkatze, to random
@schrottkatze@donotsta.re avatar

how do i open a thread in this softwae

domi,
@domi@donotsta.re avatar

@schrottkatze click on the timestamp

THIS IS THE TOP REQUESTED THING TO FIX BTW

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • rosin
  • Youngstown
  • mdbf
  • ngwrru68w68
  • slotface
  • khanakhh
  • ethstaker
  • everett
  • kavyap
  • thenastyranch
  • DreamBathrooms
  • magazineikmin
  • anitta
  • osvaldo12
  • InstantRegret
  • Durango
  • cisconetworking
  • modclub
  • cubers
  • GTA5RPClips
  • tester
  • normalnudes
  • Leos
  • provamag3
  • megavids
  • lostlight
  • All magazines