ZIP vs RAR

ZIP vs RAR

ZIP and RAR are two popular file formats in the Windows world. They have similarities, since both of them provide lossless file compression. But they have some fairly significant technical and philosophical differences too. Here’s a look at ZIP vs RAR and why the two file formats have coexisted side by side for decades.

Read more

json.loads vs json.dumps in Python

json.loads vs json.dumps in Python

Dealing with JSON is a common task when you’re coding in Python. Two functions you may use a lot without fully understanding them are json.loads and json.dumps. Let’s take a look at json.loads vs json.dumps in Python, what they do, and how they can help you, especially when wrangling complex JSON data from APIs.

json.loads and json.dumps are two functions in Python for converting JSON to and from simple strings. Sometimes one is better than the other, and being able to convert between them reduces the trade-offs you have to make.

Read more

Make a Word hyperlink UNC path

I had an issue in a document with a hyperlink to an existing file. The file existed on a network drive, so the link worked fine… until someone with different drive mappings than me had to look at the document. Then the link didn’t resolve and the person got an error message. A confusing error message. It turns out it’s tricky to make a Word hyperlink UNC path.

Fixing it wasn’t as easy as it should have been. Read more

Gzip vs Zip

Gzip vs Zip

Zip and gzip are two similarly named utilities, and they perform similar functions, but they are unrelated. They also have slightly different use cases. Let’s take a look at gzip vs Zip.

Simply speaking, Zip and gzip are implementations of the same compression algorithm for different operating systems, so they are similar but the file formats aren’t compatible. Zip originated with MS-DOS, while gzip originated with Unix-like operating systems, notably Linux.

Read more

Can’t type in PyCharm? Try this first.

Can’t type in PyCharm? Try this first.

PyCharm is a lifesaver for developing in Python, but it has a glitch. Sometimes, after you run a script, you lose the ability to type in the editor and make changes. Loads of web sites offer elaborate suggestions to fix the problem, when PyCharm doesn’t allow typing, but frequently, these complex solutions don’t work. Frequently they cause other problems. Try the easy solutions first.

The two easy solutions are to double-click on another file in your project, then double click on your script again. And if that doesn’t work, just exit PyCharm entirely and relaunch it.

Read more

Is Windows Unix based?

At least two of the most popular operating systems of today are based on Unix. But what about Windows? Is Windows Unix based?

While Windows has some Unix influences, it is not derived or based on Unix. At some points is has contained a small amount of BSD code but the majority of its design came from other operating systems.

Read more

RAM Doubler remembered

RAM Doubler remembered

RAM Doubler was a fairly popular product for Macintosh computers in the 1990s. But you can’t buy it today, and if it seems like it’s been a while since you’ve seen or heard of it, there’s a reason for it. Ironically, it was a competing product that didn’t work that brought it down. Here’s what happened to RAM Doubler.

RAM Doubling products worked by setting aside an area of memory and compressing it, then decompressing it when you needed it. It was a form of virtual memory, theoretically faster than traditional virtual memory that used disk space, but less stable.

Read more

Openoffice vs Libreoffice

Openoffice vs Libreoffice

If you need a free, open source office suite, the leading choices are Openoffice and Libreoffice. And if you’re comparing, the two may seem more alike than different. The apps all have the same names, the user interfaces are really similar, and so are the feature sets. It’s not a coincidence, but there are some differences. Let’s take a look at Openoffice vs Libreoffice.

Libreoffice is derived from Openoffice, so that’s why the tools are so similar. However, there are some minor differences between the two that may be important to you.

Read more

Advantages and disadvantages of CLI

Advantages and disadvantages of CLI

Many people regard command line interfaces as old-fashioned. They’re certainly less friendly and much less intuitive than icons and a mouse. Nevertheless, command line interfaces still exist, and even the Macintosh, the computer that introduced the masses to icons and mice, has one. So what are the advantages and disadvantages of CLI?

Command lines can be cryptic but they can be a whole lot faster, and they make automation and dealing with huge data sets possible. Network administrators, system administrators, security professionals, and data scientists may all spend significant time using a CLI for this reason.

Read more

How game cracking works

How game cracking works

Copying software is a problem as old as software itself. Software manufacturers immediately sought to prevent people from copying their products. And it’s been a game of cat and mouse ever since, as people figured out how to crack the software so they could copy it. Here’s how game cracking works.

Cracking games, or any other software, is a matter of making the software stop performing whatever checks the manufacturer put in place to defeat copying. It typically takes some knowledge of machine language, and sometimes encryption, to make it work. But once the check is circumvented, the software generally can be copied freely.

Read more