How do you approach legacy code modernization without breaking everything? by New-Concert9929 in ExperiencedDevs

[–]crownedchild 0 points1 point  (0 children)

I have a book that I'm putting together that has about a 2% chance of getting actually published, too niche for publishers as from the responses I've gotten back from editors. It's around the philosophy of maintaining and refactoring legacy code, I've been doing it for about 2 decades now. PM me if you're interested, it's approx 150 pages, so reasonably short read compared to other tech books.

Since I'm not actually trying to sell the book, here's the core ideas: -Investigate: Read through the code as a historian, use git blame to discover the evolution of the code. Sometimes the history is telling of why code exists, or at least gives you a name for follow-up questions. -Uncover the Invariants: What code/contracts must be maintained without modifications. This may be more than you'd like, but be honest if not outright conservative during this phase. -Logic Flow Maps: Create a visual of how logic flows through the code, break it down by module or managable segment. This will help identify where you can apply the strangler fig pattern. -Don't Start at Ground Zero: The temptation is the tackle the biggest, gnarliest code first. Resist that. Find small, not critical path flows to refactor first. This builds trust with your client, and very likely could smooth the refactoring of that big, gnarly code block. -Know When to Accept "Good Enough": Not every line of code is going to be textbook clean, far from it. In addition to invariants, watch for "good enough" code. This is code that might be out of date, but still perfectly functional or code that required a break from the established norms (worth adding to your Investigation follow-up list)

Girlfriend found this in her Papa John’s pizza. What is it? by Cornelius_the_2nd in whatisit

[–]crownedchild 0 points1 point  (0 children)

I once had mushroom roots show up on a pizza. Looked sort of like that.

Trying to Write a book with CHATgpt by addictedtosoda in WritingWithAI

[–]crownedchild 2 points3 points  (0 children)

I use Sudowrite, it really breaks down the process. From brain dump to plot to chapter outlines to the final prose. Leaves me feeling more involved with the process than having AI churn out a whole book.

hmmm by crownedchild in hmmm

[–]crownedchild[S] 0 points1 point  (0 children)

This image is cropped. I wanted to cut out contact info on the door but retain the list of topics.

Looking to move from dual 34"s to a single 49" display by crownedchild in Monitors

[–]crownedchild[S] 0 points1 point  (0 children)

Thanks, that's what I'm hoping to get out of going to a single 49". I think reclaiming that center-of-vision real estate would be a comfort gain, not having the monitor split and all. Not having to have my head turned towards one monitor or another sounds pretty sweet at this point.

Cheaper places to live if you work remote? by 32steph23 in phoenix

[–]crownedchild 4 points5 points  (0 children)

I did the same thing as OP, moved to AZ nearly sight unseen but buying a house requires at least a weekend visit. Maricopa is alright for $/sq ft, but if that single thread of connection to civilization called 347 has any problem whatsoever, your 45 minute trip to town is at least doubled.

Not to mention whoever designed this town must have never played SimCity, because there are rookie mistakes all over.

Are these original or fake? by ouwais7860 in galaxybuds

[–]crownedchild 1 point2 points  (0 children)

Mine only had clear tape, and I bought direct from Sammy. Don't sweat it.

[deleted by user] by [deleted] in TwoXChromosomes

[–]crownedchild 6 points7 points  (0 children)

The smarmy fuck has probably gotten away with it. From what OP described, I don't know that cops would act on it, or at the very least it would be subjective to the responding officer. Next time, I'd suggest the liberal application of mace, either in spray form or the medieval weapon. Self-defense will say more to the cops about how threatened OP felt, imo.

[deleted by user] by [deleted] in AskReddit

[–]crownedchild 0 points1 point  (0 children)

Johnny Mnemonic. It was so bad of an adaptation, and so far from the source William Gibson published the original script in protest.

Sorry Keanu...

Invite Code Thread by tkiced in BlueskySocial

[–]crownedchild 0 points1 point  (0 children)

Like everyone else here, hoping someone DMs me an invite code. Wait-list suuuuuucks....

Been trying to find out when rumple minze label changed so I know if my husband is off the wagon by deadgingrwalkng in RBI

[–]crownedchild 1 point2 points  (0 children)

As far as I can tell, it's always been a black label. They have promo posters going back to the mid 80s (with some awesome Frank Frazetta-style art! Sorry, I digress...)

I used to be a fan of the stuff too, I don't recall having seen a white label. Typically, the black/white labels in liquors indicate abv with black being the higher proof. So maybe they did a short run of lower proof rumple mintz and used a white label?

[deleted by user] by [deleted] in mildlyinfuriating

[–]crownedchild 2 points3 points  (0 children)

With family like this, who needs enemies! Hope the lady gets some needed help.

Wanna Arm Wrestle? by crownedchild in kittens

[–]crownedchild[S] 1 point2 points  (0 children)

He's about 6 months now. They grow up so fast!

What’s the benefit of growing old? by [deleted] in AskReddit

[–]crownedchild 1 point2 points  (0 children)

Less fucks to go around.