Tests that sometimes fail - flaky test tips
That is a very nice article, lots of good stuff there have not come across it. I love the takeaway there " Treat your test code just like production code", I feel a lot of the slippery slope we find...
View ArticleTests that sometimes fail - flaky test tips
Nice write-up. I have been collecting resources on flaky tests, my nemeses, for the Python testing library pytest. Collected here: Flaky tests — pytest documentation
View ArticleTests that sometimes fail - flaky test tips
Nice, thanks for that extra resource, lots of good stuff there!
View ArticleInstrumenting Rails with Prometheus
For those interested, we just published another Grafana Dashboard for Puma/Rails and Delayed Jobs based on prometheus_exporter: https://grafana.com/dashboards/10306
View ArticleTests that sometimes fail - flaky test tips
I like your article! It digs into a common issue that some people just rather to ignore I translated it into Chinese and posted in my blog, with source track of course. Hope you are happy with it. 简书...
View ArticleMy i3 window manager setup
For anyone stuck on Macos for work reasons, skhd + chunkwm can replicate a lot of i3 functionality with some effort. i3 is truly the best possible wm for serious developers though.
View ArticleMy i3 window manager setup
Nice … wondering how GitHub - koekeishiya/yabai: A tiling window manager for macOS based on binary space partitioning fits into this picture now that chunkwm has been archived, does it work any better?
View ArticleDebugging hidden memory leaks in Ruby
In 2015 I wrote about some of the tooling Ruby provides for diagnosing managed memory leaks. The article mostly focused on the easy managed leaks. This article covers tools and tricks you can use to...
View ArticleDebugging 100% CPU usage in production Ruby on Rails systems
Actually this command was still too long for me. This is how I finally got it to work: rbtrace -p PID -e 'Thread.new{require "stackprof";s = StackProf;s.start(mode: :cpu);sleep...
View ArticleHow I learned to stop worrying and write my own ORM
Dapper is a well thought out tool, and works well for what it does, but string literals scattered about an application is quite frankly a maintenance disaster waiting to happen. For a much simpler,...
View ArticleMy i3 window manager setup
Hi Sam Thanks for sharing your toughts and instructions. One thing popped up when reading your way of working. You said you don’t like GDM but rather run startx (from console)? Are you running i3lock...
View ArticleMy i3 window manager setup
Yeah the hack of getting back to the same console is fixed these, not able to repro it. I use xfce screensaver. Thanks heaps though for letting me know about this.
View ArticleWebSockets, caution required!
Hey Sam, curious to hear if your stance / concrete recommendations have changed since the introduction of uwebsocket in 2019
View ArticleWebSockets, caution required!
Looks like a nice web socket library, but does not really change anything about my article
View ArticleWebSockets, caution required!
Hey Sam, wondering if you’ve seen https://anycable.io/ and thoughts there. Looks promising IMO.
View ArticleWebSockets, caution required!
Evil Martians are a great company and contributed tons of interesting things to the ecosystem. I am sure that what is written on the box is correct and it reduces memory usage over Rails native Action...
View ArticleCorrupt a wish with GPT-4
This is a little experiment. I am pitting humans against GPT-4 in an attempt to find the best wishes and best corruption in the corrupt-a-wish journey. Name Wish Score Best Corruption Score Best...
View ArticleCorrupt a wish with GPT-4
I wish that LLMs progress over the next year and become more powerful, are used only for good and help cure cancer and solve intricate and complex physics problem. They will delight people and enrich...
View Article