Is it possible to partially describe a string in TypeScript? You can describe possible valid inputs for a string using the string literals in the TypeScript types but I am won...
behold the zombie horde dglore@ip-<REDACTED>:/proc/18412$ ps aux | grep "Z" USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 988 0.2 0.0 ...
My senior systems engineer, talking about API traffic: "So it happens about 12 times per second, maybe a few thousand per day sometimes" Me, being funny: "Are you talking abou...
Hi all, I will be recruiting for a JS based project soon, multiple paid development positions. It is an odd and unique FOSS project which will require you to write JS like you...
Sander, you are free to have your own opinion on the matter, but when we get as far as "people will die", that's when I have to ask; where is your immeasurably large collectio...
Ohh here's a fun one... Challenge to you: make this smaller without just making vars 1 letter. const acc = arr.length > 0 ? arr.length - 1 : 0; Usable to get last element of...
const tuples = []; const addTuple = (child, parent = null) => tuples.push({node: child, parentNode: parent}); const getTuple = () => tuples[bfs ? "shift" : "pop"]();
Is it possible to have multiple readers on the same channel? If so, how does Golang handle that specific scenario?
Fun graph theory problem for you guys: IN an ordered data structure where elements are sorted in a specific arbitrary order that is NOT the order of insertion, how do you iter...
problem: how do you trigger this catch try { throwError(); } catch (error) { // do stuff with error } after it's been compiled to this, and throwError doesn't actually ru...
As an example, say I send an integer "123" to a channel with two readers, and reader one reads the integer. Will reader two not be able to read that same data unless it's sent...
Of our 3084 members how many do you estimate are proficient with Linux? Narrow it down more by asking how many are professional. It literally cannot be helped unless more prof...
stems from the whole optimizing compiler idea that allows multitasking, except instead of delegating control between control points in a single contiguous block of source code...
What does everyone rely on for code splitting?
I'm wondering how I could do it with something like this... function myThing(int) { const result = int >> 3; return (result % int) > 0 ? result : int; }
yeah, remember DetourLib? that was like using 100 duct-taped together latters to go over a building, instead of just walking through the front door
*I walk up to colleague's desk* *their code is literally just a gigantic statement block in one single function definition* "What's that?" "I am doing functional programming" ...
why are you linting for style?
then on the client, when adding or removing, you will need to add buttons to the form which do this by making a POST request to a url like /addPanel?panelName=name or /removeP...
hmmm implementing tail call opt will be interesting, I have to figure out the best way to detect a PTC, @TRGWII can it be a PTC via control flow or does it have to be unambigu...