HHVM does boast some very impressive numbers, and compatibility, but it does require carefully rewriting portions of code that are incompatible. There is also the potential for subtle differences, and unknown places of incompatibility. So for developers who don't want to find out the hard way which methods are incompatible the switch over is difficult.
For most web sites that aren't at Facebook or Wikipedia scale, the performance difference isn't worth the potential headache.
I know, and I respect that you found data to back up your position. However, I value an antivirus that doesn't pester me more personally. I am not the average user falling susceptible to attacks, so I still feel comfortable with the level of protection offered my MSE.
If we're going for free and comprehensive, it looks like Avira is the best option.
If you're going to reference AV test results, at least reference the most recent. Yes, MSE isn't their highest rated software, but it's still within a reasonable margin of error.
Legacy Excel spreadsheets with complicated macros for one. Another at my work is we use the new Power View reporting built into Excel to create some dynamic graphs on the fly, and there are people who import data direct from MS SQL Server.
So there are unusual use cases that aren't covered in LibreOffice, but for the average person it covers everything and more.
Try getting rid of the crap that is AVG and switching to Microsoft Security Essentials. It's still free, works fantastic, and never bugs you unless it's found something. It never asks you to upgrade to pro anything.
Yeah, I'm ok with graceful fallbacks, but I still think this should be limited to very targeted optimizations and not over used. Even in their example they state it's the kind of code that should never make it into production as it's inefficient. I"m curious what a real world benchmark would show.
Nice to see an easy way to add some native code to PHP. This may sound weird, but I hope it doesn't get used too often in open source projects. It's nice for internal things, and for targeted optimizations though.
Hmm, apparently that's fault. I used a ternary operator where it's apparently illegal. From the PHP documentation:
Note: Please note that the ternary operator is a statement, and that it doesn't evaluate to a variable, but to the result of a statement. This is important to know if you want to return a variable by reference. The statement return $var == 42 ? $a : $b; in a return-by-reference function will therefore not work and a warning is issued in later PHP versions.
So basically you need to have something like this (and it's ugly right now, but you can probably come up with a cleaner way to do it, this is just an example):
Well that would work, but not well. There could be 6 different rows that are missing one parameter each. That would then throw off your modulus function. I'm confused by your error though, what's parameter 2?
Well you could definitely use a try/catch, but it depends on how you want to handle the error. If you want it to fail gracefully by assuming a non-existing value is just an empty string you could try:
Just thought I'd point out that you seem to have confused things. PHP is a server side scripting language. This means you do have access to hardware. Hell, you could use C to code your web apps if you want. It's just not a language designed specifically for it.
You're hideously primitive art skills are definitely a inspiration to us all. I think the only thing I would have done different is used thicker lines.
Well I guess it depends on the situation. I tend not to write full platforms, but plugins, like for Moodle or Wordpress. So views are something I don't handle myself. I guess I tend to see it from my perspective. I never use the heredoc for more than 10 lines or so max.
The reason I prefer it to normal HTML is you don't have to add in random PHP tags to output variables everywhere. I find if I have that style, and lots of variables to output, it really messes things up, and only further integrates PHP into my HTML.
Reminds me of the Dilbert "Blue Duck".
I'm guessing it's Korean since it's a Samsung application.
Yeah, but he's earned the right to be juvenile.
The real gore is the folders in the root of c there. This user clearly names folders to put them in order alphabetically rather than descriptively.
It could have been your browser and not Wikipedia, to be fair. The web is a complicated place, even zoom settings can mess with it.
If you read the article you'll find out why.
HHVM does boast some very impressive numbers, and compatibility, but it does require carefully rewriting portions of code that are incompatible. There is also the potential for subtle differences, and unknown places of incompatibility. So for developers who don't want to find out the hard way which methods are incompatible the switch over is difficult.
For most web sites that aren't at Facebook or Wikipedia scale, the performance difference isn't worth the potential headache.
It's not about a failing computer, it's about being useful to screen readers, usually for the blind.
I know, and I respect that you found data to back up your position. However, I value an antivirus that doesn't pester me more personally. I am not the average user falling susceptible to attacks, so I still feel comfortable with the level of protection offered my MSE.
If we're going for free and comprehensive, it looks like Avira is the best option.
If you're going to reference AV test results, at least reference the most recent. Yes, MSE isn't their highest rated software, but it's still within a reasonable margin of error.
Legacy Excel spreadsheets with complicated macros for one. Another at my work is we use the new Power View reporting built into Excel to create some dynamic graphs on the fly, and there are people who import data direct from MS SQL Server.
So there are unusual use cases that aren't covered in LibreOffice, but for the average person it covers everything and more.
Try getting rid of the crap that is AVG and switching to Microsoft Security Essentials. It's still free, works fantastic, and never bugs you unless it's found something. It never asks you to upgrade to pro anything.
I'm a huge proponent of LibreOffice. Outside of special use cases, one should never need to use MS Office over LibreOffice.
Yeah, I'm ok with graceful fallbacks, but I still think this should be limited to very targeted optimizations and not over used. Even in their example they state it's the kind of code that should never make it into production as it's inefficient. I"m curious what a real world benchmark would show.
Nice to see an easy way to add some native code to PHP. This may sound weird, but I hope it doesn't get used too often in open source projects. It's nice for internal things, and for targeted optimizations though.
Why do people keep taking screenshots with their phones?
It's been a while since I did Wordpress shortcodes, but I don't believe you include the square brackets in the do_shortcode function string.
Woops, check out the edited comment above. I sent the comment before finishing it, and you probably missed the code example.
Hmm, apparently that's fault. I used a ternary operator where it's apparently illegal. From the PHP documentation:
So basically you need to have something like this (and it's ugly right now, but you can probably come up with a cleaner way to do it, this is just an example):
Well that would work, but not well. There could be 6 different rows that are missing one parameter each. That would then throw off your modulus function. I'm confused by your error though, what's parameter 2?
Well you could definitely use a try/catch, but it depends on how you want to handle the error. If you want it to fail gracefully by assuming a non-existing value is just an empty string you could try:
Just thought I'd point out that you seem to have confused things. PHP is a server side scripting language. This means you do have access to hardware. Hell, you could use C to code your web apps if you want. It's just not a language designed specifically for it.
You're hideously primitive art skills are definitely a inspiration to us all. I think the only thing I would have done different is used thicker lines.
Thank you for not making this into a rage comic :)
Well I guess it depends on the situation. I tend not to write full platforms, but plugins, like for Moodle or Wordpress. So views are something I don't handle myself. I guess I tend to see it from my perspective. I never use the heredoc for more than 10 lines or so max.
The reason I prefer it to normal HTML is you don't have to add in random PHP tags to output variables everywhere. I find if I have that style, and lots of variables to output, it really messes things up, and only further integrates PHP into my HTML.