« first day (1 day earlier)      last day (1562 days later) » 

12:00 AM
lol
(not laughing at your name)
 
Oh, my bad. It does sound like an element though.
What country is it from?
 
china/hong kong
 
exactly
 
Cool. I like it.
 
Is that how it's spelled?
 
12:01 AM
It would be spelled however he wants, right?
Since it's not actually an english word.
 
Tom
@UnknownOctopus Pong
/start
@Tom I'm up and running
 
oh yeah right
 
/help
?
 
Tom
My commands are,
- /choose
- /about
- /joke
- /info
- /image (search term)
- /id
- /say (what to say)
- /gif (search term)
You can also say /help [command name] for more information about a certain command
 
Oh no, /joke again.
:-)
 
12:02 AM
@tom mind adding me to the git ?
 
/help /joke
 
Tom
/joke
Returns a random joke powered by icndb.com
@UnknownOctopus Yes, but let me put it on there (just got back from tennis practice)
 
@Tom what language is your bot in?
 
It looks like there's already a git for it
 
Tom
Where?
 
12:03 AM
/about
 
Tom
Language: Javascript
Chief Developers: Tom
Server Host: Blender Warrior
Contributors: DizzyCode
 
Those should link to SO profiles
the /about usernames
 
Tom
True true, but I don't know how to upload stuff (This is my first repo)
I'm adding a key and then I think it can be done, right?
 
@Tom are you doing it through the web interface or Git command-line?
 
12:05 AM
Dunno, i literally just made an account
 
Tom
@SuperScript There's a web interface?!?
Yes I'll use that
 
For github?
 
Tom
That's what I'm using
 
Cool.
 
Tom
I know what I'll do
 
12:10 AM
@SuperScript would you like such a profile photo like mine?
 
EEWWWWW NOO
NOT GITHUB FOR WINDOWS :OOOO
 
Tom
@AnubianNoob Why?
 
@AnubianNoob why?
 
Nope :P
use online
 
@Tom you use Windows? How un-geek of you.
Windows is too easy.
 
12:10 AM
I use windows
 
Any penguins out there?
 
YESSS!!!
 
lol I'm not a fan, it fucks up merges and stuff, and it was super confusing. I had more luck with command line, and it's way more powerful
 
Tom
I would use linux but that limit my options
of programs I use
@UnknownOctopus How do you create files in github online?
 
Anyway, have to go now, bye!
 
12:12 AM
@Tom on the homepage there's a plus icon
 
Tom
I found it
Yep, just found that
And now to uninstall github for windows
 
Make the commit message good btw
by default it's just "Create FILE"
I can teach you command line git
 
Tom
@AnubianNoob I will take you up on that once I get this working, thanks:)
 
Command line
 
12:13 AM
git-scm.org
 
? as in batch/bash?
 
@UnknownOctopus if you're a ninja.
 
Imma batch ninja :P
 
Bash or batch?
 
batch
25 posts in the topic
 
12:15 AM
Oh, windows batch.
Right.
 
lol
3 posts, 2 points
 
@Tom we're patiently waiting for that code.
 
obviously not very patiently
 
Tom
I'm working on it!!!
 
12:20 AM
Of course not very.
 
Tom
It's just so hard to see it go
 
I'm patiently waiting to be added so i can commit a readme
 
Tom
Just saying this: I get dibs on using this bot here
 
Who expects to see patience in "Teenage Territory"?
 
@SuperScript Overly controlling power lovers? Dunno
 
12:22 AM
@Tom yes, for sure. Unless you get abducted into a universe made entirely of pure itchiness
Then we'll cover your vital job until your return.
 
Tom
Alright, if that happens, go for it
 
I asked this awhile back in chat, but i'll ask again. Are there any java API's for making chatbots, or am i better off using pure .net and hoping i can make it work?
 
Tom
@UnknownOctopus You're better off using my awesome chatbot
 
@Tom like i said b4, mainly for fun unless it turns out amazingly awesomely fantastically fun
Mainly just something for me to do
 
Tom
@UnknownOctopus I know, just giving you a hard time:)
 
12:26 AM
:P
 
Finally!
It's about time.
J/K Yay thanks.
(I have an impatience problem you see)
 
@SuperScript I would have never suspected
 
Tom
@SuperScript Use your impatience to add commands!!:):):)
 
You sure we should use GLaDOS? Even with TradeMark?
 
12:29 AM
yeah it'll be fine
 
My hunger overpowers said impatience.
Be back soon.
 
lol have fun
 
@Tom add me to the git
 
Tom
@UnknownOctopus I'm sorry, how?
 
No idea @AnubianNoob help us out
 
12:30 AM
settings -> collaborators
 
Tom
@UnknownOctopus I've actually contacted valve about this, awaiting there response
 
In GitHub
 
Tom
@AnubianNoob thanks
github user's please @UnknownOctopus @SuperScript and everyone else
Now does this mean I can moderate changes before that actually happen?
@AnubianNoob
 
