Science and Technology links (April 21st, 2017)

Can we trust software? Lance Fortnow, a famous computer scientist, answers

Sometimes I feel we put to much pressure on the machines. When we deal with humans, for example when we hire people, we have to trust them, assume they are fair, play by the rules without at all understanding their internal thinking mechanisms. And we’re a long way from figuring out cause and effect in people.

Luc Charlebois is a real-life Deus Ex character. He lost his leg ten years ago in a bike accident. The leg was just pulled off. He went to Australia where they remade his leg from scratch. He has an artificial leg that is directly connected to his skeleton. He can now walk and says that he when he does so, it “feels” like a true leg. That last part is critically important: we are a long way from wood pegs. But he had to spent a quarter of a million dollars to get it done. That’s not crazily expensive, but clearly out of reach to too many people. Given that this is now possible how long before we all ask for such high-quality artificial limbs?

Apple (the company) is allowed to test self-driving cars in California. “Siri, bring me back home.”

Daniel Lakens, an academic with a brilliant publication record, writes that blog posts are of higher scientific quality than journal articles. What he actually demonstrates is that it is quite easy to outdo scientific articles with something as silly as a blog post.

Using genetic engineering, we could one day selectively kill just one type of bacteria. This would turn modern-day antibiotics into blunt tools.

Want a growing industry? What about plastic surgery?

Somewhat mysteriously, obesity is a risk factor for bone health. Basically, beyond a certain point, the fatter you are, the more likely it is that your bones will break. That’s true even though heavier individuals tend to have higher bone mineral density. What is interesting is that we do not know why that is.

Currently, anesthesia is full of negative side-effects. Scientists are finding out that we could design better drugs that are free of these inconvenient side-effects.

The lens in our eyes tend to darken with age leading to a loss of vision, called cataracts. It is considered more or less unavoidable meaning that if you are old enough, you will have cataracts. We can simply replace the natural lens of your eyes, so it is not a crippling condition. There are several risk factors such as diabetes, age, sunlight… but wearing sunglasses, avoiding donuts, and staying inside won’t prevent cataracts. So what causes it? According to Beebe et al. it is the exposure of the lens to oxygen. Under normal conditions, in healthy young individuals, there is very little oxygen around the lens. But a liquefaction of the vitreous body of the eye or hyperbaric oxygen therapy can cause the lens to become exposed to oxygen, leading up to cataracts. Basically, your lens don’t interact well with oxygen. There is some evidence that if we can stop the exposure to oxygen, the lens could recover. Interestingly, we know how to repair the vitreous body with synthetic gels. So it is conceivable that we could one day develop preventive therapies against cataracts. At a high level, it might be as simple as keeping the vitreous body of the eye intact. The problem right now is that no doctor can tell you how much oxygen your lens are exposed to. So it is a difficult problem to study and catalog.

Netflix is reaching 100 million subscribers. This is far, far ahead of any cable TV company. In fact, cable TV companies are losing subscribers. Television is dying.

Following speculative claims that bees were being wiped out by the newest pesticides, neonicotinoids, the European Union banned these pesticides. Contrary to pesticides that you spray on the field, neonicotinoids are applied specifically on the seeds. These pesticides remain in wide use in Australia and North America, where both wild and honey bees are doing fine. Here is Matt Ridley on the consequences of the European ban in the Times:

In Britain, (…) farmers have more than quadrupled the number of insecticide applications on oil-seed rape (from 0.7 to 3.4 per growing season), but pest pressure has increased. Meanwhile, recent studies have demonstrated that declines among wild bees are driven mostly by land use changes and have not increased since neonics were introduced in the 1990s (…) This makes sense because neonics are mostly used as seed dressings, absorbed into the plant from germination, rather than sprayed on a growing crop. This makes them more lethal to pests such as flea beetles that eat the crop but less dangerous to innocent bystanders, including bees that collect pollen and encounter lower doses.

We ought to be critical of new technologies, but there is a difference between rejecting progress and being cautious. Some people do not want technological progress and they have much clout.

In diseases like Alzheimer’s, the environment of the brain deteriorates to the point that brain cells die. This lead to brain shrinkage and to cognitive decline. We are having a really like time fixing the environment of the brain. However, some clever scientists found out that we could stop the cells from dying. The brain might still be full of bad proteins, but the brain cells can still be coerced into surviving. In early work, the researchers achieved this effect but using a drug that would be toxic to human beings. However, Halliday et al. have now shown that we can get the same good effect with safe drugs that are already used in human beings. Speculatively, this means that if we can find in time that the environment of your brain is getting toxic for some cells, we could give you one of these drugs to prevent your cells from dying. This would not qualify as a cure for, say, Alzheimer’s, but it could turn it from a death sentence to something we can manage with medication and monitoring.

For a time, it looked like the blood (actually the plasma) of your people could rejuvenate older people. This lead to a good deal of unwarranted mockery. There is still much ongoing work in this direction, but I expect that it will end up being a dead end because, as suggested by work from the Conboy laboratory in Berkeley, it seems that we have “aging factors” in our blood… and not so much “youth factors”. Specifically, as we age, we might get too much of some factors in our blood. Thus, we could age younger people with the blood of older folks, but the other way around is unlikely to work. What we might need to do is to identify and normalize the aging signals in our blood.

The classic game Starcraft is now available for free, for both PCs and Macs.

We have this model of reality where we are this one person throughout time. So I remember the teenager I once was. I think of him as “me”. This may actually only be true in a very teneous manner. Psychologists have found out that there is very little correlation (none at all) between your personality as a kid and your personality as an elderly person. On the short term, you remain who you are, but your personality progressively changes and there does not seem to be any solid long-term anchor. The teenager I was? In a very real sense, he is dead. I no longer think like he did. Not in a meaningful way. It also means that even if I remain healthy for a very long time, who I am today will die over time and be replaced by someone else. Thus you cannot endure as an individual. I view this as a good thing.

Apple co-founder, Steve Wozniak, predicts that by 2075, we will have a colony on Mars.

Naked mole rates are long-lived tiny mammals. We still do not quite understand why they live so long. Interestingly, they can survive without any oxygen at all:

When the oxygen was completely removed and replaced with nitrogen, the mice died after 45 seconds. The naked mole rats passed out. But even after 18 minutes of no oxygen, they recovered when they were put back in normal air.

Why should you care about naked mole rats? Well. They are mammals not very different from us. They mostly have the same genes we do, plus/minus a few. If we can better understand how the cells of naked mole rates, we could use technology to mimick them. So, eventually, our cells could be taught to survive with very little oxygen. This would make us far more robust.

Science and Technology links (April 14th, 2017)

I announced last week that Tesla, the electric car company run by Elon Musk, had surpassed Ford in value. This week, we learned that Tesla has surpassed General Motors. Tesla is the most valuable American car maker.

Suppose I told you that you were about to die, right now. But I could offer you an extra 15 years of life if you just paid for it. How much would you pay? Probably a lot. Yet richer Americans live 15 years older than poorer Americans. If you care at all about inequality, you probably ought to be very concerned with health. Poor’s people health degrades significantly faster than that of richer people as they grow older. It is not just that rich people have access to better anti-aging creams… it is that they have fewer cancers, fewer strokes, and so forth. The solution, of course, is not to make Bill Gates sick and frail, but rather to find affordable technologies that can keep poorer people free from cancer and strokes.

On this note, the first major anti-aging trial on companion dogs has published its first results. There are too few dogs over too short a timescale, but results are promising. The drug being used, and believed to have anti-aging properties, is rapamycin:

Our results showed no clinical side effects in the rapamycin-treated group compared to dogs receiving the placebo. Echocardiography suggested improvement in both diastolic and systolic age-related measures of heart function (E/A ratio, fractional shortening, and ejection fraction) in the rapamycin-treated dogs (…)

Rapamycin is already used in human patients, so it is relatively safe. As a dog lover, I can’t want to have the means to slow down the aging of my 4-legged companions.

Octopuses are weird:

Octopuses have three hearts, parrot-like beaks, venomous bites, and eight semi-autonomous arms that can taste the world. They squirt ink, contort through the tiniest of spaces, and melt into the world by changing both color and texture. They are (…) capable of wielding tools, solving problems, and sabotaging equipment. (…) They (…) fine-tune the information encoded by their genes without altering the genes themselves.

Really weird:

Within months of mating with a female, the male will actually die. Consequently, males do not live as long in the wild as females do. Females will carry the fertilized eggs with her until they grow enough to be released, usually in strings hanging around her den. She can lay up to 100,000 eggs. For the next several months, the female protects her eggs from predators and ensures they receive sufficient oxygen. During these times, which can last 2 to 10 months depending on the octopus species, the female does not eat and slowly wastes away. She usually lives long enough to blow the eggs free from her den so the paralarvae can break free and join the plankton cloud.

Philip Greenspun asks:

If learning maritime history is mostly reading books that are available in libraries or are no longer within copyright, why couldn’t a degree in the subject be earned by downloading a reading list and writing some papers? If the mission of a public university is to educate the public at a reasonable cost, why didn’t they offer this kind of degree online starting in the 1980s when personal computers became popular or the 1990s with the rise of the Web?

The answer is obvious: public universities are not in the business of educating at a reasonable cost. Higher education is a luxury good, albeit a subsidized one.

We still don’t know what aging is, but we know that we can date the age of a cell using “epigenetic”, the set of conditions that determine which genes are expressed. As cells age, harmful genes that are normally inactive get activated while useful genes become silenced. We don’t know whether it is the cause or consequence of aging, or both, or neither. Some people suffer from a rare syndrome called Werner syndrome which is characterized by accelerated aging. So what happens to the cells of people suffering from Werner syndrome? It turns out that, unsurprisingly, the epigenetic of their cell is “old”. That’s interesting because if people suffered from accelerated aging without corresponding epigenetic changes, we might think that the relevance of epigenetic changes was quite secondary. However, this new observation tells us that epigenetic changes are most likely central to the paradigm of aging. In turn, this means that any therapy that reverses epigenetic changes is likely useful.

Fabian Giesen reminds us about how memory bandwidth has evolved over the years: “the available memory bandwidth per instruction has gone down substantially (…) It gets even worse if we look at GPUs.” This is the sort of non-trivial architectural issue that makes the difference between an algorithm that looks good on paper (and in a textbook) and code that runs fast. In my opinion, it also explains why stressing computational models, without accompanying empirical evidence, is a terrible way to teach programming. Or, to put it another way, mathematicians make really bad programmers. Some might argue that the evolution Giesen alludes to is an artifact of our current hardware designs. It might be, but there is also something fundamental at play: it gets more and more difficult to be efficient if the data is not close to where the computer occurs.

Gray hair seems to be a powerful predictor of bad health. Basically, the more gray hair you have, the more likely you are to have a stroke or a heart attack. This should come at no surprise: gray hair is a symptom that your body is not doing what it should. Dyeing your hair is a quick fix, but it is unlikely to affect your risk of death. Though there are a few anecdotal cases of gray-hair reversal (linked with cancer therapies), there is simply no known way right now (except for dye) to reverse gray hair. This is somewhat intriguing and suggests that we do not know enough about gray hair.

There is a widespread belief among people who do not regularly program software that if you coded something, then you somehow understand it. That’s often not even true to a first approximation. There is a growing realization that nobody understands the advanced artificial intelligence software we are building and deploying. Of course, we do not. And we won’t. So how do we make sure that the software does what we want it to do? Short answer: we run tests. This is in sharp contrast with much of computer science which is fascinated by the possibility of proving things mathematically. Sadly, the power of mathematics can be severely limited in its ability to handle complex real-world systems.

If you have a critical heart attack, doctors might install an artificial pump to keep you alive. Amazingly, many patients go on to fully recover and can live without the artificial pump or any further surgery:

For the first time, what we have shown is that heart function is restored in some patients – to the extent that they are just like someone healthy who has never had heart disease.

Price of virtual-reality headsets are declining. The Oculus Rift can be had for $500. The superior HTC Vive is now $700. Alas the software, though abundant, is still not sufficient to push everybody into wanting a headset.

Scientists believe that they have developed a more efficient kind of wheat that could improve yields by 20% thanks to more efficient photosynthesis. This could be either used to grow more wheat, or to grow the same about of wheat while leaving more land to wildlife.

Currently, developing new drugs is prohibitively expensive. In fact, the costs are rising exponentially, according to Eroom’s law. Any technology that can speed up tests has the potential to reduce costs. It seems that the American FDA is interested in supporting “organ on a chip” technologies. Basically, in this approach, we use synthetic miniature organs to test new drugs for safety.

