16 karma · joined Feb 27, 2021 (5y ago) · 20 submissions
comment 8mo ago · link · parent
comment 4y ago · link · parent
I got pulled into Dostoyevsky through Brothers K, which led me to Notes eventually.
Do you know what translation of Notes you read? I think I read P&V, and if I read it again I'd want to try something else
comment 5y ago · link · parent
Curious, how do you handle formatting on cells with long strings that need to overflow to multiple lines? As soon as you try to optimize the column widths for table length, you start hitting an NP-hard problem.
comment 5y ago · link · parent
e.g. with your example above,
for xs in xss:
for x in xs:
x
What's confusing about the syntax is that `x` in your example above comes first, whereas in actual nested loops it comes last.
So maybe: [for xs in xss for x in xs : x]
Could be alternative syntax that moves `x` to the end?comment 5y ago · link · parent
comment 5y ago · link · parent
For example, if I get an error with TLA+--e.g. some state reaches deadlock, or there's an invariant that's violated by some behavior--it takes me a good deal of interpretation to see if there's actually a problem, or if just need to update my spec.
With fuzzing, it seems like the errors would be pretty clear to interpret. e.g. uncaught exceptions, or out-of-bounds memory accesses are clear problems with an implementation, and I would think takes less interpretation.
comment 5y ago · link · parent
With TLA+, you could check a compiler's specification before you implement it. Then, once you've implemented it, you could do fuzzing on the actual program.
I wonder how much overlap there is between bugs you could catch with TLA+ vs fuzzing.
17.
Table layout is NP-hard(quintenkent.com ↗)
1 points · by berlinquin · 5y ago · discuss
comment 5y ago · link · parent
There's a cool programming project already based on this short story that I've enjoyed exploring: see https://libraryofbabel.info/
And looks like there's a link to the story on archive.org: https://archive.org/details/TheLibraryOfBabel/