101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

504
active users

#trustfall

0 posts0 participants0 posts today

Latest update from the #eurorust24 YouTube channel! A new video just dropped! 🦀 Join @predrag as he breaks down advanced Rust testing techniques: invariant testing, snapshot testing, and deterministic simulation. Perfect for anyone ready to catch sneaky bugs and write rock-solid code.

Watch it his talk at EuroRust 📹👉 youtu.be/3EFue8PDyic

Also check out Predrag's amazing ‘cargo-semver-checks’ crate and his Trustfall Query Engine ➡️ predr.ag/about/

youtu.be- YouTubeEnjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
Continued thread

Querying APIs with Trustfall means you don't worry about:
- rate limits
- caching
- optimizations (like predicate pushdown)
- weird API quirks and inconsistencies (every API has them!)

You write the query, #Trustfall handles everything else.

A friend's company uses a bot for GitHub issue triage. They wanted to know how often people react 👍 or 👎 to its comments.

A few min and one #Trustfall query later, they had a dataframe with all their data: 5000+ rows.

Who else could use this? RTs appreciated, DM me for access 👀

✨ Better autocomplete in Trustfall playground ✨

Contributed by GitHub user u9g, now it only suggests directives that are valid for that spot in the query.

Here 👇 only edges can have @​recurse or @​optional, so they aren't offered on properties like byUsername.

Starting to build a Trustfall adapter just got easier:

trustfall_stubgen --schema <file> --target <dir>

➡ High-quality adapter stub containing all types, properties, and edges in your schema. It even unpacks edge properties into their proper types!

All screenshots from the example HackerNews schema in the Trustfall repo's test cases:
github.com/obi1kenobi/trustfal

Continued thread

Wondering what the code for this looks like?

In cargo-semver-checks, it's *literally* just a version bump. No joke. Business logic shouldn't care about how queries run under the hood! #trustfall

In the adapter, it's 2 caches + 3 "fast paths" in ~750 LoC:
github.com/obi1kenobi/trustfal

GitHubSpeed up item, impl, method lookups with new Trustfall optimizations API. by obi1kenobi · Pull Request #159 · obi1kenobi/trustfall-rustdoc-adapterBy obi1kenobi