|
It's essentially the same discussion again as when deep blue (may or may not ~ it's controversial) defeated Kasparov in the 90's.
There have been numerous attempts to create a program that played chess 'like' a human, especially before microprocessor era with mixed success. But once processors and memory reach a certain capacity, the brute force approach will always win.
One can argue that an advanced chess engine like Houdini just crunches numbers really fast and doesn't really understand he is playing chess. But arguing the machine doesn't understand chess falls in the category of "fallacy of exhaustive hypotheses". If you make a deep abstraction of what our biological brain actually does, it's all just number crunching as well.
Giraffes are not real.
|
|
|
|
|
When placing audio and video elements on a web page I’ve worked on a number of pieces of work where, for one reason or another, clients want to have their media Autoplay. To us nerds it may seem like common sense that Automatically playing media to a visitor is a bad idea for accessibility. The W3C has made this clear with it’s WCAG guidelines – we’re nerds; we care about these kinds of things. Oh no! Mute, mute mute!
|
|
|
|
|
Last year, I coded an embedded YouTube player to automatically start playing a video with the sound muted. Clicking a button that was over the video controls made the button disappear and the video unmute.
|
|
|
|
|
I have run into web sites that do this, and it can be real irritating. What is really bad is that you do not even know which page may be the irritant. I know there was a restauarnt web site I went to and even after turning off the sound once, when navigate back, the sound came on again. I hated it.
|
|
|
|
|
Over the past 5 years, Apple’s software and hardware have re-defined the mobile and tablet industries. Google, Samsung, RIM, Amazon, HP, and others have all tried to follow suit. But to date their offerings have been sub par; good enough at best. When you’re competing with Apple, good enough is not good enough. Because even to Apple, good enough isn’t good enough. Software’s natural vector is towards complexity.
|
|
|
|
|
Mountain Lion isn’t billed as a blockbuster release, and it isn’t priced like one. It’s just nicer. And it’s the little things, the attention to detail, that show it best. But to understand what Mountain Lion really is, you really need to look at it not as a standalone OS release, but as a step in a series of releases. Snow Leopard, Lion, Mountain Lion — none of these have been radical releases of Mac OS X.1 But taken together, there have been some radical changes to the Mac experience over the last five years. Windows 8, in contrast to Mountain Lion, is a radical update.
|
|
|
|
|
For a desktop OS in the year 2012, which direction is "forward," anyway? The obvious answer is "toward iOS," but Lion proved that it's not quite that simple. And really, there has to be more to it than compulsive imitation, otherwise why continue development of the Mac platform at all? Mountain Lion is Apple's answer to all these questions. It is the digital manifestation of Apple's belief that the Mac is still relevant, that it can be made better than it was before. John Sircusa's epic look at the new Mac OS X.
|
|
|
|
|
Dell seems to be hedging its bets to capture business users who want to get away from Windows 7, but don't like the mobile-friendly features in Windows 8. [ITworld]
|
|
|
|
|
Be interesting to see how much of the Microsoft Tax saving they pass on to the end consumer. I'm hazarding a guess it won't be a whole lot...but with Win8 not exactly getting the critical acclaim I think MS expected we might see a shift to linux based. I won't hold my breath though.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
Wikipedia is written and maintained by tens of thousands of volunteers across the world. Those, in turn, are assisted by hundreds of "bots" - autonomous computer programmes that keep the encyclopaedia running. ClueBOT seems to have a clue.
|
|
|
|
|
http://en.wikipedia.org/wiki/User:ClueBot_NG/FAQ#Origins[^]
The "Cobi" that is spoken of in the origin section was a classmate of mine in college. He wrote ClueBot while he was still in high school.
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
Life as a web developer can be hard when things start going wrong. The problem could be in any number of places. Is there a problem with the request your sending, is the problem with the response, is there a problem with a request in a third party library you're using, is an external API failing? There are lots of different tools that can make our life a little bit easier. Here are some command line tools that I've found to be invaluable. Curl up and grep a little.
|
|
|
|
|
No one person is really responsible for the internet/organization. The were many things that were required to make it successful: the basic networking technology, HTML, Netscape, going to active content, etc. As Issac Newton if famous for saying "If I have seen further, it is by standing on the shoulders of giants". Anybody who claims responsibility for the internet is arrogant. See http://en.wikipedia.org/wiki/Standing_on_the_shoulders_of_giants[^]
|
|
|
|
|
Sometimes you have to take a step back from discussions on coupling, cohesion, patterns and katas to give some training to the ones of us that have a procedural mindset. With this article I hope to provide some initial tips for the members of the PHP community that are ready to abandon the concept of the OneSingleProcedure(TM) to embrace the object world. Spaghetti would be fine; my PHP looks more like alphabet soup.
|
|
|
|
|
Step 1: Convert project into something that isn't PHP
|
|
|
|
|
lewax00 wrote: Step 1: Convert project into something that isn't PHP
voilà! spaghetti Ruby on Rails
|
|
|
|
|
It's still an improvement
|
|
|
|
|
Whenever I'm required to use PHP, I try to embrace my C# coding standards in the PHP code to the best of my ability. Most of the time, I do end up with elegant code that does well
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
While I'm certainly not a fan of PHP, I do admit you can write elegant, readable code with it. You've hit the nail on the head: to produce quality code with PHP, don't code like a PHP programmer.
|
|
|
|
|
I personally try to stay out of programming language flame wars with people because for the most part it is not the language being at fault but more the person using the language.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Then you're a better man than me.
I can't help noticing the quality of the publicly available code, especially documentation and examples is really poor in PHP which naturally leads to equally poor code when someone who only knows PHP uses said documentation and examples as their starting point.
|
|
|
|
|
jim lahey wrote: documentation and examples is really poor in PHP which naturally leads to equally poor code when someone who only knows PHP uses said documentation and examples as their starting point
I know what you mean. That is how I felt when I was looking around at example code for Lua.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
I do the same, but from the Java point of view. I'm working with a colleague on a small project that will be integrated as a module in a larger system (even though it won't actually talk to the system it's part of) and as a funny experiment, we're using folders structured as Java packages .
It does actually work quite well, and it helps enforce some MVC structure
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
|
|
|
|
|
Andrei Straut wrote: folders structured as Java packages
That is the one thing I like about Java, and I do my best to incorporate such a train of thought when developing in other languages like PHP or C# as well. Like my comment back to Jim in the above post, I try to avoid language flame wars because they are silly and it is more about the programmer using the language and not always the language itself. Unless the language has some feature to it that really doesn't make any sense why it is implemented.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
We are now quite a bit further along the development of ECMAScript 6 so it’s a good time to stop and take a look at what’s been happening. Obviously, the evolution of any language focuses around adding new capabilities. New capabilities are added in ECMAScript 5 and I fully expected that to continue in ECMAScript 6. What I didn’t expect was how new capabilities would end up tied to new syntax. JavaScript: the good, the bad and the ugly parts.
|
|
|
|