Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Re:Interesting. (Score 1) 129

If the NK government collapses I think you might see a lot of Chinese citizens and other countries rushing into NK looking for fresh business opportunities. The deciding factor would be how the government collapsed and what is replacing it. Right now I think China is in a bind. I think they are afraid if they took a harder line and started issuing ultimatums NK would tell them to get bent and do so very publicly. China would end up looking like the US in dealing with Syria.

Comment Re:not on Linux (glibc getopt) (Score 1) 142

I believe you'll find that the standard behavior under Linux is the opposite of what you claim:

[~]$ ssh -o -Y test@example.com
command-line: line 0: Bad configuration option: -y

The `getopts` command in Bash works the same way:

[~]$ set -- -A -B
[~]$ getopts "A:B" opt; echo $opt; echo $OPTARG;
A
-B

As does `ls`:

[tmp]$ touch -- -t plain
[tmp]$ ls
-t plain
[tmp]$ ls -t
-t plain
[tmp]$ ls -I-t
plain
[tmp]$ ls -I -t
plain

(Tested in Debian Linux. The -I (--ignore) option to `ls` specifies a glob pattern to skip in the output.)

Even the test program in the getopt(3) manual page you linked to processes "-t -n" as a single option "-t" with argument "-n". The documentation simply states that "optstring is a string containing the legitimate option characters. If such a character is followed by a colon, the option requires an argument, so getopt() places a pointer to the following text in the same argv-element, or the text of the following argv-element, in optarg." There is nothing to indicate that following argv-elements starting with a dash are treated differently.

Options with optional arguments (like Perl's "-i" option) are not allowed to be split, so in this case "-A -B" would indeed be treated as two separate options. However, this would cause "-A B" to be processed as an argumentless "-A" and a separate positional argument "B" (equivalent to "B -A"), and not as a substitute for "-AB".

Comment Re:My what? (Score 1) 32

The place where News Corporations money went to die?

It's the place where every company that's bought them, went to die. News Corp is just one of many...the vultures already circle the building, and the managers can be heard screaming "bring out your dead programmers..."

Comment Re:Interesting. (Score 2) 129

It's surprising that China has not been more forceful with NK. China's leadership are all closet capitalists and are very pragmatic. Every move NK makes only increases the size of the US military footprint in the region. Japan and SK are requesting the US to deploy missile defense batteries in the region. Missile defense systems that could very easily be used to degrade China's offensive and defensive missile forces. That is the last thing China wants to see.

Comment Re:Surprised? (Score 1) 573

Please stop helping MSFT spread the myth that Windows 10 is free because it requires a valid Win 7/8 license which currently costs a MINIMUM of $100. The only "free" version of windows 10 is the "super duper extra spying" Win 10 Insider Edition, the rest? You have to give up (and yes give up, if you go longer than 30 days you better be ready to call MSFT as they WILL cancel your previous license) a $100 Windows 7/8 license to get the "free" Win 10.

Comment Re:Future of R, now that programmers use it? (Score 1) 102

As a statistician who's not a programmer, but who hangs out sometimes on slashdot and stackoverflow, it feels sometime like it's in danger of becoming just another language for programmers, instead of a tool for statisticians.

As a programmer who used to research programming languages, here's no danger of that at all.

It's not much of a stretch to say that no programmer really uses R. At most, programmers use the high-quality statistical libraries which only work with R. R is basically the best statistical packages every written bound together by one of the worst programming languages ever developed.

Comment Re:Uh... let me think about it (Score 3, Interesting) 386

I have mixed experiences with my Garmin Nuvi. On one hand, it often comes up with a really brilliant solution that seems daft right up until you magically arrive at your destination by the most brilliant route possible. On the other hand, sometimes it sends me several blocks out of the way for literally no reason whatsoever. It doesn't save me any stop signs or anything. I use it anyway, and mostly just trust it because sometimes it knows something really important like how to avoid an inexplicable one-way street, but I'd like it to put a little more effort into avoiding those pointless cases. And yes, I have traffic, but never has it lit up the map in one of those cases to suggest that it was doing me a favor.

Oh look, I have a 5 minute posting delay. How quaint.

Comment Re:Uh... let me think about it (Score 2) 386

Because local knowledge doesn't know about CURRENT traffic conditions or road closures or accidents or...

Neither does a GPS without an internet connection.

That's not true, for somewhat variable values of not true. I have a Garmin Nuvi 1450LMT IIRC, the LMT I'm sure about — it has liftime maps and traffic. The vehicle charging cable is also a receiver for traffic information. ISTR it's sent next to FM radio frequencies, but that could be complete horseshit. I've had it work when I've driven through metro areas.

Comment Re:So what should we do? (Score 1) 562

The net might have changed things enough. But it was a nightmare for me.
It was 20+ years ago.

Not only has it, but it did it a seriously long time ago for some models. For example, the really good 240SX mailing list is 20+ years old.

I wound up having to wait 6 weeks for parts, I hadn't realized I needed, to come from Japan. If I'd have known how long that was, I'd have just done the junkyard thing, but I was an optimist back then. It's not like they didn't have Jets flying the pacific.

My 240SX limited slip turned out to have come from a Z32 300ZX and not from a 240SX, so I needed Infiniti axles (I forget which now) to fit it into my S13 fastback. But all that information was readily available to me.

Comment Re:Excellent! (Score 1) 98

So you deny saying this?

I'm not denying anything. Why should I? For that matter, why should I even reply to you, after you've harassed me off-topic in a thread which had absolutely nothing to do with either you, or this subject?

Learn to behave like a civilized human being, and maybe people would be more inclined to have a civil discussion with you.

But I've told you that before, many times, to no avail.

Comment Re:What else would you have them do? (Score 1) 551

Was any of that meant to convince me that a conversation with you would be in the least bit fruitful? I am no more inclined to engage with your crazy.

I didn't expect to convince you of anything. I did want to show other people what kind of person you are, and that I was right about you all along.

To put your lying-via-cherry-picked-out-of-contexting in context, as it were.

Thanks for so easily handing me the opportunity.

Slashdot Top Deals

"Your stupidity, Allen, is simply not up to par." -- Dave Mack (mack@inco.UUCP) "Yours is." -- Allen Gwinn (allen@sulaco.sigma.com), in alt.flame

Working...