• Member Avatar for jwenting
    jwenting

    Replied To a Post in Quebec Referendum

    best way to hold a referendum. Make sure nobody goes and votes, then claim you can ignore the outcome because no representative percentage of the electorate showed an interest. You've …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Bad Grammar

    yes, that one's bugged me for a long time. On a similar level as laundry detergent commercials claiming their product "washes whiter than white". Or commercials claiming that "our product …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Is the TAB going to replace the laptop ?

    There exist already tablets that can have keyboards attached to them, they aren't replacing laptops because they're still cumbersome to use. The main drawback of tablets as is is the …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in How come this evaluates to true for two different String objects

    mind that the == comparison in this specific case can't be relied upon to return false. The runtime (and even the compiler in this simplified scenario) might determine to optimise …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in 2D Side Scroller Collision Detection

    Each rectangle is a tile, or can be thought of as living inside a tile if it's rotated. What you need is to determine the bounding boxes around your objects, …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in pl/sql

    "if id of table"? What "id of table"? You make no sense. The table has no id. If you select out of it and pass a record identifier you should …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Creating types/tables

    start with the data. That's the important bit after all. So you have entities "STUDENT", "COURSEMODULE", "CLASSSESSION", "SCHEDULE". In addition you need to have some way to record attendance, so …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Java RMI help (in 'running' a simple ''Hello World'' program

    @James shows how long ago it is I last used RMI, during my preparations for the 1.5 SCJD assignment around that same time which still required generating stubs using rmic …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Dog Ears

    I know. But the comparison holds. If he didn't have health insurance for himself, his own doctor's bills would be of similar magnitude.
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in C++ vs Java for system programming

    hmm, even C++ may be too high level for that. C and ASM are where it's at.
  • Member Avatar for jwenting
    jwenting

    Gave Reputation to keyboard_me in Which programming language or languages are best suited for graphics programming

    C/C++ are most suitable for Graphics programming. There are available libraries with functions that enable you to control 3d rendering and positioning. It is better to use C/C++ in graphics …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in version numbers

    they have meaning, but the meaning is indeed mainly for marketing purposes. When they introduced 10g, "grid computing" was "hot". Now it's "cloud computing" so it's 12c. And i? Probably …
  • Member Avatar for jwenting
    jwenting

    Gave Reputation to NerdoManiac in Create a bot

    Well I assume you want to cheat in a game using a bot... http://hackerbot.net/tutorials/86-how-to-create-bot-click-key-mouse-macro-script Using a simple mouse and keyboard recorder will work. :)
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Are computer scientists really programmers?

    In any real world (rather than acedemic) environment, people tend to do whatever needs doing and not insist on "that's not part of my job description as per paragraph 325423.542435423 …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Needs help

    banks still try to run their own cables like that? Thought they'd stopped doing that over a decade ago and now use microwave or satellite links. Much cheaper to set …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in How do I sort an array but maintain the original index?

    The only ways would be to either make a class containing the index and value, as James suggests, to create a separate array containing the indices of the values in …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Dog Ears

    Your personal doctor and meds would cost the same without them having bulk contracts with your insurance company, Stuugie. That's part of the thing many people tend to forget. Your …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Some enum wrangling

    could work. This is the way I've been doing it since enums were introduced, based on experimenting with some (at the time) colleagues. May well be there are more efficient …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Yes no checker

    switch (x.toUpperCase) { case "YES": ... break; case "NO": ... break; ... } much clearer overall than a jungle of nested if statements. Just about the only thing added to …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Trip through the US

    That's mainly for people who spent too much time on the floor in the casinos and can't afford the price of the ticket home...
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Dog Ears

    yes, that's a high price. Depending of course on what's included. And where you are. If it's a small remote community with few pets and a single vet it's bound …
  • Member Avatar for jwenting
    jwenting

    Created Some enum wrangling

    Similarly, you can add more fields to an enum and simply provide accessor methods to retrieve them. For example you could change it to have an extra field indicating an …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in how to call enum string in field, resort array

    And for formating the output of the enum (rather than just returning a String containing the exact value like MARS in this code). Mind this might under some conditions cause …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Homework: Pyramid

    snippets is fine, but entire solutions to common homework problems is not. For example the following is helpful to a lot of people in real situations, but useless to a …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Dog Ears

    Cutting your dogs' ears is illegal (and rightly so, it's animal abuse) in many places. Would you like to have your ears cut off, AD? If not, why do you …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in i need help in code

    and what's stopping you from finding that code? It's not as if there's not a gazillion examples of just that out on the web, in tutorials, books, your course notes, …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in how many time the method is called

    define a variable called lastFoo of type Date... Logical, once you think of it.
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Trip through the US

    Chrishea, emissions are only part of the equation. Other pollution (and those "emissions" in that chart count only CO2, not ALL emissions, you can count on it that those are …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in How JVM manage the memory and processing?

    you actually understood the question?
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in how many time the method is called

    and don't forget that calling the method that increases or returns the counter introduces a call to the class :)
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Trip through the US

    > Batteries have different environmental problems (toxic waste rather than CO2 & air pollution) and most can now be recycled mitigating their environmental impacts. wrong. Most batteries are dumped, with …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Trip through the US

    > And why isn't it? compared to other cars in the same price range it's no more fuel efficient, yet has a higher environmental impact to manufacture and later dispose …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in BMI Calculator

    `cout << "you're morbidly obese!" << endl` There you go.
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in .class file structure

    not compiler version, file format version. Java 6 has compiler version 1.6.x, file format version 50. Java 7 has compiler version 1.7.x, file format version 51. Java 8 has compiler …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Minecraft Modding Help

    and oh, youtube videos are notoriously bad as a teaching tool. While they can help, in combination with written material, to make concepts clearer, they're not to be used as …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Trip through the US

    Used to drive a Honda Insight, which has pretty similar performance to a Prius. Nice car, but not really fuel efficient compared to cars in the similar price range like …
  • Member Avatar for jwenting
    jwenting

    Gave Reputation to realhuman54 in creating an instant messenger program in java

    Im thinking of starting an instant messenger/chat service.How do go about this...a step by step process from start to finish on ho to create an instant messenger (like mxit) would …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Archaic Email Validation Trivia

    well, it is a valid email address, just not an existing one. That validator probably knew about a lot more address forms than just the (now) normal name@domain.tld form. E.g. …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Trip through the US

    To check whether you're allowed to camp free and where in and around national parks, check the national park service website at http://www.nps.gov/index.htm . Yosemite is well worth visiting, unless …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Things I hate about TV shows

    > Current Tv shows actually have around 40 to 43 minutes, but the credits, the opening, the next episode ad are included as well. So basically, there is only 38 …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Things I hate about TV shows

    > Which is worse in movies/shows from the 80s: the teased hair or the synthesizer music. what's bad about either?
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in project searching

    It's for all the kids demanding we do their thinking for them and create their "final year project idea". For myself I know what I want when I get home …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Libraries across computers?

    you can access jars on remote systems IF you can add the location of the jars to the application classpath. Now to find a JVM that allows for classloading using …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in facebook on a mission

    they'd better not try, or they'll have a fight on their hands. I'm not giving the place up that easily :)
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Trip through the US

    Done that in the past, but last time was 10 years ago. Hotels+rental car is far more flexible than campervan, as you're far more mobile (especially in towns and cities …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in collections

    yes, seems like the print statement is placed outside the method, which is illegal and generates a compiler error.
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in when to use paper book and when ebook?

    yes, you can add notes to an eBook. But try easily looking back through them in context... Much easier to do with a dead tree than with a dead electron.
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in Java application program to help determine students' grade

    public class Grading { public static void main(String... args) { System.out.println("you fail!"); } } That's pretty much the standard grade for the typical homework question... In your case, right off …
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in project searching

    well, still waiting for that project idea generator. I'm sure you can make that networked...
  • Member Avatar for jwenting
    jwenting

    Replied To a Post in C++

    do you own homework, kiddo.

The End.