@stevenharman@ruby.social
@stevenharman@ruby.social avatar

stevenharman

@stevenharman@ruby.social

It Depends™, as a Service. Maker & breaker of things. Software spelunker. Good at naps. he/him

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

stevenharman, to PostgreSQL
@stevenharman@ruby.social avatar

Speaking of the Roadmap, it would be fantastic if we could get the pg_repack extension added! Show your support! https://github.com/heroku/roadmap/issues/123

stevenharman,
@stevenharman@ruby.social avatar

@ascherbaum As far as I know, it's a matter of demand and priority. It's literally on the backlog, but there's a lot of other work in front of it.

stevenharman, to rails
@stevenharman@ruby.social avatar

A neat idea for preventing DB access within the scope of a block, from another of my too smart coworkers. https://discuss.rubyonrails.org/t/proposal-prevent-activerecord-access/85322

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

I've read a lot online about how "Y2K was overblown". As an engineer who worked like crazy in 1999 to correct our systems this drives me crazy.

Today I read about games going offline, watches getting frozen and airline tickets showing the wrong date.

Because of a leap year. Which happens every FOUR years (give or take).

Yeah Y2K was a one time thing. (Well at least until year 10000)

Isn't 2038 going to be fun.

stevenharman,
@stevenharman@ruby.social avatar

@arikb @luhrman @damieng @mos_8502 I was just getting started, so wasn’t involved in any of the fixing, but at least had a passable understanding of what was at stake.

Have you seen https://www.hbo.com/movies/time-bomb-y2k ?

avdi, to random
@avdi@hachyderm.io avatar

INSTALLATION

Installation is super easy. Open your MacOS terminal, and...

INSTALLATION for LINUX

OK first of all fuck you for wanting to install a UNIX command-line tool on a modern UNIX instead of a bastardized BSD from 1990 as Jobs intended. Secondly, please use curl to install a third-party package manager...

stevenharman,
@stevenharman@ruby.social avatar

@postmodern @avdi @mkarliner friends don’t let friends install Docker.

stevenharman,
@stevenharman@ruby.social avatar

@avdi @postmodern @mkarliner my comment was at least half joking. When I do need to use containers on macOS, I opt for Colima.

I suspect if I were in a consulting role, there’d be more incentive for containerizing dev work. 🤷

stevenharman, to random
@stevenharman@ruby.social avatar

“You all have done an amazing job ushering in a new era of success for this company. So amazing, in fact, that we have no choice but to let you all go.”

https://www.mcsweeneys.net/articles/our-company-is-doing-so-well-that-youre-all-fired

The satire is indistinguishable from the current reality.

/cc @davidcelis (for your continuing coverage of “Layoffs will continue until morale improves.”)

Migueldeicaza, to random
@Migueldeicaza@mastodon.social avatar

This is more affordable that installing wires to hang up two 75" monitors in my living room.

stevenharman,
@stevenharman@ruby.social avatar

@Migueldeicaza seems like touch typing on a physical keyboard would still be a big miss, no?

stevenharman, to random
@stevenharman@ruby.social avatar
stevenharman, to random
@stevenharman@ruby.social avatar

When GitHub jumped the shark…

stevenharman,
@stevenharman@ruby.social avatar

@tenderlove I did not laugh, but my face did end up in my palms.

shanselman, to random
@shanselman@hachyderm.io avatar

My high schooler: “80% sure I got 100% on my math test”

stevenharman,
@stevenharman@ruby.social avatar

@shanselman sounds more like Probability and Statistics than Math class. 😉

tenderlove, to random
@tenderlove@mastodon.social avatar

When you hit t on GitHub, it lets you search files inside the repo. It used to be that immediately after hitting t, the search box got focus so you could immediately type. Now you have to click in to the search box before you can type. I never noticed how much I cared about that feature until it stopped working 😆

stevenharman,
@stevenharman@ruby.social avatar

@tenderlove I got this too. And you also used to be able to hit ENTER to select the file, then b would switch to blame view. Now I swear I have to click the file with a mouse half the time, and the other half b lands in the on-page editor.

I suspect most of this is that there is lag that there didn’t used to be, so it feels broken when you’re typing fast.

searls, to random

Finally thought of a name for the cool Mocktail API that overrides YourClass​​​​․new exactly once so that the test can instantiate its own dependencies instead of having to pass them in:

thing = Mocktail.of_next(Thing)  
subject = ThingHaver․new  

