HNHacker News
TopNewBestAskShowJobs

EarthLaunch

1,039 karma · joined January 20, 2011

Web/game dev for a couple decades. Gmail.
submissionscomments
EarthLaunch··on Space After Periods (1993)
Edit: -
EarthLaunch··on News is bad for you – and giving up reading it will make you happier (2013)
My favorite meme on the subject: "Marcus Aurelius has already released you from the obligation to have a take":

> 52. You are not compelled to form any opinion about this matter before you, nor to disturb your peace of mind at all. Things in themselves have no power to extort a verdict from you.

EarthLaunch··on Eyewitness Accounts of the 1906 San Francisco Earthquake
Can ML be trained to turn written accounts into images? Based on comparing current written accounts to current images. That seems like it could make the past feel more real.
EarthLaunch··on Isn’t That Spatial?
I read up until this:

> Two grand a year rivals the lease payments on an entry-level car.

So I can lease a very crappy car or own an awesome headset? Easy choice.

> Back at HQ, the iPhone, possibly the most utile product in history, costs $1,000 and is viable for three-plus years.

2 years max if your phone is important to you. Why 3 years for the phone but not the headset?

> Splurging on an 85-inch 4K flat-screen TV will cost you $1,500, but it will last about seven years,

And be incredibly less useful by every single measure. Who even watches TV?

> and your entire family gets to watch at the same time.

Great, I'll have my nonexistent kids invite the grandkids. What a money saver while we consume Netflix instead of doing something interesting.

Anyway, point is it's being deliberately biased.

EarthLaunch··on VR optics and why IPD means too many things (2019)
Wow, what a fun and knowledge-filled article. It felt like reading Feynman.

Just casually browsing HN, this solves a problem that's been bugging me for months in my game: The world is scaled in feet/inches, while WebXR uses meters/cm to set ICD (virtual camera distance)! I think- based on my getting unusually nauseous.

I thought the solution was to scale the world, but there's more to it - and I think the solution is to reduce camera translation motion by the scale difference:

> Specifically if you translate your head sideways by the distance of your IOD, your left eyeball should now be seeing what your right eyeball was seeing. If it doesn't, the brain worries that something bad has happened, and makes you feel bad about it.

> Note that if you scale BOTH – you move the virtual cameras closer together, AND you reduce the in-game motion of the cameras due to head motion – everything is totally fine! The world just grew or shrank magically, but it all still works and you don't get nausea.

You may wonder why in hells a programmer would use imperial units instead of metric. It's to give the game a sense of being human-scale and pre-civilization. Why not just use metric and then convert everything to imperial for display purposes? Because then during debugging, units in logs constantly have to be converted to units shown, and the conversion isn't identical. It never bit me until VR!

EarthLaunch··on Why do recipe writers lie about how long it takes to caramelize onions? (2012)
The title edit saves characters but makes it less funny! Original title:

> Why do recipe writers lie and lie and lie about how long it takes to caramelize onions?

> lie and lie and lie

Those recipe writer propagandists!

EarthLaunch··on Show HN: Aimless.js – the missing js randomness library
Thanks for mentioning others. The main thing I love about OP's library is the simple, clear naming. A lot of complexity has been solved for me.

Looking at random-js, the barrier to entry is higher. I've looked at randomness libraries and that's the feeling they gave me: That I would need to learn how randomness works, rather than just calling a function for what I want; a random int, a weighted random. Cmd+F "weighted" doesn't find anything on both of those projects' readmes.

There's a tradeoff for simplicity, but in many cases I'll take it. This is the iPhone of randomness and that's what I needed to feel comfortable using it rather than rolling my own.

EarthLaunch··on Show HN: Aimless.js – the missing js randomness library
A while back there was a post about a randomness bug in Asheron's Call, the "Wi flag" [0]. I posted a comment there and was offered helpful answers about doing weighted randomness [1].

