Rather than work with the standard ECMAscript ("JavaScript"), they created their own (JScript). The reason that so many sites work in IE and not in other browsers well, as well as why DHTML ends up being such a kludge to implement across platforms, is because MS made a concerted effort to break away from the standards, as opposed to working to improve them.
Is this issue limited to Thinkpads or does it affect other brands as well? I use sleep-mode constantly and have a VPR Matrix laptop. There are times when it wakes up immediately but, more often than not, it can take a couple of minutes. I've not had much luck using sleep with desktops. It puts the machine to sleep but the fans continue to run -- even after the chips have cooled down.
The Servlet spec is only a small part of J2EE and you can, in fact, spawn threads in servlets. You cannot, however, spawn them within an EJB container.
The reason that you cannot spawn threads in a container is that the conatiner does it for you. It manages the thread pool and allocates additional processes as needed. This is a far more eloquent approach than letting the developer spawn threads ad infinitum, bringing down the server.
Re:Getters/setters bad?
on
Holub on Patterns
·
· Score: 2, Informative
This is a bad approach. The Item object here is a representation of data. Any logic imposed on that data should not be encapsulated within the Item object itself. The addToCart() method is an implementation detail, describing one possible use of the item's data within this particular system. It is more appropriate to implement the addItem() method on the cart.
Consider this, the addToCart() method is implemented in the Item object. Elsewhere in the system, we want to implement an Invoice object. The Invoice object contains, among other things, an aggregate (collection) of Items. If we want to add an Item to the invoice, using the method described in your post, we would have to add an addToInvoice() method to the Item object.
Simple OO design tells us that the Item object has no business knowing the implementation of an Invoice (or a Cart or a Sales Report or a Catalog, etc). A data item should never be aware of (or care) how it's being used within a system. The maintenance effort alone would be a nightmare and cause the system to crumble. Consider: you change the process of how a cart adds items - what effect will this have on the invoice?
At a simple level, objects should be thought of in terms of nouns and verbs - what something "is" and what something "does". Keep these two concepts separate and you will be on the right track to good design.
Rename the file extension of the video and associate that file extension with your player of choice.
Or just don't run their software. My impression is that this would be a tool for system admins to find content on their networks and not for a home user.
Option three, of course, is to not steal the content in the first place.
There, now that can of worms is open, please commence with the flaming of how information wants to be free.
>>What about the "land of the free", "the land of opportunity", "the american dream" ?
Thank you for inquiring about our line of exciting products, including "Land of the Free", "Land of Opportunity", and our most popular product, "American Dream". As you can well imagine, our products are in very high demand and can often be difficult to obtain. For this reason, we have recently expanded our distribution channels and partnered with some very fine retailers. We hope that this information will be of use to you in your searching.
Since 2000, "Land of the Free" has been distributed by GOP Industries and is now marketed under their brand "Land of the Wealthy". A second, more modest version of this product is also available as "Land of the Drive-Thru-Please".
Long regarded as one of our most cherished offerings, "Land of Opporunity" is now available exclusively thru Wal-Mart. Enrollment in their "Greeter" program is required.
Without question, "American Dream" is our most popular product. Now available exclusively through the USPTO, this exciting product will make a fine family heirloom for generations to come. The MSRP is 3 congressmen and, due to the recent devaluation in Democratic Senators, we can only accept Republicans at this time. If you would like to own a piece of this exquisite product, please have your attorneys or lobbyist contact us directly.
You might also be interested in our latest prodct addition, a beautiful coffee-table book titled "A Guide to Ethics in American Politics". Weighing in at a hefty 2.5 ounces, this is a volume that anyone would be proud to display on their bookshelves.
We look forward to hearing from you soon,
Sincerely,
Karl Rove US Customer Service Representative Illuminati Corp.
Ordinarily this is correct. However, The previous two prequels had special deals whereby the studios retained a very high percentage for a longer period of time.
Since the success/popularity of a movie is measured by its opening weekend, waiting a week would, in fact, have a negative effect on the studio's perception of the film's performance. Yes, in the end, it's all about the final gross receipts, but the opening weekend carries an inordinate amount of weight.
Also, with respect to the crappy deals that the movie theaters have to accept in order to show the film (like they have another choice?), if you want to support your local cinema, spend some cash at the concession stand. That's where they make the bulk of their actual revenue. Although, and this was true for the prequels, the movie studio takes a percentage of the snack bar, too.
Still, support your local cinema - buy that large tub of popcorn. Colon be damned.
Proving that, even on Slashdot, Rodney Dangerfield would get no respect.
Re:another alternative = encrypted class files
on
Decompiling Java
·
· Score: 1
A noble goal, to be sure, but the custom class loader itself would have to be written in *unencrypted* Java and, therefore, would be subject to decompiling. This is because the custom class loader would be loaded by the VM's native class loader.
Regardless, it is a very trivial matter to insert a proxy between the VM and the custom class loader that can intercept and persist the unencrypted class.
If source code security is really that much of a concern, you would need a custom VM that would natively read the encrypted format.
Then use WinAMP. Not everything needs to be done on Linux (heresay, I know, but, hey, I'm in a generous mood today).
>>MySQL isn't free
I'm sorry, did I miss something? Or did you? A license for MySql only needs to be purchased if you are developing proprietary software and are not releasing it under the GPL. That is, you are not releasing your source code with the product. This is in keeping with the GPL and the open-source foundation under which MySql was created.
MySql has introduced a second licensing option in order to address the concerns that the GPL can create for persons that fall in this category. In this case, you are required to purchase a license. You are still giving "something for something". It's just that, rather than giving your creation back to the Open Source community from whose efforts your are directly benefiting, you are giving cash.
This seems to me to be a very fair arrangement and is an excellent example of how OSS projects can thrive while still maintaining the basic underlying principles of OSS.
>>If youre buying it for $12 and making $4+ a CD I seriously believe that you are gouging us. I dont feel bad for you.
Spoken like somebody who has absolutely no idea how retail works. I do, as I own a retail store. Generally, the markup on an item is 100%. If the wholesale cost is $5, the retail price is $10. Discounts are offered to the retailer when they buy in large quantities, meet certain annual quotas, purchase promotional items, or negotiate a better deal. However, the average is a 100% markup.
The profit margin on CDs and movies is very slim. Many stores (e.g. BestBuy) actually sell at or near cost. They are trying to lure you in with cheap music in the hopes that you will buy something larger, with a greater profit margin (e.g. dvd player) while you are there.
WalMart's efforts to force the record companies into giving them a price point that will allow them to sell at $10 is a very bad thing. On the surface, yes, it looks like a good thing for the consumer. However, as only WalMart is in a position to make this kind of deal, other retail stores will lose their ability to compete. Regardless of the price difference, they will still have to carry the inventory - the cost of which is paid up front in the case of smaller, independent stores. Stuck with inventory that won't sell, the end result will be that the small companies will go out of business.
To be clear, they must purchase the CDs at a higher price than WalMart can get them for. They must sell them at a higher price than WalMart will sell them for. And as much as we would like to romanticize the idea that the independents will prevail due to the great variety of titles that they carry, the truth of the matter is that the consumer only cares about the bottom line; the price. Again, I know what I am talking about as I own a retail store and find myself dealing with this exact same problem. The problem isn't limited to just WalMart. Home Depot, Lowes, Target, and others have a similar effect. But while these stores have a considerable impact on existing, local commerce, WalMart has the muscle to nearly wipe out local businesses and they are abusing their power at a level that could only be considered unfair trade practices.
The more dangerous precedent that is being set here is that WalMart has become too large and now has the ability to force any industry to provide it with extremely favorable price points. Especially in light of WalMart's extraordinarily aggressive expansion efforts, it is quickly becoming impossible for small business owners to maintain their livelihood.
Don't believe me? Then consider this: there are currently more than *3,000* WalMarts in the United States. That's more than 60 per state. They are building at a rate of 300 new stores per year. In the area that I live, there are three WalMarts within 12 minutes of each other. The net effect of a new WalMart opening on the local economy is a 25% decline in revenue over 5 years to existing merchants. WalMart has been credited with the loss of over 9,600 grocery stores between 1992 and 1997. These aren't just mom & pop stores, either. The list includes PathMark, A&P and Grand Union. Large chain stores such as Ames, Montgomery Ward, Winn-Dixie, and Caldors have also fallen victim to WalMart. (Forbes, Sept. 6, 2004)
Hell, WalMart has been killed off by WalMart. Due to their expansion plans, WalMart has cannibalized more than 370 existing WalMarts. Often times, as owner of the real estate, they will not allow the discarded buildings to be sold by other companies, preferring to leave an empty hull to rot rather than see another company in there. Entire towns are being destroyed as WalMart turns them into ghost towns, leaving behind a trail of stores like some people leave empty beer cans along the side of the road.
>>An extension of this could mean that any documents you create under a future version of MS Office could potentially be copyrighted by MS.
Why stop there? This could just as easily be extended to their programming tools (or Sun's, or Borland's, or Adobe's or....). "Anything that you develop using our tools is copyrighted by us." And I am hoping with all my might that they try and do it. Then this moronic idiocy will be struck down like the fantasic bullshit it is.
Oh, and someone should disbar that putz of a judge.
The "sneak peak" at History of the World Part II was a joke. If you think about them, you'll realize they were one-line gags (Hitler on Ice? A Viking Funeral?). There never was an actual Part II intended.
Associate Firefox with url, http, and https invocations, in addition to the standard html and htm extensions. I haven't used Firefox (I use Opera and have for 8 years) but I'm sure that there is a way that you can do this. You might also want to associate the jpg file extension with Firefox, as well.
Also, you can rename iexplore.exe and that will prevent any direct invocation of IE.
Unfortunately, MSDE has even more limits than Sybase's offering. Database size is limited to 2GB (real easy to reach) and contains a performance "governer" that will throttle the database engine's performance down when the number of concurrent connections exceeds eight. The actual number of concurrent connections is in excess of 32,000 but the engine will delay processing of I/O operations by a few milliseconds once the eight-concurrent connection limit has been reached.
Rather than work with the standard ECMAscript ("JavaScript"), they created their own (JScript). The reason that so many sites work in IE and not in other browsers well, as well as why DHTML ends up being such a kludge to implement across platforms, is because MS made a concerted effort to break away from the standards, as opposed to working to improve them.
>>Microsoft could be forced to change Internet Explorer and make it incompatible with some web pages.
And this is different from present day.....how?
Is this issue limited to Thinkpads or does it affect other brands as well? I use sleep-mode constantly and have a VPR Matrix laptop. There are times when it wakes up immediately but, more often than not, it can take a couple of minutes. I've not had much luck using sleep with desktops. It puts the machine to sleep but the fans continue to run -- even after the chips have cooled down.
Anyone have insight into this?
read the link, he won 2.5 million dollars. I really don't think he's going to have much of a problem getting laid.
Not in J2EE you can't. Read the servlet spec.
The Servlet spec is only a small part of J2EE and you can, in fact, spawn threads in servlets. You cannot, however, spawn them within an EJB container.
The reason that you cannot spawn threads in a container is that the conatiner does it for you. It manages the thread pool and allocates additional processes as needed. This is a far more eloquent approach than letting the developer spawn threads ad infinitum, bringing down the server.
This is a bad approach. The Item object here is a representation of data. Any logic imposed on that data should not be encapsulated within the Item object itself. The addToCart() method is an implementation detail, describing one possible use of the item's data within this particular system. It is more appropriate to implement the addItem() method on the cart.
Consider this, the addToCart() method is implemented in the Item object. Elsewhere in the system, we want to implement an Invoice object. The Invoice object contains, among other things, an aggregate (collection) of Items. If we want to add an Item to the invoice, using the method described in your post, we would have to add an addToInvoice() method to the Item object.
Simple OO design tells us that the Item object has no business knowing the implementation of an Invoice (or a Cart or a Sales Report or a Catalog, etc). A data item should never be aware of (or care) how it's being used within a system. The maintenance effort alone would be a nightmare and cause the system to crumble. Consider: you change the process of how a cart adds items - what effect will this have on the invoice?
At a simple level, objects should be thought of in terms of nouns and verbs - what something "is" and what something "does". Keep these two concepts separate and you will be on the right track to good design.
Rename the file extension of the video and associate that file extension with your player of choice.
Or just don't run their software. My impression is that this would be a tool for system admins to find content on their networks and not for a home user.
Option three, of course, is to not steal the content in the first place.
There, now that can of worms is open, please commence with the flaming of how information wants to be free.
>>What about the "land of the free", "the land of opportunity", "the american dream" ?
Thank you for inquiring about our line of exciting products, including "Land of the Free", "Land of Opportunity", and our most popular product, "American Dream". As you can well imagine, our products are in very high demand and can often be difficult to obtain. For this reason, we have recently expanded our distribution channels and partnered with some very fine retailers. We hope that this information will be of use to you in your searching.
Since 2000, "Land of the Free" has been distributed by GOP Industries and is now marketed under their brand "Land of the Wealthy". A second, more modest version of this product is also available as "Land of the Drive-Thru-Please".
Long regarded as one of our most cherished offerings, "Land of Opporunity" is now available exclusively thru Wal-Mart. Enrollment in their "Greeter" program is required.
Without question, "American Dream" is our most popular product. Now available exclusively through the USPTO, this exciting product will make a fine family heirloom for generations to come. The MSRP is 3 congressmen and, due to the recent devaluation in Democratic Senators, we can only accept Republicans at this time. If you would like to own a piece of this exquisite product, please have your attorneys or lobbyist contact us directly.
You might also be interested in our latest prodct addition, a beautiful coffee-table book titled "A Guide to Ethics in American Politics". Weighing in at a hefty 2.5 ounces, this is a volume that anyone would be proud to display on their bookshelves.
We look forward to hearing from you soon,
Sincerely,
Karl Rove
US Customer Service Representative
Illuminati Corp.
Ordinarily this is correct. However, The previous two prequels had special deals whereby the studios retained a very high percentage for a longer period of time.
Since the success/popularity of a movie is measured by its opening weekend, waiting a week would, in fact, have a negative effect on the studio's perception of the film's performance. Yes, in the end, it's all about the final gross receipts, but the opening weekend carries an inordinate amount of weight.
Also, with respect to the crappy deals that the movie theaters have to accept in order to show the film (like they have another choice?), if you want to support your local cinema, spend some cash at the concession stand. That's where they make the bulk of their actual revenue. Although, and this was true for the prequels, the movie studio takes a percentage of the snack bar, too.
Still, support your local cinema - buy that large tub of popcorn. Colon be damned.
Proving that, even on Slashdot, Rodney Dangerfield would get no respect.
A noble goal, to be sure, but the custom class loader itself would have to be written in *unencrypted* Java and, therefore, would be subject to decompiling. This is because the custom class loader would be loaded by the VM's native class loader.
Regardless, it is a very trivial matter to insert a proxy between the VM and the custom class loader that can intercept and persist the unencrypted class.
If source code security is really that much of a concern, you would need a custom VM that would natively read the encrypted format.
>>Of course, the systems currently being discussed do NOT require the domain administrator to "bless" a mail server
Isn't that usually the Rabbi's job?
>>So when my doctor tells me I urgently need to have my pancreas removed
It's not so much that it needs to be removed as he just wants to make the opening to it wider.
This probably would have been a hell of a lot funnier if he had said "prostate." Ah, well...
>>Not only that, but having other 419 scammers find out that you (a 419 scammer) were scammed would be pretty embarrassing too.
:)
Yeah, how could he ever face the guys down at the golf club?
Ads are bad...mmmmkay?
Then use WinAMP. Not everything needs to be done on Linux (heresay, I know, but, hey, I'm in a generous mood today).
>>MySQL isn't free
I'm sorry, did I miss something? Or did you? A license for MySql only needs to be purchased if you are developing proprietary software and are not releasing it under the GPL. That is, you are not releasing your source code with the product. This is in keeping with the GPL and the open-source foundation under which MySql was created.
MySql has introduced a second licensing option in order to address the concerns that the GPL can create for persons that fall in this category. In this case, you are required to purchase a license. You are still giving "something for something". It's just that, rather than giving your creation back to the Open Source community from whose efforts your are directly benefiting, you are giving cash.
This seems to me to be a very fair arrangement and is an excellent example of how OSS projects can thrive while still maintaining the basic underlying principles of OSS.
Obviously you meant the wheels. They already have Windows CE for locking up the computer....
>>If youre buying it for $12 and making $4+ a CD I seriously believe that you are gouging us. I dont feel bad for you.
Spoken like somebody who has absolutely no idea how retail works. I do, as I own a retail store. Generally, the markup on an item is 100%. If the wholesale cost is $5, the retail price is $10. Discounts are offered to the retailer when they buy in large quantities, meet certain annual quotas, purchase promotional items, or negotiate a better deal. However, the average is a 100% markup.
The profit margin on CDs and movies is very slim. Many stores (e.g. BestBuy) actually sell at or near cost. They are trying to lure you in with cheap music in the hopes that you will buy something larger, with a greater profit margin (e.g. dvd player) while you are there.
WalMart's efforts to force the record companies into giving them a price point that will allow them to sell at $10 is a very bad thing. On the surface, yes, it looks like a good thing for the consumer. However, as only WalMart is in a position to make this kind of deal, other retail stores will lose their ability to compete. Regardless of the price difference, they will still have to carry the inventory - the cost of which is paid up front in the case of smaller, independent stores. Stuck with inventory that won't sell, the end result will be that the small companies will go out of business.
To be clear, they must purchase the CDs at a higher price than WalMart can get them for. They must sell them at a higher price than WalMart will sell them for. And as much as we would like to romanticize the idea that the independents will prevail due to the great variety of titles that they carry, the truth of the matter is that the consumer only cares about the bottom line; the price. Again, I know what I am talking about as I own a retail store and find myself dealing with this exact same problem. The problem isn't limited to just WalMart. Home Depot, Lowes, Target, and others have a similar effect. But while these stores have a considerable impact on existing, local commerce, WalMart has the muscle to nearly wipe out local businesses and they are abusing their power at a level that could only be considered unfair trade practices.
The more dangerous precedent that is being set here is that WalMart has become too large and now has the ability to force any industry to provide it with extremely favorable price points. Especially in light of WalMart's extraordinarily aggressive expansion efforts, it is quickly becoming impossible for small business owners to maintain their livelihood.
Don't believe me? Then consider this: there are currently more than *3,000* WalMarts in the United States. That's more than 60 per state. They are building at a rate of 300 new stores per year. In the area that I live, there are three WalMarts within 12 minutes of each other. The net effect of a new WalMart opening on the local economy is a 25% decline in revenue over 5 years to existing merchants. WalMart has been credited with the loss of over 9,600 grocery stores between 1992 and 1997. These aren't just mom & pop stores, either. The list includes PathMark, A&P and Grand Union. Large chain stores such as Ames, Montgomery Ward, Winn-Dixie, and Caldors have also fallen victim to WalMart. (Forbes, Sept. 6, 2004)
Hell, WalMart has been killed off by WalMart. Due to their expansion plans, WalMart has cannibalized more than 370 existing WalMarts. Often times, as owner of the real estate, they will not allow the discarded buildings to be sold by other companies, preferring to leave an empty hull to rot rather than see another company in there. Entire towns are being destroyed as WalMart turns them into ghost towns, leaving behind a trail of stores like some people leave empty beer cans along the side of the road.
And this is supposed to be good for commerce?
>>An extension of this could mean that any documents you create under a future version of MS Office could potentially be copyrighted by MS.
Why stop there? This could just as easily be extended to their programming tools (or Sun's, or Borland's, or Adobe's or....). "Anything that you develop using our tools is copyrighted by us." And I am hoping with all my might that they try and do it. Then this moronic idiocy will be struck down like the fantasic bullshit it is.
Oh, and someone should disbar that putz of a judge.
The "sneak peak" at History of the World Part II was a joke. If you think about them, you'll realize they were one-line gags (Hitler on Ice? A Viking Funeral?). There never was an actual Part II intended.
Associate Firefox with url, http, and https invocations, in addition to the standard html and htm extensions. I haven't used Firefox (I use Opera and have for 8 years) but I'm sure that there is a way that you can do this. You might also want to associate the jpg file extension with Firefox, as well.
Also, you can rename iexplore.exe and that will prevent any direct invocation of IE.
Unfortunately, MSDE has even more limits than Sybase's offering. Database size is limited to 2GB (real easy to reach) and contains a performance "governer" that will throttle the database engine's performance down when the number of concurrent connections exceeds eight. The actual number of concurrent connections is in excess of 32,000 but the engine will delay processing of I/O operations by a few milliseconds once the eight-concurrent connection limit has been reached.
0 0.aspx
More info here: http://weblogs.asp.net/gad/archive/2004/03/10/872
Wikipedia::Slashdot::NoSenseOfHumor::KernalMustard
A simple google search would have saved you from public humiliating yourself...well, this time around, at least.
>>I think we've well surpassed what a station wagon full of backup tapes can do now...
However, we're still left with the problems of what to do with that station wagon full of DVDs and how to handle the late fees at Blockbuster.