Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benfrederickson
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
benfrederickson
4mo ago
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 to note is that there are some differences in blocking behavi
2.
▲
Narrative Driven Development
(jacobtomlinson.dev)
3 points
by
benfrederickson
4y ago
|
0 comments
3.
▲
Simplicity Is an Advantage but Sadly Complexity Sells Better
(eugeneyan.com)
58 points
by
benfrederickson
4y ago
|
6 comments
4.
▲
Individuals Matter
(danluu.com)
774 points
by
benfrederickson
5y ago
|
398 comments
5.
▲
by
benfrederickson
5y ago
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.
▲
Show HN: Transformers4Rec -a new library for Transformers on Recommender Systems
(github.com)
5 points
by
benfrederickson
5y ago
|
0 comments
7.
▲
by
benfrederickson
6y ago
> 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, because C is faster than Python), or you can p
8.
▲
by
benfrederickson
7y ago
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 line numbers, doesn’t work with threads, and significan
9.
▲
by
benfrederickson
7y ago
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 the dump command.
10.
▲
Profiling Native Python Extensions
(benfrederickson.com)
3 points
by
benfrederickson
7y ago
|
0 comments
11.
▲
by
benfrederickson
8y ago
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://github.com/rbspy&
12.
▲
by
benfrederickson
8y ago
the name pyspy was taken on pypi already : https://github.com/tdfischer/pyspy =)
13.
▲
by
benfrederickson
8y ago
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 easy fix.
14.
▲
by
benfrederickson
8y ago
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
15.
▲
by
benfrederickson
8y ago
Check out rbspy https://github.com/rbspy/rbspy (rbspy was the inspiration for this project =)
16.
▲
Show HN: Py-spy – A new sampling profiler for Python programs
(github.com)
286 points
by
benfrederickson
8y ago
|
43 comments
17.
▲
by
benfrederickson
8y ago
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 relatively common pattern for major web
18.
▲
Writing Python Extensions in Rust Using PyO3
(benfrederickson.com)
2 points
by
benfrederickson
8y ago
|
0 comments
19.
▲
Missing the point about microservices
(erikbern.com)
3 points
by
benfrederickson
8y ago
|
0 comments
20.
▲
Where Do the World's Software Developers Live?
(benfrederickson.com)
2 points
by
benfrederickson
8y ago
|
0 comments
21.
▲
by
benfrederickson
8y ago
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 sets, not all areas will be show
22.
▲
by
benfrederickson
8y ago
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 case here is relatively easy, but the pr
23.
▲
by
benfrederickson
9y ago
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 . We used alias tables with MCMC
24.
▲
by
benfrederickson
9y ago
Should have been clearer here: I've only been interviewed once, but I've given hundreds of interviews over the same time frame.
25.
▲
Why GitHub Won't Help with Hiring
(benfrederickson.com)
105 points
by
benfrederickson
9y ago
|
103 comments
26.
▲
by
benfrederickson
9y ago
I just saw your question on proggit, and I lazily cut-and-paste the answer for here =): For your first question - yes this means few people use more than one language in a month. There is also a power law distribution happening with user ac
27.
▲
by
benfrederickson
9y ago
Thanks! It was fun to put together.
28.
▲
by
benfrederickson
9y ago
Author here - happy to answer any questions anyone has.
29.
▲
by
benfrederickson
9y ago
I also wrote up an analysis of the top 1M robots.txt files: http://www.benfrederickson.com/robots-txt-analysis/ I ended up analyzing very different things from this article though, so this article was still pretty inte
30.
▲
Approximate Nearest Neighbours for Recommender Systems
(benfrederickson.com)
1 points
by
benfrederickson
9y ago
|
0 comments
More ›