This library seems to solve that problem and half a dozen others! Like: Reading code with functions named for their purpose is better than a string of arithmetic operations in most cases. Thank you for sharing this! Will use in my game! [2]

    const weightedDiceRoll =
    weighted(
        [1,2,3,4,5,6],
        [1,1,1,1,1,10]
    )
    // will return 6 much more often than the other options
0: https://news.ycombinator.com/item?id=34742505

1: https://news.ycombinator.com/item?id=34742985

2: https://github.com/Suncapped/babs

EarthLaunch··on GPT detectors are biased against non-native English writers
Morally wrong?

- but there's a crisis!

- made up statistics

- think of the children

EarthLaunch··on A guidance language for controlling LLMs
Use LLM for the broad strokes, then fall back into 'hardcore JS' for areas that require guarantees or optimization. Like JS with fallback to C, and C with fallback to assembly. I like the idea.
EarthLaunch··on Show HN: I built a multiplayer voxel browser game engine
I just checked out noa - I'm shocked that Minecraft Classic just went and used it without much contact? That's a really huge feather in your hat. Would you have done anything differently about that? (I just switched from MIT to AGPL, so this has been on my mind.)

Babylon.js, cool. How did it do with voxels, or how did you work with it? If you feel like answering. I used it previously on my project.

I have to check out all the other games on that list [0].

0: https://github.com/fenomas/noa

EarthLaunch··on Show HN: I built a multiplayer voxel browser game engine
This is cool! Thanks for sharing! I love how there's already gameplay.
EarthLaunch··on Show HN: I built a multiplayer voxel browser game engine
Or don't ever realize it was a mistake...ahem.

Then it's like Alice in Wonderland.

EarthLaunch··on Show HN: I built a multiplayer voxel browser game engine
This is amazing! I read everything. I completely agree about the state of the 'big three' engines.

> My focus is still on browser multiplayer experiences.

Here's mine: earth.suncapped.com (https://github.com/Suncapped/babs)

It's been ongoing for 12 years, with several burnouts and rewrites, hah.

If you want, I would love to talk offline (email in profile) about player-freedom, MMO projects, and browser games. I feel like some of us have a shared history going back to older MMOs [0] and Flash browser games [1].

On my project, I sneaked past the hard networking problems by settling on tile-based movement. It worked for Ultima Online and I still believe in it. It scales really well. Networking zones measure 1000 x 1000, and tiles are 4 units, so X and Z can each be stored in 1 byte. This also helps with storing and transmitting tons of objects. See the page load time.

Actually, I sneaked past a lot of difficult things, which is what strikes me about your work - you solved hard stuff directly. I haven't tried to integrate skeletal animations into my Blender pipeline yet. Yikes. I barely know how to write cameras, whereas you made a cross-platform one and blogged about it.

> shared client & server game code

How did this one go? I ended up literally doing a `ln` for shared frontend/backend files.

> React+Redux setup was too much performance overhead for the real-time gameplay section.

This is such an interesting aspect of web games: HTML-based UIs. I went with Svelte because I was curious about it. It is SO much easier than doing a game UI yes. But the "line" between web UI and game UI keeps being a problem. For example, when a player drags an object into a UI backpack: That object's graphic needs to change from 3D mesh -> mouse cursor -> png icon. Craziness. I might scupper the whole thing.

A bit of a ramble, but in conclusion, wow!! Thanks for sharing this.

0: UO, Lineage, you said Exteel which I'd like to learn about.

1: (First Earth had a Flash version lol. Also a Babylonjs version.)

EarthLaunch··on Mouse scroll wheel acceleration, implemented in user space
I used to use Steelseries Exactmouse, but now we have https://github.com/linearmouse/linearmouse
EarthLaunch··on Replacing my best friends with an LLM trained on 500k group chat messages
'Permutation City' by Greg Egan had this.

https://en.wikipedia.org/wiki/Permutation_City

