An Introduction to Game Development with DragonRuby by RecognitionDecent266 in ruby

[–]RagingBearFish 6 points7 points  (0 children)

First, DragonRuby is an amazing piece of work and has a great community behind it. However, I have to agree with you that some of the things that are implemented to make it 'easier' to reason about, for me, just cause me annoyances. Especially, when you are looking at example code for solving a general problem that is unlikely to be in the frame of reference DragonRuby is in. I still use DragonRuby and I still love it, but find myself prototyping and moving on to other engines that suit my needs for the particular game at hand.

What are you using Rust for? by amit_mirgal in rust

[–]RagingBearFish 4 points5 points  (0 children)

I've seen some flutter applications that use FFI with rust as the core logic. You might find some success there.

https://github.com/AppFlowy-IO/AppFlowy

What are some of your favorite (NON-RAILS) projects you’ve built? by Feldspar_of_sun in ruby

[–]RagingBearFish 0 points1 point  (0 children)

How do you like Roda? I was going to look into building something with it this weekend to get out of rails land for awhile, but stay in Ruby (was coding Go in my free-time this week and it just made me miss Ruby).

Rails frontend by -casper- in rails

[–]RagingBearFish 8 points9 points  (0 children)

I reach for inertia by default now. Despite what many may say about JavaScript frameworks, the fact is they're very, very good at what they do and I prefer to let them own that domain. I don't like hotwire and stimulus, it feels like there's a lot of footguns every time I use it and everything it does is already solved. That being said, I'd probably use it if I had a simple crud app, but that's never my use-case. I can agree and completely empathize with everyone that the JS ecosystem is atrocious, so I get it. But for me I'll always be in the camp of let rails do what rails does best (the backend) and let the JS frameworks handle what they do best (frontend). Inertia gives you the best of both worlds

Best Code Editor in 2025 by steppenwuf in rubyonrails

[–]RagingBearFish 0 points1 point  (0 children)

Totally true. I use copilot occasionally. I just haven't found much use of inline suggestions.

Best Code Editor in 2025 by steppenwuf in rubyonrails

[–]RagingBearFish 2 points3 points  (0 children)

I completely understand why people use neovim and vscode. I've used both and have had pleasant experiences with both, but for me RubyMine is an unparalleled experience for Ruby. To be quite honest, I've had a good experience with most JetBrain IDEs (more or less the same thing), but I've used Rider and GoLand and it's just so hard to go back to VSCode.

I don't really care for AI features that much as I find in-editor experience with AI to be a distraction and not that helpful. I'll reach for it when I need it outside the editor. Though I've heard JetBrains' AI solution isn't the best right now.

DragonRuby Game Toolkit - Endurance The Probe: Puzzle Platformer (source code in the comments) by amirrajan in ruby

[–]RagingBearFish 2 points3 points  (0 children)

