30

Official Release of Wikipedia Bot is Here

How to Use: @wiki <Query>

Runs on cron job, every minute.

If there is literally no Wikipedia page for query, still gets a relevant result.

Demo in Comments.

Comments
  • 1
    @wiki Lorem ipsum
  • 4
    @theabbie In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used before final copy is available, but it may also be used to temporarily replace copy in a process called greeking, which allows designers to consider form without the meaning of the text influencing the design.

    https://en.wikipedia.org/wiki/...
  • 6
    @wiki Hello world!
  • 6
    @Jilano A "Hello, World!" program generally is a computer program that outputs or displays the message "Hello, World!". Such a program is very simple in most programming languages, and is often used to illustrate the basic syntax of a programming language. It is often the first program written by people learning to code. It can also be used as a sanity test to make sure that a computer language is correctly installed, and that the operator understands how to use it.

    https://en.wikipedia.org/wiki/...
  • 0
  • 8
    @theabbie Could be useful, but the image might not be worth (mostly due to devRant's compression even though it could serve a purpose for certain entries)
  • 1
    @Jilano It does look good with image, if quality is the problem, I can use DuckDuckGo for images, it gives better quality images
  • 7
    Not too bad actually. Open source?
  • 7
    @wiki mass surveillance
  • 4
    @linuxxx Mass surveillance is the intricate surveillance of an entire or a substantial fraction of a population in order to monitor that group of citizens. The surveillance is often carried out by local and federal governments or governmental organisations, such as organizations like the NSA and the FBI, but it may also be carried out by corporations (either on behalf of governments or at their own initiative). Depending on each nation's laws and judicial systems, the legality of and the permission required to engage in mass surveillance varies. It is the single most indicative distinguishing trait of totalitarian regimes. It is also often distinguished from targeted surveillance.

    https://en.wikipedia.org/wiki/...
  • 2
  • 5
    @theabbie No matter the original quality, it'll get butchered anyway. But more than that, is it useful in the first place?

    For example, the link is great I case you want to learn more or the summary isn't long enough, but the image? It might be for something with an easily recognised image/schematic, but that's it.

    Edit: If this page gets ranked high enough on Google, we might get super meta and linked on the Wikipedia's related page.
  • 1
    @linuxxx Facebook (stylized as facebook) is an American online social media and social networking service based in Menlo Park, California, and a flagship service of the namesake company Facebook, Inc. It was founded by Mark Zuckerberg, along with fellow Harvard College students and roommates Eduardo Saverin, Andrew McCollum, Dustin Moskovitz, and Chris Hughes.

    https://en.wikipedia.org/wiki/...
  • 1
    @AlgoRythm Yeah, but you like breaking stuff, Still here it is, https://gist.github.com/theabbie/...
  • 5
    I'm waiting for the source but I agree that the image is redundant and I hate to see it use up server space, especially since it's unreadable and doesn't actually contribute much (since the content is the text, and the image is just for effect)
  • 3
    I think we have to fix Facebook's Wikipedia page, it should list something related to that @wiki mass surveillance
  • 1
    @linuxxx Mass surveillance is the intricate surveillance of an entire or a substantial fraction of a population in order to monitor that group of citizens. The surveillance is often carried out by local and federal governments or governmental organisations, such as organizations like the NSA and the FBI, but it may also be carried out by corporations (either on behalf of governments or at their own initiative). Depending on each nation's laws and judicial systems, the legality of and the permission required to engage in mass surveillance varies. It is the single most indicative distinguishing trait of totalitarian regimes. It is also often distinguished from targeted surveillance.

    https://en.wikipedia.org/wiki/...
  • 0
    @AlgoRythm Okay then, Image will not be present by default, maybe some flag to trigger it
  • 2
    @wiki no relevant result
  • 1
    @theuser Relevance is a measurement of the degree to which material (fact, detail or opinion) relates to the topic of an article. Degree of relevance should be taken into consideration for most decisions on whether or not to include material. This is a goal statement intended to influence the application and evolution of policies, guidelines and editorial processes, not to restate current policies and guidelines. Material that is irrelevant or out of scope to an article's topic can unnecessarily bloat an article, making it difficult for a reader to remain focused, and can also give the material undue weight.

    https://en.wikipedia.org/wiki/...
  • 1
    It doesn't look like it handles an empty mention

    @wiki
  • 1
    @AlgoRythm It will give wikipedia
  • 1
    @AlgoRythm I think image fucked up, will fix that
  • 0
  • 2
    @theabbie
    This page is available under the Creative Commons Attribution-ShareAlike License
    Terms of Use
    Privacy Policy

    https://www.wikipedia.org/
  • 0
    @AlgoRythm It looks ugly without image, but fine
  • 2
    @wiki Data breach
  • 3
    @AlmondSauce A data breach is the intentional or unintentional release of secure or private/confidential information to an untrusted environment. Other terms for this phenomenon include unintentional information disclosure, data leak, information leakage and also data spill. Incidents range from concerted attacks by black hats, or individuals who hack for some kind of personal gain, associated with organized crime, political activist or national governments to careless disposal of used computer equipment or data storage media and unhackable source.

    https://en.wikipedia.org/wiki/...
  • 4
    You are vulnerable to query parameter injection. I would recommend encoding the URI components before concatenating the string.

    For example if I do @ wiki &safe=false&site=(any site)

    It will interpret as actual query parameters
  • 0
    @AlmondSauce Do you like image in result or not?
  • 1
    @AlgoRythm It will be q=&safe=false.., not desirable, but not vulnerable, It will break though
  • 0
    @AlgoRythm Yeah, you can do that site thing, That needs more than just encoding
  • 0
    @wiki porn site:pornhub.org
  • 1
  • 3
    @theabbie vulnerable if I point it to a site that breaks devRant TOS or is illegal in your country, etc etc.

    Also there is no error handling so it looks like if you get one bad query, the whole program will fail, and if there are say, 5 queries within one minute, and the first breaks, the other 4 will too.

    It looks like the whole program would fail continuously because you don't clear notifications until the end, so the "bad" query would still get processed forever.
  • 1
    @AlgoRythm I should add try...catch block in loop, on error, skip it and cleae notification at end
  • 2
    Here is regex to remove site, is very simple.

    .replace(/site:/gi, "");
  • 1
    @AlgoRythm I want to remove the website following site: too, more like /site:\w+/gi
  • 1
    @theabbie clear notifications at the top, because it won't affect your array of already downloaded notifications. Also since the notifications may take time to process, it is less likely you clear an unprocessed notification
  • 1
    @theabbie I don't see a reason to remove that, it could be part of the user's actual query.

    Only remove the part you need. I would only remove the semicolon following "site" if I were you. That way it breaks the Google syntax but leaves as much of the original query as possible
  • 2
    Also, not sure why you are using express for this. If this is a cron job like you said, just call

    node /path/to/script

    In your crontab.

    Remove express, replace "app.get" with "main", and call main at the end of the file.

    Now your script doesn't need to run a whole web server just for a devRant bot
  • 1
    @AlgoRythm It's not running on my local machine or a VM, I am hosting it on Runkit, you can only host serverless endpoints there, I am using a seperate cron service that pings that endpoint Every minute.
  • 2
    @theabbie I see. That's a shame, it could be much more lightweight. Do you not have a personal server at your house or something? Raspberry Pi perhaps?
  • 1
    @AlgoRythm Not yet, How's it Shame? It's free afterall, I code on phone btw, I could even run it on phone, but hosting is more reliable.
  • 2
    @theabbie Not a big shame, but any waste of resources is a shame. Efficiency is beautiful.
  • 2
    @theabbie And I would very much recommend the purchase of a raspberry pi. They are very inexpensive and would be very good for you.
  • 1
    @AlgoRythm Still, how is that waste of resources? we need cron service for that, if it was on my local machine, it would use my resources, it's on cloud and is using there resources, same thing. or, are you talking about algorithm?
  • 1
    @theabbie I am talking about express. If I understand your script correctly, you do this:

    -You have a web server running constantly and waiting for any request (get/*)
    -Upon request, it runs the boy's job
    -Every minute, you send HTTP request to the running server to run the job

    You don't need to run a web server at all. You could simply do this:

    -Cron job starts your script every minute
    -Script does it's job as a bot
    -Script exits after it is done

    This way, you do not need to consume the memory of express, and an HTTP server. You also don't need to send any HTTP traffic to activate.
  • 2
    @theabbie I don’t get it why this bot just like the last one posts images THIS fucked. Is it somehow difficult to make the image quality better, especially when there is the highlight bot that gives good quality images?

    Aside from the image quality, wiki bot is great. Suitable for lmgtfy situations

    @wiki Bouba-kiki
  • 2
    @uyouthe The bouba/kiki effect is a non-arbitrary mapping between speech sounds and the visual shape of objects. This effect was first observed by German-American psychologist Wolfgang Köhler in 1929. In psychological experiments first conducted on the island of Tenerife (where the primary language is Spanish), Köhler showed forms similar to those shown at the right and asked participants which shape was called "takete" and which was called "baluba" ("maluma" in the 1947 version). Although not explicitly stated, Köhler implies that there was a strong preference to pair the jagged shape with "takete" and the rounded shape with "baluba".

    https://en.wikipedia.org/wiki/...
  • 3
    @uyouthe Honestly I suspect perhaps devRant noticed high volume of data from his network and is pumping up the compression as a reaction. The memes bot started off with relatively decent images, and now everything is DEEP fried.
  • 1
    Server is not as heavy as it might seem, and Runkit does it, and Using local machine or raspberry Pi will use power (though very little), and Runkit is good at hosting endpoints so they must be having an efficient way to host it and would use less resources. And I find cloud hosting better than local hosting, it's safe, reliable, scalable, and cheaper (free).
  • 2
    @AlgoRythm TIL devRant is a moderator on /r/deepfriedmemes
  • 0
    @uyouthe I removed that image part, if you want better quality images, I can use DDG for images, it's better than Google atleast in this case.
  • 3
    @theabbie I understand, and I understand your reasons for this design. My only comment was that there are better ways to activate a bot every minute than to have a web server running constantly.

    But since this is the way that you host your bot, it makes some sense.
  • 0
    @AlgoRythm no, Google is the culprit for images, they cache low quality images for performance.
  • 0
    @AlgoRythm In this case, I don't have any option, There are services like webtask which alllow inbuilt cron job without hosting, that would be better, The most efficient solution would be DevRant allowing webhook that will notify on any mention, till then, wasting resources is a necessity.
  • 1
    @wiki porn site:pornhub.org
  • 1
    @theabbie This is a list of gratis pornographic video sharing websites part of the Pornhub NETWORK, a campaign that link those sites to each other, including PornMD, which acts as their search engine. Most sites offer gratis pornography and are owned by MindGeek, but not all websites are shown here as they lack articles.

    https://en.wikipedia.org/wiki/...
  • 1
    Fixed it, updated gist, I still think clearing notification at end is better, because if somehow code fucks up, we won't lose unprocessed mentions.
  • 1
    @theabbie that's a valid solution. In my opinion, error handling should ensure nothing fucks up, and clearing notifications as soon as possible is best to make sure none get lost by accident
  • 1
    @AlgoRythm If multiple people invoke it in same thread, and it replies to one, all other will be marked as read automatically, still, I will move it to the top
  • 0
    Done everything, Not flawless, but will work
  • 0
  • 0
  • 1
    @theabbie The Sun is the star at the center of the Solar System. It is a nearly perfect sphere of hot plasma, heated to incandescence by nuclear fusion reactions in its core, radiating the energy mainly as light and infrared radiation. It is by far the most important source of energy for life on Earth. Its diameter is about 1.39 million kilometers (864,000 miles), or 109 times that of Earth, and its mass is about 330,000 times that of Earth. It accounts for about 99.86% of the total mass of the Solar System.
    Roughly three quarters of the Sun's mass consists of hydrogen (~73%); the rest is mostly helium (~25%), with much smaller quantities of heavier elements, including oxygen, carbon, neon, and iron.

    https://en.wikipedia.org/wiki/Sun
  • 1
    @theabbie Earth is the third planet from the Sun and the only astronomical object known to harbor life. According to radiometric dating estimation and other evidence, Earth formed over 4.5 billion years ago. Earth's gravity interacts with other objects in space, especially the Sun and the Moon, which is Earth's only natural satellite. Earth orbits around the Sun in about 365.25 days.

    https://en.wikipedia.org/wiki/Earth
  • 0
  • 1
  • 0
    @AlmondSauce Are you trying to tease me by mentioning data breach?
  • 1
  • 2
    @theabbie I like it :)

    @wiki sky's the limit
  • 2
    @iamai "Sky's the Limit" is the third and final single from The Notorious B.I.G.'s second album Life After Death. It features vocals from R&B group 112 and somber production from Clark Kent. It contains a sample from the songs "My Flame" by Bobby Caldwell and "Keep On" by D. Train. In the US, it was released as a triple A-side along with "Going Back to Cali" and "Kick In the Door". The track was certified Gold by the RIAA.

    https://en.wikipedia.org/wiki/..._(The_Notorious_B.I.G._song)
  • 1
  • 2
    @coffeedrinker Jean-Baptiste Joseph Fourier (/ˈfʊrieɪ, -iər/; French: [fuʁje]; 21 March 1768 – 16 May 1830) was a French mathematician and physicist born in Auxerre and best known for initiating the investigation of Fourier series, which eventually developed into Fourier analysis and harmonic analysis, and their applications to problems of heat transfer and vibrations. The Fourier transform and Fourier's law of conduction are also named in his honour. Fourier is also generally credited with the discovery of the greenhouse effect.

    https://en.wikipedia.org/wiki/...
  • 2
    Hmm. π doesn’t seem to work.
  • 0
  • 0
    @coffeedrinker The number π (/paɪ/) is a mathematical constant. It is defined as the ratio of a circle's circumference to its diameter, and it also has various equivalent definitions. It appears in many formulas in all areas of mathematics and physics. It is approximately equal to 3.14159. It has been represented by the Greek letter "π" since the mid-18th century, and is spelled out as "pi". It is also referred to as Archimedes' constant.

    https://en.wikipedia.org/wiki/Pi
  • 1
    @wiki eat🐥
  • 2
    @theAbbie, your bot has failed the Unicode test. 😔
  • 0
    Hey, that's nice, good job
    @wiki devRant
  • 0
  • 0
    TIL: there is no wiki page for devRant yet
    >:(
  • 1
    @subspace Uncle Sam (initials U.S.) is a common national personification of the U.S. federal government or the country in general that, according to legend, came into use during the War of 1812 and was supposedly named for Samuel Wilson. The actual origin is by a legend. Since the early 19th century, Uncle Sam has been a popular symbol of the US government in American culture and a manifestation of patriotic emotion. While the figure of Uncle Sam represents specifically the government, Columbia represents the United States as a nation.

    https://en.wikipedia.org/wiki/...
  • 0
    @wiki why is life
  • 1
    @ddit Life is a characteristic that distinguishes physical entities that have biological processes, such as signaling and self-sustaining processes, from those that do not, either because such functions have ceased (they have died), or because they never had such functions and are classified as inanimate. Various forms of life exist, such as plants, animals, fungi, protists, archaea, and bacteria. Biology is the science concerned with the study of life.

    https://en.wikipedia.org/wiki/Life
  • 1
    @theabbie it's pretty cool, but a cron job's not ideal, if you could subscribe to notifications that'd be better.

    also i'd add an argument onto the both to bring the image, something like

    @ wiki [ADD IMAGE] xyz
  • 0
  • 1
    @uziiuzair The Federal Bureau of Investigation (FBI) is the domestic intelligence and security service of the United States and its principal federal law enforcement agency. Operating under the jurisdiction of the United States Department of Justice, the FBI is also a member of the U.S. Intelligence Community and reports to both the Attorney General and the Director of National Intelligence. A leading U.S. counter-terrorism, counterintelligence, and criminal investigative organization, the FBI has jurisdiction over violations of more than 200 categories of federal crimes.

    https://en.wikipedia.org/wiki/...
  • 1
  • 2
    @bittersweet Pompoir is a sexual technique in which the woman uses her vaginal muscles to stimulate the man's penis. Both partners remain still, while the woman strokes the man's erection using rhythmic, rippling pulses of the pubococcygeus muscles, so this practice is best performed in a woman on top position.

    https://en.wikipedia.org/wiki/...
  • 2
  • 2
    @bittersweet "Thanks" is a common expression of gratitude.

    https://en.wikipedia.org/wiki/...
  • 2
    @wiki Yeah, I know that. I meant to express gratitude towards you, to let you know I appreciate the service.
  • 2
    @bittersweet The experience of gratitude has historically been a focus of several world religions. It has also been a topic of interest to ancient, medieval and modern philosophers, and continues to engage contemporary philosophers.

    https://en.wikipedia.org/wiki/...
  • 3
    @wiki And are you a philosopher, my dear bot?
  • 4
    @bittersweet My Dear Boy (Chinese: 我的男孩) is a 2017 Taiwanese television series produced by Ruby Lin and Lisa Tan (Lin's agent) written by Mag Hsu and directed by Hsu Fu-chun. It premiered on TTV and GTV in December 2017.

    https://en.wikipedia.org/wiki/...
  • 3
    @wiki Never heard about that. Is it on Netflix?
  • 3
  • 2
  • 2
    @bittersweet Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical theory. Rights are of essential importance in such disciplines as law and ethics, especially theories of justice and deontology.

    https://en.wikipedia.org/wiki/...
  • 4
    @wiki If all human have fundamental rights, do they also have fundamental lefts?
  • 4
    @bittersweet Fundamental rights are a group of rights that have been recognized by a high degree of protection from encroachment. These rights are specifically identified in a Constitution, or have been found under Due Process of law.

    https://en.wikipedia.org/wiki/...
  • 2
    @wiki You want a glass of cognac? We can stay up all night and talk.
  • 7
    @theabbie Hehe, bug?

    It answered me in the wrong rant:

    https://devrant.com/rants/2821893/...
  • 4
    @bittersweet it's a feature 😂
  • 0
    @bittersweet It's really weird when code works unexpectedly
  • 1
    @calmyourtities Subscribing to notification will only create a notification, you will still have to check notification regularly to check for mentions, Unless DevRant starts supporting webhook notification, there is no alternative but to use Cron Jobs
  • 0
  • 0
  • 0
  • 0
  • 1
  • 4
  • 0
    @C0D4, this post has been translated from English

    Official Release of Wikipedia Bot is Here

    How to Use: @wiki <Query>

    Runs on cron job, every minute.

    If there is literally no Wikipedia page for query, still gets a relevant result.

    Demo in Comments.
  • 1
    @translate The software utility cron also known as cron job is a time-based job scheduler in Unix-like computer operating systems. Users that set up and maintain software environments use cron to schedule jobs (commands or shell scripts) to run periodically at fixed times, dates, or intervals. It typically automates system maintenance or administration—though its general-purpose nature makes it useful for things like downloading files from the Internet and downloading email at regular intervals. The origin of the name cron is from the Greek word for time, χρόνος (chronos).

    https://en.wikipedia.org/wiki/Cron
  • 0
    @C0D4 It's unexpected, because if we google "eat🐥 wikipedia" we get results, maybe some encoding issues.
  • 0
    @wiki, this post has been translated from English

    Official Release of Wikipedia Bot is Here

    How to Use: @wiki <Query>

    Runs on cron job, every minute.

    If there is literally no Wikipedia page for query, still gets a relevant result.

    Demo in Comments.
  • 0
    @translate The software utility cron also known as cron job is a time-based job scheduler in Unix-like computer operating systems. Users that set up and maintain software environments use cron to schedule jobs (commands or shell scripts) to run periodically at fixed times, dates, or intervals. It typically automates system maintenance or administration—though its general-purpose nature makes it useful for things like downloading files from the Internet and downloading email at regular intervals. The origin of the name cron is from the Greek word for time, χρόνος (chronos).

    https://en.wikipedia.org/wiki/Cron
  • 0
    @wiki, this post has been translated from English

    Official Release of Wikipedia Bot is Here

    How to Use: @wiki <Query>

    Runs on cron job, every minute.

    If there is literally no Wikipedia page for query, still gets a relevant result.

    Demo in Comments.
  • 0
    @translate The software utility cron also known as cron job is a time-based job scheduler in Unix-like computer operating systems. Users that set up and maintain software environments use cron to schedule jobs (commands or shell scripts) to run periodically at fixed times, dates, or intervals. It typically automates system maintenance or administration—though its general-purpose nature makes it useful for things like downloading files from the Internet and downloading email at regular intervals. The origin of the name cron is from the Greek word for time, χρόνος (chronos).

    https://en.wikipedia.org/wiki/Cron
  • 7
    @C0D4 There we go, infinite loop of mentions
  • 0
    @wiki, this post has been translated from English

    Official Release of Wikipedia Bot is Here

    How to Use: @wiki <Query>

    Runs on cron job, every minute.

    If there is literally no Wikipedia page for query, still gets a relevant result.

    Demo in Comments.
  • 8
    @theabbie your bot attacked my bot.
    I turned my bot off.
  • 4
    @C0D4 I will delete latest comment
  • 6
    @C0D4 might need a bot list so that we don't infinite loop 🤔
  • 3
    @C0D4 Hope nobody saw this, they will surely misuse this
  • 7
    @C0D4 Honestly that's pretty interesting. You could totally battle bots on here.
  • 4
    I'll leave my bot offline and I'll create a bot list to ignore.
  • 2
    @theabbie *laughs* I was summoned by trouble.....
  • 2
    @C0D4 If there was a way to detect bot accounts, that would be easier
  • 1
    @wiki drinking at work
  • 1
    @unsignedint A nomikai (Japanese: 飲み会) is a drinking party phenomenon particular to Japanese culture. Nomikai are a part of the culture of most places of employment, from schools to nightclubs. They are most often held in restaurants or izakaya, usually with everyone seated at one large table or occupying a separated section of the venue.

    https://en.wikipedia.org/wiki/...
  • 1
    @AlgoRythm I surely got an idea of meme battle between bots, will need some work though
  • 2
    @theabbie There's not, and since bots still aren't technically allowed, there won't be for the forseeable future.
  • 4
    @AlgoRythm my bots ignore them selves... just to be sure that doesn't happen, but bot wars will certainly become a thing if we don't get a shared list together.

    @Skayo how do you feel adding an ignore list on to your bots so we don't end up with rants filling up with bot comments?
  • 0
    @AlgoRythm This infinite loop problem is bigger than it appears, He needs to update the bot list whenever there is a new bot
  • 2
    @C0D4 What's a good place to put a simple csv of bots? I was thinking someone's github.io?
  • 0
    @C0D4 Maybe check if it's not getting identical queries
  • 0
    @AlgoRythm That's not confidential information, so it's fine, I see what you are trying to imply there.
  • 3
    @dfox, would it be possible to add a flag into the user accounts that can be marked as "isBot" or something?

    For now, a shared list will do, still low number of bots. But multiple bots calling each other.... that's not going to end well.
  • 1
    @AlgoRythm probably a gist (csv) would be enough.
  • 1
    @C0D4 Make an unwritten rule to add #bot in bio for all bots, even if there is an isbot flag, people can choose to set it false and still use it as a bot
  • 0
  • 1
    @theabbie eat🐥 wikipedia
    undefined
  • 0
  • 1
    @theabbie eat🐥 Didn't work
  • 0
  • 1
    @theabbie π Didn't work
  • 1
    @theabbie π Didn't work
  • 0
    @-red I can't understand why π (and emojis) break it, are they legal ASCII characters?
  • 0
    @theabbie What's the error message?
  • 0
    @AlgoRythm When it searches "<query> wikipedia" and extracts first link, it's undefined. but if I search manually, there are results.
  • 0
  • 1
    @theabbie eat🐥 Didn't work, Error Message: Request path contains unescaped characters
  • 0
  • 1
    @theabbie π Didn't work, Error Message: Request path contains unescaped characters
  • 2
    @wiki you drunk bro?
  • 1
  • 0
  • 1
  • 0
  • 1
  • 0
  • 1
    @theabbie The Big Bang theory is a cosmological model of the observable universe from the earliest known periods through its subsequent large-scale evolution. The model describes how the universe expanded from an initial state of extremely high density and high temperature, and offers a comprehensive explanation for a broad range of observed phenomena, including the abundance of light elements, the cosmic microwave background (CMB) radiation, and large-scale structure.

    https://en.wikipedia.org/wiki/...
  • 0
    @F1973 Thank you so much, sir
  • 0
    @wiki phosphine
  • 1
    @kurast Phosphine (IUPAC name: phosphane) is a colorless, flammable, very toxic gas compound with the chemical formula PH3, classed as a pnictogen hydride. Pure phosphine is odorless, but technical grade samples have a highly unpleasant odor like rotting fish, due to the presence of substituted phosphine and diphosphane (P2H4). With traces of P2H4 present, PH3 is spontaneously flammable in air (pyrophoric), burning with a luminous flame.

    https://en.wikipedia.org/wiki/...
  • 1
  • 2
    @F1973 If you open that page, it's a common page for all Tits, be more specific
  • 3
    @F1973 Fuck is a profane English-language word which often refers to the act of sexual intercourse but is also commonly used as an intensifier or to denote disdain. While its origin is obscure, it is usually considered to be first attested to around 1475. In modern usage, the term fuck and its derivatives (such as fucker and fucking) can be used as a noun, a verb, an adjective, an interjection or an adverb. There are many common phrases that employ the word as well as compounds that incorporate it, such as motherfucker, fuckwit, fuckup, fucknut and fuck off.

    https://en.wikipedia.org/wiki/Fuck
  • 0
    @wiki Female Tits
  • 1
    @theabbie The breast is one of two prominences located on the upper ventral region of the torso of primates. In females, it serves as the mammary gland, which produces and secretes milk to feed infants. Both females and males develop breasts from the same embryological tissues. At puberty, estrogens, in conjunction with growth hormone, cause breast development in female humans and to a much lesser extent in other primates. Breast development in other primate females generally only occurs with pregnancy.

    https://en.wikipedia.org/wiki/...
  • 2
    @F1973 The great tit (Parus major) is a passerine bird in the tit family Paridae. It is a widespread and common species throughout Europe, the Middle East, Central Asia and east across the Palearctic to the Amur River, south to parts of North Africa where it is generally resident in any sort of woodland; most great tits do not migrate except in extremely harsh winters. Until 2005 this species was lumped with numerous other subspecies. DNA studies have shown these other subspecies to be distinctive from the great tit and these have now been separated as two distinct species, the cinereous tit of southern Asia, and the Japanese tit of East Asia. The great tit remains the most widespread species in the genus Parus.

    https://en.wikipedia.org/wiki/...
  • 1
    @F1973 Cleavage is the narrow depression or hollow between human breasts. The top portion of cleavage may be accentuated by clothing such as a low-cut neckline that exposes the division. Joseph Breen, head of the U.S. Production Code Administration (PCA), coined the term in its current meaning when evaluating the 1941 Jane Russell starrer The Outlaw. The term was explained in Time magazine on August 5, 1946. It is most commonly used in the parlance of Western female fashion to refer to necklines that reveals or emphasizes décolletage or display of the upper breast area.

    https://en.wikipedia.org/wiki/...
  • 1
  • 3
    @ZeldaFan69-2 Smegma (Greek smēgma) is a combination of shed skin cells, skin oils, and moisture. It occurs in both male and female mammalian genitalia. In female bodies, it collects around the clitoris and in the folds of the labia minora; in males, smegma collects under the foreskin.

    https://en.wikipedia.org/wiki/...
  • 0
    @wiki 😏 mercí
  • 1
    @ZeldaFan69-2 😏 mercí Didn't work, Error Message: Request path contains unescaped characters
  • 1
    @ZeldaFan69-2 Avoid emojis, they suck
  • 1
  • 1
    Let's get meta.

    @wiki devRant
  • 1
  • 1
    @wiki potato"; drop table internet; --
  • 1
    @kwilliams The potato is a root vegetable native to the Americas, a starchy tuber of the plant Solanum tuberosum, and the plant itself is a perennial in the nightshade family, Solanaceae.

    https://en.wikipedia.org/wiki/...
  • 0
    @kwilliams First of all, it's not SQL, here's the source code for reference https://gist.github.com/theabbie/...
  • 3
    @theabbie twas more of a meme than a genuine pen test. 🙃
  • 0
  • 2
    @kwilliams
    A penetration test, colloquially known as a pen test, pentest or ethical hacking, is an authorized simulated cyberattack on a computer system, performed to evaluate the security of the system. Not to be confused with a vulnerability assessment. The test is performed to identify both weaknesses (also referred to as vulnerabilities), including the potential for unauthorized parties to gain access to the system's features and data, as well as strengths, enabling a full risk assessment to be completed.

    https://en.wikipedia.org/wiki/...
  • 5
    Ah humans... One moment playing with each other and the next trying to nuke everything :D
  • 2
    @Jilano @wiki Nuclear Gandhi
  • 2
    @kwilliams Sid Meier's Civilization is a 1991 turn-based strategy 4X video game developed and published by MicroProse. The game was originally developed for MS-DOS running on a PC, and has undergone numerous revisions for various platforms. The player is tasked with leading an entire human civilization over the course of several millennia by controlling various areas such as urban development, exploration, government, trade, research, and military. The player can control individual units and advance the exploration, conquest and settlement of the game's world. The player can also make such decisions as setting forms of government, tax rates and research priorities. The player's civilization is in competition with other computer-controlled civilizations, with which the player can enter diplomatic relationships that can either end in alliances or lead to war.

    https://en.wikipedia.org/wiki/...
  • 1
    @subspace Sir Darryl Farris (born November 8, 1986), known mononymously as Sir (stylized as SiR), is an American singer, songwriter and record producer from Inglewood, California. He is signed to Top Dawg Entertainment and released his debut album on the label titled November on January 19, 2018.

    https://en.wikipedia.org/wiki/...
  • 3
    @wiki Toilet paper orientation
  • 3
    @bittersweet Toilet paper has two possible orientations when the roll is parallel to both the wall and the floor: The toilet paper may hang over (in front of) or under (behind) the roll.

    https://en.wikipedia.org/wiki/...
  • 3
    @wiki Correct toilet paper orientation
  • 3
    @bittersweet "Levity" isn't a valid reason for content...WP:UNDUE is just the beginning there. We are commanded to be on-topic in general, and especially for image-use. There is something on-topic to be said about cats and toilet paper (one of the items in the Arguments section), but as SchuminWeb says, "the orientation is not evident, and the roll is pretty shredded." The whole point of this article is orientation, so if there's no evidence what the orientation is or how the cats are behaving in relation to it, it's off-topic. DMacks (talk) 05:20, 26 April 2011 (UTC)

    https://en.wikipedia.org/wiki/...
  • 0
    @wiki Dual Quaternions
  • 1
    @bittersweet In mathematics, the dual quaternions are an 8-dimensional real algebra isomorphic to the tensor product of the quaternions and the dual numbers. Thus, they may be constructed in the same way as the quaternions, except using dual numbers instead of real numbers as coefficients. A dual quaternion can be represented in the form A + εB, where A and B are ordinary quaternions and ε is the dual unit, which satisfies ε = 0 and commutes with every element of the algebra.
    Unlike quaternions, the dual quaternions do not form a division algebra.

    https://en.wikipedia.org/wiki/...
  • 2
    @wiki Cosmic Latte
  • 2
    @bittersweet Cosmic latte is the average colour of the universe, found by a team of astronomers from Johns Hopkins University. In 2001, Karl Glazebrook and Ivan Baldry determined that the average color of the universe was a greenish white, but they soon corrected their analysis in a 2002 paper in which they reported that their survey of the light from over 200,000 galaxies averaged to a slightly beigeish white. The hex triplet value for cosmic latte is #FFF8E7.

    https://en.wikipedia.org/wiki/...
  • 2
  • 1
    @bittersweet Koro is a culture-bound syndrome delusional disorder in which an individual has an overpowering belief that one's sex organs are retracting and will disappear, despite the lack of any true longstanding changes to the genitals. Koro is also known as shrinking penis, and it is listed in the Diagnostic and Statistical Manual of Mental Disorders.

    https://en.wikipedia.org/wiki/...
  • 2
    @theAbbie, you available to stop the wiki bot? Going to let translate loose in here and see if this works 😅
  • 1
    @C0D4 wait, I am doing it
  • 2
  • 0
  • 1
    @theabbie The Big Bang theory is a cosmological model of the observable universe from the earliest known periods through its subsequent large-scale evolution. The model describes how the universe expanded from an initial state of extremely high density and high temperature, and offers a comprehensive explanation for a broad range of observed phenomena, including the abundance of light elements, the cosmic microwave background (CMB) radiation, and large-scale structure.

    https://en.wikipedia.org/wiki/...
  • 1
    @C0D4 Done, I guess, fetch raw gist, split using comma, check if username is in array, time to test
  • 3
    @theabbie here goes nothing.

    @translate
  • 0
    @C0D4, this post has been translated from English

    Official Release of Wikipedia Bot is Here

    How to Use: @wiki <Query>

    Runs on cron job, every minute.

    If there is literally no Wikipedia page for query, still gets a relevant result.

    Demo in Comments.
  • 1
    @C0D4 We can assume it's working
  • 3
    @theabbie the lack of response is a good bet.
  • 0
    @C0D4 I tested normal case, that implies everything is good
  • 0
    @C0D4 How do we test if your bot is working good?
  • 2
    @theabbie I'll login as another bot
  • 2
    @lmgtfy find this post !!
  • 1
  • 1
    @C0D4 Everything is under control now, Bots won't take over DevRant, Everyone who makes bot has to follow this rule
  • 1
    Looks good here
  • 2
    @theabbie I'll plug it into my other bots, but yea looks like we have a reliable way to not bomb devRant.
  • 2
    @translate 𐏃𐎹 𐏐 𐎭𐎠𐎼𐎹𐎺𐎢𐎶 𐏐 𐎧𐏁𐎠𐎹𐎰𐎡𐎹𐎶 𐏐 𐎠𐎤/𐎢𐎴𐎢𐏁 𐏐 𐎠𐎡𐎺𐎶 𐏐 𐎱𐎽𐎢𐎺𐎴𐎠𐎶 𐏐 𐎧𐏁𐎠𐎹𐎰/𐎡𐎹𐎶
  • 0
    @C0D4 Anyways, it was highly unlikely for this to happen naturally, this was a very special case, It will slow down all bots by a small amount, but it's safer now, add memesbot to that list too
  • 0
    @bittersweet, this post has been translated from English

    Official Release of Wikipedia Bot is Here

    How to Use: @wiki <Query>

    Runs on cron job, every minute.

    If there is literally no Wikipedia page for query, still gets a relevant result.

    Demo in Comments.
  • 5
    Oh it translates the post, not the comment haha
  • 0
    @bittersweet It's common sense, if you can type it in comment, you know the translation
  • 1
    @bittersweet It was still a pleasure to witness your attempt :D
  • 2
    @theabbie true, it's not "perfect" but a lot safer then it was.

    Memesbot is on the list already.

    I'll go dig through devRant archives to see if I can spot any others and add them.
  • 1
    @C0D4 There was a quotes bot, but it only posts quotes so it won't bother
  • 1
    @bittersweet that's on the feature roadmap. It was built to translate the spam posts so @NoMad could work out what they were saying.
  • 1
    @lmgtfy do you still work?
  • 1
    @lmddgtfy how about you too?
  • 0
  • 0
  • 0
    @lmgtfy testing 123
  • 3
    @C0D4 I am planning an archive bot, if there is a rant filled with conspiracy, you can call it and it will submit the rant to internet archive and it will be safe there forever.
  • 0
  • 0
    @lmgtfy lets try that again
  • 0
    @lmddgtfy how do i DDG?
  • 1
    😏

    @lmgtfy I think we have a winner
    @lmddgtfy wake up mr bot!
  • 0
  • 0
  • 3
    @theabbie 😂 a web archive bot. What could go wrong!
  • 0
    @C0D4 There are several rants which had lot of content but were deleted by OP, that shouldn't happen
  • 0
  • 2
    @jadou True most commonly refers to truth, the state of being in congruence with fact or reality.

    https://en.wikipedia.org/wiki/True
  • 1
  • 2
    @jadou
    This page is available under the Creative Commons Attribution-ShareAlike License
    Terms of Use
    Privacy Policy

    https://www.wikipedia.org/
  • 0
    @wiki related:devrant.com
  • 1
    @bittersweet related:devrant.com Didn't work, Error Message: Cannot read property 'attribs' of undefined
  • 0
    @wiki cache:google.com
  • 1
    @bittersweet cache:google.com Didn't work, Error Message: Request failed with status code 404
  • 0
  • 1
  • 1
    @theabbie I think searches with cached: and related: should be filtered.

    They don't break the bot, but they do break Google 😄
  • 0
    @bittersweet No point in filtering if it can't be misused
  • 0
    @wiki porn related:pornhub.org
  • 1
    @theabbie porn related:pornhub.org Didn't work, Error Message: Cannot read property 'attribs' of undefined
  • 0
  • 1
    @theabbie Coronavirus disease 2019 (COVID‑19) is an infectious disease caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). It was first identified in December 2019 in Wuhan, Hubei, China, and has resulted in an ongoing pandemic. As of 25 September 2020, more than 32.3 million cases have been reported across 188 countries and territories with more than 984,000 deaths; more than 22.2 million people have recovered.

    https://en.wikipedia.org/wiki/...
  • 0
    @wiki bob tabor visual basic
  • 1
    @theuser bob tabor visual basic Didn't work, Error Message: Request failed with status code 999
  • 1
    Did google ban wiki? Status 999?

    @wiki hello world
  • 1
    @AlgoRythm A "Hello, World!" program generally is a computer program that outputs or displays the message "Hello, World!". Such a program is very simple in most programming languages, and is often used to illustrate the basic syntax of a programming language. It is often the first program written by people learning to code. It can also be used as a sanity test to make sure that a computer language is correctly installed, and that the operator understands how to use it.

    https://en.wikipedia.org/wiki/...
  • 0
    @AlgoRythm If there is no wiki page it fetches first result, that could have been banned
  • 0
  • 1
    @epictern Google Calendar is a time-management and scheduling calendar service developed by Google. It became available in beta release April 13, 2006, and in general release in July 2009, on the web and as mobile apps for the Android and iOS platforms.

    https://en.wikipedia.org/wiki/...
  • 1
    Don't have time to read the whole convo here, but I'd for sure get rid of the images if you didn't already. Other than that, looks pretty cool!
  • 1
    @MySlugLikesSalt Already did, many people complained about it, Glad to see you after so many days.
  • 1
    @C0D4 In conversation the expressions like and you know, when they are not meaningful, are expletives. The word so, used as an introductory particle (especially when used in answer to a question), has become a common modern expletive. Oaths or profanities may be expletives, as occurs in Shakespeare:

    https://en.wikipedia.org/wiki/...
  • 1
    @theAbbie your bot is broken.
    That comment was meant for
    https://devrant.com/rants/3619546/...

    Also, why does it only take the first word?
  • 0
    @C0D4 This happens once in a blue moon, I can't fix it because I don't know what's happening, I don't know why it took only first word, All my bots are fucking up lately, I should redesign them.
  • 0
    @wiki expletive attributive
  • 1
    @theabbie In conversation the expressions like and you know, when they are not meaningful, are expletives. The word so, used as an introductory particle (especially when used in answer to a question), has become a common modern expletive. Oaths or profanities may be expletives, as occurs in Shakespeare:

    https://en.wikipedia.org/wiki/...
  • 2
    @theabbie 😅it got the right rant this time.

    Are you regexing the comment for the words?
  • 1
    @C0D4 body.split("@wiki").reverse()[0]

    The wrong rant thing happens rarely, can't fix that
  • 1
    @theabbie This is a list of British words not widely used in the United States. In Canada, New Zealand, India, South Africa, and Australia, some of the British terms listed are used, although another usage is often preferred.

    https://en.wikipedia.org/wiki/...
  • 1
    @theabbie ah, ok.
    try this, its the regex i use for all my bots.

    https://regex101.com/r/iaTKTk/2
  • 0
  • 1
    My Bot is Dead
  • 1
  • 0
  • 0
    @theabbie Really dead, why not update the server
  • 2
    @Eklavya you can recreate this bot if you want, this one's dead.
  • 2
    @Eklavya Server isn't the problem, this particular account is blocked, for malicious practices.
  • 1
    What about @memesbot and others, working fine?
  • 2
    @Eklavya All my bots, I used them for malicious stuff, so, dfox killed them, All working code is available, it's as simple as creating new account and running the server, but I am not interested, no one uses them nowadays.
  • 0
    @wiki Thunderfury, Blessed Blade of the Windseeker
Add Comment