×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Study Finds US Is an Oligarchy, Not a Democracy

HiThere Re:TFS (and perhaps TFA) has it wrong (715 comments)

FWIW, a republic CAN be a democracy. At least in principle, and if you aren't too picky about exact definitions. (I'm not asserting that the US states were ever more of a democracy than was classical Athens, however.)

yesterday
top

The Security of Popular Programming Languages

HiThere Re:Subtle attack against C/C++ (183 comments)

It will if you're using C or C++.

FWIW, *most* of the text I'm working with is ASCII-7, but some of it isn't. Short quotation in, e.g., Greek. I need to be able to count the chars, etc. Utf-32 is an immense waste of space...and I already expect to be doing a lot of paging because of excessive memory use.

yesterday
top

The Security of Popular Programming Languages

HiThere Re:Subtle attack against C/C++ (183 comments)

C++ (and do a lesser extent C) lose support because of their extremely poor support for utf8. And the absurd part of it is that they could easily do a good job. Utf8 is just a byte array with various routines to interpret the code. Glibc does a reasonable job for a C library...not ideal, but reasonable.

All the array needs is a way to address a chunk by character # rather than by byte #, a way to copy of a character or a slice of chars, and a way to determine the general character classification of any character. Also a few methods: first(), last(), hasnext(), hasprior(), next() and prior(). And these all "sort of" exist, except getting the general character classification. (Do note that these functions need to operate on utf-8 characters rather than on bytes.) But several different ways of doing this are already known. Vala, e.g., handles it without difficulty, and is able to emit C code (using Glibc libraries).

So it's not a programming difficulty that's holding things up. It's the standards bodies...or, perhaps, some members of them.

But I've looked at C++11, and it is not a satisfactory answer. Vala has a good answer. D (Digital Mars D) has a different good answer. Even Python3 has a pretty good answer. (I don't like that in Python you can't determine memory allocation within the string.) Also Racket, etc. But C++ doesn't.

2 days ago
top

The Security of Popular Programming Languages

HiThere Re:Wonder how Ada 2012 would fare... (183 comments)

It's hardly a solved problem. There are approaches that can be made to work, but that's not the same thing. The current approaches are all clumsy, and often that's a charitable description. It's usually doable. Saying anything beyond that is fulsom praise.

OTOH, because different languages have different basic derived structures, it's often not clear exactly what the best approach would be, even when one is considering things carefully. For one purpose the best I've been able to come up with is marshalling everything into a byte array, and then separating it back out. Doable, but hardly what I'd call "a solved problem". Probably an insoluble problem because the different languages map the same concept differently internally. So you need to deal with it on a special case by special case basis.

2 days ago
top

The Security of Popular Programming Languages

HiThere Re:Wonder how Ada 2012 would fare... (183 comments)

Perhaps you need to define what you mean by "more general purpose". I tend to consider C the most general purpose of languages, because it *isn't* specialized to some task. It's true that , e.g., FoxPro was better at interfacing to the FoxPro database, but that's NOT being general purpose, that's being special purpose.

OTOH (to get back on thread) I don't consider C a very secure language BECAUSE it is lacking in specializations. This means you need to keep creating, e.g., hash tables from scratch, and every time you do it you are likely to introduce an error.

Ada is in an in-between state. It's very secure against some types of errors. The facility for defining specific types is a particular instance. If one defines a meters type, then one cannot store an inches type into it...unless one uses a numeric literal, because one needs to allow instances to be created from numeric litrals. OTOH, this very security introduces verbosity, and verbosity is a common entry point for errors. (I used the meters/inches example because of the nortorious example of the space probe where that was misused. Ada did NOT save the day. And the reason that it didn't was because doing things properly would have been too verbose.)

