42 karma · joined Oct 28, 2014 (12y ago) · 25 submissions
comment 2w ago · link · parent
That's partly why I switched from Go to C# in the 3rd edition (third time executing the book, including the first time when I pair-programed with the AI to created it).
The quality of the codebook is either improving ore degrading. I believe so far, I've managed improving.
comment 2w ago · link · parent
I built CodeRhapsody (an internal Google project) for me, to make it possible for me to create at the speed my brain works.
Here's the honest story, and I don't fucking care if I get fired for it.
I tried to open source CodeRhapsody, my awesome AI coding agent that I built with the AI to help me and other low-vision coders. Fucking TK, or VP in charge of Cloud hates giving anything away for free, so my weak and stupid directors and VPs rejected it.
So, I wrote Ensemble. It is not only better, but it is forever. They can claim ownership of the code, fine. It only takes 3 days to execute the book, and create an even better version of Ensemble.
So, yeah, it talks to me, exactly how I want it to.
comment 2w ago · link · parent
I spent a significant part of the last 18 months learning this at high speed. You're welcome.
comment 2w ago · link · parent
However, Ensemble can be customized to your needs as easily as I customized it to mine.
IMO, the most impressive demo takes about 3 sayds, where I give the book and graders to an AI coding agent, and it builds a new AI coding agent from the book. It does take 3 days, but IMO, is a hell of a demo.
comment 2w ago · link · parent
You have to build the spec as you build the code. The processes cannot be separated. I do the usual up-front design conversation with the AI, and then ask it to write just the TL;DR and exercises sections of the next chapter. After that, I pair-program with the AI to implement it, following the TL;DR, writing notes as we go to clarify what was unclear, steering the AI in real time towards my design.
Once the new code passes all the exercise graders, only then do I ask the AI to read the notes, voice.md file, and write the body of the chapter. Then, I have it launch a student to see if it can write the code purely from the chapter and graders.
At the end of this process, I'm the expert, and I don't even need to review the code.
Code is simply the result of executing the right specification. Just another artifact of the compiler.
Stop vibe-coding. Become the expert by pair-programming with the AI as you build to code, and then build the specs from what you did to build the code. Don’t document the code to build. Document the process, lessons learned, and why you built it this way. You can’t do that up-front.
If you don’t know how to pair-program with the AI, well, you can always try running Ensemble, and listening to the AI as it works. It won’t call tools until you’ve listened to every word the AI says, and the AI isn’t allowed to silently call tools.
I know this is hard for all of you folks with good vision. Get over it. Just do it.
11.
I Use Development-Driven Specs, Not Spec-Driven Development(github.com ↗)
20 points · by WaywardGeek · 2w ago · 26 comments
12.
Turn Your Expertise into Executable Specifications(github.com ↗)
2 points · by WaywardGeek · 1mo ago · discuss
13.
The Art of Building AI Coding Agents: The book that builds itself(github.com ↗)
1 points · by WaywardGeek · 1mo ago · discuss
comment 1y ago · link · parent
OpenADP is Open source Advanced Data Protection for everyone. It defends vs secret mass surveillance via software transparency and distributed trust. That distributed trust is built through OpenADP servers run by volunteers around the world.
OpenADP has servers in the US, but for resistance to any one government, volunteers in several countries are needed. There is a quick-start guide for running OpenADP on a Raspberry PI. If you've got a Raspberry PI to spare, and some free time, consider volunteering for OpenADP.
15.
OpenADP, needs volunteers to help prevent mass secret surveillance(openadp.org ↗)
17 points · by WaywardGeek · 1y ago · 4 comments
comment 2y ago · link · parent
And this one: https://security.googleblog.com/2022/10/SecurityofPasskeysin...
I've been fortunate to be paid by Google to hide user data from Google since 2016. Not many companies would shell out anything for this sort of privacy feature.
As for the Oak stack, they win the race. It is the only stack that currently provides full hardware attestation covering 100% of the code running in the enclave, and 100% of it is open-source. There are other good efforts, such as CoCo containers with their Key Broker, but so far they only cover the initial boot firmware, not the full set of software running inside the enclave.
Kudos to the Oak team!
comment 12y ago · link · parent
Also, this concern about the radio requires someone to 1) hack the TRNG, and 2) have a nearby receiver. At that point, they probably could more easily just PWN your system, and forget about the TRNG. Paul is doing some clever things to make it very hard to hack his firmware, but a keyboard logger is still easy for an attacker with physical access, as is any number of attacks.
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
Zener avalanche noise is unpredictable. How is an attacker supposed to guess when the next electron/hole pair is going to be created in the depletion region? Physically, what happens is the emitter-base junction is reverse biased, turning it into a diode that is blocking current from flowing from the emitter to the base. Every once in a while, due to thermal noise and likely quantum effects, an electron jumps up a valence level, creating an electron/hole pair in the middle of the reversed-biased N/P junction, where there is a strong electric field. This launches the electron in one direction and the hole in the other, where they gain speed rapidly. The electron has higher mobility and will gain enough speed to bang into other electron/hole pairs, creating an avalanche of electrons.
There is no known way for anyone to guess when the next avalanche will occur, or how large it will be, so long as there is no outside signal controlling this effect. Implemented poorly, it can just put out power supply noise, and not true unpredictable entropy. Implemented well, it is a solid, reliable, cheap, and fast entropy source. It is absolutely critical that a zener noise TRNG has an open auditable design!
As for "quantum" effects, I consider that marketing fluff. What we need is provable, reliable unpredictability, not some radioactive decay or photon emission. We don't need 100% unbiased unpredictability either, just a signal that cannot be predicted with much accuracy.
comment 12y ago · link · parent
With the assumption that it only receives, I would strongly prefer that it be left on by default. Adding a second source to the CRC mixing can only improve entropy, even if the source is controlled by an attacker. Since the noise from the zener has no simple proof of it's entropy output rate, and it can vary over time, and because zener noise TRNGs have been known to be power-supply noise sensitive (not that your's is), having that second source gives me much more confidence in the device.
comment 12y ago · link · parent