OpenBSD 6.8 released !

Hi OpenBSD 6.7 users lets fire up our sysupgrade command !

Seamless upgrade experience once more time from OpenBSD.

Happy 25th Anniversary to OpenBSD.

Ruby upto for looping

Numeric variable on ruby have upto method that we can use to do looping. Normally looping is done by using while or for syntax. Ruby can do differently.

Example above we loop from 10 to 15. Its simpler right.

Shorthand If and unless in Ruby lang

The basic conditional if in ruby is like any other programming language.

if condition then

[statements to execute if condition is satisfied (true) ]


If only a statement needed to executed then we can use shorthand form of if. Statement is at front followed by if and condition.

Ruby also have unless for conditional branching. Difference is statement will be executed if condition not satisfied (false).

Try it yourself at irb ! Bye …

Ruby Programming : Constant

Ruby programming language have constant like other language we know ? Or Ruby dont have ?

Ruby have naming convention related to variable names. If a variable name begin with upper case then its considered constant. Ruby wont stop you to change that constant, it only emit warning like a test case below on irb.

So thats Ruby’s constant.

Gem Install Location

This is an interesting command to know. We can use gem environment to find out gem files install location. Below is sample output on windows OS.

Compile Minimum Profit 5.41 under Ubuntu 20

  1. Get mp-5.4.1 source code from
  2. Install build-essential package (sudo apt install build-essential)
  3. Install libncurses-dev (sudo apt install libncurses-dev)
  4. Install libgtk-3-dev (sudo apt install libgtk-3-dev)
  5. Copy mpdm folder from mp-5.4.1 folder to parent folder.
  6. open terminal goto mp-5.4.1 folder and run ./
  7. Check if gtk and ncurses driver registered by config script.
  8. Type make to compile.
  9. Type make install to install the mp-5 executable.