These are chat archives for liam4/tlnccuwagnf

17th
Mar 2016
Arinerron
@Arinerron
Mar 17 2016 00:48
Hi :D
Florrie
@towerofnix
Mar 17 2016 00:48
Ho :D
Arinerron
@Arinerron
Mar 17 2016 00:48
I can't believe I am still doing the : D thing :D
It is really reaaaally pointless :D
Can tlnccuwagnf perform http requests? :D
Florrie
@towerofnix
Mar 17 2016 00:49
Yep! :D
Arinerron
@Arinerron
Mar 17 2016 00:49
Yay :D
Florrie
@towerofnix
Mar 17 2016 00:49
Yep.
Arinerron
@Arinerron
Mar 17 2016 00:49
Whoops I had to edit it cause I forgot the :D
Florrie
@towerofnix
Mar 17 2016 00:49
Hold on, I'll get a bit of code
Arinerron
@Arinerron
Mar 17 2016 00:49
Thanks :D
Florrie
@towerofnix
Mar 17 2016 00:49
I closed up sublime and the terminal for the day a couple hours ago :P
Arinerron
@Arinerron
Mar 17 2016 00:50
Oh, and btw I finally memorized the character combination 'tlnccuwagnf' :D
Nice :P :D
Florrie
@towerofnix
Mar 17 2016 00:50
gg :P :D
Arinerron
@Arinerron
Mar 17 2016 00:50
Nice :D
It should have nice libraries for botting :D
Florrie
@towerofnix
Mar 17 2016 00:50
Could you give me a quick short API thing to link to?
Like an API that returns a random number
in plain text
would be handy :P
Just for the demo
Arinerron
@Arinerron
Mar 17 2016 00:51
ex. thisPageInstanceOrWhatever.buttonClick("submit"); etc :D
Florrie
@towerofnix
Mar 17 2016 00:51
api.scratch.mit.edu is gzipped so I can't use that :P
Arinerron
@Arinerron
Mar 17 2016 00:51
google.com :D
xD :D
Ohhh nvm that's not what you mean :D
Florrie
@towerofnix
Mar 17 2016 00:52
URL pls :P
Arinerron
@Arinerron
Mar 17 2016 00:52
Uhh... I can't think of any :P
Should I just create one now?
Florrie
@towerofnix
Mar 17 2016 00:52
Sure :P
TBH any API would work
Arinerron
@Arinerron
Mar 17 2016 00:53
Almost done :D
Florrie
@towerofnix
Mar 17 2016 00:53
Alright :P
Arinerron
@Arinerron
Mar 17 2016 00:55
Okay
Wait what?
Florrie
@towerofnix
Mar 17 2016 00:56

http://jsonplaceholder.typicode.com/posts/1 can work for my demo :P

Show me what you made though?

Arinerron
@Arinerron
Mar 17 2016 00:56
It always chooses 0 :U
Oh lol
laaame
I made the default max 0 and default min -
0*
Florrie
@towerofnix
Mar 17 2016 00:57
Perfect!
Arinerron
@Arinerron
Mar 17 2016 00:57
Generates random from 1 to 10
etc
Florrie
@towerofnix
Mar 17 2016 00:58
http => use('http.js');

http.request('get', 'http://moome.org/random.php', fn(text) {
  print(text);
}).send();
Arinerron
@Arinerron
Mar 17 2016 00:58
Oh nice, that's cool. :P
Florrie
@towerofnix
Mar 17 2016 00:58
Going to have to go now.. :P
Later on I'll implement headers
but for now that works!
Arinerron
@Arinerron
Mar 17 2016 00:58
Great, thanks!
Also form data?
:P
Florrie
@towerofnix
Mar 17 2016 00:58
Yeah :P
See you!
Arinerron
@Arinerron
Mar 17 2016 00:59
Cya! :D
109C
@109C
Mar 17 2016 01:33
@Arinerron I'm currently working on one to compile to scratch JSON.
Arinerron
@Arinerron
Mar 17 2016 01:33
Nice
Like ApuC?
109C
@109C
Mar 17 2016 01:33
I think so.
Arinerron
@Arinerron
Mar 17 2016 01:34
Neat!
109C
@109C
Mar 17 2016 01:34
I haven't got far thought, closures are a pain.
plus they are slow.
Arinerron
@Arinerron
Mar 17 2016 01:34
Ahh.
109C
@109C
Mar 17 2016 01:36
Come to think of it, I think closures might require a reverse binary tree.
Even worse! :P
Arinerron
@Arinerron
Mar 17 2016 01:37
Lol
109C
@109C
Mar 17 2016 01:38
Do you have any experience in this sort of stuff?
Arinerron
@Arinerron
Mar 17 2016 01:38
Nope not really :P
Only really simple versions of what you are doing
reaaally simple :P
Arinerron
@Arinerron
Mar 17 2016 02:37
It was more of a generator rather than a compiler converter
109C
@109C
Mar 17 2016 23:42
return being a function doesn't make sense.
It's a keyword.