How To Install Nginx With PHP5 (And PHP-FPM) And MySQL Support On CentOS 6.5

How To Install Nginx With PHP5 (And PHP-FPM) And MySQL Support On CentOS 6.5
Nginx(pronounced “engine x”) is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource c…

Benefits of offering your products in your customer’s local currency

You started your online business to broaden your customer base. Because of this, you’re shipping orders all around the world, even to places you’ve never visited. All of this is very exciting but now you’re hearing terms like “localization”, “internationalization” … Read more

Android TV Pegged for June Appearance

Android TV has appeared in tech industry rumors for years, but recent reports suggest the long-awaited technology actually may be making its way into the real world at last.
Google apparently plans to announce the launch of Android TV at its Google I/O developer conference in San Francisco later this month, according to “multiple sources familiar with Google’s plans.”

2014 Krita Sprint in Deventer, Netherlands

Though the Krita team was one of the first to start the tradition of having sprints, with the first Krita Sprint in Deventer, in 2005, Krita sprints are rather infrequent! But, of course, we also meet each other during the more regular Calligra sprints.

Anyhow… Krita developers and artists met again in Deventer in May 2014. It was the most awful weather you can imagine for a sprint—warm, sunny, bright, lovely to be outside! Long and lazy lunches, discussions out on the roof terrace until after midnight, walks through the park. Is it a wonder nothing much got done?

Wait, that’s wrong! Bravely resisting the lure of the fine spring weather, three artists and six developers got down to some serious work! In the week before the Krita sprint, Boud, Dan, Arjen and Stuart already had a week-long sprint working towards the final release of Krita Gemini on Steam, and on Thursday the others started to arrive. And only by Tuesday the house was empty again…


Krita Sprint Team

Let’s see what got done:

Fundraiser
We’ve been working on the Krita 2.9 Fund Raiser since April. It took more work than we’d ever imagined, but now we’ve got a great promo video thanks to Björn Sonnenschein, and together we set up and created the Kickstarter campaign. We’ve got ambitious goals here: not only do we want Dmitry to go on working full-time on Krita, we want to extend that and have Sven (who’s been a Krita hacker for over ten years) work full-time on Krita, too. And if we exceed that goal, well, there’s OSX to conquer! Stay tuned, we expect to go live really soon now!

Releases
Krita 2.9 will probably be the last release based on Qt4 and KDE4. It’s a huge and ambitious release, with the fund raiser being based around 24 ambitious goals and then — we also want to finish the resource bundle manager that Victor Lafon from Toulouse started and make it possible to have more than one image open in a window. After the 2.9 release, it’s time to port to Qt5 and KDE Frameworks 5. We spent some time discussing which tiers from the Frameworks we want to use, and how to best approach the port.

Translations
With the interest in Krita growing by leaps and bounds—the Windows installer has seen more than half a million downloads—interest in translations is growing, too. It takes some effort to get the volunteers who want to work on translating Krita to push their efforts through the right channels, but that is working out well. And Dmitry Kazakov is in close contact with the Russian translation team. We discovered that Krita’s terminology is a bit of an organically grown mess, and that there are many places where context is missing. So we decided to get Dmitry together with Alexander Potashev and Paul Geraskin in Russia, and they would go through Krita, figure out what needs fixing, and fix it. That effort is underway right now, and might already be merged by the time you’re reading this.

Krita Foundation
The Krita Foundation was created to support the development of Krita by, well, actually paying for development. Time is money, and money gets us time, and accelerated development. Thanks to a big sponsor, Dmitry has been able to work full-time for the entire development period of Krita 2.8. The Foundation is pretty healthy, with money coming in from donations and sales of the DVD, as well as the Krita Development Fund, but we still want to grow and do more and more!

SIGGRAPH
During the sprint, we got mail from Blender’s Ton Roosendaal, proposing to cooperate on having a stand at SIGGRAPH 2014, the foremost conference and trade show for graphics. We’ve found at least one sponsor, and have already reserved some floor space. Now we need to furnish it and find money to travel to Vancouver. It’s an awesome opportunity to be the first KDE project to show off at SIGGRAPH!

User Sessions
Last sprint, in Amsterdam at the Blender Institute in 2011, we sat down our attending artists and made them work with Krita for half an hour, videotaping and recording their work. They were allowed to gripe and whine to their hearts’ content, and the developers were allowed to listen and make notes and fix Krita! Back then, Krita 2.4 hadn’t been released yet, and Krita was, in the words of one of the artists, a very nice amateur application for amateur artists, but not suitable for production work. Well, we’ve come a long way! Sure, one artist made Krita crash (and we fixed the crash within fifteen minutes…), but there was almost no whining, no griping, people could just draw and paint. Still, Dmitry’s notes were extensive, and we’ve got work to do!

