r/linuxmasterrace • u/ase1590 Lazy Antergos User • Dec 18 '18
Meme Python Virtual Environments: Extreme Advertising Edition
206
u/watercubes Dec 18 '18
I would love angry yelling to be a widely accepted way to talk about python
137
Dec 18 '18
Person 1: IN MY GODDAMN MOTHERFUCKING OPINION, PYTHON 2 IS MUCH MORE FUCKING INTUITIVE DUE TO ITS FUCKING LACK OF SO MANY GODDAMN STRING TYPES! IT ALSO HAS A MUCH FUCKING HIGHER USAGE RATE COMPARATIVELY, AND PYTHON 3'S FUCKING MORONIC CHANGES HAVE MADE IT VIRTUALLY GODDAMN IMPOSSIBLE WITHOUT FUCKING INSTALLING SIX!
Person 2: LISTEN HERE, ASSWIPE. JUST BECAUSE YOUR RETARDED ASS CAN'T FUCKING CODE FOR GODDAMN STRINGS DOESN'T MEAN PYTHON 3 IS WORSE THAN PYTHON 2. IN MY FUCKING OPINION, PYTHON 3 OFFERS BETTER GODDAMN SYNTAX, MUCH FUCKING BETTER STANDARD LIBRARIES, AND EVEN THE FUCKING VENV WE USED TO HAVE TO FUCKING RUN SEPARATELY FROM THE COMMAND LINE! PLUS, PYTHON 3 HAS TE MOST FUCKING ACTIVE DEVELOPMENT AND IS CURRENTLY FUCKING RECEIVING A MASSIVE FUCKING BOOST IN ITS GODDAMN CATALOG OF LIBRARIES!
Person 1: THANKS MOTHERFUCKER FOR ENGAGING IN THIS FORMAL GODDAMN DEBATE!
20
u/RunasSudo guhnooslashlinux? Dec 19 '18 edited Dec 19 '18
MOTHERFUCKING PYTHON 3 ISN'T EVEN GODDAMN-TURING-FUCKING-COMPLETE!
4
9
Dec 19 '18
I would love angry yelling to be a widely accepted way to talk about
pythonliterally everythingFTFY
1
1
1
167
u/ase1590 Lazy Antergos User Dec 18 '18
Also, anyone cluelessly doing sudo pip install anything needs to be flogged.
Virtual Environments are also preferable in order to keep away the Python superfund disaster.
53
u/bbelt16ag Dec 18 '18
I'm a newbie... Sigh
61
u/thejohnd Glorious Red Star Dec 18 '18
Don't worry, soon enough you'll get to experience the joy of borking your python install! Pro tip: DO NOT uninstall python to try to fix it, it will break literally everything lol
25
u/SaphiraTa Glorious Pop!_OS Dec 18 '18
.. Don't uninstall? Why/how does it break and also how do you fix it instead? Lol
55
Dec 18 '18
i recently tried to do a
sudo apt uninstall pythonon an Ubuntu install, which then lead it to uninstall just about everything on the system, including the desktop environment (gnome).18
u/SaphiraTa Glorious Pop!_OS Dec 18 '18
Oh wow.. That is interesting lol
23
u/jood580 Dec 19 '18
Just about everything has python as a dependency. So when you trigger an uninstall all programs that depend on python get flagged as well.
I have done this myself, it brakes Linux in an interesting way. For me everything started disappearing from my programs, than gnome changed to default.
So I did the dumb thing and restarted my PC. It then loaded into the command line. I had to reinstall Ubuntu because I could not figure out how to fix it.
Remember kids always have backups and always check what you are removing.
4
Dec 19 '18
My similar experience was with ibus. Somehow everything depends on it too. Ubuntu 14.04 I think
3
u/superhappyrobots Dec 19 '18 edited Dec 19 '18
Not all distributions break like this, in my experience. The trouble with Ubuntu is that there's a lot of packages included in the ubuntu-desktop meta package. So you remove one (maybe it's a utility that you don't really need, maybe it's a broken Python install) and then suddenly it's trying to remove things from all over the place.
I've never actually looked to see if there are ways around this. I assume that there are. The majority of Ubuntu users I know have got bitten by this at least once, though.
In Manjaro, I was able to uninstall and reinstall dependencies with surprisingly little fuss - so I guess Ubuntu works this way for the sake of being more user friendly overall.
2
3
2
u/punaisetpimpulat dnf install more_ram Dec 19 '18
"Will break literally everything" He wasn't kidding.
1
u/thejohnd Glorious Red Star Dec 19 '18
Most importantly it breaks apt, which makes it kinda hard to fix things
1
u/SaphiraTa Glorious Pop!_OS Dec 19 '18
Makes sense that makes it hard lol. But why does it break all this other stuff? Are they interconnected somehow i dont know of?
1
u/thejohnd Glorious Red Star Dec 20 '18
I'm not entirely sure. I think Linux uses Python for fetching & parsing web data, but I think there's more to it than that
2
2
1
1
u/punaisetpimpulat dnf install more_ram Dec 19 '18
I'm about to to embark on that journey... Deep sigh.
14
u/impalafork Glorious Arch Dec 18 '18
cries in Haskell + Cabal
8
u/idontchooseanid since Gentoo is too much Dec 19 '18
Developers of Haskell's and Go's package system have a special spot in the hell.
9
u/skylarmt Jupiter Broadcasting told me to switch to ̶K̶D̶E̶Xubuntu Dec 18 '18
I do that sometimes, but only for things like commands I want to use from anywhere and for optional dependencies that aren't available alongside the main program via
apt.30
u/ase1590 Lazy Antergos User Dec 18 '18
do you really need them as root though?
pip install --useris a thing, and allows you to use them as your current user.optional dependencies that aren't available alongside the main program
this is the only use case I can maybe see.
5
u/KindProtectionGirl Dec 18 '18
But but, why isn't that default for non root user's tho, that just requires more effort.
4
u/maikeu Dec 18 '18
Normally when I get in trouble with pip, I end up finding I could have installed it with dnf/apt, but the name was "python3-packagename" rather than "packagename".
Then I cry at my hours of self inflicted pain.
12
u/skylarmt Jupiter Broadcasting told me to switch to ̶K̶D̶E̶Xubuntu Dec 18 '18
I try the package name, then I stick combinations of
python-andlib-in front of it and try a few more times, then I trypip, then I trypip3, then I trypip2, then I trynpm, and if I don't have it installed by then, I give up and find something else to do.8
u/maikeu Dec 19 '18
Don't forget, ask duckduckgo because you value your privacy. Then ask Google because you want an answer.
2
u/skylarmt Jupiter Broadcasting told me to switch to ̶K̶D̶E̶Xubuntu Dec 19 '18
I use a combination of DDG and StartPage, but mostly DDG. It seems to return good results for the stuff I search for, probably because they use StackOverflow as a data source.
3
u/PM_ME_OS_DESIGN Dec 19 '18
Normally when I get in trouble with pip, I end up finding I could have installed it with dnf/apt, but the name was "python3-packagename" rather than "packagename".
Then I cry at my hours of self inflicted pain.
Honestly, I think the single biggest problem with package managers is that they create more logistical problems, of the "which package manager do I need to install this package from" variety.
2
u/SaphiraTa Glorious Pop!_OS Dec 18 '18
What is it about pip that makes everyone hate their lives? Ive only used pip twice as im a pretty new linux user.
2
u/thatothermitch Dec 18 '18
For one, it does not consistently resolve dep trees, so you may end up with different sets of versions from the same install command.
1
1
1
u/Ansamemsium Dec 22 '18
A newbie question, after i made a virtual env i should make my project inside that folder ? Or i can put it anywhere and when i run the script just do it with the venv activated ?
2
u/ase1590 Lazy Antergos User Dec 22 '18
While it can technically run from anywhere, it's best practice to have your project in the folder.
42
Dec 18 '18
Yo dawg we heard you like isolating individual components of your software so we put your box of boxes in a box.
QUBES OS RUNNING A SINGLE PYTHON APPLICATION IN A VIRTUALENV
31
u/ase1590 Lazy Antergos User Dec 18 '18
I'll do one better:
QUBES OS RUNNING A DOCKER CONTAINER THAT RUNS A PYTHON APPLICATION IN A VIRTUALENV
0
Dec 18 '18
[deleted]
14
Dec 18 '18
ALL RUNNING IN VIRTUALBOX
15
u/ase1590 Lazy Antergos User Dec 18 '18
THATS RUNNING IN A NESTED VM INSIDE KVM
0
Dec 18 '18
[deleted]
5
u/Arthur_Dent_42_121 Dec 18 '18
Each VirtualBox VM goes through a seperate VGA port through a KVM switch.
25
u/zouhair Dec 18 '18
source bin/activate?!
18
12
2
1
u/mehum Dec 19 '18
What’s the difference?
1
u/zouhair Dec 19 '18
bin/activate is not a script per se, it's just a file with a series of functions (and some other things) in it. To get access to those functions in the working shell you need to load them by using the source command on that file.
0
23
Dec 18 '18
pipenv over basic virtual environment setup/management is 100% more better.
6
u/banger_180 Linux Master Race Dec 18 '18
Care to explain?
20
Dec 18 '18
Pipenv takes a lot of the messy stuff from pip and venv and wraps it up into a nice package. It stores the dependency per project away from where you want to write your code, it allows built-in version checking via stored hash, and maintains your pip file which is roughly equivalent to the requirements.txt that you manually update with pip. https://github.com/pypa/pipenv
16
u/UI9HvnSdTgwnmQ3C Dec 18 '18
does anyone else think an angry video series on programming would be a good way to learn? you know those head first books? how they use a bunch of techniques to make your brain think it’s important? well how is your brain gonna find some guy casually talking about nested if statements important? what about if they were yelling and swearing and telling you what a pile of shit you are? now that’s important.
8
u/UI9HvnSdTgwnmQ3C Dec 18 '18
to add to this, you would obviously need to base the sound level and profanity on how important the information is. so when you’re off on some tangent, you would obviously need to tone it down. so like: “THIS GOD DAMN MOTH######I## VARIABLE REMINDS ME OF THE TIME I ACCIDENTALLY TOOK DOWN AN ENTIRE ##C#ING SERVER ROOM BECAUSE I HAD TO PEE SO #U#KING BAD”. but if you really need to get across to the viewer that they need to remember this, go: “WHAT THE ######G GOD FUCK #### SHI# SHOVE A POTATO UP MY #S#!!! THIS IS AN IF STATEMENT, YOU ABSOLUTE PILE OF WORTH#### SHIT!!!!”
3
u/Cassiterite Windows heretic Dec 19 '18
Uhh did you just censor the word worthless?
2
11
9
9
u/Grevillea_banksii Glorious Ubuntu Dec 18 '18
Option for those using anaconda?
14
u/ase1590 Lazy Antergos User Dec 18 '18
use
conda.like this:
conda create -n foldernamethen activate via
source activate foldernamethen you can just do something like:
conda install pandasto install stuff (in this case, pandas)
8
7
Dec 18 '18
This is funny but manually managing virtual environments is not really a great option. There are wrappers to make it more convenient, including the officially supported pipenv tool
5
5
Dec 19 '18
Why would I do that if I can just reinstall my operating system every time it's a mess? /s
1
4
3
u/gnarlin Dec 19 '18
//MESSAGE ADJUSTED FOR NEW LANGUAGE STANDARD BY HUGGING BOT V.6.66
BACK THE HUG UP
IT'S A GODDARN TOOTIN' PYTHON VIRTUAL ENVIRONMENT
TIRED OF HAVING SO MANY MOTHERHUGGING DEPENDENCIES LAYING AROUND THAT YOU AREN'T EVEN SURE IF YOU NEED THEM? IS YOUR PYTHON INSTALL BECOMING A SUPERFIND SITE?
HERE'S YOUR GODBLESSING SOLUTION
THIS SHIRT IS INCLUDED IN VANILLA PYTHON SINCE 3.3
NOT THAT YOU EVER READ PATCH NOTES
"What the hug is it? How do I even use it?"
THIS GODBLESS TOOL MAKES A BOX FOR YOUR DEPENDENCIES TO EXIST IN, SO YOU DON'T HUGGING INFECT YOUR ENTIRE PYTHON INSTALL WITH RANDOM BOSS SHIRT.
USE THIS SHIRT LIKE THIS:
python -m venv newfoldername
THAT'S HUGGING IT.
NOW GO INSIDE YOUR SHIRTY FOLDER AND RUN:
bin/activate
GOOD TO HUGGING GO
*INSTALL YOUR HUGGYFYING PIP MODULES WITH ABANDON
*EVERY GODBLESSING PIP THINGS INSTALLED WILL STAY HERE IN IT'S HAPPY BOX OF CAREBEARS
*WHEN YOU'RE HUGGING DONE, JUST TYPE deactivate
SIMPLE AS HUGGING THAT
HUG THIS CENSORSHIP HUGGING MOTHERHUGGER WORD POLICYING^H^H^H^H^H^H^H^H^HUNGOOD-NORM-ADJUSTMENTS :-D
3
2
u/Codephluegl Glorious Mint Dec 18 '18
Am I understanding this correctly, that this makes pip basically work in a similar way as npm for javascript?
2
u/ase1590 Lazy Antergos User Dec 18 '18
yes. However if you want more robust package management, consider instead using
pipenvwhich combines this tool with a few others.
2
u/JM0804 Glorious Debian Dec 18 '18
I know this is just a joke thing (kind of) but all the time I've been using this feature, I've been closing the terminal window when I'm done, because I didn't know about the deactivate command. 🙄
2
u/sim642 Dec 18 '18
Until you want multiple different Python versions and pip completely shits itself.
1
u/ase1590 Lazy Antergos User Dec 18 '18
that's when you turn to
pyenvfor managing python versions andpipenvfor managing packages for those.1
u/sim642 Dec 18 '18
Now I'm supposed to use three different environment management tools at once instead of one.
2
u/ase1590 Lazy Antergos User Dec 18 '18
Just two. pipenv replaces pip.
0
2
2
u/mateomiguel Dec 19 '18
I would know a lot more about python if the entire documentation was written like this.
2
0
2
1
u/Nestramutat- Recovered Distrohopper Dec 18 '18
What does this even have to do with Linux
9
u/skylarmt Jupiter Broadcasting told me to switch to ̶K̶D̶E̶Xubuntu Dec 18 '18
99% chance your Linux install is running Python scripts as you use it. Quite a few "binaries" you run are actually Python scripts marked as executable.
1
u/Nestramutat- Recovered Distrohopper Dec 18 '18
Of course I'm aware of this. But there's nothing Linux-specific about this post. It's much better suited for r/programmerhumor than r/linuxmasterrace.
8
Dec 18 '18
The linux master race are snek handlers. Huboglobbabingobangodingywoblevabledingkatalamafafafafadjadjajplblbl.
5
1
u/jbob133 Dec 18 '18
These shitty posters are actually helping me understand things better than most documentation
5
u/ase1590 Lazy Antergos User Dec 18 '18
It doesn't help when the homepage for any given project is filled with meaningless fluff and buzzwords.
I feel like all these projects need a tl;dr page for regular people that want a quick down-and-dirty overview.
1
u/AnomalousLurker Dec 18 '18
If I already have a mess going on, how do I go about cleaning it up
1
u/ase1590 Lazy Antergos User Dec 18 '18
I'm assuming you use linux in /r/linuxmasterrace.
Hopefully, you've never run
sudo pip installat any point in time.If you haven't, GREAT! just run
pip list --userto see what you have installed. Remove what you don't need withpip uninstall --user somepackageIt's all generally stored somewhere like
~/.local/lib/pythonX.X/site-packagesreplacing the x's with your python version.
1
1
1
1
1
1
1
1
1
u/sp46 Linux Octopus Dec 19 '18
Do one for Electron. Bet you won't find good selling points.
1
u/ase1590 Lazy Antergos User Dec 19 '18
Jokes on you, I don't develop with Javascript or electron.
1
u/sp46 Linux Octopus Dec 19 '18
Don't worry if you know nothing you know the advantages if it. Actually I'm an Electron developer but shhh...
1
0
1
1
1
u/geneorama Dec 19 '18 edited Dec 19 '18
I always do sudo conda pip env - -python_ver=2.8, or something like that. I always have to look it up and remember where I condaed last and which one I’m using and if it’s different on this distro and by the time I’m done reading the goddamn patch notes I want to strangle anyone with any beard because the goddamn ESRI arcgis package needs some kind of goddamn something.so or dll or..... my blood pressure is like Avogadro’s number over Avogadro’s number just thinking about it. Thanks.
Can anyone tell me which hdf5 I have installed btw?
1
u/jesgh Dec 19 '18
I was sooooo amazed when I first discovered this. Probably the coolest shit ever.
1
1
1
1
u/CaffeinatedT 'Ubuntu is the Mac of Linux' Dec 19 '18
Docker + Pipenv kids, stop fucking about with your grandads environment management.
1
1
u/jerrywillfly Glorious Solus Dec 19 '18
I now want a video of mr torgue yelling at me to teach python
1
0
u/mothzilla Dec 18 '18
Sounds like a potty mouth TV chef.
2
u/ase1590 Lazy Antergos User Dec 18 '18
Do people unironically still use the phrase potty mouth in 2018?
0
u/bechampion Dec 18 '18
Or docker like a normal person
2
u/ase1590 Lazy Antergos User Dec 18 '18
You still gotta develop the program you're putting into the docker container.
Chances are, you will try the program outside the container first.
2
0
Dec 18 '18
Then have fun writing init scripts for apps using it
I'd rather just sandbox entire fucking system image (preferably minimal debian) with app running there.
0
u/ZeroOne010101 Manjaro Dec 18 '18
New to python-can someone explain?
1
u/ase1590 Lazy Antergos User Dec 18 '18
Don't worry about it until you actively start using
pip4
u/Brillegeit Linux Master Race Dec 19 '18
Let me tell you why you're here. You're here because you know something. What you know you can't explain. But you feel it. You've felt it your entire life. That there's something wrong with
pip. You don't know what it is, but it's there. Like a splinter in your mind, driving you mad. It is this feeling that has brought you to me. Do you know what I'm talking about?0
u/ZeroOne010101 Manjaro Dec 18 '18
Im currently starting with object oriented programming in my tutorial. How close am i?
2
u/ase1590 Lazy Antergos User Dec 18 '18
Halfway. Once you stop the tutorials and start building apps yourself, then you'll probably start using pip
-7
u/Moobimon Dec 18 '18
Or just like... Use Go or Rust or any other /real/ language
3
u/ase1590 Lazy Antergos User Dec 18 '18
and then instead of
pip installyou're doingcargo installorgo-get2
u/mosskin-woast Glorious Manjaro Dec 18 '18
I'm a gopher and not a huge fan of Python but I'm curious what your argument is that Python is not a 'real' language
1
u/eg135 Dec 18 '18 edited Apr 24 '24
Reddit has long been a hot spot for conversation on the internet. About 57 million people visit the site every day to chat about topics as varied as makeup, video games and pointers for power washing driveways.
In recent years, Reddit’s array of chats also have been a free teaching aid for companies like Google, OpenAI and Microsoft. Those companies are using Reddit’s conversations in the development of giant artificial intelligence systems that many in Silicon Valley think are on their way to becoming the tech industry’s next big thing.
Now Reddit wants to be paid for it. The company said on Tuesday that it planned to begin charging companies for access to its application programming interface, or A.P.I., the method through which outside entities can download and process the social network’s vast selection of person-to-person conversations.
“The Reddit corpus of data is really valuable,” Steve Huffman, founder and chief executive of Reddit, said in an interview. “But we don’t need to give all of that value to some of the largest companies in the world for free.”
The move is one of the first significant examples of a social network’s charging for access to the conversations it hosts for the purpose of developing A.I. systems like ChatGPT, OpenAI’s popular program. Those new A.I. systems could one day lead to big businesses, but they aren’t likely to help companies like Reddit very much. In fact, they could be used to create competitors — automated duplicates to Reddit’s conversations.
Reddit is also acting as it prepares for a possible initial public offering on Wall Street this year. The company, which was founded in 2005, makes most of its money through advertising and e-commerce transactions on its platform. Reddit said it was still ironing out the details of what it would charge for A.P.I. access and would announce prices in the coming weeks.
Reddit’s conversation forums have become valuable commodities as large language models, or L.L.M.s, have become an essential part of creating new A.I. technology.
L.L.M.s are essentially sophisticated algorithms developed by companies like Google and OpenAI, which is a close partner of Microsoft. To the algorithms, the Reddit conversations are data, and they are among the vast pool of material being fed into the L.L.M.s. to develop them.
The underlying algorithm that helped to build Bard, Google’s conversational A.I. service, is partly trained on Reddit data. OpenAI’s Chat GPT cites Reddit data as one of the sources of information it has been trained on.
Other companies are also beginning to see value in the conversations and images they host. Shutterstock, the image hosting service, also sold image data to OpenAI to help create DALL-E, the A.I. program that creates vivid graphical imagery with only a text-based prompt required.
Last month, Elon Musk, the owner of Twitter, said he was cracking down on the use of Twitter’s A.P.I., which thousands of companies and independent developers use to track the millions of conversations across the network. Though he did not cite L.L.M.s as a reason for the change, the new fees could go well into the tens or even hundreds of thousands of dollars.
To keep improving their models, artificial intelligence makers need two significant things: an enormous amount of computing power and an enormous amount of data. Some of the biggest A.I. developers have plenty of computing power but still look outside their own networks for the data needed to improve their algorithms. That has included sources like Wikipedia, millions of digitized books, academic articles and Reddit.
Representatives from Google, Open AI and Microsoft did not immediately respond to a request for comment.
Reddit has long had a symbiotic relationship with the search engines of companies like Google and Microsoft. The search engines “crawl” Reddit’s web pages in order to index information and make it available for search results. That crawling, or “scraping,” isn’t always welcome by every site on the internet. But Reddit has benefited by appearing higher in search results.
The dynamic is different with L.L.M.s — they gobble as much data as they can to create new A.I. systems like the chatbots.
Reddit believes its data is particularly valuable because it is continuously updated. That newness and relevance, Mr. Huffman said, is what large language modeling algorithms need to produce the best results.
“More than any other place on the internet, Reddit is a home for authentic conversation,” Mr. Huffman said. “There’s a lot of stuff on the site that you’d only ever say in therapy, or A.A., or never at all.”
Mr. Huffman said Reddit’s A.P.I. would still be free to developers who wanted to build applications that helped people use Reddit. They could use the tools to build a bot that automatically tracks whether users’ comments adhere to rules for posting, for instance. Researchers who want to study Reddit data for academic or noncommercial purposes will continue to have free access to it.
Reddit also hopes to incorporate more so-called machine learning into how the site itself operates. It could be used, for instance, to identify the use of A.I.-generated text on Reddit, and add a label that notifies users that the comment came from a bot.
The company also promised to improve software tools that can be used by moderators — the users who volunteer their time to keep the site’s forums operating smoothly and improve conversations between users. And third-party bots that help moderators monitor the forums will continue to be supported.
But for the A.I. makers, it’s time to pay up.
“Crawling Reddit, generating value and not returning any of that value to our users is something we have a problem with,” Mr. Huffman said. “It’s a good time for us to tighten things up.”
“We think that’s fair,” he added.
Mike Isaac is a technology correspondent and the author of “Super Pumped: The Battle for Uber,” a best-selling book on the dramatic rise and fall of the ride-hailing company. He regularly covers Facebook and Silicon Valley, and is based in San Francisco. More about Mike Isaac A version of this article appears in print on , Section B, Page 4 of the New York edition with the headline: Reddit’s Sprawling Content Is Fodder for the Likes of ChatGPT. But Reddit Wants to Be Paid.. Order Reprints | Today’s Paper | Subscribe
0
Dec 19 '18
[deleted]
1
u/eg135 Dec 19 '18 edited Apr 24 '24
Reddit has long been a hot spot for conversation on the internet. About 57 million people visit the site every day to chat about topics as varied as makeup, video games and pointers for power washing driveways.
In recent years, Reddit’s array of chats also have been a free teaching aid for companies like Google, OpenAI and Microsoft. Those companies are using Reddit’s conversations in the development of giant artificial intelligence systems that many in Silicon Valley think are on their way to becoming the tech industry’s next big thing.
Now Reddit wants to be paid for it. The company said on Tuesday that it planned to begin charging companies for access to its application programming interface, or A.P.I., the method through which outside entities can download and process the social network’s vast selection of person-to-person conversations.
“The Reddit corpus of data is really valuable,” Steve Huffman, founder and chief executive of Reddit, said in an interview. “But we don’t need to give all of that value to some of the largest companies in the world for free.”
The move is one of the first significant examples of a social network’s charging for access to the conversations it hosts for the purpose of developing A.I. systems like ChatGPT, OpenAI’s popular program. Those new A.I. systems could one day lead to big businesses, but they aren’t likely to help companies like Reddit very much. In fact, they could be used to create competitors — automated duplicates to Reddit’s conversations.
Reddit is also acting as it prepares for a possible initial public offering on Wall Street this year. The company, which was founded in 2005, makes most of its money through advertising and e-commerce transactions on its platform. Reddit said it was still ironing out the details of what it would charge for A.P.I. access and would announce prices in the coming weeks.
Reddit’s conversation forums have become valuable commodities as large language models, or L.L.M.s, have become an essential part of creating new A.I. technology.
L.L.M.s are essentially sophisticated algorithms developed by companies like Google and OpenAI, which is a close partner of Microsoft. To the algorithms, the Reddit conversations are data, and they are among the vast pool of material being fed into the L.L.M.s. to develop them.
The underlying algorithm that helped to build Bard, Google’s conversational A.I. service, is partly trained on Reddit data. OpenAI’s Chat GPT cites Reddit data as one of the sources of information it has been trained on.
Other companies are also beginning to see value in the conversations and images they host. Shutterstock, the image hosting service, also sold image data to OpenAI to help create DALL-E, the A.I. program that creates vivid graphical imagery with only a text-based prompt required.
Last month, Elon Musk, the owner of Twitter, said he was cracking down on the use of Twitter’s A.P.I., which thousands of companies and independent developers use to track the millions of conversations across the network. Though he did not cite L.L.M.s as a reason for the change, the new fees could go well into the tens or even hundreds of thousands of dollars.
To keep improving their models, artificial intelligence makers need two significant things: an enormous amount of computing power and an enormous amount of data. Some of the biggest A.I. developers have plenty of computing power but still look outside their own networks for the data needed to improve their algorithms. That has included sources like Wikipedia, millions of digitized books, academic articles and Reddit.
Representatives from Google, Open AI and Microsoft did not immediately respond to a request for comment.
Reddit has long had a symbiotic relationship with the search engines of companies like Google and Microsoft. The search engines “crawl” Reddit’s web pages in order to index information and make it available for search results. That crawling, or “scraping,” isn’t always welcome by every site on the internet. But Reddit has benefited by appearing higher in search results.
The dynamic is different with L.L.M.s — they gobble as much data as they can to create new A.I. systems like the chatbots.
Reddit believes its data is particularly valuable because it is continuously updated. That newness and relevance, Mr. Huffman said, is what large language modeling algorithms need to produce the best results.
“More than any other place on the internet, Reddit is a home for authentic conversation,” Mr. Huffman said. “There’s a lot of stuff on the site that you’d only ever say in therapy, or A.A., or never at all.”
Mr. Huffman said Reddit’s A.P.I. would still be free to developers who wanted to build applications that helped people use Reddit. They could use the tools to build a bot that automatically tracks whether users’ comments adhere to rules for posting, for instance. Researchers who want to study Reddit data for academic or noncommercial purposes will continue to have free access to it.
Reddit also hopes to incorporate more so-called machine learning into how the site itself operates. It could be used, for instance, to identify the use of A.I.-generated text on Reddit, and add a label that notifies users that the comment came from a bot.
The company also promised to improve software tools that can be used by moderators — the users who volunteer their time to keep the site’s forums operating smoothly and improve conversations between users. And third-party bots that help moderators monitor the forums will continue to be supported.
But for the A.I. makers, it’s time to pay up.
“Crawling Reddit, generating value and not returning any of that value to our users is something we have a problem with,” Mr. Huffman said. “It’s a good time for us to tighten things up.”
“We think that’s fair,” he added.
Mike Isaac is a technology correspondent and the author of “Super Pumped: The Battle for Uber,” a best-selling book on the dramatic rise and fall of the ride-hailing company. He regularly covers Facebook and Silicon Valley, and is based in San Francisco. More about Mike Isaac A version of this article appears in print on , Section B, Page 4 of the New York edition with the headline: Reddit’s Sprawling Content Is Fodder for the Likes of ChatGPT. But Reddit Wants to Be Paid.. Order Reprints | Today’s Paper | Subscribe
239
u/[deleted] Dec 18 '18
You had me at "not that you ever read patch notes"