username: UnknownOctopus
 
If you add them as collaborators, they can push directly
 
Tom
12:32 AM
Hmm, so I can't say like Yes or Allow before the changes go live?
@AnubianNoob
 
Otherwise, they'd fork it, making their own copy under their account, push to that, then make a pull request to get their changes into your repo, where you can discuss, modify, and merge or close them
 
/alive
 
Tom
@UnknownOctopus Command: alive is not a valid command, try /help for help
 
/help
 
Tom
My commands are,
- /choose
- /about
- /joke
- /info
- /image (search term)
- /id
- /say (what to say)
- /gif (search term)
You can also say /help [command name] for more information about a certain command
You have admin priv, you can start and stop me with /start and /die
 
12:33 AM
/joke
 
Tom
@AnubianNoob no
 
/about
 
they're mostly appropriate :P
 
Tom
Language: Javascript
Chief Developers: Tom
Server Host: Blender Warrior
Contributors: DizzyCode
 
/info
 
Tom
12:33 AM
Room: Teenage Territory
Room Description: In the year of 2015, pioneers ventured north to discover the sacred Teenage Territory. The temperatures here are quite cold, so only cool people allowed!
/die
@Tom I'm down
 
/start
/id
 
Tom
Your ID is: 5056380
My ID is always: 5178593
 
Tom
@UnknownOctopus I'm down
 
Just needed the id
 
Tom
12:35 AM
@UnknownOctopus you have access
 
Tom
@AnubianNoob I would like to have the bot.js always updated so, on github pages, can I have a live (updating) version of the bot.js file?
 
What do you mean?
 
Tom
So like I can visit a file called bot.js on a subdomain of github
 
Tom
12:37 AM
You're awesome
 
lol
there's a button "Raw"
 
Tom
I see, thank you:)
It seems that the raw page version get's cached, is there a way around this?
Wait, I have an idea
 
Disable cache
On whatever you're using to pull from it
And it takes a bit for the commit to propogate
 
Tom
@AnubianNoob That's to simple
 
12:46 AM
like a couple seconds or so?
 
Tom
@UnknownOctopus It's wonderfull
 
Tom
couple seconds too many:)
 
Set up Travis CI
Continuous Integration
Or set up Heroku to listen for pushes and grab the code as soon as you push
I don't know what you're trying to do so I'm throwing out p random solutions
 
Tom
@AnubianNoob PHP solution?
 
12:47 AM
isn't the bot in js??
Clientside js?
oh... well you should use node, but you can also listen to the webhook for a new commit and grab the file when you push
You want the push event
That's the default one so you're fine
 
Tom
Yes, but I figured it wouldn't be cached if I used php curl to get it
 
Gtg bbl
 
It's probably just taking a bit to propagate changes then
5 seconds isn't too long
 
Tom
ok
got to go
 
12:54 AM
Okay, I'm back. How do I get in?
Pull requests?
 
What do you want to do?
 
Add a few more /commands.
Some essenials like /utctime for starters.
Or maybe /whosaround to get the names of everyone in the room.
(needs a better name)
 
/who is what slack uses
 
Maybe like /soundoff
 
omg /shrug I need a bot that can do the /shrug for me
 
1:05 AM
What'd /shrug do?
 
/shrug [message]
becomes
[message] ¯\_(ツ)_/¯
 
Hey that'd be cool.
 
Tom
Hallo
 
ayyy
 
@Tom how should I start contributing? My impatient itch is back.
 
Tom
1:09 AM
@SuperScript Do you have the dev page for it?
 
Dev page?
 
Nice. One sec.
So after I've got my code working in that page, how should I go about adding it to the codebase.
/help
/start
 
Tom
@SuperScript Click the edit button on the page, let me get the bot up and a screenshot
 
Okay, it's down.
 
Tom
1:17 AM
/start
@Tom I'm up and running
 
/help
 
Tom
My commands are,
- /choose
- /about
- /joke
- /info
- /image (search term)
- /id
- /say (what to say)
- /gif (search term)
You can also say /help [command name] for more information about a certain command
I will get image up and running now
 
Okay, I've created the pull request.
/choose Yes or No
 
Tom
@SuperScript I choose: yes
 
/id
 
Tom
1:22 AM
Your ID is: 2619939
My ID is always: 5178593
 
Can you add me as admin?
 
Tom
@SuperScript Make a few commands and I'll see what I can do
@SuperScript Do you want to host GLaDOS?
/pull
@Tom Pulled Latest
/utc
@Tom Thu, 06 Aug 2015 01:28:31 GMT
@SuperScript Thank you for creating UTC! just something to note, when you add a command, you also should modify the /help and make a /help utc page explaining what the commands do
 
You could architect this better
 
Tom
@AnubianNoob How should I do that?
 
well
lemme take a look first
oh ok so this is js
 
Tom
1:31 AM
Yep
 