Book Sprint
One thing that’s missing is a book on Krita. Wolthera is busy with the manual on userbase and Timothée Giet has proposed to organize a book sprint for Krita. He is currently investigating whether we can get a subsidy for the book sprint!

Sunshine
Yes, in the end, we did enjoy the sunshine, too… It turns out that our lunches were just as productive as the meeting and the hacking sessions, and it’s true about the late nights on the roof, where we were busy sketching, painting, hacking, discussing and planning.

Thanks!
Thanks are due to KDE e.V. who sponsored travel for our hackers and artists! The Krita Foundation paid for the t-shirts. We managed to mostly fit into my place in Deventer, which helped keep the accommodation costs down. It was an awesome sprint, and we’re going to make Krita better, better and better!

Dot Categories:

Ian Wadham, Venerable KDE Programmer

The KDE Applications 4.13 announcement highlighted the delightful new capabilities of Palapeli, the KDE jigsaw puzzle application. What the announcement did not mention is that the Palapeli maintainer, Ian Wadham, is celebrating 50 years of software experience. He’s ready to hand off Palapeli and his other KDE software development responsibilities. Albert Astals Cid called attention to Ian’s achievements and suggested a Dot interview.


A Portrait of the Programmer as a Young Man

Ian Wadham’s bio at a glance

  • 1938 – Born in England
  • 1959 – Graduated in Physics and Mathematics at the University of Cambridge
  • 1960 – Migrated to Australia
  • April 1964 – Became a computer programmer 50 years ago
  • KDE Games developer for about 12 years
  • Currently lives in Melbourne, Australia

What are your thoughts about cutting back on software development?
Regret, but I have had a long innings. I will still potter around on my own, but not following any schedules. If something turns out well, I might commit it.

This is my second retirement. My first, from the workforce, was in 1998. This time I am withdrawing from writing programs for public use. I will continue to present a Science course for seniors at the local U3A (University of the Third Age) .

I seem to be getting involved in moves to make KDE’s portability work better on the Apple Mac OS X platform. And my grandchildren are always a joy.

How did you get started as a coder?
I prefer to call myself a programmer – and never a hacker. A hacker is someone who carves wood with an axe. I see programming as a craft. Sometimes I hack, to get a quick answer to a question, but when I have the result, I always like to go back and program it “properly”. If I do not, I find I cannot understand my own code a few months later.

How I started was one of those accidents of fate. My Ph.D. studies were not working out and I was looking for a new career. My girl-friend at the time was a programmer and she told me no qualifications were required, only an aptitude test, and that the job was interesting and the pay excellent. This was 1964 and I was nearly 26.

So I put in some applications and accepted the offer of my first programming job the night before I was interviewed as a Physics Instructor in the Australian Navy. All next morning I was saying that I had already accepted another job, but the military has its own ways of doing things. I went through the full medical check, the eye test, the IQ test, the psychology interview… Finally I entered a room with a long table and wall-to-wall admirals and captains – gold braid everywhere – and was finally allowed to deliver my news. “Oh, thank you for telling us,” they said.

At that time in Australia, very few physicists were using computers. Computer use was more common in the US, UK and Europe, especially in large, well-financed organizations such as NASA, the Atomic Energy Commission and the US Military.

Computers for individual physicists were an exotic and trendy means of avoiding lengthy and tedious calculations, if you could afford the time and money to acquire one and learn how to use it, but were not yet a routine tool as computers became within the following 10 years.

What major technology shifts have you been involved in?
You name it. It was good luck to join in when transistor hardware, assembly language and Fortran II were taking hold. Some people were still using valve machines and machine language. As a programmer I was involved in the beginnings of operating systems, real-time systems, on-line screens, minicomputers, structured programming, supercomputers, LANs, desktop systems (Xerox Star), relational database systems, C and multi-host commercial Unix systems.

Companies?
The best company I ever worked for was Control Data Australia, 1965 to 1969. We have a website of memories, and we still keep in touch. On 17 May, we had a biennial reunion. I do not know of any other company group like it.

