Showing posts with label Modern Technology. Show all posts

How To Make A Media Player In C Language In Less Than 1000 Lines Using ffmpeg



Using the rich ffmpeg video library written in C, you can make simple media applications. Based on the updated version of ffplay (sample program coming with ffmpeg), today I’m sharing a way to code your own media player in less than 1000 lines.
If you’are having the knowledge of libraries used for creating video applications, ffmpeg would sound another familiar name to you. This amazing general purpose library performs complex video processing work like decoding, encoding, demuxing and muxing. Written in C, this library decodes most codecs.
If you want to get started with ffmpeg, there isn’t much information available online. In this article, I’ll be sharing the tutorial I found on dranger.com that borrows a C program written by Martin Böhme and uses it to develop a working video player.
To get the video and audio output of the media file, SDL has been used as it’s a good cross-platform media library used in many video games and media software. To compile the programs that’ll be taught in the tutorial, you need to download SDL development libraries on your system and install it.
With an idea queues, mutexes etc. in C and some multimedia basics, you are good to start with making your own media player.
While the program doesn’t make a player to fulfill all your media playback needs, it should be seen as a way to learn more and discover the opportunities to make improvements in the program.
Click here to get started with the tutorial. On each page, there’s a C file that you can download, compile, and follow along.
For more Visit Us: amadahmad.blogspot.com

Network Topology




Network topology is defined by two types — physical topology and the logical topology. While physical topology talks more about the geometry and physical placement of the devices on the same hand, logical topology is more about the way data communication or signalling happens among the devices.

What is Network Topology?

Network topology is the arrangement of the different networking elements like network links, computers, switches, nodes, Wi-Fi access points, laptops and other network devices in a computer network.
There are two types of Network Topologies:
  • Physical Network topology and,
  • Logical Network topology

What is a Physical topology?

A Physical topology defines how all the network devices are connected physically in a computer network. It mostly defines the physical connections among the devices.

What is a Logical topology?

A logical topology defines the logical connectivity of network devices on a computer network. So, it might happen that the devices connected in one type of physical topology might have different underlying logical topology.
If we elaborate more on the physical topology, it is essentially the placement of the various network components in a computer like the placement of the devices, the connection among the devices, installation of the cables etc. On the other hand, logical connection defines how data flows among the devices.
For example, let say there are five devices (A, B, C, D and E) that are connected in a row. This configuration of network devices might look more like a Bus topology. But let’s say device A can directly transmit the data to the device E. That means it looks more like a Circle which a Ring topology logically but a bus topology physically.
We will talk about different kinds of topologies — physical and logical — one by one in the next article. If you want articles on some particular topic, feel free to ask us in comments below.
For more Visit Us: amadahmad.blogspot.com

Brain – The New AI-powered Search Engine That Wants To Replace Google



Brain is the new product from Jerry Yue which is based on an advanced algorithm. Brain will work as a personal virtual assistant for each user by having users input not just a profile of who they are, but what they do and what they want to do in the future.
Jerry Yue who became famous for his last startup, the Chinese food delivery service Benlai.com, is on the way to launch Brain LLC in the US with the help of his young team of engineers from China’s top engineering school in Beijing.

Also Read: What Code Should You Learn In 2016
The engineers at Brain LLC claim that they have developed an advanced algorithm based on artificial intelligence that serves up the most contextually relevant information to a user without the need to go through the search results. One step further, Brain’s Advanced algorithm is already answering questions on Quora with an incredible degree of accuracy.
But, according to Jerry Yue, this is just the beginning. Ultimately, Yue wants his advanced algorithm to serve as a compliment to a users’ own brain.
“At a high level… if Google is a search engine this is an ambition engine,”
— Yue tells.
In the upcoming days, Yue wants ‘Brain’ to be the personal virtual assistant for each user by having users input not just a profile of who they are, but what they do and what they want to do in the future. Based on the user profile, Brain will create a set of data sets and it will combine its data set with a social platform to connect users who share similar interests.
While Yue was building Benlai.com, he spent his spare time tinkering with robotics and programming.
“I’ve been working on this algorithm for more than four years,”
— said Yue.
He has already raised nearly $1.5 million funds from an influential Chinese investor.

