Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:My Personal Favorite (Score 1) 402

Of course, you could use a few Bash aliases for fun.

Who needs :47,80s/hello/world when you can do

mknod -p a b c
head -n 47 myfile > a & tail -n $(($(wc -l myfile) - 80)) myfile > c & ( head -n 80 myfile | tail -n $((80 - 47)) | sed -E 's/hello/world/' ) > b & (sleep 1 ; cat a b c > myfile.version2)

on the command line.

Caveat, this has neither been run, nor tested, so may need debugging.

Comment Re:Ed man! !man ed (Score 1) 402

When I first played with Linux in 1995, with no *nix experience, I recall the situation of getting trapped in ed or vi. After trying various random key combinations, I discovered that Ctrl-Z got me back to a command prompt, then jobs -l gave a list of stopped jobs with PIDs which I could pass to kill -9. That restored sanity. Years later I actually got round to learning vi(m) after hearing from a local sysadmin how useful it was, and by then there were tutorials online that eased you into it. The thing I'm most grateful for with vim is how I can get a command prompt on windows, mac, linux, or over ssh to my webhost, and the environment works the same way. But for things like android programming I tend to follow the sheeple and use eclipse/android-studio and I'm beginning to get into Code::Blocks for some things. I've thought for years of writing my own vim-like editor as an exercise, but haven't got round to it yet.

Comment Re:funny (Score 1) 567

How many biologists understand the nature of randomness though? When it comes to metaphysical stuff, the biologists are punting the difficult bit into the term 'random' and ascribing this 'random' thingamajig the properties that fundies ascribe to their God. Then things such as mind, consciousness and intelligence have yet to be turned into sufficiently concretely defined concepts to answer questions like 'is evolution directed in an intelligent way' let alone how and if human intelligence and consciousness arise from brain activity, or emerge in other ways. We really know less than we think, and many untestable hypothetical foundations are elavated to the position of unquestionable dogma by the phenomena of 'near universal acceptance by experts'.

That climate change is happening is beyond doubt, but the case that humanly produced CO2 emissions are the primary cause, and that massively reducing our CO2 emissions will fix the issue is not beyond doubt. Funding for projects which subject these ideas to scrutiny is harder to get than funding for projects which assume the CO2 caused warming and then show results consistent with it. The diagram correlating CO2 with global temperature as inferred from ice cores, famously used by Gore in his 'inconvenient truth' has been claimed by some to put the causative relationship the wrong way round (suggesting that instead rising temperatures cause the oceans to release stored CO2, hence the increase in CO2). Some have advanced the notion that solar activity is the cause, with evidence. But global warming has become so politicised that proper scientific debate is stifled, for example by the need to adhere to CO2 caused warming theories in order to get funding for your project.

Your point of 'Never underestimate the power of a person to disagree if agreeing means that they will need to alter their worldview.' is just as valid for the wide acceptance of the CO2-warming relationship. The great political momentum attached to this worldview is hard to argue against, even on scientific grounds, since those who don't wish to change can keep pointing to the mass who believe CO2 causes global warming.

Caveat: I'm not an expert in this area, but find how politicised it is to be worrying.

Comment Re:Question... -- ? (Score 1) 215

There are multiple manpage sections. For example

man -s1 stat

will get you the docs for the command line tool called stat, which will have STAT(1) in the top left, whereas

man -s2 stat

will get you the docs for the C library function stat, and this will have STAT(2) in the top left.

Comment Wayland is the wrong place for remote transparency (Score 1) 179

The most common use case today is local applications. This must be optimised for. Have a separate server and protocol to network transparency for the classes of applications that network transparency is useful for (simple GUIs, text editors and suchlike, rather than nonlinear video editors and 3D games). Likewise with audio, there is a need for a simple high performance backend for some applications, and network friendliness for others. In both cases there should be two layers, a fast light low level backend and a network transparent application layer for applications that want to use it.