And receive the mock in its initializer:

class ThingHaver  
 def initialize  
 @thing@mastodon.social = Thing․new  
 end  
end  

It's not Dependency Injection, it's :sparkles: ✨ Dependency Inception ✨

stevenharman,
@stevenharman@ruby.social avatar

@searls this looks like one of those :neat: and easy things, that ends up being complex (or pehaps papering over complexity)? As are all sharp tools, I guess? 🤷

stevenharman,
@stevenharman@ruby.social avatar

@searls fair enough!

searls, to random

Our house is just big enough and our offices are just at the opposite ends of said house enough that I really wish I had a Yo app or button to get Becky's attention without yelling or initiating a phone call.

stevenharman,
@stevenharman@ruby.social avatar

@searls “You up?”

searls, to random

Aside from rspec-mocks, what mocking libraries do you actually use in Ruby these days?

stevenharman,
@stevenharman@ruby.social avatar

@searls whatever is already there, I suppose. If starting from scratch, I’d probably default to rspec-mocks.

searls, to random

I am taking the confusing Mocktail readme (which is only going to get more confusing when I add Sorbet) and broke it out into a choose your own adventure tree of smaller markdown files.

This way I can steer readers away from bad uses and towards good ones without risking people just hitting command-F to find the APIs they probably shouldn’t use

video/mp4

stevenharman,
@stevenharman@ruby.social avatar

@searls Someone's going to @Unroll that back into a single, ⌘-F-able file. 😆

tenderlove, to random
@tenderlove@mastodon.social avatar

Sure is humid today 💦

I love that I can see exactly when I turned the fan on in my office, but idk how this data is useful other than for me going "WOW THAT IS NEAT!" 😆

stevenharman,
@stevenharman@ruby.social avatar

@tenderlove love those cool, dry basement TV rooms!

stevenharman, to github
@stevenharman@ruby.social avatar

We have done a bunch of work to integrate our formatted CODEOWNERS into our , , , PagerDuty, logging, Tracing, etc… to the point that I think the bulk of it could be gemified, with extension Gems handing specific tooling integration. But then, that means the OSS maintainer gauntlet, and I’m just not sure I have the energy nor bandwidth for that slog right now. If only I could talk @searls into doing this for me. 😂

searls, to random

If you don't like Standard Ruby, it's great to see there are other code formatters out there you might enjoy https://marketplace.visualstudio.com/items?itemName=raidteyar.raidteyar-shittier

stevenharman,
@stevenharman@ruby.social avatar

@searls It takes all kinds.

Migueldeicaza, to random
@Migueldeicaza@mastodon.social avatar

Traveling in Paris with kids:

stevenharman,
@stevenharman@ruby.social avatar

@Migueldeicaza if you’re in the 2nd/3rd, we stumbled on this place and quite enjoyed it. No Stars, but quite good and right in out neighborhood. https://maps.apple.com/?address=3%20Rue%20%C3%89tienne%20Marcel,%2075001%20Paris,%20France&auid=12783645955267588557&ll=48.863336,2.350394&lsp=9902&q=Poulette&t=m

We also like À la Main for dinner, and Cosí for a quick (and cheap) lunch.

searls, to random

Now that I'm staring at a 32" 6K monitor, my strategy of just cranking up the font size in a single full-screen window is no longer viable for writing prose.

Does anyone have a (Markdown-friendly) writing app they like that has a full-screen focus mode that can present the current sentence bolded in the center of the screen in a hilariously large font?

stevenharman,
@stevenharman@ruby.social avatar

@searls wait. Tell me more about this display? I have a Studio Display, and was hoping for that rumored new Apple display, but it’s not materialized. So what you got?

stevenharman,
@stevenharman@ruby.social avatar

@searls this feels as solid a recommendation as an @searls could ever give. “It’s fine.™” 😂

Migueldeicaza, to random
@Migueldeicaza@mastodon.social avatar

Laura had her purse stolen in Barcelona at one of those outdoor restaurants with smokers.

Luckily, the thieves threw out everything they didn’t need - which was most of it.

They took the visa/mastercards and cash.

Surprisingly, they left the Apple Card (maybe it looks like a toy?) and the American Express (which I imagine is borderline useless in Spain)

stevenharman,
@stevenharman@ruby.social avatar

@Migueldeicaza is AmEx equally useless in France? We are headed there next week and AmEx is our primary card.

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