Live data from Hacker News

Viewing profile — fredemmott

fredemmott

HN member
Joined
Thu, Oct 23, 2014, 5:04 PM UTC
HN karma
44
Public activity
25 items

About fredemmott

No profile information was provided.

Recent public activity

  1. comment
    Comment #29027425

    The warnings about MacOS are mostly being cautious, as I don't think anyone actually runs it in production. I work with open source Hack code a lot, and I almost always use the Mac…

  2. comment
    Comment #29027317

    To clarify, xhp-js was not server-side rendering - it's a framework for generating javascript code, and getting an DOM element ID for a react element that the hack code can refer t…

  3. comment
    Comment #29027304

    > Are there any large Hack codebases I can explore? depends what you mean by 'large' - perhaps https://github.com/hhvm/user-documentation ? > Does anyone know if FB tracks changes …

  4. comment
    Comment #29027260

    Facebook doesn't. Open source users of Hack do, and it uses packagist.org - however if a package is written in PHP, Hack code can't use it. Not 100% accurate, but if a package's co…

  5. comment
    Comment #29027229

    There's also https://github.com/hhvm/hack-codegen/tree/master/examples/do... , along with the article at https://engineering.fb.com/2015/08/20/open-source/writing-co... This is mod…

  6. comment
    Comment #17982069

    > Now I also don't know if I buy that MAX_INT + 1 and pass-by-reference is a pressing enough use case to break compatibility. I'd be open to hearing why, but I'd be starting from a…

  7. story
  8. comment
    Comment #15287742

    https://github.com/hhvm/hack-router/ and https://github.com/hhvm/hack-router-codegen/ power docs.hhvm.com and some of our other users; they do have problems such as extremely lacki…

  9. comment
    Comment #15286000

    For completeness: Sara Golemon started porting Facebook's old PHP5 implementation of XHP to PHP7 - you can find it here: https://github.com/phplang/xhp + https://github.com/phplang…

  10. comment
    Comment #15285981

    we're currently leaning towards out/inout parameters, with copy semantics, not byref (and in most cases, we'll probably be able to optimize away the copy); not certain yet though.

  11. comment
    Comment #15280413

    You'll also see a few of these on http://php.net/manual/en/migration70.incompatible.php :p

  12. comment
    Comment #15279570

    Sorry, I know this is a pain; I'm hoping to fix it by the end of the year (along with bringing back nightly debs, and supporting more recent versions of debian/ubuntu). For homebre…

  13. comment
    Comment #15279046

    > my ask is to just make a better language and drop ALL of PHP baggage. Long-term, we hope to make pure-hack projects more practical, and we're aiming to make Hack the best web dev…

  14. comment
    Comment #15278571

    I'll leave the first part of your question for someone less close to the project. For the toolchain, when using it: it's currently mostly the PHP toolchain (e.g. composer) with som…

  15. comment
    Comment #15278495

    Function naming: We're moving towards functions_like_this(), instanceAndStaticMethodsLikeThis(), and async functions like foo_async() and methods like fooAsync(). We're unlikely to…

  16. comment
    Comment #15278384

    Thanks; we don't feel that the framework authors have to make a choice here: - short-term, those of us working on HHVM - not the frameworks - need to make sure that HHVM can run th…

  17. comment
    Comment #11536470

    There's https://github.com/facebook/squangle for MySQL, though it's lacking documentation, and requires a https://github.com/facebook/mysql-5.6 or WebScaleSQL client library

  18. story
  19. comment
    Comment #9864803

    No - it still renders the element client-side so that it supports interactive components. See: https://github.com/hhvm/xhp-js/blob/master/src/XHPReact.php https://github.com/hhvm/x…

  20. comment
    Comment #9077164

    RE exceptions: in HHVM at least you can change this: 1. set hhvm.error_handling.call_user_handler_on_fatals=true in your ini file 2. throw exceptions from your handler :)

  21. comment
    Comment #9075073

    People are having lots of success with https://github.com/mongofill/mongofill-hhvm

  22. comment
    Comment #9071232

    also, if this is an open source workload, any chance you could submit it to https://github.com/hhvm/oss-performance ? We generally optimize based on those benchmarks, and Facebook …

  23. comment
    Comment #9067267

    do you have any profiling information to share? if you could post it as a github issue, we'd be very interested. This sounds unusual.

  24. comment
    Comment #8625781

    Here's one :) https://github.com/facebook/vim-flow/

  25. story