HNHacker News
TopNewBestAskShowJobs

Ono-Sendai

839 karma · joined September 6, 2012

my blog: http://www.forwardscattering.org/
submissionscomments
Ono-Sendai··on January 1928: Dirac equation unifies quantum mechanics and special relativity
The first thing to understand is that multiplying a complex number by i rotates the complex number by 90 degrees counter-clockwise around the origin. For example, 1 * i = i (e.g. 1 + 0i is mapped to 0 + 1i). And i*i = -1 (e.g. 0 + 1i is mapped to (-1 + 0i) and so on. e^ix is a continuous generalisation of this discrete rotation, as I understand it.
Ono-Sendai··on January 1928: Dirac equation unifies quantum mechanics and special relativity
It's not just you. Dirac fields are constantly rotating. In fact the solutions are called spinors. (e.g. things that spin). There are a lot of rotations at the quantum level. It's also why complex numbers show up a lot in q.m.
Ono-Sendai··on Fundamental physics is dying? [video]
She seems to be talking about spacetime itself being Lorentz contracted though.

it's true that a sufficiently fast moving object would be length contracted so much that it started interacting with the minimal LQG length, which would violate Lorentz invariance. Depending on how big the LQG loops are, that could be a fanstastically high speed that isn't achievable in the universe though.

Ono-Sendai··on Fundamental physics is dying? [video]
Coordinates are transformed, not the actual space. Objects are length-contracted due to the electric field being length contracted.
Ono-Sendai··on Fundamental physics is dying? [video]
Sabine is often right, but I think she's wrong here about Lorentz invariance being a problem, or at least a problem in the way she's saying.

Lorentz transformations are never going to length-contract the underlying fabric of space/spacetime. Relativistic length contractions contract moving objects, not the underlying spacetime.

In fact it's a strange and basic misunderstanding to have.

Ono-Sendai··on John Carmack on inlined code (2014)
Because it can still result in compile times I find excessive. For example breaking up a function that takes 5 seconds to compile into a bunch of functions that take 1 to 2 seconds in total.
Ono-Sendai··on John Carmack on Inlined Code (2014)
I dunno. O(n^2) is for sure a bug. But O(nlogn) I think is reasonable.
Ono-Sendai··on John Carmack on Inlined Code (2014)
Writing a medium to large program in C++, you really need to fight long compile times or they can get out of hand. That affects the way you write code quite a lot, or it should at least. I've heard Rust and Swift also suffer from long compile times.
Ono-Sendai··on John Carmack on Inlined Code (2014)
If you consider any superlinear complexity a 'compiler issue' I guess.
Ono-Sendai··on John Carmack on Inlined Code
Visual studio doesn't do that inlining. And it is a significant problem, I have had to refactor my code into multiple functions because of it.
Ono-Sendai··on John Carmack on inlined code (2014)
There is actually a major problem with long functions - they take a long time to compile, due to superlinear complexity in computation time as a function of function length. In other words breaking up a large function into smaller function can greatly reduce compile times.
Ono-Sendai··on Show HN: Hosting my website using my C web server
My blog (https://forwardscattering.org/) uses a C++ web server too: https://github.com/Ono-Sendai/blog
Ono-Sendai··on Quantum researchers cause controlled 'wobble' in the nucleus of a single atom
Yeah that's the point of the article really. The rest of special relativity remains intact though for subluminal particles, you still have Lorentz transforms and energy-mass equivalence and all that stuff.
Ono-Sendai··on Quantum researchers cause controlled 'wobble' in the nucleus of a single atom
https://forwardscattering.org/post/36
Ono-Sendai··on Interviewing Tim Sweeney and Neal Stephenson
I'm going to plug my open-source metaverse - Substrata (https://substrata.info/) - and talk about it a bit, since it seems relevant to a lot of the topics in this article.

A single world: There is a single main Substrata world, which is filled with user-generated content and scripts. Rendering this and running physics for it is such a difficult technical problem that most other metaverses don't even try! Instead they tend to have lots of separate worlds / rooms. A single main world was important for me, partly as a result of reading Snow Crash.

Technology sharing: I recently added Luau scripting, which is a fantastic Lua fork from Roblox. It allows sandboxed script execution, has a JIT mode, and has all the usual benefits of Lua (easy binding code etc.).

Substrata also imports standard formats like GLTF. GLTF actually allows pretty good reuse of assets between metaverses.

Crypto: Substrata optionally uses Ethereum NFTs for land - people can pay for land in Fiat, and then optionally mint the land as NFTs. The big advantage of using NFTs here is that allows land to be traded on the 'secondary market', without me having to do anything, and without my permission and involvement. If I didn't use crypto then i would need to implement some kind of marketplace myself, perhaps with an escrow system for land transfer etc, and have to deal with fraud and chargebacks etc.

Ono-Sendai··on Interviewing Tim Sweeney and Neal Stephenson
The initial pizza delivery segment is kind of a humorous prelude. The tone of the book changes a fair bit after that.
Ono-Sendai··on Calendar Queues: A Fast O(1) Priority Queue Implementation (1988)
What you are thinking of is probably that you can't erase elements (apart from the top element) from the priority queue.
Ono-Sendai··on SDL3 new GPU API merged
I might try this out. SDL I have found to be high quality software - compiles fast, compiles easily on multiple platforms, always works. So I have some hopes for this new API.
Ono-Sendai··on Calendar Queues: A Fast O(1) Priority Queue Implementation (1988)
I think I reinvented and started implementing something like this, but then just ended up using std::priority_queue (the C++ standard library priority queue) which is pretty fast.
Ono-Sendai··on Ask HN: What are you working on (August 2024)?
Substrata - an open source metaverse project. https://substrata.info/ https://github.com/glaretechnologies/substrata

Custom 3d engine, opengl / webgl, Lua scripting, voice chat. Mostly in C++.

Ono-Sendai··on Bytecode Breakdown: Unraveling Factorio's Lua Security Flaws
Luau can be sandboxed, and scripts limited in cpu and memory usage.
Ono-Sendai··on Land value tax in online games and virtual worlds (2022)
I tried to find some research on repeated auctions, couldn't find any.
Ono-Sendai··on Land value tax in online games and virtual worlds (2022)
Because economists are often academics that get public funding.
Ono-Sendai··on Land value tax in online games and virtual worlds (2022)
One problem with the LVT is the logistics of actually levying the tax. You will have to collect a lot of payments from a lot of people. And have to deal with non-payment etc.. (virtual debt collectors?)
Ono-Sendai··on Land value tax in online games and virtual worlds (2022)
Where are the useful economics papers to help the metaverse projects?
Ono-Sendai··on I learned Vulkan and wrote a small game engine with it
Yeah you need to make sure the upload has completed before you try and use the texture, right?
Ono-Sendai··on I learned Vulkan and wrote a small game engine with it
It works with large assets too. Just split the upload into chunks.
Ono-Sendai··on I learned Vulkan and wrote a small game engine with it
What I do currently is just limit the amount of data uploaded per frame. Not ideal but works.
Ono-Sendai··on I learned Vulkan and wrote a small game engine with it
I believe you can do loading texture data onto the GPU from another thread with OpenGL with pixel buffer objects: https://www.khronos.org/opengl/wiki/Pixel_Buffer_Object

I haven't tried it yet, but will try soon for my open-source metaverse Substrata: https://substrata.info/.

Ono-Sendai··on Reverse Z in 3D graphics (and why it's so awesome)
I use reverse-z when I can, works great. Totally solves all z-fighting problems.
← PreviousPage 3 of 22Next →