Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ono-Sendai
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
Ono-Sendai
2y ago
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
62.
▲
by
Ono-Sendai
2y ago
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
63.
▲
by
Ono-Sendai
2y ago
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 vi
64.
▲
by
Ono-Sendai
2y ago
Coordinates are transformed, not the actual space. Objects are length-contracted due to the electric field being length contracted.
65.
▲
by
Ono-Sendai
2y ago
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
66.
▲
by
Ono-Sendai
2y ago
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.
67.
▲
by
Ono-Sendai
2y ago
I dunno. O(n^2) is for sure a bug. But O(nlogn) I think is reasonable.
68.
▲
by
Ono-Sendai
2y ago
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 lo
69.
▲
by
Ono-Sendai
2y ago
If you consider any superlinear complexity a 'compiler issue' I guess.
70.
▲
by
Ono-Sendai
2y ago
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.
71.
▲
by
Ono-Sendai
2y ago
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
72.
▲
by
Ono-Sendai
2y ago
My blog ( https://forwardscattering.org/ ) uses a C++ web server too: https://github.com/Ono-Sendai/blog
73.
▲
by
Ono-Sendai
2y ago
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.
74.
▲
by
Ono-Sendai
2y ago
https://forwardscattering.org/post/36
75.
▲
by
Ono-Sendai
2y ago
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 Substra
76.
▲
by
Ono-Sendai
2y ago
The initial pizza delivery segment is kind of a humorous prelude. The tone of the book changes a fair bit after that.
77.
▲
by
Ono-Sendai
2y ago
What you are thinking of is probably that you can't erase elements (apart from the top element) from the priority queue.
78.
▲
by
Ono-Sendai
2y ago
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.
79.
▲
by
Ono-Sendai
2y ago
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.
80.
▲
by
Ono-Sendai
2y ago
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++.
81.
▲
by
Ono-Sendai
2y ago
Luau can be sandboxed, and scripts limited in cpu and memory usage.
82.
▲
by
Ono-Sendai
2y ago
I tried to find some research on repeated auctions, couldn't find any.
83.
▲
by
Ono-Sendai
2y ago
Because economists are often academics that get public funding.
84.
▲
by
Ono-Sendai
2y ago
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?)
85.
▲
by
Ono-Sendai
2y ago
Where are the useful economics papers to help the metaverse projects?
86.
▲
by
Ono-Sendai
2y ago
Yeah you need to make sure the upload has completed before you try and use the texture, right?
87.
▲
by
Ono-Sendai
2y ago
It works with large assets too. Just split the upload into chunks.
88.
▲
by
Ono-Sendai
2y ago
What I do currently is just limit the amount of data uploaded per frame. Not ideal but works.
89.
▲
by
Ono-Sendai
2y ago
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 s
90.
▲
by
Ono-Sendai
2y ago
I use reverse-z when I can, works great. Totally solves all z-fighting problems.
More ›