Categories
computer engineering Gadgets

Dell next business day no3

DELL charger

Επειδή δεν μ’ αρέσει μόνο να γκρινιάζω, θα αναφερθώ και πάλι (μετά τα Dell next business day , Dell next business day no2) στην DELL 🙂 )

Εδώ και κάποιον καιρό, όταν ξεκίναγε το laptop μου, στο post έκανε ένα μπιπ μπιπ και με ενημέρωνε ότι κάτι κακό συμβαίνει με την τροφοδοσία ρεύματος. Δεν έδωσα και πολλή σημασία, με ένα F2 συνέχιζα κανονικά. Υποψιάστηκα μάλιστα ότι ίσως η μπαταρία μου τα έφτυσε και ετοιμάστηκα να μπω σε έξοδα όταν τα φτύσει τελείως. Αυτό έγινε μετά από ένα μήνα από τα πρώτα συμπτώματα. Πλέον η μπαταρία δεν φόρτιζε καθόλου και αν αποσύνδεεες τον φορτιστή, ο υπολογιστής έσβηνε τελείως και αμέσως!

Categories
computer engineering Διαδίκτυο

Vodafone + iPhone tethering fail

Χτες τυχαία πέτυχα στο twitter κάποια μηνύματα χρηστών, που διαμαρτύρονταν για την κατάργηση του ελεύθερου iPhone tethering από την Vodafone (πρακτικά η χρήση του iPhone ως modem για να συνδεθείς στο internet από το laptop σου) . Πιο συγκεκριμένα αναφέρομαι στα μηνύματα των χρηστών Jimbo77 και dtsomp:
http://twitter.com/dtsomp/statuses/10580616828

iPhoneάδες της Voda: πιέστε μαζικά. Απειλήστε για διακοπή συμβολαίου. Αν μπορείς να κάνεις tether με ίδια SIM/άλλο κινητό, είναι ΚΟΡΟΪΔΙΑ.

http://twitter.com/Jimbo77/statuses/10580575518

Vodafone + iPhone Tethering #fail http://goo.gl/fb/rFSH

Το δοκίμασα αμέσως και είδα ότι στο δικό μου τηλέφωνο εξακολουθούσε να λειτουργεί. Η απάντηση ήρθε από τον dtsomp.

Categories
computer engineering

How to custom print actionErrors / fieldErrors with Velocity on Struts2

struts2-merger2

Just a quick code snippet, that couldn’t find anywhere on the net as an example and my colleague Aggelos offered to me 🙂

Categories
computer engineering

Dell next business day no2

Έγραφα τις προάλλες για την αλλαγή πληκτρολογίου και το πόσο ευχαριστημένος είμαι από το support της DELL. Τώρα, μπορώ να το πολλαπλασιάσω επί 10… Ξαφνικά η οθόνη του XPS M1330 έγινε άσπρη με μαύρες κάθετες γραμμές, ενώ και σε εξωτερική οθόνη τα ίδια. Διάγνωση: κάρτα γραφικών (Nvidia 8400 onboard) fail. Τηλέφωνο στο support της DELL χτες και σήμερα ο τεχνικός εδώ στο γραφείο μου αντικατέστησε ολόκληρο το Motherboard χωρίς πολλά πολλά  ! Το Laptop up & running σε 24 ώρες!

DELL support rocks! Το φθινόπωρο που λήγει η 2ετής εγγύηση, έχω ήδη βάλει υπενθύμιση για επέκταση!

Categories
computer engineering Διαδίκτυο ΜΜΕ

How to use MySQL query browser to work with a remote DB server where remote TCP connections to the MySQL server are not allowed

MySQL
Image via Wikipedia

In this tutorial I will explain how to use the very convenient MySQL query browser to connect and work to your remote MySQL server, where you do not allow remote TCP connections for security reasons (and you do very well!)

Many users use web gui tools like phpMyAdmin, but they have limitations and are some times frustrating to use.

I suppose you work in Windows. If you work in Linux, this tutorial will help you too and you can ommit the part of the Cygwin installation (see below).

