Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re:Next Big Thing! (Score 1) 176

Xiki, being a cross of Ruby and a text editor, apparently does more: it recognizes and presents as interactive not only the shell commands, but also the file system hierarchy, the Ruby code, the SQL statements, the CSS, the HTML, and probably more.

I dunno about the rest, but for filesystem browsing you can use vim :e on a directory which vim will then let you navigate

Comment Re:Next Big Thing! (Score 1) 176

Thank you. I've watched the screencast but I really do fail to see any utility in Xiki, only novelty. Can you describe something that Xiki can do that cannot be done with `:r!`? I would really love to add Xiki to my toolbox if it is useful, but I fail to see that.

If you want something better than :r! in vim, use emacs as a shell. I used emacs as a shell for years - you can cut-n-paste (multiple buffers), use the mouse to mark regions, save the entire session as a file, load a previously used session, search back, search forward, edit previous commands before running them, edit the output of previous commands (and then run them), execute the odd elisp expression (need a calculator quickly? It's built in), surf the web, read/send email, read usenet (or read slashdot), play rogue, elisa, snake or tetris, annotate previous commands, run multiple shells.

You still get all the normal stuff too - autocomplete, file and directory browsing, standard piping to forked processes, set/reset/unset variables, syntax highlighting of your shell, normal edit-compile-debug cycle, etc

(I've heard rumours that there's a text editor included with it too ;-)

Comment Re:"Undead" doesn't mean vibrant, though. (Score 1) 283

Sure... the only use for pass is to allow an empty block. But outside of canned examples and temporary debug hacking, empty blocks are not exactly used very often. Hence in the vast majority of cases, python has no "end-brace". Claiming that the pass keyword is a closing brace is disingenuous as it implies that it is always required. It *is* a no-op. You can use the pass keyword absolutely anywhere you want, and it will do nothing. It's only "useful" however in the largely useless case of empty blocks.

That's even worse. 'Exceptions to the rule' are the worst type of program structure rules there are. At least in other languages there is a rule that always applies - a block is delimited by braces. In python you now have to say 'a block is delimited by indentation, except for when the block is empty, or when the interpreter is unable to figure out indentation. When is the interpreter unable to figure out indentation? The interpreter can always figure out indentations, except for when the code is filtered through some third party like web2py".

Frankly, I like the programming language rules to be simple, not filled with exceptions to a general rule. Python has many flaws (what the hell is 'print'? A statement? It acts like a function call but doesn't look like one, except if you're using python 3, or if you import 'print_function') but it's biggest has got to be the people who defend all the exceptions to the general rules. In this regard its closest relation is PHP, which also has general-rules-plus-exceptions-to-them up the wazoo.

Regardless, my original point still stands - python has a non-optional start-brace anyway. They should have just stuck with an actual brace for delimiting 'start of program block' instead of being hipsterish different and using a colon. Of course that wouldn't fix everything but it would be a start.

Comment Re:"Undead" doesn't mean vibrant, though. (Score 2) 283

pass is the equivalent of a nop, it has nothing to do with scoping. Have you ever read or written any python?

According to every single example given on the python documentation page, pass is used to end a block. It get's even more hilarious when you try embedding python into (for example) html pages like web2py does (I've been using web2py hence my discovery that python actually has to have an end brace of sorts).

'Pass' is not a 'noop', according to the documentation; it's simply an empty statement serving only a syntactical function. In other words, had python had an end-brace the way it has a start-brace, 'pass' would not be needed. The only use for 'pass' in python is to serve as an end-brace.

Comment Re:"Undead" doesn't mean vibrant, though. (Score 0) 283

My senior colleague also does not get it. The thing is, with C-syntax you need braces + indentation. So python halves your work out of the box. In C when indentation and braces are mismatched you read the code one way, but the computer interprets it differently. In Python: fixed.

That's incorrect. Python already has open brace in the form of the ':'. The close brace is the keyword 'pass'. In addition to needing at least one brace, it also needs indentation. C-syntax only needs the braces, not the indentation so, technically, the python syntax is double the work, not half.

