« first day    last day (827 days later) » 

1:14 AM
Hi @Ashish! I'm back!
 
1:52 AM
Hey @NobodyNada! Welocme back
 
Hi!
 
So how was your vacation?
 
It was great!
But basically none of the latches in our travel trailer actually stay closed when we're driving.
 
So I was implementing an error logging system for FireAlarm
 
1:54 AM
Nice!
 
I'll just make a small change and start the bot up.. one sec
afk for a min
back
 
Fire Alarm started.
 
@NobodyNada I've started the bot up
@fire error logs
 
@AshishAhujaツ The error logs are:
valueIn main.c/main at Sat Sep 17 20:44:11 2016
: test error
In main.c/main at Sat Sep 17 20:47:21 2016
: test error
In main.c/main at Sat Sep 17 21:09:39 2016
: test error
In main.c/main at Sat Sep 17 21:32:52 2016
: test error
In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2
In main.c/main at Sat Sep 17 21:35:20 2016
: test error
In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2
In main.c/main at Sun Sep 18 07:27:36 2016
: test error
In main.c/main at Sun Sep 18 07:27:36 2016
 
^ I just put a sample error in the beginning of main. SO whenever the bot starts up it registers and error
I'm planning to make the message more readable. Any ideas?
 
2:00 AM
Maybe blank lines between the reports?
 
yeah.. that sounds a good idea
I'll stop it and make that change..
@fire stop
 
@AshishAhujaツ Shutting down...
Fire Alarm started.
 
@fire error logs
 
@AshishAhujaツ The error logs are:
versionIn main.c/main at Sat Sep 17 20:44:11 2016
: test error

In main.c/main at Sat Sep 17 20:47:21 2016
: test error

In main.c/main at Sat Sep 17 21:09:39 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2

In main.c/main at Sat Sep 17 21:35:20 2016
: test error

In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2

In main.c/main at Sun Sep 18 07:27:36 2016
: test error

In main.c/main at Sun Sep 18 07:27:36 2016
 
how about putting it in code for more readability?
@fire stop
 
2:03 AM
@AshishAhujaツ Shutting down...
 
@AshishAhujaツ Sure!
 
Fire Alarm started.
 
@fire error logs
 
@AshishAhujaツ The error logs are:
In main.c/main at Sat Sep 17 20:44:11 2016
: test error

In main.c/main at Sat Sep 17 20:47:21 2016
: test error

In main.c/main at Sat Sep 17 21:09:39 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2

In main.c/main at Sat Sep 17 21:35:20 2016
: test error

In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2

In main.c/main at Sun Sep 18 07:27:36 2016
: test error

In main.c/main at Sun Sep 18 07:27:36 2016
 
oh.. I think it did not get formatted in code..
 
2:04 AM
yeah, code formatting will help alot
 
I put 4 spaces before the line, that is what I should do right?
`test`
`test`
 
which line?
 
test
test
 
it has to be before every line, I think
 
@NobodyNada yeah, I just put it in the sprintf, which means it will be in every line
I'll put few more spaces
@NobodyNada yeah, it has to be
@fire stop
 
2:06 AM
can you post the sprintf?
 
@AshishAhujaツ Shutting down...
 
@NobodyNada yeah
 snprintf (message + strlen (message), 512,
                  "    In %s at %s: %s\n\n",
                  log->location, log->time, log->message);
 
maybe after the \ns?
 
@NobodyNada you mean to say I should put spaces after them also?
 
Fire Alarm started.
 
2:08 AM
@fire error logs
 
@AshishAhujaツ The error logs are:
type In main.c/main at Sat Sep 17 20:44:11 2016
: test error

In main.c/main at Sat Sep 17 20:47:21 2016
: test error

In main.c/main at Sat Sep 17 21:09:39 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2

In main.c/main at Sat Sep 17 21:35:20 2016
: test error

In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2

In main.c/main at Sun Sep 18 07:27:36 2016
: test error

In main.c/main at Sun Sep 18 07:27:36 2016
 
