473,778 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OT: problems with orkut.com

Hi

I know, that there are a lot of people having problems with orkut.com,
errors like "object expected" and named objects missing. When loading
the site can generate some 10 errors, and still just leave a blue page
- seems like it heavily rely on JS.
Still, me and friends having problems and orkut seems just to ignore
it.

I am sure, that other poeple have problems, and I really wonder what
kind of problem it is.

The odd thing is, that it works some times, someplaces - makes think
the problem is in my computer.
Secondly, when using my work email on groups.google.c om, then going to
orkut, then it works. Next, I sign out, and then in using my private
email, and I get a blue page. Though, as of now, that does not work.
This makes me believe, that it is some part of included JS for my
profile, which fails heavily. Hence, the problem is in their scripts.

This reminds me of a problem I once had with a site of mine, where the
included .js file did not have proper permissions and could not be
loaded.

Have anyone been thinking about this and bad JS coding in general?
To me, orkut is an example of how pages should not rely entirely on
JS.

WBR
Sonnich
Sep 23 '08 #1
10 1854
On Sep 23, 4:07 pm, jodleren wrote:
I know, that there are a lot of people having problems with
orkut.com,
<snip>
I am sure, that other poeple have problems, and I really
wonder what kind of problem it is.
<snip>

If its Google then it must be incompetence.
Sep 23 '08 #2
Henry wrote:
On Sep 23, 4:07 pm, jodleren wrote:
>I know, that there are a lot of people having problems with
orkut.com,
<snip>
I am sure, that other poeple have problems, and I really
wonder what kind of problem it is.
<snip>

If its Google then it must be incompetence.
/* satire mode on */

Yes, I agree. And if something is Microsoft then
it must be incompetence.

In fact, in my opinion every employee in those companies
is incompetent, each and everyone of tens of thousands
of people, without an exception.

As soon as a person is not employed by the Evil Companies,
and writes posts in c.l.j, he might become competent, expert,
provided he has never worked for the Evil (and hopefully
never will.)

Perhaps therefore it is very important to post here with one's real
name so that even their former employees can be recognized as
evil, incompetent people.

If an incompetent Google-person writes

var i = 1;

then the code is wrong, incompetent, idiot's work, the performance
is questionable, and there are sure to be evil spirits involved in
the lines.

If a c.l.j expert writes

var i = 1;

then the code is admirable, following standards, correctly posted with
correct signature and quotation, with correct software and there
are good spirits in it, glory glory halleluja .

I hope some day I could become an expert here.

/* satire mode off */
Sep 23 '08 #3
On 2008-09-23 19:44, optimistx wrote:
If an incompetent Google-person writes

var i = 1;

then the code is wrong, incompetent, idiot's work, [...]

If a c.l.j expert writes

var i = 1;

then the code is admirable [...]
The first variant is more geared towards situations where high
performance is paramount. It sacrifices clarity and maintainability for
raw speed, which makes sense in a website that's visited by millions of
people every day.

The second form is more classical; it's simple, robust, and easy
to maintain and modify, but it can also act as a bottleneck. This is
canonical form. This is how it's taught in the exclusive (and very
expensive) elite programming courses, which many of the regulars of this
group attended. Personally, I also find the style more elegant compared
to the cramped alternative used by Google.

Hope that cleared it up for you.
Next week we can discuss the difference between i++.
- Conrad
Sep 23 '08 #4
On Sep 23, 6:44 pm, optimistx wrote:
Henry wrote:
>On Sep 23, 4:07 pm, jodleren wrote:
>>I know, that there are a lot of people having problems with
orkut.com,
<snip>
I am sure, that other poeple have problems, and I really
wonder what kind of problem it is.
<snip>
>If its Google then it must be incompetence.

/* satire mode on */

Yes, I agree. And if something is Microsoft then
it must be incompetence.

In fact, in my opinion every employee in those companies
is incompetent, each and everyone of tens of thousands
of people, without an exception.

