Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mattip
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
mattip
8y ago
You can never prevent the GC cycle in CPython at the end of a block (context). You can only prevent the GC that tries to break reference cycles. If your class does crazy things at destruction, like "time.sleep(10)", and you create
122.
▲
by
mattip
8y ago
Refcounting comes with its own in-thread gc pauses whenever you exit a block or context and the local variables are collected.
123.
▲
by
mattip
8y ago
I like the interactivity of the news story. It increases enfagement and encourages real thought.
124.
▲
by
mattip
8y ago
You can use spyder, and execute chunks of code in a file by delinieating them with #%%. This gives you something like cells but in a single python file with no json format.
125.
▲
Funding for 64-bit Armv8-a support in PyPy
(morepypy.blogspot.com)
3 points
by
mattip
8y ago
|
0 comments
126.
▲
by
mattip
8y ago
While I like the intention of “write once use anywhere”, converting code from python, r, julia to c++ is not an easy task. I would like to see more tracing JITs that could capture the essence of the operations, store the result, and somehow
127.
▲
by
mattip
8y ago
maps.me works pretty well, they use open street map data augmented with ad based reccomendations. You download maps so you don’t need wifi to navigate. Best for walking or biking directions, getting better for driving
128.
▲
by
mattip
8y ago
There is cppyy, which is cffi for c++. Boost python is not being maintained, in the cpython world pybind11 is more popular but cppyy is pypy freindly
129.
▲
by
mattip
8y ago
Better to use cffi instead, it will be much more performant on PyPy
130.
▲
by
mattip
8y ago
Would be nice if funding comes through to make c extensions fast on PyPy, then we could try out many what if scenarios descibed in other comments: What if we wrote that in pure python instead? What if we moved the computation to a GPU c ext
131.
▲
Inside cpyext: Why emulating CPython C API is so Hard
(morepypy.blogspot.com)
173 points
by
mattip
8y ago
|
39 comments
132.
▲
by
mattip
8y ago
The second article on the front page right now with war in the title, why can’t this be an analysis instead?
133.
▲
by
mattip
8y ago
I appreciate the intensity and urgency of this attempt, but surely there is a way to frame the work without resorting to militaristic metaphors. Surely there are other forms of expressing an effort than “the war on ...”?
134.
▲
Beyond Interactive: Notebook Innovation at Netflix
(medium.com)
5 points
by
mattip
8y ago
|
0 comments
135.
▲
by
mattip
8y ago
Virus and malware checks could be slowing things down
136.
▲
by
mattip
8y ago
He was the planner for the village I live in [0]. Did a great job in the early 80’s laying out the patterns to encourage the village to become a community, the concept of clusters of houses is a great way to build units of cohesiveness. [0]
137.
▲
by
mattip
8y ago
Kudos to the foundation sponsoring this work, and to the companies that quietly let their employees contribute on company time.
138.
▲
by
mattip
8y ago
Dask is another choice for distributed out-of-memory data structures but still within the python ecosystem
139.
▲
by
mattip
8y ago
How do I provide end users the ability to swap out LGPL3 shared objects (as required by the license) on an embedded platform with no access, or inside a py2exe bundle?
140.
▲
Improving SyntaxError in PyPy
(morepypy.blogspot.com)
92 points
by
mattip
9y ago
|
20 comments
141.
▲
by
mattip
9y ago
Note any such code would be covered by the GPL. This is why so many people use the cli - by using pipes or sockets your code ( as far as I can determine, you should get real legal advice) can be released under a different license
142.
▲
by
mattip
9y ago
Large companies are great at running large data processing apps. They have whole IT teams to do that. Many SAAS products are very different from food delivery, they want to access your kitchen and see all the raw ingredients going into your
143.
▲
by
mattip
9y ago
Their “3d histogram” is a 4d image
144.
▲
by
mattip
9y ago
please let the team know how it goes. PyPy windows needs more feedback and contributors
145.
▲
by
mattip
9y ago
The repo is missing a LICENSE file, and the links to the data should also specify their redistribution policy / license. Why is this not standard practice when creating a repo these days?
146.
▲
by
mattip
9y ago
Their technique is specific for their set of includes. It would be great if there was a general way to do the macro expansion in a need-to-know eay that could then be a basis for interop tools such as SWIG or python cffi
147.
▲
by
mattip
9y ago
You are describing cffi http://cffi.readthedocs.io/en/latest
148.
▲
by
mattip
9y ago
As you point out there are still a few failing tests. The The number of failing tests on both is very low but not zero. The PyPy team has had good collaboration with Pandas and NumPy, but there are some deeper issues with these packages de
149.
▲
by
mattip
9y ago
If you have for loops there are opportunities for the JIT to speed them up. It very much depends how close those loops are to pure python, if they are than PyPy should be able to help. Many code constructs do look like large for loops. The
150.
▲
by
mattip
9y ago
The original title emphasises that NumPy and Pandas now are functional on PyPy. The PyPy JIT cannot look inside C code, and crossing the python-c interface is slow, but give it a chance and you may be pleasantly surprised how fast your pure
More ›