Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Today, I accidentally found out that instead of using {:?}
-
TL;DR: When inserting a link (especially of the image) one can add pipe followed by size.
-
I have been using macOS for almost 9 years, and never used the workspaces feature (Not sure when it was introduced) But after looking at Omakub I started using this feature.
-
Today, I was trying to create a banner for my (upcoming) YouTube channel.
-
What is direnv direnv is a tool that allows you to change your environment based on the configuration in that folder. e.g.
-
One of the workflows I used in vi/m over last 2 decades is : vertical selection and edit So much so that it is part of my muscle memory and I needed to learn the equivalent in helix.
-
As I wrote earlier, I skipped over neovim initially, but then got curious.
-
While Omakub was mainly intended for developers (and thus has focus on terminal based programs like alacritty, zellij and neovim), it does come with few GUI programs.
-
I didn’t even know Zellij had such extensive plugin system.
-
If you can afford, please pay!
-
Yesterday, I came across this new script released by Basecamp.
-
Emacs 1 has this command fill-paragraph (Usually M-q) which will auto format long uneven lines to make them look even by adding a hard wrap.
-
After going through omakub 1 and its source, I wanted to recreate it on macOS as much as possible.
-
Default command for creating a new project is : django-admin startproject my_new_project Django will then create a folder called my_new_project (if it does not exist) But if folder my_new_project exists (even if empty) we get error like : CommandError: '/…
-
It is (almost) drop-in replacement for pip.
-
In rust, str is a primitive type, but many non-primitive types are also in scope by default. e.g.
-
OK, title is a bit of clickbait.
-
On the knowledge project podcast, Shane parrish interviewed Kevin Kelly The link above has good high level overview with timestamps.
-
In One percent better podcast 1, Joe interviews Matthew Dicks Matthew explains the Homework for Life 2 as (paraphrased) At the end of each day, write down important “stories” (not memories) of the day.
-
I switched to 1 Vivaldi browser after reading this post by Mike Kennedy To be fair, I had installed and tried Vivaldi a long time ago.
-
When I published my previous post on mastodon, Sebastian pointed out 1 that using #[cfg] is better than cfg!
-
We all know we shouldn’t use print debugging, and yet we all do 😉 1 Jokes apart, when I’m still developing the code, I use the debugger where possible.
-
At first, I assumed since we’ve declared the capacity upfront, it would be maximum capacity of the Vec Turns out, since Vec is expected to shrink and grow, as needed, there is no maximum capacity for Vec It just ensures that “sufficient” memory is allocat…
-
Today I learnt that certain rust code can be marked such that it is compiled only for specific platform.
-
Put @microblog.desipenguin.com@web.brid.gy in the search box.
-
Few days ago, I heard about this on some podcast (maybe changelog ?
-
At least for floating point numbers, it does not crash/panic!
-
I got myself a new mobile phone after almost 5 years.
-
We have a bicycle which was unused for months.
-
One of the strength of Rust is memory management.
-
(undocumented?)
-
As I am setting up my new machine, I came across this error when emacs tried to use rust-analyzer error: Unknown binary 'rust-analyzer' in official toolchain 'stable-x86_64-apple-darwin'.
-
When refactoring code to make API call to Gemini, I learnt how to format raw strings in rust. fn main() { let var1 = "test1"; let formatted = format!
-
It is very important that secrets are stored in environment variables during the runtime.
-
Finally, my Macbook Pro is back!
-
Today was my last day at Sage (I joined Lockstep, which was acquired by Sage) I spent a little over two years working with the wonderful engineering team there.
-
I had tried switching to tmux for local shell sessions in past, but never truly understood why I might need it.
-
At work, I need to load test new framework I had deployed.
-
My Macbook Pro won’t boot anymore :( I was watching some Youtube videos in the evening, and then at night, it just became unresponsive.
-
Clippy is a linter for Rust programming language.
-
Earlier I wrote about various utilities written in rust.
-
This youtube video mentions the following tools: exa bat zellij mprocs ripgrep irust bacon cargo-info ncspot porsmo speedtest-rs rtx-cli Of these I installed zellij, which is replacement for tmux (or screen) I also installed mprocs, irust I already have r…
-
I continued reading Command Line Applications in Rust Learnt that testing is easy.
-
Today I started reading Command Line Applications in Rust Even though I have not finished reading “the book”, I am (by now) familiar with enough rust code that reading this book was kinda refreshing.
-
Technically this may be more like day 8 or 9, cause I did read some stuff from the rust book in last few days, and made note here Nothing improves your understanding better than doing – Me 😄 I was trying accessing the individual fields in tuple struct usi…
-
When I started reading about Ownership, I was thinking I have done C.
-
I wrote about logseq almost two years ago and then I think when I switched job, I stopped using logseq.
-
Yesterday, I was trying to access Bard API via Rust The task is WIP because : I’m still learning Rust (Although on Day 5 I was able to access a URL from rust code) I didn’t know how to access Bard API It started with a Youtube video that: Uses python code…
-
I want to access Bard API via Rust, but it will take some time.
-
Due to death in my family, “100 days of Rust” is halted.