The concept of Black holes

Astronomically, Black Holes are heavenly bodies with mass so high, that they are capable of creating a gravitational field so strong that even light cannot escape it. Thus it is very difficult to observe black holes coz anything that goes towards them, is sucked into them forever.

In my life, I have seen a lot of black holes. They are not rare, but abundantly present all around. Well that’s coz I have a little different definition of black holes from NASA or wikipedia. I refer those people as black holes who somehow have the habit of borrowing stuff, but somehow seem to forget to return it. Anything that goes to these ‘black holes’ have little or approximately zero probability of coming back to the mother ship.

Due to some weird reason (the research is going on), these black holes assume that anything that’s coming their way should not be returned to their home planet. Every object i.e. matter that is directed towards these black holes is sucked into them by an unknown type of force. The only known characteristics of the force are as follows

The origin of the force is need.
The force is attractive in nature to every kind of material known to mankind.
The force makes the black hole system ‘memoryless’ i.e. the whole black hole system has no record of the instances when the force is on its peak.

Making your own UAV - part 1 - Inertial Management Units

This is the first of the multi-part article series describing the various options available for every module required in developing your own Unmanned Aerial Vehicle. The article is not for beginners, therefore, commonly used terms are not explained in the text. The article aims are intermediate to expert level designers looking for various options in terms of available hardware and/or software in the field of interest. 

For the first part of the article, I am going to start with the inertial management unit (IMU) required by a UAV.

An intertial management unit is the main component of a intertial navigation system used in UAVs. The IMU senses its rate and direction of motion with the help of accelerometers and gyroscopes, providng the computer with enough data about its orientation etc in space. There are 3 rotational attributes that you must be aware of - yaw, pitch and roll. This data is then fed into a guidance computer, which uses the data to calculate the current position. The IMU detects accelerations which are integrated by a guidance computer to deduce the position and velocity of the vehicle.

 1. Crossbow NAV420

  • Environmentally Sealed

 Datasheet

2. UNAV 3500 FW (fixed wing)

The UNAV3500 is our “full-featured” autopilot, with an onboard sensor suite and MEMS IMU.
It includes a tightly integrated groundstation ( software ) that provides a full-duplex data link with the autopilot.

  • Small Size: 4.0” x 2.0” x 0.75”
  • PCB weight: 1.2 oz 
  • GPS weight: 1.6oz
  • Low Power: 5.0v-7.0v @ 100ma
  • Control Loop: 30Hz
  • ( 7 ) RC input channels
  • ( 7 ) RC servos: (4) flight control,  (3) payload
  • 6DOF IMU (electronic gyro) 
  • Onboard sensors:  ( 8 )
  • User A/D inputs:  ( 5 ) 
  • Onboard servo switching: electronic servo command transfer
  • GPS waypoint navigation: accepts NMEA0183 (GGA & RMC) from any GPS receiver
  • Smart Waypoint sequencer: ignores invalid waypoint data or SPD & ALT out of limits
  • Waypoints:  64 non-volatile waypoint storage ( LON, LAT, ALT, SPD )
  • Data logging: All downlinked data stored to file for playbeack on the FDR (flight data recorder)
  • Program storage: allows embedded program to be updated in the field
  • Sensor Calibration: on command sensor calibration stored in FLASH
  • Robust design: All data backed in FLASH, transparent recovery from a power failure in 1 sec
  • Fault detection: fault detection, reporting and compensation
  • Payload Trigger (2): Triggers can be controlled from groundstation or waypoint proximity
  • Payload Servo control (3): integrated camera mount stabilization as well as full manual control
  • Semi-autonomous mode: autopilot stabilizes airplane, ground pilot controls flight path
  • Moving Map: ½ screen display permits simultaneous use of  most moving map programs.

