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] -

Comments are closed.
Links
Twitter updates
    Archive
    <August 2010>
    SunMonTueWedThuFriSat
    25262728293031
    1234567
    891011121314
    15161718192021
    22232425262728
    2930311234
    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)