ec changed the topic of #elliottcable to: a ~ℙ
alexgordon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexgordon has joined #elliottcable
<alexgordon> yo
alexgordon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexgordon has joined #elliottcable
pikajude has quit [Ping timeout: 252 seconds]
pikajude has joined #elliottcable
<pikajude> yo
pikajude has quit [Changing host]
pikajude has joined #elliottcable
ja has quit [Ping timeout: 264 seconds]
ja has joined #elliottcable
Cheery has quit [*.net *.split]
yorick has quit [Ping timeout: 260 seconds]
Cheery has joined #elliottcable
yorick has joined #elliottcable
yorick has quit [Changing host]
yorick has joined #elliottcable
<ja> ec: how do i override [] in js?
<pikajude> write a new interpreter
<ja> so i can do leik `ppl['ec'] = "huge sodomizer"`
<ja> or no
<ja> leik
<pikajude> what do you mean
<ja> ec: so i can do leik `ppl['ec'].isA "huge sodomizer"`
<pikajude> override?
<ja> so I can call methods
<ja> on something dynamically returned by [] on some object
<pikajude> ppl['ec'] = { isA: function() { ... } }?
<ja> pika pls
<ja> pls dynamic
<ja> def index_missing name
<ja> hehe
<alexgordon> ja: is ec teaching you paws?
<ja> no.
<ja> +alexgordon:
<alexgordon> ja: you can't
<alexgordon> ja: unless you use Proxy
<ja> alexgordon: o.
<ja> how does meteor do it¿
<ja> Template['projects/index'].events 'click .edit.button': ->
<ja> for leik this
<ja> thx
<alexgordon> ja: it probably populates the fields automatically? with like a loop...
<ja> “Browser compatibility: Safari: ?” (╯°□°)╯︵ ┻━┻
<alexgordon> I would highly recommend against using Proxy
<ja> rite
<ja> rly?
<ja> but…
<alexgordon> just use a normal function
<alexgordon> what's wrong with functions?
<ja> `ReferenceError: Can't find variable: Proxy` ┻━┻︵╰(゜Д゜)╯︵┻━┻
<ja> alexgordon: nothin
<ja> just curious
<ja> nd thought it looked cool x3 lol jk xx
<purr> lol
<ec> … not that I'm aware of
<ja> hi ec
<ja> u bytch
<ja> lol
<ja> u guise think `EditableTable('projects').beginEditing()` would be cool den?
<ec> wait wtf
<ja> for `$('.editable.table .edit.button').text("Done").addClass('primary') and $('.editable.table .trash.button').show() and …`
<ec> I got notifications for messages that aren't showing up
<ja> wot
<ja> ec fix it
<ja> pls
<ja> u cant not get nofiy
<ja> EC NOFY PL)X
* alexgordon lols
<ja> but l liek the square ones
<ja> :[
<ja> ec: halp
<ja> :<
* ja forever alone
<alexgordon> lol
<purr> lol
* ja => Client modified -- refreshing (x49)
<ja> i love that meteor x'es that refreshing count
<ja> so you can really tell when you're on a spree
<ja> the spree breaks on exceptions actually… O__O
* ja => Client modified -- refreshing (x2)
<ja> :<
<ja> https://upl.io/l3zcoc lol how tight
<purr> lol
<mkroman> unlike ur mom
<ja> :c
<ja> ya well i rewrote it anyway
_whitelogger has joined #elliottcable
<ja> guise
<ja> bai
<ja> ec, alexgordon: is this really the best way to do this with the `.length is 0`?: https://upl.io/x8xape —.—
<ja> with jQuery, id est
<alexgordon> is?
<alexgordon> why not ==
<alexgordon> man that confuses my python brain because in python "is" does something totally different
<alexgordon> ja: it's someone redundant but useful in a dynamic language for reinforcement
<alexgordon> ja: also it's funny you think I know about programming :P
<alexgordon> ec thinks I can't code to save my life
alexgordon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hrorek has quit [Quit: Leaving]
eligrey has quit [Quit: Leaving]
bluebie has quit [Quit: Connection closed for inactivity]
<pikajude> "is"
<pikajude> hey alexgordon maybe it's because you like dumb languages
pikajude has quit [Remote host closed the connection]
pikajude has joined #elliottcable
pikajude has quit [Changing host]
pikajude has joined #elliottcable
meowrobot has quit [Read error: Connection reset by peer]
pikajude has quit [Quit: ZNC 1.6.1 - http://znc.in]
pikajude has joined #elliottcable
pikajude has quit [Changing host]
pikajude has joined #elliottcable
pikajude has quit [Remote host closed the connection]
pikajude has joined #elliottcable
pikajude- has joined #elliottcable
pikajude has quit [Ping timeout: 264 seconds]
meowrobot has joined #elliottcable
Rurik has joined #elliottcable
Rurik has joined #elliottcable
Rurik has quit [Remote host closed the connection]
alexgordon has joined #elliottcable
alexgordon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexgordon has joined #elliottcable
alexgordon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexgordon has joined #elliottcable
Rurik has joined #elliottcable
Rurik has joined #elliottcable
alexgordon has quit [Ping timeout: 260 seconds]
pikajude- is now known as pikajude
Rurik has quit [Remote host closed the connection]
pikajude has quit [Remote host closed the connection]
pikajude has joined #elliottcable
<ec> alexgordon: what why would you think that
<ec> you get Haskell, I don't, you're already leagues ahead of me
<ec> I think *I'm* the dumbest programmer I personally know.
<ec> I'm absolutely terrible; I'm just really enthusiastic. :P
<ec> ja: it's not a *terrible* idea to do []
<ec> depends on your purposes; if you're exclusively targeting node or new-shit, then you can dynamically create setters/getters on an object
<ec> realize that foo['bar'] is literally identical to foo.bar, and all you'll be doing is setting up a setter-function for `foo.bar = …`
<ec> but yes, as long as you're targeting Very Modern stuff; and your API will be informed of all the names of things in other ways before they're used like this (so that it can create the setters); and you're sure that your use-case is one that your users won't find this behaviour surprising for …
<ec> then go for it.
nuck has quit [Ping timeout: 260 seconds]