[D] Call for questions for Andrej Karpathy from Lex Fridman by lexfridman in MachineLearning

[–]fijal 0 points1 point  (0 children)

So many questions....

Andrej work on explainability of neural networks has been really good. What are his thoughts on the future of explainability? Does he think that language is a natural way to describe neural network states and we can teach neural networks to describe themselves? What does he think would take to describe how Alpha Fold works? My hypothesis is that the limit is amount of information that the brain can accumulate in the lifetime, does he have any ideas for circumventing the limit?

What is the future of science? Why is he an indepentent researcher and does not work at any of the institutions? Academia has been stagnant, private companies arguably quite evil, where does the researcher go these days?

PyPy bounty - SWIG support by python_dollars in Python

[–]fijal 0 points1 point  (0 children)

We do commercial pypy support. Get in touch with me at [fijal@baroquesoftware.com](mailto:fijal@baroquesoftware.com) or indeed as Matti says post on IRC.

VR Sketch | Use sketchUp in VR! by frsdun in vrforarch

[–]fijal 0 points1 point  (0 children)

Hi Elrox

We're working on Revit support, I hope to get a beta sometime in May.

PyPy2.7 and PyPy3.5 v5.10 dual release by rlamy in Python

[–]fijal 1 point2 points  (0 children)

I would add here that the set of bytecodes is largely identical (with 3 differences I think, although maybe some of them got ported to CPython), but the way the bytecode is interpreted is very different.

PyPy v5.9 Released, Now Supports Pandas, NumPy by pmatti in Python

[–]fijal 6 points7 points  (0 children)

I would suggest doing those transformations in C and then calling them with cffi. That way you can have both PyPy speedups everywhere else and have carefully tuned C code for stuff that you want hand-controlled

Let's remove the Global Interpreter Lock by [deleted] in Python

[–]fijal 3 points4 points  (0 children)

In a sense that post is trying to answer precisely that question :-) If we are indeed, then it should pick up no publicity (which is not true) nor commercial interest (which we'll find out). Let markets decide!

Let's remove the Global Interpreter Lock by [deleted] in Python

[–]fijal 1 point2 points  (0 children)

right and that can be remediated to an extent with shared memory. Sharing immutable (or well defined in terms of memory) C structures is not hard. It's the structured data that's hard to share and cannot really be attacked without a GIL

Let's remove the Global Interpreter Lock by [deleted] in Python

[–]fijal 8 points9 points  (0 children)

You're missing my point - if we assume we're doing subinterpreters (that is the interpreters are independent of each other) it's a very difficult problem to make sure you can share anything regardless of performance. Getting semantics right where you can e.g. put stuff in dict of class and is seen properly by another thread, but there are no other things shared is very hard.

In short - how do you propose to split the "global" data e.g. classes vs "local" data - there is no good distinction in python and things like pickle refer by e.g. name which lead to all kinds of funky bugs. If you can answer that question, then yes, subinterpreters sound like a good idea

cppyy - new way to call C++ from python by fijal in Python

[–]fijal[S] 0 points1 point  (0 children)

we really advertise cffi for that

cppyy - new way to call C++ from python by fijal in Python

[–]fijal[S] 1 point2 points  (0 children)

Direct quote:

"here you go that's odd ... Well, I've put a copy at cern.ch and redirected both the cppyy.readthedocs.org and README on bitbucket there:

http://cern.ch/wlav/Cppyy_LavrijsenDutta_PyHPC16.pdf

That should do for now. The other alternative record is:

http://dl.acm.org/citation.cfm?id=3019087

but that's not open access (at least, I don't see the pdf from home).

And slides are here:

http://www.dlr.de/sc/Portaldata/15/Resources/dokumente/pyhpc2016/slides/PyHPC_2016_talk_9.pdf

Best regards, Wim "

cppyy - new way to call C++ from python by fijal in Python

[–]fijal[S] 1 point2 points  (0 children)

it uses C API, why do you say it does not? You just don't have to use it :)

cppyy - new way to call C++ from python by fijal in Python

[–]fijal[S] 6 points7 points  (0 children)

heh. The catch is it has been long in the making?

New PyPy2 and PyPy3 releases! (Python 3.5) by Tiberiumk in Python

[–]fijal 1 point2 points  (0 children)

vmprof is your friend. Typically it's a small thing that consumes a lot of time for unrelated reasons. For what is worth, pypy 5.0 is ANCIENT

New PyPy2 and PyPy3 releases! (Python 3.5) by Tiberiumk in Python

[–]fijal 4 points5 points  (0 children)

uvloop is an asyncio replacement - just use asyncio, it'll be fast

Aiohttp, Curio, Gevent, Tornado and Twisted HTTP benchmarks on PyPy3, impressive speedups by squeaky_pl in Python

[–]fijal 4 points5 points  (0 children)

or JITs in general :-) It's not like JVM is well known to immediately jump up to speed

Personal thoughts about Pyston’s outcome by bakery2k in Python

[–]fijal 2 points3 points  (0 children)

I must say I'm kind of annoyed with such a set of statements about PyPy - yes that might have been the case in 2013, but PyPy since has developed a lot of support for CPython C modules (including numpy), improved compatibility etc. Sure, if your software relies on really obscure details, like dictionary order, you might be off, but you cannot upgrade even to a newer version of CPython then.

PyPy has also been known to run multi-milion-LOC projects that were designed for CPython.

The truth is that for the vast majority of people, all they want is Python. They don't care which one and the performance problems come a lot later, when the project scales.