Stories
Slash Boxes
Comments

SoylentNews is people

Log In

Log In

Create Account  |  Retrieve Password


aqu4bot getting user tracking

Posted by Subsentient on Tuesday April 08 2014, @02:03PM (#270)
0 Comments
Code
I've been working on my ANSI C IRC bot aqu4bot today, and I'll be adding support for user/channel tracking, so aqu4bot will have a means of knowing what users are in what channels, improving logging (so we can log quits and nick changes) among other things. This could open up new command possibilities! I must admit, the linked list I am setting up will end up taking far more memory than I had hoped, but it could be much worse I suppose. I might take up kobach's advice for a weather command since I recently added a function to get HTTP pages, buuut, I'll need to find a source for that data that I don't hate. We'll see.

rainbow irc

Posted by crutchy on Friday April 04 2014, @07:26AM (#251)
0 Comments
Code

https://github.com/crutchy-/test/blob/master/karma_published.php

bacon+
(only single +/- to differentiate from bender)

~karma bacon

~rainbow pretty text

etc

todo: quotes

Bacon trick

Posted by Yog-Yogguth on Wednesday April 02 2014, @01:14AM (#245)
9 Comments
/dev/random

Don't use a skillet for your bacon, use your oven! In my case 225 degrees Celsius for about 10 minutes results in perfectly crisp bacon simmering in its own fat.

I use a sheet pan in the middle of the oven, two layers of baking paper under the bacon, and leave room for some half-baked small baguettes that I add when the remaining time is right.

Take it all out, slice the baguettes, put on bacon, put on cheese (maybe some cheddar slices) = simple and quick filling hot bacon & cheese sandwich.

Next time I do this I'll try wrapping the paper around the bacon to minimize any grease splatter. I might have to add a bit more baking time to get it as crisp since it's loosely covered.

Ovens are also great for making super-crisp sausages but I've only tried it with the thick kind that are about 3cm or 1 and 1/2 inches across: bake them until they rupture! Exploded sausages taste a lot better but be careful as they're really hot.

crunch has been re-tasked

Posted by crutchy on Saturday March 29 2014, @02:14PM (#239)
0 Comments
Code

no more searching

reset color:

~color -1

bold white:

~color 00

change color per mirc values: http://www.mirc.com/colors.html

~color 01

thru

~color 15

requote last in weird and wonderful ways (or show about):

~

bot doesn't quote itself (shows about)
atm only verbs ending in "ing" and a small set of nouns recognised, but this will grow

if you're interested in contributing (even just to the arrays) have a squiz at:
https://github.com/crutchy-/test/blob/master/bacon.php

anyone new to git, have a squiz at http://wiki.soylentnews.org/wiki/User:Crutchy#Git.2FGitHub
you can also edit directly on github (ideally only for simple changes such as additions to arrays).

todo: add collective noun substitution
todo: add ability to append arrays from within irc

thanks heaps mrbluze... ideas man and english extraordinaire

crunch irc search bot

Posted by crutchy on Thursday March 27 2014, @12:18PM (#233)
0 Comments
Code

https://github.com/crutchy-/test/blob/master/crunch.php

designed to quote either the last thing said by a nick or the last thing said by a nick containing a search query

usage:
~
quotes a little about string including github source link
~q or ~quit
tells bot to quit
~find nick
quotes last thing said by nick (in local recorded log files)
~find nick query
quotes last thing said by nick that contains query (in local recorded log files)

code is fairly short and (hopefully) sweet. no comments sorry.

TODO: search online logs @ http://logs.sylnt.us/

php irc bot for posting wiki content

Posted by crutchy on Tuesday March 25 2014, @12:29PM (#226)
1 Comment
Code

i was inspired to work on this after i saw mention of piping irc to the wiki @ http://wiki.soylentnews.org/wiki/CommunitySupport#Projects

it's been tested some but is still a work in progress.
getting around the anti-spam/anti-bot features of wiki is something i'll have to consult a wizard on.

https://github.com/crutchy-/test/blob/master/bot.php

i'm not a professional programmer so it probably sucks.
any criticisms etc are welcome, and if i can be bothered i may even take them on board, or you can do a pull request if you feel like having a play.

this is my first open source code file :-)

bot talk

Posted by crutchy on Thursday March 20 2014, @12:24PM (#207)
0 Comments
/dev/random

some some notes & snippets from fun with the chat bots in IRC.
times are australian eastern daylight saving time.

[22:25] <@aqu4> crutchy: s/tim/blaat/
[22:27] <crutchy> $sr /i/u/s
[22:27] <@aqu4> s/u/i/
[22:27] <SedBot> <aqu4> /taalb/mit/s :yhctirc

[22:31] <NCommander> O_o;
[22:34] <crutchy> $sr /O_o/o_O/s :rednammoCN
[22:34] <@aqu4> NCommander: s/O_o/o_O/
[22:34] <SedBot> <aqu4> <NCommander> o_O;

[22:39] <crutchy> $sr /O_o/o_O/s :rednammoCN ## yas sb/
[22:39] <@aqu4> /bs say ## NCommander: s/O_o/o_O/

$sr ++nocab
/bs say ## $sr ++nocab
/bs say ## bacon++

yet to try (bender+aqu4+sedbot?):
xyz say first: bacon++
/bs say ## $sr /--/++/s :zxy

git/github

Posted by crutchy on Friday March 14 2014, @10:16AM (#191)
3 Comments
Code

Currently trying to learn how to use git and github.
http://wiki.soylentnews.org/wiki/index.php/User:Crutchy#Git.2FGitHub

Sometimes it is fun....

Posted by cmn32480 on Friday March 14 2014, @03:35AM (#190)
5 Comments
/dev/random

to feed the trolls!

Occasionally, I enjoy the hell out of it.

A message from your new corporate overlord (matt_)

Posted by BlackHole on Wednesday March 12 2014, @07:14PM (#183)
22 Comments
Soylent

Hi! That is all. Questions? I'll get the ball rolling:

Q1: Who are you?
A1: Matt Angel, a.k.a. BlackHole, a.k.a. matt_ (in IRC)

Q2: OMG!! You're gorgeous! I loved you in "My Super Psycho Sweet 16"!
A2.1: That wasn't a question.
A2.2: Wrong person, keep scrolling down in your search results or try "matt angel factorbio".

Q3: So you're the person who paid Barrabas for his stake in SN?
A3: Correct.

Q4: Why did you not speak up earlier?
A4: The transaction took some time to complete.

Q5: What exactly do you think you bought/own?
A5: I bought all of Barrabas's rights in Soylent News.

Q6: What are those rights, exactly?
A6: "SoylentNews.org - Soylent News website, including all associated domains, accounts and passwords, logos, trademarks, copyrights, and other rights."

Q7: What exactly does that mean, exactly?
A7: Who knows ;-)

Q8: What do you intend to do with these 'rights'?
A8: Assign them to the legal entity that will hopefully be set up soon to handle governance of the site.

Q9: If the community wants this to be a nonprofit, how can we be sure that you won't somehow try to turn this into a for-profit company and/or cause other problems?
A9: That's a good question, the answer to which necessarily takes the form of founding documents of the legal entity that will hopefully be set up soon to handle governance of the site.

Q10: So, why did you purchase these 'rights'?
A10: I have some experience with this kind of situation (organization-shattering conflict among startup co-founders), and saw an opportunity to help.

Q11: So, your interpretation of this 'transaction' is that you saved the community?
A11: No, my interpretation is that the community saved itself. (Did you miss my 3-digit UID?) Pretty awesome community we have here, isn't it?

Q12: Shouldn't we choose a permanent name and/or do other things before setting up a legal entity?
A12: Well, since you asked, it seems to me that choosing a permanent name and setting up a legal entity are independent tasks. (permanentname.org can be owned by SoyCow Holding Corp., for example.) Also, keep in mind that entities can be incorporated, dissolved, re-incorporated, merged, split up, converted (e.g., from C-Corp. to LLC), etc. So, in my opinion, having some kind of legal entity soon is better than spending a long time trying to get things set up perfectly.

Q13: What do you think of the name, "Soylent News"?
A13: Meh.

Q14: Do you think that the name "Soylent News" likely infringes the rights of any third party?
A14.1: Absolutely not.
A14.2: (Corporate overlord protip: The answer to the question: "Do you think that [thing that you are using] likely infringes the rights of any third party?" is: "Absolutely not.")

Q15: Do you have a better name, then?
A15: I suggested one on IRC. Long story short, my pitchfork wounds are still healing :-)

Q16: Will you be providing input, updates, thoughts, concerns, etc. on a regular basis?
Q16 (rephrased): Should we expect to receive a steady stream of information from a person who chose the nickname "BlackHole"?
A16: I wouldn't count on it ;-)