Saturday, November 21, 2009

Installing Go on Ubuntu 9.10

In .bashrc added:
export GOROOT=$HOME/go
export GOARCH=386
export GOOS=linux
export GOBIN=$HOME/bin
export PATH=$PATH:$GOBIN

Installed Mercurial:
$ sudo apt-get install mercurial

Checked out the repository:
$ hg clone -r release https://go.googlecode.com/hg/ $GOROOT

To build Go, you need to install GCC, the standard C libraries, Bison, make and ed:
$ sudo apt-get install bison gcc libc6-dev ed make

Builded the Go distribution:
$ cd $GOROOT/src
$ ./all.bash

At the end of the build:
--- cd ../test
1 known bugs; 0 unexpected bugs

Created hello.go source file and tested the build:
$ 8g hello.go
$ 8l hello.8
$ ./8.out
hello, world




Thursday, July 24, 2008

BeanShell

BeanShell is a Java source interpreter with object scripting language features. BeanShell dynamically executes standard Java syntax and extends it with common scripting conveniences such as loose types, commands, and method closures like those in Perl and JavaScript.

Installation: place bsh-xx.jar into $JAVA_HOME/jre/lib/ext folder.

Start interpreter: java bsh.Interpreter

And experiment:

bsh % n = 55 / 6;
bsh % print(n);
9
bsh % r = 55 % 6;
bsh % print(r);
1
bsh % exit();

Wednesday, July 23, 2008

Library for JDBC access

If I ever need to program JDBC access I would use Spring framework's JDBC support. More information about it can be found here.

Tuesday, December 25, 2007

Summing Up My Programming Languages Experience

I started programming at university and my first language was FORTRAN IV for OS/360 on System/360 IBM mainframe. As students we used FORTRAN coding forms to prepare programs for punching onto cards by cardpunch operators. We ran our programs in a batch-processing mode.

My first language used at work was EL-76 for Elbrus-1 OS on 10-CPU Elbrus-1 mainframe. It was my first experience with dynamically typed languages. This time we worked at computer terminals.

Then I programmed in PL/1 for MVS OS on System/370 IBM mainframe. We also worked at terminals. It was my first experience with a database. It was Adabas.

My first language on personal computers was Turbo Pascal 5.0 for MS-DOS on IBM PC. Using it I enhanced a record-based custom ERP system.

Then I programmed in FoxBase 2.10 for MS-DOS. It was my first experience with personal database.

The next was the C language. Using Borland C++ 2.0 for MS-DOS I developed terminate-and-state-resident (TSR) programs that received data from devices via RS-232 interface.

After that I programmed in Clipper 5.0 for MS-DOS. On server side we used Novell NetWare 3.12 network operating system.

Then was Visual Basic 4.0 Professional for Windows 95/NT. It was my first experience with event-driven programming.

My first OOP language was Object Pascal in Delphi 4.0 Client/Server Suite.

Since 2000 I have been using Java to earn my living.

In 2007 I started learning Ruby. Reason: Rails Web development framework. In October 2008 I rolled out an initial version of my first Rails application for a small business. It was a publicly facing Web application.

In 2009 I implemented a WebCam capturing application and front-end part of it I implemented using ActionScript 3 and MXML.

In 2012 - 2014 I done a lot of Groovy coding using Grails Web development framework.

In 2014 I implemented back-end code in Python for two small Web applications published in GitHub.

In 2015, thanks to AngularJS, I started re-learning JavaScript more deeply. Before that I used it like a toy language.
 
In 2019 I started using TypeScript because it is a default language in Angular framework.
 
In 2021 I've been implementing my first back-end apps in Go and in C# (.NET 5 on Linux).
G
M
T
Y
Text-to-speech function is limited to 200 characters