The article implies that microwaved popcorn could cause infertility.
- niniane
Well, the plastics in the bag, really. Come to think of it, Alton Brown has a recipe for DIY microwave popcorn - three small staples to seal a paper bag, spaced reasonably far apart, should be microwave safe.
- Andrew C
Cristo, if they're small enough and far enough apart, it should be perfectly safe. I've actually tried it from his recipe. It was fine. No sparks or anything.
- ha3rvey (chee-la-key-les)
Yeah, but he says as long as they're small and not close together, they're too small to heat up.
- Andrew C
It's definitely made me think twice about canned tomatoes.
- Rochelle
A friend of mine mentioned the canned tomatoes to me a year or so ago. I happen to use a lot of them, but I am also re-thinking it. The tetrapak sounds like a good alternative which isn't ridiculously expensive, but I don't think I can find them at the stores I shop at. No Trader Joe's in Colorado :( It does also make me wonder how one can know whether the can has bpa in the lining. I don't think they all do.
- Robert Felty
Do they have tomatoes in jars? Is everything in cans bad?
- Cristo
I've had no fertility problems with any of these.....just sayin. LOL.
- Rahsheen ™, Coach Rah
Cristo - I think that the acidity in tomatoes degrades the bpa in the lining of the can, in the same way that extreme heat can for water bottles. From the research I have done, BPA is not a carcinogen, and won't kill you, but it can mess with your hormones (at least in mice and rats)
- Robert Felty
Gabe, do you like horizontal with or without graph paper lines though?
- Cristo
I vote for horizontal also. Easier to read when in a stack with other business cards or in a card holder or Rolodex.
- Jeff P. Henderson
Do people keep rolodexes anymore? When I worked as an admin, I remember spending an eternity scanning some exec's business cards and that was more than a decade ago.
- April Buchheit
I also vote for horizontal (landscape). I made my business cards with LaTeX, and printed them out on our laser printer.
- Robert Felty
i just updated my calling card and decided on the "portrait" view. i haven't regretted it a bit. it often results in additional conversation when i pass the card and i think that helps folks remember me.
- MikeAmundsen
I'll be the contrarian. I much prefer vertical, I write small and I can fit lists and notes that way better. It mirrors the orientation of a regular piece of paper, just smaller.
- LogEx
Add a QR code...started using those recently for exchanging card info and super handy
- Tomas Remotigue
Don't thank me yet. Tomas might reply that he's using a competing app. :-)
- Bruce Lewis
from fftogo
Heh, the snapmyinfo userbase is still pretty tiny, so I'm sure he rolled his own. :) Edit: <plug my own stuff> the basic difference is being able to share with those *without* barcode scanners as well as those with. </plug my own stuff>
- mikepk
"When the temperature outside starts dropping, the Exploratorium will be heating up and chilling out with Fire and Ice, its December After Dark event, featuring fire sculptures, ice sculptures, and more. Join in on Thursday, December 3, from 6 until 10pm for fun at both ends of the thermostat. Enjoy cocktails on ice, sizzling tunes, and stunning displays and explorations of fire, ice, heat, and cold. The evening will feature works of fire art, including the Pyrograph, by Earl Stirling; a revved-up chain-saw ice sculptures by award-winning sculptor David Fong; and hovering between these two extremes, Fog Pool, by Charles Sowers, among others. The season continues in January 2010 with Resolution; in February, it will be the Sexploratorium. More monthly themes to come. After Dark events are included in the price of museum admission and are free for Exploratorium Members. It is possible to become an After Dark Member and receive admission to the whole season for just $25. Watch the Web...
more...
- April Buchheit
from Bookmarklet
I'm planning on attending this. I hope to see some FriendFeeders there! :)
- April Buchheit
Derek Smalls: We're very lucky in the band in that we have two visionaries, David and Nigel, they're like poets, like Shelley and Byron. They're two distinct types of visionaries, it's like fire and ice, basically. I feel my role in the band is to be somewhere in the middle of that, kind of like lukewarm water. http://www.imdb.com/title...
- Robert Felty
Do you think the world is a better place now, or 20 years ago? Please consider all factors, including economy, government, attitudes, war, technology, health, crime, religion, environment, politics, but set aside you, your family and friends, and your personal situation.
Thank god there's no cold war. Iran, North Korea, Afghanistan aren't going to destroy the planet (or even my corner of it).
- Kevin Fox
I think we're in a worse place because if global warming, pollution, etc. endanger the viability of the planet for human life, it doesn't matter how many improvements we've made in attitudes, etc. If we'd acknowledged the problem and retooled when scientists first brought it up, we'd have had a good chance. Now it's questionable whether we can even turn it around and we still have...
more...
- Spidra Webster
Spidra - there as an article in the economist recently about how developed countries are having less children, and soon may be losing population. If this trend continues, I think there is hope of achieving an equilibrium still.
- Robert Felty
I think you have to look at each category on it's own: Econ- better even with the woes we have, government- worse, it got bigger and more wasteful, attitudes-better, with knowledge i think this always improves, war- better, further from the cold war and the brink of human extinction, tech-better, health-better , crime-same, religion-same, environment- worse, politics-same. I think the...
more...
- Dario Gomez
Well, in 1989, the A's won the World Series, but in 2009 they didn't make the playoffs. What other reasons would there be to decide?
- Louis Gray
Economy = Beyond markets, it's never been easier for avg Joe to start business - today, Govt. - Still have the rule of law, doesn't feel like there's been drastic changes, a tie. Tech - no brainer that it's better today, health - way better, but seems more expensive too - today. Religion - it seems like there are more extremists today, win for 20 years ago. Environment - Global warming is a myth - win today. Politics - the Libertarians still aren't in charge, I'll count this one a tie.
- Davis Freeberg
"Scripture forbids sexual intimacy between members of the same sex. The Salvation Army believes, therefore, that Christians whose sexual orientation is primarily or exclusively same-sex are called upon to embrace celibacy as a way of life."
- Tudor Bosman
from Bookmarklet
Yeah, I disagree with them on a lot of things. Hence I don't actually give to them or Goodwill.
- Rachel Lea Fox
As the end of the year is often used as an opportunity for charitable giving, I urge all of you to balance the good deeds of any particular organization with their basic tenets. Often, there are alternatives to the Big Three (Goodwill, Salvation Army, United Way) that might fit better with your personal beliefs.
- Tudor Bosman
"The Salvation Army affirms its full support, on all levels, to the Biblical and Christian imperatives of human and civil rights. We oppose unlawful, unjust, or immoral discrimination and seek to promote sensitivity, understanding, and communication." Hypocrisy is a-o-kay though, eh?
- Kevin Fox
The United Way actually gives to many different charities, and you can usually specify which ones you want to give to specifically. We give to the ACLU and Planned Parenthood through the United Way.
- Robert Felty
Robert: What's the benefit over donating directly to the ACLU or Planned Parenthood? There used to be scandals over how much the United Way takes for operational costs...
- Kevin Fox
"Rejecta Mathematica is an open access, online journal that publishes only papers that have been rejected from peer-reviewed journals in the mathematical sciences. In addition, every paper appearing in Rejecta Mathematica includes an open letter from its authors discussing the paper's original review process, disclosing any known flaws in the paper, and stating the case for the paper's value to the community."
- Amit Patel
from Bookmarklet
"So after Halloween we still had Lyndsey and Brian (my sister and brother-in-law) here for a few more days. And we wanted to do something California. So I planned out Monday for with two outings special just for them. The first was for Brian. Let me tell you about my brother-in-law! He is the biggest guy I know. I don't mean overweight or anything, he is just big. He is 6' 7" tall and built to proportion (he is not a skinny stick) If you look at him without reference you assume he is a normal guy. I had an old photo of Lyndsey and Brian in front of a waterfall. I would show it to people and they would say "Wow, your sister is small!!" "No no no..." I say, "My sister is an inch or two taller than me." (I'm 5' 4"). "Ooohhhhh!" is the usual response. He is a bear of a guy, but he is also a teddy bear. You couldn't meet a nicer guy. And he LOVES nature. He is an environmental scientist, and an outdoors-man! He LOVES trees!! I think he likes them because they are naturally bigger than him,...
more...
- Rachel Lea Fox
from Bookmarklet
Muir Woods is really beautiful. Great idea.
- Robert Felty
Robert, Thanks. Brian was amazed and couldn't get enough. I was only sad that we had an appointment for our next thing and we couldn't stay longer.
- Rachel Lea Fox
I have been corrected. Brian says he is 6' 5" not 6' 7" as I had thought. Either way he is still smaller than a redwood tree! ;-)
- Rachel Lea Fox
This is crazy and awesome, I never imagined such could happen in Russia (the public is crying "Shaibu! Shaibu!", which means "Give 'em the puck!", a common Russian hockey chant)
- Peter Fedin
@estherrudolph it is not a fake. it is a circus, not a real game or some gambling. also, looks like an old recording.
- Indeyets
How the heck did they get the skates on them? And how the heck could they learn to skate?
- Robert Felty
I have often found myself wondering if apes could play tennis, yet here I see real bears playing hockey, and I am shocked.. and I am shocked that I am shocked.. confusing.
- Sally Relton Shakespeare
How did they get the bears to hold the sticks? These have to be people in costumes.
- Admiral Anika
they're real bears, muzzled; the sticks must be tied to a paw; the skates must've be fitted by pinning them down; they must've learned to skate by trial & error / reward & punishment; bears are really intelligent - they look like they're enjoying themselves - even the fighting! The worry would be what happens to them after they are retired and can no longer earn a living; if kept alive, depression can set in once the stimulation of performance and training ceases.
- Sally Relton Shakespeare
first one ;) may b u can change colors but as theme? definitely first one =]
- emre dede ve haremi
The one on the right caught my eye first than the one on the left because of the pictures. The text on the left catches my eye more than the one on the right.
- imabonehead
I love the photos on the second one best!! I like both designs, but like the first design a little better.
- Rachel Lea Fox
The one on the left with the top pic of the right swapped for the first pic. Not that I enjoy being difficult or anything. Is this Tinyprints?
- Heather Solos
I like the one on the left better, but the first picture could be replaced with the photo from the bottom left on the right version and it should say 2009 somewhere.
- Clare Dibble
I like the big picture on the right the best; the kids look great and they're facing the reader. And the pop of green brightens the card.
- m9m, Crone of FriendFeed
If it's a personal card, go with the one on the left. If it's for professional/business acquaintances, go with the one on the right.
- Curtiss Grymala
Easy -- on the Right. Bigger pictures over bigger fonts on a holiday card every time. They're not for reading, they're for looking at!
- Eric Borisch
I would like to put in a write-in candidate for a card with a picture of the whole family - Paul, April, Camilla, and Thomas. I like seeing the adults too!
- Robert Felty
I like the photos on the right, but I like the design on the left.
- Karen Padham Taylor
Thanks for your help, everyone!! :) I think I'm going to go with the design on the left, but replacing the picture on the left panel with the picture in the middle panel and putting the picture from the bottom left panel of the design on the right in the middle panel of the design on the left. (Am I confusing you yet?) I'm also going to make some changes on the font, as well.
- April Buchheit
They both look good, but with the change you decided on it'll work very nicely.
- James Stratford
Rob: Getting a picture of the whole family has proven to be a difficult task for the Buchheit family. Obtaining collective cooperation from all members (both children and adults) is a daunting endeavor.
- April Buchheit
Heather: Yes, this is from Tinyprints. :)
- April Buchheit
April - tell Paul I'm expecting the full family for 2010.
- Robert Felty
April, I work @TinyPrints so won't be much help deciding:) But, you know we're local in Mountain View right? Happy to set you (or anyone else) up with our best discount if you're interested. Feel free to reach out. I'll need to DM the code.
- Rick Bucich
April, it sounds like it'll turn out cute :) We have four kids and can't get them all to look at the camera either. I went with a single shot of each to save my sanity.
- Heather Solos
"Last week we told you about young Will Phillips, a boy who refuses to pledge allegiance to the flag and the United States of America until gays and lesbians are allowed to marry. While Will is finding support from op-ed columnists and his parents, the kids at school are not as kind. They are harassing Will and calling him a "gaywad." Well, last night Jon Stewart decided to do something about it. After praising this precocious 10-year-old, he decided the boy must be protected so he brought out professional wrestler Mick Foley to delver a message."
- Brad Williamson
from Bookmarklet
No, I think I'm done with graduate degrees. However, I am recommending my intern from last summer, therefore I need the link so I can find the judging criteria.
- Clare Dibble
You're sitting down, reading/working/chatting/whatever, when all of a sudden someone grabs your eye. You look up and *BAM*, it's the most stunning [member of the appropriate sex] you've ever seen, physically or mentally. What caught your attention?
Like, the Kill Bill way of grabbing your eye? (The part when Uma Thurman grabs Daryl Hannah's eye during that final fight scene. <kickass>)
- April Buchheit
Um, not literally, just when someone turns your head, so to speak.
- Jim Norris
I guess their sifu had done it to her first.
- April Buchheit
How can you tell at a glance that someone is stunning mentally?
- Soup
The actual answer: the brain has layers of pattern matchers. When the cluster of pattern matchers feeding into the "Whoah!" node all fire, it's like *BAM*. That is to say, there is no one thing -- it's a cluster of attributes, some of which are very subtle.
- Paul Buchheit
Maybe you can't tell at a glance that someone's stunning mentally... maybe the first time you hear them?
- Jim Norris
I'll go with first time you hear them for sure.
- Soup
Jim, I remember reading that there was a study showing that people were not good at judging people's intelligence from their photos, and generally confused it with their beauty. But they were able to judge pretty well from hearing them speak. Unfortunately it seems impossible to google this, so who knows if I'm remembering it correctly.
- Ruchira S. Datta
For me, visual *BAM* implies "everything visual." Face shape, eyes, smile, hair, skin... but mostly intensity/poise. Then reactivity. Major negative points for ennui or waifishness. Then there's aural *BAM*. Expression, accent, eye-opening brilliance, complete command of language. The aural *BAM* is much more intense for me and can actually leave me stunned and speechless for several minutes. Can be embarrassing. Worse, while eyes can be averted, ears can't. Design flaw.
- Daniel Dulitz
Arms. I don't know why, just seem to think arms are attractive... Then it would be eyes.
- Charlotte M
I like the way they move, the cut of their jib - their composure and their curves.
- ‘-.-’ Tutivillus Grift
I tend to notice the same things: face, eyes, smile, hair but sometimes i notice things that others don't tend to see at first. For example, i saw a cute waitress who had amazing elbows.
- Wang Yip
Paul - why is that picture of Battlestar Galactica 6 on Kevin Smith's website?
- Robert Felty
I usually notice huge tracts of land
- Robert Felty
No idea. I just did an image search for "cylon" or something.
- Paul Buchheit
"Eggo recently experienced supply constraints caused by flood damage at our bakery in Atlanta. In addition, we've been making significant equipment and technology enhancements at our other waffle bakeries. Unfortunately, these repairs and upgrades are taking longer than anticipated."
- Gabe
from Bookmarklet
Apparently Lender's stopped making frozen bagels too. I wanted to buy some for Spencer. I got refrigerated ones instead.
- Robert Felty
"* While there is significant common ground in the food choices made between the two groups, there are also important differences. Liberals show a consistent tendency to enjoy more international and exotic cuisines, with conservatives often leaning more towards mainstream, comfort food staples. * Significant differences also surface between the two groups in consumption preferences for meat, vegetables, fruit, and "healthy alternatives", with conservatives generally choosing the less healthy options."
- Amit Patel
from Bookmarklet
I'm surprised that conservatives are more likely to use apple peelers, particularly because they're less likely to bake.
- Gabe
35% say cocoanut lamb curry? So the researchers asked 3 liberals, one of whom was their friend Vin from Thailand?
- j1m
Also, they put the info about the conversatives on the left, very confusing.
- j1m
Liberals are more likely than conservatives to drink mint juleps??
- Jim Norris
Jim: I was wondering the same thing, but it turns out that what they asked were various preferences ("would you prefer shots or mixed drinks?", "would you prefer clear or colored drinks?", etc.). I assume they just found drinks that matched the overall preferences, rather than asking about specific drinks.
- Gabe
Interesting, though not that surprising. Conservatives like the food their parents ate (they don't like change). Liberals are more open-minded.
- Robert Felty
Does that mean that if Spencer likes Thai food like his parents, he will be more likely to be conservative?
- Clare Dibble
If you want low light, just buy the $80 50mm f/1.8. Or, if you've got the cash, splurge on the 50mm f/1.4. I've used the latter for the last 2.5yrs with my little ones. http://www.amazon.com/Canon-S...
- Steve "Daddy do it!" Lacy
Looks great to me! In low light sometimes white balance can be difficult to get right, which is why these are a bit yellow. But it's easy enough to correct afterwards
- Benjamin Golub
I recommend the 28/1.8 -- it's a better focal length on the Rebel than the 50mm, and it focuses faster.
- Gabe
Yeah, understandable. The 50mm can be a bit tight at times, and many of my friends' first reactions when looking through the lens is "I can't get everything in frame". The 28mm looks really nice. http://www.amazon.com/Canon-2...
- Steve "Daddy do it!" Lacy
I second Gabe on the 28/1.8. That is about all I use now. I also frequently switch the white balance to tungsten when indoors with incandescent bulbs.
- Robert Felty
There are two things here: multiple return and named return. You can have multiple return and de-structuring assignment without named return, e.g. foo() { return (a,b); } x,y = foo(); Many languages implement this. Some go further with and allow de-structuring assignments, like this swap operation: [a, b] = [b,a]. One thing that concerns me about this named return value stuff is that it...
more...
- Ray Cromwell
I love multiple return values, but the named return values seems a bit dodgy. In the example on your page, it looks nice, but I agree with Ray about the implications in a longer function.
- Joey Gibson
The problem with unnamed return values is that you don't know what order to put them in. How do you know if the GetNames function is supposed to be "return firstname, lastname" or "return lastname, firstname"? The solution is to name them so you can have "return {firstname=f, lastname=l}" and not have to worry that you got the order wrong.
- Gabe
That's a reasonable point, but then I would say that you shouldn't just have a 'naked return', but rather something like the syntax you wrote. Of course, it works both ways -- you could get the method parameters in the wrong order as well, so named parameters would help fix that. :)
- Ray Cromwell
Gabe - do you mean that if say "firstname, lastname = GetNames()" it will return "Robert, Felty", and if I say "lastname, firstname = GetNames()" it will return "Felty, Robert"?
- Robert Felty
Rob: Maybe something like "with GetNames() { fn, ln = .firstname, .lastname }"
- Gabe
That makes sense Gabe. What languages currently have a "with"?
- Robert Felty
The "with" statement goes back many decades. Pascal and similar languages (like Modula) have one, but it's more like Javascript's let statement. JS has a with statement, but it's almost too pointless to use. VB's with statement was the one I was approximating, and is probably the best syntax for one. Ada has a with statement, but it's for importing packages, so it's nothing like in the other languages I described.
- Gabe
Hm, Pascal's "with" works exacly like JS's one, AFAIR.
- Alex Kapranoff
Alex, it seems you are right. It's been decades since I've used Pascal, and misremembered.
- Gabe
Also, Python's with statement (new for 2.6) is actually more like C#'s using. Actually, C# has a few different ways of using "using". One way is to import a package into your namespace, like Ada's with statement. Another way is to declare a variable to be initialized at the beginning of a block and make sure it is destroyed at the end of the block, like Python's with statement.
- Gabe
This could be very good! "Google software luminaries such as Unix co-creator Ken Thompson believe that they can help boost both computing power and programmers' abilities with an experimental programming language project called Go. And on Tuesday, they're taking the veil of secrecy off Go, releasing what they've built so far and inviting others to join the newly open-source project."
- Paul Buchheit
from Bookmarklet
What do you think, Paul? I know it's early, but Python latched on at Google... Think this is a response? And just on a lark, do you think Go may be headed for the browser at some point (to replace javascript)? Many of us have wondered if Chrome will take a stab at reinventing/reworking the web stack. Go feels more like a back-end tool, but wondering what came to your mind when you saw this...
- Christopher Galtenberg
Christopher, Python is nice, but we need a new system language, something high-performance to replace C/C++. This may be it.
- Paul Buchheit
My first reaction was oh yay, another C like language with brackets to make it acceptable. Having Rob Pike and Thompson on the team is impressive but makes me think of a plan9 resurrection. Using CSPs though is pretty cool and it looks like it supports mobile tasks.
- Todd Hoff
"Specifically, Go uses a technology dating back to the 1960s called CSP, or communicating sequential processes, that handles interactions among a set of cooperating programs, Pike said. The technology made an appearance in programming languages such as Occom and Erlang, but it generally hasn't been applied in systems programming."
- Paul Buchheit
If Google uses this for internal projects, that will give it a big advantage over something like plan9 in terms of being practical (not to mention the fact that it's free software, which plan9 was not, and a programming language, not an OS).
- Paul Buchheit
I am very excited about this, it's not genius or rocket science but it maybe the language to put alongisde C/C++ for real. I thought it was going to be D, maybe this is it
- Lawrence Oluyede
D seems too fragmented to be usable. All my hopes are on Go now :)
- Paul Buchheit
And note that the language is designed to be IDE independent.
- Piaw Na
Plan9 was a set of composable tools. In this case Google is providing the OS and the tools.
- Todd Hoff
Please ; at the end of lines... (I hate languages without ; for some psychological reasons)
- Ozgur Demir
I am no fan of language features designed to ease parsing but i suppose that's important for a system language? But it's hardly a user (i.e. programmer)-centric design. I think they should have drawn more from Scala (for concurrency model) and Io (for a beautiful syntax) instead of the messy, old languages they chose. Luckily, it's not designed for my needs so i'll never have to worry about it.
- ·[▪_▪]·
@ozgurdemir I agree. Either require them or don't. Don't make them optional in some cases. It confuses what programmers generally expect of a programming language: consistency.
- ·[▪_▪]·
Just checked and hated it. Sorry guys, it's not about the rest of the language.. it's just the ;'s.
- Ozgur Demir
while checking it, I noticed how much I love C / Java syntax and how lame to trying to change it just for to make a new product different.
- Ozgur Demir
@Paul you should know better than to confuse a language with its implementation! The people working on this all hail from the C/Java lineage and I don't know...may be fast but generally C is a hassle and Java is too dumbed-down. Trying to fix the mistakes they made in the past. Wonderful...
- Rudolf Olah
For god's sake, who cares what the syntax looks like? What matters is whether it solves useful problems or not. It's designed to clean up a lot of the problems stemming from the legacy of C[++], compile fast, execute fast, be appropriate for systems programming, and have good primitives for concurrency. Those are good goals in my book, and they fill a much-needed niche.
- Joel Webber
I thought it was kinda weird the way the video highlighted how fast it compiles. Compilation speed is great, and the vid was impressive, but I've never seen a language launch where that was highlighted so much. "Look, it compiles fast!!!!!! Oh, BTW, we are trying to solve concurrency".
- Nick Lothian
@Ozgur: Sure, but as long as the syntax isn't broken in some way, or ambiguous (VB6 comes to mind), it's surely much less important than what the language is capable of (compile speed, execution speed, what can be expressed, etc). Syntax seems like a distant third- or fourth-most important aspect to me.
- Joel Webber
@Nick: That kind of struck me as well when they first started talking about it. But when you consider that your main alternative is C++, and that compile times can get absolutely brutal (try compileing WebKit sometime -- it takes hours), it makes a bit more sense.
- Joel Webber
@Joel. yea, I can't say you're wrong and I am right.. these are all preferences.. for me, syntax is an important aspect in terms of code readability that's why I care since it becomes a real pain in the ass on a midsize or bigger project.
- Ozgur Demir
This thread is degenerating into rubbish. You know who you are - please stop.
- Christopher Galtenberg
from iPhone
@Joel yeah, I guess. But compiling something like that should take hours! Back when men were men and compiling a kernel on my 386 was a major undertaking success was so much more satisfying! Who are these young'uns Thompson & Pike and what do they know anyway!
- Nick Lothian
Yeah, really! Real programmers had to swap disks multiple times to run a Pascal compiler on Hello World for the C64 :)
- Joel Webber
Yeah, compilation speed doesn't mean too much. Would be nicer if they focused on the *thinking* part with regards to concurrency.
- Rudolf Olah
Compilation speeds mean a lot when you're dealing with the google programming model. This is a company that invented code search for internal use. (See as an example: http://www.freepatentsonline.com/7613693...)
- Piaw Na
@Piaw - nice example. I only skipped through it, but I can't see why something like that makes compilation speed critical. It seems similar in concept to static analysis - more speed is good, but the lack of speed doesn't break the model.
- Nick Lothian
@nlothian: static analysis and compilation both include parsing. efficient parsing of C++ is rather hard to achieve, due to messy nature of multiply included files and macro substitutions. if code analysis takes hours (ok, half-hours), it ceases to be useful.
- 9000
Lack of speed totally breaks the model. When you can get your analysis and search tools to respond in sub 500ms, the model for coding completely changes. You no longer remember where files are --- you just search for them and expect the search tool to remember for you. This enables massive code sharing, and allows small teams to be extremely effective, since they can now leverage other teams' work.
- Piaw Na
Use an IDE for iterative development of the components you are working on, make modules independent through interfaces, do a nightly build so the bulk of build products like libraries etc are available, then these compile issues go away. Justifying based on compile times is so 1990s.
- Todd Hoff
Ah, but how exactly does your IDE allow you to do iterative development quickly? You have to be able to compile individual modules (whatever form they take) quickly enough to make this feasible. If you take C[++] as the de facto systems language, it fails badly on this front, because the only way to share interfaces among modules is via the preprocessor, and precompiled headers only get...
more...
- Joel Webber
C++ allows for abstract base classes. No implementation. Compose systems this way and you minimize recompilation. And I'm assuming the initial subsystems are developed in a mocked unit tested environment and then within a very narrow scope, so interface changes are minimized until the system test phase is reached. The compilation argument would make sense if they were talking about a...
more...
- Todd Hoff
Sure, but you still have to define the abstract base class (interface) in a header file somewhere, and individual .cc files end up depending upon a large number of these in practice, so that any change to one of them tends to force you to recompile a lot of object files. As you say, there are some ways of reducing this effect, but in practice large C++ systems end up taking forever and a day to compile (try compiling WebKit; a lot of Google code has this problem as well).
- Joel Webber
C++ templates are also implemented badly, which makes compilation slow.
- Piaw Na
Only if you don't compose your system well Joel. I've worked very comfortably on systems that took 12 hours to compile across a cluster of 32 build machines. I'm not saying I don't want a language where you don't have to go through all these hoops, but to say it's inevitable in C++ is not so, you just have to beat make into submission and not create a big ball of mud, which is good practice anyway.
- Todd Hoff
@Todd: Fair enough -- I'm definitely not saying you're wrong, and I have also worked on fairly large C++ code bases (mostly games) without everything going to hell in a handbasket. But you have to admit that it would be nice if you didn't have to wait many hours (or use a Google-sized build cluster) for compiling your code :)
- Joel Webber
I've worked "comfortably" on projects where the full rebuild time was a few hours on my local machine, but I can't say that I was ever working optimally. Even in the instant-on environment I'm working in now, there are occasionally changes that I have to wait a full build/deploy cycle to test and it almost always takes me 2-5x as long to solve problems in that case. You can multitask while you wait, but it's just not the same (IMHO, of course).
- Matt Mastracci
I think 12 hours to compile across 32 build machines is unacceptable. I want instant compilation. You know, the kind that Turbo Pascal used to have.
- Piaw Na
I think that there's a dramatic improvement in developer productivity when the compile-link-run cycle time goes from a minute to a second.
- Gary Burd
Piaw before you say what is or is not unacceptable you might want to take the trouble to know what problem is being solved. Turbo Pascal to a real deployed product like a unicycle is to the 5th fleet.
- Todd Hoff
But any, good, modern IDE compiles incrementally and continuously so there's no noticeable compilation step. Compilation shouldn't be a _highlight_ of a new language. It's nice and the ease of building developer tools is a benefit to uptake but, in the end, the language has to be something developers _want_ to read and write since we have to look at it so much. Syntax matters. It's why so much sugar is added to languages.
- ·[▪_▪]·
As stated before, modern IDEs don't scale to google-sized code bases. Go is not designed for your tiny projects that fit in main memory. It's designed for large scale development projects.
- Piaw Na
@piaw You seem to assume that Google doesn't organize it's code. Any good project, regardless of size, especially for large projects, should be modularized. If Google has to load every piece of code into the IDE, they have more serious problems than Go will resolve. Trust me, I work on a project with tens of millions of lines of Java code and i've been responsible for analysis and...
more...
- ·[▪_▪]·
Well, Piaw actually did write a fair amount of the code at Google, so I'd give him a little more credit :) I know plenty of people at Google who *do* use Eclipse/IntelliJ on Google's code base (myself included), but you do have to break it into manageable chunks to make it work. That's sometimes easier said than done, to be fair.
- Joel Webber
When I worked for a large company in the internet advertising business, I found that dependency creep was a constant problem. I spent more time than I would have liked trying to get fast compilation time in Eclipse/IntelliJ. I welcome a tool that helps with this problem.
- Gary Burd
I think that time spent pruning and organizing your code and library is best instead spent working on better tools that make your development environment super fast and capable of scaling. That's the way Go was designed.
- Piaw Na
If you want fast turnaround, eliminate compiles all together. There's no reason why a language can't support a double or triple hybrid model. Look at a language like Factor, image based like Smalltalk, you write a function, and can patch it into the live running app instantaneously, where it will run interpreted in combination with compiled code, until the runtime gets around to...
more...
- Ray Cromwell
I noticed that Go has an interpreter work-in-progress living in its source. The start of an instant-run mode?
- Matt Mastracci
Smalltalk had a massive sharing problem --- you couldn't ever replicate what was in your Smalltalk image on someone else's machine. Eliminating compiles would be nice, but again, if you're solving problems at a massive scale, interpretation would be an order of magnitude loss in execution speed that you can't afford. That said, a Go interpreter would not be out of the question, or even hard to build.
- Piaw Na
@Piaw - was just reading "Coders at Work" this week and Ingalls (http://www.codersatwork.com/dan-ing...) was saying the exact opposite. He said he pauses his Mac machine and sends his Smalltalk system state over to a Windows developer and they start right up, debug, and fix.
- Daniel J. Pritchett
The point is not to have the production version run in interpretation, the point is to increase developer productivity by allowing a fast edit-run cycle, production builds can take as long as necessary. When you're in development mode, you often don't need full execution speed, you are checking for correctness. Take GWT for example. You can make changes to Java source, hit reload, and...
more...
- Ray Cromwell
What does production mean? An experiment that processes a large number of records so you can decide how to proceed with your line of research is hardly production, but it nevertheless has to execute fast over large amounts of data. You might think that it doesn't matter how quickly that runs, but the difference between 10 minutes and 100 minutes is huge in terms of productivity.
- Piaw Na
Yes, if you copied the entire image over, you could replicate a smalltalk VM. The problem is, then you have to live with the other guy's image and customizations. Smalltalk is great, but it really was designed as a single-user environment.
- Piaw Na
It depends how often you are running experiments over huge datasets like that. In the case where I needed some experimental data to proceed, yes, if after every edit, you had such an experiment, then maybe programming in a neutered language would be worth it, but I'd say that for the majority of developers, this is not the case, so being able to run unoptimized builds/interpretation...
more...
- Ray Cromwell
No, it is not for everyone. It's very much for large scale datasets that are encountered somewhat frequently on the WWW.
- Piaw Na
What causes nearsightedness? It doesn't appear to be genetic. Spending lots of time outdoors while growing up seems to greatly reduce the chances of being nearsighted.
- Amit Patel
"Near work, such as reading, had always seemed like an obvious contributor, since short-sightedness appears more common among highly educated people."
- Clare Dibble
"Playing indoor sports turned out to have no benefits for the eyes, whereas even physically inactive time spent outside was beneficial"
- Clare Dibble
"The result? On average the children in Sydney spent nearly 14 hours per week outside, and only 3 per cent developed myopia. In contrast, the children in Singapore spent just 3 hours outside, and 30 per cent developed myopia. Once again, close work had a minimal influence; the Australian children actually spent more time reading and in front of their computers than the Singaporeans...
more...
- bob
My optometrist was very impressed that my myopia is getting better. He thinks it's because I take off my glasses to read, but now I think it's because I spent a lot more time outside than others.
- Piaw Na
My myopia stopped getting worse when I started going out more, but there were so many other lifestyle changes at the time that it's hard for me to say whether it had an effect. For example, when outdoors I also exercise more :) (hiking, mostly)
- Amit Patel
Our 9 month old son loves being outside. Maybe this will mean that he won't be as near-sighted as I am.
- Robert Felty
FWIW, I've heard that sleeping with a night light can cause myopia...
- Andrew C
This peripheral blur theory sounds very interesting. I actually only need my glasses to drive or watch TV/movies... I should get back to what I used to do for years, which was go without the rest of the time. I've needed lenses for nearly 20 years now, but the progression (degradation) has been very very slow.
- Andrew C
I would not want to be in line behind her (nor would I want to be the cashier).
- Robert Felty
There are two issues I have with this. The first is that manufacturer coupons are almost always all processed foods (boxed dinners, packaged things) so you have to be cool with eating mostly processed foods if you're going to do that. The second is that you can't menu plan or do much true cooking or baking if you're doing shopping like she is. You end up with whatever processed foods you get with your coupons and then have to make meals out of that.
- Rochelle
"Maclaren USA Inc is recalling about one million strollers sold in the United States over the past decade after receiving a dozen reports of children's fingers being amputated when caught in the stroller's hinges. Maclaren announced a voluntary recall with the U.S. Consumer Product Safety Commission (CPSC) on Monday. The CPSC said consumers should immediately stop using the strollers, which were made in China, unless otherwise instructed. The recall involves all Maclaren single and double umbrella strollers sold in the United States starting in 1999. Maclaren said it has received 15 reports of children placing their finger in the stroller's hinge mechanism, which led to 12 reported fingertip amputations in the United States."
- April Buchheit
from Bookmarklet
Yikes! I own two types of these strollers, the Techno XT and the Volo.
- April Buchheit
"Consumers were told to contact Maclaren at (877) 688-2326 or through the web site www.maclaren.us/recall for more information." (The site is down, of course.)
- April Buchheit
So the problem happens when you open or collapse the stroller with the child's finger in one of the hinges? It's hard to imagine how that would come about.
- Gabe
Yes, indeed, Gabe. But then again, you never know with kids.
- April Buchheit
Spencer sometimes closes my laptop lid on his fingers. He hasn't lost any fingers yet, but he always seems to be surprised that it hurts (same goes for drawers).
- Robert Felty