Help..
I need an Answer for this.
How many VB programmers does it take to change a light bulb ?
This is the first question Microsoft Visual Basic Certification exam ...
Help..
I need an Answer for this.
How many VB programmers does it take to change a light bulb ?
This is the first question Microsoft Visual Basic Certification exam ...
Are you serious?
0 - it's a hardware problem ;)
471; one to write, one to writeCode:GetLightBulbHandle() as hnd
, one to writeCode:QueryStatusLightBulb() as Boolean
...Code:GetLightSwitchHandle() as hnd
2 - One holds the light bulb and the second turns the chair around ;)
None, a pianist can do it with his left hand.
(Sorry, wrong forum...)
If it were here in Argentina, I would say 3: 1- one to actually change the bulb, 2- other to make the berbecue (no big work goes out without one) 3- a government inspector to certify that the work is well done.
I'd say 100... One for changing the bulb and 99 to click the error messages ;)
I would say 4
1 to write this
1 to write thisCode:Type LOCUDT
X As Long
Y As Long
End Type
1 to write thisCode:Declare Function GetBulbHandle Lib "Bulb32" (ByVal LocationX As LOCUDT, ByVal LocationY As LocUDT ByVal Watt As Integer) As Integer
and one to write thisCode:Declare Function SetBulbPos Lib "Bulb32" (ByVal NewLocX As LOCUDT, ByVal NewLocY as LOCUDT, ByVal BulbHandle As Long)
Code:
Sub SetPos()
Dim lngRet As Long
Dim lngBulbHandle As Long
lngBulbHandle = GetBulbHandle(500, 60, 100)
lngRet = SetBulbPos(500, 60, lngBulbHandle)
End Sub
Private Sub Command1_Click()
Call SetPos
End Sub
there, it takes 4 VB programmers to change a lightbulb
I'd say all programmers in universe.
If we remove one programmer we have our universe collapse in mass decrease, so we need all programmers to be online
There's a lot more programmers than that!Quote:
138072701
How do you know that meg?
Maybe we have
1
or
31409750237456923469282973459345978
but theres probably
138072701
because, that's what my app told me
What's this App do? Count all the people in the world?
Hmm - not sure that you need an app to do that <g>Quote:
Originally posted by Megatron
What's this App do? Count all the people in the world?
FWIW, according to http://metalab.unc.edu/lunarbin/worldpop there's just over 6 thousand million (6e9) on the planet at the moment.
Projections only go up to the end of 2037, where (according to this) there'll be 10 thousand million people (1e10).
6 thousand million, is the same as 6 billion
Ohhh - that largely depends on which side of the pond you're on I think <g>Quote:
Originally posted by denniswrenn
6 thousand million, is the same as 6 billion
from http://www.mcn.net/~jimloy/billion.html
[Edited by Shabble on 05-29-2000 at 01:03 AM]Code:Number of zeros U.S. & scientific community Other countries
3 thousand thousand
6 million million
9 billion 1000 million (1 milliard)
12 trillion billion
[snip]
number of zeroes
[snip]
600 centilion
[snip]
999999999999999999999999999999 kedamaniljon
infinity
Ok my app does calculate this from a formula:
Amount of people/amount of kedamans + amount of megatrons ^amounts of shabbles mod amounts of denniswrenns
Code:Amount of people/amount of kedamans + amount of megatrons ^amounts of shabbles mod amounts of denniswrenns
= 6000000000
------------
1 + 1^1
---
1
= 6000000000
----------
1 + 1
= 6000000000
----------
2
= 3000000000
There, using your formula, there are 3,000,000,000 programmers.
One writes code which changes the bulb, and all the others try to figure out his code. :D
Ok, the formula didn't work except that the answer is correct. We have exactly 168072701 programmers, 138072701 was a typo
so there must be 168072700 people, ok who is the 168072701th guy? The values are in hex, so you probably know what causes thatCode:?168072700/1+1^1/1
168072701
Operator precidence I assume - tryQuote:
Originally posted by kedaman
so there must be 168072700 people, ok who is the 168072701th guy? The values are in hex, so you probably know what causes that [/B]Code:?168072700/1+1^1/1
168072701
Nowt to do with hex I'm afraid.Code:?168072700/(1+(1^1/1))
Why not?
168072700 is not the number of people in the world. It's 6 billion. your formula said that it suppose to be the number of people in the world.
Meg, it is hex:6040266496 in dec
Why i type that number in my Windows Calculator, the numbers change...when i switch from dec to hex than back to dec. The hex value stays the same but the dec doesn't.
Windows calulator has a small problem - it's limited to the numbers it can display in hex.Quote:
Originally posted by Megatron
Why i type that number in my Windows Calculator, the numbers change...when i switch from dec to hex than back to dec. The hex value stays the same but the dec doesn't.
The maximum number it can display (when converting between bases) is:
4,294,967,295 decimal or
FF,FF,FF,FF hex
Typing in 4,294,967,296 then converting to hex converts it (internally I assume) to 1,00,00,00,00 hex which gets truncated - at the top end. All that's left is 0 which is (one hopes) the same in both decimal and hex.
Basically any numbers over 4,294,967,295 are treated mod 4,294,967,295 until they're under 4,294,967,295 for the purposed of conversion from and to hex.
The above applies equally to octal and binary conversions also.
There - that's 10 minutes wasted <g> Perhaps I should do some work now - I'm sure there's something more constructive that I can do other than pick M$ Calc to bits :)
Hehe, got you now, shall i post the function?
Only 1 to actually change it - but at least 10 managers / supervisors to give an opinion on the best way to "achieve the objective"
It only takes 1 programmer if you download this file:
http://www.vb-world.con/home/electri...changebulb.ocx
How many times did the programmer press f1?Quote:
How many VB programmers does it take to change a light bulb ?
yay1
0 they tell the client its a 'Feature' that means they need the new version of the software for their home pc :afrog:
One to search for the current hardware's driver.
One to code a driver for the new hardware.
One to create an interface between the current hardware and the new driver.
One to update the BIOS on the current hardware. (LightBulbTM ME was obselete, so they needed a LightBulbTM XP OS to support the new software.)
One to design a program to automatically eject the current hardware.
One to catch the old hardware as it falls and inspect it for bugs.
One to design a program to install the new hardware.
One to actually interface the current hardware with the new driver.
Five to test the new hardware's compatability with the old hardware.
Three to go tell the manager that they got the problem solved.
Hmm.. sounds like you need 16 to me...
Quote:
Originally Posted by timeshifter
Then add 2 more to convince the boss they need to move to LightBulb.NET so they can use LB#.
Tg
oh just to let you know, my goal was to bring the oldest topic i could find back :thumb:
Having done significant research, I found that my prior answer was slightly flawed and have made the appropriate adjustments, leaving the final answer to be:
- One to search for the current hardware's driver.
- One to code a driver for the new hardware.
- One to create an interface between the current hardware and the new driver.
- One to update the BIOS on the current hardware. (LightBulbTM ME was obselete, so they needed a LightBulbTM XP OS to support the new software.)
- One to design a program to automatically eject the current hardware.
- One to catch the old hardware as it falls and inspect it for bugs.
- One to design a program to install the new hardware.
- One to actually interface the current hardware with the new driver.
- Five to test the new hardware's compatability with the old hardware.
- Three to go tell the manager that they got the problem solved.
- Two to try and convince the manager that LightBulbTM.NET is much more efficient and less costly.
- One to write a brand new driver for LightBulbTM.NET and interface it with LightBulbHolderTM XP.
- Three to debug the new system.
- One to tell the manager that the project was scrapped due to an anomoly in LightBulbTM.NET.
- One to hire an electrician to take care of the problem professionally.
Thus, the correct answer is 24.
Hold on... after late breaking techniques in the art of light-bulb changing, I've determined that there are actually 3 needed for the last step...
Windows users are mentally incapable of attending to any kind of light-fitting malfunction.
I'm sorry... I don't have much choice... and XP Pro treats me good...
"There's always a choice Luke."