HNHacker News
TopNewBestAskShowJobs

mfost

88 karma · joined February 17, 2021

submissionscomments
mfost··on Lua, a Misunderstood Language (2021)
Saying it's strictly better is exaggerated. The benefits of 0 indexing are well known and mostly revolve around the fact you tend to have far less fiddling with -1 and +1 as you write code.

How do you access the item in a 2D array represented on a flat array? my_array[x+ywidth]

But what is all that starts at 1? my_array[x+(y-1)width]

I did a lot of code in both systems and I remember distinctly that 1.. indexing just was more work to do, in turn bringing in more off by 1 bugs.

mfost··on Lua, a Misunderstood Language (2021)
Of course they don't. They use decimals and say the baby is one week old or so.

As for indexing from zero, it's best understood as indexing the position just before elements in an array. Where things will be inserted if you insert an element etc...

mfost··on Unity is acquiring a company who made a malware installer
Only small devs stick to the basic contract. Bigger games that expect to bring in a lot of money will go for a custom contract with Epic instead.
mfost··on 7-zip 22.00 – APFS, Posix TAR, high precision timestamps
Are you trying to drag and drop the files to the destination in a file explorer window? Because when I use "extract" and point the destination folder I don't think it does what you say.
mfost··on The true cost of linked lists
> Big-O assumes that only asymptotic behavior matters, but real-world workloads have finite input sizes

Well I did have a CS teacher that said that O(log n) is basically O(1) because in practice, n usually will fit it in a 32bit and log n then is 32 at most :D

It might have been said in jest in part but really it's not that far fetched.

mfost··on Square-Enix sells all of its Western game studios and their games to Embracer
Except that the other MMO economies are horrible to play in. FFXIV is a lot more fun than say GW2 economy driven game.

Subjective you'd say? Maybe but it does show that maybe they know better about what a game needs than you think.

mfost··on Epic Games acquires Bandcamp
But they don't do gambling. Why is that lie still going on years after it was first invented?
mfost··on Epic Games acquires Bandcamp
But there is no gambling in Fortnite and shortly after Epic acquired Rocket League they removed their loot boxes too.

The only gambling there was in Fortnite was in the paid version of the game that nobody really played anyway. The game that is actually popular doesn't have it.

mfost··on The worst volume control UI in the world (2017)
This doesn't work for alpha blending since even if you output the color in the right space, the GPU might do blending in sRGB space and mess things up.

Best is to properly declare the target framebuffer as sRGB (if it is) and output linear colors while letting the GPU deal with it.

mfost··on The Byte Order Fiasco
I'd say, putting multiple of those types into a struct that then perfectly describes the memory layout of each byte of data in memory/network packet in a reliable and user friendly way to manipulate for the coder.
mfost··on Modern C and What We Can Learn from It [video]
This completely ignores the advantages they have in code readability and reliability.

I can well deal with a little extra effort to order the initializations for those benefits.

Now, if you complained about the burden on refactoring member orders it poses on the other hand?

mfost··on EU says Apple’s App Store breaks competition rules after Spotify complaint
No they sue Google for a different reason althougher. On how they blocked OEMs from making a deal with Epic to include their store/launcher on phones (thus allowing it the same capabilities for autoupdates and the like than the Play Store)
mfost··on Google and Apple attacked on app store 'monopoly'
Imagine if you could buy apps on iPhone, switch to an Android and not lose access to your whole app library?
mfost··on Women's Pockets are Inferior (2018)
That's basically option C really.
mfost··on Shopify says remove Stripe billing or get booted from their app store
Is it impossible to reach and provide your service to Spotify merchants without going through the Spotify app store? If yes it's hypocritical, if not then the situation is totally different than what is going on with Apple.
mfost··on Epic will pay off class-action loot-box settlement with in-game currency
Don't let the drama fool you though. Epic only had those RNG loot boxes in the "Save the World" Fortnite game which is entirely different from the actual popular phenomena that is the battleroyal one. That and on Rocket League which they bought in that state while they were only implementing the standard TF2/Valve model of lootboxes. And when bought they made them switch to a non lootbox model.

As such, that class action lawsuit is rather clickbait by itself. It rode on the popularity of "Fortnite BR" to make it look like Epic was selling tons of lootboxes to kids when the reality is they had so few players of Save The World it probably had a rather insignificant impact on kids getting exposed to gambling.

mfost··on Epic Games steps up Apple fight with EU antitrust complaint
The ability to purchase a game on iPhone then use it on an Android next because I decided to change phones is invaluable for customers.

This is something I'm pretty sure Epic would provide with their own app store.

mfost··on Show HN: 3D Meshes of Signed Distance Functions in Python
If you want to go even deeper than that: https://www.youtube.com/watch?v=8--5LwHRhjk
← PreviousPage 2 of 2