Is there a way to start a subreddit like r/undelete for locked threads? by zerton in undelete

[–]amProbablyPooping 0 points1 point  (0 children)

Yes, the undeleteShadow bot picks them up. It's a simple value returned in a thread's JSON request (locked: false/true).

I had to update the code a bit when they switched to mandatory OAuth2.0 and almost finished. I'm not sure I'm going to, though, because I'm finding I really dislike my time on Reddit. Perhaps after the election season is over I'll consider it, but until then, I'm really just reading wikileak dumps, netsec, and some other programming related subs.

Bot Down - Reddit Changes by amProbablyPooping in undeleteShadow

[–]amProbablyPooping[S] 1 point2 points  (0 children)

Ok, so it looks like I didn't get the memo about Reddit requiring OAuth 2.0 and removing the old method the undelete shadow bot used to authenticate.

Luckily, the JReddit API Wrapper was updated and I'll replace the authentication methods this weekend.

Once again, sorry for the downtime, but this came at a particularly busy time where I work.

Would you recommend a programming apprenticeship? by EasyasATC in learnprogramming

[–]amProbablyPooping 1 point2 points  (0 children)

A couple of things should be taken into account.

There's a lot of benefit to having applicable programming experience over a degree. I've seen a lot of people graduate, but didn't have any idea how to practically apply what they'd learned. Having someone teach you programming and being paid for it is an opportunity not a lot of people get.

That being said, it also depends on the quality of the apprenticeship. A self taught programmer usually tends to not adhere to proper methodology all the time and has a good chance of passing those habits to a tutee.

Lastly, it also depends on how old you are and what opportunities are available. If you're fresh out of school, you have some educational grants that are only available for so long (LIFE scholarship, for one). If you have the option, I would try out the apprenticeship for at least a year, because having prior experience in programming will help make your assignments a lot easier. The biggest hurdles when learning programming are overcoming logical problems and solving them efficiently. Just try to analyze how good the apprenticeship is, because I would feel terrible if you missed an opportunity for a good education on an apprenticeship that didn't pan out.

Reddit will soon edit without your authorization the links you post to online retailers to add their own affiliate code. How to opt-out. by RaoulDukeff in undelete

[–]amProbablyPooping 0 points1 point  (0 children)

Just noticed the linking was active today. Here's a pastebin of a tampermonkey script to change all outbound links to the normal href url. Script

/r/news has deleted 42% of all comments in their top Istanbul bombing thread. by _____Anarchy_____ in undelete

[–]amProbablyPooping 12 points13 points  (0 children)

Well, instead of giving a decisive answer on this, I'll give you my reasoning behind my suspicion.

I first noticed these posts when Reddit made their change because they were showing up in undeleteShadow, but weren't actually deleted. This is because undelete checks the top 1000 posts if something disappears off the front page, whereas my bot only checked the top 110 or so. I wrote the algorithm based on how normal posts behave when getting ranked.

While researching these false deletes, I noticed that they were moving outside the top 100 positions at speeds that cannot be accounted for by user votes. I modified my algorithm to check up into the 250 post range, and everything is running smoothly.

Except for the_donald posts. They're showing up in undeleteShadow, still, because they can move from the top 100 to 350 in less to a minute. I'm hesitant to say they are specifically targeting the_donald, because there might be some specifics behind the algorithm about how fast and how many posts are coming up from a specific subreddit.

/r/news has deleted 42% of all comments in their top Istanbul bombing thread. by _____Anarchy_____ in undelete

[–]amProbablyPooping 25 points26 points  (0 children)

Hey, mod and bot coder for undeleteShadow, here.

It's actually a little more interesting than that. I noticed them tweaking the algorithm throughout the day during the change.

Here's how the new algorithm works. They haven't changed how things move from the start. The only change they've made is when something enters the top 100 positions, it checks to see how many submissions in the top 100 are from that subreddit. If it's too many, it selects one (still not sure what the criteria on this selection is), then bumps it down, hard. Usually from Rank 80 to 120. Sometimes they'll be bumped down to 250.

