News for hackers. Stuff that matters.

heydanreeves

Re:Airbnb JavaScript Style Guide on Friday July 03, 2015 @04:38AM (#9824332)
There's also a jscs default for this styleguide.

    {
        "preset": "airbnb"
    }
Re:Structure-based ASCII Art (2010) on Monday March 02, 2015 @10:37AM (#9132268)
The site is using a japanese(?) font which you probably don't have and it's falling back to a serif font. If you inspect element and change it to monospace it all works fine.
http://www.qwantz.com/index.php

  <!--
                                            ,~~~~~~~~~~~~~~~~~~~~,
                                          ,'   You guys!! What    ',
                                          |    does that code      |
                                          ',   even MEAN?         ,'
                                            '~~~~~~.,   ,.~~~~~~~'
                                                    |  /
                                                    | /
                                                    |/
                                                    '
                                             .~-,
                                           .' `,>
                                        .-'   ,>  <7`,
                                      ,`     ,>  <7  }
                                     {   o   !> <7  /
                                     {       j_7`  !
                                     :            j'
                                      `,         ]
                                       F        }
                                      F       , {
                                     F         `.   rr
                                   .F          | `=-"
         _,-`                    .F            `,
       ,`;                     .F               j
      :  7                    F                 ;
      :  `^,                F`                 ,'
      `,    `^,          ,F`     .          ,  /
        `,     `^-^-^-^-`       ;           | ;
          `.                    :          .`/      ,-^,-
            `-.                 }         ,'' `,_.-^ /'
               `-,___           ;      .'` -_      ,7
                     ``=-....-={     ,/      `-','`Q
                                \     |                .-'-.]
                                 `,   `.             .`  0  `.
                                  `,   l_           `|  __   |`
                                 .C.-,___`==,        |  ||   |
  -->
Re:Show HN: tyto on Wednesday December 11, 2013 @07:54AM (#6887379)
Pretty cool demo. Just a little tip for op, @codez, if you apply float: right; to the menu container (.actions) the buttons will look better while sliding in/out.
Re:NSA email addresses from Adobe leak on Monday November 18, 2013 @08:01AM (#6754074)
I like that one of the hints is "1 to 6"
Re:Google Play Music on the App Store on Friday November 15, 2013 @12:41PM (#6740798)
Okay. Now give me a proper app instead of this stupid downloader in the system preferences...
Re:Two envelopes problem on Saturday September 14, 2013 @06:34PM (#6387327)
Since you don't know what is in either envelope surely both theoretically contain both x and 2x (al a Schrödinger's cat). Only upon opening an envelope will we know the amount; which one you take or how many times you swap make no difference.

Also swapping, in my understanding, doesn't increase your probability. In the first choice you 1 in 2 chance of gettng the higher amount. In the second choice (the ability to swap, which is fundamentally the same as choosing between the two envelopes) you have a 1 in 2 chance of getting the higher amount.

Correct me if I'm wrong.

Re:Sublime Text packages on Wednesday July 31, 2013 @08:14AM (#6133091)
Is it just painfully slow for me?