@fire say test test
test line 2
looks like the spaces got cut in the message I posted above :(
 
@Console Shutting down...
Fire Alarm started.
 
@fire error logs
 
@AshishAhujaツ The error logs are:
In main.c/main at Sat Sep 17 20:44:11 2016
: test error

In main.c/main at Sat Sep 17 20:47:21 2016
: test error

In main.c/main at Sat Sep 17 21:09:39 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2

In main.c/main at Sat Sep 17 21:35:20 2016
: test error

In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2

In main.c/main at Sun Sep 18 07:27:36 2016
: test error

In main.c/main at Sun Sep 18 07:27:36 2016
 
2:10 AM
I put a \t this time, but still no
@fir stop
 
@AshishAhujaツ Shutting down...
 
any ideas?
 
Fire Alarm started.
 
@fir error logs
 
@AshishAhujaツ The error logs are:
`In main.c/main at Sat Sep 17 20:44:11 2016
: test error`

`In main.c/main at Sat Sep 17 20:47:21 2016
: test error`

`In main.c/main at Sat Sep 17 21:09:39 2016
: test error`

`In main.c/main at Sat Sep 17 21:32:52 2016
: test error`

`In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2`

`In main.c/main at Sat Sep 17 21:35:20 2016
: test error`

`In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2`

`In main.c/main at Sun Sep 18 07:27:36 2016
: test error`

`In main.c/main at Sun Sep 18 07:27:36 2016
 
2:13 AM
putting ` doesn't help either
 
@Console Shutting down...
Fire Alarm started.
 
@fir error logs
 
@AshishAhujaツ The error logs are:
`In main.c/main at Sat Sep 17 20:44:11 2016
: test error`

`In main.c/main at Sat Sep 17 20:47:21 2016
: test error`

`In main.c/main at Sat Sep 17 21:09:39 2016
: test error`

`In main.c/main at Sat Sep 17 21:32:52 2016
: test error`

`In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2`

`In main.c/main at Sat Sep 17 21:35:20 2016
: test error`

`In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2`

`In main.c/main at Sun Sep 18 07:27:36 2016
: test error`

`In main.c/main at Sun Sep 18 07:27:36 2016
 
oops. I forgot to make
@fire stop
 
@AshishAhujaツ Shutting down...
Fire Alarm started.
 
2:17 AM
@NobodyNada your name is mentioned in the swift files of FireAlarm on github (at the top it is wrriten by <name>). Are you okay with that?
@fire error logs
 
@AshishAhujaツ The error logs are:
type In main.c/main at Sat Sep 17 20:44:11 2016
: test error
In main.c/main at Sat Sep 17 20:47:21 2016
: test error
In main.c/main at Sat Sep 17 21:09:39 2016
: test error
In main.c/main at Sat Sep 17 21:32:52 2016
: test error
In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2
In main.c/main at Sat Sep 17 21:35:20 2016
: test error
In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2
In main.c/main at Sun Sep 18 07:27:36 2016
: test error
In main.c/main at Sun Sep 18 07:27:36 2016
 
@fire stop
 
@AshishAhujaツ Shutting down...
 
I'll solve this later
@NobodyNada so you want any more commands to this error logging system? or any improvements?
oh.. you've gone to bed. I didn't see that before in SOCVR
Night!
 
@AshishAhujaツ oops; thanks!
Goodnight!
@AshishAhujaツ sorry; I meant before
 
2:23 AM
@NobodyNada ah alright. I'll try that
Sleep well
 
 
2 hours later…
4:24 AM
Fire Alarm started.
 
@fire error logs
 
@AshishAhujaツ The error logs are:
In main.c/main at Sat Sep 17 20:44:11 2016
: test error

In main.c/main at Sat Sep 17 20:47:21 2016
: test error

In main.c/main at Sat Sep 17 21:09:39 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2

In main.c/main at Sat Sep 17 21:35:20 2016
: test error

In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2

In main.c/main at Sun Sep 18 07:27:36 2016
: test error

In main.c/main at Sun Sep 18 07:27:36 2016
 
@NobodyNada ^ that doesn't work
@fire stop
 
@AshishAhujaツ Shutting down...
Fire Alarm started.
 
oops. I forgot to add the command to the command list
@fire stop
 
4:34 AM
@AshishAhujaツ Shutting down...
Fire Alarm started.
 
@fire error logs
 
@AshishAhujaツ The error logs are:
?3 In main.c/main at Sat Sep 17 20:44:11 2016
: test error

In main.c/main at Sat Sep 17 20:47:21 2016
: test error

In main.c/main at Sat Sep 17 21:09:39 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2

In main.c/main at Sat Sep 17 21:35:20 2016
: test error

In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2

In main.c/main at Sun Sep 18 07:27:36 2016
: test error

In main.c/main at Sun Sep 18 07:27:36 2016
 
@fire clear error logs
 
@AshishAhujaツ Cleared all error logs successfully. This cannot be reversed now.
 
@fire error logs
 
4:37 AM
@AshishAhujaツ The error logs are:
 
ok.. it is working
oh damn. it is stuck continuously because it is trying to post an empty message which is not allowed
shit
@fire alive
that proves it; the bot is alive but it is not posting
@fire kill
lemme add a check
 
Fire Alarm started.
 
@fire error logs
 
@AshishAhujaツ The error logs are:
?3 In main.c/main at Sat Sep 17 20:44:11 2016
: test error

In main.c/main at Sat Sep 17 20:47:21 2016
: test error

In main.c/main at Sat Sep 17 21:09:39 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2

In main.c/main at Sat Sep 17 21:35:20 2016
: test error

In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2

In main.c/main at Sun Sep 18 07:27:36 2016
: test error

In main.c/main at Sun Sep 18 07:27:36 2016
 
@fire clear error logs
 
4:45 AM
@AshishAhujaツ Cleared all error logs successfully. This cannot be reversed now.
 
@fire error logs
 
@AshishAhujaツ The error logs are:
 
? why didn't the check catch the empty message...
@fire kill
gotta go now
 
 
1 hour later…
5:46 AM
Fire Alarm started.
 
@fire filter view keywords
 
@AshishAhujaツ The keywords in the current filter are:
   Keyword          |       True Positives   |      False Positives
-----------------------------------------------------------------------
     where do I get             |            50          |            0
     plz             |            26          |            0
     write a program that             |            25          |            0
     downvote             |            25          |            0
     battery             |            25          |            0
     find answer             |            20          |            5
 
ok.. so the filters.json is safe
@fire error logs
 
@AshishAhujaツ The error logs are:
HU In main.c/main at Sat Sep 17 20:44:11 2016
: test error

In main.c/main at Sat Sep 17 20:47:21 2016
: test error

In main.c/main at Sat Sep 17 21:09:39 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2

In main.c/main at Sat Sep 17 21:35:20 2016
: test error

In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2

In main.c/main at Sun Sep 18 07:27:36 2016
: test error

In main.c/main at Sun Sep 18 07:27:36 2016
 
@fire clear error logs
 
5:47 AM
@AshishAhujaツ Cleared all error logs successfully. This cannot be reversed now.
@AshishAhujaツ The error logs are:
 
damn..... the check couldn't still identify it
 
Fire Alarm started.
 
@fire error logs
 
@AshishAhujaツ The error logs are:
In main.c/main at Sat Sep 17 20:44:11 2016
: test error

In main.c/main at Sat Sep 17 20:47:21 2016
: test error

In main.c/main at Sat Sep 17 21:09:39 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error

In main.c/main at Sat Sep 17 21:32:52 2016
: test error 2

In main.c/main at Sat Sep 17 21:35:20 2016
: test error

In main.c/main at Sat Sep 17 21:35:20 2016
: test error 2

In main.c/main at Sun Sep 18 07:27:36 2016
: test error

In main.c/main at Sun Sep 18 07:27:36 2016
 
@fire clear error logs
 
5:50 AM
@AshishAhujaツ Cleared all error logs successfully. This cannot be reversed now.
 
@fire error logs
 
@AshishAhujaツ There are no error logs currently.
 
woot!
@fire stop
 
@AshishAhujaツ Shutting down...
Fire Alarm started.
 
@fire error logs
 
5:51 AM
@AshishAhujaツ The error logs are:
In main.c/main at Sun Sep 18 11:21:26 2016
: test error

In main.c/main at Sun Sep 18 11:21:26 2016
: test error 2
 
great! so it is saving properly. Now lemme get to the real use of these commands
@fire membership
 
@AshishAhujaツ The privilege groups are:
member:
NobodyNada
Ashish Ahuja ツ

owner:
NobodyNada
Ashish Ahuja ツ

Moderaters and room owners can run any command, regardless of privileges.
 
@fire stop
 
@AshishAhujaツ Shutting down...
Fire Alarm started.
 
6:11 AM
@fire error logs
 
@AshishAhujaツ The error logs are:
In main.c/main at Sun Sep 18 11:21:26 2016
: test error

In main.c/main at Sun Sep 18 11:21:26 2016
: test error 2

In main.c/main at Sun Sep 18 11:25:15 2016
: test error

In main.c/main at Sun Sep 18 11:25:15 2016
: test error 2
 
@fire clear error logs
 
@AshishAhujaツ Cleared all error logs successfully. This cannot be reversed now.
@AshishAhujaツ There are no error logs currently.
@AshishAhujaツ The error logs are:
In log_commands.h/PrintErrorLogs at Sun Sep 18 11:41:51 2016
: error log test
 
great
@fire stop
 
@AshishAhujaツ Shutting down...
 
6:44 AM
so as everything is working, I'm gonna start to implement the real use of error logging
 
 
4 hours later…
10:26 AM
Fire Alarm started.
 
@fire error logs
 
@AshishAhujaツ The error logs are:
In log_commands.h/PrintErrorLogs/printErrorLogs at Sun Sep 18 11:41:51 2016
: error log test

In main.c/main/main at Sun Sep 18 15:56:07 2016
: test error

In main.c/main/main at Sun Sep 18 15:56:07 2016
: test error 2
 
alright
@fire clear error logs
 
@AshishAhujaツ Cleared all error logs successfully. This cannot be reversed now.
 
..
@fire clear error logs
 
10:27 AM
@AshishAhujaツ Cleared all error logs successfully. This cannot be reversed now.
 
..
@fire alive
 
@AshishAhujaツ Why did you think I was dead?
 
@fire clear error logs
 
@AshishAhujaツ Cleared all error logs successfully. This cannot be reversed now.
 
@fire error logs
 
10:28 AM
@AshishAhujaツ There are no error logs currently.
@AshishAhujaツ The error logs are:
In log_commands.h/PrintErrorLogs/printErrorLogs at Sun Sep 18 15:57:59 2016
: error log test
 
ok
@fire alive
 
@AshishAhujaツ Why did you think I was dead?
 
..
@fire alive
 
@AshishAhujaツ Why did you think I was dead?
 
@fir alive
 
10:29 AM
@AshishAhujaツ Why did you think I was dead?
 
ok..
@fire say hello
 
hello
 
@fir say hello
 
hello
 
oh.. it didn't stop.
 
10:31 AM
check
 
ah.. it wasn't able to post
@NobodyNada I got a fatal flaw. If you try to post the exact same message without even a bit change, and not a difference even in spaces, the chat blocks you from posting the message. Like first if you post "hello", and then quickly you post "hello" again, it will not get posted. But if the second time you post something else, it will get posted.
Like in the above test, from the console I told the bot to say "check" twice, but it said only once
It can be a problem like if I first give the command @fire alive and then I edit that message changing nothing, even though in the console it replies to the edited message, the message does not come here
 

« first day    last day (827 days later) »