Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Testing is not verification. (Score 1) 157

When has a layer done anything more than prevented use of public domain code "because it might be a problem"? I have never heard of a "regulator". I should have, if there is one.

As is bloody obvious, space system software is programmed by the same cowboy coders as web pages. I do not believe medical equipment are done a bit differently.

Your "once I get all the bugs fixed" was funny, though, thanks!

Someone in this thread mentioned formal proofs - they are going to increase by two orders of magnitude next few years. That means there will be ~100 programs formally proven (during next few years) in the world.

Seriously, generated code is "big" in the future - properly done they are much easier to test and verify.

Comment Re:Things (Score 1) 191

Exactly. I am somewhat prepared for lightnings. I have good backups of my computer stuff off site (protects from fire too). I have UPS for PC and remote controlled switches to "separate" TV etc. from mains. Obviously those will not protect at all if the lightning hits my house. But it can protect if the lightning hits more than 100 meters away - which extremely more likely.

Comment Re:Why not off Samba shares? (Score 1) 112

Would you really expect it to transfer PCM 44k1/16bit over network?

Oh, boy ... how on earth does your daughter watch cartoons over DLNA, if 1.35 Mbit/s is too much? Choppy pixelated crap?

DLNA server is a program, which is to be run in the server (which is assumed to be Windows). HTTP server is a program, setting it up is as trivial as DLNA server. DLNA is http with extra, unneeded, headers & complications. Similar programs are anonymous ftp, etc. Sharing a folder in Windows is one click operation. My Android found my samba share without any problems. Try "smbclient -L //server". Or start a http server, ask your daughter to find Music on it. Or Videos. Note: I am not against UPnP, only against DLNA.

DLNA is easier to set up only because some braindead idiot decided it to be a standard (instead of http/ftp/nfs/samba/net-radio/...), and manufacturers agreed. I bet the reason is "content protection".

My Samsung DVD player cannot handle streaming data at all! It cannot play[1] net radio stations. It works only with Samsungs own server, with 320kbit/s or slower mp3, not with any other (freeware) server without hours of C programming & setup modifications. Ask yout wife about WAF! Everybody complains the DLNA implementations being shit - it cannot be a coincidence, the spec must be too loose, convoluted and poor.

{1] With any meaningfull definition of "can".

Comment Re:Why not off Samba shares? (Score 1) 112

The idea of the DLNA is to play audio. If it does not specify what kind of audio it plays, then the spec is idiotic. If it does not specify PCM (44.1khz 16bit) it is double so. But then I have a faint recollection it did specify low-bitrate mp3 and wma ONLY, but am not sure. Anyway the dlna loses on every aspect to NFS, Samba, anonymous ftp, pure http, ... you name it. Give one reason for it to exist.

Back then when I tried it, PS2 and and quite a few others refused to play if the HTML header was not exactly as the player expected it to be. Pick up some source code of a dlna server if you do not believe me.

Comment Re: You're welcome to them. (Score 1) 402

This is probably the most unjustified complain you throw. The tags support in VIM is very good - if you bothered to RTFM. Literally every book and tutorial describe these highly sophisticated and inexplicable 3 steps involved: install the exuberant ctags, put into the .vimrc the line ":set tags=tags;/", and finally run "ctags -R ." in the root of the project.

Problem is not VIM, it is the ctags. Ctags just doesn't work - good enough for me. I have used it, and it just goes berserk with #defines, files which are not .h or .c (xml rules or binary blobs, etc.).

Comment Re: You're welcome to them. (Score 1) 402

The problem with Vim (and Emacs) is that they do not support anything modern, not even ctrl-z/x/c/v.

Yeah we al know vi has esoteric keybindings. You're raising this like it's some fundemental point.

It is. Every effing program uses those - except one or two from stone age.

None of those "miles away" editors provide syntax highlighting for shell, awk, python, etc

Try. At least shell and python is supported, not sure about awk - I have long since migrated to Perl.

To get vi/emacs to work nearly as good as good IDE is just too big a job.

No, I disagree, again. Or at least if you're trying to turn vim into an IDE then you're doing it wrong and misunderstanding the tools.

I do not want to learn and remember all the "tools" and their interaction and intricasies, I want my work done.

in NB this will understand the variable and give completitions according to that. It will give hints to the parameters too. In every language there is

This is spoken like someone so wrapped up in visual studio that you haven't seen the outside world. Firstly, it doesn't work unless you've already declared the variable (duh). Small point, but it forces you to write the code top-to-bottom so that the variable has been defined before you use it.

No it does not. The code completion just stops working - for a while. No biggie. When you finally define the variable/class, you can easily collect all the use cases.

