HNHacker News
TopNewBestAskShowJobs

mooman219

1,270 karma · joined December 3, 2015

Rust shill
submissionscomments
mooman219··on Improving texture atlas allocation in WebRender
The skyline algorithm is definitely very pleasant to work with and has some impressive results! Adding additional heuristics on top of it is also very straightforward which is great.
mooman219··on Why Zig when there is already C++, D, and Rust?
<rust evangelism strike force>

It sounds like the complaints here are operator overloading, global allocator by default, and metaprogramming. I think the value of these features are certainly not objective, but it's not a very compelling argument to avoid a language because of them.

As for optional standard library support, this is actually really common in Rust and is a breeze to support. Just annotating [no_std] basically gets you there libc wise. There's even additional restrictions like [no_core] to remove even more. I believe this should be noted.

I think the author missed an opportunity to really drill into actual pain points like the steep learning curves to c++ and rust, and where/if Zig excels in specific examples.

</rust evangelism strike force>

mooman219··on Google Photos will end its free unlimited storage in June 2021
Yeah I was confused when I saw this post, I still have unlimited original on my pixel, and if that eventually transitions, unlimited high quality.
mooman219··on Complex text layouts progress report in Godot game engine
Subpixel text rendering also requires intimate knowledge of the display being rasterized for, and becomes a mess once you enter multiple displays with different pixel layouts. I was working on support in my font library https://github.com/mooman219/fontdue/, but it quickly becomes not worth it. I'm interested to see your approach to the problem if your project is online!
mooman219··on Apple’s New Era Has Begun
I got a Chromebook for a relative to replace their anemic Windows netbook and it was a large improvement day to day, requiring less support. I use Windows personally, but I have no idea how the low technical knowledge parts of society have managed to survive.
mooman219··on Why Burger King UK wants people to eat at McDonald's
Burger King is rather well known for Guerrilla marketing. They frequently pull events like this that on paper do not benefit them in order to spread brand recognition.
mooman219··on GitHub Source Code Leak
I imagine the risk here is more about embarrassment than a business threat. Github endpoints are still authenticated, and their business is still in providing a service. Propping up, understanding, and maintaining the leaked codebase to use "for free" probably will never pay dividends. Another company referencing this code base when designing their own software will just expose them to needless risk in the future.

I believe this isn't an existential threat to the company by any means.

mooman219··on A tech antitrust problem no one is talking about: US broadband providers
A large number of buildings in Seattle still have Comcast contracts such that Comcast is the only provider allowed. I find it strange that my hometown of Rochester has better better Fiber options than the tech hub that is Seattle.
mooman219··on 1Password for Linux beta
+1 on 1Password's dedication to fixing issues. I had an obscure field selection issue on their web view and pinged the support email. It was fixed a few days later and they updated me on it.

I switched to 1Password from KeePass after 5 or so years because I just got tired of maintaining the data locally and keeping it in sync on my devices that I need the passwords on. I just backup the 1Password database locally now to calm some paranoia.

mooman219··on How Many Decimals of Pi Do We Really Need? (2016)
Here's a java snippit that may be of interest to you [0] by a user called Riven [1]. It should be considerably faster than the lookup table with LERP (not that it really matters at this point since we're just counting nanoseconds on one hand). I recall going down this rabbit hole somewhere around High School as well five or so years ago, and ended up brainstorming potential faster implementations on an old java forum with several users. I believe you have a Intel-Core-i7-8559U, which if userbenchmark is to be trusted, leads me to believe the snippit I linked should be in the 3ns range assuming a warm cache for the lut. Accuracy is configurable based on the sin bits.

[0]: https://gist.github.com/mooman219/9698a531c932c08ccefd86ba7c...

[1]: https://jvm-gaming.org/u/riven/summary

mooman219··on Apple to let Facebook online events temporarily avoid 30% cut
I also recall 3D touch being almost entirely removed at this point.
mooman219··on Study shows proof that a safer UV light effectively kills virus causing Covid-19
Thanks for the clarification, I misattributed users misusing quotes in code blocks as the method to quote a text (which causes some pain on small displays). I've edited the original comment to reflect this.
mooman219··on Nova by Panic
That's fair, the text rabbit hole goes fairly deep and most people aren't aware of the complexities at play. Implementing the glue on its own isn't a trivial task, so the work may have felt like doing it "from scratch". I only took issue with the wording and wanted to be a bit more precise with it on this thread.
mooman219··on Study shows proof that a safer UV light effectively kills virus causing Covid-19
> The band gap of the semiconductor determines the wavelength of the light created. The thing about LEDs is that their wavelength is fixed by the material. If you want a different wavelength, you generally need a different material. Designing materials is hard, which is why the blue led got the nobel prize a few years ago.

> The type of material for UV LED is AlGaN, which will have a layer of aluminum grown on top of GaN on either Sapphire or SiC substrate. Aluminum as metal is conductive, but on AlGaN it is not. To get to a far UV band like 222nm, high density of aluminum needs to grow, which becomes non-conductive. You would need to compensate it with extremely high voltage current to generate really low level of wattage, let alone all the heat it generates. So there is no commercial vitality to it. That's the reason the whole industry on 222nm is on excimer light.

This is a gist of some comments on: https://www.reddit.com/r/Optics/comments/fyqhht/how_are_leds...

mooman219··on Nova by Panic
"Writing our own text layout manager… from scratch". I would be pessimistic of the magnitude of this statement.

