@shadower@mastodon.social avatar

shadower

@shadower@mastodon.social

Tomáš Šedovič. Amateur programmer, amateur musician, amateur human.

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

shadower, to random
@shadower@mastodon.social avatar

me: Can I pick up the guitar and play and sing a little?

2.5 year-old: No.

me: Why not?

2.5yo: You're a big boy. Big boys can't play and sing. Only small boys can.

me: ...

me: plays Brian Setzer and Guns 'n' Roses on youtube

me: Are these big boys?

2.5yo: Yes.

me: Are they playing and singing?

2.5yo: Yes.

me: So can big boys play and sing?

2.5yo: Yes.

me: So can I play the guitar now?

2.5yo: You can't.

shadower, to random
@shadower@mastodon.social avatar

I've reached the third and final Act of Baldur's Gate 3!

That means I'll be able to finish it and play some other games in like 2047 \o/.

shadower, to random
@shadower@mastodon.social avatar

So despite all the issues, I'm quite keen on Ansible as a "personal server management interface".

But I've always found it incredibly slooooooow. Each (even no-op) task running for tens of seconds was bad enough for me to look at alternatives.

But I thought "hey surely people don't actually put up with this" and... turns out sudo on my machines is really slow.

When I allowed root access and ran Ansible that way, it's pretty speedy! Enough to keep using.

shadower,
@shadower@mastodon.social avatar

I still don't get why this is. 99% of web search says it's to do with host lookup and adding the hostname to /etc/hosts fixes it. This doesn't seem to do anything for me.

The remaining 1% says to just strace the bastard.

Which I'd love to, but: only the first sudo invocation is slow, the rest is fast (so some sort of cache is likely in play).

But I need to run sudo to strace the sudo (I think?) and so the second invocation will just work no probs.

shadower,
@shadower@mastodon.social avatar

@deshipu that definitely helped, thanks!

But I also needed this:

strace -f -u <user> sudo ls

