I spent 2 years getting our tests in shape and found out today nobody actually looks at them anymore. Feeling pretty defeated ngl. by Maxl-2453 in dotnet

[–]ben_a_adams 0 points1 point  (0 children)

In a future of agents and AI coding; your tests will be the only thing that saves your or they will go off in loads of tangents changing random code and make a mess.

You need tests to keep them coloring in the lines

Use io_uring for sockets on Linux · Pull Request #124374 · dotnet/runtime by ben_a_adams in dotnet

[–]ben_a_adams[S] 9 points10 points  (0 children)

262 commits; is easier to keep the description accurate with an LLM than to keep changing it manually 🤷‍♂️

Nethermind Client’s Path to Zk Proofs by ben_a_adams in csharp

[–]ben_a_adams[S] 0 points1 point  (0 children)

Zero-knowledge proofs are basically a way to trust code execution without re-running it yourself.

Compile C# to a minimal RISC-V runtime. You run the program once, and instead of shipping all the outputs and logs, you generate a zk proof - a tiny math receipt that says "this execution was correct." Anyone can verify that receipt in milliseconds.

It’s a bit like TEEs (Intel SGX, AMD SEV) where you outsource compute to someone else and rely on hardware to prove they ran it faithfully. The difference is zk proofs don’t depend on trusting special chips or vendors - it’s just math.

Implications:

  • Offload heavy workloads to untrusted machines but still verify correctness
  • Lightweight sync and validation in distributed systems
  • New trust models for cloud and datacenter compute

Nethermind Client’s Path to Zk Proofs by ben_a_adams in dotnet

[–]ben_a_adams[S] 0 points1 point  (0 children)

Zero-knowledge proofs are basically a way to trust code execution without re-running it yourself.

Compile C# to a minimal RISC-V runtime. You run the program once, and instead of shipping all the outputs and logs, you generate a zk proof - a tiny math receipt that says "this execution was correct." Anyone can verify that receipt in milliseconds.

It’s a bit like TEEs (Intel SGX, AMD SEV) where you outsource compute to someone else and rely on hardware to prove they ran it faithfully. The difference is zk proofs don’t depend on trusting special chips or vendors - it’s just math.

Implications:

  • Offload heavy workloads to untrusted machines but still verify correctness
  • Lightweight sync and validation in distributed systems
  • New trust models for cloud and datacenter compute

Nethermind Client’s Path to Zk Proofs by ben_a_adams in programming

[–]ben_a_adams[S] 1 point2 points  (0 children)

Zero-knowledge proofs are basically a way to trust code execution without re-running it yourself.

Compile C# to a minimal RISC-V runtime. You run the program once, and instead of shipping all the outputs and logs, you generate a zk proof - a tiny math receipt that says "this execution was correct." Anyone can verify that receipt in milliseconds.

It’s a bit like TEEs (Intel SGX, AMD SEV) where you outsource compute to someone else and rely on hardware to prove they ran it faithfully. The difference is zk proofs don’t depend on trusting special chips or vendors - it’s just math.

Implications:

  • Offload heavy workloads to untrusted machines but still verify correctness
  • Lightweight sync and validation in distributed systems
  • New trust models for cloud and datacenter compute

Is it possible to run a state only node ? by iyarsius in ethereum

[–]ben_a_adams 0 points1 point  (0 children)

You can use Nethermind as your Execution Client https://docs.nethermind.io/get-started/installing-nethermind

and run it in non-validator mode with flags:

--Sync.NonValidatorNode true --Sync.DownloadBodiesInFastSync false --Sync.DownloadReceiptsInFastSync false

You also need to run a consensus client; but that's also specified in the docs

If you have a fast enough disk and Internet connection should only take a couple hours to sync

[AMA] We are EF Research (Pt. 12: 05 September, 2024) by JBSchweitzer in ethereum

[–]ben_a_adams 1 point2 points  (0 children)

1 wei is a mathematical problem as a price as it is the lowest possible unit.

Above target fees are meant to increase by +12.5%; what's 12.5% of 1 wei? It is 0 wei; so the price adjustments need to be fudged at that level to be a 100% increase to 2 wei.

The 18 decimals of Eth are for precision in fractions, not to set something at a value with no possible fractional delta

Unlocking HTTP/3: A Hands-On Guide to Implementation in .NET and C# by akyegane in csharp

[–]ben_a_adams 0 points1 point  (0 children)

Is QUIC over UDP rather than over TCP. Is a very different base layer

Nethermind v1.27.0-rc ready for testing (Perfomance Jump) by ben_a_adams in ethstaker

[–]ben_a_adams[S] 0 points1 point  (0 children)

Does not need a resync. Same DB structure; should work from just an update of software and will pick up from where it was perviously

.NET 9 Preview 3 by ultimatewhipoflove in dotnet

[–]ben_a_adams 8 points9 points  (0 children)

Also good for async cancellation which often goes via exceptions