Page 1 of 3 123 LastLast
Results 1 to 16 of 40

Thread: Who's working this Christmas Eve?

  1. #1
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,164
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Who's working this Christmas Eve?

    Ok so i'm at work. I'm bored.

    I'm a front office developer, what that means is i nock up all sorts of applications/software-infrastructure as required for the desk I support. Been the junoir muggins is in today.

    But not one of the sodding traders is. Not to mention that, but the broker booze i've been given is truely sub-pa. Villalin Quincy 2006. Sometimes i hate been the youngest.

    Now the problem is, i can't do any real development, as I need more app servers. So i'm left bored, with the only work to be done GUI stuff (I HATE UI WORK!).

    So, I present you with this offering, the money clock so you can watch it tick by:
    Code:
    namespace Money_Clock
    {
        class Program
        {
            static void Main(string[] args)
            {
                Console.Write("Please Provide Your Hourly Pay In Pounds: ");
    
                decimal rate;
                while (true)
                    if (decimal.TryParse(Console.ReadLine(), out rate))
                        break;
                    else
                        ConsolePlus.WriteError("Invalid Input, Please Provide Hourly Rate as Decimal.");
    
                Console.Clear();
                DateTime started = DateTime.Now;
    
                rate = rate/36;
    
                while (true)
                {
                    Console.SetCursorPosition(0,0);
                    Console.Write("{0} Pence.",(rate * (decimal)(DateTime.Now.Subtract(started).TotalSeconds)).ToString("F"));
                    Thread.Sleep(1000);
                }
            }
        }
    throw new ArgumentException (String, String, Exception)

  2. #2
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,164
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Who's working this Christmas Eve?

    And the support class (this is all C# 2.0 or better btw)
    Code:
        public class ConsolePlus
        {
            private ConsoleColor _errorColour = ConsoleColor.Red;
    
            /// <summary>
            /// Writes to the console using the error 'style'.
            /// </summary>
            /// <param name="message">The message.</param>
            /// <param name="args">The args.</param>
            public static void WriteError(string message, params object[] args)
            {
                using (new ConsoleColorScope(ConsoleColor.Red))
                    Console.WriteLine(message, args);
            }
    
            /// <summary>
            /// Gets or sets the error colour.
            /// </summary>
            /// <value>The error colour.</value>
            public ConsoleColor ErrorColour
            {
                get { return _errorColour; }
                set { _errorColour = value; }
            }
    
    
            /// <summary>
            /// Sets the ConsoleColor, for only the time indended before reverting to the original.
            /// </summary>
            public class ConsoleColorScope : IDisposable
            {
                private readonly ConsoleColor _foregroundCol;
                private readonly ConsoleColor _backgroundCol;
    
                /// <summary>
                /// Initializes a new instance of the <see cref="ConsoleColorScope"/> class.
                /// </summary>
                /// <param name="ForegroundColor">Color of the foreground.</param>
                public ConsoleColorScope(ConsoleColor ForegroundColor)
                {
                    _foregroundCol = Console.ForegroundColor;
                    Console.ForegroundColor = ForegroundColor;
                    _backgroundCol = Console.BackgroundColor;
                }
                /// <summary>
                /// Initializes a new instance of the <see cref="ConsoleColorScope"/> class.
                /// </summary>
                /// <param name="ForegroundColor">Color of the foreground.</param>
                /// <param name="BackgroundColor">Color of the background.</param>
                public ConsoleColorScope(ConsoleColor ForegroundColor, ConsoleColor BackgroundColor)
                {
                    _foregroundCol = Console.ForegroundColor;
                    Console.ForegroundColor = ForegroundColor;
                    _backgroundCol = Console.BackgroundColor;
                    Console.BackgroundColor = BackgroundColor;
                }
    
                #region IDisposable Members
                ///<summary>
                ///Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
                ///</summary>
                ///<filterpriority>2</filterpriority>
                public void Dispose()
                {
                    Console.BackgroundColor = _backgroundCol;
                    Console.ForegroundColor = _foregroundCol;
                }
                #endregion
            }
        }
    throw new ArgumentException (String, String, Exception)

  3. #3
    Registered User
    Join Date
    Jul 2003
    Location
    Cornwall/Weston-Super-Mare
    Posts
    5,337
    Thanks
    438
    Thanked
    309 times in 262 posts
    • Behemoth's system
      • Motherboard:
      • Gigabyte mATX
      • CPU:
      • Phenom 2 X2 555 BE
      • Memory:
      • 8 Gig DDR3 Corsair XMS 3 1600 MHz
      • Storage:
      • 4 TB's Storage
      • Graphics card(s):
      • Gigabyte GTX 460 OC2
      • PSU:
      • OCZ StealthStream 2 600 Watt
      • Case:
      • Silverstone TJ08-E
      • Operating System:
      • Windows 7 64 Bit
      • Monitor(s):
      • HP x23LED
      • Internet:
      • BT Broadband

    Re: Who's working this Christmas Eve?

    Dude you are bored. What I'm moer amazed about is it's actually been about 6 years since I saw any programming code and kinda understood some of your code. It seems that ND isn't wasted after all.

    Oh and no I'm not working today, but I am working on boxing day

  4. #4
    Senior Member burble's Avatar
    Join Date
    May 2007
    Location
    Olney
    Posts
    1,138
    Thanks
    8
    Thanked
    90 times in 89 posts

    Re: Who's working this Christmas Eve?

    I've been off work since November 30th. It's going to be a struggle to go back next month.

  5. #5
    mutantbass head Lee H's Avatar
    Join Date
    Dec 2003
    Location
    M28, Manchester
    Posts
    14,204
    Thanks
    337
    Thanked
    671 times in 580 posts
    • Lee H's system
      • Motherboard:
      • MSI Z370 Carbon Gaming
      • CPU:
      • Intel i7 8700K Unlocked CPU
      • Memory:
      • 16 GB Corsair Vengeance 3200 LPX
      • Storage:
      • 250GB 960 EVO + a few more drives
      • Graphics card(s):
      • 6GB Palit GTX 1060 Dual
      • PSU:
      • Antec Truepower 750W Modular Blue
      • Case:
      • Corsair 600T White Edition
      • Operating System:
      • Windows 10 PRO
      • Monitor(s):
      • 27" Asus MX279H & 24" Acer 3D GD245HQ + the 3D glasses
      • Internet:
      • Virgin Media

    Re: Who's working this Christmas Eve?

    I'm Working here as well and then I've got to go do the xmas eve present dash for all the relatives

    I was going to do it over the weekend, but in the end I ended up travelling down the country, went clubbing and then travelled back yesterday after a small rest.

  6. #6
    G4Z
    G4Z is offline
    I'dlikesomebuuuurgazzzzzz G4Z's Avatar
    Join Date
    Sep 2003
    Location
    geordieland
    Posts
    3,172
    Thanks
    225
    Thanked
    141 times in 93 posts
    • G4Z's system
      • Motherboard:
      • Gigabyte GA 965P-DS3
      • CPU:
      • Intel Core 2 Quad Q6600
      • Memory:
      • 4gb DDR2 5300
      • Storage:
      • 2.5Tb
      • Graphics card(s):
      • Gigabyte HD4870 512mb
      • PSU:
      • Tagan 470W
      • Case:
      • Thermaltake Tsunami Dream
      • Operating System:
      • Vista 64bit
      • Monitor(s):
      • Dual Acer 24" TFT's
      • Internet:
      • 16mb sky ADSL2

    Re: Who's working this Christmas Eve?

    I'm at work, sat here wasting time because I can't be arsed to do any real work. yay yetisports.
    HEXUS FOLDING TEAM It's EASY

  7. #7
    Senior Member joshwa's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield, UK
    Posts
    4,842
    Thanks
    123
    Thanked
    67 times in 62 posts
    • joshwa's system
      • Motherboard:
      • PC Chips M577 AT/ATX
      • CPU:
      • AMD K6-2 500Mhz
      • Memory:
      • 128mb PC100 SDRAM
      • Storage:
      • 8GB Fujitsu
      • Graphics card(s):
      • 3dfx Voodoo 3 3000 AGP (16mb)
      • PSU:
      • ATX 500watt
      • Case:
      • Midi Tower AT
      • Operating System:
      • Windows 98 SE
      • Monitor(s):
      • 22" TFT Widescreen

    Re: Who's working this Christmas Eve?

    Gifts? What are these things you speak of?

    We get a tin of chocolates for the office as our "gift".

    And yes I'm working. Bah humbug.

  8. #8
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,276
    Thanks
    292
    Thanked
    837 times in 473 posts

    Re: Who's working this Christmas Eve?

    I'm always working. HEXUS never sleeps
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  9. #9
    It's good to be bad pauldarkside's Avatar
    Join Date
    Oct 2006
    Location
    Cornwall
    Posts
    2,930
    Thanks
    295
    Thanked
    378 times in 259 posts
    • pauldarkside's system
      • Motherboard:
      • ASUS Maximus VI Hero
      • CPU:
      • Intel Core i7-4770K & Corsair Hydro H80i
      • Memory:
      • Corsair Vengeance 32GB (4x8GB) 1600MHz DDR3
      • Storage:
      • Corsair Force GS 128GB, Crucial M500 480GB, WD Black 4TB
      • Graphics card(s):
      • EVGA GeForce GTX 780 Ti Superclocked
      • PSU:
      • Corsair Professional HX850W
      • Case:
      • Corsair Graphite 780T (White)
      • Operating System:
      • Windows 8.1 Pro 64bit
      • Monitor(s):
      • Asus ROG Swift PG278Q
      • Internet:
      • BT Infinity @ 78Mbps

    Re: Who's working this Christmas Eve?

    Not working here today - just putting off going to Asda until the last minute.

    @TheAnimus: Nice to see what I could have been earning mounting up though - had to import the Thread class - it's interesting to see how much one of my rollie/coffee breaks earns
    My only concern is should I hide my true identity? A costume maybe?

    0iD: Plus weeing in it every now & again does it good
    scaryjim: 10" is just a little large to hold comfortably in one hand, which makes it a lot harder to tap, swipe and generally interact with.

  10. #10
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,164
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Who's working this Christmas Eve?

    I've actually turned mine off now, i'm not sure if its healthy.
    throw new ArgumentException (String, String, Exception)

  11. #11
    Senior Member
    Join Date
    Aug 2005
    Location
    in a box
    Posts
    756
    Thanks
    14
    Thanked
    3 times in 3 posts

    Re: Who's working this Christmas Eve?

    I work at a college, there are about 8 people in and 4 IT Technicians to support them. The local council have shut for the day so heaven knows y we are in work. Still we have been told we can go at 12.30 and so its not to bad

    Permanently confused

  12. #12
    Asking silly questions menthel's Avatar
    Join Date
    Apr 2004
    Location
    Rainey Park...
    Posts
    5,077
    Thanks
    258
    Thanked
    97 times in 78 posts

    Re: Who's working this Christmas Eve?

    For the first time in 6 years I am off. No NHS christmas dinner etc and I am soooooo happy!
    Not around too often!

  13. #13
    Senior Member kopite's Avatar
    Join Date
    Sep 2006
    Location
    Liverpool
    Posts
    3,491
    Thanks
    80
    Thanked
    157 times in 126 posts
    • kopite's system
      • Motherboard:
      • Asus Maximus IV Gene-Z
      • CPU:
      • Intel Core i5 2500K
      • Memory:
      • 8GB DDR3 1600 MHz Corsair Memory Vengeance Black
      • Storage:
      • 128GB Crucial m4 for main drive. 3.5 TB of storage space over western Digital Drives
      • Graphics card(s):
      • Gigabyte NVIDIA GTX 970 G1 Gaming Edition
      • PSU:
      • 750W ANTEC TRUEPOWER
      • Case:
      • Silverstone Fortress FT03
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 1 x 27 inch dell Monitor 1 x 20 inch Dell monitor
      • Internet:
      • Virgin media 150MB

    Re: Who's working this Christmas Eve?

    Im working today and then again on boxing day

  14. #14
    Don't feed the trolls... tiggerai's Avatar
    Join Date
    Aug 2003
    Location
    Milk & Beans
    Posts
    9,286
    Thanks
    271
    Thanked
    479 times in 313 posts
    • tiggerai's system
      • Motherboard:
      • Gigabyte MA770T-UD3P
      • CPU:
      • AMD PhenomII 955BE
      • Memory:
      • 4Gb Corsair XMS DDR3
      • Storage:
      • Lots
      • Graphics card(s):
      • Sapphire X1950XT
      • PSU:
      • Hiper Type-R 550w
      • Case:
      • Antec lovely black thing
      • Operating System:
      • Windows 7
      • Monitor(s):
      • 2x 20" widescreen
      • Internet:
      • Pipexpants

    Re: Who's working this Christmas Eve?

    Quote Originally Posted by burble View Post
    I've been off work since November 30th. It's going to be a struggle to go back next month.
    You missed the trifle and the cheesecake and tiramisu... there were leftovers I polished off yesterday! Muahahaha.

    Quote Originally Posted by joshwa View Post
    Gifts? What are these things you speak of?

    We get a tin of chocolates for the office as our "gift".
    Lanson Black label Champers.... I love working corporate again

    I'm not working any of xmas this year, for the first time in my working life! It's lovely.

  15. #15
    Senior Member
    Join Date
    Jul 2004
    Location
    London
    Posts
    2,456
    Thanks
    100
    Thanked
    75 times in 51 posts
    • Mblaster's system
      • Motherboard:
      • ASUS PK5 Premium
      • CPU:
      • Intel i5 2500K
      • Memory:
      • 8gb DDR3
      • Storage:
      • Intel X25 SSD + WD 2TB HDD
      • Graphics card(s):
      • Nvidia GeForce GTX 570
      • PSU:
      • Corsair HX520
      • Case:
      • Antec P180
      • Operating System:
      • Windows 7 Professional x64
      • Monitor(s):
      • HP w2207 (22" wide)
      • Internet:
      • Rubbish ADSL

    Re: Who's working this Christmas Eve?

    I'm 'working' right now, but only a half day today SO all is good, off to finish the christmas shopping in Bristol later.

  16. #16
    Registered User
    Join Date
    Jul 2003
    Location
    Cornwall/Weston-Super-Mare
    Posts
    5,337
    Thanks
    438
    Thanked
    309 times in 262 posts
    • Behemoth's system
      • Motherboard:
      • Gigabyte mATX
      • CPU:
      • Phenom 2 X2 555 BE
      • Memory:
      • 8 Gig DDR3 Corsair XMS 3 1600 MHz
      • Storage:
      • 4 TB's Storage
      • Graphics card(s):
      • Gigabyte GTX 460 OC2
      • PSU:
      • OCZ StealthStream 2 600 Watt
      • Case:
      • Silverstone TJ08-E
      • Operating System:
      • Windows 7 64 Bit
      • Monitor(s):
      • HP x23LED
      • Internet:
      • BT Broadband

    Re: Who's working this Christmas Eve?

    Quote Originally Posted by tiggerai View Post
    You missed the trifle and the cheesecake and tiramisu... there were leftovers I polished off yesterday! Muahahaha.



    Lanson Black label Champers.... I love working corporate again

    I'm not working any of xmas this year, for the first time in my working life! It's lovely.
    Don't rub it in lol Working boxing day is no fun

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Hate Christmas @ Hexus!
    By Trippledence in forum General Discussion
    Replies: 14
    Last Post: 18-12-2005, 02:26 PM
  2. HEXUS and VIA's Super Christmas System Giveaway!
    By Steve in forum HEXUS Reviews
    Replies: 16
    Last Post: 08-01-2005, 08:23 PM
  3. HEXUS CHRISTMAS SALE
    By 5cupa in forum General Discussion
    Replies: 21
    Last Post: 28-12-2004, 02:49 PM
  4. Happy Christmas - Our Message to You.
    By DR in forum General Discussion
    Replies: 33
    Last Post: 26-12-2004, 11:52 PM
  5. HEXUS and VIA's Super Christmas System Giveaway!
    By Steve in forum General Discussion
    Replies: 22
    Last Post: 16-12-2004, 09:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •