Better HN
topnewbestaskshowjobs
Log inSign up

autograd

100 karma · joined Jan 9, 2014 (12y ago) · 26 submissions

Submissions

comment 4y ago · link · parent

It's easy to "trivially know" because it's really expensive to disprove the statement, so you continue believing in your original one.

I am not in game development, but was recently looking in some deep learning networks. A lot of compute, bazillion layers of abstractions (erm python), but at the end of the day, 98% of the time was really spent calculating the matmul. I had luck that it was easy to check it and estimate the abstraction cost (not into great detail), and disprove my original thought.

Had i not checked it, I'd still trivially know that far more perf loss happened because of abstractions.

comment 5y ago · link · parent

It is unclear to me whether it's archived because they've done everything they wanted or they just stopped all the efforts?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Thanks a lot for the reply. I'll include it some time soon in the article update

comment 6y ago · link · parent

Thank you :)

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

Thanks for mentioning it! How would you compare it to the other tools from the original post?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Hey xapata, thanks for pointing this out.

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

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

How come other tools don't just replicate successful models?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

18.

Overview of Python dependency management tools(modelpredict.com ↗)

210 points · by autograd · 6y ago · 178 comments

19.

DS: Start structuring your code like a software engineer(modelpredict.com ↗)

4 points · by mariokostelac · 6y ago · discuss

comment 8y ago · link · parent

No, not yet :)

comment 8y ago · link · parent

No :). Started with Postgres long time ago, switched to MySQL. Added MongoDB into the mix. Removing MongoDB from the mix.

22.

How we test 200k lines Ember application in less than 10 minutes. Again!(medium.com ↗)

2 points · by mariokostelac · 9y ago · discuss

comment 9y ago · link · parent

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!

24.

Mitigate your MongoDB being down because of #dynect(twitter.com ↗)

1 points · by mariokostelac · 10y ago · discuss

comment 12y ago · link · parent

This application is temporarily over its serving quota. Please try again later. :)

26.

BitTorrent Sync is out(bittorrent.com ↗)

2 points · by mariokostelac · 12y ago · discuss