Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
danluu's profile
Dan Luu
Dan Luu
Dan Luu
@danluu

Tweets

Dan Luu

@danluu

https://patreon.com/danluu 

danluu.com
Joined December 2008

Tweets

  • © 2019 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Imprint
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. Dan Luu‏ @danluu 19 Nov 2017
      • Report Tweet

      Dan Luu Retweeted Gary Bernhardt

      1. Write a 280 char tweet w/spaces 2. ctrl+a, ctrl+x 3. ctrl+v 4. Tweet becomes 283 to 284 chars This is consistently reproducible for me in FF. In the linked thread, a guy who worked on this feature explains why it's good that undo, cut, copy, etc. don't work correctly 😭https://twitter.com/garybernhardt/status/891487984465268737 …

      Dan Luu added,

      Gary Bernhardt @garybernhardt
      Replying to @garybernhardt
      You might ask: "isn't writing a good text box hard?" Yes, which is why you *never ever do it*. Never implement controls! They will be wrong!
      6 replies 34 retweets 97 likes
      Show this thread
    2. Dan Luu‏ @danluu 19 Nov 2017
      • Report Tweet

      If you've ever wondered why I sometimes have tweets with extra spaces in them, I habitually copy as I type as a "backup". When the web app blows up, I paste to "restore" but twitter breaks this. I remove the extra spaces I can spot, but it's hard to spot if it's at a line break

      1 reply 0 retweets 14 likes
      Show this thread
      Dan Luu‏ @danluu 19 Nov 2017
      • Report Tweet

      The previous tweet was going to end with an emoji, but inserting the emoji took me from 1 char remaining to -3. Did twitter switch from characters to bytes and switch to the gauge so that it would be less obvious that they switched? 😂😂I just hit insert once and two appeared.

      8:07 AM - 19 Nov 2017
      • 8 Likes
      • AchillVirusSon Lee Herrin tempfolder 🇮🇱 alfasin Aaron Brown Quien es mas Groucho Venkata Raju Raunak S
      5 replies 0 retweets 8 likes
        1. Dan Luu‏ @danluu 19 Nov 2017
          • Report Tweet

          I ran into one UI issue that's arguably not a bug and three bugs while typing these tweets. How many person-years would you guess went into this text box? In the linked thread, the guy said he worked on this for years and it doesn't sound like he was the only one.

          5 replies 2 retweets 16 likes
          Show this thread
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo
        1. New conversation
        2. Chris Peterson‏ @cpeterso 19 Nov 2017
          • Report Tweet
          Replying to @danluu

          Are the extra 3-4 characters in the pasted text from extra space characters (inserted or appended by Twitter) or Emoji "characters" converted to bytes on the roundtrip?

          1 reply 0 retweets 0 likes
        3. Dan Luu‏ @danluu 20 Nov 2017
          • Report Tweet
          Replying to @cpeterso

          Extra spaces. Some spaces turn into two spaces (I haven't tried with no spaces to see if spaces get inserted if there were zero spaces).

          0 replies 0 retweets 0 likes
        4. End of conversation
        1. New conversation
        2. Tim Dierks‏ @tdierks 19 Nov 2017
          • Report Tweet
          Replying to @danluu

          Some characters count one character to Twitter, some count two; not because of bytes, but because Twitter's rules for ideographic languages and alphabetic languages are different. From my test, emoji also count as two.

          1 reply 0 retweets 1 like
        3. Dan Luu‏ @danluu 19 Nov 2017
          • Report Tweet
          Replying to @tdierks

          Oh, I made a mistake! ☹counted as 4 when appended to the tweet mentioned above (also true when I deleted one or two characters) but it's 0xE298B9. If I just paste in a bunch of them, they each count as 2. Seems hard to imagine that the difference is by design and not a bug?

          2 replies 0 retweets 1 like
        4. 3 more replies
        1. New conversation
        2. Random832‏ @Random832 19 Nov 2017
          • Report Tweet
          Replying to @danluu

          Emoji mostly count as two characters, and some count as more. The England/Scotland/Wales flags count as fourteen each (most flags are four) It's not bytes, though, it's much more complicated. @FakeUnicode and @11rcombs have the details.

          2 replies 0 retweets 0 likes
        3. Fake “Unicode.”  ↙️‏ @FakeUnicode 19 Nov 2017
          • Report Tweet
          Replying to @Random832 @danluu @11rcombs

          These codepoints cost 1/280: [U+0000..10FF] [U+2000..200D] [U+2010..201F] [U+2032..2037] All the rest cost 2/280. 🏴󠁧󠁢󠁳󠁣󠁴󠁿 1f3f4-e0067-e0062-e0073-e0063-e0074-e007f GBSCT SCOTLAND 7 codepoints all of the 2/280 ilk = 14/280. THANKS TWITTER.pic.twitter.com/LNZuy4OBc0

          1 reply 0 retweets 0 likes
        4. 7 more replies
        1. New conversation
        2.  🆗 🆒‏ @the_gwalla 19 Nov 2017
          • Report Tweet
          Replying to @danluu

          They wanted to exempt CJK from the higher character count b/c they already had an "unfair advantage" from their higher information density…

          1 reply 0 retweets 0 likes
        3.  🆗 🆒‏ @the_gwalla 19 Nov 2017
          • Report Tweet
          Replying to @the_gwalla @danluu

          …but they half-assed it and caught a whole lot of other stuff. See @FakeUnicode for details

          1 reply 0 retweets 0 likes
        4. 1 more reply

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2019 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Imprint
        • Cookies
        • Ads info