Do You Know HTML And CSS? Prove Your Skills By Playing Super Markup World In Your Browser



There’s a new game online that you can play in your browser and dust off your HTML and CSS skills. Play Super Markup World now and use HTML commands to save your friend.
Do you know basic HTML? Is Super Mario Bros one of your favorite games? Assuming that you’ve answered these questions in positive, I’ll tell you about Super Markup World.
This game demands the knowledge of HTML and CSS to move ahead. Unlike Mario games, you don’t get to jump here and there or save the princess. Instead, you need to solve a series of HTML puzzles in the command window to save your friend Pixella.
The game doesn’t feature a solid storyline or thrill of famous games, but it allows you to use coding to extend your platform or create new ones to reach the other side.
The description of the game reads:
Pixel and Pixella live in the Super Markup World which was created by the great architect Markup Polo. On a beautiful sunny day when Pixel and Pixella visited the mountainous region of Divland the evil architect Badacss has collapsed all the mountains! Pixella somehow evaded the disaster using a hyperlink tag. But now Pixel and Pixella are separated! It is up to you, Pixel, to find Pixella and destroy badacss.
If you know some CSS, you can use some clever tricks (find them here) and scripts to make your game easier. Note that at the moment this game is only designed for Chrome and performance in other browsers is terrible.
Give Super Markup World a try and test your HTML and CSS skills. Feel free to share your experience in the comments below.

What Code Should You Learn in 2016?



Why you should learn to code?

Apple Founder Steve Jobs once said in an interview: “I think everybody in this country should learn how to program a computer because it teaches you how to think.”
With the changing environment around us and the inclusion of computers in our personal space, technology and computers are now an integral part of our lives. Learning how to code shouldn’t be looked upon as applied sciences and math because it shows us a path to solve life problems and process our thoughts.

Also Read: 5 Reasons Why You Should Learn To Code
This isn’t just a career making skill, but it’s also an in-demand job skill. If you are proficient in your field and having technical knowledge of your subject, learning how to code can empower you to become different and get more attention.
Learning code is now easier than ever. There are so many free and open platforms waiting for you to come and join them. Considering the fact that the average salary of a computer programmer touched an all-time high of $100,000 last year, learning and mastering a language isn’t a bad idea at all.

What Code Should You Learn?

Today I am sharing an enriching infographics by WhoIs Hosting. This telling you about the multiple choices you face as a beginner. Take a look:
learn to code
          Visit for more :http://amadahmad.blogspot.com

How To Set Up A VPN In Windows 10: The Ultimate Guide

How to set up a VPN in Windows 10? — This question is often asked by many Windows 10 users. This is so because Windows 10 has different network settings user interface than its previous Windows versions. Apart from that, to set up a VPN in Windows 10 takes different procedural steps. So, follow our guide to know how to set up a VPN connection in Windows 10.
Avirtual private network (VPN) is a set up to access different public networks across different countries. A VPN extends a private network across a public network, such as the Internet. If you are interested in knowing more about VPN and its working, head over to our in-depth article onWhat is VPN? And How it works?
Here are steps on to set up a VPN in Windows 10:

How to set up a VPN in Windows 10:

Before following this procedure, you need to log in to your Windows 10 with administrative privileges and then follow the below steps
  • Open Settings of your Windows 10 computer to get started with setting up a VPN in Windows 10.
  • Click on “Network and Internet” icon and open the relevant settings.
  • On the left panel, click on VPN and VPN setup window will open.
  • Click on “Add a VPN connection” and a new window will open up to set up the VPN in Windows 10.
  • Fill up the following details under “Add a VPN connection” Window
    • Select Windows (built-in) under VPN provider
    • Give a connection name as per your choice
    • Enter server name or Address
    • Under the VPN type, select “Point to Point Tunneling Protocol (PPTP)”
    • Under the “Type of sign-in info”, select one of the options of your choice
    • Enter Username and password, if necessary
    • Check “Remember my sign-in info” at the bottom to avoid logging in again and again in future
    • Finally, save
  • Now you will see, the new added VPN connection under the VPN Windows
  • Click on that newly added VPN connection and click on “Connect” and that will connect you to your server
  • If you want to re-edit the information of your newly added VPN, click onAdvanced options just beside “Connect”
