Wednesday 25 June 2014

Ethernet Switch


1) Switches are the next evolution of bridges and the operation they perform is still considered bridging. In very basic terms a switch is a high port-count bridge that is able to make decisions on a port-by-port basis.

2) A switch maintains a MAC table and only forwards frames to the appropriate port based on the destination MAC.

3) If the switch has not yet learned the destination MAC it will flood the frame. (I've read some data that says it'll use arp to know the MAC.)

Q: How to collect the MAC Table?
A: Each end-point is labeled with a MAC address starting with AF:AF:AF:AF:AF.  The ‘dynamic learning’ is done be recording the source MAC address of incoming frames.  While the destination MAC address had not yet been learned, the switch would be forced to flood the frame to all ports except the one it received.


Ref.:
http://en.wikipedia.org/wiki/Network_switch
http://www.definethecloud.net/data-center-101-local-area-network-switching/

Bridge



1) A bridge is a device that connects two or more local area networks, or two or more segments of the same network.

2) The original bridges were typically 2 or more ports (low port counts) and could separate MAC addresses using the table for those ports.

3) In the OSI model bridging acts in the first two layers, below the network layer.


Q: How to make a bridge table?
A:



Ref.:
http://en.wikipedia.org/wiki/Bridging_(networking)
http://www.definethecloud.net/data-center-101-local-area-network-switching/
http://technet.microsoft.com/en-us/library/cc700841.aspx

Tuesday 24 June 2014

Hub




1) It has multiple input/output (I/O) ports, in which a signal introduced at the input of any port appears at the output of every port except the original incoming.

2) A hub works at the physical layer (layer 1) of the OSI model

3) There's 2 kinds of hub, Passive & Active (which needs adapter & it'll repeat the signals)


Ref.:
http://en.wikipedia.org/wiki/Ethernet_hub
http://www.definethecloud.net/data-center-101-local-area-network-switching/

Internetworking


Device
PHY
Data Link
Network
Others

Repeater

Same

Same

Same

Same

Hub

Same

Same

Same

Same

Bridge

Same/!Same

Same/!Same

Same

Same

L2 Switch

Same/!Same

Same

Same

Same

Router

Same/!Same

Same/!Same

Same

Same

L3 Switch

Same/!Same

Same/!Same

Same

Same

Gateway

Same/!Same

Same/!Same

Same/!Same

Same/!Same

OSI Model
Data unitLayerFunction
Host
layers
Data7. ApplicationNetwork process to application
6. PresentationData representation, encryption and decryption, convert machine dependent data to machine independent data
5. SessionInterhost communication, managing sessions between applications
Segments4. TransportReliable delivery of packets between points on a network.
Media
layers
Packet/
Datagram
3. NetworkAddressing, routing and (not necessarily reliable) delivery of datagrams between points on a network.
Bit/Frame2. Data linkA reliable direct point-to-point data connection.
Bit1. PhysicalA (not necessarily reliable) direct point-to-point data connection.


Ref.:
http://www.cs.nthu.edu.tw/~nfhuang/chap14.htm
http://en.wikipedia.org/wiki/OSI_model

Monday 23 June 2014

[Motion Sensor] Google Gesture



How touching!
It gets in a different level from Kinect, Leap or Ring.
With the same purpose of self-driving car, considering for minority.

Saturday 21 June 2014

Music as a Language



There's no bad ideas.
Just like what Victor Wooten said, "if you play C and C# right next to each other, it probably sounds like those notes clash"
"Wrong"
"Bad"
"but if you take the C up in octave, play the C# and C again"
"the sound became beautiful"
"how could the same 2 notes sounds bad, clash in one instance and beautiful in another?"
"take this to life, when we see something bad or awful or horrible in life, maybe we just viewing it in wrong octave"
Change your viewpoint, change your perspective, and there's no bad idea.

Steve Jobs' 2005 Stanford Commencement Address



I'm Steve Jobs fan.

Elon Musk USC Marshall Undergraduate Commencement Speech



1) Working super hard.
2) Attract great people.
3) Focus on signal over noise.
4) Don't just follow the trend.
5) Now is the time to get risks.

Friday 20 June 2014

Rawlemon Spherical Solar Energy Generator


Rawlemon Spherical Solar Energy Generator

Really impressive!!!
To create fire w/ magnifying glass is what we learned from science class in elementary school.
Somehow, we all forgot to use this simple application.

Rawlemon Solar Devices is on INDIEGOGO.

Thursday 19 June 2014

Pyro Board



which remind me the music w/ lightening in The Sorcerer's Apprentice


it must full of the burning smell...


Advanced version:

Ref.:
http://nigelstanford.com/Cymatics/

[Motion Sensor] Ring



I've used Kinect to develop a project.
In survey stage, we also consider Leap.
It seems that Ring is also be a good solution.

Nike Football - The Last Game



Playing it like a game, not a job!
And there's no greater danger than playing it safe.
Anyway, it energizes me.