Posts

भगवद्गीता मङ्गलाचरण (गीता धर्म मंडळ)

ॐ पार्थाय प्रतिबोधितां भगवता नारायणेन स्वयं व्यासेन ग्रथितां पुराणमुनिना मध्येमहाभारतम्।             अद्वैतामृतवर्षिणीं भगवतीमष्टादशाध्यायिनीम्             अम्ब त्वाम् अनुसन्दधामि भगवद्गीते भवद्वेषिणीम्॥ १॥ नमोस्तु ते व्यास विशालबुद्धे फुल्लारविन्दायतपत्रनेत्र । येन त्वया भारततैलपूर्णः प्रज्वालितो ज्ञानमयः प्रदीपः॥ २॥               प्रपन्नपारिजाताय तोत्रवेत्रैकपाणये ।               ज्ञानमुद्राय कृष्णाय गीतामृतदुहे नमः ॥ ३॥ सर्वोपनिषदो गावो दोग्धा गोपालनन्दनः। पार्थो वत्स सुधीर्भोक्ता दुग्धं गीतामृतं महत्॥ ४॥              वसुदेवसुतं देवं कंसचानूरमर्दनं ।              देवकीपरमानन्दं कृष्णं   वन्दे जगद्गुरुम्॥ ५॥ मूकं करोति वाचालं पंगुं लंघयते गिरिम्। यत्कृपा तमहं वन्दे परमानन्द माधवम्  ॥ ६ ॥          ...

Nothing is good and bad in it's entirety

For some things you may feel happy or bad (e.g. Dhruti got admission to City Pride School). But this can't be termed as blessing or suffering. It's relative. Was feeling there is a Sanskrut subhashit for this but it turned out to be little different. Still copying here for archiving. उपकारोऽपि नीचानां अपकराय जायते | पय: पानं भुजङ्गानां केवलं विषवर्धनम् || Ref:  Sanskrit Swyam Shikshak By: S. D. Satavlekar You have accept whatever comes to your way with open hands. With right attitude and hard work any hurdles could be overcome.

Excel charts' good basics..

Image
Help resource Name: Select data for a chart Pie chart This chart uses one set of values (called a data series). Help Path: Excel/Import and analyze data/Charts/Select data for a chart Link: https://support.office.com/client/Select-data-for-a-chart-5fca57b7-8c52-4e09-979a-631085113862

New asur: Vruttasur (वृत्तासुर)

Earlier in पुराण कथा, there was Vrutrasur (वृत्रासुर) deamon (असुर ) who had to be killed. But now in Kali Yug, in the form of profit making media, it is the वृत्तासुर that is playing havoc. It is making fool of people by diverting attention from topics that matter, polluting minds with false conceptions and false pride. A burning instance of perverted mindset of today's media. They showed cctv footage of a train station showing live suicide. But they would never have a program to avert people from suicide and living with courage - something like a program say "Living Spirit of Life (जगण्याची जिद्द)" showcasing stories of people who successfully came out of the bad times in life. There could be many more examples like avoiding roads accidents etc.

AXI (AMBA bus)

Wiki: AMBA is interconnect specification for functional blocks in SoC. AMBA stands for Advanced Microcontroller Bus Architecture AXI stands for Advanced eXtensible Interface

Self inspired quotes

Life is about making things simple If you cannot make things simple, you have not understood them enough.

Whats the o/p of following

#define BUFF_SIZE 64*1024 UWord64 fileOffset; fileOffset = readFromFile(BUFF_SIZE); /* above fn returned BUFF_SIZE */ fileOffset -= BUFF_SIZE - 71444;/* 17444=0x11714 */ Options: 1. 18446744069414655764 or 0xffff ffff 0001 1714 2. 71444 or 0x1 1714 Soln: BUFF_SIZE - 71444 i.e 65536 - 71444 is converted to 2's compliment form in Word32 format which is 0xffff e8ec. That value is subtracted from 0x0000 0000 0001 0000. So option 1 is the ans.

वाजवी पावा गोविंद (beautiful Bhimpalas by Babuji)

शरदाचे चांदणे मधुबनी फुलला निशीगंध नाचतो गोपीजन वृंद वाजवी पावा गोविंद ॥ धृ ॥ पैंजण रुणझुणती मेखला कटिवर किणक़िणती वाहते यमुना जळ धुंद वाजवी पावा गोविंद ॥ गायिका: माणिक वर्मा गीत: ग. दि. माडगुळकर संगीत: सुधीर फडके

C quiz with answers

