HNHacker News
TopNewBestAskShowJobs

samiv

1,315 karma · joined April 4, 2024

submissionscomments
samiv··on Singapore govt dating app uses Gale-Shapley stable marriage algorithm
I bet any woman could just scroll down the list of their matches or make a new match with the guy who is not the best looking player guy and immediately have a chat a date lined up.

You know one the nice guys who are always other wise ignored.

samiv··on Singapore govt dating app uses Gale-Shapley stable marriage algorithm
That's of course true. The dating apps goal is to make money. People who actually meet and have dates night leave the platform and no longer pay.

That being said the women's problem is the overabundance of availability of men whereas the men's problem is that they get nothing. So women at least CAN go out on dates if they just choose to.

samiv··on Singapore govt dating app uses Gale-Shapley stable marriage algorithm
All dating apps are misclassified. They should be under contraceptives.

The same problem on every platform. 80% men and few women who get so picky that most men will never reach their standards.

I fear for most young men dating is over. And I fear what will happen when societies have large swathes of men with no connection to society, no jobs, no friends, no wives, no families.

samiv··on Software Engineering fundamentals matter more
What a sad analogy. IKEA furniture is mostly cheap particle board crap and it's a shame that we as a humanity have cheapened our lives to the point where IKEA is some kind of standard (and the only thing) most people can afford. Back in the day furniture was artisanal and hand made yet people were able to afford and have it. Isn't that in fact weird, supposedly our societies are richer than ever before but most people can't afford artisanal goods that our forefathers would be able to afford even though they were supposedly so much poorer.

(Hint, distribution of wealth matters a lot)

samiv··on Mars Bar from 1991 found – and it's 20g bigger than today's
Summary "In accordance to our customer feedback we decreased the package size and increased the price. "

The business would like nothing better than you to buy nothing but hot air.

samiv··on What happens if an entire class of workers loses faith in their careers
When you have a surplus of poor people that might insinuate insurgency it's always possible (and cheap) to hire one half to kill the other half. Problem solved.
samiv··on Tax cuts for the wealthy only benefit the rich (2023)
Same in Finland. The ruling party (represents the rich and the business owners) gave tax cuts for rich (high income earners and and those who have capital gains). Next they're planning to cut the business tax 4.5 percentage point. Eroding tbe states tax income while the state is already in the hole with a ton of debt. Of course the story is that these will kick off investments and make business boom. Best part is that to compensate for the tax cuts they're gutting the benefits including social security, unemployment benefits (highest unemployment in Europe btw) and calling those people lazy who just need "encouragement" to start working. A real hero pasty.

Similarly incentives to buy EVs naturally only apply to the folks who are better off. Most working class buy cars that are +10 years old. (The average car age is among the oldest in Europe btw)

samiv··on Taste Is All That's Left
Not disagreeing with you but the "resource allocation" which I presume to hint at the fallacy that capitalism is somehow great or optiomal at allocating resources is not really true. Just look at any big company such as meta and see how much inefficiency and bad choices there is.

Stock market as a measuring stick is completely irrational.

samiv··on Born Against, or why hobby programming communities are against LLM usage
When you take away the cost people will treat the result worthless.

For example if you hiking in the mountains, reaching the summit and enjoying the views are valuable experiences to you because it had an associated coast, i.e the physical act of hiking up the mountain. If you take the ski lift to the top it's almost worthless and you have very little appreciation for the views.

I don't see software being any different to this.

samiv··on Born Against, or why hobby programming communities are against LLM usage
"It's not clear how civilisation functions if humans become effectively useless and the only thing of value is one's ownership of wealth producing assets."

