Why does the inline popup.

 
Trucchi: There’s another thing where LS has a sweet feature though

Trucchi: Dekok: LiveScript also allows _ placeholders ;-

Aspri: For Mermaid and Purr I just gave up on currying completely in favour of placeholders.

Rita: It makes the code easier to read in a dynamic language

Trucchi: I prefer partial application to currying for most things anyway

Trucchi: Less likely to surprise you

Eanni: So instead of let sum = fold + 0 you have let xs sum = xs fold: _ + _ from: 0

Trucchi: Yeah it’s pretty nice

Trucchi: Though hard to read when you aren’t used to dealing with it, heh

Derk: I think both are hard to read when you’re not familiar :

Double: But placeholders are less unintuitive

Tiberi: Never seen placeholders before

Schweiker: Scala and Clojure have them

Amaker: PureScript has them in very limited scopes. LiveScript has them. I think you could say Bash has them

Huckfeldt: But you can’t really create anonymous functions in Bash I guess

Stuchlik: Dekok: what would a placeholder be in bash?

Brummel: Baxx: to help you write zip/map/flatmap/reduce/filter and friends, ofc

Stuchlik: Dekok: hmm, I’m a bit lost, I should probably learn what I placeholder is first

Walshe: Hello, how can I modify new Date to get the actual date at some other time zone?

Sanchz: Baxx: basically, instead of using 1, 2, 3.mapx = x + 1, a placeholder would let you write 1, 2, 3.map$1 + 1, and create an anonymous function automagically for you

Schuetz: So just a shorter way of writing really simple functions

Stuchlik: Right fair, I’ve never done anything like that before, thanks though :

Switcher: Can I tell it to use UTC -3 or should i just use UTC and manipulate it?

Gaona: Has anyone experienced an issue with many XML AJAX requests in IE8/IE9 causing m***ive slowdown? i.e. 10 seconds to get a 2000 byte XML

Riska: Collin: how does the slowdown show to the user?

Joeckel: Seems inconsistent. IE9’s dev tools show that the request spent 9.8 seconds ‘waiting’ on the slow requests, whatever that means

Trucchi: Higuchi: they’re neat. Like, say you have function f.args { return args; }. You can do and I’m gonna use livescript here: f = .args – args; bf = f _,’b’,_,_,_; bf ‘a’ ‘c’ ‘d’ ‘e’ and get = ‘a’, ‘b’, ‘c’, ‘d’, ‘e’

Timus: Zomg: The DOM is populated by javascript. It doesn’t happen until all requests complete, so nothing displays.

Thew: Fiddler shows the request took 0.2 seconds, so it’s like IE8/9 aren’t even sending the request

Riska: Could be something to do with XML parsing?

Mynear: All of the XMLs are very small 2 KB

Skye: I’m mostly curious about the ‘waiting’ in the dev tools

Bicknese: This example has 36 requests

Lilly: Chrome will only do 6 in parallel, so the rest have to wait

Chatelain: But I’d bet there’s a cap

Houde: Trucchi: that’s pretty neato

Riska: Yeah sounds like that could be the issue if it’s sending the requests simultaneously

Trucchi: Higuchi: makes me wish I used LS more often, hehe. Though what’s cool is that postgres’s plv8 language extension will actually support it – so you can write livescript functions within postgres!

Cusworth: My only thing with that is you have to remember where your partial application stuff happened

Trucchi: Yeah. the rest of the params will be in normal order

Balder: With curried functions you always start left and move right

Klingberg: Unless you curry right but lalalla

Trucchi: It’s basically the same thing as .bind, only you aren’t forced to preset arg1 and arg2 if you want to set arg3

Duderstadt: Why does the inline popup not work for me? http://dpaste.com/1EZWTC3