News for hackers. Stuff that matters.
Re:IPython 8.0 by carreau on Wednesday January 12, 2022 @10:53AM (#29908117)
And I'm in the comments if you have any questions/feedback.
Re:IPython 8.0 by caddybox on Wednesday January 12, 2022 @11:04AM (#29908329)
Just wanted to say Thanks for this amazing project! IlBeen using it for years now and for simple debugging and peeking into data files, nothing beats IPython in convenience!
Re:IPython 8.0 by carreau on Wednesday January 12, 2022 @11:09AM (#29908431)
Thanks ! I invite you to also read the 7.x what's new as well. The debugger got a few improvements sponsored by D.E Shaw group (hiding and skipping frames for example). Hope to have you contribute some code at some point, if not already.
Re:IPython 8.0 by pm90 on Wednesday January 12, 2022 @01:07PM (#29910595)
I'm going to break the HN rule of comments not having meaningful content just to say: thanks for this work. IPython was what I used when I started programming for "fun"; its so easy and helpful for beginners. I'm glad to see its still actively developed and has expanded in scope so much (initially it was mostly used by the academic community before expanding into data science).
Re:IPython 8.0 by carreau on Wednesday January 12, 2022 @01:13PM (#29910672)
Thanks, fun fact, IPython is one of the first project as started to contribute to when doing my PhD and one of my first "serious" python programs.

See my first PR https://github.com/ipython/ipython/pull/776.

GitHub lost some of the original (non-rebased) commits, but I had semicolon at the ends of the lines.

And yes I stayed because it was "Fun". Hope to see more contributions !

Re:IPython 8.0 by anentropic on Wednesday January 12, 2022 @12:05PM (#29909521)
Great write up!

A small typo here (in the companion blog post https://labs.quansight.org/blog/2022/01/ipython-8.0-lessons-...) I think:

> Python has multiline strings with triple backticks

I think this should say "quote marks" instead of "backticks" since backticks are a different char, Python strings use single- or double-quote char, and three of them delimits a multiline string.

Re:IPython 8.0 by carreau on Wednesday January 12, 2022 @12:13PM (#29909674)
Thanks ! And indeed, fixed on the repo, should autodeploy in a few minutes.
Re:IPython 8.0 by lenzm on Wednesday January 12, 2022 @11:35AM (#29908979)
Thanks, this is one of the tools that makes the Python experience so usable.
Re:IPython 8.0 by carreau on Wednesday January 12, 2022 @11:36AM (#29908994)
Happy to help
Re:IPython 8.0 by bulibuta on Wednesday January 12, 2022 @11:33AM (#29908932)
Thank you very much for your efforts! I haven't seen this mentioned in the release notes, but does this fix the remaining automatic module reload issues? Do I still have to restart IPython whenever I modify a module?
Re:IPython 8.0 by carreau on Wednesday January 12, 2022 @11:35AM (#29908984)
There is the %autoreload magic but it is limited, it will often fail to reload compiled modules like numpy. So there is not a single answer, sometime it works, other times it does not.
Re:IPython 8.0 by bulibuta on Wednesday January 12, 2022 @11:38AM (#29909041)
Exactly! So I end up always restarting to be sure that I don't waste time chasing already-fixed-bugs.
Re:IPython 8.0 by carreau on Wednesday January 12, 2022 @11:54AM (#29909336)
May I suggest to look at https://eradman.com/entrproject/ ? It's like watch but triggers only when it detect file changes.
Re:IPython 8.0 by eirki on Wednesday January 12, 2022 @12:50PM (#29910331)
Also chiming in to say thanks for the good work! This looks like an amazing release - I practically jumped in excitement when I saw the fish style autocomplete.
Re:IPython 8.0 by carreau on Wednesday January 12, 2022 @12:53PM (#29910370)
Thanks, it's a late Christmas present if you celebrate it. Or any other relevant occasions.
Re:IPython 8.0 by kzrdude on Wednesday January 12, 2022 @11:02AM (#29908302)
Thanks for fixing :)
Re:IPython 8.0 by carreau on Wednesday January 12, 2022 @11:11AM (#29908463)
Fixed. That what I get by doing N things at the same time. Sorry about that, you can downvote me.
Re:IPython 8.0 by kzrdude on Wednesday January 12, 2022 @11:28AM (#29908815)
Thanks for this important work on jupyter! I edited my comment to keep focus on the topic.
Re:IPython 8.0 by carreau on Wednesday January 12, 2022 @11:56AM (#29909372)
NP, thank you for pointing out my mistake. It's a good feeling to see HN being nice.
Re:IPython 8.0 by kzrdude on Wednesday January 12, 2022 @12:50PM (#29910322)
Nice that I'm contributing to a nicer HN. I'm not Mr HN though, so maybe you got the wrong person? :)
Re:IPython 8.0 by tomrod on Wednesday January 12, 2022 @11:02AM (#29908290)
Kudos!
Re:IPython 8.0 by carreau on Wednesday January 12, 2022 @11:15AM (#29908548)
Thanks ! Hope you will enjoy.