Windows

Plotting graph in R with X11 window system using Cygwin

Submitted by Dickens A S on Tue, 09/07/2021 - 03:02

This is the continuation of article /install-R-using-cygwin

This article demonstrates how to show a simple graph with help X11 system available in Cygwin/X

1.) How to install X11 in Cygwin

Double click the setup and launch the list of software shown in the previous article

choose the below two softwares

xinit

xorg-server  

Compete the installation 

2.) How to start the X11

Go to Start Menu

Click on "XWin Server"

Run COBOL / gnuCOBOL inside Vs Code within MSYS2

Submitted by Dickens A S on Thu, 07/29/2021 - 03:51

This article demonstrates how to compile COBOL and see the output within VS Code UI

Install COBOL within MSYS2

  Follow this article cobol-windows-msys2 and install gnuCOBOL using pacman command line

Launch VS Code within MSYS2

  Follow this article launch-vscode-from-msys2 and launch the vs code 

Install Extensions

  install the bellow 4 extensions

Combine / Call Fortran DLL inside Kotlin Native using Gradle KTS

Submitted by Dickens A S on Thu, 07/22/2021 - 10:54

Call Fortran from Kotlin Native

This article demonstrates how to change the toolchain name using Gradle KTS and invoke gfortran compiler instead of g++ compiler and produce a DLL and reuse a Fortran subroutine or function inside a Kotlin Native code

There is a sub project named libfort1 which has Gradle KTS file, it has been improved to trigger a different exe command line using Gradle Action APIs, which allows the developer to modify the executable as well as parameters sent to the executable

Installing R inside MSYS2 using Miniconda in Windows

Submitted by Dickens A S on Tue, 07/20/2021 - 06:19

This article demonstrates how install R using Miniconda inside MSYS2 MINGW64 shell

Download and install Miniconda

MIniconda can be downloaded from https://docs.conda.io/en/latest/miniconda.html

Install miniconda iniside c:\msys64\opt\miniconda without adding to PATH

Set PATH environment variable permanently in MSYS2 .bashrc

Open c:\msys64\home\<username>\.bashrc and add scripts folder to the PATH

Example .bashrc

Connect SQLite from gnu COBOL in Windows

Submitted by Dickens A S on Mon, 07/12/2021 - 08:37

This article demonstrates how connect SQLite3 from COBOL using MSYS2 in WIndows

Download SQLite3 amalgamation https://www.sqlite.org/2021/sqlite-amalgamation-3360000.zip

get sqlite3.c from the above zip file and put it in the same place where you cobol is compiles

"test.db" is pre created with DBeaver plugin in eclipse

Install sqlite3 in MSYS2 using

Run COBOL / gnuCOBOL using MSYS2 in Windows

Submitted by Dickens A S on Mon, 07/12/2021 - 03:55
Run COBOL in windows

Why COBOL in 2021?

The reason is, many migration still happening from mainframe COBOL to Java or .NET

If the developer knows how test the COBOL in his local machine, then it benefits the migration to speed up

This article demonstrates the Cygwin dependencies to compile gnuCOBOL from source code

Mainframe is going through another refresh cycle to make mainframe available in Cloud based IDE like Eclipse CHE

It is important to learn to COBOL

What is this article?