Control Data Corporation, our US parent company, made the largest and fastest computers in the world. Our chief designer was Seymour Cray and for decades he designed the world’s largest and fastest computers: later in Cray Research, his own company. At Control Data he insisted on seclusion and freedom to work in his private laboratory in his home town, Chippewa Falls, Wisconsin. There were many legends about him. One of my favorites is that each morning he would walk down to the river near the Falls and an eagle that nested there would fly down and perch on his shoulder.


CDC-160A Personal Computer

My first computer was one of Seymour’s lesser-known designs, a Control Data 160-A. The desk in the foreground is the entire machine. Some say it was the first minicomputer, even the first PC. It was significant too because essentially the same design, shaped as a 20cm cube, went into the ten peripheral processors on the CDC 6600 supercomputer. The 160-A was a wonderful first machine because it was possible for one person to learn everything about it – something that has been impossible with most machines since.

This was your “personal” computer? Wow!
Er, no! I was a young, penniless guy and it cost US$60,000. I meant it was the first computer I worked on, not the first one I owned. It belonged to Australia’s telephone research labs and I was programmer in charge, bureau manager and general dogsbody. If I stayed late at work, I could have a play…

FOSS Projects?
KDE is my only official FOSS project, but I feel that, by avoiding the IBM and Microsoft worlds, I have been able to work on FOSS all along. Free because it came with the hardware and you could modify it or fix bugs (i.e. also free in the Stallman sense). In the 80s and 90s you could still obtain access to source code (UNIX) on minis and megaminis for a fee, but I never found the need.

How did you come to KDE? And how long have you been part of KDE?
Microsoft and its business practices had always turned me off. My first IBM compatible PC (1995) was mainly for work purposes. After retiring in 1998, I started programming again in 2000. My son gave me a set of SuSE CDs for Christmas and it included this new desktop system called KDE 1.

Among the source code, in the Alpha section, I found the first version of KGoldRunner, by Marco Krüger. I had always liked Loderunner’s unique combination of action, strategy and puzzle solving and had always wanted to do something non-trivial in object-oriented programming, ever since Simula and Smalltalk days. So I set to work to learn C++ and Qt and with Marco’s permission produced a new version of KGoldrunner, committed to kdenonbeta (a precursor of playground and review) in March 2002.

Akademy is being held this year in Brno, Czech Republic. Have you been to Akademy?
Yes, Akademy 2008 in Belgium. The talks were great and so were the BOF sessions on games. That Gouden Carolus beer on the river trip and on the dinner night at the brewery in Mechelen was something else again. I now know it to be one of the world’s most powerful beers – and they were serving it in half-litre glasses! The high point of Akademy 2008 for me was to meet my fellow workers on KGoldrunner and take them to dinner in the main square at Mechelen.

You maintain several KDE applications, mostly games. What are they?
KGoldrunner, Kubrick, KJumpingCube, KSudoku and Palapeli. They are about 13% of the KDE Games, but 20-25% of the lines of code.

KGoldrunner is based on my all-time favorite game: Loderunner. One intriguing thing about it is the way bugs become features. One day I was sitting with my son (grown up) when he found out that it was possible for the hero to dig holes while falling through the air. Before I could fix the bug, he had made up a level that exploited it. Now that “feature” is an important part of many creative new games that people from around the world have contributed.

Kubrick was an effort to branch out into 3-D and OpenGL. It’s fine, but I am no good at cubing and I wonder if others enjoy Kubrick.

KJumpingCube and KSudoku I rescued from unmaintained. In KJC I added features and AI to make it more intelligible and also more challenging. In KSudoku, there was a half-finished re-development which left it so that it would generate mainly easy puzzles – no good at all for a serious player like my wife. I found a Python puzzle-generation algorithm on the net and, with the author’s permission, adapted it to C++ and KSudoku. I like KSudoku because it supports so many variations on the basic puzzle. I do not know of any other Sudoku game that does that.

My favorites games to play are KPat (solitaire card games), KSudoku (X and Aztec variations) and Palapeli.

You’ve gotten the applications into good shape, and are ready to hand them off. What type of person would you like to see take over? What will they get out of working on these applications?
I would like to see KDE set up a maintenance group and standards for “maintainability” of code. Programs that reach a reasonably good standard could then be maintained interchangeably by members of the group.

The group could be continually changing. Nobody can stay interested in such work for long. Also the group and its stock of programs would be a good source of Junior Jobs and a place for newbies to start. It would need to have some experienced members, or ready access to such people, because some bugs are too hard for trainees to solve.

This is not a new idea. It is roughly what has been happening everywhere I have worked since about 1967, when the burden of people quitting jobs and leaving behind unmaintainable, half-finished messes became intolerable for most organizations.

