Tuesday, 23 October 2012

What's wrong.. :/


Sometimes all this seems so awkward.. so meaningless.. so very disappointing.. Its like talking to myself with none to even hear out.. I dunno what am i doin.. i dunno why doing the things I'm doin.. I thought if i just went on doing stuffs that doesn't concern anymore even that.. maybe everybody'll forgive me and evrything 'll be set to ryt.. everything else 'll fall in its place and there won't be anythin to worry bout.. guess m wrong there too.. Man, I'm at the verge of this mental breakdown and i dunno how to handle it even..

I dunno why's it happening. If only knew the reason for it.. I'm doin stuffs that i wanted to do more likely during this puja break.. that's ryt.. It's happening during durga puja n that's even more disheartening to me :(

That's my dad at some pandal in Durgapur :)

There's my mom n pisi n cousin(Lita) at some pandal in Durgapur
I went out to Durgapur..
The Marconi pandal of Durgapur which really got grasp of artwork here :)
 met ol' cousins Nil and jeet da.. had nice follow through down the line  then burnpur and then asansol.. and then back dhanbad.. waiting out in harna..
That's the harna bagan colony pandal
 meeting ol' friends. childhood friends, Sobhit and Ravi makes me happy to share stories and memories with em.. It's cool hanging out with them :) but still somehow it doesn't feel ryt.. I'm watching prison break(actually completed it), and How I Met Your Mother like stuffs and laughin out. Eating out golgappas n ice creams and cold drinks on a roll.. Dad's letting spend money without questioning.. and yet, something deoens't feel ryt. It's biting me so hard to know that i dunno what's wrong in me :/ I dunno if it's someone M missing or something but damn its making  me soo irritated.. and i can;t even define the feeling of how it feels :(

I decided on going out today again with hanging around in hirapur only with arnab n all.. But still.. somehow somewhere I'm worn down.. If only someone can return me back my excited all along face. if only somewhere to rescue me out of this breakdown. if only could someone else understand me completely and let it out the correct solution. if only someone just be with me.. and hear out what's wrong with me.....

Wednesday, 10 October 2012

Somethin Missin..

Yea.. Somethin was defiantly missing with my theory and architecture. and those are that i totally ignored the facts of paging and all from it. Damn me. How can I even forget that. Anyways, I'll get back to it to as soon as i figure out a way to add into it and that's the good news. :)
My internals got over today. Not too good cause i didn't study for it at all :P and the stuffs studied didn't came :p So it's like a break for me from rest stuffs and nothin else. Now that it's over, my friends are goin back their homes. I got a reservation on 13th so can't even move till then :P As it got over, I went out with friends and hung around this town and only to return room and find some really undesirable attitude from my roommate for something i didn't even mean to happen. He realizes sooner the better.
Anyways, that's not even the biggest problem in my life to consider about. More complicated stuffs lie around while I speak of like stuffs that I can't even blog about :P Family censored :P lolz

I'll get back now when i get any breakthrough new idea about my data security architecture :)

Monday, 1 October 2012

Stuck on..

Got stuck on the C2DSM model. In here I doubt on the existence of it over large no of different cases. I doubt if it fails at some point. Though didn't find one yet. Got today off from college ( luckily :P ). Actually I was working on any alternations if it can be done with the use of linked-list, as i used em.. But then, that's according to my model of the working architecture :P Might not be correct. But i can't figure out any further with my current knowledge. All i can fix in is the use of 8085 architecture in addition to this. Though it's like using some ancient technology in something latest :P So, I dropped that idea and now thinking of somethin new. It might just strike me off while I'm roaming around in siliguri streets tomorrow :P

Today, though very amazingly, my net's working like it used to like forever ago :P lolz.. Our college's placement has started and the seniors really look in bad shape as CTS took off a very limited no :/ Wonder what'll happen in our time :P As in now.. I'm still stuck with the decision on taking Gate or Cat entrances after college for higher studies :/ Most of my friends decided already :p n working for it.. Instead I'm lingering around with these projects and all.. I dunno where they'll take me to.. but as in now.. I see knowledge helps you out wherever you're :D

Friday, 28 September 2012

Days pass quick....

Yea.. Days do pass quick.... Its just tim nights that take longer duration :P maybe that's cause I wake up late :P well partly yes :P but then the projects are on a pause..

