Live data from Hacker News

Viewing profile — benfrederickson

benfrederickson

HN member
Joined
Tue, Jun 22, 2010, 6:23 PM UTC
HN karma
1,767
Public activity
66 items

About benfrederickson

No profile information was provided.

Recent public activity

  1. comment
    Comment #48109329

    While there are some implementation differences (py-spy is written in rust, profiling.sampling is a mix of python and C etc), the end result seems pretty similar to me. One thing t…

  2. story
  3. story
  4. story
  5. comment
    Comment #29170738

    Sorry about leaving your program suspended - I believe that was because of a bug that should be fixed now https://github.com/benfred/py-spy/issues/390 =(

  6. story
  7. story
  8. comment
    Comment #24908940

    > you can either race with the program and hope that you read its memory to get the function stack before it changes what function it's running (and you're likely to win the race, …

  9. comment
    Comment #22041899

    Interesting article. While I definitely think you should be profiling your code to figure out the hot spots, cProfile has some limitations for profiling: cProfile doesn't give you …

  10. comment
    Comment #21431963

    Author here. It's worth noting that since I wrote this post, py-spy has gained the ability to profile multiprocess python applications - and can also now show local variables in th…

  11. story
  12. comment
    Comment #18220975

    I wrote something that will get you the python interpreter stack from any running cpython process : https://github.com/benfred/py-spy/ , and rbspy can do the same for ruby https://…

  13. comment
    Comment #17938532

    the name pyspy was taken on pypi already : https://github.com/tdfischer/pyspy =)

  14. comment
    Comment #17929838

    Thanks! Both of your suggestions totally make sense. I've created an issue to track the poll() issue here https://github.com/benfred/py-spy/issues/13 - I think that should be an ea…

  15. comment
    Comment #17929820

    Not yet - but I'm hoping to have a version that supports this next week. Will update this issue when it's done: https://github.com/benfred/py-spy/issues/3

  16. comment
    Comment #17927700

    Check out rbspy https://github.com/rbspy/rbspy (rbspy was the inspiration for this project =)

  17. story
  18. comment
  19. comment
    Comment #17465226

    I analyzed the top 1 million robots.txt files looking for sites that allow google and block everyone else here: https://www.benfrederickson.com/robots-txt-analysis/ - it's a relati…

  20. story
  21. story
  22. story
  23. comment
    Comment #16843232

    There is a pretty good breakdown of a bunch of different options for visualizing sets here: http://www.cvast.tuwien.ac.at/SetViz Venn/Euler diagrams don't work all that well past 3…

  24. comment
    Comment #16841398

    Neat demonstration! A while back I wrote a small package in Javascript for computing area proportional Venn and Euler diagrams: https://github.com/benfred/venn.js . The 2 circle ca…

  25. comment
    Comment #16573795

    Alias tables are pretty cool, I wrote an interactive visualization of how they get built as part of this post a while ago: http://engineering.flipboard.com/2017/02/storyclustering …