|
Advertisement
|
Forum posts by Matt Gerrans:Posted in Weblogs Forum, Sep 17, 2003, 1:36 PM
> Observers with stop-watches can confirm that the mouse-whip-click-drag-release is often faster> than some keyboard-only equivalents, even though the keyboardist THINKS he's going faster.What?!? Was this study done by Jane Goodall?There is no way that a mouse can compete with keyboard, except in first-person shooter games. In many cases, a...
Posted in News & Ideas Forum (Closed for new topic posts), Sep 17, 2003, 10:55 AM
Having now done plenty of C++, Delphi, Java and C#, I'd say there is no particular advantage to the more explicit inheritance mark-up in C# to offset the annoyance of extra typing and spurious (unrelated to the task I'm really working on and trying to think about) decision-making. The problems it ostensibly solves don't seem to be big ones,...
Posted in Java Answers Forum, Sep 17, 2003, 10:23 AM
You can't run batch files without running the command interpreter ("dos box"). Even if the batch is only running Windows apps, you will still see the "command prompt" window appear.What you probably want to do is create a shortcut. That shortcut should use javaw to run your app (class file).By the way, you can set up [a]all[/a] class files to...
Posted in Python Answers Forum, Sep 15, 2003, 12:11 PM
I think it might be even simpler if you used reduce().I did something a somewhat similar thing using eval() with environment variabes, where certain features could be configured with boolean logic, like breakfastEnabled='HAM and EGGS and not SPAM'. Then at runtime, the environment variables HAM, EGGS and SPAM are set to either 1 or 0, based on...
Posted in Java Answers Forum, Sep 13, 2003, 6:58 PM
> can someone help me to make a java program about> scientific calculator and the funtions are the 0-9,+ - *> /,clear,sin,cos,tan,the octal and binary conversions> thanx.i need it before this month ends.Looks like richard and jocelyn are in the same class.Anyhow, richard, when you are posting a completely different topic, you ought to start a...
Posted in Java Answers Forum, Sep 13, 2003, 4:21 PM
> hay matt seems like you too are online now and checkign> the forums :-)Yeah, it goes in cycles.Are you referring to something specific?
Posted in Java Answers Forum, Sep 13, 2003, 4:19 PM
Have you considered changing your major?
Posted in Java Answers Forum, Sep 12, 2003, 7:48 PM
Well, you didn't specify the problem very clearly and you didn't explain what things you can understand and what things you can't.Java file I/O is, for some inexplicable reason, unnecessarily complicated (or maybe there is an explanation; I wonder if Bill has asked any of to Java creators in an interview on Artima about this...). For some...
Posted in C# Answers Forum, Sep 11, 2003, 8:33 AM
.Net dlls are not really dlls. I don't know why Microsoft decided to use that extension and confuse matters. Anyhow, you'll want to look into reflection, especially Assembly.Load(), Assembly.GetType() and Activator.CreateInstance() among other things.
Posted in Java Answers Forum, Sep 10, 2003, 7:24 PM
> Nice....you just did someone's programming assignment for> them.Yeah. If you are going to do people's homework, you should at least present in a form that will provide ample amusement for the instructor. For example:class SomeoneElsesAssignment { public static void p(String s) {System.out.println(s);} public static void main(String args[]) {...
Posted in Java Answers Forum, Sep 9, 2003, 3:39 PM
> Ah...each *digit* within the number.> > The /10 method is clever, but you'll have to remember to> comment it 'cos it's not the most intuative method.> > (BTW, I don't think anything is particularly nasty by> examining each character in the String).I prefer checking each character for two reasons:1) Why do an unnecessary conversion to int? It...
Posted in Java Answers Forum, Sep 9, 2003, 3:31 PM
> Also, can anyone suggest a good book or any link that> helps me with linked lists and pointers(for C> Programming).Bruce Eckel's Thinking in C++ covers linked lists; you can find the paper edition pretty easily at a bookstore, library, Amazon.com, etc. and you can get it electronically from his site, http://www.mindview.net. If you really...
Posted in Java Answers Forum, Sep 6, 2003, 12:25 AM
Ah, the perils of copy-and-paste coding.
Posted in C# Answers Forum, Sep 4, 2003, 1:24 PM
Removing it is easy (and requires the command-line, of course):1. Open a command shell window (or "Command Prompt").2. Go to %SystemRoot%\Assembly (eg. "pushd %SystemRoot%\Assembly").3. Look for the actual location of the dll with the dir command like so "dir MyAssemblyName.dll /s"). You'll find it in some long directory name like...
Posted in C# Answers Forum, Sep 4, 2003, 12:59 PM
This is usually a OS thing, especially if you are talking about network shares.However, if what you are trying to do is control the contents of specific directories that your .net application uses, then you probably want to have a look at the FileSystemWatcher component. It is pretty simple to use, but you can also find articles about how to...
|