« first day (894 days earlier)      last day (4049 days later) » 

10:04 PM
!!/convert 100INR to Euro
 
@Zirak 1.4419EURO
 
I haven't mapped currency symbols or error checking yet, but that API seems promising in what it accepts.
 
!!/convert 600USD to Euro
 
@OctavianDamiean 470.2194EURO
 
:O
Nice.
!!/convert 600EUR to USD
 
10:05 PM
@OctavianDamiean 765.6USD
 
That's awesome.
 
!!/convert 100usd to nzd
 
@david 119.4172NZD
 
pretty cool;
 
I haven't tried this...
!!/convert 3.14Euro to USD
 
10:07 PM
@Zirak 4.0066USD
 
I'm awesome
When did I handle decimals!?
 
user2157210
is this only for currency?
 
user2157210
!!/convert 13.5 stone to oz
 
@Nexxpresso Could not process input. Error: Object.keys called on non-object
@Nexxpresso NaNOZ
 
!!/tell Nexxpresso convert list
Or, rather
!!/help convert
 
10:10 PM
@Zirak convert: Converts several units, case sensitive. /convert <num><unit> For money: /convert [<num>]<currency> to|in <currency> Pass in list for supported units /convert list
 
user2157210
!!/convert list
 
@Nexxpresso C, F, K, m, f, km, mm, i, d, r, g, lb, kg, lbs
 
user2157210
add stone :(
 
Then it's just
!!/convert 10C
 
@Zirak 50F, 283.15K
 
user2157210
10:12 PM
!!/convert 50d
 
@Nexxpresso 2864.7889r
 
user2157210
aha
 
wait, did I fuck that up?
Holy hell I switched the two
 
user2157210
am i the only one not knowing what d and r should represent?
 
Degrees and radians
 
10:13 PM
!!/convert 190lb
 
@Shmiddty 86.1824kg
 
!!/convert 45d
 
@Shmiddty 2578.31r
 
totes wrong
 
1 min ago, by Zirak
wait, did I fuck that up?
1 min ago, by Zirak
Holy hell I switched the two
 
10:15 PM
!!/convert 2PIr
 
@Shmiddty Could not process input. Error: Object.keys called on non-object
 
but... everything is an object (or primitive)
 
!!/convert 3.14159r
 
@Shmiddty 0.0548d
 
!!/refresh
 
user2157210
10:16 PM
!!/convert '+Math.PI+'r
 
@Nexxpresso Could not process input. Error: Object.keys called on non-object
 
oh yeah, forgot to properly handle error messages...
 
@Nexxpresso Could not process input. Error: Object.keys called on non-object
 
user2157210
meh
 
Why would you expect that to work...?
It's not evaluating js
(except when it does)
 
10:17 PM
!!/convert 1foot to metres
oops
 
@david Y U NO MAEK SENSE!? Could not understand convert 1foot to metres (perhaps you meant to execute a command? If so, prepend the command name with a /)
@david NaNMETRES
 
NaNMETRES!~
 
user2157210
!!/convert 1foot
 
@Nexxpresso Could not process input. Error: Object.keys called on non-object
 
So yeah...the "thing to thing" syntax is currently for currency, and there aren't explicit length names; 1f, not 1foot. I should fix that...
 
10:19 PM
!!/dance
 
@david Command dance does not exist. Did you mean: bauce
 
user2157210
Good that we are good in spamming the bot to find bugs
 
Should be able to recognize various abbreviations
foot, ft, f
I'd say recognize ' as feet, but it's used for other things as well
 
user2157210
and add stone
 
user2157210
i dont know how much i weight because those idiots here measure in stone
 
10:22 PM
Fixing the "thing to thing" will be a bit longer term, I'll commit the error message handling and some abbreviations in a few mins
 
!!/dance
 
@david * nmp3bot dances :D-<\n* nmp3bot dances :D|-<\n* nmp3bot dances :D/-<
 
!!/convert 5'9"
 
wtb newlines v.v i guess that would be spammy
 
@Shmiddty Could not process input. Error: Object.keys called on non-object
 
user2157210
10:24 PM
who is nmp3bot?
 
v.v
 
Converting grams to stones will be horribly inaccurate
1g = 0.000157473st
 
I just discovered (saw on the internet and re-posting as OC) how to beat world hunger
infinite chocolate.
 
ah yes, it's a famous optical illusion magic trick
 
but but but... endless chocolate!
don't ruin this illusion for me !
(yes I know what it is)
 
user2157210
10:33 PM
I cant learn LUA
 
user2157210
arrays start with 1
 
lol
 
user2157210
and you can assign array[-5]?
 
Makes sense to me
 
@Nexxpresso not in JavaScript, no
 
10:35 PM
The second case
 
array[-5] would create an object property, not an array index
 
user2157210
but in LUA it would
 
Sugar for [list.length - 5]
 
!!/refresh
 
> Array objects give special treatment to a certain class of property names. A property name P (in the form of a String value) is an array index if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^32−1.
(From here es5.github.com/#x15.4 ) JavaScript arrays only have positive integer indexes
 
user2157210
10:36 PM
im talking about LUA
 
You can assign properties to them though :)
@Nexxpresso Oh, in LUA you can, yeah
 
!!/convert 13.5st
 
@Zirak 85728.9149g, 189lb
 
!!/convert 10imaginario
 
@Zirak Confuse converter with imaginario, receive error message
 
10:38 PM
There
 
user2157210
@BenjaminGruenbaum a reason not to learn LUA
 
dude you weigh 85 thousand grams. fatty
 
I should commafy
 
@Nexxpresso I like LUA :) I think it is a very interesting take on lazy-loading and it has a very impressive and abstract model for OOP. I'd take JS over it any day though, primarily because I know JS much better but also because I like the way JS is more
Anyway, I'm off to sleep, good night
 
