Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. The holidays are over...

The holidays are over...

Scheduled Pinned Locked Moved The Lounge
csharpjavaphpdatabasequestion
22 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    Person andrei = new Person("Andrei Straut");

    Country france = new Country("France");
    adrei.FlyTo(france);

    Job devJob = JobFactory.CreateJob("Developer", 1000000);
    andrei.AcceptJob(devJob);

    try {
    andrei.DoJob();
    Console.WriteLine("Strange!!!");
    } catch (NotImplementedException ex) {
    Console.WriteLine("Done");
    }

    In case you're wondering what the hell 1000000 is, it's your salary :-)

    A Offline
    A Offline
    Andrei Straut
    wrote on last edited by
    #8

    That's....quite awesome actually. But at this line, it throws a NullReferenceException, and I don't know what to do. andrei.AcceptJob(devJob); Pleez help it's urgentzzzz :thumbsup: 5 for that snippet, really made my day!

    Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

    L 1 Reply Last reply
    0
    • A Andrei Straut

      Warning: May trigger tl;dr Just got back from a long, long vacation (2 and a half weeks), and not surprisingly, I find I'm more tired than when I left. No motivation to do any work whatsoever, just lazing around, doing "code review", and thinking about those beautiful, beautiful sunny days. Furthermore, I'm kinda worried, as I took the decision (which I think may have been rash) to go to France. Definitively. My girlfriend left there last year, and managed to secure a comfy job (at Mars...yes, the chocolate Mars) and a master's degree, and she's been pushing me to come to France too. After lots and lots of talks, I finally said yes, so now I'm preparing to leave everything behind and go there - starting October (I'm still looking for a job in Strasbourg, but no luck yet). On the other hand at least, I got a call today from a contractor I have been previously outsourced to, who needed some work on a program I developed a while ago, and seeing as the outsourcing company I used to work for is closed, they came directly to me. And the most important thing, they said they were perfectly ok with me working remotely (it's 1-2 month contract). However, as nothing is for sure yet, I still have nothing, so I still have no guarantee that I'll be fine, so still worried. So, did anyone go through anything like it? Leaving all behind and heading to...well...nothing? Any thoughts or advice? Should I post this in Q&A?

      Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

      Mike HankeyM Offline
      Mike HankeyM Offline
      Mike Hankey
      wrote on last edited by
      #9

      It's a lot harder to be happy than it is to start over!

      VS2010/Atmel Studio 6.0 ToDo Manager Extension
      Version 3.0 now available. There is no place like 127.0.0.1

      1 Reply Last reply
      0
      • L Lost User

        Person andrei = new Person("Andrei Straut");

        Country france = new Country("France");
        adrei.FlyTo(france);

        Job devJob = JobFactory.CreateJob("Developer", 1000000);
        andrei.AcceptJob(devJob);

        try {
        andrei.DoJob();
        Console.WriteLine("Strange!!!");
        } catch (NotImplementedException ex) {
        Console.WriteLine("Done");
        }

        In case you're wondering what the hell 1000000 is, it's your salary :-)

        B Offline
        B Offline
        Brisingr Aerowing
        wrote on last edited by
        #10

        :laugh: :thumbsup: That's gold!

        I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. Stephen Hawking

        1 Reply Last reply
        0
        • A Andrei Straut

          Warning: May trigger tl;dr Just got back from a long, long vacation (2 and a half weeks), and not surprisingly, I find I'm more tired than when I left. No motivation to do any work whatsoever, just lazing around, doing "code review", and thinking about those beautiful, beautiful sunny days. Furthermore, I'm kinda worried, as I took the decision (which I think may have been rash) to go to France. Definitively. My girlfriend left there last year, and managed to secure a comfy job (at Mars...yes, the chocolate Mars) and a master's degree, and she's been pushing me to come to France too. After lots and lots of talks, I finally said yes, so now I'm preparing to leave everything behind and go there - starting October (I'm still looking for a job in Strasbourg, but no luck yet). On the other hand at least, I got a call today from a contractor I have been previously outsourced to, who needed some work on a program I developed a while ago, and seeing as the outsourcing company I used to work for is closed, they came directly to me. And the most important thing, they said they were perfectly ok with me working remotely (it's 1-2 month contract). However, as nothing is for sure yet, I still have nothing, so I still have no guarantee that I'll be fine, so still worried. So, did anyone go through anything like it? Leaving all behind and heading to...well...nothing? Any thoughts or advice? Should I post this in Q&A?

          Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

          J Offline
          J Offline
          JimmyRopes
          wrote on last edited by
          #11

          Andrei Straut wrote:

          My girlfriend left [for] there last year, and managed to secure a comfy job ... she's been pushing me to come to France too.

          Andrei Straut wrote:

          So, did anyone go through anything like it? Leaving all behind and heading to...well...nothing?

          I hope your, perhaps former, girlfriend doesn't read this post. :wtf:

          The report of my death was an exaggeration - Mark Twain
          Simply Elegant Designs JimmyRopes Designs
          Think inside the box! ProActive Secure Systems
          I'm on-line therefore I am. JimmyRopes

          A 1 Reply Last reply
          0
          • A Andrei Straut

            Rage wrote:

            and Mars are paying quite good, so....

            Oh no, the girlfriend is with Mars, not me. And she's yet an apprentie, so...

            Rage wrote:

            Alsace is not the worst place on the Earth, so don't worry

            Yeah, I've already been to Strasbourg, actually spent the last year's Christmas and New Year there (the avatar photo is from the Notre Dame). Totally great city :thumbsup: EDIT (Wrongly pressed "Post Message"):

            Rage wrote:

            I would recommend you to look for a job in Germany

            I was also thinking about this too, and I would prefer a job in Germany to a job in France

            Rage wrote:

            Feel free to contact me when you are on Strasbourg, it would be cool to meet a CPian in real life

            Yeah, I was actually thinking about posting something in get-togethers.

            Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

            R Offline
            R Offline
            Rage
            wrote on last edited by
            #12

            Andrei Straut wrote:

            Oh no, the girlfriend is with Mars

            And I thought it was the opposite...[^]

            Andrei Straut wrote:

            I would prefer a job in Germany

            monster.de is your friend, then.

            Andrei Straut wrote:

            posting something in get-togethers

            :thumbsup:

            1 Reply Last reply
            0
            • J JimmyRopes

              Andrei Straut wrote:

              My girlfriend left [for] there last year, and managed to secure a comfy job ... she's been pushing me to come to France too.

              Andrei Straut wrote:

              So, did anyone go through anything like it? Leaving all behind and heading to...well...nothing?

              I hope your, perhaps former, girlfriend doesn't read this post. :wtf:

              The report of my death was an exaggeration - Mark Twain
              Simply Elegant Designs JimmyRopes Designs
              Think inside the box! ProActive Secure Systems
              I'm on-line therefore I am. JimmyRopes

              A Offline
              A Offline
              Andrei Straut
              wrote on last edited by
              #13

              Yeah, wrote that post in a bit of a hurry, didn't properly check for mistakes

              JimmyRopes wrote:

              I hope your, perhaps former, girlfriend doesn't read this post. :WTF:

              She is current (5 and a half year now) and I only meant that from the professional point of view (if she ever reads this)

              Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

              J 1 Reply Last reply
              0
              • A Andrei Straut

                Yeah, wrote that post in a bit of a hurry, didn't properly check for mistakes

                JimmyRopes wrote:

                I hope your, perhaps former, girlfriend doesn't read this post. :WTF:

                She is current (5 and a half year now) and I only meant that from the professional point of view (if she ever reads this)

                Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                J Offline
                J Offline
                JimmyRopes
                wrote on last edited by
                #14

                Andrei Straut wrote:

                I only meant that from the professional point of view (if she ever reads this)

                She may not get this far down in the thread! :-D

                The report of my death was an exaggeration - Mark Twain
                Simply Elegant Designs JimmyRopes Designs
                Think inside the box! ProActive Secure Systems
                I'm on-line therefore I am. JimmyRopes

                A 1 Reply Last reply
                0
                • J JimmyRopes

                  Andrei Straut wrote:

                  I only meant that from the professional point of view (if she ever reads this)

                  She may not get this far down in the thread! :-D

                  The report of my death was an exaggeration - Mark Twain
                  Simply Elegant Designs JimmyRopes Designs
                  Think inside the box! ProActive Secure Systems
                  I'm on-line therefore I am. JimmyRopes

                  A Offline
                  A Offline
                  Andrei Straut
                  wrote on last edited by
                  #15

                  I should bookmark a permalink to this, just in case. Maybe even make this page available offline

                  Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                  1 Reply Last reply
                  0
                  • A Andrei Straut

                    That's....quite awesome actually. But at this line, it throws a NullReferenceException, and I don't know what to do. andrei.AcceptJob(devJob); Pleez help it's urgentzzzz :thumbsup: 5 for that snippet, really made my day!

                    Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #16

                    andrei must be null ;-)

                    1 Reply Last reply
                    0
                    • A Andrei Straut

                      Warning: May trigger tl;dr Just got back from a long, long vacation (2 and a half weeks), and not surprisingly, I find I'm more tired than when I left. No motivation to do any work whatsoever, just lazing around, doing "code review", and thinking about those beautiful, beautiful sunny days. Furthermore, I'm kinda worried, as I took the decision (which I think may have been rash) to go to France. Definitively. My girlfriend left there last year, and managed to secure a comfy job (at Mars...yes, the chocolate Mars) and a master's degree, and she's been pushing me to come to France too. After lots and lots of talks, I finally said yes, so now I'm preparing to leave everything behind and go there - starting October (I'm still looking for a job in Strasbourg, but no luck yet). On the other hand at least, I got a call today from a contractor I have been previously outsourced to, who needed some work on a program I developed a while ago, and seeing as the outsourcing company I used to work for is closed, they came directly to me. And the most important thing, they said they were perfectly ok with me working remotely (it's 1-2 month contract). However, as nothing is for sure yet, I still have nothing, so I still have no guarantee that I'll be fine, so still worried. So, did anyone go through anything like it? Leaving all behind and heading to...well...nothing? Any thoughts or advice? Should I post this in Q&A?

                      Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                      D Offline
                      D Offline
                      Dr Walt Fair PE
                      wrote on last edited by
                      #17

                      Well, I quit a good job as an ex-pat and moved back home to go back into consulting just when the economy tanked. One has to be a little crazy and an optimist to strike off the beaten path, do something that makes them wonder if they were crazy, etc. Keep up the optimism, work hard, stay busy and things will work out.

                      CQ de W5ALT

                      Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                      A 1 Reply Last reply
                      0
                      • A Andrei Straut

                        Warning: May trigger tl;dr Just got back from a long, long vacation (2 and a half weeks), and not surprisingly, I find I'm more tired than when I left. No motivation to do any work whatsoever, just lazing around, doing "code review", and thinking about those beautiful, beautiful sunny days. Furthermore, I'm kinda worried, as I took the decision (which I think may have been rash) to go to France. Definitively. My girlfriend left there last year, and managed to secure a comfy job (at Mars...yes, the chocolate Mars) and a master's degree, and she's been pushing me to come to France too. After lots and lots of talks, I finally said yes, so now I'm preparing to leave everything behind and go there - starting October (I'm still looking for a job in Strasbourg, but no luck yet). On the other hand at least, I got a call today from a contractor I have been previously outsourced to, who needed some work on a program I developed a while ago, and seeing as the outsourcing company I used to work for is closed, they came directly to me. And the most important thing, they said they were perfectly ok with me working remotely (it's 1-2 month contract). However, as nothing is for sure yet, I still have nothing, so I still have no guarantee that I'll be fine, so still worried. So, did anyone go through anything like it? Leaving all behind and heading to...well...nothing? Any thoughts or advice? Should I post this in Q&A?

                        Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                        I Offline
                        I Offline
                        Iain Clarke Warrior Programmer
                        wrote on last edited by
                        #18

                        Andrei Straut wrote:

                        So, did anyone go through anything like it? Leaving all behind and heading to...well...nothing?

                        You've already been told off for referring to your better half as "nothing", so I'll resist. Taking your question seriously, I did just that. Left a job in the UK (OK, it wasn't 100% secure, but as much as most jobs were), and moved to Sweden to be with the (now) missus. Luckily, I left my old job pretty amicably and did a bunch of consulting work for them and previous customers. Then someone who read my articles approached me asking me to work for them. The interview was very backwards. Now, I work from home, have new friends, family (including baby boy), occasionally go to the office, and so on. Life ended up pretty good. I suppose I should make more of an effort with the language, but every here is so darn accomodating! That probably wouldn't be so true in DE or FR. Iain.

                        I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                        A 1 Reply Last reply
                        0
                        • I Iain Clarke Warrior Programmer

                          Andrei Straut wrote:

                          So, did anyone go through anything like it? Leaving all behind and heading to...well...nothing?

                          You've already been told off for referring to your better half as "nothing", so I'll resist. Taking your question seriously, I did just that. Left a job in the UK (OK, it wasn't 100% secure, but as much as most jobs were), and moved to Sweden to be with the (now) missus. Luckily, I left my old job pretty amicably and did a bunch of consulting work for them and previous customers. Then someone who read my articles approached me asking me to work for them. The interview was very backwards. Now, I work from home, have new friends, family (including baby boy), occasionally go to the office, and so on. Life ended up pretty good. I suppose I should make more of an effort with the language, but every here is so darn accomodating! That probably wouldn't be so true in DE or FR. Iain.

                          I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                          A Offline
                          A Offline
                          Andrei Straut
                          wrote on last edited by
                          #19

                          Iain Clarke, Warrior Programmer wrote:

                          I should make more of an effort with the language, but every here is so darn accomodating! That probably wouldn't be so true in DE or FR

                          Yeah, I heard people are quite picky with foreigners looking for jobs who don't speak the local language, which is perfectly understandable, and I support it.

                          Iain Clarke, Warrior Programmer wrote:

                          Taking your question seriously, I did just that ... Life ended up pretty good

                          It's good to know other people around here did that and ended fine. That's just what I was looking for.

                          Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                          1 Reply Last reply
                          0
                          • D Dr Walt Fair PE

                            Well, I quit a good job as an ex-pat and moved back home to go back into consulting just when the economy tanked. One has to be a little crazy and an optimist to strike off the beaten path, do something that makes them wonder if they were crazy, etc. Keep up the optimism, work hard, stay busy and things will work out.

                            CQ de W5ALT

                            Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                            A Offline
                            A Offline
                            Andrei Straut
                            wrote on last edited by
                            #20

                            Walt Fair, Jr. wrote:

                            Keep up the optimism, work hard, stay busy and things will work out.

                            Yeah, I may be worried, but I'm still optimistic. I'm thinking even if I fail, it's not like I'll die, get shot, starve to death or anything. I can always come back to my country, and try again later. Still, it's a big step to do (even bigger than when I left my local town to go work in Bucharest, which is still a tad away from family and most of the people I know), taking into consideration that I'm accustomed to supporting the future missus, and not the other way around (although I'm thinking it'll be fun to be the wife in the house, at least for a while :) )

                            Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                            1 Reply Last reply
                            0
                            • A Andrei Straut

                              Warning: May trigger tl;dr Just got back from a long, long vacation (2 and a half weeks), and not surprisingly, I find I'm more tired than when I left. No motivation to do any work whatsoever, just lazing around, doing "code review", and thinking about those beautiful, beautiful sunny days. Furthermore, I'm kinda worried, as I took the decision (which I think may have been rash) to go to France. Definitively. My girlfriend left there last year, and managed to secure a comfy job (at Mars...yes, the chocolate Mars) and a master's degree, and she's been pushing me to come to France too. After lots and lots of talks, I finally said yes, so now I'm preparing to leave everything behind and go there - starting October (I'm still looking for a job in Strasbourg, but no luck yet). On the other hand at least, I got a call today from a contractor I have been previously outsourced to, who needed some work on a program I developed a while ago, and seeing as the outsourcing company I used to work for is closed, they came directly to me. And the most important thing, they said they were perfectly ok with me working remotely (it's 1-2 month contract). However, as nothing is for sure yet, I still have nothing, so I still have no guarantee that I'll be fine, so still worried. So, did anyone go through anything like it? Leaving all behind and heading to...well...nothing? Any thoughts or advice? Should I post this in Q&A?

                              Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                              W Offline
                              W Offline
                              wizardzz
                              wrote on last edited by
                              #21

                              You're girlfriend works for a chocolate company? Then what the hell do you buy her when you fuck up?

                              A 1 Reply Last reply
                              0
                              • W wizardzz

                                You're girlfriend works for a chocolate company? Then what the hell do you buy her when you fuck up?

                                A Offline
                                A Offline
                                Andrei Straut
                                wrote on last edited by
                                #22

                                The only other thing that works. Flowers

                                Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups