Archive: April 2015
... I'm baack in the saddle again ... after a great business / pleasure trip to Boston / London. No blogging, sorry. But I'll try to catch up, at least a little ...
This is me, Alex, and S. Eye-ing London. Alexis has been studying there since the start of the year, so she's now a local :)
From Marc Andreessen, a year ago: the future of the news business, a Twitter stream all in one place. The future is getting closer all the time. And now with Periscope, could include video streams too.
While in London I visited the excellent Museum of Science, which features a great exhibit called "the story of information", all about the ancient and near-ancient progression of technology for communications. Most thought provoking. This is a picture of the very first "radio station" for multicasting information.
Dave Winer: Journalism must compete. In re: Facebook's request that news providers give them access to full text content. "News is changing. Be the change."
How to Google something you don't know how to describe... using Visual Search, of course!
Speaking of Google, here's a picture of their cool street view bicycle, used for narrow streets which don't allow car traffic. If you didn't know how to describe this, how would you find it?
This is way cool: Nissan takes its new glow-in-the-dark Leaf electric car for a spin on Holland's glowing smart highway. Read that headline again; yes, you are living in 2015 all right. What a great time to be alive!
This seems like a great idea: $Cashtags, a web address for making payments via Square. I've noticed that #hashtags have replaced URLs in advertisements, store windows etc., perhaps soon they will in turn be replaced with $cashtags. Stay tuned.
TechCrunch bemoan the terrible technical interview. "Traditional technical interviews are terrible for everyone. They're a bad way for companies to evaluate candidates." I disagree with this entirely, having spent a career hiring people via technical interviews. There are worse and better ways to conduct them, but they are not necessarily a bad way to evaluate candidates. It is what it is.
Not fiction: Secret Nazi lair believed discovered in remote Argentine jungle. Paging Indiana Jones.
Best news ever: Spielberg to direct Ready Player One movie. Yes!
I can't remember anticipating the movie version of a book I liked this much, ever. Seems like it could be great.
Steve Nash announces his retirement from the NBA. "It will always hurt that Phoenix Suns fans didn't get the championship they deserved during our run. But I don’t regret anything. The arena was always sold out and rocking. It was the time of my life. Thanks, Phoenix." Class all the way, one of my favorites from back when I was an NBA fan.
What do you use to keep track of what you need to do? Jeff Atwood says don't use anything, just keep track of three things. Sounds good in theory, but when those three things have been done, what next three things must be done?
The first teaser for the next James Bond movie: Spectre.
Looks excellent. Yay.
|
Some people think in terms of the Internet, nothing has happened yet. Those people are wrong.
"The internet is still at the beginning of its beginning. If we could climb into a time machine and journey 30 years into the future, and from that vantage look back to today, we'd realize that most of the greatest products running the lives of citizens in 2044 were not invented until after 2014."
In terms of a global information exchange platform, we've gone from zero to one. Anything that happens now is going from 1 to N. No doubt amazing things will happen – it is quite possible the most influential products of 2044 don’t yet exist. But going from zero to Google? Zero to Wikipedia? Zero to Facebook? Zero to Amazon? Those are amazing transformations, qualitative changes in the world.
1995 was the year the future began. A unique inflection point in human history, quite possibly the most significant ever. And you were there. There were people who were the first to sail across the Atlantic, or the first to run a railroad across North America, or the first to fly to Asia. But we were the first people to use the Internet. Some of us even helped build it :)
|
The Ole filter makes a pass ...
While on the road had a chance to visit the amazing Boston Museum of Fine Art, easily the best I've ever seen. I loved that they gave you twelve "must see" pieces to find, spread all over their collection; a nice way to explore.
I haven't said anything about the Ellen Pao vs Kleiner Perkins case. Now that it's over, we'd have to say she was a terrible test case for sexism in venture capital. There probably is gender discrimination, but far from calling attention to the problem, she exacerbated it. As Glenn Reynolds notes the most likely consequence will be for firms to be less willing to hire women in the first place.
Nir Eyal is showing software designers how to hook users in four easy steps. I'm reading his book, Hooked, and I must admit, I'm hooked. Not to say this stuff is new, but this formulation is simple and lends itself to practical application.
Tim Bray reflects on Google + 1 year. "the other gripe: The distinction between 'user' and 'customer'. Yes, I understand why. But in my four years at Google, I talked to an endless stream of developers and end-users - and enjoyed it - but never exchanged a single word with any of the actual customers paying the bills; which is to say, an advertiser."
Meanwhile: Google's new Chromebit dongle will transform your TV into a PC. Hmmm...
Luxurious. Apple analyst Horace Dediu thinks through the Apple Watch pricing model, including the Luxury Edition. It will be most interesting to see how this works out.
While in London recently I made a pilgrimage to Selfridge's, the amazing super-department store. Half of the ground floor comprises designer boutiques for luxury men's watches and jewelry; brands like Rolex, Piaget, Patek Phillipe, Audemars Piguet, Breitling, TAG Heuer, etc. A new Apple Watch boutique is presently shrouded. But will it fit right in? I have to think one of these it not like the others...
Another Round of Cringeworthy Chemistry Jokes That Hope to Get a Reaction From the Audience. "What do you do with a sick chemist? Well if you can't helium, and you can't curium, you're going to have to barium." When I studied Chemistry I never realized it would prepare me for a career in comedy.
Have you ever wondered? Now you know: Flying with Virgin Galactic. "Accelerating through Mach 0.95, the aircraft wobbles as shock waves develop on its wings and tails. This is known as a burble, and it marks the entry into supersonic flight." I can't wait :)
NASA's Cassini spacecraft returns to the realm of Saturn's icy moons. Excellent. Can't wait until SpaceX or Virgin Galactic take *us* there...
Guy Kawasaki: How to be a demo God. "I've given this advice to hundreds of startups, and hundreds of thousands of people have read it online, but most demos still suck. This is because people think this advice applies to the great unwashed masses who don’t have a curve-jumping, paradigm-shifting, patent-pending product like they do and are not gifted presenters like they are. You may believe you're one of them. You're wrong." A great list, headed by Create Something Worth Demoing".
Chinese scientist works to save the Ila Pika, an endangered species of tiny mammals he discovered in 1983. The furry mammal resembles a cross between a rabbit and a teddy bear and lives in the Tianshan mountains of Northwest China. They're adorable!
|
This morning it feels like I'm really back, after two weeks traveling, even though I physically returned last Thursday night. Friday was a hectic catch-up day with meetings and phone calls and lots (and lots!) of email, Saturday was my first day "off", and yesterday was ... Easter! (yay, complete with my [adult] kids engaged in an egg hunt) And this morning is Monday, and I'm back. So of course I'm blogging :)
This is a picture of Charles Babbage's Difference Engine II, which he started but never finished, and which was completed with materials and techniques of his day 150 years later. Amazingly cool.
This is the week to prepare for the Apple Watch, which can be preordered at midnight on Friday night. Have you already picked out your model? (I think I have, and no, it's not a $10K Edition :) In case it is of any assistance to your choice, Apple have helpfully provided some video "guided tours".
Richard Feynman: Fire is stored sunshine. I am just now reading Quantum Man, an interesting book about Feynman. Among other things it explains the whole QED theory better than I have read anywhere else; I still think it's too complicated to be "right" (W=UH!), but at least I'm starting to get it.
And so: the Large Hadron Collider is back and stronger than ever. Now able to reach 13 teraelectronvolts (twice as much energy as before), it can help us find more massive weird particles. Quantum Man stressed the importance of experimental results in guiding theoretical physics, so these data can hopefully help simplify the prevailing truth.
Interesting: BMW can't build it's $135K plug-in hybrid fast enough. It's a beautiful car, I saw am i8 on the street in London*. And apparently quite a nice driving car too, although strictly a two-seater...
* I must tell you, there are more high-end cars on the street in London than anywhere, despite the crappy weather and daunting traffic.
The Economist on Microsoft under Satya Nadella: "Cloud First, Mobile First". Hmmm... that sounds familiar :) Good luck to them!
Apropos and surprising: Visual Studio 2015 can target Linux. At eyesFinder we develop our visual search engine on Windows, and run in production under Linux. Wouldn't be surprised if a lot of people do this. Excellent.
This is rather cool: A time-lapse of artist Guillaume Cornet drawing a large scale illustration of Paris. The illustration is amazing too.
Onward into the day / week / month! I have code to write, emails to send, phone calls to make, and maybe even more stuff to blog about :)
|
xkcd: mysteries
(Reading about Feynman I've added my own mystery, Relativistic Quantum Mechanics,
which is weird as hell but the explanation is slowly becoming clearer...)
|
<post type=nerdy optional=yes>
Cache maintenance between multiple threads is a tricky business.
Consider a simple situation, a cache which contains items read from disk. The basic thing we do with this cache is search for an item, and if not found we read the item and put it into the cache. With one thread this is dirt simple:
- Search cache for item, if not found:
-
- Read item from disk
-
Put item in cache
With more than one thread, things go from simple to not simple. Now the cache must be protected by a gate to serialize access (gates are also known as a “semaphores”).
For some reason under Windows these are not called gates or semaphores, they are called CriticalSections or Mutexes. Don’t get me started.
Okay, so the basic logic above now becomes (try 1):
- Get cache gate
- Search cache for item, if not found:
-
- Read item from disk
- Put item in cache
- Free cache gate
Does this look right? Well, if we leave the cache gated while reading from disk, we force all cache users to block on the disk read. Not good. So how about this (try 2):
- Get cache gate
- Search cache for item, if not found:
-
- Free cache gate
- Read item from disk
- Get cache gate
- Put item in cache
- Free cache gate
Better, right? This way we will only serialize cache access, not disk access. That is probably the main reason we have multiple threads, so this is good. But we do have a problem, what if two threads concurrently want the same item? We could have the following timing:
___thread1
- Get cache gate
- Search cache for item, not found
- Free cache gate -->
- Read item from disk
- Get cache gate
- Put item in cache
- Free cache gate -->
| ___thread2
- Blocks on cache gate
- Get cache gate
- Search cache for item, not found
- Read item from disk again
- Blocks on cache gate
- Get cache gate
- Put item in cache again
- Free cache gate
|
Depending on the application, this could happen anywhere from "never" to "always". If items are accessed more or less randomly "never" is probably a good approximation. But if items are accessed more or less in sequence "always" is probably close. For this case is there anything better we can do?
The crux of the problem is that thread2 doesn't know thread1 is already reading the item. If it did, it could simply wait, then retrieve it from the cache, and life would be good. So suppose we use this logic (try 3):
- Get cache gate
- Search cache for item, if not found:
-
- Put "in progress" token for item in cache
- Free cache gate
- Read item
- Get cache gate
- Put item in cache, clear "in progress" token
- If item "in progress":
-
- Free cache gate
- Delay
- Loop up to top
- Free cache gate
Of course the "in progress" token adds complexity. But now the scenario above becomes:
___thread1
- Get cache gate
- Search cache for item, not found
- Put "in progress" token in cache
- Free cache gate -->
- Read item from disk
- Get cache gate
- Put item in cache
- Free cache gate -->
| ___thread2
- Blocks on cache gate
- Get cache gate
- Search cache for item, returns "in progress"
- Delay ...
- Blocks on cache gate
- Get cache gate
- Search cache for item, returns "found"
- Free cache gate
|
Much better… A more complicated solution still would be to replace the delay with some kind of event. In actual practice a simple delay and retry is probably sufficient.
</post>
|
Man is it *cold* out here today. Brrr... Too cold to ride. Even too cold to think! But not too cold to blog...
How great was this: Tom Petty backing Deborah Harry at the Whisky? (I saw Alannah Myles there, does that count?)
So, Rand Paul is running for President. "I am running for president to return our country to the principles of liberty and limited government." Sounds good, but ... I just can't get excited about him. I don't think he will be the GOP candidate.
In re Indiana: Tim Cook, end the hypocrisy. "Tim Cook’s message [about Indiana] seems rather ironic in light of the fact that Apple willingly does business with some of the most virulently anti-gay nations on the planet." This is the challenge when business leaders start staking out political views. I wonder if Tim Cook will think this through?
Glenn Reynolds: You've probably breaking the lot right now. "While a century or two ago nearly all crime was traditional common-law crime - rape, murder, theft and other things that pretty much everyone should know are bad - nowadays we face all sorts of 'regulatory crimes' in which intuitions of right and wrong play no role, but for which the penalties are high." Ignorance of the law is not only a valid excuse, it's inevitable.
A cross between a penny-farthing and the Burning Man strandbeest: the Boneshaker Big Wheel. Wow. That's just about all I can say.
Only on the Internet: Science Babe takes down Food Babe. "Hari's rule? 'If a third grader can't pronounce it, don't eat it.' My rule? Don't base your diet on the pronunciation skills of an eight-year-old." Hehe.
How did the baby elephant cross the road? With help from two adult elephants. Cuteness overload.
|
Very apropos considering my recent return:
"phew, noone really noticed you were gone"
Hehe
|
Gone again, on a school visit trip with Meg to Boston (Mass Art) and Chicago (SAIC), and back again. (And again noone noticed :) Great trip and great to be back. And once again it's all happening...
Congrats to John Degenkolb for winning Paris-Roubaix, in fine fashion, following all the right moves and then winning a seven-man sprint in the velodrome at Roubaix. He won Milan-San Remo earlier this year, quite a double.
He and Alexander Kristoff have been the most impressive riders this year; Kristoff having won MSR last year, and Tour of Flanders in a powerful performance last weekend.
Excellent: The Apple II Watch. What could be better?
propos: John Gruber reviews the Apple Watch itself. Interestingly he doesn't love it. Reading all the reviews it seems nobody knows quite what to make of this new device. Of course, that's what we all thought about the iPad when it launched, and now we can't imagine living without one :)
The Bush Era, a reminder:
Gas prices were low.
So was unemployment.
The labor participation rate was higher.
Minority representation in the middle class was increasing.
We had a manned space program.
We had elections in Iraqi towns, instead of slave auctions.
Our allies in Europe trusted us.
Our rivals worldwide were wary of us.
And our enemies did their absolute damnedest to hide from us. Well. The ones still breathing, at least.
It has not been the best six years, has it? Let's hope we reverse the trend!
From Josh Newman: Dotted Line. "I’m an old man. I’ve been a rabbi for many years, and I’ve celebrated Passover every year of my life. And in that time, not once, NOT ONCE, have I ever seen a single piece of matzo break along the perforation." Hehe :)
Onward ... a quiet week of coding lies ahead :)
|
Tim Bray shares some Maori snapshots:
The carving in this Maori meeting house is amazing
I've been fascinated with New Zealand for a while (it's at the top of my "must visit someday" list), not least because of the Maori and their amazing culture. It seems like one place among very few others where colonists have adopted and embraced a native culture.
Maori dance - a way of life
Beautiful land, beautiful people ...
|
From my friend Tom, this chart:
A perfect example of correlation vs causality. Some would say we need to spend less on space to reduce suicides, but I think we need more suicides so we can have more space spending!
|
The Ole filter makes a pass...
NASA: Interplanetary superhighway makes space travel simpler. Where by "simpler" they mean using less fuel and taking less time. I love Langrange points, they are so cool :)
Did you catch SpaceX's launch on Monday? Very exciting, and beamed live in HD to 100,000 internet watchers like me. The launch itself was flawless and the Dragon spacecraft is on its way to resupply the International Space Station. Of even more excitement or novelty was the landing of the first stage; SpaceX has been trying to perfect reusing them by landing them on a barge. They got close but at the last minute the rocket tilted over and exploded. Next time!
And so Hillary Clinton is running for President, again. Yawn. One of the things I love about having blogged for 12 years (!) is revisiting old posts via my "flight" feature, which shows what I posted each year on this day, and I found this one from seven years ago: "Got an interesting email from Brian entitled 'why Hillary will never close the deal'. His bottom line, with which I agree: people will never like her." Still true.
Also prescient, from the same post: "I am increasingly not liking Obama either; the victimology he espouses is a badness. To me the worst aspect of his 'bitter' remarks wasn't the condescending tone, it was the implication that if people are unhappy it is someone else's fault." Still true, too.
It's baseball season! Yay. A cool use of graphics: How many years will baseball records last? With these charts you can see the relative impossibility of breaking some of them; for example, the batting average record of .426 set by Nap Lajoie is nearly 100 years old, and won't likely be approached any time soon.
Of all of these the one which will *never* be broken is complete games, 48 by Jack Chesbro in 1904. You can take that to the bank.
Screen shot of Boing Boing, circa 1993. At that time it was a BBS on The Well. Wow, I remember this! And how well do I remember NetTerm, too... I used to be the expert at Hayes Modem command strings :)
I love that this "screen shot" was an actual film photograph.
How to use HTML5 Drag & Drop (for file uploads). Great tutorial with just the right amount of detail. For you to use and for me to find later!
Too cute: Jaguar Cub is a mouthful. Jaguar Moms seem to have evolved effective disciplinary methods :)
|
So today I visited an Apple store and experienced "the Watch". You've read about this; they have watches you can wear, which are running a continuous demo in a loop, and watches you can play with, which are embedded in a little stand.
My reaction is ... meh.
When I first heard about the Watch back in September, I was pretty excited; it seemed like a cool new thing. Then a long time passed filled with rumors. And then [finally] we had the Watch update in March with more detail, which somehow left me less excited than before. And now that I've actually tried one on, I'm even less excited. I want to be able to use it for Apple Pay, but other than that it is not compelling. Perhaps it will grow on me.
I have to confess I was not that excited about the iPad, either. It was not clear why anyone who already had a laptop and a smartphone would want one. But now I find mine indispensable. So perhaps once I have a Watch I'll love it. Time will tell.
In thinking about the Watch, I guess the question is "how does wearing one make me feel about myself?" I own a few cool watches, and I can't necessarily see that wearing my Apple Watch would be cooler than any one of them, including my Pebble Steel, which has a certain nerd ethos that the Watch seems to lack.
Apple need to make having and wearing a Watch cool, and they haven't done so. Meh.
|
The Ole filter makes a pass ... curiously, it's not all happening, very little seems to be going on for some reason...
I have been self-analyzing myself, watching me not preorder an Apple Watch. I just don't want one. Maybe I don't think the learning curve on how to use another device is worth it, or maybe ... I just don't want one. Huh.
NASA captures first color image of Pluto. "The New Horizons probe, which is bearing down on Pluto, has captured its first color image of the distant dwarf planet." Excellent. It's truly amazing that we can launch satellites so far away and retrieve images from them. It takes 4.6 hours for a photon to travel from the spacecraft back to Earth!
A new trailer for the new Star Wars movie is up, and it looks ... great. Cannot wait to see it, although I guess we all will; it is schedules to be released on December 18. I love the way the Internet is trying to reverse engineer the plot from the trailer teases.
Oh, and remember the little round droid BB-8 introduced in the first teaser trailer? Apparently it really exists! Wow, what cool technology. Sort of Segway-ish. I would have thought actually building it would have been harder slash more expensive than just generating it on a computer screen, but surely it's more fun this way.
And here we have the crab cam. Of course...
|
I've been spending a lot of time regarding art lately; I've visited quite a few musea, and accompanied my daughter Meg on a number of visits to art schools. Fine art, like music, is a great mystery; we humans love it, but it is very personal and the attraction is difficult to explain. Why art?
Why do paintings by Jan Miro make me happy? I cannot exactly explain, and yet, they do.
Twelve years ago I tried to explain beauty in terms of evolution. I concluded "the way we humans use beauty as a classification does indeed appear to bear a relationship to the things' survival value, whether they be potential mates, objects, or ideas. This doesn't mean our sense of beauty did evolve via natural selection, but it could have." Well that was a fine effort, but ... I don't know, there might be more to it. The evolutionary approach explains how and why we might have evolved a sense of beauty, but not why specific things are beautiful to us.
It is especially interesting to compare functional art to conceptual art. Today I visited the Getty Villa - always fun and amazing - where the Getty's collection of ancient Greek and Roman art is displayed. Most of this is functional; everyday objects decorated with art, or art made to record events and people. Even the most beautiful of these do not move me, I can appreciate them and even admire them, but they don't connect emotionally. By comparison I recently visited the Boston Museum of Fine Art and the Art Institute of Chicago, which both have strong collections of more contemporary work. Much of this art is conceptual, objects made as art, to communicate ideas and feelings.
There is a sort of connection that occurs. We relate to the art, and the artist, when we understand their ideas and feelings. I'm not sure exactly what Man Ray is trying to say, but I get the emotion.
|
Whew that week flew by, eh? And what a week.
I had a great long weekend; drove up to visit friends in Montecito, explored the backwoods of North Santa Barbara county, stayed in Pismo Beach, and rode a century in Creston (through the wine country East of Paso Robles). On the way back we spent the afternoon at Bacara (pictured). Intermingled was some great think time. To be repeated soon and often!
Okay, time for a filter pass...
Epic selfie: Astronaut Samantha Cristoforetti points to SpaceX resupply capsule from International Space station, while dressed as Captain Kathryn Janeway from Star Trek. Love it!
(and ... love that this tech actually exists, not just in movies ...)
Interesting question: would you rather have 2014 standard of living and 1964 health care, or vice versa? Easy answer [for me]: I'd choose 1964 standard of living (better) and 2014 health care (much better).
Sexy conservatives will out-breed barren liberals. "Liberal women, encouraged by the sour crones of the radical feminist movement, often wait far too long to marry and to begin families. They were lied to - you can't have it all. Life is choices, and a family is a choice that means trade-offs. Choose unwisely, and one may not be able to undue the relentless ticking of the biological clock. And as far as liberal men go, well, just look at them." Hehe. Instapundit's perfect comment: Troll level, grandmaster.
Apropos: Fiorina has Hillary defenders worried. She'll make a great VP.
Did you know? Just seven percent of journalists are Republicans. Worth remembering when you read anything in the media. I continue to maintain, the brightest people don't become journalists, so journalists are not the brightest people.
Looks promising: trailer for Tomorrowland. On the list.
(I've had an uneven experience with movies lately; walked out of Kingsman [hated it], walked out of While We're Young [boring], and loved Woman in Gold [compelling]. It's all about the target IQ in the Director's head [memo to self, must look up political affiliation of Directors of movies.] So there you are.)
Totally agree: What really caused the world's worst financial crisis (in 2008). Here's the formula:
-
The federal government pushed banks and Fannie/Freddie to lend more money to poorer-than-average Americans so that they could buy houses
-
The flood of money on easy terms (0% down, etc.) drove up the price of houses to the point where poorer-than-average Americans could never hope to pay off loans
-
By 2008 half of all mortgages in the U.S. were essentially subprime
-
Fannie/Freddie told everyone that less than 1% of their portfolio was subprime (a lie)
-
When people discovered that the U.S. mortgage market was primarily subprime they panicked
-
Mark-to-market accounting rules made banks look great on the way up but exacerbated the panic on the way down
Worryingly, the same conditions that caused the crash of 2008 are still present.
Glenn Reynolds notes: An inconvenient truth about homeownership: Policies aimed at decreasing inequality by helping the poor buy homes often do the opposite.
In re: Regarding Art, Vulture on the New New Museum, the Whitney. "Museums have changed - a lot. Slowly over the past quarter-century, then quickly in the past decade. These changes have been complicated, piecemeal, and sometimes contradictory, with different museums embracing them in different ways... The museum used to be a storehouse for the art of the past... Now the museum is a revved-up showcase of the new..." Yes! All art was once contemporary!
Why you'll hate the Apple Watch. Linkbait for sure, but an interesting discussion. TL;DR: you'll hate it at first (because it doesn't work well as a watch), but you'll love it over time (for the other things it does).
This will be big: Like Uber but for shipping stuff, Shyp raises $50M.
Sniff: Makerbot's saddest hour. Could be another case where a big not-cool company (Stratasys) buys a small cool startup and kills it. I love my Replicator 2 - the best toy ever - but I am not tempted to buy a new one.
Graham Bower: How to turn great IOS app ideas into something real. You need an amazing developer :)
Last week was big in cycling, with the Ardennes Classics, and also big for Alejandro Valverde, who finished second in Amstel Gold, then won Fleche Wallonne and Leige-Baston-Leige. He's one of my favorite riders despite his alleged doping issues back in 2008.
Onward! A big week ahead featuring a little road trip to Pahrump, Nevada and a little climb up Towne Pass in Death Valley. Stay tuned...
|
Wow, cannot believe, the Hubble Space Telescope has turned 25! So interesting that the original images were a huge disappointment, due to spherical aberation, but new cameras and computational techniques overcame the limitations and turned it into an even huger success. Unquestionably one of mankind's most important space missions.
Here's the Hubble image NASA have chosen to celebrate its 25th birthday, entitled Celestial Fireworks:
(click to enbiggen)
Awesome!
|
Return to the archive.
|
|