Friday, June 19, 2015

Network Topology

Technology: Networking: Topology

What are the basic type of networking topologies? P2P, Bus, Ring, Star are the basic ones, but there are also mesh and tree topologies.

  • P2P is peer-to-peer networking where all nodes are both clients and servers.
  • Bus networking uses a LAN cable called a bus where all nodes are connected to.
  • Ring networking forms a LAN to connect each node to 2 other nodes to form a closed ring.
  • Star networking forms a LAN where all nodes are directly connected to a central computer.

By the way, Topology is also a subject in Mathematics that is not based on Euclidean Geometry. I almost took Topology as an upperclass course in CSULA, but I took Numerical Analysis instead.

Reference:
http://www.embedded.com/print/4237900

Computer Programs & F=ma

COMPUTER PROGRAMMING & PHYSICS F = MA

Programming: Elements: Variables, Control Structures, Functions

What are the basic elements of all programming languages? I would say the variables, control structures, and functions. I based this on OS software programming, not application software programming. Variables allow a program to store their values in a single address. Control structures allow a program to change the program flow. And functions allow a program to perform an action. Functions are optimized when using OOP language, but not when using a strictly procedural language like the earlier versions of COBOL and FORTRAN.

What is the most important programming element ever invented? At first glance, I inclined toward variables. However, one can always write a program without using variables, like they've done in the 1940's. Control structures are too elementary a concept. So, I would say the most important programming element ever invented is the function. Back in the 1940's, computers were made to simulate a function. For example, the U.S. Army needed to build a computer to calculate the best angle of fire to blast their targets (the Germans and the Japanese in WW II) to smithereens.

Happy programming!

John Sindayen

Science: Physics: F = ma

What is F = ma? Newton's second law of motion states F = ma, where F is the minimum Force necessary to move an object, m is the mass of the object, and a is the minimum acceleration necessary to move the object.

How do you explain F = ma? Take for example a car with the engine off needs to be towed using a chain by a car with the engine on. The amount of Force necessary for the car that is running to budge the car that is not running is equal to the mass of the car that is not running times the acceleration of the car that is running. Of course, there is also friction to consider, but not as much since both cars have 4 wheels each.

Vroom! Vroom! Vroooooom!

John Sindayen

Thursday, June 18, 2015

Cartesian Plane & Excel 2013

ALGEBRA CARTESIAN PLANE & EXCEL 2013

Mathematics: Algebra: Cartesian Plane

What is the Cartesian Plane? It is also called Cartesian Graph and Cartesian Coordinate System. It was invented by Rene Descartes, a Frenchman who sometimes think things through while lying in his bed. The Cartesian plane is just that, a plane, or a graph, or a system, of representing a point, line, or shape, using its coordinates, the numbers in the X-Axis and Y-Axis, the horizontal axis and vertical axis, respectively, that crosses the origin with the coordinates of (0, 0).

How does a Cartesian Plane look like? It has 4 quadrants starting from Quadrant I, where both axes are positive, then turning counterclockwise for the other quadrants.

                 |
  Quadrant II    |     Quadrant I
                 |
                 |
                 |
                 |
-------------------------------------
                 |
                 |
                 |
  Quadrant III   |     Quadrant IV
                 |
                 |

Who uses Cartesian plane? Cartesian plane is used everywhere. A plane uses Cartesian plane in its instrument panels. It is also used in an Excel spreadsheet, though the X and Y axes have been moved in the same place that Java graphics also placed them.

Look up in the sky! It's a bird! It's a Cartesian plane!

John Sindayen

Office: Excel 2013: Excel Screen

What is Excel? Microsoft Excel is a spreadsheet application where you can do accounting, graphing, or draw things. The vertical axis of Excel goes from coordinate 0 to coordinate 1048576 and the horizontal axis goes from coordinate A to coordinate XFD.

What is the most important part of Excel? The cells are the most important part of Excel. It's where you put all your data and your formulas. You don't need to use any of the ribbon icons if you know how to type your formulas.

Excel in math!

John Sindayen

Monday, June 15, 2015

O Captain! & Edith Wharton

ART POETRY & LIFE QUOTATION

Art: Poetry: O Captain! My Captain!

