Hacker Newsnew | past | comments | ask | show | jobs | submit | EmilyHughes's commentslogin

This is impressive but I don't get it. All that work and you have a game written in JS of all things. Why not write it in a desktop language und port it to JS. Now this will always need a browser to run, feels like a waste of time to me.


Or, reframing:

- This will _only_ need a browser to run. No console. No PC rig. No Steam account. No account at all. You just need a link to play it.

- Why use a heavy game engine and all the baggage that can bring when you can make a lightweight prototype in JS, prove value in the browser, then port to desktop if you choose to.

Browser games are an underexplored art form.


First you make the money, then hire someone else to port it to native. That’s what Vampire Survivors did.


You're looking at it in the wrong way. It's written in the native language of the best content delivery platform we have available.


It’ll also run pretty well on pretty much any OS. If I had a BSD box with GPU acceleration laying around, I’d give it a spin.


> Now this will always need a browser to run, feels like a waste of time to me.

As opposed to creating binaries for every platform and be subject to every possible store scrutiny on Android, iOS, Windows, Mac?

That not a waste of time for sure.

What am I ever reading?


Can always use Electron or Tauri to turn it into a native app


Electron and native do not belong in the same sentence AFAIK unless you mean 'native to the browser (which happens to be included in the package)'. Tauri is the same, just bring your own 'browser' (webview, really).


We all build on top of something. Today’s browser will look like a native platform in another 20 years. Just like assembly does to our point of view today.


Whats so crazy about it though? Intuitively it seems very likely to me that all possible states of 2028 would fit into a 64 bit number.

4x4 = 16 tiles, 64/16 = 4 bits, 16 powers of two = space for 0-65536 per tile.

So going up to only 2048 would leave some room even.


This still of programming does not adhere to MVC though, you can't ever swap out the frontend because it's basically merged to the backend and I suspect complex to debug simmilar to JSF.


All MVC (or rather something more modern like MVVM) happens on the server in this scenario, but it doesn't mean that it doesn't happen at all.

A different View + ModelView on top of the same Model could then be used to provide a different frontend if that is ever required (in practice, it probably won't be).


So a pattern is not mandatory with Vaadin, but you can make the UI “simple” changeable with a corresponding pattern of your choice. MVP and MVVM would be good examples of this.

Debugging in the frontend is not trivial, but can still be done with the appropriate setting in the properties (https://vaadin.com/docs/latest/flow/configuration/developmen...)


I miss these kind of applications. Nowadays everything is flat tons of wasted space, unresponsive and eats 300mb ram because it runs on electron. Just compare windows 11 task manager to windows 2000 task manager.


Or Windows Control Panel vs the Settings App.


Win2000 task manager was absolute crap. I already wrote why here:

https://news.ycombinator.com/item?id=41549102#41576689


Not at all. Any song on youtube uploaded in the last 5-10 years is as good as a 320 kbit mp3. Why would it be with the bandwidth anyone has to today?


I think the poster is confusing/conflating dynamic range compression with file compression


Even limiting the scope to MP3 at the same bitrates modern encoders are much better than what we had back in the 90s.


Obviously you've never listened to SiriusXM.

But seriously, the poster is probably complaining about how most modern music is heavily compressed in dynamic range, so that it sounds better on crappy earbud headphones and smartphone speakers.


This came out yesterday: https://www.youtube.com/watch?v=Gs0-8ZwZgwI

Apparently in germany they caught a pedo like that. Watching certain nodes and the sizes of files that are sent between them to identify the admin of a pedophile image sharing forum. Took them 1 1/2 years to identify the specific person, but they got him.

Considering this I would imagine it's pretty safe for the average user since they have to specifically target you for a long time, however it seems like with enough effort it's possible to identify someone even without Clearnet slip-ups like it was the case with Silkroad.

Once they have your address they will just storm your house and catch you on the computer, then you are done for.


yeah kids are gonna love this


1. Doesn't look like fluid at all 2. Goes down to 40 FPS on my computer

Granted this is web, but I think I can simulate that many particles with a simple loop in java on 60 FPS.


1. It does to me, but then again:

2. Goes down to 15 FPS on my old laptop.

3. The proof is in the pudding: please post the link to your Java code.


How is this a trick question? Maybe I am dumb but I would have no idea how to solve this.


to be fair, this question does not require any advanced math beyond knowing how to compute the area of a disk

to me, the impressive part of gpt is being able to understand the image and extract data from it (radius information) and come up with an actual solution (even though it got it wrong a few times)

for basic math I can do

  python -c "print(6/9)"


UTF-8 is downward compatible to ASCII, so anything that is just a standard character (like every character in this comment) is just a byte.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: