News for hackers. Stuff that matters.

mmj

Re:Ask HN: What do you think makes a good teacher? on Friday August 14, 2009 @11:28AM (#763176)
Being able to relate with the student.

For instance after I learn a language and am trying to teach someone else the language I just can't see why the person is having trouble learning a certain concept of the language. It all seems so simple to me since I've already learned this language and it's hard for me to be able to empathize with the learner.

  PS This system measured my connection speed as 20Mbps. Which is about 5x too large.
  
  
  GET /inet/ent_logon/Logon?redirectjsp=true HTTP/1.1
  
  HTTP/1.x 200 OK
  Content-Encoding: gzip
---

The page is gziped.

I remove the search bar in Firefox and just use the address bar for searches. It searches Google and if the result is popular enough it goes directly to that page.
Does load faster the Firefox? O rly?

Firefox 3.1b2 opens in a fraction of the time IE8rc1 opens, on first start and on re-open.

Yeah, PHP isn't an excellent language but it does do one thing and do it well. Just 99% of examples or scripts you find are absolutley horrible. Seriously, I've seen blog posts on PHP from IBM which contain bad programming practices.
Re:Google's Microsoft-esque landgrab for IE's market share on Sunday January 04, 2009 @05:45PM (#419653)
I see it every now and again.
Re:jQuery 1.3 ßeta on Tuesday December 23, 2008 @02:10PM (#407954)
Yes, but even better would be to use jQuery's excellent JSONP method.
Re:jQuery 1.3 ßeta on Tuesday December 23, 2008 @10:09AM (#407587)
http://www.json.org/json2.js

// In the third stage we use the eval function to compile the text into a

// JavaScript structure. The '{' operator is subject to a syntactic ambiguity

// in JavaScript: it can begin a block or an object literal. We wrap the text

// in parens to eliminate the ambiguity.

Re:jQuery 1.3 ßeta on Monday December 22, 2008 @05:52PM (#406978)
You don't have to eval xml.
Re:jQuery 1.3 ßeta on Monday December 22, 2008 @02:41PM (#406782)
That is a pretty niche feature, I personally wouldn't do something like that.

Check out getResponseHeader() if you are so inclined.

As for the errors, there are many ways to check for "ajax" errors, for one thing you can check the status or statusText property.