Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Comment Re:C++ admits it is too complex with "auto" for ty (Score 2) 435

"auto" is there to reduce the typing -- that is all. Instead of writing MyContainer::const_iterator::value_type x = ... I can write auto x = ... because the compiler can deduce the correct type. It is not "too complex".

It is a convenience, like a "for loop" with a built-in iterator is there because requiring the programmer to write the boiler-plate required for a "for loop" with "do/while" is stupid. Your headline might as well read "C admits it is too complex with for() loop construct."

And C# is not collapsing under its own weight. Any programmer, no matter what language they program in, that is not using a modern, intelligent IDE is wasting time and money -- they are a hack (in the worst sense of the word) and not a professional.


Ask Slashdot: System Administrator Vs Change Advisory Board 294

thundergeek (808819) writes "I am the sole sysadmin for nearly 50 servers (win/linux) across several contracts. Now a Change Advisory Board (CAB) is wanting to manage every patch that will be installed on the OS and approve/disapprove for testing on the development network. Once tested and verified, all changes will then need to be approved for production. Windows servers aren't always the best for informing admin exactly what is being 'patched' on the OS, and the frequency of updates will make my efficiency take a nose dive. Now I'll have to track each KB, RHSA, directives and any other 3rd party updates, submit a lengthy report outlining each patch being applied, and then sit back and wait for approval. What should I use/do to track what I will be installing? Is there already a product out there that will make my life a little less stressful on the admin side? Does anyone else have to go toe-to-toe with a CAB? How do you handle your patch approval process?"

Comment Re:I for one . . . (Score 1) 1633

I for one am just grateful that a liberal jurist has finally acknowledged that it would take a constitutional amendment to do that. Most of them seem to think that the Constitution already reads that way.

I am too. And I agree with Stevens that it needs to be changed. I don't think the Constitution should be ignored because parts of it are no longer useful or fashionable. It should not remain some relic of a bygone era. It should be a living document that enshrines how we have grown as a nation and as a people; how we as citizens want to live today and in the future. I think that is what the founding fathers would have expected of us.

Comment Re:clunky software? (Score 1) 143

This is not for a remote control. It's a simple slide latch for a radio battery. And the problem with the design is that the plastic it was made from was the same as the battery case, which is too brittle for the switch. A less brittle plastic such as ABS or HIPS would actually work better and last longer. Was a material scientist consulted when designing the battery? Doubtful.

Since you have no idea about the problem I am trying to solve, the "ignorant" comment seems misplaced. Will the solution be ideal? Certainly not. But it will be "good enough" and even "better than stock". Probably. I currently have six different types of material for my 3D printer, each with its own purpose. Is 3D printing a panacea? No. But there are real problems that it can solve today. And putting more of them in people's hands will encourage innovation in printing technologies and materials science. Hell, the materials available to work with today are way more versatile than the limited rapid prototyping materials available to me 20+ years ago.

Comment Re:clunky software? (Score 2) 143

Most people just want to be able to download an object from the internet and print it out. Missing a part for that new 'some assembly required' doodad that you bought? Hit their website and print it out. Cheap plastic part snapped under abusive strain? Print out a new one.

Exactly. I have a battery with a broken latching mechanism. A replacement battery is $50. I could print a replacement plastic part for pennies if I had a model for it.

Comment Re:Read the summary a couple times (Score 1, Interesting) 465

Not only is it English, it is British English from English Britain, the original and still the best English since 1066.

More like the tortured English of Murdoch's London headline writers. I don't think they are required to have a complete understanding of the language. I could write a book entitled "How to turn any sentence into meaningless gibberish with just a Thesaurus" using just London newspaper headlines as examples.

Comment Re:ZRAM (Score 1) 132

I would rather have my kernel only swap when needed and this is when it runs out of memory.

You really don't want your kernel swapping when it runs out of memory. That is too late and will kill performance. Instead, your kernel moves pages that are not used to swap so that it can be freed for other, more important things when the need arises. That is a much more efficient way to manage memory.

That said, the kernel provides tuning parameters that will give you what you want.

sysctl vm.swappiness=0

Comment Re:ZRAM (Score 1) 132

Compressing/decompressing the data in RAM is faster than writing/reading from disk. CPUs are getting much faster than disk. And flash/SSDs have a limited number of write cycles. It improves performance and preserves the life SSDs. What's not to like?

Slashdot Top Deals

Outside of a dog, a book is man's best friend. Inside of a dog, it is too dark to read.