Burger King ran an ad that triggered Google devices and got them to talk about Burger King’s products. So we live in a world where enough people have speech-enabled computers that such an advertisement campaign can be effective. That’s not amazing. What is amazing is that nobody seems to realize that it would have been hard science-fiction only five years ago.

Parkinson’s is a terrible disease, with no hint of a cure in sight. The main problem is that affected people lose neurons in charge of producing dopamine. Clearly, a cure would involve putting back these neurons. In recent work, scientists have managed to tweak other cells that are otherwise abundant, astrocytes, into producing dopamine. That’s an intriguing hack.

Which jobs can be automated? According to some list on the Internet, we can’t automate astronomers and models… but we can entirely automate aircraft cargo handling supervisors and logging equipment operators. That’s using the current technology. Well. I think that astronomy has been largely automated, and models… well, ever heard of Photoshop? It does automate a lot of the modeling work, doesn’t it?

Aleksey Shipilёv has a long article on the Java memory model. It is interesting whether you care about Java or not. The lesson is that the software code written by the programmer is not what the machine does. Rather, the machine has to emulate an abstract machine that would run the code. It has a few concrete consequences:

  • The machine does not have to execute the code in the order specified by the programmer.
  • The machine does not have to execute all of the code (or even any of the code) specified by the programmer.

These nuances will haunt you when you try to dive deep into software. It is a bit like Physics… for the most part, the world around us is intuitive… until you look too far and then things start to act strangely.
Here is a nice quote:

In the same way, the limit on the speed of communication in Special Relativity gives rise to the relativity of simultaneity, the propagation delays on real hardware deconstruct the intuitive notion of simultaneity and global time.

Toyota demonstrated a “leg brace” to help paralyzed people walk. Of course, it is nothing else but a partial exoskeleton. Such technology would be useful not only to paralyzed people but to many of us if it were cheap enough.

The US government wants to use drone equipped with facial recognition to patrol the borders. I am not sure we have the technology yet to pull this off. Keeping thousands of drones in the air at all time is hard. Battery lives are short. Recharging batteries is a slow process. Drones fail, get hacked… But in time, maybe in 5 years or so, I could imagine drones patrolling borders in a cost-efficient manner. Not just borders, of course… For example, I’d love to have a drone patrolling the surroundings of my house. It could be activated whenever something suspicious is happening. Last year, people set fire to garbages in front of my house, and it damaged the pavement. We never found out who did it… What if I had had a drone to protect my house by getting close enough to get clear images? And I’m not even the top market for such technology. What about single women living alone or with young children?

Removing duplicates from lists quickly

Suppose you have lists of numbers where some values are repeated (e.g., 1,1,2,3,3,3,4,0,0). You want these duplicates (or repeated values) to be removed (e.g., 1,2,3,4,0). To avoid potentially expensive memory allocations, we want to solve the problem in-place, writing back the answer is the current array. This is a surprisingly common problem that arises when merging lists, determining the distinct elements, and in several probabilistic algorithms.

To set a reference, suppose I generate 1024 random numbers in the range [0,1024) and I sort them. This will generate a few repeated values. I want to remove them.

I use integers for my test, but we could equally work with pointers to strings or arbitrary objects.

In C++, we have an STL function for this very purpose: std::unique. On a recent Intel processor, it takes over 11 cycles per value in the array. (Java has a distinct method that does the same work.)

You might assume that this result cannot be improved much. Let us see how fast we can go.

You can gain a little bit of efficiency over STL by writing your own function:

