HNHacker News
TopNewBestAskShowJobs

ealloc

447 karma · joined March 29, 2012

submissionscomments
ealloc··on ‘Minimal’ cell raises stakes in race to harness synthetic life
Not to mention that the molecular dynamics simulations you're describing can't actually simulate chemical reactions. (the covalent bonds can't change in the sim, unless you do a much more intensive QM calculation and even that's iffy).
ealloc··on How to C in 2016
Is it really the case that some programming languages are more resilient to hardware errors than others?

Java does array bounds checking in principle, but it is usually optimized out of the machine code. Isn't it then virtually just as susceptible to hardware error as C? And the JVM is written in C anyway.

ealloc··on How to C in 2016
I'm not conviced. Maybe it really is that the wider type is faster, and int_fast16_t should be 64 bits. I just tried it out on a 64 bit system. The program is just a for loop.

If the loop variable is a int_fast16_t the loop increment step compiles to

    	addq	$1, -16(%rbp)
If it is int16_t it compiles to

    	movzwl	-4(%rbp), %eax
	addl	$1, %eax
	movw	%ax, -4(%rbp)
The 64 bit width version is shorter, and so conceivably faster. Performance seems the same though, but that's probably because this program isn't a proper benchmark.
ealloc··on Why Is So Much Reported Science Wrong, and What Can Fix That?
It's rare for bad results to get called out. The usual fate of bad research is a fade into obscurity.

Publishing questionable results quickly has many benefits (if you happen to be right) and few consequences. Just don't draw too much attention to yourself by over-hyping.

ealloc··on GitFlow considered harmful
In my Github experience, rebasing/tidying your commits is expected before a Pull Request is merged, just like your description of Linux development. Eg, the numpy/scipy/matplotlib projects.
ealloc··on Microscopic footage of a needle moving across the grooves of a record
Maybe you could use a strobe effect: Have an audio sample that loops every 1/100th of a second, and then put a "fan" spinning at the same rate in front of the electron source, which blocks the electrons except for 1/60th or less of the 1/100th of a second. As you vary the phase of the fan, you capture the needle at different positions in the loop.
ealloc··on Don't Learn C the Wrong Way
It sounds like more than a just a "style" disagreement.

In the discussion of C strings, the author is arguing that Zed's arguments are nonsensical, maybe even objectively wrong. I write a lot of C, and the author is right in this case about C strings and undefined operations. In C you must arrange your code so that you always supply valid input to functions, there is no way around it, and it is perfectly safe once you do so.

I'd rather see discussion of the actual arguments, rather than complaints about the article's tone. :)

ealloc··on The International Temperature Data Review Project
Only for the toy version of the scientific method we learn in 2nd grade, but not for the "real world" scientific method.

All scientists on the planet look at the list of authors on any papers they read. That way they know the biases of the authors, the types of assumptions they might make, and how trustworthy any data is.

ealloc··on Cheese changed the course of Western civilization
See http://www.nature.com/news/archaeology-the-milk-revolution-1.... Lacose tolerance apparently allowed middle-eastern nomads to wipe out and replace the native european hunter-gatherers, and set up an agricultural society in their place.

"In a 2004 study, researchers estimated that people with the mutation would have produced up to 19% more fertile offspring than those who lacked it. The researchers called that degree of selection “among the strongest yet seen for any gene in the genome”."

ealloc··on Tensegrity
What happens if a single cable snaps? It seems like all the strucutral members in the network will then experience a "bending moment", yet the structure depended on the lack of bending moment for rigidity.
ealloc··on What Is Aging? Most Scientists Still Get It Wrong
I like another theory I read recently: That it's because women's mitochondria are more fine-tuned to their nuclear genome:

"The inheritance of mitochondria is asymmetric: you only get them from your mother, and your father makes no mitochondrial contribution at all. Your father’s mitochondrial contribution dies with him and is not passed on. What does that mean? It means that there can be no selection to fine tune mitochondria to the male nuclear genome."

Mitochondria are extrmely important to the cell and have been linked to many effects of aging. The reasoning above suggests that mitochondria work more poorly in males. And indeed, the paper (linked below) explains that in fruit flies, mitochondrial genes in males are expressed with much higher variability than females.

Your two links depend on human biology, but early male death is a much more general phenomenon. Males die earlier in the vast majority of animals (with gender). This idea could explain it.

http://scienceblogs.com/pharyngula/2013/02/06/mothers-curse/

http://www.ncbi.nlm.nih.gov/pubmed/23281153

ealloc··on World's Simplest Electric Train [video]
Actually, the 2nd law doesn't apply to everything. For example, a single classical planet orbiting a sun will orbit forever. Or, gas particles in a cube box if their velocities are perfectly perpendicular to one side of the box. Or a simple harmonic oscillator.

In many physical (classical) systems there is a set of generalized coordinates of measure 0 which does not obey the 2nd law.

ealloc··on HSBC, Goldman Rigged Metals’ Prices for Years, Suit Says
Umm, the site you linked appears to say exactly the opposite. Here's what is says:

> Illegal insider trading refers generally to buying or selling a security, in breach of a fiduciary duty or other relationship of trust and confidence, while in possession of material, nonpublic information about the security.

