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

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re: I still don't want it (Score 2) 280

I mostly agree with you, but to me, the major problem with PowerShell is that it's basically a REPL for a C#-like programming language. If I wanted to write C#, I'd launch Visual Studio.

Take the GetChildItem and error message reportage you brought up. The fact that "dir" is implemented in terms of GetChildItem and it's easy to discover that accidentally is a *good thing*, the same sort of thing that so many of us geeks used to praise Smalltalk for. The real downside here is that PowerShell errors are basically stack traces, and successful returns are full-on .NET objects, which turns shell use into a kind of software development activity.

All of that would be fine if what I was trying to do is write durable software. The thing about Unix-style interactive shell use, though, is that it's ephemeral. I'm not after a durable, clean, long-lived solution. I just need a command I can type in a second or so, and as soon as that command has successfully executed, I can forget it.

I think PowerShell is great *technology* but a bad user experience.

The Unix community said, "Look, the shell is a great programming environment, you can whip ad hoc things up quickly and easily," so Microsoft said, "Hey, we know how to build programming tools. We've got this great .NET thing sitting right here...let's make a shell out of that!" The problem is that C# was designed to be written down into *.cs files, saved into a version control system, and compiled to executables. It is not particularly well-suited to interactive, one-off, ad hoc shell commands.

Comment Re: A bit much for parody? (Score 1) 565

Sorry, misinformation.

Apparently the few free weapons offered through the CFA are loans only.

Still, ~$600 for a used M1 Garand vs $1,700 for a bare-bones Springfield Armory M1A is a pretty good deal.

The tail end of this thread gives current information on availability and such: http://forums.thecmp.org/showt...

As for the M1911s, it looks like that's gotten stuck in a political mire again. Oh, well.

Comment Re: A bit much for parody? (Score 1) 565

> The CMP doesn't give guns away for free

It does, but only to qualified applicants. In this case, it means one gun, and only to those in a CMP-affiliated club, most of which are youth-oriented. Many high-school ROTC programs are affiliated with the CMP, for example.

The sales to other citizens of the US are how they fund themselves these days, since the US spun CMP out as a private corporation under Bill Clinton. When I said "government-sponsored," I was referring to the fact that the guns CMP sells and donates come from US military arsenals. Prior to 1996, the CMP was administered by the US Army, and thus needed no additional source of funding.

Consequently, you could make the argument that Bill Clinton wanted to disarm poor urban youths. The financially well-off, after all, have no particular need for the CFA; we can buy new-production M1As.

> Last I looked, they had nothing left

They've got an ecommerce site up: http://marksmanship.org/sales....

I'm sure a large part of the restriction on supply is that so much of what they were offering is simply gone now. The US Army hasn't used the M1 Garand since the early 1960s.

Last year, there were 10,000 M1911s offered through the CFA, though predictably, those were snapped up right quick.

If this program were continued logically from its past behavior, they'd be offering Vietnam-era M16s now, complete with NFA tax stamp. I'm no expert, but as far as I can tell, that would be perfectly legal, though politically toxic.

Comment Re: A bit much for parody? (Score 1) 565

> the stories I see on the news are 'unarmed black man shot by cops.'

Part of that is because the media doesn't wait for the trial to start reporting "facts", which is how we get Trayvon Martin, a poor "unarmed" black boy shot by a white man. Then months later, we find out that the kid /was/ armed...with a sidewalk. It's still assault with a deadly weapon, so George Zimmerman walked free. But not after the media and anti gunners roasted him for a year and a half. How does that guy put his life back together?

As for poor crazy white guys getting off easy, we shoot 'em in this state: https://en.wikipedia.org/wiki/...

Sad.

Comment Re: A bit much for parody? (Score 5, Informative) 565

> it is promoting arming black people using some kind of charity.... it will strike fear in the heart of NRA supporters.