I'm givin cloud computing a small break, moving on with my microprocessor book and searching for discrete maths problems.. In the meanwhile.. I happened to 've this awesome conversation with one my distant buddy last night.. Feels good :-) n got another close buddy back.. Thank god for that.. Only wish if I could just clear out all misconceptions.. Got in touch with four more friends recently.. Somehow everything seems to be working just gr8.... Do I need to sail with em?? Or should I take chances n jump boats?? I'm not much of heavy thinker.... 've always got chances n my own mistakes as my teacher :P

Thr's been this campus selection stuff goin on around here.... N all we got is a disappointing recruitment from cts.... Wow can't imagine the condition the rest companies gonna put into.... I can feel the heat now.. So either I gonna clear out good n very good.... Or gonna got over with something we call self employment :P lolz
Hopelessly option a :P either way, our seniors r disappointed.... Lets see for other stuffs.. I got back impt friends back.. Man, m more than happy.. B-)

Rest assured, m gonna work on cloud computing 2mrw for sure :-D still searchin for my original idea though :P maybe I'll 've to search forever :P cause anything I think of has been already done or thought bout.. Though not everything's been taken care off..... Stil waitin for the magic moment n inspiration.........

Tuesday, 25 September 2012

Day 2.. Project continues......

Well, I first thought it would 've been easier to manage both at same time.. Now it seems to be difficult managing college stuffs as my microprocessor prof got angry for not completing the 8085 programming :P I understood nothin though.... So should I pause now the cloud computing stuff for few days n turn into the studious kid for college?? Or should I continue ignoring the college n goin for this.... M at a dilemma bout this.... Over that.. Last night a friend, kind of close one got my mind cramped up with the thoughts of gate n cat stuffs.. Not to mention m confused bout em too :P now don't think m that confused a guy cause I do 've certain stuffsp figured out which is of course a gr8 achievement as per me ;-) lol

Last day my mood turned off for good or bad.. None messed up.. N for bad I screwed up a couple me more stuffs.. Like I didn't play the glassgow kiss piece nicely on my guitar.. Nor could I play the green day song.. Time of your life.. When requested by my friend :P not that I regret it.... Yet still I shoulda played it anyway....

Well for now.. M just into John petrucci n his awesome style me playing.... Simply mesmerizing to sit n listen to his piece.... Again surprisingly enough I seem to love classical music.. Fur Elise for a start.. The epic piece by the Murie prodigy. :-D as if now.. Simply waitin for my magic piece to begin the flow which paused in me....  B-)

Sunday, 23 September 2012

A New Project..

Basing on all the given circumstances, one of my friends have been working on this research on cloud computing.. basing her study in the server client architecture and related mathematics behind it.

I've been thinking of doing the same though i don't really know where to start from. So I just randomized and got to start from DATA SECURITY in cloud computing. Quite an interesting topic to start from, eh.. But now that I've started I do realize that it takes much more study needed to start some actual original idea. So, here's my study going on. Though studyin different papers do make me realize that difference between an actual researcher and myself :P lolzz.. Not backing out cause of that though :P I'm continuing on with the normal study of the papers. Though study for my semester exams seems to overlap my study on this stuff and  thus clouding my thoughtful brain :P

Hoping to clear it out soon ;)

Back I guess.. ;-)

Well.. Shouldn't be sayin this but I did tried n ignored this place :P dunno y though.. But here m I n m back.. Though right now from my mobile.. Just tryin out this new app from my mobile n got to blog bout it maybe.... Well over these months I've thinkin of changing the way I blog.. Well nobody cares either way :P so at least I'll keep myself updated to what m upto later. I'll also get something to look upto.... :P

Sunday, 27 May 2012

A break-down? or a new beginning??


Truth sounds insane sometimes. But that doesn't mean it's not the truth.. Realization and repentance are two different words, and i do realize what bad temper can cause. It took me a while to reach conclusions but i guess i do see now what the world truly is about. I'm sorry to all those who have been hurt by my spoken truth or otherwise. I can't change myself to speak against truth, but i'll do try myself to change to not speak at all. :) If that helps my friends, then so be it.

I've heard you need to fall down to get up. Well, I dunno how many times did I fell down, but I did got up every time. Every-time, being weaker than before. It's still a mystery or my stupidity.. i know not but i keep falling in the same trap again and again. I try to make everything okay, but instead i end up screwing up everything and make things worse. Recently few incidents got me to thinking what's wrong with me that others are so irritated with me.
I ended up in a discussion with my friends which led to conclusion of my temper. Now i do realise many problems can be solved with calm and talks rather than shouting and running away. I'm here.. Standing tall and firm, waiting talk anyone out for any mistakes that I made. And somehow, I feel good :)

