Click here to Skip to main content
15,924,039 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: 60-80 hours a week Pin
Al Chak21-Feb-15 22:12
Al Chak21-Feb-15 22:12 
QuestionNot a programming question... Pin
Sander Rossel19-Feb-15 9:17
professionalSander Rossel19-Feb-15 9:17 
GeneralRe: Not a programming question... Pin
harold aptroot19-Feb-15 9:25
harold aptroot19-Feb-15 9:25 
GeneralRe: Not a programming question... Pin
PIEBALDconsult19-Feb-15 9:28
mvePIEBALDconsult19-Feb-15 9:28 
GeneralRe: Not a programming question... Pin
Sander Rossel19-Feb-15 10:08
professionalSander Rossel19-Feb-15 10:08 
GeneralRe: Not a programming question... Pin
harold aptroot19-Feb-15 10:19
harold aptroot19-Feb-15 10:19 
GeneralRe: Not a programming question... Pin
Sander Rossel20-Feb-15 12:04
professionalSander Rossel20-Feb-15 12:04 
GeneralRe: Not a programming question... Pin
harold aptroot20-Feb-15 22:10
harold aptroot20-Feb-15 22:10 
You're still looking at it as a function that means anything for finite values. And this:
Sander Rossel wrote:
O(3^2) = 9
does not work at all. Big O gives sets of functions, and here we have O(32) = O(9) (that part is true), but then following the definition of O, that will contain all constants. 1 is in O(9), and 1000000000 is also in O(9). O(9) is the same set as O(1). So filling in some constants tells you exactly nothing, all information has been deleted. Filling in some finite n doesn't mean anything. O(n2) is a set of functions that includes n2, 0.01n2 - 1000, 1000n2+1000n and an infinite number of other functions that all grow quadratically in their limit. You simply cannot take O(n2) and fill in an n, you don't know which function you have!

If you really must use exact values, there is something that does work: plot the points you get and look at the curve they form. It will look like the right half of a parabola.
Sander Rossel wrote:
That sorting a list with 9 elements takes 9 times as many steps as a list with 3 elements?
Close enough. It tells you that, in the limit, sorting a list with 3n elements will take 9 times as long as sorting a list with n elements.
GeneralRe: Not a programming question... Pin
Sander Rossel21-Feb-15 1:14
professionalSander Rossel21-Feb-15 1:14 
GeneralRe: Not a programming question... Pin
harold aptroot21-Feb-15 1:39
harold aptroot21-Feb-15 1:39 
GeneralRe: Not a programming question... Pin
Sander Rossel21-Feb-15 2:49
professionalSander Rossel21-Feb-15 2:49 
AnswerRe: Not a programming question... Pin
Marc Clifton19-Feb-15 9:30
mvaMarc Clifton19-Feb-15 9:30 
GeneralRe: Not a programming question... Pin
Sander Rossel19-Feb-15 10:02
professionalSander Rossel19-Feb-15 10:02 
GeneralRe: Not a programming question... Pin
Richard Deeming19-Feb-15 10:26
mveRichard Deeming19-Feb-15 10:26 
GeneralRe: Not a programming question... Pin
Sander Rossel20-Feb-15 11:55
professionalSander Rossel20-Feb-15 11:55 
AnswerRe: Not a programming question... Pin
Worried Brown Eyes20-Feb-15 1:06
Worried Brown Eyes20-Feb-15 1:06 
GeneralJust discovered this 6 year old gem Pin
Marc Clifton19-Feb-15 8:15
mvaMarc Clifton19-Feb-15 8:15 
GeneralRe: Just discovered this 6 year old gem Pin
PIEBALDconsult19-Feb-15 9:26
mvePIEBALDconsult19-Feb-15 9:26 
GeneralRe: Just discovered this 6 year old gem Pin
Marc Clifton19-Feb-15 9:35
mvaMarc Clifton19-Feb-15 9:35 
GeneralRe: Just discovered this 6 year old gem Pin
Brady Kelly20-Feb-15 2:17
Brady Kelly20-Feb-15 2:17 
GeneralBruce Dickinson undergoes cancer treatment Pin
Wendelius19-Feb-15 6:30
mentorWendelius19-Feb-15 6:30 
GeneralRe: Bruce Dickinson undergoes cancer treatment Pin
jeron119-Feb-15 6:43
jeron119-Feb-15 6:43 
GeneralRe: Bruce Dickinson undergoes cancer treatment Pin
den2k8819-Feb-15 8:00
professionalden2k8819-Feb-15 8:00 
GeneralRe: Bruce Dickinson undergoes cancer treatment Pin
Wendelius19-Feb-15 8:03
mentorWendelius19-Feb-15 8:03 
GeneralRe: Bruce Dickinson undergoes cancer treatment Pin
Uwe Keim19-Feb-15 19:40
sitebuilderUwe Keim19-Feb-15 19:40 

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.