« first day (892 days earlier)      last day (4073 days later) » 

10:00 PM
Oh. The project sounds interesting, though
 
@BenjaminGruenbaum Ohk, thank you
 
No problem
 
Are the O'Reilly books generally the best tech books to learn from ?
 
Can't say that
O'Reilly has a fair bunch of good stuff and a good bunch of crap
 
@SteveJobs No. You can't really define a best publisher.
 
10:02 PM
Well, that was late. This just got accepted
Half a year
 
@Zirak I'm still hoping to get this one accepted.
111
A: How to parse XML using the SAX parser

Octavian DamieanSo you want to build a XML parser to parse a RSS feed like this one. <rss version="0.92"> <channel> <title>MyTitle</title> <link>http://myurl.com</link> <description>MyDescription</description> <lastBuildDate>SomeDate</last...

 
Hahaha nice answer
Too bad I've already up voted it
 
hehe
 
Yea, same here. :D
 
Don't get your hopes up; OP was last seen on the 31st of January 2011
!!/user 557187
 
@Zirak lol
 
@Zirak Hope dies last.
 
say if i have a ajax result which is {'99LastId': '1823'} how can i set a js variable to be this var 99LastId = 1823;

Also i dont know what the 99 will be or the 1823?
 
@Connor JSON.parse it, then set to value?
 
@BenjaminGruenbaum the bit im confused on is setting the name of the variable to the 99LastId
 
10:09 PM
I have to go, good luck though! I'm sure other people in the room will be able to help you out with it
 
@BenjaminGruenbaum k Thanks
 
Well, you can do something a bit backwards, but why don't you know the key name?
Also, a variable name can't begin with a number
//anyway:
var obj = {'99LastId': '1823'};
var value = Number(obj[Object.keys(obj).pop()]);
We list the keys of obj, grab the last one, extract the value with that key from obj, and turn it into a number.
 
!!s/.pop/.poop/
 
@OctavianDamiean //anyway:
var obj = {'99LastId': '1823'};
var value = Number(obj[Object.keys(obj).poop()]); [\(source\)](http://chat.stackoverflow.com/transcript/message/8499449#8499449)
A language that doesn’t have everything is actually easier to program in than some that do. [Dennis M. Ritchie]
 
user2157210
ok guys im in steam shopping mood
 
10:18 PM
oh are you
 
user2157210
any ideas?
 
Can't you just boil some water?
 
water get's boiled in our tummy anyway
 
terraria
or magicka
 
user2157210
just added terraria
 
user2157210
10:19 PM
pre ordered aoe 2 hd
 
saints row 3 if you haven't played it yet
 
user2157210
garrys mod
 
user2157210
already have it
 
My little ponies
 
unicorns 3
 
10:20 PM
use this to find specials: steamdb.info/sales
 
Barbie Dreamhouse
 
just cause 2 is pretty lols, especially for $3
 
user2157210
is it good?
 
@Nexxpresso Buy me a book.
 
My First Butcherhouse. For the parent with ambitions.
 
10:21 PM
far cry 3 mate @Nexxpresso
 
user2157210
already have fc3
 
user2157210
@OctavianDamiean a book=
 
I just got Deadspace 3 for free
 
user2157210
which book
 
@AmaanCheval see edits
 
10:21 PM
Hey everybody
 
everybody get down
 
Hi Dr. Nick!
 
rlemon is about to poop
 
haha!
 
@Nexxpresso Simon Sarris' HTML5 book. Your benefit would be that I'm happy.
 
10:22 PM
in php if i do this function(&$var), how do i do that in javascript?
with the & sign
 
user2157210
@OctavianDamiean great
 
everything is passed byref in js
 
user2157210
last austrian we germans made happy fucked up hard
 
unless scoped to not do so
 
I have a blank form acting as a fake login screen and the client I have wants it to show an error if the user submits it and the username and password are blank. Anybody know how I can do this with jQuery?
 
jQuery.magic('stuff');// done
 
wats a jQuery?
 
@Nexxpresso Yea but if we Austrians become unhappy we tend to kick off world wars.
 
@Connor You can't.
 
    for example my function

    function isset(var){
    	if(var == undefined){
    		return false;
    	} else {
    		return true;
    	}
    }


if i do this isset('myvar'); it checks if var isset not myvar
 
10:24 PM
return !!var;
 
I tried using .valid(), .submit() and .click() function to show the error but when the form is submitted it refreshes so the error is removed.
 
and var is reserved
 
user2157210
@OctavianDamiean no you tend to become american gouvenors
 
function isset(v) {
  return !!v;
}
 
user2157210
i can live with that
 
10:25 PM
@Connor If you want to check whether something is declared, do a typeof foo !== 'undefined'
 
@Zirak nahh, cool kids just check for not falsey
 
@Zirak so that function isnt possible?
 
zzz
 
@Nexxpresso I'm sure that one just thought it would be a role in some movie.
 
pass the actual variable, not a string
 
10:26 PM
@rlemon Which will throw an error if something isn't declared; doesn't php's isset check for declaration
 
but then i get errors from js saying its not defined
 
0
Q: What goes where with front end frameworks (Angular) / CSS tools (e.g. Bootstrap)

wobbily_colI am a back end developer (Django these days). I want to build more interactive front end for parts of my database app (at the moment we are importing stuff using Excel, which is very error prone and generally a poor choice). I want to provide something to replace excel, so a rich front end tha...

 
not that i'm aware, I think it just checks for empty and falsey conditions.
 
@Connor Then you can't do a function like that; do a typeof check.
You could've googled.
 
but i'm not 100% - tbh I only use it for HTTP checking of POST and GET
 
10:27 PM
kk
 
@Connor stahp what you're doing, and go read a book on how to program with javascript
 
user2157210
someone played lego star wars?
 
user2157210
its 50% off
 
user2157210
and i didnt reach my limit yet
 
@Nexxpresso my gf loves the lego games for some reason
 
10:27 PM
@Zirak nice of people to assume things right :)
 
@Nexxpresso Anyway we're getting off-topic there. We were talking about you buying me a book.
 
My gf is obsessed with Diablo 3.
WAYYYY too obsessed
 
user2157210
@OctavianDamiean cant afford book
 
D3 is ok
 
user2157210
is too expensive
 
10:28 PM
@Shmiddty ive never heard so much rubbish
 
Seems like php.net/isset checks for declaration and non- NULL -ness
 
People are voting my question down, but nobody has said why. Do yall have any idea? stackoverflow.com/questions/15636849/…
 
user2157210
i can only buy games with credit card and forget about it until next month when it gets taken from my account
 
@rlemon I swear I read that as "My gf is obsessed with Dildo 3". Was a bit shocked. :D
4
 
It's a little upsetting, since I think I've lost 2 karma so far, and I worked hard for what little I have.
 
10:29 PM
@rlemon Tell your GF I need an MP10 uber farming party. I has the SNS wiz
 
@RobertKuykendall Because it's a way common problem; answers to it exist all over the internet. Google the error message ("Origin blah blah is now allowed by ...")
 
@RobertKuykendall you will soon learn Karma/Rep is meaningless and it's so easy to get once you put a few answers out there
 
user2157210
i do not think lego star wars fits my gamestyle
 
Ziark: That seemed to be the impression of my first commenter, as he just linked me a google result for that. However, he has since deleted his comment after I explained why I thought it was more complex than that.
 
@Shmiddty she has like 6 60+ chars. her DH is like +31 Paragon
 
10:31 PM
I'm only 18 paragon
 
@RobertKuykendall See the new comment
 
because I'm lazy
 
Also, since when have easy questions been down voted on SO? I usually see people jumping to answer them...
 
@Shmiddty she says add her and she will help you out if she is online and free. hseltner#1101
 
10:32 PM
werd. I wanna roll some more hellfires
 
oh wow
@OctavianDamiean you're not following football, right?
 
@GNi33 I'm not a fan but I generally watch when Austria plays.
Watched it tonight. :)
 
pretty crazy game
 
Indeed.
 
Yo dawg, I heard you like JSON, so I put JSON in your JSON, so you can JSON while you JSON.
 
10:34 PM
Let's hope they recover for Sweden.
@GNi33 I'm a bit disappointed by Arnautovic though.
 
yeah, hope Junuzovic isn't injured too bad
a bit disappointed?
he completely sucked the whole match
same with Fuchs
 
user2157210
HOLY SHIT STEAM
 
user2157210
wont let me pay because i am not in germany right now
 
if Arnautovic has a good day, we can be dangerous over the sides
not today. this guy needs to get his shit together, he'd be an ace player
 
@Shmiddty she has 4 machines but no one to run with her. She also has like 10 of the stonefort keys and a handfull of the others
 
user2157210
10:37 PM
steam please please please please take my money
 
@GNi33 Yea. Same goes for Alaba though.
 
well, he didn't really have a good day, but he's still able to show his quality though
 
