BenLloydPearson

@BenLloydPearson@programming.dev

This profile is from a federated server and may be incomplete. Browse more on the original instance.

BenLloydPearson,

Oh wow, thanks. I didn’t realize that making this an image post got rid of the link

BenLloydPearson,

It’s terribly sad when such great minds are taken relatively early from such horrible diseases.

He seems like someone who always made the best of any situation. After a stint in prison, I’m sure he just wanted to keep doing his best, which led him towards things that weren’t as controversial. Either way, we all have plenty to learn from his works.

BenLloydPearson,

This is the way. No human is capable of always being the best version of themselves

BenLloydPearson,

I’m completely biased because this is what I started on, but Texas Instruments calculators used BASIC for decades, long after it was no longer relevant anywhere else. For a product that ancient to use the language, it must have been popular.

LPT: ChatGPT is incredible for generating and evaluating regex

I have to use a ton of regex in my new job (plz save me), and I use ChatGPT for all of it. My job would be 10x harder if it wasn’t for ChatGPT. It provides extremely detailed examples and warns you of situations where the regex may not perform as expected. Seriously, try it out.

BenLloydPearson,

I typically try 3.5 first and switch to 4 if the results aren’t great. 3.5 typically handles basic use cases quite well, for example, writing regex that detects jira ticket naming nomenclature. For more complex things, I go to 4.

It sometimes gets things wrong, but I’ve also found that just saying “that didn’t work” gets it to reevaluate for more complex situations

BenLloydPearson,

I often need to deal with half a dozen different programming languages in any day/week and the context switching can be difficult at times. When you’ve spent all day switching between JavaScript, Python, and YAML and suddenly need to draft some Regex, tools like ChatGPT can help immensely at reducing the mental burden of switching gears.

BenLloydPearson,

It’s not that I’m incapable of evaluating regex, but rather the mental burden of evaluating complex regex statements and determining their purpose can be time-consuming. Why take 20 minutes to understand some regex when ChatGPT can do it in 20 seconds?

BenLloydPearson,

This is where I go to validate the work of ChatGPT. The debugging capabilities in that site are wonderful.

BenLloydPearson,

I’ve found that you need to be very careful when asking it to modify things it produced directly without making significant changes to the regex it provides. Once I get to the 3rd or 4th iteration of asking it to modify previous responses I’ve found the likelihood that it starts hallucinating to increase dramatically. The best solution I’ve found to this is to put your entire request in a single prompt that walks it through all requirements step-by-step.

BenLloydPearson,

This is the way. Everything ChatGPT produces for me gets tested and debugged here.

BenLloydPearson,

Y’all need to get yourselves some PR review automation in place. Stop wasting time on trivial reviews and requesting changes for common problems so that when you ping a colleague for a code review, they know it’s important rather than a simple request for a thumbs up.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Durango
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • ngwrru68w68
  • kavyap
  • GTA5RPClips
  • provamag3
  • ethstaker
  • InstantRegret
  • Leos
  • normalnudes
  • everett
  • khanakhh
  • osvaldo12
  • cisconetworking
  • modclub
  • anitta
  • tester
  • megavids
  • lostlight
  • All magazines