So it is not a WTF that a common JS feature, is to create a method which always return true, and still requires a parameter ?
Saxov
@Saxov
Best posts made by Saxov
Latest posts made by Saxov
-
RE: Google ad representative line
-
RE: How Do I: Prevent a SQL Injection Attack Over a PHP/MySQL/Linux Platform?
@asuffield said:
@Daniel15 said:
1) "Sequel"
I've seen a few people pronounce it like that... Am I the only one that says the letters ("S-Q-L")?
We had this one recently. Sequel is the name of an ancient, now-obsolete product from the history of SQL. Anybody still saying it has their head rammed so far up their past that they're probably using EBCDIC.
To add the history, the original SQL language was named SEQUEL, however due to trademark problems, they had to make an new acronym for Structured English Query Language, and they settled on SQL.
So, yes - SEQUEL is a predecesor to SQL, in much the same way as C is a predecesor to C++.
-
RE: Default Passwords!
@dhromed said:
Caps Lock isn't evil. Just on the wrong side of the keyboard.
Logitech wisely changed the shape of the Caps key on this slick black keyboard of mine: it's smaller and lower.
Cooler would be if it sat next to the Outcast Three (PrtScr-SysRq / Scroll Lock / Pause Break), if the TAB key were put in its place, if the backslash/pipe key would be on the Tab's old place, and if the Enter key returned to its classic two-row size.
So what should happen to the layout of keybords other then the one you have, I have a two row enter button, and that is pretty standard for Danish keyboards, should we then have a three row enter key.. ?
Always remember, that there are many different keyboards out there, and if you lack a feature, it is often an matter of looking at different keyboard products.
-
RE: Background check
@qbolec said:
- Enter (5) five “9”s in the ZIP field; example: 99999
I like that 99999 is only an example of how to write five '9's in a row. How many other combinations of five '9's are there, which are valid as zipcodes.. ?
-
RE: Big FAT32 Hard Drives
@asuffield said:
It's the only filesystem supported by windows by default that won't enthusiastically corrupt itself if you unplug the drive without unmounting it first (NTFS is notoriously bad at this).
I would say that any journaling filesystem set to write to disk only when buffer is full on a USB connection is an error waiting to happen.
@asuffield said:
It's also a terrible filesystem. Go with ext3 wherever possible.
Could you explain why you think NTFS is so bad? -
RE: Big FAT32 Hard Drives
Have you seen the NTFS-3G driver ( http://www.ntfs-3g.org/ ) - it claims that "Most POSIX file system operations are supported, with the exception of full file ownership and access right support. ".
-
RE: Yet another Microsoft vs Apple
[quote user="The Vicar"]As for Microsoft's diverse product line: the Xbox is sold at a loss, even now. The cell phone market is also a loss, although Microsoft may not be taking the loss themselves (the cell phone manufacturers may be taking it instead). The Zune is sold at a loss. I suspect that, if you figured out how much time and effort went into Windows CE, you'd find that on average, it's sold at a loss, too. Basically, all these products you're so proud of are subsidized by Office and mainstream Windows. You'd better hope that Vista sells well, or Microsoft may suddenly find that it can't support all these deficit projects.[/quote]
If you check the general trend, then you will notice that is is common practice to sell hardware at "below production cost", however MS have reduced the cost of Xbox360 production to below sales price... check this link for further info: http://www.xbitlabs.com/news/multimedia/display/20061120132150.html
-
RE: A Daily WTF site WTF...
[quote user="djork"][quote user="edremy"]Opera is very agressive with caching by default: you'll see this behavior with a number of other sites such as a popular "not news" site
Tools->Preferences->History, set "Check if cached page is updated on the server" from "Every 5 hours" to "Always". Or you can just hit reload.
[/quote]That works. The [i]real[/i] WTF, however, is that the Daily WTF servers send a "Cache-Control: private" HTTP header. According to the RFC, this tells real stand-alone web cache systems to not cache the content, but for single clients (browsers) to use the cache if they have it. It should really be configured as "Cache-Control: no-cache" instead, as that is what is appropriate for a dynamic site such as a forum.
[/quote]
There is no problem in setting Cashe-Control: private for a forum, since it allows the usage of cashing. and you have a slightly off reading of the RFC defi. for Cache-Control:private djork.
Cache-Control:Private just states the the current session is allowed to use the cache, which isn't a problem if you browser is able to query the site for updates to the cashed contents as assumed is a default behaivior.
Now why shouldn't this site use cache control, since it is dynamic in content.. ? well the site data does not change all the time, therefor there is no reason to download more then a HTTP HEAD response before showing the casche if it is still valid.
-
RE: I love mondays
Well, it doesn't quite beat what one of the linux administrators at a, lets just keep it unnamed, dorm in Denmark.
He had the great idea to set the server to notify him by email every time the logfiles changed.. Well, the idea might sound good, excetp he included the logfile which made a logentry everytime the server sent an email.
So within a short time, the entire dorm was without internet, because he had spammed his own mail account, and brought the server to its knees in sending mails... :)