WebSockets Exhaustion

Warning: The following action may cause a visitor’s browser or even their computer to crash. This information is provided for educational purposes only. Use it responsibly. I do not encourage or condone the misuse of this knowledge, and I disclaim any responsibility for any damage, disruption, or unintended consequences…

When is a program good ? Reverse engineering HOU’s compiler

At the university I’m attending, Hellenic Open University, they have developed, years ago, a custom programming language and a custom compiler for it. The language is ok, feels a bit like Pascal and the command’s are all in Greek. For example : ΑΛΓΟΡΙΘΜΟΣ ΔΟΚΙΜΗ ΔΕΔΟΜΕΝΑ x:INTEGER; ΑΡΧΗ ΤΥΠΩΣΕ…

Hamming Numbers

Hamming numbers, or ugly numbers, or smooth numbers, is a sequence of numbers that they can be produced by : 2^x * 3^y * 5^z Where x, y, z >= 0 For example : * 2, is a hamming number, since : 2^1 + 3^0 + 5^0 = 2. * 25, is a hamming…

Time is infinite, but a computer’s memory isn’t

In low-level coding, we usually have to specify the length of a variable. We have many types, including int32 and int64, which represent numbers in binary, using 32 bits or 64 bits, respectively. The int32, of number 4 for example, looks like this: 00000000 00000000 00000000 00000100 That’s it…

Origins of Javascript and Why We Prefer “Let” Instead of “Var”

In the 1930s, Alonzo Church introduced Lambda calculus. It is a formal system for expressing mathematical logic and computations using functions. Long before computations were performed by machines, they were done by humans, and Lambda calculus helped formalize these processes in written form. Lambda calculus looks like this: λx.x*…