matt boldt

1.2K posts

matt boldt banner
matt boldt

matt boldt

@atmattb

ruby, javascript, beats, & synth patches. generally anxious. he/him/y'all.

Texas Katılım Kasım 2011
1K Takip Edilen957 Takipçiler
matt boldt retweetledi
John Attridge
John Attridge@John_Attridge·
(Using my highly developed powers of pattern recognition) I have made the same mistake again
English
9
2.2K
12.4K
243.7K
matt boldt
matt boldt@atmattb·
@JasonSwett Oh and nested associations that can unexpectedly trigger creation of more records with the default build strategy, leading to invalid factories or hard to diagnose side effects.
English
0
0
2
16
matt boldt
matt boldt@atmattb·
@JasonSwett Choosing build/build_stubbed/create, handling deeply nested associations, reusable but flexible traits & sub-factories, keeping factories valid at model level, performance monitoring, global persisted state, testing things like rake tasks where you can’t pass a factory as a dep.
English
1
0
1
139
Jason Swett
Jason Swett@JasonSwett·
In a book about Rails testing, what would you expect or hope to find in a chapter about Factory Bot?
English
11
0
9
2.6K
matt boldt
matt boldt@atmattb·
one time in work slack someone replied to a thread saying “I watched a documentary about this recently!” and someone asked “was it last night’s @iamjohnoliver episode?” to which they enthusiastically replied “yeah!” and I think about this a lot.
English
0
0
1
131
matt boldt
matt boldt@atmattb·
in case you’re wondering what living in texas is like
matt boldt tweet media
English
1
0
1
280
Jason Swett
Jason Swett@JasonSwett·
One great big festering neon distraction I have a suggestion to keep you all occupied
Jason Swett tweet media
English
2
0
7
1.6K
matt boldt
matt boldt@atmattb·
@nateberkopec would also be a good alternative to validation contexts, as well as provide a smaller blast radius for callbacks at the repo level
English
0
0
2
908
Nate Berkopec
Nate Berkopec@nateberkopec·
The biggest thing Rails is missing is a repository object. Trying to use ActiveRecord::Relation doesn't work, except in trivial examples. A repository object pattern would make N+1s easier to solve, and would make data loading much more intuitive and yet still extensible.
English
16
5
88
24.3K
matt boldt
matt boldt@atmattb·
obvs coming from ruby there's gonna be a ton of differences, but like, needing to dig thru stackoverflow threads to figure out the "right" way to create a string seems wrong
English
1
0
0
166
matt boldt
matt boldt@atmattb·
attempting to learn rust. there appear to be 4 different ways to create an owned string -- it's up to your preference 🤔
English
1
0
1
248
matt boldt
matt boldt@atmattb·
excited to announce that today was the first time I took a photo of my computer screen and sent it to IT
English
1
0
1
282
matt boldt
matt boldt@atmattb·
@gordysc ruby-focused is great. I'd just like a holistic view of application development (with ruby/rails as the vehicle) without being *too* tied down to a specific framework's features. If that makes sense.
English
1
0
0
19
Luke Gordon
Luke Gordon@gordysc·
@atmattb I think there are some concepts you could certainly apply elsewhere, but it does feel very Rails/Ruby focused IMO. What tech stack were you thinking of?
English
1
0
0
30
matt boldt
matt boldt@atmattb·
@JasonSwett I feel like abstractions are correlated with, but not exactly caused by, de-duplication.
English
1
0
1
123
Jason Swett
Jason Swett@JasonSwett·
Based on a lot of reading I've come to understand that many programmers hold the belief of: "De-duplicated code = an abstraction" "Duplicated code = not an abstraction" So weird. Why in their minds does the involvement of duplication make the difference?
English
1
0
8
1.6K
matt boldt
matt boldt@atmattb·
@thedayisntgray Agreed. I suspect the name fit better when they started as a non-profit.
English
0
0
0
52
matt boldt
matt boldt@atmattb·
OR of course you could be solving frustrating problems to make up for a flawed environment or process. I feel like there's a fine line between these two, tho.
English
0
0
0
173
matt boldt
matt boldt@atmattb·
starting to realize that the some of the more frustrating and arduous problems you solve become the most valued and appreciated in other words, if you're feeling annoyed, you may be doing the work you're uniquely capable of doing for others
English
2
0
1
325
matt boldt
matt boldt@atmattb·
@hopsoft that's how we'll know if we're talking to a human or a bot on the internet: humans on the internet never admit this
English
0
0
1
25
Nate Hopkins
Nate Hopkins@hopsoft·
ChatGPT just told me, "I stand corrected." after I pointed out that its answer to a question was garbage. 😆
English
1
0
5
806