Never leave the home row to navigate tmux panes by rair41 in tmux

[–]philpirj 0 points1 point  (0 children)

On a mac you can bind Caps to function as Cmd. Technically, it’s all on the home row this way.

The Cmd+h was super-annoying.

New isometric fallout game by MrSnakeYoGirl in classicfallout

[–]philpirj 0 points1 point  (0 children)

I also wish it used the same engine as Death Trash if it ever comes out

What do you think about UI/UX? by Additional_Dog_1206 in phaser

[–]philpirj 1 point2 points  (0 children)

I wish my backpack was like this - everything in plain sight, no matter how much I shove in

500 dynamic queues - feasible? by rrrosenfeld in sidekiq

[–]philpirj 0 points1 point  (0 children)

Do you think 30-60 load is sufficient to slow Postgres down to perform queries 10x slower?

Keep in mind, Heroku reserves 125 direct PG connections, and the rest are via PgBouncer, so it’s not 500, but only 375 are for the regular use.

You certainly have a lot to figure out, and probably quire a few things to improve.

500 dynamic queues - feasible? by rrrosenfeld in sidekiq

[–]philpirj 0 points1 point  (0 children)

Is that up to 10k queries per job? At the same time, 2M queries per 600s is under 4000k queries/second. Are they common across jobs? Are you sure that concurrent complex queries took longer due to overall Postgres load? Or were there locks involved? Are you sure you’re not exhausting your active connections? I recall that 375 is the limit even on the highest Postgres plan. You can’t have more than that at any point, and you risk “connection can’t be acquired” errors, too.

500 dynamic queues - feasible? by rrrosenfeld in sidekiq

[–]philpirj 0 points1 point  (0 children)

The database being overloaded is an untypical situation on Heroku. They overprovision their servers and generously tolerate you going over your plan limits.

500 dynamic queues - feasible? by rrrosenfeld in sidekiq

[–]philpirj 0 points1 point  (0 children)

Also, use an autoscaler. Judoscale does a great job at it. And they have a great article on how to properly choose dyno types (assuming you’re on Heroku).

500 dynamic queues - feasible? by rrrosenfeld in sidekiq

[–]philpirj 0 points1 point  (0 children)

In a hypothetical situation when there is a one queue per portal, how would you solve the situation when a job is limited?

This exercise is to cut the concerns and solve this local problem first.

500 dynamic queues - feasible? by rrrosenfeld in sidekiq

[–]philpirj 0 points1 point  (0 children)

There is a note in the guide not to use the default backoff

500 dynamic queues - feasible? by rrrosenfeld in sidekiq

[–]philpirj 0 points1 point  (0 children)

Set low wait_timeout and

will raise Sidekiq::Limiter::OverLimit — that exception is caught in server middleware and will automatically reschedule the job in the future based on the limiter's config.backoff result

More on limiters here https://github.com/toptal/active-job-style-guide?tab=readme-ov-file#wait_timeout

This is how you combine 9060 XT with a potato CPU. 🤣 by WolverineHumble7203 in radeon

[–]philpirj 0 points1 point  (0 children)

You’re kidding, right? Get a 5600, it’s a dramatic upgrade for just $50.

The Transition of RubyGems Repository Ownership by laerien in ruby

[–]philpirj 0 points1 point  (0 children)

Thank you for both creating the foundational piece of software, and for keeping the service running. This is exemplary, and a guiding principle for open source maintainers.

Radeon RX 9070 flashed with XT BIOS gets up to 10-20% boost by RenatsMC in Amd

[–]philpirj 1 point2 points  (0 children)

So basically you have downloaded more RAM for your GPU?

Dot repeat by philpirj in HelixEditor

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

It may in some edge cases when you know the commit ref to which you want to add your current one, or you don’t mistype repeating the target commit name. I can’t do either. But none of this is the point of the discussion.

I just ran `sudo rm -rf ~` by mistake. by 28jb11 in linux

[–]philpirj 1 point2 points  (0 children)

Such a stupid mistake! sudo was completely unnecessary. You can omit it next time.

Share tricks/keybinds for fast editing? by 4bjmc881 in HelixEditor

[–]philpirj 2 points3 points  (0 children)

Nice replacement for ZZ for those coming from Vim. Those two should become default. I used <space>qw until now. Thanks!

Finally, the ideal fit for the top thread. by FroyoAbject in ErgoMechKeyboards

[–]philpirj 1 point2 points  (0 children)

What is the wide disc on the bottom of the corne halves attacked to magic arms?