• Bubble
  • Bubble
  • Line

Quick fix for wine apps that freeze your Linux desktop

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2016-12-07T18:42:00Z
  • 1 min to read
Quick fix for  wine apps that freeze your Linux desktop

Linux is very stable and there are very few apps that can freeze the desktop. With the gaining popularity Linux has especially since the gaming industry is moving toward Linux it's quite necessary to know a few tricks.

As I've recently discovered Cinnamon has some issues. But running apps in Wine can also cause problems.

There is a very easy way to fix it without rebooting and losing all your open apps, files and tasks

read more

Number Guessing Game - Tcl/Tk

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2016-11-19T15:15:00Z
  • 5 min to read
Number Guessing Game - Tcl/Tk

This is a Game Coding Tutorial

If you got here by sheer luck please read through the introduction at : https://andreiclinciu.net/?p=80&preview=true

The Game:
We will start with  a simple game where the player guesses a random number between 1 and 100  (or anyother maximum value) generated by the computer.
We'll start small and as we code we will add more functionalities along the way, this will make it easier to understand the process and changes.

You'll see that at every revision and version we will change specific things, and even change the way we did something in a previous version.
It's very important to understand that programming is not something static but a dynamic action of changes and improvements.

As we advance with our games we'll explain the changes less and less and we won't talk about previous concepts unless there is a catch.

In normal projects you need to think out the project on beforehand with all the requirements and then start coding. Requirements can change, and the code will change too so always review the old version with the newer version and see what we've added.

read more

Introduction - Getting started - First steps - Learn to code by making games in Tcl/Tk

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2016-11-12T18:24:00Z
  • 3 min to read
Introduction - Getting started - First steps - Learn to code by making games in Tcl/Tk

These guides and tutorials will be written in Tcl/Tk. There are multiple reasons for this.

NOTE: This guide is a little bit "outdated" (it's from 2016) since then I have long been working on Phaser games in HTML5, CSS3 and JavaScript in 2017. Maybe I will also post the Phaser games someday too. For now follow along with the Tcl/Tk ones.

But learning to make games in Phaser is more difficult than doing them in Tcl/Tk because you need to understand HTML/CSS javascript and phaser, Whilst with Tcl/Tk you just need to know the basis of Tcl and Tk which are pretty easy. I recommend after you have a basic of programming knowledge to go after C/C++ based games and/or JavaScript games.

Tcl  goes perfectly together with Tk, a toolkit for drawing User Interfaces.
Tk by itself may seem a little outdated compared to modern alternatives but it's the perfect choice for beginners who have no previous knowledge of programming.

read more

Why I'm using Fossil SCM instead of other source control systems

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2016-04-16T15:16:00Z
  • 4 min to read
Why I'm using Fossil SCM instead of other source control systems

Fossil is a great SCM Source Control Management system.

git remains by far the most used version source control system.

I still prefer to use Fossil for projects where I'm the only developer or we have a very small team of people working on a project. Fossil beats any other source control system. It's even better than git in many instances.

You should start using fossil for your next projects.

I'll explain why Fossil is so great. We'll be  reviewing some of the awesomeness of Fossil

read more

How to download Youtube videos on Windows with youtube-dl and start using the command line

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2016-01-01T00:00:00Z
  • 4 min to read
How to download Youtube videos on Windows with youtube-dl and start using the command line

There is a very powerfull user Interface wrapped around youtube-dl which will allow you to download mass video's from youtube.

https://github.com/MrS0m30n3/youtube-dl-gui/releases/download/0.4/youtube-dl-gui-0.4-win-portable.zip

Any person that uses a pc for more than 2 hours a day should learn to use the command line. Why? Consider these reasons:

  • Powerfull - The commandline is actually your friend, using It wisely will not only teach you to do your job faster and have fun while doing it!
  • Endless functionalities - Most programs have an user interface which is actually hiding how the fun stuff works. And to do multiple things you would need to download 100 different programms. In the command line you have unlimited options
  • Win Time - You can spend hours when you want for example to download 100 links with most programs which work 1 by 1
  • Security - Most programs are not open source so you don't know if you're downloading a virus or a good working program

We will be using youtube-dl which is a Python script that can download video's from Youtube.com.

read more

http server examples - So you need to easily share something with someone in the same network

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2015-12-16T15:10:00Z
  • 1 min to read
http server examples - So you need to easily share something with someone in the same network

So, you need to simply share something with someone on the same network without going through facebook or anyother chat application.

Use a simple HTTP server! The examples below are meant for Linux users, I'm sure you can use them on Windows aswell.

For python you can use

python -m SimpleHTTPServer 8000

If you have PHP installed

php -S localhost:8000

A node.js server

sudo npm install http-server -g
http-server

For TCL you can use tanzer, tclhttp but I haven't been able to find a oneliner so I'll exclude this untill later.

read more

Here's a list of interesting things in the Linux World

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2014-09-18T14:15:00Z
  • 1 min to read
Here's a list of interesting things in the Linux World

..or the links that I've bookmarked for any reason what so ever

The complete Debian reference, it's a good starting point to get started with Linux, i've just stumbled upon it a few days ago:

http://www.debian.org/doc/manuals/debian-reference

Debian documentation:

http://www.debian.org/doc/

Another good Survival Guide for Linux:

http://www.togaware.com/linux/survivor/

Good reference to bash scripting:

http://gd.tuwien.ac.at/linuxcommand.org/lts0040.php

http://www.tldp.org/LDP/abs/html/

Linux Command website is a good starting point, this is a video about "how linux is made":

http://lcorg.blogspot.com/2012/04/how-linux-is-made.html

Debian web server tools:

http://www.debianhelp.co.uk/webserver.htm

Creating your own custom kernel:

http://newbiedoc.sourceforge.net/system/kernel-pkg.html

read more

Building Great Software
The digital Revolution begins when you learn to automate with personalized software.

Find me on social media