Q1. What is the form of variable name? A1. 1. Should not begin with digit. 2. Sequence of letters and digits. Q2. What are identifiers? A2. Identifiers = symbols. They can refer to 1. variables 2. type 3. functions 4. labels Q3. What are elements of C language? A3. Following 1. Operator 2. Keywords 3. Identifiers 4. Constants 5. String Literals 6. Punctuation and special characters Q4. What are tokens? A4. The basic element recognized by the compiler is the "token". A token is source-program text that the compiler does not break down into component elements. Note: Elements of C language are discussed above.

L-values and R-values

Expressions in C++ can evaluate to l-values or r-values. L-values are expressions that evaluate to a type other than void and that designate a variable. L-values appear on the left side of an assignment statement (hence the "l" in l-value). Variables that would normally be l-values can be made nonmodifiable by using the const keyword; these cannot appear on the left of an assignment statement. Reference types are always l-values. The term r-value is sometimes used to describe the value of an expression and to distinguish it from an l-value. All l-values are r-values but not all r-values are l-values. // lValues_rValues.cppint main() { int i, j, *p; i = 7; // OK variable name is an l-value. 7 = i; // C2106 constant is an r-value. j * 4 = 7; // C2106 expression j * 4 yields an r-value. *p = i; // OK a dereferenced pointer is an l-value. const int ci = 7; ci = 9; // C3892 ci is a nonmodifiable l-value ((i

Glossary of mobile telephony terms

Dual mode phones They can be used as a GSM or CDMA phone according to your preference. These are essentially 2 phones in one device. OR Mobile phones containing both cellular and non-cellular radios used for voice and data communication purpose. Cellular radio contains GSM/CDMA/W-CDMA and non-cellular contains technology like IEEE 802.11 (Wi-Fi) radio or DECT (Digital Enhanced Cordless Telecommunications) radio. These phones can be used as cellular phones when connected to a wide area cellular network. When within range of a suitable WiFi or DECT network, the phone can be used as a WiFi/DECT phone for all communications purposes. e.g. GSM and WiFi phones using VoIP POTS Plain old telephone service Wi-Fi A Wi-Fi enabled device such as a PC, game console, mobile phone, MP3 Player or PDA can connect to the internet when within range of a wireless network connected to the internet.

Tips to develop C code from scratch.....

I have been blessed to get a chance to really write a from scratch code (before that deciding directory structure and creating blank file also ;)) but simultaneously punished for proceeding directionlessly with the team (even when there was a team leader leader :P). Out of hard things I have learnt following lessons while going for a from scratch development. 1. Decide return codes first. I think all the robust codes are formed due to proper handling of return codes of functions calls. If an enumeration comprising of all the required return codes is finalized before hand then the module writers can effectively use them so that alongwith robustness there is a consistency among the modules. Also to finalize on error codes one has to fully know what he wants to do - the big big key for success. 2. Decide upon coding style Yes, this has to be taken next. If you don't take it now you will never take it later when your code is functional. Even if you take it with lot of resolve (an of co...

Concentration and improving efficiency

Symptom of failure path: 1. Getting tempted for skipping text while reading. 2. Humming song or continuous movement of hand/leg. 3. Watching what others are doing or getting disturbed by passerby. Causes of lack of concentration: 1. Lack of energy required to do that kind of work. 2. Not fully understanding what you are doing. Way out: 1. Constructive interference of desires (use the desire enery as if it takes some cost). 2. Avoid listen-reasponse collision. Don't frame doubts while reading something. Otherwise there will be traffic jam of thoughts. 3. Do not force yourself to memorize something. Take some rest or use yoga methods to gather required energy so that you remember the things the way glue does and not like tying. 4. Best method for learning is learn by doing mistakes. Don't get bogged down by involving too much in gathering prereqisites and mastering them. 5. Appreciate others intelligence with candid heart. Just enjoy the moment and don't involve in any other ...

What is OSD (on screen display) module

The on-screen display unit (OSD) generates the output video signal. It mixes together the information from up to five hardware windows, one of which is a cursor, two YCrCb video data, and the last two are user-defined bitmaps that can be used to display a menu on the screen for example. The OSD windows priority is: (in the order of increasing priority.). - Video window 0 - Video window 1 - Bitmap window 0 - Bitmap window 1 - Cursor window. The priority order is fixed. If overlapping occurs between different windows, the color of each pixel corresponds to the color of the window with the highest priority. Although, transparency and blending factor can be setup for the bitmap windows. The DSC24 main video window supports 2 ping-pong buffers. The address of the buffers is stored in separate registers so that they can be switched easily with a select signal. This feature is particularly useful in video decoding to decode the video data into one buffer and display the data coming from the o...