In principle, every "Turing complete" language is as general purpose as every other. Practical considerations are the distinction between them. If you're doing database programming, then you are less likely to make mistakes if you use a language that contains extensions specialized to make database use easier. (I barely count embedded SQL, because while SQL is reasonably great for manipulaitng databases, it's lousy at interfacing to programming languages. Everything either needs to be converted into a string, or a blob, and blobs are clumsy to handle.) But note that these "databse extensions" are specializations away from "general purpose".

2 days ago
top

Stem-Cell Research Funding Institute Is Shuttered

HiThere Re:Sequester strikes again (86 comments)

I don't think that's the answer this time. This time it appears that only one adequate proposal was received.

about a week ago
top

Stem-Cell Research Funding Institute Is Shuttered

HiThere Re:Well (86 comments)

This doesn't mean that just any proposal that mentions the magic words should get the nod. This seems to be a case where only ONE adequate project was proposed.

about a week ago
top

Stem-Cell Research Funding Institute Is Shuttered

HiThere Re:So Obama canceled stem cell research? (86 comments)

No, that was McCain and Palin. If people has seen a better choice they might have gone with it.

FWIW, I may have voted for Obama, I can't recall, but if so it was only as the lesser of two evils. He probably was that. This isn't much as praise, but it's the best I've got in stock.

about a week ago
top

Stem-Cell Research Funding Institute Is Shuttered

HiThere Re:So Obama canceled stem cell research? (86 comments)

If that was a joke, possible, it was a rather poor one. I think it was probably also tasteless, but as I can't identify where the joke lies, I'm not certain.

about a week ago
top

Why There Are So Few ISP Start-Ups In the U.S.

HiThere Re:Different views on a free market (223 comments)

You don't need a specific law for it to be regulation of the market. Yes, it's fraud. But if you want an unregulated market, you want one in which fraud is permissible.

P.S.: Adam Smith appeared to believe that a free market implied that there would be sufficiently good information about rival goods to enable a potential customer to evaluate which was better, and probably even whether any of them were desireable. This, however, can only be (partially) achieved in a regulated market.

Please Note: That can you bought which say it contains 3 servings and 0 grams of sodium per serving may well contian more sodium that some heart patients could safely consume. And it may be more common for one person to consume the entire can at one time than for it to be divied into 3 separate servings (for either separate people or separate episodes of consumption).

about a week ago
top

Why There Are So Few ISP Start-Ups In the U.S.

HiThere Re:Different views on a free market (223 comments)

Actually, a free market would be an unregulated market, were such a thing to exist. This doesn't make it desireable, and, in fact, no such thing has ever existed. The closest that I can think of are various blackmarkets, where all sorts of competition are allowed, including killing off the competition. Those are still officially regulated, but in practice are frequently only minimally regulated. (Killing off you competitors will often lead to a serious investigation by the police.)

N.B.: All laws against deceptive marketing or mislabeling of what you are vending are infringements on the free market, as are any regulations against killing your custiomers.

The really amazing thing is that people think a free market is desireable. This is because they are usually only considering certain degrees of freedom. (Which ones tend to vary in an unexpressed way between individual proponents.)

HOWEVER: Once you accept that the market will not be free, you run smack up against "Who will watch the watchmen?". Regulatory capture is so frequent that to ignore it is foolish, but no currently used approach has proven effective in the long term.

about two weeks ago
top

Why There Are So Few ISP Start-Ups In the U.S.

HiThere Re:For God's Sake, Internet is a LUXURY not a UTIL (223 comments)

You missed on education. Cuirrently at least some schools require that the students have internet access to get assignments. Possibly for other reasons, I don't have a kid in school now, but a friend does, and here daughter is required to get her school assignments over the internet. Actually over the javascript web. I didn't ask whether Flash was required.

about two weeks ago
top

It's Time To Plug the Loopholes In Pipeline Regulation

HiThere Re:Easy fix: regulate the courts (163 comments)

You are making assumptions about their goals.

