News for hackers. Stuff that matters.

mattmoss

Re:Show HN: I made a simple addictive web game on Monday July 11, 2022 @07:46PM (#32063704)
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!

Re: on Friday April 22, 2022 @11:49AM (#31123153)
You monster.
I currently use Fira Code, and I tried to focus on the text comparisons without consideration of the font names.

I ended up picking Noto Sans Mono by a very slim margin over Fira Code. Interesting...

Re:Google's Abandoned Android Authenticator App on Friday February 28, 2020 @01:00PM (#22444766)
Do Yubikeys have a shelf life? Something akin to a usb flash drive?
Re:Why Don't People Use Formal Methods? on Tuesday January 22, 2019 @10:51AM (#18969109)
> 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.

White on orange is not great for readability. Especially the calculation results block which animates from white on orange to white on pale-orange: even less readable.

Otherwise, nice job!

Re:How did you learn to code? on Friday August 24, 2018 @01:58PM (#17836580)
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.

Re:Ask HN: What project did you tackle to learn C? on Saturday February 10, 2018 @01:37PM (#16348744)
I learned C over 1990 Christmas break from university. At home, I programmed my father's Mac Plus and wrote a game similar to Light's Out but on a playfield not a square grid.
Re:Building a Thermal Camera on Thursday December 28, 2017 @05:24PM (#16025517)
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.

Re:Ask HN: Payment processor for non-profit donations? on Thursday December 17, 2015 @11:12PM (#10756580)
Thanks, I'll keep an eye on it when you are out of beta.
Re:Ask HN: Payment processor for non-profit donations? on Thursday December 17, 2015 @11:10PM (#10756574)
No.

Ask HN: Payment processor for non-profit donations?

I have a client who needs to accept donations for his ensemble, and I'm wondering who HN recommends for payment processors.He wants to accept one-time donations, but also recurring (monthly and/or annually). For recurring donations, there are multiple donation levels (e.g. "Donor" would be $5-24/month, "Benefactor" would be $25-$49/month, etc.) and descriptions of donor rewards for each...

( Read More... | 6 comments | 5 points | on HN )
$199 to survive fiction? More seriously, website doesn't load.
Re:Show HN: Discover Recipes by Ingredients on Wednesday June 11, 2014 @01:55PM (#7879370)
Seriously… that's the first thing I searched.
Re:Show HN: Discover Recipes by Ingredients on Wednesday June 11, 2014 @12:04PM (#7878718)
Firefox 29.0.1: Can't type into the text field to put in an ingredient. EDIT: Typing is there, can't see the text. (White on white?)
Re:Ask HN: What's going on with Google's WHOIS record? on Friday May 23, 2014 @05:25PM (#7791428)
Only one of those appears to be google.com.
Re:Give Your Spirit Clojure on Tuesday November 26, 2013 @10:53AM (#6801999)
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. ;)

Re:HelloRun - A WebGL 3D Game on Tuesday September 03, 2013 @03:02PM (#6322969)
Cool… the fog color matching the gate color often makes it difficult to discern which section is the opening.
Re:Time as a hexadecimal color value on Tuesday July 02, 2013 @09:40PM (#5981932)
Really… Flash?
Re:Show HN: An Open Source Number Game on Wednesday May 22, 2013 @09:25PM (#5754818)
"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.

Re:Being flown out for technical interview. Advice? on Thursday January 24, 2013 @10:12PM (#5113738)
They obviously have some interest to fly you out, so relax and do the interview and be courteous and all that. But don't worry an iota about their expense: it's part of their budget.
Re:How to Fold a Julia Fractal on Thursday January 10, 2013 @11:07PM (#5041288)
This page was educational and interesting until it locked up my computer with the CPU pegged full. Force power off/on "fixed" the problem.