How to Bring Back GROUP BY in MySQL
If you are suddenly not able to perform GROUP BY statements as you used to after a MySQL/MariaDB version update, then you will have noticed the change …
In-depth guides, insights, and best practices for modern software engineering
If you are suddenly not able to perform GROUP BY statements as you used to after a MySQL/MariaDB version update, then you will have noticed the change …
A common programming interview question, and for a change, one that you will actually be able to use in the job, is that of implementing a Queue by …
Read Article →Take a string S of lowercase letters.
These letters form consecutive groupings of like characters.
Find groups with 3 or more like …
Read Article →You can ignore certain files and folders from being committed to Git by means of including a .gitignore file.
Unfortunately, you may have forgotten to …
Read Article →If you see lots of disk space quickly disappearing on your MySQL or MariaDB server, then you may want to look into the BinLog directory, it is located …
Google Colab is a fantastic environment to write Python code using Jupyter Notebooks, hosted for free by Google.
If you’ve ever used Jupyter …
Read Article →A User-Agent is a bunch of text that is sent with every HTTP and HTTPS request. The server processing this request is able to determine what type of …
So you have a table where you want to delete a bunch of rows, based on a particular column being matched in another table.
This is easily achievable …
Read Article →There are many occasions where you need to INSERT a record into a MySQL database table, but the record already exists.
INSERT INTO queue_domains …
Use the Linux/Mac tail command to provide the data:
line = subprocess.check_output(['tail', …
Read Article →
There are quite a few ways to format a number as a currency value in Javascript. This is a common task when building web applications, similar to …
Read Article →If you’ve ever typed date into your Ubuntu Server and seen a different time or timezone appear than you expected, then it probably means that …
As Python developers, we’ve all used pip to install applications, but speaking to other Python developers, it’s not always clear how to …
AngularJS is a Javascript Framework that allows you to create dynamic front-end web applications easily.
I have traditionally packaged these …
Read Article →Sending emails using Python and AWS’ SES service is really easy. They provide an SMTP server that you can authenticate against and send email …
Read Article →If you need to generate a random number between two numbers in JavaScript, then you are in the right place! Here you will learn javascript random …
Read Article →Password managers exist for two main reasons.
Firstly, to generate strong passwords and secondly so that you don’t end …
Read Article →Sometimes you may need to read the top n lines of a file using Python.
We start by opening the file for reading and then using a list comprehension we …
Read Article →I operate a bunch of different sites and have done for many years now.
Some of them get quite a lot of traffic and require a high level of uptime.
To …
Read Article →It’s very easy to reset files that have not yet been committed to git.
git reset <filename>
You can also specify the …
Read Article →Golang comes with a decent offering around variables that you can use to store, retrieve and manipulate information.
A variable is defined with the …
Read Article →Every language has it’s ways of converting data types. One of the most common data types to convert between is that of strings (string) and …
Learning Go or Golang as a Python developer, programmer or software engineer is easier than you think.
While there are quite a lot of things to learn …
Read Article →Programming languages provide the ability to remove special characters from a string quite easily.
Sometimes you need to also do this from your …
Read Article →