In python you need to put in the open brace ':' anyway, so why not just use '{' like every other language out there?

Comment Re:Whoredom (Score 1) 158

It has some similarities with the Drugs industry as well.

1. Both industries refer to their customers as "users" 2. If you don't know how to perform a certain task, instructions can be found online 4. Use of cheap components to make a complex product 5. Users always demand more

Not to mention that the first one is free, and before you know it you're hooked on your vendor for life.

Comment Re:What the f*$# is wrong with us? (Score 1) 1198

But have you ever heard someone else say [she was a bitch anyway or any number of inhuman and gross misogynistic streaks]?

No.

Hi, welcome to society. Browse this article discussion on -1 and you'll see plenty of examples.

I think you just disproved your own point - the fact that those sentiments (that you are accusing me and others of) are at -1 shows that:

Yes, we do drown the creeps out.

Yes, they are in a minority and not representative of the nerd group as a whole

Looks like everything else you said in this particular thread is proved incorrect by the above simple statement of yours.

Comment Re:Ridiculous (Score 4, Insightful) 334

The topic is about photos, not about payments for kids. If you don't want to pay for kids after a divorce: don't father any. It is that simple.

If you don't want someone holding nudie pics of yourself: don't give them any. It is that simple.

See? The issue of personal responsibility goes both ways.

Comment Re:Ridiculous (Score 1, Insightful) 334

Ah, you think women are minor to men and that guy has the right to do what ever he wants with HER PICTURES?

Ah, you think that men are minor to women and that girl has the right to do whatever she wants with HIS MONEY?

(That's how maintenance works - she doesn't have to prove that she's spending it on the kid)

Comment Re:Correlation vs correlation (Score 1) 433

Can you read? Maybe look into the press for the last few days?

I'm in Africa, you buffoon. This means that not only am I more familiar than most foreigners with African news, I'm also better informed. Boko Haram is doing what they are doing even though no one has ever attacked them, dropped bombs on them or slighted them in the least.

My original question still stands: if you (or anyone) claims that US/Colonialist/Whoever 'creates' terrorists because of their meddling, then please explain the majority of terror organisations who exist even though no aggression or meddling ever occurred.

Comment Re: Game fairness (Score 2) 252

When you apply a cheat like this, you are altering the game into game+cheat. This game+cheat is a derivative work of the original game.

Making derivative works without permission from the copyright holder is a violation of most copyright laws, and you won't get permission from Blizzard to make this kind of derivative work.

That seems to be the legal argument.

While it is indeed a derivative work it doesn't become a copyright violation until you redistribute the derivative work. Big distinction there. You can modify copyrighted works all you want, you just aren't allowed to redistribute without a license. I'd be interested in seeing how this turns out considering that the lawyers for the defence is almost certainly going to ask "Where's the redistribution happening?"

Comment Re:Been a long time since I cared (Score 1) 181

I have a really hard time believing this, and would state that your memory does not serve you very well. A 33MHz 486 couldn't handle more complex scenes in DOOM, and definitely not in Quake. I gamed actively at the time when Quake came out, and recall that only much later, on a P233MMX, I could get an fps amount rivaling the screen refresh rate. Any 486 is so much behind that machine, that it's not even funny.

A low ID number username like you probably won't believe a brat like me, so here's some proof: https://www.youtube.com/watch?...

The fps is abysmal. The machine would need to be 10-20 times faster to reach a decent fps.

Nevermind what some random youtube link says, I ran quake reliably on a 486 dx4 100 (33x3 IIRC) with a 1MB trident graphics card and 8MB of RAM.

Comment Re:Really? (Score 2) 87

I prefer it the same, and to the point of building my own software to do it properly.

I've gone one better - I whipped up a little tcl/tk (wish) script that uses the locatedb to show me my music files*, so I never have to click "open" or "import" or any of that crap. I simply type parts of the filename that I remember into a box and it only displays the matches :-)

* and mpg123 to play them

Slashdot Top Deals

I program, therefore I am.

Working...