Chris' Tech Blog

June 17, 2010

Awesome soccer calendar for World Cup 2010

Filed under: Soccer World Cup 2010 — Chris Ey @ 11:17 am

This is an awesome soccer calendar (using Flash) for the 2010 World Cup in Southern Africa:

http://www.marca.com/deporte/futbol/mundial/sudafrica-2010/calendario-english.html

May 14, 2010

Solar Hot Water: Do you like to take hot showers?

Filed under: Solar — Chris Ey @ 10:06 am

Solar Hot Water is probably the most effective thing you can do to save money and reduce your energy footprint.

The people from Solar Water TV created a nice ebook about how much this really affects you.

Definitely worth a read! I put the document up for download here:

http://www.inweb.de/chetan/_resources/solar/SolarWaterNow!2.1.pdf

Enjoy!

April 20, 2010

Secret AT&T rooms in San Francisco and elsewhere spy on American citizens

Filed under: Silicon Valley — Chris Ey @ 2:29 am

I am aware that this is almost “common knowledge” by now, but I would like to remind everyone that the U.S. government is spying in almost all parts of the daily live of American citizens (and non citizens as well, for that matter ;) )

They apparently built several “secret rooms” in various places in the US to get access to the vast majority of internet traffic in the USA.

One of those facilities is in San Francisco in Folsom Street, in the AT&T floors. A quick summary is available on Wikipedia:
http://en.wikipedia.org/wiki/Room_641A

The guy who revealed this was Mark Klein, he worked at AT&T and was suspicious about dubious and illegal activities at his work place. He came forward and made his findings public:
http://www.pbs.org/wgbh/pages/frontline/homefront/interviews/klein.html

This is what Klein thinks about this kind of surveillance:

>>That’s right. They have no way of sifting it out unless they look through it later. Now they can claim, “Oh, we are right as rain; we’re only doing the legal thing and selecting out a few people that we’re legally entitled to,” but that’s only after they get all the data. The analogy I use: If the government claims, “Well, when you do your taxes, why don’t you just write me a blank check and we’ll fill in the amount? Don’t worry. We’ll do it legal. We’ll fill in the right amount,” would you do that? Nobody would trust the government by writing a blank check to them. It’s the same thing with the data we’re giving them. …

When the founders wrote the Fourth Amendment, they had a specific antagonism against what were called general warrants, as you might know. General warrants is when the British troops would come in with a warrant and say: “We have the right to search your house. We’re looking for something. Looking for what? We can’t tell you. We’re going to ransack your house.” That’s a general warrant. They can turn your life upside down, and the colonialists [sic] hated that.

So the Fourth Amendment specifically bans general warrants. It calls for specific warrants in which the things to be seized and the persons to be seized are specifically named. There’s a reason for that. It’s to protect against arbitrary government power. And what they’ve done is to trample over the Fourth Amendment by basically instituting a general warrant on the Internet.<<

April 7, 2010

Monitoring: SunReports. Brand new Green Tech startup in Silicon Valley

Filed under: Silicon Valley, Solar — Chris Ey @ 5:08 am

Apollo1 used for Photo Voltaic

Interesting things happen in Silicon Valley! Green-tech start-up SunReports Inc. came out of stealth and hit the news right away:

Cleantech Group:
“SunReports reveals new solar monitoring technology”

This baby got legs. They offer monitoring for residential photo voltaic systems and support multiple inverters, solar thermal and pool heating – at a very competitive price and with one single device.

SunReports’ Apollo1 device is installed in few simple steps and instantly starts sending monitoring data to their data center. You then get meaningful charts of the performance of your solar system, alerts when something needs attention and a lot of feedback you can use to improve and tune your investment.

If you own a solar system or a pool, you need to check them out!

March 20, 2010

mvn eclipse: “Request to merge when ‘filtering’ is not identical.”

Filed under: Eclipse, Maven — Chris Ey @ 11:16 pm

When filtering properties is turned on with maven and I regenerated the eclipse project with maven (mvn eclipse:eclipse), I got this problem after updating to a current mvn release:

