HN user

farzher

137 karma
Posts6
Comments49
View on HN

Amazon calculates a product's star rating using machine-learned models instead of a simple average.

lmao! i thought you linked me to an April fools page for a second .-.

"63% of reviews are 5 stars" but when you filter to 5 star reviews, there's zero. small indie company. i'm guessing this is all just an excuse for Amazon to inflate their numbers

jai's irrelevant to the performance here, but it's very relevant to how easy this was to make. i'm not a systems programmer. i've tried writing hardware accelerated things like this in C++ but have failed to get anything to compile for years. the only reason i was able to get this working is because of jai. this is my first time successfully using openGL directly, outside of someone else's game engine

you can write 100% of the code on the gpu. but that's impractical to work with. i did that here to see how fast webgl can go, since javascript is so slow https://www.youtube.com/watch?v=UNX4PR92BpI

for this bunnymark i have 1 VBO containing my 200k bunnies array (just positions). and 1 VBO containing just the 6 verts required to render a quad. turns out the VAO can just read from both of them like that. the processing is all on the CPU and just overwrites the bunnies VBO each frame

you're not missing anything, it's not impressive. i was just checking how fast computers are and sharing the results. my original title was "an optimized 2d game engine can render 200k sprites at 200fps" but the mods changed it to match my youtube title (which made it a lot more popular). and the fact it's written in jai isn't relevant, it's just what i happened to use

it's a lot of fun! jai is my intro to systems programming. so i haven't tried this in C++ (actually i have tried a few times over the past few years but never successuflly).

this is just a test of opengl, C++ should be the same exact performance considering my cpu usage is only 7% while gpu usage is 80%. but the process of writing it is infinitely better than C++, since i never got C++ to compile a hardware accelerated bunnymark.

the only bunnymarks i'm aware of are slow https://www.reddit.com/r/Kha/comments/8hjupc/how_the_heck_is...

which is why i wrote this, to see how fast it could go.

in California the fastest internet available to me is 50Mb/s. and it constantly spikes to 1000ms pings.

i saw a dude living miles off-grid in Sweeden with a fiber connection routed to his tiny house in the woods ...

wtf is the color of 0cf4c7.png ? it's different in every browser, and even when you download the file, it's again different in every program that opens it. this is not just a browser issue.

the Photos app on Windows 11 renders it as 01f4c7. almost 0 red. (although come to think of it, maybe the Windows 11 Photos app is an embedded browser, lol)

the article gives a bunch of examples where gpt-3 gives a bad answer, until the next day where if you ask the same exact question now it has a good answer ready

Gary: Does grape juice taste better if you add sour milk?

GPT-3, March 18: I’m not sure if grape juice tastes better if you add sour milk.

GPT-3, March 19: No, grape juice does not taste better if you add sour milk.

cosmetic cash shops is actually the best thing to happen to video games. i remember back when most multiplayer games were pay2win! now that's not a common thing anymore thanks to people paying for cosmetics