ok so what I'd do
is have a base method routeCommand
and that'd take the message, get the name of the route and the arguments
Then I'd have an array, and each element of the array would be a command representing an object, with a commandName, helpText, and a function that returns (or actually sends) the output you want to send
Well ok a map instead of an array would work better
 
@Tom you don't want anyone else hosting do you?
 
Named array in js?
Name is the command
Does that make sense?
 
/help
 
Tom
My commands are,
- /choose
- /about
- /joke
- /info
- /image (search term)
- /id
- /say (what to say)
- /gif (search term)
You can also say /help [command name] for more information about a certain command
/die just for a sec
@Tom I'm down
@AnubianNoob I'm quite new to js so no, sorry
 
1:34 AM
I've never written anything in js before
Do you get objects?
 
Tom
Sort of
Hi sweeps
 
so you'd have an array of objects
each object being a command
 
hi
 
and that command object would have the command name, the command help text, and a function to call
Objects can contain functions
 
Tom
Oh, I see
Hmm
 
1:35 AM
ok I gotta walk home now :P
ttyl in an hour?
 
Tom
ok, I'll look into that
thanks
 
I'm a JS nerd if anyone wants help.
 
In my opinion the bad thing about JS is its dynamic typing
 
I don't mind myself.
 
Also, JS doesn't have docs
 
1:37 AM
But some APIs are a mess (like the DOM)
 
or does it?
 
Docs?
 
Documentation
 
MDN, w3schools, etc.
Not like Javadocs, but loads of non-official documentation.
And then there's the specs.
 
I like official stuff
I think all the language specs look similar
its just keywords while, do while, if else if, for etc
That's why I like Java and C#
 
1:40 AM
Check out the MDN
 
ooh
I see
That's very useful
What company invented JS?
 
It's complicated.
Javascript/JS/ECMAScript/LiveScript. JS's history is a mess.
So don't ask.
Just know that nowadays it's the W3C maintaining standards and Google and Mozilla developing new ideas and proposing new drafts.
 
OK
 
I'm sure you could Google and find a timeline.
 
C# and Java has a simpler history
 
Tom
1:46 AM
The easiest is lunix, ok not really
 
:-)
 
Tom
@SuperScript Do you like the dev page I made for the bot?
 
Oh and I searched for js history
 
@Tom yes, it's way useful.
 
and I found window.history
 
Tom
1:47 AM
Great:)
 
...
That's funny
 
JavaScript (/ˈdʒɑːvəˌskrɪpt/), also known as ECMAScript (the untrademarked name used for the standard), is a dynamic programming language. It is most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed. JavaScript (at least the strict subset asm.js) is also considered an "assembly language of the web" – a compile target of source-to-source compilers – for making client side web applications, using other programming languages, supported by...
 
Who just posted the duckduckgo link?
I love DuckDuckGo
 
Me.
 
1:54 AM
I also prefer DDG
 
hi me :p
 
Tom
@user2548787 Do you know js? Could you add duckduckgo to our chatbot?
 
I'm tired of Google
Uh...\
 
Oooh. I'll do that!
 
Tom
@SuperScript Great
 
1:54 AM
I know very little, because I primarily do Python
 
Like /duckduckgo history of javascript
 
I use JS in Unity 3d, though
 
returns a list of titles with links?
Sound good?
 
Tom
@SuperScript you've been added to the contributors list on the readme and help file
 
Oh yeah, you can write your own duckduckgo widget things, right?
 
1:56 AM
hola
 
@user2548787 Yea but that's not what we're doing.
We've got this chatbot we're building.
 
@sup
 
/help
 
sorry
@SuperScript oh
 
/start
 
Tom
1:57 AM
@SuperScript I'm up and running
 
/help
 
Tom
My commands are,
- /choose
- /about
- /joke
- /info
- /image (search term)
- /id
- /say (what to say)
- /gif (search term)
You can also say /help [command name] for more information about a certain command
 
is there an api for ddg?
 
There it is.
 
/choose or or
 
1:57 AM
Umm.. I don't know, but I can just parse up the HTML
 
Tom
/choose or or
 
/choose yes or no
 
Tom
@SuperScript I choose: no
/choose or or
@Tom Please give at least two options.
 
Why didn't my username update?
 
/choose yes or no or something else
 
1:58 AM
/choose ( or (
 
I changed it on stackoverflow but it's still the same.
 
Tom
@DizzyCode I choose:
 
broke it :P
 
Tom
That should be fixed
 
Yea, quite effectively
broken
 
Tom
1:58 AM
:(
 
there's a hidden back slash in there
 
Tom
Ah
 
And yes, @DizzyCode, I do believe there is an API for DDG
 
what i typed was \(
 
Tom
I see, smart
New \n line
 
1:59 AM
/id
 
Tom
Your ID is: 2548787
My ID is always: 5178593
That's not my id
 
Wait is Tom a bot?
 
Tom
let me make that dynamic
 
I'm confused
 
@user2548787 then hopefully we can make /duckduckgo :D
 

« first day (1 day earlier)      last day (1562 days later) »