Archive | Blog RSS for this section

Learning to code

wooden_blocks___stock_photo_by_jeuxsansfrontieres-d4ahfz4

I first started with coding back when I was … well I was 8 sitting on the living room floor on a Commodore 64 attached to the TV with a scroll (yes it was a scroll of paper) with a bunch of code in Basic on it. My father had brought it back (and several others) from one of the Navy ships he had been on from the computer folks for me to see. I sat for hours typing in the lines of code.

C64_startup_animiert

After hours of typing and hitting “run” the thing would do something extremely simple and I would be frustrated. At this point I began to play with the code and make changes, from that point on coding has been a part of who I.

I’ve seen, heard about and read lots of things lately about how people are starting over in life, careers, etc and learning to code. Whether that is isolated to the circles I travel in or not I thought I would look into a bit more and see exactly how easy it would be for someone to get started and actually learn to code now.

Surprisingly the numbers of resources is rather vast!

Code Combat looks kind of fun and I’ll have to find some time to check it out, learn to code by playing a game sounds like it could be fun – but would it work?

Code Avengers also looks kind of interesting, prompted to do a survey to win a lifetime membership worth $125 (so yep a fee is involved I guess) and they have a bit that will catch your attention right away.

Screen Shot 2014-10-06 at 10.38.52 AM

There area couple of things I have looked into already one of those is Skillcrush. They offer a free 10 day bootcamp that came in via email and was nice and easy to digest and pretty accurate. Nicely presented data and information and I honestly think anyone giving it half a chance would result in a considerable gain in knowledge and chance to head off into the right directions for a digital career but it’s not the end but only a beginning.

One thing that worries me about some of these new sites and “learn today” is the misconception that you’d be skilled coder ready for your first job/contracts within just a few courses. So if you are encouraging someone to start learning or even ready to learn yourself please remember that coding is a skill and a craft and takes years to learn, master and be able to apply appropriately.

With that said though one thing I’ve noticed some of the sites don’t go into or offer is “where” to put your coding, sure some talk about Github and other services but as most focus on “website” technologies none really go into a lot of details there – I guess it’s the separation between operations and development?

There are several options for “getting started” on the actual platform side. You can get a web host (google them), or your own virtual image like one from Digital Ocean (link contains a refferal code of mine), you can also download a package for your computer (WAMP, MAMP, LAMP). The packages actually provide an installable base for web development. The web server, development languages, etc.

These items in themselves however provide their own series of issues – such what happens if I can’t install something on my own laptop (for whatever reason – thinking work laptop and it’s not your in job description) or perhaps you don’t want a monthly cost associated with a host, or maybe that’s a step too far for you at the moment and you are just not sure about how to deal with all of that part?

Well there is another alternative and it’s actually quite cool. It’s a bit more geeky and a bit more technical but also a great learning experience!

I’m referring to the Coder for Raspberry Pi project.

Coder is an experiment for Raspberry Pi, built by a small team of Googlers in New York. It’s a free piece of software that turns a Raspberry Pi into a simple, tiny, personal web server and web-based development environment–just what you need for crafting HTML, CSS, and Javascript while you’re learning to code. It just takes ten minutes to set up and you’re ready to start experimenting with building real web stuff.

They have a simple 3 step process to get started and even without a lot of technical skills you should be able to get up and running within a extremely short period of time!

  1. Download, unzip, and run the Coder Installer. You’ll need a 4GB SD Card.
  2. Insert your new Coder SD card into your Pi, make sure your Pi and your computer are plugged into the network, and power it up.
  3. On your computer, visit http://coder.local/ in Chrome to connect to your new Coder and start playing.

But what is a Raspberry Pi you say? Well that’s it’s a…

The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It is a capable little computer which can be used in electronics projects, and for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn how computers work, how to manipulate the electronic world around them, and how to program.

And they run on Amazon at very affordable prices and from other locations as well! Model B would be a good one to start with. Add in a power unit, wifi module (or using a cable connection) and a SD memory card and you are looking at maybe a $50 investment maybe a bit more. A small investment if you want to give your kids or yourself a safe environment to begin learning to code in.

Good luck coding!

 

