« first day (1907 days earlier)      last day (3048 days later) » 

12:00 AM
hm.. i think i can whip up a much faster version
faster to edit
 
@Luggage how do you generate the png?
 
graphviz. the dot executable make png or other formats. I have a real simple "build system" in sublime that calls dot and saves a png next to it
if i can find where that file is in sublime.. i forget..
 
I was just looking for the command, found it
 
crl
e.preventDefault() that's what I've been looking for the whole time
 
12:09 AM
beer!info
shoot
 
and the 'main' comment has the main summary of the issue?
so an issue is, logically, just a special 'root' comment with additional fields?
 
@Luggage yes
 
gotcha.
 
the main advantage of exporting this special root comment is to have the same data structure for all the comments
 
yea, i'm with you.
 
12:12 AM
the other advantage is that finding the list of comments is easy
the first one is the one in head
then it's just threaded messages
 
beer!info
 
crl
@rlemon I awoke on Tue, 05 Jan 2016 00:09:46 GMT (that's about 3 minutes ago), learned 1 commands
 
you are not who I want
 
crl
:p
 
K-9
Hello @crl
 
crl
12:17 AM
beer!is he a bot?
@crl Nuh-uh
 
is me
 
crl
@crl Yes, absolutely
 
just messing with phantom.js
 
crl
ah, nice
 
got it logging in and loading scripts. but it doesn't support the bot currently.
someone put in some es6 stuff which phantom doesn't support
 
12:19 AM
I know of this program that'll turn that into es5 for you.. let me find the link
 
yea I'm not running it all through babel :D
that would be a huge patch
I'd rather just find a nice polyfill for the unsupported bits.
 
core-js is what babel uses for a polyfil. that should have nearly everything
 
first error was on Map
and that was like 3 minutes ago :D
 
I'm still convinced I will use K-9 for a bot that will serve a different purpose than Cap
 
crl
12:21 AM
at some point, it may be easier to plug the bot to chat websocket
 
!!google Dr.Who K9
 
@crl the chat does connect to the websockets today
you need to finagle some shit for auth (hence phantom)
but past that..
the only real thing to deal with moving it away from something like phantom is a) auth, b) memory is localStorage
 
memory sounds easy to fix
 
nahh
@FlorianMargaine sure.
 
crl
12:23 AM
I mean, programmatically connect to chat websocket with node, and make the bot listen it (I tried it gist.github.com/cauburtin/42e76693363f543b3f79 )
 
like, phantom works.
it just isn't working right now
I'm working on it
gonna get Cap headless and make K9 into a new bot doing un-cap like things
 
@crl the bot it written for a browser. phantom is a nice step and node may or may not be worth it after that
 
crl
well maybe right
 
the browser lets it d/l and run SO's scripts and that might be messy in node.
also i think it uses the DOM for some things..
 
ok, so I'm going to use an espeak after a certain amount of time as an alarm. What text should I be read? :P
 
12:26 AM
my script right now if a fucking mess because I didn't read the full phantom api
 
The complete works of shakespear?
 
so I have an array of endpoints and functions that need to be called when they hit
 
crl
@Luggage yes, to know present users, but that list is served in the html, so we can fetch it)
 
user1596138
Ugh more songs not on Google Music
 
crl
12:28 AM
(there are maybe other cases where it uses DOM)
 
user1596138
Oh good thing its not on there. It's not the one I was looking for.
 
@Luggage anyway I got some code up... it can open the editor for you to write some text, and I have the author/title/content... some architecture to write new commands, some other functions to make some stuff nice... just some foundations for now, not much actually visible, but now the fun work is ready to start
 
yea, about to take a look
 
and I'm going to bed now
look at the asd file at first, then the zed.Lisp file has the "main" function
 
crl
12:30 AM
beer!>new Date()
@crl "2016-01-05T00:30:58.421Z"
 
good night
 
beer!info
 
K-9
@rlemon I awoke on Tue, 05 Jan 2016 00:31:03 GMT (that's about 9 seconds ago), haven't done anything yet!
 
crl
@rlemon I awoke on Tue, 05 Jan 2016 00:09:46 GMT (that's about 21 minutes ago), got invoked 4 times, learned 1 commands, teleported 82 goats
 
\o/
 
crl
12:31 AM
gratz
k9!learn test 1
 
k9!google K9 doctor who
 
fuck yea!
 
K-9
@crl Command test learned
 
crl
can it be in multiple rooms?
 
12:35 AM
yea
but that takes manual setup
basically 'fav' or star some rooms
when you join, join the chat lobby and click 'rejoin all rooms'
for a specific room?
 
Making a text message bot right now
How illegal is it to reverse engineer an app to get it's OAuth consumer secret?
What's wrong with an SMS bot?
Well that's stupid if you message a bot
 
crl
Smelly Massive Shit
 
Why would I message random numbers?
And who said anything about it speaking to you, unless you wanted it to?
I'm going away for a year, and I need something to take my place and make arbitrary decisions for my girlfriend.
 
yea, nothing wrong with an sms bot if it's not used for evil.
stealing credentials, though...
 
@Shea Magic 8-ball?
 
12:43 AM
It's basically just going to have the have the same functionality as Caprica when you type !!x or y
@ton.yeung obviously
I didn't say anything about crawling phone numbers
OAuth consumer secret
It's supposed to be a secret
And I have it
 
hi all
 
hi
 
smells of tiny avatar a'brewin'
 
The service I am using, gives free phone numbers, and uses a closed API/OAuth system to authenticate it's users through flash
Apparently flash, so that you cannot get the consumer secret, that I got by reverse engineering it's code
 
yea, yea, we get it, you stole access. you can stop telling us, please.
 
12:48 AM
well? is it illegal, or only if I release that secret?
 
using it to gain access to services unpaid is illegal.
 
I have legit access, I've just made my own app to use that access
 
that's fuzzier. to they have an API you can pay for?
 
It's not bypassing anything, other than their shitty flash app
Not sure, I don't think so. I looked for an open/paid API, but didn't find anything
I would've been willing to pay for API access
 
12:51 AM
Oh nice, even better
I was using Pinger
 
twilio has a well documented api and is dirt cheap. $1 / month + < 1 penny per sms
 
k9!learn test 'this is a test'
 
K-9
@rlemon Command test already exists
 
k9!test
 
K-9
@rlemon 1
 
12:54 AM
??
k9!info test
 
K-9
@rlemon Command test, created by crl on Tue, 05 Jan 2016 00:33:26 GMT, invoked 1 times
 
works.
see if memory persists.
 
@Luggage I'll check it out.
 
K-9
@rlemon Command test, created by crl on Tue, 05 Jan 2016 00:33:26 GMT but hasn't been used yet
 
sweet
 
12:55 AM
Unfortunately, I probably won't be on here for a year, starting tomorrow
Thought I'd have until the 11th, at least :(
 
prison?
 
something like that lol
 
@AwalGarg ^ And I am not happy with even this
 
@Shea still shit from the last time you were "away" ?
 
Yeah
 
12:59 AM
that sucks dude
 
I kept getting it put off, now I've have an option where I get a bit more freedom
So who knows? I might be on here every now and then
 

« first day (1907 days earlier)      last day (3048 days later) »