Readit News logoReadit News
jzelinskie commented on IBM and AMD to work on quantum-centric supercomputing   newsroom.ibm.com/2025-08-... · Posted by u/donutloop
jzelinskie · 3 days ago
After reading about the recommendation system breakthrough[1], I'm more curious about just how much we're leaving on the table with classical algorithms. If you raised the amount of money being funneled into quantum computing and spent it purely funding classical algorithm research, would you be better off?

[1]: https://www.quantamagazine.org/teenager-finds-classical-alte...

jzelinskie commented on Jqfmt like gofmt, but for jq   github.com/noperator/jqfm... · Posted by u/Bluestein
rwiggins · a month ago
Oh, fantastic. jq has become an integral part of work for me.

I'll use this opportunity to plug the one-liner I use all the time, which summarizes the "structure" of a doc in a jq-able way: https://github.com/stedolan/jq/issues/243#issuecomment-48470... (I didn't write it, I'm just a happy user)

For example:

    $ curl -s 'https://ip-ranges.amazonaws.com/ip-ranges.json' | jq -r '[path(..)|map(if type=="number" then "[]" else tostring end)|join(".")|split(".[]")|join("[]")]|unique|map("."+.)|.[]'
    .
    .createDate
    .ipv6_prefixes
    .ipv6_prefixes[]
    .ipv6_prefixes[].ipv6_prefix
    .ipv6_prefixes[].network_border_group
    .ipv6_prefixes[].region
    .ipv6_prefixes[].service
    .prefixes
    .prefixes[]
    .prefixes[].ip_prefix
    .prefixes[].network_border_group
    .prefixes[].region
    .prefixes[].service
    .syncToken
