HN user

willcodeforfoo

354 karma

Co-Founder and Director of Engineering Vintage Aerial (vintageaerial.com)

Posts11
Comments106
View on HN
Darktable 5.0.0 2 years ago

Unrelated, but wondering if anyone here could recommend a Darktable-ish web-based photo organization app, less focused on editing but supporting tagging, starring, etc.?

Love this kind of post! I was surprised to see you really can drink from the firehose:

  brew install websocat
  websocat wss://bsky.network/xrpc/com.atproto.sync.subscribeRepos
...haven't tried to decode it, though.

Hmm, maybe... although that wouldn't help with the aggregating multiple nodes issue, or would require a lot of app-side logic.

In this example, I have 200GB of ephemeral storage available on each node, ideally I'd like something like this:

  node1: /tmp/data1 (200GB free space)
  node2: /tmp/data2 (200GB free space)
  node3: /tmp/data3 (200GB free space)
  node4: /tmp/data4 (200GB free space)
  node5: /tmp/data5 (200GB free space)
...pods could some how mount node{1..5} as a volume, which would have 5 * 200GB ~1TB of space to write to... multiple pods could mount it and read the same data.

Somewhat related: can anyone recommend a simple solution to share each node’s ephemeral disk/“emptyDir” across the cluster? Speed is more important than durability, this is just for a temporary batch job cluster. It’d be ideal if I could stripe across nodes and expose one big volume to all pods (JBOD style)

One thing I'm not sure of is how much of a larger bit of text should go into an embedding? I assume it's a trade off of context and recall, with one word not meaning much semantically, and the whole document being too much to represent with just numbers. Is there a sweet spot (e.g. split by sentence) or am I missing something here?

I wonder if this could be used to port entire projects/libraries to different languages almost completely automatically? ElasticSearch in Rust? Wondering about the legal/license ramifications of doing so...

Just some anecdata but I'm not seeing such dramatic improvements with YJIT, actually in my limited testing it's much slower...

Ruby 3.2.0, on a M1 MacBook Pro hitting a simple healthcheck route in a production Rails 6.1 app with wrk (`wrk -c8 -t8 -d30s http://localhost:3000/healthcheck`):

- 423 reqs/second with JIT disabled (using 229MB of RAM)

- 74 reqs/second running with `RUBYOPT="--yjit"` (using 385 MB of RAM)

I must be doing something wrong?

The Averting the National Threat of Internet Surveillance, Oppressive Censorship and Influence, and Algorithmic Learning by the Chinese Communist Party Act (ANTI-SOCIAL CCP Act)

...that actually is a pretty good name.

I love Tabler and have used it for a few projects with great success.

The title of the OP is not really accurate though. It's not so much a framework but a bunch of customization on top of Bootstrap and some pre-built templates for stuff _like_ dashboards, galleries, forms, etc. The site is more like a kitchen sink demo and documentation site for stuff you can pick apart and use in your own application.

I don't remember the leave-a-message one, but I do remember the dial in service. One day I went down to the local library and found an old phone book from the 90s and sure enough, it had all the codes. Here are some photos from the Toledo, OH Ameritech 1996-7 phone book if anyone else is curious:

https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar... https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar... https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar... https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar... https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar... https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar...

Tangentially-related: What's the state of the art for storing a bunch[1] of hashes like the OP (or pHash, etc.) in PostgreSQL and querying by hamming distance in a reasonable time?[2]

pg_similarity? pg_trgm? cube?

[1]: 10–50 Million

[2]: < 200ms

Pretty clever using the timezone offset to approximate the user's location without using GeoIP. I hadn't noticed that but sure enough, my (approximate) location is in view first.