Posts

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

veganstraightedge, to random
@veganstraightedge@ruby.social avatar

It’s bittersweet to me to see Ruby (MRI) extract more C intervals to Ruby implementations.

I’m happy… elated! that that’s happened

Bummed that did this writ large ~15 years ago but wasn’t accepted/acknowledged/celebrated for doing it

A bootstrapped/self-hosted Ruby would be (will be!?) amazing someday

——

The days of future past that we could’ve had if the past decade and half had been invested in a Ruby written in Ruby

veganstraightedge,
@veganstraightedge@ruby.social avatar

For example, here was Array in ’ array.rb

https://github.com/rubinius/rubinius/blob/master/core/array.rb

Rubinius, both codebase and project of people, were imperfect. Like all things. But…

Imagine being any Ruby developer, but especially a new one, and wondering what some method does, and getting to read Ruby code. 😍

veganstraightedge, to random
@veganstraightedge@ruby.social avatar

Is there a rule to disallow using a trailing slash for a multiline string?

bad

"foo" \
"bar" \
"baz"

good

"foo bar baz"

<<~STRING.squish
foo
bar
baz
STRING

pat,
@pat@hachyderm.io avatar

@veganstraightedge I don't have an answer for this one though 😅 (not sure if such rules exist)

veganstraightedge, to random
@veganstraightedge@ruby.social avatar

What is the rule to require that all methods are be either on the same line or each on its own line?

Same for method chaining? All on one line or each on its own line?

args

bad

method(arg1, arg2,
argthreeeeeeeeeee)

good

method(arg1, arg2, argthreeeeeeeeeee)

method(
arg1,
arg2,
argthreeeeeeeeeee
)

chained

bad

foo.bar
.baaaaaaaaaaaaaz

good

foo.bar.baaaaaaaaaaaaaz

good

foo
.bar
.baaaaaaaaaaaaaz

pat,
@pat@hachyderm.io avatar

@veganstraightedge in case you've not already found them - I think what you're after are Style/MultilineMethodSignature and/or Layout/MultilineMethodArgumentLineBreaks, and Layout/DotPosition.

veganstraightedge, to rails
@veganstraightedge@ruby.social avatar

buildpack question

AFAIK, my app doesn't want/need

How do I tell Heroku to not install install the buildpack at all?

(and remediate this WARNING on every deploy)


WARNING:

Installing a default version (20.9.0) of Node.js.
This version is not pinned and can change over time, causing unexpected failures.
Heroku recommends placing the heroku/nodejs buildpack in front of
heroku/ruby to install a specific version of node

veganstraightedge, to random
@veganstraightedge@ruby.social avatar

Re-upping my plea for help!

I’m really jammed up on this and blocked by it

When I get it solved, I get to delete 55 triggers and a gem!

And then a similar amount in three other rails apps

Help!?
https://ruby.social/@veganstraightedge/112340159120060018

veganstraightedge,
@veganstraightedge@ruby.social avatar

@jamie @jesseplusplus thanks, both of yall!

honestly, I’m surprised that the fx gem doesn’t have this (that I know of) as an argument on drop_function and drop_trigger

jesseplusplus,
@jesseplusplus@mastodon.social avatar

@veganstraightedge @jamie I’m surprised too. I would honestly expect the drop trigger function to use the IF EXISTS as the default for safety. Maybe you can submit a PR 🙂

veganstraightedge, to random
@veganstraightedge@ruby.social avatar

Hope is not a strategy
Hope is a fuel

Spite is also a fuel
But it burns dirty

zalasur,
@zalasur@mastodon.surazal.net avatar

@veganstraightedge Spite burns dirty but you can't argue with the great mileage

veganstraightedge, to random
@veganstraightedge@ruby.social avatar

I'm actually a big fan of broadcast only, all (or most) of company wide meetings.

Ones where we're all cameras/mics off and someone is walking through a slide deck.

It gives my ADHD a time to get some other mechanical work done, while listening/following along.

It's like double screens TV time. Watching a show/movie, while scrolling social media.

veganstraightedge, to random
@veganstraightedge@ruby.social avatar

Rearranging furniture and listening to AFI.

I always think of @jenn whenever i listen to AFI.

Miss you, J 👋🏻🖤 it's been a long time.

jenn,
@jenn@pixel.kitchen avatar
veganstraightedge, to random
@veganstraightedge@ruby.social avatar

Dearest @GitHub or anyone who works there,

Please please pleeeeeease, sort failed PR checks to the top of the list

Bonus extra credit:

  • Don't put the list of PR checks in a fixed height scrollable thing
  • let it just grow in height to the number of checks
  • let the browsers default scrolling Just Work™
  • don't make me use a mouse/trackpad just to see all of my PR check

Pleeeeeeeeeease, I'm begging you

veganstraightedge, to random
@veganstraightedge@ruby.social avatar

TSA never lets me forget.

veganstraightedge,
@veganstraightedge@ruby.social avatar

@lzg but only unless the agent at that airport has decided that that isn’t important to them at that moment

Bc individual blue shirts have complete discretion to pick and choose which security theatre fictions to enforce 🙃🙃🙃

coooooooool…

veganstraightedge, to random
@veganstraightedge@ruby.social avatar

TIL: Apple removed support for Preview.app to open .ps files. In macOS Ventura (13.0).

https://support.apple.com/en-us/HT213250

Rude.

I only care about .ps files because InDesign won't "export" PDF for a booklet (zine). It'll only "print" to a printer… or to a .ps file.

I used to be able to convert from .ps to .pdf in Preview. Now, I'm looking around for other options.

masukomi,
@masukomi@connectified.com avatar

@veganstraightedge they disabled the option in the system’s print dialog to “print” to pdf ?!

masukomi,
@masukomi@connectified.com avatar

@veganstraightedge I got curious, and i'm happy to report that Affinity Publisher has a PDF export and has not disabled the PDF pulldown in the system print dialog.

Maybe you're locked into using inDesign, but if not maybe it's time to consider switching. The Affinity suit is REALLY nice.

affinity designer's print dialog. the pdf pull down at the botom has been clicked to show the various options

veganstraightedge, to random
@veganstraightedge@ruby.social avatar

Age of Rails app: 10 years

Code lines of code: ~40k
Test lines of code: ~90k

CI runtime: 3 minutes

pat,
@pat@hachyderm.io avatar

@veganstraightedge Very jealous of that CI time! How much parallelisation of tests is part of that?

veganstraightedge,
@veganstraightedge@ruby.social avatar

@pat 40 runners

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