Live data from Hacker News

Viewing profile — jblotus

jblotus

HN member
Joined
Tue, Jun 21, 2011, 2:12 PM UTC
HN karma
132
Public activity
23 items

About jblotus

No profile information was provided.

Recent public activity

  1. comment
    Comment #14978960

    Here is a thread with some of our observations. https://forums.aws.amazon.com/thread.jspa?threadID=261421&ts...

  2. comment
    Comment #11200653

    Not sure what your statement means.

  3. story
  4. story
  5. comment
    Comment #5305068

    just awesome

  6. comment
    Comment #5151315

    interesting, for those of us who have been using apc for years.

  7. story
    Simply scale with Nginx, Memcached, PHP-FPM and APC

    When I started programming in PHP, my hosting setup involved a cPanel installation with Apache and MySQL. This has been the de facto standard for many PHP developers and for the mo…

  8. comment
    Comment #5060218

    ok i see your point. i conflated the terms function and closure in this case.

  9. comment
    Comment #5060203

    after thinking about it for a while, I was misrepresenting what block scope actually was and removed those references in the post.

  10. comment
    Comment #5052646

    author here. function test() { echo $a } test(); in javascript, $a would be 1 but in PHP it is undefined and won't produce output,

  11. comment
    Comment #5050956

    thanks for the help

  12. comment
    Comment #5050740

    i've also run into this, usually through double event binding

  13. comment
    Comment #5050737

    well, functions close over scope no matter what you call them.

  14. comment
    Comment #5049969

    author here, it wasn't about hiding private variables. i was demonstrating using closures to avoid global namespace collisions which i think is generally a big problem for beginner…

  15. comment
    Comment #5049935

    thanks for reading

  16. comment
    Comment #5049929

    or both for next level mode!

  17. story
    Common JavaScript Gotchas

    PHP was my first programming language, and my initial exposure to JavaScript was through libraries like jQuery. There were things about JavaScript that always seemed to trip me up …

  18. comment
    Comment #5014546

    all the greats get criticized

  19. story
  20. story
  21. story
  22. story
    Enforcing contracts in your PHP functions and methods

    Design by contract is an important concept for controlling what type of input your methods or functions can receive. One of the most dangerous features of PHP is that functions wil…

  23. story
    Protect your career with these 5 Web Development technologies

    In 2009, rock star devs used to pimp jQuery and most web Ninjas were highly skilled at Rails. Then rails became a ghetto and jQuery became a fat wife. But in the year 2015, things …