Tim Moores

Saloon Keeper
+ Follow
since Sep 21, 2011
UK / DE
Cows and Likes
Cows
Total received
98
In last 30 days
4
Total given
9
Likes
Total received
764
Received in last 30 days
9
Total given
258
Given in last 30 days
6
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Tim Moores

The factorial method recurses indefinitely. If the parameter is 0 or 1, it should return 0 or 1, without recursing.
1 day ago
ORM solutions like JPA and Hibernate can alter schemas automatically if the underlying model changes. That's some property you need to set in the config files.
Hibernate (and other ORM solutions like JPA) can connect to multiple persistence providers from within the same code. They don't care about what kind of DB those providers represent, as long as the DBs are supported by the ORM mechanism (which all the major DBs, those you mentioned and the rest, are).
Due to the frequency of people asking here about obsolete JForum versions I though I'd take a moment to write down the current state of that project

Though the home page of JForum looks to be http://jforum.net/, that site is actually obsolete. It had been maintained by the original author of JForum, Rafael Steil. He and his team maintained JForum up to version 2.1.9, the latest one available from that site. That version is now obsolete, as it has not been worked on for many years, and has numerous published security holes. Its source code is also available at https://github.com/rafaelsteil/jforum2.

At some point Rafael worked on an improved JForum 3, but that effort never resulted in a usable forum software, and has been abandoned as well. What code there is can be found at https://github.com/rafaelsteil/jforum3.

A maintained version of JForum is available from https://sourceforge.net/projects/jforum2/. The current version is 2.4.1, with 2.5.0 being in beta. The committers to that project support it at http://jforum.andowson.com/forums/list.page

TL;DR
Don't use JForum 2.1.x, use 2.4.1 or newer from SourceForge.
3 days ago
That web site, too, has not been maintained for years. The stable version is 2.4.1.
3 days ago
You should use neither. JForum 2.1.x has numerous unpatched security holes, and has been abandoned. The current JForum version 2.4.1 is available at https://sourceforge.net/projects/jforum2/.
4 days ago

since that book must be right


Is that supposed to be sarcasm? I'm not aware of a law that states book titles need to be literally, factually correct :-)

Or about 75% of all the programmers in the world have been laid off...?


Companies would think long and hard about laying off developers, since there are not enough qualified ones around for all the digital projects being tackled nowadays. So the question is more about how to make the development process more efficient, and yes, agile methodologies are part and parcel of that these days, in the same way as waterfall was the dominant approach some 30 years ago. Enough people find value in it that those methodologies are going to be around for a long time, IMO.
Ah, you're using a data: URL. OK, then: what format is the data that's stored in the DB? If it's ASCII and starts with "0x" then it's not in base64.
4 days ago
JSP
The img tag should contain an URL where the browser can find the image, not the image data itself. You'll need a servlet that serves just the binary image data using a unique URL containing the ID of the image.
4 days ago
JSP
Not sure. Does removing "intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);" make a difference?
5 days ago
getApplicationContext() returns the Application, not the Activity.  While both are subclasses of Context, neither is a subclass of the other, so they can't be substituted for one another. If that code runs in an Activity -as you state- you can just use "this" as the first parameter of the MyProductsAdapter constructor.
5 days ago
Indeed, it uses TCP/IP on top of sockets. a communication mechanism supported by just about every OS. Each DB has its own protocol the driver will have to implement; e.g. these ones are for PostgreSQL and MySql.
1 week ago

some way that I can host my apps on a different server and point to them from my godaddy account.


What do you mean by that? Do you want to host with Godaddy or somewhere else?

I concur that $20 is about what you'll need to spend to get the features you mentioned.
1 week ago
That code might be part of an HttpServlet's doGet method - in which case the request and response are passed into the method as parameters: javax.servlet.http.HttpServlet
1 week ago