Hungarian notation is morally bankrupt.
A variable's type belongs in its declaration and definition, not in its name.
"Of dubious practical advantage even for type-unsafe calls in C, or in environments when nearly everything is a type-challenged int or void* handle," she shook her head sadly...
I should probably mention that while the 1998 and 2003 C++ Standards cost $18 each in PDF form, you can now access the Working Paper (which will become the next C++ Standard) freely:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1638.pdf
The site is slow, but it will load...
[Nemezer]
> I say you use a Hashtable. They are cool
> It's also the most efficient way of doing it.
This is incorrect.
The most efficient data structure for determining whether a given word is in a dictionary is a trie. Querying whether a word of length M is in the dictionary then...
C is a crummy language. Don't use it if you're not required to use it. Data structures are a hojillion times more fun in C++.
Not only does C++ provide data abstraction support like constructors, destructors, and access control (public/private), it provides templates, so your data structures...
What's funny is that I'm not bothered by anyone here now that Special K is gone. (The L Word's recent attacks on my development experience, or lack thereof, are secretly hilarious, because I know something he doesn't.)
[Anarchonixx]
> You have a funny notion of what constructive criticism
> entails.~
Well, if it looks ugly, and lacks any content whatsoever, it shouldn't exist.
My website was the same way about 7 years ago.
Please, gymboy. Think about what you want to say before how you want to say it.
[lessthanjakejohn]
> No go on that, our webmaster is hosting this offsite with
> some company and paying 17 bucks for no more than a gig of
> bandwidth and what not.
Mlar. Well, just keep it in mind.
> there really is no reason.
1. Smaller file size.
2. Ideology - You know how evil...
[:LJ:]
> I know you can't prove a negative, so I'm not asking you to
> prove it.
I don't have to. I am in the privileged position. You are the one claiming it matters, like claiming that rain dances bring rain.
> from what I've seen of your software skills, I'd say that you
> have...
Sgarissta admits that it is a Power that tele-operates sophonts in the Beyond. But consider how difficult it is to have a close-coupled automation with time lags of more than a few milliseconds. The Known Net is a perfect illustration of this... combined with the low bandwidth available across...
[maw]
> however, text based pages have the overwhelming disadvantage
> of being dull and boring. nobody wants to ingest their
> information as a solid wall of text.
Yeah, books. Who needs them?
> a website has to find ways to draw people in and to hold
> their attention.
The best...
In addition to the page generation time, remove the "Valid HTML/CSS" buttons. No one cares.
(On my website, I use SSI magic to generate autovalidation links when I am viewing my pages locally, and for no one else).
JavaScript menus: Mlar.
[maw]
> forcing a resolution requirement on people, especially the
> type who would visit that site, is not a good idea.
There are two problems.
The first is the notice. Such notices are always wrong to put on a site.
The second is the fact that the site does not gracefully degrade to...
[NickTheNut]
> the notice is just extra precautions however, and WILL give
> you an edge if you have to go to court
Show me a court case where that made a difference. Bonus points if it actually involved a website.
> and is this another one of your rules that MUST be done, or a
> site...
[:LJ:]
> Why make their browsers chug if there's a perfectly
> acceptable alternative?
THERE IS NO ESCAPE.
8-bit PNGs with binary transparency work in IE and supersede GIFs. 24-bit PNGs with no transparency work in IE and are lossless, unlike JPEGs.
No format other than PNG provides...
[3l3m3nt]
> Keep in mind the types of people who would be visiting the
> site, it's not going to be a bunch of teenages who would take
> offense to a resolution notice at the bottom.
Why does the audience have anything to do with it? Internet-aware teenagers are least likely to be...
The page is fascist. Increase the font size and it breaks horribly, spilling off of the side of the screen, below images, on top of other text... yuck.
Copyright notices are useless.
"Best viewed at So-And-So-Resolution" is an offensive notice, only marginally less offensive than "Best...
[xENo]
> Alpha transparent PNG is not supported by IE in either
> windows or mac.
This is a flat-out lie. Mac IE has absolutely wonderful PNG support. Only Win IE6 is broken, and even then the full alpha trick can be used, like I do.
(The only downside to the full alpha trick is that it...
[Shadow2531]
> I am seriously curious about C++ CGI.
As you may be aware, I am writing a forum (TranscendForum) in pure C++. It is built on top of my personal library, libnuwen, which among other things includes CGI and networking code.
It makes things like what you're trying to do...
You /do/ know that the stuff in parentheses was not-really-serious ranting, right?
Doing CGI in C++ is a valid question, though. Briefly, you send data to the user via cout (prefixed with headers such as "Content-type: text/plain\n\n") and you get information via getenv() in <cstdlib>...
Thank you all, for your help during this frustrating time.
The apparent solution is to put the SCSI RAID card /topmost/. My cards used to go:
AGP 5950 Ultra
PCI 1 empty (for dual-height video cards in the future)
PCI 2 8506-8 SATA RAID
PCI 3 29320-R SCSI RAID
PCI 4 Audigy 2 ZS
PCI 5...
That's a good idea and I was about to try that in desperation.
I have now discovered that:
1. If you want to boot from a card, it's got to be topmost (so putting the SCSI RAID card into Slot 2 was the right solution to my other problems).
2. If you've completed the first phase of an XP...
While setting up my new computer, I switched an Adaptec 29320-R (SCSI RAID) with a 3ware 8506-8 (SATA RAID). Before the SATA card was in the second PCI slot from the top and the SCSI card was below it; now the SCSI card is on top.
The system is no longer recognizing the SATA RAID card, but it...
That's one big heatsink. My Swiftech MCX4000 gets along just fine with the DPS2.
All the reviews I've read say that the DPS2 can be left out harmlessly.
I'm kind of worried that the thing will touch my rear fan's grille and short out, but it hasn't done so yet, and I can't remove the...
I suggest simply duplicating the directories. If that consumes undue space, use NTFS hard links.
(Perl and Python are evil! All CGI scripts should be compiled C++ programs! Lesser languages are unclean and lead to severe trauma or death! Repent, sinners, for the end is near!)
To follow up on something Shadow2531 mentioned:
Delay variable definitions for as long as possible.
In C (the 1989 Standard everyone still uses), variable definitions have to occur at the start of a block, before any statements. C++ does not suffer this fascist restriction (nor does the...
[lessthanjakejohn]
> does the 1.1 need to be on the page?
No, it's not a "web bug". It's used by the trick.
[NickTheNut]
> How in the world are copyright notices pointless?
Anything that anyone writes is automatically copyrighted, whether you say so or not.
It's especially...
It's not Apache-specific. But IIS sucks.
From my website, the CSS for it:
img.alpha { /* PNG ALPHA TRICK */
behavior: url("style/png.htc");
}
And the file png.htc:
<public:component lightWeight="true">
<public:attach event="onpropertychange" onevent="propertyChanged()" />...
> But your saying that I could use PNG-8 and IE supports
> transparency for it
Yes. 8-bit PNGs with binary transparency are correctly supported by IE. And that happens to be exactly what GIF is capable of (minus animation, which sucks anyways).
> and there is an advantage over gif...
[CSx-2011]
> You don't have to reboot.
You do if you're trying to reuse the letter of a hard drive. (I forget whether optical letters can be reused without reboot.)
[E4g1e]
> No wonder why I haven't kept up with the changes in the
> operating systems. In fact, I have never partitioned...
[lessthanjakejohn]
> I want to keep the transparency in case I want to change the
> background.
This is a non sequitur.
Anyways, binary transparency is crummy.
> IE doesn't offer transparency does it?
GIF supports only 8-bit images with binary transparency. IE implements this...
If I provide SATA RAID-5 drivers as well as SCSI RAID-1 drivers, I can put a system partition on the SATA RAID-5 array and the boot partition on the SCSI RAID-1 array.
I do not want to have to resort to this solution. If I did, would it be possible to swap SATA RAID-5 arrays in the future...