Trucchi: Dekok: in my case, I’ve done lambda calc stuff before, but when I first looked at Folktale I hadn’t really done anything with Haskell. Later on, when I took another look at it having been working with Haskell, it was a lot easier to work with the notation at a glance
Trucchi: HowardwLo: just make sure you handle errors
Trucchi: That’s a weakness of setTimeout in general, really
Trucchi: I like to abstract setTimeout with my own method that returns a timeout object with promise methods on it
Kunshier: I like Rx for this but then i’m a bit obsessed anyway
Trucchi: Yeah, Rx is nice but it’s good to have smaller, feature-specific methods for when you don’t want to include a monolithic utility lib ;-
Tardy: Theweirdn8: many people are out there
Matkins: Anyone got some gamedev skills
Meachem: Got a bug i need to fix
Beilke: Http://www.html5gamedevs.com/topic/17087-spatial-partitioning-not-being-calculated-correctly/
Clow: Holy lack of indentations batman
Mckown: Trucchi: cool thanks :
Trucchi: Robdubya: is rxNext split up into sub-modules? or do you just mean that the core module is just an ES7 observable shim?
Nebesny: But when i copied it it got gg
Selbo: Theweirdn8 maybe drop it in a gist?
Ayarza: Trucchi the core stuff is just the necessary bits, the operators and stuff aren’t necessarily included
Sowders: I have a XMLHttpRequest.responseText, and it’s a plain integer, how do i convert it into an integer?
Dichristopher: Is that like pastebin?
Scriber: One sec, im gonna attemp a console.log debug check rite quick
Batzri: Mahlum: is there a chance that you are Kai Mallea?
Lavere: Zap0 pedantically, JS doesn’t have an integer type
Wakley: Hagb4rd: string ‘number’
Wakley: Hagb4rd: string ‘number’
Hoeft: But not every number is float precision, is it?
Windover: All numbers have the same precision, hagb4rd.
Densford: Well, actually, that’s incorrect. Smaller, less decimal numbers are more precise.
Kawashima: What I meant to say is that all numbers are stored in the same way, it doesn’t matter if they’re integral or decimal
Ruthledge: And the way is.float?
Dinizio: Afroradiohead congrats!
Vanhise: I mean like floating point numbers are stored?
Wakley: Hagb4rd: IEEE floating point – Wikipedia, the free encyclopedia https://en.wikipedia.org/wiki/IEEE_floating_point
Duprat: Afroradiohead: : Good luck on your new job
Huppert: How can I convert a huge if else to an object dictionary? something like commands = { ‘message’ = function { }
Jahaly: Not sure about the syntax of it
Bjorkquist: Giraffe_: so, why do you want to do that? And what are the conditions in your “huge if else”?
Bressi: Apparently its more organized/cleaner/i dont need to duplicate code for functions
Feleppa: From discussion user, to discussion channel, and the message
Rebik: Giraffe_: not always. There aren’t many “absolute best” thingies in programming
Hadsall: Giraffe_: so, you want to select the right functionality to handle a particular discussion command?
Girven: I still need to duplciate code in that case hagb4rd like a .leave command and if they actually leave the channel
Arrocho: Heres slightly outdated code.
Rahall: Https://github.com/MaxLeiter/IRCRacer/blob/master/bot.js
Lomax: U can have also sth like runcommand. where command is the func in run
Sowders: Robdubya, did that make you wet?
Dershem: Giraffe_: the module commander may also be interesting. it p****s a command line in a nice way
Tuukanen: Npm? ill check it out