Bunglify
@Bunglify
Web development - Focus on Ruby / Sinatra / RubyOnRails / NodeJS
You might like
Developers with incomprehensible naming conventions are either at the early stages or end stages of their coding careers. #ProveMeWrong
Most people critically under-use & and | when working with Ruby Arrays. But I've also noticed that Rails frequently uses &= and |=, compound assignment operators, to make things even cleaner. Here's some examples from the implementations of touch and serializable_hash.
Unlearning is hell. When you're coding something "The Right Way" for a while, say a year or two, and then language conventions or specs change and you have to UnLearn your now-bad-habit and your fingers say ... 'No, muscle memory makes me do it X way' - sigh #ruby
Before marrying someone, you should first make them use a computer with slow internet connection, just to see who they really are.
The web isn’t just another software platform. It’s the greatest software platform the world has ever seen. No permissions, no masters, readable source code. Let’s protect the heritage, work in its service, and remind ourselves just what a marvel it all really is ❤️🙏
Actually, a lot of the projects you start /should/ fail. Long before you plough millions into them, only to end up being a super expensive (both in $ and stress) failure. Failing early is a /good thing/. If some don't fail, we're not trying anything new or testing our ideas.
`dup` vs `clone` in Ruby: Understanding The Differences - rubyguides.com/2018/11/dup-vs… (Worth revising if you want to copy objects properly and not be surprised by the result.)
rubyguides.com
Dup vs Clone in Ruby: Understanding The Differences
Did you know that you can copy an object in Ruby? Not only that, but there are two different methods to do this! These methods are: dup clone We will explore the differences in a moment, but first......
For you #Rails devs using @thoughtbot's Paperclip gem that was recently deprecated: Here's how you can upgrade to #ActiveStorage including how to handle files in #S3 storage! gorails.com/episodes/migra…
Wow, I didn't even realize. Nice tip!!!!
Ruby Tip: Did you know that you can pass a class to the grep method & filter all the objects by class? Example: things = [1, 2, 3, "a", "b", "c"] things.grep(Integer) # [1, 2, 3] This works because grep calls the === method (triple equals) on Integer to compare. #ruby
Cheers, @github & @letsencrypt, way to lead and not make excuses. I'm happy to be a patron of your services. 📣
Today, custom domains on GitHub Pages are gaining support for HTTPS via @letsencrypt. It's another step towards making the web more secure for everyone. blog.github.com/2018-05-01-git…
"Engineers are just as social as your average co-worker. We’re just very protective of our precious (and limited) attention span." This is one of the best posts I've read in a while. Definitely share this with your technical and non-tech colleagues 👌 dev.to/kttravers/how-…
Not really any surprises there.
Highlights from the 2018 Ruby on Rails Dev Community survey: - 49% use rubocop as their code quality tool - 58% use container tools - 85% use PostgreSQL - 45% of respondents have 7+ years experience in Rails dev.to/iriskatastic/t…
"I've been making apps for about 2 years, and in that time I never understood the community's obsession with unit testing... The answer revealed itself to me recently." { author: @ptrbrynt } dev.to/ptrbrynt/my-te…
How do you kill an asteroid? From nuclear weapons to gravity tow lines, science is here to save us from the apocalypse: bit.ly/2ImXuzs
Very proud of the SpaceX team! Can’t believe it’s been fifty Falcon 9 launches already. Just ten years ago, we couldn’t even reach orbit with little Falcon 1.
You guys catch this yesterday? Birth of a supernova.. captured in a stunning picture. livescience.com/61843-amateur-… #science
United States Trends
- 1. GeForce Season 4,126 posts
- 2. Comey 190K posts
- 3. Everton 146K posts
- 4. Mark Kelly 126K posts
- 5. St. John 8,714 posts
- 6. Amorim 62.4K posts
- 7. #sjubb N/A
- 8. Manchester United 84.6K posts
- 9. Iowa State 3,610 posts
- 10. Seton Hall 2,414 posts
- 11. UCMJ 18.8K posts
- 12. Opus 4.5 9,447 posts
- 13. 49ers 20.1K posts
- 14. Genesis Mission 2,593 posts
- 15. Dealing 30.9K posts
- 16. #LightningStrikes N/A
- 17. Pickford 11.4K posts
- 18. Benedict Arnold 4,174 posts
- 19. Hegseth 50.3K posts
- 20. Noesen N/A
Something went wrong.
Something went wrong.