Devon Hillard’s Digital Sanctuary
-
How To Resize Uploaded Images Using Java – Better Way
Based on helpful comments from Matt on this previous post: How To Resize Uploaded Images Using Java I have upgraded the image resizing code. The results are noticeably better in quality, even at thumbnail sizes. I wanted to share the completed new code, in case anyone needs it. Again, thanks to Matt S. for his…
-
Lost Time and My Schedule
Firstly, I really missed that hour of lost sleep last night. Daylight Saving Time seems like a great idea in the Fall, but man does it come back to haunt you. So early to bed for me tonight. Secondly, after reading this post by Tim Ferriss: 24 Hours with Tim Ferriss, a Sample Schedule, I…
-
login-required=”true” Will End Your Conversation
In Seam, in the pages.xml or mypage.page.xml files, you note that a given page requires the user to be logged in to view the page. It is a very easy way of handling simple security. What happens is if a user attempts to access a page with the login-required=”true” attribute and they are not logged…
-
Oracle Export (exp) and Initial Extent Size Issues
If you have a large database in Oracle, with a tablespace with say 2 gigabytes worth of data in it, and you then go in a delete a large number of rows from a large number of tables, and shrink it down to about 300 megabytes worth of data, and then you create an Oracle…
-
An Easy Way to Drop All Tables in Your Tablespace in Oracle
If you need to drop all tables in the database with Oracle, here’s an easy way! run this command: select ‘drop table ‘, table_name, ‘cascade constraints;’ from user_tables; Then copy the output and run that as a sql script.
-
How To Resize Uploaded Images Using Java
Edit: please read the better way here: Better way to Resize Images Using Java! ———————– I am building a Seam application which need to support users uploading images, and then the site displaying them. I wanted to resize big images into something reasonable (say 1024 or 800 px wide) and generate a thumbnail, and I…
Got any book recommendations?