@phryk@mastodon.social
@phryk@mastodon.social avatar

phryk

@phryk@mastodon.social

Your friendly neighbourhood hⒶcker hobo.
Likes dinosaurs, dislikes hierarchy.

Come for the music recommendations, stay for the #propaganda.

#nojs #ux #infosec #python #freebsd

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

phryk, to random
@phryk@mastodon.social avatar

I'm morbidly fascinated by military technology, especially the clandestine stuff.

For one because I think it's a good idea to keep informed about what fresh hell states and corporations are cooking up, but also because it's this weird hyperspecialized area of engineering dealing with problems you don't see anywhere else.

Long story short, here's a video about the F-117 Nighthawk, one of the big three cold war stealth planes, and probably the least talked about one:

https://www.youtube.com/watch?v=1zjcnnx7igc

phryk,
@phryk@mastodon.social avatar

And if you're wondering what the other two are: The SR-71 Blackbird and the B-2 Spirit.

The latter one also recently saw its (similar, but simplified and modernized) successor unveiled, the B-21 Raider: https://en.wikipedia.org/wiki/Northrop_Grumman_B-21_Raider

With the US military being seemingly serious about semi-autonomous UAVs as wingmen for pilots, this might be the first plane getting routinely paired with such vehicles, but of course we'd only hear about that in like 2035…

phryk, to random
@phryk@mastodon.social avatar

Holy shit, finally done with the amp setup. T_T

phryk, to random
@phryk@mastodon.social avatar

Okay, found out why the hell I even needed the Y-cables. I want to mix together the low and high components after the Crossover (i.e. get the entire audio signal, but without the frequencies used for the sub).

Got my sketch for how to wire this up done, too. Now to look up XLR pin assignment and figure out what lines I actually have to add the resistors to and then I guess implementation starts. :)

phryk, (edited ) to random
@phryk@mastodon.social avatar

YUS! Everything's here:

  • 1 DI box
  • 1 19" active crossover
  • 1 19" big-ass amp
  • 12 short XLR cables, color coded
  • 2 XLR Y-cables
  • 8 cased 10kΩ resistors

This is gonna require some soldering. I have to cut up the Y-cables and add the resistors after they fork* and have to solder the speakon connectors I have lying around to the speakers.

*: Don't ask me to explain this, someone with much more audio electronics knowledge than me told me to do this.

phryk,
@phryk@mastodon.social avatar

I still don't have a real bed, but my audio setup is showing exponential growth – PRIORITIES! :thinkhappy:

phryk, to random
@phryk@mastodon.social avatar

ÄMP!! 🤩

phryk, to random
@phryk@mastodon.social avatar

ÄMP SOON. ÄMP TODAY. ÄÄÄÄMP.

phryk, to random
@phryk@mastodon.social avatar

After waiting for over a month, I finally got the shipping confirmation from the audio store.

Amp's on the way! \o/

phryk, to random
@phryk@mastodon.social avatar

Okay, managed to write a small markdown-it-py plugin to break the rendered HTML apart into <section>s.

Now I can have free-floating (full-width) media while having the text sections centered and limited to a typographically sensible width – and I did a bunch of assorted theming work as well.

By no means done, but it's beginning to look right. :)

phryk,
@phryk@mastodon.social avatar

Ah, and if you're wondering – that the slowpoke fits into the same width as the sections is only a coincidence with the size of this particular png – a wider image would be rendered wider, up to the full viewport width.

phryk,
@phryk@mastodon.social avatar

@Sioctan I don't even know where I got that from. It's one of those files I've been lugging around for ages. Just like the high-quality properly transparent squinting fry png.^^

phryk, to CSS
@phryk@mastodon.social avatar
  • { box-sizing: border-box; }

Probably my most prejudiced hack. Judge if you want, but this one line saves me from an insane amount of alignment issues and overly complicated calc()s.

phryk,
@phryk@mastodon.social avatar

If you don't understand: This makes an elements width include paddings and borders.

So you do width: 100ex; and no matter how much you mess around with paddings and borders, the resulting overall width will be 100ex.

When you have a bunch of elements with and without paddings and with and without borders, this makes visually aligning them so much easier because you don't have to constantly figure out dumb shit like width: calc(100ex - 2rem - 2px).

phryk,
@phryk@mastodon.social avatar

@bingocaller I've been using it since essentially forever, too.

This is interesting because I've never seen anyone mention it in conversation around CSS… at the very least I'm glad I'm not the only one thinking that this makes things behave way more sensibly.

