News for hackers. Stuff that matters.

leloctai

The other day a professional gamedev was arguing with me that's Transform.GetChild to get a reference to a component was not a bad practice. His argument is that it's what every other firms in his area is also doing. I do hope that was not the truth and he was just trying to win the argument.

For solo hobby dev it is a lot more acceptable. After all they're also terrible 3d modeler, concept artist, musician, writer, marketeer, community manager,...

Doesn't hn clean article titles? This is a classic click baity one. Most of these are just basic features. Some are unused for good reason.

- Property: the inspector doesn't call your getter or setter. I do use them still because i like to centralize my validation logic. But need custom machinery to make them behave consistently.

- Tuple: well-known. Good but only in moderation.

- Linq: people avoid it due to allocations, not runtime. While it is possible to avoid dynamic alloc, it is not obvious and best avoided. Also the point about the linq syntax being "cleaner" is debatable.

- Record: good. Lesser known as it's the newest in the article. No footguns like the other.

While it is nice that this is human written, the seo format is nearly as annoying as those ai articles.

This was never about safety. It was all about control. Desktop OSes have always allow installing any softwares and the world is still spinning. Not even macos overreach this hard.

There's no solutions because they specifically crafted the problem to not be solvable. No amount of compromises will stop them from advancing further.

If a decade worth of cost of living is considered minimal resources, successful indie games wouldn't be so disproportionately Scandinavian
Re:The HTTP Query Method on Saturday November 29, 2025 @10:48PM (#46093492)
As inefficient as encoding everything into the URI is, I really enjoy being able to bookmark and share specific filter configuration. More than one I've seen some sites with UI so bad, that manually editing the url is the easiest way to get it to do what i want.
Re:Fluid Glass on Saturday October 04, 2025 @06:45AM (#45472358)
Refraction is not as expensive as people would led you to believe. That said, this demo is ran at a very low resolution. Probably because it doesn't take devicePixelRatio into account. On my phone that's 3.5 so more than 12 times less pixels than would be required if you want crisp UI.
Re:Steve Jobs would have fired everyone on Thursday June 12, 2025 @01:38AM (#44254579)
I don't like the lack of contrast either. But they have to use a small blur kernel otherwise the glass distortion would not be noticable
Re:Steve Jobs would have fired everyone on Thursday June 12, 2025 @01:36AM (#44254573)
That's not hard to solve, you just need a good blending algorithm. For example: https://leloctai.com/asset/translucentimage/image/flatten.we...
Timing comparison with the reference is very disingenuous.

In raytracing, error scale with the square root of sample count. While it is typical to use very high sample count for the reference, real world sample count for offline renderer is about 1-2 orders of magnitude lower than in this paper.

I call it disingenuous because it is very usual for a graphic paper to include a very high sample count reference image for quality comparison, but nobody ever do timing comparison with it.

Since the result is approximate, a fair comparison would be with other approximate rendering algorithm. Modern realtime path tracer + denoiser can render much more complex scenes on consumer GPU in less than 16ms.

That's "much more complex scenes" part is the crucial part. Using transformer mean quadratic scaling on both number of triangles and number of output pixels. I'm not up to date with the latest ML research, so maybe it is improved now? But I don't think it will ever beat O(log n_triangles) and O(n_pixels) theoretical scaling of a typical path tracer. (Practical scaling wrt pixel count is sub linear due to high coherency of adjacent pixels)

I'm not very well versed in RE, but I know that competitive games like this spend a lot of effort in preventing you from attaching debuggers, hooking and decompilation.

By passing this is not mentioned at all in the article. Is this because they're trivial to bypass for experienced people, or because they want to hide their method from the dev?

Re:New standards for a faster and more private Internet on Thursday September 26, 2024 @10:03PM (#41665566)
Many such countries already block traffic with ECH entirely. There's no technical solutions to a polical problem.

I remember when you can just change your DNS provider to bypass censorship. Nowadays, browsers and OS provide safe DNS by default, and thus censors had mostly switched to DPI based method. As this cat and mouse game continue, inevitably these governments will mandate spyware on every machine.

These privacy enhancements invented by westerner only work for western citizens threat model.

Re:New standards for a faster and more private Internet on Thursday September 26, 2024 @09:55PM (#41665526)
Freedom of information is an existential threat to authoritarian states. There is no amount of money they're not willing to give up if it mean they stay in power.

That's said, it will not come to that. They'll just mandate spyware installation.

Re:Mira Exits OpenAI on Wednesday September 25, 2024 @10:25PM (#41653909)
Doesn't seems like it was written by ChatGPT. I find that amusing somehow.
How do people maintain motivation on projects like this? Repeatedly having to order parts and wating for them to arrive, especially the one from China, make me abandoned an unfortunate amount of projects.
Re:How Simultaneous Multithreading Works Under the Hood on Sunday July 28, 2024 @10:37PM (#41097558)
Does anyone know how to search for this type of detailed technical articles?

I've searched for this exact topic. As expected with kind of end user facing techs, the search results are always end user oriented article that explain nothing.

Re:Starcraft (A History in Two Acts) on Sunday July 07, 2024 @08:18AM (#40897085)
The blog is interesting, but it is about sc1. Pathfinding in sc1 is so terrible that moving units where you want is part of what's make one a pro player.
Re:Starcraft (A History in Two Acts) on Sunday July 07, 2024 @04:12AM (#40896004)
I've yet seen another game with as good pathfinding as StarCraft 2. The way 100s of units flow around another 100s of moving units like water is very impressive, even today.

Does anyone know what's the special sauce?

How will users find the new domains? If they can reliability do so then dns is not needed in the first place. If not, then the laws are effective.
Re:GPU advancements in M3 and A17 Pro [video] on Friday November 10, 2023 @04:32AM (#38216858)
Does the complex block in the diagram refer to complex numbers? That doesn't sound typical, does it? What type of work load that typically run on the GPU that would require complex numbers?
Re:uBlock-Origin – 1.53.0 on Wednesday November 01, 2023 @07:02AM (#38096761)
I'm already allowing prefetching
Re:uBlock-Origin – 1.53.0 on Wednesday November 01, 2023 @07:00AM (#38096748)
In fact there are multiple switches you have to turn, however I've made sure to check all of them.
Re:uBlock-Origin – 1.53.0 on Wednesday November 01, 2023 @06:59AM (#38096742)
Do you mind sharing your ubo settings?
Re:uBlock-Origin – 1.53.0 on Wednesday November 01, 2023 @06:58AM (#38096734)
Do you mind sharing your ubo settings?
Re:uBlock-Origin – 1.53.0 on Wednesday November 01, 2023 @06:58AM (#38096732)
Do you mind sharing your ubo settings?
Re:uBlock-Origin – 1.53.0 on Wednesday November 01, 2023 @04:00AM (#38095657)
Which is a horrible design on Android. Firefox on my (admittedly relatively old) phone take 20s to load the first page when browser start with uBlock enabled. On desktop this is fine as it only happen once a day. But on the phone it happen a lot since apps getting killed is a normal thing.
I live in Vietnam, phone theft is relatively prevalent here.

My dad once got tricked into buying an icloud locked phone. I was very sure it was a loss cause, but he tried bringing it to a local repair shop anyway. They removed the lock in a few minutes for something like 100usd.

Apparently at least some of those icloud unlocking ad that I always thought were scams are actually legit. So these locks may not be as effective as Apple may want you to believe.

Big corp will always have more data. Even just the web, search engine have a big head start. Then there are "private" data that big provider use for "improving our product": emails, word documents, chat messages, non public social media posts,...
The last time I tried some pi derivative, many softwares doesn't work on them. If there is a fix, it usually involve self compiling the broken software, along with some of their dependencies. Of course they're all using different build system that you have to learn. The labor cost of that is probably greater than the cost per unit of the hardware. Especially since pi-based products are necessarily low volume.
Re:Difftastic, the fantastic diff on Wednesday September 07, 2022 @07:15AM (#32749095)
Have you heard about our Lord and savior S-expression?
Re:Web scraping via JavaScript runtime heap snapshots on Friday April 29, 2022 @10:45PM (#31212913)
This isn't future proof at all. Game dev had been using automatic memory obfuscation since forever. If this become popular, it will take no more than adding a webpack plugin to defeat, no data structure changes required.

Older »