« first day (909 days earlier)      last day (4264 days later) » 

13:01
first thing I do. take pictures and make an imgur album for reddit :P
@OctavianDamiean imgur.com/a/IcQFj
had to blur out some lic plates
Rao
Rao
What's wrong with this code? $.ajax({
	url: "db_fetch.php",  /* this file returns something like this  [{"data":{"state":"true"}},{"data":{"state":"true"}},{"data":{"state":"true"}}] */
	dataType: "json",
	success: function(json){
		json = JSON.parse(json);

		var dataArray = JSON.decode(json);
		dataArray.each(function(entry){
			var i=1;
			if(entry.valueName=='true'){
				$q('#p'+i).css( "display","block" );
			}
			else{
				$q('#p'+i).css( "display","none" );
			}
			i=i++;
		})
	}

}   Its displaying the following error in firebug, SyntaxError: JSON.parse: unexpected character
Mhmm, is the car damaged?
I mean it looks like it kinda missed it.
@Rao Format your code please, edit the message and hit Ctrl + K
@OctavianDamiean hit the car and rolled off.
there is a large hunk behind the car as well.
Oh crap ...
Rao
Rao
@OctavianDamiean What's wrong?
13:11
@rlemon That sucks. :/
hehe he just dragged the shit away and got his car out
I took pics after he left (didn't want to be creepy taking pics of him moving it)
Did his windshield survive it?
yea
1/8th" ice covering everything
hence taking down the tree
Ah, you got it worse than us
@Rao Then you're getting invalid json.
If you're the one generating it, get it right; otherwise, complain.
user2157210
13:19
no
user2157210
his error is
user2157210
its already parsed
Rao
Rao
am i parsing twice?
user2157210
if you delcare datatype json in $ajax
user2157210
13:20
it parses it
Rao
Rao
oh 1 sec
user2157210
you do not have to JSON.parse(json) again
Rao
Rao
@Nexxpresso Do i have to do this var dataArray = JSON.decode(json); ??
do i have to decode it?
user2157210
dont know i never used jsondecode
GF is laughing at me because all I could say was "That is going to be internet GOLD!"
13:23
1 message moved to Trash can
user2157210
holy shit what d you have to do with this
Time to go through rlemons history and down-vote everything :D
@rlemon You really think the internet is going to care?
The internet NEVER CARES
/r/mildlyinteresting/ will always pretend to kind of care..
it's kind of it's thing
woohoo work cancelled. snow day? ice day?
13:26
@rlemon (Obviously you just answered this) Is it snowing there?
Hey guys
Interviewee did the fiddles
@XCritics freezing rain
took down power in Waterloo where I work
I gave the thumbs up. I honestly haven't worked with a dev in the gov who knew how to append nodes to the dom.
13:27
ooh, finally warm here, I figured if it was warm here it must be everywhere else in canada :P
jsfiddle.net/nwalk7800/PJKN9 not horrible, but I hope you do get him reading some more modern js stuff.
@Loktar You gave a software developer Fizz Buzz!?
Rao
Rao
@Nexxpresso if my json is parsed then how should i access 'state' of json [{"data":{"state":"true"}},{"data":{"state":"true"}},{"data":{"state":"true"}}] ?
@OctavianDamiean well... hes a software dev loosely
13:28
function moveOptions(frm)
{
    var ndx = 0;
    while (ndx < frm.foo.options.length)
    {
        if (frm.foo.options[ndx].selected)
            frm.bar.add(frm.foo.options[ndx]);
        else
            ndx++;
    }
}
this line is funny you can tell he works in c#
that is just strange.
strOut = ndx.toString();
I don't know how I feel about that
user2157210
13:28
@Rao well console.log(json) and give us the structure of it
@Nexxpresso im pretty sure he just did lol,
@Rao it would be variable[position in the array].data.state
@rlemon yeah he doesnt know JS and the Dom very well thats for sure
but! he at least can program.
thats more than anyone here I've worked with
so I think hell be able to pick things up fast (hopes)
guy came back
@Loktar Yup.
his light on his one side is all busted out and part of the bumper
@Loktar get him in here?
:P
we'll beat it into him
13:30
Get him to do an ask me anything
@rlemon haha
Ill def recommend it
Anonymous
user2157210
@XCritics you right
Rao
Rao
@Nexxpresso [Object { data={...}}, Object { data={...}}, Object { data={...}}]
user2157210
json[i].data.state
user2157210
13:31
should work?
Rao
Rao
i think so, wil try, jus a sec
!!/eval delete gobal.whitey
@canon "ReferenceError: gobal is not defined"
ack
!!/eval delete global.whitey
@canon "TypeError: property \"whitey\" is non-configurable and can't be deleted"
13:32
The Man trying to keep us down...
Dude! The Latin pays off, I was able to read the question in Spanish!
@Loktar is his name Nicholas?
yeah
walker
user2157210
@Rao if you got problems with visualizing a structure of json you get back use this chris.photobooks.com/json
13:34
his username having the 7800 makes me wonder if hes a fan of the atari 7800
he's done android dev
if so, hes a sho in
oh nice
I'm nerd searching him now
Downloading new community :)
haha
13:34
..
> America! &!@$ yeah!
yea he's right for the job.
user2157210
he drives a dodge
@rlemon lol what?
did he say that somewhere?
twitter
/me also drives a dodge
look at the history on my edit on the .. above
13:36
whats his twitter username?
he's also trustworthy. Look at this ebay score
Positive feedback: 100%|Feedback score: 49
user2157210
:D
1 min ago, by rlemon
..
wow nice, Im only at a 27, with 100% feedback
user2157210
he worked on an ebay search script
13:36
I only see ..
user2157210
no he is working
@nwalk7800
3 tweets, 3 followers, following 5 users
3 tweets lame
user2157210
13:37
his reviews meh
was hoping he was active
user2157210
he got a bad review on elance
user2157210
Wasn't satisfied.”
— Client Info
Freelancer Response:
“I'm sorry that you were not satisfied. Web development is not my area of expertise.”
@Loktar hehe he's active in the sense that he's signed up for a lot of shit, and all with the same handle.
hah nice
user2157210
13:38
2004 Dodge Durango
yeah thats him
user2157210
loktar what do you drive?
Dodge 2500 97'
He likes Star Wars, that's a plus.
I drive old used vehicles to save monays :P
13:39
how does that save monays? :D
user2157210
he has a LG Extravert VN271
a vehicle thats only 4.5k is cheaper than one for 25k
so I pay out of pocket, drive it for 5-10 years w/o a car payment
@Loktar same
gf and I own ours outright.
@rlemon yeah it makes sense
no car payments.
13:40
we have a Van we are paying on though
Yea same here.
thats the family vehicle
it's not a 30K car, it's a (taxes and all in ~8k now that I think about it)
Can't get a car for 4.5K here :(
@BenjaminGruenbaum not even a used one?
13:41
i'd just buy a fairly new car because of the gas consumption
my first car was $895
@GNi33 My 2003 gets ~40mpg
@GNi33 yeah my commute is 2.5 miles
2006 with only 60K kms on it so that was really good
so I fill up once every 6 weeks lol
13:41
@GNi33 Yea the new BMW Efficient Dynamics series is sick.
@Loktar it's 16km each way for me
@Loktar Maybe a really old used one, taxes on cars are really high
city and highway, so I fill up twice a weekish
what is that in the imperial system!?
@Loktar okay, then it probably doesn't really matter that much
13:42
Something about encouraging people to use public transportation or that sort of crap
9 miles
thats not bad
user2157210
16km about 10 miles
325d (I think) consumes diesel 4.1L/100km
@BenjaminGruenbaum yeah we dont have that here
user2157210
@OctavianDamiean you dont want the d
13:42
not in Nebraska that is
some mornings due to traffic it's still 30 minutes for 10 miles
@Nexxpresso Why not?
user2157210
because you want the m
user2157210
and diesel sounds horrible
13:43
I was talking about an efficient car.
I would love to own a full electric car
even a hybrid. I would never use gas
18k nis which is ~4.5k usd buys you an 8 year old Hyundai Accent at best
but the initial cost is too high
user2157210
@BenjaminGruenbaum but 8 years is not old for a car
13:44
@Loktar's dream car ^^
LOL that thing is effing crazy
@Nexxpresso Not for a good car :)
Holy FU**!
Nah I like Giant trucks, or luxury cars.
so you'd be down with the RR Phantom with me right?
2004
user2157210
13:44
I dont remember that one car
sports cars are also badass.. but id kill myself
@rlemon hell yeah
good, once I buy it i'll need a driver
user2157210
sit back and relax.
Eurica'
user2157210
13:45
user2157210
i want that badass
What the hell you wanna do with it? Do you plan to visit Iraq or something?
hah that is crazy
user2157210
I wanna feel safe
13:47
user2157210
but maurauder is actually a streets car
@OctavianDamiean I just want to own a friggin' tank.
Lol, I just want a car that works ^_^ That means gets me from point A to point B without a hassle, has decent audio with AUX input and good air condition
user2157210
that is a tank
Murica ^
13:47
@rlemon Murica
@BenjaminGruenbaum But I already have that. We're talking dream cars.
user2157210
@SomeKittens cant you buy tanks where ever you live?
@BenjaminGruenbaum but... i want that too
@rlemon hahaha
13:48
@SomeKittens Right after the crumbling of the Berlin wall, my father was offered a fully functional MiG 29 for $1000. :D
He declined.
@Nexxpresso Depends on how rich you are
@OctavianDamiean booooo....
I mean what for!?
@SomeKittens That new Maserati looks nice, called something with a G iirc
user2157210
@SomeKittens well used tanks in germany go for 30-60k
Kids being bullied at school? Pick them up in your T-70 MBT
13:49
@Loktar lol that made me laugh so hard. I mean, bottom line is red necks in Canada are just as bad but we hate on eskimos
It was a friggin' fighter jet ...
user2157210
@OctavianDamiean just because you can
LOL
user2157210
ITS A FUCKING MIG EVERYONE WANTS A MIG
13:50
Migs are lame!
@Nexxpresso Nah migs suck
user2157210
and for 1000$ everyday
f22 ftw
Only $17k and street legal!
user2157210
13:50
you cant afford a f22
@SomeKittens Get a bradley
how much is the mig?
user2157210
but for $1k
user2157210
you would take the mig
user2157210
13:50
dont you tell me you wouldnt
1k?? lol
probably
I would.
but idk if id fly it, id be scared
user2157210
i would have a fucking mig in my backyard
Well that was a farmer, they somehow stole a MiG and wanted to sell it. :D
user2157210
13:51
how do you somehow steal a mig
Very carefully
pay the russian gaurds
lol, what? a mig?
user2157210
i dont know how it came here it was just in my garden
give them each $100
and some vodka
user2157210
13:51
user2157210
here a mig
i wouldn't evem think a second about it, give it to me
wait do the Germans have migs too?
See, I'd want to buy a fixer-upper. "Hey, what are your plans for Saturday" "I'll be out back, working on my tank"
@Nexxpresso When Ceaușescu was killed and the regime crumbled there was a A LOT of chaos and A LOT of corruption.
user2157210
13:52
if i would have that holy shit my sons would always be the cool kids in class
@Loktar W. Germany
@SomeKittens lol
@Loktar Yea.
Ah ok yeah makes sense in W Germany
seriously, that would be the most awesome thing standing around in your frontyard ever
13:52
Was reading about tanks not too long ago, apparently you Germans still have some pretty badass tanks :P
The Russians do as well
@Loktar Why does he go 1 -> length and does access by -1ing...? eh, acceptable
was surprised to see how behind the US seems to be on tanks
user2157210
"My dad drives a Mercedes" "My dad drives a BMW " My dad has a fucking MiG
user2157210
@Loktar well its our income to sell tanks
13:53
Most people laugh at the movie Lord of War with Nicolas Cage but it was really easy to get all kinds of sick weapons.
user2157210
we got some pretty advanced ones id say
@Zirak hah that is weird
user2157210
Its still pretty easy to get most kinds of weapons
My girl, my car, my hottub, my house, MY FUCKING MIG
@Loktar M-1 Abrams is still the only tank with a KDR of infinity (we've never lost one)
13:54
He does it for the fizz-buzz check. Depends on how he thought of it.
> fill each div with its index (1-based)
@Nexxpresso but not a MiG! :D
maybe because of that idk
Advanced Canadian weaponry
13:54
@SomeKittens yeah
user2157210
@OctavianDamiean holy shit i want to get a MiG
was just surprised to see how old the M1's are
Russians are working on 5th gen tanks
where they will be operated by 3 people I believe
i'd go with a YF-22 too probably
yeah thats why I dont worry about other tech.. I mean we have the f22
@Loktar M1's are operated by three, aren't they?
13:55
that thing can shoot down a plane from 200 miles away
@OctavianDamiean I thought it was 5
user2157210
@Loktar who cares about tanks and such when you have fucking ICBMs
ah its 4 I guess
Oh no, it is four for an M1A1
@Nexxpresso haha yeah true, but id prefer if those werent used
we use one, then everyone else uses one..
why was that flagged?
user2157210
Germans intermediate range missiles are the best
user2157210
13:56
..
user2157210
range of 300 Km
@Loktar you got apaches...
user2157210
while the brits use the same and have a range of 2500km with the same missile
What's with the gratuitous cussing?
user2157210
what are we doing wrong
13:57
@GNi33 Apaches are lame.
They're slow.
pah
user2157210
oh holy did you flag my "fucking icbm"?
@Nexxpresso the thing is the Germans have shown you can give them about 4-5 years and they can come up with tech that makes the world temble.
user2157210
Oh we got that super cool new laser shizzle
would be cool if we all just joined forces for space exploration :(
user2157210
13:58
shooting down every object coming near 40 km or smth
Germans could make amazing planet rovers, US and Russia could make the space vessels.
@OctavianDamiean did you see the attack-strategy they used in the gulf war?
Hey everybody... I made my first Pen: cdpn.io/qrGti
Brits could make extrateristrial navies
user2157210
no one ever uses my strategics in wars
user2157210
13:58
i am dissapoint
@GNi33 Which one?
@Nexxpresso Yeh I did it by accident due to an epic bit of mouse fail when trying to hit reply on that message (I managed to hit the flag and then the OK on the confirmation :-S)
that's just crazy. worked mainly because they are very silent for combat helicopters and are really steady
I wasn't offended enough to flag it but it's still kinda unnecessary
@RyanKinal lol Rick rolled
13:59
hehe
user2157210
oh holy grow some balls
user2157210
now you can flag if you want
a group of apaches would hide behind hills very close to the ground to suddenly rise, fire their rockets and back off again behind the hills closely to the ground

« first day (909 days earlier)      last day (4264 days later) »