What was your experience in the various game transitions from early days to now? Did you play computer games when they were first available?
Games go back a very long way. Some of the earliest computers played music and a few played games. I remember a fellow-student in 1959 giving me a copy of a paper tape as a souvenir. It contained an EDSAC II program to determine if the king was in check.

Even the first supercomputer, the Control Data 6600, in 1966, had a game similar to KSpaceDuel (spaceships orbiting the Sun and shooting missiles). Only the elite and hardware engineers got time late at night to play games on those multi-megadollar machines.

Things became easier with minicomputers. In 1978 I was at a customer’s DEC PDP-11 site presenting a new version of their application system and was asked to finish up early. Why? It was the night the users all got on the computer to play Adventure, the original adventure game. They had made a wall-chart mapping out all the caves.

On our first PC, an Apple IIC, my children and I played a lot of Loderunner and Zork (“You are in a maze of twisty little passages, all of them alike.”). That was in 1983. We wore out several joysticks on Loderunner. We made up levels and challenged each other to solve them. Many of the current KGoldrunner levels come from that time. My Apple IIC still runs and can still play the Loderunner demo, but I used up the last gasp of the last joystick working out design details to be used in KGoldrunner. So I cannot play Loderunner now.

Later I had a Commodore Amiga 500 and became very hooked on Flood and Populous I and II. The Amiga had much better graphics and OS than the IBM PC and Windows, but sadly the Commodore company lost its way. My Amiga also is still in working order.

Later still, on Windows, I worked my way through Myst, Riven and Alpha Centauri. I never liked first person shooters, though.

You’ve added a lot to Palapeli, the jigsaw puzzle application. The new capabilities make it possible to do puzzles with a lot of pieces. It’s fun and challenging. The manual is quite helpful, especially with a lot of pieces. What was the thought process to create the latest version?
Several of us in the KDE Games group had kicked around ideas in 2010. Johannes Löhnert wrote the puzzle Preview class then, but it did not get implemented.


The Book by Juan Gris in Palapeli; 320 pieces; main screen, right edge piece-holder, preview

It seemed necessary to resolve the issues with a practical test, so I bought a 1000 piece puzzle and tried to solve it on a small table, no larger than the completed puzzle, using only the table and the box to hold pieces. As I played, I noted difficulties that arose and how they could be overcome. At the same time, I was mentally trying out analogues of what might be feasible on a computer screen. And of course, I had already tried solving large puzzles with Palapeli 1 and had seen what physical difficulties arose there.

Most of the manual was already written by Johannes Löhnert and Stefan Majewsky. I just added the chapter on large puzzles.

When I was growing up, we often had a jigsaw puzzle on the dining room table. It was a social event. What about adding a capability for working with others on a puzzle with a lot of pieces?
That’s a nice idea. I have never understood how networking is done in KDE Games. Maybe it is time I found out.

It’s hard to beat the computer at KJumpingCube. Do you have any strategy tips?
Only what is in the Handbook. KJC is about to become harder. Inge Wallin has an AI library he would like to try out on it. You have met the AI players Kepler and Newton. Prepare to meet Einstein!

What would you recommend to young programmers?
Read as many of other people’s programs as you can – even bad programs. Try and figure out what makes them good or bad, easy or hard to understand and maintain.

Can people learn to program when they are older?
Yes. My friend Glen, a retired airline pilot, taught himself on an IBM PC when he was fifty something. Within a year or two he became good enough to get work as an independent contractor.

Windows, Mac or Linux? Why?
Apple Macbook Pro, with OS X 10.7, Lion.

One day my Windows/Linux dual-boot system’s hardware died suddenly. I bought a new machine and installed the latest OpenSuSE. When I booted up KDE, my carefully constructed four-part Plasma desktop had been long gone, and I found myself in some new, empty and quite alien-seeming version of KDE and Plasma. It took me two days just to find out how to get rid of the blue glow around active windows, which was hard on my tired old eyes.

Ian Wadham – older, wiser, still gaming

It was important for me to keep working rather than play with settings, so I turned to the MacBook I had been messing around with, which was also supporting my wife’s iPhone and iPad (pre iCloud). I had some KDE and Qt software already installed, with MacPorts, and I was soon able to set up a KDE development environment. OS X really is quite a lot like Unix and Linux.