Advanced options will show you connection properties of the newly added VPN. Click on Edit to re-edit the VPN information.
          Visit for more :http://amadahmad.blogspot.com

Top 5 Billionaires In The Technology World

It’s time to meet the top five billionaires in the technology world. They are the people who have superpowers to change the world and make it more simple and connected. Their contribution to the human society is priceless.
Let’s take a look at the top five names from the Forbes’ list of the rich people in tech. These billionaires have changed the way how we commute, socialize , shop, and entertain ourselves. Apart from changing the face of the technology world, they have invested their sincere efforts and hard-earned money for the betterment and upliftment of those who are unable to fulfil their daily needs.

Bill Gates:


Wealth: $79.6 billion
Nationality: American
Known For: Microsoft, Bill and Melinda Gates Foundation
Born on October 28, 1955, the multi-billionaire retained the crown of the wealthiest person for 16 times in the Forbes list. It is hard to guess, for a man with so delicate appearance, designed his school seating arrangement systemin such a way that it allowed him to sit next to female students. His family encouraged him to get familiar with coding at an early age and emphasized on competition, there was a reward for each success, no matter how small and a penalty for every failure.
At Lakeside School, he wrote his first code that was a Tic-Tac-Toe using BASIC programming language on a GE computer. He met Paul Allen in 1968, who partnered him in his coding activities and the duo finally created Microsoft in Gates’ garage in 1975. His biggest rival was Steve Jobs, who co-founded Apple in 1977. Two were high achievers, college dropouts, and created billion-dollar companies. Though they were just opposite of each other but they had an indefinable relationship. Gates got emotional when he was asked about Jobs after his death.
He and I, in a sense, grew up together. We were within a year of the same age, and we were kind of naively optimistic and built big companies. And every fantasy we had about creating products and learning new things — we achieved all of it. And most of it as rivals. But we always retained a certain respect and communication, including even when he was sick.
— Gates said in an interview. Most of you might not know, Bill Gates wrote a letter to Steve Jobs when he was in his last days. Steve didn’t read that letter, maybe he already knew what Bill wanted to convey in that piece of paper.
In early Microsoft days, Gates used to remember employees’ licence plates so that he could keep an eye on their attendance. He left his CEO position in the year 2000 and served as the chairman of Microsoft until 2014 when he finally restructured his priority list and became more involved as Co-Chair at Bill and Melinda Gates Foundation to pursue his hobby as a philanthropist. The foundation works for the upliftment of people in poor and underdeveloped countries and provides financial aid to fight dangerous diseases.
Apart from the technology world, he has been a much talked about name on other platforms. He bagged a position in the list of “50 Most Eligible Bachelors” in 1985. He married Melinda French on January 1, 1994, has three kinds Jenifer, Phoebe, and Rory and lives with his family in the 66,000 sq. ft. home known as The Gates’ Mansion.

Larry Ellison:

Wealth: $50 billion
Nationality: American
Known For: Oracle
Born in New York City, he was an adopted child to a Jewish family and we can find him as one of the names in the list of dropout billionaires. Initially, Ellison worked for Ampex Corporation where he was assigned the task to design a database for CIA. In 1977, he started his own company called Software Development Laboratories with two partners and an initial investment of $2000. The company was later renamed to Oracle Systems Corporation after its famous database product Oracle.
Ellison is a licenced pilot and to satisfy his flying passion, he has shelled out some serious amount of cash. His aircraft collection also includes two military jets, SIAI-Marchetti S.211 and MIG-29. The military jet pilot is also a tennis fan and to content his tennis fever, he has bought the ownership of the Indian Wells Tennis Garden and the Indian Wells Masters tournament.
The ex-CEO of Oracle now serves as the Executive Chairman and CTO at an annual $1 paycheck. He has criticized a list of technology executives for violating Oracle’s patent rights. In an interview with Charlie Rose on CBS This Morning, he accused Google and specifically Larry Page, ‘of being evil’. Oracle sued Google for using their patented Java language – which they inherited as a part of Sun Microsystems acquisition – for the development of their Android OS. “I think what they did was absolutely evil which is completely different. And I know their slogan is “Don’t be evil” but, this time, they slipped out.” – He replied when asked about Page. This long gone fight was in the news last month, when Google went to seek court’s permission to press sanctions against an Oracle Lawyer.
Apart from these technology-centric legal battles, Ellison has also filed an off-track lawsuit. Once he filed a case against his neighbours because their acacia and three redwood trees were blocking his view. He actually hired a “tree lawyer” for that purpose.

