31, జులై 2025, గురువారం

The "British Club" in Yokohama, Japan, likely refers to British House Yokohama......................

Somerset Maugham "A Friend In Need" For thirty years now I have been studying my fellow-men. I do not know very much about them. I suppose it is on, the face that for the most part we judge the persons we meet. We draw our conclusions from the shape of the jaw, the look in the eyes, the shape of the mouth. I shrug my shoulders when people tell me that their first impressions of a person are always right. For my own part I find that the longer I know people the more they puzzle me: my oldest friends are just those of whom I can say that I don't know anything about them. These thoughts have occurred to me because I read in this morning's paper that Edward Hyde Burton had died at Kobe. He was a merchant and he had been in Japan for many years. I knew him very little, but he interested me because once he gave me a great surprise. If I had not heard the story from his own lips I should never have believed that he was capable of such an action. It was the more startling because both his appearance and his manner gave the impression of a very different man. He was a tiny little fellow, very slender, with white hair, a red face much wrinkled, and blue eyes. I suppose he was about sixty when I knew him. He was always neatly and quietly dressed in accordance with his age and station. Though his offices were in Kobe Burton often came down to Yokohama. I happened on one occasion to be spending a few days there, waiting for a ship, and I was introduced to him at the British Club. We played bridge together. He played a good game and a generous one. He did not talk very much, either then or later when we were having drinks, but what he said was sensible. He had a quiet, dry humour. He seemed to be popular at the club and afterwards, when he had gone, they described him as one of the best. It happened that we were both staying at the Grand Hotel and next day he asked me to dine with him. I met his wife, fat, elderly and smiling, and his two daughters. It was evidently a united and loving family. I think the chief thing that struck me about Burton was his kindliness. There was something very pleasing in his mild blue eyes. His voice was gentle; you could not imagine that he could raise it in anger; his smile was kind. Here was a man who attracted you because you felt in him a real love for his fellows. He had charm. But there was nothing sentimental about him: he liked his game of cards and his cocktail, he could tell a good and spicy story, and in his youth he had been something of an athlete. He was a rich man and he had made every penny himself. I suppose one thing that made you like him was that he was so small and frail; he aroused your instincts of protection. You felt that he would not hurt a fly. One afternoon I was sitting in the lounge of the Grand Hotel. From the windows you had an excellent view of the harbour with its crowded traffic. There were great liners; merchant ships of all nations, junks and boats sailing in and out. It was a busy scene and yet, I do not know why, restful to the spirit. Burton came into the lounge presently and caught sight of me. He seated himself in the chair next to mine. "What do you say to a little drink?" He clapped his hands for a boy and ordered two drinks. As the boy brought them a man passed along the street outside and seeing me waved his hand. "Do you know Turner?" said Burton as I nodded a greeting. "I've met him at the club. I'm told he's a remittance man." "Yes, I believe he is. We have a good many here." "He plays bridge well." "They generally do. There was a fellow here last year, a namesake of mine, who was the best bridge player I ever met. I suppose you never came across him in London. Lenny Burton he called himself." "No. I don't believe I remember the name." "He was quite a remarkable player. He seemed to have an instinct about the cards. It was uncanny. I used to play with him a lot. He was in Kobe for some time." Burton sipped his gin. "It's rather a funny story,", he said. "He wasn't a bad chap. I liked him. He was always well-dressed and he was handsome in a way, with curly hair and pink-and-white cheeks. Women thought a lot of him. There was no harm in him, you know, he was only wild. Of course he drank too much. Fellows like him always do. A bit of money used to come in for him once a quarter and he made a bit more by card-playing. He won a good deal of mine, I know that." Burton gave a kindly little chuckle. "I suppose that is why he came to me when he went broke, that and the fact that he was a namesake of mine. He came to see me in my office one day and asked me for a job. I was rather surprised. He told me that there was no more money coming from home and he wanted to work. I asked him how old he was. "Thirty five,' he said. '"And what have you been doing before?' I asked him. '"Well, nothing very much,' he said. "I couldn't help laughing. "'I'm afraid I can't do anything for you just now,' I said. 'Come back and see me in another thirty-five years, and I'll see what I can do.' "He didn't move. He went rather pale. He hesitated for a moment and then he told me that he had had bad luck at cards for some time. He hadn't a penny. He'd pawned everything he had. He couldn't pay his hotel bill and they wouldn't give him any more credit. He was down and out. If he couldn't get a job he'd have to commit suicide. "I looked at him for a bit. I could see now that he was all to pieces. He'd been drinking more than usual and he looked fifty. '"Well, isn't there anything you can do except play cards?' I asked him. "'I can swim,' he said. "'Swim!' "I could hardly believe my ears; it seemed such a silly answer. "'I swam for my university.' "'I was a pretty good swimmer myself when I was a young man,' I said. "Suddenly I had an idea. Pausing in his story, Burton turned to me. "Do you know Kobe?" he asked. "No," I said, "I passed through it once, but I only spent a night there." "Then you don't know the Shioya Club. When I was a young man I swam from there round the beacon and landed at the creek of Tarumi. It's over three miles and it's rather difficult on account of the currents round the beacon. Well, I told my young namesake about it and I said to him that if he'd do it I'd give him a job. "I could see he was rather taken aback. '"You say you're a swimmer,' I said. '"I'm not in very good condition,' he answered. "I didn't say anything. I shrugged my shoulders. He looked at me for a moment and then he nodded. '"All right,' he said. 'When do you want me to do it?' "I looked at my watch. It was just after ten. "The swim shouldn't take you much over an hour and a quarter. I'll drive round to the creek at halfpast twelve and meet you. I'll take you back to the club to dress and then we'll have lunch together.' "'Done,' he said. "We shook hands. I wished him good luck and he left me. I had a lot of work to do that morning and I only just managed to get to the creek at half past twelve. I waited for him there, but in vain." "Did he get frightened at the last moment?" I asked. "'No, he didn't. He started swimming. But of course he'd ruined his health by drink. The currents round the beacon were more than he could manage.' We didn't get the body for about three days." I didn't say anything for a moment or two. I was a little shocked. Then I asked Burton a question. "When you offered him the job, did you know that he'd be drowned?" He gave a little mild chuckle and he looked at me with those kind blue eyes of his. He rubbed his chin with his hand. "Well, I hadn't got a v

