Hi all,
After 2,5 years of professional Java programing, I still have problems that make my job difficult and, more importantly - more times that I would like to admit - not enjoyable. I would like to ask for advice by more experienced people on ways that would help me overcome them.
These are the problems I have:
I do not absorb new...
Hi,
I have used just Windows for programming so far. Now, I have an internship starting in two weeks and I will be using just Linux environment with Python programming language. I've installed Ubuntu on my system but have no exposure to shell scripting.
I need some advice on how I can quickly learn to use the Linux terminal quickly. An...
I've been running into some problems with my design. Here is what I have now...
Controller
...
<AcceptVerbs(HttpVerbs.Post)> _
Public Function Edit(ByVal id As Integer, ByVal dryShots As Integer, ByVal clock As Integer) As ActionResult
Dim job As Shift_Summary_Job = _shiftSummaryJobService.GetShiftSummaryJob(id)
_shiftSummaryJ...
I've noticed that Windows Forms applications running under Windows 7 Professional 64-bit display help tooltips incorrectly.
Specifically, this is when you use a HelpProvider and SetHelpString on a control. When using the "?" caption bar help button and clicking on a control that has an assigned HelpString, the tooltip looks like it is ...
I got a message on facebook telling me to copy and paste this into my adress bar. I thought i'd post it here and see what everyone thinks about it. What does it do? how does it work?
Here's the source code:
// (DO NOT DO THIS!)
Javascript:var a=["\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x61\x70\x70\x34\x39\x34\x39\x37\x35\x32\x38\x37\...
hi,
first of all thanks for taking your time!
I'm a junior Dev, working with PHP + mysql.
My issue:
I'm saving data from a form to my database. From this form, there's only need to save the contacts: Name, phone number, address. But, it would be nice to have a small reference to the user answers.
Let's say for each question we've go...
Here's the relevant bit of the source code:
class Dice
{
String name ;
int x ;
int[] sum ;
...
public Dice (String name)
{
this.name = name ;
this.x = 0 ;
this.sum = new int[7] ;
}
...
public static void main (String[] arg)
{
Dice a1 = new Dice ("a1") ;
printValue...
I'm new to java can someone please explain to me whats wrong with this method:
clas Hello {
public static void main (String[]arg) {
Document.write ("hello world") ;
}}
...
Right now i'm trying this:
int a = round(n) ;
where n is a double but its not working. What am i doing wrong?
...
I got this error message and I'm not quite sure whats wrong:
Exception in thread "main" java.lang.NullPointerException
at Risk.runTeams(Risk.java:384)
at Risk.blobRunner(Risk.java:220)
at Risk.genRunner(Risk.java:207)
at Risk.main(Risk.java:176)
Here is the relevant bits of code (i will draw attention to the line numb...
Here's the relevant code:
public static String[] runTeams (String CPUcolor)
{
boolean z = false ;
//String[] a = new String[6] ;
boolean CPU = false ;
while (z == false)
{
while (CPU==false)
{
String[] a = assignTeams () ;
printOrder (a) ;
for (int i = 1...
I saw this bit of code on the interents somewhere. I'm wondering what the do is for.
public class LoopControl {
public static void main(String[] args) {
int count = 0;
do {
if (count % 2 == 0) {
for (int j = 0; j < count; j++) {
System.out.print(j+1);
...
Hi all,
I have found that user can associate help with his application using Help Viewer. Users typically launch Help Viewer by choosing the application help item from the Help menu, or by typing a query in the Spotlight For Help text field in the Help menu.
I have some different requirement: I want to associate component specific help...
Hi all,
I tried to open .hxs file with (with "hxs "extension with right click) with "dexplore.exe" from:
C:\Programme\Gemeinsame Dateien\Microsoft Shared\Help 9
but noting happens, I have Visual Studio 2008 SDK Version 1.0, and VS2008 installed on my system.
Any idea what to do in order to see .hxs Help files ?
Br,
Milan
...
Visual Studio 2010 changed the help system to run a little daemon and launch the system default web browser to view it.
I'm using Firefox for my system browser but would like to use Chrome for VS help.
Is there an option to change the Help browser that I'm not seeing in Tools|Options? If not, is there a workaround or registry setting t...
I created a program that more or less holds an array of strings as an object and randomly prints one.
so basicaly
class Fun
{
string[] namestrings = new string[#]
constructor()
{ fill with some strings}
public static void main (String[]arg)
{
create instance of class
...
i have a really basic java program just one .java/.class file (.java uncompiled .class compiled i guess) how do i make something that i can have run on someone elses computer?
...
I'm a beginner in programming. My experience so far is only in Actionscript 2 and 3. So I have a basic understanding of declaring variables, loops, arrays, if/then, do/while... I'm wanting to move to developing for Android phones so I'm wondering what suggestions people have for where to go next. Should I jump right to Android? Start wit...
I am attempting to build a script that will log data that changes every 1 second. The initial thought was "Just run a php file that does a cURL every second from cron" -- but I have a very strong feeling that this isn't the right way to go about it.
Here are my specifications:
There are currently 10 sites I need to gather data from and ...
Hi everyone ,
i want to acces an Element of an XML. But somehow. i get null as the Result and that does not make any sense to me.
Can you find the mistake ?
...