javablogs.com crashes – java.io.IOException: Cannot allocate memory
First time i see such errors in javablogs.com.
Month: January 2007
Firefox3 to support cross-site sharing of js libraries?
Firefox3 to support cross-site sharing of js libraries?
Well, it’s been more than a year that i’ve written ‘Cross-site caching of javascript libraries‘ and it looks like this feature (with a similar implementation to the one described) will make it in FF3.
WTF – backbase.com does a GET
WTF – backbase.com does a GET
i open Firebug and here’s what i see:
GET http://www.backbase.com/registration/login.html?cmd=login&josso_username=XXX&josso_password=YYY&loginremember=1
Controlling Jetty port in Maven 2
Overriding the jetty port used on mvn jetty:run
was always something that annoyed me…
and that was due to my solution which had been to alter the project’s pom adding:
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> <port>9090</port> <maxIdleTime>60000</maxIdleTime> </connector>
One problem with this is that i only need this on one of my dev machines (where the default 8080 port is
already occupied) and additionally this is not something that one would commit and enforce it to others.
It’s just plain wrong.
Maven Profiles
~/.m2/settings.xml
of the machinein question, we can add
<profile> <id>override-jetty-port</id> <activation> <activeByDefault>true</activeByDefault> </activation> <!-- something to change the port here --> </profile>
But the problem is that it’s not easy to figure out the ‘something to change the port here’ part.
Jetty’s docs talk about the jetty.port property but it must be a system property, i.e. adding
<properties> <jetty.port>8084</jetty.port> </properties>
doesn’t do the trick.
Custom Hack
that let’s define a default value of 8080 for it inside the pom, and then let’s override this in our settings.xml !
But of course, it doesn’t feel right + i’d have to modify too many poms to go unnoticed by others…
Enlightment
export MAVEN_OPTS="-Xmx768m -Xms64m -Djetty.port=9090" |
is all that it takes… Aargggggg…
On LG FLATRON L1915S problems
On LG FLATRON L1915S problems
I’ve had this monitor for 1.5~2 years – no complaints so far.
But as I woke up this morning, it wouldn’t turn on. To be more exact, it would initially show the computer’s contents, then after half a second, it would simply go black… It’s neither a cable issue, nor a graphic card issue and what’s weird is that its operation light is turned on (green) as if everything works!
Fixya.com has some details on the monitor, and interestingly those two guys report the same issue. From the comments there, it looks like this is an issue of the inverter board and the Cold Compact Fluorescent bulbs and it’s supposed to be fixable though there’s no mention at the cost.
Anyway, i’ll try to get it fixed, nut i’ll probably go on to a new and bigger display, perhaps in the 21′-25′ range… Any suggestions?