- Joined
- Oct 19, 2023
what i'm saying is python is a shit language that should only be used if you absolutely have to use itThis is a genuinely bizarre thing to say
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
what i'm saying is python is a shit language that should only be used if you absolutely have to use itThis is a genuinely bizarre thing to say
I'm of two minds about Jupyter. The editing components themselves are not very good and you can get things about state confused fairly easily (mitigated by just running things from the top whenever necessary). There is no way to work on Jupyter Notebooks in Vim (and there is what looks like equivocal support in Emacs, but it seems a bit fishy) so you are basically stuck with an inferior editor. On the other hand, I really like the idea of literate programming esp. when there are a lot of things in data science and the associated tooling that are tricky and it's nice to have documentation for what you were doing earlier with executable code embedded directly therein. Notebooks are also the default and best supported way to use certain platforms like Kaggle and Google Colab. So I was very late to get on the Jupyter train but I don't regret having done so now.Torch is so fucking good, and once you get used to the data science stuff, Jupyter notebooks are incredibly useful. I did a whole semester of labs using Jupyter and I was very efficient
Yesoh yeah did you know perl is a lisp too
Ruby is a far better contender for "Smalltalk, but more popular" than Pythonpython is not even a lisp, maybe it's a bit of a smalltalk or something (idk smalltalk)
Data science was just one example; there are many many many othersmaybe op doesn't want to do data science, there are other things to do on computers than just crunch numbers
i was looking through the org mode manual and it can do literate programming stuff apparentlyOn the other hand, I really like the idea of literate programming esp. when there are a lot of things in data science and the associated tooling that are tricky and it's nice to have documentation for what you were doing earlier with executable code embedded directly therein.
yes python isn't even a good smalltalk clone eitherRuby is a far better contender for "Smalltalk, but more popular" than Python
i hate this "my language has more library therefore it better"Data science was just one example; there are many many many others
It's an entirely practical consideration; not every comparison can be "other things being equal"i hate this "my language has more library therefore it better"
Let me know when bash has an FFI that allows all the things that numpy can doi hate this "my language has more library therefore it better"
if you followed that to its conclusion it would be apparent that bash is the best programming language because you can just shell out to anything you want right?
i'm not too much of a linear algebra statistic data science nigger and i might be missing some important numpy feature but i think "bash numpy" would be sort of like the netpbm utilities except instead of a bunch of tools that transform ppm files, it's a bunch of tools that transform binary files made up of a small header and a fuckton of floatsLet me know when bash has an FFI that allows all the things that numpy can do
You came very close to describing something that does in fact exist:i'm not too much of a linear algebra statistic data science nigger and i might be missing some important numpy feature but i think "bash numpy" would be sort of like the netpbm utilities except instead of a bunch of tools that transform ppm files, it's a bunch of tools that transform binary files made up of a small header and a fuckton of floats
this seems a bit higher-level than what i thought of (seems to be for "i need to train a classifier on this random csv file i have NOW" and not "i want to mangle these float buffers to implement my sick deep neural network idea") but it has the general idea going there (i think)You came very close to describing something that does in fact exist:
https://www.mlpack.org/doc/quickstart/cli.html
i think there could be many decent ways to inject very special custom logic into this kind of thing without wanting to kill yourselfI'm a bit leery of doing things this way. Cleaning data using this approach has to be hell.
Python and R (haven't used Julia yet) have very sophisticated means of doing all the mundane but vital cleaning and preparation tasks that are believed to constitute about 80% of machine learning. I would want to kms if I had to start from scratch.i think there could be many decent ways to inject very special custom logic into this kind of thing without wanting to kill yourself
at the very worst you would have to write a program in the language of your choice to parse the float buffer and do what you need to do
if everything was autistically split up, you could do shit like use a perl script for a few problems then a python script for some fucked up dates and then do god knows what in rPython and R (haven't used Julia yet) have very sophisticated means of doing all the mundane but vital cleaning and preparation tasks that are believed to constitute about 80% of machine learning. I would want to kms if I had to start from scratch.
That strikes me as being insanely brittle and unwieldy. Of course I would want a bunch of sequential operations on the data but with the same representation and functionality throughout. R is kind of nice in this regard as it has a functional pipe operator (originallyif everything was autistically split up, you could do shit like use a perl script for a few problems then a python script for some fucked up dates and then do god knows what in r
%>% via magrittr and now standard via |>).I don't know about Perl 5 but conceivably Ruby or Raku could do that sort of code golf. Whether you would want to is another matter.Show me a Perl script that can do PCA or convolutions on data with a few lines of code.
Exactly, the libraries exist and are able to perform the task. That’s not even getting into the fact that the numpy and friends ecosystem is widely adopted and taught in universitiesI don't know about Perl 5 but conceivably Ruby or Raku could do that sort of code golf. Whether you would want to is another matter.
perl doesn't have the tools to do thatShow me a Perl script that can do PCA or convolutions on data with a few lines of code.
I get what you're saying but I meant that Ruby and Raku, with better number support (in particular, Ruby has a built-inExactly, the libraries exist and are able to perform the task. That’s not even getting into the fact that the numpy and friends ecosystem is widely adopted and taught in universities
Matrix class) could probably do some of sorts of things you mentioned in a very bespoke code golf sort of way but that wouldn't really be desirable. For one thing, being put into practice it would be really fucking slooow.the newbie this horrible conversation started with seems to just want to learn programming which doesn't mean he wants to learn your extremely specific subfield of programming that uses languages that are widely laughed at by the people in other areas
except any good generalist programmer needs to learn a little lisp at some pointFor said newbie using Guile or another Lisp would likely count as its own extremely specific subfield
every language has warts but those languages seem to be all wartsnotwithstanding their various warts
What would be "odder features"? I personally like nvim due to Lua being used for config and LSP being native.I have a notion to hack together a primitive vi in Guile to vaguely mog on Emacs never adopting Guile. I don't use that many esoteric vi features or anything. Basic is fine for me. What editors do y'all use? I know nvim is popular here. Do you regularly use its odder features?
ci' or da( is like my most beloved feature of anything.Yes, it's the class you take in college that tells you about all the languages you'll never use to make money. I'm not saying it's not good to know they exist, but you likely won't be seeing them ever again unless you need the skill to dunk on people on the Internet.any good generalist programmer needs to learn a little lisp at some point
honestly i use neovim for mini.move so i can move lines around and shit and because i got used to vim keybindsI have a notion to hack together a primitive vi in Guile to vaguely mog on Emacs never adopting Guile. I don't use that many esoteric vi features or anything. Basic is fine for me. What editors do y'all use? I know nvim is popular here. Do you regularly use its odder features?