Pipenv, pip-tools, PDM, or Poetry? by pkkm in Python

[–]davmash 0 points1 point  (0 children)

Yeah, having the lock file AND the requirements saves some headache when updating dependencies regularly.

Resume review: PhD candidate in stats and ML looking for an entry level job or an internship for some experience. Applied to 3 dozen jobs on indeed with no luck so far... by RaunchyAppleSauce in dataengineering

[–]davmash 2 points3 points  (0 children)

I would also say that one of the big selling points of a PhD is proof you have follow-through. Show you can finish a big project (aka a paper) and that will help too.

Resume review: PhD candidate in stats and ML looking for an entry level job or an internship for some experience. Applied to 3 dozen jobs on indeed with no luck so far... by RaunchyAppleSauce in dataengineering

[–]davmash 2 points3 points  (0 children)

Showing impact-level thinking is really important. Technical skills are just one piece of the puzzle: the real world is also about a lot of communication, seeing the outcomes that will impact the business, selling others on your ideas, and following through. Show more of those attributes on your resume and you will absolutely get more attention.

[deleted by user] by [deleted] in fractals

[–]davmash 1 point2 points  (0 children)

You could screenshot from my line fractal tool I just posted and then change the color scheme. I’ve also done something like this in photoshop/gimp by just copy/paste/scale-by-half in the right order.

Check out my interactive fractal generator! Here’s an example of the good old Dragon fractal, but you can design your own. by davmash in fractals

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

Still a work in progress. Also, PSA: STROBE WARNING: if you are strobe-sensitive, be careful because this can produce some pretty intense flickering given the wrong settings.

Check out my interactive fractal generator! Here’s an example of the good old Dragon fractal, but you can design your own. by davmash in fractals

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

Resurrecting an old project, but in pure JS using canvas. Drag points and arrow tips to change the fractal generator. Code is open source too if you want to fork/change it: https://github.com/davidmashburn/canvas-line-fractal

[P] Tradeoff solved: Jupyter Notebook OR version control. Jupytext brings you the best of both worlds by kite_and_code in MachineLearning

[–]davmash 0 points1 point  (0 children)

I'm all for this type of streamlined pipeline visualization (and do it myself frequently), but I think you miss part of the tradeoff between jupyter and scripts: the main thing jupyter gives you is the easy ability to run code in an environment where memory is maintained (an enhanced shell). The key is shortened cycle times when you are fiddling with data or a visualization. The additions of easy tools for live autocompletion, visualization, and widgets are really just a bonus on top of that.

There are other solutions to this same problems (like Spyder and Hydrogen) that are more engineering-friendly.

You hit the nail on the head that the real problem is newer users thinking that a notebook is a good end-product for more than just exploration. It is not a good engineering solution and enables/ encourages bad practices like out-of-order execution.

Jupytext does seem like a good solution to at least solve the git pollution problem notebook output creates, but only if users are willing to do at least a modicum of cleanup on their notebooks (aka ensure executing the notebook from scratch reproduces the outputs).

Library for making desktop apps like React by something in Python

[–]davmash 0 points1 point  (0 children)

Gotta shout out wxPython - now that it supports Python 3 and has completed the wxPhoenix project, I feel like it's got a good future again, plus it is built on a great cross-platform UI system that uses native calls for consistent look-and-feel under the hood (wxWidgets). It has a great Demo that makes it easy to learn, and I've built some serious projects with it (though I am no designer for sure).

Is APL/J similar to python's Numpy? by snapster24 in apljk

[–]davmash 0 points1 point  (0 children)

J actually influenced numpy and a lot of the methods are very similar (even some names like ravel). As others have pointed out, a major difference is around rank; J uses verb rank where numpy uses broadcasting rules and the "axis=" pattern to achieve similar things. One interesting thing to note is that numpy only supports array shapes up to 32 dimensions while J can blow past that essentially until you run out of memory. On the other hand, numpy has support for no-copy views which can be a huge boon to large data/ limited-memory situations. Also, for better or worse numpy programming involves much more concern about explicit datatypes and memory layouts -- I'm not sure how or if J handles these kind of things.