To accomplish the goals of this tutorial we will use 2 great free tools:

  1. Cygwin
  2. MySQL gui tools

Get them now!

I also suppose that you have ssh access to your database server. If not (eg you are on a shared hosting environment), you can not proceed with this tutorial.

After the downloads get complete, install the tools. The installation is pretty straightforward and is out of the scope of this tutorial. One thing you have to be carefull about though, is to install the package openssh in Cygwin, as this will do the most tricky and clever part of the dirty job for us 🙂

Now run Cygwin simply by double clicking the shortcut that you may have created on your desktop or by using the cygwin.bat at the directory you installed Cygwin. A unix like command line appears. In there you must enter the  “magic” command:

ssh -N -f -L 4783:127.0.0.1:3306 username@servername

where username the ssh user account to connect to your server and servername the IP or URL of your server. This supposes that you ssh to your server at  the default port. If you connect at another port, you should user the parameter -p port as well.

But what does this command do? It creates an ssh tunel from your pc to your server and each call that arrives at your pc at the port 4783 (this is random you can choose whatever you like and is free on your pc), is forwarded to port 3306 (the MySQL service port) at your server! If you have configured your MySQL server to listen to another port, you should change the command accordingly!

Now, things are easy, open MySQL query browser and create a new connection. As servername use localhost (!) and as port the one that you defined above (4783). Insert the username and password of your remote db server though!

You will get a warning that you have not specified a default schema (if you havent). Just ignore it!

If you have done everything ok, you should be browsing your remote MySQL database as if it where on your localhost!

Cheers!

Categories
computer engineering

Dell next business day

Dell Logo
Image via Wikipedia

Ένας … γκουχγκουχ πολύ γνωστός μου , είχε την φαεινή ιδέα να καθαρίσει το keyboard του laptop του με ειδικό αφρό.
Ο αφρός ήταν πάρα πολύς και μπήκε μέσα στα κουμπιά και τα κόλλησε με αποτέλεσμα να μην δουλεύει στο keyboard το αριστερό ctrl και το tab.

Ήταν τυχερός και είχε laptop DELL (XPS M1330), το οποίο όμως δεν ήταν στο όνομά του αλλά το είχε αγοράσει στο όνομα της παλιάς εταιρείας που δούλευε. Επίσης, είχε πάνω στο laptop άλλο λειτουργικό από αυτό με το οποίο το αγόρασε. Αγχώθηκε.

Πήρε τηλ το support της DELL και τους είπε ότι το keyboard χάλασε (αυτά περί αφρού παρέλειψε να τα πει ). Μετά από μία τυπική επικοινωνία στην οποία τους είπε ότι ξαφνικά το keyboard χάλασε και αφού ακολούθησε 2 τυπικά βήματα που του είπε ο τεχνικός από το τηλ για να διαπιστώσει ότι ο … φίλος μου δεν είναι παπάρας και όντως δεν λειτουργεί το keyboard, κανονίστηκε το ραντεβού για την επόμενη κιόλας μέρα. Το μόνο που τον ρώτησαν ήταν το όνομά του (δεν τους ένοιαξε που δεν είχε απόδειξη στο όνομά του) και το service tag που αναγράφουν όλες οι συσκευές DELL από κάτω.

Πήγε λοιπόν την επόμενη ένας τεχνικός της DELL στον χώρο εργασίας του (όχι στην διεύθυνση που είχε αγοραστεί το λαπτοπ, άλλα όπου τους είπε ο … φίλος μου) και του έβαλε καινούριο keyboard στο λαπτοπ χωρίς καμία επιβάρυνση.

Aυτά σε αντιδιαστολή με άλλες (και μεγάλες) μάρκες, που πρέπει αρκετές φορές να σταλεί το laptop στο εξωτερικό και δεν το δέχονται αν δεν είναι ακριβώς όπως πουλήθηκε (ίδιο λειτουργικό σύστημα ας πούμε).

Από τότε αποφάσισε ότι ό,τι laptop θα παίρνει από εδώ και πέρα, θα είναι DELL. Το ίδιο και εγώ.