3. UNAV 3500 HL (Helicopter)

  • Small Size: 4.0” x 2.0” x 0.75”
  • PCB weight: 1.2 oz 
  • GPS weight: 1.6oz
  • Range Finder  weight: 8.0 oz 
  • Low Power: 5.0v-7.0v @ 100ma
  • Control Loop: 30Hz
  • Laser range-finder
  • Altitude hold: +/- 2 ft
  • Altitude range: 3000ft AGL
  • Programmable on-board, non-volatile route date: 64 WPs
  • GPS waypoint navigation: accepts NMEA0183 (GGA & RMC) from any GPS receiver
  • programmable GPS data:  64  ( LON, LAT, ALT, SPD )
  • programmable altitude hold for each leg: 64
  • programmable airspeed hold for each leg: 64 
  • ( 7 ) RC input channels
  • ( 7 ) RC servos: (6) flight control,  (1) payload
  • 6DOF IMU (electronic gyro) 
  • Onboard sensors:  ( 8 )
  • User A/D inputs:  ( 5 ) 
  • Onboard servo switching: electronic servo command transfer
  • Smart Waypoint sequencer: ignores invalid waypoint data or SPD & ALT out of limits
  • Data logging: All downlinked data stored to file for playbeack on the FDR (flight data recorder)
  • Program storage: allows embedded program to be updated in the field
  • Sensor Calibration: on command sensor calibration stored in FLASH
  • Robust design: All data backed in FLASH, transparent recovery from a power failure in 1 sec
    Fault detection: fault detection, reporting and compensation
  • Payload Trigger (2): Triggers can be controlled from groundstation or waypoint proximity
  • Payload Servo control (3): integrated camera mount stabilization as well as full manual control
  • Semi-autonomous mode: autopilot stabilizes airplane, ground pilot controls flight path
  • Moving Map: ½ screen display permits simultaneous use of  most moving map programs.

If there are other useful IMUs that I have missed, please let me know.

Yahoo! and Microsoft… or Microhoo??

