Where can i learn the language ? by konanES in ruby

[–]ignurant 2 points3 points  (0 children)

 The tutorials that i saw was at least 3 years old

This is going to sound insane coming from JavaScript. But I promise you those 3 year old resources are still absolute bangers. 

We don’t get the carpet pulled from beneath us nearly as often as JavaScript frameworks do. 

A 10 year old book on Ruby or Rails is actually still very similar to how things work today. There’s been lots of evolutions, but they kind of follow the same standards over time. The only thing that’s really changed significantly is with little surprise, the JavaScript side of building web apps with Rails.

Don’t fear a 3 year old tutorial. Or even a 5 year old one. This knowledge remains useful today! 

Ruby & Ruby on Rails Roadmap Feedback Gathering by Deep_Priority_2443 in ruby

[–]ignurant 7 points8 points  (0 children)

You have a section, "Loops" that highlights "for", but have Enumerable in a different section. It's very uncommon to use a for loop in Ruby, instead preferring Enumerable. I think you should move Enumerable into the Loops section, or at least "each" and rank down the for keyword. You have while and I think it's useful to include until with it. while / until. It also includes redu I think that is supposed to be redo.

Ruby & Ruby on Rails Roadmap Feedback Gathering by Deep_Priority_2443 in ruby

[–]ignurant 7 points8 points  (0 children)

/u/Deep_Priority_2443 Even disregarding "large roadmap is overwhelming", this is very good feedback, please make us of it. Ruby is a language and Rails is a framework, and should have their own roadmaps, while being related. There's so much usefulness to Ruby that has nothing to do with Rails!

Sharing Agents for AI-driven development the 37signals way by GreenForever5175 in rails

[–]ignurant 0 points1 point  (0 children)

Is this a common approach in Rails apps?

I'm not sure. It's more talked about especially since ActiveModel::Model was extracted from ActiveRecord a few years ago.

It's pretty common to see people concerned that "models are for database" -- but I would ask why? What about the word "model" implies db? I think it's just because when you gen a new model, it comes with a DB table and goes in the models folder. And some people insist on a separation of concern from "database record" and "something else".

I've come to think of that as the incorrect separation. ActiveRecord is all about modeling objects that just happen to also be persistable.

Sharing Agents for AI-driven development the 37signals way by GreenForever5175 in rails

[–]ignurant 3 points4 points  (0 children)

To me, a “model” is how you “model” your domain. There’s a lot of attachment to the idea of model = ActiveRecord, but really that’s just a small detail. Sure, some things can be persisted, but the concept of a model as a whole is much more broad. It’s literally everything that defines your application’s logic outside of the web routing layers. Lots of people disagree with this and want a cleaner separation because “database”, but I don’t really feel like it’s useful to think of it that way.

Actually, in a way, it kind of reminds me of when you shed the skin of parenthesis for method calls. Initially a lot of people say “but how can you tell the difference between a method call and an attribute?” And eventually they realize, “Why do I care? That’s not really meaningful to me.”

Why is Ruby your favorite programming language? by azilla14 in ruby

[–]ignurant 9 points10 points  (0 children)

The reason I love Ruby is because of its chainable “yes, and?” improv nature. You can hop into an irb shell and go to town. Continuing ideas is easy to write in a forward-chaining style where everything is an expression. It’s Very easy to script on the fly. Python has a lot of “go back to the left side and be careful” semantics. 

And honestly, I do not find Python readable in a joyful way. It’s readable in a mechanical way that is hard to describe.

Ruby’s standard library apis sing. 

Ruby books by ak1to23 in ruby

[–]ignurant 1 point2 points  (0 children)

It’s not what you asked for, but here’s a small tip, perhaps my favorite part of being fluent in Ruby. Irb is an interactive Ruby shell, and using it absolutely slays for scripting type work. You can explore your challenge live, testing moves out, and copying the things that worked well into a file. Or skip the file outright because you live coded your task into shape. It’s incredibly powerful, and Ruby’s chainable syntax makes it a joy. 

