Hi All,
I am using check-style, FindBug and PMD to validate my java code. I have fixed almost all the bugs caught by these tools.
I am not able to understand how to write package comment which is a bug caught by checkstyle. I have gone through the documentation of checkstyle, But I am not able to understand it.
Could some one help me ...
I think I'm being stupid.
rc = Mysql.new('CENSORED_HOST','username','password','db')
release = rc.query('select * from wp_ribcage_releases where release_id = 1 limit 1')
puts release["release_title"]
rc.close
And I am getting the following error:
ribcage-connect.rb:17: undefined method `[]' for #<Mysql::Result:0x1011ee900> (NoMetho...
Hi,
I currently develop vb.net and .NET web applications using Studio 2008.
I want to start developing applications for this device....
http://exopc.com/en/exopc-slate.php
A review of the product to give you more of an idea can be found here...
http://kevindark.co.uk/Blog.aspx?i=1&tg=EXOPC
Demonstration videos of capabilities can be...
hi!
I have two comboboxes:
The first one is Language (English, Italian, French...) and the second one is another list of stuff that is different for every language (or a little bit different) so the content must be loaded every time the language is changed.
How can I handle it?
Example:
If I select English, in the second combobox I ...
Hello,
we're currently developing a fairly complex web portal. To improve the user experience, we want to provide a context-sensitive online help system that can aid the user in understanding certain aspects of the site.
In our case, the site has a variety of widgets that display all kinds of tabular data, graphs, etc. For instance, one...
I am new to android development and am currently working my way through the "Hello..." Tutorials on the developer website.
I got stuck on the Tab Layout walkthrough and the only way I could resolve it was to put each Activity Class in a separate .java file.
I was wondering if all Activities need to be in separate .java files, or am I ...
I'm trying to get something like this (http://www.hydroholistic.com/, when you hover the logo a box appears fading and animating) what do I have to do for something like that?
...
Basically have a large textarea, and I want to be able to do a few things with it;
Detect when the user presses "enter" to go to a new line,
and
When enter is pressed, if the line contains a certain string let's say "hello", a line would be written to the textarea that reads "hello to you."
I cannot, for the life of me, detect a str...
Explanation:
I have this in the server side:
$objec->write( "divx" );
Then in the user agent (jQuery):
<div id="divx">
<!-- SERVER: here will be the content begins -->
<script type="text/javascript" language="javascript">
var r = $('#divx').myPluginCreator();
</script>
<!-- SERVER: content ends -->
</div>
Now the plugin has a meth...
I'm using the RESTful service starter kit and was having trouble adding documentation to the built in Service help page. I'm able to add documentation to each method in the Description using the WebHelp attribute.
What I need and want to add documentation to the Request Schema that is generated for each method through the Request Schema...
Ok, to start off, I am taking a C programming class this semester, and somehow was allowed to register even though I have not taken the prerequisite course. I thought I would still be able to handle it, but now that I have passed the point of no return for dropping it, I have found myself completely lost.
For my present assignment I am...
Hello all,
I'm looking for guidance. Here is what I'm doing.
I'm creating an advertising/publishing script using PHP and MySQL. At this time, the current program contains 41 million rows (7.5GB).
I'm thinking about storing real-time statistics and other data (users, ads, places, daily/monthly stats) on two mysql databases. And then up...
I'm trying to read in player data from an array list, but after 2 hours of searching and experimenting, I'm lost.
Here's the deserializing code. It's commented, but basically there should be a file with a Serialized ArrayList of Player objects. I want to deserialize that data and store it in savedPlayers, and then use savedPlayers for a...
I'm trying to edit my timer so that every 25 times repaint() is called the timer firing speed cuts in half. So the first 25 times it's 500; then the next 25 times its 250; and so on.
Two 'EASY FOR THE EXPERIENCED' questions:
1) Why is Eclipse making me make the variables static (or otherwise not compiling)?
2) The program doesn't seem...
hi all,
I'd like to create a table out of the dataset generated by teradata's "help table" function so i can add some more information about the table, and be able to filter the rows by conditions. the table has 400+ columns, so this would be very convenient for management. I'd like to be able to do something similar to creating a tabl...
Hey guys... its the newbie again :) I'm putting together a program that will calculate the area of either a triangle or a square and then prompt the user whether they wish to calculate another. I've got the code working to the point that it will calculate the area of either shape, but then doesn't continue with the rest of the code. F...
I'm a painter who's building a website portfolio/print shop.
I was wondering if anyone had seen some exceptionally good layout design in presenting a variety of paintings. My go-to resource so far has been the MOMA, but they are a little cluttered for my taste.
Googling it has resulted in some seriously hideous and chaotic design, and ...
I want to draw a custom version of a JFrame. Is is possible to extend to a JFrame and draw over it?
I've looked everywhere and can't seem to find a solution. Can someone help point me in the right direction? Thank you!
...
Hi guys,
I am using window.onbeforeunload in my javascript.
This works perfectly in IE but is not triggered in Firefox.
I checked on different links in stackoverflow.... In it I read that window.onbeforeunload is not supported by firefox. Is this true?
If yes, can you please tell me a different way to call app.deleteAccount(key) on cl...
When i move the slider it crashes the app. i know it is something to do with the argument i am passing to maxProcess method. it works fine if i take this out. but i need it to update the newEvent objects instance variable. Any ideas. This is what i have been told in another forum but i don;t know how to do this
"this code declares a new...