Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cjbillington
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
cjbillington
9y ago
Doesn't seem to work - not sure why. Perhaps you can fix by calling dlopen on the shared objects explicitly rather than linking them and relying on the linker to find the libraries at runtime. I'm not sure, not totally familiar wi
62.
▲
by
cjbillington
9y ago
Cool idea. Can't run on the latest Ubuntu though, it seems the latest Qt in the Ubuntu repos is 5.7? $ ./doogie ./doogie: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.9' not fou
63.
▲
by
cjbillington
9y ago
I don't think it's completely insane, but I think the parent comment overestimates the proportion of marriages that have that kind of trust. If people didn't get married without 100% trust then most people wouldn't be ma
64.
▲
by
cjbillington
9y ago
I'm still at a loss as to what type of science there is that doesn't have data. "Data science" to me seems like a buzzword that has connotations of a field or industry starting to use science where they previously didn&#
65.
▲
by
cjbillington
9y ago
What's wrong with pygments? I've been using it to get highlighted code as latex, html, whatever, since forever. I'm all for reinventing deficient wheels, but is there anything wrong with this? pygmentize -f png -l pytho
66.
▲
by
cjbillington
9y ago
Hm. I'm not convinced. Right now I'm writing a thesis. It's in LaTeX, and auto compiles when a file changes. So on one monitor I've got my text editor and the PDF output. It's very nice to keep writing and get the o
67.
▲
by
cjbillington
9y ago
The Oatmeal isn't necessarily an authority, but explicitly lists "use semicolons as a super comma!" as one of their uses: http://theoatmeal.com/comics/semicolon
68.
▲
by
cjbillington
9y ago
Really? Huh. I would have expected a metaclass.
69.
▲
by
cjbillington
9y ago
This unfortunately just isn't possible if you want your research to be able to be read in the future. "download?" from where? Links rot. "run?" which language, compiler, cpu architecture? Dependencies? Code bit rots
70.
▲
by
cjbillington
9y ago
That's a TypeError though, not undefined behaviour. People are talking about different things.
71.
▲
by
cjbillington
9y ago
I made a wrapper of cProfile and gprof2dot, which can be found here: http://bprofile.readthedocs.io so that you don't have to remember how to call gprof2dot all the time.
72.
▲
by
cjbillington
9y ago
Globally, yes. And sure, we should care about the global more more than the poor of the developed countries. But I don't see any reason to believe so far that developed countries have solved the problem of rising inequality within thei
73.
▲
by
cjbillington
9y ago
For income and wealth inequality to start trending back in the desirable direction once again.
74.
▲
by
cjbillington
9y ago
With ongoing discussion about the desire to remove the GIL from Python, I made this utility so that people can actually profile what proportion of the time the GIL is held in their code, because we shouldn't be arguing about making opt
75.
▲
Show HN: Profile usage of the GIL in CPython
(github.com)
2 points
by
cjbillington
9y ago
|
1 comments
76.
▲
by
cjbillington
9y ago
This seems like a good place to spruik something I made, a Python package for profiling how much the GIL is held: https://github.com/chrisjbillington/gil_load In my experience, the GIL is not held for nearly as high a
77.
▲
by
cjbillington
9y ago
This. Any part of my numerical code that is a bottleneck, is either already coming from scipy or numpy, or I'm going to write in Cython if possible. Rewriting in Cython is already the opimisation you would do before going to multithr