Posts

Showing posts from May, 2018

Java Database Connection by- Suvin Nimnaka

Image
Many people still wander off internet finding a correct way to initiate MySQL Connection in their Java project. As a beginner I myself used to go through Internet hours and hours looking for a working method. So here's what I found and so far its been working without a problem. If there's issues feel free to comment below. I'm gonna use Wamp server and NetBeans for this project.   Creating Database Before you start, open wamp server and initiate localhost. After that type  "localhost/phpmyadmin"  in your web browser's address bar and  it will open phpmyadmin homepage. We are going to use root login for this. As you already know the username is  root  and the there's no password needed for root user by default. And press  Go  button. This will open databases page. Okay now you have to make a database and a table inside the database to connect with Java class. For this click on  SQL  tab on  Databases  page and you will see a terminal for SQL

What will happen when our sun dies?

Image
What will happen when our sun dies? What does death mean, for the sun? It means our sun will run out of fuel in its interior. It’ll cease the internal  thermonuclear reactions  that enable stars to shine. It’ll swell into a  red giant , whose outer layers will engulf Mercury and Venus and likely reach the Earth. Life on Earth will end. If the sun were more massive – estimates vary, but at least several times more massive – it would explode as a supernova. So … no supernova. But what? What happens next? An international team of astronomers recently used a new stellar data-model that predicts the life cycle of stars to answer this question. Their research  is published in the  peer-reviewed  journal  Nature Astronomy . It suggests that the sun is almost exactly the lowest mass star that – at the end of its life – produces a visible, though faint,  planetary nebula . Artist’s concept of our sun as a red giant. Image via  Chandra X-ray Observatory . The name  planetary nebu

Protein Channels

Image
Protein Channels The body is always busy making and moving things around. It needs to be sure that the right items are moved from place to place. It also has to be sure that cells allow only the right materials and amounts to enter and exit cells. A lot of this is the work of channel proteins. Channeling your inner biology There are many different types of channel proteins in your body, and each one will only let specific types of molecules pass through. Just like a house with three doors that go to the back yard- one for your cat, a bigger doggie door for your St. Bernard, and a regular door for people. The dog door is too heavy for the cat to move. The cat flap is too small for people or the dog. The big door needs thumbs to turn the doorknob. Each door works for only the animal that is supposed to be using it. Like the special protein channels in cells, each door in this illustration works for only the animal that is supposed to be using it. The dog door is to heavy for th

What are Proteins? What are it's kinds?

Image
Legos are a familiar building block that have been used to create an almost unlimited number of shapes. What are Proteins? If you have ever had to get inside a locked car or home you know that shape matters. If you don’t have the right key, you cannot open the door. The shape of the key is important. When you are building with Legos, you have to use the right shape bricks in the right combination to create your totally sweet fort, space shuttle, T-Rex, or whatever else you can imagine building. The shapes and combinations of the parts make up the final shape of the whole, completed project. Shape matters In living things, shapes also matter. There are lots of different molecules in your body with different jobs to do. Some of them hold your body up and give it structure like Lego bricks. Some of them carry important things from place to place in your body. They are kind of like the post office, except really fast and really small. Some of them act like little machines th