IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Re: Whatever

But how do you detect the 2 pixel vertical positioning error?

\r\n\r\n

Um... by testing?

\r\n\r\n

Seriously, there are dozens of browsers out there, but there are maybe four rendering engines that matter, all of which can be installed on a single computer if you've got a crappy testing budget. And 2-pixel positioning errors are much more a CSS problem than a JavaScript problem, so I don't see how JavaScript UA sniffing helps there. Unless you're using JS to compensate for CSS bugs, which is bound to bite you in the long run.

\r\n\r\n

But whatever. I doubt you could even get in where I worked.

\r\n\r\n

You assume that I'd want to ;)

\r\n\r\n

Regardless, I've talked to a few people who've worked for "the world's largest retailer" (hey wait, I thought that was Wal-Mart?) and generally the prognosis is Not Good.

--\r\nYou cooin' with my bird?
New Re: Whatever
"by testing?"

In the javascript? I don't see how I can tell from there that the thing has been drawn in the wrong place. But maybe you don't do applications and just do pages.

"And 2-pixel positioning errors are much more a CSS problem than a JavaScript problem"

They're still problems. I'm supposed to pretend the user doesn't see? Not when you are doing dynamic overlays and they have to sit in the right spot. So there is an object that is the "bug compensator" for positioning errors that is specific to user agent and all bug prone maniupulations are delegated to that. Ideally, that class would become empty call throughs - but in the real world there are hacks to make stuff work.

And how is your WebTV solution? You do handle that, right? WebTV gives you 544 x 372 pixels. The only way to tell is to look for webtv in the user agent - which is otherwise IE6. But, of course, if you're sure you can tell by sniffing around in the browser and can rejig your UI based on that, well cool for you. We just give them special pages.

"the world's largest retailer"

you left out "internet". World's largest internet retailer. I actually think the business with the longest legs is the S3/EC2 stuff. It is cool.



[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
Expand Edited by tuberculosis Nov. 26, 2006, 01:41:51 PM EST
New Re: Whatever

In the javascript? I don't see how I can tell from there that the thing has been drawn in the wrong place. But maybe you don't do applications and just do pages.

\r\n\r\n

You go to your test machine, you fire up Browser X, and you look at a few examples of the effect in it. How does an "applications" versus "pages" distinction make a difference to that? Your application is, in all likelihood, going to be using some sort of templating, so the various types of pages will all look similar except for changes in content.

\r\n\r\n

That's how I test JavaScript stuff at work, and it's not all that hard really.

--\r\nYou cooin' with my bird?
New Uh yeah - so how do I compensate for it in the page?
Because, we check the user agent string to correct for it.



[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New Re: Uh yeah - so how do I compensate for it in the page?

CSS people have been compensating for bugs for years without doing UA sniffing ;)

\r\n\r\n

But this is largely a red herring; my point is simply that UA sniffing to determine what features you'll let the user see is, and ought to remain, dead. If it's the most efficient way to solve a CSS bug, then that's another story, but the question here is things like whether you send your CSS to the browser at all, not whether you send the fix for a 2-pixel rendering bug.

--\r\nYou cooin' with my bird?
New I mostly agree
but then there's that whole webtv thing again.




[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New Re: I mostly agree

WebTV needs to go on the garbage heap ;)

\r\n\r\n

There's a new incarnation of that idea being pushed at work, we had to basically set up completely segregated versions of our sites on subdomains with their own templating and whatnot to deal with it and send the users over there, because there's no way to detect it (thanks to the way it works, to a server it's indistinguishable from normal IE 6).

--\r\nYou cooin' with my bird?
New Couldn't you use your WAP page?
I'm assuming anyone who cares about early adopters is writing pages for people surfing on their cell phones. I would guess the pages you server up to them would also work (sorta) on WebTV, wouldn't they?
===

Kip Hawley is still an idiot.

===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Re: Couldn't you use your WAP page?

Not really; the TV stuff, because of the interface it uses, had a different set of requirements for visual presentation. Which, fortunately, is really easy to do; one of my co-workers [link|http://www.postneo.com/2006/07/26/acknowledging-the-mobile-web-with-django|wrote up how we handle this sort of thing] for our mobile sites.

\r\n\r\n

Edit: I should probably also take this moment to pimp Matt's talk from PyCon on [link|http://postneo.com/talks/pycon2006/|mobile development with Python].

--\r\nYou cooin' with my bird?
Expand Edited by ubernostrum Nov. 27, 2006, 12:32:12 AM EST
New Re: I mostly agree
WebTV needs to go on the garbage heap ;)


OK, there we completely agree. However, I believe there is a 'webtv' in the user agent string if you look for it.

Failing that, you can do a screen size check in js and redirect them.




[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New Re: I mostly agree

Unfortunately, it's not actually WebTV, it's a WebTV-alike. I'll go poke at logs sometime this week, but I seem to recall that one of its major annoyances was not advertising itself in its UA string, and instead trying to be as much like IE6 as possible.

--\r\nYou cooin' with my bird?
     Now using IceWeasel, nice. - (folkert) - (27)
         Firefox in drag - (tuberculosis) - (26)
             Firefox OUT OF DRAG. - (folkert) - (25)
                 DFSG - (tuberculosis) - (24)
                     It works exactly like Firefox... - (folkert) - (1)
                         They all say that - (tuberculosis)
                     Re: DFSG - (ubernostrum) - (21)
                         User agent sniffing - (tuberculosis) - (19)
                             Re: User agent sniffing - (ubernostrum) - (18)
                                 Whatever - (tuberculosis) - (17)
                                     Re: Whatever - (ubernostrum) - (10)
                                         Re: Whatever - (tuberculosis) - (9)
                                             Re: Whatever - (ubernostrum) - (8)
                                                 Uh yeah - so how do I compensate for it in the page? - (tuberculosis) - (7)
                                                     Re: Uh yeah - so how do I compensate for it in the page? - (ubernostrum) - (6)
                                                         I mostly agree - (tuberculosis) - (5)
                                                             Re: I mostly agree - (ubernostrum) - (4)
                                                                 Couldn't you use your WAP page? - (drewk) - (1)
                                                                     Re: Couldn't you use your WAP page? - (ubernostrum)
                                                                 Re: I mostly agree - (tuberculosis) - (1)
                                                                     Re: I mostly agree - (ubernostrum)
                                     On a more serious note, though - (ubernostrum) - (5)
                                         I think Todd's made his argument poorly. - (static)
                                         The sniffing happens on the server - (tuberculosis) - (3)
                                             Re: The sniffing happens on the server - (ubernostrum) - (2)
                                                 Re: The sniffing happens on the server - (tuberculosis) - (1)
                                                     Re: The sniffing happens on the server - (ubernostrum)
                         Re: DFSG - (pwhysall)

Go into the light!
165 ms