Readit News logoReadit News
babo commented on The Lobster Programming Language   strlen.com/lobster/... · Posted by u/klaussilveira
babo · 5 days ago
Running some of the samples feels like those old SGI Iris GL demos, but implemented with a way nicer and concise language. I'll try to port some of my old code from that era.
babo commented on Starship: A minimal, fast, and customizable prompt for any shell   starship.rs/... · Posted by u/benoitg
babo · 2 months ago
Produced a 151 characters long prompt in my current development directory. This is really a starship, but I'm a pedestrian.
babo commented on Advent of Code 2024   adventofcode.com/2024/abo... · Posted by u/thinkingemote
delta_p_delta_x · 9 months ago
Is there a way to override the CSS (on Chromium)? The body font and weight, Source Code Pro is far too thin and far too wide and gives me a headache (and has regularly turned me off AoC). I'd like to change it to `sans-serif`.
babo · 9 months ago
There are CLI tools to fetch and submit solutions. At least one of them allows you to download the puzzle description as markup: https://github.com/scarvalhojr/aoc-cli
babo commented on Ractor – a Rust Actor Framework   slawlor.github.io/ractor/... · Posted by u/todsacerdoti
rapsey · 10 months ago
Sorry for being so negative but why do people keep building these Actor frameworks for Rust? None of them get any usage.
babo · 10 months ago
This seems to be used at Meta: "Ractor had a session at RustConf’24 about how it’s used for distributed overload protection in Rust Thrift servers at Meta."
babo commented on Show HN: Edna, note taking app for developers   edna.arslexis.io/... · Posted by u/kjksf
michaelrpeskin · a year ago
Is desktop on the roadmap? I use HeyNote (desktop) every day and the only feature I _really_ want is multiple notes. You added that, but I need desktop because of corporate rules.
babo · a year ago
If you have git, golang and bun/nodejs on your machine it works from localhost.

  git clone git@github.com:kjk/edna.git
  cd edna/server && go get && go build && cd ..
  ./server/server -build-local-prod
  ./server/server -run-local-prod

babo commented on Hacking my “smart” toothbrush   kuenzi.dev/toothbrush/... · Posted by u/PikelEmi
jamesdwilson · 2 years ago
Kind of concerning this could turn into another toner ink situation
babo · 2 years ago
It works happily with a brush head without NFC. That was the first thing I tried with my new toothbrush.
babo commented on Pulumi 3.0   pulumi.com/blog/pulumi-3-... · Posted by u/bovermyer
throwaway823882 · 4 years ago
Side rant: Terraform has somehow convinced people that mandatory state tracking is a good idea, because it is a useful feature sometimes. It's often more harmful than good.

These tools are just configuration management for the cloud. No other configuration management tool requires your changes conform to something that was pre-existing in a state file. They simply modify the system state to reach what your intended configuration is, without needing to track state.

Orchestration tools that rely entirely on state files to make all changes are poorly designed. State snapshots are a limited view of the past, and do not reflect the actual current state. So you have to grab the state, then see what has changed, and wonder if what has changed was intentional and should be preserved, or if it needs to be overwritten. This is basically distributed change consensus, like merging Git trees, or Paxos. But tools like Terraform basically throw away the current real-world state, like ignoring what's in the mainline branch, because merging is, like, hard, man.

State files are useful when your CM tool cannot understand which resources need to exist in what form. Sometimes you may need to maintain certain infrastructure, but your tool doesn't have an easy way to determine what resources it is maintaining versus the resources that are not managed by it. But in most cases, there are various ways to detect that in code, rather than recording it in a state file. Every CM tool in the world does this, because you don't really care about the previous state as much as reaching your desired state!

The other way state files are useful is as a log of past actions. But that's not the way tools like Terraform use it; they lean on it like a crutch. Rather than just telling you what has changed since the last Terraform run, they can often cause Terraform to just refuse to apply changes, or fail to detect and import existing resources if they weren't put into the state file manually (terraform import) or during terraform apply*.

babo · 4 years ago
One of the strength of pulumi is to export and reimport state, which is represented as an easy to digest json. You can edit state and that is even suggested by pulumi when it's stuck.
babo commented on Introduction to ARC/ORC in Nim   nim-lang.org/blog/2020/10... · Posted by u/Tiberium
vsskanth · 5 years ago
Is Nim a systems programming language ? can it operate at the same level as rust and zig ?
babo · 5 years ago
Not really. As the intro of this article says, it's possible to disable GC, but you loose most of the libraries, which is one of the strengths of Nim.

u/babo

KarmaCake day508December 16, 2007
About
[ my public key: https://keybase.io/babo; my proof: https://keybase.io/babo/sigs/uBYCYA7WUpxRs6Eh4ZPaNZd43TXNDgiSUTqnRKCLXQU ]
View Original