Maybe what actually matters is our view to life. Somehow as per the quote given alongside, i believe in the latter. There's no particular reason for me to believe so. I just believe so. And so I'm just waiting for my miracle to happen all this while. Maybe that's where I've been wrong. I should have tried my miracle to happen myself rather than waiting for it. If water comes to the ocean, why can't we say that ocean brings the water. It's the same thing but from a different point of view..  ^_^

I say.. Make mistakes and learn from them. It's too short a life to live in a perfect way. :) It's certainly no break-down.. I'm just getting started ;)

Sunday, 22 April 2012

Pics may be dangerous ;)

SteganographyIf there’s one thing that history and popular culture has taught us about spies and secrets, it’s that often, the best hiding spot is the one in plain sight. After all, if a nosy intruder is searching for valuable information, surely the last place he’d check is right under his nose.


This logic forms the basis for steganography, itself an ancient historical practice of concealing information within images. This practice differs greatly in purpose from cryptography. The latter employs code to hide message. This appears as jumbled letters and numbers, unless a cipher (or key) was used to decrypt the information back to its original state. However, while cryptography is great for sending messages securely across unsafe channels, the very nature of the encrypted message will tip off anyone to its true form. In short, just because it’s hard to break into, doesn’t mean you want to leave it in plain sight. What if sending encrypting messages itself is against law?
This is where steganography comes in. Using basic freeware tools like OpenPuff, it’s possible to hide audio files, video, messages and images within a file (usually an image).
In Steganography, the file or image used to deliver the hidden data is called the carrier. The hidden data is referred to as payload. A carrier is usually required to hold up against different steganalysis methods, as well as common sense. Several digital artists use Steganography to embed digital watermarks into their work. In case anyone else tries to lay their claim to his or her property, the decrypted watermark can reveal the true owner. You can download OpenPuff from http://embeddedsw.net/OpenPuff_Steganography_Home.html  it’s a freeware, so you do not have to pay anything for it, which is the best part. You can also find its source page and other related documentation on http://embeddedsw.net/libObfuscate_Cryptography_Home.html. You can download it as pdf. The source can be modified and used further more too. After downloading and installing OpenPuff- currently at version 3.40-  you’ll see two primary options for Steganography: Hide or Unhide.


Select Hide and you’ll be taken to a menu divided into four steps. The first step entails entering up to three different passwords to secure your data. You can choose to enter only one password as well, if keeping up with them all becomes tough. Next, you’ll have to select your payload or target that you’ll be transferring. Use the browse button and select the target to see its overall size in a bar below the name. In third step, you’ll have to choose a carrier. Keep in mind that the carrier can’t be smaller than the target (since this will no doubt raise suspicions). You can attach multiple carrier bits if one file isn’t big enough. Hit the Add button to navigate to files designated as the carriers and select them to see their space. If the carrier space is greater, the red status bar will turn green.
 The Bit Selection Option allows you to properly encode the carrier’s size until it matches with the target. Keep in mind that some formats would be better suited than others (obviously I suppose that comes from common sense). OpenPuff will alert you if the file type isn’t supported for being a carrier.After bit selection, hit “Hide Data!” and new file will be created. On the outside, the carrier will look like a normal image file. Navigate to Unhide option in the main menu and proceed to enter all the relevant details used to encrypting the file. Ensure that the passwords and bit selection option are exactly the same as those used before, else the file won’t open. Select your carrier file then, hit “Unhide!” and voila! The payload is now revealed.


You can also choose to fool any attackers by using the “Add Decoy” option (obviously smart attackers won’t fall prey). Simply head over the hide menu, and after the Previous four steps, select “Add Decoy”. You can add a file, just like when adding the payload, and set multiple passwords for it. When you’re done, hit “Hide Data”. The decoy can be revealed in the same way as the payload, only you have to use the details entered for decoy.


Selecting the SetMark option and adding a mark to a specified carrier can add watermarks. Similarly, CheckMark allows you to verify the watermark by selecting the carrier in question. You can also use CleanUp to erase a watermark from the image.
Steganography obviously has its own pros and cons. But when used effectively, it becomes an invaluable tool to convert transmissions. Not to mention those times when you want to claim right to your work.
For further information and study on the topic, you can refer to http://www.jjtc.com/Steganography/stego.html Also some books link are provided if you want to do further research on this amazing technology, which is catching up fast on young researchers.

