B ackground Last month I had asked a Java related question to all my students on a facebook post . Why is it that in Java, Objects are always to be allocated on heap? Why is dynamic allocation the only option in the toolbox of a Java developer while creating objects? It was a very interesting discussion on facebook. Many participants, my students and otherwise gave good arguments in defense of the Java Language Design. One of the arguments that came out shining, was that of the possibility of unsafe allocations on Stack Frame. Special thanks to Ted Lum, Chetan Parmar, Nishant Verma, Vaibhav Desai, Tusharkumar Thomar, Vimal Sakhiya, Clair Roma Henry, Subham Gadi, Makarand Bhosle, Prasad Kowli and Nirav Kothari for their participation and valuable arguments. Let me now, put forward my perception on why Java Language Designers would have taken such a decision. The following content in this article assumes that the reader is aware of memory models and lif...
New to Harikavach >> Harikavach Introduction The Challange The challange in Harikavach is that it is a HandCryption technique. This implies that it must be humanly possible to encode/encrypt the message and decode/decrypt the message, without using a computer and in a reasonable time with minimal effort. Computers can be used to compromise the message. Computers can use Brute force technique to break the code. In Brute force technique the computer can try all the possible keys ( or a highly probable set ) on the message to compromise it. With increasing computing power, it is easy for a computer to try millions of key combinations within a reasonable period of time. This is the problem with level 4 . There are fixed number of keys that can be generated using Scramble Clock . Let us consider that we place all the possible keys in a Set. Then this set is the Key Set ( Key Space ). The Key Set is finite for Scramble Clock and also finite for Harikavac...
HariKavach by Rajesh Patkar I have designed a symbolic manipulation game H arikavach . I have designed this game for educational purpose.This game introduces a new symbolic language and challenges the users to encode their messages using the symbols. As you pass through several stages of the game the encoding and decoding of messages from natural languages to Harikavach and vice versa become more challenging. The subject of Artificial Intelligence defines intelligence as ability to manipulate symbols. The following Diagram describes how the symbols for H arikavach are derived. Level 1 This level in the game gives the challenge of converting a simple English text to Harikavach . Note that currently Captialization and N umbers are not being considered. Statement in English Mumbai is located in Maharashtra Statement in Harikavach You can now try you own statements and their Harikavach equivalents. Try t...
Comments