- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
First? har har
Admin
Meh. Where's today's snoofle's post?
Admin
TRWTF is "googling on AltaVista" phrase.
Admin
So, basically an unoptimized but fully functional search index. That's actually rather not bad for something you stumble to. Sure, there are better ways of doing it, and this way will scale rather badly, and it's probably going to have more security holes than IE6, and it'll waste ridiculous amounts of resources... but it worked, right?
:)
Admin
Admin
But really, who hasn't done this?
Someone who can't code without a GUI IDE, that's who.
It is called code reuse. Your system already has code to search a list of words and match wildcards. Why reinvent the wheel?
Hell, who needs C? You could probably do this in a few lines of shell script.
If you can't do it with native Unix command line tools, it's probably something you shouldn't be doing anyway.
Admin
I wrote a system like this in highschool that made me cringe. It was done in GW basic for a manufacturing company my dad was the manager for. They used it for over 10 years which is scary!!
Admin
Never mind that, where's the null?
Admin
Pipe command!
Admin
Unoptimized or not depends on your filesystem.
After "upgrading" this system to run on a modern filesystem with btree-indexed (or similiar) directories this would scale quite well at least for lookup performance. I speak from experience, althought that's not something I care to go into.
Suffice to say, I've seen a machine invoking the OOM killer after starting ls...
Admin
i thought point-and-shoot was a camera term...
Admin
As my first major project, I wrote a Geocities clone, complete with automated email account creation. It was similarly shaky, but to this day I'm still proud that I managed such a thing with no professional experience.
Today, it would look a lot different, take a lot longer, be a lot more stable, and I wouldn't be any more proud of it. :D
Admin
Admin
How is this different from any other web dev?
Admin
Admin
Genius!
I was just looking for a simple search solution!
Admin
You toffs have got nothing on me. I ATTEMPTED the first basic compiler in assembly because apple wouldn't make one that supported floating points. After several weeks of mangling about, Bill Gates came to our rescue and my project was abandoned.
Admin
Yeah, seems fine to me too. Would be more efficient to use folder and file names or symbolic links rather than actually writing stuff into the file.
Database search has it's failures. We're looking at using systems that work like this to get as we need to search on single letter words, etc
Admin
I wrote a BASIC interpreter in C. It taught me quite a bit, mostly that I hate C.
Admin
The result was a snapping sound and a thin curl of smoke emerging from the top of the rack.
Oh, and a wedge-shaped fragment blown out of the plastic chip package (40-pin wide DIP).
The 8255 didn't work too well after that, needless to say.
Admin
Admin
Admin
I can't actually read past this statement at the moment. I may be having an aneurysm.
Admin
well . for starters, if all webdevs knew how to use linux it'd be a major improvement
Admin
I've got a confession to make: I ______ MS Access ______
I was going to write "I wrote MS Access applications" but then I couldn't. I just can define how dirty I felt, it was like losing my virginity because of being raped.
And then I met PHP... Generation X sucks!!!
Admin
Why? Googling is a verb, AltaVista is a website.
I once heard someone say that she was googling in the refrigerator for ketchup but couldn't find any. I wanted to ask her if she photoshops her face before she goes out.
captcha: jugis. The face-photoshop girl had two nice jugis
Admin
The PIII locked up, but was still usable after the power was removed and the cooler put back.
The P4's thermal protection slowed it to a crawl, but it continued running while the cooler was off, and worked normally when the machine was repaired.
The AMD processors died fairly thoroughly. They had a high-range thermometer of some sort, and measured one of them at 570 degrees C.
Admin
That's not a confession, it's a brag. For a kid just out of high school, this is an amazing accomplishment. Robert Horvath, if you're not making some serious cash, quit & find someone who will pay you what you're worth.
Admin
I ran an AMD Duron up to 108 degrees C when I forgot to attach the fan wire. I could smell it, but no smoke and the thing worked fine for years after that. Intel? I fried a Duo Core at 72 degrees.
Admin
You had me at "Hello".
Admin
You're just pointing out that Intel & AMD had different design goals. Intel aggressively fought overclocking. AMD encouraged you to void your warrantee.
Admin
Or someone who known how ls works under the hood, and cares about the efficiency of the software they write. A search algorithm that's O(n) over the number of terms in the index is... let's say, not ideal. And that's before we get to the number of syscalls, the expense of fork/exec, etc.
Admin
No, it wouldn't, because glob expansion is iterating over all files in the directory and applying fnmatch(); unlike the case where you know the name of a specific file you're looking for, the index doesn't come into play at all.
If he'd gone straight to a file matching the word, rather than trying to support substrings of words, then you'd be right.
Admin
Humility plug-in required.
Admin
I dread to ask what happens when I search for " ; rm -rf *"
Admin
Seems like the author has done one fine job for those days. The most classic is "spending a few hours googling on AltaVista" - it took a while trying to remember days before Google. Seriously, they have enslaved us!!! What did we have besides AltaVista and Yahoo back then? Excite?
Admin
I still remember the day my AMD Athlon XP died like "bang - high frequency noise - click". Bang: the heatsink spontaneously popping out of its place on its own High frequency noice: the poor thing screaming for help as the core burned out in a matter of a few seconds Click: CRT going to standby
Good times.
Admin
The inode structure may change over time. For the 6502A that we used to use in college, we had access to all the assembly PEEKs that we needed.
One time we wrote a proto-CGI program titled LARP.BIN, but I forget the command that we used after CAT. I think it was BRUN that may have been the Crapple.
Admin
Who wants to bet that this solution was vulnerable to "watermelon | rm -rf / "
Admin
Admin
Dogpile!!!! My dad continued to use it for more than a year after the whole of the rest of the world had swapped to Goog.
Admin
Your words are true, but not everybody knew all about algorithm analysis and running times coming out of high school at the time.
Admin
Never heard of that till now. Thought you were referring to Lycos or just bsing.
Admin
Not a problem, with the experience involved in the creation of the site there would no doubt be a diligent backup practice in place.
Admin
There was Lycos and WebCrawler.
Admin
Kids today... Aliweb was frist and it is still out there.
Admin
Why do I feel like 'grep' might have been useful here.
Admin
...though it seems that the current awful site has nothing to do with the very Spartan search engine of yore
Admin
Admin
Ah yes, the dreaded watermelon attack.