Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ono-Sendai
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
Ono-Sendai
2y ago
Proposed solution is too expensive with ln and exp calls.
92.
▲
by
Ono-Sendai
2y ago
Wuffs is great. I use it in Substrata ( https://substrata.info/ ) for loading PNGs. It is both faster and safer than LibPNG. It's something around 2x faster than LibPNG in my tests (depending on the PNG file), see timi
93.
▲
by
Ono-Sendai
2y ago
From my blog > 10 years ago but sadly still relevant: "Sockets should have a flushHint() API call.": https://forwardscattering.org/post/3
94.
▲
by
Ono-Sendai
2y ago
I have a best-fit allocator for this problem (managing GPU resources). It has higher CPU overhead due to using a std::map, but should waste less space due to not using fixed bucket sizes. https://github.com/glaretechnologies
95.
▲
by
Ono-Sendai
2y ago
Nah probably buggy Mac OpenGL drivers
96.
▲
by
Ono-Sendai
2y ago
Not only that, we can't even simulate a single nucleon
97.
▲
by
Ono-Sendai
3y ago
I implemented this in my server ( https://substrata.info/ ). Works great. Results in smaller files than zlib/deflate. One thing to watch out for - compression levels >= 20 aren't handled by chrome clients.
98.
▲
by
Ono-Sendai
3y ago
Yeah the code looks like a spinlock. It behaves terribly under contention, resulting in performance falling off a cliff as the number of threads increases. Adding more threads actually slows down the total performance. I would fix it if I
99.
▲
by
Ono-Sendai
3y ago
Multithreading support in llama.cpp is probably still pretty busted, assuming it uses the same underlying NN inference code as whisper.cpp: https://github.com/ggerganov/whisper.cpp/issues/200#issuecom...
100.
▲
by
Ono-Sendai
3y ago
Practically speaking, trying to compress a file is a nice way of measuring... something. I was more talking about the theoretical notion of complexity.
101.
▲
by
Ono-Sendai
3y ago
Kolmogorov Complexity does not help with giving a universal measure of complexity or randomness: https://forwardscattering.org/page/0
102.
▲
by
Ono-Sendai
3y ago
Why is it wrong?
103.
▲
by
Ono-Sendai
3y ago
For all the simulation argument believers, note that we can't even accurately simulate a single nucleus.
104.
▲
by
Ono-Sendai
3y ago
Sanitizers only sometimes work on Windows too :)
105.
▲
by
Ono-Sendai
3y ago
Superluminal is great as well. I currently prefer Tracy because it gives faster profiling feedback.
106.
▲
by
Ono-Sendai
3y ago
There's a bunch of really good C++ profilers already. My current favourite is Tracy: https://github.com/wolfpld/tracy
107.
▲
by
Ono-Sendai
3y ago
I think Substrata delivers on all of those things, although it could be faster to download the initial data with a CDN.
108.
▲
by
Ono-Sendai
3y ago
Hi John, Substrata is already open source (well, 99% open source): https://github.com/glaretechnologies/substrata As far as scaling goes, fancy scaling solutions are currently in the 'future-problems' basket.
109.
▲
by
Ono-Sendai
3y ago
Hi, thanks! I have added a licence file to it (MIT licence).
110.
▲
by
Ono-Sendai
3y ago
Have a look at https://github.com/glaretechnologies/substrata/blob/ef48de33... for some (incomplete) notes.
111.
▲
by
Ono-Sendai
3y ago
Here's my open source metaverse, which unlike Croquet has an open-source server as well: https://github.com/glaretechnologies/substrata It's out there live, you can visit the world right now via https:/
112.
▲
Show HN: Substrata – An Open-Source Metaverse
(github.com)
1 points
by
Ono-Sendai
3y ago
|
0 comments
113.
▲
by
Ono-Sendai
3y ago
OpenCL was a perfectly good alternative to CUDA. Unfortunately due to the short-sightedness of programmers using the proprietary CUDA, here we are with CUDA dominant.
114.
▲
by
Ono-Sendai
3y ago
Have been dealing with this issue recently. memcpy was quite slow in my tests however, it was ~twice as fast to check the alignment and load as floats (was dealing with floats in my case).
115.
▲
by
Ono-Sendai
3y ago
It is pretty hard to measure length contraction when all your measuring rulers also contract, and it's pretty hard to measure time dilation when all your clocks run slow, yes. That is the conundrum of being embedded in the universe :)
116.
▲
by
Ono-Sendai
3y ago
Glad you like it. I haven't gone through any of the maths in detail. I do however have a semi-classical electrodynamics computer simulation that I occasionally work on, so why do the maths when you can just run a simulation :) When I
117.
▲
by
Ono-Sendai
3y ago
Oh apparently it was Schrodinger himself that wrote about a semiclassical Compton scattering approach: http://www.regels.org/Compton-effect.htm
118.
▲
by
Ono-Sendai
3y ago
Not sure what association you mean. Time dilation? length contraction? Both are well supported by evidence AFAIK.
119.
▲
by
Ono-Sendai
3y ago
Suprise: i have done first year physics as well. And I am probably more familiar with light-atom interaction than you.
120.
▲
by
Ono-Sendai
3y ago
You can have vacuum fluctuations without photons. EDIT: will try and find Compton paper later, going for walk now.
More ›