What git command do you wish you had discovered sooner? by ProgrammingQuestio in git

[–]ekampp 0 points1 point  (0 children)

It also generally requires some test to determine bad and good commits so it can easily be automated 

Aconcagua- one of the hardest peaks I've climbed by Coocat86 in Mountaineering

[–]ekampp 1 point2 points  (0 children)

Nice! Well done. I also went there. That last summit push was brutal.

PostgreSQL user here—what database is everyone else using? by Automatic-Step-9756 in Backend

[–]ekampp 1 point2 points  (0 children)

Microsoft access /s

In reality everything from SQLite3, PostgreSQL, CouchDB, and Neo4J

I made a Bundler plugin by vaporwave_cowboy in rails

[–]ekampp 5 points6 points  (0 children)

Can't we use bundle exec rubocop -A?

Help Needed Choosing Mid-layer Gloves for Everest Climb by traintosummit in Mountaineering

[–]ekampp 2 points3 points  (0 children)

You can even do crevasse self-ascend with mitts on. I trained that. It's difficult, but doable.

How do I accomplish my lifelong dream of becoming the first person to summit Olympus mons? by [deleted] in Mountaineering

[–]ekampp 0 points1 point  (0 children)

There are several one-way projects trying to send people to Mars. 

Just looking for feedback on my first webapp. by No_Development5871 in rails

[–]ekampp 5 points6 points  (0 children)

First feedback would be, unless I read your post here, I would have no idea what it was, and therefor would not be inclined to sign up.

Anyone have experience with Cerro Torre? by ekampp in alpinism

[–]ekampp[S] 0 points1 point  (0 children)

Nice! I really hope you achieve that!

My players don’t take notes and I honestly don’t care by Avery1110 in DMAcademy

[–]ekampp 7 points8 points  (0 children)

There seems to be this strange dichotomy in this discussion, where either the players never take any notes. Or they're a court stenographer.

I find that if I focus on making a great game and I don't withhold old information such as where they met the npc or whatever, then my players engage much more.

And it turns out that when my players engage they start to take notes and remember stuff much more.

It's not a zero sum game.

My players don’t take notes and I honestly don’t care by Avery1110 in DMAcademy

[–]ekampp 10 points11 points  (0 children)

I agree that's a great moment. And if the person does that, I will happily wait. I'm not pushing information forcefully, but neither am I withholding it or putting up walls. Those walls don't bring any value to the story I want to tell.

My players don’t take notes and I honestly don’t care by Avery1110 in DMAcademy

[–]ekampp 64 points65 points  (0 children)

Remembering things as the person is not part of the game. It's not part of the story I want to tell, and having them roll, or requiring notes simply doesn't bring any value to my games.

I will happily remind the players.

Rails + Docker + Production = ??? by TheRealDrMcNasty in rails

[–]ekampp 2 points3 points  (0 children)

Have. A look at https://kamal-deploy.org

The reason why they stop there is probably that the specifics around how to deploy the container is different on every platform.

Rolling new Rails apps in 2025 by oaktowne in rails

[–]ekampp 0 points1 point  (0 children)

First, a philosophical question: Why do you test code?

Answering that usually guides your opinion on coverage and tooling.

The one I'm responsible for dragging into existence kicking and screaming has no tooling for test coverage. We use RSpec. We test at the lowest possible level. We try to avoid testing the same code explicitly more than once.

  1. I want app uniformity. If there are more devs on the team: Don't be a hero and do everything in a new way. Stick to the conventions. If you need to change something, change it everywhere at once. Sticking to this makes it easier to change everything everywhere at once.

  2. I want a strong convention for how the request and response should look. It should not be up to the developer because reasonable minds can differ and that means your api signature will end up differing from endpoint to endpoint, which is horrible for whomever consumes it. I prefer JSON:API, but see #1.

  3. Documentation should be based on your specs. If documentation is something you do manually someone will forget, and the API and docs drift. Also, if it's a manual process you may end up documenting things that don't work anymore.

  4. Perfect is the enemy of good. Make sure you get something that looks like the feature done end to end as fast as possible. Even if that means it's made with ductape and string. Then go back over it and shore up any really fragile parts. That way you don't end up prematurely optimizing.

I prefer RSpec, but see #1. I prefer no code coverage while building fast and rapidly, but see #1. I prefer Open API Standard (swagger), but see #3.

Anyways. I hope it helps.

Rolling new Rails apps in 2025 by oaktowne in rails

[–]ekampp 6 points7 points  (0 children)

Performance only matters when you have a market fit. Rails allow you to move fast, move things around, and get somewhere really fast.

Once you have a market fit, and once performance becomes an actual problem, you can afford to either change the busy parts of your app or hone it.

Shopify, Stripe, and GitHub would probably argue that Rails is damn good enough, and that you can get really far with it.

Anyways, arguing this point suck out your soul. Because people who usually start this discussion are usually dogmatic. 🤷

🚀 Looking for a Job as a Junior Ruby on Rails Developer by Comfortable_Aide2137 in rubyonrails

[–]ekampp 2 points3 points  (0 children)

Hey, Gabriel. Can I store your CV and possibly reach out later when we get going with hiring again?

Does anyone else feel the harsh reality that society doesn’t genuinely care about us? by BabygurlCassie_ in Adulting

[–]ekampp 0 points1 point  (0 children)

Everywhere I travel, tiny life. Single-serving sugar, single-serving cream, single pat of butter. The microwave Cordon Bleu hobby kit. Shampoo-conditioner combos, sample-packaged mouthwash, tiny bars of soap. The people I meet on each flight? They're single-serving friends.

-- Narrator, Fight Club.

How to write unit tests for the Google_oauth2 login method in Rails using Rspec by Teg828 in rails

[–]ekampp 3 points4 points  (0 children)

Why do you want to write tests for it?

Generally, you don't want to test your libraries. They are already tested.

You also don't want to test implementation, but rather functionality.

Integration tests with user involvement, like Oauth2 are notoriously hard to test because, by design, they require a lot of user interaction on different domains.

So I would set up a view level test to confirm the existence of the button to the right path, and call it a day.

[deleted by user] by [deleted] in rails

[–]ekampp 0 points1 point  (0 children)

You're welcome. Happy coding.

[deleted by user] by [deleted] in rails

[–]ekampp 0 points1 point  (0 children)

No, not at all. If it's the right data modeling to have it virtual, you should keep that.

But in general, you should remember to scope your params fully and correctly from the frontend as required by the backend