"Finding bugs without running or even looking at code" by Jay Parlar
Channel:Strange Loop Conference · Length:40:27 · Published:2019-09-14 · Views:41857
Summary
Jay Parlar's Strange Loop talk shows how model checkers such as Alloy can find complex bugs in a system's design without running or reading any code. He walks through modeling architectures and checking every possible sequence of operations, including a real security bug and a UI feature-interaction bug.
Why HN recommends it
HN commenters point to it as the best practical introduction to Alloy and to lightweight formal modeling.
There is a talk that gives a good overview on Alloy and how useful using something like this is — HN, 2023
Software architecture & design · Testing, debugging & developer tools · Logic & formal methods
Subtitles (excerpt)
all right good afternoon everybody I am je parle gonna be talking to you about finding bugs without running or even looking at your code now this talk is from the general class of things called formal methods there is a slack channel formal methods if you want to join talk to talk to other like-minded folks so this is a pretty big claim I'm making here and you'd be fairly reasonable to say impossible right how can we possibly find budge without looking at the code or even running the code well how are a few ways that we find bugs right now is it there's at least a couple we can all probably think of off the top of our heads reviewing PRS right awesome way to find bugs in fact it's one of the best ways to find bugs testing manual and automated testing you're definitely gonna find bugs like that static analyzers really cool tools that can analyze your codebase find bugs that humans often can't find the problem with all these and other methods though is that they all require that either you or a tool is looking at your code or that your code is running in the case of testing and I'm not interested any of that for today so what then is my secret solution to finding bugs without running or looking at code is this talking to an
On Hacker News
I was exposed to alloy by this wonderful video: "Finding bugs without running or even looking at code" by Jay Parlar [VIDEO] I believe the general idea could be applicable in practice for core parts of most businesses software. So now I'm very interested in real world accounts of using alloy like this. Anyone have other posts like this one or experiences to share along these lines? — ParetoOptimal, 2023-04
There was a fantastic talk at strangeloop this year on Alloy: [VIDEO] . The speaker used it to find a serious security bug in their live code and a feature interaction bug in their UI that had meant they had been writing broken code for the past _year_. (full disclosure I'm referenced towards the end) — hwayne, 2019-10
There is a talk that gives a good overview on Alloy and how useful using something like this is: "Finding bugs without running or even looking at code" by Jay Parlar [VIDEO] — _andrei_, 2023-10
There's a great talk from StrangeLoop[0] where a presenter uses Alloy modelling in exactly the same manner: - generate a couple examples - see something wrong - add a rule - repeat [0] [VIDEO] — kilotaras, 2020-04
Related videos
- The medical test paradox, and redesigning Bayes' rule · 3Blue1Brown · 21:13
- Emacs From Scratch #1 - Getting Started with a Basic Usable Configuration · System Crafters · 58:29
- John Wiegley: Putting Lenses to Work · Bay Area Haskell · 47:18
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- "Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson · Strange Loop Conference · 40:20
- 🚀 TDD, Where Did It All Go Wrong (Ian Cooper) · DevTernity Conference · 1:03:55
- Bret Victor - Inventing on Principle · Rui Oliveira · 54:20
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Lecture 1A: Overview and Introduction to Lisp · MIT OpenCourseWare · 1:12:55
- Debugging Under Fire: Keep your Head when Systems have Lost their Mind • Bryan Cantrill • GOTO 2017 · GOTO Conferences · 52:34
- "Performance Matters" by Emery Berger · Strange Loop Conference · 42:15