size_t unique(uint32_t *out, size_t len) {
    if(len ==  0) return 0; 
    size_t pos = 1;
    uint32_t oldv = out[0];
    for (size_t i = 1; i < len; ++i) {
        uint32_t newv = out[i];
        if (newv != oldv) { 
            out[pos++] = newv;
        oldv = newv;
    return pos;

Somehow, this saves about one cycle per array value (we are just under 11 cycles per value). I am not sure why it seems to be a tiny bit faster.

The main benefit of writing our own function, however, is that it gives us a chance to think about the algorithm.

What hurts us in this code are the mispredicted branches that occur when I compare the new value with the previous one. Because I have few repetitions, the processor predicts that there will be none at all. When a repetition does occur, the pipeline must unwind and fix the problems caused by the mispredicted branch.

We can multiply the speed by about a factor of 4 (to less than 3 cycles per array value) with a branchless approach:

static size_t hope_unique(uint32_t *out, size_t len) {
    if(len ==  0) return 0; // duh!
    size_t pos = 1;
    uint32_t oldv = out[0];
    for (size_t i = 1; i < len; ++i) {
        uint32_t newv = out[i];
        out[pos] = newv;
        pos += (newv != oldv);
        oldv = newv;
    return pos;

Can we do better? It turns out that using SIMD instructions (with the AVX2 instruction set), we can get to about 1 cycle per array value. In that case, the code is not only branchless, but it also operates on vectors of several values at once…

int _avx_unique_store(__m256i ov, __m256i nv, __m256i *o) {
    __m256i wpm  = _mm256_set_epi32(0,-1,-1,-1,-1,-1,-1,-1);
    __m256i wipelast = _mm256_and_si256(nv,wpm);
    __m256i ovkeeplast = _mm256_andnot_si256(wpm, ov);
    __m256i recon  = _mm256_or_si256(wipelast,ovkeeplast);
    const __m256i mbom = _mm256_set_epi32(6,5,4,3,2,1,0,7);
    __m256i vT = _mm256_permutevar8x32_epi32(recon,mbom);
    int M = _mm256_movemask_ps(_mm256_cmpeq_epi32(vT, nv));
    int N =  8 - _mm_popcnt_u64(M);
    __m256i key = _mm256_loadu_si256(uniqshuf + M);
    __m256i val =_mm256_permutevar8x32_epi32(nv,key);
    _mm256_storeu_si256(o, val);
    return N;

I realize that the vectorized code looks like gibberish but my goal is to assess the benefits over vectorization.

With vectorization, we are fully one order of magnitude faster than STL’s std::unique function.

As usual, my code is freely available on GitHub.

Robots have not yet stolen our jobs

Though it is not yet widespread, I encounter more and more people who seem to believe that there is growing unemployment, or falling labor participation rate, due to technology.

It is true that technology has impacted the job market. Simply put, back in 1900, everyone was a farmer. Almost the opposite is true today. And that’s entirely due to technology.

However, some people seem to think that a large fraction of the population cannot find jobs that pay enough to get out of bed because of our ever-increasing reliance on computers.

It is important to set the frame of reference. If we think that computers are having a big effect on employment, it makes no sense to start our analysis 50 years go. Let us narrow it down to the last ten years. After all, it has been a technologically intense ten years. Recall that ten years ago, we did not have the iPhone, YouTube was an ugly site with much smaller traffic, cloud computing did not exist. And so forth.

Being Canadian, I am going to focus on Canada. What? You object that you do not care about Canada? Well. Consider this: the computer revolution is an international phenomenon. Thus, if computers are wiping out jobs in, say, the United States, they should also wipe out jobs in Canada, France, Germany and so forth. After all, we all use the same computers.

There is a nice analysis by Jansen, an economist of the Royal Bank of Canada. He does observe that there has been a decline in the labor participation rate of about 2% during the last ten years, in Canada.

“Ah! Maybe that’s because of the computers!”

I should point out that this decline occurred in Canada, but not in other technologically advanced nations like Germany (where they have more robots than Canada). But I said I’d focus on Canada…

Jansen produces the following chart, where he reports both the actual participation rate and the participation rate you would get if the demography remained constant.

In other words, the participation rate is declining slightly because of demography. If we correct for demography, then the labor participation rate is constant. This means that computers are not wiping out jobs.

I have a more detailed and international analysis if you do not believe this simple analysis.

The facts simply do not fit the theory that computers and robots are wiping out jobs.

Not yet.

Science and Technology links (April 7th, 2017)

Many people suffer from obesity. I am not sure we know how to combat this epidemic effectively. There is a never ending stream of wonder diets, but nothing seems to actually work. Or we just tell people to have more will power. New research suggests that inactivity is more a consequence than a cause of obesity. That is, while moving too little can contribute to making you obese, once you are obese, your body favors inactivity.

Some time ago, Amazon surpassed Walmart in market value: Amazon is worth (430B$) about twice as much as Walmart (225B$). Amazon has about 340,000 employees whereas Walmart has over 2 million employees. For some perspective, Apple is worth nearly twice as much as Amazon (800B$), but it has far fewer employees than Amazon (about 100,000). We have learned this week that Tesla, the electric car company, surpassed Ford in market value. Unlike Ford’s cars, all of Tesla’s cars have full self-driving hardware. Ford has 200,000 employees; Tesla has 30,000 employees. By the way, Amazon is worth about ten times as much as Ford.

Our cells produce their energy in its mitochondria. The mitochondrion is like a tiny cell (with its own DNA) that lives within our cells. (Red blood cells are an exception as they produce their energy by fermentation, like cancer cells.) Having lots of healthy mitochondria is critical. Cells that have a hard time producing energy don’t work as well. Our brain uses a lot of energy so it needs lots of good mitochondria. It is possible that neurological diseases (like Parkinson’s) could be tied to mitochondrial dysfunction. Anything from cancer all the way to skin wrinkles might be tied to mitochondria. So what harms mitochondria? We don’t know everything yet, but Toda et al. found that too much sugar may harm the mitochondria within our neurons.

What might you do if someone has too few good mitochondria? What about just injecting new ones? It seems that it might work:

Mitochondrial dysfunction is associated with a large number of human diseases, including neurological and muscular degeneration, cardiovascular disorders, obesity, diabetes, aging and rare mitochondrial diseases. Replacement of dysfunctional mitochondria with functional exogenous mitochondria is proposed as a general principle to treat these diseases. Here we found that mitochondria isolated from human hepatoma cell could naturally enter human neuroblastoma SH-SY5Y cell line, and when the mitochondria were intravenously injected into mice, all of the mice were survived and no obvious abnormality appeared.

If you care, however, about how many mitochondria you have, you should know that high-intensity training increases the mitochondria count of your muscles. This likely means that high-intensity training makes your muscles better at producing energy.

Quick: what operating system people use most to browse the Web? If you said Windows, you are wrong. Android is the Web’s most popular operating system. Android’s parent company (Google/Alphabet) is worth more than Microsoft.

Stem cells are these specialized cells in our bodies that are in charge of generating all other cells. There is currently a race to produce therapies based on stem cells. We are developing cheap ways to generate stem cells for therapeutic purposes. The idea is that you just inject stem cells at the right place in just the right way, you might spur regeneration. What might you want to regenerate? What about injured tendons for example? Sadly if you just inject stem cells in an injured tendon, you do not get the kind of regeneration we need. For example, the stem cells may just go elsewhere, where you do not need them. However, Peach et al. found that if you just implant the stem cells within a synthetic matrix, that acts as a niche for the stem cells, they stay in place and do the work we expect, regenerating tendons.

Greg Linden reports that though 6.3 million VR headsets were sold in 2016, “almost all so far just the cheap toys where you slot your smartphone in to use as the screen”. As an anecdote, my wife got a free VR headset with her latest smartphone, and she just told the clerk to keep it. Greg also reports that tablet sales a falling.

Apple quietly released a new iPad, its famous tablet. It is inexpensive (for an Apple product), it has great processor performance, and a nice screen (albeit without reflective coating). I own an iPad Air and I won’t be upgrading.

Apple has been designing its own mobile processors (the Ax series) with great success. Apple’s mobile products have fast processors. The single-core performance of Apple’s latest iPhone is on part with Intel’s laptop processors. It now looks like Apple wants to design and own its graphics processors. Up till this point, Apple was relying on designs from a company called Imagination Technologies. Apple told them that it was over. It seems very likely that Apple has been developing its own technology quietly for some time and that they are ready to produce it. This comes at a time when graphics processors are increasingly used for artificial intelligence, in addition to graphics.

Whereas mitochondria provide the cells with energy, the lysosome collects and recycle the garbage (what scientists call “autophagy”). When either of those goes bad, the cell is in trouble. A Korean team found that some kind of product (“ataxia telangiectasia mutated inhibitor KU-60019”) can do some good when it happens:

In turn, this reacidification induced the functional recovery of the lysosome/autophagy system and was coupled with mitochondrial functional recovery and metabolic reprogramming.

So, in yeast, these scientists were able to “reboot” the cells so that both energy production and garbage collection were back in full strength. Though you may not care about yeast, it is possible that the same trick could work in mammals like us. I presume that these researchers must be working on mice as we speak.

Ethiopia is building a space programme.

How fast is JavaScript, the programming language used by your browser? Fast enough to run high-performance databases:

This demonstration explores the novel and unconventional idea of implementing an analytical RDBMS in pure JavaScript so that it runs completely inside a browser with no external dependencies. Our prototype, called Afterburner, generates compiled query plans that exploit two JavaScript features: typed arrays and asm.js. On the TPC-H benchmark, we show that Afterburner achieves comparable performance to MonetDB running natively on the same machine.

Sabine Hossenfelder comments in Nature about the current state of science:

We’re judged by our publication count — or at least it’s what we think we’re being judged by — and stricter quality measures in theory development would cut back productivity. (…) To me, our inability — or maybe even unwillingness — to limit the influence of social and cognitive biases in scientific communities is a serious systemic failure. We don’t protect the values of our discipline. The only response I see are attempts to blame others: funding agencies, higher education administrators or policy makers. But none of these parties is interested in wasting money on useless research. They rely on us, the scientists, to tell them how science works.

Optimizing productivity is important, but you have to produce the right things. Producing research papers in great quantities is hardly worth anything. It is not like research papers are scarce as it is. We have a glut of research papers: more than you could ever read. Obviously, what we want, what we need, is scientific progress. I believe that producing research papers can be part of a productive process… telling others about your work is a great way to help push things forward… but it should never be the end product. Here is an analogy. The goal of a programmer is not to produce software. If we started remunerating programmers by how many lines of code they write, we would sure get many lines of code. But that’s obviously not what we, the users, want. Yet, of course, producing lines of code is part of a useful process to serve users. So how do we fix the problem that Hossenfelder outlines? She is right that it is useless to complain about the pressure to publish. We are all under pressure to be more productive and that’s not a bad thing. What is missing, and somehow Hossenfelder fails to mention it, is more “skin in the game”. What I mean is that scientists need to profit when their research help us progress, and they need to suffer when their research (irrespective of how many papers are published) fails to help us or, worse, holds us back. We have to realize that the current funding practices simply do not provide these necessary incentives. If you are a scientist doing useless work as part of a large cohort of equally useless people, you will be, everything else being equal, more successful than a lone scientist trying to find more useful alternatives… because of peer review. Peer review ensures mediocrity. Scientists should be reviewed by people who have strong incentives to fight against cargo-cult science.

The bulk of medical research occurs in the United States, and much of it is funded by the US government through the National Institutes of Health (NIH). It looks like White House is planning to cut by 20% NIH’s funding which could have adverse consequences on scientific progress. My understanding of US politics is that the president in not in charge of the budget, the congress is, so I am not sure what to make of it all. Moreover, the bulk of the medical research, in the US, is privately funded (75% of clinical trials are privately funded), and an overwhelming majority of new drugs and therapies come from the private sector. So while I would favor massive increases in funding for research, especially medical research, I do not think that, in the current system, there is a strong correlation between scientific progress and government funding. Sadly. We need to fix the incentives.

Moore’s law is the empirical observation that the number of transistors in processors doubles every two years. It was made in 1975 and it has held true for the last few decades. However, many people have proclaimed that Moore’s law is dead. Not so fast

If you divide the number of transistors in Intel’s current [processor] by the surface area (…), the rate of improvement still equals out to more than double every two years, keeping Moore’s law on track

What is certainly true, in my experience, is that successive Intel commodity processors do not generally make our software runs faster, much faster. That’s what leads people to call Moore’s law as being dead. But we should not conclude that the technology is stagnating just because one metric is plateauing (performance of Intel’s commodity processor).

Google is giving us more details regarding the hardware they use for machine learning. It seems to be between one and two orders more efficient than commodity processors. It is capable of 92 trillion 8-bit operations per second. For a company the scale of Google, it matters. Over time, it would be interesting to contrast these results with the evolution of Moore’s law. That is, can Google manage to keep on improving its custom processors at a rate that exceeds that of companies like Nvidia and Intel?

Another computer science professor warns us about technological unemployment:

“If you are a truck or taxi driver, you should be very concerned,” the Dalhousie University computer science professor [Stan Matwin] said in an interview Monday. “In five to 10 years, I think we will see a substantial amount of cars that will be driving automatically.”

We have been told for decades that salt is the silent killer, causing high blood pressure and leading to heart attack. Nah.

the consumption of a high salt diet is not the cause of hypertension and that there are other factors, such as added sugars, which are causative for inducing hypertension and cardiovascular disease

We have learned that it is useless to load up on antioxidants through supplements, and it might even be harmful. So taking vitamin C supplements is probably not good (but eating oranges is fine). However, that’s only true in general. Scientists have found that massive doses of vitamin C could be helpful for cancer patients. It seems that the effect is related to the fact that cancer cells tend to have dysfunctional mitochondria. These generate lots of active iron molecules that react with vitamin C to create nasty stuff damaging cancer cells specifically:

we verified convincingly that increased redox active metal ions in cancer cells were responsible for this differential sensitivity of cancer versus normal cells to very high doses of vitamin C

So maybe we shall treat cancer patients to megadoses of vitamin C in the future. Linus Pauling would be happy. To be clear, the point here is not that vitamin C can cure or prevent cancer, but rather that it can do a lot more harm to cancer cells than to rest of the body, thus complementing other treatments.

Maybe Earth is not a planet. But Pluto might be officially a planet again. It seems like astronomers have a lot of time on their hands.

We might be able to cure allergies using nanoparticles.

Last week, I reported how scientists they could, maybe, partially reverse aging by reversing the decline of nicotinamide adenine dinucleotide (NAD). Young mammals have lots of NAD, older mammals have little of it. NAD helps keep your cells healthier and having less of it means that your cells are more fragile. You can’t eat NAD, but you can convince your body to get more by consuming its precursors: nicotinamide riboside (NR) and nicotinamide mononucleotide (NMN). Both of these should be available at a health store near you, and you can order them from Amazon if you want. (Note: I do not recommend doing so, and I am not taking this stuff.) I thought it was early to go to the press and claim that a cure against aging was around the corner. As it turns out, according to this article in Nature, NAD-precursor clinical trials are already ongoing in Japan. So it is further along than I thought. Still, I think expectations should be modest. Given that NMN is freely available, if it turned back the clock in an obvious manner, we would know by now. It is certainly not going to make wrinkles and gray hair go away. However, we could hope for it make older people healthier. Maybe. Hopefully. So why Japan? I’d like to know. Here is something nice I’d like to stress… if these trials show that NMN is helpful… makes us healthier as we grow older… we can all go Amazon and order the stuff. So even if the impact is modest on each individual, the overall impact could be huge given that it is relatively cheap and widely available. But, again, please wait for the science to come in before you eat the stuff or put it on your face. We still know too little.

Need to get a surgery that you can’t get in your country? China wants you to come over as a tourist to get your nifty medical treatments. This could give the “made in China” statement a whole different meaning.

Looks like the next generation of PC memory chips (coming out in 2018) could have twice the speed. This could be a big deal. Getting access to the data is often half or more of the work. A slower processor with faster memory can sometimes be faster.

Though you might think that you can see all colors, in reality, we only see blue, red and green colors. Researchers have found a way to fool our eyes into seeing more colors with special filters.

The thymus in an organ responsible for producing new white blood cells. As you age, your thymus shrinks to nothing and stops doing its work. Younger people can also have a damaged thymus due, for example, to cancer. So your immune system becomes ineffective. In particular, it means that you lose much of your ability to fight cancer through your immune system. There are ongoing clinical trials to regenerate the thymus, with the hope that it will give people better health (fewer cancers, fewer diseases). In a Nature article, researchers explain how they were able to construct an “artificial thymus”. So if you have cancer, instead of relying either on donated white blood cells or on your own blood cells, we could create custom white blood cells using organoids that are engineers to fight particular diseases like cancer.

Senescent cells are cells that our bodies accumulate with time. They are supposed to die, but they just stay there, causing trouble. The more you get, the more trouble they cause, and since they won’t die, you get more and more over time. Clearing senescent cells is all the rage right now. There is a wonder drug called rapamycin that’s used as an immunosuppressant for transplant patients. It was first discovered on Easter Island, kept in a scientist’s personal fridge somewhere in Montreal after his employee shut down, and later commercialized. Rapamycin is not something you’d want to normally take, as it has several bad side-effects, like increasing your risk of diabetes and suppressing your immune system… However, it also seems to ramp up your body’s natural defenses through the Nrf2 pathway. It seems protective against cancer, for example. Incredibly, it looks like rapamycin is a senolytic, that is, a drug that helps clear out senescent cells. This makes rapamycin a very interesting subject of investigation. If only we can minimize its side-effects, maybe by altering it somehow, we could have a powerful drug that keeps us healthy.

It is now understood that the bacteria in your gut play a key role in keeping you healthy. They found that by injecting young poo into old fishes, they could make these old fishes live older. The equivalent process in human beings would be mind boggling. Close your eyes and imagine rejuvenation clinics where older people can receive, on a routine basis, transfusion of teenager’s poo. Hmmm…

Multiple sclerosis is a terrible degenerative disease. There is no therapy right now that can even slow the progression of the disease. However, there is renewed hope as a new drug, ocrelizumab, seems to do just that. It completed phase III clinical trials and it seems to work. Hopefully, it will be commercialized soon. It is not a cure yet for multiple sclerosis, but slowing down the disease is important.

How much are elite universities worth?

Will you do better if you attend a selective college?

If you are Caucasian (white) and from a middle class or better background… you will not: “Our estimates of the return to college selectivity (…) are generally indistinguishable from zero” (Dale and Krueger, 2014)

It is important to keep the facts straight. Kids who attend college, especially elite colleges, tend to have an excellent background and to be quite smart. So we know that they will do well. But they won’t do better if they have the name of an elite college on their resume. Having the ambition and the grades to get into an elite school is enough.

Further reading: What Is an Elite College Really Worth?

My review of ‘Ghost in the Shell’ (2017)

Ghost in the Shell was, in 1995, a forward-thinking science-fiction anime. It is said to have had a lasting influence on movies such as the Matrix. Hollywood offers us a remake featuring Scarlett Johansson.

It is a beautiful movie. The visual effects are simply wonderful. It is an ode to the original. The plot was slightly revised compared to the original. In my mind, the revised plot is more compelling and coherent. The core theme of the movie is the notion of “ghost”, the spirit or consciousness of human beings, as something that is distinct from the human body. What happens when we can replace every organ while preserving the same consciousness? The movie comes to a strong conclusion.

Scarlett Johansson plays the role of someone with a synthetic body (the Major). She moves and expresses herself accordingly. I could not imagine anyone else playing the role better.

The 2017 movie presents more or less the same technology as the 1995 movie. Given how forward-thinking the 1995 movie was, it works relatively well. We have augmented reality, brain-to-brain communication, artificial limbs and organs, and so forth. Oddly, cars and trucks are not systematically self-driving.

I went to see the movie with my 13-year-old son, and we both had a lot of fun.

Compressed bitset libraries in C and C++

The bitset data structure is a clever way to represent efficiently sets of integers. It supports fast set operations such as union, difference, intersection. For better scalability, we compress bitsets. Bitsets are not always the right data structure, but when they are applicable, they work well.

Here are some open-source libraries implementing (compressed) bitsets in C and C++:

  • CRoaring: It implements the Roaring compressed format in C, with a C++ wrapper. Works with GCC, clang, and Visual Studio. Hosted on GitHub.
  • EWAHBoolArray: It implements the EWAH compressed format in C++. A C version of this library is included, in part, within Git, a tool familiar to many programmers. Similar to WAH and Concise (see below), but faster. Works with GCC, clang, and Visual Studio. Hosted on GitHub.
  • cbitset: It implements an uncompressed bitset in C. Works with GCC and clang. Hosted on GitHub.
  • Concise: This C++ library implements both the WAH and CONCISE compressed formats. Works with GCC and clang. Hosted on GitHub.
  • BitMagic: This C++ library implements its own compressed format. Somewhat similar to Roaring, but can use more memory. Works with GCC, clang, Visual Studio. Hosted on sourceforge.

I can vouch for all of these libraries: I would use them in production. They are all available under liberal licenses. I should add that I am involved with all of them, except BitMagic.

Science and Technology links (March 30, 2017)

A famous and highly-funded researcher from Cornel, Brian Wansink, has published many studies regarding how we eat. His work has guided public policy all over the word. According to his Wikipedia entry, Barak Obama named him “Executive Director of the USDA’s Center for Nutrition Policy and Promotion, where he oversaw the development of the 2010 Dietary Guidelines”. He got cited 21,000 times in the scientific literature. It now seems that it was pure junk. Here is what was found

On a first glance at these articles, we immediately noticed a number of apparent inconsistencies in the summary statistics. A thorough reading of the articles and careful reanalysis of the results revealed additional problems. The sample sizes for the number of diners in each condition are incongruous both within and between the four articles. In some cases, the degrees of freedom of between-participant test statistics are larger than the sample size, which is impossible. Many of the computed F and t statistics are inconsistent with the reported means and standard deviations.

This story is interesting. How can you tell that a published paper is junk? Here is a nice trick: suppose I tell you that I have three integers and their average is 4.131. You know that it is simply not possible. I could have 4.000, 4.333, 4.667, but I could never get 4.131. If you see 4.131, you know the person made up the average. It tells us more: not only did the researcher not bother to actual gather integer values, he did not even bother making them up… he just made up the averages. This bears a name: Granularity-Related Inconsistency of Means (GRIM). That a scientific paper should avoid GRIM is putting the bar on science quite low… Yet half of well regarding psychology papers have made up aggregated numbers:

Using GRIM, they examined 260 psychology papers that appeared in well-regarded journals and found that, of the ones that provided enough necessary data to check, half contained at least one mathematical inconsistency. One in five had multiple inconsistencies.

So what about our famous and highly funded researcher, Wansink? Researchers found…

150 or so GRIM inconsistencies in those four Italian-restaurant papers that Wansink co-authored. They found discrepancies between the papers, even though they’re obviously drawn from the same dataset and discrepancies within the individual papers

Yes. Over a hundred made up numbers in only four papers (published in the Journal of Sensory Studies, in the Journal of Product & Brand Management, in Evolutionary Psychological Science and in BMC Nutrition). This is a man that receives millions of dollars in funding. You’d think that with this kind of budget, they could generate credible sounding made-up numbers, right? But wait… let us think about this for a minute. How come it took a silly statistical analysis to reveal the work as being junk? If the numbers are made up… certainly, someone among the authors of the 21,000 papers citing Wansink would have realized that something was odd and reported it. What about the referees recommending the papers for acceptance? What about the journal editors? Wansink is hardly a newcomer. The fact that it took people from outside his field to draw attention to the fraud is quite telling. Wansink himself is dismissive of our concerns, and this has lead Andrew Gelman, a statistician, to comment

The whole thing just baffles me. On one hand, Wansink seems so naive about statistics and research methods. But on the other hand, who could be so clueless as to not suspect a problem when hundreds of errors have been found in these papers? (…) Paradoxically, this motivates me to examine at certain individual cases, like this one, in detail, to look at how people at different stages of their careers react to the realization that they’ve been doing junk science.

The bar in science is very low but especially low in psychology and related fields. Wansink can receive millions of dollars while not having to, I don’t know, publish the data he collects along his paper. That way, at least, he would have to make up the data behind the averages he reports. But, of course, that would be a lot of work. Oh! And what about all the proud parents who pay the Cornell tuition fees, certain that their kids are educated by the best scientists that money can buy. They would surely expect that professors who make up data on a routine basis would get fired. But, no, Cornell won’t fire Wansink. And, yes, they are getting scammed too. At this point in time, I no longer recognize psychology and behavior studies as a viable scientific discipline… it seems to be no better than astrology. More on this: Over half of psychology studies fail reproducibility test.

Fasting is often considered healthy. Scientists report that fasting for three consecutive days regenerate the entire immune system. If true, this might help, for example, cancer patients who often have damaged immune systems. It seems that fasting could cure Type 1 diabetes, the type that affects young and old people. This makes sense since type 1 diabetes is an autoimmune disease (the body attacks its own pancreas). The result is intriguing because many of us suffer from autoimmune diseases, like allergies. (Speaking for myself, I do not ever dare to fast as I am concerned about losing weight: I am quite small as it is.)

Men who have prostate cancer often receive hormone therapy (androgen deprivation) to reduce their level of testosterone. But we know that men have more muscles than women… and that this is related to testosterone levels. So can you still build large muscles, even if you have artificially low levels of testosterone? It seems that you might, given the right protein supplementation:

Testosterone appears to play a role in maintaining muscle mass but is not necessary to initiate a robust response in muscle protein synthesis following resistance exercise when combined with protein ingestion (…)

It is an intriguing result given that it is widely reported that women only ever “bulk up” when they take hormones. What this paper suggests to me is that women who take enough protein and who train a lot could build up large muscles, without hormonal tricks.

A Quantum Computing start-up, Rigetti Computing, received 64 million dollars in funding. I am not entirely sure what quantum computing is good for, but some people must have practical plans.

Doctors printed a titanium vertebra to repair a women’s spine. It seems that the woman will be able to walk again.

Moore’s law is the idea that every two years or so, the number of transistors on processors doubles. There are many questions about whether Moore’s law still holds. Certainly, it seems that Intel, the company, has given up of using Moore’s law as part of its business plan. Part of the issue is that there are limits as to how small a transistor can be (clearly, you can’t make transistors with less an atom.) Klien offers a more optimistic take on our near-time future:

  • Though components cannot get infinitely smaller, many memory chips are going 3D. Even if the components cannot get smaller, by piling them up, we can build ever more powerful chips.
  • Though Intel’s chips are not getting much faster year after year, Nvidia has seen the performance of its chips multiplied year after year.

A Japanese man received reprogrammed stem cells to help restore some of his vision.

Elon Musk, of Tesla fame, has launched a new company Neurolink, who’s goal is to develop technology to connect our brains directly to computers. Currently, we interact without computers through screens and keyboards, but Musk wants to have practical brain-to-computer interaction.

Sickle cell disease is a chronic illness that limits the lifespan of affected people. It is often considered as incurable. It affects 1 out of 500 African American. Apparently, the first ever woman was cured from the disease using radiation therapy and stem cells.

Last year, we got good and affordable virtual reality hardware: the HTC Vive, the Oculus Rift, and the PlayStation VR. Samsung sold 5 million Gear VR headset, its VR headset for smartphones. Sadly, the software is not here yet. Still, I should point out that one of the highest rated PlayStation 4 game is a VR game. Next month, Samsung is releasing a new version of Gear VR with a controller. Early versions of the Oculus Rift and of the Gear VR lacked a controller, but I think the industry learned that VR requires its own controllers, for the experience to make sense.

Retinitis pigmentosa is a terrible disease that leads to blindness. We are literally giving back (some) vision to affected individuals using bionic eyes:

Another retinal implant, the Alpha IMS from the German company Retina Implant AG, became, in 2013, the second wireless retinal implant to receive the CE mark in Europe. The device is a tiny microchip measuring 3 mm2 with 1,500 microphotodiode-amplifier pixels that replace photoreceptor function in the eye.

Of course, 1,500 pixels is not a whole lot, but let us bet that the pixel count will go up quickly at some point in the near future.

Larry Summers, a reputed economist, tell us that technology is more important for jobs than international trade:

Artificial intelligence is behind autonomous vehicles that will affect millions of jobs driving and dealing with cars within the next 15 years, even on conservative projections. Artificial intelligence is transforming everything from retailing to banking to the provision of medical care. Almost every economist who has studied the question believes that technology has had a greater impact on the wage structure and on employment than international trade and certainly a far greater impact than whatever increment to trade is the result of much-debated trade agreements.

Not all fat in our bodies is the same. A particularly interesting type of fat is called “brown fat”. This type of fat burns calories to warm you up. It seems that we can activate this fat, maybe as a way to fight obesity. Scientists have found a safe way to activate brown fat (in mice):

The researchers began with a cohort of nine healthy human volunteers, taking blood samples first at normal room temperatures and then at temperatures cold enough to activate brown fat. Levels of 12,13-diHOME rose significantly among all the volunteers in the cold. “After we identified this lipid in the human cohort, we used it to treat mice,” says Lynes. “We showed that it indeed can activate fuel uptake into brown fat, and improve brown fat performance.”

As a bonus, we could imagine saving on heating costs by turning our own fat as radiators.

The latest trend in AI is deep learning, and deep learning is strongly tied to both Montreal and Toronto. It has Canadian roots, at least in part. The Canadian government is investing massively in deep learning. They are creating a new research institute in Toronto, the Vector Institute. It will be backed by AI star Geoffrey Hinton. Recall that Geoffrey Hinton predicted, in 2015, that within a decade computers would have developed “common sense”.

David Sinclair is a medical researcher famous for promoting the idea that resveratrol, an ingredient found in grapes (and in health stores near you) can slow down aging. An initiative to develop a more potent synthetic resveratrol that he lead and sold to a large pharmaceutical company for millions ended up in a major failure. Trouble is, resveratrol was never shown to prolong the life of normal mice (only obese mice). In recent work, Ramos-Gomez at al. show that “resveratrol supplementation decreases chronological lifespan as a result of mitochondrial dysfunction” (in yeast). I don’t what it means exactly, but it does not sound good. This same David Sinclair has a new anti-aging compound that can “reverse DNA ageing”:

The cells of the old mice were indistinguishable from the young mice, after just one week of treatment, This is the closest we are to a safe and effective anti-ageing drug that’s perhaps only three to five years away from being on the market if the trials go well.

I wish Sinclair would wait for confirmation before going to the media with his speculations.

Your joints, nose, and ear are made of cartilage. We can print cartilage using 3D printers. In theory, if you lose an ear, we could print you a new one. In practice, though we could print it out, but no doctor would put it in. Scientists implanted cartilage in mice, and it worked. It is yet another stop on a long road that should see us, one day, print bones, skin, and muscles, to reconstruct damaged bodies.

I remember being told convincingly, just a few short years ago, that we would soon run out of cheap oil. We are in the middle long-running oversupply of oil that has seen us reach record stockpiles, driving prices down month after month:

Oil prices extended their streak of losses on Thursday, as traders focused on the persistent oversupply of crude in the global market that has weighed on prices in recent years. The record in U.S. stockpiles of crude oil reported Wednesday fed concerns over a global glut of supplies, despite expectations that U.S. demand for gasoline is set to grow in the run-up to the summer driving season.

What happened? Unexpected technological progress.

If you put cameras on sheep, you get a cheap way to photograph the landscape and the street views.

Last year was the first year in decades that saw a decline in food prices in the US. This would be due, in part, to lower transportation costs due to cheap oil prices.

To keep its population level constant, a country needs 2.1 births per woman. China is nowhere close:

The one-child policy, implemented in 1980, had comparatively less impact on fertility, which fluctuated between 2.5 and 2.6 births per woman in the following decade. Then, from 1990 to 2000, despite no major further tightening of family planning laws, fertility fell again, slipping to 1.45 in 2000. Fertility fluctuated between 1.5 and 1.6 for most of the 2000s, well below the replacement level of 2.1 births.

Relaxed family planning laws have prompted some to speculate that China’s fertility rate will continue to rise.
We’re more circumspect. Surveys of Chinese couples’ childbearing intentions suggest economic considerations, not legal restrictions, largely explain China’s low fertility rate today. China would not be unusual in this regard. Rising incomes are associated with falling fertility globally. This is a consequence of a variety of factors. For example, female workforce participation and college education facilitate income growth but also tend to depress fertility by delaying marriage and births. Urbanization and industrialization are also linked with income growth and falling birth rates. For agricultural households, larger families can be advantageous, since children can be put to work on the family’s plot.

By the way, in Japan and Germany, women have, on average, 1.5 children. Their populations are falling fast. In effect, it seems that technology drives down fertility which leads to smaller and older populations. Logically, people who want to see fewer human beings on Earth should promote technological progress and urbanization.

U.S. electricity power producers have reduced carbon dioxide emissions by 24 percent since 2005, according to a new report from Carnegie Mellon University’s Scott Institute for Energy Innovation. How? Better technology.

Professor Judith A. Curry, a highly cited climate researcher, on climate change research:

Scientific progress is driven by the creative tension spurred by disagreement, uncertainty, and ignorance. Progress in understanding the climate system is being hampered by an institutionalized effort to stifle this creative tension, in the name of a ‘consensus’ that humans have caused recent climate change. Motivated by the mandate from the UN Framework Convention on Climate Change (UNFCCC), the climate community has prematurely elevated a scientific hypothesis on human-caused climate change to a ruling theory through claims of a consensus. Premature theories enforced by an explicit consensus building process harm scientific progress
because of the questions that don’t get asked and the investigations that aren’t undertaken. As a result, we lack the kinds of information to more broadly understand climate variability and societal vulnerabilities.

(Video presentation.)

The average scientist in the US is fifty years old. And this number of rising fast. This is caused, in part by the relative glut in the number of young scientists… which increases competition for full-time positions, and means that people compete longer for them. It is also caused in part by the fact that scientists retire older, probably because they are healthier than scientists from earlier generations. People talk a lot about the effect of technology on employment, but I think that the great untold story is the effect of increased longevity on employment.