Depreciation notice error in phpmyadmin with 16.04 (Nginix)

Ok if you want to get rid of those nasty notices you have basically 4 options.You should note that the notices are caused by the oldish version of PHPMyAdmin that still uses some deprecated code, mainly old constructor definition statements. But they don’t affect PHPMyAdmin as those statements still function but they should be changes as they will not work for eternity.

The fist one(recommended)

So the first one is to just turn off the notices for the PHPMyAdmin folder. You can do that by using the following commands:

cd /usr/share/phpmyadmin
sudo touch .user.ini
echo "error_reporting = 0" | sudo tee -a .user.ini
sudo service nginx restart

Second One

You could change error_reporting in php.ini, but there are many reasons you wouldn’t want that.

Third One

Use a different source repo for PHPMyAdmin, again I think there are many reasons one would want to stick with default PHPMyAdmin source repo. You can do this with the following commands:

sudo add-apt-repository ppa:nijel/phpmyadmin
sudo apt update
sudo apt install phpmyadmin</pre>
<pre>

Last one

You could change the files that generate the notices. …

How to convert a MyISAM wordpress database easily

If you have an old WordPress database is possible that the engine for the MySQL/Maria tables to be MyISAM, and I don’t know if you heard but the MySQL will drop MyISAM in the future.So we know that we can use the SQL query:

ALTER TABLE table_name ENGINE=InnoDB;

So we just need the name of our tables and then do a search and replace(I used notepad++).
so we can get all the names if we use optimize tables from PHPMyAdmin, so do a select all optimize from PHPMyAdmin and then you can copy that query that looks like:

ALTER TABLE `wp_cbnetpo_ping_optimizer`, `wp_commentmeta`, `wp_comments`, `wp_links`, `wp_mts_wp_reviews`, `wp_nxs_log`, `wp_options`, `wp_pingpressfm`, `wp_postmeta`, `wp_posts`, `wp_termmeta`, `wp_terms`, `wp_term_relationships`, `wp_term_taxonomy`, `wp_usermeta`, `wp_users`, `wp_wp_rp_tags`  ENGINE=InnoDB;

Then use nodpad++ find replace feature with the following:
find

,

replace

 ENGINE=InnoDB;\n ALTER TABLE

.(watch the spaces)

Then you should end with a query good for executing and converting your tables. The query should look like this:

ALTER TABLE `wp_cbnetpo_ping_optimizer` ENGINE=InnoDB;
 ALTER TABLE `wp_commentmeta` ENGINE=InnoDB;
 ALTER TABLE `wp_comments` ENGINE=InnoDB;
 ALTER TABLE `wp_links` ENGINE=InnoDB;
 ALTER TABLE `wp_mts_wp_reviews` ENGINE=InnoDB;
 ALTER TABLE `wp_nxs_log` ENGINE=InnoDB;
 

Personal Gitlab on a home bare metal trough Reverse proxy

If you don’t want all your repositories on GitHub or other project hosting platform, you can choose Gitlab.I guess you already know what GitLab is.Yeah very similar to the Gitlab platform and the best thing is that hosting is on your server, you can have private/internal/public repositories. You have some kind of open source security software that you can be used for nefarious uses, you want to make the source public but some big companies consider that this kind of code is not “open source”.Simple use your server and do what you want. I’ll show my configuration for a GitLab, I use SSL for the proxy that accesses a local server on non-SSL. Also, I use an external mail server with a custom domain hosted on Zoho.

Let’s go into Gitlab.rb

Ok, I should say that the server auto updates Gitlab for every new version. I didn’t have a problem with my auto updates yet, but I mention that just for the fact that this configuration runs on Gitlab 8.12.4.

First, we find the external_url directive and we change to …

Hey US, are you asking who to vote in november?

Down to no choice

There isn’t actually a choice, let’s face it. None of the candidates is worth a vote, but nevertheless casting a vote is said to be the spirit of democracy. Evidently, for me, democracy is a thing that had a possibility of existence in ancient Greek. What we today call democracy is an outdated way of pretending that people truly have the authority to shape their society. When the de facto perception of some people of wealth is that common people are worms in comparison with anything they can lay eyes on.

Look if that sounds like conspirational BS to you, let me tell you that sometimes we are taught by scholars that power comes from 6 sources these 6 sources are:

  • 1 Physical Force
  • 2 Money
  • 3 State and laws
  • 4 Social standards
  • 5 Ideas and technology
  • 6 Masses of people

And my question is this: Don’t you think that one source from this list stands out? Nothing? Perhaps MONEY?
Let us face it money can easily influence the other 5 sources if not even can …

Java concurrent programming homework

Some days ago I published on my personal Gitlab server some project/homework.(Java concurrent programming). I did this some time ago for a master course in my university. I think I did spend a day or less on it so the code is just for the purpose of demonstration. In fact as usual after the presentation, I left it to rot. I will probably put some other dead corpses on a string there as I have so much code even from a decade ago.

Anyway, Where is the Link to my java concurrent programming Homework

Here it is: https://gitlab.flashsoft.ro/root/univ_PGC-project

Ads a type of artificial monetary system?

Grasping Ads value:

There is so many news about ads lately, mostly they involve some kind of change to large company ads system that is very important for that company as they are making billions of dollars with such system and practically this gives them the main flow of cash.

You can call me stupid, but for me, the whole ads world is a bit confusing.

It is hard to grasp why someone would pay so much for so little, yeah I know that the human brain is very prone to influence especially when the content served is designed te be manipulative, I read that in books like Brain bugs, Why Our Brains Are Wired to Connect,Confessions of a Sociopath and one of my latest: Mindless: Why Smarter Machines are Making Dumber Humans to name a few(ironically I am not advertising), but I hope that humans can immunize themselves to ads, I think ads cannot bee “optimized” as Google and Facebook try to tell us.

Do people care so much about ads?

When did you last click willingly an ad? …

Aspire E1-510 linux Freeze

If you have an Aspire E1-510 and it freezes in Linux you can try a couple of things to solve this issue. First, if this notebook freezes and then the CPU fan starts to rotate faster than before is a sign that this freeze is an actual hardware freeze.(also if Linux doesn’t respond to magic keys combination that is clearly a hardware freeze) In this model, the CPU fan is “smart” meaning that is meant to not be always on.

So it will be on up to the point in which grub takes control than in Linux will be always off and I didn’t try hard to find a way of switching it on.This netbook is very weak in terms of computing power but u probably know that already.
I have an old i5 laptop that has benchmark scores 3 times higher. Anyway using a fresh install of a modern distro Linux( ubuntu 16.04 LTS or something) if it doesn’t contain Gnome3 or KDE it will probably not freeze. If you want to freeze it fast try a game on …