|
where does conda fit in that
|
# ? May 12, 2021 22:36 |
|
|
# ? Apr 26, 2024 13:27 |
|
The Fool posted:where does conda fit in that Mine don't want none.
|
# ? May 12, 2021 22:37 |
|
conda is basically both put together but iirc its mostly for data science doers because it has nice packages for installing bullshit-dependency-chain scientific libraries i think often people actually still pip install poo poo inside a "conda environment", they just use conda to install whatever specific bundle of binary dependencies are required for the specific version of python matplotlib works with this specific helper wrapper for autogenerating d3.js visualizations from that specific version of scipy and also it includes a compiled version of some nvidia thing that lets numpy use your gpu or whatever. i dont actually use any of that poo poo but i worked at a consulting firm for a log time where everyone did
|
# ? May 12, 2021 22:43 |
|
12 rats tied together posted:conda is basically both put together but iirc its mostly for data science doers because it has nice packages for installing bullshit-dependency-chain scientific libraries yes this is correct an average pip package wont run into crazy fortran dependency hell
|
# ? May 12, 2021 22:53 |
|
conda has a much more consistent dependency resolver than pip does (did?) and makes commandline awareness of your env easier but thats it, i dont know if its deterministic
|
# ? May 12, 2021 22:55 |
|
my buddys first job out of school was at conda and she had to file a sexual harassment lawsuit at the end of it, apparently
|
# ? May 12, 2021 22:59 |
|
i definitely always use pipenv for work stuff and manage python itself through asdf, all of which works correctly and reliably that said, maybe my brain is broken by having been a ruby person, but god i hate python and its meaningful whitespace and also wtf is with needing to pass __self__ around everywhere, i mean shut up
|
# ? May 12, 2021 23:03 |
|
i simply write a series of functions that pass around data and maintain no state besides that data op
|
# ? May 12, 2021 23:08 |
|
12 rats tied together posted:venv is for package isolation, pyenv is for version isolation, fortunately pyenv-virtualenv exists so you can do both I love that Python TMTOWTDI ethic.
|
# ? May 12, 2021 23:47 |
|
Python is a great language except for anything having to do with packaging and deployment. also cpython is slower than frozen molasses and nothing you care about runs on any of the alternative interpreters
|
# ? May 12, 2021 23:59 |
|
hbag posted:why the gently caress did nobody tell me about pyenv sooner If you want the single tool, plugin-for-different languages version: https://asdf-vm.com/ I'm not sure I want to switch over to this, as I only use multiple python versions right now... E: Dang... beat
|
# ? May 13, 2021 00:39 |
|
asdf is amazing i use it for a ton of poo poo and also it's super easy to write your own plugins for it. it's just sane as hell and it's like the only software i actively evangelize (other than openwrt which shows my brainworms)
|
# ? May 13, 2021 01:12 |
|
dang how have i never heard of asdf before
|
# ? May 13, 2021 04:04 |
|
pyenv is the next best thing to not using python that i have found
|
# ? May 13, 2021 07:16 |
|
asdf looks real nifty. I try to use various ecosystems' tools but they all have different names and there's usually 2-6 different options and I forget everything when I only use go/node/python/ruby like twice a year. some consistency would help a ton
|
# ? May 13, 2021 07:30 |
|
Carthag Tuek posted:ya know when you write a bunch of semi-complicated code + unit tests and everything just works? every time this has happened to me there is some tiny corner case that is broken in a very weird way and i don't find out until 8 weeks later when I have entirely forgotten everything about the code
|
# ? May 13, 2021 10:46 |
|
Share Bear posted:i simply write a series of functions that pass around data and maintain no state besides that data op this guy gets it
|
# ? May 14, 2021 00:28 |
|
I also write functions
|
# ? May 14, 2021 00:38 |
|
psiox posted:wtf is with needing to pass __self__ around everywhere, i mean shut up python was designed for functions being the preferred abstraction units, not classes so yeah, when in pythonland you should lean towards functions also because OOP is a sham and you should grow out of it
|
# ? May 14, 2021 00:44 |
|
OOP more like POO
|
# ? May 14, 2021 00:45 |
|
am i going loving crazy here? there isn't a self dunder, is there?
|
# ? May 14, 2021 01:48 |
|
12 rats tied together posted:am i going loving crazy here? there isn't a self dunder, is there? No I think they just got confused in def __init__(self)
|
# ? May 14, 2021 01:50 |
|
Jabor posted:OOP more like POO
|
# ? May 14, 2021 01:53 |
|
Lots of other languages have explicit self/this/whatever parameters. It's not that weird.
|
# ? May 14, 2021 01:54 |
|
using self in method signatures is good as hell and beats having to decode the random magic words c# puts in front of its functions `buttfarter(self, velocity)` : clearly an instance method that uses its internal state and a velocity parameter to fart a butt `abstract sealed private ataraxic vorpal List<Fart> buttfarter (Velocity velocity)`: a statment dreamed up by the completely deranged
|
# ? May 14, 2021 01:58 |
|
in java you can even explicitly put “this” as a first parameter to a method and annotate it with poo poo if you want, and it behaves the same. useful for static analysis tools.
|
# ? May 14, 2021 01:59 |
|
Corla Plankun posted:`abstract sealed private ataraxic vorpal List<Fart> buttfarter (Velocity velocity)`: a statment dreamed up by the completely deranged the best part of working in a lovely c# code base is finding all the overloads and extension methods for abstract sealed private ataraxic List<Fart> buttfarter since the signature is so loving long that you have to scroll right to find the part thats different
|
# ? May 14, 2021 02:00 |
|
I hate machine
|
# ? May 14, 2021 04:12 |
|
i'd love a recommendation: i need to choose between python, php or node.js for a small web application. the application is CRUD-like but needs single-user login. problem is (a) i don't know python well, (b) php 5 still makes me scared to consider php 8, and (c) i've written a lot of vanilla JS but not frameworks/server-side. webhost makes it easy to start with python/django or php/laravel. i can install node.js but i'd have to figure out the frontend, i guess? any advice for which approach is most salvageable if i only half know what i'm doing?
|
# ? May 14, 2021 06:01 |
|
handle posted:i'd love a recommendation: i need to choose between python, php or node.js for a small web application. the application is CRUD-like but needs single-user login. wander into the woods, never to be seen again?
|
# ? May 14, 2021 06:08 |
|
psiox posted:that said, maybe my brain is broken by having been a ruby person, but god i hate python and its meaningful whitespace and also wtf is with needing to pass __self__ around everywhere, i mean shut up i mean on the one hand you could say the same about me bc i did ruby for money for a good amount of time, but yeah literally the only thing that python has on ruby is a handful of useful libraries like numpy. ruby is super lovely, but pretty much all of the reasons that ruby is lovely are also reasons that python is lovely
|
# ? May 14, 2021 06:14 |
|
handle posted:i'd love a recommendation: i need to choose between python, php or node.js for a small web application. the application is CRUD-like but needs single-user login. django's automatic admin site is amazing, use django not sure what single-user login means but i'm sure django can handle it
|
# ? May 14, 2021 06:16 |
|
Achmed Jones posted:i mean on the one hand you could say the same about me bc i did ruby for money for a good amount of time, but yeah literally the only thing that python has on ruby is a handful of useful libraries like numpy. ruby is super lovely, but pretty much all of the reasons that ruby is lovely are also reasons that python is lovely if you want a lang w/ 5 mcmc libraries (aka, 1 actually good one), you have the wonderful choice of c fortran or python
|
# ? May 14, 2021 06:19 |
|
handle posted:i'd love a recommendation: i need to choose between python, php or node.js for a small web application. the application is CRUD-like but needs single-user login. c#
|
# ? May 14, 2021 06:19 |
|
pokeyman posted:not sure what single-user login means but i'm sure django can handle it
|
# ? May 14, 2021 06:22 |
|
bob dobbs is dead posted:if you want a lang w/ 5 mcmc libraries (aka, 1 actually good one), you have the wonderful choice of c fortran or python right im not saying it isn't a legitimate advantage. it is. well i mean, it is if you give a poo poo about doing monte carlo or whatever else with numpy or pandas. it's the same thing in my field - i say gently caress python right up until i need to use scapy for something cause poo poo i guess it's better than the alternatives bdid put the libraries into a good language. also please create a good language
|
# ? May 14, 2021 06:27 |
|
wait it's love love is the good language
|
# ? May 14, 2021 06:27 |
|
Bored Online posted:wander into the woods, never to be seen again? pokeyman posted:django's automatic admin site is amazing, use django mystes posted:They mean it doesn't need to support multiple users, I think.
|
# ? May 14, 2021 06:33 |
|
Achmed Jones posted:wait dude im writing clojure for money nowadays im sittin here lookin at this 70 member stack trace thinkin: it aint a good language
|
# ? May 14, 2021 06:48 |
|
|
# ? Apr 26, 2024 13:27 |
|
bob dobbs is dead posted:dude im writing clojure for money nowadays i hear you like runtimes so we put a runtime in your runtime
|
# ? May 14, 2021 07:26 |