Game Review: Battle Pirates

bp

For a bit over a year I’ve been playing an online strategy game from a company called Kixeye.

Founded in 2007, KIXEYE (formerly Casual Collective) is an independent game developer that
makes games for gamers by gamers. Responsible for popular titles like Backyard Monsters,
Battle Pirates and Desktop Defender, KIXEYE is the first to deliver proper game play experiences
on social networks. The company is based in San Francisco and backed by Trinity Ventures and
Lightspeed Venture Partners.

The game is called Battle Pirates and is a multiplayer online strategy game and kind of addicting! I started playing the game through Facebook but you can play from their own site as well, it’s a Flash based game but I think really well done.

They officially launched on Facebook back in 2011, and the press release describes the game as such:

Battle Pirates is set in the year 2067 and Earth is covered in water. Due to a terrorist-sparked
world war, only a small amount of Earth’s original landmass remains. With a 95% extinction
level, the only remaining survivors are split into two factions: the Foresaken, impoverished
survivors who rely on engineering hacks, guerilla warfare and piracy, and the oppressive
Draconian Empire, the once elite citizens who’ve now become a giant military complex.

Like most games it has it’s ups and downs and large community following and like most it has it’s fanatics, crazies and die hard fans as well as those who just hate it (but always seem to keep playing).

So the game is such that it runs in 5 worlds broken into sectors of 100 and you can travel throughout those sectors in the world where your base resides, however to move your base you must “relocate” it via a friend. You can relocate within your world or sector or to a completely new world or sector. I’ve moved to several of these worlds and sectors in my time since playing but the only differences you find are of course the players, the game elements are the same.

You can attack other players, or game elements (Draconian or Reaver targets) you can create an alliance or even join an alliance and thus attack players in other alliances or just put around attacking the game elements all the time. Each week they have a “Forsaken Mission” often called the “weekly” and once you start it you have 72 hours to complete Tier 1 through 4 where you get a prize randomly from each tier you complete. Tiers are based on points and targets are different levels paying out different point amounts.

For example here is a video of me attacking a level 65 Outpost with my Barracuda subs, the entire outpost pays out 923K points and each ship pays out 15K. Tier one is 150K, Tier 2 is 500K, Tier 3 is 2.5 million and Tier 4 is 4.5 million points.

Now once a month they give us a “monthly raid” which has bigger targets, more points and you can choose your prizes based on the points you earn; usually you get 4 to 6 days for those raids and everyone starts and stops at the same time.

The last raid was also the newest format:

This format eliminate the ability for you to work together to take out targets but added in different aspects which made the raid more compelling to try. The previous formats were similar to this one:

It’s a strategy game where different hulls have different modifiers and bonuses and different weapons, advanced items and armors can make or break your fleet (up to 5 ships per fleet – up to 14 fleets) so in theory two players all with the same items could end up with two completely different fleets.

The game is free to play but you can also purchase game to make repairs quicker, build faster, etc. For the most part you can do quite well without spending a penny but at the same time you can do really really well with coins. Those who are quick to open their wallets are called “coiners”, those who cheat are called “hackers” and yes several hacks exist but usually you end up banned at some point. The numbers of those whining and complaining is rather large depending on the areas you are looking, reading and active but yet still plenty playing the game. Gamers always get sensitive to change in their games so you take it all as you see it.

Personally I’m a level 67, some nice ships a decent base and do well for myself. If you want to play and want some tips you can find me in the game or through Facebook.

bp_1

The game does play in real time so when you have an 8 day build or 6 hour repair then you really have that time to wait! Lower levels you can usually get some great stuff build and that very quickly so you work your way up into the bigger and longer times.

bp_2

Battle Pirates will be performing an extended maintenance period Monday, September 8th at 9pm PDT. Battle Pirates will be unavailable until the maintenance is complete.

Swift, new programming language

Recently Apple announces Swift, a new programming language.

Apple today announced a new programming language called Swift at WWDC, which will replace Objective C as the language developers use for building iOS and OS X apps.

Craig Federighi announced the new language on stage saying, “We’ve used Objective-C for 20 years, and we love it. But we wondered what we could do without the baggage of C.”

