<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: ealloc</title><link>https://news.ycombinator.com/user?id=ealloc</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 30 Apr 2026 21:54:40 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=ealloc" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by ealloc in "Floating points between zero and one"]]></title><description><![CDATA[
<p>> [if] you want to retain as much precision as possible and still use floats, don't store it in a float with range [0.0,100.0]. Store it with the range [0.0,1.0].<p>I just tested this out and it doesn't seem true.<p>The two storing methods seem similarly precise over most of the range of fractions [0,1], sometimes one gives lower spacing, sometimes the other. For instance, for fractions from 0.5 to 0.638 we get smaller spacing if using [0,100], but for 0.638 to 1 the spacing is smaller if storing in [0,1].<p>For very small fractions (< 1e-38), it also seems more accurate to store in the range [0,100] since you are representing smaller numbers with the same bit pattern. That is, because the smallest nonzero positive float32 is 1.40129846e-45, so if you store as a float32 range [0,1] that's the smallest possible representable fraction, but if you're storing as a float in range[0,100], that actually represents a fraction 1.40129846e-47, which is smaller.<p>For the general result, see for yourself in python/numpy:<p><pre><code>    x = np.linspace(0,1,10000)
    plt.plot(x, np.float64(np.spacing(np.float32(x*100)))/100)  # plot spacing stored as [0,100]
    plt.plot(x, np.float64(np.spacing(np.float32(x))))  # plot spacing stored as [0,1]</code></pre></p>
]]></description><pubDate>Thu, 29 Aug 2024 19:37:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=41394518</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=41394518</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41394518</guid></item><item><title><![CDATA[New comment by ealloc in "AMD may get across the CUDA moat"]]></title><description><![CDATA[
<p>How is CUDA-C that much easier than OpenCL? Having ported back and forth myself, the base C-like languages are virtually identical. Just sub "__syncthreads();" for "barrier(CL_MEM_FENCE)" and so on. To me the main problem is that Nvidia hobbles OpenCL on their GPUs by not updating their CL compiler to OpenCL 2.0, so some special features are missing, such as many atomics.</p>
]]></description><pubDate>Sat, 07 Oct 2023 18:11:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=37804104</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=37804104</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37804104</guid></item><item><title><![CDATA[New comment by ealloc in "Eating well is a portal into Proust’s “In Search of Lost Time”"]]></title><description><![CDATA[
<p>Did you read in English? I read it in french and loved it, then looked at Montcrief's translation - I would not have made it through. Montcrief turned Prousts clear and precise (but long) sentences into a kind of esoteric word puzzle. Lydia Davis' translation looked much better.<p>For War and Peace, I didn't know russian, so I tested different translations before going ahead. The translator makes a big difference, I found some translations hard to read.<p>I had your feeling with Ulysses, though. No translation issue there. Couldn't make it very far.</p>
]]></description><pubDate>Fri, 02 Dec 2022 00:40:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=33825236</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=33825236</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33825236</guid></item><item><title><![CDATA[New comment by ealloc in "Mars helicopter employs advanced control techniques to survive in-flight anomaly"]]></title><description><![CDATA[
<p>That would be a straight-up, avoidable software/hardware bug: The incoming timestamp is incorrect, and garbage in is garbage out.<p>That would make me curious how the timestamp error occurred: software, hardware? Camera or Navigation code? I assume they have very high standards, what was the process failure point?</p>
]]></description><pubDate>Fri, 18 Jun 2021 22:06:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=27555525</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=27555525</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27555525</guid></item><item><title><![CDATA[New comment by ealloc in "Mars helicopter employs advanced control techniques to survive in-flight anomaly"]]></title><description><![CDATA[
<p>The article says the problem was a dropped frame from the camera, but that just further piques my curiosity:<p>Presumably they use some kind of Kalman Filter, but those are easy to program to account for missing frames, or frames at non-discrete timepoints, perhaps even for screwy camera images if the programmer had a reasonable prior for the likelihood of it happening. Kalman Filters by design account for measurement error.</p>
]]></description><pubDate>Fri, 18 Jun 2021 20:45:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=27554837</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=27554837</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27554837</guid></item><item><title><![CDATA[New comment by ealloc in "What is life? Its vast diversity defies easy definition"]]></title><description><![CDATA[
<p>Sperm cells can be seen as a haploid phase of many organisms' lifecycle, so are alive by pretty much any definition.<p>In humans, the haploid phase of the lifecycle is single-celled, while the diploid phase is multicellular. In contrast, in mosses and fungi the haploid phase is multicellular while the diploid phase (sporophytes/zygote) is single-celled.<p>Red blood cells are discussed in the article.</p>
]]></description><pubDate>Wed, 10 Mar 2021 22:00:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=26416886</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=26416886</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26416886</guid></item><item><title><![CDATA[New comment by ealloc in "9999999999999999.0 – 9999999999999998.0"]]></title><description><![CDATA[
<p>It may be coming back though.<p>IBM's new and rising supercomputer architecture, POWER9, supports hardware IEEE binary128 floats (quad precision). Their press claims the current fastest supercomputer in the world uses POWER9.<p>The ppc64 architecture (still produced by IBM) supports "double-double" precision for the long-double type, which is a bit hacky and software-defined, but has 106 bit mantissa.<p>And ARM's aarch64 architecture supports IEEE binary128 long-doubles as well, though it is implemented in software now (by compiler). Maybe they plan a hardware implementation in the future?</p>
]]></description><pubDate>Sun, 06 Jan 2019 03:31:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=18836388</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=18836388</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18836388</guid></item><item><title><![CDATA[New comment by ealloc in "Has Consciousness Lost Its Mind?"]]></title><description><![CDATA[
<p>Yes, forces transmitted through fields act "at a distance", but is that really "spooky"? Do you think it is "spooky" that if you make a wave at one end of a pond, the wave reaches the other end? I don't. I consider the propagation of waves to be a "local" non-spooky phenomenon.<p>Disturbances in a field propagate through space similarly. A disturbance of the field at a point only affects the value of the field in the immediate spacetime surroundings, just like a water wave. I would call that "local" and non-spooky. Whether or not there is "mechanical contact", whatever that means, is irrelevant.<p>This is in contrast to Newton's theory of gravity, where the force of gravity was spookily felt instantaneously across space.</p>
]]></description><pubDate>Sun, 10 Jun 2018 15:30:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=17278551</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=17278551</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=17278551</guid></item><item><title><![CDATA[New comment by ealloc in "Has Consciousness Lost Its Mind?"]]></title><description><![CDATA[
<p>No it isn't. There is still plenty of debate about the philosophical implications of Bells' inequality.<p>See for example this 2014 PNAS article "Quantum nonlocality does not exist": <a href="http://www.pnas.org/content/111/31/11281" rel="nofollow">http://www.pnas.org/content/111/31/11281</a><p>You can find plenty more if you google. I personally agree with the ideas of that paper in a broad sense if not in detail, as do many people.<p>Second, if you are trying to argue that locality is no longer a guiding principle, note how the standard model is quantum-mechanical so obeys bell's inequality, yet we still call it "local". Locality was a key guiding principle of the standard model.</p>
]]></description><pubDate>Sun, 10 Jun 2018 15:11:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=17278456</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=17278456</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=17278456</guid></item><item><title><![CDATA[New comment by ealloc in "Has Consciousness Lost Its Mind?"]]></title><description><![CDATA[
<p>I've read Chomsky's opinion on this before in his essay ""Science, Mind, and Limits of Understanding", and I think he misunderstands the physics.<p>He seems to think Newton accidentally disproved the concept of locality through his theory of gravity. It's true that philosophers largely gave up on locality in the 18th century because of Newton, but that was only temporary: In the 19th century the principle of locality came back with a vengance after Maxwell.<p>Today the principle of locality is a key component of the Standard model: The Hamiltonian of the standard model is local, meaning you can compute what happens at a point in spacetime knowing only what is going on in an infinitesimal region around it. Even outside the standard model, LIGO proved that graviational waves exist, and therefore gravity is a local phenomenon.<p>Einstein was famously prepared to give up on quantum mechanics because it seemed to violate the principle of locality, which he thought was more important. That is still debated sometimes, though whether quantum nonlocality exists seems to be a matter of interpretation and is also different from the kind of locality chomsky is talking about. Locality is still a key principle in physics.</p>
]]></description><pubDate>Sun, 10 Jun 2018 02:26:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=17276088</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=17276088</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=17276088</guid></item><item><title><![CDATA[New comment by ealloc in "Microsoft Is Said to Have Agreed to Acquire GitHub"]]></title><description><![CDATA[
<p>I use a huge amount of open-source software which I do not believe is subsidized.<p>Some is, eg some linux/gnome devs are paid to contribute. But many smaller projects/components are volunteer-only.</p>
]]></description><pubDate>Sun, 03 Jun 2018 22:39:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=17222779</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=17222779</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=17222779</guid></item><item><title><![CDATA[New comment by ealloc in "Wall Street rethinks blockchain projects as euphoria meets reality"]]></title><description><![CDATA[
<p>Bitcoin has both fees and delays. You can see what they are now:<p><a href="https://bitinfocharts.com/comparison/bitcoin-transactionfees.html" rel="nofollow">https://bitinfocharts.com/comparison/bitcoin-transactionfees...</a><p><a href="https://blockchain.info/charts/avg-confirmation-time" rel="nofollow">https://blockchain.info/charts/avg-confirmation-time</a><p>Who knows what they would be if bitcoin was actually used to buy things.</p>
]]></description><pubDate>Thu, 29 Mar 2018 15:24:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=16707780</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=16707780</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16707780</guid></item><item><title><![CDATA[New comment by ealloc in "Show HN: Effects of House and Senate Bill on California Residents"]]></title><description><![CDATA[
<p>> Universities will just start offering education for free instead of waiving the tuition<p>Aren't you supposed to be taxed on the value of a good/service/gift received even if it was given to you for free? What is the "true value" of tuition?<p>I don't think waiving tuition will work, assuming tuition is taxed like most other things.</p>
]]></description><pubDate>Wed, 06 Dec 2017 23:48:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=15866245</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=15866245</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=15866245</guid></item><item><title><![CDATA[New comment by ealloc in "A newly discovered moon tunnel"]]></title><description><![CDATA[
<p>The book was written in 2002, and I just looked up Nick lane's latest 2016 take on it here: [1]<p>His point in this new article is that instead of one big "oxygenation event" there may have been multiple. But he sticks to his story that the creation of an ozone layer by photosynthesis was the key step in saving the oceans. He argues both Mars and Earth had oceans originally (confirmed by Mars Satellite observations), which were gradually diminished by a process in which ultraviolet light splits atmospheric water, minerals on the surface absorbed the oxygen (rusting, making Mars red) leaving the hygrogen to blow away. But life on earth pumped extra oxygen into the atmosphere, faster than minerals could aborb it, creating the reactive ozone layer which prevented hydrogen from blowing away, thus saving the oceans from their fate on Mars.<p>[1] nick-lane.net/wp-content/uploads/2016/12/Oxygen-and-life.pdf</p>
]]></description><pubDate>Sun, 22 Oct 2017 22:10:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=15529259</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=15529259</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=15529259</guid></item><item><title><![CDATA[New comment by ealloc in "A newly discovered moon tunnel"]]></title><description><![CDATA[
<p>The reason water exists on earth, and not on mars, may be that life on earth saved the water by discovering photosynthesis.<p>The discovery of photosynthesis caused the "great oxygenation event" which pumped oxygen into the atmosphere. Oxygen reacts with atmospheric hydrogen to form water. Without the oxygen, the very light hydrogen molecules would float to the top of the atmosphere and are easily blown away by solar winds, which is what happened on Mars. But with high oxygen concentrations on Eath, hydrogen molecules react to form heavier water molecules before they have a chance to be blown away, and thus hydrogen and water are retained.<p>I read about this in the book "Oxygen" by Nick Lane.</p>
]]></description><pubDate>Sun, 22 Oct 2017 20:55:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=15528884</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=15528884</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=15528884</guid></item><item><title><![CDATA[New comment by ealloc in "Calculating the Distance Between Points in Wrap Around (Toroidal) Space"]]></title><description><![CDATA[
<p>A trick for dealing with periodic coordinates, not discussed in the article, is to convert each periodic coordinate (eg, an angle theta) into a pair of cartesian coordinates (x,y) on the circle, and then compute the distance in cartesian space. Ie, convert to x = cos(theta), y = sin(theta).<p>In the 2d example in the post, you would rescale the coordinates so the unit cell is from (-pi,pi) in both dimensions, and then the distance formula would be<p><pre><code>    sqrt(((cos(x1) - cos(x2))**2 + ((sin(x1) - sin(x1))**2 + ((cos(y1) - cos(y2))**2 + ((sin(y1) - sin(y1))**2)
</code></pre>
This works well for doing things like determining the "nearest" point to another point, and similar operations, and has some other nice properties.<p>(I forget the name of this system, but it is commonly used for calculations involving dihedral angles in MD simulations)</p>
]]></description><pubDate>Mon, 02 Oct 2017 01:32:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=15381091</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=15381091</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=15381091</guid></item><item><title><![CDATA[New comment by ealloc in "An algorithm that recreates 3D objects from tiny 2D images"]]></title><description><![CDATA[
<p>"Single Particle Reconstruction" for Cryo-EM reconstruction algorithm, anyone?<p>SPR is an algorithm already used to reconstruct 3d objects from a set of 2d images produced by an electron microscope, typically of a protein on a flat surface.<p>I haven't read the paper here, but I suspect a key part of the algorithm is that it can only reconstruct objects with symmetry planes: The airplane, chair, car are all symmetric across an axis. This greatly constrains the possibilities the algorithm has to search through. In em-reconstruction the user often specifies what they think the symmetries are beforehand.</p>
]]></description><pubDate>Thu, 24 Aug 2017 14:49:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=15090516</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=15090516</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=15090516</guid></item><item><title><![CDATA[New comment by ealloc in "Insights into High Frequency Trading from the Virtu IPO [pdf]"]]></title><description><![CDATA[
<p>Summary:<p>-- Their trades are profitable f = 51% of the time, and they do N = 3 million trades per day.<p>-- Their net profitability per day is thus (well approximated by) a normal random variable with a mean of f
and a standard deviation of sqrt(f(1-f)/N), or 3e-4<p>-- The probability of this value being less than 50% is well approximated by norm.cdf(0.5, 0.51, sqrt(f(1-f)/3e6))
   which gives 2.4e-263<p>In other words they only expect one loss per 10^263 days, which is much larger than the age of the universe. They are actually doing much worse than expected because they lost on one day.</p>
]]></description><pubDate>Thu, 04 May 2017 22:15:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=14269349</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=14269349</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=14269349</guid></item><item><title><![CDATA[New comment by ealloc in "Red-light camera grace period goes from 0.1 to 0.3 seconds, Chicago to lose $17M"]]></title><description><![CDATA[
<p>An example of what I would consider red-light camera abuse:<p>Philadelphia has a number of red light cameras which <i>each</i> generate about 10,000 tickets a year. That's about 30 tickets a day for each camera, $100 per ticket. 12 cameras generate $9 million a year [1].<p>If 30 people are "running" the red light each day, does that say more about the drivers or about the setup of the red light?<p>[1] <a href="http://www.nbcphiladelphia.com/traffic/transit/Red-Light-Cameras-Most-Tickets-Philadelphia-201311821.html" rel="nofollow">http://www.nbcphiladelphia.com/traffic/transit/Red-Light-Cam...</a></p>
]]></description><pubDate>Wed, 22 Mar 2017 17:41:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=13933031</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=13933031</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=13933031</guid></item><item><title><![CDATA[New comment by ealloc in "People have no idea which sciences are robust"]]></title><description><![CDATA[
<p>My impression is that physicists who say this usually don't know much about the theory and evidence for evolution. (I am trained in physics, I now do biophysics).<p>What about the beautiful and often very precise linear relationship between radioactive dating of the fossil record, and genetic dating using the molecular clock?<p>What about the beatiful correspondence often found between the principle components of genetic variation and geographical position (isolation by distance)?<p>What about all the biochemical discoveries related to DNA function (including the existence of DNA itself), how mutations occur, about heritability?<p>What about everything we've discovered about genome composition and how it changes over time? (duplicate genes, pseudogenes, transposons, hotspots of various kinds).<p>Is a DNA sequence less precise than a spectral line?</p>
]]></description><pubDate>Sun, 05 Mar 2017 17:13:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=13796999</link><dc:creator>ealloc</dc:creator><comments>https://news.ycombinator.com/item?id=13796999</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=13796999</guid></item></channel></rss>