As soon as a person is not employed by the Evil Companies,
and writes posts in c.l.j, he might become competent, expert,
provided he has never worked for the Evil (and hopefully
never will.)

Perhaps therefore it is very important to post here with one's real
name so that even their former employees can be recognized as
evil, incompetent people.

If an incompetent Google-person writes

var i = 1;

then the code is wrong, incompetent, idiot's work, the performance
is questionable, and there are sure to be evil spirits involved in
the lines.

If a c.l.j expert writes

var i = 1;

then the code is admirable,
There is no need to conjecture about code that Google employees may or
may not write when you can look at code that they actually do write,
and goes unchanged and unnoticed for year after year. An adequate
illustration can be found at:-

<URL: http://groups.google.com/group/comp.lang.javascript >

- where viewing the source of the served page reveals:-

| <script language="javas cript"><!--
|
| // ----------------------------------
| // used for dynamic function generation on event handlers
|
| var loaddef = "";
| var resizedef = "";
|
| //-----------------------------------
| // Browser detection and support
|
| var agt = navigator.userA gent.toLowerCas e();
| var is_opera = (agt.indexOf("o pera") != -1);
| var is_ie = (agt.indexOf("m sie") != -1) && document.all && !
is_opera;
| var is_ie5 = (agt.indexOf("m sie 5") != -1) && document.all;
| window.agt = agt;
| window.is_opera = is_opera;
| window.is_ie = is_ie;
| window.is_ie5 = is_ie5;
|
| // ----------------------------------
| // cross-browser functions
|
| var IE_all_cache = new Object();
| function IE_getElementBy Id(id) {
| if (IE_all_cache[id] == null) {
| IE_all_cache[id] = document.all[id];
| }
| return IE_all_cache[id];
| }
|
| if (document.all) {
| if (!document.getE lementById) {
| document.getEle mentById = IE_getElementBy Id;
| }
| }
|
|
|
| //----------------------------------
| // Timezone detection (sets cookie)
|
| try {
| document.cookie = 'GTZ=' + (new Date()).getTime zoneOffset() +
| ';path=/;expires=Mon, 01-Jan-2024 00:00:01 GMT';
| } catch(e) {}
|
|
| // ---------------------------------
| // shelled functions for old javascript
| function tog() {}
|
| //--></script>
| <script language="javas cript1.3"><!--
|
| // ----------------------------------
| // visibility functions
|
| function tog() {
| // tog: toggle the visibility of html elements (arguments[1..])
| // from none to arguments[0]. Return what should be returned
| // in a javascript onevent().
| display = arguments[0];
| for( var i=1; i<arguments.len gth; i++ ) {
... and so on.

Disregarding user agent string based browser sniffing, the undeclared
variables that should be local (- display = arguments[0]; -) and the
perverse and redundant (-window.agt = agt; - with a previous global -
var agt = ... -), here there is an attempt to do something that, if it
were effective, might be admirable. Specifically, the use of various
forms of language="javas criptX.X" attributes in the SCRIPT elements in
an attempt to gain controlled outcomes in older browsers. Somebody has
obviously identified this as desirable and attempted to implement it
(or have someone else implement it).

Two language versions are employed by SCRIPT elements in the page's
source; version 1.3 and the generic language="javas cript", which means
any version from the first. Most of the code above is the main
language="javas cript" element where we see, for example, an
implementation of a substitute - document.getEle mentById - method for
IE 4 (IE 4 did not have that method and would not load
language="javas cript1.3" SCRIPT elements). We also see a dummy - tog
- function defined so that these older browsers will not error when
intrinsic event handlers attempt to call that - tog- function. The
real - tog - function is defined in a subsequent
language="javas cript1.3" SCRIPT element.

There are two problems with this. The first is the logic of the
targeted language versions. JavaScript 1.3 first shipped with Netscape
4.06 so from that versions on Netscape browsers will be loading
language="javas cript1.3" SCRIPT elements, and either producing syntax
errors as they attempt to interpret the code or runtime errors when
they attempt to execute it. Even if people are still using Netscape 4
the odds of them using a pre 4.06 version are extremely low
(particularly as, while they were still distributing it, Netscape
recommended that nobody use a pre 4.78 version due to serious security
flaws in earlier versions).

The second problem, and the totally fatal one, is that sitting in the
middle of the language="javas cript" SCRIPT element (the one that is
supposed to provide the fall-back) is a try/catch block, and try/catch
was introduced in JavaScript 1.4, JScript 5 and ECMAScript 3, which
translates to Opera 5+, IE 5+, Netscape 6+ (and Mozilla/Gecko/
Firefox). Try/catch is a syntax error in all previously language
versions, and the code in elements that contain any syntax errors will
never be evaluated. Thus, on (all off) the very browsers that will not
process the language="javas cript1.3" the SCRIPT element that is
supposed to be providing their fall-back will never be evaluated due
to the syntax error, rendering the whole exercise self-defeating.

A competent javascript developer would see this within a few seconds
of starting to try to understand what the javascript on the page does.
Obviously its author(s) did not know enough to avoid writing code that
defeated its own best efforts, but that is not unusual in itself as
the individual doing a job like that could be quite junior. The
significant indication of this is that whoever is in charge of this
authoring effort, the most senior/knowledgeable developer involved,
did not see this mistake (whether through not looking or looking but
not knowing enough to recognise it when seen), and that is
incompetence. It is also the norm for Google javascript authoring.

(The apparent absence of any (effective) QA prior to deployment might
also be the subject of criticism, but that is Google management's
incompetence not its web developer's)
following standards, correctly posted with correct signature and
quotation, with correct software and there are good spirits in
it, glory glory halleluja .

I hope some day I could become an expert here.

/* satire mode off */
Whine a lot, don't you?
Sep 24 '08 #5
In comp.lang.javas cript message <2409108b-bf40-430b-b789-7829966fc393@2g
2000hsn.googleg roups.com>, Wed, 24 Sep 2008 04:58:13, Henry
<rc*******@rain drop.co.ukposte d:
>| // Timezone detection (sets cookie)
|
| try {
| document.cookie = 'GTZ=' + (new Date()).getTime zoneOffset() +
| ';path=/;expires=Mon, 01-Jan-2024 00:00:01 GMT';
| } catch(e) {}
That only detects the time zone in winter-time. The identifier
getTimezoneOffs et should not have contained the substring "zone".
JavaScript upgraders please note.

--
(c) John Stockton, nr London, UK. ?@merlyn.demon. co.uk Turnpike v6.05.
Web <URL:http://www.merlyn.demo n.co.uk/- w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/- see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Oct 9 '08 #6
On Sep 23, 1:44*pm, "optimistx" <optimistxPoi.. .@poistahotmail .com>
wrote:
Henry wrote:
On Sep 23, 4:07 pm, jodleren wrote:
I know, that there are a lot of people having problems with
orkut.com,
<snip>
I am sure, that other poeple have problems, and I really
wonder what kind of problem it is.
<snip>
If its Google then it must be incompetence.

/* satire mode on */

Yes, I agree. And if something is Microsoft then
it must be incompetence.
When it comes to the Web, yes. Why do you think they were so hot to
buy Yahoo!?

Last I checked, all of their frameworks used server side browser
sniffing. What is that stupid tool called? BrowserPigeon or
something? It is hard to believe that a company with so many
resources could produce such incompetent products, but there it is.
And don't get me started on Windows.

[snip]

What an idiot.
Oct 10 '08 #7
On 2008-10-10 03:02, David Mark wrote:
>Yes, I agree. And if something is Microsoft then
it must be incompetence.

When it comes to the Web, yes. Why do you think they were so hot to
buy Yahoo!?

Last I checked, all of their frameworks used server side browser
sniffing. What is that stupid tool called? BrowserPigeon or
something? It is hard to believe that a company with so many
resources could produce such incompetent products, but there it is.
And don't get me started on Windows.

[snip]

What an idiot.
May I interest you in one of the *.advocacy or *.evangelism groups out
there? Judging from your last posts, you have some serious hatreds, and
I'm sure you'd feel right at home in one of those groups.
- Conrad
Oct 10 '08 #8
On Oct 9, 9:39*pm, Conrad Lender <crlen...@yahoo .comwrote:
On 2008-10-10 03:02, David Mark wrote:
Yes, I agree. And if something is Microsoft then
it must be incompetence.
When it comes to the Web, yes. *Why do you think they were so hot to
buy Yahoo!?
Last I checked, all of their frameworks used server side browser
sniffing. *What is that stupid tool called? *BrowserPigeon or
something? *It is hard to believe that a company with so many
resources could produce such incompetent products, but there it is.
And don't get me started on Windows.
[snip]
What an idiot.

May I interest you in one of the *.advocacy or *.evangelism groups out
Hardly.
there? Judging from your last posts, you have some serious hatreds, and
I'm sure you'd feel right at home in one of those groups.
Never mind your judgment or what you feel. It's all OT here.
Oct 10 '08 #9
David Mark wrote:
On Sep 23, 1:44 pm, "optimistx" <optimistxPoi.. .@poistahotmail .com>
wrote:
>Henry wrote:
sniffing. What is that stupid tool called? BrowserPigeon or
What is wrong with BrowserPidgeon?
something? It is hard to believe that a company with so many
resources could produce such incompetent products, but there it is.
And don't get me started on Windows.
Windows is rad. Except it won't start :O
[snip]

What an idiot.
No way that was a good post.
Oct 10 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1218
by: Blmn | last post by:
anybody knows how star buttons on gmail work? or friend-rates on orkut? they use the same technic. it should be some sort of connection between c# and javascript. any article or tips would be appreciated
1
1414
by: Fabiano | last post by:
Please, someone know how can i do a background postback, such as the "Friend Karma" at Orkut? Tks in adv. Fabiano
2
1418
codesid
by: codesid | last post by:
I could not find over the web anything related to this issue that I found, so I started to open a discussion about this, and maybe can help me out, or give better ideas of how to handle with this. Environment: Windows XP Pro, VS2003, .NET 1.1, C# The Case: When we obtain the information of a csv file from a post type "multipart/form-data", the contents of the file come with strange chars, similar to double spaces that are not exactly...
1
2706
by: Soby | last post by:
Hi, Is there any orkut api for .net users .Plese send reply its very urgent Soby/-
4
5355
by: hsn22 | last post by:
im trying to log into orkut so i can do some things on the page. but im having trouble logging into the orkut page. this is as far as i have come (yay!) this is the link that logs people into orkut. it takes two values through the fields "Email" and "Passwd". then after calling ServiceLoginAuth, redirects to the orkut home page if the input is correct. so i tried to post the values into Email and Passwd using urllib's urlencode function....
9
2679
bajajv
by: bajajv | last post by:
Hi, I am having problem in accessing gmail and orkut. It gives The page cannot be displayed. The ssl 2.0 and ssl 3.0 are enabled. I am having xp sp2. Any idea how it can be solved? Thanks.
7
1518
dmjpro
by: dmjpro | last post by:
Hi Experts. I m now days doing test on ORKUT JS code. I need your help experts. Now there are multiple forms in a page. But no actions are there. Now when the page is submitted then this function called.
1
2570
by: Suhas Dhoke | last post by:
Hello Raja. Where is the constructor of the class orkut ?? On Oct 24, 1:40 pm, Raja <RajaSa...@gmail.comwrote:
1
2551
by: prasadpanati | last post by:
Hi all, I a beginner in to asp.net and learning to use httpwebrequest. I am trying to login to orkut.com using the following code.... but unfortunatly i am unable to login to it Can some one please help me by correcting the code.... Thanks in advance... Dim cookieJar As CookieContainer = New CookieContainer Dim webReq As HttpWebRequest
1
10061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9923
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8954
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7471
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6722
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5368
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5497
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3627
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2860
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.