SysadminDB in Rust
To learn Tokio and Axum, I just rewrote SysadminDB in Rust: https://github.com/camilomatajira/sysadmindb-rust
To learn Tokio and Axum, I just rewrote SysadminDB in Rust: https://github.com/camilomatajira/sysadmindb-rust
In this project, I evaluated the adoption of Rust (via PyO3) inside one of my personal projects, sysadmindb.The idea was to replace the main regex parser from Python s re, to Rust s regex crate.I benchmarked the current implementation and the proposed Rust version using pytest-benchmark.The results showed that the pure Python implementation was faster than Rust s...
Available: https://github.com/camilomatajira/jed In this release, the main objective was to allow filters to be applied at any depth of the JSON, without having to specify the full path from the root. Examples In the following example, connectors.json contains around 1800 objects.We can print the first connector using the expression 0,0p. 0,0 is an Array Range,...
In jed v0.3, I switched from Python to Rust, and publish the code on Github https://github.com/camilomatajira/jed There is still a lot of work to do, but you can check it out.
This is the follow up to https://camilo.matajira.com/?p=673.Back then I struggled to implement my usual solution to sudoku puzzles. My key pain point was working with a struct (a Cell) that has references to itself (next Cell) and to the head of the linked list . Approaching the problem like this worked in Java, Python and Javascript...
For this project, I decided to revisit my classic sudoku solver: A project I like to implement whenever I’m learning a new programming language. The sudoku solver was my first personal project which I originally wrote in Java in 2008. Since then, I’ve recreated it in Python (https://camilo.matajira.com/?p=220) and JavaScript as well. This time, I...
This is version v0.2 of jed.Jed is a command-line tool that aims to be the spiritual successor of sed but specialized in JSON data manipulation.I have written about this project before: https://camilo.matajira.com/?p=635 https://camilo.matajira.com/?p=638 In this realease I added the following features: The speed of the tool is remarkable for a tool written in Python. It...
This is my first small program in Rust. The idea was to implement a version of Linux wc command in Rust. Below is the code: Below is the example usage:
Introduction In this post I followed the powens API documentation to retrieve my mobile phone provider bills automatically. Powens is a company known for OpenBanking solutions, mainly the aggregation of user banking transactions and financial assets, but it also has a product called Trust that allows you to download periodically documents from your Banks, Government...
Following the previous post, this post deals with the parsing of the DSL or grammar of jed.The idea of this mini project is to be able to parse the syntax the substitute command. Below are example of the substitute command (S and s). To parse the grammar of jed, I use Lark. (https://lark-parser.readthedocs.io/en/stable/)Lark is a...