I got nothing, I sat down a couple of days ago to write something about 2020 and I really have got nothing. Happy New Year Everyone.
The public executioner at Rome, who executed persons of the lowest rank; hence, an executioner or hangman.
Thursday, December 31, 2020
In the closing days of 2020
Monday, December 21, 2020
Larceny in my heart
The first, was to get my mom to sign something, take tracing paper and trace over her signature with a heavy pen. Then I would turn it over and rub a pencil all over the back. Then when I needed my Mom's signature, I would just put my tracing paper on the line, and trace over the signature, this would leave a light pencil trace on the line, where I would once again go over it with pen. Worked like a charm.
The second method was to simply sign my Fathers name to whatever needed signing. Since I was always the one signing it, they could compare it all day long and it would always be the same. When someone would ask me saying, I thought your Father did not live in the house and your parents were divorced, I would simply say, yes, that is true, but I am staying with him for a couple of weeks. No one ever questioned me about it.
Tuesday, December 15, 2020
Review: Ready Player Two
Ready Player Two by Ernest ClineMy rating: 4 of 5 stars
My first question about this book was, did all the people who wrote bad reviews about this book actually read it? Okay, Ernie Cline is not the best writer ever, I doubt there will college courses taught on his works. However, with Ready Player One, he struck a cord, the story worked and he redefined the Cyberpunk genre for a generation. His second book Armada, fell very flat and was more or less a re-enactment of The Last Star Fighter. However, with Ready Player Two, he did regain most of his footing.
The weakest part of the book was the beginning, where Wade Watts is bringing us up to speed with what gas been happening over the last 3 years. This is fine, but way too much time was spent on it and it turns into a bit of slog as it is a lot like reading a Wikipeadia page at times. Cline could have easily compressed this down to maybe 6 pages and dropped anything else the reader needed along the way as it became necessary to know, instead it encompasses the first quarter of the book.
After that the story starts to pick up speed. We become engrossed by the new contest, a couple of the challenges are glossed over a bit, but several of them are quit fun to read. I was especially enjoyed the arena fight with the 7 aspects of the Purple One, Cline very obviously had fun writing this scene and I had a lot of fun reading it.
Over all, a good read, and a solid follow up to Ready Player One. If you are on the fence about reading it, I would say ignore the haters and go for it.
View all my reviews
Friday, September 25, 2020
Friday, September 4, 2020
Internet Quote of the day:
"Hope is what I need the most right now. I am tired of living in a proto cyberpunk dystopian near future."
Saturday, August 8, 2020
D&D 5E Interesting discussion about Bounded Accuracy
One of the design philosophies I like the most about D&D 5E is the idea of Bounded Accuracy. The basic idea is, player characters (PC), non-player characters (NPC) and monsters all fall into a limited range of characteristics. The highest bonus that can be obtained for PC's and NPC's is +5 for attribute scores, this can be higher, but this is and should be rather rare. Monsters can go up to +10, again in theory, they can go higher, but this would be rare. Further, the highest bonus a PC or NPC can get from experience and skill is +6. Additionally, magic bonus's are now limited to +3. In practical terms, this means there is soft limit of +11 and a hard limit of +15 for PC's in game. The video linked below has a very nice discussion about Bounded Accuracy and the affects of rolling with advantage and disadvantage.
To make things easy, I have provided the tables he talks bout below. and can be downloaded here; https://imgur.com/gallery/Y1RA9yq
Friday, July 31, 2020
How to kill Tiamat in 48 minutes
Friday, July 24, 2020
Simple Encryption with MMBasic
RND is a pseudo random number generator, I say pseudo because it is not a true random number generator. The function needs to be seeded with a number, which it then uses to generate other numbers. If you seed the function with the same number, it will generate the same numbers. To make this appear more random, Basic programmers often seed the function with the Timer function, which seeds RND with the number of seconds past midnight. In this program, I take the password entered, convert each letter to its ASCII number and add them all together and then seed the RND function with this number. The result of this is, each time you enter the same password, the RND function will use the same set of numbers to encrypt or decrypt the message.
XOR is a simple formula that always produces the same 3 numbers. For instance, 1 XOR 2 = 3, 2 XOR 3 = 1, 3 XOR 1 = 2. In this program, I am generating a number using the RND function, then I am taking the letters from the file I want to encrypt, one at a time and converting it to its ASCII number. I am then XOR'ing the two numbers, converting that number into text and writing it to a file. For instance say the RND function generates 35 and the letter from my file a small case "a". The ASCII values of small case "a" is 97. 35 XOR 97 = 33, I then convert 33 to its ASCII text equivalent, which is "!" and I write that to the encrypted file. Re-running the program, this time using the encrypted file as the file you want to encrypt, the process reverses itself. The RND function will produce the same number, 35, and it will read the "!", convert it to its ASCII value of 33, then XOR the two numbers (35 XOR 33 = 97), to produce 97 and convert this number to its ASCII text value of small case "a" and writes that to the decrypted file.
' encrypt.bas
' Uses the RND and XOR functions to encrypt text files
Input "Password: ", Password$
For Count = 1 To Len(Password$)
MyNumber = MyNumber + Asc(Left$(Password$,Count))
Next
Randomize MyNumber
Input "Enter File to be encrypted: ", FileName$
Open FileName$ For Input As #1
Input "Enter the name to save the encryted file as: ", EncryptedFile$
Open EncryptedFile$ For OutPut As #2
Print "Encrypting the file, please wait..."
For Count = 1 To Lof(#1)
Print ".";
RealPassword = Int(Rnd * 126) + 1
Temp$ = Input$(1,#1)
Encrypt = RealPassword Xor Asc(Temp$)
If Encrypt < 1 Then Encrypt = Encrypt + 126
If Encrypt > 126 Then Encrypt = Encrypt - 126
Encrypt$ = Chr$(Encrypt)
Print #2, Encrypt$;
Next Count
Close #1
Close #2
Print "Done"
End
Okay, let me make this very clear, this is not a strong encryption by any means, in fact by today's standards, it is barely encryption at all. A low level NSA mook could break this on his coffee break, and even a scrub hacker could break this in an hour using his grandma's computer. The only person this will protect you from is your 12 year old sister, and I would not even bet on that.
The point of this program is simply to teach the basics of encryption, using functions readily available in the Basic programming language. The security can be increased by building your own equivalent functions to RND and XOR using more mathematically complex and security sound formulas. You could also use the RND function to find a location within a key file, say a jpeg image, and use the bit at that location to XOR with the letters needing encrypting and save the file as a binary file rather than a text file. The point of course is, this is just a starting point.
_______________________________________________________________
Edit:
The reason this is not considered secure encryption is because the possible combination of numbers is low by the standards of modern computing. We have three numbers, the psuedo random number generated by RND, the ASCII number of the letter to be encrypted and the ASCII number of the encrypted letter. In theory, this gives us 126x126x126=2,000,376 possible combinations, this is a pretty big number, but not a huge number when you consider that an old 1.8Ghz desktop computer can execute 1,800,000,000 computations per second, that means it takes about .001 seconds to go through all of them for a single letter, that is not much. Now, the reality is, we already know 1 of the three numbers, the encrypted letter, so all we have to do is find the other two, now we are only looking at 128x128=15,876 combinations, now we are talking .000009 seconds for each letter. So the file you are trying to protect would have to be gargantuan to take any significant amount of time to break.
Tuesday, July 21, 2020
Colour Maximite Thoughts
"It doesn't look like very many people see a need for it and are interested in using it. I certainly am not going to bother writing it if nobody wants or needs it. No matter, the CMM2 will do a great job of teaching youngsters how to fire bazookas at boogymen and androids."
While I cannot fault him for the statement, I think the real problem is the OP's fundamental misunderstanding of what the Colour Maximite series of machines are really being used for. The Maximite is not a desktop computer, it is not the type of machine you use to surf the web, check your email and create documents. Even the newest version is based on a 400Mhz ARM processor and has only a few megabytes of RAM. On top of that, MMBasic is not a true operating system, it is a programing language that serves some of the functions of an operating system.
What the Maximite is, is a development platform that falls somewhere between an Arduino and a Rasperry Pi. The end goal for these things is to provide an environment similar to that of a Commodore 64 and other computers of its era.Additionally, a set of GPIO pins have been provided so the hardware can be extended with relative ease. It is far more flexible than an Arduino, as well as easier to use. It is also far less daunting than a Raspberry Pi for small projects and does not have the overhead of a full blown Linux operating system.
If you go back and look at what people were using those Commodore 64's for, it was not writing letters, doing homework or tracking receipts, although I suspect many parents were convinced to buy them for these purposes. No, the primary use for those machines was to play games. Almost every kid who had one of these machines, also learned to do at least a little bit of coding in Basic, because you pretty much had to to use the bloody thing.
The Maximite is no different, no one is going to develop productivity applications for the Maximite, not even a simple text editor. It is not because it cannot be done, it can be. The problem is, there is no point, in this day and age, virtually everyone has a desktop computer at home. Don't give me any bullshit about some people cannot afford computers, which is true, but if you cannot afford a computer, then you sure as shit cannot afford a Maximite and you should be using that money for food and rent. But seriously, what is the point of developing a database library for the Maximite, when I have several good options available to me on my desktop computer. I don't need the Maximite for productivity applications, I already have a computer for that stuff. Those wheels have already been invented and they are running on hardware that is superior to the Maximite by several magnitudes.
The last thing I have to say about this is, if the OP wants to develop a database library for the Maximite, he should go a head and do it. However, he should do it because he has a use for it and because he wants to do it and because he will enjoy doing it. Ultimately basing his decision to do it or not on whether or not other people needed it, tells me even he did not think it was a great idea, otherwise he would have just done it.
Saturday, July 11, 2020
My Basic Programs for the Maximite
I have started placing all the basic programs I write for this website on my Google drive and made it public. This is for those of you who do not want to type them in by had. Personally, I think you should type them in by hand, especially if you are just learning to program in MMBasic. Typing in the programs is a good way to start learning and retaining computer programing. Besides that, most of these programs are fairly short. So if you have been following my tutorials and such, the programs are here;
Google Drive Link
As I progress, I will add more to the drive.
