I am my dad's personal Yahoo! answers person when it comes to things science and physics. So when I received a question on the dual nature of light and matter, I wrote him back a nice long (LFP!) email in answer. I thought I'd share. Question: Sound travels in waves and needs an "ether" for transmission. Light is also a wave but doesn't need an ether. Is light in space "wave" or "particle"? because when light bends do particles bend or this this one of the examples of light as wave? Answer: Sound is a pressure wave. It is the compressing of molecules. It is the compression that is the sound. Light is a wave of electromagnetic fields, fields in this case being force representations. The light wave is a constant of nature in which a electric force changing will produce a magnetic force which will cause an electric force in a stable, repeating way traveling forward. There are other places where electricity creates magnetic forces and v
The webcomic xkcd was recently featured on a popular tech website which I frequent . The author spoke at mit about his life and writing (and was interuppted by students ), so I started reading the comic. Man, is it good. I just started reading them, and got lots of the way through. Then I realized that there is a second level of awesome, in the img alt text tags. And then I read most of them again. Some of my favs, in no particular order: http://xkcd.com/c181.html - Interweb Net Codes! http://xkcd.com/c113.html - Zeta Functions 4 Pres! http://xkcd.com/c128.html - :-( http://xkcd.com/c132.html - 4 d3w4rd <img alt="how many links is he going to inline?!" src="./holla.jpg">
So my desk-mate* and I were having a conversation about an upcoming coding project, and he remarked how nice it was for someone, somewhere to post a complete sample on their blog for the spiders to index, so that he can find it. So I thought I would also, pay it forward and hopefully someone in like 2012 comes by and needs a sample main method using the spring spring framework for application level dependency injection. Everyone out there seems to have used the MVC and deploying spring based apps in a web server WAR file. Except for this link: Levarage Spring Web development with Offspring . [Offtopic: it uses classes in the com.offspring.* package, like the band's website !] It uses a simple bean file and a main method really close to the following snippet to instantiate (that's my new favorite word) the application using the spring context**: import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext;
Comments