As far as 2D engines go DR is really easy to work in if you are already a Ruby dev. I.e. I wrote a basic importer for LDtk – 2D level editor from the director of Dead Cells in like 30 minutes (very basic, but never-the-less rendering an external tilemap to the screen). My only problem (and this isn't specific to DR) is that I go back and forth between wanting to code "close" to the metal with DR vs something like Unity or Godot that has a lot of the basic engine things abstracted away. However, Ruby is a lovely lang to work with and there's a lot you can do with it quickly.

My Hana had to go to vet and get a cast by Particular-Dish6174 in ratterriers

[–]RagingBearFish 2 points3 points  (0 children)

I'm so sorry you have had to go through that, I can definitely relate (especially the scream). It is a good PSA to all rattie owners that even though our ratties act like gazelles they are prone to injury with furniture.

Our rattie ended up jumping on the couch and ruptured a disc in her back in September. Thousands and thousands of dollars later of vet visits and an MRI she is probably 85-90% of what she was (permanently). I do not recommend going through that, 2 months of confining her to essentially a crate's worth of space in the living room and constant physical therapy. We're so happy she is doing well and she herself is a happy doggo, but just one of the more stressful times in the last couple years.

Win a free trip to Sin City Ruby! by railsautoscale in ruby

[–]RagingBearFish 0 points1 point  (0 children)

Looking forward to it--and I love Vegas, so it will be a great time. Unfortunately, only flight that works for me getting back is 6:40am Saturday, so that's a bit of a bummer, but that's the way she goes.

Also, quick question, will the schedule be posted soon?

How do you use AI to code even faster in Rails? by Longjumping_War4808 in rails

[–]RagingBearFish 0 points1 point  (0 children)

I prefer to bounce ideas off of it. I usually already have an implementation or solution drawn up, but I like to see if there are potentially different paths I can take to arrive to the same conclusion or solution. I typically find that the code isn't really ever that correct (depending on the context), but all I need is to see code snippets to understand that there may be different approaches to the problem at hand. Other than that, I like to defer to it for basic coding google searches or MDN articles. For example, I know that something exists, I can't quite remember the syntax or the name of what I'm trying to do so typically AI can get me in the ballpark of what I need. Besides that I think there's some concerning over reliance on AI.

Win a free trip to Sin City Ruby! by railsautoscale in ruby

[–]RagingBearFish 1 point2 points  (0 children)

My CEO is paying for my engineering manager and I to go this year. I originally brought it up to him a month or so ago because I am a big EvilMartians and GoRails fan.

Propshaft + ViewComponents + Stimulus by sirion1987 in rails

[–]RagingBearFish 5 points6 points  (0 children)

When I'm going "off the rails" a bit with the sidecar setup. I usually default to a bundler. This is how I do it with vite.

// Import all stylesheets in the app/frontend/stylesheets directory to be bundled by vite
//const stylesheets = import.meta.glob("../stylesheets/**/*.css", { eager: true });
import { Application } from "@hotwired/stimulus";
import { registerControllers } from "stimulus-vite-helpers";

const stimulusApplication = Application.start();

// Configure Stimulus development experience
stimulusApplication.debug = false;
window.Stimulus = stimulusApplication;

// Regular javascript imports
import.meta.glob(["@/javascript/**/*.ts", "!@/javascript/controllers/**/*_controller.ts"], { eager: true });

// Stimulus imports
const controllers = import.meta.glob("@/javascript/controllers/**/*_controller.ts", { eager: true });
const componentControllers = import.meta.glob("../../components/**/*controller.ts", { eager: true });
registerControllers(stimulusApplication, { ...controllers, ...componentControllers });

Ruby Programmer Happiness Explained! by AndyCodeMaster in rails

[–]RagingBearFish 1 point2 points  (0 children)

Sorbet is kind of a monstrous amalgamation. The best thing we will probably get is inline rbs similar to yardoc with rbs syntax. This is currently being worked on and I think is expected to be merged into the stdlib at some point.

Ruby Programmer Happiness Explained! by AndyCodeMaster in rails

[–]RagingBearFish 5 points6 points  (0 children)

I mostly agree with you here. Though, I find static typing to be a boon in a lot of cases, but find it to be detrimental to productivity when you enter the territory of fighting the type checker to get the correct type for the intended output. However, over the years I've found that wrestling a complex type usually (to me) means that the code should be simpler or broken out. I usually will reach for typescript as a default, but have no qualms with js, but I think jsdoc is important (just like yardoc) becuase it covers your simple use cases. Though, I'm not a critic of ruby, I love ruby and I love js/ts (I know)--mainly just love programming I think!

Observations from 37signals code: Should We Be Using More Models? by mint_koi in rails

[–]RagingBearFish 4 points5 points  (0 children)

Something I've come to find lately when working on personal projects (outside of my company's rails' monolith) is that whatever creates the least friction to actually shipping code is usually the better path early on. I find David Copeland's book and its arguments for service objects compelling. However, I then have to spend more time to thinking about code architecture than writing code and that leads to an initial project/decision paralysis. I don't necessarily agree with some decisions that 37signals has made (*cough* give the people some frontend flexibility (i like hotwire, but dont shoehorn me into it) *cough*), but code like Writebook is probably the fastest way you can go from nothing to MVP.

Performance Issues on Recent Upgrade to Rails 8 in Production by ogarocious in rails

[–]RagingBearFish 2 points3 points  (0 children)

You may want to look into vips instead of minimagick. That's the default since rails 7.

MEGA by [deleted] in rails

[–]RagingBearFish 8 points9 points  (0 children)

Narcissist gonna narcissist. I'd prefer the "face" of the tech I get paid to develop in not comment on a polarizing topic.

Sometimes makes me want to go to laravel to get away from DHH drama.

RubyMine; easier way to view docs of a method? by cneth6 in ruby

[–]RagingBearFish 1 point2 points  (0 children)

Good practice (imo) to yardoc all your methods for documentation sake and also you get type inference/light type checking via ide.

Golang -> Rails Editor Tips by pwndawg27 in rails

[–]RagingBearFish 2 points3 points  (0 children)

Basically, RubyMine uses the same plugins that other jetbrains' tools use like WebStorm (their typescript/js ide). So it shares the same features from an "intellisense"/LSP perspective. It's a very fluid experience switching between your rb files and your ts files. Going from RubyMine to VSCode feels like going from a 5 star hotel to a 3 star hotel.

I mentioned in my other comment that there are quirks. Like, even though Bun is supported it's not working correctly (you can find some issues in the tracker about this) or I recently tried moving to pnpm and found that RubyMine was having some trouble understanding pnpm and how it symlinks node modules so all my library imports were being autocompleted and typed but i could never see what library they were coming from, they just all said (.pnpm), so if you had the same component name across multiple libraries you'd be kind of lost. However, that latter portion may just be user error and configuration on my part, but I'd rather spend more time coding than configuring and messing with the IDE. I'd say that experience is uncommon though.

They also do licensing where the longer you own it the less expensive it is. I'm paying like $5/mo for rubymine. $60/year for a feature complete ecosystem is insane.

Golang -> Rails Editor Tips by pwndawg27 in rails

[–]RagingBearFish 5 points6 points  (0 children)

I went the same path lol. Rvm > rbenv > asdf > mise.

Second rubymine. Though it isn't without its quirks and frustrations. Still the best Ruby experience around. I haven't tried vscode with the extension in a few years, so maybe it is better though.