@penryu@hachyderm.io
@penryu@hachyderm.io avatar

penryu

@penryu@hachyderm.io

Rust aficionado. Functional programming advocate. Final Fantasy collector. Oxford comma proponent. Armchair etymologist and reluctant descriptivist. No shilling.

I will like your cat photos. My opinions are my own.

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

penryu, to random
@penryu@hachyderm.io avatar

Okay, I'm done, promise. Now it's up to the filters.

penryu, to random
@penryu@hachyderm.io avatar

Happy Star Trek Day everyone

penryu, to random
@penryu@hachyderm.io avatar

Thank you all for helping me celebrate the greatest sci-fi franchise of all time

image/gif

joeyh, to random
@joeyh@hachyderm.io avatar

just made a hard link to a symlink and... I'm never gonna find the bottom of unix am I?

lrwxrwxrwx 2 joey joey 12 May 3 11:18 y -> foo

penryu,
@penryu@hachyderm.io avatar

@joeyh On my system that just seems to make a copy of the symlink. Is that what you're seeing?

penryu, (edited )
@penryu@hachyderm.io avatar

@joeyh Ah interesting. So given:

foo
bar -> foo

  1. ln bar baz
  2. ln -P bar baz

On Linux, (1) and (2) both create new hard links to bar. Ie, a new symlink to foo, and link count of bar is incremented.

On FreeBSD, (1) creates a new hard link to foo. (2) creates a new hard link to bar, as in Linux.

WHO'S RIGHT?!

penryu,
@penryu@hachyderm.io avatar

@joeyh

tl;dr - FreeBSD's default behavior (resolve the symlink and hard link the destination) is POSIX.

"The POSIX specification requires that if path1 is a symbolic link, a new link for the target of the symbolic link is created. Many systems by default or as an alternative provide a mechanism to avoid the implicit symbolic link lookup and create a new link for the symbolic link itself."

https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/functions/link.html

This was just for my own rabbit-hole edification. Thanks for the tip!

alexr, to random
@alexr@mastodon.online avatar

Fucking typical. All the FB/Messenger/Instagram apps now have a “Meta AI” feature front and center, with a distracting animated logo.

I asked it how to disable it and it hallucinated an UX workflow that doesn’t exist. It also said that Meta employees are“just doing their jobs.”

penryu,
@penryu@hachyderm.io avatar

@alexr "no, YOU're doing their jobs... poorly"

foo, to random
@foo@fosstodon.org avatar

What was the first keyboard with an inverted T arrow key layout? The Model M would be the safe guess, but I'm willing to bet there is probably an obscure predecessor.

penryu,
@penryu@hachyderm.io avatar

@foo My family's Tandy 1000 (1984) had it. It precedes the Model M by 1 year, but I figure it was just knocking off some other IBM keyboard.

But the LK-201 still beats both of us.

penryu, to random
@penryu@hachyderm.io avatar

As a parent, and as a former child myself:

Please vaccinate your children.

evan, (edited ) to random
@evan@cosocial.ca avatar

Which of these body parts do you still have?

#EvanPoll #poll

penryu,
@penryu@hachyderm.io avatar

@evan I lost my adenoids.

gd, to ruby
@gd@ruby.social avatar

It's so annoying to see developers calling failing tests "flaky".

Last week I found a factory that assigned a random age to a user instance, so no wonder a test that used the age in some bit of logic failed sometimes. That's not a "flaky test", that's a bug in the factory.

Today I saw a date parser bug be called a "flaky test". It was written on the 21st of April and worked fine until it began to fail today, the 1st of May.

#rspec #ruby

penryu,
@penryu@hachyderm.io avatar

@gd Yeah, "flaky test" is almost always a euphemism for "a bug that hides briefly if we run the tests enough."

penryu,
@penryu@hachyderm.io avatar

@zenspider @gd inability to repro definitely adds a dimension of difficulty. In some ways I found "briefly hidden" flaky test bugs more frustrating because they were fairly easy to reproduce, but led people to just rerun the tests a few times until they pass, rather than fix the underlying bugs.

penryu, to random
@penryu@hachyderm.io avatar
penryu,
@penryu@hachyderm.io avatar
penryu,
@penryu@hachyderm.io avatar

One more ...

video/mp4

penryu,
@penryu@hachyderm.io avatar

h/t to @gvv for the idea

potatomeow, to foss
@potatomeow@fosstodon.org avatar

i used lighthouse to measure website responsiveness. but is there any alternatives that runs locally?? FOSS??

penryu,
@penryu@hachyderm.io avatar

@potatomeow It doesn't really deal with responsiveness, but one of my teams used axe extension to measure site accessibility:

https://www.deque.com/axe/devtools/web-accessibility/

molly0xfff, to web
@molly0xfff@hachyderm.io avatar

If you've ever found yourself missing the "good old days" of the #web, what is it that you miss? (Interpret "it" broadly: specific websites? types of activities? feelings? etc.) And approximately when were those good old days?

No wrong answers — I'm working on an article and wanted to get some outside thoughts.

penryu,
@penryu@hachyderm.io avatar

@molly0xfff Because it's still fresh, I'd say I miss that microscopic sweet spot between window.open()-based popups, and the new world order of floating forced-videos and passive-aggressive GDPR-compliance-farce modals.

alexr, to random
@alexr@mastodon.online avatar

No FedEx, my package is not scheduled for delivery tomorrow. You just changed it to tomorrow last night when you realized it wasn’t going to get here on time today. Gaslighting is the worst form of customer service.

penryu,
@penryu@hachyderm.io avatar

@alexr It's called "pulling a FedEx." Even when UPS does it (far less often).

penryu,
@penryu@hachyderm.io avatar

@alexr I'm a frequent FedEx opponent on social media. (My one and only LinkedIn post!) And I've noticed very little difference between the two. Packages have gone missing at distribution centers, been misdelivered blocks away, and even gone missing WHILE BEING HANDED OFF TO USPS.

I used to consider them entirely different services, like they were before Ground was acquired, but even FedEx Express manages to suck often enough.

potatomeow, to rust
@potatomeow@fosstodon.org avatar

finally got 100 on lighthouse score, lost a few chromosomes on the way

penryu,
@penryu@hachyderm.io avatar

@potatomeow Wooo! Same here! And fixed a couple accessibility issues along the way.

penryu, to random
@penryu@hachyderm.io avatar

The least believable part of the Dune reboot is Stellan Skarsgård playing someone overweight.

Trust me, that's a compliment.

penryu,
@penryu@hachyderm.io avatar

...but to whom?

wreimers, to random
@wreimers@mastodon.social avatar

I must be the only tech-adjacent person who couldn’t care less about “vintage gaming” on mobile.

The experience is AWFUL compared to… well, any other medium.

🤷‍♂️

penryu,
@penryu@hachyderm.io avatar

@wreimers Nope, not just you.

penryu,
@penryu@hachyderm.io avatar

@gnuconsulting That's a better wrapper for the emu than I expected, but still lacks the tactile feel of actual buttons that I always miss whenever I try to mobile game.

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