I hand-coded a deep copy algorithm in JavaScript! It doesn't ever blow up the call stack and it copies property descriptors!
Everyone look at https://github.com/calebmsword/parsec/blob/main/example/example-utils/clone-deep.js
and tell me how cool I am!!!!!!!!!
javascript crimes
The following causes a runtime error:
function factory(callback) {
callback();
return () => console.log(
"crime performed");
}
const func = factory(() => {
func();
});
// TypeError: func is not a function
But the following works:
function factory(callback) {
callback();
return () => console.log(
"crime performed");
}
const func = factory(() => {
setTimeout(() => func(), 0);
});
// "crime performed"
Accidentally getting a 20-minute history lesson on the early meta of TCG because I asked @aescling if Surfing Pikachu was a good card
Good things about Psychonauts:
My major criticism:
the clodvestigator
i answer to Caleb, Clodsire, Clodboy, Clod, and Bumby. very leftist.
videogame enjoyer. mathematics hobbyist and recovering physicist. recovering software engineer. professional wonk. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
number of fat cock awards received: 56
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
30+
he/him
sgraMrt