@ghorwood@mastodon.social
@ghorwood@mastodon.social avatar

ghorwood

@ghorwood@mastodon.social

in 1996 i tore my rotator cuff trying to throw my kick drum off the stage and into the audience at some all-ages show in winnipeg.
i also write software.

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

ghorwood, to random
@ghorwood@mastodon.social avatar

the gang is playing this game that involves a lot of running and has a stamina mechanism and i’ve been yelling “fartlek! do fartlek!” and only discovered now that no one knows what i’m talking about.

ghorwood, to random
@ghorwood@mastodon.social avatar

you want enshittification? the bell phone monopoly gave us, free of encumbrance, the transistor, the solar panel, telstar, three different types of lasers, pressure treated lumber, and two operating systems, one of which i like.

and today at&t is bribing the friends of public officials to get out of providing landlines.

mcc, to random
@mcc@mastodon.social avatar

I am (unfortunately) on a Macintosh. A program is segfaulting, and I need to run in a debugger to find out why. I run lldb executable-name, and then "run". It prints:

error: the platform is not currently connected.

I do not know what this means. Googling for this error message turns up various things involving iOS and XCode, but I am not using either of those things, I am using lldb at the command line.

What should I do?

ghorwood,
@ghorwood@mastodon.social avatar

@mcc this sounds like the ending to an episode of 'murder, she wrote' that i would actually watch.

ghorwood, to random
@ghorwood@mastodon.social avatar

just used 'per-fuckin'-se' in a business email.

please clap.

ghorwood,
@ghorwood@mastodon.social avatar

@ottaross we run what we call the “company mullet”; mike’s the business in the front, i’m the whatever says “per-fuckin’-se” in the back.

ghorwood, to random
@ghorwood@mastodon.social avatar

i blogged about nginx's X-Accel-Redirect header, which you probably aren't using and probably never will.

https://gbh.fruitbat.io/2024/05/12/nginx-serving-private-files-with-x-accel/

bobmagicii, to random
@bobmagicii@phpc.social avatar

writing my own backup solution is kinda fun. there is a lot of attempts to over engineer when in reality all i need is:

  • cp or scp that to here
  • git clone first run then git pull later
  • mysqldump

i always struggle to just make a thing that does what i need now at this moment so that is my exersise this time.

"try not to turn it into a framework that does nothing for nobody"

ghorwood,
@ghorwood@mastodon.social avatar

@bobmagicii i just dump, gzip and push to s3.

ghorwood, to random
@ghorwood@mastodon.social avatar

a client is running a closed beta and some total rando from china signed up out of the blue on day two and is doing a better job of using the application than the beta users who've had their hands held through the whole process.

ghorwood,
@ghorwood@mastodon.social avatar

@hyc it’s true. like, this is an application for a very specific business case that involves a lot of config to use with third parties, none of which is super intuitive. the user docs say “call us” in thirty places.

ghorwood, to random
@ghorwood@mastodon.social avatar

good news! the terrifying thing i said five years ago would happen within the next twenty years is fifteen years ahead of schedule!

https://arstechnica.com/gadgets/2024/05/robot-dogs-armed-with-ai-targeting-rifles-undergo-us-marines-special-ops-evaluation/?utm_brand=arstechnica&utm_social-type=owned

jwz, to random
@jwz@mastodon.social avatar

Political Journey.
https://jwz.org/b/ykP-

ghorwood,
@ghorwood@mastodon.social avatar

@jwz proud to say i've been on the 'everything is reagan's fault' since 1982.

ctietze, to php
@ctietze@mastodon.social avatar

A question for more experienced #PHP developers than me:

We have this setup where all requests go through a PHP script for authorization (think: cookie) checking before serving files.

That's fine with HTML, but less ideal for 5MB PDFs.

I'm trying to search for ways to use PHP to allow/deny access, but otherwise let the web server (Apache) do its job.

Is there such a facility to rewrite requests for auth, but then go on serve the static files?

ghorwood,
@ghorwood@mastodon.social avatar

@jamesholden @ctietze i do this all the time in laravel and it’s pretty smooth.

https://dev.to/gbhorwood/laravel-storing-stuff-in-private-s3-buckets-39kh

ghorwood, to random
@ghorwood@mastodon.social avatar

it’s that time of year again when the government sends you an alert to remind you that bears still exist.

ghorwood,
@ghorwood@mastodon.social avatar

@kboyd these things. are they not called carts elsewhere? is this a “deke” thing?

ghorwood,
@ghorwood@mastodon.social avatar

@ramsey @kboyd it's. on. wheels!

ghorwood, to random
@ghorwood@mastodon.social avatar

i blogged about the mysql slow query log on the off chance other people are as bad at writing sql as i am.

https://gbh.fruitbat.io/2024/05/06/mysql-using-the-slow-query-log/

ghorwood, to random
@ghorwood@mastodon.social avatar

me: all the music i like is objectively terrible
cody: i'm sure that's not true...
me: the band i'm listening to right now is called 'witch piss' and their album cover looks like this.
cody: ah. i see what you mean now.

ghorwood,
@ghorwood@mastodon.social avatar
ramsey, to random
@ramsey@phpc.social avatar

What’s up with 19.2 fl oz beer cans? I mean, I like the size, but it’s not an even amount of anything. It equates to 567.81 ml.

Yes, I know American units are wonky, but sometimes they’re weird because they actually equal to an even metric number. For example, they sell 16.9 fl oz water bottles because that’s a half liter.

So, what gives on the 19.2 fl oz / 567.81 ml measurement for these tall cans?

ghorwood,
@ghorwood@mastodon.social avatar

@heiglandreas @afilina @derickr @ramsey it’s eight because a mile is eight furlongs long and a furlong is the distance an ox can pull a plow without resting. see? the imperial system makes perfect sense!

ghorwood, to random
@ghorwood@mastodon.social avatar

two weeks ago i was “i should get a quieter keyboard so i don’t disturb lee so much” and since then i’ve found myself reading reviews of switches and posts on whether key sculpting actually does anything and counting the u’s on the bottom row of my corsair.

“keyboard people” are detached from reality. and i fear i could easily become a “keyboard person”.

ghorwood,
@ghorwood@mastodon.social avatar

although i’m totally gonna get something with swappable switches so i can put a cherry blue on <esc> for that .50 cal vim experience.

ghorwood, to random
@ghorwood@mastodon.social avatar

lord save me from lengthy slack conversations with people who type at fifteen words per minute...

ghorwood, to random
@ghorwood@mastodon.social avatar

i blogged about disk space monitoring with standard bash tools because, apparently, that's what all 'the kids' are into these days.

https://gbh.fruitbat.io/2024/04/29/managing-disk-space-in-bash/

ghorwood, to random
@ghorwood@mastodon.social avatar

lee is making me watch a movie called “the man from toronto” and, thirty minutes in, i’ve finally realized it’s because she finds it hilarious watching me cringe every time a hollywood actor says the word “toronto”.

ghorwood,
@ghorwood@mastodon.social avatar

there are two syllables and one ‘t’ in ‘toronto’. they should teach this in high school.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • tester
  • ngwrru68w68
  • Youngstown
  • tacticalgear
  • osvaldo12
  • slotface
  • PowerRangers
  • hgfsjryuu7
  • khanakhh
  • kavyap
  • tsrsr
  • InstantRegret
  • DreamBathrooms
  • everett
  • Leos
  • magazineikmin
  • rosin
  • modclub
  • thenastyranch
  • vwfavf
  • GTA5RPClips
  • Durango
  • ethstaker
  • mdbf
  • normalnudes
  • cubers
  • cisconetworking
  • anitta
  • All magazines