You can get a hint of this by looking at the developing countries with high income inequality. Few rich people who typically own all the countries wealth (and access to it's natural resources) while everyone else lives in a slum.

samiv··on Introduction to Data-Oriented Design [pdf]
While the idea is itself not without merit the problem is when people design these data oriented systems without abstractions and in fact it's often difficult to find good abstractions around the data the problem comes when the system, the data and functionality needs to change. There will be problems.

So while it's great to think about the data flow it's also important to think about the abstractions around it,.ie the (system) interfaces that let the system evolve without having to propagate changes everywhere while reaping the benefits of data orientation.

samiv··on Kill The Cookie Banner
I find the cookie banner always ironically wrongly labeled. Everyone claims to "respect your privacy" while actually disrespecting the privacy. If they did actually respect the privacy they would not use non functional tracking cookies and there would be no need to display the banner.

The answer is simple. Don't use tracking cookies.

samiv··on Learn OpenGL, extensive tutorial resource for learning Modern OpenGL
OpenGL is not obsolete and is totally fine for many use cases. Vulkan is way too complicated and cumbersome for many.

Even if OpenGL doesn't get new features what exists now will continue to work for decades.

samiv··on Who's afraid of Chinese models?
I'm afraid to trust technology coming from companies operating under the jurisdiction of a rogue aggressive nation that is continuously attacking other nations both (so called) ally and foe using economic and military actions.
samiv··on US gas prices hit an average of $4 a gallon again
3 miles is less than 5km. Perfectly fine by bicycle. Oh wait.. I guess you have too much freedom and no infrastructure other than highways so you gotta drive and burn all the fuel, time and money.
samiv··on Is this the end of the once-mighty GoPro?
The western countries deindustrialized themselves though. That's just capitalism chasing ever increasing profits and moving production to where it's cheaper, i.e.from west to China. In fact this was cherished because it increased share holder profits.
samiv··on Greece Is Richer. So Why Do So Many Greeks Still Feel Poor?
Yep. I'm not an economist but my social democratic common sense would tell me to look at the bottom 10% income bracket and see how they're doing.

Incidentally these people are the best economic citizens because if you give them money they'll spend every cent of it because they need to buy food and energy, use health care and pay rent.

In other words if a rich person gets a million they (if they're sane) spend a fraction of it and put the rest in assets, stock market, property, etc. If you give 1000 poor people each 1000e every cent will go into local economy immediately.

samiv··on Greece Is Richer. So Why Do So Many Greeks Still Feel Poor?
There's no paradox here. Distribution of wealth matters. Rich got richer and everyone else didn't. Simple as that.
samiv··on Oracle shed about 20k roles globally in the last year
It doesn't play golf at the club with the C level.
samiv··on Steam Machine launches today
This and plenty of other problems that plague the society now and over the past centuries could be solved by eliminating the distinction and gap between "rich" and "poor".
samiv··on Ported my C game to WASM, here's every bug that I hit
You can call JS in which you can manipulate the DOM.

Of course architecturally (also regarding your file access) it's better to use the wasm for logic as much as possible where the web (HTML/JS) provides the UI and IO, data flows into wasm for work and results flow back to the web.

This also has the benefit that you can keep your original C/C++ source code much more platform agnostic which helps reusability and testing.

samiv··on Windows 11 users are tired of MS account requirements creeping into everything
Why would they need to be any more worried about those now than before?

The same holes exists and have existed for some time already. If he was not worried about them before why be worried about them now? And if you're worried about security holes why not be worried about the ones that exist now?

In general I find it funny that some people think that system is "secure" when it's on the latest version. At time t0 version N is considered "secure" then an update is made at t1 with version N1 and suddenly N is no longer secure. But it didn't change... it's the same version it was before.

Fact is a computer system is never going to be 100% secure.

samiv··on How to earn a billion dollars
Yeah and it took about 150 years until industrial revolution started to actually benefit the common people and the workers started to have their working conditions improved.

What it took was social democracy and unions and other social movements.

Saying that "it's happened before, it'll be alright" is a bit naive and short-sighted.

samiv··on Exceptions should not be handled – they should be aggregated
User entering wrong input is a logical condition and typically handling a logical condition (point being it's not an error from the software's operational point of view) using tools that allow easier logic flow (i.e. error codes) etc.

Out of memory error can happen in many environments because for example in C++ it's about the allocator. You might have a custom allocator with some limit that has no bearing whatsoever what the OS does.

  * Use asserts/panics for bugs.
  * Use "error codes/values/enums" for logical conditions (that are errors to the user, not errors to the software)
  * Use exceptions for unexpected errors in the execution of the software (normally more or less just resource allocation failures)
samiv··on Leaving Mozilla
Why can't people just leave? What compels them to write these lengthy self grandiosing posts "zomg I'm leaving company X".
samiv··on Twenty One Zero-Days in FFmpeg
Gstreamer is a multimedia framework where the user creates media DAGs by placing video/audio/multimedia elements such as demuxers, decoders etc in a pipeline. The framework then takes care of running the media pipeline and handles the data buffering etc.

Within the framework there are multitudes of plugin packages that contain said elements and many of them are built on top of ffmpeg.

samiv··on If you are asking for human attention, demonstrate human effort
Either you were a head above the rest of the team and had the intellect to produce high quality value adding work, or then you were the "move fast break things" type of guy producing a lot of extra liability and work for others.
samiv··on The Road to the WASM Component Model 1.0
Sorry but how exactly does the sandboxing help? You download and run an app that you expect to be useful and that you need. The app needs permission to access your data. If you want to use the application what choice do you have except to grant it access?

Point being you wouldn't run untrusted code in the first place and for "trusted code" you end up accepting it's access requirements anyway.

So logically I'd think that the malware would just get piggy bagged into actual non-obvious utility apps and nothing is gained.

Second problem is that the security model hoops make for terrible APIs and user experiences. Just look at the current filesystem browser APIs. It must be mentally challenging to design APIs to Be usable and the nerf them for security purposes to make them "not too usable".

Finally one must note that at least right now the webasm ecosystem is rather immature and the de-facto only tool (emscripten) is an amateur hour hobby project. So it's going to take some decades still before the tooling is really getting there.

samiv··on I'm Eric Ries, author of "The Lean Startup" and new book "Incorruptible" – AMA
so let's call it what it is then? Corrupt individuals instead of "financial gravity"
samiv··on I'm Eric Ries, author of "The Lean Startup" and new book "Incorruptible" – AMA
Was it "financial gravity" that made the decision at VW to install emission cheat devices?

Was it "financial gravity" that made the decision at Google to cheat at the ad exchange?

Was it "financial gravity" that made the decision at DuPont to dump toxic sludge in the environment and make unsafe products?

Or perhaps was it just a group of immoral people chasing more personal gain and wealth?

Humans are too weak and too easily corrupted by wealth, power and shiny things and our political and economic systems place way too much power in the hands of fallible individuals. I expect it to be our downfall.

Page 1 of 13Next →