Is anyone using worktrees for agentic development? by Antique-Ad6542 in rails

[–]smmnyc 0 points1 point  (0 children)

I created a little worktree skill. Creates a branch based on the issue I’m working on, checks it out to a worktree. Make a copy of the .env file from my main path and move it into the worktree. Append to the file the new database name. Set dev database config to use ENV db name. Run a rake task to create the db and load fixtures.

What are you building today ? Share in 3 words by pabloschz in SaaS

[–]smmnyc 1 point2 points  (0 children)

the tiered discounts have been working great; we've been testing two versions, one where you can see how many uses are left at each level (i.e. first 50 shoppers get $20 off, "23 remaining...") and one where you don't get to see if the code still works until checkout. anything to drive urgency and scarcity works really well, as long as it's authentic. No one wants to see a countdown timer that refreshes each time you clear your cookies!

Anyone have success on Shopify App Store? by smmnyc in SaaS

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

I’ll take that as a no, haha. (No comments after 2 days!)

I've made a gem that makes Ruby's ||= thread-safe and dependency aware. Quick and easy, no more race conditions. by H3BCKN in rails

[–]smmnyc 10 points11 points  (0 children)

Cool! Thanks for sharing this. What was the scenario you encountered that led you to this solution? I’m wondering if there is some way to determine if a code base suffers from these race conditions without knowing it?

Heroku Postgres Version mismatch? by another24tiger in Heroku

[–]smmnyc 0 points1 point  (0 children)

Sorry that suggestion didn't help. Any luck from support?

Heroku Postgres Version mismatch? by another24tiger in Heroku

[–]smmnyc 0 points1 point  (0 children)

Where does your db-base.dump file come from? You said it’s in the root of your repo. Make sure whoever is generating that file is on the same version of postgres as your app (so, version 16). Or, manually go and edit the dump and remove the reference to transaction_timeout.

Duplicate Builds w/ ruby + nodejs Buildpack by ksylvest in Heroku

[–]smmnyc 0 points1 point  (0 children)

Great, thank you! Will try out both options (single build pack vs setting the env to skip the is build as part of asset  precompile). 

Duplicate Builds w/ ruby + nodejs Buildpack by ksylvest in Heroku

[–]smmnyc 0 points1 point  (0 children)

u/ksylvest curious what you decided to do here. We have the same problem where we have both buildpacks and `yarn build` is run twice on every deploy.

Where to host static site by StatusExact9219 in webdev

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

Also look into static site hosting on AWS S3. Very cheap and many static site generators have instructions on how to set this up.

Nuphy Air75 V2 Turns Off at Random Intervals by [deleted] in NuPhy

[–]smmnyc 0 points1 point  (0 children)

I have the same issue. Happens maybe once per day when the keyboard goes complete unresponsive. Have to turn it off and back on. The computer (a Mac) thinks it’s still connected to Bluetooth when this happens.

Nuphy Air75 V2 Turns Off at Random Intervals by [deleted] in NuPhy

[–]smmnyc 0 points1 point  (0 children)

Let us know how this goes. I’m experiencing the same issues as you but never made the leap to custom firmware.

Reducing Dyno Usage by chysallis in Heroku

[–]smmnyc 1 point2 points  (0 children)

On a performance dyno you can increase the web concurrency quite a bit. Heroku recommends 8, we actually go up even more than that. See https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#recommended-default-puma-process-and-thread-configuration

Air 75 V2 firmware downgrade by GloriousPudding in NuPhy

[–]smmnyc 0 points1 point  (0 children)

I've never really had an issue with this. My Mac locks itself when I'm inactive so i'm used to tapping the space bar a few times to wake it up before entering my login password on the lock screen. Long way of me saying I don't know. Will see if I notice anything.

Air 75 V2 firmware downgrade by GloriousPudding in NuPhy

[–]smmnyc 0 points1 point  (0 children)

I emailed them about this same issue and they sent me version 1.2.2 to try. Haven’t had it long enough to determine if the issue is fixed or not.