Pinned Tweet
this took me much more iterations than i had originally anticipated
When we released the ZK Book over a year ago, we took the ZK education space a huge step forward.
Our book pioneered the approach of "just enough math" to learn ZK.
Today we do it again with a new addition to the ZK Book.
"Circom and Constraint Design Patterns"
This new section focuses on how to design, create, and audit non-trivial ZK circuits.
You've probably seen a lot of tutorials about how to prove you know the evaluation of a polynomial using Circom.
But how do you go from there to designing a ZKVM or proving you know the primage of a traditional hash function (like MD5 or Keccak256)?
The new part of our ZK Book takes you on a journey from multiplying to numbers together to:
- building a ZKVM from scratch
- coding constraints for the MD5 hash function
- learn the recurring design patterns in constraint design
The last part was interesting because some of the established "design patterns" don't even have names for them. We had to invent some terminology!
As usual, we are extremely thoughtful about how we introduce the reader to new ideas to avoid overwhelming someone new. We are careful to ensure we teach the prerequisites in a sensible order and with a lot of examples.
Each chapter shows how to build a circuit for an increasingly complex application. With each chapter, you both review what you learned previously and learn a new design pattern.
Once you build up a collection of these design patterns, you can compose them together to build more complex applications, like the ZKVM or a non-trivial hash function.
We put a huge effort into making sure that the material is both easy to understand and correct without any important omissions.
We'd like to thank @ChainLight_io, @VeridiseInc, @PrivacyScaling, and @zksecurityXYZ for allocating time to review this work and provide suggestions.
We are particularly grateful to @marcobesier from @zksecurityXYZ for working through several revisions to really get the chapters into a polished state.
Special shoutout to @cal_nix for coauthoring the first seven chapters in this new part of the book!
The topics we cover here are extremely fundamental. If you don't understand the materials here, learning the internals of more modern ZKVM or ZK L2 client will be quite challenging. Up until now, the absence of newcomer-oriented explanations for such foundational concepts has held the ZK space back.
This new body of work isn't simply a "better explanation" of existing materials, but the first explanation at all -- outside of academic papers.
We use Circom as the language of instruction since we consider it the most beginner-friendly. However, what you learn here generalizes to other frameworks like Plonky3, Halo2, o1js, and Gnark. The new articles now make the ZK Book over 38,000 words longer.
You do not have to know how a ZK-SNARK works to read this section of the book, but there are a few prerequisites. These are listed in the "Introduction to Circom" chapter.
As usual, the material is completely free with no login required.
2
10
1,897
Stop staring at the price of ETH. Start discovering CROPS-friendly protocols like @tacitfi. What you can do at tacit today:
🛡️ Shield and withdraw ETH to a fresh address
💸 Send private payments
🔄 Private swaps and LPing
🏦 Private BTC exposure and dollar loans
↔️ Move value between Ethereum and Bitcoin
🤫 Receive BTC privately
🏷️ Issue tokens with hidden balances
Ethereum and Bitcoin are the two legitimate cypherpunk chains. Tacit connects them, privately, no custodians.
What excites me most: fast, cheap, private payments with TAC. We need a CROPS-friendly way to pay for goods and services, not just centralized stablecoins like USDC.
TAC has a fixed supply of 21 million, issued once on Bitcoin with no sale and no VC. It’s the currency of the Tacit chain, a private payments rollup on Ethereum, and the asset that moves between Bitcoin and Ethereum.
Please go to tacit.finance/ and start supporting proper DeFi. Participate!
Buy some TAC, provide liquidity, shield your ETH and withdraw to a fresh address, etc. I think you'll be very early to something with HUGE potential.
Found this useful? Send a small TAC tip to patrick.wei 🙏
calnix retweeted
Nope fuck you. I’ll wait 6 months till we absolutely sure, stupid motherfuckers.
NVIDIA GeForce Hotfix Driver v621.35 is now available. This update resolves the following:
✅Excessive writes to file nvlog.nvlgstg may occur in background
Click below to learn more: ⤵️
nvidia.custhelp.com/app/answ…
Download from: international.download.nvidi…
calnix retweeted
Huang allegedly stumbled into the meeting 47 minutes late smelling of bourbon and said "alright how are you retards going to waste my time today?" before calling his head of HR a "fat sow"
calnix retweeted
Your greatest weapon in this psychological war they wage on you daily is knowing one simple thing:
A people that see a new way to live, will never accept the old one where they suffer again.
You must all start seeing a new way to live. You are mycelia. You are connected. Make the world you want to see by first, removing any and all limiting beliefs they have fed you about what this world can be, what you and humanity are, and what your future looks like.
They keep your minds busy with garbage. They keep you tired. They want you overwhelmed with data poisoning if you see the patterns. They want you down rabbit holes with a false end. They want you distracted.
The last thing they want is for you to remember, we existed for hundreds of thousands of years before they began enslaving us without their hierarchy.
In the stillness. In the quiet. Feel your body. Feel that thing moving in your chest. Ask it what freedom looks like, what it feels like, ask it to give that feeling to you, let that ember become a flame and light within everyone you come in contact with.
Wake up. Connect. Transmute. The way out is through.
🔻🧿🦂
So the plot of warhammer 40K: Rise of the Emperor?
Intelligent people are beginning to realize that they are sharing the planet with seriously stupid people.
And, they are realizing, that there is a group of intelligent people, that are using the stupid people, to eliminate all the other intelligent people, but themselves.
59
Signal boosting this for anyone interested in keeping an archive and/or contributing to keeping free and open-source models available to everyone on @thepirateface.
We are bordering on potentially losing huggingface. The billionaires and politicians want to kill access. We can't let them.
Replying to @BrianRoemmele
1. Go and buy large cheap 24TB external drives
2. ask an LLM to write a python script to automatically pull collections of models from hf that fit inside one or more of these drives, plus also write retrieval code that can pull these later.
3. Unplug & Store these on your shelf for later.
Do this right now; do this today!
These drives are a little over $1k each rn.
When the hf takedown happens head to @thepirateface & upload these & contribute to the seeding effort.
Everybody who cares about local AI needs to do this right now.
People in this space with followers should be tweeting out similar advice to their audiences
@MiaAI_lab @TheAhmadOsman @Blackwellboy @elder_plinius @ashxhart @Hikari_07_jp @jun_song @LLMSherpa @LLMJunky @_QCAI @NousResearch @ViC305
Ah huh. In the ten years of running milsec ops, we've not been hacked once. Not for the lack of trying.
Have some fucking standards and a backbone.
The standards in this goddamn place seem to be in hell
THE BLOCK: "Everybody will be hacked at some point," Ledger CEO Pascal Gauthier told Bloomberg Crypto on Tuesday when asked how he reassures customers that its devices are safe.
"Perfect security doesn't exist, and that rule applies to Ledger as well as others," he added.
1
88
calnix retweeted
Replying to @anecdotal
@anecdotal is 100% correct about Canvas (@Canvas_by_Inst), and all similar edtech software.
It seems almost deliberately designed to destroy any joy of either teaching or learning.
hollisrobbinsanecdotal.subst…
No such thing as too much ammo is cqc clearance
When the US reduced the weight of gear, soldiers would fill that empty weight back up with more ammunition
Even my cousin to this day carries atleast 2 extra mags for his CC after Afghanistan lol, I told him "dude if one mag isnt enough its gotta be the worst day of your life"
73
Tragic state of education that we longer allow for soulful turns of phrases in writing - a fault of both writers and readers
Edtech believes that communication must be clinically clean for max impact and blah
Only to strip any vestiges of nuance and sophistication from writing, cos readers can't handle it.
Optimization they say. It breeds a singular linear modality of thought.
But having students trip on an occasional line that they must tangle with to fully appreciate it's complexity not only forces them to think, but also appreciate nuance and lateral thinking.
Grit in the oyster
Nothing is funnier than asking AI to edit your essay.
It's not so much editing as NEUTERING.
Bye, every single fun turn of phrase. Bye, every moment spent lingering on an aside so we can rush to the point. Bye, whimsy & individuality.
Which is why my essays are:
49
Shut it down, bring back the typewriters
Remote code execution in MS Paint.
cve.org/CVERecord?id=CVE-202…
yup....
1
54






































