James Adam boosted

@infovore @sfcgeorge ha!

Thanks very much for all that, super valuable. Depending how things play out wrt social distancing, I'd certainly be up for something in person.

@sfcgeorge yeah, I can imagine you have much more precise requirements for the keyswitch mounting positions than I needed.

@infovore might have some pointers about resources for learning the more advanced tools, maybe?

@sfcgeorge neat!

I've used Fritzing a little bit (with oshpark.com doing the manufacture) and it worked out well (i.e. the mistakes were all mine), but I totally agree about the other tools, the learning curve is insane.

Good luck!

Quick message of thanks to the Patreon supporters who help keep this instance running. Follow them! 🎉

@judofyr, @sidekiq, @fuji, @bertocq and @shanecav

Extra special thanks to the top tier sponsors:
:honeybadger: @honeybadger :ruby: @amirrajan

If you'd like to help out... 👉 patreon.com/rubysocial

Thanks again, folks!

Interested in (or already working on) tech related things to help with ?

Take a look at coronavirustechhandbook.com/

James Adam boosted

I'm not saying you need to panic buy anything, but now is the time to start getting _mentally_ prepared for some significant changes to daily life with COVID-19.

Start figuring out how you're going to handle any social distancing measures, and how you can work from home, if (when) general transmission gets going in your area.

Thinking about what you might need to do now will put you in a much better position to actually do it when the time comes.

#covid #covid19 #coronavirus

ruby.social admin concerns 

@coding standard disclaimer: this is just my opinion, but I've been burned enough in production by all manner of shims and binstubs that I have a strong preference for simplicity and explicitness wherever possible.

@coding I'm sure it _can_ work, but version managers introduce an additional layer of indirection which can lead to unexpected behaviour.

If multiple versions of a binary are needed, better to install explicit versions and use them explicitly (e.g. `/usr/bin/ruby-2.4`, `/usr/bin/ruby-2.6`), or to use containerized separation, than to use a server-wide shim which must be correctly set up in _all_ the various execution contexts on a server (interactive, non-login, cron and so on).

Successfully persuaded the devops person to *not* install rbenv in production.

One more step up the mountain…

James Adam boosted

Hello fellow rubyists, I'm thrilled to be tooting with you.

James Adam boosted

How do you pronounce `sudo`?

@veer66 that's interesting, as I think that keyword arguments can often make code much clearer.

James Adam boosted

In Ruby you can call a parent class’s method from another method in a child:

class Parent
def foo
1
end
end

class Child < Parent
def foo
2
end

def bar
Parent.instance_method(
:foo
).bind(self).call - foo
# == -1
end
end

James Adam boosted

For the new folks on Mastodon, here are the various ways you can discover new people on here to talk to!

bnolet.me/posts/2019/11/discov

Please boost :)

James Adam boosted

Mike's one piece of advice for new Mastodon users - dive into that Federated column and follow ANYONE and EVERYONE who looks like they've posted anything at all interesting to you. Just hammer the button. There's no penalty for mistakes. Go wild.

Later, when your Home timeline is buzzing, go in and unfollow people you decide you're not enjoying so much now.

Then do that again a few times. Then some more. Forever.

Show more
Ruby.social

A Mastodon instance for Rubyists & friends