Every time, every single time this comes up at least 20 people ALWAYS ALWAYs ALWAYS say PHP is bad because you embed the code in the html. Let me clue you in since you apparently don't bother to research this stuff. When it comes to outputting html from php, IT IS ABSOLUTELY NO DIFFERENT THAN PERL. Read it again for the first time. Perl offers you what? Templates, print, requires, and functions to seperate content from layout. What about php? Templates, print, requires, and functions. Woah, perl is so much better! Oh, don't foget that php can actually be used from Java Server Pages to seperate content and layout...
True, but their attitude bothers me. They point out the shortcomings, and basically suggest no one use it, when in fact mysql is a great database for it's intended usage. They can't seem to understand that MySQL fits a niche that no other database does which is why the MySQL folks have made feature compromises for performance.
Do these people think they are really telling people something new? I'm really somewhat offended by the attitude they use, like MySQL is fooling people or lying about what their product does. It's meant to be fast and simple. Period. It's not meant to handle data integrity, transactions, and other advanced features. They seem to feel that this is a fault whereas most people will agree that this is a feature because when you don't need all that stuff and you really just want something fast to do queries (like a dynamic web page...), MySQL is the hands down winner.
In the chat, James responded to this by saying something like "It sounds to me like napster is willing to pay $2 million for an artist to support them."
How many people have actually bought a metallica album since the black album anyway? It won't be hard for me to resist the temptation:)
Oh, and those who missed the chat last night, Metallica said that they delivered the names to napster because napster dared them to prove that people were trading illegal mp3's on their system. They also blamed napster for bringing fans into this issue when it should be between napster and Metallica.
Since napster isn't actually providing any content, the only way they could be held responsible for user activity is if it was determined that they have a responsibility to make sure that no illegal content is traded on their system. But if that were the case, wouldn't ISP's have to monitor customers email attatchments, IRC transfers, ftp servers, etc?
You get a life, I didn't use my plus one bonus, my default level just happens to be 2. If there were a -1 bonus I'd probably use it for shit like this so I don't have to listen to you little pussies bitch and moan, but there ain't one.
There, maybe this will bring my karma down. If not, someone please -1 me, several times preferably.
I hate to rain on your trolling, but your post is not recursive. It requires user input and then redisplays itself, that would be more of a useless callback than recursion...
Why? It's faster (15 seconds to beam it vs 30-45 minutes on my machine to burn). It takes none of my disk space (vs 3-4 megs per mp3). It's streamed, I can listen to an mp3 or playlist on demand (unlike shoutcast). It's free...
Take my cd collection, it took me many weeks to encode all my 300 and some cd's using about 13 gigs of disk space. my.mp3.com let's me do it in a fraction of the time using no disk space and I can still play it a cd quality sound provided I have a fast enough connection.
Under current law, it is not legal to distribute a copyrighted work just because you legally obtained it. It doesn't matter if the customers own a copy or not, it's illegal for them to distribute it period. Like it or not, that is the current stance of the law.
Ok, I'll bite. I use mp3.com to listen to my cd's@work. Nothing illegal about it.
Actually, seeing as the job of the justice department is to determine whether law is valid or not, and they have just said that this is not legal, I would say you are quite incorrect here. Under current IP law, they are doing something illegal by distributing copyrighted work that they do not have the rights to distribute. Whether you own a copy or not is irrelevant, they still don't have the right to distribute it. Now I'm not saying I agree with the law's current stance on this issue, but under current law I do agree that what they did was illegal.
Who said anything about a CLI? It's a big misconception to think that a palmtop will be just like a desktop linux machine because it uses a stripped linux kernel...
Because it's stable, well established, there's a body of experienced developers, it's easily customized, it can be stripped down to the bare essentials, it can be easily modularized, and it exists.
IMHO, it's a lot easier to take an existing OS that can easily be stripped and has a strong developer community than to create your brand new OS from scratch and force future developers to learn to program for it. Especially something like this where third party apps are a huge reason for getting one.
WIthout knowing details on what specific features are needed, here's a brief review on two I've owned, the Olympus D-340 and the Kodak DC280.
Olympus ------ + great case with integrated sliding lense cover + ability to store uncompressed tiffs + great color, especially in dark situations + adjustable ISO setting + excellent battery life + very sharp preview screen - way too hard to use, interface sucks - pictures didn't look as good as the kodak when printed - serial only - screen sticks out so it's impossible not to smudge with your cheek
Kodak ---- + higher resolution + 20 MB memory + USB + good quality printed pictures + easy to use interface - crappy lens cover that falls off all the time - somewhat slower on taking pictures, has to be held still - poor battery life, only about 15 minutes of constant use - crappy preview screen, can't tell how good the picture is
Overall it's a tough call. I think the really really bad battery life of the kodak combined with the useless LCD screen really ruin it. You're probably better of spending a bit more and getting a camera that has the best of both:)
WTF? The same damn troll post that's on every story mentioning a mac, and it's Insightful? Come on, I hope no moderator is stupid enough to believe that macs can only handle a 1 button mouse (mine has 4 and a wheel...)
Keep in mind, there are a lot of reasons to use one thing or another. If people don't want to use ASP because it's an MS product, who cares? The most vocal group are always the idiots. While it's nice to do this so easily, you need to look at other things here. For example, what would it cost for this person to switch to an NT/ASP solution? Consider a hardware upgrade, software licensing, and most imporantly, the time required to learn a new platform *and* a new language, this is not an economical choice and may not be worth it to be able to solve the problem in two lines of code rather than 50.
Also note that with php, you can do this with equally few lines of code at all. Using gettext support, you simply create your translations and store them elsewhere, then by prefixing your output with a _ it will be translated.
There are always multiple ways to solve problems, and each one has advantages and disadvantages. Don't think that people avoid IIS/ASP just because they hate MS. Those who do don't really matter in the grand scheme of things.
Does PHP allow you to create objects like Java does with JavaBeans?
Yes, php has a basic concept of objects, not incredibly powerful, but good for grouping together data and operations. Better yet, php can actually create and work with Java objects. Or better still, php can be embedded in a java servlet engine so that you can use php as a replacement for JSP in your servlets:)
The thing to remember here is that PHP vs Zope is not a decision you will ever have to make. Zope is not a language, it's an application server. Python vs PHP is a comparison. If you want to talk zope, you have to look at the php equivalent, midgard (http://www.midgard-project.org/). Not that I have anything against zope or python, they are great tools, I just think for the task here php/midgard are much better suited. Part of this is because I think PHP has a quicker learning curve and let's face it, there's no sense in mastering a language just to create a multilingual site... Second, Midgard is much more suited to this type of thing. I suggest Zope to people who want to program a website, and Midgard to people who want to manage website content. Midgard is much more focused on content and using inherited styles and layouts, plus giving multi user web based access to manage content and layout. For something like this where you have the same layout and style just with different content, I think Midgard will really do this with less hassle and effort.
PHP4 can be built with gettext support. gettext is a GNU library for internationalizing programs. PHP's support is undocumented currently, so you'd have to check out the code to see what it does (in ext/gettext), but it might be worth looking into.
Gettext info and manuals can be found at http://www.gnu.org/software/gettext/
Every time, every single time this comes up at least 20 people ALWAYS ALWAYs ALWAYS say PHP is bad because you embed the code in the html. Let me clue you in since you apparently don't bother to research this stuff. When it comes to outputting html from php, IT IS ABSOLUTELY NO DIFFERENT THAN PERL. Read it again for the first time. Perl offers you what? Templates, print, requires, and functions to seperate content from layout. What about php? Templates, print, requires, and functions. Woah, perl is so much better! Oh, don't foget that php can actually be used from Java Server Pages to seperate content and layout...
True, but their attitude bothers me. They point out the shortcomings, and basically suggest no one use it, when in fact mysql is a great database for it's intended usage. They can't seem to understand that MySQL fits a niche that no other database does which is why the MySQL folks have made feature compromises for performance.
Do these people think they are really telling people something new? I'm really somewhat offended by the attitude they use, like MySQL is fooling people or lying about what their product does. It's meant to be fast and simple. Period. It's not meant to handle data integrity, transactions, and other advanced features. They seem to feel that this is a fault whereas most people will agree that this is a feature because when you don't need all that stuff and you really just want something fast to do queries (like a dynamic web page...), MySQL is the hands down winner.
I'm voting for Java e^i*Pi
In the chat, James responded to this by saying something like "It sounds to me like napster is willing to pay $2 million for an artist to support them."
I think I kinda agree...
How many people have actually bought a metallica album since the black album anyway? It won't be hard for me to resist the temptation
Oh, and those who missed the chat last night, Metallica said that they delivered the names to napster because napster dared them to prove that people were trading illegal mp3's on their system. They also blamed napster for bringing fans into this issue when it should be between napster and Metallica.
Since napster isn't actually providing any content, the only way they could be held responsible for user activity is if it was determined that they have a responsibility to make sure that no illegal content is traded on their system. But if that were the case, wouldn't ISP's have to monitor customers email attatchments, IRC transfers, ftp servers, etc?
take my karma, please!
Yes, I am that blind.
Actually, now I'm just doing it to piss people off. But nobody seems to want to moderate me
Never checked that button in my life. Read the FAQ on how default posting levels work moron.
You get a life, I didn't use my plus one bonus, my default level just happens to be 2. If there were a -1 bonus I'd probably use it for shit like this so I don't have to listen to you little pussies bitch and moan, but there ain't one.
There, maybe this will bring my karma down. If not, someone please -1 me, several times preferably.
I see the website is "released", not the product...
I hate to rain on your trolling, but your post is not recursive. It requires user input and then redisplays itself, that would be more of a useless callback than recursion...
Can you really call something released when the only way to get it is by installing a pre-alpha window manager?
Why? It's faster (15 seconds to beam it vs 30-45 minutes on my machine to burn). It takes none of my disk space (vs 3-4 megs per mp3). It's streamed, I can listen to an mp3 or playlist on demand (unlike shoutcast). It's free...
Take my cd collection, it took me many weeks to encode all my 300 and some cd's using about 13 gigs of disk space. my.mp3.com let's me do it in a fraction of the time using no disk space and I can still play it a cd quality sound provided I have a fast enough connection.
Under current law, it is not legal to distribute a copyrighted work just because you legally obtained it. It doesn't matter if the customers own a copy or not, it's illegal for them to distribute it period. Like it or not, that is the current stance of the law.
Ok, I'll bite. I use mp3.com to listen to my cd's@work. Nothing illegal about it.
Actually, seeing as the job of the justice department is to determine whether law is valid or not, and they have just said that this is not legal, I would say you are quite incorrect here. Under current IP law, they are doing something illegal by distributing copyrighted work that they do not have the rights to distribute. Whether you own a copy or not is irrelevant, they still don't have the right to distribute it. Now I'm not saying I agree with the law's current stance on this issue, but under current law I do agree that what they did was illegal.
Who said anything about a CLI? It's a big misconception to think that a palmtop will be just like a desktop linux machine because it uses a stripped linux kernel...
Because it's stable, well established, there's a body of experienced developers, it's easily customized, it can be stripped down to the bare essentials, it can be easily modularized, and it exists.
IMHO, it's a lot easier to take an existing OS that can easily be stripped and has a strong developer community than to create your brand new OS from scratch and force future developers to learn to program for it. Especially something like this where third party apps are a huge reason for getting one.
WIthout knowing details on what specific features are needed, here's a brief review on two I've owned, the Olympus D-340 and the Kodak DC280.
Olympus
------
+ great case with integrated sliding lense cover
+ ability to store uncompressed tiffs
+ great color, especially in dark situations
+ adjustable ISO setting
+ excellent battery life
+ very sharp preview screen
- way too hard to use, interface sucks
- pictures didn't look as good as the kodak when printed
- serial only
- screen sticks out so it's impossible not to smudge with your cheek
Kodak
----
+ higher resolution
+ 20 MB memory
+ USB
+ good quality printed pictures
+ easy to use interface
- crappy lens cover that falls off all the time
- somewhat slower on taking pictures, has to be held still
- poor battery life, only about 15 minutes of constant use
- crappy preview screen, can't tell how good the picture is
Overall it's a tough call. I think the really really bad battery life of the kodak combined with the useless LCD screen really ruin it. You're probably better of spending a bit more and getting a camera that has the best of both
Be careful putting your mac partition in read-write mode... Every time I do that and boot mac-on-linux it wipes out my desktop folder...
WTF? The same damn troll post that's on every story mentioning a mac, and it's Insightful? Come on, I hope no moderator is stupid enough to believe that macs can only handle a 1 button mouse (mine has 4 and a wheel...)
Keep in mind, there are a lot of reasons to use one thing or another. If people don't want to use ASP because it's an MS product, who cares? The most vocal group are always the idiots. While it's nice to do this so easily, you need to look at other things here. For example, what would it cost for this person to switch to an NT/ASP solution? Consider a hardware upgrade, software licensing, and most imporantly, the time required to learn a new platform *and* a new language, this is not an economical choice and may not be worth it to be able to solve the problem in two lines of code rather than 50.
Also note that with php, you can do this with equally few lines of code at all. Using gettext support, you simply create your translations and store them elsewhere, then by prefixing your output with a _ it will be translated.
There are always multiple ways to solve problems, and each one has advantages and disadvantages. Don't think that people avoid IIS/ASP just because they hate MS. Those who do don't really matter in the grand scheme of things.
Yes, php has a basic concept of objects, not incredibly powerful, but good for grouping together data and operations. Better yet, php can actually create and work with Java objects. Or better still, php can be embedded in a java servlet engine so that you can use php as a replacement for JSP in your servlets :)
The thing to remember here is that PHP vs Zope is not a decision you will ever have to make. Zope is not a language, it's an application server. Python vs PHP is a comparison. If you want to talk zope, you have to look at the php equivalent, midgard (http://www.midgard-project.org/). Not that I have anything against zope or python, they are great tools, I just think for the task here php/midgard are much better suited. Part of this is because I think PHP has a quicker learning curve and let's face it, there's no sense in mastering a language just to create a multilingual site... Second, Midgard is much more suited to this type of thing. I suggest Zope to people who want to program a website, and Midgard to people who want to manage website content. Midgard is much more focused on content and using inherited styles and layouts, plus giving multi user web based access to manage content and layout. For something like this where you have the same layout and style just with different content, I think Midgard will really do this with less hassle and effort.
PHP4 can be built with gettext support. gettext is a GNU library for internationalizing programs. PHP's support is undocumented currently, so you'd have to check out the code to see what it does (in ext/gettext), but it might be worth looking into.
Gettext info and manuals can be found at http://www.gnu.org/software/gettext/