@zenspider@ruby.social
@zenspider@ruby.social avatar

zenspider

@zenspider@ruby.social

Tilting at entropic windmills.

Rubyist, founder of Seattle.rb, Author: #minitest, flay, flog, etc. I've released 1000+ gems!
∀x: minitest(x) < rspec(x)
My switch friend code: SW-5074-8670-2720

#nobridge

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

Mer__edith, to random
@Mer__edith@mastodon.world avatar

Telegram is notoriously insecure and routinely cooperates with govs behind the scenes while talking a big game about speech and privacy. Even their limited opt-in (roll their own) encryption is sus. The more you know 🌈

zenspider,
@zenspider@ruby.social avatar

@ljrk kinda sounds like the same sort of hostile environment that led to xz... I would hope that @Mer__edith looks into that and improves the culture there.

zenspider,
@zenspider@ruby.social avatar

@ljrk @Mer__edith immensely critical software with the clunkiest slowest UI. It is not a pleasure to use at all... And it sounds like anyone trying to improve that is going to be run off.

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.

zenspider,
@zenspider@ruby.social avatar

@penryu @gd hides briefly is generally great. Hides 99% of the time is a real pain.

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

Thanks, Tawtovo, for reminding me.

Here is the Washington Posts's roundup.

https://s2.washingtonpost.com/camp-rw/?trackId=5986a242ae7e8a68160e418f&s=661309655c61b95eb9ff40e0&linknum=2&linktot=50

When they go beyond the facts, they make very safe assessments and predictions.

They're also obviously trying to keep the tone calm. They even say as much.

1/

zenspider,
@zenspider@ruby.social avatar

@Teri_Kanefield @darthstar do you have some recommendations?

zenspider,
@zenspider@ruby.social avatar

@Teri_Kanefield @darthstar sorry. I meant recommended fact based sources

collin, to random
@collin@ruby.social avatar

You know if you really want to hire someone to make you a Mac Assed Mac App, the guy who coined the term (me) is pretty good at that and frequently available 🤷‍♂️

I feel like I haven't marketed myself well enough haha.

zenspider,
@zenspider@ruby.social avatar

@collin what's your going rate?? I've got a gem (with c extension) that I'm utterly dependent upon that is inundated with deprecations that I'd like to get modernized as much as possible.

collin, to random
@collin@ruby.social avatar

I’m so frustrated with my parents. I just had to leave because my mom wouldn’t stop describing every place I mentioned going or wanting to go as a “shit hole” and then went off about how they let the Hispanics congregate in front of the mall and that they’re robbing everyone.

I didn’t know what else to do, so I just got up and left.

zenspider,
@zenspider@ruby.social avatar

@collin I live in a liberal bubble so I haven't had a chance to practice this at all but check out a book called "how to have impossible conversations"' by boghossian...

If you really want to turn your black and white world to shades of gray, fuck it up with "The righteous mind" by haidt

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

I'll admit this week's blog post was fun to write (even if the topic, demagogues, is unsavory).

How many times do I get to quote Prof. Harold Hill, post the drawing of a stork, and mention that the latest judgment against Trump was for $355 million ($450 million with prejudgment interest)?

The picture is to avoid the 500 error message

Click here for this week's blog post:

https://terikanefield.com/the-perennial-problem-of-demagogues/

zenspider,
@zenspider@ruby.social avatar

@Teri_Kanefield you've mentioned 500s a couple of times. Is there any way I/we can help? I'm sure it is solvable.

jwz, to random
@jwz@mastodon.social avatar

Today in "Daylight Savings Chaos Monkey"

If you have backups but you have never tried to restore them, you do not have backups. This is true.

I made a MySQL oopsie, and tried to restore a table from my voluminous backups of same, and was met...
https://jwz.org/b/ykM4

zenspider,
@zenspider@ruby.social avatar

@jwz JFC so stupid. Possibly dumb question... but was that a new(ish) backup recently written by mysqldump or an ancient backup? Was the bug from the original version of mysql writing invalid data into the row or the version of mysqldump writing data it should know is invalid?

OMFG: https://dev.mysql.com/doc/refman/5.7/en/storage-requirements.html#data-types-storage-reqs-date-time

jwz, to random
@jwz@mastodon.social avatar

I know for sure that a lot of you fuckers hear "The The" and think "lol stopwords" but I think you just don't understand that he's also so much better than your favorite band.

Might I particularly recommend:

The Mercy Beat
Dogs of Lust
Jealous of Youth
Sweet Bird of Truth
Infected

https://www.youtube.com/watch?v=orIy18qIaCU&list=PLLx5jlt2yynlXCMAXcygZMjlWvgMJgzNQ&index=1

zenspider,
@zenspider@ruby.social avatar

@jwz this is the day, good morning beautiful, Armageddon days are here again, and really all of mind bomb

