Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
strainer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
571.
▲
by
strainer
9y ago
We could certainly calculate how much error was introduced by rounding, if we had the time and inclination. It is useful to understand that about numerical modelling, it should not be necessary to accept any indeterminable discrepancies. Co
572.
▲
by
strainer
9y ago
Come on it doesnt say "unknown reasons" it says the "It is possible the discrepancy is due to the limitation of javascripts 64bit FP numbers rather than subtle algorithmic or physics error" 70k km / a year (on a bil
573.
▲
by
strainer
9y ago
When just doing point gravity dynamics (no friction, collision etc) energy and momentum take care of themselves as long as the math is clean. I say this confidently because I made a solar system simulation[1] with no attention to conservati
574.
▲
by
strainer
9y ago
Thanks, I see there is good activity on Show HN. Ive got some more tidying and documenting of the project to do yet to feel its ready.
575.
▲
by
strainer
9y ago
A very succinct summary. I think the slick video frame intro animation has helped it trend.
576.
▲
Spotmap: A 3D spatial index rendered and described
(github.com)
3 points
by
strainer
9y ago
|
2 comments
577.
▲
by
strainer
9y ago
There is something so special about being concious - something precious and undefinable, that I would be surprised if an intractable connection to reality where not intrinsic to it. I would be surprised if the programmed representations of
578.
▲
by
strainer
9y ago
This correlation and mapping through ultra thin sections has been recently computerised by 'VAST' and has revealed unexpected nanoscale complexity in neuron connectivity. http://www.psypost.org/2015/07/ne
579.
▲
Indexes of Indexes and Indices of Indexes
2 points
by
strainer
9y ago
|
0 comments
580.
▲
by
strainer
9y ago
It can be a new living concept when equipped with modern gadgetry including low power electrics, and of course mobile computing and communications.
581.
▲
by
strainer
9y ago
I half expect powerful futuristic AI to figure out and enlighten us as to the specialness of our conciousness, the transience of simulations, and perhaps to define the special arrangements required to create life of similar importance to ou
582.
▲
by
strainer
9y ago
I wrote "our human and animal conciousness should probably not be equated with virtual representations" Your reply did not follow... no empathy.
583.
▲
by
strainer
9y ago
Its a powerful fantastic idea, but Im personally concerned that our human and animal conciousness should probably not be equated with virtual representations, no matter how accurate or convincing certain renderings might get. Mostly because
584.
▲
by
strainer
9y ago
This triggers multiple levels of wonder. That the tune alone is compose-able from 256 bytes is uncanny. What would this have been like to witness in the 1980s ? -being as it could have been published as a relatively easy to type magazine li
585.
▲
by
strainer
10y ago
I want to get into that when I get time - an editor with LuaJIT - that should be brilliant.
586.
▲
by
strainer
10y ago
I maintain a javascript PRNG which relies on basic floating point math operations, addition and multiplication. Its test page here ( https://strainer.github.io/Fdrandom.js/ ) displays a warning if it doesn't hit exp
587.
▲
by
strainer
10y ago
We do also loose much accuracy/stability of physics info when varying timesteps, without adjusting velocities to the new half timestep (eg. verlet type refinement) which is a bit demanding to do most accurately.
588.
▲
by
strainer
10y ago
Yes its great --a super efficient and fast little VM and comfortable syntax and scoping. I realised how great Lua is for separating user-complexity from an applications core as my customisations got more substantial.
589.
▲
by
strainer
10y ago
Ive put just a couple of snaps here: http://imgur.com/a/QMhpf I really must get round to sharing the source but it needs a bit of preparation.
590.
▲
by
strainer
10y ago
No I appreciate the tip and have often considered diving into Emacs or Vim. Im very fond of the Scite and Lua combo as well now, and i would like to have the time to share and develop it more than to set up on a new system - but yes those o
591.
▲
by
strainer
10y ago
Scite is a barebone open source text editor created by Neil Hodgson to exercise his "Scintilla" text-editor c++ library which is used in others like notepad++. In hindsight, I would have a bit more caution programming text editors
592.
▲
by
strainer
10y ago
I use a 20 line batch file saved as "jot.cmd" which does this roughly, it appends one liners to a particular note-log-file and it prepends the date if it is the first note of the day so I have a chronology. Also it cats the note f
593.
▲
by
strainer
10y ago
The newtonian model itself doesn't produce this behaviour as it is continuous, so however much bodies accelerate towards each other they can decelerate just as much once they have passed. In n-body simulation the continuous model is &#
594.
▲
by
strainer
10y ago
This has curious similarity with errors which can appear in basic n-body simulations, where excessively close interactions can break orbits by throwing bodies too far from circumstances in one timestep to the next. In n-body simulation the
595.
▲
by
strainer
10y ago
Here is a basic model in my physics project: http://strainer.github.io/fancy#10 The two objects are the size of our sun, the green one represents the black hole. I put in the orbital distance as 2.5 times the Earth to Moon
596.
▲
by
strainer
10y ago
A small but poignant correction here - no dodos survived what occurred even as taxidermy. The most complete known specimen of a dodo consists of 'a dried head and foot' https://en.wikipedia.org/wiki/Dodo#Physi
597.
▲
by
strainer
10y ago
Apologies I wasn't following properly, and thanks for the interval math pointer.
598.
▲
by
strainer
10y ago
Interesting, I assumed java and javascripts behaviour were common. I dont recall seeing this notation before either [0,1) maybe i will now %)
599.
▲
by
strainer
10y ago
I ended up just doing a one op conversion. Multiply by a manually eked factor which is the maximum value which the maximum-source-value can be multiplied by and not make 1. That just minimises the gap at the end of the unit interval which i
600.
▲
by
strainer
10y ago
A rough calculation, a float64 rng which might reasonably supply billions of rnds an hour for simulations, would have a fair risk of hitting '1.0' every million hours of use, which means its important for production quality code t
More ›