|
Captain Beans posted:What’s the beef with python? Apart from being an idiot language that treats whitespace as control characters, with weakly typed variables that you can't even declare etc. etc., let me tell you about that time I tried to use one of those image generation libraries. Installing that poo poo is a complete mess. I already two python versions installed so you'd figure you jist download the scripts and run them? Hooooo no. First you gotta get 500 libraries, and to get those, you gotta get a program that downloads libraries. Fine I get the program, but turns out the python versions i got are too old to run that program, also written in python of course. Fine, I get the latest version, and download all the libraries. So now the drat thing runs, right? Wrong. Well it does something but nothing comes out. Check some kind of log output, search the internet for an hour, and it turns out the version of python I picked is too recent. The drat thing only works with a very specific version of the language, not too young, not too old. And this is apparently not unusual for python and its libraries. So I gotta do all that poo poo all over again, and get all the libraries, and then it runs. Terrrrribly. I rewrite the script to not seem like it was written by a complete doucheturd piece of poo poo and then it was vaguely usable. To run one drat script, i needed to install multiple gigabytes of libraries, and if I wanted to run a different script alongside that one, i would have needed to install the all same stuff again but of a slightly different version.
|
# ? Sep 29, 2022 23:10 |
|
|
# ? Apr 27, 2024 20:31 |
|
David Bowie and Prince riding a moped together on the surface of Mars.
|
# ? Sep 30, 2022 00:09 |
|
More like gently caress-e Sucki
|
# ? Sep 30, 2022 00:19 |
|
barney the dinosaur struggling to survive in a dangerous cyberpunk city
|
# ? Sep 30, 2022 01:20 |
|
Buddha eating a popsicle on a hot summer day
|
# ? Sep 30, 2022 01:26 |
|
|
# ? Sep 30, 2022 02:13 |
|
|
# ? Sep 30, 2022 02:54 |
|
oo I have a fun game guess a single part of the prompt here and your wildest dreams will come true
|
# ? Sep 30, 2022 02:59 |
|
deep dish peat moss posted:Hyperrealistic next-gen 3d render of a gigantic Forums Goon, his shirt is stained in sweat, mustard, and cheeto dust. Forums goons look like retired pro wrestlers.
|
# ? Sep 30, 2022 03:00 |
|
this poo poo is wild
|
# ? Sep 30, 2022 03:03 |
|
|
# ? Sep 30, 2022 04:33 |
|
|
# ? Sep 30, 2022 04:35 |
|
your wasting all your wall-e credits on smash mouth
|
# ? Sep 30, 2022 04:37 |
|
deep dish peat moss posted:You can then join their discord and fill out this form to sign up for "Promptober" which will give you 5 additional free credits every day of October: https://forms.gle/yxdYvJ2qs25rD3gaA Sorry, not good at Discord, how do I find their official Discord?
|
# ? Sep 30, 2022 04:51 |
|
kntfkr posted:your wasting all your wall-e credits on smash mouth
|
# ? Sep 30, 2022 04:56 |
|
numberoneposter posted:Any promt suggestions? Schumacher waking up, jim davis style
|
# ? Sep 30, 2022 05:06 |
|
|
# ? Sep 30, 2022 05:32 |
|
numberoneposter posted:Any promt suggestions? barack the hedgehog, colored pencil on notebook paper
|
# ? Sep 30, 2022 06:20 |
|
Blitter posted:All the formatting fun of COBOL with the garbage performance of a runtime interpreter? I had to look COBOL up on the internet and it said "due to the retirement of experienced COBOL programmers, code is now being rewritten in modern languages" Which gave your post a further more subtle old man complaining vibe, well done
|
# ? Sep 30, 2022 07:24 |
|
are they ever gonna release this thing for local image generation, or are they gonna gate it behind a paywall forever?
|
# ? Sep 30, 2022 07:41 |
|
Dr. Video Games 0031 posted:are they ever gonna release this thing for local image generation, or are they gonna gate it behind a paywall forever? There's a bunch of Stable Diffusion implementations that you can run locally. Some of them come with a web gui so you're not typing poo poo into a command prompt constantly. And there's support for low VRAM (at least 4gb) cards, at the cost of extra processing time. Someone even got it to run on their iPhone, really slowly, by breaking up the model into chunks so they'd fit in the memory.
|
# ? Sep 30, 2022 08:27 |
|
Stable Diffusion has a bunch of warnings that any prompt could potentially produce "explicit and adult material". Anyone done any cyberporn yet?
|
# ? Sep 30, 2022 09:33 |
|
How did lowtax end up in this photo?
|
# ? Sep 30, 2022 10:08 |
|
Mooey Cow posted:Apart from being an idiot language that treats whitespace as control characters, with weakly typed variables that you can't even declare etc. etc., let me tell you about that time I tried to use one of those image generation libraries. u mad?
|
# ? Sep 30, 2022 10:31 |
|
ChubbyChecker posted:u mad? Yes
|
# ? Sep 30, 2022 10:39 |
|
Mooey Cow posted:Anyone done any cyberporn yet? nobody has. never. anywhere. it's forbidden in the T&C and besides who would want such.
|
# ? Sep 30, 2022 10:57 |
|
Mooey Cow posted:Apart from being an idiot language that treats whitespace as control characters, with weakly typed variables that you can't even declare etc. etc., let me tell you about that time I tried to use one of those image generation libraries. I love it when my favorite GBS posters serious post and they're actually smart people who will stop joking to point out some certified stupid poo poo. numberoneposter posted:Any promt suggestions? "Smashmouth eat the eggs."
|
# ? Sep 30, 2022 20:25 |
|
Mooey Cow posted:Apart from being an idiot language that treats whitespace as control characters, with weakly typed variables that you can't even declare etc. etc., let me tell you about that time I tried to use one of those image generation libraries. most of the problem described isn’t python, it’s all the underlying stuff cobbled together using python bindings as the glue. python is fantastic as a glue language, particularly for things that provide C APIs. i use it to control and test a whole bunch of C and C++ products at work and it’s a million times easier, nicer, and more powerful than doing it with a lower level compiled language. are you installing the AI/ML tools with pip or some 3rd party thing? if it’s pip, then you may have a point about dependency hell being a python-adjacent issue, but if it’s some 3rd party install script or guide, then you are also blaming the wrong thing. python can’t resolve all the dependencies and paths and poo poo that are specific to all the separately packaged libraries needed — that’s the job of a package manager. i don’t know the specifics in this case because i haven’t tried any machine learning python stuff, but i’ve worked with a bunch of other large frameworks with python frontends, and the issues were always with dependencies and configurations outside the language. i am curious what specific built-in python syntax broke when you installed a newer version, though. not counting the python 2->3 migration a decade ago, i’ve yet to run into any python 3.x code that broke when installing a newer version, and i’ve got a bunch of installs across linux, windows, macos of both the vanilla cpython with modules from pip and anaconda installs. not saying it’s impossible, just that it isn’t that common and i’m genuinely interested in seeing a specific syntax that breaks from 3.x to 3.x+1.
|
# ? Sep 30, 2022 20:50 |
|
Mooey Cow posted:Apart from being an idiot language that treats whitespace as control characters.. also, what exactly is the problem with a mandatory convention for indentation? do you miss the semiconlons and curly braces so much you’d be willing to go back to the days of people writing unreadable, haphazardly indented code with all sorts of conflicting styles from project to project, or hell, even within the same file? i see this in code reviews all the time and it drives me nuts and also distracts from the actual behavior and functionality that should be the focus. python’s greatest feature isn’t even the language itself, it’s that they have a style guide which you are, at least at a high level, forced to use and that the community actually adopted. and sure, you’ll still get some disagreements about max line lengths or how to indent multi-line arguments or arrays or whatever, but compared to other big enterprise languages like C++ and Java, it’s a night and day difference in stylistic consistency. plus, you can just auto-format with a PEP8 formatter like black. formatters also exist for other languages, but at least for C++ i’ve found that they are rarely used in the real world, and also tend to lag behind the latest language syntax and will break if they find something they don’t understand. with python, you’re actively encouraged (and for some projects required) to use them. e: basically, python understands that you should give programmers as little freedom as possible to make their own choices because programmers are among the dumbest people on the planet, myself included. Bad Purchase fucked around with this message at 21:24 on Sep 30, 2022 |
# ? Sep 30, 2022 21:18 |
|
Mooey Cow posted:Stable Diffusion has a bunch of warnings that any prompt could potentially produce "explicit and adult material". Anyone done any cyberporn yet? It's not very good at it. I think it's a combination of it not being trained on porn and it not being very good at understanding where limbs and appendages intersect with each other so the couple of porn-ish prompts I tried just gave me a horrifying mass of body parts melting into each other. I didn't try very much though, I'm sure if someone really wanted to get into crafting the perfect prompt rather than just throwing "two people loving" at it, maybe you could get something. I'm sure someone will have some kind of porno specific model sooner rather than later
|
# ? Sep 30, 2022 21:32 |
|
if an AI generates child porn, everyone who worked on it should be put in jail, it’s the right thing to do
|
# ? Sep 30, 2022 21:46 |
|
Mooey Cow posted:Stable Diffusion has a bunch of warnings that any prompt could potentially produce "explicit and adult material". Anyone done any cyberporn yet? https://twitter.com/RoyDelfino/status/1575990515748966403?t=ZcnA9IsiaoZWBI_S5zD2kw&s=19
|
# ? Oct 1, 2022 00:46 |
|
Gangster Computer God Secret Worldwide Containment Policy Frankenstein Controls Computer God Brain Bank Cities on the Far Side of the Moon
|
# ? Oct 1, 2022 01:02 |
|
|
# ? Oct 2, 2022 00:29 |
|
Bad Purchase posted:they created this whole AI image generator just to get my phone number I was gonna use "Bad Purchase's phone number" as the input, but I don't to give it mine either.
|
# ? Oct 2, 2022 00:34 |
|
my phone number is 13 (pro)
|
# ? Oct 2, 2022 00:39 |
|
Bad Purchase posted:not saying it’s impossible, just that it isn’t that common and i’m genuinely interested in seeing a specific syntax that breaks from 3.x to 3.x+1. The only syntax errors were with the downloading tool that tried and failed to use my old python installs. The other errors that were due to a too recent version were not syntax errors but either some sub-dependency that didn't exist, or a function in a dependency that didn't exist or did something that the script didn't expect. Whatever it was, I only remember how long I had to spend trying to track down what the hell the problem was, because it didn't outright say that the functionality was missing or changed. As for why this dependency hell exists, it both is and isn't the fault of python. It's one thing to use it as a glue language between systems or as a more capable batch scripting language, but python should never have been used for large systems and high intensity general purpose computations like these. It's not python's fault that people are trying to use it for this, maybe it's because they don't know anything else or whatever the reason was this started. But the fact that python is not performant enough to allow these computations to be done in a reasonable time, that it can't properly support threading (it pretends to, but the interpreter is in fact not thread-safe and no code will be executed in parallel, making "multithreaded" python often execute even slower) etc etc, is the reason why those many, many compiled libraries had to be created, so people could do the things they wanted to do. People even recommend that you shouldn't even do simple looping in python if you can offload it to some library function. It's no wonder you get a million libraries if you can't even rely on such simple language constructs not wasting time doing whatever nonsense it's doing behind the scenes. Bad Purchase posted:e: basically, python understands that you should give programmers as little freedom as possible to make their own choices because programmers are among the dumbest people on the planet, myself included. It's all well and good to enforce a particular coding style on a language community (though most communities would never accept it), but that's quite different from changing the behavior of the program when the amount of whitespace present changes. You could have well-defined start and end points of a code block and still have the compiler say "you messed up the indentation here". That would in fact let the compiler know even better where you messed up the indentation. Whereas now I don't know how many times I've seen some beginner wonder why their code isn't working right in some edge cases, and it turns out it's because they accidentally gave a line too much or too little indentation so it ended up in a control block they didn't intend. Those kind of bugs can be very subtle and hard to track down in code that is nested more than one or two levels; you basically have to go through each line near a block boundary and consider if it really belongs there. It also makes it much more difficult to refactor code than it should be, not to mention sharing code with people in channels that don't support "code tags" that preserve whitespace like you wrote it. E.g. if you posted nested python code here without using the code tags, the browser would remove all leading whitespace, making the code not necessarily invalid (that would have been one thing), but might instead do something completely different from what you wanted. I.e. it might still compile but do something else. This may seem convenient but is actually Very Bad. In languages with well-defined code-blocks, it might look like poo poo when posted like that but it will always do what you intended, and even basic text editors these days have functions for auto-formatting code to make it readable again. I also gotta wonder if this isn't why lambdas in python are limited to a single line expression; because they just couldn't figure out what the indentation rules should be for multiple statements.
|
# ? Oct 2, 2022 11:38 |
|
Tiberius Christ posted:https://twitter.com/RoyDelfino/status/1575990515748966403?t=ZcnA9IsiaoZWBI_S5zD2kw&s=19
|
# ? Oct 2, 2022 11:57 |
|
I've seen and had to write some non-example python code and it's not any more readable than, say, C++. It's dumb Something I tested based on stolen SD prompts
|
# ? Oct 2, 2022 12:05 |
|
|
# ? Apr 27, 2024 20:31 |
|
Mooey Cow posted:As for why this dependency hell exists, it both is and isn't the fault of python. It's one thing to use it as a glue language between systems or as a more capable batch scripting language, but python should never have been used for large systems and high intensity general purpose computations like these. It's not python's fault that people are trying to use it for this, maybe it's because they don't know anything else or whatever the reason was this started. But the fact that python is not performant enough to allow these computations to be done in a reasonable time, that it can't properly support threading (it pretends to, but the interpreter is in fact not thread-safe and no code will be executed in parallel, making "multithreaded" python often execute even slower) etc etc, is the reason why those many, many compiled libraries had to be created, so people could do the things they wanted to do. People even recommend that you shouldn't even do simple looping in python if you can offload it to some library function. It's no wonder you get a million libraries if you can't even rely on such simple language constructs not wasting time doing whatever nonsense it's doing behind the scenes. what you're asking for does not and will never (in our lifetimes) exist. there is not one language to rule them all where everyone writes compiled libraries using compatible ABI/calling/symbol conventions where you can just import packages and do all of your glue logic in the same high performance language that every single one of your dependencies uses, and then compile and link them together as one big happy, integrated product. and even if it was possible, unless you're running in a highly standardized environment or container, you still have to worry about what other stuff is going on in the operating system where someone might have their own competing versions of libraries installed that get picked up at runtime instead of the one you meant to package. or, even more common, where you rely on something to be available in the OS (a language runtime, or a basic library) that everyone thinks should be common but actually isn't. the reason python is used to put this stuff together is that it is the best tool available for it, at least with widespread adoption and the backing of developer experience and know-how to maintain and grow it. you could try to put a competing AI workflow system together using nothing but ANSI C to glue it all up, but good luck getting a community to want to learn and use it. Mooey Cow posted:It's all well and good to enforce a particular coding style on a language community (though most communities would never accept it), but that's quite different from changing the behavior of the program when the amount of whitespace present changes. nah, not buying this. being different than you're used to doesn't make whitespace as syntax any different from curly braces and semicolons, and newbies will mess those up just as much as they'll mess up an indent or line breaks. one of my younger coworkers whose college curriculum mostly used python always gets annoyed when he touches C++ and has to remember to manually tell the compiler where the statements end and where scope ends instead of it just being automatic. it took me a while to come around too, but now it seems very obvious that the C/java style scoping and statement separation are more error prone and less intuitive for beginners. in my experience it's also much easier to find instances of broken scope in python code just because auto-formatting is so prevalent and good. just press the auto-format keybind for the file you have open and you'll see where the unexpected change in indentation occurs (or sometimes an error about what line it got stuck on). you can kind of do this in brace/bracket-based languages where auto-format is less common by relying on your editor/IDE to highlight the start and end of blocks when your cursor is on a curly brace, but it's less obvious visually when you're quickly scrolling through looking for where a block got hosed up. Mooey Cow posted:I also gotta wonder if this isn't why lambdas in python are limited to a single line expression; because they just couldn't figure out what the indentation rules should be for multiple statements. i think that's part of it, but there are ways they could've supported multi-line lambdas if they really wanted to. but with how easy it is to just define a local function anywhere and pass a function object, there's not much need. i guess with lambdas it's a bit more obvious what's going on with local variable capture, but i think it's a pretty good rule of thumb in general that if your lambda expression is gonna go bast 80 characters, just define a function because it will be more readable anyway.
|
# ? Oct 2, 2022 21:52 |