Dan Watt
1.3K posts

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

@juju2143 @Minty_Root Mystery solved. Figured it out last year (just got around to writing about it)
danwatt.org/2024/10/decodi…
TLDR: They are using an algorithm identical to en.wikipedia.org/wiki/Re-Pair on pairs of integer tokens, but pre-dated that named algo by 6 years.
English

@Minty_Root If only I was good at Game Boy reverse engineering. Oh well.
English

me: trying to find out how big the Bible is in terms of computer storage because someone asked on Discord
me, literally 30 seconds later:
Julie Existe@juju2143
There's a theory where Jesus had a twin brother who was crucifixed in his place, fled to Japan where he changed his name to Torai Tora Daitenku, became a rice farmer, married a 20 yo woman named Miyuko, raised three daughters near Shingō and eventually died at the age of 106
English

@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

@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

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

@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

@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

@danwattDev Or switch to C# which has unsigned integers and goto for the rare times you need it. 😜
English

@JPhilipHunt Or I could use the last language I used that had them php.net/manual/en/cont…
English

@JPhilipHunt Also doesnt help that Kotin's unsigned primitives are still experimental, and 0x12u is a UInt not a UByte.

English

@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

@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

@amacarthur @RamseySolutions Congrats. This is long overdue for one of the smartest developers I have worked with.
English

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

@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

@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

@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

@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

@JohnWSloan @mellowfish The full memo (apps.nlrb.gov/link/document.…) does not contain the words "fired" or "layoff". It specifically references separation agreements, including ones proffered (offered) but not signed.
Separation agreements like these from people who were fired. danwatt.org/2022/09/compar…
English

@mellowfish I just read this and the memo they link to. I don’t see that distinction in there.
nlrb.gov/news-outreach/…
English

@amyfritz @kristenrmoser I think the word you might be looking for is “repent”.
English

I love working at a place like this.
msn.com/en-us/money/co…
Tennessee, USA 🇺🇸 English