29, జులై 2025, మంగళవారం

Mr Ram.A.Dayinaboyina................

 

Mr Ram A Dayinaboyina (PhD).......................


 

read employee data and print it python program.................................

 A program to read employee data from the keyboard and print that data can be implemented in various programming languages. The following example demonstrates this using Python, a widely used and beginner-friendly language.

Python
def get_employee_data():    """
    Reads employee data from the keyboard and returns it as a dictionary.
    """    employee_data = {}    employee_data['id'] = input("Enter Employee ID: ")    employee_data['name'] = input("Enter Employee Name: ")    employee_data['designation'] = input("Enter Employee Designation: ")    employee_data['salary'] = input("Enter Employee Salary: ")    return employee_datadef print_employee_data(data):    """
    Prints the provided employee data.
    """    print("\n--- Employee Details ---")    print(f"ID: {data['id']}")    print(f"Name: {data['name']}")    print(f"Designation: {data['designation']}")    print(f"Salary: {data['salary']}")if __name__ == "__main__":    employee_info = get_employee_data()    print_employee_data(employee_info)
Explanation:
  • get_employee_data() function:
    • This function prompts the user to enter employee details (ID, Name, Designation, Salary) using the input() function.
    • The entered data is stored in a dictionary called employee_data, where keys represent the data fields (e.g., 'id', 'name') and values are the user's input.
    • The function returns this employee_data dictionary.
  • print_employee_data(data) function:
    • This function takes a dictionary data (expected to be the employee_data dictionary) as an argument.
    • It then prints each piece of employee information in a formatted manner using f-strings for clear output.
  • if __name__ == "__main__": block:
    • This block ensures that the code inside it only runs when the script is executed directly (not when imported as a module).
    • It calls get_employee_data() to collect the employee information.
    • Finally, it calls print_employee_data() to display the collected information.

28, జులై 2025, సోమవారం

Hikvision iVMS-4200 V3.6.0.6 - DOWNLOAD EU PORTAL

 To operate Hikvision CCTV on a laptop, you can use the iVMS-4200 client software or the Hik-Connect appAlternatively, you can access the cameras directly through a web browser by entering the camera's IP address. 

Using iVMS-4200:
  1. 1. Download and Install:
    Download the iVMS-4200 client software from the Hikvision website and install it on your laptop. 
  2. 2. Add Devices:
    Open the iVMS-4200 software and add your Hikvision devices (DVRs, NVRs, or cameras) by either entering their IP addresses or using the online device search feature if they are on the same network. 
  3. 3. Access Live View:
    Once the devices are added, you can access the live view by selecting the desired camera from the device list. 
  4. 4. Remote Playback:
    iVMS-4200 also allows you to view recorded footage remotely by selecting "Remote Playback" and choosing the start and end times. 
