Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »

Ryan Anderson › Comments

Leeann Bent
does not like Python
why not? - Tudor Bosman
Well, the whole whitespace thing drives me a little batty. And the failure modes are strange, for example there was a string replacement with a dict. It looks for %(cell)s. If it finds %(cell)s in the string it replaces, if it finds %(blah)s it throws an error, but if it finds nothing, it does nothing. Also, I have no idea what it's doing under the covers and it's clear that is very... more... - Leeann Bent
I mean, I'm sure a large part of my problem is that I just don't know it well enough. But the assumptions seem strange to me. - Leeann Bent
Oh, and it's possible to both dereference and sum lists (they call it union where I come from). - Leeann Bent
I don't understand what you mean by "if it finds nothing, it does nothing". The % operator for strings works left-to-right: the %(foo)s will be substituted with the value of the key "foo" in the dictionary. If the key "foo" doesn't exist, Python will raise KeyError. It's particularly useful when you have a dict and want to log a debug statement based on values in the dict: logging.info("address=%(address)s name=%(name)s date=%(date)s" % kwargs) - Tudor Bosman
Python is trying hard not to optimize very much under the covers. If you want (for example) a dict reference hoisted out of a loop, hoist it yourself. (although you probably don't need to; dict references with immutable keys of built-in types are pretty fast) - Tudor Bosman
Did you mean difference instead of dereference? You can't subtract lists; you can add them, but that's concatenation, not union. [2,3,4] + [4] = [2,3,4,4] - Tudor Bosman
So getting back to the first point (I think I understood your concern): the % operator is meant as a way to format strings, not as a way to format dicts :) So it doesn't check that all keys in the dict appear in the string, but it does check that all %(key)s in the string are in the dict. If you want to print the entire dict, str() or repr() probably do what you want (or write a simple generator comprehension over dict.iteritems() to print the way you want). - Tudor Bosman
example: " ".join("k=%s,v=%s" % (k,v) for (k,v) in d.iteritems()) - Tudor Bosman
(Disclaimer: I think Python is awesome; FF is written almost entirely in Python. I'd personally like to see Java die and have everyone write Python or C++, depending on how performance-critical the piece of code is) - Tudor Bosman
It is concatenation, you are correct. But it turns out you *can* deference a list when you give it as an argument (I think I saw this to iteritems). - Leeann Bent
Actually maybe it wasn't, but I cannot find the snippet b/c p4 is down. - Leeann Bent
Ah, you're probably referring to foo(*bar) -- pass down the values of bar as consecutive arguments to foo. so if you have def foo(a,b): return a+b, and c=[2,3], then foo(*c) returns 5. This is pretty useful for functions with variable arguments, such as when writing wrappers: say, a function that logs arguments, and then calls another function: def foo(*args): logging.info("args=%s", args); bar(*args) - Tudor Bosman
(a more elegant solution to the "log all arguments before calling the wrapped function" problem involves decorators) - Tudor Bosman
That more elegant solution will contain essentially identical code, of course. - Ryan Anderson
Yeah Tudor, that's not the exact context (logging), but that's how it worked. - Leeann Bent
Kevin Fox
"Comcast is down at work." "Comcast is down at home." Comcast sure gets around!
Our cable at home has been comcastic this week. 4 modem power cycles yesterday alone. - Neal Krummell
my Internet is always comcastic, Comcast lives up to its adverts after all :) - Prolific Programmer from IM
Comcast is down on the farm. - Seth
Comcast is down with that. - Seth
Comcast be down wid dat shit - Prolific Programmer from IM
comcast was down for me today too, the tech came out and fried my f*ing airport. i'm now "plugged" directly into the modem. awaiting boy carrying new airport. - Jenna Bilotta
Confirms my long held beliefs that Comcast is a dirty whore. - EricaJoy
I've found Comcast to be incredibly awesome, when working, and their customer service experience is always unpleasant and (at best) mildly frustrating. Some of the problems I've had with them were made worse through my own inaction (Suffering for a day or two through packet loss or flaky hardware before I bothered calling, etc.) - Ryan Anderson
Swapped the "new" modem Comcast gave us when we moved (mfg date: 06/05) for a purchased one. So far, no problems, and the VPN stays up longer than g-pa on Viagra now. - Neal Krummell
Comcast certainly knows how to 'get down'. - Dan Dashnaw
Sounds like Comcast is going down everywhere. Desperate times for them, desperate times indeed. But on the silver lining side, *great* customer service if they're doing this now *ahem* - Andy Bold
Put microwave on the roof? - Cristo
And yet, I'm still hoping Comcast buys Charter - Robert Hafer
Tudor Bosman
I need to stop drinking coffee at my desk, it's becoming really expensive. This is the third keyboard (MS Natural Elite 4000, if you're curious) that I spilled coffee on.
They should make detergent coffees, like detergent gasolines, that way it cleans your keyboard when it spills. - ⓞnor
Also, the new MS keyboards don't like being run through the dishwasher (with or without detergent). I had no problems washing two old MS Natural Keyboard Pro keyboards. - Tudor Bosman
They make sippy cups, no? - Andrew C
heehee - Jeanette Bosman
I usually just drink water at my desk, and generally from a valve-equipped, nearly spillproof water bottle. - Andrew C
The last time I washed a keyboard, I ended up letting it dry for a day or so before it worked again. - Ryan Anderson
I hate buying coffee - it usually tastes like dishwater. - Chris Loft
Ryan: I let mine dry for 3 days; no luck. - Tudor Bosman
Tudor Bosman
Does anyone around here play Left 4 Dead (PC version) somewhat regularly? Please reply with your Steam ID if you do.
hmm oh no :) - Alp
Yes, but on the 360 where it's better. - Alex Scoble
Only if by "better" you mean "packed with all the original exploits that were long patched on the PC". - Tudor Bosman
By better I mean on the 360 and on my big screen. - Alex Scoble
Regularly? Not really, but I've got some friends that do; I'm in as PugMajere. - Ryan Anderson
Jorge Castro
Rhythmbox: Paused
These are my favorite updates. - Ryan Anderson
Bindu Reddy
Using the Kindle to read and it feels like I am part of TNG....
Remember Jean Luc Picard holding an electronic reader in some of the episodes. Definitely like the Kindle. Want to be able to upload all my unread books from my bookshelf onto the Kindle - Bindu Reddy
omg, I didn't even think of that! I soooo want one now. Picard was my idol. - Jeanette Bosman
And when Tudor comes home while I'm reading and I hear him at the door, I'll say "Come!" and "Yes, Number One?" - Jeanette Bosman
I love TNG :) I didn't think I would like the Kindle much. I used to read a lot when a few years ago. Now not so much.. However for the past couple of days I am looking around for the Kindle every single moment I am not on my laptop - Bindu Reddy
LOL....Jeanette that is really funny :)) - Bindu Reddy
I was thinking the same thing last night. (Coincidentally, at the same time as I realized that the battery life of the Kindle2 appears to be "4 books". - Ryan Anderson
Tudor Bosman
I want the ability to use my G1 cell phone as a pager. This means customizable notifications based on the sender and content of IMs and/or SMS messages. ("if the message comes from people on this whitelist and contains my super-sekrit password, use a very loud and obnoxious ringtone")
Also, "play this ringtone repeatedly until I acknowledge" would be a useful feature, too. - Tudor Bosman
Is anyone aware of an app that does something like this? - Tudor Bosman
but I'm a lazy programmer. Maybe someone's done it already, or maybe there's a workaround that I haven't thought of yet :) - Tudor Bosman
I'm aware of an app, but it's customized for Google's internal pager infrastructure; I'll poke the author and point him/her here. - Ryan Anderson
Gary Burd
Amazon.com: John E. Fracisco's review of The Story about Ping - http://www.amazon.com/review...
Amazon.com: John E. Fracisco's review of The Story about Ping
"Using deft allegory, the authors have provided an insightful and intuitive explanation of one of Unix's most venerable networking utilities. Even more stunning is that they were clearly working with a very early beta of the program, as their book first appeared in 1933, years (decades!) before the operating system and network infrastructure were finalized." - Gary Burd from Bookmarklet
Beautiful. - Tudor Bosman
"The ping packet is described as a duck, who, with other packets (more ducks), spends a certain period of time on the host machine (the wise-eyed boat). At the same time each day (I suspect this is scheduled under cron), the little packets (ducks) exit the host (boat) by way of a bridge (a bridge)." - Tudor Bosman
I think I have a copy of this book. - Ryan Anderson
Jess Lee
Talking about 'Battlestar Galactica's' 'No Exit' - http://featuresblogs.chicagotr...
The best summary/explanation that I've found so far for last night's CRAZY episode of Battlestar Galactica. Lots of spoilers. I <3 BSG. - Jess Lee from Bookmarklet
Weekly reminder: http://friendfeed.com/e... and http://friendfeed.com/e... - Signed, The Spoiler Police. - Tudor Bosman
omg my head hurts. - Ryan Anderson
Ryan Anderson
Hmm, Google Reader isn't scraping my FF atom feed anymore. (Well, it's configured, but not succeeding anymore.)
Hmm, looks like Reader bug, nevermind my complaining. - Ryan Anderson
Tudor Bosman
Is there any way to make Gmail pop up new IM windows by default (rather than showing them as moles in the current Gmail window)? It would be okay if this required configuration on my part (i.e. disabling the pop-up blocker for mail.google.com)
This is the only reason I still use stand-alone IM clients (Adium on the Mac, Pidgin on my home PC). - Tudor Bosman
Not that I know of. - Ryan Anderson
Bret Taylor
Official Gmail Blog: New in Labs: Offline Gmail - http://gmailblog.blogspot.com/2009...
"Today we're starting to roll out an experimental feature in Gmail Labs that should help fill in those gaps: offline Gmail. So even if you're offline, you can open your web browser, go to gmail.com, and get to your mail just like you're used to." - Bret Taylor from Bookmarklet
This always irritates me a lot: "We're making offline Gmail available to everyone who uses Gmail in US or UK English over the next couple of days, so if you don't see it under the Labs tab yet, it should be there soon." You guys need to change your push process so things are available when they are announced or at a predictable time so I don't need to keep checking back for 48 hours... - Bret Taylor
Long time coming! Sweet. - Shawn Farner
Woo-hoo! Way cool. But yeah, very disappointing to not have it *right now*. - Richard Chen
@Bret are you suggesting that they roll it out silently, then tell people about it, then switch the feature on for everybody all at once? - Adewale Oshineye
Let's see if Bret still says that once there are 100 gazillion FriendFeed users each with 100 gazillion gigabytes of data. ; ) - DeWitt Clinton
Yes, more or less. (I think it should be available "imminently" or announced after it is actually available - that is what we did for most consumer products at Google). It is really weird to tell your users a feature has "launched" when it is not available to them, and there is no predictable path or timeline to use it. It seems like one could get the feature-turning-on process down below 30 mins or so. - Bret Taylor
DeWitt: I am not saying it is easy, just saying it is worthwhile. - Bret Taylor
I'm going to guess -- with no inside knowledge -- that flipping the bit on the accounts is easy compared with the scaling problem of having those millions of people all downloading all of their email at exactly the same time. But I could be wrong. - DeWitt Clinton
But more to the point: holy crap, offline gmail launched! - DeWitt Clinton
Has Google Reader always had offline support as well? Just noticed the little green online/offline toggle in the upper right menu... - Ken Sheppardson
@Ken: yah, Reader launched with Offline support the day we launched Gears at the fist Google developer conference a year and a half ago. - Bret Taylor
Bret: Nice. I completely missed that. Just installed Gears earlier today to use RTM offline, next thing you know... heh. - Ken Sheppardson
Agree with letting users know after it is available... I was frustrated when I couldn't get to the skins feature and everyone was talking about it. I think this it is some sort of a miracle that this feature actually launched. Good for GMail :) - Bindu Reddy
arf... still waiting for it in my labs. - Justin Hart
WARNING: Anyone with access to your computer will be able to read your offline emails, due to the lack of encryption in Gears databases - lautaro
lautaro, true but presumably you should put some kind of protection on your computer in general, lest someone be able to read/delete all the files on your computer. Only use Offline Gmail on computers you can secure or in trusted environments. Treat it like files on your computer. - Kevin Fox
I has it! Woo!! - Nick Humphries
Everyone should have it; if you don't, reload Gmail and it should appear. (That's generally true of everything we do for Labs, fwiw. The fact that you have to turn it on manually counts as a 'slow rollout'.) - Ryan Anderson
@Ryan Anderson Actually not the case. Neither refreshing nor logging out and logging back in again brings the offline feature into my labs choices. - Ben Greenberg
@Ben, sorry, I appear to have misread some mail earlier today, ignore me. - Ryan Anderson
@bret -- it's tough to manage a large number of users enabling offline simultaneously, each downloading thousands of messages/attachments on initial sync. We could do as you suggest, and only announce the feature after the rollout was complete, but that's problematic too (it still wouldn't do much to stagger the initial load, plus the press would break the news before we did, which is confusing for users...). Any ideas? :-) - Todd Jackson
@todd Boarding a long flight at 2pm EST tomorrow and hoping I get the tab to go offline before then. Hint... hint.... :) - Christopher Sacca
Todd: Re "Any ideas", absolutely... let users know when they can expect to have the functionality enabled on their account. You could either use the Cable Installer Method ("sometime between 8AM and Noon on Tuesday"), or the Rolling Blackout Method ("you're in block 4. We're on block 2 right now"), Alphabetical Order ("you're an M, we're on E")... Time Zones... State... whatever... - Ken Sheppardson
Also, maybe you could find out how many users actually use the Labs features and how frequently they use Gmail. These users would be the most likely to appreciate the new features. For instance, my roomate has the new feature and didn't even know about it, so he wouldn't have missed it. (I guess it's hard to determine who reads the Google Blog though :P) - Brandon Titus
What you *could* roll out to everbody is a little button in Gmail Labs so that a user could indicate they've heard about the feature and would like to be added to a queue such that if you explicitly ask to use the feature, it moves you up to the head of the line... or the tail of the list of other people who've specifically requested the feature. - Ken Sheppardson
I agree with Ken on this. I feel like people who aren't really interested get the feature first and this irritates me. - Brandon Titus
Anyone have any guesses as to how this will work if you have multiple Gmail accounts being used on a single computer? Or if I have a Gmail account and an App account that I’d like to have both run offline on the same computer? - Chris Stevenson
Good question Chris. Looks like there is a bug with using it with multiple accounts anyway (not exactly what you were looking for, but interesting. http://groups.google.com/group... - Brandon Titus
Can't wait for it to work outside of the US & UK... - Eitan Burcat
Can't wait for it to actually get to my account...another friend of mine just got it. Too bad he uses Mail to manage his Gmail account instead of actually using the web interface. There needs to be a way to opt-in to get priority position on the role out. - Brandon Titus
Instead of these "offline web apps" I rather use real desktop apps, thank you... - Jemm
@Brandon Titus - Thanks for the link! Reads like I should avoid this if I have more than one account used on a computer to be safe. - Chris Stevenson
Options to limit the time for which messages are downloaded, the disk space used, and ESPECIALLY TO NOT DOWNLOAD LARGE ATTACHMENTS would be a plus. 500+ attachments were downloaded from my gmail account. No options to avoid it. http://tinyurl.com/t3hsUk - iSteeve
what's the difference between gmail off-line with thunderbird/outlook? I prefer thunderbird, which works both offiline and online. - xiawinter
Take a bow Gmail. You have done a wonderful job. It was delayed but after using I know why it was delayed. :-) - Sidharth Dassani
Gmail Offline status after 12h of synch: "Finished downloading messages, 1463 attachments still to be downloaded" & 1.53GB less on my HD :( - Xavier Donat
This is a great addition to Gmail. I've been waiting for this for a while. - Nicholas James
Mike Sego
people love friendfeed
welcome yourself aboard. :) - Carlos Ayala
well, I guess friendfeed wins the social experiment... trying to determine which community would give the most positive feedback about itself - Mike Sego
Nobody else has our "liking" technology :) - Paul Buchheit
which others did you try? :) - Private Sanjeev
Mike, not sure if the experiment is set up correctly ... On FF you will always get more likes because you are friends with some of the most active people and FF allows for comments/likes from non-friends. FB on the other hand won't allow for that :) - Bindu Reddy
just facebook and twitter... my group of friends is different on each, so it isn't exactly a scientific experiment... but yeah, I think it's that "like" technology, which I'm sure you patented =) - Mike Sego
Don't forget that on Facebook, unless you're a compulsive reloader, things tend to disappear, where I read friendfeed via Google Reader, so I don't miss anything. - Ryan Anderson
Kevin Fox
Moments after listening to Barack's inaugural speech, people were already walking on water in the Mall.
The reflecting pool was frozen over? - Ryan Anderson
Yep. - Kevin Fox
EricaJoy
How does one make IRL friends that are not coworkers and not of the opposite sex?
Make conversations. Host parties and ask friends to bring someone that's not a significant other. Co-host parties with a buddy and each invite different people. Do philanthropic activities. Join a social club (like Urban Diversion). Solicit platonic same-sex friends online at places like okcupid. - Adam Lasnik
I always meet people in the course of living. I find it works out better that way. I do the things I like to do and hopefully run into people that I'm compatible with. - Rahsheen ™, Coach Rah
When I came to ATL 3.5 yrs ago I found the ATL Flickr group. - Russellreno
lol...you don't...actually alcohol always help - jamar78
@Adam Infinite Loop Error: To make friends you host a party and invite friends... @Sheen Thats very vague. What do you do in the course of living that allows you to meet people of the same sex? - EricaJoy from IM
good question. pretty much all my friends these days are either coworkers, neighbors, or parents of my kids' friends (or all of the above). if you are so inclined, a lot of people would advise you to join a church or other religious organization. but i'm guessing many on friendfeed wouldn't go for that solution. - Nathan Rein
Erica, your original post implied you already have friends that are of the opposite sex. So both my party ideas seem plausible. "But Adam," I hear you protesting, "I can't imagine inviting all my guy friends to a party and insisting upon BYOW" and to that, I'd retort... Erica, it's Silicon Valley. Show me a party 'round here with more than 10% women and I'll show a juggling water buffalo. - Adam Lasnik
A juggling water buffalo certainly would be a hit at parties. - Andrew C
Oh, I have the same problem! I am quite shy in social situations which I think makes me appear dull and/or stupid. (no really, I have been told this on multiple occasions) I am neither dull, nor stupid (I swear) but it's difficult to know when, where or how to approach people. - Jeanette Bosman
Historically, the way I've met folks is in clubs. Cycling clubs, sailing clubs, wherever there's enthusiasts for hobbies that you like is a great way to meet friends. In fact, since hobbies seem to segregate naturally by gender, that's one easy way to meet same-gendered friends. In this age of Bowling Alone (https://www.amazon.com/dp...&), clubs are dying, but there are still many active ones. - Piaw Na
Historically, the way I've met folks is in clubs. Ruby Skye is one great place to meet people. - j1m
@Adam: I dunno, the parties I've been to in the city have had a pretty healthy mix of men and women. - Ryan Anderson
Ryan, thanks in advance for inviting me :D. And Piaw -- a big +1. - Adam Lasnik
Tudor Bosman
YouTube - Worst Commercial Placement Ever - http://www.youtube.com/watch...
YouTube - Worst Commercial Placement Ever
Play
**MAJOR SPOILER** for Battlestar Galactica. But if you've seen the last episode (413, "Sometimes a Great Notion"), forward to 1:40 and watch till the end. - Tudor Bosman from Bookmarklet
(via Metafilter) - Tudor Bosman
Tudor Bosman
Productivity Fail « FAIL Blog: Pictures and Videos of Owned, Pwnd and Fail Moments - http://failblog.org/2008...
Productivity Fail « FAIL Blog: Pictures and Videos of Owned, Pwnd and Fail Moments
It's a subtle hint to the Gold Farming market. - Ryan Anderson
Tudor Bosman
Auditorium: a beautiful game - http://insanecats.com/cgi-bin...
Beautiful. - Tudor Bosman
I saw this a few weeks ago. Awesome. - Ryan Anderson
This game is awesome! - Ross Miller
Wow, this is a lot of fun. - Benjamin Golub
i love this - Alex Gawley
This is addictive as hell. Thanks for ruining my life. - Jonathan
Leeann Bent
Holy cow! Jack and Gabriel are growing so fast. - April Buchheit
Uhoh, if Gabe's almost walking, that's going to make D&D more complicated. :) - Ryan Anderson
Yeah, I know. It's crazy how fast Gabe is developing and it seems like Jack is doing all his catching up now. Gabe is a bruiser. Have to say, yours are looking pretty big too. Time flies, that's for sure! - Leeann Bent
EricaJoy
friendfeed t-shirt sighting in PLY. i feel like i should say hi but that might be weird.
no way - go for it! track 'em back down! - Marco(aureliusmaximus)
I saw one at Target a few weeks back. I also see a FriendFeed mug when I walk to Moma, but I think that 's yours Erica! - Roshan Vyas
@Roshan Heheh yep that is my mug in the window in 45. - EricaJoy
I read this as "signing" 3 times before I realized i was wrong. - Ryan Anderson
Kevin Fox
Don't get me wrong, I love the Gmail themes, but did they really have to uglify the new default to get people to change themes to fix it?
Seriously. And it loads half-broken in the most disturbing way. - Paul Buchheit
I don't have themes yet, can we not go back to the old default once the new one is rolled out? - Benjamin Golub
I'm unable to change my theme, but I definitely got the new ugly one! - Patrick Lightbody
Patrick: if you got the new theme but no "themes" tab in settings, log out and log back in. - Tudor Bosman
I think browser reload should be sufficient (or just enter https://mail.google.com/mail/ in the nav bar). - Paul Buchheit
If you have the new 'darker blue' theme, you can sign out and back in and themes will be active. Go into settings -> themes and choose 'Classic' to get back to where you were this morning. - Kevin Fox
I guess it makes sense if you think that the user will have to go into themes to change back into 'classic'. But I thought that Google went above and beyond such gimicks? - sofiagk
Patrick, a reload should do the trick. - Private Sanjeev
And then some people still don't have the option to change it just yet. They are rolling it out in groups!! - Paul
Log out/log in, refresh, hard refresh, no luck. May just be a long rollout. - Christopher Galtenberg
Duncan Riley says "roll-out isn't immediate but everyone should have access by the end of the week" - Christopher Galtenberg
got mine yesterday using desk at the moment just have a diff look is a release - Trevor Cook
Seriously. My first thought when I saw the new default was "how do I change this?" - Amber
We did pretty extensive testing on the new default colors. Both surveys and logs showed it to be preferred to the classic skin. People actually thought Gmail was faster with the new colors. - Michael Leggett
As a designer, I think the classic skin is a better pallet for the app b/c the subtle blue lets text, links, and things like new chats stand out better. - Michael Leggett
I've been using skins (internally) for so long the old version looks ugly to me now. (And, humorously, my personal accounts don't have themes yet, heh.) - Ryan Anderson
gmail's new default theme looks just like a screenshot posted on nov 2007 here http://googlesystem.blogspot.com/2007... - Mateo Yadarola
Tudor Bosman
So far I've liked all the Culture novels I've read. (I'm annoyed that I can't read your review without signing into Goodreads, though.) - Ryan Anderson
I don't believe I wrote a review :) I like the Culture series a lot; I'm trying to intersperse non-Culture books in my reading schedule; I'm hoping that Matter will be released in paperback before I finish all the other Culture novels :) - Tudor Bosman
Other ways to read this feed:Feed readerFacebook