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


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

Comment Re:But what is a lie? (Score 1) 177

B) I would think it would be more cruel to let someone go on thinking they are doing something wrong than let them know that people simply aren't interested in the subject matter.

Ah, so you know the poster in question in person and are aware that he/she's boring...? No? Then you're just being a twat, because you have no idea what BlueCoder is like in conversation.

Comment Re:But what is a lie? (Score 1) 177

It seems like you are incapable of discerning what information is truly relevant to a story because I have never had to "reinvent the scenario" regardless of the story. Alternatively, it's entirely possible your stories are simply not of interest to others.

That was somewhat uncharitable of you. BlueCoder, the GP, is openly talking about his/her difficulty in telling people things, and you basically say "or maybe you're just boring". I have a similar behaviour pattern to BlueCoder, in that once I start explaining something to someone, I want to be complete. It becomes a source of frustration if I'm not allowed to finish. Unlike BlueCoder, I don't feel like I've lied when I don't get to finish; rather I feel like the other person doesn't understand me, and it's a bit of a block to further interaction. I don't value the other person's response, because if they don't have the whole information to start with, how can they adequately respond? How can I value a response that is made in ignorance of what it's responding to?

Comment Re:I hear Hillary participated in this study (Score 1) 177

If one looks for example at Hillary's Politifact rating she has a larger fraction of true or mostly true statements than most major politicians

Probably true. But comparing politicians tendencies to lying is all a bit academic -- it's like trying to rank delegates at a Nazi party rally from most to least anti-Semitic...

Comment Re:exageration much? (Score 1) 61

Like your word processor is the English language, you mean? Like the hammer is the nail? You seem to have trouble with separation of concerns.

That's an invalid comparison. Computer programming languages are designed exclusively for the communication of instructions from a human to a computer. You can (if you want) write a piece of code on a bit of paper, but the main purpose of doing so (outside of the classroom) is to later input it into a computer so that the computer will do something. It's not for communication between humans, and the computer doesn't write responses to the programmer in the same language.

So we have something that is designed for communicating instructions to a computer, that is almost always authored in a computer-mediated environment. It seems a bit silly that the computer isn't interpreting the code as it is entered, and everything is delayed until the programmer hits "compile" (or just "enter" in REPL environment).

And then we build these IDEs that do syntax highlighting, parenthesis matching and block hiding/folding for us, and they're reinterpreting the code using a parse that may or may not match the language compiler/interpreter itself. It lets us make loads of silly little mistakes because it doesn't know enough about the language to spot when we've made a mistake.

So the IDEs get more sophisticated, and start trying to interpret scope and suggest valid identifiers when we start typing, but we still can't be 100% sure the computer isn't confusing two different things.

All this is because we have two separate mediations by the computer, programmed by different teams, instead of one; all this is because the IDE isn't the language. What I'm proposing is a language where the IDE is the language, but not a half-hearted attempt like Scratch which slows you down by taking your hands off the keyboard. Not one that restricts your choices to a screenful of drag-and-drop elements. One that gives you all the elements of the richest, most powerful languages used in professional and academic circles, but lays them out clearly and unambiguously, instead of hiding the semantics in an obscure string of #@! declarations.

Comment Re:exageration much? (Score 1) 61

What you need is a powerful IDE that renders the old fashioned sequential plain text source code in the way you describe. I see no reason why that couldn't be done.[snip]

And there are good reasons to stick to plain text for source code. There are people who are more productive using powerful text editors such as vim than using heavy IDEs.

The reason they're more productive in plaintext is A) because the language is designed for plaintext, and B) they know the source code. The productivity problems really come in when you're dealing with code maintenance, which is a lot of the code lifecycle -- hell, most of us average mortals struggle to maintain our own source.

I have been in emergency situations where source code urgently needed to be fixed while the workstations with fancy IDEs weren't available due to other problems occurring simultaneously but a plain text editor and other basic tools were. When you have to get things done with more basic tools than you normally use it's important those tools can handle your code.

But if the IDE is the language, surely you would have the IDE on any machine using the language...?

And don't forget search tools, diff tools, merge tools, SCMs, etc. There are loads of useful and essential programs that work best with plain text. The simplicity of plain text has huge benefits.

What you're talking about is presentation. Keep that separate from the core, just like you keep your presentation layer separate from the domain logic in applications. In other words, implement your presentation requirements in your IDE and don't make the mistake of thinking that won't be able to handle plain text source code in a powerful way, otherwise you're likely to create more problems than you solve.

OK, I don't suppose there's any harm in the source code having a plaintext representation.

