[HN Gopher] DOOM rendered via console.log() in a web browser (2021)
___________________________________________________________________
DOOM rendered via console.log() in a web browser (2021)
Author : jumploops
Score : 182 points
Date : 2024-02-26 05:43 UTC (17 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| quickthrower2 wrote:
| Can I run IE3 in the console?
| vardump wrote:
| If DOOM can run that way, you can really run anything there.
| jraph wrote:
| Unlike DOOM, A browser would need to be able to make network
| requests, that could be a difficult aspect to handle.
|
| (I know, I know, DOOM has a multiplayer mode :-))
| uvesten wrote:
| I can't get it to work via remote debugging on iOS. Neither on
| Safari on the Mac, I notice. Are there any feature flags I have
| to enable?
| tomxor wrote:
| > Safari on the Mac
|
| Unlikely, Safari dev tools is bottom of the pile. I'm not sure
| Safari's console even supports CSS? Each time I'm forced to dip
| into it due to Safari bugs I get flash backs to the IE days
| where you had to try to infer everything.
| jeffhuys wrote:
| > I'm not sure Safari's console even supports CSS?
|
| It does, at least styling text. And the dev tools, in my
| opinion, are fine. I'd rather use Firefox for debugging, but
| my main driver is Orion (Safari-ish with FF/Chrome extension
| support) and use it a lot for random websites.
| nelsonic wrote:
| Doesn't work in latest Chrome on Mac. :-\
| jokethrowaway wrote:
| It works for me but it's a bit tricky to control (latest
| chrome, sonoma, intel)
| cezart wrote:
| also works for me on m1
| ai_bonk_bad_ai wrote:
| same here
| vardump wrote:
| Works on latest Chrome (122.0.6261.69) on a M2 Max Mac.
| silon42 wrote:
| Tnx, I have disabled WASM again...
|
| Can anyone recommend a plugin that will allow enabling wasm (like
| js) per site?
| lifthrasiir wrote:
| I don't think it is meaningful to enable JS but disable
| WebAssembly, as almost all of wasm can be translated to JS
| anyway, as the older Emscripten did with asm.js.
| CryZe wrote:
| Yeah it's really mostly just a (heavily) stripped down binary
| JavaScript with basic arithmetic and operations to modify an
| ArrayBuffer. With Wasm-GC it's a bit more of a binary
| statically, strongly typed JavaScript. Either way, outside of
| static, strong typing, the binary representation and SIMD
| support, it's really not exposing anything fundamentally new.
| creatonez wrote:
| WASM isn't the reason this works. This could easily be written
| in pure javascript. The only thing WASM gives you is
| significantly faster WebWorker-like background threads, but
| ones that are still limited to WebWorker-only APIs.
| tetris11 wrote:
| Can't get it to work on Firefox 123
| ozymandias1337 wrote:
| oh naur #me2 Sent from my Firefox 115.8.0esr
| tumetab1 wrote:
| (2021)
|
| The repository has not been updated since which might explain
| some issues.
| laurent123456 wrote:
| Shouldn't use the term "web browser" when it's Chrome-only.
| Cheer2171 wrote:
| Title says "in *a* web browser". Chrome is a web browser.
| mopenstein wrote:
| You are technically correct. The best kind of correct.
| svennidal wrote:
| Yeah, I tried it in 2 different browsers where it didn't work
| and then decided to check the comments. I'm not putting Chrome
| on my machine.
| btown wrote:
| https://github.com/ungoogled-software/ungoogled-chromium may
| be of interest!
| ozymandias1337 wrote:
| Thorium maeby more interesting!
| DANmode wrote:
| What's their patch interval usually like?
| ozymandias1337 wrote:
| Last year's releases (2023) were lagging behind.[?] Only
| this yr's releases (2024) are in a timely fashion so
| far.[?] However, being forewarned is being forearmed! [?]
| Both (Chromium/Thorium) browsers upstream releases are
| maintained by Google & both browsers contain various
| forms of spyware and/or telemetry! [?]
|
| MOAR:-
|
| thorium.rocks [?]
|
| github.com/Alex313031/Thorium/releases [?]
|
| On a personal basis I prefer Firefox & Pals over Chromium
| & FRIENDS!!! [?] The last time I was used by Chromium was
| 7 years ago!!! [?] Carpe Deim!
| ozymandias1337 wrote:
| BTW,
|
| The LATEST Thorium release dropped just last week on 20th
| Feb which just so happened to be its 56th Release / 30th
| version birthday!
|
| & IF anyone is interested heresa Firefox Fork:-
|
| github.com/Alex313031/Mercury/releases [?]
|
| However itsa out-of-date release (v.122.0.2) versus tha
| LATEST (v.123) Firefox.
| slater wrote:
| What's with the "[?]"?
| ozymandias1337 wrote:
| Also for some reason Mercury Alpha v124.0a1 is available
| for mac in .dmg
| dylan604 wrote:
| chrome != chromium.
|
| it is the googley additions to chromium that makes chrome
| DANmode wrote:
| What's missing in Chromium to run the posted project?
| dylan604 wrote:
| how do you know the difference from a closed source
| project and an open source project?
| DANmode wrote:
| Did you reply to the wrong thread?
| dylan604 wrote:
| no. am I wrong in thinking that the Chrome source code is
| not available? Chrome is built on top of Chromium. Chrome
| != Chromium. So how do you know what the difference
| between these products are if you can't see it?
| ozymandias1337 wrote:
| Widevine & assorted scum.
| jraph wrote:
| Everyone in this sub thread:
|
| I agree with the sentiment (as a Firefox user who does not like
| the Chrome monopoly), but keep in mind this looks like a
| project purely for fun. The author owes us nothing and is nice
| enough to share their experiments. They may not have even
| noticed it only works on Chrome. We can certainly find a nice
| way to suggest them to specify that this is Chrome-only, maybe
| by sending a PR on the README file.
|
| There's no need to be negative. You can even convey your
| message nicely.
|
| Usually, people are receptive to feedback if the feedback is
| respectful and gentle.
| devwastaken wrote:
| Equivalent: Shouldn't use the term "python" when it's CPython
| only.
| ChrisArchitect wrote:
| Related:
|
| _DOOM on Husqvarna Automower_
|
| https://news.ycombinator.com/item?id=39504655
| nlunbeck wrote:
| TIL you can console log images. Cool project
___________________________________________________________________
(page generated 2024-02-26 23:02 UTC)