The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Could I get a translation

Last post 05-10-2008 7:10 AM by Physics Phil. 12 replies.
Page 1 of 1 (13 items)
Sort Posts: Previous Next
  • 05-08-2008 8:53 PM

    Could I get a translation

    Questioner:      sameera
    Category:     Java
    Private:     No
     
    Subject:     calander
    Question:     i want Java program..which after i run that.. then ask from user the first day of year and the year.... and then print the calendar of year which user typed by showing all month and days on that year.... TNX allot...

  • 05-08-2008 9:48 PM In reply to

    Re: Could I get a translation

    So the Java program should ask for the year and the first day of the year (which I assume means what day of the week the year starts with, since "Jan 1" doesn't really help). It should then display a calendar showing all months of that year.

    Pretty simple request. A few observations:
    1. It sounds distinctly like a homework question.
    2. You don't need to be told what day of the week Jan 1 is. You can calculate it.
    3. You don't really have to calculate anything -- just use a GregorianCalendar object.
    4. You don't really have to use GregorianCalendar, either. Runtime.getRuntime.exec("cal "+year)

  • 05-08-2008 10:06 PM In reply to

    Re: Could I get a translation

    Plz sned me teh codez.

    Reminds me of a programming assignment I had when I was taking PASCAL at the wee age of 15.  Except it was for a month and it accepted the first day and the number of days.

    To fill your mind with knowledge, we must start by emptying it


    Hey JimBastard, listen up: NO YOU CANT HAVE A PONY

    PLEASE SPAM:
    jtobin@ohioinstituteofhealthcareers.edu
    jtobin@ohiobusinesscollege.edu
  • 05-09-2008 8:34 AM In reply to

    Re: Could I get a translation

    i want Java program..which after i run that..

    This supports my theory that the two point ellipse is a surefire indicator that the author is insane. Do I need to mention that Spectate Swamp is also very fond of it?

    Keep your eyes open and you'll find many more examples.

  • 05-09-2008 9:17 AM In reply to

    • keigezellig
    • Not Ranked
    • Joined on 01-08-2008
    • Venlo, The Netherlands
    • Posts 11

    Re: Could I get a translation

    Translation not found??
  • 05-09-2008 11:23 AM In reply to

    Re: Could I get a translation

    PSWorx:

    i want Java program..which after i run that..

    This supports my theory that the two point ellipse is a surefire indicator that the author is insane.

    Well, only implicitly. Explicitly, it's a sure-fire indicator that the author is using MS Word to compose their email

    That is, of course, as you infer, a fairly sure sign that the author is insane. 

     

  • 05-09-2008 12:43 PM In reply to

    Re: Could I get a translation

    Are we posting message board questions with extremely bad English today?

    Oh heck I'll play

    Admit have a var "my_var" filled with USER1, is possible to find in Outllok address list if USER1 existis if existis resolve the USER1 and return complete name...

    There are three kinds of people: those who make things happen, those who watch things happen and those who wonder what happened.
  • 05-09-2008 2:09 PM In reply to

    Re: Could I get a translation

    please also send me the translations thanks

  • 05-09-2008 3:13 PM In reply to

    Re: Could I get a translation

    DaveK:

    PSWorx:

    i want Java program..which after i run that..

    This supports my theory that the two point ellipse is a surefire indicator that the author is insane.

    Well, only implicitly. Explicitly, it's a sure-fire indicator that the author is using MS Word to compose their email

    That is, of course, as you infer, a fairly sure sign that the author is insane. 

     

     

    What does Word do that produces a double dot?  I've seen that plenty of times; they can't all be due to MS.

    I also have one guy who keeps putting a double comma after "Thanks", but I suspect he just typo'd his .sig. 

    What Would Brian Boitano Do?
  • 05-09-2008 6:16 PM In reply to

    Re: Could I get a translation

    belgariontheking:

    Plz sned me teh codez.

    Reminds me of a programming assignment I had when I was taking PASCAL at the wee age of 15.  Except it was for a month and it accepted the first day and the number of days.

     

    Plz send me teh codez, indeed! Nothing that a GregorianCalendar can't do. new GregorianCalentar(year,0,1);

    The best "help me do mah homework" situation ever must have been that dude who just didn't get it, and tried to compile my whole explanation, thinking it was "teh codez". Copied it down to the

    // this is where you should add stuff to do when expr1 is true

  • 05-09-2008 7:48 PM In reply to

    Re: Could I get a translation

    cconroy:
    What does Word do that produces a double dot?  I've seen that plenty of times; they can't all be due to MS.
    I think what he's referring to is that if you type dot dot into word, it makes it an ellipse.

    I would verify this, but where would this forum be if people didn't make claims without backing them up? 

    To fill your mind with knowledge, we must start by emptying it


    Hey JimBastard, listen up: NO YOU CANT HAVE A PONY

    PLEASE SPAM:
    jtobin@ohioinstituteofhealthcareers.edu
    jtobin@ohiobusinesscollege.edu
  • 05-09-2008 7:53 PM In reply to

    Re: Could I get a translation

    belgariontheking:
    where would this forum be if people didn't make claims without backing them up? 
     

    Wait... Did asuffield come back?

    Yes, I have been banned. Thanks to all for a good time.

    Tired of incompetent moderation?
    Wondering where all the clever discussion went?
    Try irc.slashnet.org #TDWTFMafia.
    We don't ban or kick and everyone is welcome.*

    *Stupid people will be mocked mercilessly and encouraged to commit suicide, however.
    Filed under:
  • 05-10-2008 7:10 AM In reply to

    Re: Could I get a translation

     

    belgariontheking:

    cconroy:
    What does Word do that produces a double dot?  I've seen that plenty of times; they can't all be due to MS.
    I think what he's referring to is that if you type dot dot into word, it makes it an ellipse.

    I would verify this, but where would this forum be if people didn't make claims without backing them up? 

    Autocorrect changes ... into an ellipsis (… or \u2026) (not an ellipse, that's a conic section) when it detects the end of a word (by you typing a non-alphanumeric character).

     I think the double dots are just typos.

Page 1 of 1 (13 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems