Mark NSFW posts as such or it risks being removed. It took me more than a year of self-taught study before I got a freelance gig. This can be with the below code: The first two lines take care of downloading the image. ... help Reddit App Reddit coins Reddit premium Reddit gifts. Take it somewhere else, thanks. First things first – packages. You can change the captions however you like. We randomly select a caption by using the sample function, of course. Log in or sign up to leave a comment Log In Sign Up. 269k Followers, 951 Following, 2,481 Posts - See Instagram photos and videos from Memes On Coding (@meme_coding) Once you’ve run this line, you’ll have your meme with a caption. Someone saying something funny on twitter/tumblr/reddit/etc. ( Log Out /  This can be accomplished with redImgData %>% map(xml_attrs) %>% map_df(~as.list(.)) Okay, let’s get to it. Change ), You are commenting using your Twitter account. * Please read this list, Mods may remove low quality posts at their discretion, including reaction memes. Around this time, the American Chopper Argument meme was becoming popular. You’ll find everything from current events, sports updates, drama, funny memes, and more. This is normal and part of the process. Please do not troll, harass, or be generally rude to your fellow users. User account menu. This will be the URL of the image (i.e., meme) that is eventually generated. Rule 1 - ALL POSTS MUST BE MEMES. We can accomplish this with the following code: Hopefully the core logic is clear. To offer value. Press question mark to learn the rest of the keyboard shortcuts Next Up In Tech Everybody’s Going to Substack. And guess what, the only thing we care about is the third column (src) which contains the exact URL of each image on the main subreddit page. Join. Here’s the meme I got on one run of the script up to this point: Now, all that’s left to do is add a caption. "Learn to Code" is an expression used to troll journalists who were laid off from their jobs, encouraging them to learn software development as an alternate career path. to the plot. The reason so many people get frustrated and ultimately give up on learning to code isn’t because coding is hard. The next package, rvest is for scraping web pages. 767. ... Hello! What we want to do is turn this into a data frame to make it easier to work with. I don’t think he ever thought I would seriously ever attempt to do so. CodeHub is the best platform if you are dedicated to learning to code quickly and efficiently. And that it’ll do it for the meme-ry today! We’re after the source (which is actually the exact URL of the image). Hot. Rule 2. The final two arguments are the right and top x and y positions respectively. If you’ve actually read the About (sticky) post, you will have noticed a slight dig at my forecasting professor: “Like any sane person (i.e., basically everyone but my Forecasting Professor who insists that base R is a superior work environment – he’s wrong), I work in RStudio.” You see, my forecasting professor absolutely refused to use RStudio despite me (and the rest of our class) rightly arguing that RStudio is vastly superior to the standard R interface. Learn syntax All posts must be memes and follow a general meme setup. Change ), You are commenting using your Facebook account. If you actually looked at what redImgData looks like at this point, you would see it’s pretty ugly. Please link to images directly. Pictures without captions may be removed by a moderators discretion. I.e., a false positive in a sense. Rule 1. You guessed it: white. Rule 7 - NO META-REDDIT REFERENCES, SUCH AS: Rule 9 - NO FORCED/OVERUSED MEMES/BAD TITLES/PUSHING AGENDAS/REACTION MEMES UNDER LOW QUALITY IMAGES, Rule 10 - NO MEMES ABOUT DEATHS/TERROR ATTACKS/WAR/VIOLENT TRAGEDIES/RAPE/MASS SHOOTINGS/ETC, Queue flooding is not allowed in this subreddit. Nearly every white-collar job on the planet involves tons of work that can be done more efficiently if you know a bit of coding. Rule 2 - MEMES SHOULD BE GENERAL, NOT SPECIFIC PERSONAL EXPERIENCES, Rule 3 - NO SPAM/WATERMARKS, NO CHAINPOSTING/SPLIT POSTS, NO UNMARKED NSFW, Rule 4 - NO RACISM/HATE SPEECH/TROLLING/HARASSMENT OR SUBREDDIT/SITE RAIDING, Rule 5 - PLEASE DO NOT POST OR REQUEST PERSONAL INFORMATION, Rule 6 - DIRECT IMAGE LINKS ONLY + NO VIDEO POSTS. We’ll talk about customizing this next week). All posts containing social media IDs/usernames will be removed. We can add a caption at random to the plot with the following code: Note that title has many more arguments but these are the only 3 necessary for our purposes. “ Don’t learn to code, learn to automate, ” writes the coder Erik Dietrich. You don't really learn unless you struggle through it. A way of describing cultural information being shared. R + Reddit = Memes (Part 1: A Simple Meme Script) When the good people of CRAN created R, I’m sure they envisioned it being used for great things, from analyzing important data to being used as a great tool for teaching and demonstrations and everything else in between. So enough with the story time. In fact, %>% is the “main” pipe operator in R. Basically, the best way to think about pipe operators is to think as them as a more succinct way to do “functions of a function.” It is hard to put in words what it actually does. Pretty darn ugly: However, if you look closely, each element of the above blob contains three different things: the “class” of the item, the “style” of the item and the “src” (i.e., “source”) of the image. Memes! Well you're in luck, because here they come. 3. fuck it it's working now. Why is the "learn to code" meme considered so offensive? This is bang on. It should not be the first (or whole) process. And I sincerely thank you. New Lines & Paragraphs 5. Serial reposters may be banned. As leaders in online education and learning to code, we’ve taught over 45 million people using a tested curriculum and an interactive learning environment. The second line is where the dankness starts to begin. rasterImage is what actually plots our meme. Following this, we can hand redditURL to the function html_nodes (which is also from rvest). In doing so, I used this tutorial as a guide – and I would highly recommend it if you want more information on using this package. We have zero tolerance for this behavior. For more information, again I would refer you to this tutorial. Check out our top posts from this past week! The Fetid, Right-Wing Origins of “Learn to Code” How an online swarm has developed a sophisticated mechanism to harass and gaslight journalists—and to get mainstream media outlets to join in. My usage of them is based on what the tutorial referenced above does! The next two arguments are the left and bottom x and y positions respectively. As the semester went on, I made some more memes making light of various personality quirks and beliefs. “Learn to code” is not a viral phrase that’s being spammed to out-of-work journalists; it’s a targeted attack disguised as a meme. Let’s get to generating memes. help Reddit App Reddit coins Reddit premium Reddit gifts. To get a data frame, we “pipe” this result into map_df(~as.list(.)). In other words, you’ll have a reaction meme! guy's paradox 1. why the fuck won't this work? Do not post images with watermarks to other sites users. 14.1m members in the memes community. No images of upvote arrows, awards or screenshots of your karma. If it’s not, we’ll have R spit back an error. share. This helps make posts more relatable. Also Trending: 2020 United States Presidential Election GypsyCrusader (NSFW) 0. ... help Reddit App Reddit coins Reddit premium Reddit … 100% Upvoted.  In this case, it is of course meme. Want to join an active community? It’s because learning to code is hard. If you take a look at memeSrcs it will look something like this: Now, we simply do one more thing: we simply have R pick a URL at random. There are 688 reddit meme for sale on Etsy, and they cost $11.71 on average. Breaking this rule may result in a permanent ban. Memes! Updated every Sunday! The most common reddit meme material is ceramic. Please make posts general rather than specific personal experiences. The next thing we need to do is make sure the image contained at the URL contained in memeURL is a PNG or JPEG file. about careers press … learn programming ... Just started in the last week on free code academy and automate the Boring stuff. r/linguisticshumor Rules. College Memes r/ CollegeMemes. When the good people of CRAN created R, I’m sure they envisioned it being used for great things, from analyzing important data to being used as a great tool for teaching and demonstrations and everything else in between. 3. With that said, it’s a program that generates memes. Finally, we specify as the x and y labels as being blank for now. One thing to note is: our script will only work as long as the image provided is in fact in PNG or JPEG format. ( Log Out /  The first thing we’ll create is a vector of captions to draw upon. Headlines. save. We’re gonna need four packages to get this script rolling. Next, setting ann equal to TRUE let’s R know that we would like to be able to add annotations to the plot (i.e., axis labels, titles, ect.) Suddenly, there was a whole new world of jokes that now made you laugh and with each new language, you added to that. We want original content. Posts or comments that can be seen as glorifying violence will result in a ban. Absurd memes featuring politicians are allowed, but this sub does not allow content more suited for /r/politicalhumor. Links 3. Finally, all we have left to do is plot the meme . Hence, in layman’s terms, html_nodes(redditURL, css = ".media-element") essentially tells R where to “look” for images on the webpage. While that message may seem innocuous, the nature of 4chan meant that anyone receiving messages saying “learn to code” online was shot through with anti-Semitism, racism, and general hate. The trope led to the rise in popularity of similar jokes such as c… If your meme is selected, you'll get Reddit Premium! Change ), You are commenting using your Google account. There’s just so much stuff you need to learn. But, you’re generating memes. No "Upvote in..." or "Downvote if..." type titles or memes. save. To make money. Maybe you can automate collecting info for reports; maybe you can automate dull, routine emails. share. The whole "everyone should learn programming" meme has gotten so out of control that the mayor of New York City actually vowed to learn to code in 2012. Please do not mention upvotes/downvotes/cake days/karma/followers/etc. This is equivalent to the following: map_df((map(redImgData, xml_attrs)), ~as.list(.)). Below is the download link for the script we created today. Lists 4. Racist and bigoted memes, harassment, and raiding other subreddits/sites can lead to a permanent ban at the moderators discretion. Internet Meme Database | Know Your Meme 🗳️ Cast Your Vote For The Meme Of 2020! So, we have this nice little data frame (or excuse me, tibble) made up of some HTML and CSS information. In the second line, we overwrite redditURL with read_html(redditURL). We want a data frame! It's all coming back to me pretty quickly and it's incredibly exciting. Moreover, the image and caption may not necessarily “match” perfectly. The first argument is the URL from to which to download from and the second argument is the file name for which to save the file to. (if you did not make it, it is not OC), Obvious reposting on purpose OR asking for reposts can result in a BAN, No forced memes, overused memes, bad titles, or pushing agendas, Be creative but memes must come naturally, Memes that have been overused/played out to the point of being spammy will be removed. In this first part of what I’ll refer to as MEME MONDAY (alliteration for the win), we’re going to write a simple script that pulls an image from Reddit and gives it a random caption selected from a vector of captions. Press question mark to learn the rest of the keyboard shortcuts. Do not spam this sub. It’s messy, loaded with jargon and it leads to extreme information overload. First, we use tempfile to create a temporary file name. All posts must be memes … Learn the technical skills you need for the job you want. ( Log Out /  So, we simply extract this column using memeSrcs <- as.data.frame(redImgData["src"]). 1. (See also: snowflake.) What grepl does is look to see if the string is found within the character object. It took me a while to get the right combination of things to finally get a successful script going. Fill in your details below or click an icon to log in: You are commenting using your WordPress.com account. What might not be clear is what the function grepl does. grepl takes two arguments: a string and a character object. No memes about violent tragedies or anything that could be seen as glorifying violence. Join. Enjoy memes? The series of if statements (of which the logic is hopefully clear) takes care of this. Once you start learning to code, you're going to run into problems that you don't know how to solve. In this quick guide on Reddit formatting, I’ll help you understand the formatting tags and the syntax you can use in your comments to increase readability and engagement.. Table of Contents 1. Again, it often works quite well If you align these with your coordinates (so in our case, these are equal to 1 and 1 respectively). Coding has exploded in recent years, changing from something used in computer games and the occasional electronic device, to something which shapes the way that we live in the modern world.This means that now is an excellent time for learning how to code for beginners.. in your post in any form. Images of being banned or having a post removed from any subreddit will be removed and subject to ban. Begging for karma in the comments may earn you a lengthy (perhaps infinite) ban. To put it another way, I can learn how to build an idea. ), I came up with a great idea. Do not post raid messages or encourage others to flood or spam another subreddit or website. You can ignore mode. Taken from Joe Rogan Experience #1242 w/Tim Pool: https://www.youtube.com/watch?v=02ux1dKNPXo What they might not have counted on it being used for is to generate pointless (yet certainly fresh and dank) memes. 0. Anyone can join Reddit for free and browse thousands of subreddits, which are essentially pages that are dedicated to different topics. r/memes Rules. M ost of the tweets said “learn to code” or a variation on the theme, a phrase that, like plenty of once-innocent terms of art, has come to carry a sinister second-order significance. 🗳️ These functions are quite similar to apply but I’m not going to get into the particulars. Although it may seem like arcane stuff to all those outsiders, here are some of the funniest computer programming memes. 1. And to be honest, this program has very little practical value so I’m not going to spend my life trying to figure what causes this hiccup one out every so many memes! Here’s the above meme with the caption I ended up getting: Here’s a few other memes the script generated for me that I found particularly funny: As I said, the captions don’t always 100% match up with the meme in question…but even so, the results still tend to turn out pretty hilarious! ( Log Out /  It’s classist. One day my Data Methods professor jokingly told me that I should I write a program in R that will just generate memes automatically. For demonstration purposes, I’ll be using the following captions: With that created, the next task to is to actually scrape reddit. Both methods will output the following: Well, so I lied a bit. Tables 6. u/Asticky_ View All Moderators. Pretty much every device, electronic item, and modern piece of machinery contains at least a little bit of code. The phrase was widely posted on Twitter following the announcement of layoffs at BuzzFeed and The Huffington Post in late January 2019. This is done with the following code: In the first line, we simply initialize our plot. No watermarks or shilling your favourite YouTube star. Well, joke’s on him. is not a meme. Keep comments civil and be respectful of your fellow users. The program we’ll write will essentially generate what some may call “reaction memes.” That is, there will be a picture and a caption beneath it. Direct links make browsing easier for those using RES or a mobile device. Let’s unpack this bad boy. Finally, by default, this URL will go to Hot posts regardless of subreddit. The rest was history. I generally find it best to align these with your coordinates: note that our x coordinates start at 0 and our y coordinates start at 0. For privacy reasons, I won’t be sharing the memes nor the names of my professors. We can nearly guarantee it. Mar 21, 2019 Author’s note — If you made it here, chances are you read the whole thing. Pretty straightforward. Why are you so picky? Because that’s exactly what I’ve done. The best way to describe what it does in this case is to simply to tell you what it is equivalent to: redImgData %>% map(xml_attrs) is equivalent to map(redImgData, xml_attrs). If your meme is selected, you'll get Reddit Premium! But, as it stands now, this blob isn’t nice to work with. That meme became enshrined in the department’s history and now hangs on a clipboard in the department. Image type not supported. How ugly? I would photoshop the face of my forecasting professor on one of the guy’s faces, and I would photoshop the face of my Data Methods professor (who IS a sane person and advocates the use of RStudio) on the other guy’s face and I would caption the meme to have them arguing about RStudio. Next, we use the line and cex.lab arguments to play around with the positioning of the label (i.e., the caption) and the font size respectively. Know Your Meme is a website dedicated to documenting Internet phenomena: viral videos, image macros, catchphrases, web celebs and more. Start with HTML, CSS, JavaScript, SQL, Python, Data Science, and more. Programming Socks is a term given to specific types of knee socks and thigh highs which became notable for often being worn by femine looking and crossdressing men who do computer programming for a hobby or profession. This includes (but is not limited to) karma-adjacent words/phrases like "front page" or "sort by new". The result is something like this: At this point, we are getting close to a freshly generated dank meme. Really. One night after finishing some forecasting homework (in RStudio! Linking to your social media, or spamming links with it watermarked can result in a ban. Next, we use download.file to download the image. Please do not post or request personal information, yours or others. One note of caution: this code probably isn’t full proof. You know what, before doing that, let’s do one more thing: talk about limitations. Limit your posts to five or less per day, Press J to jump to the feed. So at the very least, keep your approach simple. Those belong elsewhere. 0 4 40. comments. Reddit Formatting – The Basics To understand what the above does, you’ll need a quick lesson on pipe operators. Now, I will be the first to admit I don’t 100% understand all the ins and outs of using the functions in this package. -> redImgData. Here is the code for doing so: If this were a test, this is obviously the point where it gets difficult. 2. how the fuck is "this" working? Do you remember when you learned your first programming language? Send your own Memes and Art to Asmongold's Sub-Reddit and Asmon will check them out on stream if you get enough upvotes! Posted ... r/memes. Yes, you can read Reddit at work and not get caught. Memes aren’t meant to look pretty. My name is Elder Fuþark! No real important reason. One little to caveat: sometimes, some little thing that I can’t seem to pin down goes wrong with the web-scraping and R will output an error about not being able to find “src.” However, this tends to be a pretty rare occurrence. report. We can breath a sigh of relief though: we are done with the web scraping! Hence, the first if statement says, if you find “.jpg” in memeURL, then note that its type is “JPEG”. So let’s talk a little about what that code actually does. Did you scroll all this way to get facts about reddit meme? So, why did we pipe instead of doing it the nested way? Log In Sign Up. Enjoy Spongebob? Hence, this is how we tell whether we are working with a PNG or a JPEG. Try pointing towards a different image. This is where the aptly named packages jpeg and png come in handy. Change ), When your forecasting professor refuses to use R Studio, Waiting your forecasting professor to install a package like, When your forecasting professor tells you that you can't install gEcon using RStudio, When your forecasting professor encourages the whole class to try new things but refuses to try RStudio, When your data methods professor starts talking about how great SAS is, When your forecasting professor when he finds out he's forced to sit with his forecasting class at the Omicron Delta Epsilon dinner, When your data methods professor says that SAS is better than R, When your forecasting professor says that R is better than SAS, Your forecasting professor's reaction to everyone telling him he's wrong for not using RStudio, https://www.reddit.com/r/MemeTemplatesOfficial/, > redImgData %>% map(xml_attrs) %>% map_df(~as.list(.)). Image isn't a JPEG or PNG file. It could be within the realm of possibility that the big ugly URL in memeURL just happens to contain “.jpg” (or “.png”) but it not actually be the file extension. So, for these arguments, we set both equal to 0. No 'split' or 'linked' posts - either between yourself or other users. If there is multi-step process to learning how to create an HTTP server (like the example above), the code snippet should be the last part. The first line of code just saves the URL of the subreddit we’re going to scrape from to an object called redditURL for easy reference (note: for demonstration purposes, I’m scraping from MemeTemplatesOfficial. Basic Reddit Formatting 2. The most popular color? Your meme must not be too specific such that it is practically unrelatable even for a student. Sort by. We can have R do this using the sample function: memeURL <- memeSrcs[sample(1:13,1),1]. We’re going to be doing exactly that today. Try learning 1 in 1 year. Finally, we need two functions from the tidyverse – specifically, from the purrr package: map and map_df. 1. You can change these (along with the values in the next line in rasterImage) to play around with aspect ratio if you’d like. Whatever your preference, we can move on now. However, I will describe the meme that was probably everyone’s favorite. If you’re not familiar with lists, I’ll be talking about them this Friday so don’t sweat it. Also note, this series of if statements has a failsafe at the end just in the rare chance that the image downloaded isn’t actually a PNG or JPEG file. A lot of weebs memes … Press question mark to learn the rest of the keyboard shortcuts. You can change this to a subreddit of your choice but do note your milage may vary in terms of success – this is especially if true if the subreddit you choose doesn’t actually tend to have a lot of images! In the first if statement, the string is “jpg” and the character object is memeURL. In addition, we also hand html_nodes a value for the argument css: “.media-element.” .media-element is the “CSS-selector” for images in most subreddits. User account menu. That said, going through thousands of subreddits to find the right one for you can … So that’s why even though I’m 56, I’m learning to code.