Author Topic: There's no discussion topic for 424 yet...  (Read 4897 times)

Hilary Moon Murphy

  • Palmer
  • **
  • Posts: 76
  • Proving the inherent superiority of purple hair
on: December 02, 2013, 03:27:36 PM
Can the wonderful mods put one up so we can discuss it?

Thanks!

Hmm


eytanz

  • Moderator
  • *****
  • Posts: 6109
Reply #1 on: December 02, 2013, 06:08:45 PM
Yeah, sorry - the episode came in on Sunday - when I was mostly away from my computer, and today I had a long series of meetings with very little time between. Working on getting it up now.



Max e^{i pi}

  • Hipparch
  • ******
  • Posts: 1038
  • Have towel, will travel.
Reply #2 on: December 03, 2013, 11:51:25 AM
Not that I have anything against forum moderators, but why is this still a human's job? (The creating new threads for episodes, we obviously need our friendly neighborhood moderators for the serious business).
All you need is a bot to periodically check the 3 feeds, and when a new episode drops to create a new thread in the appropriate forum with the appropriate content.

Cogito ergo surf - I think therefore I network

Registered Linux user #481826 Get Counted!



eytanz

  • Moderator
  • *****
  • Posts: 6109
Reply #3 on: December 03, 2013, 12:55:26 PM
I'd love to have a bot that does that. I also have no idea how to create one. So unless someone volunteers to do so, it'll be manual thread creation for a while still...



lowky

  • Hipparch
  • ******
  • Posts: 2717
  • from http://lovecraftismissing.com/?page_id=3142
Reply #4 on: December 03, 2013, 01:51:29 PM
not very familiar with it, but what about IFTTT?  It sounds like the type of thing it would be ideal for.  It may have to be a two step thing, IFTTT checks the feeds and then tells another program to make the thread posts.  Lifehacker is always going on about how wonderful it is.  I have very little need for automation in my daily routine but...


Max e^{i pi}

  • Hipparch
  • ******
  • Posts: 1038
  • Have towel, will travel.
Reply #5 on: December 03, 2013, 01:54:45 PM
I really wish I had the time to dedicate to this, because it looks like a fascinating project and an excellent way to learn PHP. (I always learn new things better by doing a project)
I was sorta hoping that someone had a bot lying around.
I will keep this on the back burner and when I have the time will look into it.

Cogito ergo surf - I think therefore I network

Registered Linux user #481826 Get Counted!



lowky

  • Hipparch
  • ******
  • Posts: 2717
  • from http://lovecraftismissing.com/?page_id=3142
Reply #6 on: December 03, 2013, 02:55:22 PM
I really wish I had the time to dedicate to this, because it looks like a fascinating project and an excellent way to learn PHP. (I always learn new things better by doing a project)
I was sorta hoping that someone had a bot lying around.
I will keep this on the back burner and when I have the time will look into it.
it has been marked as archived so is not being updated anymore, but will this work?

http://custom.simplemachines.org/mods/index.php?mod=624

I know nothing about SMF or php so no idea if it will work for you or not, was just a bit of googlefu.
« Last Edit: December 03, 2013, 02:57:06 PM by lowky »



Bdoomed

  • Pseudopod Tiger
  • Moderator
  • *****
  • Posts: 5891
  • Mmm. Tiger.
Reply #7 on: December 04, 2013, 01:59:30 AM
One of the problems of a bot is that the code for the RSS feed is different than the forum code.  For instance, on the pseudopod site, the code for bold is <strong> whereas for the forums it is [b ].  so there would be a lot of formatting errors.  Also, I'm not so sure as to how to implement a bot, nor if the one behind that link would translate the code from the site to forum code properly.

I'd like to hear my options, so I could weigh them, what do you say?
Five pounds?  Six pounds? Seven pounds?


Max e^{i pi}

  • Hipparch
  • ******
  • Posts: 1038
  • Have towel, will travel.
Reply #8 on: December 04, 2013, 07:40:50 AM
One of the problems of a bot is that the code for the RSS feed is different than the forum code.  For instance, on the pseudopod site, the code for bold is <strong> whereas for the forums it is [b ].  so there would be a lot of formatting errors. 

That problem can easily be solved using, wait for it, regular expressions.
By "bot" I really mean a clever script (or perhaps 3) that sits on the EA server and does stuff.
Like, it can react to a new post on the blog, check to see if there is an mp3 file linked in it, then assume that that's a new episode and create a new thread on the forum. The formatting and parsing stuff is the easy part.
The problem is that the only scripting language I know well enough to do this in is bash scripting and that is totally wrong for this sort of job.
Php might work, but I don't really know php. :\

Cogito ergo surf - I think therefore I network

Registered Linux user #481826 Get Counted!



eytanz

  • Moderator
  • *****
  • Posts: 6109
Reply #9 on: December 04, 2013, 07:44:23 AM
When I have a bit of free time (over the holidays, probably), I'll experiment with the forum mod that Lowky linked to and see if it can be used for our purposes. But generally, posting a new episode thread takes less than 5 minutes of my time, and I'm normally able to do it pretty quickly after the episode is up (the fact that this thread even exists demonstrates that late threads are a pretty rare exception rather than the norm). So I don't think it's a super high priority, though if it works well enough to make things really automatic that will be nice.



Max e^{i pi}

  • Hipparch
  • ******
  • Posts: 1038
  • Have towel, will travel.
Reply #10 on: December 04, 2013, 07:55:54 AM
A good sysadmin makes sure that (s)he has to do nothing. Everything is automated.
I worked in IT for a couple of years, and I really like that mentality. So when I see a problem like this I'm all "Oh, this can be solved using automation".
I agree that it's not pressing, but wouldn't it be nice?

Cogito ergo surf - I think therefore I network

Registered Linux user #481826 Get Counted!



eytanz

  • Moderator
  • *****
  • Posts: 6109
Reply #11 on: December 04, 2013, 08:39:08 AM
Honestly, if I could improve the spam bot deletion process and make it more automatic without increasing the rate of false positives, that would be my priority. Killing spambots both takes considerably more of my time and is less enjoyable than episode thread creation (except on the rare occasions that I'm so frustrated at something that deleting anything feels good).