An early birthday present: The Gmail Javascript compiler was just open-sourced! http://code.google.com/closure... (it compiles JS into smaller, faster JS)
Unfortunately it looks like the internationalization features may be missing. I wonder why those were removed? (or if I'm just not seeing it)
- Paul Buchheit
@Paul the Closure project has three components: compiler, library, and template language. Looks like the Closure/library might be competing with jQuery.
- Shakeel Mahate
I think jQuery does a lot of stuff that might confuse the compiler, e.g. iterating over an array of string function names and creating new function wrappers (look at the way the parent/child/next/prev/etc functions get installed) The Closure library is also full of type annotations that help the compiler make better optimization choices, so you're likely to get a better compiled outcome using Closure than jQuery + fixes + compiler
- Ray Cromwell
@paul -- I know you've been wanting this opensourced for a long time. sorry it took such a long time. Nick Santos and the jscompiler team has finally done it! Cheers!
- Jing Lim
Congratulations to the team (and @Paul & Jing) -- I know everyone's been waiting a long time for this. For anyone considering whether to use jQuery vs Closure, consider that they're meant for largely different purposes. jQuery's good for enhancing static web pages; Closure's much better at building large apps. And as Ray points out above, Closure the library is going to get much better results from Closure the compiler than an arbitrary js library would, because of all the type annotations.
- Joel Webber
Paul Buchheit has been at the top of my best of pages all month. Rock on, Paul.
- Donald C. Lindsay
Hey HAPPY BIRTHDAY PAUL !!! Cool present!! <insert CAKE> :D
- Susan Beebe
That writeup is trolling for traffic IMHO. Nit picking 50 lines out of 200+ thousand (written for readability, which get compiled and optimized), providing no benchmarks for claims, and spending half the time bashing Java, it just seems to be struggling to find something wrong with Closure.
- Ray Cromwell
Sachin: he seems to be commenting on Closure the JS library, not Closure the JS compiler (that Paul's post was about). And he may be a douchebag, but I haven't seen anything I disagree with.
- Gabe
I love that they subtitle the actors in Jive when they're speaking normally!
- Brian Johns
heh, yeah, Brian, that part's hilarious. Wonder where this is from -- DVD extras?
- Stephen Mack
I'm not sure where this is from. I have the cheapo version with Airplane! and Top Secret on one disc with NO special features at all. I should investigate a Collectors Edition of that movie since it was very influential in my formative years.
- Brian Johns
I thought it had the slightest hint of leprosotic Yak with a tinge of infected Baboon's taint.
- ‘-.-’ Tutivillus Grift
You ever see the Simpsons episode where, on one of the hottest days in New York, an extremely thirsty Homer chooses crab juice over Mtn Dew? Yeah, I'd do the same.
- Alex Scoble
I actually don't mind mountain dew, but I can totally understand why some folks can't stand it :)
- Brett Kelly
from iPhone
It really is, since it seemed to have a pretty bad virus. I just can't let IT nuke it without someone transferring files and then trying to clean them up. A lot of back office tools rely on scripts that live there and they'll need to be moved.
- joey
You gotta do a little dance and point at them before walking out the door? ;)
- Rodfather
Rodfather, I was tempted. But I'd rather resolve it because I fear that otherwise the failures of others will be blamed on me. As I'm leaving, I make an easy target. I don't want to give an easy excuse.
- joey
I would charge them $150 an hour after 5pm
- Jorge Escobar
You can tell an awful lot about an organization that does not speak highly of their former employees. None of it good.
- Dan Morrill AKA Techwag
"A street entertainer waits for tourists in Havana August 25, 2009. (REUTERS/Desmond Boylan) ) - The Big Picture - Boston Globe - 11.11.09"
- tomavana
from Bookmarklet
Ha! That could have been taken inside my house!
- Anika
I was just about to ask the same thing
- Sir Shuping
Somebody who has absolutely no room to talk.
- Abigail
I know how you feel. Try being a public librarian/correctional librarian
- Alan Simpson
Yeah, public school teachers get the same attitude...it's really stupid.
- Alex Scoble
f'em. they need to get there head's out of whatever hole they stuck em in.
- Sir Shuping
Children's librarians are the best. I am 100% certain that if it wasn't for the librarians at Silkeborg Public Library, I wouldn't have the same enjoyment of books that I have now. The librarians were always ready to help, to give advice or to put books aside they thought I'd enjoy. For the longest time I wanted to be a librarian because of the librarians I grew up with. Please don't let the asses get to you, you rock by helping/inspiring the young ones to read!
- Rasmus Lauridsen
Volunteering can help with that as well as giving you some stuff to put on a resume. And given the economy and its effect on donations, non-profits need help now more than ever. One of the good things about volunteering is that you'll rarely meet someone who tells you you're not qualified enough to take something on. So it gives you a chance to get experience in areas an employer often wouldn't let you try.
- Spidra Webster
Benim gözlükler daha şirin,kapaklı:::))
- Aycin Asan
Aycin'in avatarındaki gözlüğü çok aradım fakat sadece siyah camlısını bulabildim. Aldım ama bir kez dahi takıp sokağa çıkmadım. Bunu da bulamazsam babaannemin gözlüğünü takacağım artık. :')
- Numan Arda Çebi
taksim roll de çok çeşit var. Oradan aradığını bulabilirsin galiba numan: )
- Aycin Asan
"The world is much closer to running out of oil than official estimates admit, according to a whistleblower at the International Energy Agency who claims it has been deliberately underplaying a looming shortage for fear of triggering panic buying. The senior official claims the US has played an influential role in encouraging the watchdog to underplay the rate of decline from existing oil fields while overplaying the chances of finding new reserves. The allegations raise serious questions about the accuracy of the organisation's latest World Energy Outlook on oil demand and supply to be published tomorrow – which is used by the British and many other governments to help guide their wider energy and climate change policies."
- Steven Perez
from Bookmarklet
"A gold mining firm is being investigated after part of one of the oldest sections of the Great Wall of China was damaged during prospecting. About 100 metres of the wall was badly damaged, and investigators from the Chinese government and regional police now plan to bring charges. The damage was originally discovered in September and work halted, but officials later found it had restarted."
- Steven Perez
from Bookmarklet
Off topic, but it reminds me of something I heard on local (Inland Empire California) radio on the anniversary of the destruction of the Berlin Wall. Let's just say that the words "Imma gonna let you finish" were part of what I heard.
- John E. Bredehoft
It was almost one year ago to the day that I was standing on that very stretch of wall pictured (though not damaged) there.
- Mark H
"Today, we use ion thrusters to correct satellite orbits and visit asteroids. In 100 years, we might be using them to propel massive generation ships that send colonists to a different part of the galaxy. Your typical space craft is propelled by chemical rockets. It is basically riding a continuous explosion to get from point A to point B. Chemical rockets are great for providing high acceleration, such as the kind of acceleration you need to escape a planet's gravity. They're not so great in terms of efficiency – it takes a lot of fuel to generate the powerful thrust of a chemical rocket. This makes them less than ideal for long-term missions, or applications that require fine adjustments, such as counteracting the weight of sunlight. That's where ion thrusters come in. The idea for such a thruster has been around since the early 20th century, and we've had working models at least since the 60s, but the technology has really come into widepsread use in the last ten years or so. Ion...
more...
- RAPatton
from Bookmarklet
"Hall Effect thrusters (pictured) hold electrons in place with a magnetic field, creating an area of negative charge. An anode draws electrons down toward the xenon atoms, ionizing the xenon. The ions are then drawn toward the magnetic field's negative charge. The field holds electrons in place, but the heavier xenon ions fly right past, out the back of the thruster. Other ion thrusters...
more...
- RAPatton
"Tyrannosaurus rex was an athletic, warm-blooded animal that jogged rather than lumbered around its territory, according to a new study. Researchers led by Herman Pontzer at the University of Washington, St Louis, examined the anatomical details of 14 dinosaurs of different sizes to work out how much energy the animals might have needed to move around. He found that, for dinosaurs weighing from a few kilograms to tonnes, the power their muscles needed was far too high for the animals to have been cold-blooded. "We found that the energy costs of locomotion for them, the amount of oxygen they'd have to consume to walk and run, would have far exceeded the rate of energy use that cold-blooded animals are able to sustain," said Pontzer. "This says they may well have been warm-blooded and, if so, we can't think of them as slow, lumbering reptiles any more." His results are published today in the journal PLoS ONE (http://dx.plos.org/10...)."
- RAPatton
from Bookmarklet
"If dinosaurs were warm blooded, it could explain their success in taking over large parts of the prehistoric world for hundreds of millions of years throughout the Triassic, Jurassic and Cretaceous periods. Pontzer's analysis grew out of an approach he had already developed for understanding and predicting movement costs in living animals. His recent work had showed, for example, that...
more...
- RAPatton
T Rex be nimble, T Rex be quick, T Rex is very warmblooded when eyeing that chick
- RAPatton
from iPhone
"Colourful, swirling clouds of cosmic dust interspersed with glowing star clusters are revealed in this extraordinary image of the Milky Way. The dazzling image combining reds, yellows, blues and purples, was created by layering stunningly detailed pictures from the Hubble Space Telescope, the Spitzer Space Telescope and Chandra X-ray Observatory on top of each other. The Milky Way is at the centre of our own galaxy and this image shows its core. The image was created to celebrate the 400th anniversary of Galileo Galilei's first demonstration of his telescope."
- RAPatton
"The three space observatories peered into the central region of the Milky Way, which is 26,000 light years from Earth. One light year is nearly 6 million million miles, the distance light travels in a year. The Milky Way is a barred spiral galaxy, which is a galaxy with spiral arms and a central bar-shaped structure composed of stars. Our solar system sits half-way along the minor...
more...
- RAPatton
"What's causing spacecraft to mysteriously accelerate? The Rosetta comet chaser's fly-by of Earth on 13 November is a perfect opportunity to get to the bottom of it. The anomaly emerged in 1990, when NASA's Galileo spacecraft whizzed by Earth to get a boost from our planet's gravity and gained 3.9 millimetres per second more than expected. And the European Space Agency's Rosetta spacecraft had an unexpected increase of about 1.8 millimetres per second during a previous fly-by of Earth in 2005. Scientists have ruled out various mundane explanations like atmospheric drag or the effect of deviations in Earth's shape. This has led some to propose that exotic new physics is involved, such as modifications of Einstein's general relativity, the currently accepted theory of gravity."
- RAPatton
from Bookmarklet
"All eyes are now on Rosetta, which is set to swing by Earth again at 0745 GMT on 13 November. It is en route to a comet, and will travel around 2500 kilometres above our planet's surface at over 13 kilometres per second. If it gains an extra 1.1 millimetres per second relative to Earth, it would vindicate a formula that reproduces the anomalies seen so far. The formula, published in...
more...
- RAPatton
"Splash Art is a truly beautiful art form requiring precise timing a specialized photography equipment. Masters of the genre often have complex studios set up with lasers, multiple flashes and controlers to achive the exact timing needed to capture these wonderfull images. With the abstract nature of splash photography you can often make out figures in the liquid forms. The artists featured below have taken this niche to new heights – perfecting their techniques and inspiring us all."
- GokceGoksel