DONT THREAD ON ME posted:trick question nothing we make matters ill put you down for "bump"
|
|
# ? May 26, 2019 23:22 |
|
|
# ? Mar 29, 2024 06:56 |
|
Skim Milk posted:alternatively,, truly the cyclocross bike of programming langs
|
# ? May 26, 2019 23:30 |
|
|
# ? May 27, 2019 02:19 |
|
|
# ? May 27, 2019 04:53 |
|
my coworker rewrote his horrorshow pile of Makefiles into a couple of python scripts so python is good... for now.
|
# ? May 27, 2019 04:57 |
|
Soricidus posted:you don't need mypy to benefit from type hints. the only good python ide, pycharm, has support for them built in Eh? It's just guessing unless you actually specify exactly why type is expected?
|
# ? May 27, 2019 13:50 |
|
which raspberry pi project is most YOSPOS LuckySevens fucked around with this message at 02:19 on Jun 5, 2019 |
# ? Jun 4, 2019 14:27 |
|
LuckySevens posted:which raspberry pi project is most YOSPOS I don’t see the hidden balls in the last pic. anyone able to circle them?
|
# ? Jun 4, 2019 18:11 |
|
LuckySevens posted:[img]https://imgur.com/XcwgXbK.jpg[/timg] Teabagg.r
|
# ? Jun 4, 2019 18:17 |
|
i know i said something positive about python previously in this post, but here is something negative. virtual environments: i use them, but the whole experience has been unsatisfying, much like reading my posts.
|
# ? Jun 5, 2019 08:40 |
|
Origin posted:i know i said something positive about python previously in this post, but here is something negative. virtual environments: i use them, but the whole experience has been unsatisfying, much like reading my posts. they are weird, having shared libraries is meant to mean you automatically get security updates/bug fixes etc when you upgrade, but it turns out that's a pain! So instead you end up with a more complex way of vendoring dependencies.
|
# ? Jun 5, 2019 09:38 |
|
pointsofdata posted:they are weird, having shared libraries is meant to mean you automatically get security updates/bug fixes etc when you upgrade, but it turns out that's a pain! So instead you end up with a more complex way of vendoring dependencies. not swapping out the version of a library your application is using out from underneath you is the entire point and pretty much every language + packaging system does it unless I’m misunderstanding you agreed that packaging + deploying python apps is a pain tho if you don’t use containers
|
# ? Jun 5, 2019 12:50 |
|
he means virtualenv has separate dependencies from site-packages or anything else reasonably controlled by the os package manager so now you have multiple copies of mystery libraries that will never get patched
|
# ? Jun 5, 2019 13:03 |
|
i am sorry, the correct answer was YOSVAPE
|
# ? Jun 5, 2019 15:18 |
|
automatically getting security updates only works if you have a way to distinguish security updates from feature updates that also randomly change all the apis in breaking ways and that does not exist for any plang, or indeed any widely used programming language at all, so yeah that really isn’t a thing in the real world except for some common c libraries that have been around forever and are also full of security bugs, like image parsing things or libxml or whatever
|
# ? Jun 5, 2019 18:39 |
|
robocod
|
# ? Jun 5, 2019 20:56 |
|
woah
|
# ? Jun 5, 2019 21:19 |
|
~Coxy posted:we have to deploy some python ML script to end users' computers and it's a fricken nightmare i'm far from an experienced software dev but so far it seems like deploying python without a container is a nightmare no matter what route i've tried to go down. i've tentatively found pex to be the closest to what i want: https://github.com/pantsbuild/pex rchon fucked around with this message at 23:00 on Jun 5, 2019 |
# ? Jun 5, 2019 22:57 |
|
rchon posted:i'm far from an experienced software dev but so far it seems like deploying python without a container is a nightmare no matter what route i've tried to go down. i've tentatively found pex to be the closest to what i want: https://github.com/pantsbuild/pex no Windows?
|
# ? Jun 6, 2019 02:28 |
|
using python on windows sounds even grosser than usual
|
# ? Jun 6, 2019 02:45 |
|
It is
|
# ? Jun 6, 2019 03:00 |
|
pipenv works fine on windows
|
# ? Jun 6, 2019 05:21 |
|
so does pycharm
|
# ? Jun 6, 2019 05:22 |
|
are we done with the bump this thread everytime the thread is bad thing did i miss it
|
# ? Jun 6, 2019 05:26 |
|
rchon posted:i'm far from an experienced software dev but so far it seems like deploying python without a container is a nightmare no matter what route i've tried to go down. i've tentatively found pex to be the closest to what i want: https://github.com/pantsbuild/pex Pex uses system python, which, it turns out, is always Python 2.6 on customer machines. I have hopes for appimage, despite never having been able to get it to work.
|
# ? Jun 7, 2019 13:15 |
|
Bloody posted:pipenv works fine on windows i found pipenv very painful on windows but that's true of all the venv managers so maybe it's still the best idk. All of them are dramatically less pleasant to use than dotnet cli tools
|
# ? Jun 7, 2019 13:38 |
|
python and perl (and probably other plangs) are loving insane to deploy who knew the windows hegemony would be maintained not by anything good but by how absolutely dire the alternatives are
|
# ? Jun 7, 2019 14:06 |
|
pointsofdata posted:i found pipenv very painful on windows but that's true of all the venv managers so maybe it's still the best idk. All of them are dramatically less pleasant to use than dotnet cli tools what did you do wrong? like i despise python and hated all of the tools in the ecosystem until pipenv and pipenv has been basically fine. its not quite as pleasant as cargo but it works nearly the same way from a ui perspective
|
# ? Jun 7, 2019 16:21 |
|
Bloody posted:what did you do wrong? like i despise python and hated all of the tools in the ecosystem until pipenv and pipenv has been basically fine. its not quite as pleasant as cargo but it works nearly the same way from a ui perspective idk it was a while ago. I remember it breaking a lot when you upgraded pip pipenv and if you wanted to publish your code as a library it was just like "welp you're on your own now". Most dependency management things are fairly transparent between package and application dependencies.
|
# ? Jun 7, 2019 18:59 |
|
python suits my needs quite well op but I have also started doing some of the same things in r and I am finding it preferable for some tasks now
|
# ? Jun 7, 2019 19:52 |
|
I hope everyone enjoyed this well thought out and reasoned post from a basic data scrub
|
# ? Jun 7, 2019 19:53 |
|
r huh
|
# ? Jun 7, 2019 22:01 |
R is good, but I don't like that you can include "." in variable names. It has better stats tools than Python if that's what you're doing, and R/shiny is also nicer for making dashboards than plotly dash or bokeh.
|
|
# ? Jun 8, 2019 00:34 |
|
i tried to learn R because one of my bros is using it in gradschool but i got to the part about the "formula" object and it broke my brain and i couldn't go on
|
# ? Jun 8, 2019 00:52 |
|
pointsofdata posted:i found pipenv very painful
|
# ? Jun 8, 2019 04:12 |
|
despite the claims of the op, python is, in fact, bad.
|
# ? Jun 8, 2019 04:15 |
|
pipenv is good for one thing: deploying a python script application, where - application means it will never be used as a component in anything else - script means its not important or incredibly unsuitable to being deployed in any kind of user friendly way and instead you'll install it with a shell script or make file or something used as a library? too bad, pipfiles and pipfile locks are not really composable and can't be used easily to source the install_requires stuff that pypi and python wheels use as dependency info actually a user facing application? if you're not a moron you're actually building an exe (or .app, or appimage, or or or or or ) that can be installed as a cohesive whole it's a particular tool only used for developers writing tools for developers, and i mean tools not libraries. also it's insanely slow and dependency resolution can fail
|
# ? Jun 8, 2019 04:18 |
|
Phobeste posted:also it's insanely slow and dependency resolution can fail at work (where our internet connections are awful), pipenv is basically unusable for this reason. i'm pretty sure i remember seeing it download windows/macos wheels while finding dependencies when running on a linux machine (???); even for small projects, a simple sync operation never finishes in an acceptable amount of time. the dependency resolver seems like it errors out with dumb/obvious mistakes as well. nevermind the whole "it's designed only for applications" thing. poetry seemed a little better with respect to all this stuff.
|
# ? Jun 8, 2019 20:12 |
|
hah, i had no idea pipenv was So Bad, i'm a ruby person and figured it might be the least-lovely bundler-alike but lol
|
# ? Jun 8, 2019 20:30 |
|
|
# ? Mar 29, 2024 06:56 |
|
I've never written python but it sounds bad. how do you know if your code is wrong with no compiler?
|
# ? Jun 9, 2019 04:48 |