Do you (sometimes) use print() or message() for debugging your code? Next time you can use {icecream} instead: https://turtletopia.github.io/2022/07/28/ice-cream-for-r-programmers/ #rstats #icecream #debug
Ice Cream for R Programmers - Turtletopia: a blog about programming in R

Icecream is a tool which may serve as a more sophisticated replacement of using print while debugging.

I just dealt with a nasty "Variable Shadowing" bug that took me 3 days to debug because I just wasn't able to see the forest from the tree.

#plsql #sql #debug #programming #coding #webdev #pain #5LinesToUpdate #3DaysToFix

Oh that was a #debug win anyway - I hadn't given the games enough privileges to reset themselves.

Mind you, who needs a reset game, they are boring!

It would be nice if the Rust derived Debug trait had a way to ignore fields, rather than having to implement it manually and skip the field thats causing issues.

#rust #derive #debug #skip

Search in Android Thunderbird app does not work unless very recent even if I click search on server button.

I setup dovecot debug in /etc/dovecot/dovecot.conf mail_debug = yes and restarted dovecot and in RainLoop I get prefetch in cat /var/log/mail.log | grep Debug but in Android Thunderbird app no prefetch.

Workaround is to use RainLoop or some other Web client or Windows Thunderbird on desktop etc to do search till they fix this bug since they migrated from K-9 to Thunderbird.

After an hour I looked back and found search results from searching on server in Android Thundbird app returned.

So if person waits a few minutes results of searching on server in Android Thunderbird app will return. It just takes time as the search is processed and results are returned.

#thunderbird #app #android #search #noresults #dovecot #debug #rainloop #bug #k9 #imap

My new css one-liner debugging rule : html[debug] { &, *, ::before, ::after { outline: 1px solid hsl(calc(360deg * sibling-index() / sibling-count()), 100%, 50%); } }

#css #webdev #debug

Cursor's Debug Mode Is Arguably Its Best Feature

Back in December, Cursor announced "Debug Mode". The way it works is fairly straightforward: 1. User says "I want to fix this bug!!!" 2. Cursor prompts the model to come up with several hypothesis for why the bug exists 3. Cursor prompts the model to add a bunch of instrumentation

David Gomes
3.2 — The debugging process – Learn C++