Vanzare si educatie

Prezentarea unei masini, la sediul clientului: V(anzatorul, agent/reprezentant de vanzari): Va prezint masina noastra M, este o masina perfect adaptata pentru nevoile dumneavoastra P(otentialul cumparator): Stati asa, ce stie sa faca V: Va ajuta sa va deplasati dintr-un punct intr-altul P: Si de ce imi trebuie o masina, pot foarte bine sa merg cu caruta V: Pai are motor, si ajungeti mai repede P: Si ce-i asa deosebit cu motorul asta?...

<span title='2008-12-12 12:57:25 +0000 UTC'>December 12, 2008</span>&nbsp;·&nbsp;len

Secure JBoss JMX Console

Since JBoss can now be installed from a zip file it comes with a default unsecured jmx-console. This is unacceptable for production so here is the method to secure the jmx-console using http authentication (applies to JBoss 4.2.2.GA). 1. Edit jboss/server/default/deploy/jmx-console.war/WEB-INF/web.xml and uncomment the security-constraint element: <security-constraint> <web-resource-collection> <web-resource-name>HtmlAdaptor</web-resource-name> <description>An example security config that only allows users with the role JBossAdmin to access the HTML JMX console web application </description> <url-pattern>/*</url-pattern> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection> <auth-constraint> <role-name>JBossAdmin</role-name> </auth-constraint> </security-constraint> 2....

<span title='2008-12-08 18:22:08 +0000 UTC'>December 8, 2008</span>&nbsp;·&nbsp;len

Lost Edgy repositories?

Where are my edgy repositories? Failed to fetch http://security.ubuntu.com/ubuntu/dists/edgy-security/main/binary-i386/Packages.gz 404 Not Found Failed to fetch http://security.ubuntu.com/ubuntu/dists/edgy-security/restricted/binary-i386/Packages.gz 404 Not Found I tried at least 5 mirrors from ubuntu and none of them seems to have them. I finally found the solution in this post which is to add the following in /etc/apt/sources.list deb http://old-releases.ubuntu.com/ubuntu/ edgy main restricted deb-src http://old-releases.ubuntu.com/ubuntu/ edgy main restricted deb http://old-releases.ubuntu.com/ubuntu/ edgy-updates main restricted deb-src http://old-releases.ubuntu.com/ubuntu/ edgy-updates main restricted deb http://old-releases....

<span title='2008-12-05 12:47:44 +0000 UTC'>December 5, 2008</span>&nbsp;·&nbsp;len

VNC based presentations

VNC based connectivity is one of the most usefull things I know close to ssh connections. This is a simple example on how to use VNC for presentations purposes on linux platforms. Full screen presentations This assumes you wish to share you entire screen for your presentation. install the required packages apt-get install tightvncserver x11vnc xtightvncviewer start the vnc server on your station x11vnc or start with some options I use frequently....

<span title='2008-12-02 20:31:00 +0000 UTC'>December 2, 2008</span>&nbsp;·&nbsp;len

Oracle and java.util.Date

Q: Assume someone, for compatibility is storing java.util.Date values in Oracle as long values (number of milliseconds since the standard base time known as “the epoch”, namely January 1, 1970, 00:00:00 GMT), how to read these dates in sql? A: select TO_CHAR(TO_DATE('19700101000000','YYYYMMDDHH24MISS') + NUMTODSINTERVAL(start_time/1000, 'SECOND'), 'YYYY-MM-DD HH24:MI:SS') from qrtz_triggers

<span title='2008-12-01 15:31:52 +0000 UTC'>December 1, 2008</span>&nbsp;·&nbsp;len

Harta blogosferei – la feminin

# Alternate content De cand am facut [harta blogosferei](http://www.len.ro/2008/09/blogosfera-v20/) m-am tot gandit ca urmatorul pas ar fi o colorare a hartii in functie de tipurile fiecarui blog. Cum Ciupercutza a venit cu ideea si s-a pus pe treaba de strans toate blogurile de doamne si domnite am profitat de ocazie si i-am propus sa-i folosesc lista pentru o harta doar pentru doamne si domnite. Asa ca iata: harta blogosferei la feminin, cu multumiri pentru Ciupercutza....

<span title='2008-11-28 14:28:03 +0000 UTC'>November 28, 2008</span>&nbsp;·&nbsp;len

openoffice.org-base on intrepid

I’m using openoffice base in order to extract various data from a postgresql database to a oocalc file to make charts. This can vary from work related to blogosferic charts. I am using the sdbc postgresql driver and not the jdbc alternative. Since by default ubuntu intrepid ibex does not install the “base” package I tried to do a simple apt-get install openoffice.org-base to my horror this tries to bring a lot of gcj dependencies even if I had already installed a sun sdk....

<span title='2008-11-17 17:51:59 +0000 UTC'>November 17, 2008</span>&nbsp;·&nbsp;len

Apache mod_jk configuration

I don’t know why, even if there is a lot of documentation on the subject the mod_jk installation still seems a bit of mystic elements. This is why I decided to write a very short mod_jk configuration guide oriented for debian, ubuntu linux systems. First, mod_jk is an apache module which allows a more customized communication to an apache tomcat server using the AJP 1.3 protocol. This usually happens using the TCP port 8009 so yes, there must be a connection from the apache server to the tomcat one....

<span title='2008-11-10 12:33:19 +0000 UTC'>November 10, 2008</span>&nbsp;·&nbsp;len

Ubuntu Intrepid Ibex

I’ve been waiting with impatience the new Ubuntu 8.10 Intrepid Ibex. So I’ve downloaded the CD as soon as it appeared and started upgrading the Ubuntu 8.04 on my DELL Latitude D820 to the new version. The install Since I’ve had some problems in the past with the upgrade process I’ve decided to do it simple and just do a clean install on a different partition based on the desktop installer CD....

<span title='2008-10-31 19:43:11 +0000 UTC'>October 31, 2008</span>&nbsp;·&nbsp;len

JBPM optimization

I am quite a fan of BPM concepts and since for the time JBPM is the most know implementation which I have used already in several projects I am stuck with it. Yet it’s one of the more complex-inefficient models I have seen. Enough cause to loose a few days. The context The application was tested with a few tens of workflows and works reasonable. Increasing the number of workflows by an order of ten and you have long waiting minutes ahead just for the simple task of finding the TaskInstances....

<span title='2008-10-30 16:13:46 +0000 UTC'>October 30, 2008</span>&nbsp;·&nbsp;len