SOFTWARE AND DATA ENGINEERING
Not Every Question Has a Yes or No
Software engineers are good at arguing about the right way to build things. Lately the argument is about AI: should agents write, test, and deploy our code, or should software stay a human process? We tend to frame the debate as if one camp must be right and the other wrong. Some disagreements work like that. Others donāt, and it helps to know which kind you are in. ## Questions with an answer # Imagine two developers looking at a button. One calls it red; the other calls it blue. Drag to see the change We can start with the usual suspects: - the CSS that sets the color, - the computed style the browser applies, - the display that renders it. If all of those match and the disagreement persists, we have to look from the other personās side: how their screen is calibrated, what light they are sitting in, and how they perceive color. That is where we find out why they see it differently. It may take some digging, but the question has an answer. ## Questions without one # Now imagine a sealed box. Two people disagree about what is inside, but neither can open it or learn anything more about it. There is no computed style to inspect. Each may have good reasons, and one of them may even be right, but neither can show it. Some questions are sealed boxes. Would my life be better, or would I be healthier, if I had moved to another city ten years ago? The other life was never lived, so there is nothing to open. It is also not one question. A move changes work, friends, money, sleep, and habits, and each of those changes the others. A better job might bring a longer commute, which costs time with friends, which affects health. The answer comes out of a whole system, and a yes or no throws most of it away. ## Yes or no to AI # AI: yes or no? sounds like the button. It is closer to the move. Software development is a system too: the people on the team, the codebase, the tests, the customers, the deadlines, and the cost of getting something wrong. Change how code gets written and the rest shifts with it. Reviews get faster or shallower, prototypes get cheaper, and security problems show up in new places. A disposable prototype with no users and software that controls medical equipment are different systems. The same choice can be right for one and wrong for the other. Even one team canāt settle it by trying. If it ships quickly with agents and succeeds, it never sees the version where humans built it, and it canāt tell whether the success came from the process or from timing and luck. For one team the answer might be yes, for another no, and for both it may change next year as the tools, the people, and the product change. What we have is the system we are standing in, and it is still moving.
FRIENDSBUTTON
HOME GARDENING AND HOUSEHOLD LIFE
Linux utility & productivity tools
--- Using Linux for development at first can be daunting, but with the right tools and applications, you can become more productive. Here are few tools and utilities(in no particular order) I use day to day. ## tldr # If you are newcomer, you will love tldr. From their website: > The TLDR pages are a community effort to simplify the beloved man pages with practical examples. Chances are, you used the
man command to read user manual about certain commands. These manuals are also lengthy; they provide a lot of information we donāt need at the moment. Finding solution by reading manual can also be complicated or cumbersome. This is where tldr comes in. It simplifies command usage and gives us clear examples and info on certain command. For example, if we ran tldr ls, we would get the output: bash ls List directory contents. - List files one per line: ls -1 - List all files, including hidden files: ls -a - Long format list (permissions, ownership, size and modification date) of all files: ls -la - Long format list with size displayed using human readable units (KB, MB, GB): ls -lh - Long format list sorted by size (descending): ls -lS - Long format list of all files, sorted by modification date (oldest first): ls -ltr We can see clear usage of ls command. To install tldr, refer to their installation section. --- Rule of thumb: If you are in a hurry, use tldr. If you look for something very specific in some command, use man. ## StormSSH # StormSSH is a command line tool to manage your SSH connections. You can use it to add, delete or edit hosts you want to connect to. All configurations are written in current user SSH config file. Usage: bash Add a host(port is optional, defaults to 22): $ storm add my_vps1 dev@192.168.12.1:22 - Success my_vps1 added to your ssh config. you can connect it by typing "ssh my_vps1". - storm add my_vps2 root@192.168.12.2 - Success my_vps2 added to your ssh config. you can connect it by typing "ssh my_vps2". List all hosts added by storm: $ storm list - Listing entries: my_vps1 -> dev@192.168.12.1:22 my_vps2 -> root@192.168.12.2 Delete a host: $ storm delete my_vps1 - Success hostname "my_vps1" deleted successfully. The thing I like the most about storm is that it provides web interface(written in Flask) to add, delete and modify hosts. To use it, execute: $ storm web Read more about StormSSH usage at here. ## Bat # You can use Bat as alternative to cat command for more fancy output. If content canāt fit on screen, it will use pager (e.g. less) which you can use to navigate through content of a file. So if you use bat main.dart to output content of a file, you will see file with Syntax Highlighting applied as below: Short tip: Set alias cat="bat" for unobstructed work. ## Exa # As in previous example, Exa acts as modern replacement for ls command. I have multiple aliases set for exa as: bash alias l="exa --long --header --all" alias ls="exa --long --header" alias tree="exa --tree --level=2" Example output when I run ls: ## Z # Z is a utility for ājumping aroundā. From description: > Tracks your most used directories, based on āfrecencyā. > After a short learning phase, z will take you to the most āfrecentā > directory that matches ALL of the regexes given on the command line, in > order. When you install it or enable it (I have this one enabled as ZSH plugin in ~/.zshrc), everytime you use cd to change directory, it will build itās own db of visited directories. Then, using z project will take you to most frecent dir matching āprojectā, which can be located deeply as /path/to/nested/project. --- 1. Update(2023): I have been using a lot of tools and application with a recent switch to Nix. Make sure to check my dotfiles since they contain everything and more not specified at here.CYBERSECURITY AND DIGITAL PRIVACY
Moving to Bitwarden from LastPass with style
A few days ago, LastPass struck a heavy blow on free users. They gave ultimatum to free users in which they have to choose one type of device they will use LastPass password manager - Mobile or Computer. This will make LastPass really cumbersome to use on both. ## About Bitwarden # Bitwarden is open source password manager. You can use it across all types of various devices, with unlimited number of items inside your Vault. It also offers Premium for 10$ a year, with remarkable feature - Bitwarden Authenticator. Bitwarden Authenticator is used for 2FA. When you use autofill to sign into the site, Bitwarden silently copies 6 digit code into clipboard. So itās a very good alternative to some other 2FA apps (grab your mobile device, see code, enter it manually). ## Moving to Bitwarden⦠# Bitwarden has a complete article on how to export your data from LastPass and import them into Bitwarden. Since that article explains in details a convenient solution for most users, I wanted to explain my approach on exporting and importing data by using lastpass-cli and bitwarden-cli tools. You can easily install or download both CLI tools by following instructions for your platform. ## ⦠with style # First, use
lastpass-cli to login inside your vault: bash lpass login your_email@email.com Once you enter your Master Password, export your data from LastPass into a file: bash $ lpass export > my_passwords.csv Now, login in into bitwarden by using bitwarden-cli: bash $ ./bw login On successful login, use exported data with format set to lastpasscsv to import it into Bitwarden: bash $ ./bw import lastpasscsv my_passwords.csv Now check your Bitwarden vault and you should see everything imported. At the end, logout from both and remove exported file (my_passwords.csv) since it contains all your passwords in plain text. ## Finishing thoughts # Bitwarden made it easy to move from any password manager you are using by providing options and articles on how to do it. Iāve used a different approach because I used lastpass-cli to restore my SSH keys in the past and because Iām familiar with the CLI tool itself. If you decide to delete your LastPass account, please make sure that all exported data inside LastPass vault match your Bitwarden vault. Donāt make hasty decision just to lose access to sites you like and passwords you canāt remember.WEB DEVELOPMENT AND INTERNET TECHNOLOGIES
Linux utility & productivity tools
--- Using Linux for development at first can be daunting, but with the right tools and applications, you can become more productive. Here are few tools and utilities(in no particular order) I use day to day. ## tldr # If you are newcomer, you will love tldr. From their website: > The TLDR pages are a community effort to simplify the beloved man pages with practical examples. Chances are, you used the
man command to read user manual about certain commands. These manuals are also lengthy; they provide a lot of information we donāt need at the moment. Finding solution by reading manual can also be complicated or cumbersome. This is where tldr comes in. It simplifies command usage and gives us clear examples and info on certain command. For example, if we ran tldr ls, we would get the output: bash ls List directory contents. - List files one per line: ls -1 - List all files, including hidden files: ls -a - Long format list (permissions, ownership, size and modification date) of all files: ls -la - Long format list with size displayed using human readable units (KB, MB, GB): ls -lh - Long format list sorted by size (descending): ls -lS - Long format list of all files, sorted by modification date (oldest first): ls -ltr We can see clear usage of ls command. To install tldr, refer to their installation section. --- Rule of thumb: If you are in a hurry, use tldr. If you look for something very specific in some command, use man. ## StormSSH # StormSSH is a command line tool to manage your SSH connections. You can use it to add, delete or edit hosts you want to connect to. All configurations are written in current user SSH config file. Usage: bash Add a host(port is optional, defaults to 22): $ storm add my_vps1 dev@192.168.12.1:22 - Success my_vps1 added to your ssh config. you can connect it by typing "ssh my_vps1". - storm add my_vps2 root@192.168.12.2 - Success my_vps2 added to your ssh config. you can connect it by typing "ssh my_vps2". List all hosts added by storm: $ storm list - Listing entries: my_vps1 -> dev@192.168.12.1:22 my_vps2 -> root@192.168.12.2 Delete a host: $ storm delete my_vps1 - Success hostname "my_vps1" deleted successfully. The thing I like the most about storm is that it provides web interface(written in Flask) to add, delete and modify hosts. To use it, execute: $ storm web Read more about StormSSH usage at here. ## Bat # You can use Bat as alternative to cat command for more fancy output. If content canāt fit on screen, it will use pager (e.g. less) which you can use to navigate through content of a file. So if you use bat main.dart to output content of a file, you will see file with Syntax Highlighting applied as below: Short tip: Set alias cat="bat" for unobstructed work. ## Exa # As in previous example, Exa acts as modern replacement for ls command. I have multiple aliases set for exa as: bash alias l="exa --long --header --all" alias ls="exa --long --header" alias tree="exa --tree --level=2" Example output when I run ls: ## Z # Z is a utility for ājumping aroundā. From description: > Tracks your most used directories, based on āfrecencyā. > After a short learning phase, z will take you to the most āfrecentā > directory that matches ALL of the regexes given on the command line, in > order. When you install it or enable it (I have this one enabled as ZSH plugin in ~/.zshrc), everytime you use cd to change directory, it will build itās own db of visited directories. Then, using z project will take you to most frecent dir matching āprojectā, which can be located deeply as /path/to/nested/project. --- 1. Update(2023): I have been using a lot of tools and application with a recent switch to Nix. Make sure to check my dotfiles since they contain everything and more not specified at here.IDENTITY AND ACCESS MANAGEMENT
Moving to Bitwarden from LastPass with style
A few days ago, LastPass struck a heavy blow on free users. They gave ultimatum to free users in which they have to choose one type of device they will use LastPass password manager - Mobile or Computer. This will make LastPass really cumbersome to use on both. ## About Bitwarden # Bitwarden is open source password manager. You can use it across all types of various devices, with unlimited number of items inside your Vault. It also offers Premium for 10$ a year, with remarkable feature - Bitwarden Authenticator. Bitwarden Authenticator is used for 2FA. When you use autofill to sign into the site, Bitwarden silently copies 6 digit code into clipboard. So itās a very good alternative to some other 2FA apps (grab your mobile device, see code, enter it manually). ## Moving to Bitwarden⦠# Bitwarden has a complete article on how to export your data from LastPass and import them into Bitwarden. Since that article explains in details a convenient solution for most users, I wanted to explain my approach on exporting and importing data by using lastpass-cli and bitwarden-cli tools. You can easily install or download both CLI tools by following instructions for your platform. ## ⦠with style # First, use
lastpass-cli to login inside your vault: bash lpass login your_email@email.com Once you enter your Master Password, export your data from LastPass into a file: bash $ lpass export > my_passwords.csv Now, login in into bitwarden by using bitwarden-cli: bash $ ./bw login On successful login, use exported data with format set to lastpasscsv to import it into Bitwarden: bash $ ./bw import lastpasscsv my_passwords.csv Now check your Bitwarden vault and you should see everything imported. At the end, logout from both and remove exported file (my_passwords.csv) since it contains all your passwords in plain text. ## Finishing thoughts # Bitwarden made it easy to move from any password manager you are using by providing options and articles on how to do it. Iāve used a different approach because I used lastpass-cli to restore my SSH keys in the past and because Iām familiar with the CLI tool itself. If you decide to delete your LastPass account, please make sure that all exported data inside LastPass vault match your Bitwarden vault. Donāt make hasty decision just to lose access to sites you like and passwords you canāt remember.