In the first part of the series we’ve seen some first examples of error handling in Rust, using unwrapping or pattern matching. This post will try to show you how Rust is making error handling a little more convenient than this. Let’s start with a simple program that reads this CSV file: and calculates the …
Author Archives: MaximFridental
Rust as an untroubled programming language
Lately I had a chance to implement the same simple prototype in three languages: Python, Go, and Rust. Python, being my primary programming language in the last 10 years, took me an hour. The version in Go took me a day. And I’ve spent a week (with pauses) to implement the same functionality in Rust. …
Continue reading “Rust as an untroubled programming language”
Data Scientists and Secret Management
βIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.ββ Edsger Dijkstra Already 1975 it was a common knowledge that software development tutorials, primers and courses can teach students bad habits. Nowadays, in my opinion, data …
Do we really need a staging system for data science?
So you are an infrastructure guy (a DevOp or an IT admin) and your data scientist or data engineer has told you they don’t need a staging system. You know for a fact that any professional software development needs a development system, a staging system and a production system, and that developing in production is …
Continue reading “Do we really need a staging system for data science?”
A three minute guide to Ansible for data engineers
Ansible is a DevOp tool. Data Engineeres can be curious about tech and tools used by DevOps, but rarely have more than 3 minutes to spend for a quick look over the fence. Here is your 3 minutes read. To deploy something into an empty server, first we need to instal python there. So we …
Continue reading “A three minute guide to Ansible for data engineers”
How to make yourself to like YAML
2003 when I was employed at straightec GmbH, my boss was one of the most brilliant software engineers I’ve ever met. I’ve learnt a lot from him and I am still applying most of his philosophy and guiding principles in my daily work. To make an impression of him, its enough to know that we …
How to stop fearing and start using Kubernetes
The KISS principle (keep it simply stupid) is important for modern software development, and even more so in the Data Engineering, where due to big data and big costs every additional system or layer without clear benefits can quickly generate waste and money loss. Many data engineers are therefore wary when it goes about implementing …
Continue reading “How to stop fearing and start using Kubernetes”
How to choose a database for data science
“I have five CVS files one Gb each and the loading them with Pandas is too slow. What database should I use instead?” I often get similar questions from data scientists. Continue reading to obtain a simple conceptual framework to be able to answer this kind of questions yourself. Conceptual framework The time some data …
Continue reading “How to choose a database for data science”
Backup is working!
So guys, I have got some lessons learned about restoring from a backup this week! Every computer geek shames for his backup strategy. Most of us know we should backup our data, but we don’t do it. Those who do backups regularly, haven’t ever tried to restore from a backed up file to check if …
On Death of the Russian Culture
I was born in the USSR. When my country died, I didn’t feel anything special, maybe just a little hope: this was a new opportunity to do better, to learn from our mistakes, to become a member of a peaceful global world. Besides, I’ve clearly separated the country – a bureaucratic, infected with the communist …