Sometimes I think I have a little to much Tyler Durden in me...:)
Absolutely. Me too. Long before that movie came out, I had come to the same conclusion as Tyler... "The things you own end up owning you". But this isn't exactly a Luddite philosophy, but more of an "anti-materialism" one. Be careful not to confuse the two.
That amazes me, I noticed this feature the second time I typed in "slashdot.org" in the address field. Look at that! User persistence!!
Ok, I think there is still some confusion going on here. Everyone... please read the Bugtraq advisory, and the related MS web pages before commenting. What's going on here is not merely the "What you see is what you get" idea of how persistence can be used in IE. It's more than the fact that IE saves your searches and saves form data in form boxes automatically for you. The real problem here is that these persistence methods can be manipulated programmatically, through JScript, to store and load data, by the web page author, in the exact same manner that cookies work. Yes, I was aware that IE saved all the previous data that I've typed into the search box at AltaVista. But I didn't know (and I'll bet you that most people didn't know) that a web page could use this same technology in a similar manner that cookies are used. Make sense now?:-)
I tried to buy some porn the other day at the local bookshop. But guess what - people look at you when you pick it up off the shelf - like everyone in the store!
Hehehe... You definitely bring up a good point. But remember here that the major issue is that when people go to the local porn shop, they know the privacy issues involved. What we're talking about here is that people have no idea what privacy issues are involved when they launch their browser. Most people will think that everything they're doing is totally anonymous, when in fact it's not. It is the responsibility of the software provider to make sure the user knows the privacy issues involved. That is the whole point of this discussion... (Well, I'm pretty sure anyway).
Has news.com just discovered that IE caches previous search requests? This feature has been in the product for months.
You're missing the point. Although news.com did not do a very good job of explaining the problem. You should read the security advisory and the related links at the advisory page. Basically, the web page author can put MS scripting into the page that loads and saves data in the persistence object just like you can do in cookies. A quote from the MS web page regarding this technology:
The userData behavior persists data across sessions, using one UserData store for each object. The UserData store is persisted in the cache using the save and load methods. Once the UserData store has been saved, it can be reloaded even if Microsoft® Internet Explorer has been closed and reopened.
Sounds just like cookies, eh? I can tell you that I didn't know that IE5+ had this feature before reading this article. Did you?
Nope. It's spelled snooty. Look it up. I guess a Cornell education can't teach you everything;-)
And another thing mister troll. It is in fact pretentious and elitist to say that all other colleges are "shit". You should be ashamed of yourself for putting down everyone else in this country that doesn't have the financial backing of mommy and daddy that you did. Deeply ashamed.
I did not pick the wrong person to call a troll. I think I picked the exact right person.
Ok, who the hell modded this up "Insightful"? It's a troll, at best.
And I quote: "Of course you realize that Cornell is one of the better colleges around, not the shitty ones most people here are talking about" ==> TROLL!
"For example the aircraft engineering or the spacecraft design or nuclear engineering or quantum mechanics (I've taken all these)" ==> Now he's just being pretentious.
"My parents do too, even though they paid all of that.:-)" ==> A-ha! Now we know he's snooty and pretentious. Fscking mama's boy. Try paying for $30k worth of your college career out of your own pocket and see how much better your education gets than going to fscking "Cornell" for free.
I normally wouldn't even respond to a post like this, but somebody actually modded this stupid post up as INSIGHTFUL!!
There are many more, but these are the ones I would consider for people who already know ASP. Apache::ASP looks like a very mature and solid product, as does Embperl. I would trust either of those.
Also, is there a business need to convert the existing ASP code to work with the new platform? If so, you might consider looking into ASP2PHP, if you're already considering PHP. The author says that it will convert most of the code to PHP.
Also, I can tell you that there is (sort of) a project in the works right now to build an ASP to Apache::ASP/Perl converter and/or interpreter. To follow this, just keep an eye on the mod_perl mailing list at one of the archive locations. It will probably be called VBScript::Parser. See http://perl.apache.org/#maillists for a list of searchable archives. Most of them are updated weekly.
Also, I've noticed some comments along the lines of "JSP is without a doubt the best/fastest technology out there". Uh... Where is your proof on this? I have a suggestion, go to the mod_perl mailing list and make this statement. See where it gets you. According to them, "It's widely accepted that server side Java solutions such as JServ, JSP and JRUN, are far slower then mod_perl solutions" (http://perl. apache.org/perl_myth.html#Java_does_away_with_the_ need_for).
That being said, I think that JSP is a fine technology, and there is nothing wrong with using it. I'm about to embark on a project myself using JSP. Just don't try to tell people it's the "Holy Grail". That's more than arguable.
Wait a second here... The poster of the article says:
I am looking for applications with a relational database back end,
X-windows user interface, and application code somewhere in between... (my emphasis added)
So I think we need to be concentrating on apps written with an X-windows GUI, no?
But you can do something about it. I have Junkbuster running (no ads!).
The irony of this statement is that you are using a web site that makes its revenue from banner ads. What if everyone who used slashdot used Junkbuster? Would it still exist? Would you still have been able to make this statement and have so many people see it?
Any reason you can't use something like this? I use something very similar for my DSL service at home. If you wanna open up a port such as http, ftp, ssh, etc. just configure the router to do port forwarding. Voila!
It's unfortunate because when your whole company is made of 25-35 year old straight white males (like mine)
What?!?! Where do you work at? Every place I've worked since college has consistently been a melting pot of white, asian, asian indian, latino, etc. men and women, and yes, several gay men/women too. I think you're grossly oversimplifying by saying the industry is flooded with nothing but "straight, white males". The fact here is that the computer industry is one of the most diverse that there is! Sheesh... Someone's got a chip on their shoulder.
genesis.. I mean, come on, I hope they've figured the way out of Religion in 10,000 years. They're especially not gonna care about Chritianity and its fuckups.
Well, I hope nobody takes this as flamebait, this is just my personal opinion... I totally agree with this statement on a certain level. But, then again, anyone looking back on our history is going to be very _interested_ in the fact that at this point we still haven't figured out that organized religion is a sham. It kind of puts a lot of _other_ things in context...
Uhhh... Let's not forget, and this is a fact, that the 5% of the population you're referring to also possesses 95% of the wealth. I think that's perfectly fair that they pay more taxes than the middle class.
Ok, I listened to it... And? She was just drunk or fscked up or something. Big deal. You've never been wasted? Sorry, but this has nothing to do with her talent...
Ahh... The most common argument to explain the existence of a God... "We can't explain how all this stuff got here, so it must be God". I'm sorry, but that's no argument at all. It's "lack of an argument".:-/
Sure. Our society has been moving in this direction for some time now. And there is a correlation between technology and society regarding "temporariness". If you want to read more about this than you ever had the stomach for;-) check out Alvin Toffler's Future Shock. He wrote it in the late 1960s/early 1970s, but there's still a lot of truth in it!
I've done this on a recent project by storing all text into a MySQL database and writing a simple perl script to merge the text from the DB into the HTML files.
It goes like this:
Make a language resource table. Call it "RESOURCES". The columns are TEXT_ID, LANGUAGE, and TEXT_DATA.
Make an html template directory. You will store all "raw" html files here. Beneath this directory, make subdirectories for each language (eng, frc, jpn, etc.)
In the HTML, make references to the database values by some easily identifiable token string, and wrap this token string around the TEXT_ID value from the database for this text resource. If you want, you can put the english equivalent inside the token string, so you can read the templates in their raw form. E.g.:
<p>##38471::Welcome to my multilingual website!##</p>
Write a script (I chose perl) to:
- Read the templates
- For each language to translate: - Look for the existence of the token string (## in this case) - Take the resource ID, do a database lookup based on the language - Substitute the resource text for ##ID::string## - Save the modified html to the language subdirectory for this language.
- End
That should be it. Now, when an english-speaking person comes to your site (you'll have to ask them somehow of course), you can just redirect them to/path/templates/eng/file.html, and everything will work.
This doesn't address the images, however. If you're using languages that use the western european character set (french, spanish, english, portuguese, german, italian, etc.), it will be easy. You'll be able to type your text directly into photoshop or the gimp or whatever and make your graphics. The next thing is to put a language token in these HTML templates that you've made for all images. Something like this:
<img src="/images/##LANGUAGE##/button.gif">
And in your language parser, write a one-line substitution that will substitute all instances of ##LANGUAGE## to the current language you're iterating through.
If you're translating to languages with different character sets (double-byte languages such as chinese, korean, etc.), you'll need to create your graphics differently, but once their created, the storage of them is the same. One way to create them is to write a cgi that will run through the DB and print, in HTML all the text resources of a given language. If you have your browser set to the correct character set, you will see the foreign language characters correctly. You can then do a screenshot, and paste the screenshot into your graphic editor to make buttons or whatever out of.
This approach has worked really well for us on two projects so far, and looking to be more projects soon. The advantage of making these HTML templates is that it greatly reduces the load and time it would take to build the pages if they were dynamically created from database lookups upon request. You just run the template generating script every time a change is made to the template, and voila.
Sometimes I think I have a little to much Tyler Durden in me... :)
Absolutely. Me too. Long before that movie came out, I had come to the same conclusion as Tyler... "The things you own end up owning you". But this isn't exactly a Luddite philosophy, but more of an "anti-materialism" one. Be careful not to confuse the two.
Ok, I think there is still some confusion going on here. Everyone... please read the Bugtraq advisory, and the related MS web pages before commenting. What's going on here is not merely the "What you see is what you get" idea of how persistence can be used in IE. It's more than the fact that IE saves your searches and saves form data in form boxes automatically for you. The real problem here is that these persistence methods can be manipulated programmatically, through JScript, to store and load data, by the web page author, in the exact same manner that cookies work. Yes, I was aware that IE saved all the previous data that I've typed into the search box at AltaVista. But I didn't know (and I'll bet you that most people didn't know) that a web page could use this same technology in a similar manner that cookies are used. Make sense now? :-)
Hehehe... You definitely bring up a good point. But remember here that the major issue is that when people go to the local porn shop, they know the privacy issues involved. What we're talking about here is that people have no idea what privacy issues are involved when they launch their browser. Most people will think that everything they're doing is totally anonymous, when in fact it's not. It is the responsibility of the software provider to make sure the user knows the privacy issues involved. That is the whole point of this discussion... (Well, I'm pretty sure anyway).
You're missing the point. Although news.com did not do a very good job of explaining the problem. You should read the security advisory and the related links at the advisory page. Basically, the web page author can put MS scripting into the page that loads and saves data in the persistence object just like you can do in cookies. A quote from the MS web page regarding this technology:
Sounds just like cookies, eh? I can tell you that I didn't know that IE5+ had this feature before reading this article. Did you?
All right then. :-) I'm certainly not belittling your education either.
"it's spelled snotty"
Nope. It's spelled snooty. Look it up. I guess a Cornell education can't teach you everything ;-)
And another thing mister troll. It is in fact pretentious and elitist to say that all other colleges are "shit". You should be ashamed of yourself for putting down everyone else in this country that doesn't have the financial backing of mommy and daddy that you did. Deeply ashamed.
I did not pick the wrong person to call a troll. I think I picked the exact right person.
Ok, who the hell modded this up "Insightful"? It's a troll, at best.
And I quote: "Of course you realize that Cornell is one of the better colleges around, not the shitty ones most people here are talking about"
==> TROLL!
"For example the aircraft engineering or the spacecraft design or nuclear engineering or quantum mechanics (I've taken all these)"
==> Now he's just being pretentious.
"My parents do too, even though they paid all of that. :-)"
==> A-ha! Now we know he's snooty and pretentious. Fscking mama's boy. Try paying for $30k worth of your college career out of your own pocket and see how much better your education gets than going to fscking "Cornell" for free.
I normally wouldn't even respond to a post like this, but somebody actually modded this stupid post up as INSIGHTFUL!!
Here are a few technologies to consider (using Perl):
There are many more, but these are the ones I would consider for people who already know ASP. Apache::ASP looks like a very mature and solid product, as does Embperl. I would trust either of those.
Also, is there a business need to convert the existing ASP code to work with the new platform? If so, you might consider looking into ASP2PHP, if you're already considering PHP. The author says that it will convert most of the code to PHP.
Also, I can tell you that there is (sort of) a project in the works right now to build an ASP to Apache::ASP/Perl converter and/or interpreter. To follow this, just keep an eye on the mod_perl mailing list at one of the archive locations. It will probably be called VBScript::Parser. See http://perl.apache.org/#maillists for a list of searchable archives. Most of them are updated weekly.
Also, I've noticed some comments along the lines of "JSP is without a doubt the best/fastest technology out there". Uh... Where is your proof on this? I have a suggestion, go to the mod_perl mailing list and make this statement. See where it gets you. According to them, "It's widely accepted that server side Java solutions such as JServ, JSP and JRUN, are far slower then mod_perl solutions" (http://perl. apache.org/perl_myth.html#Java_does_away_with_the_ need_for).
That being said, I think that JSP is a fine technology, and there is nothing wrong with using it. I'm about to embark on a project myself using JSP. Just don't try to tell people it's the "Holy Grail". That's more than arguable.
So I think we need to be concentrating on apps written with an X-windows GUI, no?
The irony of this statement is that you are using a web site that makes its revenue from banner ads. What if everyone who used slashdot used Junkbuster? Would it still exist? Would you still have been able to make this statement and have so many people see it?
The conversation is something like in this E2 node.
Any reason you can't use something like this? I use something very similar for my DSL service at home. If you wanna open up a port such as http, ftp, ssh, etc. just configure the router to do port forwarding. Voila!
What?!?! Where do you work at? Every place I've worked since college has consistently been a melting pot of white, asian, asian indian, latino, etc. men and women, and yes, several gay men/women too. I think you're grossly oversimplifying by saying the industry is flooded with nothing but "straight, white males". The fact here is that the computer industry is one of the most diverse that there is! Sheesh... Someone's got a chip on their shoulder.
Well, I hope nobody takes this as flamebait, this is just my personal opinion... I totally agree with this statement on a certain level. But, then again, anyone looking back on our history is going to be very _interested_ in the fact that at this point we still haven't figured out that organized religion is a sham. It kind of puts a lot of _other_ things in context...
Uhhh... Let's not forget, and this is a fact, that the 5% of the population you're referring to also possesses 95% of the wealth. I think that's perfectly fair that they pay more taxes than the middle class.
Ok, I listened to it... And? She was just drunk or fscked up or something. Big deal. You've never been wasted? Sorry, but this has nothing to do with her talent...
Ahh... The most common argument to explain the existence of a God... "We can't explain how all this stuff got here, so it must be God". I'm sorry, but that's no argument at all. It's "lack of an argument". :-/
Mock 'CK' T-shirt
Mock 'Subway' T-shirt
Mock 'Starbucks' T-shirt
Sure. Our society has been moving in this direction for some time now. And there is a correlation between technology and society regarding "temporariness". If you want to read more about this than you ever had the stomach for ;-) check out Alvin Toffler's Future Shock. He wrote it in the late 1960s/early 1970s, but there's still a lot of truth in it!
Jello Biafra, Jello Biafra!!!</chanting>
http://www.angelfire.com/punk/jello2000/
Read this and tell me what you think...
I've done this on a recent project by storing all text into a MySQL database and writing a simple perl script to merge the text from the DB into the HTML files.
It goes like this:
Make a language resource table. Call it "RESOURCES". The columns are TEXT_ID, LANGUAGE, and TEXT_DATA.
Make an html template directory. You will store all "raw" html files here. Beneath this directory, make subdirectories for each language (eng, frc, jpn, etc.)
In the HTML, make references to the database values by some easily identifiable token string, and wrap this token string around the TEXT_ID value from the database for this text resource. If you want, you can put the english equivalent inside the token string, so you can read the templates in their raw form. E.g.:
Write a script (I chose perl) to:
- EndThat should be it. Now, when an english-speaking person comes to your site (you'll have to ask them somehow of course), you can just redirect them to /path/templates/eng/file.html, and everything will work.
This doesn't address the images, however. If you're using languages that use the western european character set (french, spanish, english, portuguese, german, italian, etc.), it will be easy. You'll be able to type your text directly into photoshop or the gimp or whatever and make your graphics. The next thing is to put a language token in these HTML templates that you've made for all images. Something like this:
And in your language parser, write a one-line substitution that will substitute all instances of ##LANGUAGE## to the current language you're iterating through.
If you're translating to languages with different character sets (double-byte languages such as chinese, korean, etc.), you'll need to create your graphics differently, but once their created, the storage of them is the same. One way to create them is to write a cgi that will run through the DB and print, in HTML all the text resources of a given language. If you have your browser set to the correct character set, you will see the foreign language characters correctly. You can then do a screenshot, and paste the screenshot into your graphic editor to make buttons or whatever out of.
This approach has worked really well for us on two projects so far, and looking to be more projects soon. The advantage of making these HTML templates is that it greatly reduces the load and time it would take to build the pages if they were dynamically created from database lookups upon request. You just run the template generating script every time a change is made to the template, and voila.
...A more appropriate slogan would be "Guns don't kill people. People with guns kill people."...