(except I have it aliased to "jq-structure" locally of course. also, if there's a new fancy way to do this, I'm all ears; I've been using this alias for like... almost a decade now :/)

In the spirit of trying out jqfmt, let's see how it formats that one-liner...

    ~  echo '[path(..)|map(if type=="number" then "[]" else tostring end)|join(".")|split(".[]")|join("[]")]|unique|map("."+.)|.[]' | ~/go/bin/jqfmt -ob -ar -op pipe
    [
        path(..) | 
        map(if type == "number" then "[]" else tostring end) | 
        join(".") | 
        split(".[]") | 
        join("[]")
    ] | 
        unique | 
        map("." + .) | 
        .[]%
    ~  
Not bad! Shame that jqfmt doesn't output a newline at the end, though. The errant `%` is zsh's partial line marker. Also, `-ob -ar -op pipe` seems like a pretty good set of defaults to me - I would prefer that over it (seemingly?) not doing anything with no flags. (At least for this sample snippet.)

jzelinskie · a month ago
This is an incredibly useful one-liner. Thank you for sharing!

I'm a big fan of jq, having written my own jq wrapper that supports multiple formats (github.com/jzelinskie/faq), but these days I find myself more quickly reaching for Python when I get any amount of complexity. Being able to use uv scripts in Python has considerably lowered the bar for me to use it for scripting.

Where are you drawing the line?

jzelinskie commented on The Evolution of Caching Libraries in Go   maypok86.github.io/otter/... · Posted by u/maypok86
jzelinskie · 2 months ago
Just wanted to say thanks for such a good write-up and the great work on Otter over the years. We've used Ristretto since the beginning of building SpiceDB and have been watching a lot of the progress in this space over time. We've carved out an interface for our cache usage a while back so that we could experiment with Theine, but it just hasn't been a priority. Some of these new features are exciting enough that I could justify an evaluation for Otter v2.

Another major for on-heap caches that wasn't mentioned their portability: for us that matters because they can compile to WebAssembly.

jzelinskie commented on Cmapv2: A high performance, concurrent map   github.com/sirgallo/cmapv... · Posted by u/sirgallo
latchkey · 2 months ago
I've been using this one for years, can you do comparisons against it?

https://github.com/cornelk/hashmap

jzelinskie · 2 months ago
Another good comparison would be against https://pkg.go.dev/github.com/puzpuzpuz/xsync/v3#Map
jzelinskie commented on Salesforce study finds LLM agents flunk CRM and confidentiality tests   theregister.com/2025/06/1... · Posted by u/rntn
simonw · 2 months ago
Paper: https://arxiv.org/abs/2505.18878

Code: https://github.com/SalesforceAIResearch/CRMArena

Data: https://huggingface.co/datasets/Salesforce/CRMArenaPro (8,614 rows)

Here's one of those JSON files loaded in Datasette Lite (15MB page load): https://lite.datasette.io/?json=https://huggingface.co/datas...

I had Gemini 2.5 Pro extract the prompts they used from the code:

  llm install llm-gemini
  llm install llm-fragments-github
  llm -m gemini/gemini-2.5-pro-preview-06-05 \
    -f github:SalesforceAIResearch/CRMArena \
    -s 'Markdown with a comprehensive list of all prompts used and how they are used'
Result here: https://gist.github.com/simonw/33d51edc574dbbd9c7e3fa9c9f79e...

jzelinskie · 2 months ago
I recommend folks check out the linked paper -- it's discussing more than just confidentiality tests as a benchmark for being ready for B2B AI usage.

But when it comes to confidentiality, having fine-grained authorization securing your RAG layer is the only valid solution that I've seen in used in industry. Injecting data into the context window and relying on prompting will never be secure.

jzelinskie commented on Container: Apple's Linux-Container Runtime   github.com/apple/containe... · Posted by u/jzelinskie
jzelinskie · 3 months ago
Container runs OCI (docker) compatible by creating lightweight VMs.

This repository houses the command-line interface which is powered by containerization[0], the Swift framework wrapping Virtualization.framework to implement an OCI runtime.

[0]: https://github.com/apple/containerization

jzelinskie commented on Apple announces Foundation Models and Containerization frameworks, etc   apple.com/newsroom/2025/0... · Posted by u/thm
paxys · 3 months ago
It's impossible to have "native" support for Linux containers on macOS, since the technology inherently relies on Linux kernel features. So I'm guessing this is Apple rolling out their own Linux virtualization layer (same as WSL). Probably still an improvement over the current mess, but if they just support LXC and not Docker then most devs will still need to install Docker Desktop like they do today.
jzelinskie · 3 months ago
The screenshot in TFA pretty clearly shows docker-like workflows pulling images, showing tags and digests and running what looks to be the official Docker library version of Postgres.
jzelinskie commented on Show HN: Patio – Rent tools, learn DIY, reduce waste   patio.so... · Posted by u/GouacheApp
keerthiko · 3 months ago
I used to live in Berkeley, CA circa 2013. They had a tool library, which was part of the local public library system, and tools were free (!) to rent. I miss it everyday, as it was a godsend for broke new grads who still wanted to do some quick but heavyduty DIY.

I now live in NYC, and my local Home Depot rents out power tools for $20-30/day. The typical tool would pay for itself in 2 days at these rates, but it's still worth it to me as these 2 days are often 2-3 years apart and I'd rather not store these tools in my cramped 1BR.

What I would love is a community-run tool rental service where we can donate a tool + pay a nominal membership fee, and borrow tools for free. I am happy to donate a $120 circular saw/impact driver if I can rent 10x different tools once each for $5/mo for the next year. The closest thing I have now is my local hackerspace, which is great, but I often have to work on my projects at the space, which limits the kind of home DIY I can do.

jzelinskie · 3 months ago
The Brooklyn Public Library in Green Point has a tool library, although it isn't very large if that's close to you at all. I'm not sure if it's available at any other library locations but the one in Green Point is fairly new and has great programming.

u/jzelinskie

KarmaCake day2749September 25, 2012
About
cofounder authzed (YC W21)

jimmy (at) authzed (dot) com

https://authzed.com

https://jzelinskie.com

https://github.com/jzelinskie

https://twitter.com/jimmyzelinskie

https://floss.social/@jzelinskie

[ my public key: https://keybase.io/jzelinskie; my proof: https://keybase.io/jzelinskie/sigs/_ySiaPAv00XDZy5HEpw6-P5WIpbEo893EPAvl5ukT7s ]

View Original