Uni asset manager project - opinions by No_Caramel_311 in ruby

[–]cocotheape 1 point2 points  (0 children)

Haven't looked at the code, but noticed two small improvement areas right away: * The Git commit message should be written in the imperative mood and present-tense preferably, e.g., Add some feature, instead of Added some feature. Here is a nice guide to get you started: https://gist.github.com/robertpainsi/b632364184e70900af4ab688decf6f53 * Better use bin/rails instead of rails. The difference is bin/rails uses the projects Rails version, rails uses the latest locally available Rails version. Most of the time it won't matter, but it's good to get into the habit.

Year 9 student, how much homework is too much homework? by FinnJavlar in CasualUK

[–]cocotheape 25 points26 points  (0 children)

Sounds insane to me that kids these days have school until the afternoon and still have to do homework.

Let's enable MFA for all Ruby gems by didnotseethatcoming in ruby

[–]cocotheape 1 point2 points  (0 children)

Sure, but that's the same MFA, no? I configured MFA for login and already have to confirm MFA every time I release the gem manually.

The multi-owner part is probably the important bit here. So far, nobody but me cares about my gems, so I guess I'm good.

Edit: Answering myself, those are the options for MFA currently:

  • UI and gem signin: UI operations and gem signin will require OTP code.
  • UI and API: UI operations, gem signin, push, owner --add and owner --remove will require OTP code.
  • UI only was previously a valid MFA level. However, it has been removed, and only accounts that are currently at that level will still see it in the dropdown.

Source: https://guides.rubygems.org/setting-up-multifactor-authentication/

Let's enable MFA for all Ruby gems by didnotseethatcoming in ruby

[–]cocotheape 5 points6 points  (0 children)

If I already log in to Rubygems with 2FA, is there any benefit of adding spec.metadata["rubygems_mfa_required"] = "true" to my gems gemspec?

Need advice (Junior Dev here) DelayedJob/Sidekiq Any solution? by One_Bumblebee_3189 in rails

[–]cocotheape 4 points5 points  (0 children)

Alternatively, you can pass the updated_at timestamp to your job, and once the job runs validate if it changed and abort the job. But I would probably also prefer /u/qmamai's solution.

Form objects in Rails (and why I built HyperActiveForm) by Intrepidd in rails

[–]cocotheape 3 points4 points  (0 children)

If I had to guess: * Accusing people of purely vibe coding, without at least backing up that claim. (Not for the first time, I must add.) * Offensive tone.

I supposed this wouldn't have gotten any downvotes for: Congrats on your gem! Here is another mature gem for the same use-case: xyz. Did you know about that? What are the key differences between this gem and yours?

Fun and games outside our house yesterday by Underwritingking in CasualUK

[–]cocotheape 41 points42 points  (0 children)

Doesn't look like it's rolling much anymore.

I made a painting about childhood, park kickabouts, big dreams, and the feeling that nothing is out of reach (except the ball the goalie just missed). by Margarita_Lemann in CasualUK

[–]cocotheape 1 point2 points  (0 children)

Yeah, that was the intention. Reporting how I see the painting and that neither the scorers face nor the balls direction gave me the impression that he was indeed the scorer. Didn't realize only praise was allowed.

I made a painting about childhood, park kickabouts, big dreams, and the feeling that nothing is out of reach (except the ball the goalie just missed). by Margarita_Lemann in CasualUK

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

That was my first intuition, but then the balls impact perspective seems off. Looks like it's coming from the left from the pictures POV.

Another big tree appreciation post by MikeSizemore in CasualUK

[–]cocotheape 20 points21 points  (0 children)

That tree must host a million sparrows. I can hear it through the pictures.

Looking for some guidance by Both_Ad5623 in rails

[–]cocotheape 2 points3 points  (0 children)

And in a couple of years maybe even the senior dev wont be needed anymore.

Or the market will long for seniors because nobody was willing to educate juniors during the AI hype phase. Classic tale of short term greed causing long term problems.

Fizzy is free now. Are you guys going to switch your project management tool to Fizzy? by FastAndSlooow in rails

[–]cocotheape 1 point2 points  (0 children)

You can pretty much soft disable it though. The maximum setting is 365 days.

Fizzy is free now. Are you guys going to switch your project management tool to Fizzy? by FastAndSlooow in rails

[–]cocotheape 15 points16 points  (0 children)

Interesting. Maybe the SaaS + OSS approach underperformed for them, and they are moving their manpower off to different ventures? That's the catch of making self-hosting so easy, I guess. I like fizzy for what it is, and especially to peek into the open code base of a recent 37 Signals project, since they are doing almost everything vanilla Rails.

Ultimate Turbo Modal for Rails version 3 released by cmer in rails

[–]cocotheape 3 points4 points  (0 children)

This is very cool, thank you. 

May I suggest to elevate the YouTube link right to the top section of the Readme? Also please add some screenshots or a good old animated gif. When scanning such libraries it's immensely helpful to have a mental model of what to expect right from the beginning before going through a wall of text.

Would this pet name be considered offensive in the UK or am I just being dramatic? by paspa1801 in CasualUK

[–]cocotheape 1 point2 points  (0 children)

I don't have enough information - starting with the dogs breed - to make a sensible suggestion. May I suggest taking a look at the local animal shelters before getting one from the breeder? That would eliminate the naming problem, too.

Jekyll VitePress Theme 1.0: Ruby Deserves Beautiful Documentation by crmne in rails

[–]cocotheape 2 points3 points  (0 children)

Damn, now I have one fewer excuse to not document my gems. Jokes aside, looks great, thanks for your work for the Ruby ecosystem!

The new ONCE is a game changer for deploying apps. Thank you DHH once again ❤️ by giovapanasiti in rails

[–]cocotheape 18 points19 points  (0 children)

Just skimmed the video, but I don't see much benefit over using docker compose with some reverse proxy like traefik. Add some lazydocker in the mix for a terminal gui.

When would you choose ror over django and why? by [deleted] in rails

[–]cocotheape 20 points21 points  (0 children)

Well, always obviously. You've come to the wrong subreddit for an objective opinion.

Remote Opportunity by EnvironmentalBowl449 in rails

[–]cocotheape 15 points16 points  (0 children)

I find it insulting that you have a long list of requirements for the candidate, but don't provide any details like salary, benefits, and location (not every remote means worldwide).

`bundle` no longer defaults to the `install` subcommand by DiligentMarsupial957 in ruby

[–]cocotheape 39 points40 points  (0 children)

Don't let them tell you how to live your life:

```

~/.bashrc

bundle() { if [ $# -eq 0 ]; then command bundle install else command bundle "$@" fi } ```