Problems installing PySQLite, SQLite and Trac120 (2/1/2009 3:48:50 PM) comp.lang.python My initial goal is to finally install Trac. This is the second day I've been trying to make this possible but I can't find, for the life of me, how to do this. OK, here is the story: My system is a VPS with Ce... kimwlias
When is finally justified?3222 (12/23/2008 4:16:25 PM) comp.lang.java.programmer If there is no return statement in neither try nor catch, is finally any useful? And even then, doesn't finally simply help you avoid duplicating the code? (Not that this is a bad thing per se, just asking). I... pek
About the private member1521 (11/26/2008 4:01:28 PM) comp.lang.java.programmer Here is a snippet: class MyClass { private int privateInt; public void violateEncapsulation( MyClass e ) { e.privateInt = 5; } } Yes, this code works perfectly. The thing is, why? Somebody pointed ... pek
General rule for constructors1220 (8/14/2008 5:02:20 PM) comp.lang.java.programmer Hello, I've been reading lately Effective Java and Josh Bloch suggests more than once to avoid using the default public constructors in order to solve particular problems. More specifically, Item 1 says "Consid... pek
Why use Objectg in Equals method?531 (8/10/2008 8:56:40 PM) comp.lang.java.programmer Recently I've been thinking about the equals method a lot. I am reading Effective Java and there is an item that talks about the equals method. Several questions came to my mind, like Why compare a class with i... pek
Subclasses and the equals method1830 (8/10/2008 7:10:37 PM) comp.lang.java.programmer So I am currently reading Effective Java and in "Item 7: Obey the general contract when overriding equals" Joshua Bloch talks about the transitivity problem of equals when it comes to subclassing. To quote from... pek
How to create an 128x128 transparent image929 (8/6/2008 7:10:53 AM) comp.lang.php Here is what I want: I have an image, let's say a JPEG 800x600... I want to create a transparent 128x128 PNG image and then resize the 800x600 to fit in the center of my transparent 128x128 PNG.. Can you help... pek
Creating a 128x128 thumbnail523 (7/14/2008 9:35:20 PM) comp.lang.php Hello, I have a simple question which I can't figure out: I want to create a thumbnail of an image, but I want to make sure that the output is exactly 128x128.. The resized thumbnail has to be centered. Can you... pek
So what happens after creating the login mechanism?622 (6/25/2008 12:52:19 PM) comp.lang.php I have read a lot of tutorials on how to create a login mechanism (a lot of which I found really useful). None of them however explain how do you check if the user is or is not in fact logged in. What is your ... pek
Sessions under localhost818 (6/24/2008 3:28:40 PM) comp.lang.php OK, I've been having this problem for quite some time but never until now I really needed a solution. I have never thought of a work around, so I really need your help. Sorry if this has been mentioned already.... pek
Where do unhandled exceptions go?426 (6/20/2008 11:46:54 PM) comp.lang.java.programmer I'm trying to create a Main class (that includes the main method) and catch all uncaught exceptions. So my code started like this: public class Main { public static void main(String[] args) { try { ... kimwlias(143)
Sessions under localhost818 (6/24/2008 3:28:40 PM) comp.lang.php OK, I've been having this problem for quite some time but never until now I really needed a solution. I have never thought of a work around, so I really need your help. Sorry if this has been mentioned already.... kimwlias(143)
So what happens after creating the login mechanism?622 (6/25/2008 12:52:19 PM) comp.lang.php I have read a lot of tutorials on how to create a login mechanism (a lot of which I found really useful). None of them however explain how do you check if the user is or is not in fact logged in. What is your ... kimwlias(143)
Creating a 128x128 thumbnail523 (7/14/2008 9:35:20 PM) comp.lang.php Hello, I have a simple question which I can't figure out: I want to create a thumbnail of an image, but I want to make sure that the output is exactly 128x128.. The resized thumbnail has to be centered. Can you... kimwlias(143)
How to create an 128x128 transparent image929 (8/6/2008 7:10:53 AM) comp.lang.php Here is what I want: I have an image, let's say a JPEG 800x600... I want to create a transparent 128x128 PNG image and then resize the 800x600 to fit in the center of my transparent 128x128 PNG.. Can you help... kimwlias(143)
Subclasses and the equals method1830 (8/10/2008 7:10:37 PM) comp.lang.java.programmer So I am currently reading Effective Java and in "Item 7: Obey the general contract when overriding equals" Joshua Bloch talks about the transitivity problem of equals when it comes to subclassing. To quote from... kimwlias(143)
Why use Objectg in Equals method?531 (8/10/2008 8:56:40 PM) comp.lang.java.programmer Recently I've been thinking about the equals method a lot. I am reading Effective Java and there is an item that talks about the equals method. Several questions came to my mind, like Why compare a class with i... kimwlias(143)
General rule for constructors1220 (8/14/2008 5:02:20 PM) comp.lang.java.programmer Hello, I've been reading lately Effective Java and Josh Bloch suggests more than once to avoid using the default public constructors in order to solve particular problems. More specifically, Item 1 says "Consid... kimwlias(143)
About the private member1521 (11/26/2008 4:01:28 PM) comp.lang.java.programmer Here is a snippet: class MyClass { private int privateInt; public void violateEncapsulation( MyClass e ) { e.privateInt = 5; } } Yes, this code works perfectly. The thing is, why? Somebody pointed ... kimwlias(143)
When is finally justified?3222 (12/23/2008 4:16:25 PM) comp.lang.java.programmer If there is no return statement in neither try nor catch, is finally any useful? And even then, doesn't finally simply help you avoid duplicating the code? (Not that this is a bad thing per se, just asking). I... kimwlias(143)