A long time ago, my high school teacher told everyone in class that each pupil will memorize a poem and recite it in front of everybody. So I looked over our book and chose "O Captain! My Captain" because there was only a few lines to memorize and it sounded easy to memorize.

So come the day of my turn to recite my poem, I stood in front of my all boys' class and recited:

Oh Captain, My Captain!

Oh Captain, my Captain, our fearful trip is done.

That is all I remembered of that poem now, though back in those days, I remembered it completely and recited it dramatically. However, I did not know that Walt Whitman wrote it in response to Abraham Lincoln's death.

With applause,

John Sindayen

Life: Quotation: Edith Wharton

"There are two ways of spreading light: to be the candle or the mirror that reflects it." -- Edith Wharton.

To interpret a quotation, you must interpret it as an analogy. In this case, "spreading light" is about spreading knowledge or spreading wisdom or spreading facts. Knowledge, wisdom, and facts can be spread through books. websites, or other forms. But many of today's knowledge, wisdom, and facts are only reflections from other sources.

To be a candle means you have to be the source of the knowledge. For example, Albert Einstein was the candle of "e = mc^2" and other scientific knowledge. It is hard to be a candle, one can only try. Not many are born to be a candle. But many are born to be a mirror.

Mirror, mirror on the wall ...

John Sindayen

Friday, June 12, 2015

Astronomy ET & Windows 7 Networking

SCIENCE ASTRONOMY & TECHNOLOGY WINDOWS 7

Science: Astronomy: Is there life in other planets?

Is there life in other planets? Probably so. Is there life in other planets in the life form of human? Probably, but less likely.

Are there humans in other planets? That would be unlikely unless some humans have left this planet Earth and are living somewhere else, or there is a planet that is not Earth that has evolved similar to Earth and eventually have produced humans.

When would it be possible for earthly humans to travel to other planets? Earthly unmanned spacecrafts have already gone as far as out in the boondocks outside our solar system. But as for an earthly spacecraft with a person in it, we could send the first man or woman to land in Mars by the year 2050 if the United States would give an all-out effort in the endeavor, just like Kennedy did in trying to land on the moon first before the former country called the U.S.S.R.

Why would humans want to go to other planets? If these humans were Americans, they would probably want to go there thinking "maybe we can help people in other planets", idealistically speaking. After all, that's why Americans started the Peace Corps and decided to fight the Germans in World War II.

The truth is out there!

John Sindayen

References:
http://blogs.voanews.com/science-world/2011/12/09/human-like-life-could-exist-on-newly-discovered-planet/
https://en.wikipedia.org/wiki/List_of_Solar_System_probes
http://earthguide.ucsd.edu/virtualmuseum/litu/01_1.shtml
http://www.space.com/17688-voyager-1.html

Technology: Windows 7: Networking Models

What type of networking models does Windows 7 used? Domain, Workgroup, and Homegroup. A Windows 7 computer can either be in a domain or in a workgroup. If it is in a workgroup, it can also be part of a homegroup. In any case, a Windows 7 computer can access a domain, a workgroup, or a homegroup, but it cannot connect a domain with a workgroup.

Happy networking!

John Sindayen

Thursday, June 11, 2015

JavaFX Programming

Programming: Java: How To Write A JavaFX Program

To write a JavaFX program, you need to have Java 8. If you are only using Java 7, you need to install the JavaFX API also to develop and run JavaFX programs.

All software development follow the same cycle: analyze the problem, formulate a plan, code the plan, test the code, and maintain the code.

Since a JavaFX application is a GUI program, you need to plan how the interface will look. The following interfaces were from a program I developed in my CIT 230 Advanced Java college class.

Upon execution of the application, a user guide appears, then the primary interface. It is a simple scheduler that allows user to enter the time and appointment detail inside a weekday column.

An error message window will appear if the user does not follow the formatting guide for time input or made a duplicate day and time appointment.


JavaFX is the new incarnation of Java GUI programming. So it is important for Java programmers to learn JavaFX programming.

Welcome to JavaFX!

John Sindayen

Monday, June 8, 2015

Roman Numerals & Word 2013

Mathematics Roman Numerals & Office Word 2013

Mathematics: Arithmetic: Roman Numerals

