News for hackers. Stuff that matters.

mariokostelac

Re:Swift for TensorFlow Shuts Down on Saturday February 13, 2021 @05:57AM (#26122851)
It is unclear to me whether it's archived because they've done everything they wanted or they just stopped all the efforts?
It's pretty refreshing that people have courage and start ambitious projects like this one :).

I hope projects like this get some traction and prove that we can move higher level than where we are atm with the frontend/frontend-backend code.

Re:Overview of Python dependency management tools on Monday June 01, 2020 @04:28PM (#23383379)
Thanks a lot for the reply. I'll include it some time soon in the article update
Re:Overview of Python dependency management tools on Monday June 01, 2020 @04:07PM (#23383114)
Thank you :)
Re:Overview of Python dependency management tools on Monday June 01, 2020 @04:04PM (#23383079)
It's just about backward compatibility. If you don't run the exact version of python that's running in production, how do you know that you're not using some method that does not exist in production yet (because you run older version there)?

Also, libraries with binary component often have to be compiled against specific version of python.

Re:Overview of Python dependency management tools on Monday June 01, 2020 @03:58PM (#23383007)
Docker is definitely an interesting tool for that, but my biggest problems is that I have to teach them Docker, which is a totally new layer of abstraction they haven't seen before.

How do you approach this? How technical are people you prepare Docker images for?

Re:Overview of Python dependency management tools on Monday June 01, 2020 @03:52PM (#23382939)
Does it pin versions of 2nd degree dependencies too? Like pip freeze would do? Also, when you remove a package, does it know to clear packages that were its deps and are not needed anymore?
Re:Overview of Python dependency management tools on Monday June 01, 2020 @03:48PM (#23382906)
Thanks for mentioning it! How would you compare it to the other tools from the original post?
Re:Overview of Python dependency management tools on Monday June 01, 2020 @03:44PM (#23382855)
I think this is not a problem specific to python packages, but a general problem of how we compile C/C++ software. There is no concept of packages and compiling one thing often requires installing a -dev package of some other library.

The issue is that lack of packaging C/C++ world spreads to all other communities that depend on them.

Re:Overview of Python dependency management tools on Monday June 01, 2020 @03:20PM (#23382549)
Hey xapata, thanks for pointing this out.

Any chance you could give me some reference so I can fix it in the original article?

Re:Overview of Python dependency management tools on Monday June 01, 2020 @03:16PM (#23382505)
I think that works when you use Python cli tools, but not when you're working on 5 different projects, each running different python version.
Re:Overview of Python dependency management tools on Monday June 01, 2020 @03:15PM (#23382486)
How come other tools don't just replicate successful models?
Re:Overview of Python dependency management tools on Monday June 01, 2020 @12:50PM (#23380592)
Unless you're in data science. Then you'll be split between conda and pip, which is worse than npm and yarn. You can always swap npm and yarn, but can't do that with conda and pip.
Re:Overview of Python dependency management tools on Monday June 01, 2020 @12:40PM (#23380454)
That's very true. Starting fresh definitely helps.

I would not say JS solved it, but yarn (and even npm these days) seem to be superior to all python dependency management tools before pipenv. None of them had a proper lockfile, for example.

Re:Overview of Python dependency management tools on Monday June 01, 2020 @12:30PM (#23380345)
I agree with you that Docker should not be there, but the reality is that people us it to replace some other tools (like venv).

I wonder why you prefer the former approach.

Re:Overview of Python dependency management tools on Monday June 01, 2020 @12:14PM (#23380114)
It's 2020, but the python community still has not converged to a small set of sane solutions.

It seems to me that Ruby, PHP, JS, and Rust communities have solved the problem.

Re:The “Run Less Software” philosophy on Monday March 26, 2018 @06:00AM (#16677784)
No, not yet :)
Re:The “Run Less Software” philosophy on Monday March 26, 2018 @02:33AM (#16677059)
No :). Started with Postgres long time ago, switched to MySQL. Added MongoDB into the mix. Removing MongoDB from the mix.
Re:Ask HN: Recommendations for a book on Distributed Systems? on Tuesday January 03, 2017 @01:24PM (#13311516)
This is definitely a must read. A very systematic approach of explaining different concepts with real examples, problems each solution brings and tradeoffs we do by choosing approach A vs approach B. Not sure if I can recommend any technical book more than this one!
Re:Google's Blockly Games on Friday August 22, 2014 @04:11AM (#8211282)
This application is temporarily over its serving quota. Please try again later. :)