Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Re:the best. (Score 1) 553

How is this not beautiful:

template<class S1, class S2> struct cartesian_product_types
{
  template<class V, class S, class State>
  struct inner
  {
    typedef typename boost::mpl::fold<S
   , State
   , boost::mpl::push_back< boost::mpl::_1
              , std::pair<V
                     ,boost::mpl::_2
                     >
              >
   >::type type;
  };

  typedef typename boost::mpl::fold<S1
   , boost::mpl::vector<>
   , inner<boost::mpl::_2, S2, boost::mpl::_1>
   >::type type;
};

But seriously, I think the language is amazing. The fact that they built a turing-complete language inside the template engine essentially by accident (thus allowing meta programming and modern C++), the fact that by now we can write simple compile time compilers (see boost proto) and the fact that you can so radically change the syntax of the language that you can basically make it look like anything you want should convince someone who spends some time with a C++ compiler and a couple of Boost libraries of this fact.

Comment Project Suggestion: NT2 (Score 1) 283

NT2 http://github.com/jfalcou/nt2/ is an emerging numerical computation library built on top of very modern C++ libraries and ideas. It is closely related to Boost libraries.
From the description: The Numerical Template Toolbox (NT2) is an Open Source C++ library aimed at simplifying the development, debugging and optimization of high-performance computing application by providing a Matlab like syntax that ease the transition between prototype and actual application.
A way to contribute would be to make yourself familiar with it's use (e.g. port some of your Matlab scripts). Try to understand the basics of how it works internally. You will find features missing that you could try to add. Above all though, you will learn a lot.

Comment Re:The Pirate Party probably was a one-hit wonder (Score 1) 210

While I agree with most of what you say in your article, there are large parts of the Pirate-Agenda missing in you analysis. One of the major topics the party concerns itself with is one of the most important questions we as a society will face in the coming years: privacy and freedom. I think these points should not be missing in any analysis of the pirate party.

Comment I'd love it (Score 1) 237

if such a system could reliably detect which window I'm focusing on/looking at, to keep the focus on it or to bring it to the front. I know such systems exist but having it as a feature of the operating system (I can use it instantly without any installation or other annoyances) would be awesome.

Comment Break the lense (Score 1) 442

The company I work for physically breaks the lenses of all devices that have cameras in them. I'm not sure what they do but you don't see anything with that camera after they are finished. If it's a plastic lense you could simply destroy it with a hot needle.

Comment Re:Top down reliability? (Score 1) 830

Those are valid points but I'm not sure how applicable they are in this situation. You have layers in a system to abstract functionality and hide problems or "difficult stuff" in a lower layer so that the engineers developing upper layer stuff don't have to think about it - they just use it and it works. In my opinion this is an example where the opposite happens. As an application developer I wouldn't want to think about the crazy internals of the underlying file system - I would simply use it and expect it to work.

Comment Top down reliability? (Score 0) 830

So is this a new trend to design systems? Make them reliable from top to bottom? Designing an upper-layer part of the system to work around the flaws of a lower layer system component is often necessary but is not the right thing to do it. Telling application developers to change their applications because a new version of the file system breaks their stuff is madness. No matter what POSIX standards say: it worked before, it is broken now: go fix it.

Comment Re:"Zero gravity" (Score 1) 52

It depends on how you look at it really. If you look at the planet, the plane falling into it and the person inside the plane falling with it there is certainly gravity. However if you only look at the plane and the person inside it there is no gravity affecting the person. The forces affecting the person relative to the plane are almost zero.
Or similarly take a truck that carries cars on it. The truck is driving a certain velocity and so are the cars parked on the truck. However if you take the truck as your reference system the cars parked on the truck have no velocity relative to the truck. They are parked.
This is actually an important principle of physics. It also explains why you can drive a car onto a truck going 40mph (like Knight Rider does it) without crashing into the truck.

Comment Computers don't belong in the classroom (Score 1) 411

The title is a quote from Clifford Stoll, astronomer, computer expert and high school teacher who argues that you don't learn with computers but with books and great teachers. I tend to agree with him. Computers are mere tools, great tools that are fun to tinker with. But outfitting entire classrooms with computers will not enable the student to learn more or better. Thinking that computers are an integral way of how we learn in the future is as wrong as believing television changes the way we learn.
Stoll even suggests that in most cases computers are only entertainment devices and if you think about it is true more often than you might realize or want to admit. Students should definitely learn to use computers but they can not replace good teachers so in my opinion computers should be treated as tools like a hand calculator or an oscilloscope you bring in for physics experiments. So laptop carts seem to make the most sense. A very interesting talk by Clifford Stoll where he explains this opinion can be found here: http://video.google.com/videoplay?docid=-666540182028461233

Slashdot Top Deals

It isn't easy being the parent of a six-year-old. However, it's a pretty small price to pay for having somebody around the house who understands computers.

Working...