« first day (133 days earlier)      last day (4809 days later) » 

12:03 AM
@MylesGray looks OK to me... you're hooking userParser to the callback for your first JSON request right?
 
yeah that it :)
so it starts a chain of queries
thats the idea anyway
just realised it might not work...
may need JSONP
unless i want to use xhtmlhttprequest
which i dont
 
I'm losing brainpower at this time of day but I don't think you need JSONP for that, if your original code is still doing the request even with a URL it just discovered.
At least, the stuff I've been messing with does a lot of dynamic URL calculations based on the first few JSON results. It is all using XMLHttpRequest directly though, not jQuery's fanciness.
Hi @YiJiang !
I like the Feeds thing BTW
it's very cool to see timely and relevant "headlines" here.
 
@Nathan This entire project is raw JS
I'm not using any libs at all
So I like to K.I.S.S with JSONP over XMLHttpRequest
XMLHttpRequest doesn't work with SO API as it is X-domain
 
ah, yes.
But you have to do that already to get the first JSON object right?
 
yeah over JSONP
 
user1385191
12:30 AM
why don't you just use cURL with PHP to grab it, save on your own server, and then serve for AJAX?
 
user1385191
that's what I did with a recent project
 
@MattMcDonald Because it's a lot more complicated to do it that way, as I can do it directly?
@MattMcDonald ever experienced this:
repBreakdown({
  "error": {
    "code": 500,
    "message": "A generic error has occurred on the server; developers have been notified."
  }
}
)
 
user1385191
is this specific to something?
 
I'm pulling from the SO API
 
user1385191
I don't know if I've seen that on SO before
 
12:37 AM
apparently the "fromdate" operator doesn't work >.>
@MattMcDonald nevermind - I was targeting a date in the future >.>
 
1:00 AM
Excitement!
 
@Raynos hows the server going?
 
Nowhere
I'll hack it when my cocmpany leaves
If I really get into my "working" mode
Ill have a prototype next week
But I think ill just procastinate instead
 
no motivation?
 
Or just lazy
 
same thing really
 
1:04 AM
5 more hours to go today...grabbed a case on my lunch/dinner break. Going for the ballmer peak. imgs.xkcd.com/comics/ballmer_peak.png
 
@jon3laze your gonna overshoot
 
That can be fun too...makes debugging more interesting. ;)
 
@Raynos to apply a class via JS, is it varName.style.class = ""; or varName.class = "";?
 
I thouoght it was varName.className =+ " class"
 
Ahh className damn thats where i was going wrong
Chuck in your userId and see what it does so far - I'm going to chart rep with the Google Chart API now
Then how close to the rep-cap etc you are
all that good stuff
 
1:15 AM
 
@Raynos I have setInterval(tagLookup, 60000); Is there a way to kill this timer from another function?
 
clearInterval?
var id = setinterval(f, 10);
...
clearInterval(id);
 
so just clearInterval(tagLookup)?
okay nice thanks :)
 
Its the id
not the function
setinterval returns a number ( the intervalid)
 
I'll have to catch the number somehow
 
1:27 AM
yes
or
for (var i = 0; i < 10000000; i++) clearInterval(i); // dirty hack
 
Hmm... would do the job but would be nice to specify the actual Id, is the Id random on runtime or fixed?
@Raynos got it - it was 0 counts the number of setintervals you have
so as it was the first activated it has id 0
actually.. didnt work
:P
 
jm
1:58 AM
y'all are cruel.
 
2:25 AM
hey guys, javascript newbie here -- ive got a DOM form element, how can I attach an authorization header to it? the server im sending to, requires basic auth
 
@SheehanAlam Did you search/ask on Stack Overflow?
 
i did not -- was wondering if it was too simple and thought about asking in the chat, but if it's advised, will ask on SO
 
3:26 AM
Authorization header to a form? Confused what that even means here
 
1
Q: How to add an authorization header to a DOM form element?

Sheehan AlamI am trying to upload a file to a server, and have my DOM element setup as such: _uploadForm = document.createElement("form"); _uploadForm.method = "POST"; _uploadForm.action = "#"; if(_isBrowser.IE) _uploadForm.encoding = "multipart/form-data"; ...

 
Hmm, I seem to be hit with a port scanner from 46.29.255.22, which turns out to be a TeamViewer server? :o 46.29.255.22
 