Using Hik-Connect:
  1. 1. Download and Install:
    Download the Hik-Connect app from the Hikvision website and install it on your laptop. 
  2. 2. Add Devices:
    If you have already added the devices to your Hik-Connect account on your phone, you can log in to the app on your laptop and your devices will be listed. 
  3. 3. Access Live View:
    Select the desired camera to view the live feed. 
  4. 4. Remote Playback:
    You can also access recorded footage through the app's remote playback feature. 
Using a Web Browser:
  1. Find the IP Address: Locate the IP address of your Hikvision device (DVR, NVR, or camera).
  2. Open a Web Browser: Open a web browser on your laptop and enter the device's IP address in the address bar.
  3. Login: Enter the username and password for your device to access the interface.
  4. Live View: The live view of your cameras will be displayed in the browser. 
Additional Tips:
  • Activation:
    If you are using a new Hikvision camera, you may need to activate it first using the SADP software or by accessing it through a web browser. 
  • Port Forwarding:
    If you want to access your Hikvision devices from outside your local network, you may need to configure port forwarding on your router. 
  • Sharing:
    Hik-Connect allows you to share your devices with other users by generating a QR code or sharing via username. 

18, జులై 2025, శుక్రవారం

is the parser that generates the parse tree for the given input string with the help of grammar productions by compressing the terminals. It starts from terminals and ends upon the start symbol. It uses the rightmost derivation in reverse order. Bottom-up parser is classified into two types: LR parser: This is a bottom-up parser that generates the parse tree for the given string by using unambiguous grammar. It follows the reverse of the rightmost derivation. LR parser is classified into four types: LR(0) SLR(1) LALR(1) CLR(1) Operator precedence parser

 

Mr.Dr.......................Hyderabad.............

 

Mr.Dr...............

 

Mr.Dr.....................

 

17, జులై 2025, గురువారం

ruby program structure............

 

Ruby programs are structured around classes, modules, and methods, organized within .rb files. Execution begins at the top of the file and proceeds sequentially, with the Ruby interpreter parsing and executing the code line by line. There's no designated "main" method; execution starts from the first line. 

Here's a more detailed breakdown:

1. Structure:

·         Source Code:

Ruby programs are written in plain text files with the .rb extension. 

·         Classes, Modules, and Methods:

The core building blocks of Ruby programs are classes, modules (for organization and namespacing), and methods (which encapsulate reusable blocks of code). 

·         File Structure:

While Ruby programs can be contained in single files, larger applications often utilize multiple files and load code from external libraries. 

·         Lexical Structure:

Ruby code is composed of tokens (keywords, identifiers, operators, etc.) that are grouped together to form expressions and statements. 

·         Abstract Syntax Tree (AST):

The Ruby interpreter parses the code into an Abstract Syntax Tree (AST), which is a hierarchical representation of the program's structure. 

2. Execution:

·         Sequential Execution:

Ruby programs are executed line by line, from top to bottom, unless control flow structures (like loops or conditional statements) alter the sequence. 

·         Interpreter:

The Ruby interpreter reads, parses, and executes the code within the .rb file. 

·         Tokenization and Parsing:

The interpreter first tokenizes the code (breaks it into meaningful units) and then parses it to create the AST. 

·         Virtual Machine Instructions:

The AST is then compiled into virtual machine instructions that the interpreter can execute. 

·         Runtime Environment:

During execution, the interpreter creates a runtime environment that includes memory allocation, variable storage, and other necessary resources. 

·         Output:

Programs produce output (text, numbers, data structures) based on the instructions and logic within the code. 

·         BEGIN and END blocks:

Ruby supports optional BEGIN and END blocks. BEGIN blocks are executed before any other code, and END blocks are executed after all other code, including the end of the file. 

·         Control Flow:

Ruby provides various control flow statements (like ifelseforwhile) to alter the default sequential execution order. 

3. Key Aspects:

·         Shebang:

Unix-like systems use the shebang (#!) on the first line of a Ruby script to specify the interpreter (e.g., #!/usr/bin/env ruby). 

·         End of File:

Execution typically stops when the end of the file is reached, or the __END__ token is encountered. 

·         End of Line:

Newlines (\n) or semicolons (;) typically mark the end of a statement. 

·         Continuation:

Lines can be continued onto the next line by ending them with an operator, an open parenthesis, a comma, or a backslash. 

·         No Main Method:

Unlike some languages, Ruby does not have a special main method from which execution begins.