org.apache.maven.lifecycle.LifecycleExecutionException: Request to merge when 'filtering' is not identical. Original=source src/main/java: output=null, include=[**/*.java], exclude=[], test=false, filtering=false, merging with=resource src/main/java: output=target/classes, include=[**], exclude=[**/*.java|config.properties|**/*.java], test=false, filtering=true

Well, looks like I’m not the only one with this problem! The best thread & solutions I found here:

http://forums.atlassian.com/thread.jspa?threadID=34952&tstart=30

In short, you want to use version 2.6 of the eclipse plugin, and a quick way to do that is execute mvn eclipse this way:

mvn org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse -DdownloadSources=true -DdownloadJavadocs=true

March 5, 2010

Ike’s Place / “Menage A Trois”: THE BEST Sandwich ever

Filed under: Silicon Valley — Chris Ey @ 4:42 pm

OK, there are some iconic food places in the San Francisco Bay Area and down in Silicon Valley. But I didn’t know I had one of those not far from my office!

Today I had the best sandwich in my life! It’s from “Ike’s Place” in Redwood Shores. I had a “Menage A Trois” which is absolutely delicous:

“Halal Chicken Breast, Real Honey, Honey Mustard, BBQ, PepperJack, Swiss, Smoked Gouda”

It is so juicy you will need a lot of napkins. Definitely not my last Sandwich from Ike’s Place if I can! But be aware that it pays off to preorder, as there always seems to be a long line.

http://www.ilikeikesplace.com/

Locations of Ike’s Place (the ones I know of):

http://www.yelp.com/biz/ikes-place-san-francisco

Neighborhood: Castro
3506 16th St
(between Sanchez St & Prosper St)
San Francisco, CA 94114

(415) 553-6888

http://www.yelp.com/biz/ikes-place-redwood-city-2

555 Twin Dolphin Drive
# 115
Redwood City, CA 94065

(650) 637-8903

March 2, 2010

Apple sues HTC over trivial patents

Filed under: Silicon Valley — Chris Ey @ 7:03 pm

Apple sues HTC over 20 patents related to Android phones. I’m getting sick of trivial patents – and of Apple.

http://www.engadget.com/2010/03/02/apple-vs-htc-a-patent-breakdown/

February 26, 2010

Get going with Jetty: Run in Eclipse, Change Port in Maven

Filed under: Eclipse, Jetty — Chris Ey @ 2:35 pm

Jetty is a GREAT servlet engine, which I mainly used for development. Yet, you can use it for production as well.

Developing with Jetty is very easy already, but if you need to get going NOW, this may help:

RunJettyRun

If you work with Eclipse, and want an integrated Jetty for development, all you need id this:

http://code.google.com/p/run-jetty-run/wiki/GettingStarted

Change Port when using maven

Jetty runs on port 8080 by default. How you change that port in RunJettyRun is pretty easy (just change the run config).

If you start Jetty using Maven on the command line with this command:

mvn jetty:run

you can change the port by specifying the runtime variable jetty.port. For example, if you want to use port 8900 instead, use the following command:

mvn -Djetty.port=8900 jetty:run

I know this is not rocket science, but this kind of information may help you to get going with Jetty even faster.

February 25, 2010

Eclipse hangs on startup – swiss knife solution

Filed under: Eclipse — Chris Ey @ 11:57 am

I just experienced what probably many devs experience with Eclipse occasionally: It hangs on startup.

Looks like there is a pretty easy solution to delete a .snap file which helped me too:

  1. cd to <workspace>/.metadata/.plugins/org.eclipse.core.resources
  2. remove the file .snap

Found here:
http://stackoverflow.com/questions/207843/how-do-i-prevent-eclipse-from-hanging-on-startup

I am reposting it so I can find it easier in future :)

February 21, 2010

Line numbers in exception don’t match GSP file

Filed under: Grails — Chris Ey @ 2:19 am

I would assume almost everyone who builds or maintains a larger web application project will want perfect tooling and debugging facilities for their project. With the good reputation Grails has, I was expecting tooling and debugging to be just that: perfect.

Yet, when taking a closer look, debugging a GSP template might be more difficult and inconvenient than it should be.

In my current case, I forgot a closing parenthesis in an expression. The GSP page which I just started had 12 lines, but the error message which occured at run time had no hint to where I had the error! Instead, it showed me the line number and column of a precompiled file I don’t even know how it was created! The Exception started like this:

2010-02-19 16:01:05,868 [http-8090-1] ERROR pages.GroovyPagesTemplateEngine  - Compilation error compiling GSP [home_cey_dev_p4_sandbox_..._content_createPopup_gsp]:startup failed, home_cey_dev_p4_sandbox_..._content_createPopup_gsp: 25: expecting ')', found '}' @ line 25, column 327.
1 error
[...]

Line 25… really? As I said, I was editing a 12 line file.

Error messages like this are not helpful at all. This is a huge “minus” for Grails in my opinion!

Older Posts »

Powered by WordPress