[-] coloredgrayscale@programming.dev 28 points 8 months ago

With physics, but paused while coding. It only comes crashing down when the code gets executed.

[-] coloredgrayscale@programming.dev 20 points 9 months ago

We can add caching so numbers that have been checked once can be quickly looked up from an inMemory database.

[-] coloredgrayscale@programming.dev 28 points 9 months ago

Sounds like they are the product owner :)

[-] coloredgrayscale@programming.dev 27 points 11 months ago

Even without algorithm knowledge it should be fairly obvious that you can just fast forward several minutes and check if the item has gone missing.

Not the most efficient solution, but beats watching the entire tape in real time.

[-] coloredgrayscale@programming.dev 15 points 11 months ago* (last edited 11 months ago)

Just npm install isWeekend for the required locales.

Depends on: isMonday, isTuesday,...

Tilted 22 degree to maximize the potential line length that can be displayed.

https://gigazine.net/gsc_news/en/20211203-ideal-monitor-rotation-for-programmers/

import codegolf
codegolf.challenge1() 

Assembly would be lower. You have more complex / direct instructions in assembly. Brain fuck is pretty much just a pure turing machine, and has 8 instructions.

X86 has ~ 1000 + variants. Even ARM with a smaller instruction set has 232 instructions.

In brain fuck to set a number you'd have to count up (or down - underflow) to that number. In assembly you just set it.

Somewhere I've read that current assembly code with Makros should be similar to writing C.

"too many comments".

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

300 nested if statements, (...) added another 5000 nested if statements.

At this point I want to doubt that they actually wrote it themselves, vs writing a metaprogram to generate the code.

The solution is obviously to replace the mods by bots, to fight other bots.

Battle bots, but virtual XD

You poor soul.

clicks scrollbar with mouse and drags it, instead of using the scroll wheel

view more: next ›

coloredgrayscale

joined 1 year ago