Live data from Hacker News

Viewing profile — damncabbage

damncabbage

HN member
Joined
Mon, Aug 02, 2010, 6:29 AM UTC
HN karma
3,050
Public activity
717 items

About damncabbage

Ruby/Haskell/JavaScript webdev based in Sydney, Australia.

  rob@robhoward.id.au
  http://robhoward.id.au
  http://twitter.com/damncabbage  
  http://github.com/damncabbage

Recent public activity

  1. comment
    Comment #18782398

    Relative to Ruby it has more upfront checking of some things. In Elixir, calling a function that doesn't exist or with the wrong number of arguments is something that will error ou…

  2. comment
    Comment #15497071

    > I checked out our shared Twitter history, we talked a fair bit in the past but I wasn't able to find _anything_ like this. > I mean this sincerely — are you _sure_ you didn't get…

  3. comment
    Comment #13710766

    There's also comments support in Flow directly, but it's sadly (but understandably) hideous: function somefunction(somestring/*: string*/)/*: boolean */ { var ret/*: boolean */; ..…

  4. comment
    Comment #13710716

    > It falls short on many things TS would immediately flag I'm kind of curious what you've run into personally. Having a dependency without any type-defs get silently treated as `an…

  5. comment
    Comment #13432547

    It means restricting to where you can perform IO actions, eg. printing to a log, writing to a shared area of memory, etc. Haskell does this by representing IO actions as values, eg…

  6. story
  7. comment
    Comment #12802159

    A list of items in an array. Some items in that list are of particular note. (Say you have 15 items in an array. For whatever reason, such as you not being in control of the expect…

  8. comment
    Comment #11236301

    > I've used the Haste compiler which IS Haskell that supports ALL GHC extensions except TemplateHaskell, supports the Cabal build tool and in practice it has its own ecosystem; mos…

  9. comment
    Comment #11072331

    Agreed; HipChat is unfortunately a bit terrible about this. I'll often "lose" a notification from someone when I'm offline: it sends an email, yep, but the chat client itself loses…

  10. comment
    Comment #11000402

    I'd be cautious: the range is too small for me (6'1" / 188cm). On a regular desk that suits me, it doesn't go high enough, and if you prop things on the desks up a bit, you then ne…

  11. comment
    Comment #10721601

    > ... being signed in is in-memory state. Can be in-memory state. Everything beyond toy-sized I've ever worked on has externalised this sort of state to a database of some kind, if…

  12. comment
    Comment #9345878

    In case the question is actually "Why not 1.9.3?", it's likely because 1.9.3 is End Of Life, and doesn't even get security upgrades now: https://www.ruby-lang.org/en/news/2014/01/1…

  13. comment
    Comment #9165546

    I recommend reading this (or at least pages 4-6 if you're in a rush) and the footnoted sources: https://docs.google.com/document/d/1soIYek-YEIvqtu9brv3ecdPb...

  14. comment
    Comment #8897696

    The iPhone has VoiceOver, and there are bluetooth Braille keyboards/displays for typing. This page goes into a bit more detail: https://andreashead.wikispaces.com/How+Do+Blind+Peop…

  15. comment
    Comment #8474526

    To just see the content on the page, paste this into the console: $('body').append(' .lesson,.post{visibility:visible;} '); (I enjoyed reading the content, but found it infuriating…

  16. comment
    Comment #8386630

    "If network connectivity is lost, you will need to launch a new session." As an Australian, I fear this is yet another one of those things we won't be able to use on our spotty 250…

  17. comment
    Comment #8314707

    I'd love to see how this goes. :D I recommend having a read of this other discussion thread further up the page: https://news.ycombinator.com/item?id=8312701

  18. story
  19. comment
    Comment #8201293

    This won't do anything for you there; it just collapses a Class and a record ID down into a string for you (and then pulls it back out of your database later with a GlobalID::Locat…

  20. comment
    Comment #8131361

    Spooky23 is being sarcastic.

  21. comment
    Comment #8118158

    I'm of the opinion that languages around the 10 year mark (which PHP is obviously well past) really ought to focus on becoming the best X they can be, rather than chasing the tail …

  22. comment
    Comment #8102133

    The C2 wiki has some discussion on the topic: http://c2.com/cgi/wiki?SingletonGlobalProblems http://c2.com/cgi/wiki?SingletonsAreEvil (And also: http://blogs.msdn.com/b/scottdensmo…

  23. comment
    Comment #8042198

    Slight off-topic, sorry – I'm having a hard time reading the text on the photo background: http://i.imgur.com/StACWqu.png

  24. comment
    Comment #7996739

    This is also an excellent (and very long) piece that does the same: http://techcrunch.com/2014/04/14/sf-housing/

  25. comment
    Comment #7991378

    I think there may be a typo with the first example: newtype ID a = ID Int deriving (Eq,Ord,Show) Should possibly just be: newtype ID a = ID a deriving (Eq,Ord,Show)