Let me get this straight, its ok for you to do translation which means reading and looking at material, but it's immoral to listen to a tech talk for a porn site? Cognitive dissonance much?
But thats request time right? If you want to be accurate with execution time you'd want to grab a timestamp in the first line after the server did its work and actually started running the script, which could be a wee bit after the server request time.
Ignoring that OP should also be using microtime (true);
It's very simple, use pear, and put it in your project. Update the include path as needed so you don't worry about what system they're on and what version might be there.
Or check the Zend stuff, there's a bit of overlap and theirs is much more up to date.
I have nothing against Python, but PHP CLI scripts work wonderfully for moving files around, massaging data, and outputting other files, be it HTML, CSV, XML, JSON, whatever.
What precisely makes Python better for this job in your opinion? Please be specific.
Data goes onto a FeeNAS box in the lab from the instruments
That is moved over ssh by a cron job to a server on the intranet
That server has a php script that rebuilds a nice static index page for all the data and posts it's availability to our internal instance of laconica.
I am asking because I am curious what you view as disadvantages here.
After development has completed. You should have had someone in the process doing code reviews the entire time. No software is bug free I don't care who did it.
If you're not testing today you're not going live this year.
Let me get this straight, its ok for you to do translation which means reading and looking at material, but it's immoral to listen to a tech talk for a porn site? Cognitive dissonance much?
Seems like it would make more sense to have a Number class, Double, etc.
You can, I do, it's fast.
http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/
But thats request time right? If you want to be accurate with execution time you'd want to grab a timestamp in the first line after the server did its work and actually started running the script, which could be a wee bit after the server request time.
Ignoring that OP should also be using microtime (true);
Microtime has been around forever, am I missing something?
You did
You're telling me 250 people a month are buying (with real money) a guestbook script?
That's crazy. Who are these people?!
lots of demand for that guestbook script?
Hey 2001 called... just kidding pal your test is good.
First, take the gigantic picture of your face off there and put some content on in its place.
I poked around and had trouble finding example code. If users can't find it with 2 clicks you're done. They'll leave.
I'm using Fusion Charts (free, open source edition), if you can stomach flash:
http://www.fusioncharts.com/goodies/fusioncharts-free/
I enjoyed your album, and, playing click roulette around the nsfw ones.
You obviously didn't know Tim.
It was posted shortly after his funeral: http://gforgegroup.wordpress.com/2011/09/20/goodbye-tim/
Fuck You.
I didn't see it, which slides?
It's very simple, use pear, and put it in your project. Update the include path as needed so you don't worry about what system they're on and what version might be there.
Or check the Zend stuff, there's a bit of overlap and theirs is much more up to date.
REQUEST_URI may not be valid for sites behind a reverse proxy, sites not hosted on Apache, etc. Just something to consider.
preg_replace() returns an array if the subject parameter is an array, or a string otherwise.
If matches are found, the new subject will be returned, otherwise subject will be returned unchanged or NULL if an error occurred.
Is $theData an array?
As someone who processes large documents and rarely uses more than 16mb of ram, I'd start profiling first.
Jut make sure it creates a lock, so 20 people don't initiate a process that takes 30 seconds to complete.
Don't, use Netbeans instead. Or at least try it out before you continue messing with Dreamweaver.
Actually incorrect, sorry.
5 iterations of 1,00,000 to 0:
Average 0.19384288787842 seconds for > -1
Average 0.18906879425049 seconds for >= 0
for ($x = 100; $x >= 0; $x--) {
I have nothing against Python, but PHP CLI scripts work wonderfully for moving files around, massaging data, and outputting other files, be it HTML, CSV, XML, JSON, whatever.
What precisely makes Python better for this job in your opinion? Please be specific.
I am asking because I am curious what you view as disadvantages here.
After development has completed. You should have had someone in the process doing code reviews the entire time. No software is bug free I don't care who did it.
If you're not testing today you're not going live this year.