Show newer

Definitely wasn't me haha 

Imagine having a carport and forgetting to use it, haha. Especially on a day like today where it snowed a lot haha. Like, imagine that lol

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 github.com/calebmsword/parsec/

and tell me how cool I am!!!!!!!!!

@alyssa I must know, what is the worst fruit and worst vegetable

re: programming question 

@alyssa Oh sorry I forgot about this. I haven't used it myself, but there is a Python library called Eel that opens a browser in application mode. It lets you write HTML/CSS/JavaScript for simple desktop UIs and also magically allows JavaScript to interface with Python code.

It's mainly used by Python developers with web dev experience who want to make simple UIs for the dev team. But you can also use it as a lightweight alternative to electron.

re: programming question 

@alyssa how simple is the gui in question?

According to Spotify Wrapped, the city whose music taste is most similar to mine is Madison, Wisconsin

I'm not sure what this means

The worst thing about good videogame essayists is that I often want to play the games they cover so I can't watch their videos

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"

I was trying to learn Haskell but JavaScript is so interesting I am too busy learning more about JS instead :(

"cheese" and "gruyere" have become my foo and bar

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.