Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. How to pretty-print in Rust

    Today, I accidentally found out that instead of using {:?}

  2. How to specify the size for the embeded image in Obsidian

    TL;DR: When inserting a link (especially of the image) one can add pipe followed by size.

  3. macOS : Whichspace

    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.

  4. Creating Youtube Banner

    Today, I was trying to create a banner for my (upcoming) YouTube channel.

  5. direnv with python

    What is direnv direnv is a tool that allows you to change your environment based on the configuration in that folder. e.g.

  6. Helix: Vertical Selection and Edit

    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.

  7. Omakub : Lazyvim

    As I wrote earlier, I skipped over neovim initially, but then got curious.

  8. Omakub : Pinta

    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.

  9. Zellij Plugins : zellij-forgot

    I didn’t even know Zellij had such extensive plugin system.

  10. Read Paywalled Articles for free - at least some anyway

    If you can afford, please pay!

  11. Omakub

    Yesterday, I came across this new script released by Basecamp.

  12. fill-paragraph in Helix

    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.

  13. macOS: How to render thin(ner) strokes in Alacritty

    After going through omakub 1 and its source, I wanted to recreate it on macOS as much as possible.

  14. Django: Create new project in an existing folder

    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: '/…

  15. UV: Superfast pip replacement written in Rust

    It is (almost) drop-in replacement for pip.

  16. In rust, str is a primitive type, but many non-primitive types are also in scope by default. e.g.

  17. How Zellij saved me

    OK, title is a bit of clickbait.

  18. Importance of Making Things

    On the knowledge project podcast, Shane parrish interviewed Kevin Kelly The link above has good high level overview with timestamps.

  19. Homework for Life

    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.

  20. Vivaldi Browser

    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.

  21. `#[cfg]` attrib vs `cfg!` macro in Rust

    When I published my previous post on mastodon, Sebastian pointed out 1 that using #[cfg] is better than cfg!

  22. Rust : Use println! only in Debug Build

    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.

  23. `Vec::with_capacity` in Rust

    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…

  24. Conditional Compilation in Rust

    Today I learnt that certain rust code can be marked such that it is compiled only for specific platform.

  25. You can now follow this blog from Fediverse

    Put @microblog.desipenguin.com@web.brid.gy in the search box.

  26. Conventional Commits

    Few days ago, I heard about this on some podcast (maybe changelog ?

  27. rust can Divide by Zero

    At least for floating point numbers, it does not crash/panic!

  28. Articol fără titlu

    I got myself a new mobile phone after almost 5 years.

  29. Articol fără titlu

    We have a bicycle which was unused for months.

  30. Rust: Clone vs Copy

    One of the strength of Rust is memory management.

  31. How to create IDE like experience in terminal using Zellij

    (undocumented?)

  32. error: Unknown binary 'rust-analyzer'

    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'.

  33. Format raw strings in rust

    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!

  34. How to use .env files with your rust project

    It is very important that secrets are stored in environment variables during the runtime.

  35. Articol fără titlu

    Finally, my Macbook Pro is back!

  36. Left Sage

    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.

  37. Why I switched to Zellij

    I had tried switching to tmux for local shell sessions in past, but never truly understood why I might need it.

  38. How I generated 2000 parallel requests using nu-shell

    At work, I need to load test new framework I had deployed.

  39. Articol fără titlu

    My Macbook Pro won’t boot anymore :( I was watching some Youtube videos in the evening, and then at night, it just became unresponsive.

  40. Clippy

    Clippy is a linter for Rust programming language.

  41. Nu Shell

    Earlier I wrote about various utilities written in rust.

  42. Oxidise Your Life

    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…

  43. 100 Days of Rust : Day 9 (Testing)

    I continued reading Command Line Applications in Rust Learnt that testing is easy.

  44. 100 Days of Rust : Day 8

    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.

  45. 100 Days of Rust : Day 7

    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…

  46. 100 Days of Rust : Day 6 (Ownership)

    When I started reading about Ownership, I was thinking I have done C.

  47. Logseq : Take 2

    I wrote about logseq almost two years ago and then I think when I switched job, I stopped using logseq.

  48. Access Google Bard via API

    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…

  49. 100 Days of Rust : Day 5

    I want to access Bard API via Rust, but it will take some time.

  50. Articol fără titlu

    Due to death in my family, “100 days of Rust” is halted.