What are Roman numerals? I, II, III, IV, V are Roman numerals. They are the numbering system used in the ancient Roman Empire before the Western civilization learned the Arabic numbers 1, 2, 3, 4, 5. The Romans were not much into mathematics, so they did not have a number 0 and cannot count more than 3,000.

How do you write Roman numerals? First rule of all, the Romans used letters to write their numbers. They are the letter I, V, X, L, C, and M. And second rule of all, the same letter can only occur 3x in a row, therefore, they put a lesser numeral before a greater numeral to mean that the two should be subtracted instead of added.

What are all the Roman numerals? The Roman numerals are the following, with their equivalent Arabic numbers. Other numbers were omitted and left as an exercise for you to apply the second rule.

Arabic Number = Roman Number
1 = I
2 = II
3 = III
4 = IV (following the second rule)
5 = V
6 = VI
7 = VII
8 = VIII
9 = IX (following the second rule)
10 = X
40 = XL (following the second rule)
49 = XLIX (following the second rule twice)
50 = L
100 = C
500 = D
999 = IM (following the second rule) (where Instant Message came from ;))
1000 = M
3000 = MMM

Why should you learn the Roman numbering system? So you can find out what year a movie or television show was actually made, or what the Superbowl number is, and your elementary school teacher was hoping you'd remember them.

V, IV, III, II, I, Blast Off!

John Sindayen

Office: Microsoft Word 2013: How to Create a Numbered List

What is a numbered list?  A Numbered List is any list of line by line items. It uses a numbering system beside the item. You can use Roman Numerals, Arabic Numbers, or the Alphabet. Here's an example of a numbered list.

List of Animals with 3 Letters
I. ANT
II. BAT
III. CAT
IV. DOG
V. EEL
VI. FOX

How do you create a numbered list in Microsoft Word 2013? Follow these steps:
1. Click the Home tab.
2. In the Paragraph grouping, hover on the Numbering icon (the graphics with rows of 1 2 3).
3. Either click on the icon if you want to use regular numbers for your list or click on the downward arrow to select numbers, Roman numerals, letters, or a customized font numbering system.
Happy Numbering!

John Sindayen

Friday, June 5, 2015

Vitamins Energize

Life: Health: Energize Yourself With Vitamins

What are the most important vitamins to take?

  • Vitamin A or beta-carotene is good for the eyes.
  • Vitamin B is good for getting energetic in your life.
  • Vitamin C is good for not getting sick of cold or flu.
  • Vitamin D is good for not getting lethargic, or technically, muscle weakness.

What are the common sources for these vitamins?  You can get A from carrots, B from a vitamin mineral tablet, C from orange juice or vitamin mineral tablet, and D from sunlight.

Are there adverse affects from taking too much vitamins? Yes. Usually, if you take a vitamin mineral tablet, the recommended daily dosage are already there. Your daily intake of food should take care of your energy-calorie needs. If you are taking vitamin mineral tablet, you don't have to take one every day. Every other day should be fine, otherwise, consult your doctor.

Just like Captain Kirk said in Star Trek,

Energize!

John Sindayen



Monday, June 1, 2015

Tom Sawyer By Mark Twain

Welcome to All Straight A website! This page will write about Art, Life, Mathematics, Office, Programming, Science, and Technology, in that sequential order, once a week.

Art: Literature: The Adventures of Tom Sawyer

Literature is one of the most lasting impression of a man in this world. And Homer is considered to be the oldest writer in the world, literarily. But if you'd rather read a more contemporary adventure story, Mark Twain's "The Adventures of Tom Sawyer" would fit the bill. If you'd rather see it on the screen, you're in luck! They made a film version of it, twice!

In the first paragraph of the Preface of Mark Twain's book, "The Adventures of Tom Sawyer", he wrote: "MOST of the adventures recorded in this book really occurred; one or two were experiences of my own, the rest those of boys who were schoolmates of mine."

And in the last paragraph he wrote: "Although my book is intended mainly for the entertainment of boys and girls, I hope it will not be shunned by men and women on that account, for part of my plan has been to try to pleasantly remind adults of what they once were themselves, and of how they felt and thought and talked, and what queer enterprises they sometimes engaged in."

So, whether you're still young at heart or truly young, I recommend your reading or watching it to remind yourself of those freer times when you were just a young boy.

Happy reminiscing!

John Sindayen