Here is an example it gives of insider trading:

> Employees of law, banking, brokerage and printing firms who were given such information to provide services to the corporation whose securities they traded;

Isn't that exactly what the parent is describing? The banks used nonpublic information given to them to provide other services.

ealloc··on You can’t get entangled without a wormhole (2013)
I think the parent is talking about a response to this point of view. Historically, people first wondered whether QM could be explained by hidden variables. Then they proved it could not, which seemed to imply "spooky action at a distance". But now, Susskind is arguing that actually the logic of the 'hidden variable' gives the right intuition, even though there isn't actually a hidden variable.

Here's how I have come to think of it: When you create the two opposite-spin particles and send them to opposite ends of the galaxy, they exist in a superposition of states which follows QM probabilities. The spins are anti-aligned in all of these possible states , but pointing in a different direction in each state. When one person observes his/her particle, you can imagine it's like they are 'masking out' many of the possible states, leaving just one of the possible "universes". But no matter which "universe" gets masked out, in the "surviving universe" the spins are going to be anti-aligned.

This is a lot like the 'hidden variable' picture where the spins were pre-decided and put into boxes, and when person A opened her box and saw "up" she knew that the other person must have the "down" spin. The difference is that QM probabilities are not consistent with the probabilities you would get from such a boxing procedure (in particular when the observers measure the spin at different angles). But conceptually, opening the box and realizing that you have the "up" spin and therefore the other person has down is a lot like doing a spin measurement and masking out many of the superpositions, and concluding that the other person must have the opposite spin from what you measured.

ealloc··on Rosetta Probe Discovers Organic Molecules on Comet
Personally I think the idea that life/prebiotic soup came to earth on a comet is suspect, for the reasons explained in these blog posts and the links therein:

http://sandwalk.blogspot.ca/2011/11/nasa-confusion-about-ori...

http://sandwalk.blogspot.com/2009/04/can-watery-asteroids-ex...

Two problems with the 'organic asteroid' theory are the 'racemization problem' (how to explain why life only uses L isomers rather than both the L and D isomers present in meteorites), and the fact that the amount of organic matter in meteors is tiny. Compare that to the opportunities for life to arise on earth in its diverse chemical environments.

See the calculations by Jeffrey Bada discussed in the second link.

ealloc··on My favourite Zsh features
You can do it in bash too. I have this in my bashrc:

    bind '"^[[1;5A": history-search-backward'
    bind '"^[[1;5B": history-search-forward'