(didn't know about the -u parameter)

This definitely reproduces the issue and prints out a lot of stuff.

BRB digging through a pile of shit^Wsyscalls

shadower,
@shadower@mastodon.social avatar

a non-update: I've spent some time digging through strace but I'm none-the-wiser.

SSH as root works great and whilst it feels a bit icky, it's not really any less secure than "regular user with sudo" as far as I can see.

(yes password login is disabled on the server, yes the SSH key is password-protected)

Still want to actually get to the bottom of this, I've got genuine work to do there and as Nanny Ogg wisely said:

"Tempers Fuggit"

shadower, to random
@shadower@mastodon.social avatar

Was just talking to a coworker recruiter who said: "That's shit. ... Pardon my French".

He was French.

I was waiting for this exact situation for as long as I've known the phrase. So around 20 years.

mattb, to random
@mattb@hachyderm.io avatar

A few years ago I confirmed experimentally that the theorised condition known as "too much cheese" exists in practise. The apparatus primarily consisted of fondue.

However, a few years on these results still feel improbable. I wonder if I should try to replicate them again.

shadower,
@shadower@mastodon.social avatar

@mattb until this is published in a peer reviewed journal and properly replicated, that's just a hearsay of a one-off study.

I remain sceptical.

shadower, to random
@shadower@mastodon.social avatar

Sent an email with several questions to a non-techy, but still quite computer-savvy person in the financial sector.

The reply email said: "please find the answer in the attached document".

And indeed, it contained an attached .odt (See? Not a complete technophobe!) file that indeed has my questions and answers in it.

🤦‍♂️

shadower, to random
@shadower@mastodon.social avatar

Protip: if you encounter a foreign name in writing and can think of exactly two ways to pronounce it, both are likely wrong.

Especially if English is your native language.

ESPECIALLY if the name is French and absolutely in spite you "having studied French".

shadower,
@shadower@mastodon.social avatar

I'd honestly think that the total inability of the English speakers to pronounce French words was a century-long troll by the crown or something.

But then the Americans to it too 🤷.

shadower, to random
@shadower@mastodon.social avatar

"Just gotta get out. Just gotta get out of heee-yaaaaah"

Yep, been listening to Queen again for the last couple weeks.

That's the fourth year in a row where the band occupied a significant portion of my listening and thinking time.

shadower, to random
@shadower@mastodon.social avatar

The Flying Spaghetti Monster church is just a front for the Cthulhu's cult, right?

All cute and cuddly, warming you towards the idea of tentacles and a cold universe that doesn't care about you, shunning all other gods (veiled in a veneer of rationality).

Then the trap snaps and you're feeding countless souls to the incomprehensible alien being.

shadower, to random
@shadower@mastodon.social avatar

Reading Pride and Prejudice (1813) is fascinating. English changed a lot.

I didn't know "call" used to mean "to visit", for example.

But the thing that really surprised me was when someone described a person as "condescending" and clearly meaning it as a positive thing.

At first, I thought it also had a different meaning (like "gay" being "happy"), but nah.

Lady Catherine is condescending AF and Mr Collins is just a fucking idiot.

But like, Lizzy will end up with Darcy right? (no spoilers)

shadower,
@shadower@mastodon.social avatar

@mattb I was familiar with that one, but thought it was archaic?

Pride and Prejudice has that but also just "call someone" just like you'd use with the phone. That one gave me a pause.

shadower, to random
@shadower@mastodon.social avatar

English (British?) folks: does the word "pants" refer to all underwear or female only?

I'm getting conflicting answers in the dictionaries I've looked at (and one said it's chiefly male underwear which doesn't match the usage I've seen).

shadower, to random
@shadower@mastodon.social avatar

I’ve just had my phone’s OS updated and upon reboot, it showed a prompt where I was asked to choose the default search engine.

Truly, Google is the new Microsoft.

shadower, to random
@shadower@mastodon.social avatar

So basically the main interesting thing I've learned from the whole Xitter fiasco is that Space Boy Edge Lord's character alignment is Chaotic Evil (in denial).

shadower, to random
@shadower@mastodon.social avatar

Another "free will doesn't exist" person essentially defining "free will" as "thought not following the laws of physics".

I mean yeah, if that's your definition then unless you're a dualist, free will doesn't exist indeed.

But that claim is basically completely devoid of any practical meaning.

shadower, to random
@shadower@mastodon.social avatar

I've just hand-written a tiny bit of JSON.

The parser kept showing incomprehensible errors.

I had a trailing comma after the last element of a list (of course).

Seriously this is such a human-hostile format.

shadower, to random
@shadower@mastodon.social avatar

Ah, the classic Brno winter: snowing all day with 2°C above freezing.

shadower, to random
@shadower@mastodon.social avatar

Today we give thanks to the Americans whose turkey-stuffing holiday means a couple of quiet meeting-free working days for the rest of us.

shadower, to random
@shadower@mastodon.social avatar

First time in my life having to generate UUIDs in Python.

Pro: there's a built-in library for that (this is Python after all).

Con: there are four different functions for generating one:

uuid.uuid1()
uuid.uuid4()
uuid.uuid5()
uuid.UUID()

You wouldn't come up with worse naming if you tried.

shadower, to random
@shadower@mastodon.social avatar

English fail: there's "asses" in "assessment", but you wouldn't know it from the pronunciation.

shadower, to random
@shadower@mastodon.social avatar

Wait wait wait wait wait.

"Warp sever" is short for "Time warp factor seven"?

I mean that's still Treknobabble, but much more graspable (though I get why you wouldn't want to say it every single time).

In related news, I'm watching TOS (the pilot episode) for the first time in my life.

Which, unexpectedly, starts with Pike as the captain? Being a bit of a sexist prick?

shadower,
@shadower@mastodon.social avatar

Really enjoyed "A Taste of Armageddon" (ST: ToS S01E23).

One of my favourite subgenre of science fiction: pick (design) a society that does something differently and explore it.

In here: a real centuries-long war being run on a computer as a simulation, but the resulting "casualties" report to disintegration chambers to die in real life.

I feel the script (and actually the entire episode -- you don't even need a special effects budget) could easily run today with few modifications.

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