« first day (1781 days earlier)      last day (3170 days later) » 

3:00 PM
How is a javascript function assigned to a property? i.e. listView2.add_itemDragStarted() = itemDragStarted(sender, args);
 
amazon never does that. even if your card expires, they just figure out how to take your moeny and the server never stop
 
HAMMERTIME!
 
where itemDragStarted is a JavaScript function
 
@JoJo obj.prop = function fnName(arg1, arg2) {}
 
and fnName is optional.
 
3:00 PM
@rlemon ty very much
 
yw, but I still think you don't have what you want
obj.prop = func(a,b); // this assigns obj.prop the RETURN value of the function call.
 
ya still getting Invalid left-hand side in assignment
 
add_? what library is this?
 
show me your actual code
 
telerik RadListView
so far just:
                            listView2.get_clientSettings().DataBinding.ItemTemplate = $get("itemTemplate").innerHTML;
                            listView2.get_clientSettings().AllowItemsDragDrop = true;
                            listView2.add_itemDragStarted() = function itemDragStarted(sender, args) { };
                            listView2.set_dataSource(results);
                            debugger;
                            listView2.dataBind();
 
3:04 PM
add_itemDragStarted is the function.
add_itemDragStarted() calls the function
please drill this into your brain
 
ok
 
My therapist told me to stop masturbating.
"For how long?"
"Well, at least until you get out of my office."
 
so then how would one add functionality to add_itemDragStarted()?
 
...
 
...
 
3:05 PM
...
 
...
 
i can't find it in telerik's docs, but it looks liek you maybe pass a function TO add_itemDragStarted()
add_itemDragStarted(function () {});
 
yes Luggage exactly
 
!!!
 
!!!
 
3:07 PM
I will try it Luggage listView2.add_itemDragStarted(function itemDragStarted(sender, args) { });
 
...
 
...
 
...
 
...
 
(sender, args) are you sure this isn't c#?
 
3:09 PM
!!!
 
is no one going to talk about the mix of camel, snake, and .. caps? case
 
!!!
Oh, you mean like
HTMLUnknownElement
 
add_eventName and remove_eventName are c#'s way of naming the internal methods used for registering an unregistering events.. this whole things looks like c#, not JS
 
user1596138
myVariable_name_LooksGood
 
3:10 PM
^ yeah that
add_toSome_ThingOther
 
hurts_soGood
 
off-topic, but does anyone know the origin of the emoticon :c ?
 
Nobody cares about the origin of the emoticon
wikipedia that shit
 
for added effect, have two methods, addFoo and add_foo, each of which does something entirely different
 
:(
i tried man
 
user1596138
3:11 PM
@AaronHarding Same as 30035 looks like boobs... or whatever...
 
yeah, like is it a sad smiley or is it a cute smiley?
anyway back on-topic, pm me or something if you know :c
 
depends on the font
 
user1596138
@AaronHarding PMs do not exist..
 
room to rooms do though?
isn't that the same thing?
 
@AaronHarding It's a sad face, I used it on MSN like 5 years ago
 
3:12 PM
:^)|---<
 
:^)|---^<
 
@Cereal lol
i've seen it used in cute/innocent/awkward situations
perhaps it's colloquial
 
why does it matter?
 
user1596138
Since we're off-topic...
 
user1596138
 
user1596138
3:13 PM
NOOOOOOOOOOOOOO
 
This car is no longer listed for sale.
 
user1596138
^ NOOOOOOOO
 
pwned
 
