'strawberry'.match(/r/ig).length
The infernal flame of Wonderland. Professional circus sideshow performer, fire witch, and collector of sharp things. Ask for my Instagram!
'strawberry'.match(/r/ig).length
It’s already impossible to make money as an artist
TBF, walking on glass is a fairly common sideshow trick
Most of the time O(n^2) is optimized to O(n log n). You’ll get some sort of award if you can figure out a sorting function that runs in O(n).
I always enjoy a good interrobang before bed
We’re both talking about the same thing right?
What the fuck is this trash?
The people who use any
and non-strict TS are the same ones who complain about TS/JS letting them compare an object to an string array
Yes, we usually dream as ourselves.
✅ Useless comment
✅ Common typo
✅ Looks like VSCode
That code snippet looks mighty sketch
I do go file by file, but I just copy and paste the same query into each. It also gives me a chance to do a quick review before moving on. It’s still a manual process but it’s a HELL of a lot faster than manually refactoring.
(I can’t give too many more details though since I use proprietary software that isn’t public facing)
It takes a long time because it hits a lot of files, not because it’s logically complex. Also, that’s why unit and integration tests exist.
Stuff like this is really useful when variable names are annoying, or when you have to repeat the same monotonous pattern over a large batch of code.
My favorite use of AI in code so far has been refactoring deprecated feature flags. “Replace enableXYZFeatureFlag with true and optimize the code”. Bam, 1-2 hours’ worth of crunch work solved in minutes.
And star wars has miniguns as well to solve that problem, usually carried by a single heavy gunner
RIP Hevy
OkC is how I found my girlfriend because it let me know a lot of important info (demi/ace, no kids, looking for long term, match %) before I even tried matching with them. I got to be picky.
From what I hear, they got rid of every useful feature and turned it to shit.
I use AI a lot as well as a SWE. The other day I used it to remove an old feature flag from our server graphs along with all now-deprecated code in one click. Unit tests still passed after, saved me like 1-2 hours of manual work.
It’s good for boilerplate and refactors more than anything
This is such a half brained response. Yes “actual” AI in the form of simulated neurons is pretty far off, but it’s fairly obvious when people say they AI they mean LLMs and other advanced forms of computing. There’s other forms of AI besides LLMs anyways, like image analyzers
How… How do you get in?
I wish 15% and 18% were options. Normally it’s more like 20%, 25% (default), 28%, 30%
Waldo moment