Posts

Showing posts from September, 2019

Google News can not shows news preview in France

Image
Google should stop scraping European news content to be shown on their Google news product. Headlines of new is permitted but not the new preview or thumbnails, it is against copyright law now in French.

I mean it's difficult to say which part of contents, because public contents visible by public people is meant to be free, unless it has paywall that required you to login and buy some subscription , it should be free.

Scrapping is illegal, it is stealing someone's work, of course news company need money for their work. It is like, "If you want fresh news, just visit our website and buy subscription plan, nothing's free."

Well i think soon or later this kind of law will be spread around the world, all that nations will have more strict rules against news aggregation. It is not just google though, there are lot of it in the internet. Google always be target for some corporate to sue them for money.

Sorry Google, you've been monopolize the internet for such lon…

Devdocs An Offline Programming Language Documentation

Image
As a programmer i am very often forget what some sort of commands or syntax to do some even basic software problems, documentation can be really useful for us to search for what we are trying to solve. Usually all programming languages already has their documentation on their official website, it is up to you to search the information you need either from the official or on Devdocs.

The thing about Devdocs is, it has cool web interface, some clear explanation and examples on how to use the language syntax, and there is offline features, so you can still read it even if you don't have internet connection.

Usually Google is the only best place to search for everything about all problems we faced, but if you are a programmer advanced enough, maybe you don't need Google at all, you already familiar with all the syntax in the world and just coding on your favorite IDE and never bother to open web browser.

Devdocs is cool program, you can get reference, reading the documentation of…

5 Reasons Why Java Is Amazing

Image
Java as language and as platform is an amazing ecosystem for developing and running application. As a language, it is fully Object oriented, fully static typed and incredible consistent in the language design. As a platform, it is big run time environment, supports many incredible cool feature like threading, garbage collection, and of course cross platform.

1. Threading With threading you can continue working on something and let the process running on the background, so your work can be done while other process can also work simultaneously.

2. Garbage Collection Managing memories running in our computer system is not an easy task, and it should be done by the system, not by us. Java can detect which block of memories that our program doesn't need it anymore and remove it.

3. Cross-platform There are 3 major operating system in the PC market, also Android and IOS on mobile phone, writing to that is not a good approach and time consuming. Java compiled program actually can be run…

The Worst Mobile Games Ranked

Image
Video games has been developed from simple ping pong black board and white ball and lines to and advanced 3D almost looks real. You can even play really good graphics games in phone these days. The problem with playing games is you kind of forget to manage your times, i mean playing games can be refreshing after long hours of work or any kind of routines. Playing games sometimes we forget times. Some games they provides lot of not real items to you too buy virtual things, that we can not touch or feel, for example virtual guns, virtual dogs, or even virtual girlfriend, it is really not good for you to spend money on those things.

So here i am ranked some mobile games that I've played in the past, they provide some interesting game play but it is not very good for our future, because i end up wasting lots of money and time that i should do something much more productive.

1. PUBG Mobile PUBG has been so successful on PC games, and with after they launched it on mobile version, it i…

How To Permanently Disabled Windows 10 Defender

Image
Anti virus software can be helpful preventing our computer from various viruses or any other malicious programs that we downloaded from the internet or via USB connection. Windows 10 has pre built anti virus program called Windows defender. It is really to have anti virus running on our computer, but for computer users like me, i don't think i need any kind of antivirus because i myself can detect which program is suspicious or which one is safe, so i don't need antivirus, because it kind of slowing me down, it prevent everything we are trying to run, so like it make the process of some installation process slower.

So here's how to disable windows defender forever, even after we reboot our computer it will not started automatically.

1. Open Start.
Click on windows key and search for gpedit.msc, just open the Local Group Policy Editor. And then Browse the following path:

Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivir…

ERROR 1348 Column Password Is Not Updatable When Updating MySQL Root Password

Image
As already mentioned in the title of this blog, this error message sometimes occurred when we are trying to update our root password database, either MySQL or MariaDB, The error says:

ERROR 1348 (HY000): Column 'Password' is not updatable
This is because if we use this SQL command to update our database root password, and it turn out to be Restricted by MySQL to use update on mysql database.

UPDATE mysql.user SET Password=PASSWORD('1234') WHERE User='root';
So you can't update a user password using Update commands, to update the password, use ALTER commands instead. like the following.

