Comment On Orwell Warned Us

David comes from the harsh, dystopian future of 1984; a time where surveillance is unavoidable and just considering joining peepel.com is a thoughtcrime. Or maybe it's just a bug in peepel's software. [expand full text]
« PrevPage 1Next »

Re: Orwell Warned Us

2007-05-21 11:06 • by A Nonny Mouse
i hope he drapes a hair over his keyboard when he leaves his desk

Re: Orwell Warned Us

2007-05-21 11:09 • by sobani (unregistered)
strange, I tried my birthday (29 jun 1984), the date in the screenshot and even 31 dec 2007, but none of them generated the error from this article...

Re: Orwell Warned Us

2007-05-21 11:11 • by Obi Wan (unregistered)
It's an Omen. The true consequences of '1984' haven't arrived yet as described, hence the future reference, hence not a WTF. :P

Captcha: tesla - futuristic for his time. :)

Re: Orwell Warned Us

2007-05-21 11:13 • by bpk (unregistered)
Are we finally victimized by the Y2K bug?

Re: Orwell Warned Us

2007-05-21 11:17 • by Anonymouse (unregistered)
Anyone else think maybe he had his system clock set incorrectly? I don't get it.

Re: Orwell Warned Us

2007-05-21 11:25 • by Nick (unregistered)
Sheesh, Kind of reminds me of a site that wouldn't let me log in, as "That user name was already in use".

Re: Orwell Warned Us

2007-05-21 11:25 • by vt_mruhlin
My guess is it's the old non Y2k compliant JavaScript thing. The Date.GetYear() function returns varied results for different browsers (translation: microsoft didn't follow the standard).

Re: Orwell Warned Us

2007-05-21 11:36 • by Zemyla
Why are they biased against time travelers?

Re: Orwell Warned Us

2007-05-21 11:44 • by The Fox (unregistered)
It happens in Safari with any date, but you have to change Safari's user agent to Mozilla or IE to view the page at all. Funny that the error never appears in 'supported' browsers.

Re: Orwell Warned Us

2007-05-21 11:46 • by Yes (unregistered)
TENTH!!!!! What a day!!!

Re: Orwell Warned Us

2007-05-21 12:04 • by Anonymous (unregistered)
137855 in reply to 137838
sobani:
strange, I tried my birthday (29 jun 1984), the date in the screenshot and even 31 dec 2007, but none of them generated the error from this article...


Given that you actually tried a date in the future, it would suggest perhaps they've turned this error checking off already...

Re: Orwell Warned Us

2007-05-21 12:15 • by yafake (unregistered)
137856 in reply to 137855
This is soooooo old.

The issue is with the JavaScript function Date.getYear(), which, by specification, should return the full year. However, MSIE only returns the number of years since 1900.
Some stupid "webdesigner" wrote this site without a clue and undiscriminatingly assumed MSIE's wrong behaviour.

Now, guess where "if Date.getYear() > 108" (2008-1900) leads if a serious webbrowser (like Safari) returns 2007 on getYear().

sobani simply is an idiot who abuses MSIE as a webbrowser, that's why he can't trigger the bug.

Re: Orwell Warned Us

2007-05-21 12:53 • by misha
137865 in reply to 137836
A Nonny Mouse:
i hope he drapes a hair over his keyboard when he leaves his desk


The thought police will spot that and carefully replace it exactly as it was:

George Orwell:
He put the diary away in the drawer. It was quite useless to think of
hiding it, but he could at least make sure whether or not its existence had
been discovered. A hair laid across the page-ends was too obvious. With the
tip of his finger he picked up an identifiable grain of whitish dust and
deposited it on the corner of the cover, where it was bound to be shaken
off if the book was moved.


Not that that did Winston any good either of course...

Re: Orwell Warned Us

2007-05-21 12:54 • by JohnB (unregistered)
137866 in reply to 137849
The Fox:
It happens in Safari with any date, but you have to change Safari's user agent to Mozilla or IE to view the page at all. Funny that the error never appears in 'supported' browsers.
I use Opera ... won't even let me sign up.

Re: Orwell Warned Us

2007-05-21 12:56 • by akatherder
137868 in reply to 137856
yafake:
This is soooooo old.