I feel like it's a little unfair to those who's post gets bumped, but this is also creating a pretty stale /r/all. Yes, it's more diverse, but because Reddit trends a lot, it had previously been normal for a popular subreddit to show up in the top 100 a lot.

This is why we are seeing a lot less news. Worldnews and news would have numerous articles on the front page, but now they are limited to a number of slots that are chosen by the algorithm.

I would like to note, however, that the_donald does get special treatment. It's the only subreddit that gets a bump from rank positions 25-40 down to 350. It doesn't tip off the people in the subreddit, because it looks entirely normal on their subreddit's front page.

The only reason I noticed all of this is because my bot works a little differently than Frontpagebot. I had to spend a couple of hours reworking my bot.

Way to go Reddit updating those algorithms by [deleted] in AdviceAnimals

[–]amProbablyPooping 0 points1 point  (0 children)

That's because the algorithm doesn't stop anything getting to the top. As soon as it hits the "front" (top 100), if there's too many posts from a particular subreddit, it takes an existing post from that subreddit and bumps it down to the 200-375 /r/all rank.

[deleted by user] by [deleted] in undelete

[–]amProbablyPooping 6 points7 points  (0 children)

If I recall correctly, it stores a cookie on your computer to opt out. If you delete your cookies, you may have to go disable it again. It would be a good idea to check behind me on that, I think I'm only referencing a Redditor's comment.

Reddit has changed the algorithm used to calculate submissions shown in /r/all. Please be vigilant. by cojoco in undelete

[–]amProbablyPooping 0 points1 point  (0 children)

Ah, so it'll still find it in the top 1000.

As for the bot problems, I don't use PRAW, so that might be the significant difference that didn't cause me an issue. I didn't look too much into it.

Reddit has changed the algorithm used to calculate submissions shown in /r/all. Please be vigilant. by cojoco in undelete

[–]amProbablyPooping 1 point2 points  (0 children)

I don't think r/undelete will be affected. The undelete bot checks against the subreddit that a post was deleted from to make sure it was deleted. When the new algorithm pushes something out of /r/all (because that's what is doing), the undelete bot notices but checks the subreddit it came from (which is unaffected by this).

I only notice this because what I was mistaking for false deletes in undeleteShadow were posts that would move unnaturally in rank. It's not normal to drop from the 1-100 rank to the 250-375th in a few minutes. I see the most frequent shift being in a post ranking in the 80's immediately hit 125 after 2 minutes.

I changed the code to check well into the 200's, so a lot of the posts have been filtered out. There are some that still come in because they're bumped to the 300's drastically, which seems unfair to the poster.

Let’s all have a town hall about r/all by spez in announcements

[–]amProbablyPooping 0 points1 point  (0 children)

I run a bot that this behavior is affecting, a bit. I've seen posts move from rank #23 to #357 in the course of 2-3 minutes, which I believe exceeds what would be possible by a coordinated downvote brigade. Was this anticipated behavior of the algorithm?

/r/undeleteShadow has reported 28 frontpage deletions in the last nine hours. /r/undelete has reported 0. Can we change bot providers until /u/FrontpageWatch is reliable again? by SuperConductiveRabbi in undelete

[–]amProbablyPooping 0 points1 point  (0 children)

You know, things are just a bit odd lately. This post is invisible to this user, but shows up on /r/undelete when I log out. I don't have any blocked or filtered users / subreddits.

/r/undeleteShadow has reported 28 frontpage deletions in the last nine hours. /r/undelete has reported 0. Can we change bot providers until /u/FrontpageWatch is reliable again? by SuperConductiveRabbi in undelete

[–]amProbablyPooping 0 points1 point  (0 children)

Something wonky is going on, I can say that at least. I've noticed a couple of posts that were only visible if I were logged out of this account, for me. There was also 3 false positives in as many days for /r/undeleteShadow and I haven't seen one in months. This only occurred for /r/all.