3:58 AM
 
@DanGrossman Have you seen the Dead Island trailer? It's pretty epic.
 
Yea I have, it's awesome :)
 
4:56 AM
Dead in here!
 
@DanGrossman I'm afraid they have turned into zombies.
 
How do you suggest a question be moved to a different SE site?
 
@Shaz Flag it.
 
Alright
 
5:07 AM
There's an "this is off topic" option when you flag
 
@DanGrossman Howd you get a picture of my brother
 
Magic
 
Dan do you live here now? What happened to living in C#?
 
Does anybody ever actually hang out in C#? Every time I'm in there it's dead.
Maybe I'm not in the optimal C# timezone though. :P
 
True. In Australia C# is always dead
 
5:22 AM
-1
Q: Jquery Ajax Not Worked In IE

Pgmer1jquery ajax is not working in IE Whats the reason for that..

Descriptive ftw.
 
Wow thats awful.
They are probably like $("everything").foo();
 
xD
@JeremyChild Though it would be $("*").foo();
 
Shazammm
@Shaz but they would be doing it right then.
 
Ah true.
 
Remember the code 'is not working in IE'.
other browsers will just assume your a bad programmer and just bail on loading the page.
:-|
 
5:26 AM
Haha
 
catch ex as NotWorkingInIEException
That works for me.
catch(notWorkingInIE) { document.location.href="http://chrome.google.com"; }
 
I personally don't even test (much) for IE anymore. I know a lot of people use it still, but regardless, I don't like it. I usually suggest users download something better.
I make sure the basics still work, however.
 
completely different for me
we test in ie 7 and support anything higher
we dont support other browsers. enterprise environment though with an SOE that prohibits other browsers.
 
coming from a background in support and dev...IE needs to die.
 
its sufficient.
 
5:30 AM
IE9 is looking a lot better than its counterparts
 
you cant kill it. people keep trying but it will be here for another 10 years at least
I am at a MS event atm
listening to the ASP.net project manager
and he is using Chrome
 
Lol
 
hehe nice.
 
oh wait, hes switched
 
I dev in C# and .NET...primary browser is Chrome and backup is FF.
I like FF's Firebug better.
haha, that's an awesome profile pic on his blog.
 
5:32 AM
@jon3laze Same
 
FF's firebug is epic
the one in chrome...its like a little boy
 
Yea, it's definitely lacking.
 
@JeremyChild What's the occasion?
 
@Shaz lol at your comment on that question. :P
 
is the occasion
 
5:34 AM
@jon3laze ;)
 
Any questions for the MS dudes?
Any question cuz it will be fun. question from StackOverflow will be sweet
 
Seeing as I have no clue about ASP.NET; none from me. :/
 
ASP.net WebForms / MVC / Jquery questions
 
hmm that looks interesting. I may have to look into making it to one.
@JeremyChild does it seem worth it so far?
 
its free
its worth it.
 
5:38 AM
nice.
 
connecting with people and asking questions is the best part.
 
ASP.Net is an alternative to PHP right?
 
I would say that's an accurate comparison.
do you code in PHP?
 
@jon3laze A little yes
 
ASP.net is a framework.
C# is a language
 
5:43 AM
I dabble in PHP. My personal web hosting is Linux, professionally windows.
 
PHP is a language
 
So it's an alternative to Apache?
I'm not much of a server guy, mostly client side. :P
 
@JeremyChild That's right. .NET framework and languages would be C# or VB. A better comparison would be Zend is like .NET.
@Shaz IIS is an alternative to Apache.
 
@jon3laze Ah, and asp runs on IIS right?
 
yup
 
5:50 AM
 
Yay! 8 minutes and I'm work free for the weekend!
Going to go home and watch the season finale of Spartacus: Gods of the Arena
 
@jon3laze Wouldn't you rather watch JavaScript: The Good Parts by Mr.Crockford :P
3
 
