×

Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

Interviews: Alexander Stepanov and Daniel E. Rose Answer Your Questions

Beached Re:Generic Programming (42 comments)

Generic programming in many languages uses virtual dispatch as everything is an Object, in contrast to C++ templates' that create a class/function catered to the type requested. So, it isn't all bad.

With C++'s templates, the compiler often produces better code for generic vs non-generic( c++ std::sort vs c qsort). Generic is faster because the compiler can reason about the data type being sorted better and doesn't have to use a type erased comparison function(c's qsort uses a int(void*, void*) type function pointer. In C++ as long as your data type has less than, it works or you can pass a function like bool is_less( Type a, Type b)

The biggest bottleneck it seems is feeding today's cpu's. The STL's algorithms are a great aid to this. Thinking in terms of sorts, rotations, partitions, transforms...etc keeps the code small and clear. Also, it allows one to easily reason and improve upon the algorithm. Most of them can be parallelized without changing the observable behaviour(mostly). So dropping in a parallel version can be very easy. Following this chain of thought, one can easily account for things like false sharing in the algorithm and not in an ungodly for loop with 5 or 6 branches.

about two weeks ago
top

Uber Suspends Australian Transport Inspector Accounts To Block Stings

Beached Re:Extradition? (299 comments)

Maybe get a judge/magistrate to order Apple/Google to pull the apps from the store's.

about two weeks ago
top

Half of Fortune 500s, US Agencies Still Infected With DNSChanger Trojan

Beached Transparent proxy (112 comments)

Couldn't this be mitigated by redirecting all DNS packets to corporate DNS servers and logging all requests for something else?

more than 2 years ago
top

Panasonic's 16-Finger, Hair-Washing Robot

Beached Not the same (181 comments)

But does it talk to you about the weather or other small talk like stuff that the hair was (usually girl) does at the hair cut place? At least have it say stuff like "wow, that's really funny" or "yup yup"...

more than 4 years ago
top

Apple Blindsides More AppStore Developers

Beached Re:It's time. (716 comments)

More like Species 8472

more than 3 years ago
top

Coping With 1 Million SSH Authentication Failures?

Beached Easy (497 comments)

Change the port and use private certificates for authentication.

However, changing the port to something will get the bots off your back. They still don't try other ports.

more than 4 years ago
top

Platform Independent C++ OS Library?

Beached wxWidgets might work (310 comments)

wxWidgets (aka wxWindows) does windowing, sockets, thread. I am not sure about DB, but I think it does. I haven't used it for DB yet.

more than 5 years ago
top

Earth Could Collide With Other Planets

Beached Very cool (255 comments)

Just the workarounds for the floating point math must be cool to see. Or the optimizations they would use in a simulation like this.

more than 5 years ago
top

UK Government To Monitor All Internet Use

Beached So, make it hard (446 comments)

If everyone started connecting to many other random other services on the network all the time, you could effectively hide in the crowds. Just make sure that the connections last long enough to be meaningful. Something like a web spider that constantly probes at a specific data rate. Throw in some sophistication with regards to data transfer, repition of connnections, etc and you may be able to hide. Also, if enough people do it, it will cost the ISP much to store the information and make it irrelivant. The trick is to make your browsing look random, which can be difficult; also you would need to filter for stuff like child porn and other stuff you definitely do not want associated with yourself.

more than 5 years ago
top

Cold War Standoff Over ISS Toilet

Beached Ah the bureaucrat's (417 comments)

This must have been a bureaucrat level 34 or better that started this. A 35 wouldn't know how to fill out the proper acquisition forms.

more than 5 years ago
top

Reasonable Hardware For Home VM Experimentation?

Beached Not that much (272 comments)

You can do it "well" on a dual core with 4GB of ram. Even less, but with todays prices you can get a system for a couple hundred if you watch for sales. RAM is you biggest killer that you will notice. Then again, with quad cores with VM assistance going for under $200CDN, thats relatively cheap. If you're worried about HD performance a couple 500GB drives striped will give you over 100MB/s of read speed a relatively small investment.

more than 5 years ago
top

Exchange Comes To Linux As OpenChange

Beached Re:Here we go again..... (249 comments)

Yes, I believe the MS gamebook says to Embrace, Extend, and Extinguish. Or as their competitors liked to say EEE!!!!

about 6 years ago
top

A Sony Camera Running Linux

Beached imagine a ... (209 comments)

imagine a beowulf cluster of these things..
oh sorry, should I be saying first post?

So confusing

about 6 years ago
top

Ubuntu Ports To ARM

Beached Intel builds XScale (279 comments)

Xscale uses the ARM architecture and is built by Intel. So, either way Intel makes money.

more than 6 years ago
top

Red Hat & AMD Demo Live VM Migration Across CPU Vendors

Beached This is still unreleased test demo's (134 comments)

The real beauty of this will come when the system automatically moves VMs to machines in case of hardware problems or when a system is underutilized. It would let you power down servers during non-peak times and save oodles of cash.

more than 6 years ago
top

TSA Employee Caught With $200K Worth of Stolen Property

Beached Re:flying sux (655 comments)

But you forget. It is a voluntary search as you give them permission by boarding. They will say that you did not have to enter the boarding areas that are usually clearly marked.

Oops that still is the rule in Canada but in the US it is no longer the case http://blog.wired.com/27bstroke6/2007/08/court-says-trav.html as you pretty much cannot enter the airport without automatically agreeing to be searched at any time.

Oh well, if you drive or take the bus or train you still have some rights that are upheld. But to get people to refuse to fly and hurt the airline industry in a way that makes them listen probably will not happen.

This still leaves private aircraft.

more than 6 years ago
top

"Anonymous" Hacks Palin's Private Email

Beached Re:The crossed the line this time (1733 comments)

He and John are still in Stan Marsh's closet, so noone will hear them.

more than 6 years ago

Submissions

Beached hasn't submitted any stories.

Journals

Beached has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?