Comment Re:exageration much? (Score 3, Interesting) 61

"... Picat "is a multi-paradigm programming language aimed for general-purpose applications, which means theoretically it can be used for everything in life," ..."

They better hurry. Perl is way ahead on the multi-paradigm thing.

Multi-paradigm will always kill readability until we accept that sequential plain-text files are unnecessarily limiting.

In programming, we're taught to keep lines short for readability, as something like "[i]x = ((i+j/a)+(x+5)/4*sin(s^x/4)/3)*2/6)+34[/i]" is so difficult to read that I can't be sure I've matched my parentheses without counting, and I can't tell what the calculation does. But if those divisions were rendered on-screen in the international standard mathematical way of placing the dividend over the divisor with a line in between (like the way vulgar fractions are presented) and the exponentiation was rendered by formatting the exponent in superscript (as is also standard), the whole thing would be instantly visually understandable to anyone with a good level of high-school maths.

You may not think that this has a lot to do with multi-paradigm, but maths itself is a paradigm (everything in computing could be achieved by direct manipulation of numbers -- it wouldn't be easy, but it would be possible) and it requires a rendering that is fundamentally different from flow control structures, for example.

And flow control has specific rendering requirements too: cf. the argument between block delimiters and semantic whitespace. Semantic whitespace exists basically because if you have non-semantic whitespace, the language semantics may not match what the reader sees, if there is line indentation that doesn't match the blocks. So get rid of all the whitespace, and let the editor render the indentation on-screen in a way that makes the logical structure immediately apparent.

Now imagine getting rid of "decorators" and just having a different font telling you clearly that you're looking at a different type of code. Suddenly we're free to start inlining SQL queries without a bunch of function call cruft and wrapping dynamically-created literal strings in procedures.

Comment Re:Telling people what can and cant do with (Score 1) 157

Communism is quite the opposite, because it is about local direct democracy

BS. Once you choose the Glorious Collective over the Deplorable Individual, an authoritarian at the top becomes inevitable.


Communism and Socialism (a.k.a. Communism-lite)

This is the classic mistake of conflating communism and socialism. Communism is inherently decentralised, so the idea of an authoritarian is actually pretty alien to it. But the USSR was not called the Union of Soviet Communist Republics, was it? It was socialist, which puts ownership at the level of society, not the commune. Once you establish state socialism, that's when authoritarianism becomes likely.

Most of what we call "socialist" in Europe isn't truly state socialism -- most "socialists" are in favour of a mixed economy, and are more interested in getting infrastructure in public ownership than industry.

Comment Re:Easy Work-Around (Score 1) 157

Except that's utterly, utterly ridiculous. It makes no sense whatsoever as a business model and is unattractive to the majority of travellers. That is, assuming that they are even aware of that being how you're supposed to use the site, as you can't exactly publish this on the front page, or you're effectively admitting to being a short-term let service.

Besides (and here's the kicker) if you are signing up on a site to be a long-term landlord, you're going to have to register as a long-term landlord. You're going to have to do all your fire safety checks. You're going to have to get proper insurance. And if someone wants to move in long-term, you're going to be forced into letting them.

Comment Re:Telling people what can and cant do with (Score 1) 157

Telling people what can and cant do with their own property is called Communism.

No, under Communism there is no private property at all — it is all communal. What you are describing is Fascism. It is generally better than Communism, but still quite nasty — and inefficient.

I believe you're actually talking about authoritarianism. Fascism is authoritarian, but there are non-fascistic authoritarian systems too. Communism is quite the opposite, because it is about local direct democracy (in "communes"), and most so-called "communist" countries have instead been authoritarian. You could even describe Stalin as history's most successful fascist, as he was an authoritarian leader running the largest, most integrated state machinery in the world, and he favoured one nation and its people over all others in the world, and even over other nations within the USSR.

Comment Re:Easy Work-Around (Score 1) 157

The owner won't offer the property as "available" again until the renter actually vacates the property, whether that's the full 60 days or after a single week. As soon as the property is available, the owner simply relists it again as open for booking. In short, no conflicting bookings would be made. It only becomes available for renting after it's been vacated.

The sudden, "unplanned" availability may even work in the owner's favor in some cases,

But in the majority of cases, accommodation is booked before travel. I'm certainly not going to book a transatlantic flight on a 747 and start looking for a room two days before I fly!

AirBnB works because it's simple. If it's not simple, it doesn't work.

Slashdot Top Deals

"Well hello there Charlie Brown, you blockhead." -- Lucy Van Pelt