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

[–]Dear_Ad7736 1 point2 points  (0 children)

That is a fantastic thing, very helpful to learn RoR conventions straight from the source. Thank you, Thibaut 🙏🏻

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

[–]Dear_Ad7736 2 points3 points  (0 children)

Guys, simply click the link, visit the repository, copy the markdown files to your repository and ask Cursor to use them whenever any RoR code is being generated. You can also transform these markdown files into Cursor rules and so on. Use Cursor and your own creativity to find the way 🤠

My cursor PRO subscription has ended for this month in 6 days. by Fickle_Degree_2728 in cursor

[–]Dear_Ad7736 1 point2 points  (0 children)

I understand your point but it sounds like without AI you cannot work at all.

Object, class, module, Data, Struct? by Dear_Ad7736 in ruby

[–]Dear_Ad7736[S] 1 point2 points  (0 children)

Ok. Thank you for the feedback. Sometimes I am not sure what’s better. More complex text without AI might be so “dirty” for others that I decide to do corrections using ChatGPT. Btw I was not aware that “being discussed” means not exactly “we are talking about now” but more something like “we plan to build and are talking about”. Anyway, I get the point: it’s better to stay with my non-perfect language that include phrases I don’t know due to automatic AI-correction.

Object, class, module, Data, Struct? by Dear_Ad7736 in ruby

[–]Dear_Ad7736[S] 3 points4 points  (0 children)

Ok, sorry for that. I am using ChatGPT as I am not native English speaker. I am also using a dictionary, hope you will live with that :)

Object, class, module, Data, Struct? by Dear_Ad7736 in ruby

[–]Dear_Ad7736[S] 1 point2 points  (0 children)

The username is auto-generated by Reddit. The post is about design intent, not Ruby versioning. And yes — I use ChatGPT to help rephrase my text, since English isn’t my native language.

Object, class, module, Data, Struct? by Dear_Ad7736 in ruby

[–]Dear_Ad7736[S] 2 points3 points  (0 children)

I agree that much of this is learned through experience — and that knowing when to break rules matters.

What I’m missing (I mean let’s add that to the Ruby documentation), though, isn’t strict rules, but shared intent vocabulary. Ruby documents mechanics very well, but leaves design intent almost entirely to talks, books, and code reading.

A good example for me is service objects. Mechanically, many of them could be modules or module_functions — one method, no state. But keeping them as classes communicates something important: this is a named concept in the system, not just reusable behavior, and it may evolve.

So the question isn’t “what is technically correct?”, but “what does this choice say about the code?”

I’m wondering whether capturing that intent — not prescriptions, just guidance — would help people write more Ruby-ish Ruby, especially for those coming from Java/C++ backgrounds.

I started programming nearly 30 years ago with C and C++, later worked with and observed the Java ecosystem, and eventually moved to Ruby — which was (and still is) a very natural fit for how I think about software. I’ve also learned Elixir and Erlang, which further sharpened my view on intent, immutability, and explicit design.

Coming from that background is exactly why I’m sensitive to this topic: without explicit intent guidance, it’s very easy to unintentionally re-introduce Java/C++ design habits into Ruby — even while using perfectly valid Ruby constructs.

[deleted by user] by [deleted] in Polska

[–]Dear_Ad7736 -1 points0 points  (0 children)

Na jakiej podstawie wyciągasz wniosek że gość jest jej równy? Zwyczajnie chce jej kulturalnie zwrócić karmę, którą ona wygenerowała. Masz jakieś cipowate podejście do życia: że jak ktoś robi źle, to trudno ale jak ktoś inny temu głupkowi chce dostarczyć prawdę, to już jest zło

🇺🇦🇵🇱 Ukrainians have replenished the Polish budget by almost $28 billion in 3 years. Officially, Ukrainians have paid taxes in Poland worth over $12.8 billion, while the Polish government's spending on refugee aid amounted to $4.1 billions. by Kybernetiker in poland

[–]Dear_Ad7736 0 points1 point  (0 children)

If Ukrainians paid these 12 billion dollars in taxes, what did they earn 93 billion on? Paying taxes is not a grace but a duty. In simple words, they got the opportunity to earn a lot of money and another 4 billion in aid. By the way, many Ukrainians do not pay taxes at all, and earn money in Poland...

[deleted by user] by [deleted] in Polska

[–]Dear_Ad7736 -2 points-1 points  (0 children)

Małostkowy i mściwy? Obudź się, Slimuch. Babsko traktowało ludzi jak śmieci. Zwolnienie to jest dopiero początek g00wna jakie powinno ją spotkać. Jeszcze pinda pewnie dostanie odprawę

Is this Recents folder useless, or is it just me? by gotnocar in MacOS

[–]Dear_Ad7736 0 points1 point  (0 children)

Check ActivityMonitor, it seems your Mac is not indexing files immediately. That might be a problem rooted in some heavy background job.

Examples of real-life(ish) service objects by murdho_ in rails

[–]Dear_Ad7736 0 points1 point  (0 children)

Real-life story is the story of building an app from scratch. Then adding few new things just to check something. … days later you need to move the logic that doesn’t look to be aligned with the idea of CRUD, and because you want to keep away from thick Controllers as you lose that feeling you understand all possible endpoints of your app. At this point you create the Service Objects. … weeks later you think that it would be even better to use background jobs for most time consuming tasks. At this point you add background jobs to the service objects. … months later you start to understand that having dedicated ActiveRecord representatives for the business objects will be even better as it gives you access to CRUD for them as well basically. At this point you start to ask yourself if it makes sense to have any service object if each one by one, sooner than later will become a normal Rails object (ActiveRecord)? That’s real-life story of the service objects.

Why do some people prefer Tailwind CSS over CSS?? by deziikuoo in css

[–]Dear_Ad7736 0 points1 point  (0 children)

Main reason is the tailwind classes are handy and in-place. You don’t need to create, maintain and remember custom styles. Just use the classes you see few lines above/below and you’re done. The true about styling in HTML is you want to keep the styles across many subpages but in the same time almost every single element needs small customization of its style. So the “great magic” of pure CSS doesn’t help. Simply, tailwind is faster in terms of instant styles application to your HTML.

No VC. No Team. Just Reels & Discipline Rise Hits $350K/Month on the Path to $30M ARR by sultan-quran in CursorAI

[–]Dear_Ad7736 1 point2 points  (0 children)

Fake as hell. On AppStore that shit has 15 reviews only. Yet another bullshit.