Who wants to come over for tacos and cards against humanity tonight?
 
10:39 PM
@BenjaminGruenbaum You're weird
 
You ignored his entire points about Lua and just bragged about javascript
In complete disregard of anything he said
 
@Zirak " I think it is a very interesting take on lazy-loading and it has a very impressive and abstract model for OOP"
 
Neither of which he was close to mentioning
meh, nvm
 
Oh, I didn't notice his initial question was about LUA :P
Anyway, I've got to sleep, good night
 
user2157210
10:41 PM
i was talking about basic syntax
 
I hate the people who do the whole "Why is NaN a number lol it says 'not a number' javascript is so weird" dance. Fucking retarded. That's like saying "Why is "not a string" a string? it says not a string lol"
 
user2157210
I cant get myself to use a language where i do not like the syntax
 
Don't use it then
 
user2157210
yeah but it gets used so often there is no logical reason to not learn it
 
Then suck it up and use it
 
10:43 PM
@Nexxpresso A language is a language. If you are a programmer you can program in any language
 
It's more a language used for scripting. I like using it to configure my window manager. I wouldn't love it to write an x86 emulator
 
@Shmiddty A few esoteric programming languages beg to differ
I challenge you to write Mario in Brainfuck
 
Season 3 in 7 minutes.
 
user2157210
@Shmiddty its not about the logic but the syntax
 
Until then, some more H. G. Wells.
 
10:44 PM
@Zirak <{>-<-<
 
@Zirak Just because someone can program in any language, doesn't mean the language is capable or even the right tool for every task
 
Obviously. I was just being an ass and pulling your leg.
 
I only bother to dig into languages when I have a specific task in mind that the language might help/be required for. :P
@Zirak I, for one, enjoyed my mario.
 
@Zirak Uhm ... thanks
 
10:50 PM
anytime
 
user2157210
@OctavianDamiean my gf approved the golden watch
 
user2157210
soon to be ordered!
 
0
Q: ArtemisTS - Java to TypeScript port of Artemis Entity System Framework Code Review

Mihail IlinovI present you port of the Artemis Entity System framework to TypeScript Before you start dive in the code go check the Artemis documentation and examples, cause they are 99% the same as this TS framework THE CODE: https://github.com/MikeMnD/ArtemisTS SOME WORDS: This is alpha release, and i ...

 
@Feeds ...that sounds horrible
 
I understand JSONP now
ans API calls
after battling for hours.
 
user2157210
10:54 PM
@skopp it takes some time to do that
 
And boy, does it do just that
 
jsonp is a clever solution to a silly problem
 
unnecessary problem
 
jsonp is a hacky solution to a silly problem :P
 
user2157210
it works.
 
10:56 PM
With a stupid name
 
user2157210
JASON P
 
user2157210
why is that stupid?
 
@phenomnomnominal watch someone spell it out
there we go
 
json with padding...
just dumb
 
It's not JSON. It's self-induced XSS.
 
10:57 PM
I also GET LESS [HTTPun intended]
 
There's also no padding
 
if they're going to go to the effort of creating a jsonp api they should just set the cors headers and use ajax
it's probably easier
 
@david, yeah but that's not really backwards compatible is it?
 
@Zirak It is... I see it like a mutant bastard child of XML and Y(A)ML
 
i have very strong feelings about backwards compatibility and how far 'backwards' we should be expected to go >:E
 
10:59 PM
that had offspring.. by a freak named CoffeeScript
== CSON.
 

« first day (894 days earlier)      last day (4049 days later) »