where ^[ is the escape character. This way, crtl-up goes to previous partial match (and up goes to last command as usual). I use it all the time.
ealloc··on The LaTeX cargo cult
There are many programs that implement subsets of LaTeX/TeX. For example, for math layout I believe Mathjax and matplotlib have both essentially copied Knuth's program, based on his "TeXBook" and "TeX: The Program" books, which document the TeX code extremely thoroughly using his "literate programming" technique. TeX is one of the best documented programs in existence.

Google "Latex implementation" and you will see a lot of hits. I see a Java implementation, Windows implementations, LaTeX3 and LuaTeX are referred to as reimplemetations 'nearly from scratch', etc.

ealloc··on The LaTeX cargo cult
I don't think he understands what the word "proprietary" means. It means that the file format is secret or there are legal constraints on its use. Until recently Word documents clearly counted as prorietary, but now that microsoft has been forced to document its format to some degree .doc is listed as "controversially" proprietary on wikipedia.

http://en.wikipedia.org/wiki/Proprietary_format

Even today you will need to buy Microsoft Word to "properly" read .doc files. There are other readers (libreoffice) but they only do the basics, and in my experience they usually mangle the file.

LaTeX has never been proprietary because it has always been publicly documented.

ealloc··on Why I Am Not a Member of the American Psychological Association
Interesting, I did not know about this.

Here are the NPR story and related Atlantic article by the author of the book:

http://www.theatlantic.com/magazine/archive/2000/06/harvard-...

http://download.npr.org/real.npr.na-central/npr/wesat/2000/0...

ealloc··on Faced with change, an all-female indie dev team evolves to a higher form (2013)
The problem is not the portrayal of racism/sexism/murder in the game, the problem is that the game is racist/sexist in the way it was constructed.

Kind of like how minstrel shows are racist, in contrast to films like "12 Years A Slave".

ealloc··on A tiny group of people can see ‘invisible’ colours that no-one else can perceive
I think it's different: You can see the color green in multiple ways: Monochromatic light of 520nm wavelength looks green to you, but so does dicromatic light composed of a mixture of yellow (580nm) and blue (440nm). The two situations activate your 3 cone cells in the same way.

When painting, you might 'see' the 520nm green in your scene, but choose paint that is a mixture of yellow and blue to recreate it since the net color looks the same to you. However, the paint will look different from the scene to someone missing (eg) red cones.: Your red cones contributed to the blue+yellow looking green to you, since the yellow paritally activates the red cones.

ealloc··on New Requests for Startups
Huh, thank you for the informative reply. I will reconsider my view, which I had perhaps overstated before to make a point.

Wikipedia gives a citation for backpropagation going back to 1963 by the way, but looking more carefully you are right that the 1986 paper is important.

ealloc··on New Requests for Startups
Interesting link, but I still feel AI hasn't had much success: Do we really have much more today that A* search, neural nets with backpropagation, and HMMs/SVM/etc, which were all developed in the 1960s? The successes of AI that I see (eg OCR/speech recognition and Chess/Jeopardy) use these same old algorithms with only marginal improvements and more CPU. There have been no new major techniques or insights. I'm not an expert though, correct me if I'm wrong.
ealloc··on New Requests for Startups
I'm surprised no one has commented yet on the first couple of these - Energy, AI, Biotech, and Drug design.

These have traditionally been domains requiring a huge research apparatus with tremendous manpower, for only very long term gains. Not good for startups. In AI, how can a startup hope to succeed when academia has had almost no success in 50 years (and I am doubtful throwing more CPU/neuron layers will 'solve' the problem).

In addition, the people with the skills necessary to make progress are going to be advanced researchers with PhDs, who are good enough to remain in academia if they wish or who have already developed a proven-enough idea through their research career that they don't need Y-combinator-style money.

I am not trying to be a downer on the idea, contrarily I hope there can be success. Really I am fishing for anyone with a good perspective (or an answer) to these points.

ealloc··on Tech Has a Depression Problem
Actually my impression is that poorer people are more likely to be depressed. Consider the high rate of suicide among poor Indian farmers, or the high number of homeless with mental illness.

A quick google search for studies of the correlation between wealth and suicide seem to confirm my view, eg "a 2009 Gallup survey [shows] the rate of depression is nearly twice as high for Americans making less than $24,000 a year than it is for those with annual incomes above $60,000." Of course, the real story is more complicated: It seems the correlation is much less clear for poor regions than for poor individuals, and I saw some suggestions that poor people living next to wealthy people were more likely to commit suicide.

ealloc··on The relatively unknown megafauna tragedy and its relevance today
I highly recommend the book "Ghosts of Evolution" about the lingering effects of these extinct megafauna on our lives today. Many of our ecosystems and even many species evolved in response to their presence.

A major theme of the book is how many of the fruits we see today (especially avocados, osange oranges, honey locust pods, possibly mangoes and many other large fruits) originally evolved to be eaten by megafauna. The idea is they would eat the fruit whole and swallow the pit, and poop it out somewhere. Evidence for this is that many of the trees have defenses against non-megafauna eating the fruits, or others have out-of-proportion defenses against any living animal today, the fact that many pits will only grow if they have been scoured (for example by the digestive system of an animal), and that the pits often seem over-defended, and the fact that many of these fruits are not eaten by any living animals and often fall from the tree and rot in place.

ealloc··on Seneca: On the Shortness of Life
Seneca sounds extremely privileged to me. His advice might be useful to rich people, but not the vast majority of people (in his time, or ours) who have to work hard just to survive.

His main complaint is against rich people who "squandered in luxury and carelessness", the various ways in which "riches [are] a burden", how men care too much about the "limit of their lands". Almost every sentence seems spoken to someone too rich for his own good, with too many slaves, mistresses, clients, and land.

It fits in with my picture of Rome as having a strong class hierarchy (and up to 30% slaves!). This are the words from the "optimo iure" to themselves.

ealloc··on The Good, Bad, and Ugly of Adam Carolla’s Settlement with Podcasting Troll
Wasn't there a story just a few days ago about the huge oversupply of lawyers right now? Why isn't this driving legal costs down?
ealloc··on A Brazilian Wunderkind Who Calms Chaos
He is doing an investigation into the underlying foundations of statistical mechanics.

Statistical Mechanics and thermodynamics are the basis for a huge amount of technology and scientific models of the world, yet they rely on a fundamental assumption which is in some sense unjustified, known as the 'Ergodic hypothesis': Even though (classically) we know that the current position of gas particles in a box can be determined from their positions in the past, in thermodynamics we make the (unjustified) assumption that their positions are actually random and independent of their previous positions. In other words, these models for the world are probabilistic, which contradicts our more fundamental models of the world which say it is deterministic (and even QM is deterministic, with the single exception of the born rule). What he's doing here helps justify the probabilistic treatment, and understand when it does or does not apply.

I have always though this to be one of the great 'foundations' questions in physics (The others being QM foundations/origin of the born rule, and foundations of Field Theory). These are 'hard' and borderline philosophical questions, which most scientists (with good reason) simply assume to be true, to the point they often find them uninteresting. Lately though there seems to be renewed interest in them.

ealloc··on Sugar: the evolution of a forbidden fruit
It's funny to think that once upon a time sugar was so precious it was kept locked up in its own dedicated safe. In America these are known as "sugar chests", you can fairly commonly find them as antiques.

King Louis XVI kept his sugar in a locked container and kept the key with him. He would open it up for special guests and personally delivered small amounts of sugar to each person. Similarly, in French noble households it was common for the man of the house to control the sugar-key, and to distribute small amounts of sugar to the family as he saw fit.

← PreviousPage 2 of 5Next →