So I was looking for a list of contributed tools through the forums but couldn't find one. Nor a list of contributed libraries. I also checked the site and of course I did find a list of A LOT of libraries but very few tools.
I'm sure that those are not all the libraries and tools there are out there...
My question is the following: is there such a list? One that has most contributed tools and libraries out there? If there is, could someone please point me in the right direction?
And if there isn't one...
I'll gladly make one :) Just would require some help perhaps via e-mail...
Thnx!
EDIT: I forgot to mention: I thought that maybe it would be really cool to have a sticky post with the list :) That's what I'm suggesting here :)
Of course, I'll help out :) (I'm at work right now, but could give it some time later on today or this week)
Hi guys! This is my first time posting in the forums! I really love Processing, but I'm still getting the hang of it... I'm not the most experienced programmer, but I've been around...
So, on to the problem:
I've written a program to connect to a MySQL database on localhost. I used a try-catch statement in case there was an error. I deliberately made an error to test the try-catch and it didn't work. I still can't figue out why and I thought I'd ask the people who know better!
// PROC vars final int NOTIFICATION_DELAY = 250; boolean notification; int notification_start_time; int millis_counter = 0; final int REQUEST_DELAY = 3000;
// Ethernet vars String ipAddress = "192.168.0.150"; int port = 80; byte[] temperature_buffer = new byte[2]; final int TEMPERATURE_MASK = 65535; int temperature;
// MySQL vars String user = "kurt"; String pass = "kurt_"; String database = "test";
void setup() { size(200, 200); background(0); // black
notification = false;
try{ db = new MySQL(this, "localhost", database, user, pass); } catch (Exception e){ println("Connection error"); }
if (db.connect()){ println("Connection to DB successful"); } else{ println("Connection to DB error!"); }
try { refrigerador = new Client(this, ipAddress, port); println("\nConnected to: " + refrigerador.ip()); } catch(Exception e) { notification = true; println("Error in connection, PIC did not reply"); } }
void draw() {}
The same error happens with the connection with the Client: I used a try-catch statement, but it's not caught. Seems like the libraries are managing the Exceptions themselves.