HN user

mattmoss

43 karma

[ my public key: https://keybase.io/mattmoss; my proof: https://keybase.io/mattmoss/sigs/NAYvQKqow2btBFo8fuQFSlJYW-6GuWn1-F0b2YibNHg ]

Posts2
Comments21
View on HN

In Firefox (102.0.1), I see only the bottom-left 25% of the playfield.

In Chrome (103.0.5060.114), after a few attempts, the game became very lagging/low framerate that it was mostly unplayable.

Nice simple clicker!

That's a problem with specs, the most concise and complete way to write them is by writing your program.

I've never dealt with formal specs/design, certainly nothing like those described here. Your comment (however in/accurate) strikes me as interesting and leads me to wonder...

What if we took the code and processed it to generate a "spec"? (I quote "spec" here b/c I wouldn't consider it a spec, but don't know what else to call it.) Basically, a document that explains verbosely what the written code does... hopefully in a way that is reasonably, humanly digestable.

Then we might get a doc that says, "Function add(...) accepts two integers/nulls and returns the sum." And Joe-coder looks and realizes it shouldn't accept nulls, goes back to the code, fixes the issue.

Mostly self-taught: BASIC/ASM on a C64 using the Programmer's Reference and Compute!'s Gazette. Taught myself C on a Mac Plus by writing a game over winter break during my first year at university.

There's so much documentation available now (more than was available years ago) for so many open-source and free resources out there.

For me, though, the biggest assist to really learning something is having a project. Whether it's at my employer or a personal thing, a project drives me much better to learn something than documentation alone.

Would this be a good tool for finding air leaks (i.e. cold air coming in during the winter) in an old house? I might drop the $200-300 for one of these if it will help me find all the leaks.

Even better if the $40 Adafruit one mentioned elsewhere (https://www.adafruit.com/product/3538) worked just as well, once configured/programmed adequately.

Sweet...

One suggestion: take, for example, (= ___ (count [:a :b :c])), or anything similar. Check that the answer provided by the user isn't exactly the same as the value on the right. Trivial to pass all/many of these by copy/paste. ;)

"You can only get credit for each multiple of 7 once…"

That carries across games; should it?

(Using Chrome 26.0.1410.65)

EDIT: I looked at the source; you do not reset sumslist.

This page was educational and interesting until it locked up my computer with the CPU pegged full. Force power off/on "fixed" the problem.