tenderlove, to random
@tenderlove@mastodon.social avatar

Had a raccoon visit our backyard today!

zenspider,
@zenspider@ruby.social avatar

@tenderlove fantastic photo

jwz, to random
@jwz@mastodon.social avatar

Harassing botnets with zipbombs.

The idea is this: instead of just blocking IP addresses that hit honeypot URLs, feed them a compressed document that massively expands on their end, making them run out of memory and crash.

This is extremely...
https://jwz.org/b/ykMS

zenspider,
@zenspider@ruby.social avatar

@jwz @jwz do you document any of your server config, esp wrt defensive measures dealing with bots and kiddies?

zenspider,
@zenspider@ruby.social avatar

@jwz been trying to expand fail2ban but the regexps seem more broken than good. At least on the packaged version. 🤷‍♀️

mod_rewrite isn't a bad idea... I'll poke. Tnx

zenspider,
@zenspider@ruby.social avatar

@jwz I wonder how many of those haven't been hit in a decade... be nice to have some sort of LRU or stats or something so you could cull

zenspider, to random
@zenspider@ruby.social avatar

Release 1116: minitest version 5.22.0 has been released with some bug fixes and "did you mean" style errors if your --name arg doesn't match anything. cc @tenderlove

https://www.zenspider.com/releases/2024/02/minitest-version-5-22-0-has-been-released.html

jhawthorn, to random
@jhawthorn@ruby.social avatar

We enabled YJIT on GitHub.com today (we've been running on Ruby 3.3 since Jan 4th). We'd been waiting for the new memory limit behaviour and it's working great for us. We're seeing a 15-25% improvement in request latency.

zenspider,
@zenspider@ruby.social avatar

@jhawthorn Please also say how much you profiled shapes and fixed up initialization.

zenspider,
@zenspider@ruby.social avatar

@jhawthorn @HParker if we turned on yjit today our servers would explode. Swap and die.

zenspider,
@zenspider@ruby.social avatar

@HParker @jhawthorn yea. I do... But how many reading John's post don't?

zenspider, to random
@zenspider@ruby.social avatar

less happy to announce 5.21.1 is out w/ a rollback from using caller_locations instead of caller to produce location information. Custom backtrace filters ( cough rails *cough *) can't yet deal w/ the type change so I'm flipping those 4 lines back. Minor penalty in speed but still the fastest test framework out there!

https://www.zenspider.com/releases/2024/01/minitest-version-5-21-1-has-been-released.html

jwz, to random
@jwz@mastodon.social avatar

Dear Lazyweb,

Since I switched from 1Password to Keychain, it seems that desktop Safari won't ever auto-fill my billing address into checkout forms. Why?

I have all 4 checkboxes checked in "Safari / Settings / Auto Fill". My card in Contacts is...
https://jwz.org/b/ykIS

zenspider,
@zenspider@ruby.social avatar

@jwz Turned off wipr, ublacklist, banish (I can't decide), and 1P extensions in desktop safari. Nuked dnalounge cookies/storage/cache. Added shirt to cart, check out, "Enter new card", click in address, cmd-shift-A and all contact info filled in. CC threatened to work?... and then it disappeared.

OH! After typing this I went back to check all the fields and CC popped up!

Can you make sure that cmd-shift-m in contacts goes to your card?

zenspider,
@zenspider@ruby.social avatar

@jwz It's been muscle memory for me for so long... I don't know how long it goes back but at least a decade. I suppose the mnemonic is an extension of "Select All" -> "Fill All". Mine fills out both billing + shipping (might make sense to default to same and disable that half?) ... and uses the first email address in my contact. I wish you could drag them around to reorder priority.

zenspider,
@zenspider@ruby.social avatar

@jwz I didn't even know about the "Autofill > Contacts" thing and thought you were smoking crack. I guess that could be useful if I'm shipping something to a friend?

zenspider,
@zenspider@ruby.social avatar

@jwz I coulda sworn that there was normally a popdown w/ a "head" icon when you clicked in a form field that it knew was name/address... but I can't seem to get it to go on dnalounge's forms.

zenspider,
@zenspider@ruby.social avatar

@jwz that's honestly a tad disturbing... I'd recommend 1) Preferences -> Autofill -> contacts -> Edit ... this brings up a strange edit form(*) for your contact and lets you disable sharing of particular fields (my google chat was still in there?!?). Sanitize. 2) maybe: prefs -> autofill -> other -> edit and possibly nuke everything.

  • holy crap. if contacts isn't open, it just opens it. If you hit edit a second time, it brings up the edit window?!?
collin, (edited ) to random
@collin@ruby.social avatar

Do you (tend to) use soft wrapping in your editor?

zenspider,
@zenspider@ruby.social avatar

@collin @irenes weren't you just complaining about your eyesight??? What do you have against formatting code to be readable? 🤓

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