HNHacker News
TopNewBestAskShowJobs

Xeamek

870 karma · joined July 14, 2022

submissionscomments
Xeamek··on Web browser as GUI, with your preferred language in the backend
>DOM is efficient >No it's not, here is the data >something something it doesn't matter because it's fast enough.

So you agree that the DOM is slow? Or, by this logic, can I call any terrible code 'efficient', because if I run it on modern hardware it will still be faster than 'good' code run on machines from 20 yrs ago?

But also, it's not like all this inefficiency is free; every millisecond that is spent running inefficient code requires power. Multiply that by trillions of operations computers are doing every day, multiply that by billions of computers worldwide and we end up with waste of resources that literally change the planet. Not to mention the e-waste of all the hardware we force out of the usage "because it's too slow"

Xeamek··on Web browser as GUI, with your preferred language in the backend
Fair.

I took 'web is fast enough' as in 'current state of web is fast enough'. But if we are still sticking to the actual internals of web browsers, i don't doubt they are quite 'state of the art'. It's just the outcome for the end user sucks

Xeamek··on Web browser as GUI, with your preferred language in the backend
You were the one who said that layouting is much harder problem then 3d rendering...
Xeamek··on Web browser as GUI, with your preferred language in the backend
Yes, modern computers are just too slow to handle layouting a facebook page, nothing can be done.
Xeamek··on Web browser as GUI, with your preferred language in the backend
You mean that the fornt end devs aren't actually responsible for the rendering, but the browser devs are?

Would you apply the same logic to game optimization? That's it's not the responsibility of game devs, and instead we can shift all the blame to the gpu sdk team?

Xeamek··on Web browser as GUI, with your preferred language in the backend
Fair example, although from what You are saying it looks more like its about using features that might not yet be available in os webview.

But the parent post, as well as 'other stories' I see sometimes talk about using certain, 'frozen', older version to ensure compatibility, essentially stating that new releases break some stuff. So i was more asking about such cases

Xeamek··on Web browser as GUI, with your preferred language in the backend
10 billions is a bit much, but yes
Xeamek··on Web browser as GUI, with your preferred language in the backend
>The reality is that web is fast enough

No its fuckin not. We have devices running literally billions operations per second, orders of magnitude faster then what we had just few years ago, yet they struggle with rendering websites which comes down to presenting some good looking text. It's insane how my pc can compute entire 3d world with millions of triangles, 120 times a second, but it lags when I open few websites because some front dev crambed some 'cool' paralax effect onto it, or because facebook, (who literally invented react) can't handle it well enough to not make memory leaks everywhere.

Did Usability of the web moved forward since few years ago? Sure. But compared to what computers can actually do, it's insane how bad things are nowadays

Xeamek··on Web browser as GUI, with your preferred language in the backend
I've never worked on big enough project to hit such issues.

Could you provide some examples?

Not that I doubt your claims, just curious

Xeamek··on Web browser as GUI, with your preferred language in the backend
I've literally pasted benchmarks measuring actual job (webserver request per second) in a comment below.

But besides, the critique isn't meaningless even without providing a better one; If your benchmark is measuring things that are trivial no matter the language (like stack-based operations), but ignores things that actually differ meaningfully (like handling of heap objects), then criticizing such aproach is perfectly fair and valid objection

Xeamek··on Web browser as GUI, with your preferred language in the backend
While still far from perfect, benchmarks comparing actual, practical usage, like the ammount of request served by webservers for example, are much better indicators imo.

https://web-frameworks-benchmark.netlify.app/result

Xeamek··on Web browser as GUI, with your preferred language in the backend
Synthetic benchmarks for some algorithms have little to do with actual performance of real life applications
Xeamek··on Web browser as GUI, with your preferred language in the backend
Is this basically Tauri, but with zig instead of Rust? Or are there some bigger, inherent differences? (Besides tauri being more mature, that is).

Pretty cool

Xeamek··on Android developers no longer need Windows USB drivers
At that point why would I go for the trouble of installing custom rom though?
Xeamek··on Android developers no longer need Windows USB drivers
Does it come with it's own version of the 'core apps' (calendar, phone, calculator etc.) or do You install and use some third party apps from app store?
Xeamek··on Things are about to get worse for generative AI
The post shows many examples where the prompt explicitly avoids any mentions of copyrighted materials but the generated results includes them regardless.

