If you haven't said a silent prayer of thanks to your appropriate deity for the goodness that is Mastodon, the clown show at Twitter should inspire you to do so:
https://www.theverge.com/2023/2/14/23600358/elon-musk-tweets-algorithm-changes-twitter
15.2.2023 12:29If you haven't said a silent prayer of thanks to your appropriate deity for the goodness that is Mastodon, the clown show at Twitter...ChatGPT may not always be right but it is a useful programming tool. The new ChatGPT Chrome Extension for Stack Overflow is damn interesting -- it writes an answer for you in Stack Overflow's context!
At least for Ruby and Rails, Stack Overflow can be as much as a decade out of date. ChatGPT may be able to get you a more current answer.
https://news.ycombinator.com/item?id=34715033
9.2.2023 11:27ChatGPT may not always be right but it is a useful programming tool. The new ChatGPT Chrome Extension for Stack Overflow is damn...I rewrote Cartazzi's access control stuff this morning and I ran every test individually like this:
bin/rails test test/controllers/projects_controller_test.rb:45
I always think of running tests one by one as sneaking up on them as if I was in a Scooby Doo mystery ...
https://tenor.com/view/creepin-scoobydoo-sneaking-cartoons-funny-gif-4256445
9.2.2023 08:48I rewrote Cartazzi's access control stuff this morning and I ran every test individually like this:bin/rails test...When you're really, really pessimistic and haven't had coffee yet, you write commit messages like this:
git commit -m "Actual adding of gemfiles in a way that might, perhaps, maybe, but possibly not work (oh and dynamic color changing)"
7.2.2023 11:53When you're really, really pessimistic and haven't had coffee yet, you write commit messages like this:git commit -m "Actual...If you work in high tech and your spouse has never understood your passion and you just can't get them to understand, I strongly recommend you make the listen to the Graphing Calculator Story: https://corecursive.com/shipping-graphing-calculator/ #software @corecursive
6.2.2023 10:20If you work in high tech and your spouse has never understood your passion and you just can't get them to understand, I strongly...If you work in high tech and your spouse has never understood your passion and you just can't get them to understand, I strongly recommend you make the listen to the Graphing Calculator Story: https://corecursive.com/shipping-graphing-calculator/ #software
6.2.2023 10:19If you work in high tech and your spouse has never understood your passion and you just can't get them to understand, I strongly...A shell script to move the guts of a rails app (views / models / controllers / tests) from one Rails app to another
https://gist.github.com/fuzzygroup/aa03413a32010220df2168a7f4a09117
2.2.2023 12:07A shell script to move the guts of a rails app (views / models / controllers / tests) from one Rails app to...ConFreaks released the 2022 Rails Conf videos to Youtube! https://www.youtube.com/watch?v=qqTFm2ZtRHg&list=PLE7tQUdRKcyb2Mjtd1RBjeP3Jt9RukU7G
17.1.2023 12:20ConFreaks released the 2022 Rails Conf videos to Youtube!...A quick shoutout to Chris Oliver of GoRails for outstanding support. The other night I needed Ruby 3.2 support on HatchBox Classic and in pretty close to real time, Chris took care of this. Thank you Chris!
* https://www.gorails.com/
* https://www.hatchboxapp.com/
When you are rapid prototyping schema evolutions and you have foreign key relationships, sometimes db:migrate:down VERSION= just sucks so:
ActiveRecord::Base.connection.execute("DROP TABLE dudes CASCADE")
and then:
ActiveRecord::Base.connection.execute("DELETE FROM schema_migrations WHERE version='20230104145215'")
is just easier!
5.1.2023 10:28When you are rapid prototyping schema evolutions and you have foreign key relationships, sometimes db:migrate:down VERSION= just sucks...While I haven't read this fully yet, I know the author online and this looks to be a great book on Kubernetes Debugging: https://www.amazon.com/dp/B0BRKBP3BG/ #kubernetes
4.1.2023 14:31While I haven't read this fully yet, I know the author online and this looks to be a great book on Kubernetes Debugging:...Here's a thought -- given that every rails database tends to be named:
THING_development
THING_test
THING_production
Why do we define these separately on 3 different lines in database.yml? Why don't we define a database prefix? Isn't that drier? #rails
4.1.2023 13:49Here's a thought -- given that every rails database tends to be named:THING_developmentTHING_testTHING_productionWhy do we define these...My good friend Nick Janetakis wrote up an awesome guide to Docker and Rails:
https://nickjanetakis.com/blog/a-guide-for-running-rails-in-docker
and a corresponding video:
https://nickjanetakis.com/blog/a-guide-for-running-rails-in-docker#demo-video
3.1.2023 18:35My good friend Nick Janetakis wrote up an awesome guide to Docker and...A blog post of mine about the PaperTrail gem and ActiveAdmin got published over on Glass Ivy. My content normally exists just on my blog so this is novel for me:
https://glassivy.com/papertrail-gem-ruby-on-rails/
#rails #PaperTrail #ActiveAdmin
3.1.2023 14:19A blog post of mine about the PaperTrail gem and ActiveAdmin got published over on Glass Ivy. My content normally exists just on my blog so...Ah the bittersweet feeling of a project rolling to its end and you're noticing that your github permissions are being revoked bit by bit. *sniff*.
30.12.2022 16:44Ah the bittersweet feeling of a project rolling to its end and you're noticing that your github permissions are being revoked bit by...Recipes I tried:
* https://fuzzyblog.io/recipes/main_course/2022/04/07/gluten-free-cashew-chicken.html
* https://www.foodandwine.com/recipes/salmon-burgers-with-herb-aioli
* https://www.foodnetwork.com/recipes/kung-pao-shrimp-7112947
* https://www.seriouseats.com/breakfast-burrito-with-scrambled-egg-chorizo-and-refried-beans
*
And, honestly, I can’t believe that @jason devoted 35 minutes of This Week in Startups air time to a product that works this poorly. Yes her experience was interesting and I learned some things about Indian startup world but did anyone at Twist try the product?
29.12.2022 11:48And, honestly, I can’t believe that @jason devoted 35 minutes of This Week in Startups air time to a product that works this poorly. Yes...In an age where Notion can use AI to generate a startup and write a memo or Dall-E can generate Cartazzi’s Dinosaur on a Train logo with just a few words, it feels like EatKind should be rewriting the recipe intelligently. Overall impression: I am incredibly underwhelmed.
29.12.2022 11:48In an age where Notion can use AI to generate a startup and write a memo or Dall-E can generate Cartazzi’s Dinosaur on a Train logo with...The recipe was “veganized” only in the sense that it showed me there are vegan shrimp. It did not give me a substitute for the chicken stock (hey - chicken stock isn’t vegan). It also didn’t help me with how to cook the vegan shrimp. Result: https://eatkind.co/?q=https:%2F%2Fwww.foodnetwork.com%2Frecipes%2Fkung-pao-shrimp-7112947
29.12.2022 11:48The recipe was “veganized” only in the sense that it showed me there are vegan shrimp. It did not give me a substitute for the chicken...From this week in startups on 12/15, I found http://eatkind.co which purports to “veganize” recipes. I tried four recipes (below). And the result was disappointing at best. https://www.youtube.com/watch?v=Vx1LYgJTghc
29.12.2022 11:48From this week in startups on 12/15, I found http://eatkind.co which purports to “veganize” recipes. I tried four recipes (below). And...