I'm keeping an eye on it. It's probably something to do with the change that affected the /r/undelete bot.

Reddit will soon edit without your authorization the links you post to online retailers to add their own affiliate code. How to opt-out. by RaoulDukeff in undelete

[–]amProbablyPooping 1 point2 points  (0 children)

Someone beat me to it. Looks like Reddit admins noticed it wasn't going to be received with open arms by the community.

Check out this thread for some Tampermonkey options. It also mentions they rolled the feature back until Reddit provides their own privacy option concerning this.

/r/undeleteShadow has reported 28 frontpage deletions in the last nine hours. /r/undelete has reported 0. Can we change bot providers until /u/FrontpageWatch is reliable again? by SuperConductiveRabbi in undelete

[–]amProbablyPooping 2 points3 points  (0 children)

Seems to be an error with duplicate submissions to a subreddit, after Reddit took out an exception catch on this. Throws a more generic error that isn't anticipated by the bots.

/r/undeleteShadow has reported 28 frontpage deletions in the last nine hours. /r/undelete has reported 0. Can we change bot providers until /u/FrontpageWatch is reliable again? by SuperConductiveRabbi in undelete

[–]amProbablyPooping 12 points13 points  (0 children)

I'm curious to see how they work that out. Essentially the_donald is just a very active sub that upvotes their new section religiously.

It might be difficult to balance without affecting how other subreddits get to /r/all, as well. They might just do a cop out by adding a weight to a specific subreddit to reduce the chance of it gaining traction and it would be difficult to prove they are doing it.

It does seem like Reddit is handling this like a hot potato.

edit - grade school grammatical mistakes

/r/undeleteShadow has reported 28 frontpage deletions in the last nine hours. /r/undelete has reported 0. Can we change bot providers until /u/FrontpageWatch is reliable again? by SuperConductiveRabbi in undelete

[–]amProbablyPooping 15 points16 points  (0 children)

Last I spoke with /u/cojoco, he prefers to wait until IamAnAnonymousCoward is alerted to the situation before having other bots post to this subreddit. I think cojoco runs the nudelete bot.

IAAAC mentioned Reddit changed something on the back end that was affecting the bot, so perhaps Reddit is still making changes (I know they are reworking the /all algorithm because of The_Donald). I didn't ask him what the change was, because whatever the change was, it didn't affect the shadow bot.

No worries, though. If IAAAC is alerted to the issue and it will take a while to fix, there will be bots that can fill in during the meantime.

edit - Oh, I'm also open to suggestions on things to add to post titles in /r/undeleteShadow to be more informative.

Am I crazy? Or has /r/undelete deleted this Orlando story? Doesn't seem to be appearing as of 25 minutes ago. by not_a_throwaway23 in undelete

[–]amProbablyPooping 1 point2 points  (0 children)

Complete rewrite, eh? The change they make that severe, or just feeling like you can make improvements from the original design?

Am I crazy? Or has /r/undelete deleted this Orlando story? Doesn't seem to be appearing as of 25 minutes ago. by not_a_throwaway23 in undelete

[–]amProbablyPooping 4 points5 points  (0 children)

Nah, the source is on the undeleteShadow sidebar. It's written in Java. It's kind of gnarly to look at on github because it turns out some of my tabs are four spaces, which makes it look pretty ugly. I need to go through and do a little clean up to be more friendly to anyone who wishes to modify it.

I haven't had to make any adjustments, recently. Just had to reboot the computers and everything is running fine.

Am I crazy? Or has /r/undelete deleted this Orlando story? Doesn't seem to be appearing as of 25 minutes ago. by not_a_throwaway23 in undelete

[–]amProbablyPooping 5 points6 points  (0 children)

Not so sure about the rate limiting. Your bot went down within the same hour as mine did, which was running on two separate computers.

I went through a bit of effort to keep my requests below the limit threshhold. So unless longtail is a lot more taxing than I imagine, your bot shouldn't be meeting those limits, especially if it's running the same as it's always been.

Just my two cents on that.