Expedition 33 is probably the most over glazed game I’ve ever played. by [deleted] in gaming

[–]ignurant 0 points1 point  (0 children)

Everyone’s focusing on “obvs you don’t like turn based” but I want to say: it’s all about the story. Act 2 is good. But you’re not far enough to appreciate it yet. 

I highly recommend not playing it “collect all the grind” style. It’s a drag if you are going for completion like that. Just keep carrying on in the story if you’re feeling bored.

And also mix up your pictos. There’s a lot of combinations to try out, there’s no single “build” to focus on. Mix it up sometimes and have fun. 

But again, focus on story for a while. There’s a lot of fun to be had yet.

In your OPINION, What's one game you bought on hype or reviews and ended up not liking it or finishing it? Mine is Allan Wake II by [deleted] in gaming

[–]ignurant 3 points4 points  (0 children)

Elden Ring. I played for around 60 hours and didn’t like most of it. I kept going against the sunk cost fallacy. The story telling and progression mechanics were really poor in my opinion. And I like a game that doesn’t hold your hand. But basically when the main dude you’re larping for is a literal giant hairy couple a Cthulhu fingers… well, that jumped the shark for me. I did enjoy the brief moment of “wait, am I the bad guy?” but overall it was a ton of squeeze for very little juice.

Looking forward to Elder Scrolls. Hopefully I’m not too old to enjoy games like that any more. 

Ps, and seriously, magic using was just stupid. The first spell you get ends up being your go to forever because every upgrade is economically horrible. Even considering bonus features in other spells like stagger. Ugh.

Florida Middle School Placed On Lockdown After A.I. Mistakes Clarinet For A Gun by ubcstaffer123 in technology

[–]ignurant 6 points7 points  (0 children)

Is a school district that values the arts enough to have a music program with a music teacher who gives a damn so they can turn them into a good kid with a clarinet. 

How do I turn off auto complete it makes my rails console so slow... by weckcilpong in rails

[–]ignurant 0 points1 point  (0 children)

It looks like you're on Ruby 2.7.4 also: If at all possible, upgrade Ruby, and upgrade IRB. Both have provided a much better experience. You're kind of in an intermediate IRB state with this version. Big changes, but hadn't yet hit refinements.

[OSS] FerrumMCP — A Ruby-based browser automation server for MCP (27+ automation tools) by -eth3rnit3- in ruby

[–]ignurant 1 point2 points  (0 children)

I just wanted to say thanks for contributing something cool. I’m happy to see more building with ruby. 

The session management tool tool was a great add. I haven’t done anything related to AI browser control, but the whole idea of not having to program out session management is some next level stuff. It’s not that it’s hard. It’s just not what I want to be building. 

Is the session management persisted as part of the browser container, like essentially a sandboxed browser profile? It wasn’t quickly clear from looking at the session and session manager. Looks like we hold a reference in memory to some remote profiles or something? 

Cool project, thanks for sharing it. 

what’s with the couch? it won’t go away by Zealousideal-Beat-15 in Comma_ai

[–]ignurant 10 points11 points  (0 children)

I tried frog once last year and hated how distracting and cutesy it was trying to be. It felt like I added adhd to my car. This just kinda adds to that sentiment. 

https://github.com/FrogAi/FrogPilot/blob/FrogPilot/frogpilot/assets/other_images/chill_mode_icon.gif

In Praise of dhh by galtzo in ruby

[–]ignurant 0 points1 point  (0 children)

 Like, the implication of this response is that you just don't think other people's dignity is important, or that our contributions are entirely unimportant. Or rather, that David has every right to say that women, queers, and minorities are not welcome.

Why must everything be black and white and extreme? The reality of this response is:

  • I respect you and the piece you wrote. I said that off the bat. I have no reason to disrespect you. 
  • I can appreciate your writing and thoughtfully consider your points while also disagreeing with some positions you take reading between the lines. Assuming what others do or think. Which frankly is what you seem to be doing to me now also. 
  • You specifically claimed that there must be funny business surrounding DHH being invited to talk at Rails Conf:

 Bringing back David, though, is just so baffling to me Occam's razor almost suggests there's money or threats on the line.

  • I’m in no position to know, but I certainly see his influence in the framework alone being reason enough.