ALTER USER 'root'@'localhost' IDENTIFIED BY '1234';
And then you need to do the flush privileges to commit previous queries (that alter command above) into the system, simply do like this.

flush privileges;
So now you have your root with password 1234. Although it is recommended to use much more stronger unpredictable password. Never user 1234 as password…

How To Install MySQL or MariaDB Services From Zip Archive

Image
MySQL and MariaDB is one of those popular database system currently revolving on the back end system of major websites, or any other computer application, offline or online. It is not only for just a development tools, it is capable of handling real production system, million of transactions i think it can handle.

Here is how you can setup MySQL or Maria Db on windows machine manually from zip file not using installer that you've been downloaded from their official website. Without further ado Starigth away open Windows command line using administrator privilege.

A. MariaDB Simply run inside bin directory will install MySQL with default installation parameters.

mysql_install_db.exe

B. MYSQL In MySQL, instead of running mysql_install_db.exe we run :

mysqld --initialize-insecure --user=mysql

It work the same, to initialize data directory and first MySQL user.

C. Start MySQL from console To test our MySQL can be run or not, we can starting it from console:

mysqld --console

Start MySQL …

How To Install Apache, PHP and MySQL Manually On Windows

Image
If you are a web developer, using Apache, PHP and MySQL is the most easiest way you can do. You can start your website stuff in just few minutes. If you are using windows, there's program called XAMPP, it gives you a bundle of Apache, PHP and MySQL altogether, by just following Next and Next button, you can start your web development journey right away.

If you want have lot of control over your Server stack, you can do install manually. So here's how you can server stack for your web development manually.

1. Download the VC run time 15,17 and 19

From this link: https://aka.ms/vs/16/release/vc_redist.x64.exe

Visual C++ 2015, 2017 and 2019 is compatible with each other. Unlike the previous version, if want the Apache and PHP built using lower than VC 15, you should have install the corespondent VC run time on your computer, exactly the same for each Apache and PHP.

2. Download Apache VC 15

Link here: https://home.apache.org/~steffenal/VC15/binaries/httpd-2.4.41-win64-VC15.zip

3. D…

What Services Created By SQL Server Installation

Image
Microsoft SQL server is one of the best database system in the business. This short post only gonna show you what services, how many of them are SQL server Express is created during the installation process. Here's list of SQL server express services:

SQL Server
The core of SQL server

SQL Server Agent
Schedules jobs and handles other automated tasks.

SQL Server Browser
Listens for incoming requests for Microsoft SQL Server resources and provides information about SQL Server instances installed on the computer

SQL Server CEIP service
CEIP - Customer Experience Improvement Program is a program designed to collects your computer statistics information and how people use SQL server, useful for Microsoft to improve SQL server n the future and solving the problem if the SQL server somehow not working or crash. It is running automatically when our computer started,

SQL Server VSS Writter
Backup and restore of SQL Server through the Volume Shadow Copy Service framework. It is running automati…

The Worst App Ranked

Image
Mobile apps has been probably the most attraction thing for today's people around the world play with, it ranges from Productivity, like taking photos, Recording video, making notes to just bad as Phone is just another toy for adult to spend their times, like Social media, watching silly entertainment Youtube videos, etc.

And here's the worst app ranked personally by me, i don't have broad list ranges of apps, but the app that is listed below is the very popular app yet it can impact me in negative way rather than it's being useful and help me to be better in life. So because the impact of these apps is for me make me worst, i decided to not using it, i used to playing with it but now i don't, i completely avoid them because it is not just useless but also it din't help me in any kind of solving any of my problems.

1. Facebook, twitter, Instagram or any kind of social media
Social media for me is the worst invention of the internet, if you think it deeply, the…

How to Add MySQL JDBC Driver To Wildfly

Image
Wildfly is one of the best application server for Java, it is implementing Java EE, so if you are doing Java EE application development, you can use Wildfly either as your main production server or just for development process. It has a lot of documentation out there, so if you got into trouble, it is not that hard to find the solution.

Here's how to add MySQL JDBC driver to Wildfly, currently i am using Wildfly 12.x, and MySQL connector 8.x.

Using Terminal  Try creating the Module itself using the   jboss-cli.sh command rather than manually writing the module.xml file. This is because when we use some text editors, they might append some hidden chars to our files. (Specially when we do a copy & paste in such editors)

