Going to USA. May not be able to answer questions or do posts for a while.
For some reason I remembered my probability class back in the university. The class was fairly fun while also being an integral part of another un-fun class telecommunications. The calculation of the probability getting a straight in poker is being used in many ways in telecommunications. This brings another facet of playing cards doesn’t it? Playing cards can sometimes be fun.
There are many ways to skin this old cat. When choosing the way, you must first decide when should the adding of images take place. I chose to add images during sorting.
Let us assume you already added some data to gridview via datatable using ;
So now you know we have a filled up dataGridView.
Now let us assume in the dataGridView1 we want to add images according to the data within the 6th column. So what we first need to do is to create an image column by writing;
Now we have a image column. With the name “img” with the header “Image Column” As you can see in the 5th line I have stated that my images are actually icons. The reason I did this was that I found out that icons take up less space and flickers less. You can if you want change this option as you see fit.
Now let us get cracking and add those images according to the columns;
I hope this has been informative. Please do tell if you see any mistakes and wish to make suggestions.
This one was a little hard. I got lots of help so I decided to post it online since it doesn’t exist on the internet yet… I wonder why….
The simple step by step instruction:
- sudo yum install git
1git clone --depth 1 git://github.com/joyent/node.git
- cd node
- git checkout v0.6.2
- sudo yum install openssl-devel
- sudo yum install gcc # you can skip this if you already have gcc
- sudo yum install gcc-c++ # you can skip this if you already have gcc-c++
- ./configure [ thank you Ed for the heads up! ]
- make -j2
- make install
- export PATH=$PATH:/usr/local/bin:/usr/local #this is to add usr local to your path wher nodejs was installed
- sudo visudo
- Find Defaults secure_path=/sbin:/bin:/usr/sbin:/usr/bin
go to the end “a” for append, type “:/usr/local/bin”, ESC, “:wq”
- curl http://npmjs.org/install.sh |sudo sh #installing npm a very good too to install nodejs packages
P.S. : This step is outdated as of node.js 0.6.3 since node.js 0.6.3 comes out with npm
- sudo yum install mongodb #installing mongodb
- #go to the dir where you wish to code and use npm!!
- npm install mongodb
- npm install mongoose
- npm install express
- npm install coffee-script
- npm install stylus
- npm install underscore
- npm list
│ ├─┬ firstname.lastname@example.org
│ │ └── email@example.com
│ ├── firstname.lastname@example.org
│ ├── email@example.com
│ └── firstname.lastname@example.org
│ ├── email@example.com
│ ├── firstname.lastname@example.org
│ └── email@example.com
│ ├── firstname.lastname@example.org
│ ├── email@example.com
│ └── firstname.lastname@example.org
On vacation. Reading “The Call of Cthulhu” … Spooky…
I quote :
The most merciful thing In the world, I think, is the inability of the human mind to correlate all its contents. We live on a placid island of ignorance in the midst of black seas of infinity, and it was not meant that we should voyage far. The sciences, each straining in its own direction, have hitherto harmed us little; but some day the piecing together of dissociated knowledge will open up such terrifying vistas of reality and of our frightful position therein, that we shall either go mad from the revelation or flee from the deadly light into the peace ar.d safety of a new dark age.
I have just started working in RENKO LTD.. I probably mentioned this before. I am quite busy these days so sorry for the lagging updates. I will be posting some new code and ready code reviews. Also since I finished school (yeah baby I got my diploma!!! ) I will also post all my old home works. For now please enjoy the simple slideshow above.
If you come to Ankara, Turkey on a weekday you could probably find me at ;
So please be patient while I upload my old home works. And please feel free to browse through www.rentech.com.tr a great place to find physics lab equipment in Turkey.
I have been going through many projects these last few days so that’s why you haven’t been receiving any updates. However my work load has lessened a bit hence the update.
I will be posting my collision detection software (for a 3D world using only one webcam). You will be able to find it on GitHub.
I will like to show my fellow system admins one of the switch’s we are using in the company we work. I think it will make you smile. As you can see the whole thing is a mess and very scary. We are to re-cable the whole thing once I find some time. The switch is actually under power lines. So lots of interference. Thanks to some miracle the system still works.
I will take a photo of the new version once I fix the whole thing. If I ever find any time. After all I’m the only IT/Software Developer guy throughout the company.
Another photo I wish to share is of my cubicle. Below is my comp and table.
As you can see from the photo I have a nice little corner. The computer is custom made. i7-960 with 6 gigs of ram. The motherboard is true SATA3 so is the hard disk. I very much like my machine. I installed Fedora 15 and Windows 7 64-bit Prof. Dual boot. Very happy over all.
These days I’m writing in Python and C++. So I have been using the new Eclipse IDE. The new Indigo Eclipse is very good. Uses less RAM and less CPU.
For my PHP programs I have been using the new Netbeans 7.0.1. However because of the poor Python support (you have to install a Netbeans 6.8 version plugin which under certain circumstances crashes the whole Netbeans) I really don’t like it. That said the PHP support looks good.
Talking of PHP we moved our http://rentech.com.tr server to Media Temple. They have good service however it really is expensive. I wish they gave a little more RAM without costing an arm and a leg. The whole thing is just too expensive. However the speed is far superior than HostGator which was our previous server host.
I have also moved the whole network to OpenDNS. We were able to stop botnet activity thanks to the switch. It seems one of the computers got infected even though all the PC’s have anti-virus’s. The company was also able to put up some much needed web content filters. Of course now everyone blames the IT guy for the whole thing.
And that is that really. I will probably be buying an Android phone soon. Everything is grand these days. Couldn’t finish my “IP Home Automation Load Balancing” paper yet. I just really didn’t have the time. Was mostly working on my collision software these days.
I may be going back to USA. I really am not sure when it will be happening.
Below you will able to see some pretty pictures I took with my soon to be old phone.
Oh yeah… I wish to ask… Doesn’t it bother you when your door is kicked and you are checked up every so often as if you were in prison? I get really annoyed when my door is opened without a knock these days. I mean. Privacy people!