The technical and the economic world is buzzing with the news of Microsoft’s bid to buy Yahoo! at $31/share amounting to a total of $44.6 billion. The following was the letter sent by Steve Ballmer

 January 31, 2008       

        Board of Directors
        Yahoo! Inc.
        701 First Avenue
        Sunnyvale, CA 94089
        Attention: Roy Bostock, Chairman
        Attention: Jerry Yang, Chief Executive Officer
       

        Dear Members of the Board:        

       I am writing on behalf of the Board of Directors of Microsoft to make a proposal for a business combination of Microsoft and Yahoo!. Under our proposal, Microsoft would acquire all of the outstanding shares of Yahoo! common stock for per share consideration of $31 based on Microsoft’s closing share price on January 31, 2008, payable in the form of $31 in cash or 0.9509 of a share of Microsoft common stock. Microsoft would provide each Yahoo! shareholder with the ability to choose whether to receive the consideration in cash or Microsoft common stock, subject to pro-ration so that in the aggregate one-half of the Yahoo! common shares will be exchanged for shares of Microsoft common stock and one-half of the Yahoo! common shares will be converted into the right to receive cash. Our proposal is not subject to any financing condition.

        Our proposal represents a 62% premium above the closing price of Yahoo! common stock of $19.18 on January 31, 2008. The implied premium for the operating assets of the company clearly is considerably greater when adjusted for the minority, non-controlled assets and cash. By whatever financial measure you use - EBITDA, free cash flow, operating cash flow, net income, or analyst target prices - this proposal represents a compelling value realization event for your shareholders.

        We believe that Microsoft common stock represents a very attractive investment opportunity for Yahoo!’s shareholders. Microsoft has generated revenue growth of 15%, earnings growth of 26%, and a return on equity of 35% on average for the last three years. Microsoft’s share price has generated shareholder returns of 8% during the last one year period and 28% during the last three year period, significantly outperforming the S&P 500. It is our view that Microsoft has significant potential upside given the continued solid growth in our core businesses, the recent launch of Windows Vista, and other strategic initiatives.

        Microsoft’s consistent belief has been that the combination of Microsoft and Yahoo! clearly represents the best way to deliver maximum value to our respective shareholders, as well as create a more efficient and competitive company that would provide greater value and service to our customers. In late 2006 and early 2007, we jointly explored a broad range of ways in which our two companies might work together. These discussions were based on a vision that the online businesses of Microsoft and Yahoo! should be aligned in some way to create a more effective competitor in the online marketplace. We discussed a number of alternatives ranging from commercial partnerships to a merger proposal, which you rejected. While a commercial partnership may have made sense at one time, Microsoft believes that the only alternative now is the combination of Microsoft and Yahoo! that we are proposing.

        In February 2007, I received a letter from your Chairman indicating the view of the Yahoo! Board that “now is not the right time from the perspective of our shareholders to enter into discussions regarding an acquisition transaction.” According to that letter, the principal reason for this view was the Yahoo! Board’s confidence in the “potential upside” if management successfully executed on a reformulated strategy based on certain operational initiatives, such as Project Panama, and a significant organizational realignment. A year has gone by, and the competitive situation has not improved.

        While online advertising growth continues, there are significant benefits of scale in advertising platform economics, in capital costs for search index build-out, and in research and development, making this a time of industry consolidation and convergence. Today, the market is increasingly dominated by one player who is consolidating its dominance through acquisition. Together, Microsoft and Yahoo! can offer a credible alternative for consumers, advertisers, and publishers. Synergies of this combination fall into four areas:

        Scale economics: This combination enables synergies related to scale economics of the advertising platform where today there is only one competitor at scale. This includes synergies across both search and non-search related advertising that will strengthen the value proposition to both advertisers and publishers. Additionally, the combination allows us to consolidate capital spending.

        Expanded R&D capacity: The combined talent of our engineering resources can be focused on R&D priorities such as a single search index and single advertising platform. Together we can unleash new levels of innovation, delivering enhanced user experiences, breakthroughs in search, and new advertising platform capabilities. Many of these breakthroughs are a function of an engineering scale that today neither of our companies has on its own.

        Operational efficiencies: Eliminating redundant infrastructure and duplicative operating costs will improve the financial performance of the combined entity.

        Emerging user experiences: Our combined ability to focus engineering resources that drive innovation in emerging scenarios such as video, mobile services, online commerce, social media, and social platforms is greatly enhanced.

        We would value the opportunity to further discuss with you how to optimize the integration of our respective businesses to create a leading global technology company with exceptional display and search advertising capabilities. You should also be aware that we intend to offer significant retention packages to your engineers, key leaders and employees across all disciplines.

        We have dedicated considerable time and resources to an analysis of a potential transaction and are confident that the combination will receive all necessary regulatory approvals. We look forward to discussing this with you, and both our internal legal team and outside counsel are available to meet with your counsel at their earliest convenience.

        Our proposal is subject to the negotiation of a definitive merger agreement and our having the opportunity to conduct certain limited and confirmatory due diligence. In addition, because a portion of the aggregate merger consideration would consist of Microsoft common stock, we would provide Yahoo! the opportunity to conduct appropriate limited due diligence with respect to Microsoft. We are prepared to deliver a draft merger agreement to you and begin discussions immediately.

        In light of the significance of this proposal to your shareholders and ours, as well as the potential for selective disclosures, our intention is to publicly release the text of this letter tomorrow morning.

        Due to the importance of these discussions and the value represented by our proposal, we expect the Yahoo! Board to engage in a full review of our proposal. My leadership team and I would be happy to make ourselves available to meet with you and your Board at your earliest convenience. Depending on the nature of your response, Microsoft reserves the right to pursue all necessary steps to ensure that Yahoo!’s shareholders are provided with the opportunity to realize the value inherent in our proposal.

        We believe this proposal represents a unique opportunity to create significant value for Yahoo!’s shareholders and employees, and the combined company will be better positioned to provide an enhanced value proposition to users and advertisers. We hope that you and your Board share our enthusiasm, and we look forward to a prompt and favorable reply.

        Sincerely yours, /s/ Steven A. Ballmer
        Steven A. Ballmer
        Chief Executive Officer
        Microsoft Corporation

Let me start with analysing some specific segments of the letter.

Firstly, compelling value realization event for your shareholders  is just a fancy business lingo for a good price for the shareholders.

I noticed that not even once GOOGLE was mentioned by name in the letter even though it was referenced by the phrase there is only one competitor at scale.

Eliminating redundant infrastructure and duplicative operating costs is just management lingo that there’ll be lay-offs and maybe some of the middle-management would be replaced by microsoft’s management.

Overall, the letter sounds like Microsoft saying to Yahoo! that they should accept the offer as they weren’t able to meet the goals they set out for AND Yahoo! has the technical strength and market share that Microsoft needs to compete with Google.

802.11n - the standard

Until a few weeks ago, I was under the impression that 80.11n standard is currently in draft when a friend of mine pointed out that his MacBook supports 802.11n. This got me thinking over 802.11n and how can a device be available for supporting a standard that is not finalized. Upon researching, I found out that many companies, including apple, have launched devices supporting the latest draft of the 802.11n standard and hope to provide firmware upgrades when the final standard rolls out.

 The 802.11n standard is an amazing improvement over the currently used 802.11g standard. 802.11n standard supports link rate of 600 Mbps in comparison to the current 54Mbps supported by the 802.11g standard. It also incorporates the MAC enhancements for QoS and power savings as defined in the 802.11e standard. The increase in the link speed can be attributed to the folowing enhancements:

