Dan Watt

1.3K posts

Dan Watt banner
Dan Watt

Dan Watt

@danwattDev

Christian (the love your neighbor kind), Husband to an amazing woman, Father, Senior Software Engineer, Photographer

Fort Worth, TX Katılım Nisan 2009
179 Takip Edilen284 Takipçiler
Dan Watt
Dan Watt@danwattDev·
I'm not on here much anymore. Several friends have left. Those who are still here - are you going anywhere? Are you preserving your tweets for posterity, or deleting everything?
English
0
0
1
109
Dan Watt
Dan Watt@danwattDev·
@PriceAvocado One thing I heard a few times while working for that "finance guru" in Nashville was you could instead give of your time instead of cash.
English
0
0
1
50
Dan Watt
Dan Watt@danwattDev·
@breese524 @amacarthur Also, wasn't it the 2015 models that had bad swelling issues? My personal MBP is a 2015, bought used from my 2021 employer for $50. It's battery had been replaced. The only issue I have now is that it doesn't get new MacOS updates (though there are ways around that)
English
1
0
0
43
Brian Reese
Brian Reese@breese524·
I meant the same year as @amacarthur. 2015-2023 is a pretty good run for the battery. Had Apple chosen to not glue the battery in, I’d have considered replacing it. However, given the age of the laptop I opted to purchase something newer.
Joshua@CreeCoder

@breese524 @amacarthur That’s surprising. Did you find out why it died so quick.

English
1
0
1
132
Dan Watt
Dan Watt@danwattDev·
@JPhilipHunt I know, and now that I am reading it, it doesnt make sense, unless my parsing of c# is off. addr << 1 - left shift by one, the lowest bit is now 0 and those bits with 0x1ff then shift right by one Why not just do `addr and 0xff`? That would have the same effect
English
0
0
0
129
Dan Watt
Dan Watt@danwattDev·
@JPhilipHunt Interestingly enough, one problem I had been encountering was solved in C#: #L54-L61" target="_blank" rel="nofollow noopener">github.com/TASEmulators/B…
English
1
0
1
128
Phil Hunt
Phil Hunt@PHuntTN·
@danwattDev Or switch to C# which has unsigned integers and goto for the rare times you need it. 😜
English
2
0
0
25
Dan Watt
Dan Watt@danwattDev·
@JPhilipHunt Also doesnt help that Kotin's unsigned primitives are still experimental, and 0x12u is a UInt not a UByte.
Dan Watt tweet media
English
1
0
1
80
Dan Watt
Dan Watt@danwattDev·
@JPhilipHunt And, I know what this code is doing. Its effectively a function call, without messing with the stack. But when you have an actual function (with a CALL command) that internally has 8+ relative jumps if register A == X, unwinding it all into a language w/o GOTO is a mess.
English
1
0
1
62
Dan Watt
Dan Watt@danwattDev·
@amyfritz @sheilagregoire Ouch. Ramsey's audience might benefit from Sheila's topics, her podcasts on lack of scholarship in books or the evangelical industrial complex seem inconsistent with this. Only time I've heard Emerson and Shaunti in person were at devos at Ramsey. Company gave us copies of L&R
English
0
0
6
2.4K
Alex MacArthur
Alex MacArthur@amacarthur·
Noteworthy day. - It’s my birthday (born on the same day of the week too). - It’s my @RamseySolutions-versary. - You now have to address me as *senior* software engineer. Feeling grateful!
English
11
0
23
1.1K
Dan Watt
Dan Watt@danwattDev·
@JohnWSloan 200 { "status" : 403, "message" : "..." }
English
0
0
1
25
John Sloan
John Sloan@JohnWSloan·
@VicVijayakumar How about a 200 when you’re missing an auth header? With a message letting you know your access was denied. I’m not sure how someone decides that’s a good idea, but we ran into it.
English
1
0
0
83
Vic 🌮
Vic 🌮@VicVijayakumar·
It doesn’t matter if your API uses restful verbs or not. It doesn’t matter if you return an empty array or null if you’re consistent. It doesn’t matter if you never use PUT or PATCH. But god have mercy on your soul if you return 200 with a not found message. I will find you.
English
114
219
2.4K
225.1K
Dan Watt
Dan Watt@danwattDev·
@bradlis7 The people who run the system need to understand what "alarm fatigue" is. One would think there would be a way to geo-fence the alerts to a certain mile radius.
English
0
0
2
9
Dan Watt
Dan Watt@danwattDev·
@bradlis7 Tarrant County resident here. Sorry about that, not that I had any power over it. We got 3 alerts last night between 11 and 6am. The 1st and 3rd were identical, and had something to do with someone in Harris (Houston). The 2nd one was an Amber alert from Beaumont.
English
0
0
1
53
Dan Watt
Dan Watt@danwattDev·
@matthill57 @jamescarr Similar. Acer EI342CKR 34" 1440k ultrawide, switching between my desktop and 2020 MBP. The MBP is plugged in via a Thunderbolt to HDMI adapter and works great. Only real complaint about this monitor is slow switching of inputs.
English
0
0
0
36
Matt
Matt@matthill57·
@jamescarr Fwiw my 34uws Acer is awesome with a mbp and air
English
1
0
0
38
Dan Watt
Dan Watt@danwattDev·
@kzeillmann This right here: #active-record-and-referential-integrity" target="_blank" rel="nofollow noopener">guides.rubyonrails.org/active_record_… "features such as ... [Foreign key] constraints ... are not heavily used." I was shocked when debugging a medium-sized database that had been maintained with AR that there were no FKs.
English
0
0
0
26
Kevin Zeillmann
Kevin Zeillmann@kzeillmann·
🔥 tech take: Ruby on Rails, while great for prototyping, implements and encourages dozens of anti-patterns that engineers eventually need to unlearn if they ever start working in another framework. If you're starting out, you'd be much better served by another framework
English
1
0
0
81
Christopher Coleman (@mellowfish@ruby.social)
Reminder that the non-disparagement issue is specifically around layoffs. If you quit or were fired for cause it doesn’t apply (yet, though hopefully soon)
English
1
0
0
92