Did you even read the post?

But also, the argument of 'user responsibility' doesn't hold up on its own regardless (imo).

If I make and sell a toy printer that can only ever produce 3 pictures, and all of them contains copyright materials, would you really say that it's fine and responsibility falls under the end user? And I could sell that printer without any issues?

Xeamek··on You've just been fucked by psyops [video]
...or maybe your examples are just extreemely bad and don't fit at all?
Xeamek··on You've just been fucked by psyops [video]
I mean, kinda? But with this logic it's impossible to ever have a freemedia, or anything really. No human is ever free because there are always some incentives, or even needs (financial, social) one has to adhere to.
Xeamek··on You've just been fucked by psyops [video]
Unbearably naive heuristic that application of can be easily manipulated to prove literally any narrative to be 'a psyops'
Xeamek··on You've just been fucked by psyops [video]
? Neither of those are even close to the 99% threshold.
Xeamek··on Challenging projects every programmer should try (2019)
Wait what?

Cpu instructions are literally the easiest part of writing an emulator there is.

Xeamek··on Challenging projects every programmer should try (2019)
>Almost all "programming" problems have been solved. Today's software is laughably inefficient not because we need better implementations of data structures, but because putting all those existing pieces together properly is a neglected discipline.

YES!

But You learn that writing low level code, not high level.

Writing Text editor, or even a compiler, you don't spend much time on algorithm optimization. You spend it on designing good abstractions. You are given basic tools, and have to come up with good architecture on your own. And because you are forced to use more levels then with pre-made libraries (that create the structure for you), you will see your mistakes much faster.

Xeamek··on Challenging projects every programmer should try (2019)
I think your view of low-level projects from scratch is simply wrong, if you describe them as 'algorithmic details'.
Xeamek··on Challenging projects every programmer should try (2019)
While nih is ultimately dependent on multiple different aspects, I would argue that, ironically, it's more likely to create nih-qualifying product with your aproach.

Because when you write things from scratch, you actually have the space to innovate. But when building product with preexisting puzzles, there is much less space to actually make any usefull changes that would make your product actually standout from existing alternatives (which nih is all about)

Xeamek··on The C++20 Naughty and Nice List for Game Devs
>Large codebase (10M+ LOC) that is routinely compiled on your machine

Is that really 'an average' for modern AAA game?

Damn. That's an order of magnitude bugger then I'd imagine

Xeamek··on Intel's CEO says Moore's Law is slowing to a three-year cadence but not dead yet
Exactly this. I lowkey hope for intel and the rest of chip makers to hit a wall, just so we (programmers) will stop getting away with terribly slow software.

I really wonder how would the landscape change if it suddenly stopped being acceptable for even the basic functionality to take the massive amount of resources it takes now.

...Not to even mention economics or environmental impact of it all,

Xeamek··on Show HN: A pure C89 implementation of Go channels, with blocking selects
What about size of stored bool variable? Just using int will take 4 bytes (Or something else, but still bigger then 1), while stdbool will only use 1 byte, no?
Xeamek··on Murder is a pixel art ECS game engine in C#
>Items still exist when you don't see them

I was always wondering about that:

Do they have to? Couldn't you come up with some chunking based system where the game only monitors the 'inputs' for given area and as long as those are stable, skip simulating entire chunk and only generate the output?

Xeamek··on Murder is a pixel art ECS game engine in C#
Since engine is targetting pixel art, isn't ECS a bit of an overkill...?

And yes, technically artstyle has nothing to do with game architecture.

But in practice, most games of this style are pretty small, and thus don't really have any real performance requirements, so ecs'ing everything is overengineering compared to oop-style, coupled architecture, no?

Also related: https://youtu.be/JxI3Eu5DPwE

Xeamek··on You are never taught how to build quality software
To be fair though, jetbrains use case is fairly unique, as they basically want to implement parsing for as many languages as possible, all while doing it in a verry structured and consistent way, with having many other parts of their infrastructure being dependent on that parsing API. I think it's fair to say that those requirements are outside of the norm
← PreviousPage 7 of 14Next →