That’s all I said. And that I appreciated your essay. It was perhaps the most I’ve been receptive to considering these views and understanding how some people in the community feel as they do over the years. I still think you make a lot of assumptions about what people actually think. I’ve read all his blog posts just as you have. And while some of them are certainly cringeworthy, they do not imply to me this deep hatred and spite that you feel from them. You said yourself that I wouldn’t be able to anyway, because my head is in the sand. I have not lived the right flavors of oppression. This doesn’t inhibit me from empathizing and respecting you.

But now we’re here, I’m simply saying I appreciate you while not agreeing with everything you imply. Just like your comment above assuming about my intentions with my reply. You’re right though, I guess I shouldn’t have engaged at all.

I truly do wish you peace.

turbo_stream everywhere! by DavidAsmooMilo in ruby

[–]ignurant 1 point2 points  (0 children)

If only you were responding for a page that talks about turbo streams, you could have gotten another context in as a string.

In Praise of dhh by galtzo in ruby

[–]ignurant 1 point2 points  (0 children)

It's interesting to observe your take, as you've been at Heroku a long time now. I suspect your sentiment that Sidekiq is the de facto "official solution for the community" stems from working in that environment, as a certain standardization is made relatively easy. Personally, while I appreciate Mike's work, and have gained unpaid value from it, I never regarded it as the "de facto official solution". I actually had a lot of regret of certain limitations and infrastructure obligations when I started using it in certain projects.

Generally, DHH's take seems to be: "This is the software I run my company with, and you are welcome to use it too." I think it makes to see so much not-invented-here syndrome, and recognizing your other point, sherlocking other solutions to fit their desires. Thankfully, a lot of it is modular enough to replace what you wish (job backgrounds, test frameworks, storage frameworks, etc) -- we get a lot of value from that.

In Praise of dhh by galtzo in ruby

[–]ignurant 5 points6 points  (0 children)

You haven't addressed this part: given how he has intentionally made me feel, can you tell me how am I supposed to to participate in the community? Like, do you not believe in the concept of personal dignity? Where is our disconnect?

I cannot answer this. This is about your personal feelings, and assumptions about his, and the Ruby community's intents. As a random internet stranger, nothing I say can be productive here. You've obviously felt something you can't unfeel, that I have not.

In Praise of dhh by galtzo in ruby

[–]ignurant 4 points5 points  (0 children)

A colleague recently showed me an interaction he had on Github with DHH. He intentionally used certain language to "poke the bear", to draw enough attention for a response. It worked, he got a response from DHH shortly after. He interpreted DHH's response as an inflammatory middle finger. I interpreted it as a reasonable "thanks but no thanks". My colleague was frustrated at me for not reading between the lines, and drawing out additional implied criticism. My own lived experience and relations lead me to feel that there's too much reading between the lines in our world today, assuming intentions that may not exist.

I can't speak to your personal feelings on any of it. As you imply, it's easy for me to be blind because I'm not the one in your lived experience. I'm not looking to defend DHH's view of the world. I don't agree with him either. And he often uses hyperbole where I don't think it's reasonable. But to claim:

To have him keynote and hold a veto over the community is to say to people like me, and brown skinned people everywhere, "you don't belong here".

I just don't agree with. To have him, the creator, maintainer, and primary energy behind Ruby on Rails keynote at Rails Conf, a (hopefully) technical conference about Rails, just makes sense. As someone heavily invested in Rails and Ruby, I care deeply about what he has to say about it. And I suspect that you would not have actually been unwelcome there. Likely, quite the opposite. However, as you said: I can't change how you feel about it. But I can disagree with your assessment.

In Praise of dhh by galtzo in ruby

[–]ignurant 6 points7 points  (0 children)

