HN user

synparb

909 karma
Posts34
Comments71
View on HN
prefix.dev 1mo ago

Local-First and Portable CI

synparb
10pts8
charlesleifer.com 4mo ago

Slopification and Its Discontents

synparb
3pts0
prefix.dev 2y ago

Let's stop dependency hell: Launching Pixi

synparb
13pts0
jitpy.readthedocs.org 11y ago

Jitpy: embed PyPy inside CPython

synparb
4pts0
vagabond.github.io 12y ago

A week with Go

synparb
2pts0
blog.enthought.com 13y ago

Enthought awarded $1M DOE grant to develop open-source Python HPC framework

synparb
1pts1
gregoryszorc.com 13y ago

Thoughts on Mercurial (and Git)

synparb
2pts0
enthought.com 13y ago

Enthought Canopy - Comprehensive Python analysis environment

synparb
11pts3
continuum.io 13y ago

Anaconda Python on the Raspberry Pi

synparb
1pts0
eli.thegreenplace.net 13y ago

Python FFI with ctypes and cffi

synparb
2pts0
www.authorea.com 13y ago

Authorea: Write research papers inside your browser

synparb
85pts70
continuum.io 13y ago

Python Packages and Environments with Conda

synparb
3pts0
www.michaeleisen.org 13y ago

How academia betrayed Aaron Swartz

synparb
9pts1
www.computer.org 13y ago

Caring for your Data

synparb
2pts0
jakevdp.github.com 13y ago

Minesweeper in Python's Matplotlib

synparb
2pts1
vimeo.com 13y ago

PyData 2012 talks: videos

synparb
4pts0
continuum.io 13y ago

Obama-Romney Facial Recognition

synparb
3pts0
blog.ianbicking.org 13y ago

Why doctest.js is better than Python’s doctest

synparb
11pts1
gist.io 13y ago

We Need an Open Economist

synparb
2pts0
technicaldiscovery.blogspot.com 13y ago

John Hunter 1968-2012: Reflections from Travis Oliphant

synparb
1pts0
blog.gittip.com 13y ago

With payouts, Gittip is minimally viable

synparb
14pts0
technicaldiscovery.blogspot.com 13y ago

Numba and LLVMPy

synparb
1pts1
jakevdp.github.com 13y ago

Cython memoryviews for fast and clean array access

synparb
1pts0
danfm.ca 13y ago

Intro to writing C-extension for Python

synparb
89pts7
pwang.wordpress.com 14y ago

Does the compiler know best? (PyPy, LLVM and Python)

synparb
2pts0
groups.google.com 14y ago

Julia, Python and Cython

synparb
107pts15
wesmckinney.com 14y ago

The need for an embedded array expression compiler for NumPy

synparb
2pts0
www.imatix.com 14y ago

Zeromq and the Crossroads fork

synparb
18pts0
unprotocols.org 14y ago

Good, Cheap, and Fast: Pedantic Code Construction Contract for OSS

synparb
2pts0
morepypy.blogspot.com 14y ago

PyPy funded to begin support for Python 3 and Numpy

synparb
178pts30

I'm also a long time conda user and have recently switched to pixi (https://pixi.sh/), which gives a very similar experience for conda packages (and uses uv under the hood if you want to mix dependencies from pypi). It's been great and also has a `pixi global` similar to `pipx`, etc the makes it easy to grab general tools like ripgrep, ruff etc and make them widely available, but still managed.

I use numba quite a bit at work and it's fantastic. I recently, however, did a comparison between numba, cython, pythran and rust (ndarray) for a toy problem, and it yielded some interesting results:

https://github.com/synapticarbors/ndarray_comparison/blob/ma...

Most surprising among them was how fast pythran was with little more effort than is required of numba (still required an aot compilation step with a setup.py, but minimal changes in the code). All of the usual caveats should be applied to a simple benchmark like this.

I'm actively looking for alternatives since I found this to be a super useful feature in terms of seeing the state of a repository and the relationship between active branches. I've seen https://gitup.co/, but it doesn't have a view that is organized by commit date.

2017 Rust Roadmap 10 years ago

First class multi-dimensional arrays with natural indexing syntax would be a huge draw. You get that in Numpy, Julia, Fortran and it is extremely powerful in terms of expressing the types of operations that are common across many scientific domains.

Conda is 100% free and open source, but is developed by Continuum, which is a company (but one that contributes heavily to many of the key components of the open-source pydata/scipy ecosystem, and whose CEO basically created numpy/scipy for the community at the expense of his academic career). Personally I have had nothing but good interactions with people from Continuum and the software they develop. They (as a company and as the individuals in it) do an incredible amount for the open source community and we all benefit from that. They seem to have worked out a sustainable model for running a company and working in/contributing to open source.

While I still think it a bit unfair, the exact quote is "...but to a first approximation, no one is using it". So I think (assuming fijal's numbers of 0.5-1% are roughly correct) it is not completely unreasonable to say that PyPy adoption is very limited to date, which was the point of what he was saying (although I think it could have been said more diplomatically).

I'll echo @dagw's comments. Cython has been rock solid for me for a long time and it is my go to for any sort of external c/c++ library interfacing. That said, I find myself using Numba more and more in the places that I can as Numba has gotten significantly better in the last 6 months or so. It's still not a complete replacement for cython (and I don't think it ever will or intends to be), but for hot spot numerical calculations it's really nice since it's much faster to test things out since it doesn't involve the boiler plate required by Cython, and doesn't require the (often slow) compilation times.

In Numba 0.21.0, on-disk caching of jit'd code was also introduced, which was one of the major sticking points for us to put Numba into production in areas where we needed faster start-up times. Before we could really only use Cython because we required the start-up times available only from AOT compilation.

That all said, Numba has been a bit buggy for me at times, although these get squashed pretty quickly. I've only found a single bug in Cython in all of the years I've been using it, and it's amazing how quickly Robert Bradshaw or Stefan Behnel respond and fix things considering Cython is not their full time job.

Could you point to a link about how to seamlessly plug Julia into the jvm? I haven't seen any documentation or examples.

I remember there being talk of eventually being able to call Julia from within Python. I've also been quite happy using Numba as an alternative to Cython for some things when I need speed. It's a lot more light-weight with less boilerplate, although still a little rough around the edges.

Another suggestion would be for Github to offer more generous academic accounts. Currently it looks like they offer free micro accounts (5 private repos) for students, but I think scientists would be more apt to use Github if they offered unlimited private repositories to any academic users. This would match Bitbuckets current academic offerings.

This has been my experience as well for "real world" tests, although I'm still excited about the project. I think once they get a graphical annotate in place akin to `cython -a`, this will help quite a bit in terms of figuring out what is going on.

I think Jake was pretty straight forward in saying in the post that he isn't a fortran expert and was looking for someone to offer up a better version if he was doing something non-optimal.

Not that Julia ever misrepresented/misused a language in a benchmark on its front page, say like calling pure python code numpy. . . . (http://web.archive.org/web/20120215054907/http://julialang.o...)

Also, thanks for sharing the Julia distance links. The explanation of how the speed-up is achieved is really useful:

https://groups.google.com/d/msg/julia-dev/hd1beLPrsVk/6n88H_...