The pip command makes it a breeze to install Python packages. If you work with NLP, chances are you’ve used one such package called sentencepiece which is a popular tokenizer — a tool central to Natural Language Processing (NLP). However, users occasionally experience impediments while installing Python packages which are mainly due to dependency issues.
These days many Linux distros ship with open source graphics drivers such as Nouveau preinstalled and the Arch Linux family is no different. While open-source drivers are usually good enough to use a graphical interface, they often lack proprietary features which official drivers provide. Hence, one cannot take full advantage of all the functionalities that the dedicated GPU has to offer.
Why Encrypt the Swap Partition? Encrypting the home partition is a good first step toward ensuring data confidentiality. However, a typical system usually stores some information outside /home such as in swap partitions which are not encrypted by default. This poses a security threat as sensitive information can be gleaned from the swap partition, even if the /home partition is encrypted.
Backstory I have been using my laptop full-time for the past 3 months. Consequently, my desktop PC remained dormant during this period and the software was obviously (extremely) out of date when I turned on my desktop computer on Wednesday. The very first thing I did was to update all repositories and packages using sudo pacman -Syy && sudo pacman -Syu, and then reboot the machine for a fresh…
X11 forwarding is a feature of the SSH (Secure Shell) protocol that enables graphical applications found on a remote computer to be accessed over an SSH connection. The GUI application is executed on the remote server, but the application’s window is displayed on the local computer where the SSH session was started.
A user can be defined as someone who has access to the system, albeit only to the resources for which permission has been granted. Fortunately, adding users on Linux is quite easy thanks to utilities such as useradd and adduser. Nonetheless, creating a user using the useradd command without any extra arguments will grant that user access to the shell by default.
FFmpeg is an open-source utility that is widely regarded as the swiss-army knife of audio and video manipulation. While many tend to use software such as OBS Studio or other desktop capture programs to record the desktop and system audio, I have always preferred using FFmpeg as it is more lightweight.
Bower is a package manager that facilitates the installation of the correct version of packages in your project. While these days tools such as yarn, parcel, or webpack are more popular, a lot of old projects still use bower to manage the dependencies. Backstory On Monday, I had to build a front-end project developed 7+ years ago and it happened to be using bower.
Hugo and Netlify are amazing tools when it comes to building and deploying static websites. Hugo is renowned for its advanced templating engine and blazingly fast build process, while Netlify is loved by many for its fast CDN and free tier. Backstory TechBlog.dev is a 100% statically generated website built using the Jamstack approach.
Setting up Flutter on Linux is pretty much straightforward. The official documentation is well detailed and numerous tutorials on the web explain how to configure a Flutter development environment on Linux. However, installing Android Studio is a major requirement as Flutter depends on several packages and libraries that ship with Android Studio.
Each one of us has a unique story or event that is central to our lives. Whatever interpretation one gives to life-altering events or experiences, one thing that is certain is that our lives are the cumulative result of our choices and actions. And ultimately, our stories end up defining who we are in the world around us.
The Need for Encryption Think of all the private data that people typically store on their computer: family pictures and videos, financial documents such as tax returns and bank statements, passwords (seriously ?!), and even source codes, all of which would have severe repercusions if a third-party gains access to them.
Unix-based machines are usually rebooted using the reboot command. Conversely, the poweroff command is normally executed to shut down computers running Linux. If you’re reading this blog post and landed here after a web search, chances are you’re not able to use either or both of these commands. Executing reboot or poweroff gives an error similar to the following message:
Modern computers are based on multiprocessor architectures. Each “core” can execute only one instruction at a time, but all the processing cores combined can execute multiple instructions simultaneously. However, program code that’s written in the traditional way is synchronous; that is the instructions follow one another in a logical and sequential manner.
You’ve installed your favorite Linux distro alongside Windows and have been happily enjoying the best of both worlds, without having to override your Windows installation. This is possible thanks to the incredible bootloader: GRUB. Until one day you notice that the GRUB boot menu no longer appears, causing your computer to automatically boot on Windows — locking you out of your Linux…
If you have tried downloading iTunes for Ubuntu, Arch Linux, Manjaro, or any other Linux distro in the past, you might have been confronted with a nasty surprise: “There’s no iTunes for Ubuntu / Arch Linux ! How do I access my iPhone / iPad / iPod from Linux !