Jeff Bezos:

Wealth: $47.8 billion
Nationality: American
Known For: Amazon
The technology entrepreneur Jeff Bezos – who wants to send Donald Trump into space – was one of the first investors to the search giant Google, who paid an amount of $250,000. He spent his childhood summer vacations at the ranch where his grandfather lived after taking premature retirement as a regional director of U. S. Atomic Energy Commission. He developed a technical interest at an early age and that reflected through his academic performance. Bezos attained the Bachelor of Science degree in Computer Science and Electrical Engineering from Princeton University.
In 1994, he quit his job and founded a book selling website Amazon, which is now the largest e-commerce company in the world. Back then, the Quill Corp. v. North Dakota US Supreme Court Ruling was announced, that a business must have a physical presence in a state for that state to require it to collect sales taxes. This triggered the idea in Jeff’s mind for which he prepared the business plan while driving from New York to Seattle after kicking his high salary job. It was until the year 2012, Amazon took the advantage of the ruling to edge over its competitors in the retail sector.
Bezos also founded a human spaceflight company Blue Origin which was for the purpose of enabling private human access to space. When he was 18, he wanted to make space hotels, amusement parks and colonies for around 2 to 3 million people who will be in the orbit. His shopping bag also has The Washington Post which he bought in 2013 after paying a cash amount of $250 million.

Mark Zuckerberg:

Wealth: $41.2 billion
Nationality: American
Known For: Facebook
The billionaire Facebook boss whose first business card titled “I’m CEO, bitch”, is also a college dropout and works for an annual paycheck of $1. He started Facebook in his Harvard dorm with his fellow roommates. Initially, the website was confined to the Harvard campus but it was later expanded to nearby colleges and got worldwide recognition in the following years replacing Google’s Orkut from the throne. Even Zuckerberg wouldn’t have thought, his work would go this far.
Zuckerberg has a multilingual proficiency with command over Latin, Hebrew, French, ancient Greek, and most recently Chinese. He was a science geek in his childhood and won several prizes during his school years.
Zuckerberg’s Facebook journey was portrayed in the movie The Social Network released in 2010 – “I just wished that nobody made a movie of me while I was still alive” – Zuckerberg said.
In August 2013, Zuckerberg announced the internet.org initiative which was for the purpose of providing free basic internet services to the technology deprived population of countries like India. However, his initiative – which provided its services through an app called Free Basics – was much criticized for being a challenge to the open internet (net neutrality), as it featured only selected services, though, they were free. Recently, Facebook’s Free Basics app has been banned in India.
Apart from being considered as a Good Guy who wants to connect the world, Zuckerberg has fought legal battles against his Harvard seniors, who claimed that he made them believe he was working for their HarvardConnection.comproject but he used their resources to create Facebook. The lawsuit finally got settled for a $20 million cash payment and 1.2 million common shares transfer.
As a philanthropist, Zuckerberg has supported The Giving Pledge initiative in which he has committed to donate 50% of his wealth to charity over the course of time. Zuckerberg married to Priscilla Chan in 2012, and the couple started the Chan-Zuckerberg initiative. In an open letter to their newborn daughter Max, they announced that they would be transferring 99% (valued at 45 billion at the time of announcement) of their Facebook shares to the Chan-Zuckerberg initiative.

Larry Page:

