Saturday, April 2, 2016
Nightmare
I had a dream last night that I was back in college and I forgot to turn in the last assignment, rushing to finish it the last day, and the instructor insisted that I turn it in on a FLOPPY DISK, and I’m wondering, where the heck is my FLOPPY DISK drive that I can attach to my Mac and how long is it going to take, those things are so slow, and will my project even FIT on a floppy disk, and ARGGH!!!
Monday, March 21, 2016
What programming language should I learn next?
The latest programming language rankings came out last month, and the most popular languages have not changed much since last time, nor have they changed much over several years.
When I think about learning a new programming language, I think about several things:
These languages have a ranking from 1 to 10, but the fact is, they are all very popular languages and no one language is used a lot more than any other language on the list.
JavaScript is used on more than 90 percent of all web pages worldwide. You can use JavaScript to create animations, validate web forms, create web applications that run on data, and exchange data in the background with a server. JavaScript is a very easy language to learn, and you can learn it at almost any community college.
Java is a general purpose language that is used in many embedded systems. Embedded systems are things we don't typically think of as computers, like set-top boxes and electric meters. But Java is probably most famous for programming Android apps. Java is not too easy to learn, but it is not super hard either. You can learn it at most community colleges and some universities.
PHP is used to create web servers that can access SQL databases. It is the most widely used web server language, being the language of choice for about 70 percent of web sites worldwide. It is easy to learn. You can take a class at several community colleges.
Python is one of the easiest languages to learn. It is used a lot for IT scripting. You can learn it at many community colleges.
C# is used to program Windows and Windows Phone applications in the .NET framework. It is a hard language to learn. Some community colleges offer classes.
C++ is an older general purpose language. It is used a lot for embedded systems programming (see above). C++ is hard to learn. Many community colleges offer classes, and some universities.
Ruby is an easy scripting language. It is used in many of the same applications as Python, but the Ruby on Rails framework lets you set up a web server quickly without having to learn PHP and Apache. For that reason, a lot of startup companies use it to quickly set up their web sites. But later, they will switch back over to PHP for the long term. Ruby is one of the few languges that is rarely offered as a college class. You'll have to buy a book or take an online tutorial. Ruby is an easy language to learn, but setting up Ruby on Rails is difficult.
CSS is the language for making web site styles. I'm surprised it is on this list. It is important for making web sites, but it is not a true programming language. You can learn CSS as a part of most HTML classes in college.
C is an older version of C++ that is not object oriented. It is a very fast and powerful language, easy to learn, but also dangerous. It has many features that only experienced programmers should use, but beginners try it anyway. It is mostly used in embedded systems that must work very quickly, "in real time." You can learn C as a part of a C++ class in college.
Objective-C is the language for writing Mac and iOS apps in Xcode. Until two years ago, it was the only option for writing Apple apps, which explains its wide use. Some colleges offer Objective-C classes, but most colleges are switching over to the newer Swift language. You can find a Stanford class in Objective-C and Swift online, but they expect you to be a smart Stanford student.
What about other languages?
Swift is Apple's replacement for Objective-C. It is much easier to learn than Objective-C. But Swift hasn't yet caught up with Objective-C because it has some idiosyncrasies and it is missing a few features. Also, programmers have been using Objective-C for many years, but Swift has not been available that long yet.
SQL, particularly MySQL, is not on this list but it ought to be. MySQL is a language for accessing the most common form of database. It is used a lot with PHP. So it ought to rank up there almost as high as PHP. The reason it is missing from this list is because of the way the data was gathered.
Perl is a popular language that has been losing ground to Python and Ruby, because they all do similar things but Python and Ruby are much easier than Perl.
Go (or Golang) is a new language from Google that is easy to use, but hasn't really found its niche yet.
Groovy is a new language that combines the best of Java and the scripting languages like Python. It uses Java syntax, but it can be run as a script without needing a Java compiler.
When I think about learning a new programming language, I think about several things:
- How easy is this language to learn?
- How will I learn the language? In a community college class, online tutorials, or just study the manual?
- What can I use this language for?
- What tools does this language require? Can I install it on my computer?
Here is a summary of this information for the most popular programming languages.
| Language | Difficulty | Used for | Learn at |
|---|---|---|---|
| JavaScript | Easy | Web client | College |
| Java | Medium | General purpose, Android | College |
| PHP | Easy | Web server | College |
| Python | Easy | General purpose, scripting, QA, IT | College |
| C# | Difficult | Windows | College |
| C++ | Difficult | General purpose, embedded | College |
| Ruby | Easy | Web server, scripting, QA, IT | Online |
| CSS | Easy | Web styles | College |
| C | Easy | General purpose, embedded | College |
| Objective-C | Difficult | Mac and iOS | College |
These languages have a ranking from 1 to 10, but the fact is, they are all very popular languages and no one language is used a lot more than any other language on the list.
JavaScript is used on more than 90 percent of all web pages worldwide. You can use JavaScript to create animations, validate web forms, create web applications that run on data, and exchange data in the background with a server. JavaScript is a very easy language to learn, and you can learn it at almost any community college.
Java is a general purpose language that is used in many embedded systems. Embedded systems are things we don't typically think of as computers, like set-top boxes and electric meters. But Java is probably most famous for programming Android apps. Java is not too easy to learn, but it is not super hard either. You can learn it at most community colleges and some universities.
PHP is used to create web servers that can access SQL databases. It is the most widely used web server language, being the language of choice for about 70 percent of web sites worldwide. It is easy to learn. You can take a class at several community colleges.
Python is one of the easiest languages to learn. It is used a lot for IT scripting. You can learn it at many community colleges.
C# is used to program Windows and Windows Phone applications in the .NET framework. It is a hard language to learn. Some community colleges offer classes.
C++ is an older general purpose language. It is used a lot for embedded systems programming (see above). C++ is hard to learn. Many community colleges offer classes, and some universities.
Ruby is an easy scripting language. It is used in many of the same applications as Python, but the Ruby on Rails framework lets you set up a web server quickly without having to learn PHP and Apache. For that reason, a lot of startup companies use it to quickly set up their web sites. But later, they will switch back over to PHP for the long term. Ruby is one of the few languges that is rarely offered as a college class. You'll have to buy a book or take an online tutorial. Ruby is an easy language to learn, but setting up Ruby on Rails is difficult.
CSS is the language for making web site styles. I'm surprised it is on this list. It is important for making web sites, but it is not a true programming language. You can learn CSS as a part of most HTML classes in college.
C is an older version of C++ that is not object oriented. It is a very fast and powerful language, easy to learn, but also dangerous. It has many features that only experienced programmers should use, but beginners try it anyway. It is mostly used in embedded systems that must work very quickly, "in real time." You can learn C as a part of a C++ class in college.
Objective-C is the language for writing Mac and iOS apps in Xcode. Until two years ago, it was the only option for writing Apple apps, which explains its wide use. Some colleges offer Objective-C classes, but most colleges are switching over to the newer Swift language. You can find a Stanford class in Objective-C and Swift online, but they expect you to be a smart Stanford student.
What about other languages?
Swift is Apple's replacement for Objective-C. It is much easier to learn than Objective-C. But Swift hasn't yet caught up with Objective-C because it has some idiosyncrasies and it is missing a few features. Also, programmers have been using Objective-C for many years, but Swift has not been available that long yet.
SQL, particularly MySQL, is not on this list but it ought to be. MySQL is a language for accessing the most common form of database. It is used a lot with PHP. So it ought to rank up there almost as high as PHP. The reason it is missing from this list is because of the way the data was gathered.
Perl is a popular language that has been losing ground to Python and Ruby, because they all do similar things but Python and Ruby are much easier than Perl.
Go (or Golang) is a new language from Google that is easy to use, but hasn't really found its niche yet.
Groovy is a new language that combines the best of Java and the scripting languages like Python. It uses Java syntax, but it can be run as a script without needing a Java compiler.
Thursday, March 17, 2016
St. Paddy's Day
My dear Aunt Roe had a *big* cat she named Patrick. We liked to call him Paddy. She always said, "Don't call him Patty, that is a girl's name!" I bet there are a number of fine Irish lads who'd beg to differ.
Wednesday, February 10, 2016
The Software Development Process
Requirements
It starts with the customer telling you what they want in the software project. The customer might be a paying customer. Or it might be another department within your company, your boss, or the instructor in your class.It is important that the customer, whoever they are, tell you clearly what they are looking for. The main avenue for communicating this information is the requirements document. This is a written formal document that lists everything the customer is looking for.
The communication of the requirements document is usually followed up with a face-to-face meeting to settle details and verify there are no misunderstandings.
Specification
You or your company will then reply to the requirements document with another document called the specification. The specification will list all the details about how you will accomplish the customer's requirements. The specification will usually be created with conferences and meetings, because it must be detailed and specific; it is rare that one single person knows all the details about design, coding, testing, pricing, customer contact, and so on. Those functions are usually split up among different departments. So the specification document may require a bit of coordination.The customer will then review the specification and sign off on it once they believe it sufficiently handles all the details they require.
Coding
Of course, someone must code the customer's final product. Traditionally, coding does not start until the specification document has been signed off. In the modern world of technology, this rarely works. Instead of proceeding neatly from step to step in this process, we frequently work together on all steps at the same time. All modern companies like Google and Facebook work this way. You can tell if you are looking at an older or more traditional company because they want you to know about SDLC or Software Development Life Cycle. You can tell if you are looking at a more modern company because they are looking for things like Agile.In Agile programming, there may be a lot of back-and-forth between requirements, specification, and coding. Because of this, the requirements may change while you are in the process of coding. So you have to be ready to change plans at a moment's notice without complaining. This is why the process is called Agile (able to change direction quickly).
Testing
Every software product must be tested. Larger companies usually devote whole departments to nothing but testing. This is an important part of the software process. Without it, you may release a product that has bugs, and this will give you a bad reputation. If your product is not fully tested, it may get bad reviews in the iTunes store (or Google Play) and other potential buyers may decide not to try it.Maintenance
This can easily be the longest part of the software process, because maintenance can last many years. Every time Apple changes Swift or Xcode, or the libraries, or a new product comes out (iPad Ginormous?), you may have to change things in your code. Also, buyers will report bugs in your code, and request new features.So it is important that you write your code clearly, with comments, so next year, when you are trying to fix a bug, you can remember how your own code works. You'd be surprised how easy it is to forget what you were doing after you've not looked at your code for a while.
Saturday, January 30, 2016
Thursday, December 10, 2015
My peaceful tree
I hope we can code this scene in my high school class next week. This version is SVG. We can convert it to HTML5, then finally create a Swift app.
Tuesday, December 1, 2015
Reno Erat Rudolphus: Christmas CD 2013
This one has classical, pop, techno, piano, children, and even bluegrass.
| Nicolaus Esterhazy Sinfonia | 1 | The Virgin Mary Had A Baby Boy |
| Andy Williams | 2 | Kay Thompson's Jingle Bells |
| Golden Guitar Project | 3 | White Christmas |
| DJ Santa Claus | 4 | Silent Night |
| Nicolas Spencer | 5 | My Favorite Things/Carol of the Bells |
| Straight No Chaser | 6 | 12 Days of Christmas |
| Jack Jezzro | 7 | Deck the Halls |
| Nicolaus Esterhazy Sinfonia | 8 | Carol of the Bells |
| Stephen Miller | 9 | O Come O Come Emmanuel |
| Nicolas Spencer | 10 | The First Noel |
| The Clarke Family | 11 | Angels We Have Heard On High |
| The Cedarmont Kids | 12 | The Virgin Mary Had A Baby Boy |
| Nicolas Spencer | 13 | Thou Didst Leave Thy Throne |
| Simhah Chamber Collegium | 14 | Angels We Have Heard On High |
| Ray Conniff | 15 | The Little Drummer Boy |
| James Beuregard and Keri Taylor | 16 | I Cannot Tell |
| Jason Gray | 17 | Easier (Song of the Wisemen) |
| James Beuregard and Keri Taylor | 18 | Infant Holy, Infant Lowly |
| Nicolas Spencer | 19 | Brahms Lullaby |
Sunday, November 29, 2015
A Red-Nosed Christmas: Playlist 2002
This playlist has some 60's artists like Percy Faith, Ray Conniff, and Andy Williams interspersed with techno tracks, comedy, and (I hope) food for thought.
| Percy Faith | 1 | Joy to the World |
| Percy Faith | 2 | Do You Hear What I Hear |
| Guitar | 3 | It Came Upon A Midnight Clear |
| Ray Conniff | 4 | Little Drummer Boy |
| Andres Segovia | 5 | Greensleeves |
| Trans-Siberian Orchestra | 6 | Christmas Canon |
| Anne Murray | 7 | Christmas in Killarney |
| Trans-Siberian Orchestra | 8 | Revenge of the Sugar Plum Fairy |
| Techno Mix | 9 | Jingle Bells |
| Dean Martin | 10 | Rudolph the Red-Nosed Reindeer |
| Jimmy Buffett | 11 | Run Rudolph Run |
| Big Bad Voodoo Daddy | 12 | Rockabilly Christmas |
| Elvis Presley | 13 | Santa Bring My Baby Back |
| Roy Zimmerman | 14 | I Tawt I Taw Ol' Tanty Claus |
| The Chipmunks | 15 | The Chipmunk Song |
| Cheech and Chong | 16 | Santa Claus and His Old Lady |
| Nat King Cole | 17 | Chestnuts Roasting |
| The Foremen | 18 | Buy War Toys For Christmas |
| Andy Williams | 19 | Some Children See Him |
| Randy Stonehill | 20 | Christmas Song for All Year 'Round |
Quirky Christmas: Christmas Playlist 2001
Only my family and closest friends know that many years, I like to create a Christmas CD to share. This playlist is the first Christmas CD I put together (and arguably the best). I believe it is from 2001, because it seems to reflect the events of 2001.
https://www.youtube.com/playlist?list=PLoqipQPAfFOoNm0QNCGVpDA29emp9ukKS
https://www.youtube.com/playlist?list=PLoqipQPAfFOoNm0QNCGVpDA29emp9ukKS
| Larry Norman | 1 | Christmastime |
| Tom Lehrer | 2 | A Christmas Carol |
| Frederick Fennell | 3 | Sleigh Ride (Leroy Anderson) |
| LA Guitar Quartet | 4 | Nutcracker - Overture (Tchaikovsky) |
| LA Guitar Quartet | 5 | Nutcracker - March (Tchaikovsky) |
| LA Guitar Quartet | 6 | Nutcracker - Russian Dance (Tchaikovsky) |
| The Roches | 7 | Hallalujah Chorus (Handel) |
| Handel | 8 | Concerto a Due Cori |
| John McCutcheon | 9 | For Unto Us A Child Is Born (Handel) |
| Mannheim Steamroller | 10 | Do You Hear What I Hear |
| Mannheim Steamroller | 11 | Away In A Manger |
| Pierce Pettis | 12 | Miriam |
| Bruce Cockburn | 13 | Cry of a Tiny Babe |
| Kathy Mattea | 14 | Straw Against the Chill (Bob Franke) |
| Dennis Lee | 15 | Jesu, Joy of Man's Desiring |
| David Massengill | 16 | Jesus the Fugitive Prince |
| John McCutcheon | 17 | Christmas in the Trenches |
| John Lennon | 18 | Happy Xmas Was Is Over |
| Bing Crosby & David Bowie | 19 | Peace On Earth / Little Drummer Boy |
Friday, November 13, 2015
Animated Adobe Icons
We are doing these icons in the high school class. We have not finished the last icon yet. We are drawing them in SVG. We are animating them using JavaScript.
Subscribe to:
Posts (Atom)





