Slashdot Log In
Science Project Quadruples Surfing Speed - Reportedly
Posted by
Hemos
on Mon Jan 13, 2003 07:12 AM
from the hardly-any-details dept.
from the hardly-any-details dept.
johnp. writes "A computer browser that is said to least quadruple surfing speeds on the Internet has won the top prize at an Irish exhibition for young scientists, it was announced on Saturday. Adnan Osmani, 16, a student at Saint Finian's College in Mullingar, central Ireland spent 18 months writing 780,000 lines of computer code to develop the browser. Known as "XWEBS", the system works with an ordinary Internet connection using a 56K modem on a normal telephone line.
" A number of people had submitted this over the weekend - there's absolutely no hard data that I can find to go along with this, so if you find anything more on it, plz. post below - somehow 1500 lines of code per day, "every media player" built in doesn't ring true for me.
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Basic maths. (Score:4, Interesting)
Re:Basic maths. (Score:5, Funny)
you see, it's not that hard to make 1500 lines of code per day!
Parent
Re:Basic maths. (Score:5, Funny)
Parent
Re:Basic maths. (Score:5, Funny)
I wonder what ever happened to reading webpages while surfing... Ooohh, right, so that's what you call surfing
Parent
Re:Basic maths. (Score:5, Interesting)
Indeed. I remember reading that IBM reckon that, including design, coding, testing, debugging and documentation, a programmer's doing well to get 10 lines of code per day, averaged over the life of the project.
Also depends how he's counting lines. In C, because that can vary so much depending on individual formatting style, a good rule of thumb is to count semicolons. And even then it won't tell you if programmer A is writing fast but hard to read code and programmer B is checking the return value of every system call (as you're supposed to but few ever do), adding lines and robustness with no extra actual functionality.
Parent
Re:Basic maths. (Score:5, Insightful)
I broke 1,000 LOC per day for about a week while working for an unnamed gigantic CPU monopolist. I was behind schedule, over budget, and had a hard deadline, and the code itself was fairly repetitive and not terribly efficient. Ordinarily, I'd figure I produce closer to 250 LOC per day during a normal coding period.
Provided this story isn't complete hogwash, my guess is that the reporter asked the boy about the writing the program and he answered that it consisted of 780,000 LOC and took him a year and a half to build. He probably neglected to mention that 90% of those lines were in libraries written by other people. He may not have even intended to be deceptive in any way, figuring that any fool would know that was the case, but not realizing that the reporter was a fool.
Parent
Re:Basic maths. (Score:5, Informative)
when I had "software engineering" in my computer science courses, we got this figures for LOC per say:
Application programs: 25 - 100
Service programs: 5 - 25
System programs: 1
Application programs are things like an editor (albeit some editors are rather complex), service programs are things like cc and ld or asm (albeit some of them are not "that" complex) system programs are stuff like the kernal itself or, dynamic link loaders, device drivers etc.
Well,
we all know that LOC is not a defined "value" but people working a lot with that "measure" just define it
E.g. if you work with COCOMO or with PSP(personal software process) the typical LOC is defined as a single definition, a single expression(some even say every part of an expression), an argument to a function call, every include, every define and so on:
fprintf(stderr, "this is an error number: %ld", errnum);
That would be 4 LOC, one LOC for the "statement" and 3 for the 3 arguments. Consider you can make an error/bug in every argument or 'misstype' fprintf for fscanf
LOCs do not realy get interesting in comparing hero programmers (10 to 20 times more effective) with standard programmers, but by comparing programming languages!!!
The VERY INTERESTING point about LOCs is that the noted rules of thumb above are independend from programming languages!!!
A programmer writing lets say 12 LOC per day C also writes ~ 12 LOC per day in assembler, in LISP in PERL or what ever language is appointed for the project.
So: the more expressive and the more abstract a language is the more "algorithm" or "computation" is defined in the lines of code.
In other words: 10 lines of C are far more calculation than 10 lines of assembler, while 10 lines of LISP, SQL or Prolog are even more than C.
Bottom line: the number of statements the average programmer can write depends far more on the problem domain than on the language choosen!
Well, the productivity of the so called hero programmer is in general not in lines of code, but in "abstractions" he implemetns. Or in number of features he implements. And that is often acomplished by choosing the right language constructs(not by writing more lines)
angel'o'sphere
Parent
Re:Basic maths. (Score:4, Insightful)
I am not surprised you don't believe me. It's hard to believe it myself, and I'm the one that has done it. I do not suggest that that level of productivity is typical of either myself or others nor sustainable over a long period of time. My long-term average is less than a tenth that (and dropping as I get older).
The state I'm in when coding like that is best described as a fugue state. My mind is racing and everything else just gets ignored. Meals. Sleeping. I call it "going under" because that's what it feels like when I come out of it. The productivity that I see during such periods is prodigious to say the least.
But it's absolutely brutal on the body. You used a 16 hour day in your calculation, but that's understating it by nearly 50%. Because, in that state, I'm not sleeping at all. I'm incapable of sleep. Nor am I taking regular meal breaks. This allows coding for about 23 hours per day.
Typically when I get into that state it only lasts for about two days (40-50 hours), but there have been a handful of times when it has lasted longer ... as many as five days straight.
As for whether or not the code produced was trivial, the last such time I did this I wrote a Java debugger from scratch. Mostly that was UI code (Swing didn't exist at the time so I had to write a lot of rendering and layout components) but the class disassembly and debug engines were fairly complicated (but nowhere near the complexity of a JPEG or MPEG decoder!). It took 96 hours to write almost 14,000 LOC.
Now, there are two other interesting productivity data points. When coding in C or C++ (doesn't really matter which) my productivity maxes out at around 1,500 LOC in a day. Java triples it! And the bug rate falls by ~90% in Java. I love Java.
Anyway, that's my story, believe it or not. And, as such, it's not entirely unbelievable to me that someone could do 1,500 LOC/day for at least a few days at a shot. Doing it for 18 months straight though? Doesn't seem likely.
Parent
Re:Basic maths. (Score:5, Interesting)
Parent
Re:have you ever been 16 (Score:5, Insightful)
I don't deny that it's possible to write 10,000+ lines of code in 5 days but, unless you're some sort of prodigy, I would have serious reservations about the quality of that code.
All of us who chose development as a career because we love to write code, rather than just because it's a well-paid and relatively easy-going job, have at some time cranked out amazing amounts of code in a short time. My doubts are caused by the duration. I don't believe that it's possible to sustain that sort of output for that period of time.
Parent
Re:have you ever been 16 (Score:5, Funny)
Parent
10-20?! (Score:4, Insightful)
A good software engineer should be able to write at least a few hundred lines of code in one full day
Parent
Re:10-20?! (Score:4, Insightful)
Of course, if you only spew out code and do nothing else, then yes, 10-20 LOC is not very much.
Besides, how many programmers does Microsoft employ? How long are they working on Windows now? Let's assume the Windows source code contains about 10 million LOC - that's 500.000 days if one programmer writes 20 lines a day. Let us further assume, that 100 programmers are working on Windows. That's around 1.400 man-years or 14 years in our case. That's not unreasonable, is it?
Parent
Re:Basic maths. (Score:4, Interesting)
Most likely he has taken an open source browser and added in his own extensions. This is the type of innovation that making the browser open source is meant to support.
As for speeding up browsing by a factor 100% that is pretty easy. We did a lot of work on HTTP-NG and you can speed up downloads a lot just by compressing the headers so that they fit into a single packet. HTML is also very compressible. The biggest mistake we made in the original Web code was not putting a lightweight compression scheme into the code, although it did make it into the specs.
Of course the reason this did not happen was the LZ patent GIF fiasco and the then state of the GNU compression libraries. Even so Microsoft has supported compression in IE for some time.
I am rather more skeptical about the 500% claim. I don't think that there is that much redundancy unless you have completely artificial examples.
Parent
Hmmmm he even admits it crashes (Score:4, Interesting)
This isn't a microprocessor - the speed it runs should be completely unrelated to it's caching.
I'm very very skeptical that this is anything more than a browser with precaching.
It also makes other ludicrous statements about how blind people can now access the web. I'm not sure how they do it presently, but i know that they do.
Warning! Your internet connection is not optomized (Score:5, Funny)
Parent
Re:Hmmmm he even admits it crashes (Score:3, Interesting)
There is also BLinux [leb.net], a project to make Linux accessible for blind users.
Jaws is pretty cool, I use it at work sometimes to test sites.
Re:Hmmmm he even admits it crashes (Score:5, Funny)
The downside on this would be that you age four times as fast while surfing, but hey, there's always something ...
Parent
Re:Hmmmm he even admits it crashes (Score:4, Funny)
Neat! I never thought that a web page would have a terminal velocity. Guess it's between 6 and 7 times the normal speed of web pages.
Parent
suspicious (Score:4, Informative)
He wants to study computer engineering in Harvard University and eventually set up his own Internet or computer company.
(For people who don't get it, Harvard's CS department, while reasonably good, is not exactly the obvious top pick among CS hotshots.)
Re:suspicious (Score:4, Informative)
I'd be suspicious about the alleged speed of writing code. (That's thousands of lines a day!) It seems to be like this is just a browser which loads up links ahead of displaying them. Which, amazingly enough, is what all those "Your Internet Connection Is Not Optimized!!!" programs do.
How doing this faster can make the computer crash is a bit of a mystery to me. (I can't think of a single program with a speed dial, and above a certain speed, the computer crashes...
Parent
Re:suspicious (Score:4, Insightful)
No this is either total bullshit, or a huge exearation. Remember, with real science, computer or otherwise, the MOST important part is subjecting work to peer review. Anyhting which can only be demonstrated in one lab in a hands-off, no-details demonstration isn't science and the person is hiding something.
Parent
Re:suspicious (Score:4, Informative)
He is in Ireland, but Dublin's no tech backwater. Trinity College Dublin is world-renowned for science and maths, and a short flight away are Imperial College and UCL in London, not to mention Oxford and Cambridge. A little further than that is the Sorbonne. There's no reason he shouldn't be as familiar with the rankings as anyone else.
And thanks to the Irish government's very sensible tax policy (i.e. less is better), the country has a sizeable presence of US high-tech firms, like Oracle and Sun.
As others have said, tho', anyone who claims to be able to sustain 1500 LOC/day for 18 months, is probably not to be taken seriously.
Parent
I get it... (Score:4, Funny)
It then makes use of network magic. You mean no-one ever told you about the magic ?
Hmm. (Score:5, Interesting)
But what really got me where the two most important features someone could ever want in a Web Browser - it can play dvd's [it incorporates ever media player!], and also has a handy animated assisant called Pheobe.
Now, I am most probably wrong, and will happily eat my hat, but I cant help but feel that this isn't an entirely accurate article.
ps. Does anyone know if it is standard compliant ?
Re:Hmm. (Score:5, Interesting)
I have a feeling this project is nothing but hot air.
Parent
Re:Hmm. (Score:4, Interesting)
The claim that it's 100 to 500% faster is probably accurate in some sense, but compared to what? An old version of Netscape or Explorer? And on what kind of set-up? You can probably see that kind of variation in a single browser installation just by changing to different options and settings or by closing other windows or background applications. Personally, I often find myself switching between browsers depending on what seems to be working better on a particular day or on a particular network or machine.
On the other hand, he does sound like he's a bright kid with a good future, but probably one that just took Mozilla and turned it into snazzy looking bloatware with a bunch of extra features. Or, perhaps an even brighter kid who did the same thing from "scratch" with a lot of cutting and pasting (of his own work and from existing programs and libraries) to end up "writing" so many lines of code.
Parent
Extraordinary claims require extraordinary proof (Score:5, Insightful)
That's massive work _and_ a revolutionary breakthrough. If he's that good - and in a way that others hadn't thought of despite the efforts of several of the world's largest companies going into browser and network research - then this is remarkable. But without hard evidence (or even a mention on the competition's admittedly poor website) this just sounds way too much like a scam.
Giant VB Applicaiton? (Score:4, Insightful)
Prediciton: It turns out to be some Visual Basic application which uses built-in windows components such as media player... thus allowing "All media formats, and DVD playing capabilities"
Quadrupling "Surfing Speed" is so bizzare a claim that I have no idea what it could mean. Maybe he's blocking banner ads... at 56k it could make a difference.
As for the "lines of code" I strongly doubt that a kid is using the same criteria for lines of code that everyone else is using... it probably includes his html test suite, and all his test code, abandoned code and documentation added together. Or maybe he didn't know how to write a function, so it is a big cut-and-paste one-function VB program with Goto's.
It's not that I doubt that a kid can pull this sort of thing off, it is that I doubt the school teachers nor the media have enough knowledge to judge it or report it accurately.
Parent
Is that so? (Score:4, Interesting)
Sure, you can leave stuff out (images, JavaScript, Flash), but "at least quadruple"? If the page is simple enough then you can't just ditch a chunk of it.
Ooh, AND "[at] least quadruple surfing speeds" and "they found it boosted surfing speeds by between 100 and 500". Even the article isn't making any sense . .
Of course, if this turns out to be true than I will be the first to eat my cat (and the first to download it), but I'm sure this isn't even possible, right?
Just my 2 cents (actually, that was more like 5) . . .
What a load of crap (Score:5, Interesting)
A kid coding 780'000 lines of code in 18 months. All alone. In that time he have had to design and implement the whole shit including "every single media player built in".
It would require some sort of dial-up-server side module to compress and modify the contents of the data and this kind of system would most certainly be a lossy method for transferring data. It won't be possible to transfer binary data with this thing without corrupting the result completely.
And what kind of a piece of software would choke under the load of 7x56k modem ("At seven times it actually crashes so I have limited it to six.")?
This is just a cheap attempt to gather some attention.
Ok, let's think this through.... (Score:5, Interesting)
If it does require a server side piece, it's not a web browser, per se; but as a general question, is it worthwhile to look into "compressed" web pages, e.g., foo.html.zlib? (I tend to doubt the savings are that much for the "average" page, but shoving graphics into an archive might keep down the number of requests needed to fetch a whole page and its graphics.)
If it's not server side compression, the only thing I can think of (and fortunately smarter people than me will think of other things I'm sure) is that he's pre-fetching and caching pages to make the apparent speed faster.
So is the "secret" that he has some hueristic that sensibly guesses what links you'll click next, combined with regularly fetching, oh say, your most requested bookmarks? (In my case it might look like: slashdot -- New York Times -- slashdot -- sourceforge -- slashdot -- freshmeat -- eurekareport -- slashdot.)
In other words, is he mirroring sites locally in the background? And if so, how must bandwidth is wasted just sitting in the cache until it's stale?
(On the other hand, could I point his browser at
Re:Ok, let's think this through.... (Score:5, Informative)
If it does require a server side piece, it's not a web browser, per se; but as a general question, is it worthwhile to look into "compressed" web pages, e.g., foo.html.zlib?
This already exists, look for example at mod_gzip for Apache. This will compress pages before transmitting if the browser claims to support it. Mozilla does, I believe IE does too.
Parent
Apparently is was actually 1.5 Million lines... (Score:5, Informative)
There is no way.
no footprint ? (Score:4, Informative)
I however found out this thread in the news [google.com] but, mind you, it's based on the same story...
They bet that if it's possible, he may have either implemented some quick prefetch and/or pre-formatting subroutine...
Pattern matching? (Score:5, Insightful)
Most web pages have a lot of static content in, especially menus etc. You could start rendering the page immediately from the cache from the last page and rerender afterwards as the new page starts to differ from the cached version.
As the page comes in, keep switching to the page that is closest to same structure in cache (ie predominantly on the HTML tags). Don't render the text until the initial few chars are confirmed by the version downloading, then progressively render that (ie show old version then modify words where they differ).
This would have the effect of progressively rendering the page as a whole much like those progressive GIFs. It would show a large speedup on pages that contain tables, as most browsers these days won't render a table until it has recieved the
This would be a 'faster' browser with no compression or pre-caching.
Phillip.
Re:Pattern matching? (Score:4, Insightful)
I think 90% of page traffic occurs on the top few websites through regular visitors, so in most cases the client will already have some data available.
Parent
So, Jim, I'm concerned with your performance... (Score:5, Funny)
Jim: Yes, I --
PHB: Jim...I'm concerned about your performance.
Jim: Er, wha--
PHB: You write, what, 30 maybe 80 "eL Oh Cee" a day? Right?
Jim: Well, the TPS and project plans take --
PHB: Says here, that this 16 year old kid can write 1500 "eL Oh Cee" a day. What do you think about that?
PHB: Don't laugh...this is serious.
Jim: Sorry. I ment --
PHB: Jim, maybe you need to put in more hours. Reconsider your work habbits.
Jim: I work till 10 most nights...
PHB: Jim, it's not the hours it's how efficiently you handle them. I expect todays TPS on my desk by noon, along with a status report on each programming task you've done today.
Jim: It's 11 --
PHB: That's it Jim! Keep up the good work. In the meantime, see if you can increase that "eL Oh Cee" to, say, about a hundread. It's good to make a good impression. Fine. Excellent. I knew I could count on you. I'll see you then! ... Brian...did you fill out that TPS report...
Irish Patent Office does not know about this (Score:5, Interesting)
Query
Application Date: 08/01/2003 -> 10/01/2003
Abstract: *internet*
Results: 0
Query
Date Of Grant: 08/01/2003 -> 10/01/2003
Abstract: *internet*
Results: One Result: 2000/0717 82661 Server-based electronic wallet system
Thats it, so it doesn't seem he applied for the patent in Ireland then...
P.S. The stars around "internet" are mine, I used them to indicate that I searched all abstracts that contained the word "internet"
Then why the hell did you post it? (Score:5, Insightful)
Twits who make up bullshit stories like this thrive on attention. By posting it on a major site like slashdot, you give him exactly what he wants. Just use a little restraint, and try not to post the stories that are obvioulsy fake -- like this one, and the one about Masters of Orion 3 beign out soon (grin).
1500 lines a day (Score:5, Funny)
Then he discovered loops.
Possible explaination for LoC (Score:5, Informative)
I never really knew the true line count. I just remember the Borland one because I used to often do a global compile any time I wanted a half hour break ("Oh, the systems acting funny. Better do a global compile to make sure it's not a dependancy problem." If my boss came by and I wasn't there, he'd see the compile running on the screen).
FTL Browsing (Score:4, Funny)
Explains why it crashes at Warp 7 too, the dilithium code just can't take, keptin!
Re:Great, yet another browser... (Score:5, Informative)
it is doubtful that he will - according to the article he has applied for a patent on it.
Parent
Re:Great, yet another browser... (Score:3, Insightful)
Re:Speeding up browsing? (Score:4, Funny)
Yes, unless you have one of these! [slashdot.org]
Parent
Re:Different Calendar (Score:5, Funny)
Well, okay, they don't but it'd be nice if they did... instead of the year round crap.
Parent
Re:It slices it dices (Score:5, Interesting)
The article discusses that he uses a simple modem, so that could perhaps mean that he just wrote some new method for transmitting more bits/second by a more accurate signal detection method.
Although, this has basically nothing to do with the browser at all, so it does not make any sense to me. Sounds like the article mixes apples and oranges, or perhaps the "student" is just laying out a smoke barrier so that noone will steal his ideas before he get the patent.
my 5 cents...
Parent
Re:Strong sense of deja vu (Score:5, Informative)
Parent
Re:Strong sense of deja vu (Score:5, Informative)
Bullshit. Get your facts straight before you malign someone. Sarah Flannery
She used Mathematica, so the Wolfram website has review [wolfram.com] of the book.
Here's a quote from Bruce Schneier in his 15 Dec 99 newsletter [counterpane.com].
All of this was easily found with a Google search [google.com] that garned 24,000 hits.
Parent