phryk, to random
@phryk@mastodon.social avatar

I am so old, the first store-bought new piece of PC hardware I ever got myself was a fancy 52x CD burner.

I have memories of pirating software with pirated versions of Alcohol 120% and CloneCD.

Back in the day, you could lend video games from libraries and movie rental places (which also were still a thing back then). So I had this routine of lending a bunch of interesting looking games and making copies to share.

It was like organically grown software piracy and I really liked this dynamic.

phryk, to CSS
@phryk@mastodon.social avatar

Why yes, I am getting my full moneys worth from the backdrop-filter feature.

I mean, I waited like 15 years for it, so I might as well go crazy. :thinkhappy:

phryk, to random
@phryk@mastodon.social avatar

Nice, randomly found someone to go bouldering with on IRC when talking about CSS issues. =D

jonty, (edited ) to random
@jonty@chaos.social avatar

To be clear, when we said "leave your unwanted junk in the swap shop" we did not mean radioactive material

phryk,
@phryk@mastodon.social avatar

@mistertim @jonty was just about to fire up inkscape to make this with the drake template. 😂

phryk, to CSS
@phryk@mastodon.social avatar

I have a simple but mean #CSS problem.

I have an <img> of unknown height. I want to vertically center another element on top of it.

Is this even possible or do I have to enforce a known height on the <img>? 🤔

phryk, to random
@phryk@mastodon.social avatar

https://edition.cnn.com/2024/05/30/politics/donald-trump-hush-money-trial-verdict/index.html

Huh, Trump was convicted of all 34 felonies in the hush money case.

Don't know what I expected, but the weird and sad thing is that this probably won't change much if anything about the US election later this year.

Even if he's sentenced to prison, he's still eligible for the vote (tho not to vote) and would probably just pardon himself if elected.

phryk,
@phryk@mastodon.social avatar

@danie10 Trump constantly talked even with a gag order during the trial and when he was warned he'd incur contempt of the court multiple times, he had some of his lackeys speak for him. Kinda disappointed that this wasn't added to the list tbh…

Korallenherz, to Israel German
@Korallenherz@mastodon.social avatar

Ich war heute bei dem Pro-Palästina Protestcamp in , mit all meinen Vorurteilen und auch Ängsten.

Ich wurde auf ganzer Linie überrascht. Lest, wenn ihr mögt:
https://robert-rutkowski.de/der-krieg-muss-aufhoeren/

phryk,
@phryk@mastodon.social avatar

@Korallenherz Ich glaube hier gibt es zwei Dynamiken, die oft nicht beachtet werden:

phryk,
@phryk@mastodon.social avatar

@Korallenherz

Zum Einen gibt es vierlerorts eine gerichtete Medienkampagne, alle israelkritischen Proteste als antisemitisch darzustellen, vor allem in den USA scheint das einfach die Standardposition der Medien zu sein. Ich habe aktuell ganz stark den Eindruck, dass das auf breiter Ebene benutzt wird, um absolut legitime Forderungen der Protestierenden einfach unter den Teppich zu kehren – und das gehört IMO von linker Seite aus bekämpft.

phryk,
@phryk@mastodon.social avatar

@Korallenherz

Zum Anderen glaube ich, dass viel von der Toleranz gegenüber antisemitistischen Positionen bei Protesten einfacher Naivität geschuldet ist. Das entschuldigt das Ganze natürlich nicht, bedeutet aber, dass hier mit Diskurs tatsächlich Dinge erreicht werden können. Vor allem bei jungen Studis habe ich den Eindruck, dass sie sich gar nicht bewusst sind, dass einige Slogans und Symbole auch als Ausdruck der Intention zum Völkermord aufgefasst werden können.

alcinnz, to random
@alcinnz@floss.social avatar

I so often see people argue about JavaScript frameworks being easier to learn than HTML/CSS, whilst showing they've never bothered to actually learn HTML/CSS!

I think they're making things harder on themselves, not easier.

phryk,
@phryk@mastodon.social avatar

@alcinnz This rings very true to me, but I think the bigger advantage is that your previous experience with it isn't just completely invalidated every couple years.

I'm still doing HTML and CSS stuff I did 20 years back. Honestly the biggest change was in the mid-2000s with HTML5, CSS3 and Flexbox.

Since then, the only big thing to happen was the addition of CSS grids.

This knowledge has an insanely longer half-life.

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