Live data from Hacker News

Viewing profile — jabwork

jabwork

HN member
Joined
Fri, May 06, 2011, 3:56 PM UTC
HN karma
39
Public activity
25 items

About jabwork

No profile information was provided.

Recent public activity

  1. comment
    Comment #23339772

    Configargparse is a great drop in replacement for argparse that I use to handle bridging env vars with cli flags https://pypi.org/project/ConfigArgParse/

  2. comment
    Comment #22366240

    Have you used pythons cffi and if so how would you differentiate this from that? Does this work for all revisions of C? iirc cffi works for all of c89 and most of c99

  3. comment
    Comment #20849623

    I ran into this same issue with python/SQLAlchemy. It's a connection pool thing

  4. comment
    Comment #20812260

    I spent two years using and then administering two RT servers. I arrived with effectively no real PERL knowledge but a high level of Linux sysadmin competency I hugely enjoyed work…

  5. comment
    Comment #20732559

    For those of you using argparse I recommend looking at configargparse. A drop in replacement which adds environment variable support (similar to click) and config file support

  6. comment
    Comment #20615936

    The os module ships with python, so the function call mocking os.listdir will always succeed even if the code being tested does not use os.listdir By mocking mymodule.os.listdir yo…

  7. comment
    Comment #20609466

    I've wrestled with this problem several times. My conclusion was mocks are just fine, but this is a wart in that there isn't "one way to do it" For the most part I can get by with …

  8. comment
    Comment #19929742

    For the OPs context (their kids) I expect they'll have a lot of typing too do on school computers

  9. comment
    Comment #19793021

    Even Apple had the famous episode of releasing an update that bricked phones with replacement parts that weren't sanctioned. They reversed it after much public outcry. For less com…

  10. comment
    Comment #18604814

    Drat,I had hoped for another edition of this https://www.litepc.com/ For the uninitiated this basically cranked your ability to uninstall windows components up to 11, allowing you …

  11. comment
    Comment #18250350

    I've never had problems with this when requirements.txt contains package versions Have you, or are you not using explicit versions supplied by eg pip freeze?

  12. comment
    Comment #17692628

    punative damages could exceed that under a lot of conditions

  13. comment
    Comment #16402833

    I read this as an assertion the masses are losing interest overall, not switching to a competitor

  14. comment
    Comment #14748957

    Music with minimal words (which I find distracting) but often with vocals. Usually an album at a time e.g., Ibiza chill sessions (annual albums) Melody AM The altogether Little dra…

  15. comment
    Comment #14659490

    I regularly have 200+ FF tabs open, but FF steadily grows in memory usage. Normally I have to restart around 3gb due to notably degraded performance (around every 4 days ). Do you …

  16. comment
    Comment #14616116

    I read this as the culture of cheating teaches analysis of the system (education /testing) and how to identify weak points and exploit them Then, using the same analytical skills, …

  17. comment
    Comment #10073466

    I still write a variety of things. I've found it improves my ability to recall the things I write > Some say that because we write slower than we type, it allows for deeper thinkin…

  18. comment
    Comment #7928294

    Unreadable on a 10" tablet - slides are larger than my screen and cannot zoom out (Opera)

  19. comment
    Comment #7812202

    For RoR's method_missing give me the docs For apache configuration, give me the examples! I really like the use case of helping upstream maintainers decide on method deprecation/ad…

  20. comment
    Comment #6374187

    Python objects can override __dir__, which is all dir() calls anyway. It looks like this is all for an autocompletion library. Why not just write jedi.dir (jedir?)

  21. comment
    Comment #4282895

    Ostensibly because high demand fields are more likely to get hired and lead successful careers outside of Amazon. Logistically it also simplifies things because you can respond to …

  22. comment
    Comment #4177887

    "... run into some tiny annoyance, do a bit of research ... So you switch ..." If you pick a solution and run into a tiny annoyance learn to work around it in some way. It is a tin…

  23. comment
    Comment #3838196

    Can you give any sort of indication of the value of a schemaless database and the flexibility it provided as the team fleshed out the data model? Was this a mere convenience over t…

  24. comment
    Comment #3095078

    It would appear so. Based off of testimonials and briefly looking at the API I'd say this is primarily aimed at a simple API + fewer "gotchas" E.g., urllib/urllib2 both support url…

  25. comment
    Comment #3006418

    I had a hard time connecting "development on VMs is a good idea because ..." to "Mac is the ideal VM host OS" AFAIK everyone agrees that Mac hardware can be gotten cheaper by not b…