|
Only in Javascript, where 0.5 can resolve as either 0 or 1, so programmers duplicate the first two entries of an array just to be safe.
Marc
|
|
|
|
|
0.5 could probably resolve to NaN in JavaScript
|
|
|
|
|
Promoting gender equality and encouraging all people to study programming requires re-tuning the semantics of PRISS (patriarchy reinforcing inequality syntax and syntax).
Here is the proposed nomenclature standard for default first item value for all programming languages currently under consideration by the ISO-66610842 working group:
-1000 : for WASP hetero males
-50 : for WASP hetero females
-1 : for trans-sexual m-to-f, or f-to-m, who regret the surgery
0 : for trans-sexual m-to-f, or f-to-m, who have had surgery, or, having had surgery, are happy with the result
1 : for trans-sexual f-to-m or m-to-f who have not had gender reassignment surgery
2 : for hermaphrodite persons, bi-sexuals, and schizophrenics.
3 : for celibate religious, clergy, or other ascetics
The committee recognizes, of course, that these adjustments are necessary to correct the heinous heritage of the way that computer languages subliminally promoted the most repressive capitalist-puritan, racist, sexist, ageist, colonialist, economic, social, and political institutions.
The two members of the committee who pointed out that the current proposal has no specific index for a large part of the population of the world have been unanimously voted out. The two schizophrenic members of the committee have had their motion that they receive two votes each rejected.
The proposal by Sandor Rossel, and W. Balboos, floated by one of their secret shell-companies, aka "Bootle," behind which they conceal their dark-web efforts to maintain the status quo, to allow use of floating point indexes is under serious consideration, but opinion is sharply divided, with one faction strongly promoting the idea as being inclusive, egalitarian, and, an equally vehement faction opposing the idea who state they believe it is a "cop-out, a form of moral cowardice, denial, etc."
Both sides have agreed to suspend meetings until the metal detector is installed.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
modified 21-Sep-16 13:51pm.
|
|
|
|
|
BillWoodruff wrote: The proposal by W. Balboos to allow use of floating point indexes Your entire proposal has been rejected as the result of a bureaucratic error. It wasn't actually W. Balboos who proposed floating point indices, but Stan Kelly-Bootle
|
|
|
|
|
Okay, Sandor, I've fixed that up for you, now.
cheers, Bill
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
Meh, if someone runs their shop as a parliamentary democracy, it's their own fault. I was not aware there is even a discussion about that. Any serious programmer will use 0.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
I'm very serious about programming, but sometimes I just don't have a choice (some third party libraries working with Excel in code use 1, so does Excel I think).
|
|
|
|
|
I do believe he was just being silly. Besides, we all know any serious programmer uses the weight differentials of microbial dust partials found on the motherboard. You and your zeros. I laugh at them.
Jeremy Falcon
|
|
|
|
|
I think a bootcamp is a paramilitary democracy.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
Well, the most successful large software project in history is the Linux operating system. It is probably not paramilitary, but try to make Linus Torvalds to compromise on stuff like that.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
Hi Kamen, Depends on what you mean by "large," and "successful." There are all kinds of ways you could define that: [^] ... if you were talking about mainframe servers and supercomputers, yes, Linux dominates, but, step out of that niche (an important niche, a critical niche), and you are in a different universe.
Of course, I believe that Linux is one of the most complex, largest, open-source projects, ever.
cheers, Bill
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
Yeah well, android is actually Linux, just to be fair.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
Victorian police warn of harmful letterbox USB drives | ZDNet[^]
Yes but who's so naive to do that? It's like opening an attachment from an unknown sender! Oh, wait...
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
I read the headline and assumed USB had been around for over a Century!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
How many here have not yet set their USB behavior to "do nothing" when a new device is plugged in?
".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
|
|
|
|
|
It's still not enough if the device is not properly a pendrive but a composite device, it may exhibit a second drive with the drivers (aka the virus) that are picked up by Windows.
Zeroeth rule: you do not insert in a unprotected machine something of unknown origin;
First rule: use an antivirus;
Second rule: use an antivirus/firewall with sandbox capability if you MUST break rule 0.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
I believe that there are USB devices that can still trigger malware insertions due to the windows box polling the USB to find out what is plugged in, e.g. removable device, printer, etc. etc. so it can display it correctly and register it onto the system.
|
|
|
|
|
Not only Windows. A prepared USB device can do a lot of things (see for example Top 5 USB Hacks that PWN You[^]).
If I would have to analyse such a device I would use a Raspberry Pi without network connection and write a clean image to the SD card aftwerwards. But even the Pi would be blown by the USB Killer shown at the above link.
|
|
|
|
|
How could that happen in Canada? I mean it's rather impolite, isn't it?
Or, making up a quip: the drives are the newest version of a "Royal Canadian Mount"*
* KSS because only two of three words are suggestive and they are cancelled out by Canada reference.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Alternative reply, referring to title:
Health advice: don't put anything unknown in your ports or you risk infections
And there's heard a collective sigh of relief from countless Gerbils.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
As it's getting to the end of th sailing season, SWMBO and myself decided to take a four day sailing weekend, starting on Friday. In case a client needed remote support, I planned to take my laptop with me. When I turned the laptop on on Thursday, I had to wait about 20 minutes for MS to phuque up update my machine.
Come Friday, it booted fine, I did a couple of hours work, and then shut down to head for the Marina. Usual blue screen - Do not turn your computer off etc etc ad nauseam. No 'by your leave' or 'we can do it later'. Just 'Do not turn off your computer'. Of course, I was not able to get back into the machine to change the 'when I shut the lid' option to something other than 'Switch off' and if I stuffed the laptop into a suitcase or grip it would die from overheating. I just grabbed my ancient netbook, and left the machine deliberating.
Now, suppose I had been going on a business trip, and the taxi was waiting at the door to take me to the airport. These would be my choices:
0. Slam the lid shut and hope for the best, and end up with no computer, screw up the trip and get fired.
1. Leave the laptop behind, screw up the trip and get fired.
2. Wait for it to finish, miss the 'plane, screw up the trip and get fired.
3...Well, you get the picture.
As far as I am concerned, this makes Windows 10 utterly useless, and not fit for purpose as a laptop OS. For instance, you turn on the machine to give an important presentation in a client's office - and MS kindly lock the machine for the next 20 minutes.
So, to summarize,
AS A LAPTOP OPERATING SYSTEM WINDOWS 10 IS NOT FIT FOR PURPOSE
Here endeth the second rant - the first one I wrote on Friday would have got me banned instantly.
|
|
|
|
|
Turn off the updates. Seriuosly. Been there with Win7, done that. It happened only once that I actually needed an update (my TomTom wasn't connecting with the PC and there was an update). Selected it manually and installed, then disabled.
If the system is so unstabel to need several updates per week, I remove it and put an older one.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
den2k88 wrote: Turn off the updates. Seriuosly. Been there with Win7, done that
Well, obviously you haven't been there with winten as that option isn't existing anymore.
What you can do is to open services and disable Windows Update (wuauserv).
|
|
|
|
|
Jörgen Andersson wrote: open services and disable Windows Update (wuauserv)
Guess what I have just done?
However, would the average business user know about that? I suspect not.
|
|
|
|
|
I used to disable it that way because juggling between several different OS seriously hampered with my GUI capabilities.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|