Click here to Skip to main content
15,898,950 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: So there I was... Pin
#realJSOP4-Oct-17 7:34
professional#realJSOP4-Oct-17 7:34 
GeneralRe: So there I was... Pin
Ravi Bhavnani4-Oct-17 7:49
professionalRavi Bhavnani4-Oct-17 7:49 
GeneralRe: So there I was... PinPopular
Richard Deeming4-Oct-17 9:34
mveRichard Deeming4-Oct-17 9:34 
GeneralRe: So there I was... Pin
#realJSOP5-Oct-17 1:15
professional#realJSOP5-Oct-17 1:15 
GeneralRe: So there I was... Pin
#realJSOP5-Oct-17 2:33
professional#realJSOP5-Oct-17 2:33 
GeneralRe: So there I was... Pin
Richard Deeming5-Oct-17 3:39
mveRichard Deeming5-Oct-17 3:39 
GeneralRe: So there I was... Pin
Tim Carmichael4-Oct-17 7:27
Tim Carmichael4-Oct-17 7:27 
GeneralRe: So there I was... Pin
#realJSOP4-Oct-17 7:37
professional#realJSOP4-Oct-17 7:37 
The issue is that it's an absurd way to represent the time.

They're using an int data type, so the number of seconds past midnight would have made more sense, because it requires the same amount of storage space to store 1 as it does to store 1000.

This means that in order to determine "the time", I had to write a method to parse the value instead of using
C#
TimeSpan span = TimeSpan.FromSeconds(1); 
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: So there I was... Pin
Herbie Mountjoy11-Oct-17 2:51
professionalHerbie Mountjoy11-Oct-17 2:51 
GeneralRe: So there I was... Pin
OriginalGriff4-Oct-17 8:05
mveOriginalGriff4-Oct-17 8:05 
GeneralRe: So there I was... Pin
dandy724-Oct-17 8:14
dandy724-Oct-17 8:14 
GeneralRe: So there I was... Pin
Jim_Snyder5-Oct-17 3:27
professionalJim_Snyder5-Oct-17 3:27 
GeneralRe: So there I was... Pin
#realJSOP4-Oct-17 8:16
professional#realJSOP4-Oct-17 8:16 
GeneralRe: So there I was... Pin
Mike Winiberg4-Oct-17 20:22
professionalMike Winiberg4-Oct-17 20:22 
GeneralRe: So there I was... Pin
jsc424-Oct-17 22:49
professionaljsc424-Oct-17 22:49 
GeneralRe: So there I was... Pin
Mike Winiberg5-Oct-17 0:25
professionalMike Winiberg5-Oct-17 0:25 
GeneralRe: So there I was... Pin
Michael Martin5-Oct-17 0:59
professionalMichael Martin5-Oct-17 0:59 
GeneralRe: So there I was... Pin
User 84204-Oct-17 10:53
User 84204-Oct-17 10:53 
GeneralRe: So there I was... Pin
Jörgen Andersson4-Oct-17 19:42
professionalJörgen Andersson4-Oct-17 19:42 
GeneralRe: So there I was... Pin
Nicholas Marty5-Oct-17 1:05
professionalNicholas Marty5-Oct-17 1:05 
GeneralRe: So there I was... Pin
Daniel Pfeffer5-Oct-17 9:38
professionalDaniel Pfeffer5-Oct-17 9:38 
GeneralRe: So there I was... Pin
Vark1114-Oct-17 9:27
Vark1114-Oct-17 9:27 
GeneralRe: So there I was... Pin
GKP19924-Oct-17 20:28
professionalGKP19924-Oct-17 20:28 
GeneralRe: So there I was... Pin
kalberts5-Oct-17 0:17
kalberts5-Oct-17 0:17 
GeneralRe: So there I was... Pin
englebart5-Oct-17 2:18
professionalenglebart5-Oct-17 2:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   441 votes