@rlemon Yeah, I'll hop on tonight in about 2.5 hours
 
that's the big difference between those two
 
Not saying he's bad just that he didn't excel today.
 
10:39 PM
Zirak: Thanks for adding something, but It doesn't seem relevant to my problem.
 
user2157210
holy shit steam is shitting me
 
user2157210
they do not take my credit card no paypal nothing
 
@Nexxpresso They heard that you didn't want to buy me a book.
 
@rlemon Dude... she has a fuckload of hp
needs more AR
 
DH don't get hit often (or shouldn't)
I was HUGE into D2 and D3 until the paragon patch. Then lost interest
might go back
 
user2157210
10:47 PM
i hate steam fml ..
 
Fair enough, I haven't really played DH
My first toon was a barb. Hit a huge brick wall at inferno, rolled a wiz
 
Also we are EST and she usually goes to bed at ten. So keep that in mind.
 
yeah you need to contact customer support
i had the same issue when i moved to the US from NZ
 
Same, but my second was a WD
 
user2157210
@david thats retarded
 
10:48 PM
yep, but it does a good job of preventing fraud
 
Hit inferno with my barb in like a week tho
 
it didn't take me long to sort out
 
user2157210
great idc fraud if someone buys me something on my account
 
user2157210
hell
 
user2157210
or with my credit card
 
user2157210
10:49 PM
what do i care i just ring them up and tell them that wasnt me
 
@rlemon yeah that's about right. Me and 3 friends were running together.
they don't play anymore though. haha
 
yea I was solo the entire way
BIG MISTAKE
 
but it costs them, having to reverse the shit
 
they have game ADD
 
If you can proof-read this for me and fix obvious spelling, grammer, sillyness errors I'd love that stackoverflow.com/questions/10929711/…
 
10:50 PM
i think buying games from other countries is fairly rare
 
trying to learn team play with the barb when used to solo always was tough
 
@david, are you from NZ?
 
Yeah. I went super tanky, didn't die til like A3 Hell because I ended up getting so cocky at how little damage I took
 
user2157210
@david well they even have a mobile app so i can see the sales while on vacation
 
Then inferno and tears
 
user2157210
10:51 PM
but they do not let me buy?
 
yea the exponential difficult jumps were a bit difficult
 
@phenomnomnominal yeah i guess
 
then they nerfed everything and I can do MP5 on the barb just wwing through everything...
 
Whereabouts?
 
anyways. gaming time for me now
 
10:51 PM
adios
 
i was in auckland (living in SF atm though >_> not nz)
nz citizenship though
 
Oh fun!
 
you guys should be playing path of exile instead of diablo >_>
 
user2157210
i got this one diablo freak guy in my friends
 
user2157210
he said poe isnt that good
 
10:54 PM
he probably likes it in the butt then
poe is awesome :P and free >_>
 
user2157210
nah
 
user2157210
he said its better than d3
 
user2157210
but worsen than d2
 
although i bought $50 of cosmetic shit to support them
definitely better than d3
 
I've played a bit of PoE
 
user2157210
10:55 PM
ah dont ask me about free to play games
 
d2 was pretty groundbreaking...
 
user2157210
they are not free just shitting you
 
this one is free
they're actually doing a good job of making the pay shit not give you any advantage
 
user2157210
no they are never
 
Anyone here with web-scraping experience, would appreciate feedback on stackoverflow.com/questions/10929711/…
 
user2157210
10:55 PM
i mean have to admit i play lol
 
PoE payed content is all visual mods to your char, and pets. No bonus game content, no relevant perks
 
user2157210
and thats atleast 200$ i burned with this game
 
lol you have to pay for characters though right? or unlock them really really slowly
 
user2157210
i only pay for skins
 
user2157210
visuals
 
10:56 PM
the only thing in PoE that comes close to affecting the gameplay is buying extra stash tabs
 
I can't imagine the need for that... you have so many to start with, and they're pretty big
 
i bought 6 ><
 
user2157210
fuck steam
 
you get to the point later on when it's kinda handy
 
user2157210
they send me this steamguard code
 
user2157210
10:58 PM
20 seconds ago
 
i have 2 tabs dedicated to building vendor recipes
 
user2157210
i enter it and its TOO OLD
 
Yeah I'm only level 20 or 30
 
fair enough
 
user2157210
they fool me all day
 
user2157210
10:59 PM
..
 
i also have 2 tabs for skill gems ><
 

« first day (892 days earlier)      last day (4073 days later) »