ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ (@iosebi) profile picture
Tbilisi, Georgia
Joined March 2009
Photo by ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ (@iosebi)Photo by ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ (@iosebi)Photo by ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ (@iosebi)Photo by ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ (@iosebi)Photo by ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ (@iosebi)Photo by ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ (@iosebi)Photo by ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ (@iosebi)Photo by ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ (@iosebi)Photo by ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ (@iosebi)Photo by ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ (@iosebi)
Iโ€™m so sick of these takes. If each unit(i.e. function) has lets say four meaningful edge cases and under single e2e you have five units, this is 4^5 edge cases that need to be covered. Are we covering these with 1024 e2e tests? Or do we prefer 4x5 unit tests instead and then several meaningful e2e tests? in the age of coding agentsโ€ฆ ๐Ÿคฆโ€โ™‚๏ธ
IMO the only tests you should have in the age of coding agents are, in order of priority: 1. Full E2E tests. Nothing mocked out at all. Can even be something that runs in prod on test accounts via Playwright or equivalent. 2. Integration tests. Agents make more mistakes as things bleed between data/API boundaries where schemas can drift. 3. Golden tests. This helps ground the code with real examples of data, and can be used as regressions against edge cases. Unit tests are bloat 99% of the time if youโ€™re using a frontier model since theyโ€™re smart enough now to get the implementation (and subsequent iterations) right on the first shot, so they only add bloat at this point.
4
10
414
โ€œIn my experienceโ€ ๐Ÿ˜…
4
239
Yes, yes and yes!
Formal verification of correctness will never be a worthy industry practice.๐Ÿšท Software becomes obsolete much faster than it becomes correct.๐Ÿšฎ Statically-checked "correctness" is just a questionable tactic to squeeze money out of the industry.๐Ÿง‘โ€๐Ÿ”ง๐Ÿ”ซ๐Ÿ•ต๏ธ Here is why.โฌ‡๏ธ There is indeed a niche for formal verification. Static formal verification somewhat works for critical components and delicate parts of bigger systems. For example: cryptography protocols, data transformation algorithms, compilers, and parts of SCADA systems. However, even in this niche, full verification of a relatively big application is not possible. The real world is much more chaotic and disorganized. New requirements are coming constantly, and some of them contradict what was already done and was already proven. Haskellers are probably the biggest cult of believers in holy correctness from all the programming communities. They even believe that "correctness" is a scientifically defined term that cannot have any other meaning. "If you don't know what correctness is, - they say, - this doesn't mean nobody knows. Go and read the papers". Sure, because scientific papers are the only source of truth out there. You have no permission to question it, and you have no right to define it yourself unless you write a paper. Am I correct? What haskellers (and formal verification folks) call "correctness" is one of the four: โ–ช๏ธ Correctness of data structures and data models. A structure has some proven invariant that is statically checked by the compiler. For example, a fixed-length array: type FirstName = Vector 10 Char However, this has nothing to do with the correctness of meaning. This is formally correct but meaningless: john :: FirstName john = " J hn o" โ–ช๏ธ Correctness of algorithms. Why not prove that the `max` function gives you a maximum of the two numbers. Sure. Now formally prove that my neural network algorithm for image recognition is correct, i.e. produces meaningful results. โ–ช๏ธ Correctness of languages. "If a language is proven to be correct, the code will be correct, too." This misleading idea has circulated across programming language communities for years. The sad truth is that it's impossible to disallow writing meaningless code no matter how much it is formally verified. The problem here is that this "correctness" has nothing to do with meaning. "Correctness" here is mostly a mechanical term: given a narrow set of preconditions, prove what can be proven, no matter that your model doesn't reflect the complexities of the real world. Moreover, given vague requirements, formal verification folks often prove things that are wrong from the domain point of view. It's statically correct, who cares it's meaningless. Eventually, the proofs will be fixed, and folks feel no shame for that. This is a job security practice anyway, and nobody will punish them. These folks are untouchable and highly respected. Nassim Taleb once said: "For real people, if something works in theory, but not in practice, it doesn't work. For academics, if something works in practice, but not in theory, it doesn't exist." The notion of meaning doesn't exist in theory because it is undefinable. It cannot be proven. But it does exist in practice and can be verified with tests. So why formal proofs won't become a major tool in the industry? โ–ช๏ธ Formal verification is extremely expensive. These folks demand a high salary for their work ($250K+ net) while their results are questionable at least. โ–ช๏ธ It is extremely narrow. You need a formally defined environment to construct proofs. Formalizing real domains is nearly impossible due to their complexity and constantly changing requirements. โ–ช๏ธ It is extremely difficult. Formal verification is Math. Constructing formal proofs is as difficult as discovering Math truths. โ–ช๏ธ Just because it's Math, it will never dominate the industry. Software developers are not lazy, they are not stupid to do this. Formal verification is just a vastly different profession. (I don't believe that AI will handle this for us, either.) Haskell people love discussing correctness techniques and formal verification in general. But even in Haskell, formal proofs failed to become a common practice. "Correctness" is a cult in Haskell the same way as " performance" in C++. Formal verification is a niche to these niche languages. On the industry scale, it's slightly above the noise level. Static typing didn't even win the battle over the industry. Dynamic languages top the programming language charts. To formal verification folks, dynamic languages don't exist because they work in practice but not in theory. However, the industry is wise, and it sees no commercial benefit in formal verification. This is the proof of proofs to be nearly useless.
4
766
แƒฉแƒ˜แƒขแƒ˜ แƒ›แƒแƒ™แƒ•แƒ“แƒ! แƒ’แƒแƒฃแƒ›แƒแƒ แƒฏแƒแƒก แƒฉแƒ˜แƒขแƒก! แƒ—แƒฃ แƒ”แƒ’ แƒ›แƒ”แƒคแƒ”แƒ”แƒ‘แƒ–แƒ”แƒ? แƒ›แƒแƒ™แƒšแƒ”แƒ“ แƒฏแƒ”แƒ  แƒ˜แƒกแƒ”แƒ• แƒชแƒแƒชแƒฎแƒแƒšแƒ˜ แƒงแƒแƒคแƒ˜แƒšแƒ แƒฉแƒ˜แƒขแƒ˜ แƒ“แƒ แƒแƒ แƒช แƒžแƒแƒกแƒข แƒแƒžแƒแƒ™แƒแƒšแƒ˜แƒคแƒกแƒ˜ แƒ’แƒแƒ›แƒแƒฉแƒ”แƒœแƒ˜แƒšแƒโ€ฆ ๐Ÿ‘€๐Ÿ˜“
1
2
แƒ แƒแƒ’แƒแƒ แƒช แƒฉแƒแƒœแƒก, แƒ™แƒแƒžแƒ˜แƒขแƒแƒšแƒ˜แƒ–แƒ›แƒ˜แƒก แƒแƒ™แƒ•แƒแƒœแƒจแƒ˜ แƒแƒฆแƒ–แƒ แƒ“แƒ˜แƒšแƒ›แƒ แƒ“แƒ แƒžแƒ แƒ˜แƒ•แƒ˜แƒšแƒ”แƒ’แƒ˜แƒ”แƒ‘แƒ˜แƒ— แƒแƒฆแƒญแƒฃแƒ แƒ•แƒ˜แƒšแƒ›แƒ แƒกแƒแƒชแƒ˜แƒแƒšแƒฃแƒ แƒ˜ แƒกแƒแƒ›แƒแƒ แƒ—แƒšแƒ˜แƒแƒœแƒแƒ‘แƒ˜แƒกแƒ—แƒ•แƒ˜แƒก แƒ›แƒ”แƒ‘แƒ แƒซแƒแƒšแƒ›แƒ แƒ’แƒฃแƒšแƒ›แƒฎแƒฃแƒ แƒ•แƒแƒšแƒ” แƒ›แƒแƒ แƒฅแƒกแƒ˜แƒกแƒขแƒ”แƒ‘แƒ›แƒ, แƒ˜แƒšแƒแƒœ แƒ›แƒแƒกแƒ™แƒ˜แƒก แƒกแƒแƒฎแƒ˜แƒ— แƒ’แƒแƒœแƒขแƒ”แƒ•แƒ”แƒ‘แƒ˜แƒก แƒ•แƒแƒชแƒ˜ แƒ˜แƒžแƒแƒ•แƒœแƒ”แƒก ๐Ÿฅนโค๏ธ
2
When you finish a PhD in computer science, they take you to a special room and explain that you must never use recursion in real life. Its only purpose is to make programming hard for undergrads.
When you finish a PhD in computer science, they take you to a special room and explain that you must never use recursion in real life. Its only purpose is to make programming hard for undergrads.
1
2
4
ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ retweeted
When you are Georgian, you understand Russian expansionism.
Volodymyr Zelensky address to tens of thousands of Georgians gathered to support Ukraine!
33
161
7
1,594
peace talks, negotiations bullshit
Watch this. And every time Russia says itโ€™s not deliberately killing civilians, watch it again.
ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ retweeted
แƒฅแƒแƒ แƒ—แƒ•แƒ”แƒšแƒ˜ แƒฎแƒแƒšแƒฎแƒ˜แƒก แƒ›แƒ˜แƒ›แƒแƒ แƒ—แƒ•แƒ แƒ”แƒ•แƒ แƒแƒ™แƒแƒ•แƒจแƒ˜แƒ แƒก - Sign the Petition! chng.it/N2y86CmH via @Change
2
3
ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ retweeted
ะธะดะธ ะฝะฐ ั…ัƒะน
1,897
8,349
1,343
54,250
Incredible Georgian people who understand that friends must be supported! ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ Grateful to everyone in Tbilisi and other cities who came out in support of Ukraine and against the war. Indeed, there are times when citizens are not the Government, but better the Government.
6,682
12,521
1,158
108,728
ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ retweeted
Whatever sanctions EU + World comes up with, Belarus must 100% be part of it. Good piece about the current options available noahpinion.substack.com/p/thโ€ฆ
3
5
ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ retweeted
Tonight London stands with us! People from all over the world #StandWithUkraine
33
491
33
2,452
ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ retweeted
Giorgi Bagdavadze (@notgiorgi) - Algebraic data types @ FP Meetup TBILISI #1 youtu.be/OZ69G7w7sjg
2
2
ioseb ๐Ÿ‡ฌ๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฆ retweeted
Irakli Janiashvili (@iJaniashvili) - Introduction to Elm @ FP Meetup TBILISI #1 youtu.be/BUlQOoYPE0E