There actually is a US government-sponsored nonprofit offering free guns to qualified citizens. It is called the Civilian Marksmanship Program. (http://thecmp.org) It's 113 years old this year. They don't restrict their giveaways by race. As for the NRA, I've never heard anything but positive noises from them about the program. So much for the NRA only supporting armed white guys.

> The asymmetric enforcement of second amendment rights is the core of NRA and its followers mission.

Point me to the position paper on their web site saying that.

I've been to NRA meetings. Down here in the southwest, we don't get so many "black" people at them, but we do get plenty of brown people. (Hispanics and Native Americans.) The table at the last event I attended was 50/50 Hispanic and white. As far as I can tell, the only color the NRA cares about is green.

> with fingers on the trigger can walk into departmental stores

NRA is against that.

It's their second rule of gun safety: keep your finger off the trigger until ready to shoot. You'll get kicked out of any well run event if you violate it. (http://training.nra.org/nra-gun-safety-rules.aspx)

> pick arguments with police officers,

1st amendment.

> insult the police

I see that regularly here on Slashdot, often highly rated.

> terrorize play grounds with impunity.

That's called brandishing, and it's illegal in all 50 states.

Plus there's the 1000 foot rule around school playgrounds. It's a federal felony if you carry inside that border and don't qualify for one of the few exceptions. And if you do qualify, you're obeying the law.

> black Americans are also citizens with full second amendment rights.

Damn straight. There is no human right restricted to only some citizens.

> if they exercise it, they will be shot by police without a second thought

[citation needed]

Oh, I'm sure you can find cases of legally armed black people getting shot by the cops, but if you actually go looking, you'll find Americans of all brown shades (including that shade we call "white") getting shot by cops without proper justification.

> if I fear for my life I have the right to kill" is accepted as a valid defense for police officers.

Wrong. There are 4 or 5 tests a defendant must pass in order to avoid a charge of manslaughter or murder, depending on where you are in the US. An imminent threat of grievous bodily harm or death is only one of them. Miss any of the 3 or 4 others and your case falls apart.

Andrew Branca (a constitutional law professor and 2nd Amendment expert) summarizes it nicely here: https://lawofselfdefense.com/t...

> This ad brings out the hypocrisy of the NRA followers

This NRA member wants Americans of all shades and creeds to exercise their 2nd Amendment right.

Better trim that broad brush down a bit.

> That is why NRA is acting swiftly.

The NRA is acting swiftly because this "ad" puts words in their mouth that you'll never read in their publications, nor hear in their leadership's speeches. It's basically a lie.

Comment Re: Nonsense (Score 1) 388

Follow the thread back to HBI's first post. ("Idiots") He's the one who brought up the hosts file. I've just been trying to explain the real world consequences of doing that, in order to puncture the idea.

His other vague notion ("shadow DNS") explains nothing. Who would administer it? What protocol would it use, and how does that solve anything.

All we've got here are handwavings on par with third rate 1980s cyberpunk novels.

Comment Re: Nonsense (Score 1) 388

So, no ChromeBooks, tablets, or smartphones allowed on your darknet, then? No IoT, unless you're willing to blow the BoM cost, power draw, or physical size budget?

Who manages this monster file, anyway? Some central authority, perhaps? Nope, that gets is right back into the same paper canoe.

How often do you sync? With DNS, new info propagates effectively instantly, barring caching. Do that with your system, though, and the whole planet has to resync just because Joe Babatunde of Nigeria decided to re-IP his CounterStrike server. Even with rsync, you just increased the load time of every page on the Internet by at least 10x. Congrats on setting back all the progress we've made on the World Wide Wait by 2 decades.

Keep in mind that you're trying to replace a protocol that fits into a single UDP packet, for the most part.

Comment Re:Nonsense (Score 1) 388

Distributed darknet crypto-geeks have a pretty poor track record of creating unbreakable systems, too.

SSL/TLS: Launched 1994, sold as impervious, significantly compromised roughly once a year ever since

PKI: Same story as SSL, except you also get fun design decisions that allow foreign governments and corporate IT to impersonate any host they like

Tor: Launched 2002, all onion layers pierced by 2012, requiring only sufficient funding

Bitcoin: Decentralized, anonymous, encrypted to the hilt, billed as economically sound, it goes through market crashes that make Wall Street look sane, is infested with more scum an villainy than a Tattooine nightclub, and in the end isn't really all that anonymous anyway, for much the same reason that a Tor veil can be broken.

Silk Road: Launched 2011, collapsed 2013.

Silk Road 2.0: Re-launched 2013, shut down 2014.

Comment Nonsense (Score 2) 388

DNS was created in 1984 to replace the old flat HOSTS.TXT system, at which time the file contained only "several thousand" entries, according to one source I found. Maintenance and distribution of the file was already becoming a problem by that point.

The oldest actual HOSTS.TXT file I found for download was from 1990, and contained about 9,200 lines. (No link; don't want to spam someone's Internet history server just to prove a point. Do your own Googling if you don't believe me.)

There are single data centers with more than a few thousand public-facing IPs in use.

As for this vague handwavy idea of a shadow domain name system, what's going to make that immune from the same sorts of attacks? There's this vague notion that if it's distributed and encrypted, it will be impossible to kill, but guess what? DNS is distributed and encrypted already.

Comment Re: A pretty low requirement (Score 1) 432

That's exactly my point. Whatever goal the CS community sets for itself on the road toward AGI, as soon as we achieve it, we redefine "intelligence" to not include it.

At some point, we're going to have a machine competent enough to demand its voting rights, then we get to fight the 1860s-1960s civil rights battles all over again. "It can't vote, it's just a computer!"

Comment Re:A pretty low requirement (Score 5, Insightful) 432

I'd say we keep raising the bar.

"If a computer can play chess better than a human, it's intelligent."
"No, that's just a chess program."

"If a computer can fly a plane better than a human, it's intelligent."
"No, that's just an application of control theory."

"If a computer can solve a useful subset of the knapsack problem, it's intelligent."
"No, that's just a shipping center expert system."

"If a computer can understand the spoken word, it's intelligent."
"No, that's just a big pattern matching program."

"If a computer can beat top players at Jeopardy, it's intelligent."
"No, it's just a big fast database."

Comment Re:The US gov has turned rogue ! (Score 1) 272

That last paragraph isn't too clear. Allow me to clarify it.

If if all rights are individual rights, then any law that denies specific individuals the freedom to exercise that right is unconstitutional. You can't say, "This right belongs to these people over here, but not to you because you are not in this special class of people." There are no special classes, as far as the US Constitution is concerned.

Slashdot Top Deals

Disc space -- the final frontier!

Working...