Why is my computer or phone so slow? – part 2

Welcome to the level 2 of computer and programming guide. Remember all from level 1 guide for programmers?

The answer to the question from the title could be that you have RAM issues. RAM is the main memory of your computer or phone and it seems that your apps are eating to much RAM. Your whole operating system (Android, iOS, Windows) is slow because it requires more RAM but how it’s possible when you uninstalled some apps but nothing much is changed? It’s still slow.

Continue reading “Why is my computer or phone so slow? – part 2”

Beginners guide to programming – part 1

This series is meant to gradually introduce programming to the total beginners. And I mean like really total, like my father or mother which are actually using their computer without having the smallest clue how it works. As a matter of fact if the operating system freeze they may be able to restart the computer and that’s where their troubleshooting knowledge ends. Don’t get me wrong, restarting operating system helped me numerous times and it’s always one of the first choices I made in the path of troubleshooting.

However, if your plan is to become developer/ programmer you need to expand your knowledge of computer inner workings and I can assure you it’s more interesting than you might think. And it’s easy, at least to the level you need. Let’s begin …

Continue reading “Beginners guide to programming – part 1”

GDPR cookie consent script (open source)

There’s no need to reiterate much about GDPR law and everything that came with it. In one moment nobody didn’t care about it like it’s just another obscure and annoying EU law. Then few weeks before actual enforcement date, the most companies started to implement some kind of implementation.

Continue reading “GDPR cookie consent script (open source)”

BIND server doesn’t work

There are many reasons for BIND server not to work. BIND is quite old and stable open source project so if it doesn’t work it’s usually something related to configuration and less likely something due to the compilation, installation or bug in the package. Also, there are more than few uses of BIND server so configurations can vary from one use case to another.

Continue reading “BIND server doesn’t work”

How do I get the size of a directory on the command line in Linux?

There are some situations when you need to check size of directories on your Linux server. Usually it’s due to logging which can consume your hard disk, especially if you have heavy traffic web site or if you log some common type events. Log rotation can help but you need to configure it properly according to your hard disk size.

Continue reading “How do I get the size of a directory on the command line in Linux?”

We sold our amazing Vega rigs and you ask me how I feel?

It has been a month since we sold our fully automated 56/64 Vega rigs with 14 cards on 3 mobos and 3 PSU’s, automated Arduino hard reset and custom made software reset tools. All true and devoted miners would ask – why? Well, it was not a FUD nor price drop which made us go that way, but there were a dozen of other reasons for and against the sale. Actually, it was not our intention to sell it at all, but we just wanted to test the market and raised the price 50% up, so in case someone buys – we’ll profit nicely. As all we know, Radeon RX Vega are quite rare on the market nowadays, almost impossible to find at all!!!

Continue reading “We sold our amazing Vega rigs and you ask me how I feel?”

How to access personal computer or network without port forwarding

It’s not always easy or possible to setup port forwarding so you can access your home PC or any other device through public IP your internet service assigns you. Problem is also if your ISP rotate IPs so you always need to keep track of it. One option is to try to convince ISP to give you static IP but traffic routing on ISP side can be also behind NAT, which might be complicated to configure and guys from ISP tend to tell you forwarding is not possible.

So what can you do about that? Sometimes nothing. 🙂

Continue reading “How to access personal computer or network without port forwarding”

Monero (XMR) rig monitoring and auto-restart with Arduino – tutorial

Those who are running crypto currencies mining operation know about importance of good automation. There are plenty of software around that can help you achieve as much automation as possible for different crypto currencies. But sometimes soft reboot of mining software is not an option. Especially in highly beta ecosystem such as AMD RX Vega rigs with blockchain driver and Windows 10. Even after tweaking voltage and frequency for graphic cards, blockchain driver is unstable and many times leads to Windows bluescreen or freeze that requires manual restart of the rig.

Continue reading “Monero (XMR) rig monitoring and auto-restart with Arduino – tutorial”

How to install Haproxy, Letsencrypt, Varnish cache and Nginx tutorial

Actually I won’t get into details with Varnish and Nginx configuration because it really depends on your particular case. But it should be pretty straight forward as installing default packages:

apt install varnish
apt install nginx

I’m using port 443 for SSL services, so Haproxy is using this one. It also uses http port 80 and redirect that to https. Everybody knows that Haproxy is stable and quick in jobs it does and that’s load balancing and proxying traffic. I our case we are going to use it for SSL termination and forward traffic to Varnish which is going to occupy port 6081 (default). And Nginx will use port 8080 because it’s final destination in our setup. Varnish should cache most of the web content and hopefully put our dedicated server’s CPU at ease most of the time and leverage quite slow CPU to large amount of RAM (128GB).

In case of traffic increase we can easily balance our traffic to other servers behind Varnish,  because Varnish can play load balancing role as well.

Continue reading “How to install Haproxy, Letsencrypt, Varnish cache and Nginx tutorial”