I like working on the Macbook. The desktop is quiet, unobtrusive and easy on the eyes. I can work for hours without getting tired or being distracted. Also the battery is long-lived, Time Machine does regular backups and the Spotlight indexer collects everything (even my source code) with no perceptible overhead. I feel I am more productive with Mac OS X than I ever was with Windows or KDE because I do not have to think about what the desktop is doing.

I feel as if I have come home.

The traditional KDE interview question—Richard Stallman or Linus Torvalds?
Edsger Dijkstra.

Thank you for the many years of work you’ve dedicated to the advancement of FOSS, and the KDE games in particular. Thanks also for sharing some of your experiences on the front lines of computer development over the fifty years of your active career.

Many thanks to Albert for the idea of interviewing Ian, and to Bob Potter for bringing in technical perspectives.

Dot Categories:

Join PrestaShop and the biggest names in Ecommerce at IRCE 2014

Since opening our Miami office in 2011, we kick off each summer with a trip to the windy city for the annual Internet Retailer Conference and Exhibition (IRCE). This year, we’re happy to celebrate the 10th anniversary of the World’s … Read more

How to manage Sales Taxes on your Online Store

When setting up an online store, more often than not, people tend to overlook or consider sales tax requirements, somewhat late in the process. However, it’s imperative for online retailers to get familiar with the local regulations, in a timely … Read more

KDE Commit-Digest for 20th April 2014

In this week’s KDE Commit-Digest you can find an interview with Aaron Seigo about KF 5 and a look into KDE SC on devices. And of course, the overview of the development effort is there as every week and includes:
Ktexteditor adds keyword-based completi…

10 Things I Wish I Knew Before Opening an Ecommerce Site

You’re just about ready to launch your online store – you have your products and website ready to go – so what could you possibly be missing? We asked online merchants what ideas and concepts they didn’t understand until after … Read more

Heartbleed-Weary Tech Firms Show OpenSSL a Little Love

Remember Heartbleed? Several weeks ago, the exposure of this security bug chilled the Internet, highlighting once again that even the seemingly unbreakable can be hacked. In the case of the Heartbleed vulnerability, encrypted data was at risk of theft. Sites potentially vulnerable to Heartbleed — from Canada’s Revenue Agency to AWS to Yahoo to Reddit — urged users to change their passwords.

KDE Commit-Digest for 13th April 2014

In this week’s KDE Commit-Digest:
Exponential zoom in/out feature in “Solar System Viewer” of KStars
Lessons pane gets expand / collapse all buttons in Parley
Fixes to placement of KRunner on multi-screen setups
More grid presets and shortcuts for togg…

7 Strategies to Implement When Your Website Traffic Drops

Traffic was never an issue for you until one day “BAM!”, your site traffic drops. Your once bustling online store is quieter than a ghost town. Potential customers have suddenly disappeared and you’re left with an online store with no … Read more

Installing Apache2 With PHP5 And MySQL Support On Ubuntu 14.04LTS (LAMP)

Installing Apache2 With PHP5 And MySQL Support On Ubuntu 14.04LTS (LAMP)
LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on anUbuntu 13.04 server with PHP5 support (mod_php) and MySQL support.

World Wine News Issue 370

WWN Issue 370 was released today.

1.7.20 will be delayed
AppDB/Bugzilla Status Changes

The Witcher 2: Assassins of Kings Game Available On Linux Via Steam

The Witcher 2: Assassins of Kings, is available starting today for Linux users, via Steam (and SteamOS, obviously).The Witcher 2: Assassins of Kings is a popular action role-playing hack and slash video game developed by CD Projekt RED. According to Wikipedia, more than 1.7 million units were sold as of May 2012.Critics praised the game […]

This Weekend’s Streams

This weekend on Twitch.tv/Runescape, Kirk’s back! MotursRS is debuting and Dean’s still on the Road to Drygores.

Elf City – Design Document 2

Download the second of five design documents for Prifddinas – the elf city – and have your say as we build this monumental update!

RuneRadio – Mod Crow – 17:00 BST, 22nd May

This Thursday, Mod Crow blasts out his favourite beats while answering your questions on RuneRadio!

New Players’ Gallery Competition and Journey Winners

Here are the winners of the recent 48th Players’ Gallery, plus a new theme: Elves.

Spotify For Linux Gets A Refreshed User Interface, Other Changes

Spotify is a music streaming service that comes with native clients for Microsoft Windows, Mac OS X, Linux as well as mobile devices such as iOS, Android, BlackBerry, etc. The service is available in quite a few countries, including US, UK, Sweden, Spain, Portugal, Norway, Netherlands and more – see the Spotify Geographic availability @ Wikipedia.The […]