Live data from Hacker News

Monospace: A JavaScript demo in 1021 bytes, winner of the demo competition

p01.org

111–120 of 131 posts

Re: Monospace: A JavaScript demo in 1021 bytes, winner of the demo competition

#111

Because the rest of the commentors in this thread seem to not be reading the article, there's a performance issue in Firefox due to the following unresolved bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1190398

5 years old and not a peep. That sounds about right.

Re: Monospace: A JavaScript demo in 1021 bytes, winner of the demo competition

#113

The real version of this, which is actually 1021 bytes, is here: http://www.p01.org/MONOSPACE/monospace.htm . It uses the very clever trick of compressing the JavaScript code as the pixels of a PNG image (which uses Deflate internally), then including the page itself in an tag and decompressing the JS code from the resulting pixels. Unfortunately , the developer made a bit of a mistake when uploading this file: it ap…

Not sure why, but even your fixed version is showing up as binary junk for me. Firefox 78.3.1esr on Windows x86_64.

Re: Monospace: A JavaScript demo in 1021 bytes, winner of the demo competition

#114

Earlier quoted context omitted.

Guess . . . . "Because the rest of the commentors in this thread seem to not be reading the article"

We'll, they're not reading the article, yet they're expecting people to read their comment. And if not, why comment at all? I think some selective derision is warranted.

No, please don't add derision to HN threads. When someone else is wrong, it's enough to supply correct information. That enhances the thread without damaging the commons.

https://news.ycombinator.com/newsguidelines.html

Re: Monospace: A JavaScript demo in 1021 bytes, winner of the demo competition

#115
post #64
post #43

Earlier quoted context omitted.

The point is that if shadowBlur performed poorly in Chrome, people would either find a way to circumvent it, or wouldn't use it. Chrome gets a free pass for its failings, while Firefox attracts "Chrome Preferred" banners, and this is based on market share rather than software quality.

> or wouldn't use it I'm dealing with a similar issue in Firefox ( https://bugzilla.mozilla.org/show_bug.cgi?id=925025 ) and there's simply no way to do what I want without using a blur filter. So yes, if it didn't work in Chrome my game wouldn't exist but not sure how that is of any comfort to anyone.

That sucks! From my knowledge of browser-based games, though, I think a lot of people are using webgl, where the solution would be to write a blur shader. If your game was written in a world where Firefox had 90% market share, you'd be more likely to go straight for webgl.

Re: Monospace: A JavaScript demo in 1021 bytes, winner of the demo competition

#116

Earlier quoted context omitted.

Pretty interesting that even though I mute the tab it still speaks. The music does get muted, but not the TTS

It's using https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynth... which probably isn't affected by the "mute toggle" for accessibility reason.

Huh, I was wondering how they fit a speech synthesizer into less than 1kb. It being a builtin makes much more sense.

Re: Monospace: A JavaScript demo in 1021 bytes, winner of the demo competition

#117
post #114

Earlier quoted context omitted.

We'll, they're not reading the article, yet they're expecting people to read their comment. And if not, why comment at all? I think some selective derision is warranted.

No, please don't add derision to HN threads. When someone else is wrong, it's enough to supply correct information. That enhances the thread without damaging the commons. https://news.ycombinator.com/newsguidelines.html

Are you saying everything everyone says is above critique, or that derision specifically is not welcome?
Post reply on HN