Also, every language there is? Tell me, how well does it handle an awk script embedded inside a atring inside a shell script?

As well as vi does, not a teeny bit worse. Besides, that script won't be that big for the system really help you anyway.

I do not want to waste my time to get mundane things like that to work properly.

I'm mainly a programmer, but I've been slowly wandering in the direction of toolmaking (as in real physical thinga). I've always been an engineer. The idea of using only the tools you have in the form they come out of the box come hell or high water and never going to additional lengths to increase the toolbox and automate processes and just plain make things easier is a completely foreign idea to me.

As it is to me. But still I want mundane simple things to be simple and mundane.

If you want to see a funny facial expression, go up to a woodworker and say something along the lines of: I don't want to take the time to make a jig, I just want to get things done.

I would never ever do any woodworking without current tools you can buy. I do not want to make 45 degree jig, then another 30 degree, and so on. You see, my saw can be turned to any degree without a jig. But still it cannot do everything, sometimes a jig is necessary - but I would never give up the saw just because it cannot handle everything.

Comment Re: You're welcome to them. (Score 1) 402

Not really. If you use those, you'll lose some other extensions which are designed for the modal system. With Emacs you'll get shortcut collisions, ctrl-x is pre-bound.
They are just hacks, nobody really uses them - or at least were when I tried one (long time ago though).

Comment Re: You're welcome to them. (Score 1, Interesting) 402

The problem with Vim (and Emacs) is that they do not support anything modern, not even ctrl-z/x/c/v.

For programming Eclipse or NetBeans or Visual Studio is just miles away what of vi/emacs can do, especially out of the box. To get vi/emacs to work nearly as good as good IDE is just too big a job. For example NetBeans ctrl-b (go to declaration). Sure, you can install ctags, configure it, run it, tinker with it, tinker some more, add custom rules, search net, rinse-and-repeat and eventually you'll get something resembling ctrl-b, but not quite the same.
Or ctrl-space (complete word) - in NB this will understand the variable and give completitions according to that. It will give hints to the parameters too. In every language there is. Probably if you search-net, tinker, rinse-repeat you can get something almost similar working in one language in one platform with vi/emacs. I work in two (Linux & Windows). I do not want to waste my time to get mundane things like that to work properly. And the list is endless! Will vi color according to changes in VCS? According to syntax errors? Both at the same time, out of the box? Has it code prettifier for C, HTML, css, etc? Netbeans have plugin-repository from where you can get almost everything you'll ever need. Last time I used XEmacs it was net-search, try it, search next - maybe it works with current XEmacs, ...

Believe me, I have tried, I have used XEmacs for years, over 15. Then I just noticed that a program designed for vt100 is from the Stone Age.

Comment Re: Maybe, maybe not. (Score 4, Interesting) 749

Suppose that the data resides in Swizerland (Swiss privacy laws prohibit moving data overseas - don't know exact details, but the idea should be obvious). Suppose the credentials to give the data is only on the hands of a swiss administrator - no american has access to the data/server/credentials in Swizerland. In this case no matter who in the company orders to give him the credentials, the administrator in Swizerland cannot give them or he would be breaking the Swiss law.

Comment Re:How is that the security industry's fault? (Score 1) 205

[...] we refuse to accept old, working stuff.

To me the situation has been exactly the opposite. I had a job where I had to fight to get old crapware rewritten because "it provably works" (although it has e.g. access after "free"). I have never seen an old software that would work with the new requirements in the new environment. Quite contrary, old software slowly but surely deteriorates with #ifdefs, code nobody dares to remove, hacks that just happen to work as they change timing, you name it. Just like good-old OpenSSL.

Same with bridges btw, 20th century bridge would hardly suffice today (price, time to build, etc.).

Comment Re:What's the solution? (Score 1) 205

But the companies exists solely to make profit to their owners. Which means "time to market", which means "security is not an option - until it is really needed".

For example, I am certain that 99% of Facebook/Twitter/... users don't give a shit how secure it is - especially as they know NSA has unlimited and unaccountable access into it.

Comment Re:This is awesome (Score 1) 217

So what you are effectively saying is "we (foss) did a great job, let's pat each other on the back! Then let's continue our marvellous path of joy and glory".

(translation: we, the cowboy coders, are totally ignoring fatal problems in processes and attitude and won't fix them 'cause we "are better". if the sarcasm was lost in translation, your bad).

Slashdot Top Deals

I tell them to turn to the study of mathematics, for it is only there that they might escape the lusts of the flesh. -- Thomas Mann, "The Magic Mountain"

Working...