2014. március 4., kedd

ArnoldC

Here comes a new something, like a programming language but really funny: ArnoldC!

LOL

Here's my sample. Calculate BMI is boring but Arnie turns anything cheerful! :) You can try it here.

IT'S SHOWTIME
  TALK TO THE HAND "Arnold's BMI Calculator"
  
  HEY CHRISTMAS TREE weight
  YOU SET US UP 80
  
  HEY CHRISTMAS TREE height
  YOU SET US UP 175
  
  TALK TO THE HAND "Your weight is (kg):"
  TALK TO THE HAND weight
  TALK TO THE HAND "Your height is (cm):"
  TALK TO THE HAND height
  
  HEY CHRISTMAS TREE tons
  YOU SET US UP 0
  
  GET TO THE CHOPPER tons
   HERE IS MY INVITATION weight
    YOU'RE FIRED 10000
  ENOUGH TALK
  
  HEY CHRISTMAS TREE squareheight
  YOU SET US UP 0
  
  GET TO THE CHOPPER squareheight
   HERE IS MY INVITATION height
   YOU'RE FIRED height
  ENOUGH TALK
  
  HEY CHRISTMAS TREE calc
  YOU SET US UP 0

  GET TO THE CHOPPER calc
   HERE IS MY INVITATION tons
   HE HAD TO SPLIT squareheight
  ENOUGH TALK
  
  TALK TO THE HAND "Your BMI is about:"
  TALK TO THE HAND calc
YOU HAVE BEEN TERMINATED

2014. február 5., szerda

SQL Saturday BUDAPEST

Úgy néz ki, hogy a promócióval már elkéstem...


... de emlékeztetőül azért leírom,

SQL Saturday Budapesten, a Lurdy Házban, 2014. március 1-én!

Link:
SQL Saturday Budapest

First steps in the Not Only SQL world

The first Cassandra db was be installed on my PC. The OpsCenter was launched and the first (test) node was created. But OpsCenter didn't work bacause agents failed to ssh to the node.

I got three suggested change in different settings to fix this. I did all of them and the issue was be fixed. My Cassandra runs on Windows 7(x64).

Add this line(s) (or update them) to the file below:

1. addres.yaml
  use_ssl: 0
2. local.conf
  conf_location = C:\Program Files\DataStax Community\apache-cassandra\conf\cassandra.yaml (check the path!)
3. opscenterd.conf
  [agents]
   ssh_port = 2222

All the files can be found under the folder 'Program Files\DataStax Community'.