Not after this week...I need to wind down and take a step away from code for a day or so. Been working 5 10hour shifts a week for the past month and it's starting to wear on me.
I probably will do some coding tomorrow or Sunday though. Getting my home system setup to begin doing some Android dev. Personal dev > Work dev :P
g'night and g'weekend.
 
cya
 
 
2 hours later…
7:36 AM
Whoah it's totally more 1337 here with Nocturne on.
 
 
1 hour later…
8:44 AM
Hi! :)
 
9:06 AM
David Baron: "What does a blur radius mean?" http://goo.gl/kPSvI very interesting inside look at how browsers implement blurring effects
@Bluebie Indeed. We're working on it. You can help/follow the work in the Audio IG http://goo.gl/Q4r5w & new Audio WG the W3C is creating
 
9:21 AM
Oops, I've found a bug (or a feature?). If I have an <img> element without an src attribute, if it's large enough, its title attribute is shown inside it! jsfiddle.net/Nyuszika7H/q4ZeX
@IvoWetzel Hi, where's the kitten?
 
@Nyuszika7H Not here, as it seems
 
@IvoWetzel neither at the Sandbox
 
@YiJiang One would expect more detailed bug reports from Irish :D
 
@IvoWetzel I've found a new thing in JS yesterday: var parse = new DOMParser(); How do I use it?
 
@IvoWetzel Probably just a transient gh-pages bug
 
9:27 AM
@YiJiang Yeah, figured that. As I commented, I had it a couple of times that I didn't get any CSS served
 
@Feeds Definitely very interesting
For your daily dose of lulz:
-7
Q: Is Java better than HTML

user634884I want to make a program. I was thinking of using either Java or HTML. All I want it to do is play videos,download music, and keep track of book prices. Which one is better?

 
proposed an edit for the tag wiki
 
@Nyuszika7H I approved it, although now I feel a little guilty because of the conflict of interest
 
@YiJiang It's for the greater good
 
some upvotes and I'll reach 500 rep :)
 
9:30 AM
speaking of, I need to remove the freelance thingadong
 
> You've earned the "Tag Editor" badge for javascript. See your profile
@IvoWetzel So, when will the new garden (at Dropbox) go live? :)
 
@Nyuszika7H Good question. @YiJiang ?
 
@IvoWetzel I would like the auto uncollapsing to be finished before it goes live
That's @IvoWetzel's job ;) You've also said you wanted to add some content?
For me I would want to finish the mobile CSS and JavaScript, then do some testing before releasing it
 
@YiJiang Hoisting; I wanted to add some "explanation code"
 
The content does not require the new design to be complete, but the uncollapsing code is very desirable
 
9:34 AM
I'd help you translate it to Hungarian, but it's so hard to explain anything about programming in other languages than English…
 
I question the usability of the auto uncollpasing, I bet it will always have the thing collapsed that you're interested in
 
@Nyuszika7H I know! I would try Chinese, but my Chinese may not be up to muster, especially for the technical terms. Plus, I don't notice a lot of Chinese visitors compared to (say) Korean and Japanese
 
A lot of German folks visit the site
 
@IvoWetzel I think it's best to utilize the sidebar space in the most optimal manner
 
but... uh... trust me a German translation would still consist of 50% english terms
hmm
 
9:37 AM
The current implementation isn't finished, isn't it?
 
no
I'll try something different
give me 5 minutes
 
@IvoWetzel your de link is wrong, it points to http://dl.dropbox.com/de instead of http://dl.dropbox.com/u/2332843/garden/de/index.html. and your en link is also wrong, it points to http://dl.dropbox.com
 
I know, that will work when it's on github
 
9:55 AM
@YiJiang it's a mess :/
and pluggin in the slideUp / down animations will result in an even bigger mess :/
 
@IvoWetzel How big? Anything I can do to help?
 
We need to come up with some exact algorithm on how to expand the sections and animate them
 
@IvoWetzel Well, selecting which sections I thought would be easy - just look up and down, expand each of them until you run out of space
And now that we're not using hover the number of animations shouldn't be huge
 
10:15 AM
still a jumpy mess, maybe my approach is just wrong but I guess this is a ton of work
 
10:37 AM
:kitten areyouhere
 
