I'm really sorry about textboard.org but Bitdiddle said the stress tests were badly needed and kept encouraging me. I hope it's back up soon.
It seems to have returned from death.
Why are you testing in production?
Currently implementing truth tables for propositional logic in Python. I am aiming to make it general enough so that I can represent every possible table (not just AND, XOR and the usual) with any number of truth-values.
Fun fact: if you have V truth values, then the number of possible truth tables for a binary connective (a truth table with two inputs, basically) is: V ^ (V ^ 2).
This number gets very big very quickly:
V - V ^ (V ^ 2)
1 - 1
2 - 16
3 - 19683
4 - 4294967296 (4.3 billion)
5 - 298023223876953125 (298 quadrillion)
>>257>with any number of truth-values
What are you going to use for not(not(x))?
Aha. My impression is that NOT(NOT(p)) has the same truth value as p in most many-valued logics, especially those with a finite number of truth values. The Wikipedia article will give some examples:https://en.wikipedia.org/wiki/Many-valued_logic
The program I'm writing won't be able to handle intuitionistic logic, where NOT(NOT(p)) =/= p, because intuitionistic logic does not use truth tables. At least, it doesn't use finite ones.
I am giving Coq another go, this time using Programs and Proofs
I expect to lose track of what is going on somewhere around the middle of the third chapter.
You forgot to add TypeScript.
What do you mean? If this is a joke, I don't get it.
It is. You'll get it when you're older.
As expected, it was progressing a bit too fast for me. Before continuing on to chapter 4, I am reading this tutorial: https://mdnahas.github.io/doc/nahas_tutorial
I like that it uses only the most basic parts of Coq and explains them in terms of the Curry-Howard correspondence. It makes me want to write my own proof assistant!
Is there a better way to repeatedly destruct a hypothesis so that it can be handled in one go like here?
Goal forall n, n = 0 \/ n = 1 \/ n = 2 \/ n = 3 -> n - 3 = 0.
intros n Cs.
destruct Cs as [C|Cs]; try destruct Cs as [C|Cs]; try destruct Cs as [C|C];
I guess "repeat" would kind of work, except for the last one where the naming wouldn't match.
I finished this. I liked it a lot, although the last chapter maybe progressed a bit too quickly, I ended skipping most of the exercises there. Maybe I will return to it someday.
Should I continue with Software Foundations or should I try The Little Prover before it?
OK, it's back up.>>323>What are you working on, textboard engineering?
Nothing so lofty. I'm just contributing in my small way to the SchemeBBS community by providing bugfixes.
Wow I thought The Little Schemer
will be some quick enjoyable read, but it is quite laborious. It took me a while to figure out how to follow along with the code as the instructions are not very user-friendly. I use "J-Bob/step" for the actual proving and only copy it into the proper "J-Bob/define" once it is done. It is pretty fun though and I am looking forward to reading the actual implementation too. It is just a bit too manual after Coq, you have to type a lot!
I finished it but I am not satisfied. It could have had more examples on the main techniques, like how to construct the totality claims and such. It did not feel like by the end I understood the main principles, if there were any.
Nice little website, good job!
The SchemeBBS "fossil repositories" link giveshttps://fossil.textboard.org/
502 Bad Gateway
Posting in the sandbox giveshttps://textboard.org/sandbox/1
Anyone else seeing this?
>>333Nice repeating digits.
Yes, for me everything dynamic gives 502 error, even viewing individual posts like here: https://textboard.org/sandbox/1/1
Nothing, I'm slacking off.
Fixing a PS One the only issues it has is the black & white screen and the CD didn't run but i got that fixed and now i'm trying to find some cheap PS1 games.
How do you go about something like that? I never had such a device.
Is anyone else getting NXDOMAIN for bunkerchan.xyz?
Yep, it's back up, thanks. It seems the registration with ovh was renewed at 2020-09-10T11:44:55.0Z.
>>357>Do you know any good books for intermediate programmers? Or maybe even for experts?
For what language Anon?
I haven't read this one myself but try "Expert C Programming: Deep C Secrets" and SICP is recommended by some.
I've actually read both already… SICP is an introductory textbook, it's really good but not for experts. Expert C Programming had some fun stories but it's mostly just a collection of war stories.
Have you tried reading the source of some of the languages themselves? Surely that would help you to become proficient
Has anyone else started getting
>DDoS protection by Cloudflare
says they will take it down in a week, when they are not being bot-raided anymore.
My cloudflare blocker already went off on bunkerchan for a while.
They must have had this in place for some time.
What are you working on?
The cloudflare JS is back on bunkerchan.>>405
Tempting Raven, from the looks of it.
I know what you mean, fug