[standalone@localhost:9990 /]  module add --name=com.mysql.driver  --dependencies=javax.api,javax.transaction.api --resources=/PATH/TO/mysql-connector-java-5.1.35.jar

[standalone@localhost:9990 /] :reload
{
    "outcome" => "success",
    …

Windows 10 Runtime Broker

Image
As a Windows 10 user, i am really impressed how much this OS is helping me in a lot of situation, for me it is probably the best OS in the world, it is fast and have many pre-installed program so that i do not need to search online for program some basic use case like browsing the internet, playing music and video, taking screenshots, and many more. But still the OS has so many downside. One of annoying things on Windows 10 is, for me there are some background process that i don't really know but they consume a lot of my computer resources like RAM, CPU or Disk. Windows Run-time broker is one of that annoying background process.

What is Runtime Broker? It is a Windows process to helps manage some permissions on our program that we installed them either from Microsoft Store or directly download installer from the internet. So basically this process will run if only we installed some buggy apps to our computer. It is not 100% Windows fault.

Should i disabled it? Again, the problem …

The Worst Website Ranked

Image
I don't think anybody can ranked the worst website single handedly, because the reason is obvious, there's to many website, millions of them, circulating the internet right now. It requires lot of times and professionals who's have tens of years of experiences surfing the internet to actually ranked list of the worst website. And again, it's still gonna be impossible, because bad and good is kind of relative, some may find one website is useful and they love, some may don't and hate it.

Here's i try to list for you in my opinion as I've been surfing in the internet for years on the internet. But it's not gonna be a really good list, again it's kind of biased, without further ado here we go:

1. Buzzfeed.com

This website mainly focus on weird stuff that targeted some lazy nerd browsing the internet, for example What Type of Sandwich Are You,  Your Pizza Options Will Reveal How Many Children You’ll Have, and many nonsense quizzes on there, and if you r…

How To Create Phpinfo to List What PHP Configuration Have

Image
PHP is programming language mainly used by Web developer to develop their web application. It is actually one of my first programming language that i learnt in the past. It is a simple easy to start programming language to do a web development. Capable of doing database transaction, JSON parsing, file operation, etc.

Sometimes when you develop your web application and in the middle of your activity you find a problem with your codes, and you need to now detail about your PHP configuration for example, whether MySQL module is enabled, XML parser enable, etc. You can check all that information by using a single PHP function.

You can use phpinfo() function, to enumerate all your PHP configuration have. You simply only need to create a file, let's give it a name 'phpinfo.php' and the content of the file is this one single line PHP code:

<?php phpinfo(); ?>
Now open the browser and locate to that file, for example if you are developing your app on your local computer, you…

Disable Auto Save Code in Intellij IDE

Image
Intellij has been really the best and my favorite Java IDE so far, I know it is a paid IDE, it is not free, well they have a free version, but has limited capability and features. The thing that makes this IDE so great is that its code completion and bunch of plugins that can be really helpful to develop our Java program.

To do disable auto-save code in Intellij, here's the simple steps:

1. Hit the File menu and choose Settings


2. On the left pane, Appearance & Behavior, choose System Settings
3. On the pane of System Settings
- Unchecked the Save file automatically if application is idle
- Unchecked the Save file on frame deactivation

Now whenever your file is modified, it won't be automatically saved, we need to mark which files is not saved.

4. Still on Settings, on the left pane, choose Editor > General > Editor tabs


5. Check the Mark modified (*)
6. And also increased the Tab limit from default 10 to 50, or whatever based on your need

Now Click Apply and OK, no …

Top 3 Worst Social Media

Image
Social media has been probably the world most what people mostly spend their time when opening their Phone, millions if not billions people around the world Posting their status, Photos, live videos, etc. I don't know why is that fun for most people because i think posted something in social media is Worthless, and most of the time it can arouse jealousy when for example you posted a vacation to a fancy places but the people seeing your post can't afford the same thing as you do.

Either you like it or not,  we are a selfish creature, we have selfish gene. We tend to feel superior to other, that we are better than the other, and the other is moron. Just that sometimes when we want to express our thoughts, and we don't think twice, it's go beyond boundaries. We crossed the line and inevitably making tweet so eagerly and make thousand of people getting angry, it happens a lot.

It's kind of biased, but I'll try to rank the worst social Media I've known and i u…