1. Increase in subcarriers
The OFDM subcarriers were increased from 48 in 802.11 to 52 in 802.11n boosting the throughput.

2. Decrease in Guard Interval
The guard interval is decreased from 800ns to 400 ns

3. 40Mhz Channels
The other 802.11 standards have a channel bandwidth of 20 Mhz. 802.11n has an optional mode, where the channel bandwidth is increased to 40Mhz. As the channel bandwidth is doubled, the number of data subcarriers is slightly more than doubled, going from 52 to 108.

CSS link repository - I

Here are some of the sites that I would recommend for any information regarding CSS

  • The W3C writes the code we use.
  • How To Read W3C Specs
  • SelectORacle translates CSS2 and CSS3
  • Mailing List

    CSS-Discuss

    Others to be mentioned

  • A List Apart
  • Evolt
  • Digital-Web
  • CodeBitch
  • WaSP
  • Validation

  • W3C Markup Validator
  • W3C Link Checker
  • W3C CSS Validator
  • W3C CSS Validator FAQ
  • Other tools
  • protecing your images on the web

    If you put up some photos of paintings or certificates or any personal stuff on the internet, at some point someone is going to use those photos without your permission. You may feel that your stuff is ’stolen’, but there isnt much that you can do in order to protect your images. So what do you do?

    1. You can start by putting up low-resolution images on your website at a size as small as possible. A resolution of around 72 dpi would be fine for viewing on the web. These low quality resolution images may be copied for use on the web, but are no good for printing out.

    2. Watermaking your pictures has been one of the favorite methods of discouraging others from using your images. You can easily put up a semi-transparent text across you image to deter the others from using the images directly. It is possible to remove a watermark, but most people wont spend the time doing so.

    3. Some websites disable right click on their websites in the hope to stop their content from being ’stolen’. I would not suggest the scheme as it turns out to be highly irritating for the visitors and it is very easy to bypass. Anyone can disable scripts in his browser for your page and easily download the images from your website.

    4. Another not-so-commomly-used method can be to incorporate each of your image as a separate Adobe flash object. However, initially you need to create different flash objects for each of your images. On the upside, no one can right-click-and-save your images nor can anyone download the images from the path. But there do exist softwares to specifically download flash objects from the website. Once downloaded, graphic objects can be easily extracted from the flash objects.

    5. Some developers use the technique of image hiding. In this technique, the original image is placed as the background of a table cell introduced at the position of the image on the webpage. Above the background image (the image you need to display), you place a transparent image of the same size. When the visitor right-click-and-save the image, without knowing he selects the transparent image to be saved. The technique relies on the assumption that the visitor wont notice that he has saved the wrong image until much later and will decide that returning to your site to steal the right one is too much effort. The code for such a technique can be generated here.

    6. The last one possibly the most complex and the most time consuming of all is the slicing method. In this method, you can use any software like Adobe Fireworks (my favorite!) for slicing the images into several parts. The same software is capable of generating the appropriate html code to re-assemble the image parts on the webpage. You can copy the generated html <table> code (without the <html> or <body> tags) into your webpage. In this case, with the visitor right-click-saves, he is able to save only the sliced part of the image where he clicked. In order to obtain the complete image, he has to download all parts and then re-assemble the parts like a jigsaw puzzle in his webpage or a photo editing software. This method may be used by applying this process to a low resolution image. Click here for a sample image

    The slicing method is my favorite amongst all. However, the inital prep for all images has always been a big deterrant for adopting this method. I plan to code a script to automate the slicing procedure in the near future. Keep a check on this page for any updates.

    Even with all the methods described above, the user can still use print-screen and obtain the image using a simple photo editing software. Thus, all the methods described here are still not capable for providing complete security for your image content on your webpage. However, a combination of the techniques described above can really discourage someone from downloading your images for personal use.

    Mobile ad hoc Networks (MANETs)

    A mobile ad-hoc network (MANET) is a self-configuring network of mobile routers (and associated hosts) connected by wireless links—the union of which form an arbitrary topology. The routers are free to move randomly and organize themselves arbitrarily; thus, the network’s wireless topology may change rapidly and unpredictably. MANETs are usually set up in situations of emergency for temporary operations or simply if there are no resources to set up elaborate networks. These types of networks operate in the absence of any fixed infrastructure, which makes them easy to deploy, at the same time however, due to the absence of any fixed infrastructure, it becomes difficult to make use of the existing routing techniques for network services, and this poses a number of challenges in ensuring the security of the communication, something that is not easily done as many of the demands of network security conflict with the demands of mobile networks, mainly due to the nature of the mobile devices (e.g. low power consumption, low processing load).

    Proactive vs Reactive Routing

    Proactive Schemes

    Determine the routes to various nodes in the network in advance, so that the route is already present whenever needed. Route Discovery overheads are large in such schemes as one has to discover all the routes. Consumes bandwidth to keep routes up-to-date Packet forwarding is faster as the route is already present. Examples of such schemes are the conventional routing schemes, Destination Sequenced Distance Vector (DSDV).

    Reactive Schemes

    Determine the route when needed .Smaller Route Discovery overheads. Employs flooding(global search) A node trying to transmit a packet may have to wait for route discovery. Examples of such schemes are Dynamic Source Routing, Ad-Hoc On Demand Distance Vector Routing (AODV) etc.

    Flooding

    Some routing protocols will find a apart form proactive and reactive there is another mechanism called Flooding. In flooding no route is computed or discovered. A packet is broadcasted to all the nodes in the network. Flooding is the easiest routing method, however it generates heavy traffic.

    Different proactive, reactive and even hybrid (reactive as well as proactive) schemes e.g. Zone Routing Protocol, have been proposed for Wireless Ad-Hoc networks

    the freelance hellraiser

    I was asked by a friend to find the whereabouts of a song “want you to know”. I didnt know anything much about the song other than you can listen to it www.thefreelancehellraiser.com. So I browsed through the site, and found their jukebox. I listened to the song and I liked it.. a lot.

    My friend suggested that the song must have been downloaded into the temp files of internet explorer. At first i thought that the site admins must have taken that into account to stop illegal downloading from their own site. But I checked it and it was right there in my Temporary Internet Files folder. The admins had not managed to cover up the streamed audio. So, I am putting up here the step by step procedure to obtain the files from your temporary internet files directory.

    To get that song, go to www.thefreelancehellraiser.com and listen to any of their song.

    then Go to (windows installation partition)\Documents and Settings\(windows user account name)\Local Settings\Temporary Internet Files

    sort the files by “Last Accessed” and near the end of that folder, you’ll find a file named track(a 2 digit tracknumber)

    .mp3

    the (tracknumber)

    will be a two-digit number of the track from the playlist on www.thefreelancehellraiser.com

    Simply copy the file from that folder and place it anywhere you like.

    I also found another way.. Its simpler.

    To download any of their songs, just go to www.thefreelancehellraiser.com/jukebox/track(tracknumber)

    .mp3 where track number is the number of the track from the playlist on their site.

    NOTE: The track number is in 2 digits i.e. for the first song “want you to know”, use tracknumber as 01

    For example, the link for the song “want you to know” is www.thefreelancehellraiser.com/jukebox/track01.mp3

    Use a download manager, to save the above link onto your computer.

    NOTE: The above procedure should not be used for any illegal purpose. The user is himself/herself responsible for any way he/she uses the content on the site.

    php and web forms

    web forms are one of the most common elements of a webpage and the most general method to input data from the user. PHP allows you to easily handle the data input by the user. All the elements of the form are automatically available to the PHP scripts. Consider the HTML page

    <form action="dataHandler.php" method="post">
     <p>first name: <input type="text" name="fname" /></p>
     <p>last name: <input type="text" name="lname" /></p>
     <p><input type="submit" /></p>
    </form>

    the above code plainly defines a simple html form with two text input elements. When the user fills the data in the text field and click on the submit button, the dataHandler.php is called which is of the following type

    Hello <?php echo htmlspecialchars($_POST[’fname’]);?>
    Your last name is <?php echo htmlspecialchars($_POST[’lname’]);?>

    in the HTML form, the method specified was POST, therefore the  data was stored in the variable $_POST. Another option is to use the method GET. When GET method is used with a form, the data from the form is stored in the variable $_GET.

    Another variable available is $_REQUEST which contains the merged information from the GET, POST and COOKIE data.