EarthLaunch··on Programming-language popularity by GitHub pull requests
Agreed, but I’m looking for what’s next, not the current state of the industry or jobs. I’m riding the JS/TS wave for a while but I can already imagine improvements. If a language is rising, I’ll check it for those needs.

Nix has been getting attention among my friends. I’m still in “wait and see”. The next big thing after TS won’t be an incremental improvement. It will solve big problems like:

- Too many ways to do things. (Remove ambiguity. Instead, make choices for me so others’ code is predictable. Apple approach. Does Swift do this?)

- Naming suffering from backwards compatibility. (For…in vs for…of etc.)

- AI integration?

PHP is losing to JS due to 7.0 or whatever. Scala surprised me!

EarthLaunch··on Database “sharding” came from Ultima Online?
I still have the map! https://i.imgur.com/hDQulgr.jpeg

Games have always been at the forefront of software innovation. I love working with them.

EarthLaunch··on SpaceX moves Starship to launch site, and liftoff could be just days away
You're right. It's marketing. (The other replies with new accounts are missing your point.)

Unless we consider it a ship for our star, rather than a ship to the stars. Though in a certain sense, it could lead to a ship to the stars.

EarthLaunch··on SpaceX alums are branching out and shaping the startup economy
It's a bad system that allows that and popups to be incentivized. The worst systems are created with the best intentions. Is ignorance an excuse?
EarthLaunch··on In the age of AI, don't let your skills atrophy
Maybe it'll be like hard goods; a blender you buy today is made of moulded plastic and lasts 5 years, instead of being metal and made to last 20 years. For 1% of the price.
EarthLaunch··on Online daters are less open-minded than their filters suggest
Contrasting online dating with my imagination of "village dating":

In a setting with a small selection, I find I naturally look for qualities - things I like about someone I'm around. If someone has a couple of nice qualities, that's enough to enjoy their company.

In a setting with a large selection, I try to narrow the difficulty of the choice by looking for disqualifiers - things I don't like about people.

I wonder how this relates to happiness.

EarthLaunch··on ChatGPT's Chess Elo is 1400
An arbiter determined that Inarkiev made an illegal move and Carlsen did not. Interesting article.
EarthLaunch··on Ok, it’s time to freak out about AI
I love this because I want more emphasis on this between humans. I hear there are languages with built in confidence expression.
EarthLaunch··on Zantac’s maker kept quiet about cancer risks for 40 years
Yes :( luckily it may be okay, being in the category “Possible anticholinergics include those listed with a score of 1”.
EarthLaunch··on Zantac’s maker kept quiet about cancer risks for 40 years
Thank you, this led me down a really interesting rabbithole about age-related dementia and anticholinergic substances. Best tidbits:

1: "Anticholinergic Accumulation: A Slumbering Interaction between Drugs and Food Supplements" https://onlinelibrary.wiley.com/doi/full/10.1111/bcpt.12437

2: Chart of medicines with high ACB scores (higher is worse) - you will recognize some of these, such as allergy and anti-nausea meds: (pdf warning) https://corumpharmacy.com/wp-content/uploads/2020/08/Anticho...

EarthLaunch··on Wi Flag (2002)
First dent in my anti-leetcode opinions. Thanks.
EarthLaunch··on Wi Flag (2002)
What is the general benefit to a quantum random number generator versus a regular one? Is it that it's more truly random, or has a better distribution, or?
EarthLaunch··on Wi Flag (2002)
Right, I'm using a percentage. The article's bug reminded me of this directly!
EarthLaunch··on Wi Flag (2002)
Thank you very much! That led me to a JS clone[0].

Python has amazing math libraries. I use numjs[1] for everything, which is a port of numpy. I frequently wish I had use of Python's libraries.

0: https://github.com/parmentf/random-weighted-choice

1: https://github.com/nicolaspanel/numjs

← PreviousPage 3 of 13Next →