The issue is with the JavaScript function Date.getYear(), which, by specification, should return the full year. However, MSIE only returns the number of years since 1900.
Some stupid "webdesigner" wrote this site without a clue and undiscriminatingly assumed MSIE's wrong behaviour.

Now, guess where "if Date.getYear() > 108" (2008-1900) leads if a serious webbrowser (like Safari) returns 2007 on getYear().

sobani simply is an idiot who abuses MSIE as a webbrowser, that's why he can't trigger the bug.


IE returns 2007 for Date.getYear(). It's deprecated with Date.getFullYear() if you want to be picky.

I suspect this error is an issue with an OLD browser that needs to be updated, as opposed to the "seriousness" of the browser in question. What kind of jackass talks about how serious a web browser is anyways?

Re: Orwell Warned Us

2007-05-21 13:06 • by vt_mruhlin
137869 in reply to 137856
yafake:
This is soooooo old.

The issue is with the JavaScript function Date.getYear(), which, by specification, should return the full year. However, MSIE only returns the number of years since 1900.
Some stupid "webdesigner" wrote this site without a clue and undiscriminatingly assumed MSIE's wrong behaviour.

Now, guess where "if Date.getYear() > 108" (2008-1900) leads if a serious webbrowser (like Safari) returns 2007 on getYear().

sobani simply is an idiot who abuses MSIE as a webbrowser, that's why he can't trigger the bug.


According to the standard, Date.GetYear is supposed to return 2 digits for anything between 1900 and 1999, 4 digits for anything else.

Now, since their script is presumably taking a 4-digit input (1984) from the user, this error would occur if Safari incorrectly returns 107 instead of 2007.

Either way, they should be using GetFullYear, but few people do.

Re: Orwell Warned Us

2007-05-21 13:20 • by vt_mruhlin
137877 in reply to 137869
Now this is making my brain hurt....

var selectedDate = new Date();
var now = new Date();
selectedDate.setDate( document.signup.day.selectedIndex + 1 );
selectedDate.setMonth( document.signup.month.selectedIndex );
selectedDate.setFullYear( document.signup.year.options[document.signup.year.selectedIndex] );

// ...SNIP...
// date
if ( selectedDate <= now ) {
error = true;
errorMessage += "- Your date of birth isn't in the future.\n";
}


Their usage of SetFullYear should be correct.
But doesn't (selectedDate <= now) mean that they're explicitly looking for dates from the future? Or do I just need more caffeine? Cause it works in firefox...

Re: Orwell Warned Us

2007-05-21 14:05 • by Ubersoldat (unregistered)
137890 in reply to 137838
Dude! I'm from jun 29th TOO! I'll add you to my calendar

CAPTCHA: SMILE! It's our birthday... I've felt so alone all this time

Re: Orwell Warned Us

2007-05-21 14:57 • by sobani (unregistered)
137903 in reply to 137856
yafake:
sobani simply is an idiot who abuses MSIE as a webbrowser, that's why he can't trigger the bug.


Why are you so mean to call my poor fox such horrible names? Have you no heart?

captcha: doom, may it happen to you. :P

Re: Orwell Warned Us

2007-05-21 15:47 • by Random832
137912 in reply to 137846
vt_mruhlin:
My guess is it's the old non Y2k compliant JavaScript thing. The Date.GetYear() function returns varied results for different browsers (translation: microsoft didn't follow the standard).


The "standard" that existed at the time (i.e. Netscape documentation) was silent on this issue.

EDIT: I just looked it up. In fact, http://wp.netscape.com/eng/mozilla/3.0/handbook/javascript/ref_f-g.htm#804 is not silent on this matter, rather it specifies _precisely_ the behavior adhered to by IE (tested on 4 and 7), which modern mozilla implementations depart from by returning 107. And the screenshot, incidentally, is of safari.

Addendum (2007-05-21 15:54):
Modern documentation indicates the specified behavior changed with javascript 1.3, and IE simply apparently did not change with it.

Addendum (2007-05-21 16:04):
But the great thing about javascript is that if your script relies on getYear(), you can fix it yourself.

if(Date.prototype.getFullYear) Date.prototype.getYear = function() { return this.getFullYear() - 1900}

