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.

This is the legacy version of twitter.com. We will be shutting it down on June 1, 2020. Please switch to a supported browser, or disable the extension which masks your browser. You can see a list of supported browsers in our Help Center.

  • 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

  • © 2020 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 Mar 28
      • Report Tweet
      • Report NetzDG Violation

      @hillelogram Have you considered writing your own static site generator? Re: thread. I'm stuck on Hugo 0.19 after having to unbreak my site the last three times I updated Hugo. In the time I spent fixing Octopress and then Hugo, I think I could have written my own site generatorpic.twitter.com/x0FfWHqapV

      Twitter won't allow a quote of this length. Please see https://lobste.rs/s/h491m8/what_static_site_generator_theme_do_you#c_isncw3
      Oof, tell me about it. I’m stuck in the 30’s because they introduced a performance regression on pygments, so it takes 10+ seconds to build my website. They won’t fix it because we’re supposed to switch to Chroma instead, but I’m running custom lexers and really don’t want to recompile Hugo if I need to tweak something.

Also now if they can’t find an embedded tweet the entire site build fails, so I can’t work offlin
      10 replies 1 retweet 28 likes
      Show this thread
      Dan Luu‏ @danluu Mar 28
      • Report Tweet
      • Report NetzDG Violation

      I think making a general purpose static site generator is non-trivial, but making one with the three features I actually use that runs pandoc to do markdown conversion seems pretty simple, and then I could use a decent markdown implementation, too -- Hugo's is sort of broken :-/.

      3:10 PM - 28 Mar 2020
      • 2 Retweets
      • 29 Likes
      • cloudsh Raymond Sohn Jon Shea Elmar Klausmeier Matt "MSG superfan" Olson james hunt (.us) dan sutton ʀᴏʙᴛᴇʀʀɪɴ Uncarved Bitmap
      15 replies 2 retweets 29 likes
        1. New conversation
        2. joshua schachter‏ @joshu Mar 28
          • Report Tweet
          • Report NetzDG Violation
          Replying to @danluu

          what would you choose today if you had to make a different choice?

          1 reply 0 retweets 1 like
        3. Dan Luu‏ @danluu Mar 28
          • Report Tweet
          • Report NetzDG Violation
          Replying to @joshu

          If I were starting from scratch, I'd write raw HTML and then add scripting where there's a high payoff, which I suspect would be: * index generation * RSS generation * footer generation * minification (basically pointless for a site like mine, this is a hobby)

          2 replies 0 retweets 1 like
        4. 2 more replies
        1. New conversation
        2. Evan Meagher‏ @evanm Mar 28
          • Report Tweet
          • Report NetzDG Violation
          Replying to @danluu

          I’ve used Jekyll for going on nine years for my website. It’s fine. I particularly enjoy the time I haven’t allocated to migrating from one flavor of the month alternative to another.

          2 replies 0 retweets 4 likes
        3. Dan Luu‏ @danluu Mar 28
          • Report Tweet
          • Report NetzDG Violation
          Replying to @evanm

          When I switched from Octopress/Jekyll, it took ~60s to generate my site. This would eventually be fixed by: * Ruby speedups * Computers speedups * Jekyll speedups But I didn't want to wait 60s to preview every change nor did I want to wait 3 years for it to get better.

          1 reply 0 retweets 1 like
        4. 2 more replies
        1. New conversation
        2. David Crawshaw‏ @davidcrawshaw Mar 28
          • Report Tweet
          • Report NetzDG Violation
          Replying to @danluu

          I wrote my own around a markdown parser library. It took a couple hours a couple years ago and haven't thought about it since. I keep threatening to rewrite the Tailscale one for similar reasons.

          1 reply 0 retweets 4 likes
        3. David Crawshaw‏ @davidcrawshaw Mar 28
          • Report Tweet
          • Report NetzDG Violation
          Replying to @davidcrawshaw @danluu

          Some tasks don't generalize.

          2 replies 1 retweet 6 likes
        4. 1 more reply
        1. New conversation
        2. Andrew Kelley‏ @andy_kelley Mar 28
          • Report Tweet
          • Report NetzDG Violation
          Replying to @danluu

          Can confirm, wrote my own static site generator for my personal site years ago. It took a few hours and I haven't touched it since. Still works fine today

          3 replies 0 retweets 10 likes
        3. Alan Grow‏ @alangrow Mar 28
          • Report Tweet
          • Report NetzDG Violation
          Replying to @andy_kelley @danluu

          Same. I don't think programmers should be ashamed that they "reinvented the wheel" and built their own SSG. The problem space is huge, the solution space is huge, and the choices are personal -- unlike actual wheels.

          2 replies 0 retweets 4 likes
        4. 1 more reply
        1. Neil Mitchell‏ @ndm_haskell Mar 28
          • Report Tweet
          • Report NetzDG Violation
          Replying to @danluu

          Not only have I written my own site generator, but I've written one per site I generate. No regrets at all: * https://ndmitchell.com  generated by https://github.com/ndmitchell/ndmitchell.github.io … * https://shakebuild.com  generated by https://github.com/ndmitchell/shake/tree/master/website …

          0 replies 1 retweet 7 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo
        1. New conversation
        2. Hillel‏ @hillelogram Mar 28
          • Report Tweet
          • Report NetzDG Violation
          Replying to @danluu

          Honestly, it sounds tempting. The further you are from the happy path the worse hugo gets, and I'm very, very far from the happy path

          3 replies 0 retweets 2 likes
        3. Sigurt the human‏ @Bladtman Mar 28
          • Report Tweet
          • Report NetzDG Violation
          Replying to @hillelogram @danluu

          I "made" a barebones version that's just a makefile and pandoc. It works decently well.

          0 replies 1 retweet 1 like
        4. End of conversation

      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

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