[-] livingcoder@programming.dev 6 points 1 month ago

The aliens haven't yet consumed our planet in this timeline. Consider yourself lucky.

[-] livingcoder@programming.dev 7 points 1 month ago

This was a great post, but is the last state of the macro actually bad for performance in any way? I get that it's ugly (and we should only choose to make code less readable like this when there's actually an issue) but is it worse for runtime performance?

[-] livingcoder@programming.dev 10 points 2 months ago

Someone just suggested to me that I should be putting my chocolate bars in the freezer first. I've never heard of this, but apparently it's a thing that I've been missing out on for a while.

So I guess I'm the one who can't believe that I don't do it.

[-] livingcoder@programming.dev 5 points 4 months ago

Just reposting without the tracker: https://youtu.be/L1QVp55ehvs

[-] livingcoder@programming.dev 5 points 4 months ago

I was today-years-old when I learned the ideal way to eat a banana.

[-] livingcoder@programming.dev 12 points 4 months ago

Waldo is hiding in there somewhere, btw.

[-] livingcoder@programming.dev 7 points 4 months ago

This was a good, short read. Worth the time.

[-] livingcoder@programming.dev 12 points 7 months ago

How does it handle multiple potential outcomes? Example: unformat!("a {} b {} c", "a x b b y c") Would it return Some(("x b", "y")) or Some(("x", "b y"))?

[-] livingcoder@programming.dev 8 points 7 months ago

I expected "Started new project"

[-] livingcoder@programming.dev 11 points 1 year ago

Cursorless. It's a spoken-language programming interface that allows the programmer (of basically any language) to use specific words to target existing text, move the underlying cursor/selection relative to that target, and then run a specific modification. Think of VIM but for voice. It runs in VSCode atm as a couple extensions along with an install of the audio tool Talon. https://www.cursorless.org/

[-] livingcoder@programming.dev 11 points 1 year ago* (last edited 1 year ago)

From my experience JS is primarily used to manipulate the DOM. I haven't looked into it, but if you're correct that WASM cannot manipulate the DOM then your question, to me, is tantamount to "Why aren't people using forks to eat soup?".

I would love a staticly-typed, compiled language to come along and replace JS. If anyone is aware of how I can write Rust in place of JS, please let me know. For now, I suffer/enjoy JS.

view more: ‹ prev next ›

livingcoder

joined 1 year ago