Worth: $33.4 billion
Nationality: American
Known For: Google, Alphabet
Page was a Ph.D. student (dropped out later on) at Stanford, where he met Sergey Brin who was assigned the task to take new students on a campus tour. The two had argumental clashes all along the tour but they became friends over the time, finally moving ahead to create Google. Well, the two of them still have opinion differences, but they consider it as a positive point and helpful for their growth. That’s quite obvious, even the two sides of a coin aren’t the same but they do contribute to the value of the coin.
His love for technology was visible from his childhood, in fact, he was the first kid in his elementary school to submit a word-processed assignment. Both his mother and father were computer science faculties at the University of Michigan and his home was filled with lots of gadgets and science magazines.
He graduated from the University of Michigan where he used Lego Bricks to make an inkjet printer. The 42-year-old internet entrepreneur currently works as the CEO of the newly incorporated Alphabet which is the parent company to Google and another big projects that were earlier a part of Google. He is a business opportunist, it was at the time when Google was busy coding the payment system for its advertisement service and Larry came to know that users in Uzbekistan were unable to make payments by credit card, as it was not accepted in the country. So, he decided to take goats as a form of payment.
In his initial days at Google, Page was harsh, who often hurt people with his arguments. When he was appointed as the CEO for the second time, he declared a “zero tolerance for fighting” policy as he realised a harmonious environment was a must for the betterment of the company and the employees. He has a rare medical problem known as Hashimoto’s Thyroiditis. In 2013, he announced that his right vocal cord is paralysed and his left vocal cord got paralysed in 1999. This problem ultimately stopped him from attending Google annual meetings.
Page is the owner of a $45 million super luxurious yacht which he bought in 2011. He also bought the properties next to his house in Palo Alto and deconstructed them make a new 6000-sq ft. Ecohouse which has a very low carbon footprint.

Pakistani scientist develops device to diagnose cancer rapidly

PHOTO: University of Texas at Arlington

Pakistani electrical engineer at the University of Texas at Arlington has developed a new cancer cell detection method that will be able to  improve early diagnosis of cancer.
Samir Iqbal, an associate professor in the Electrical Engineering Department, detailed his team’s results in a recent Nature’s Scientific Reports paper called “Effects of Nanotexture on Electrical Profiling of Single Tumor Cell and Detection of Cancer from Blood in Microfluidic Channels.”
The tool works by tracking cellular behavior in real time using nanotextured walls that mimic layers of body tissue.
Iqbal has worked on the project with Young-tae Kim, a UTA associate professor in the Bioengineering Department;  Muhymin Islam,  a STEM doctoral candidate; and engineering students Mohammad Motasim Bellah, Adeel Sajid and Mohammad Raziul Hasan.
Iqbal said his team observed the many layers of tissue in the human body and decided to develop something that would mimic that layering.
“The answer was in creating a nanotextured wall that fools blood samples into thinking its actual tissue,” Iqbal said. “We used inherent properties of the cell walls to create a diagnostic tool. The cancer cells behave differently as they come into contact with the nanotextured walls. They dance,” he added.
Identifying those “dancing cells” will help doctors pinpoint cancer cells and start treatment earlier than allowed with current technology.
“Discovering the cancer earlier, before it metastasizes, is essential to surviving cancer,” Iqbal said. “Our device has the potential to do that.”
The published results stem from a 2014 $480,000 National Science Foundation funding that sponsored the design and creation of the device. Iqbal has received nearly $1.4 million in grants since his arrival at UTA in 2007.
Those grants included an NSF CAREER grant to create a nanoelectronic microfluidic biochip to detect biomarkers. He also directs the UTA Nano-Bio Lab and is an affiliated faculty for the UTA Bioengineering Department.
Iqbal also is an adjunct professor in the Department of Urology at UT Southwestern Medical Center. In addition to his numerous research accolades, Iqbal is a senior member of IEEE-USA, a member of Biomedical Engineering Society, American Physical Society, American Society of Mechanical Engineers and Biophysical Society.
In 2013, Tau Beta Pi inducted him as an Eminent Engineer. Khosrow Behbehani, dean of the UTA College of Engineering, said Iqbal’s research is groundbreaking. “Dr. Iqbal and his colleagues are bringing engineering innovation to meet the challenge of early cancer detection,” Behbehani said.
“The research aligns with UTA’s Strategic Plan, particularly the focus on Health and the Human Condition. Dr. Iqbal’s device could greatly improve cancer survival rates, which is good news for humanity. There are very few people around the world whose lives have not been touched by this dreadful disease.”
Iqbal did his bachelors from NED University of Engineering and Technology in Karachi in 1996 after which he did his PhD from Purdue University in Indiana.