Earlier quoted context omitted.
Well it already is. You get to pick which direction you agree with.
[flagged]
Python 3.12
271–280 of 344 posts
Re: Python 3.12
#272Everything aside, I enjoyed the "And now for something completely different" part.
I dislike it because it's kinda hard to understand (can't really say I did) specially without any context, and programming language release notes are something people should read even a hundred years afterwards.
Re: Python 3.12
#273Earlier quoted context omitted.
> It's entirely consistent to believe (a) that a "tame" political statement supporting immigrants is acceptable in release notes, while also believing (b) that a cutesy poem defaming immigrants would be abhorrent and unacceptable. The opposing cutesy poem wouldn't be defaming immigrants! It would be acknowledging a nation can't exist without borders, sovereignty matters, and unchecked migration is not universally goo…
Borders are a relatively new concept and nations existed before borders so what you're saying is trivially false. The US was built on unchecked migration and it did pretty well out of it.
Re: Python 3.12
#274Earlier quoted context omitted.
If an upvote is for agreement, does downvoting for disagreement not make sense? Or are upvotes meant for something else?
from the guidelines: Users should vote and comment when they run across something they personally find interesting Also: Please don't comment about the voting on comments. It never does any good, and it makes boring reading. Well... sorry then :-) And final: Please don't use Hacker News for political or ideological battle. That tramples curiosity.
Re: Python 3.12
#275Re: Python 3.12
#276They keep getting improved error messaging and this is one of my favorite features. But I'd love if we could get some real rich text. Idk if anyone else uses rich, but it has infected all my programs now. Not just to print with colors, but because it makes debugging so much easier. Not just print(f"{var=}") but the handler[0,1]. Color is so important to these types of things and so is formatting. Plus, the progress b…
I love and use rich too, but gosh I hope that libraries don't start depending on it just because pip does. It has a lot of dependencies of its own, and dependency creep is real. I know pytorch isn't exactly lightweight in terms of dependencies. But I prefer using libraries that make an effort do only pull in absolutely necessary dependencies.
r.e. pytorch: It's a love hate with me. I do think they should incorporate things that are extremely common and solve things that are daily issues. As a simple example, new users are often confused with loading and saving models when using distributed data parallel (DDP) because it creates this extra "module" name in the state_dict and so can require different usage for saving/loading models if you're distributed training or not. This can be quite annoying. Similarly there are no built in infinite samplers, which are common among generative modelers. People who don't iterate over epochs of data, but rather steps. There's of course many solutions to deal with this, but it does make sense with how prolific it is (and has been since 2015) that there just be a built in dataloader. I'd argue things like progress bars and loggers would also be highly beneficial, especially because pytorch's forte is generating research code.
But we're digressing. These are just opinions.
Re: Python 3.12
#277Earlier quoted context omitted.
Yep, it’s incomplete, and much more importantly not machine readable. These days I want all my code to pass strict mypy. It’s mostly possible and a bliss when it works, but libraries (ab)using kwargs throw a spanner in that. Libraries where everything is kwarg and the docs have to be consulted are a killjoy. And they cause tons of bug from misuse!
These days you want java then! Why are you not using java?
Re: Python 3.12
#278Earlier quoted context omitted.
Software is always user-upgradable on Linux. Just install it somewhere in your home directory. GNU Stow [0] can be helpful as a very lightweight way to manage the packages. (Of course, then you take on the responsibility of keeping up with patch releases yourself, which is why we use distros. But if it's just a small number of packages on top of a distro-managed base system, it's perhaps not so bad.) [0] https://www.…
Sure and how do you install Python 3.12 on RHEL 8 without compiling it from source?
Re: Python 3.12
#279Earlier quoted context omitted.
Sure and how do you install Python 3.12 on RHEL 8 without compiling it from source?
I don't know, but what is the problem with compiling from source ? Some softwares are hard to compile but I found Python really easy to compile.
Have you ever worked in a place that uses Python? When someone says to you "hey it's not working" are you really going to say with a straight face "oh yes, you just need to compile Python from source". Come on, this is one of those obviously stupid situations that for some reason people feel the need to defend. It's not defensible.
You don't need to compile Node or Rust or Go or Deno from source to install the latest version.
Re: Python 3.12
#280Earlier quoted context omitted.
Sure and how do you install Python 3.12 on RHEL 8 without compiling it from source?
Just run the miniforge install script if you want a very friction-free install. I'm not a big conda fan, but the "install in my home directory" use case is very well covered by miniforge. https://github.com/conda-forge/miniforge/