Piotr Ch

764 posts

Piotr Ch

Piotr Ch

@p_ch

I apologize for the confusion.

Warsaw, Poland Katılım Şubat 2008
134 Takip Edilen1.3K Takipçiler
Piotr Ch
Piotr Ch@p_ch·
Last week I needed to resize a @digitalocean k8s cluster and it said there were no resources available in that region. Now, Hetzner looks similar. Server/CPU/RAM shortage?
Piotr Ch tweet media
English
1
0
0
65
Lucas Mendelowski
Lucas Mendelowski@lmendelowski·
@p_ch I recently switched from Linux to Windows with WSL. It's my personal machine that I use for everything outside of work and it's not bad (especially with Power toys). The only thing I miss are super key based shortcuts.
English
1
0
0
16
Piotr Ch
Piotr Ch@p_ch·
@lmendelowski every once in a while I'll fire up the LInux (Fedora) machine, but just too many things about it suck for daily use (wrote about it in my last blog post) macOS just works, not perfect. but Linux is death by a thousand cuts
English
1
0
0
13
Lucas Mendelowski
Lucas Mendelowski@lmendelowski·
@p_ch Cool project! I guess the Linux journey didn't last long 😉. Or do you still use it?
English
1
0
0
10
Klaas
Klaas@forgebitz·
@peer_rich i still dont really understand what they do
English
4
0
6
1.8K
Piotr Ch
Piotr Ch@p_ch·
TIL about ssh ControlMaster: reuse a single ssh connection across different tabs/panes ControlMaster auto ControlPath ~/.ssh/cm-%r@%h:%p ControlPersist 10m
English
0
0
1
176
Piotr Ch
Piotr Ch@p_ch·
No idea how people pick tech stacks these days. I have a new web project planned at work, wanted to write it in a typed language (TS or Go), but there's just so many choices to make that you don't have to think about with Rails... express + trpc + pgtyped looks cool, though
English
0
0
0
148
Piotr Ch
Piotr Ch@p_ch·
As @nntaleb says, the world is a large theater with a small exit door.
Aakash Gupta@aakashgupta

Three ships were attacked in the Strait of Hormuz today. Iran is planting mines. Shipping traffic is down 95%. And this meme’s “solution” is somehow only 10x more ridiculous than the actual backup plan. 20 million barrels of oil per day normally transit the strait. A standard oil tanker truck carries 190 barrels. To replace the strait with trucks across Oman, you’d need 105,000 truckloads per day. One truck merging onto a desert highway every 1.6 seconds, around the clock. The entire United States operates roughly 13,000 crude oil tanker trucks. This plan would need four times the American fleet running a single route through Oman without stopping. Now here’s the real plan. Saudi Arabia’s East-West pipeline and the UAE’s Fujairah pipeline have a combined spare capacity of 3.5 to 5.5 million barrels per day. The strait handles 20 million. Five Gulf states, including Iraq, Kuwait, and Qatar, have zero bypass infrastructure. Their entire export revenue runs through a 21-mile gap between Iran and Oman. Iraq’s southern oil fields have dropped 70% since February 28, from 4.3 million barrels per day to 1.3 million. Kuwait declared force majeure. Qatar stopped gas production entirely. The IEA just announced the largest reserve release in history, 400 million barrels. That buys roughly 96 hours. Brent closed at $92 today. Iran’s IRGC said this morning they won’t allow “a single liter” through. The meme has 7 million views because everyone looking at $92 oil instinctively understands that 20% of global supply depending on one 21-mile chokepoint was always the real joke. The trucks are the punchline. The strait was the setup.

English
1
21
213
86K
Lucas Mendelowski
Lucas Mendelowski@lmendelowski·
Just released go-pty — a single-binary Foreman replacement that runs each process in its own PTY. This means you can attach to any running process and drop into binding.irb, byebug, or any REPL mid-session. ctrl+] to attach, ctrl+] to detach. Link below 👇
English
3
1
4
149
Piotr Ch
Piotr Ch@p_ch·
@lmendelowski Looks good, a bit too long (cap it around 30s). Use KeyCastr to show keystrokes, because it's not obvious what you're doing.
English
1
0
1
22
Piotr Ch
Piotr Ch@p_ch·
This @openclaw company bot has been a huge hit. Doing a lot of grunt support work, BI reports and investigations that were previously taking up a lot of time. Non-techies started shipping small fixes straight from Slack. This is the future.
Piotr Ch@p_ch

Give @openclaw access to: - GitHub - production database (read-only, restricted) - API services (twilio, stripe) now you have an actually useful company Slack assistant that can pull reports, answer questions based on real data and code ofc, be aware of the security risks etc

English
0
0
2
277
Piotr Ch
Piotr Ch@p_ch·
@juliknl a few milions piled up before I cleaned up thanks for the heads up on preserve_finished_jobs - I don't have that set...
English
1
0
0
22
Julik Tarkhanov
Julik Tarkhanov@juliknl·
@p_ch how many jobs do you have? also the `preserve_finished_jobs` has to be set to `true` for `clear_finished_jobs_after` to have any effect - which tripped me up!
English
1
0
0
23
Piotr Ch
Piotr Ch@p_ch·
it's probably a skill issue, but in my experience solid queue in Rails isn't very solid
English
1
0
1
234
Piotr Ch
Piotr Ch@p_ch·
@juliknl I have clear_finished_jobs_after set to 24, but the cleanup task couldn't keep up with deleting those jobs I've purged them manually and hope it'll fix it
English
1
0
0
23
Julik Tarkhanov
Julik Tarkhanov@juliknl·
@p_ch The cleanup config that works for us is preserve_finished_jobs: true clear_finished_jobs_after: <%= 12.hours.to_i %>
English
1
0
0
26
Piotr Ch
Piotr Ch@p_ch·
- no timeouts by default, so a job can run forever - workers randomly stop processing jobs - weird ordering behavior (3 available workers for the queue, but only 1 processes jobs) - processed jobs don't get cleaned up properly from db again, this is probably me messing up configuration, but before migrating to SQ (prev. sidekiq) I've never had those issues
English
1
0
0
44
Julik Tarkhanov
Julik Tarkhanov@juliknl·
@p_ch Has been mostly good for me the last months (use it on several apps). There are rough edges but workable. Specifics?
English
1
0
0
43
Piotr Ch
Piotr Ch@p_ch·
PixelPeeper can now detect AI-generated images based on metadata 👇
Piotr Ch tweet mediaPiotr Ch tweet media
English
0
0
2
112
Piotr Ch
Piotr Ch@p_ch·
It's difficult to introduce AI to legacy codebases, but it's super easy to vibe code replacements for expensive non-critical SaaS dependencies. And that's what many companies are doing now.
English
0
0
1
125