You bring up the price point, that you have done so shows me that this is not likely an option for you.
Flying small aircraft with one or two passengers is vastly more expensive than flying an airliner, on a mile for mile price. A small aircraft might run at a cost of $50 to $100 US per hour, given that it's likely to be MUCH slower in the air than your typical 737, for anything more than a couple hours flying time away in the small craft it's unlikely to be a competitive, or even close, price.
bind_query('SELECT value FROM REGISTRY WHERE name = ":1"', $name);
My own database abstraction classes have a pretty similar syntax, after years of PHP work I find that this works remarkably well and easily.
$mydb->query("SELECT foo from bar where some_string =:0 and some_int = i:1 and some_date = d:2 and some_real = r:3", 'hello', 12, time(), 37.5);
becomes
******_query("SELECT foo from bar where some_string = 'hello' and some_int = 12 and some_date = '2006-07-19 21:32:48' and some_real = 37.5")
the parameters are type-forced, escaped and converted at the time of substitution, it's quick and easy. Numbered parameters work well for queries with few parameters, for longer ones you can also stick an associative array in the paramter list and use it's members as named parameters ( i:foobar ) to make it easier to keep track of them.
There really is no excuse for a developer not to make thier SQL safe.
The single worst thing about Opera from a developer's point of view - the bug tracker isn't open. You can't search to see if something is a known bug, you get no feedback when you submit a bug. It's just a big black hole where you throw bug reports.
Making good bug reports can take a bit of time, I don't bother for Opera, because I don't know if I'm just wasting energy on a bug that's already known.
And no, a forum is not the answer, too much noise to signal.
Webfaction used to be called Python-Hosting.com, I speak from experience that they are good at python hosting, they also provide free SVN and TRAC hosting to open source projects (such as http://www.xinha.org/).
That said, this isn't really news, it's advertising. This control panel appears to be little more than a setup tool for various common applications utilising what's probably AddHandler/Action/mod_rewrite commands in.htaccess files (or vhost containers), and an email configurator. Certainly not to be dismissed out of hand, because it's an interesting concept in the way it's implemented. But not a cPanel contender I'm afraid.
Props to the python-hosting guys on your technical prowess, but please don't try to slip adverts into slashies.
Submitter wants a fully managed dedicated server - essentially a dedicated server that is looked after by the host just like a shared server would be. Most dedicated servers are not fully managed.
If I were submitter, I'd be asking the host they are with now if they can supply a dedicated server and do all the management on it, at what cost.
Externally, the Soviet shuttle design appeared to be a copy of the American. But that's as far as that went. Buran had no engines for a start, it was strictly a payload for Energia. Certainly the engineers who created Buran looked at the American shuttle when they were coming up with the general principle, but in the same way that an aircraft designer looks at other aircraft.
One could say that Airbus copied Boeing because airliners all look pretty similar. One would be an idiot to make that comment though, the reality is that they are vastly different beasts.
Buran's first and only orbital flight was entirely unmanned, I'm not sure if that was remote control or pre-programmed flight plan though. I think the latter.
Different parts of the world use different symbols for numeric representations, comma is used as a decimal separator in sme locales, I suspect that it is in The Netherlands, where apparently the submitter comes from. He probably just typed it in the second time out of habit, the rates for Google perhaps he copy and pasted, or specifically remembered he's talking to a predominatly American audience.
You've been mod'd redundant but I think your comment is actually quite correct, and it's a good bit of how I handled taking exams at University.
Once your at the exam, even the night before, there's nothing you can do that is going to increase your knowledge, so, stop caring. If you fail, you fail, try it again next year or pick a different educational path, if you pass, good job. Sweating over it is just going to reduce your performance, so just answer the questions as far as you can and don't worry about it.
If you don't know the answer, well, move to the next question, don't panic "I don't know this!". If you get to the end of the paper and you have questions unanswered, go back to them and just casually think about it, perhaps you did know after all, but don't panic about it, it's too late for that.
I was the same after exams too, everybody of course asks "how do you think you did". My reply was always "I don't know, and I don't really care", if I passed I passed, if I failed (and I did once, I hated that course), so be it, nothing I could do after the exam would change that.
Can't say I've seen that problem. I use Evolution on the desktop, and M2 on the laptop. However if both are connected at once, only one has write ability (which means, the ability to move/delete messages), however neither will tell you if they have write ability, or even if a write fails - they just pretend it worked fine, you won't know until you refresh and the messages all come back from the dead.
1 sound muffled box containing
phone with answering machine
digital camera
laptop with OCR and RDBMS software
microphone
robotic hand
have the laptop listen to the microphone for noise (phone ring), the robotic hand should then hit the button on the camera which takes a picture of the LCD display on the phone showing the number, the image is transferred to the OCR software which returns the number, lookup the number in the RDBMS, if it's ok the robotic hand pushes open the lid on the sound muffled box "letting the ring out", if it's somebody you really don't want anything to do with the robotic hand lifts the phone and hangs up, in all other cases the phone is left to ring in the sound muffled box until the answering machine picks up.
Said the cunning Spider to the Fly, " Dear friend what can I do, To prove the warm affection I 've always felt for you? I have within my pantry, good store of all that's nice; I'm sure you're very welcome -- will you please to take a slice?" "Oh no, no," said the little Fly, "kind Sir, that cannot be, I've heard what's in your pantry, and I do not wish to see!"
Thanks muchly, php got upgraded on that old PHP4 server introducng the new E_STRICT errors, guess I should practice what I preach and put it on a PHP5 one;)
You are assuming that a recharge means just that, hookup some cables and pump power into the capacitor. But as you point out that's not practical.
What seems more likely is a swap-a-cap, drive in, old cap is pulled out, freshly charged one is popped in. The empty ones are sent to a big recharging center, probably attached to a nuclear power station, one station could charge a lot of caps.
At that price you'd expect Rutan would have started flights two weeks after he won the X-Prize. What'd he do instead? He put Spaceship One in the Smithsonian. WTF?
A test pilot made 2 sub orbital space flights in it, that doesn't in any way mean that it's a good idea to make a 3rd.
SS1 would not have been suitable for offering paid flights, simply, it wasn't safe to do so.
So many people these days have bought into the Smarty templates stuff. But what they have forgotten is that PHP is perfectly good as a template language. Why are they using a whole separate language to do a job that the very language that the 2nd language is written in can do just as well?
I think it's that people are stuck on such total and complete separation of "logic" and "display" that they have this erroneous idea that the only way that can be done properly is to use two separate languages.
But ask yourself, is
{Loop One $LoopVar1}
<tr><td>{$LoopVar1}</td></tr>
{/Loop}
any different to
<?php
foreach($One as $LoopVar1)
{
?>
<tr><td>{$LoopVar1}</td></tr>
<?php
}
?>
The answer I hope you see is, YES, the first one is heaps slower because the page has to be parsed for the second language and then executed either in that language, or more commonly TRANSLATED into PHP and executed in that instead!
The deal is, separate your Business/Application Logic from your Display Logic, but you don't need two languages to do that.
Sure if it makes it easier and faster for you then you might have some short hand notations to reduce coding, stuff like
{$Foo} which is replaced with
<?php echo htmlspecialchars($Foo) ?> or
<form:input type="date" name="Foo"/> which is replaced with a text input with a value of $Foo and a calendar date picker button, these could save you a few minutes coding and also makes it much cleaner for the designer.
But stuff like
{If Foo} stuff {/If} or
<loop var="Blah"> stuff </loop> is just inventing another syntax for the hell of it, it gives you no advantage, and infact probably increases the amount of code you have to write.
Some people will say here that "oh designers shouldn't deal with PHP". But what they fail to realise is that most designers use "WYSIWYG" tools, principally Dreamweaver for the professionals (as much as hand coding is desirable, lets be realistic, graphic designers seldom do that). And here's the thing, Dreamweaver will do a much better job if the page contains some PHP than if it contains an arcane template language, even one as popular as Smarty. They are LESS likely to break stuff, and infact more likely to UNDERSTAND how the code works if it's in PHP and not in a template language.
Here are a some simple rules..
* Have a minimum of 2 main files for each "page".
* The first contains your application/"business" logic for the page, it processes, queries, sets everything up for the second page.
* The second page contains your HTML and the minimal set of PHP to display that, you can use if, foreach, for, echo and the various formatting functions (htmlspecialchars, number_format etc) but that's about it unless you have a good reason.
* Don't put html in strings. I don't want to see echo "<strong>Foo</strong>"; One exception to this is where it will stop the creation of invalid (or undesirable) HTML nesting in your source file because of some conditional output of extra bits of HTML, the reason for that is so it doesn't screw up in Dreamweaver or intelligent editors which can match tags - this will most often happen if you are making multi-column tables and need to output extra tr's based on some modulus of the record number in a loop.
If you follow this you have cleanly separated logic from display and your designers can now easily work with the display source.
What I've said here isn't just specific to PHP of course, just it's where I see this sillyness the most.
Once or twice (somewhat quietly, I can't find the specific instances, the comments were simply replaced with some red "comment removed" type notice) at the demand of the US Secret Service.
Perhaps other times as well, but the point is that/. can and will if need be censor comments if it seems to be in thier best interests.
You are very naieve. For Nvidia to open source thier code would cost them a significant amount of time, money and quite possibly customers if they didn't do it right. Just off the top of my head...
Paying an army of lawyers to ensure that they CAN release in the first place. I'd bet that they don't have clean rights to distribute the source to everything in thier code, bet they licence some stuff.
Paying more lawyers and consultants to work out the best licence, or more probably write thier own.
Paying thier developers to clean up the code base before release, package it, setup version control access for the public.
Paying thier developers while they now unquestionably spend time liasing with the new open source developers.
Paying thier support staff when people using modified drivers ring up because stuff isn't working.
...
There IS a cost for companies to release closed source code to the open source world, it's significant, and in terms of support it can be ongoing (and if they put thier foot down and refuse to support modified code then they look bad to thier customers who don't know any better).
You bring up the price point, that you have done so shows me that this is not likely an option for you.
Flying small aircraft with one or two passengers is vastly more expensive than flying an airliner, on a mile for mile price. A small aircraft might run at a cost of $50 to $100 US per hour, given that it's likely to be MUCH slower in the air than your typical 737, for anything more than a couple hours flying time away in the small craft it's unlikely to be a competitive, or even close, price.
Hmmm, Win 95 had a manual if I remember correctly, 3.1(1)/WfW certainly did.
Perhaps they could issue a code book:
Windows says: "The ducks fly early in the morning."
You reply: "I had spinach for dinner last night".
Speaking as a T1 Diabetic, I think that particular cure would be worse than the disease.
My own database abstraction classes have a pretty similar syntax, after years of PHP work I find that this works remarkably well and easily.
$mydb->query("SELECT foo from bar where some_string =
becomes
******_query("SELECT foo from bar where some_string = 'hello' and some_int = 12 and some_date = '2006-07-19 21:32:48' and some_real = 37.5")
the parameters are type-forced, escaped and converted at the time of substitution, it's quick and easy. Numbered parameters work well for queries with few parameters, for longer ones you can also stick an associative array in the paramter list and use it's members as named parameters ( i:foobar ) to make it easier to keep track of them.
There really is no excuse for a developer not to make thier SQL safe.
You're kidding nobody Cletus, your "house" previously had wheels, didn't it.
The single worst thing about Opera from a developer's point of view - the bug tracker isn't open. You can't search to see if something is a known bug, you get no feedback when you submit a bug. It's just a big black hole where you throw bug reports.
Making good bug reports can take a bit of time, I don't bother for Opera, because I don't know if I'm just wasting energy on a bug that's already known.
And no, a forum is not the answer, too much noise to signal.
Webfaction used to be called Python-Hosting.com, I speak from experience that they are good at python hosting, they also provide free SVN and TRAC hosting to open source projects (such as http://www.xinha.org/).
.htaccess files (or vhost containers), and an email configurator. Certainly not to be dismissed out of hand, because it's an interesting concept in the way it's implemented. But not a cPanel contender I'm afraid.
That said, this isn't really news, it's advertising. This control panel appears to be little more than a setup tool for various common applications utilising what's probably AddHandler/Action/mod_rewrite commands in
Props to the python-hosting guys on your technical prowess, but please don't try to slip adverts into slashies.
Submitter wants a fully managed dedicated server - essentially a dedicated server that is looked after by the host just like a shared server would be. Most dedicated servers are not fully managed.
If I were submitter, I'd be asking the host they are with now if they can supply a dedicated server and do all the management on it, at what cost.
Externally, the Soviet shuttle design appeared to be a copy of the American. But that's as far as that went. Buran had no engines for a start, it was strictly a payload for Energia. Certainly the engineers who created Buran looked at the American shuttle when they were coming up with the general principle, but in the same way that an aircraft designer looks at other aircraft.
One could say that Airbus copied Boeing because airliners all look pretty similar. One would be an idiot to make that comment though, the reality is that they are vastly different beasts.
Buran's first and only orbital flight was entirely unmanned, I'm not sure if that was remote control or pre-programmed flight plan though. I think the latter.
You can't have looked very hard, link is on the bottom of the video page
https://checkout.google.com/sell
Different parts of the world use different symbols for numeric representations, comma is used as a decimal separator in sme locales, I suspect that it is in The Netherlands, where apparently the submitter comes from. He probably just typed it in the second time out of habit, the rates for Google perhaps he copy and pasted, or specifically remembered he's talking to a predominatly American audience.
You've been mod'd redundant but I think your comment is actually quite correct, and it's a good bit of how I handled taking exams at University.
Once your at the exam, even the night before, there's nothing you can do that is going to increase your knowledge, so, stop caring. If you fail, you fail, try it again next year or pick a different educational path, if you pass, good job. Sweating over it is just going to reduce your performance, so just answer the questions as far as you can and don't worry about it.
If you don't know the answer, well, move to the next question, don't panic "I don't know this!". If you get to the end of the paper and you have questions unanswered, go back to them and just casually think about it, perhaps you did know after all, but don't panic about it, it's too late for that.
I was the same after exams too, everybody of course asks "how do you think you did". My reply was always "I don't know, and I don't really care", if I passed I passed, if I failed (and I did once, I hated that course), so be it, nothing I could do after the exam would change that.
Can't say I've seen that problem. I use Evolution on the desktop, and M2 on the laptop. However if both are connected at once, only one has write ability (which means, the ability to move/delete messages), however neither will tell you if they have write ability, or even if a write fails - they just pretend it worked fine, you won't know until you refresh and the messages all come back from the dead.
1 sound muffled box containing
phone with answering machine
digital camera
laptop with OCR and RDBMS software
microphone
robotic hand
have the laptop listen to the microphone for noise (phone ring), the robotic hand should then hit the button on the camera which takes a picture of the LCD display on the phone showing the number, the image is transferred to the OCR software which returns the number, lookup the number in the RDBMS, if it's ok the robotic hand pushes open the lid on the sound muffled box "letting the ring out", if it's somebody you really don't want anything to do with the robotic hand lifts the phone and hangs up, in all other cases the phone is left to ring in the sound muffled box until the answering machine picks up.
Problem solved.
credit where credit is due: http://www.tv.com/red-dwarf/backwards/episode/1095 7/summary.html
Said the cunning Spider to the Fly, " Dear friend what can I do,
To prove the warm affection I 've always felt for you?
I have within my pantry, good store of all that's nice;
I'm sure you're very welcome -- will you please to take a slice?"
"Oh no, no," said the little Fly, "kind Sir, that cannot be,
I've heard what's in your pantry, and I do not wish to see!"
Thanks muchly, php got upgraded on that old PHP4 server introducng the new E_STRICT errors, guess I should practice what I preach and put it on a PHP5 one ;)
You are assuming that a recharge means just that, hookup some cables and pump power into the capacitor. But as you point out that's not practical.
What seems more likely is a swap-a-cap, drive in, old cap is pulled out, freshly charged one is popped in. The empty ones are sent to a big recharging center, probably attached to a nuclear power station, one station could charge a lot of caps.
The second example should be of course
<?php
foreach($One as $LoopVar1)
{
?>
<tr><td><?php echo $LoopVar1 ?></td></tr>
<?php
}
?>
------
this here is some extra text because slashdot thinks I'm being lame with all the whitespace in the above.
So many people these days have bought into the Smarty templates stuff. But what they have forgotten is that PHP is perfectly good as a template language. Why are they using a whole separate language to do a job that the very language that the 2nd language is written in can do just as well?
/>
I think it's that people are stuck on such total and complete separation of "logic" and "display" that they have this erroneous idea that the only way that can be done properly is to use two separate languages.
But ask yourself, is
{Loop One $LoopVar1}
<tr><td>{$LoopVar1}</td></tr>
{/Loop}
any different to
<?php
foreach($One as $LoopVar1)
{
?>
<tr><td>{$LoopVar1}</td></tr>
<?php
}
?>
The answer I hope you see is, YES, the first one is heaps slower because the page has to be parsed for the second language and then executed either in that language, or more commonly TRANSLATED into PHP and executed in that instead!
The deal is, separate your Business/Application Logic from your Display Logic, but you don't need two languages to do that.
Sure if it makes it easier and faster for you then you might have some short hand notations to reduce coding, stuff like
{$Foo}
which is replaced with
<?php echo htmlspecialchars($Foo) ?>
or
<form:input type="date" name="Foo"
which is replaced with a text input with a value of $Foo and a calendar date picker button, these could save you a few minutes coding and also makes it much cleaner for the designer.
But stuff like
{If Foo} stuff {/If}
or
<loop var="Blah"> stuff </loop>
is just inventing another syntax for the hell of it, it gives you no advantage, and infact probably increases the amount of code you have to write.
Some people will say here that "oh designers shouldn't deal with PHP". But what they fail to realise is that most designers use "WYSIWYG" tools, principally Dreamweaver for the professionals (as much as hand coding is desirable, lets be realistic, graphic designers seldom do that). And here's the thing, Dreamweaver will do a much better job if the page contains some PHP than if it contains an arcane template language, even one as popular as Smarty. They are LESS likely to break stuff, and infact more likely to UNDERSTAND how the code works if it's in PHP and not in a template language.
Here are a some simple rules..
* Have a minimum of 2 main files for each "page".
* The first contains your application/"business" logic for the page, it processes, queries, sets everything up for the second page.
* The second page contains your HTML and the minimal set of PHP to display that, you can use if, foreach, for, echo and the various formatting functions (htmlspecialchars, number_format etc) but that's about it unless you have a good reason.
* Don't put html in strings. I don't want to see echo "<strong>Foo</strong>"; One exception to this is where it will stop the creation of invalid (or undesirable) HTML nesting in your source file because of some conditional output of extra bits of HTML, the reason for that is so it doesn't screw up in Dreamweaver or intelligent editors which can match tags - this will most often happen if you are making multi-column tables and need to output extra tr's based on some modulus of the record number in a loop.
If you follow this you have cleanly separated logic from display and your designers can now easily work with the display source.
What I've said here isn't just specific to PHP of course, just it's where I see this sillyness the most.
That's not censorship, that's picking topics that are relevant and interesting.
/. has censored (removed) comments on articles in some certain cases. Once at the demand of the Church of Scientology ( http://slashdot.org/yro/01/03/16/1256226.shtml ).
/. can and will if need be censor comments if it seems to be in thier best interests.
That's true.
However
Once or twice (somewhat quietly, I can't find the specific instances, the comments were simply replaced with some red "comment removed" type notice) at the demand of the US Secret Service.
Perhaps other times as well, but the point is that
There IS a cost for companies to release closed source code to the open source world, it's significant, and in terms of support it can be ongoing (and if they put thier foot down and refuse to support modified code then they look bad to thier customers who don't know any better).
I dunno, Seven of Nine seemed to power up quite a few people without much trouble.