|
..Lounge starts from here....
"When you don't know what you're doing it's best to do it quickly"- SoMad
|
|
|
|
|
Well, creating chaos is a big job, but somebody has go to do it; otherwise we'd never appreciate beauty, or have aesthetic feelings.
Wish I could help in some way other than the verbose insanity I am often posting now. If you and your staff care to go for a retreat to Thailand, I know some places that might be inspirational.
cheers, Bill
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant
|
|
|
|
|
BillWoodruff wrote: Well, creating chaos is a big job, but somebody has go to do it
I much appreciate your assistance, Bill. I haven't had time recently to properly stir the pot here, and it's good to have competent rabble-rousing help we can rely upon.
Will Rogers never met me.
|
|
|
|
|
Eventually ... negativity pokes itself in it's own eye.
|
|
|
|
|
If your answers are right and accepted by users also then its wrong thing that any one down vote your posts And I seen that many people taking it on joke side but its not good, How can any one ignore that if he is answering right and others down vote his answer just for FUN, As per my view CP has to track that user and take needful step for that. And I seen many people are saying just ignore it its wrong no one can ignore it.
|
|
|
|
|
I am no guru in Javascript but I do know that I can use parseInt to convert textbox value to int. So I used it in one of the application I am working on that detects robot number and take action accordingly. We have 25 robots and application works fine with all of them except no 8 and 9. The textbox was displaying robot number as 01,02,03,...25. When robot no 8 turn up at the launch pad application simply did not fire any function it suppose to. My first thought was it must be something to do with number less then 10 but it was working fine with robots 1 to 7 so next I put a debugger on to see what is going on and watch parseInt convert 08 and 09 to 0. In Javascript parseInt consider strings starting with 0 as base 8 and that was the culprit.
parseInt("01") returns 1
parseInt("02") returns 2
parseInt("03") returns 3
parseInt("04") returns 4
parseInt("05") returns 5
parseInt("06") returns 6
parseInt("07") returns 7
parseInt("08") returns 0
parseInt("09") returns 0
Lesson learned : use parseInt(textvalue,base) function
Zen and the art of software maintenance : rm -rf *
Math is like love : a simple idea but it can get complicated.
|
|
|
|
|
virang_21 wrote: parseInt("01") returns 1
virang_21 wrote: parseInt("08") returns 0 Interesting! But I am afraid I have to ask. I am not a web developer, so I must be missing something . Can you please explain: http://jsfiddle.net/y62ww3yw/[^]
Whether I think I can, or think I can't, I am always bloody right!
|
|
|
|
|
See http://es5.github.io/#E[^], search for "octal" on that page.
The behaviour changed. Starting the string with 0 is no longer allowed to screw you over with a "surprise octal". But effectively that means it depends on the implementation, with some doing it and others not, so effectively the situation is even worse now.
|
|
|
|
|
According to ECMA standard any string that not start with '0x' should be interpreted as 10 base...However not all browsers implement it in kine with the standard...
For instance Opera and Safari will return 0, but Chrome and Firefox will return 8...
The best practice is always provide base...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
So MS just bought Minecraft maker Mojang for $2.5 BILLION
That's 125,000,000 interest a year!!
This has spurred me on to finish PooperPig !!!!!
PooperPig - Coming Soon
|
|
|
|
|
_Maxxx_ wrote: has spurred me on to finish PooperPig All you had to do is eat more fiber.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I read that Microsoft keeps 90% of its cash assets, outside of the U.S. They plan on keeping Minecraft where it is at, in Sweden, I believe.
Soon the license fee will $600 and you will have to have a Microsoft login and Steve will become 3 dimensional player/character. (i'm joking here)
Sucks, really.
|
|
|
|
|
Slacker007 wrote: (i'm joking here)
History would suggest that it's no joke.
Will Rogers never met me.
|
|
|
|
|
I think they were confused and thought that MineCraft was a bitmining applciation
PooperPig - Coming Soon
|
|
|
|
|
https://youtu.be/XLHx3vO7KJM[^]
This geek rewrites the first installment of Doom series as a printer firmware, then uploads it to the printer via a wireless vulnerability. Now we can play games on printer!!
|
|
|
|
|
|
Why don't they just rename the Insider to "The Leslie", to save time?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Hey!
I do try to be prompt, you know
TTFN - Kent
|
|
|
|
|
So it's taken him 20 years to do?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Those geeks work with my brother.
|
|
|
|
|
Archibald Ives has made his last escape.
Clicky[^]
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
"No..., Horses - I was a jockey!"
RIP
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
|
|
I seriously cannot decide.
I find some of the answers to the questions amazing. But there is alot of dribble on there meaning Questions like the following "Are the bathrooms clean in Iowa or do you all have outhouses?"
Not sure? Other opinions about and opinion site?
Probably just the normal reaction, to the normal intelligence of people on them there interwebs.
To err is human to really mess up you need a computer
|
|
|
|