I wonder why somebody would code that part the way they did it. As far as I understand it, they are trying to validate code by blacklisting instead of whitelisting:
If you expect a hash you generated yourself, why don't you test if it preg_matches the spec you used to generate it in the first place? (/^[a-zA-Z0-9]{20}$/ in this case)
Well that and being naive enough to expect $_GET["key"] to always return a string....
I don't understand that anti-google "hype", which probably was started by Ballmer:-)
There are many hosted mail solutions, every ISP has their own mail service, blackberry does have one too. There's a load of hosted Exchange solutions. Etc, etc, and businesses USE it. If a google employee can read email, why an ISP employee can't? Because it's in their terms of service? ha!
Rolling your own solution is damn expensive and you need a guy who actually knows something about it, that's why most companies are more than happy to outsource it.
Don't know in which country you live, but in "socialist" Germany the highest unemployment rate is among the uneducated. I have yet to meet a long-term unemployed academic who is willing to work and has difficulties to find a job.
Besides that, nobody is going to hire an academic for a car technician position, simply because they would horribly suck at it and were too expensive.
So guys I want to see a ported KOffice binary by Friday 27th! 5 Days should be good enough for everyone.
I hope it will be as fast as it is on KDE... Who will want to have mac OpenOffice when you can have koffice? I do not really want to wait 5 mins for OpenOffice to launch. and it is soo ugly...
I hope all the moron moderators who mod im down to -1 can leave him at zero next time and use their valuable points on something that is worth moderating. Mod up and not down. He is a tropp posting at least 20 times a day, which is 20 morons who mod him down which is 20 postings that DO NOT get moderated up, which is 20 interesting postings less viewed by the average user.
He is living in a dream wolrd, but maybe he is right about that 90% of world poulation.
If you check Minature Earth - Flash or Text only or some more serious websites like State of World Population 2002, then yes the scaring thing is that only few percent of world popuation are living in acceptable living standards. A huge percentage of worlds Population has less than one dollar per day to live.
But now, if you compare the USA to other industrial countries then the charts would not look soo great, actually I would expect the USA to be somewhere down the bottom on the list.
I have never seen so many homeless people and ghettos like I do in the USA, even not in China (where I was living for one year).
So yes again, many Americans are living in a dream World. Guys, wake up and open your eyes, go out on the streets and see. Saying the US is superior in living standart to something, is like if the president of Uganda was saying that his personal living standard in Uganda is much better then that 90% of the worlds population.
whatever. it is just slashdot.
p.s. For you americans, Uganda is one of the poorest countries in the world.
actually most of US routers work with t-online. get any d-link, netgear or speedstream router in the usa for cheap and you are save....do not forget to buy that 240>110 converter... PPPoE as a protocol is not sooo strange, SBC is using it here in SF bay.
Nobody understands that american something outside of the US.
You do not want some Portugese speak better (int) english than you, do you?
Some hints: - Open your mouth when you speak - Say the letters the way they are supposed to be said. - Buy an English learing tape IN EUROPE (to ensure it is not contaminated with an american teacher speaking), english for beginners is just fine.
Shut down your Mozilla and go to your mozilla directory (the main one, not the users directory). Locate the file comm.jar in the chrome directory. Extract it with any.jar capable archiver (For Windows it's WinZip, WinACE,...). Go to the folder content/communicator/ and edit the file contentAreaContextOverlay.xul
PNG is an replacement for GIF and behaves like GIF. However it is more powerful (more than 8bit colors, alpha channels) and can replace TIFF in many cases as well.
JPEG does not really have an open source alternative yet and PNG can not replace it. JPEG is using a lossy algorithm which means that some information and quality gets lost every time you save it. The resulting size for a photo using JPEG is much smaller than using PNG. There were some commercial attempts to provide an alternative to JPEG using wavelets but all of them ended up in JPEG2000 I guess.
I am not Chinese and do not speak Chinese, however I am working in China and was trying to introduce Linux. The following text treats Chinese == simplified, however most of the stuff should be valid for traditional too.
Introduction
First of all, Chinese under Linux is hell. There seem to be no people being interested in developing open source in China. And if they do then it's difficult to find, crappy and unfinished. Just look at the Mozilla 1.0 simplified Chinese translation, it's not there, the guys did not move since 0.9.8. The Chinese HOWTO is quite old (1998!) and most of the links are dead and the information inside useless (practical experience).
Red alternatives
You have several alternatives, I suggest you forget about them:
RedFlag Linux (Experience based on 3.0, Redflag 3.2 beta ISO) I had to use the text installation: I guess it was unicode without unicode support, so all I saw was messy characters but not Chinese. Somehow it's similar to redhat so I was able to click through. After the installation: whoops, the system is asking me for my registration key otherwise I can try RedFlag linux for 40 days (? do not remember how many exactly). It was not just a key, it was one of the Microsoft dimensions. After choosing the trial I ended up in Kde trying to look like windows. It had a tray, and a start bar, the Control Panel and so on. But I had a feeling it was there but it could not satisfy me, and I could not stand the little penguin patriotically holding that red flag up.
The Chinese input seems to me to be the most advanced, but the system it self seemed to me unstable. Most modifications were in the interface and trying to lock down the system so you need to get that key after the trial period.
Office: RedOffice different company, same red. It's OpenOffice 1.0 looking like Office XP, that's all except there is no source code, no binaries, only a trial version and a price of 398RMB (~50US$) for the full version. Stick with Chinese OpenOffice.
Mandrake 8.2
Mandrake has in my opinion the best Chinese support. You only need to install it using the Chinese language. If you install it using English and then switch to Chinese you will have several problems, like you desktop disappearing etc. Do not use Unicode, use gb or big5 only, I was not able to see anything by switching to Unicode.
After the installation you should have a Chinese kde, Chinese Mozilla 0.9.8 and some more software in Chinese. The best input for simplified is Chinput, for Big5 Xcin and that's how Mandrake is doing it, if you use gb you will get Chinput by pressing Ctrl+Space and Xcin on a Big5 system.
Turbolinux seems to have taken over the Chinput project, therefore you will find no info on the net. They made an extension to Chinput called ZWinPro (ZWinPro-3.2-11.i586.rpm) you need to forceinstall it (solve some libary deps, install unicon but do not uninstall Chinput) and forceinstall Mandrakes Chinput again. This will give you Mandrakes Chinput with a configuration toolbar and some binaries which allow you to use Chinese input for all applications. There are some minor probs you will need to fix (font alias missing, etc), if you have trouble contact me.
The only problem about Chinput (and probably Xcin) is: it's dumb, the windows input tries to guess what you are typing. Means, you need to write character by character on Linux, does not matter if you use Pinyin or Woubi (or what ever you call it). This is very unconvenient and a killer for every Chinese linux desktop. Nobody will want to type 10 min on Linux when he can be finished in 2 on windows.
Next get the Chinese version of OpenOffice1.0 and English Mozilla 1.0. If you want to use a Chinese browser stick to konqueror, Mozilla 0.9.8 is not stable and crashes randomly.
You will want to get some Chinese ttf fonts from windows, as the fonts on Mandrake are quite ugly.
I wonder why somebody would code that part the way they did it. As far as I understand it, they are trying to validate code by blacklisting instead of whitelisting:
(from http://core.trac.wordpress.org/changeset/11798)
$key = preg_replace('/[^a-z0-9]/i', '', $key);
if ( empty( $key ) )
die();
If you expect a hash you generated yourself, why don't you test if it preg_matches the spec you used to generate it in the first place? (/^[a-zA-Z0-9]{20}$/ in this case)
Well that and being naive enough to expect $_GET["key"] to always return a string....
Well, Germany does. Schufa Holding AG being the biggest one.
I don't understand that anti-google "hype", which probably was started by Ballmer :-)
There are many hosted mail solutions, every ISP has their own mail service, blackberry does have one too. There's a load of hosted Exchange solutions. Etc, etc, and businesses USE it. If a google employee can read email, why an ISP employee can't? Because it's in their terms of service? ha!
Rolling your own solution is damn expensive and you need a guy who actually knows something about it, that's why most companies are more than happy to outsource it.
whoops :)
Don't know in which country you live, but in "socialist" Germany the highest unemployment rate is among the uneducated. I have yet to meet a long-term unemployed academic who is willing to work and has difficulties to find a job.
Besides that, nobody is going to hire an academic for a car technician position, simply because they would horribly suck at it and were too expensive.
I always sha those stupid questions with a related answer and some number: echo -n MyPet01|shasum -
1.
http://iterm.sourceforge.net/
2.
usb->ps2
So guys I want to see a ported KOffice binary by Friday 27th! 5 Days should be good enough for everyone.
I hope it will be as fast as it is on KDE... Who will want to have mac OpenOffice when you can have koffice? I do not really want to wait 5 mins for OpenOffice to launch. and it is soo ugly...
There is one for the Media player as well. Seems to be less busy. msnbc
;)
Click on Apple/Online Piracy
I hope all the moron moderators who mod im down to -1 can leave him at zero next time and use their valuable points on something that is worth moderating. Mod up and not down. He is a tropp posting at least 20 times a day, which is 20 morons who mod him down which is 20 postings that DO NOT get moderated up, which is 20 interesting postings less viewed by the average user.
Stop moderating anonymous trolls.
He is living in a dream wolrd, but maybe he is right about that 90% of world poulation.
If you check Minature Earth - Flash or Text only or some more serious websites like State of World Population 2002, then yes the scaring thing is that only few percent of world popuation are living in acceptable living standards. A huge percentage of worlds Population has less than one dollar per day to live.
But now, if you compare the USA to other industrial countries then the charts would not look soo great, actually I would expect the USA to be somewhere down the bottom on the list.
I have never seen so many homeless people and ghettos like I do in the USA, even not in China (where I was living for one year).
So yes again, many Americans are living in a dream World. Guys, wake up and open your eyes, go out on the streets and see. Saying the US is superior in living standart to something, is like if the president of Uganda was saying that his personal living standard in Uganda is much better then that 90% of the worlds population.
whatever. it is just slashdot.
p.s. For you americans, Uganda is one of the poorest countries in the world.
oh come on.. stop moderating this looser. he is already at 0, so most users do not see him anyway.
use your points for something worth moderating.
actually most of US routers work with t-online. ...do not forget to buy that 240>110 converter... PPPoE as a protocol is not sooo strange, SBC is using it here in SF bay.
get any d-link, netgear or speedstream router in the usa for cheap and you are save.
Nobody understands that american something outside of the US.
You do not want some Portugese speak better (int) english than you, do you?
Some hints:
- Open your mouth when you speak
- Say the letters the way they are supposed to be said.
- Buy an English learing tape IN EUROPE (to ensure it is not contaminated with an american teacher speaking), english for beginners is just fine.
I hope you still read this ;)
.jar capable archiver (For Windows it's WinZip, WinACE,...).
Here we go:
Shut down your Mozilla and go to your mozilla directory (the main one, not the users directory).
Locate the file comm.jar in the chrome directory. Extract it with any
Go to the folder content/communicator/ and edit the file contentAreaContextOverlay.xul
About line 48 the interesting part begins:
<menuitem id="context-openlink"
label="&openLinkCmd.label;"
accesskey="&openLinkCmd.accesskey;"
oncommand="gContextMenu.openLink();"/>
<menuitem id="context-openlinkintab"
label="&openLinkCmdInTab.label;"
accesskey="&openLinkCmdInTab.accesskey;"
oncommand="gContextMenu.openLinkInTab();"/&g t;
simply reverse it to:
<menuitem id="context-openlinkintab"
label="&openLinkCmdInTab.label;"
accesskey="&openLinkCmdInTab.accesskey;"
oncommand="gContextMenu.openLinkInTab();"/&g t;
<menuitem id="context-openlink"
label="&openLinkCmd.label;"
accesskey="&openLinkCmd.accesskey;"
oncommand="gContextMenu.openLink();"/>
put everything back to the comm.jar file and you are ready.
Hope this helps,
Paul
You can not really compare JPEG with PNG.
PNG is an replacement for GIF and behaves like GIF. However it is more powerful (more than 8bit colors, alpha channels) and can replace TIFF in many cases as well.
JPEG does not really have an open source alternative yet and PNG can not replace it. JPEG is using a lossy algorithm which means that some information and quality gets lost every time you save it. The resulting size for a photo using JPEG is much smaller than using PNG. There were some commercial attempts to provide an alternative to JPEG using wavelets but all of them ended up in JPEG2000 I guess.
paul
kprint lets you print Chinese under Linux... if you use Konqueror. I did not get Mozilla to print Chinese so far (Squares instead of Chinese).
Printing from OpenOffice etc. is no problem.
I am not Chinese and do not speak Chinese, however I am working in China and was trying to introduce Linux. The following text treats Chinese == simplified, however most of the stuff should be valid for traditional too.
IntroductionFirst of all, Chinese under Linux is hell. There seem to be no people being interested in developing open source in China. And if they do then it's difficult to find, crappy and unfinished. Just look at the Mozilla 1.0 simplified Chinese translation, it's not there, the guys did not move since 0.9.8. The Chinese HOWTO is quite old (1998!) and most of the links are dead and the information inside useless (practical experience).
Red alternativesYou have several alternatives, I suggest you forget about them: RedFlag Linux (Experience based on 3.0, Redflag 3.2 beta ISO)
I had to use the text installation: I guess it was unicode without unicode support, so all I saw was messy characters but not Chinese. Somehow it's similar to redhat so I was able to click through. After the installation: whoops, the system is asking me for my registration key otherwise I can try RedFlag linux for 40 days (? do not remember how many exactly). It was not just a key, it was one of the Microsoft dimensions. After choosing the trial I ended up in Kde trying to look like windows. It had a tray, and a start bar, the Control Panel and so on. But I had a feeling it was there but it could not satisfy me, and I could not stand the little penguin patriotically holding that red flag up. The Chinese input seems to me to be the most advanced, but the system it self seemed to me unstable. Most modifications were in the interface and trying to lock down the system so you need to get that key after the trial period.
Office: RedOffice different company, same red. It's OpenOffice 1.0 looking like Office XP, that's all except there is no source code, no binaries, only a trial version and a price of 398RMB (~50US$) for the full version. Stick with Chinese OpenOffice.
Mandrake 8.2Mandrake has in my opinion the best Chinese support. You only need to install it using the Chinese language. If you install it using English and then switch to Chinese you will have several problems, like you desktop disappearing etc. Do not use Unicode, use gb or big5 only, I was not able to see anything by switching to Unicode.
After the installation you should have a Chinese kde, Chinese Mozilla 0.9.8 and some more software in Chinese. The best input for simplified is Chinput, for Big5 Xcin and that's how Mandrake is doing it, if you use gb you will get Chinput by pressing Ctrl+Space and Xcin on a Big5 system.
Turbolinux seems to have taken over the Chinput project, therefore you will find no info on the net. They made an extension to Chinput called ZWinPro (ZWinPro-3.2-11.i586.rpm) you need to forceinstall it (solve some libary deps, install unicon but do not uninstall Chinput) and forceinstall Mandrakes Chinput again. This will give you Mandrakes Chinput with a configuration toolbar and some binaries which allow you to use Chinese input for all applications. There are some minor probs you will need to fix (font alias missing, etc), if you have trouble contact me.
The only problem about Chinput (and probably Xcin) is: it's dumb, the windows input tries to guess what you are typing. Means, you need to write character by character on Linux, does not matter if you use Pinyin or Woubi (or what ever you call it). This is very unconvenient and a killer for every Chinese linux desktop. Nobody will want to type 10 min on Linux when he can be finished in 2 on windows.
Next get the Chinese version of OpenOffice1.0 and English Mozilla 1.0. If you want to use a Chinese browser stick to konqueror, Mozilla 0.9.8 is not stable and crashes randomly.
You will want to get some Chinese ttf fonts from windows, as the fonts on Mandrake are quite ugly.
paul