The tutorial document by Thorbjörn Jemander provides a very practical review of Mercurial, the distributed source code management wonder.
Friday, November 09, 2012
Thursday, November 08, 2012
Trouble with NetBeans C/C++
Unfortunately, on Mac OS-X, when installed (7.2.1), for new projects, it seems to pick up some shell other than "bash" as its default shell, making many configure scripts that work perfectly well under bash fail in the IDE, due to PATH mismatches. In cases like this, if there's a terminal with environment variables that are already working for you, open netbeans from that same terminal. Otherwise, it looks like you need to set it directly in the IDE, itself.
Wednesday, November 07, 2012
Friday, November 02, 2012
Tuesday, October 30, 2012
Autotool Projects
Look no further. Here, you will find a nice writeup on Autotool projects (configure / make / make install).
Saturday, October 20, 2012
How do you check compilation architecture for a dynamic library
Try:
otool -fv /usr/lib/libiconv.dylib
as an example.
Friday, October 19, 2012
When Building MonetDB (mercurial distribution) on Ubuntu
If you're building MonetDB on Ubuntu, you might run into various when running Mtest.py for testing various core installed packages.
To get around this problem, make sure that you have loaded the newly created libraries: "sudo ldconfig -v"
Mtest.py needs to be run with appropriate permission.
To get around this problem, make sure that you have loaded the newly created libraries: "sudo ldconfig -v"
Mtest.py needs to be run with appropriate permission.
Wednesday, October 17, 2012
Tuesday, October 16, 2012
Changing Ubuntu Display Settings
This command:
> xrandr
helps produce a correct resolution set up on the display attached to the Ubuntu machine.
Thursday, October 11, 2012
All the time it takes ---- Seek time, rotational latency, transfer time
- Seek time - time it takes for the head to go to the right track
- Rotational latency - time it takes for the right sector to rotate under the head
- Transfer time - time it takes to transfer desired block in a sector
Tuesday, October 09, 2012
Mac OS-X File System Event Programming Guide
A very useful technology for those who write file-system related programs for the Mac:
OS-X file system event programming guide.
Monday, October 08, 2012
Wednesday, October 27, 2010
AWS EMR Case Study with Hive
To look into a great case study of using Hive on top of AWS' EMR, see here.
Tuesday, October 19, 2010
Dylib Architecture / Mac OS-X
> file /usr/local/lib/libprotobuf.dylib
> /usr/local/lib/libprotobuf.dylib: Mach-O 64-bit dynamically linked shared library x86_64
> /usr/local/lib/libprotobuf.dylib: Mach-O 64-bit dynamically linked shared library x86_64
Tuesday, October 12, 2010
Tuesday, October 05, 2010
Deepwater Horizon, Siemens PLC and Stuxnet
Stuxnet may have missed its target and may have caused other damage. Read F-Secure's Q&A regarding use of Siemens PLC in Deepwater Horizon.
Simple "Hello World" Using Grand Central Dispatch ( BSD , OS-X )
Simple piece of GCD code:
#include "stdio.h"
#include <dispatch/dispatch.h>
#include <Block.h>
int main()
{
dispatch_queue_t dq;
dq = dispatch_queue_create("HelloWorld", NULL);
dispatch_block_t block = ^{printf("===========Hello world.\n");};
dispatch_async(dq,block);
dispatch_main();
return 0;
}
Friday, October 01, 2010
Shtting Down Stuxnet in Infected Systems
A possible approach to remove Stuxnet is to create an anti-body superior in its "resilience" in comparison to the Stuxnet malware itself.
The anti-body should be just as "infective" if not more, i.e. it must be possible to have it installed in all relevant systems on the network, in a manner similar to Stuxnet itself.
Spreading like a manner similar to Stuxnet itself, and possiblly in a more viral manner, the anti-bodies will disable Stuxnet for garbage collection.
This seems like the best approach to me when it comes to super-infections. At least that's how it happens in our bodies.
Iran has made some interesting advances in drug invention and production.
I will not be surprised to see Iran become a leader or a leading partner in the production of cyber anti-bodies that work against malware from cyber criminals.
By the way, my conjecture is that those who created the Stuxnet -- whose operations are essentially akin to biological warfare -- have most probably also created some anti-bodies.
Of course, there's an art in creating anti-bodies and in immunology.
That same art needs to be applied here.
The anti-body should be just as "infective" if not more, i.e. it must be possible to have it installed in all relevant systems on the network, in a manner similar to Stuxnet itself.
Spreading like a manner similar to Stuxnet itself, and possiblly in a more viral manner, the anti-bodies will disable Stuxnet for garbage collection.
This seems like the best approach to me when it comes to super-infections. At least that's how it happens in our bodies.
Iran has made some interesting advances in drug invention and production.
I will not be surprised to see Iran become a leader or a leading partner in the production of cyber anti-bodies that work against malware from cyber criminals.
By the way, my conjecture is that those who created the Stuxnet -- whose operations are essentially akin to biological warfare -- have most probably also created some anti-bodies.
Of course, there's an art in creating anti-bodies and in immunology.
That same art needs to be applied here.
Thursday, September 02, 2010
Project Lambda and JDK 1.7
Project lambda is very cool, and developers cannot wait to see it released as part of the JDK.
Subscribe to:
Posts (Atom)