or, if your script for some reason relies on the old behavior:

if(Date.prototype.getFullYear) Date.prototype.getYear = function() { if(this.getFullYear() >= 1900 && this.getFullYear < 2000) return this.getFullYear() else return this.getFullYear() - 1900}

Re: Orwell Warned Us

2007-05-22 04:12 • by s (unregistered)
137957 in reply to 137845
Nick:
Sheesh, Kind of reminds me of a site that wouldn't let me log in, as "That user name was already in use".


Yep.
sharp: username taken
sharpy: username taken
sharpfn: username taken
sharpf: username taken
shrpf: username taken
shrpfn: username taken
shrpfng: username taken
ugecwdef: username taken
wfcvtfvcfc: username taken
wugvbkwhgbc: username taken
jhyuhwvbkhwgevbwbvyivcyivcvywif: username taken
sharp1: please enter your password.

Yahoo had this for quite a while: all usernames had to contain at least one digit, otherwise you'd end up with "this username is already in use".

Re: Orwell Warned Us

2007-05-22 07:37 • by PuckeL (unregistered)
137970 in reply to 137838
sobani:
strange, I tried my birthday (29 jun 1984), the date in the screenshot and even 31 dec 2007, but none of them generated the error from this article...


If I enter my birthday (28 jun 1984) ;-) I get the error with the system date set to 1984. ^^

Re: Orwell Warned Us

2007-05-22 15:48 • by doc0tis (unregistered)
138028 in reply to 137844
agreed, the user has messed with their system clock

Re: Orwell Warned Us

2007-05-23 00:02 • by Howi
lol

Glad to see this made it on this site.

I was a software engineer on peepel.com. That error was from implementation AFTER I left the company, I'd like to point out.

Peepel.com is actually worthy of a WTF article... we had a project manager that was undermined by the director (who was not really good at what he tried to do), myself as the seniormost non-manager, and a couple other engineers that were ok. The project manager was really good, and together we (him more than me...) designed and created most of the people software, with the other 2 developers implementing as per his specification. They did a pretty good job of that too, to their credit.