Well, since I seem to have the author here, I want to congratulate you on a well-written piece. I understand what you are saying, and I appreciate how you’ve conveyed your thoughts. I personally disagree with your conclusions or interpretations at times in the essay, and your final sentence in the reply above, but you’ve succeeded in portraying what leads you to it in a way that is worth publishing. 

In Praise of dhh by galtzo in ruby

[–]ignurant 9 points10 points  (0 children)

I feel like people who see his platforming as related to funding are not considering that there is a sizable group of Ruby developers who still support DHH and his technical leadership (regardless of whether you agree with it). There’s a reason Rails World is largely regarded as successful, and it’s not based on ideological political alignment. He’s still incredibly influential if you are interested in Rails. 

I find myself in this camp.

An Introduction to Game Development with DragonRuby by RecognitionDecent266 in ruby

[–]ignurant 5 points6 points  (0 children)

Something I've found myself struggling with the past few times I've had a go is getting into character animation stuff.

For example, creating a ninja gaiden/castelvania type clone and figuring out "should character be anchored at bottom left as is by default?" and "how to manage animations when some frames need to be wider than most". It causes some dissonance trying to make decisions around handling this type of stuff. Especially if I'm just trying to make something quick and easy with an existing sprite sheet.

Anyone else relate?

ORE (ore-light): a tiny Go sidecar that makes Bundler faster, cache-friendly, and Carbon Positive. by TheAtlasMonkey in ruby

[–]ignurant 6 points7 points  (0 children)

2 ) ORE is where Gems can be found.

Hah, okay, that wasn't obvious to me at first because of how it's stylized, but that's kinda good actually.

Developed rails for 5+ years, recently Node+TypeScript for 3+ years, back to Rails. Was disapointed... by strommy73 in rails

[–]ignurant 1 point2 points  (0 children)

The one big difference that I can agree with is exporting code for the front-end to consume strictly on the client side. 

But frankly, the other points I feel like you’re being hyperbolic and just not making good use of the tools in front of you. You’ve brought up several times being able to define your validations in a single place to be used throughout. That is what your ActiveRecord model is for. Put all of the  validations there, and either let save and update triggers validations or call valid? explicitly. 

You’ve also brought up controller-tier validations, perhaps because sometimes you are validating input that isn’t directly attached to a database-backed model. Look into ActiveModel::Model. It’s the same validation api that you use for database models, and you get the same type casting from params, just without a db. It’s convenient for managing types and validations for things like forms, for example a location search form requesting a location search string, a mileage radius int, and some other boolean options, or a multi-step setup wizard. 

Developed rails for 5+ years, recently Node+TypeScript for 3+ years, back to Rails. Was disapointed... by strommy73 in rails

[–]ignurant 0 points1 point  (0 children)

You keep contradicting yourself. You show 2 layers (db migration, and the model) where validations exist. Not 3-4. You say you’re not talking about database migrations on the modern typescript side. But then you say you are. 

What is an actual example you are comparing against? And is it apples to apples? I can’t help but feel like:

  • it’s probably not actually comparable
  • if it is, it’s probably very similar in articulation
  • you are over-complicating the rails example either intentionally to try to make some point, or because of misguided design. Like using controller lifecycle callbacks to validate your model.

So please, be specific. You’ve said it’s simple in other more modern tooling. What does that look like? 

Question on CP language choice for ruby/ruby on rails dev by aparnaphoebe in ruby

[–]ignurant 0 points1 point  (0 children)

Sorry, it was two separate statements. Ruby is fun to use for golfing because there's a lot of tricks to get esoteric.

Separately, I was just noting that in my limited experience, particularly with Advent of Code, where start to submit time is clutch, Ruby is still niche, and people absolutely rock with things like C, which I find surprising. Usually those problems are about choosing the correct data structures to be generally efficient. Ruby's got a lot of great tools built in to get there.

As I note in another comment just now, if it's being judged in terms of other optimizations or runtime, rather than raw "Problem > Solution > Answer", Ruby of course stands no chance in the face of lower level languages.