|
Corla Plankun posted:every discussion about how bad pip is always winds up with people telling on themselves like this
|
# ? May 4, 2023 01:35 |
|
|
# ? Apr 28, 2024 01:11 |
|
Been using pyenv, as it walks like virtualenvmanager and quacks like virtualenvmanger, but is clearly one of those duckburg hybrid things because it also manages python's language versions like nvm does for node. Will try hatch, I'm only spinning up new repos every ~3 days at this point I can screw a couple of them up.
|
# ? May 4, 2023 01:48 |
|
a dependency solver which looks at your complete set of dependencies and picks a compatible set of versions is not a trivial thing to write but it is a thing that's been written a bunch of times and it's sorta embarrassing for pip not to have it
|
# ? May 4, 2023 02:12 |
|
it's funny that people are like "python packaging is so bad" and sure, it is, but like any time another scripting language has to package up and integrate with actually compiled languages, you're on your own, chumps it's just i am tired of hearing from rubyists going "python is so bad" and it's like yes, sure, with ruby you can easily install 173 packages to add things like "sets" or "datetimes" or "loading json" which python already does out of the box, but as soon as you mention mini_portile/nokogiri to a rubyist they start mumbling and sweating
|
# ? May 4, 2023 03:11 |
|
then you have loving conda where they were like "what if we shipped a shitload of packages that aren't related to python with every install" loving kerberos is provided by conda by default
|
# ? May 4, 2023 03:14 |
|
clojure works great w maven
|
# ? May 4, 2023 03:19 |
|
poetry is a bit boneheaded in some areas, but has been the least of the evils I've had the fortune to sample. is hatch better?
|
# ? May 4, 2023 04:27 |
|
pip and venv work fine, i feel no need to switch to some third party bespoke bullshit. if you're writing python that complicated, stop writing python
|
# ? May 4, 2023 04:30 |
|
DELETE CASCADE posted:pip and venv work fine no they do not
|
# ? May 4, 2023 04:57 |
|
"explain how?" asks homer simpson
|
# ? May 4, 2023 05:11 |
|
I like how
|
# ? May 4, 2023 05:37 |
|
a major problem with python is that the people writing lots of python have little to no interest in writing software, much less usable / maintainable / deployable / anythingable software. works on my machine is just fine for a grad student
|
# ? May 4, 2023 05:39 |
|
“a major problem” is the wrong tone. a simple reality of? perhaps?
|
# ? May 4, 2023 05:40 |
|
python was designed for those people. they now work in "machine learning" and make 5x what you do
|
# ? May 4, 2023 05:58 |
|
Bloody posted:I like how
|
# ? May 4, 2023 06:07 |
|
i do kinda miss how
|
# ? May 4, 2023 06:09 |
|
I’ve written complete shippable embedded Linux projects with the main applications running Python that have years-long uptime’s. Python is good.
|
# ? May 4, 2023 06:20 |
|
i cant think of a better strongly typed language that comes with a repl. its too good, so good that i cant justify switching off of it even though it completely sucks to install a pinned, isolated python version on thousands of servers, and then also install packages for it
|
# ? May 4, 2023 06:24 |
|
Strongly type-hinted?
|
# ? May 4, 2023 07:44 |
|
strong vs weak, dynamic vs static, do not have much to do w each other c is weak, for example, and some peeps really do roll with void* for absolutely fuckin everything
|
# ? May 4, 2023 07:45 |
|
goatc what is that dev doing to their void*
|
# ? May 4, 2023 07:54 |
|
bob dobbs is dead posted:strong vs weak, dynamic vs static, do not have much to do w each other casting everything to void* is like that tiktok of someone putting all the toddler shape game blocks in the same square hole, and it's 100% how a lot of my c looks
|
# ? May 4, 2023 08:24 |
|
casting everything to void * is what enlightenment did and then Samsung forked enlightenment to make Tizen so every object with TizenOS is a void *. Or it used to be, perhaps they cleaned it up over the years.
FlapYoJacks fucked around with this message at 08:36 on May 4, 2023 |
# ? May 4, 2023 08:34 |
|
I have this hobby kernel project that (ab)uses void* and the anonymous struct member structs in -fms-extensions/-fplan9-extensions to implement inheritance in C for device drivers and it's equal parts beautiful and utterly horrifying
|
# ? May 4, 2023 08:42 |
|
CPColin posted:goatc
|
# ? May 4, 2023 09:21 |
|
the first time I saw function pointer types in C, I thought someone was pulling my leg it's the same feeling I got when I started writing templates for C++ and saw pages and pages of (at the time) incomprehensible gibberish for a single compile error tooling has gotten a lot better since the 90s and I also like to think I understand things better
|
# ? May 4, 2023 09:24 |
|
Kazinsal posted:I have this hobby kernel project that (ab)uses void* and the anonymous struct member structs in -fms-extensions/-fplan9-extensions to implement inheritance in C for device drivers and it's equal parts beautiful and utterly horrifying that's just kernel for you it's really not that bad, but kind of funny how it approaches being c-with-classes essentially e: but yes it was a major shock the first time I saw it, though it really does help maintainability and modularity by letting you make fixed interfaces among other things Private Speech fucked around with this message at 10:32 on May 4, 2023 |
# ? May 4, 2023 10:27 |
|
12 rats tied together posted:i cant think of a better strongly typed language that comes with a repl. java
|
# ? May 4, 2023 10:29 |
|
i don't touch python but i got about halfway through this thing on packaging and decided that not touching python was the correct decision it doesn't even mention the actual correct way of dealing with python dependencies (docker)
|
# ? May 4, 2023 11:59 |
|
i once managed to create a requirements.txt so hosed up it sent pip into an infinite loop ama
|
# ? May 4, 2023 12:10 |
|
RokosCockatrice posted:Been using pyenv, as it walks like virtualenvmanager and quacks like virtualenvmanger, but is clearly one of those duckburg hybrid things because it also manages python's language versions like nvm does for node. let me know how it goes i am curious what other people think
|
# ? May 4, 2023 15:14 |
|
redleader posted:i don't touch python but i got about halfway through this thing on packaging and decided that not touching python was the correct decision python is extremely fine and needs suiting for a lot of small to midsized projects where you are constrained by network calls for performance (or apparently in embedded stuff too per other replies) i like it because it makes cranking decent stuff out easy (comparatively to java which is what i use for bigger things that have to be faster) and it pays my bills. i dont really care about the whole no-true-scotsman-thats-not-real-software poo poo this is very “works on my machine” but it is worth trying out for prototyping imo
|
# ? May 4, 2023 15:18 |
|
python is extremely needs-suiting for inhouse utilities, stuff like i used to use perl for. loving around with pdfs, doing stuff with csvs, etc, basically the step between shell and full java/c-lang. iterating the problem is fast & you can just pip install whatever into system idgaf. idk that i would choose it for a greenfield project that touches the outside world, but thats really because i dont like greenfield projects otoh our current main apps are php/javascript, and i would absolutely choose python over those. especially if it meant just static hidden forms and no dynamic poo poo at all
|
# ? May 4, 2023 16:57 |
|
there is no such thing as a prototype
|
# ? May 4, 2023 16:57 |
|
Sapozhnik posted:there is no such thing as a prototype
|
# ? May 4, 2023 16:58 |
|
Sapozhnik posted:there is no such thing as a prototype as long as you never show it to anyone its ok. but yeah if someone sees it, it goes into production and theres nothing you can do about it
|
# ? May 4, 2023 16:59 |
|
Carthag Tuek posted:python is extremely needs-suiting for inhouse utilities, stuff like i used to use perl for. loving around with pdfs, doing stuff with csvs, etc, basically the step between shell and full java/c-lang. iterating the problem is fast & you can just pip install whatever into system idgaf. Django is one of the most popular web frameworks on earth and is used with such small websites as “YouTube” and “Reddit.” It may be safe to say that Python is needs suiting for large projects as well.
|
# ? May 4, 2023 17:04 |
|
FlapYoJacks posted:Django is one of the most popular web frameworks on earth and is used with such small websites as “YouTube” and “Reddit.” It may be safe to say that Python is needs suiting for large projects as well. they are bad website brant
|
# ? May 4, 2023 17:07 |
|
youtube has been materially rewritten and so had reddit. and reddit had disgusting perf and uptime problems for decades, almost all attributable to their eav db schema
|
# ? May 4, 2023 17:08 |
|
|
# ? Apr 28, 2024 01:11 |
|
had?
|
# ? May 4, 2023 17:09 |