Federighi confirmed that Swift code and C can live in the same app together, too, so developers can upgrade their code as they go, rather than replacing it in one go.

 

Apple has published an eBook on Swift, which can be downloaded for free, here.

I’ve been hunting for more on the language or a way to try it out but the best I’ve gotten is their free download of the eBook. I’ll post more as I find it!

We’ve moved… kind of

I finally got fed up with the VPS I was using and we’ve moved the entire site – it’ll take a few days to relink podcasts, images, etc so hang in there.

Hands on, no fluff, no hype – what a developer wants!

5119329306_cbfe0d92be

So this year at the SAP TechEd events in both Las Vegas and Amsterdam we are bringing the event that I created, SAP CodeJam, to the show floor in a “mini” version – you’ll be able to come by and actually in short bursts see how to get started in the world of SAP development but also why you would even want to. Everything will be hands on from seeing how to install the tools and integrate various tools together – like SAP HANA Studio with ABAP in Eclipse. We’ll have systems there for you to try it yourself or bring your own laptop and we’ll help you get things on there and show you how to get your own developer server to play around with.

Already have the tools but not sure what to do next, not a problem we’ll also show you how to connect to the various platforms and help you understand which one might work best for your current skill set and help you get started with learning new skill sets as well!

Tools in place, connections in place then of course it’s time to create something and to see how it works!

TUESDAY, OCTOBER 22

10 AM – 12 PM Stop by if you are interested in exploring any of the following topics:

  • Install Mobile SDK
  • Connect to a mobile system
  • My first mobile app on Android
  • My first HTML5 mobile app
  • Connect to SAP HANA Cloud Platform
  • My first app for SAP NetWeaver Gateway technology
  • Connect to a system running the ABAP programming language with ABAP in Eclipse
  • My first SAPUI5 app

·

12 PM – 1 PM Featured Session: My first XS app for the SAP HANA platform(With Thomas Jung and Rich Heilman)
1 PM – 6 PMMEET SAP HANA DEVELOPERS Let’s have fun with SAP HANA! SAP HANA experts will be on hand to answer your app development questions, help you install the tools, help you connect to a HANA system, guide you through the process of building your first SAP HANA app, and more. SAP HANA experts will be available all afternoon so just visit us when you get a chance!

WEDNESDAY, OCTOBER 23

10 AM – 12 PM Stop by if you are interested in exploring any of the following topics:

  • Install SAP HANA Studio
  • Install SAP HANA Cloud Platform tools in the SAP HANA Studio
  • Install SAP NetWeaver Gateway technology tools in the SAP HANA Studio
  • Install UI5 tools in the SAP HANA Studio
  • Install the ABAP programming language in Eclipse in the SAP HANA Studio
  • Connect to a system running SAP HANA software
  • My first XS app for the SAP HANA platform
  • My first XS UIS app for the SAP HANA platform
  • Install Mobile SDK
  • Connect to a mobile system
  • My first mobile app on Android
  • My first HTML5 mobile app
  • Connect to SAP HANA Cloud Platform
  • My first app for SAP NetWeaver Gateway technology
  • Connect to a system running the ABAP programming language with ABAP in Eclipse
  • My first SAPUI5 app

·          

12:30 PM – 1:30 PM Featured Session: My first app for the SAP HANA Cloud Platform(With Matthias Steiner and Rui Nogueira)
1 PM – 6 PMMEET SAP HANA CLOUD PLATFORM DEVELOPERS Let’s have fun with SAP HANA Cloud Platform! SAP HANA Cloud Platform experts will be on hand to answer questions about building apps on SAP’s cloud platform, help you install the tools, help you connect to SAP HANA Cloud Platform, guide you through the process of building your first cloud app, and more. SAP HANA Cloud Platform experts will be available all afternoon so just visit us when you get a chance!

THURSDAY, OCTOBER 24