I do a significant amount of text engine work and I'm skeptical what they implied by this. The likely case is they glued together other solutions (Like HarfBuzz/FreeType/etc) and expose their own API on top of that. This is perfectly acceptable and even encouraged for accessibility reasons. It may be that CoreText isn't acceptable for their use case.

What I think this would be misinterpreted as them writing the whole stack from scratch. For example, shaping is part of layout and it would be monumental if they wrote their own shaper given even HarfBuzz, DirectWrite, and CoreText do not have complete coverage yet. Additionally, BiDi + line breaking + shaping has bugs even in Chrome on some edge cases.

mooman219··on Game Design Curriculum
The content here is a guide on how to teach the concepts outlined in the curriculum, and is not necessarily a self instruction course. See module one: https://www.riotgames.com/en/urf-academy/fun-and-feeling
mooman219··on Game Design Curriculum
It's extremely difficult in Riot's case to separate the content they make from the culture of their company, and I agree with you that it's not really possible to do. I think that this resource is still an interesting collection of material and it's worth the time evaluating on its merits while keeping the perspective of the company's values in mind.
mooman219··on Game Design Curriculum
(Riot's less than stellar history aside) I see these takes on game design a lot, and they're interesting to see because everyone takes their own stance on how to construct a fun game from distinct smaller concepts. Yahtzee’s Dev Diary [0] talks a lot about loops (And I give it a watch recommendation), while at your average GDC talk you hear about the concept of pillars [1] and their role in shaping games. I'm interested to hear if anyone else has resources on other game design takes.

[0] https://www.youtube.com/watch?v=CbArC2mvokQ

[1] https://www.youtube.com/watch?v=kzQDVtysXjA

mooman219··on Nvidia datacentre revenues surpasses gaming for first time
Current production cycle. At the end of a Nvidia production cycle for a gpu iteration, their gaming sales numbers historically decrease before their new card series is released. I'm not sure about the factors at play that lead into that, but I assume less marketing, lower availability, and high market saturation.

The point of my first comment is that the timing of this breakdown doesn't encapsulate the full picture, and getting a handle on their relative numbers would mean looking at a few cycles over a longer period. I agree that they have "nowhere else to go but up", but the comparison in the article listed is a bit shallow.

mooman219··on Nvidia datacentre revenues surpasses gaming for first time
Isn't this more that they announced new cards coming later this year, and also started swapping over their production capacity for the 20 series over to the 30 series? Datacenter growth is important, but we're in the waning stage of the Nvidia GPU cycle right now. Datacenter growth has some more ground to cover before this breakdown is convincing.
mooman219··on An example of how brands build fake reviews on Amazon
I recall trying to leave a negative review on a set of nail clippers. I assumed it didn't matter how low quality they were, just as long as they cut nails. Little did I know that I received a set of 3 that weren't aligned by what looks like design to cut nails.

I tried to leave a review with what I said above, but it was flagged and removed. I got an email that it didn't meet review requirements.

mooman219··on Top user-made games on ROBLOX played as much as top company-made games on Steam
Some history.

This has been going on in Minecraft for more than 10 years. Large servers can pull millions of unique players a month and have >50,000 concurrent players. Some even employ competitively paid full time engineers. Even fairly generic servers that are well monetized and supported by a large youtuber can pull the range of 6 figures a year.

There's even a solid argument that the earlier predecessors to modern battle royale games were Minecraft Hunger Game servers in as early as 2011. We didn't even get DayZ until mid 2012. Between the ease of the bukkit API, ease to setup a server, and flexibility of the client, there was a lot of rapid prototyping of what essentially were software startups going on back in the earlier days. I'm not sure what the scene looks like today, but it was a blast back then.

It's really amazing to see games that can host mods in an accessible way doing well. I wonder how much better Minecraft could have been if they weren't actively hostile to developers.

mooman219··on Stacked images of the comet, photobombed by Starlink satellites
Still a good comparison to see the relative costs of the components involved.
mooman219··on A random sampling of internet service prices around the world
This article's dubiousness feels like the news effect, where if the news reports on something in your domain then you can tell it's complete garbage, but when they switch topics they're suddenly reputable again.

I'm doubtful that any of these prices are representative of what the majority of the population has access to.

mooman219··on Stacked images of the comet, photobombed by Starlink satellites
Which is an order of magnitude less than a cell tower.
mooman219··on A $500M call option on home gyms
+1 for gamification. I just got the Ring Fit Trainer for the Nintendo Switch and it has been pretty enjoyable.
mooman219··on Where Am I? NYTimes or Google?
Just hearing about this from the thread, I'm getting a IPFS vibe from this. It would be interesting to see that tech get more native integration with the browser from this idea.
mooman219··on Greatest Java apps
The "Java is bad for games" mindset is in part just historical bias. Performance and GC are thrown around as shallow excuses for comparing idiomatic Java with game design C++. Actually applying methods to reduce memory pressure like using arenas, and accepting vectors to mutate instead of creating new ones solve most of the GC penalty you paid for not having to think about it while prototyping. Large servers in java minecraft patch the server to do just that, and they operate well. I think the biggest barrier for Java in Games is the stigma and lack of resources relative to C++.
mooman219··on Intel Discloses Lakefield CPUs Specifications
Tons of asterisks here, but: You'll have to explicitly write the code to do that at runtime if APIs are provided to do so. When you build for a target, say x86, you're usually targeting the lowest common denominator that you're willing to support and the compiler might not output less supported instructions even if the CPU it's compiling on supports them.
mooman219··on A Google Cloud support engineer solves a tough DNS case
I think the issue with bad CPUs is that they'll unreliably error.
← PreviousPage 3 of 10Next →