The sofware is massive, and the only original developer left is one of the other 2 guys. I sent a letter to the director explaining the shortfalls of the business, and outlined many wrong decisions in terms of marketing and graphical design (cmon, who doesn't think the software graphics look shit). His pride and greed (we had share deals) got in the way and I got fired.

The project manager quit because of that
One of the other 2 developers left to another job offer (more in his field of expertise)
The 4th guy is still there.

I don't know who/if anyone else has been hired, but I know for sure there level of knowledge of javascript, and the framework we wrote, will never equal that of the project manager and myself, so the software is effectively stagnant.

This date error is the SMALLEST WTF related to peepel.com that I have seen so far.


Luke Schafer

Addendum (2007-05-23 02:17):
Sorry about the almost ad-hoc nature of this post - I churned it out very quickly (i'm pretty busy) and didn't re-read any of what I wrote

Re: Orwell Warned Us

2007-05-23 09:40 • by minime (unregistered)
So the real WTF is that Howi didn't left any documentation for his framework?

Captcha: doom, this is coming really often lately...

Re: Orwell Warned Us

2007-05-23 10:34 • by Sundrop (unregistered)
Woa, who catches an error condition in the catch section?
That is a plain stupid use of try-catch :(

try {

month.add( temp, null ); // standards compliant
} catch ( ex ) {
month.add( temp ); // IE only
}

Re: Orwell Warned Us

2007-05-23 20:03 • by Howi (unregistered)
minime:

well actually, yes.

The whole sdlc was extreme programming, and we were pretty much forced to churn out functionality with no time allowed for documentation - another WTF

so no, i didn't really document my relevant sections (there were comments, but a lot of what I did was rather complex and fairly innovative in regard to how it uses javascript). The framework was not my responsibility, I was more of a consultant on it. Documentation was up to the project manager, but since 'management' (and I use the term loosely) didn't want to hire more people (which we needed), he needed to implement instead of document.

Re: Orwell Warned Us

2007-06-26 00:05 • by Penmonicus (unregistered)
Wow... That guy was born on the same day as me!

Re: Orwell Warned Us

2008-11-28 21:24 • by 855 (unregistered)
衢州货架
余杭货架
萧山货架
临安货架
嘉善货架
海宁货架
桐乡货架
奉化货架
余姚货架
慈溪货架
上虞货架
诸暨货架
舟山货架
苏州货架
南通货架
扬州货架
盐城货架
徐州货架
淮阴货架
常州货架
常熟货架
丹阳货架
金坛货架
仪征货架
泰州货架
昆山货架
吴江货架
太仓货架
句容货架
安徽货架
上海货架
浙江货架
杭州货架
轻型货架
南京货架
镇江货架
中型货架
重型货架
模具货架
悬臂货架
金华货架
温州货架
台州货架
绍兴货架
立体库货架
苏州仓储笼
无锡仓储笼
料箱
工业货架
下沙货架
丹阳货架
东营货架
舟山货架
临安货架
海宁货架
温岭货架
义乌货架
诸暨货架
慈溪货架
余姚货架
镇江货架
南通货架
苏州货架
扬州货架
盐城货架
徐州货架
淮阴货架
连云港货架
常州货架
无锡货架
江阴货架
上海货架
浙江货架
杭州货架
湖州货架
嘉兴货架
宁波货架
余杭货架
萧山货架
衢州货架
轻型货架
安徽货架
常州货架
巢湖货架
慈溪货架
丹阳货架
东营货架
海宁货架
杭州货架
合肥货架
湖州货架
淮阴货架
嘉兴货架
江阴货架
轻型货架
中型货架
重型货架
悬臂货架
模具货架
余杭货架
萧山货架
临安货架
平湖货架
海宁货架
余姚货架
慈溪货架
诸暨货架
舟山货架
瑞安货架
义乌货架
青田货架
台州货架
奉化货架
衢州货架
上海货架
嘉善货架
温岭货架
建德货架
上虞货架
青岛货架
安徽货架
合肥货架
芜湖货架
马鞍山货架
宣城货架
巢湖货架
杭州货架
湖州货架
西安货架
洛阳货架
威海货架
淮南货架
铜陵货架
浙江货架
嘉兴货架
宁波货架
绍兴货架
温州货架
金华货架
苏州货架
南通货架
扬州货架
盐城货架
徐州货架
淮阴货架
连云港货架
常州货架
无锡货架
常熟货架
张家港货架
江阴货架
昆山货架
湖北货架
四川货架
武汉货架
陕西货架
河南货架
山东货架
济南货架
轻型货架
中型货架
重型货架
悬臂货架
模具货架
南京货架
镇江货架
台州货架
温州货架
金华货架
衢州货架
义乌货架
诸暨货架
海宁货架
萧山货架
慈溪货架
嘉善货架
舟山货架
奉化货架
平湖货架
余姚货架
温岭货架
张家港货架
安徽货架
吴江货架
昆山货架
太仓货架
泰州货架
仪征货架
句容货架
上海货架
浙江货架
杭州货架
湖州货架
嘉兴货架
绍兴货架
宁波货架
南京货架
镇江货架
苏州货架
南通货架
扬州货架
徐州货架
淮阴货架
连云港货架
常州货架
江阴货架
无锡货架
常熟货架
金坛货架
轻型货架
宣城货架
铜陵货架
巢湖货架
马鞍山货架
合肥货架
芜湖货架
阁楼货架
悬臂货架
重型货架
中型货架
模具货架
中型货架
轻型货架
中型货架
重型货架
悬臂货架
模具货架
南京货架
镇江货架
苏州货架
扬州货架
南通货架
徐州货架
盐城货架
淮阴货架
常州货架
合肥货架
芜湖货架
马鞍山货架
铜陵货架
宣城货架
巢湖货架
江阴货架
张家港货架
义乌货架
临安货架
路桥货架
东营货架
重型货架
悬臂货架
模具货架
温岭货架
阁楼货架
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
不锈钢管
小游戏
激情电影
美容BB霜免费赠送
英语天地
手机游戏下载

设计之家
美容时尚网
美食在线
<p>安徽货架
台州货架
温州货架
金华货架
衢州货架
海宁货架
萧山货架
余杭货架
慈溪货架
余姚货架
诸暨货架
连云港货架
常州货架
无锡货架
上海货架
浙江货架
杭州货架
湖州货架
嘉兴货架
宁波货架
绍兴货架
中型货架
苏州货架
南京货架
上海货架
镇江货架
苏州货架
扬州货架
盐城货架
徐州货架
淮阴货架
轻型货架
常州货架
诸暨货架
义乌货架
慈溪货架
余杭货架
金华货架
萧山货架
余姚货架
衢州货架
海宁货架
平湖货架
舟山货架
临安货架
常熟货架
东营货架
无锡货架
温岭货架
瑞安货架
丹阳货架
桐乡货架
仓库货架
轻型货架
中型货架
重型货架
悬臂货架
模具货架
南京货架
镇江货架
苏州货架
南通货架
扬州货架
盐城货架
徐州货架
淮阴货架
连云港货架
常州货架
江阴货架
上海货架
张家港货架
浙江货架
杭州货架
嘉兴货架
湖州货架
宁波货架
绍兴货架
台州货架
昆山货架
温岭货架
悬臂货架
重型货架
中型货架
模具货架
苏州货架
常州货架
无锡货架
杭州货架
浙江货架
南京货架
上海货架
江阴货架
宁波货架
萧山货架
诸暨货架
南通货架
台州货架
阁楼货架
汽车4S店货架
温州货架
轻型货架
火箭队
火箭队
火箭队
火箭队
火箭队
京沪高铁
火箭队
火箭队
证券
巢湖货架
芜湖货架
铜陵货架
合肥货架
马鞍山货架
安徽货架
路桥货架
东营货架
温岭货架
余杭货架
临安货架
慈溪货架
余姚货架
萧山货架
宁海货架
义乌货架
海宁货架
诸暨货架
衢州货架
金华货架
温州货架
台州货架
绍兴货架
宁波货架
嘉兴货架
浙江货架
湖州货架
上海货架
杭州货架
丹阳货架
仪征货架
张家港货架
江阴货架
轻型货架
中型货架
重型货架
南京货架
悬臂货架
镇江货架
苏州货架
南通货架
常州货架
江阴货架
浙江货架
杭州货架
上海货架
宁波货架
诸暨货架
义乌货架
昆山货架
嘉兴货架
萧山货架
常熟货架
无锡货架
马鞍山货架
海宁货架
台州货架
温州货架
模具货架
平湖货架
盐城货架
扬州货架
南通货架
镇江货架
南京货架
浙江货架
徐州货架
台州货架
南通货架
芜湖货架
无锡货架
苏州货架
南通货架
扬州货架
徐州货架
淮阴货架
连云港货架
常州货架
昆山货架
上海货架
马鞍山货架
安徽货架
泰州货架
温州货架
海宁货架
湖州货架
金华货架
华德货架
新众亚货架
固德货架
镇江货架
南京货架
阁楼货架
模具货架
悬臂货架
重型货架
中型货架
轻型货架
无锡货架
阁楼货架
模具货架
悬臂货架
重型货架
中型货架
轻型货架
张家港货架
潍坊电晕处理机
货架
北京货架
货架
货架
广州货架
北京货架厂
货架厂
上海货架
深圳货架
苏州货架
无锡货架
货架公司
库房货架
北京仓储货架
苏州货架
货架公司
天津货架
宁波货架
货架网
青岛货架
中国货架网
山东货架
厦门货架
大昌货架
仓库货架
中型货架
广州货架厂
东莞货架
东莞货架
货架寿命
模具货架
求购货架
济南货架
轻型货架
角钢货架
大连货架
大连货架
重型货架
杰达货架
哈尔滨货架
北京超市货架
图书货架
货架价格
货架价格
托盘货架
石家庄货架
北京超市货架
货架价格
托盘货架
石家庄货架
货架配件
北京仓储货架厂
重庆货架
阁楼货架
兴达货架
六维货架
仓储货架公司
立体货架
金属货架
安徽货架
水晶货架
长春货架
辉煌货架
深圳货架厂
重力式货架
佛山货架厂
爱维斯货架
货架子
货架子
富源货架
货架图
移动货架
货架类型
杭州货架
货架制造
托盘
塑料托盘
木托盘
铁托盘
塑木托盘
仓储笼
仓储笼制造
折叠式仓储笼
巧固架
堆垛架
手推车
铁板手推车
不锈钢手推车
登高车
挂板架
置物架
置物架
置物架
料箱
钢制料箱
料箱
物流台车
载物台车
物流台车
南京货架
南京货架
南京货架
苏州货架
无锡货架
徐州货架
常州货架
镇江货架
连云港货架
淮阴货架
盐城货架
南通货架
昆山货架
张家港货架
宜兴货架
江阴货架
淮安货架
常熟货架
泰兴货架
吴江货架
太仓货架
滨海货架
金湖货架
靖江货架
江苏货架
杭州货架
杭州货架
温州货架
宁波货架
绍兴市货架
湖州货架
嘉兴货架
临海货架
金华货架
台州货架
义务货架
温岭货架
舟山货架
舟山货架
永康货架
兰溪货架
宁海货架
富阳货架
宁海货架
宁海货架
龙泉货架
德清货架
松阳货架
长兴货架
永嘉货架
海宁货架
山东货架
青岛货架
济南货架
聊城货架
德州货架
东营货架
潍坊货架
日照货架
成都货架
绵阳货架
上海货架
南京货架
北京货架
上海货架
温州货架
浙江货架
苏州货架
杭州货架
扬州货架
无锡货架
无锡货架
张家港货架
山东货架
辽宁货架
江苏货架
广州货架
广东货架
深圳货架
中山货架
佛山货架
东莞货架
江门货架
惠州货架
江西货架
安徽货架
合肥货架
昆明货架
新疆货架
河北货架
湖南货架
货架
云南货架
云南货架
四川货架
成都货架
重庆货架
成都货架
重庆货架
郑州货架
大连货架
芜湖货架
济南货架
部队货架
仓库货架
工业货架
手推车
整理架
折叠式料箱
货架
南京货架
浙江货架
南京货架
镇江货架
苏州货架
南通货架
扬州货架
扬州货架
盐城货架
徐州货架
淮阴货架
连云港货架
常州货架
无锡货架
丹阳货架
扬中货架
金坛货架
溧阳货架
常熟货架
张家港货架
吴江货架
昆山货架
太仓货架
启东货架
海安货架
泰州货架
江都货架
仪征货架
句容货架
浙江货架
杭州货架
湖州货架
嘉兴货架
宁波货架
绍兴货架
台州货架
温州货架
丽水货架
金华货架
衢州货架
余杭货架
萧山货架
富阳货架
临安货架
德清货架
嘉善货架
平湖货架
海宁货架
青田货架
宁海货架
奉化货架
余姚货架
慈溪货架
诸暨货架
瑞安货架
义乌货架
舟山货架
下沙货架
下沙货架
下沙货架
上虞货架
路桥货架
建德货架
永嘉货架
岱山货架
桐乡货架
江苏货架
南京货架
镇江货架
苏州货架
南通货架
扬州货架
盐城货架
徐州货架
淮阴货架
连云港货架
常州货架
无锡货架
丹阳货架
扬中货架
金坛货架
常熟货架
张家港货架
江阴货架
吴江货架
昆山货架
太仓货架
泰州货架
上海货架
江都货架
仪征货架
浙江货架
杭州货架
湖州货架
嘉兴货架
宁波货架
绍兴货架
台州货架
温州货架

Re: Orwell Warned Us

2008-12-22 22:45 • by wholesale jordan shoes (unregistered)
Air Jordan wholesale adidas shoesAir JordanAir Jordan
Air JordanAir Jordans wholesale adidas shoes
Air JordanAir JordanNike shoesAir Jordanair jordan nike
Buy jordan shoesAir Jordan Air JordanAir Jordanjordan shoeAir Jordan
air jordan nikewholesale adidas shoes
Air Jordanretro air jordanswholesale adidas shoes
Air Jordan wholesale adidas shoesjordan 11 shoesAir Jordan
Air Jordanwholesale adidas shoeswholesale adidas shoesjordan sneakers
« PrevPage 1Next »

Add Comment