10 AM – 12 PM Stop by if you are interested in exploring any of the following:

  • Install SAP HANA Studio
  • Install SAP HANA Cloud Platform tools in the SAP HANA Studio
  • Install SAP NetWeaver Gateway technology tools in the SAP HANA Studio
  • Install UI5 tools in the SAP HANA Studio
  • Install the ABAP programming language in Eclipse in the SAP HANA Studio
  • Connect to a system running SAP HANA software
  • My first XS app for the SAP HANA platform
  • My first XS UIS app for the SAP HANA platform
  • Connect to SAP HANA Cloud Platform
  • My first app for SAP NetWeaver Gateway technology
  • Connect to a system running the ABAP programming language with ABAP in Eclipse

·        

12 PM – 1 PM Featured Session: My first HTML5 Mobile app(With Mark Wright)
1 PM – 6 PMMEET SAP MOBILE DEVELOPERS Let’s have fun with SAP Mobile! SAP Mobile experts will be on hand to answer questions about building SAP Mobile apps, help you install the tools, help you connect to a mobile system, guide you through the process of building your first SAP mobile app on Android, and more. SAP Mobile experts will be available all afternoon so just visit us when you get a chance!

 

We’ll even have the experts on site to help you understand the various systems, technology and of course to share end to end scenarios and real live customer examples of these technologies so you won’t be left wondering “but why”

You’ll find us on the Show Floor every day from 10 AM to 6 PM. It’s like having our beloved Hacker Night every single day, all day :-)

 

EnterpriseGeeks Annual TechEd Dinner 2013

Once again this year, the EnterpriseGeeks Thursday night dinner will return to “The Buffet” at the Wynn on October 24th.  We’ve always had a great crowd join us at this dinner, and I hope this year is no different.    You can simply meet us there at 7:15pm, or show up at the “Rock of Ages” theatre box office(this used to be Blue Man Group)on the Casino level at 7:00pm to walk over as a group.  The price per person for the buffet is about $35 and of course you will be responsible for your own bill.   Imagine Dragons will perform at 9:00pm so  you will have plenty of time to get back over to the Venetian.  See everyone there!

MySQL to HANA

Recently as I’ve dug more and more into HANA (how could I not with Tom and Rich publishing so many cool things?) I found that I could take many of my existing demos from PHP and MySQL and port them to HANA. The pain though has always been migrating DB content so I decided to make a simple little tool to make life easier.

It was during the SAP InnoJam event in Madrid that I sat down and coded something that I was able to test with Rich’s help, HOWEVER this is not something SAP supports or even validates or approves this is just me and my own HANA Cloud instance having some fun and deciding to share!

GitHub - Move to HANA

GitHub – Move to HANA

I call it Move to HANA and you can find the code on GitHub. It’s fairly simple and I used JQuery Mobile (don’t hate me SAP UI5 lovers) to put it together, just upload it to your PHP server and run it.

The idea behind it, is to give a simple migration tool that will help generate the HANA specific SQL to get your same tables and fields generated and your data uploaded via the HANA Studio. Right now it’s setup for MySQL but is easily expanded for any DB you are working on; oh and of course it’s not 100% yet it’s only got a handful of the different field types but hey – it’s GitHub go ahead and make some changes!

As for execution – again very simple.

Database selection

Database selection

 

Once your select your database then you will need to log into the database to select which “database” you want to migrate.

Login into your database

Login into your database

 

Then select your “database” at which point the script will generate the 3 step process for data migration.

Simple 3 Steps

Simple 3 Steps

 

Step 1, will provide your the “copy and paste” script you need to enter into your HANA Studio.

HANA SQL to generate SCHEMA

HANA SQL to generate SCHEMA

Step 2, will provide the command line code for MySQL to generate the CSV files you can then upload via the HANA Studio

Command Line for MySQL Dumps

Command Line for MySQL Dumps

Step 3, will provide the SQL command to ensure the proper permissions for the newly generated SCHEMA

 

SCHEMA permissions

SCHEMA permissions

I’ve used the script a dozen times already to get sample data and other MySQL data moved into HANA to allow myself more and more opportunities to try my hand at HANA coding and it’s worked quite well. If you give a try feedback would be great and if you find new data types or if you want to try a different database than MySQL by all means have at it!!

 

** SAP does not support nor endorse this tool and there is no support other than the very little free time that I personally have to answer comments. **

Follow

Get every new post delivered to your Inbox.

Join 4,752 other followers