My digital notepad RSS 2.0
 Friday, October 17, 2008

I was looking at the source of a Twitter plugin to Windows Live Writer and found this gem of a comment:

TwitterApi.UpdateStatus(Username, Password, status);
                
// Updating Twitter often happens so quickly that
// it doesn't feel like enough time has passed for
// it to have worked. So sleep for 250 millis to
// make the user feel like something happened.
Thread.Sleep(250);

Fantastic!

 
Friday, October 17, 2008 9:10:13 AM (Central Europe Standard Time, UTC+01:00)  #    Comments [0] -

Links
Twitter updates
    Archive
    <October 2008>
    SunMonTueWedThuFriSat
    2829301234
    567891011
    12131415161718
    19202122232425
    2627282930311
    2345678
    About the author/Disclaimer

    Disclaimer
    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

    © Copyright 2010
    Glenn F. Henriksen
    Sign In
    Statistics
    Total Posts: 48
    This Year: 0
    This Month: 0
    This Week: 0
    Comments: 31
    All Content © 2010, Glenn F. Henriksen
    DasBlog theme 'Business' created by Christoph De Baene (delarou)