Posted in 28/02/2011 ¬ 1:57 pmh.ali.sogukpinar
Using ifconfig command you see if multicasting is enabled for your network interface or not.
[ali@lab ~]$ /sbin/ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:24:D7:38:D5:7C
inet addr:172.30.59.189 Bcast:172.30.59.255 Mask:255.255.255.0
inet6 addr: fe80::224:d7ff:fe38:d57c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:761458 errors:0 dropped:0 overruns:0 frame:0
TX packets:282314 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:334033669 (318.5 MiB) TX bytes:50207088 (47.8 MiB)
If multicast is enabled for your network card then you would see RUNNING MULTICAST text in the command output. If it is not enabled you would see only MULTICAST.
Posted in 29/01/2011 ¬ 3:25 pmh.ali.sogukpinar
* Deltacloud – Abstracts the differences between clouds
* BoxGrinder – Making it easy to grind out server configurations for a multitude of virtualization fabrics
* Cobbler – Installation server for rapid set up of network installation equipment
* Condor – Batch system managing millions of machines worldwide
* CoolingTower – Simple application-centric tool for deploying applications in the cloud
* Hail – Umbrella cloud computing project for cloud services
* Infinispan – Extremely scalable, highly available data grid platform
* Libvirt – Common, generic, and scalable layer to securely manage domains on a node
* Spice – Open remote computing solution or solution for interaction with virtualized desktop devices
* Thincrust – Tools to build appliances for the cloud
Posted in 15/01/2011 ¬ 11:25 pmh.ali.sogukpinar
Since my last iPad OS update I have been having problem with auto-rotate lock button.
When I ever I try to fix the screen orientation via switch on the upper right side of my iPad I see that it is enabling and disabling the sound. I though it was a bug introduced by new release.
After doing some internet search It turned out to be a functional change introduced by new 4.2 release and unfortunately when you do an update you don’t get to see a information screen informing you about this kind of changes.
Now I know how can I activate auto-rotation-lock. Here is what I found.
Rotation lock is now a software function on the taskbar in 4.2 and the button on the right hand side now mutes notifications e.g. so that you can watch videos or listen to music without hearing email notifications etc.
Rotation lock : double-click the home button, slide from the left, and its the button far right; press home again to exit the taskbar; repeat to switch off rotation lock.
Following iPhone article explains the same feature with an illustration.
Posted in 14/01/2011 ¬ 12:16 pmh.ali.sogukpinar
By default JBoss Developer Studio doesn’t come with a Eclipse Maven plug-in. To be able to install m2eclipse plug-in you need to add update sites for m2eclipse plug-in to your IDE.
There are 2 update sites.
m2eclipse Core Update Site: http://m2eclipse.sonatype.org/sites/m2e
m2eclipse Extras Update Site: http://m2eclipse.sonatype.org/sites/m2e-extras
For more information please take a look at the installation documentation from m2eclipse project.
Posted in 23/12/2010 ¬ 11:14 pmh.ali.sogukpinar
If you are getting following error messages during the boot, one of your udev rules are using the ATTRS instead of SYSFS.
grep ATTRS /etc/udev/rules.d/*
Changing all occurrence of ATTRS with SYSFS will fix the problem.
On the other hand this is quite a irony. Fedora 13 will give you a warning error stating that SYSFS{}= will be removed in a future udev version. Please use ATTRS{}=
If you are using an old kernel this may solve your problem but as Fedora 13 warning states ATTRS{}= is deprecated.
copyright
Posted in 16/07/2010 ¬ 3:02 pmh.ali.sogukpinar
If you are building RESTful services you may find RESTClient add-on helpful during your tests. You can install the Mozilla add-on from this url.
Posted in 02/06/2010 ¬ 1:38 amh.ali.sogukpinar
Ruby on Rails has build in features for writing to you application log file. You can directly use the logger object for this purpose.
Following line when it is executed will print “Hello world” to you log file.
logger.info 'Hello world'
You can use different log levels fatal, error, warn, info, debug .
logger.error 'Hello world'
For more information please check the documentation of Logger class.
store
Posted in 03/05/2010 ¬ 9:47 amh.ali.sogukpinar
Today I defined a new site on my Nginx server. This new site I defined has a long domain name.
When I tried to restart the Nginx I got the following error message.
Restarting nginx: 2010/05/03 09:25:08 [emerg] 4452#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
nginx.
(more…)
Posted in 18/02/2010 ¬ 2:00 pmh.alper.sogukpinar
When you write a custom pipeline component, loading entire message into memory should be avoided. If you use Memory Stream for large files, it loads entire message into memory and you may have OutOfMemory exceptions. On the other hand, VirtualStream uses Biztalk’s buffering directory after a threshold value which is specified in object initialization.
In addition to this, default message stream can be non-seekable and you may have exception when you try to change message data postion. The solution for this to use ReadOnlySeekableStream which wraps MemoryStream by default.
As a result of these, It is a good approach to use ReadOnlySeekableStream and VirtualStream classes exposed by Microsoft.Biztalk.Streaming.dll together in your custom pipeline components.
Please check below code snippet to see how to use ReadOnlySeekableStream vith VirtualStream.
int bufferSize = 0×280;
int thresholdSize = 0×100000;
if (!inmsg.BodyPart.GetOriginalDataStream().CanSeek)
{
Stream virtualStream = new VirtualStream(bufferSize, thresholdSize);
ReadOnlySeekableStream seekableStream =
new ReadOnlySeekableStream(inmsg.BodyPart.GetOriginalDataStream());
Stream seekStream =
new ReadOnlySeekableStream(inmsg.BodyPart.GetOriginalDataStream(),
virtualStream, bufferSize);
inmsg.BodyPart.Data = seekableStream;
}
inmsg.BodyPart.Data.Position = 0;
Posted in 09/02/2010 ¬ 7:22 amh.ali.sogukpinar
I have started to use .local dns extension for my local network. After changing my complete network configuration I realized that some of my Ubuntu machines can resolve the FQDNs ending with .local (Ex: testhost.digitalpains.local ) correctly.
ali@advance17:/home/ali$ ping testhost.digitalpains.local
ping: unknown host testhost.digitalpains.local
ali@advance17:/home/ali$ ping testhost
PING testhost.feasiblesolutions.local (192.168.7.2) 56(84) bytes of data.
64 bytes from 192.168.7.2: icmp_seq=1 ttl=64 time=1.02 ms
64 bytes from 192.168.7.2: icmp_seq=2 ttl=64 time=1.12 ms
After some research it turned out that avahi-daemon was interfering the DNS resolve process and FQDNs ending with .local extension wasn’t being resolved.
After I stopped the avahi-daemon service I was able to resolve
ali@advance17:/home/ali$ sudo stop avahi-daemon
avahi-daemon stop/waiting
ali@advance17:/home/ali$ ping testhost.feasiblesolutions.local
PING testhost.feasiblesolutions.local (192.168.7.2) 56(84) bytes of data.
64 bytes from 192.168.7.2: icmp_seq=1 ttl=64 time=2.05 ms
64 bytes from 192.168.7.2: icmp_seq=2 ttl=64 time=1.16 ms
64 bytes from 192.168.7.2: icmp_seq=3 ttl=64 time=4.25 ms
After reboot avahi-daemon service will start automatically. On Ubuntu Karmic edition adding the following line to you r /etc/avahi/avahi-daemon.conf file will solve the problem permanently.
AVAHI_DAEMON_DETECT_LOCAL=0