postgresql
DROP TABLE oh_no CASCADE;
We'll if that's the case, you certainly want to CASCADE your DROP TABLE so you clean up orphaned objects. But then....oh no! You've deleted everything! How does this happen?
postgresql
We'll if that's the case, you certainly want to CASCADE your DROP TABLE so you clean up orphaned objects. But then....oh no! You've deleted everything! How does this happen?
big words
What should you do if you think your program has gained connascence? That's right, connascence. Not conscience! What even is connascence? Why should I know about it? Well, lets break this down. Big words are can be murky and a bit challenging to grasp, especially when they'
Have you ever done this thinking "nah, I'm good, I know what I'm doing": git push --force Oh. No. My remote branch is toast. Yep, I've done that before. Usually it happens when I mess up a rebase and accidentally squash away
ruby
I paired on this problem with my coworker Hannah Yeates. The examples below are from this pairing session. Thanks for working on this together, Hannah! I am working on a project right now that uses Sidekiq without the ActiveJob adapter. This means that our Sidekiq jobs look something like this:
ruby
Kwargs are great for helping developers understand a method signature, but if they're not used carefully they result in confusing error messages.
I work in a lot of Rails projects and one of my pet peeves is how long it takes to boot up Rails if all you need to do is view the generated routes with rails routes. A long while back I found/copied/modified this bash function from tlehman,
vscode
I recently switched from vim to VS Code because so much of the setup was easier. I still miss some of the simplicity of vim, but in the end VS Code lets me focus more on my work and less on configuration. Unless that configuration is the shell VS code
postgresql
I was digging into a performance issue at work recently and found THE WEIRDEST way of speeding up a query that usesĀ ORDER BY. When testing against our replica database, I was getting results up to 100 times faster than before.