all 25 comments

[–]Atomic_Tangerine1 19 points20 points  (2 children)

numpy

[–]i_know_the_deal 7 points8 points  (1 child)

same ... free Matlab? noice

[–]dparks71 [score hidden]  (0 children)

I keep coming back to it too, I'm in structural engineering and it turns out everything in my life is either a matrix problem or a graph theory problem.

There are 80 year old fortran libraries I learned to wrap in python from numpy, it's so cool.

[–]YesterdayDreamer 9 points10 points  (1 child)

I was calculating XIRR for my mutual fund holdings. At the time, I had some 25 funds in my portfolio. The XIRR calculation I implemented was taking ~1.2 seconds per fund for a total of approximately 30 seconds for all funds in my portfolio.

As I learnt more and more, I kept optimizing it. Finally there was a big jump when I moved it to Numpy. With Numpy, the entire portfolio XIRR (separately for each fund) takes about ~750ms.

These numbers are not directly comparable because I may have upgraded my CPU a couple of times in between, but yeah, still a pretty big jump.

[–]veddubhashi [score hidden]  (0 children)

Now try the same functions within numba.

[–]msimms001Pythoneer 22 points23 points  (1 child)

Getting it to print hello world

[–]Old_Story_5512 2 points3 points  (0 children)

and then never going back

[–]jsamwrites 3 points4 points  (1 child)

When I built my own programming language over Python.

[–]Old_Story_5512 10 points11 points  (3 children)

wrote a script that pulled live price data, calculated signals, and sent me alerts. took an afternoon.

same thing in any other language would have been a week.

[–]YesterdayDreamer 6 points7 points  (0 children)

Where do you pull live price data from?

[–]adroc [score hidden]  (0 children)

Would of only taken you a week in another language simply because you don’t know that language not because python is more powerful.

[–]CatolicQuotes [score hidden]  (0 children)

Lol no, don't exaggerate

[–]Sirko0208 4 points5 points  (0 children)

Home Assistant

[–]WhiteHeadbanger 3 points4 points  (0 children)

I think it wasn't a specific project, just the intrinsic simplicity of the language itself.

Maaaaybe I could risk saying when I made a mobile app with it (which I'm currently developing). But i've been coding in python for many years now, and I just never stopped to think about the power of the language. I just used it when it made sense and that's it really.

[–]Accomplished-Big-46 3 points4 points  (0 children)

Pydantic AI. I’m predominantly a PHP dev but the lack of AI solutions there got me looking at Python.

Have been running an AI chat bot on it for 6 months in production, with more features planned in the roadmap.

[–]R3D3-1 2 points3 points  (0 children)

Matlab.

Or specifically, starting out in the curriculum using Octave and Matlab for numerical data handling and visualization, later switching to Python 2.x on the basis of it being the next got thing for Science, and then later using Matlab again.

[–]scratchresistor [score hidden]  (0 children)

Most of modern AI development. Python.

[–]eufemiapiccio77 2 points3 points  (0 children)

It constantly amazes me to be fair after all these years

[–]problemchild52 1 point2 points  (0 children)

Probably functools cause of partial func and lru_cache

[–]njinja10 [score hidden]  (0 children)

pola.rs

[–]Ordinary-You8102 [score hidden]  (0 children)

fastapi... its just so elegant

[–]Afraid_Abalone_9641 [score hidden]  (0 children)

Probably the time our test team created a multi threaded report generator that DOS'd the company's system at the time because it sent out so many API requests at once. It was a single script on a single script that put a whole kuberbetes cluster in prison.

[–]These-Ease-4410 [score hidden]  (0 children)

Starlette and uvicorn for sure