@GeePawHill@mastodon.social avatar

GeePawHill

@GeePawHill@mastodon.social

GrandPaw, Geek, Software Development Coach, Writer, Ass Pain. Continuously startled by people and people-stuff. Pronouns: Don't care, will respect yours. https://geepawhill.org

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

GeePawHill, to random
@GeePawHill@mastodon.social avatar

Aside -- got a few minutees and a glass of rye to kill -- last month I learned that setting up a maven repo so that your java jar is accessible to anyone w/the URL is trivial.

Got a website? A minimal maven repo is just a server that offers static files.

You don't need nexus or artifactory, you just need a URL that points to the top of a well-defined folder structure.

It's tedious to manually update the jar, yes, but it's just tedious, it's not hard.

I was blown away.

GeePawHill,
@GeePawHill@mastodon.social avatar

On similar lines, late last year, after decades, I learned you can roll a (not-very-performant) http 1.1 server from scratch in java in a couple of hours.

It's just a serversocket accept, a regular socket answer-and-die-thread, and the answer is, check this, text.

http 1.1 is text. printstream some header lines. printstream a blank line, printstream an html body.

No web container. No jetty. No Javalin. Raw fucking java, a couple of hours.

I was staggered. :)

GeePawHill,
@GeePawHill@mastodon.social avatar

This trade's refusal to support, honor, hug-hug-kiss-kiss, and pay skilled 'splainers is one of the ways it fails so badly.

I'm a serious professional geek, and I read technical material right quick, yo, and I have considerable google-fu, but finding a good teacher is stunningly difficult, and the good teacher makes all the difference.

"Content is king," we say, but only if the content is SEO'd page-ranking stack-overflowed copy-paste bullshit.

b0rk, to random
@b0rk@jvns.ca avatar

working on the tiniest history of big endian / little endian byte order today

GeePawHill,
@GeePawHill@mastodon.social avatar

@rayckeith @gdinwiddie @b0rk With some but few exceptions, Motorola optimized for easier programming, and Intel optimized for either faster or cheaper chips.

The 6502, 68k, and so on have instruction sets that are largely orthogonal across registers and addressing modes, for instance. Intel, from early on, eschewed orthogonality in favor of custom instructions bound to specific registers.

GeePawHill, to random
@GeePawHill@mastodon.social avatar

I'm a doofus. Doofus-looking, doofus-thinking, doofus-living, doofus-being.

Sometimes I wonder, what if I became one of those viral memes of a doofus?

GOD I WOULD LOVE THAT.

I'd be like, "I am the doofus-king, and I am here to show you how to doofus properly!"

GeePawHill,
@GeePawHill@mastodon.social avatar

@ramsey

Izzackly.

GeePawHill, to random
@GeePawHill@mastodon.social avatar

Ok, overpoured one last shot.

I got no wisdom. Basically, I've gotten by on privilege, luck, and fabulous good looks.

But to the extent I have anything to offer:

Find something to care about that isn't money, and isn't, instrumentally, money.

Share your love, with others likeminded, yes, but even not-likeminded.

You'll get fucked.

In this life, you can close your heart and get fucked, or you can open your heart, and get fucked, and sometimes get strawberries.

I like strawberries.

GeePawHill, to random
@GeePawHill@mastodon.social avatar

Old man yells at cloud opinion: if you got eight hashtags on your post, you ho'ing[*].

  • = Strictly metaphor, sex work is real work, and I don't call sex workers "ho".
GeePawHill,
@GeePawHill@mastodon.social avatar

@NireBryce Interesting. Mmmm, maybe? Color me skeptical, but not solidified-in-opposition?

GeePawHill,
@GeePawHill@mastodon.social avatar

@ramsey @NireBryce

Yes, I understand.

I spoze my case is this:

I expand my network by two methods:

  1. following people who are engaged with by people I already follow.

  2. Speaking to people whose posts interest me.

Will I thow in a hashtag? Sure, whatever, I'll throw in a hashtag. But I'm not throwing in eight of them, or as I've seen on the hellsite, 19 -- personal best sighting -- of them.

People gonna find you, cuz they're gonna find people in your network.

Take deep breaths.

GeePawHill, to random
@GeePawHill@mastodon.social avatar

Did I seriously read that the CDC just said kids should mask in school?

WTAFF?

"There's no emergency, now, and COVID is totally over, but it's important to do this thing that we told you was not important to do when there was an emergency and COVID wasn't over."

The emergency isn't over. COVID isn't over.

This whole three years has been one long exercise in disingenuous political gamesmanship, casual science-denial, and purposeful data suppression.

Wear a fucking mask, people.

GeePawHill, to random
@GeePawHill@mastodon.social avatar

