News for hackers. Stuff that matters.
Re:Show HN: Coding Font – A game to find your favorite codin... by robertakarobin on Wednesday October 27, 2021 @10:06AM (#29013433)
Is it just me, or does it not appear to be working for anyone else? It just shows "You have chosen the winner" and none of the buttons seem to have an effect.

Edit: Clicking 'Restart Tournament' seems to spawn a worker that pushes my CPU over 100%. Open source your code, perhaps?

Re:Show HN: Coding Font – A game to find your favorite codin... by wentin on Wednesday October 27, 2021 @11:42AM (#29014773)
Sorry I went to sleep and woke to the app not working. Stupidly used Google Fonts API when I really don't have to, was being lazy. It is fixed now! Please try again?
Re:Show HN: Coding Font – A game to find your favorite codin... by farnsworth on Wednesday October 27, 2021 @02:17PM (#29016966)
Still not working for me
Re:Show HN: Coding Font – A game to find your favorite codin... by whalesalad on Wednesday October 27, 2021 @10:16AM (#29013559)
This is the ultimate troll - your winning coding font is times new roman!
Re:Show HN: Coding Font – A game to find your favorite codin... by throwaway889900 on Wednesday October 27, 2021 @10:56AM (#29014119)
Nothing like some good ol' Comic Sans in the world's best IDE: Microsoft Word. Also all spaces are now Unicode spaces.
Re:Show HN: Coding Font – A game to find your favorite codin... by seanw444 on Wednesday October 27, 2021 @11:44AM (#29014807)
No joke: my 70-something IBM veteran C++ class teacher in high school used Comic Sans in Visual Studio. Every time he shared his screen on the projector me and my buddy chuckled. He was so literal that it was either really good dry humor, or the dude genuinely liked coding in Comic Sans.
Re:Show HN: Coding Font – A game to find your favorite codin... by InitialLastName on Wednesday October 27, 2021 @12:44PM (#29015739)
Maybe he had dyslexia and had worked out what is now relatively better-known, that Comic Sans is actually really readable for people with dyslexia-spectrum issues.
Re:Show HN: Coding Font – A game to find your favorite codin... by lillesvin on Wednesday October 27, 2021 @05:17PM (#29019261)
That's not necessarily true[0]. It's a widely repeated claim but there doesn't seem to be much actual evidence supporting it. Rather it seems that letter size and spacing are the main factor when trying to make text more readable to dyslectics.

[0]: https://www.tes.com/news/does-comic-sans-really-help-dyslexi...

Re:Show HN: Coding Font – A game to find your favorite codin... by jmrm on Wednesday October 27, 2021 @11:36AM (#29014701)
Did you heard about the 'Comic Mono' font?

https://github.com/dtinth/comic-mono-font

Re:Show HN: Coding Font – A game to find your favorite codin... by thrownblown on Wednesday October 27, 2021 @12:09PM (#29015189)
I use "comic code" as my daily driver monospace font as it's good for dyslexia having unique characters for like "d" and "b" that aren't mirrored reflections.

I always get a comment on the font when I screenshare...

https://tosche.net/fonts/comic-code

Re:Show HN: Coding Font – A game to find your favorite codin... by rgoulter on Wednesday October 27, 2021 @12:36PM (#29015607)
Another font with dyslexia in mind: OpenDyslexic https://opendyslexic.org/
Re:Show HN: Coding Font – A game to find your favorite codin... by robertakarobin on Wednesday October 27, 2021 @10:19AM (#29013592)
I had a student who used Apple Chancery in her IDE, no joke.
Re:Show HN: Coding Font – A game to find your favorite codin... by jonesnc on Wednesday October 27, 2021 @05:49PM (#29019543)
It works if I click Reset Tournament, but when I first loaded the page it didn't work and just showed the "You have chosen the winner" message.
Re:Show HN: Coding Font – A game to find your favorite codin... by corsibu on Wednesday October 27, 2021 @10:23AM (#29013657)
Ouch:

{ "statusCode":400, "error":"Bad Request", "message":"{\"error\":{\"code\":429,\"message\":\"Quota exceeded for quota metric 'Queries' and limit 'Queries per day' of service 'webfonts.googleapis.com' for consumer 'project_number:524817652413'.\",\"errors\":[{\"message\":\"Quota exceeded for quota metric 'Queries' and limit 'Queries per day' of service 'webfonts.googleapis.com' for consumer 'project_number:524817652413'.\",\"domain\":\"global\",\"reason\":\"rateLimitExceeded\"}],\"status\":\"RESOURCE_EXHAUSTED\"}}", "data":{ "error":{ "code":429, "message":"Quota exceeded for quota metric 'Queries' and limit 'Queries per day' of service 'webfonts.googleapis.com' for consumer 'project_number:524817652413'.", "errors":[ { "message":"Quota exceeded for quota metric 'Queries' and limit 'Queries per day' of service 'webfonts.googleapis.com' for consumer 'project_number:524817652413'.", "domain":"global", "reason":"rateLimitExceeded" } ], "status":"RESOURCE_EXHAUSTED" } }, "metadata":{ "request":{ "url":"https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyA0...", "method":"GET", "body":null, "headers":{ "User-Agent":"Retool/2.0 (+https://docs.tryretool.com/docs/apis)", "X-Retool-Forwarded-For":"194.209.182.135" } }, "headers":{ "vary":[ "Origin, X-Origin, Referer" ], "content-type":[ "application/json; charset=UTF-8" ], "date":[ "Wed, 27 Oct 2021 14:22:25 GMT" ], "server":[ "ESF" ], "content-length":[ "520" ], "x-xss-protection":[ "0" ], "x-frame-options":[ "SAMEORIGIN" ], "x-content-type-options":[ "nosniff" ], "alt-svc":[ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000" ] }, "status":429, "statusText":"Too Many Requests" } }

Re:Show HN: Coding Font – A game to find your favorite codin... by wentin on Wednesday October 27, 2021 @11:44AM (#29014800)
Yes, I hit the limit for Google Fonts API. It is fixed now. I moved off the API service. :)
Re:Show HN: Coding Font – A game to find your favorite codin... by Minor49er on Wednesday October 27, 2021 @11:03AM (#29014236)
I have offsite fonts blocked, so I wonder if I would have seen these anyways. From that response, it looks like it would just include a webfont directly from Google.
Re:Show HN: Coding Font – A game to find your favorite codin... by spyke112 on Wednesday October 27, 2021 @10:08AM (#29013460)
Same here. Might be a rate limit thing, lots of stuff not loading.
Re:Show HN: Coding Font – A game to find your favorite codin... by neves on Wednesday October 27, 2021 @10:09AM (#29013474)
Same here. I loved the idea.
Re:Show HN: Coding Font – A game to find your favorite codin... by seagoj on Wednesday October 27, 2021 @10:08AM (#29013454)
same for me