The US legal system derives from the British which, since the Magna Charta, has been about ensuring that nobody who is powerful enough to overthrow the government wouldn't lose more than they would gain by doing so. So the courts attempt to provide a veneer of justice while actually finding in favor of those with the most power, including wealth as a form of power. They don't always do that, but that's always the way to bet. The problem is you don't always know all the players.

Please note: I believe that the Civil Rights movement was fostered by the Dixiecrats repeatedly flouting the desires of the Democratic party, and voting with the Republicans. That's not the way it looked on the ground, and there were easy justifications based around equity, and popular mores, but those had been ignored for nearly a century. OTOH, another factor was a bulge in the population in the early 20's, when people tend to act more idealistically and without fully counting costs. So it's not all for one reason.

about two weeks ago
top

Was Eich a Threat To Mozilla's $1B Google "Trust Fund"?

HiThere Re:Abolish marriage solves the problem. (564 comments)

Well, passing the Turing test may be further away than I suggested, after all, many people have failed the Turing test.

The thing about corporations is that the same people can be the corporate officers of more than one corporation...and if I understand correctly, a corporation is enough of a person to be one of those officers. So the AI could go "sponsor shopping".

Given our conservative legislative system, I don't see AIs being given personhood through special legislation within the current century, but getting it by being a corporation seems already possible. And If I've got my legal theories correct (dubious) once you get three AIs, they can elect each other to be their own corporate officers, so you have something vaguely resembling a "bottom-up family" where you CAN choose your relatives.

about two weeks ago
top

It's Time To Bring Pseudoscience Into the Science Classroom

HiThere Re:Unfalsifieable (470 comments)

If I understand recent studies on the placebo effect correctly, you don't need to deceive your customers (though that may make it more effective).

about two weeks ago
top

It's Time To Bring Pseudoscience Into the Science Classroom

HiThere Re:I don't think people care (470 comments)

But if I'm reading my history correctly, the distinction between existing in the mind and existing in the physical world was not as clear when the term was created. Ghost and geist (as in zeitgeist) are clearly from the same root, and probably originally meant the same thing. Casper, etc., is NOT the traditional meaning of ghost, but merely a perversion created by Hollywood.

about two weeks ago
top

It's Time To Bring Pseudoscience Into the Science Classroom

HiThere Re:I don't think people care (470 comments)

Seriously trying meant if I didn't win enough to buy a meal I wouldn't have any food for the next 12 hours. So I really wanted to win. (I had a Greyhound bus ticket to get home, and that was it, besides the quarter. I'd been a bit foolish about how I spent money earlier, but gambling wasn't involved.)

Please note, since we are talking about parapsycology, gambling schemes are out of context. But I really wanted to win, and that's in context.

OTOH, it's also clearly not statistically significant.

about two weeks ago
top

Was Eich a Threat To Mozilla's $1B Google "Trust Fund"?

HiThere Re:Bias in Everything (564 comments)

Please notice that there is no evidence that Google did or said anything. This story is pure speculation about why Eich resigned. Plausible, but not convincing.

FWIW, I could make up an equally substantiated story that it was because he was clearly affiliaated with the council of Boskone. It might not be as plausible or as conviincing, but it would have as much evidence in support of it.

about two weeks ago
top

Was Eich a Threat To Mozilla's $1B Google "Trust Fund"?

HiThere Re:Abolish marriage solves the problem. (564 comments)

What about marrying their robot? This year that's clearly silly. Ditto for next year. Ten years from now? Probably still silly. Twenty years from now? Well....

When AIs are close to human equivalent (and how close is needed) they will need to be able to sign contracts. That might be the distinction, except that it's likely that AIs will gain rights by being incorporated, and thus have them because they are corporations. This is a lot different than the current Japanese life-sized doll. But how is it different from 3M...outside of locality and reaction time?

about two weeks ago

Submissions

HiThere hasn't submitted any stories.

Journals

HiThere has no journal entries.

Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Sign up for Slashdot Newsletters
Create a Slashdot Account

Loading...