Factoring, Rosanne Rosannadana, it's always factoring.

Every microtesting problem I've even seen comes down to whether we've factored our problem into components in such a fashion that they can be easily tested.

Don't get me wrong, there are tricky ones: no serious app is written w/o libraries, and most libraries are pre-factored so as to guarantee that their usage isn't testable.

But in your own code? Really. It's always how you factored it.

GeePawHill, to random
@GeePawHill@mastodon.social avatar

Here's an interesting little case: made a new project, moved some files from its precursor project.

All the tests pass, except one.

Jiggled the test a little, cuz it didn't look like the other five relevant tests. Effect: now two of the tests don't pass.

Take a second to think about what that means.

Next post will give me response.

GeePawHill,
@GeePawHill@mastodon.social avatar

It means I'm not fully controlling the environment in which the tests are running. If you use the arrange/act/assert terminology, my arrange for the newly failing test -- and most likely for all the tests that use the similar arrange -- isn't complete. Something from one test is persisting in such a way as to affect another test.

Note: these tests have been running for months in the pre-cursor project.

I'm very interested to see what I forgot in their setup.

GeePawHill,
@GeePawHill@mastodon.social avatar

I'm mildly annoyed about this, tho only mildly. These are some JUnit-based tests of bash scripts. That's not something I'd ever done before, and I was pretty proud I got it as far as I did. Hardly surprising that I only got them close.

GeePawHill,
@GeePawHill@mastodon.social avatar

Not gonna dig in, now: working with filesystems for tests is incredibly tedious, and jiggling around testfolders is sure to be the kind of thing I need to do without a glass of rye in my hand.

GeePawHill,
@GeePawHill@mastodon.social avatar

Fun challenge, btw: we have a client-side pre-commit git hook, a bash script. It has to run inside a git repo, and it has to also manipulate the user's home folder, as well as a local folder within that repo.

How are we going to test it?

GeePawHill, to random
@GeePawHill@mastodon.social avatar

When you copy/paste 8 lines, and change 8 letters in 3 words, you're making yourself go slower, tho it feels faster.

It saves typing! But, thinking is the bottleneck, not typing.

Sound thinking depends on good data.

Good data depends on your senses.

By perceiving those 200-odd characters as a one-off, even as you make them an N-off, your senses are failing you.

Those 8 lines are a thing. A variable? A method? A class?

Make them a thing, and give them a meaningful name.

andrewfeeney, to random
@andrewfeeney@phpc.social avatar

TIL: A deliberately cheesy piece of "elevator music" I wrote a decade ago was used in a game called "Five Nights at Freddy's: Special Delivery", released on iOS and Android in 2019. Recently it was used again in a Little Caesar's ad for Pretzel Crust pizza, and there are hundreds of commenters on YouTube who recognise it from the game.

https://www.youtube.com/watch?v=6g5Yt_aM7rA&t=224s

https://www.youtube.com/watch?v=Jx_-msPfH9k

I almost never got to see how any of the music I wrote from that time got used so for me this is wild.

GeePawHill,
@GeePawHill@mastodon.social avatar

@andrewfeeney I have not-quite-technically-zero experience with stock music. I did have a bit in a video I made, where I wanted people to laugh at how stupid I was being as a coder, but skip showing them the agonizing hour while I figured out the problem.

It was easy: the video has a fake "We're experiencing technical difficulties" screen, and the background music is an 8-bit "Tijuana Taxi" cut. :)

GeePawHill,
@GeePawHill@mastodon.social avatar

@andrewfeeney Herb Alpert was actually a pretty strong player, tho that's not what he's known for, but there is nothing on earth quite so cheesy and insipid than an 8-bit Tijuana Taxi over an old-school "Technical Difficulties" TV screen.

GeePawHill,
@GeePawHill@mastodon.social avatar

@andrewfeeney Perfect.

GeePawHill,
@GeePawHill@mastodon.social avatar

@andrewfeeney

The part that's so fascinating to me: Alpert could blow. Not first-rate, no, but second-rate, in a world of fifth-raters.

And he is associated with the most awful overplayed recordings.

GeePawHill,
@GeePawHill@mastodon.social avatar

@andrewfeeney

Dag, man. Poly-valent, indeed.

GeePawHill,
@GeePawHill@mastodon.social avatar

@andrewfeeney

It has pleased me, too. <3

GeePawHill,
@GeePawHill@mastodon.social avatar

@andrewfeeney Oh wait, I went back to the video. It was 8-bit "Spanish Flea", not "Tijuana Taxi".

Sorry for mis-commo: one doesn't get as pretty as me by sending all the red blood cells to the brain, if you know what I mean.

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