Monday, 12 March 2012

Library Management System

Back sometime ago i made this project on Library management System in java, for IBM.. now m providin the code for all my friends for reference :)


package librarymanagement;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class main extends JFrame implements ActionListener{
JButton b1,b2,b3,b4,b5,b6;
JLabel l1;
main()
{
Mywindow w=new Mywindow();addWindowListener(w);
ImageIcon i=new ImageIcon("icon1.jpg");
l1=new JLabel(i);
b1=new JButton("ADD BOOK");
b2=new JButton("UPDATE AND DELETE");
b3=new JButton("PURCHASE");
b4=new JButton("EXIT");
b5=new JButton("ISSUE RECORD");
b6=new JButton("PURCHASE RECORD");
setLayout(new BorderLayout());
JPanel p1=new JPanel();p1.add(l1);add("Center",p1);
JPanel p2=new JPanel();
p2.add(b1);p2.add(b2);p2.add(b3);p2.add(b5);p2.add(b6);p2.add(b4);add("South",p2);
setSize(800,400);
setLocation(300,100);
setResizable(false);
setVisible(true);
setTitle("LIBRARY MANAGEMENT SYSTEM");
b1.addActionListener(this);
b2.addActionListener(this);
b3.addActionListener(this);
b4.addActionListener(this);
b5.addActionListener(this);
b6.addActionListener(this);
}
public void actionPerformed(ActionEvent ae){
if(ae.getSource()==b1)
{
new insert();
}
if(ae.getSource()==b2)
{
new update();
}
if(ae.getSource()==b3)
{
new update();
}
if(ae.getSource()==b4)
{
dispose();
}
if(ae.getSource()==b5)
{
new salerec();
}
if(ae.getSource()==b6)
{
new purrec();
}
}
public static void main(String args[])
{
main f=new main();
}
}
class Mywindow extends WindowAdapter{
public void windowClosing(WindowEvent ae)
{
}
}

This is the main class.. For further classes.. contact me ;)

Saturday, 14 January 2012

A bit o' programming ;)

Yo guys.. I just finished up with this download manager stuff.. so I'm leaving in here the coding for the same in java ;)
Create your own download manager and have fun :)


package DownloadManager;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.util.*;
import javax.swing.*;
import javax.swing.event.*;
/**
 *
 * @author Anirudha
 */