Caveat in character constant \'

Escape sequences are used to represent invisible or hard-to-represent characters. Some of them are used for avoiding ambiguities as listed below. \" : Is only necessary in strings i.e. char const '"' (double quote in two single quotes) is valid. \\ : Always reqd to distinguish \ from esc seq. \? : To avoid trigraph sequence ??'. Char const '?' is valid. All above escape sequences are justifiable coz possible ambiguities are obvios. But for escape sequence \' what is ambiguous if we use char const ''' (single quote in two single quotes) is not obvious. Following is the list characters tried to print through a C program and associated compiler errors. char c = x;// x as below printf("%c\n", c); '' : Two single quotes without space in between. error: empty character constant Comment: This means empty character const is not permitted. ''' : Single quote char in two single quotes error: missing terminating ' cha...

Character constant and String constant

A character constant is a character written between single quotes. Although called character constant it represents an interger value. Its value equals to numeric value of the character in the machine's character set. In the ASCII character set: '\n' = 10 '0' (zero) = 48 'A' = 65 'a' = 97 A sequence of characters in double quotes, like "hello, world\n", is called a character string or string constant .

Video Stream Start Codes for Different Codecs

Start Code Prefix (SCP) H.264 and MPEG-4 Stream contain various codes that are identified by a common 3 byte string = 0x 00 00 01 H.264 SCP Identifies beginning of NAL Unit. Stream Structure: 1. NAL Unit Code - 1 byte 2. NAL Unit Data Anatomy of 1 byte = 8 bits of NAL Unit Code: 1 Bit - Always zero 2 Bits - 0 for non ref frames. Non zero for SPS, PPS and Ref frame. 5 bits - NAL Unit Type. 1 - Non IDR, 5 - IDR, 7 - SPS, 8 - PPS. Typical NAL Unit Codes: x7- SPS x8 - PPS x5 - IDR x1- Reference P 01 - Non ref P Note: x is non zero Typical Stream: 00 00 00 01 67 (SPS) 42 00 1E AA 40 28 02 DC 80 00 00 00 01 68 (PPS) CE 38 80 00 00 00 01 65 (IDR) 88 ..... 00 00 01 41 (Non IDR Ref) 9A 44 .... MPEG-4 Stream Struct: 1. Video object start code - 00 through 1F 2. Video object layer start code - 20 through 2F 3. Video Object Layer Info - Length and value depends upon content 3. vop start code - B6 4. VOP Info Typical MP-4 Bitstream: 00 00 01 00 (vo Start) 00 00 01 20 (vol start) 00 C8 89 80 0C C9 1...

shriranga kamalakanta

श्रीरंगा कमलाकांता श्रीरंगा कमलाकांता हरीपदरा ते सोड रे ॥ धृ ॥ ब्रीजवासी नारी, जात असो की बाजारी हो कान्हा का मुरारी, अडविता का कंदारी मथुरेच्या बाजारी, पाहु मजा हो गिरीधारी विकुन वनित दहिहोड रे ॥ १ ॥ गायक: सुरेश हळदणकर गीतकार: होनाजी बाळा संगीतकार: हेमंत - केदार नाटक: होनाजी बाळा

Deva Gharache dnyat kunala

देवा घरचे ज्ञात कुणाला देवा घरचे ज्ञात कुणाला विचित्र नेमानेम कुणी रखडति धुळीत आणिक कुणास लाभे हेम ॥धृ॥ मी निष्कांचन निर्धन साधक वैराग्याचा एक उपासक हिमालयाचा मी तो यात्रिक मनात माझ्या का उपजावे संसाराचे प्रेम ॥ १ ॥ मूळ गायक: रामदास कामत गीत: वसंत कानेटकर संगीत: पं. जितेंद्र अभिषेकी नाटक: संगीत मत्स्यगंधा

High-level description of low-level OS terms!!

==> What is System Programming? System programming is the practice of writing 'system software', which is code that lives at a lower level, talking directly to the kernel and core system libraries. Put another way, system programming deals with system calls and other low-level functions, such as those defined by C library. ==> What are device drivers (in linux)? Device drivers are distinct "black boxes" that make a particular piece of hardware respond to a well-defined internal programmin interface; they hide completely the details of how the device works. User activities are performed by means of a set of standardized calls that are independent of the specific driver; mapping those calls to device-specific operations that act on real hardware is then the role of device driver.