News for hackers. Stuff that matters.

CathalMullan

There are plans to experiment with language level comptime support too: https://github.com/rust-lang/rust/pull/148820
Re:62 chapter open-source Zig book on Sunday November 16, 2025 @04:31PM (#45948590)
Pretty clear it's all AI. The @zigbook account only has 1 activity prior to publishing this repo, and that's an issue where they mention "ai has made me too lazy": https://github.com/microsoft/vscode/issues/272725
There's an experimental feature which separates storage and compute.

https://www.orioledb.com/docs/usage/decoupled-storage

Re:Hyperfine: A command-line benchmarking tool on Tuesday November 19, 2024 @07:55AM (#42182900)
There's also 'poop', which is a nice middle-ground between 'hyperfine' and 'perf'. https://github.com/andrewrk/poop
Re:Why you should probably be using SQLite on Friday October 27, 2023 @09:44AM (#38038344)
Feels like NewSQL DBs (CockroachDB, YugabyteDB, TiDB, etc.) may hit the sweet spot in regards to ease of deployment, and scalability.

Relatively easy to get started with a 'production-grade' cluster.

And they typically don't require any external load balancers, connection poolers, etc.

I'd like to think once NewSQL DBs mature, we'll see a shift away from using/abusing SQLite for these kinds of use cases.

Re:Why you should probably be using SQLite on Friday October 27, 2023 @09:01AM (#38037853)
A word of warning when it comes to Vultr. While they are listed as a member of the "Bandwidth Alliance", they don't discount egress automatically. You need to request the discount from support.

See: https://www.answeroverflow.com/m/1118148928915918990

Re:The Next Gen Database Servers Powering Let's Encrypt(2021) on Saturday September 16, 2023 @03:40PM (#37537973)
> These are expensive servers, crossing into six digits, but not $200k.

https://news.ycombinator.com/item?id=25865967

CAX11 looks like a great deal, especially with IPv4 disabled.
Re:Why sqlite3 temp files were renamed 'etilqs_*' (2006) on Tuesday June 13, 2023 @07:20AM (#36308479)
You can avoid creating .DS_Store files on network and USB volumes like so.

  defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
  defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
Re:Cases where full scans are better than indexes on Thursday May 25, 2023 @02:00PM (#36073914)
Lately, I've been investigating 'serverless' databases (PlanetScale, Turso) that charge based on the number of rows read/scanned. As a result, instead of just relying on the perceived performance of a query, I've started monitoring the number of rows scanned, which has emphasized the importance of indexes to me. Granted, the cost per rows read is minuscule (PlanetScale charges $1 per billion!), but it's still something I keep in mind.
Re:The Twitter Algorithm on Friday March 31, 2023 @03:10PM (#35391896)
Only used for metrics, apparently. [0]

  /**
   * These author ID lists are used purely for metrics collection. We track how often we are
   * serving Tweets from these authors and how often their tweets are being impressed by users.
   * This helps us validate in our A/B experimentation platform that we do not ship changes
   * that negatively impacts one group over others.
   */
[0]: https://github.com/twitter/the-algorithm/blob/7f90d0ca342b92...
Re:Oxidizing bmap-tools: rewriting a Python project in Rust on Saturday March 04, 2023 @06:49PM (#35025677)
The Rust re-write is being worked on in a separate repo: https://github.com/pydantic/pydantic-core
Another tool in this space is Dasel[1], which can handle querying/modifying JSON, YAML, TOML, XML and CSV files.

[1] https://github.com/TomWright/dasel

Re:Wing: A cloud-oriented programming language on Monday December 19, 2022 @11:14AM (#34053766)
Since Wing compiles to Terraform, you should be able to manually run Infracost (https://www.infracost.io) to get an idea of costs.

Having that capability baked into the language/compiler would be a great addition.