user1596138
I was looking at it yesterday :(
 
noob
 
3:14 PM
What was it?
 
a car
 
omg, really
 
user1596138
It was a really badass Ranger
 
yarly
 
user1596138
Nice rims, edge/sport package with all the color matched fender flares/bumpers, manual 5spd and 4x4
 
user1596138
3:15 PM
Only like 60K miles
 
user1596138
Dammit.
 
user1596138
I'm upset now.
 
all the fenders the same color? nice. That's quite a find.
 
@Jhoopins nice oxymoron
 
s/ass/ ass/
 
user1596138
3:15 PM
@KendallFrey Psh you've never seen a badass Ranger? They're Jeeps with beds once you move away from stock tires...
 
user1596138
@Luggage The flares matched to the paint.. It was in immaculate condition
 
user1596138
@KendallFrey ^ Ranger (with Jhawins in the bed in blue haha)
 
user1596138
I would buy a commanche if they made them still
 
user1596138
3:17 PM
I would never have bought a Ranger if they did..
 
user1596138
To clarify I said they are Jeeps with beds because they have short wheelbases and are lightweight 4x4s. Also, my Ranger 4.0 v6 put out more torque than the Jeep 4.0 v6 does. Now I'm just waiting on the bank to buy a new one
 
@Jhoopins Redneck christmas card?
 
with the right mix of parts, you can mke a 4.2 or 4.6l out of it
 
user1596138
@rlemon It is a pretty good pic
 
add christmas trim
send it out
 
user1596138
3:19 PM
@Luggage ....out of what??
 
crank from one, block from another.
 
user1596138
lol
 
user1596138
Hell with that
 
i forget the exact engines.. i think the 4.2l from an eagle or older jeep + modern 4.0l parts
they were all the same basic engine
 
user1596138
Like a factory stroker kit
 
3:20 PM
right.
but more of a junkyard stroker kit
 
user1596138
If you use <98 pistons in a >98 ranger 4.0 you get 10.1:1 compression (vs the usual 9:1). That's about the only junkyard kit you can put together
 
i think you take the wider bore from one + longer crank from the other to get a 4.6l.
 
@Jhoopins you look at that and see fun. I look at that and see a hole to throw money in
 
user1596138
@KendallFrey I have never gone to any event like this of any kind. Have never even gone out to try and get muddy in a vehicle
 
get a prius
and put a 4.6l stroker in it.
 
user1596138
3:23 PM
The whole Ranger group was going and they suckered me into it. But yes, that mud pit cost me a whole engine no shit.
 
@Jhoopins have you considered becoming a professional comedian?
 
I heard that if you stick your hand out a window in Prius, the vehicle will turrrrn.
 
@Luggage tricky stuff.. esspecially with no telerik documentation
listView2.add_itemDragStarted = function itemDragStarted(sender, args) { }; I think I will need to provide the sender?
 
What's a sender?
 
i'm not sure you are even in the right language.
 
3:25 PM
My laptop managed to drain 24% of its battery while plugged in and charging. ._.
 
@Luggage true
 
...
 
listView2.addEventListener('itemDragStarted', function(sender, args) {});
 
that's not what those docs say.
they show it being registered with an attribute on the asp.net side of things
they show NO programmatic way to register an event in those docs
and the (sender, args) signature is noramlly c#, but those docs say they use it on the JS side, too..
 
Meh, fuck knows.
It says it's a DOM event, so it'll be a variant of the above, since it doesn't say what the actual event name is
Probably .addEventListener('OnItemDragStarted', ...)
 
3:29 PM
morning
 
eventArgs.get_dataKeyValues().Title;
WHY
 
@JoJo can you use the property-based event registration shown in the docs? If not, where did you find the add_eventName function?
@BenFortune don't click on the 'pricing' button at the top right.
 
@Luggage 130K+ customers
 
<goes to start shitty web control company>
 
user1596138
@KendallFrey What...? I don't do that shit it's stupid.
 
user1596138
3:33 PM
I go out and plow through the snow that's all
 
@Jhoopins You just showed me a picture of you doing it
 
user1596138
Snow melts off, doesn't dent/scratch shit, doesn't ruin your engine
 
Pretty sure this is the first actual ad I've ever seen on reddit
 
you also showed us a picture of some girl and your truck ditched way out in the mud
 
user1596138
@KendallFrey That's somebody elses truck. And I said "I have never gone to any event like this of any kind", referencing this event as the exception
 
user1596138
3:34 PM
@KendallFrey I slid off the road. I wasn't playing in the mud
 
the road was mud
 
user1596138
Ideally I would've come off that road 100% clean.
 
user1596138
The road was wet and a dirt road.
 
what do you get when you make dirt wet
 
user1596138
So it was a muddy public road
 
user1596138
3:35 PM
Not the same thing... There is foundational work underneath, keeps it from turning into straight up sludge mud
 
still muddy
Don't post pictures of mud and expect us to think you're not a redneck, bro
 
calling folks retarded fags also doesn't help with the "not a redneck" thing
 
user1596138
Who called who a retarded fag?
 
1 min ago, by Jhoopins
Yeah, but I said I didn't go there to get muddy. I'm not one of those fags who judges how well his drive went by how many lb of mud are on his truck. That's retarded
 
can I macro with ST3? like I have a large object and I can bulk replace crap, but I want the replacement to auto increment
 
user1596138
3:39 PM
Go jump on somebody. I am a hick in a sense, just not that kind.
 
user1596138
@rlemon Python
 
thanks
so helpful
 
user1596138
Such help very worth
 
 
@Mosho Ninja?
 
3:40 PM
@Jhoopins This is a programmer chat room. Anyone who goes outside is a hick
 
Z800
 
It's purdy
 
@Jhoopins never showed you the last one :P
 
user1596138
@Mosho That motor surprisingly does not look like a lil 125... I thought everybody outside North America drove lil 125s?
 
brought north america back with me
 
user1596138
3:41 PM
Sexy. I like it.
 
@Mosho why always with the green on motorcycles?
 
seriously guys
no need to flag the word "fag"
 
kawasaki = green
just like ferrari = red
 
oh, didn't know they had a brand color
 
you can copyright a colour
listen, whoever has it out for J can just stop flagging
seriously.
fuck off with that shit
 
3:43 PM
@rlemon yeah, I knew about like British racing green and all that
 
@ssube T Mobile owns fushia
 
wat
fucskcsshia has been around forever
 
sorry
magenta
t mobile owns this colour
no other mobile carrier can use it
 
wouldn't it have to be a very particular shade?
and is it as part of the trademark?
 
yup
 
but the 'official' magenta colour, they own
 
you can trademark practically anything, but it's not a problem cause trademarks only apply to that specific industry
 
@ssube tell Apple
(old, but relevant)
 
just because apple does it wrong doesn't mean that's not how it is in real life
 
fastest kawi :O
50k
 
3:48 PM
@Mosho My uncle has a pre-order in for one of these
 
those are for old people :D
 
I want a BMW bike
 
He is old :/
 
but I should probably learn how to bike first
 
if I get a BMW, it's a S1000RR
 
3:49 PM
how do we feel about using React
 
the one they all ride in MI
 
vs say backbone + hbs
or jade even
 
@dopatraman Backbone is pretty shit
Handlebars is good, but simple (intentionally)
 
ejs4lyfe
 
React seems well-regarded, although I don't use it
 
3:50 PM
at least for view rendering..
 
that one does 0-100 in 3.1 seconds, stock
 
react really jsut does the layout, though, not the data things backbone does.
 
what do you use @ssube?
 
Handlebars is also real snappy if you go through the trouble to precompile your templates and all that
@dopatraman Backbone :(
 
there is flow, whatever that is
 
3:50 PM
also i assume youre saying backbone is shit for views
 
React is only comparable to Backbone.View
 
cuz its pretty awesome for everything else i think
 
@dopatraman the view part is actually fine. Their models and collections are worthless.
 
wwwwat
 
yea, backbone is shit for views, maybe OK for the data.
 
3:51 PM
whats better iyo
 
The way Backbone handles sync is super inefficient, to point of being broken.
 
better than angular tho imo
(im using angular)
 
The fact it tries to sync models out of collections is stupid broken
Backbone's sync stuff just plain doesn't work with most REST APIs
their models/collections are centered around it, so if you throw those away and just use the router and views, it's usable
 
interesting
iv actually never heard that complaint before
 
but the router and views are nothing special at all
 
3:52 PM
it's still pretty bad and anything else besides ember would be a better choice, but the router is usable
 
I vote React for views and React-Router for routing and then.. you'll still need the data part
 
thing i dont like about react is that it abstracts everything away from html
i like jade because i can put everything in the markup
 
maybe react flow? I never used it, though
 
the whole control-view-with-js thing is kind of counter intuitive imo
 
alt is kinda nice.
 
3:54 PM
you want your html to be rendered on the server or client or both?
flux.. that's what I meant instead of 'flow'
 
@dopatraman it doesn't really abstract everything away
as long as you understand when it generates spans the rest is really straightforward.
 
a thin abstraction layer to make it consistent.
@dopatraman here is some react code that just displays 3 similar elements. The same type of thing you'd use a jade mixin for for avoid duplicating code: gist.github.com/luggage66/350e7c087ec6110d91ba
 
hmm
 
@Jhoopins is suspended for 50 mins
pretty shitty
 
so i would still prefer jade for the following reason
 
3:59 PM
but you defenders of justice can feel good at least :)
 
1. i dont like mixing logic with view
 

« first day (1781 days earlier)      last day (3170 days later) »