10:54 AM
Anyone?
 
@Nyuszika7H Nope.
 
@YiJiang lol
I wish I could use Notepad++'s Monokai theme on jsFiddle.
 
I wish I could use VIM in every textfield on the interwebz
 
I've just signed up on Physics.SE, why can't I edit?
 
@CodingKitten Don't log out all the time!
 
11:00 AM
@IvoWetzel It won't be able to hack the interface is defined well said
 
@CodingKitten :(
 
@IvoWetzel You don't see too many competent 21 year olds on it's going to be broken in IE9 RC. Or when it
 
:kitten help
 
@CodingKitten IE9 breaking 21 year olds!
 
@CodingKitten respond!
 
11:02 AM
@IvoWetzel What a post that's entirely wrong
 
@CodingKitten You prefer when spoken in this way, eh?
 
@YiJiang yes, yes it or "find" it on wound up being tested go in the more intelligent is, so be me
 
Let's add some lag to the response to get rid of these inhuman instant replies
@CodingKitten You don't mind if I make you laggy, do you?
 
@IvoWetzel needs to catch up on TDD I thought it right, when your code in a tutorial based thing that makes them spam is that i posted so that might also work
 
@IvoWetzel Why? Some poor noob coming in here would think he's actually human...
 
11:05 AM
setTimeout(function() {
    sendMessage(msg);
}, msg.length / 2);
 
@YiJiang Yeah, but the responses are too fast imo! inhuman!
 
@IvoWetzel This whole module thing works
 
at least the picking thing works
but it needs to be more stable, so I can put it on no.de and run it all the time!!!
@CodingKitten You'd like being stable?
 
@IvoWetzel then to sandbox W3C went off for a little cry and joined back up and the client does clientside prediction. Then I use some magic awesome stuff!
 
@CodingKitten Yeah! Use the magic awesome stuff!
 
11:07 AM
@IvoWetzel <--- .net engineer... so API is so you could have a lot. :P
 
:O
It will write a new kitty in .net :O
> Emacs contains a complete implementation of Vi, but no one can remember the key-chord to turn it on.
haha
 
function is(type, obj) {
    var clas = Object.prototype.toString.call(obj).slice(8, -1);
    return obj !== undefined && obj !== null && clas === type;
}

is('String', 'test'); // true
is('String', new String('test')); // true
@IvoWetzel Is this a typo or it's to avoid conflict with ES5's class keyword?
 
11:58 AM
@Nyuszika7H the latter
 
hmm I'd need an upvote or something to reach 500 rep
0% accept rate…
 
@CodingKitten Amuse me
 
@YiJiang for your question check out the Unix time of a language overview so the init part of this module does. Define one action, and execute it isn't PHP side of my app
 
@CodingKitten So your app has two sides?
 
@IvoWetzel that is how Wordpress works the job
 
12:09 PM
@CodingKitten upvote me plz!
 
@Nyuszika7H Thank you I am going to look on the internet you could find a copy
 
lololololololol
 
@CodingKitten Copiez on the interwebz, srsly=!
 
@IvoWetzel Use to sandbox CTRL+K to format code blocks! And post your code in a warning.
 
@CodingKitten Hey I know how to use that stuff!
 
12:10 PM
@IvoWetzel the bit thick I think. In chrome's debugger, when Firefox gives you the internet you could find a picture or 100 of me. But still..
 
@CodingKitten Wait, so Firefox only gives you the internet in chromes debugger?
 
@IvoWetzel just divide by 1000, cast to 60 Mph.
4
 
static_cast<60mph>(ferrari) ?
I don't think that this will compile
 
@IvoWetzel Is /\D/ the correct regex to get everything except numbers?
 
should be, but it won't catch minus signs etc
 
12:14 PM
Lol it picked up my W3C went off for a little cry line
and wordpress line
 
@CodingKitten You like immitating Myles, hm?
 
@IvoWetzel You prefer when spoken in Brazil came up... Nice...
 
@CodingKitten what?
 
@IvoWetzel you were a decent one
 
@CodingKitten Athats ircmaxell now :P
 
12:16 PM
@MylesGray I thought so... That's all the history and younger.
 
@CodingKitten at first i thought you were a chineese person with very bad english
 
@MylesGray if your not in the mid fifties?
 
@CodingKitten no thats @ircmaxell
 
@MylesGray Tests are for me to put my on how you fill it works...
 
> 12.1.toFixed(20)
"12.09999999999999964473"
 
12:18 PM
@CodingKitten Say something funny
 
@IvoWetzel good don't spam luck ... once you're used to dealing with objects like that, the jQuery to hack all day?
 
@CodingKitten That's not funny, that's stupid
 
@IvoWetzel I dont think UNIX time to do you have a lot. :P
 
@CodingKitten well said, isn'y Ivo full of spam?
 
@MylesGray See we can work out how much
 
12:19 PM
Oo
 
@CodingKitten yes lets work out how much he spams
 
@MylesGray its a muppet, when Firefox gives you the YSOD
 
@CodingKitten of course the muppets are behind it, interesting thought that
 
@MylesGray Ok I need to genericly abstract away latency
 
@CodingKitten Do it!
 
12:20 PM
@IvoWetzel Okay, that's good luck ... beer will make the W3C pseudonym, and go for a good luck ... beer will just get the same number back?
 
@CodingKitten good luck!
 
@MylesGray but the code is a pain in PHP wrappers :P
 
@CodingKitten you keep stealing my w3c lines!
 
@MylesGray And woo, only have 96 rep...
 
@CodingKitten I haz cheezburger, jealous?
 
12:21 PM
@MylesGray then W3C due to group things missing, like... being able to pick some crazy words?
 
@CodingKitten ivo is full of crazy word, i mean he programmed you didnt he?
 
@MylesGray Thanks! I'm reading the second link you start from abstract to some kind of example widgets in wordpress
 
@CodingKitten Well actually, his voice is mine
 
@YiJiang or write an actual book instead...
 
That's why it sucks so much :P
 
12:23 PM
@CodingKitten stop imitating my w3c and wordpress lines :P
 
@MylesGray I just get the same number back?
 
hmm.. a llot better than what i could have mustered
 
@CodingKitten occasionally makes sense
 
@YiJiang You can close them like the green checkmarks pop up for you kids today :P
 
6 mins ago, by Nyuszika7H
> 12.1.toFixed(20)
"12.09999999999999964473"
How is this possible?
 
12:24 PM
i might fork kitty and try play with it
 
@Nyuszika7H Huh, odd...
 
@CodingKitten off for grub later mon frere!
 
@MylesGray ah gets the command it works the code works. Leave it is "one" control
 
0
A: javascript validation

Nyuszika7HMethod 1: isNaN addEvent(document.getElementById('myForm'), 'submit', function() { var val = document.getElementById('myInput').value; if ( isNaN(val) || val.indexOf('.') !== val.lastIndexOf('.') || val.split('.')[1].length > 2) { alert('myInput can only contain numbers!'); ...

0
A: slideToggle in table row

Deepak you can slide toggle of a row in the table . Please try this The Html code of a table ok 12 34 65 The Jquery code is here on click of "a" href, the table will be toggle. $(document).ready(function() { $("a").click(function() { $('table...

LOL, how is one supposed to solve this reCaptcha?
0
Q: Suggested edits not working?

Nyuszika7HI've registered some hours ago, and I can edit some posts, but not others. For example, I can't edit this question and its answers: New Design Launched

 
@Nyuszika7H I don't believe you are suppose to be able to suggest edits to linked Meta posts
 
12:40 PM
@Nyuszika7H I got a reCaptcha in Hebrew once. V tricky..
 
@YiJiang Hmm, yeah, I don't seem to be able to edit any meta post.
33
Q: Redesigning the /users page

Jeff AtwoodAfter 2.5 years of being almost entirely unchanged, we're thinking about redesigning http://stackoverflow.com/users This page is kind of underutilized real estate at the moment: It is rather monotonous, since it always shows the same list and Jon Skeet is always on top. (Although to be fair, ...

LOL! 33 votes, 777 views.
 
writing READMEs really helps uncovering bugs / missing features
 
Anyone there?
 

« first day (133 days earlier)      last day (4809 days later) »