public class DownloadManager extends JFrame implements Observer{
    private JTextField addTextField;
    private DownloadsTableModel tableModel;
    private JTable table;
    private JButton pauseButton, resumeButton;
    private JButton cancelButton, clearButton;
    private Download selectedDownload;
    private boolean clearing;
    public DownloadManager(){
        setTitle("Joy's Download Manager");
        setSize(640,480);
        addWindowListener(new WindowAdapter(){
            public void windowClosing(WindowEvent e){
                actionExit();
            }
        });
        JMenuBar menu= new JMenuBar();
        JMenu fileMenu= new JMenu("File");
        fileMenu.setMnemonic(KeyEvent.VK_F);
        JMenuItem fileExitMenuItem= new JMenuItem("Exit",KeyEvent.VK_X);
        fileExitMenuItem.addActionListener(new ActionListener(){
            public void actionPerformed(ActionEvent e){
                actionExit();
            }
        });
        fileMenu.add(fileExitMenuItem);
        menuBar.add(fileMenu);
        setJMenuBar(menuBar);
        JPanel addPanel= new JPanel();
        addTextField= new JTextField(30);
        addPanel.add(addTextField);
        JButton addButton= new JButton("Add Download");
        addButton.addActionListener(new ActionListener(){
        public void actionPerformed(ActionEvent e){
                actionAdd();
        }
        });
        addPanel.add(addButton);
        tableModel= new DownloadsTableModel();
        table = new JTable(tableModel);
        table.getSelectionModel().addListSelectionListener(new ListSelectionListener(){
            public void valueChanged(ListSelectionEvent e){
                tableSelectionChanged();
            }
            });
            table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            ProgressRenderer renderer= new ProgressRenderer(0, 100);
            renderer.setStringPainted(true);
            table.setDefaultRenderer(JProgressBar.class, renderer);
            table.setRowHeight((int) renderer.getPreferredSize().getHeight());
            JPanel downloadsPanel= new JPanel();
            downloadsPanel.setBorder(BorderFactory.createTitledBorder("Downloads"));
            downloadsPanel.setLayout(new BorderLayout());
            downloadsPanel.add(new JScrollPane(table), BorderLayout.CENTER);
            JPanel buttonsPanel= new JPanel();
            pauseButton= new JButton("Pause");
            pauseButton.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent e){
                    actionPause();
                }
                });
            pauseButton.setEnabled(false);
            buttonsPanel.add(pauseButton);
            resumeButton= new JButton("Resume");
            resumeButton.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent e){
                    actionResume();
                }
                });
            resumeButton.setEnabled(false);
            buttonsPanel.add(resumeButton);
            cancelButton= new JButton("Cancel");
            cancelButton.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent e){
                    actionCancel();
                }
                });
            cancelButton.setEnabled(false);
            buttonsPanel.add(cancelButton);
            clearButton= new JButton("Clear");
            clearButton.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent e){
                    actionClear();
                }
                });
            clearButton.setEnabled(false);
            buttonsPanel.add(clearButton);
            getContentPane().setLayout(new BorderLayout());
            getContentPane().add(addPanel, BorderLayout.NORTH);
            getContentPane().add(downloadsPanel, BorderLayout.CENTER);
            getContentPane().add(buttonsPanel, BorderLayout.SOUTH);
        }
    private void actionExit(){
        System.exit(0);
    }
    private void actionAdd(){
        URL verifiedUrl= verifyUrl(addTextField.getText());
        if(verifiedUrl!= null){
            tableModel.addDownload(new Download(verifiedUrl));
            addTextField.setText("");
        }else{
            JOptionPane.showMessageDialog(this, "Invalid Download UrL", "Error", JOptionPane.ERROR_MESSAGE);
        }
    }
    private URL verifyUrl(String url){
        if(!url.toLowerCase().startsWith("http://"))
            return null;
        URL verifiedUrl= null;
        try{
            verifiedUrl= new URL(url);
        }catch(Exception e){
            return null;
        }
        if(verifiedUrl.getFile().length()<2)
            return null;
        return verifiedUrl;
    }
    private void tableSelectionChanged(){
        if(selectedDownload!=null)
            selectedDownload.deleteObserver(DownloadManager.this);
        if(!clearing && table.getSelectedRow()> -1){
            selectedDownload= tableModel.getDownload(table.getSelectedRow());
            selectedDownload.addObserver(DownloadManager.this);
            updateButtons();
        }
    }
    private void actionPause(){
        selectedDownload.pause();
        updateButtons();
    }
    private void actionResume(){
        selectedDownload.resume();
        updateButtons();
    }
    private void actionCancel(){
        selectedDownload.cancel();
        updateButtons();
    }
    private void actionClear(){
        clearing= true;
        tableModel.clearDownload(table.getSelectedRow());
        clearing= false;
        selectedDownload= null;
        updateButtons();
    }
    private void updateButtons(){
        if(selectedDownload!= null){
            int status= selectedDownload.getStatus();
            switch(status){
                case Download.DOWNLOADING:
                    pauseButton.setEnabled(true);
                    resumeButton.setEnabled(false);
                    cancelButton.setEnabled(true);
                    clearButton.setEnabled(false);
                    break;
                case Download.PAUSED:
                    pauseButton.setEnabled(false);
                    resumeButton.setEnabled(true);
                    cancelButton.setEnabled(true);
                    clearButton.setEnabled(false);
                    break;
                case Download.ERROR:
                    pauseButton.setEnabled(false);
                    resumeButton.setEnabled(true);
                    cancelButton.setEnabled(false);
                    clearButton.setEnabled(true);
                    break;
                default:
                    pauseButton.setEnabled(false);
                    resumeButton.setEnabled(false);
                    cancelButton.setEnabled(true);
                    clearButton.setEnabled(true);
            }
        }else{
                    pauseButton.setEnabled(false);
                    resumeButton.setEnabled(false);
                    cancelButton.setEnabled(false);
                    clearButton.setEnabled(false);
        }
    }
    public void update(Observable o, Object arg){
        if(selectedDownload!= null && selectedDownload.equals(o))
            updateButtons();
    }
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable(){
            public void run(){
                DownloadManager manager= new DownloadManager();
                manager.setVisible(true);
            }
        });
    }
}

For the rest of the classes.. Contact me ;)