Comment Science has (at least) two meanings (Score 1) 517

The word science has an interesting etymology. One branch follows modern sciences such as physics, but classically pre the formation of the modern philosophy of science, the word also meant a reliable body of knowledge and discourse about it. Rigorous discourse should be fine, but a word other than science is needed, and a clear philosophy underlying said discourse. Much of the way our reality works is beyond what science can touch, since so much only happens once, or involves more variables than can be controlled in an experiment. I tend to explore these things through mathematical thought experiments, modelling what a human experimenter could see, and thus tend to be aware of 'aliasing issues' where too few observations allow false 'truths' to be inferred without contradiction. Proper scientists, as my last word, try their utmost to blow their results to kingdom come, and only accept what remains. Ask these 'holistic science' people two things: what are the limitations of their scientific methods, and what steps have they taken to try and disprove their claims. Unless, as we see in our physics textbooks, one can say 'this has survived every experimental test we've thrown at it', then a claim can't be said to be scientific in my book. (This means I throw much of biology and medicine outside what I consider scientific, but I am happy as a hardliner when it comes to what is scientific, and I am happy that there are other reliable bodies of knowledge that work differently.)

Comment More evidence that you can't trust promises... (Score 1) 107

My recent experience with the Mac App store (if a newer version won't work on your hardware, you're SOL and can't get older versions that do work) has burned me enough not to trust a model where I don't take delivery of a physical copy with the means to activate it without the intervention of third parties. I run the windoze that comes on my laptop until I decide on a HDD upgrade, then run Debian or UbuntuStudio. I'm beginning the painful process of weaning myself off ShinyJuicyAppleses.

With this console again it just goes to show that business needs trump claims and promises to consumers. You get what you pay for, and anything else is a bonus that lasts as long as it lasts. Mr Caveat X. Emptor is very much alive and kicking.

Comment Next they'll discover... (Score 1) 107

that humans do signal processing with their brains, and that such processing involves complex analysis. One day they'll learn that those squiggly symbols in maths books actually mean something. It's an embarrassment to science that these insect chasers are called scientists rather than sciensecoolhuhwowists. End rant of an old school fundamentalist.

Comment Programming Old School (Score 4, Insightful) 306

Programming was done and dusted as a discipline in the sixties, got creative in the seventies and has been taking the piss ever since. New programmers need to stop learning tricks and learn to write good programs that work on minimal resources and work under strain and with no guessing games involved, just like the Space Shuttle people did, and learnt the beauty of purity that Lisp showed, the beauty of simplicity that Forth showed, and redevelop the lost art of programming. Modern day computing is ugly. [ Here ends the rant of an old school fundamentalist ;-) ]

Submission + - I can prove P strictly contains NP, the Riemann Hypothesis is an Illusion and... (allsup.co)

John Allsup writes: Psychiatry is a dangerous medical cult, and has been from the start. I am slightly less confident of the latter, but am still pretty damned certain. See my wiki, esp. SoundMind and note that this is slashdot user 987 speaking here: I've been with you guys faithfully since before you had user accounts.

Comment Just proves the anticensorship case. (Score 3, Insightful) 205

A perfect child-porn filter that only filters child porn would be wonderful, but that is fairy magic.
In reality we cannot trust those who wish to filter our internet, and this is why.
There is no substitute for proper discipline and compassion in upbringing.
Being forced to learn to fight crudely at school to protect myself (and fight my own battles) has caused me crippling psychiatric issues in adulthood.
Being forced to porn act to make daddy money (this did NOT happen to me) is an even worse evil.
Children need to grow, learn and play, and be free from influences such as sexuality and violence, but must be taught proper discipline about both so that as they reach maturity these things are no longer a fascination and do not cause the grown up child to turn to unhealthy sex and violence as a crutch. Society needs fixing.

Slashdot Top Deals

"Little else matters than to write good code." -- Karl Lehenbauer

Working...