« first day (900 days earlier)      last day (4055 days later) » 

12:02 AM
!/die
 
@uınbɐɥs I'm afraid I can't let you do that, uınbɐɥs
 
Ah, it's better than the one in the Sandbox at the moment :P
in Sandbox, 14 mins ago, by SO ChatBot
@uınbɐɥs Registered; need 0 more to execute
 
@uınbɐɥs Y U IN ANDROID
 
@CCInc To test the bot.
in PHP, 3 hours ago, by Raghav Sood
Could someone who hasn't been in the Android in a while please drop by for a couple of minutes? Trying out a new bot, and need a never seen before user to join.
 
Oh.
Well I'm not new here.
!/listcommands
 
12:08 AM
@CCInc Command listcommandsa does not exist. Did you mean: listcommands
@CCInc docs, catgif, cat, whoami, help, listen, eval, live, die, refresh, forget, ban, unban, info, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, awsm, beautify, convert, get, google, hang, karma, learn, defuser, slugcat, logcat, redo, mad, 42, echo, mustache, nudge (page 0/0)
 
The test failed: the bot was supposed to greet new users.
 
Is it forked from zirak's latest/
hmm
actually
don't you have to enter a special command
;
(function () {
"use strict";
//welcomes new users with a link to the room rules

var seen = JSON.parse( localStorage.bot_users || '{}' );

var message = "Welcome to the JavaScript chat! Please review the " +
		bot.adapter.link(
			"room pseudo-rules",
			"http://rlemon.github.com/so-chat-javascript-rules/" ) + ". " +
	"Please don't ask if you can ask or if anyone's around; just ask " +
	"your question, and if anyone's free and interested they'll help.";

IO.register( 'userregister', function ( user, room ) {
@RaghavSood change that code and you should be good I guess ^
 
!docs ImageSwitcher
 
@FoamyGuy Y U NO MAEK SENSE!? Could not understand docs ImageSwitcher (perhaps you meant to execute a command? If so, prepend the command name with a /)
 
!/docs ImageSwitcher
 
12:13 AM
@RaghavSood Oh there's your problem. Change the if statement
	if ( Number(room) !== 17 || seen[user.id] || bot.isOwner(user.id) ) {
@uınbɐɥs that shoudl wrok right?
 
@CCInc he said he commented out return;
 
Hmm.
where's his code at
 
!/help
 
(function () {
"use strict";
//welcomes new users with a link to the room rules

var seen = JSON.parse( localStorage.bot_users || '{}' );

var message = "Welcome to the Android chatroom! Please review the " +
		bot.adapter.link(
			"room rules",
			"http://mainerror.github.com/android-room-rules/" ) + ". " +
	"Please don't treat the room as tech support. " +
	"People who had default usernames, or use Chat or Stack " +
	"Overflow solely for tech support will not be admitted.";

IO.register( 'userjoin', function ( user, room ) {
@RaghavSood Y U FAIL SO HARD
	if ( Number(room) !== 15) { /* || seen[user.id] || bot.isOwner(user.id) ) {*/
		return;
	}
@uınbɐɥs is it just me or did he fail hard?
 
12:21 AM
@CCInc I can't see anything wrong.
 
...
oh
oopsies
I'm loosing my touch.
 
sigh
 
:/ what is becoming of me
 
Why did the boy drop his ice-cream? He was hit by a bus
 
!/undo
 
12:28 AM
@uınbɐɥs Command undo does not exist.
 
@uınbɐɥs Invalid command /
 
@uınbɐɥs Y U NO MAEK SENSE!? Could not understand ``
 
12:30 AM
@uınbɐɥs Invalid command /test
 
!/whathaveyoutried?
 
@FoamyGuy Invalid command /whathaveyoutried?
 
!/help
 
I wonder how many more messages were put into chat today than were 2 days ago because of this bot
!/listall
 
@FoamyGuy Command listall does not exist.
@uınbɐɥs Invalid command /http://whathaveyoutried.com
 
!/google whathaveyoutried?
 
@FoamyGuy I became the owner of the Sandbox room by using the bot all day
 
!/learn whathaveyoutried "What have you TRIED?"
 
12:39 AM
Could not process input. Error: Unexpected end of input: Expected " on line 1323 on column 96
@CCInc Command whathaveyoutried learned
 
!/whathaveyoutried
 
@CCInc <a href=whathaveyoutried.com rel=nofollow>What have you TRIED?</a>
 
beep you
 
!/forget whathaveyoutried
!/learn whathaveyoutried "[What have you TRIED?](http://whathaveyoutried.com)"
 
@uınbɐɥs Command lean does not exist. Did you mean: learn
@uınbɐɥs Command whathaveyoutried forgotten.
@uınbɐɥs Command whathaveyoutried learned
 
12:41 AM
!/whathaveyoutried
 
What did I do wrong?
Why didn't chat onebox it for you?
 
Hello, Android!
 
@CCInc You need to either escape the [ (\[), or create a multiline message.
 
@Code-Guru Hello code.
 
12:42 AM
hola code-guru
 
@Code-Guru hi
 
Can I ask you guys a question?
 
NO
GO AWAY BOT
 
yes
 
@AndroidBot No!
!/No
 
12:49 AM
@Code-Guru Command no does not exist.
 
!/learn no "***NO!!!***"
 
@uınbɐɥs Command no learned
 
Now you can type !/tell AndroidBot no
 
!/askusaquestion
 
@FoamyGuy Command askusaquestion does not exist.
 
12:54 AM
!/sudo askusaquestion
 
@FoamyGuy Command sudo does not exist.
2
If a rabbit's foot was actually lucky, wouldn't it still be attached to the rabbit's leg?
 
1:13 AM
No.
 
hmm
I think random body parts are not particularly lucky whether or not they are attached to their host.
 
user image
2
 
1:30 AM
@RaghavSood @uınbɐɥs Behold The Magnificence! buahahahahahaha!
 
@DaveRandom Cool
 
2:03 AM
real quick question. is there a way to access the different lock screens from within your app for enhanced security?
use case: I enter app then the app prompts me to re enter my lock screen credentials if I have any
 
nope i dont think
 
damn
thanks
 
I dunno android tho
try someone else
 
haha oh
 
The good thing in being a young programmer is that you can blame others for the bugs
 
2:27 AM
oh how cute, the bot thinks it is a young programmer.
@stewbydoo you can lock the device I think programatically
 
you mean hack it basically
 
no
I think keyguard manager exposes a method that locks the device
!/docs KeyguardLock
 
@FoamyGuy Class not found
 
!/docs KeyguardManager.KeyguardLock
 
I am there now
 
2:31 AM
keyguardlock.reenablelock()
 
keyguardlock is deprecated
hmm
 
truth
its like the pirates code though...they are more like guidelines.
 
haha
 
you might be able to broadcast an intent that will lock it for you
 
yea
 
2:33 AM
Device admins can lock the device
 
I wonder if the user has the facial recognition as the lock
 
honestly though if you trying to protect some portion of your own app, I would suggest making your own password/lock activity rather than using the built in lock screen
 
yea I am starting to realize that is what i have to do
 
if user does not have password enabled the only thing between them and your app is a swipe
 
truth
 
2:34 AM
or a longpress if it is a newer ZTE device, because they just have to be different
 
I just like the pattern lock screen and the facial recognition
I want to incorporate that somehow
might be too much right now though
 
you can find a re-usable patter lock widget online I think
 
didn't even think of that
 
and I think facial recognize has a public API
 
I'll look into that option
when you say public API, you mean it's in the android dev API?
i'm gonna look
 
2:37 AM
yeah I think so
thought I am too afraid of terminator, so I've never looked into using it
the last thing I want is my phone being able to recognize my face
 
yea haha true but sadly I have some friends who think that it is the coolest thing
@FoamyGuy do you develop android apps as a full time job or just for fun?
 
-1
Q: starting a third activity for android

user1778743public class LikesActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_likes); //<----- activity_likes is underlined in red!!!!! } @Override public boolean onCreateOptionsMenu(Menu m...

 
I have a full time job and I get to develop android apps at it
though I have to work on other things too
like babysitting sprint employees =x
 
haha ohhh well thats pretty awesome that sometimes you get to do this for a living
 
I am very flattered to be in the position I am in =)
 
2:46 AM
it's better than web dev
 
Getting paid to work on Android is awesome. And some of the new things that I've learned because of my job are a lot of fun to work on
I've been learning web.py lately, I am digging that quite a bit.
 
I need to learn that. I am more of the usual crowd with web dev. html,css,php,mysql,js
all that fun stuff
 
I have been digging deeper into html, css, and javascript. Nothing with php or mysql though
leafletjs.com <- that is a cool javascript library for mapping
I never would've thought that I could bet some web site with dynamic maps and pointers
but that thing makes it very straightforward.
 
wow that's pretty nice
bookmarked that
well thanks for the help and the ideas
cheers
 
yep
 
2:59 AM
If you want to go somewhere, goto is the best way to get there. [ken]
 
3:22 AM
NOOOO, THEY FIXED IT
 
@Glitch Y U NO MAEK SENSE!? Could not understand !/catgif (perhaps you meant to execute a command? If so, prepend the command name with a /)
@Glitch This command may only be run once every 15 minutes by normal users
@Glitch This command may only be run once every 15 minutes by normal users
 
3:36 AM
!/catgif
 
@FoamyGuy This command may only be run once every 15 minutes by normal users
 
!/cat
 
Most realistic simulation of FIFA ever
 
Ruby is short for rubbish
 
 
3 hours later…
6:19 AM
!/cat
 
this is going to be catoverflow.com :D
 
indeed :D
!/cat
 
@AndersMetnik This command may only be run once every 15 minutes by normal users
 
@AndersMetnik new bot ?
 
6:27 AM
boot?
 
documentation of that bot ?
 
!/Help
 
@AndersMetnik Y U NO MAEK SENSE!? Could not understand !/Help
 
LOl
@AndersMetnik zerk script ?
 
pls stop highlight :) and I don't know :)
 
6:29 AM
sounds like @RaghavSood did lots of work on it :P
 
Yeah that sounds like him ;)
 
Deleted code is debugged code. [Jeff Sickel]
 
6:45 AM
!/cat
 
how cute :D
 
@NullPonyPointer Not too much. A few commands here and there :P
@CCInc wut?
 
@RaghavSood a few thousand :P
 
Give me some time and sure ;)
 
6:51 AM
@RaghavSood you can also check Zerk script
 
Zerk script? Link?
 
AndroidBot is a fork of SO-ChatBot :P
 
How much wind could a windbreaker break if a windbreaker could break wind?
 
7:24 AM
!/listcommands
 
@RaghavSood docs, catgif, cat, whoami, help, listen, eval, live, die, refresh, forget, ban, unban, info, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, awsm, beautify, convert, get, google, hang, karma, learn, defuser, slugcat, logcat, redo, mad, 42, echo, whathaveyoutried, no, mustache, nudge (page 0/0)
@RaghavSood docs, catgif, cat, whoami, help, listen, eval, live, die, refresh, forget, ban, unban, info, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, awsm, beautify, convert, get, google, hang, karma, learn, defuser, slugcat, logcat, redo, mad, 42, echo, whathaveyoutried, no, mustache, nudge, reject, spec, stat, timer, todo, undo (page 0/0)
@RaghavSood docs, catgif, cat, whoami, help, listen, eval, live, die, refresh, forget, ban, unban, info, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, awsm, beautify, convert, get, google, hang, karma, learn, defuser, slugcat, logcat, redo, mad, 42, echo, whathaveyoutried, no, mustache, nudge, reject, spec, stat, timer, todo, undo (page 0/0)
 
!/help reject
 
@RaghavSood reject: Rejects a user's write request. PROBABLY DOES NOT WORK AT THE MOMENT
 
!/stat
 
@RaghavSood Raghav Sood has 22541 reputation, earned 20 rep today, asked 12 questions, gave 1026 answers, for a q:a ratio of 2:171.
 
!/reject 1155857
 
!/stat
 
Bah.
 
:P
!/cat
 
7:30 AM
!/reject 1541005
!/reject 1318946
 
@RaghavSood error
 
...
!/reject 1335209
 
@RaghavSood

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>


<link rel="stylesheet" href="http://or.cdn.sstatic.net/chat/css/chat.stackoverflow.com.css?v=0ec60ae2976b">
<link rel="shortcut icon" href="http://cdn.sstatic.net/stackoverflow/img/favicon.ico?v=abcdef"><link rel="apple-touch-icon" href="http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon.png?v=abcdef"><link rel="search" type="application/opensearchdescription+xml" title="Chat for chat.stackoverflow.com" href="/opensearch.xml"> <script type="text/j
@1069068
Nope
 
7:45 AM
!/reject Berker
!/reject Berker
!/reject Berker
 
@RaghavSood Could not process input. Error: args.findUserId is not a function on line 6652
 
!/reject Berker
 
@Berker Rejected
 
!/reject Berker
 
@Berker Rejected
 
7:54 AM
!/mustache RaghavSood
 
@RaghavSood Command mustachify does not exist. Did you mean: mustache
 
!/reject Berker
 
@Berker Rejected
 
Okay. PHP time
 
7:59 AM
!/php
 
@Shade Command php does not exist.
 
guess it's not PHP time :P
 
!/cat
 
!/catgif
 
8:10 AM
jQuery is a better language than javascript
 
!/learn php "http://chat.stackoverflow.com/rooms/11/php"
 
@uınbɐɥs Command php learned
 
!/php
 
!/reject Berker
 
8:24 AM
@Berker Rejected
 
!/reject Ashekur Rahman Molla Asik
 
@Ashekur Rejected
 
!/reject kevin
 
@kevin Rejected
 
!/php
 
PHP time! :D
 
!/listcommands
 
@RaghavSood docs, catgif, cat, whoami, help, listen, eval, live, die, refresh, forget, ban, unban, info, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, accept, awsm, beautify, convert, get, google, hang, karma, learn, defuser, slugcat, logcat, redo, mad, 42, echo, whathaveyoutried, no, php, mustache, nudge, reject, spec, stat, timer (page 0/1)
 
!/accept Steve
 
@Steve Welcome! Please read the room rules
 
8:34 AM
!/reject rosu alin
 
@rosualin Rejected
 
Room Owners PSA: @Pyrodante @kcoppock @WarrenFaith @merlin @Reno @Octavian @ProfSmiles - AndroidBot now has accept and reject commands which will answer write access requests without requiring you to open the acces control page. Just type accept/reject username(with spaces, case insensitive). Only catch is that the user must be somewhere on the access control page, in some list (request, read only, write, owners). Doesn't work if they aren't. Might fail if two users come with the same username
4
 
Who summoned the tired Octavian?
 
@OctavianDamiean My master did
 
!/catgif
 
8:40 AM
 
If you want, you can try out reject/accept with Michael Alan Huff. He wants access.
 
Does the reject command also allow to add a reject reason?
 
I'm working on the adding a reason part, and a probation switch to the accept command
Gimme 10 odd minutes
 
!/accept MichaelAlanHuff
 
@OctavianDamiean Command accet does not exist. Did you mean: accept
@MichaelAlanHuff Welcome! Please read the room rules
 
8:42 AM
@AndroidBot No I literally meant accet I was testing you.
 
You can also use reject to remove people from the write access list
And possibly room owners O_O Should fix that part. brb
!/reject Raghav Sood
Bah
!/reject Raghav Sood
 
@RaghavSood You can't remove owners
 
There we go. Fixed that problem. Now adding messages
!/accept chintan khetiya
 
@chintankhetiya Welcome! Please read the room rules
 
@OctavianDamiean You need to space his name properly. It fails if you get spacing wrong. Its case insensitive though
!/accept Michael Alan Huff
 
8:49 AM
@MichaelAlanHuff Welcome! Please read the room rules
 
@AndroidBot thanks
 
Mhmm, I think that you should make it work like that tell command. It should accept non-spaced names.
 
I couldn't get the findUserid() function to work for people who aren't in the room (and some who are, but edge case), so I wrote (another) php script that parses the access control page and finds their User ID to make the post request. That page has dashes in spaced names, so I need the same name in the reject/accept commands
 
perhaps if you split on capitalization?
but then you lose the case insensitivity
 
I convert it to lowercase anyways
The point is that for people like WarrenFaith, the name on the page source is warrenfaith. But for people like Raghav Sood, it becomes raghav-sood
 
8:54 AM
yeah, usernames are not necessarily capitalized
 
So I need spaces to know where the dashes go
 
!/help
 
!/reject prasad.gai -m Custom Message
 
@p Rejected
 
8:59 AM
!/mustache Octavian Damiean
 
@RaghavSood You don't need a -m flag. Just make it regard everything following the username as the message.
 

« first day (900 days earlier)      last day (4055 days later) »