Live data from Hacker News

Viewing profile — chrisguitarguy

chrisguitarguy

HN member
Joined
Wed, Oct 12, 2011, 1:40 AM UTC
HN karma
540
Public activity
101 items

About chrisguitarguy

Lots of PHP, JS, Infrastructure, and Python. https://chrisguitarguy.com

Also run a site about classical guitar, my instrument: http://www.classicalguitar.org/

Email: chris {AT} classicalguitar.org

Recent public activity

  1. comment
    Comment #32549918

    > Most mature languages have a logging system which allows the internal logging of a library or module to be silenced, redirected or almost any other action. I think there is a lot…

  2. comment
    Comment #32549707

    Log (and presumably) deal with errors if you _can deal with them_ close to where they occur. Otherwise just let them throw and/or propagate them up. An application should have some…

  3. comment
    Comment #21793325

    Same for me. Kids are 1.5 and 4. I used to do so much just hacking around, and now it's non-existent. As far as bedtime/sleep stuff: I pretty much just wind down after the kids go …

  4. comment
    Comment #21713764

    Seconded, this is a great book. I think all non-managers should read it as well as it will give you some clarity on what you should expect from your manager and what their day-to-d…

  5. comment
    Comment #21544406

    I tend to write test cases that re-produce bugs first, then fix the bug. Other than that, I don't stick too hard to test driven development. I did for a while, but you start to get…

  6. comment
    Comment #14595467

    Though it may have started as a, "parasite upon reddit," imgur does stand pretty well on its own now. Try out their mobile app and you'll see a pretty active community.

  7. comment
    Comment #13576028

    That's advertisers themselves doing a bad job of retargeting. First-party data is probably not going to change that. In fact, it may mean you'll just get those ads across all your …

  8. comment
    Comment #13575586

    Advertising. Definitely first party data for targeting. An advertiser takes some data from its CRM, sends it to the big social sites and google, and then uses the list to target th…

  9. comment
    Comment #13302557

    PMG | Senior Backend or Frontend Engineers | Fort Worth, TX | https://www.pmg.com/ Onsite or Remote, Full-Time PMG is looking for some senior-level engineers to help us build in ho…

  10. comment
    Comment #13270999

    This is how I came to work remotely. When my wife and I had to move for her job, I had built quite a bit of the software my company relied on. Had leverage to go remote and the tru…

  11. story
  12. comment
    Comment #9407504

    I suspect it's because WhatsApp's backend can be turned into a platform that will run WhatsApp itself as well as Facebook Messenger. There's a lot more opportunity to do messaging …

  13. comment
    Comment #9364193

    If your objects require dependencies to do their jobs, it should be impossible to create objects without those dependencies. The objects' constructors should require them. Having s…

  14. comment
    Comment #7358187

    That's more along the lines of what a lot of TDD literature says. Write adapters or facades that wrap external libraries, use those in your own code's unit tests. This makes you le…

  15. comment
    Comment #7340447

    http://morepypy.blogspot.com/2012/07/hello-everyone.html > I'm proud to release the result of a Facebook-sponsored study on the feasibility of using the RPython toolchain to produc…

  16. comment
    Comment #7220904

    https://github.com/gollum/gollum Named after the software that powers the wiki.

  17. comment
    Comment #7159634

    I have a Bachelors and Masters in Music Performance (classical guitar). Did one year of a doctoral program too before I figured out I liked building things more.

  18. comment
  19. comment
    Comment #6145327

    It's easy to turn off: remove_action('init', 'wp_cron'); Then just set up your own real cron job to run the `wp-cron.php` script however often you'd like. > If your site gets a lar…

  20. comment
    Comment #5918614

    > Most of the CMS's that claim to use PHPass actually use the "portable" option This is true for WordPress, which uses PHPass. You have to replace `wp_hash_password` to get WP to u…

  21. comment
    Comment #5918176

    There's also a library for PHP >= 5.3.7 that provides the same API if PHP 5.5 isn't an option yet. https://github.com/ircmaxell/password_compat Written by Anthony Ferrara, the same…

  22. comment
    Comment #5702609

    > So it's like PHP where I need to pass in `function modify(&$foo) {` to modify a variable passed by reference. If you're thinking in terms of PHP's primitive types, then yes: that…

  23. comment
    Comment #5632496

    I would recommend Doctrine DBAL[0] over Meekro. 0. http://www.doctrine-project.org/projects/dbal.html

  24. comment
    Comment #5409909

    The settings API [0] is really bad. That said, you can still use parts of it without the `add_settings_field` and `add_settings_section` bits. Or you can build reasonably powerful …

  25. comment
    Comment #5409840

    The theme replaced jQuery bundled with WordPress with some external version (eg. Google hosted or otherwise) and did it so on both the admin and front end. That's usually the cause…