Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Submission + - Google's AlphaGo beats Lee Se-dol in the first match (theverge.com) 1

Fref writes: Quote "The Verge": "A huge milestone has just been reached in the field of artificial intelligence: AlphaGo, the program developed by Google's DeepMind unit, has defeated legendary Go player Lee Se-dol in the first of five historic matches being held in Seoul, South Korea. Lee resigned after about three and a half hours, with 28 minutes and 28 seconds remaining on his clock. "
Lee will face off against AlphaGo again tomorrow and on Saturday, Sunday, and Tuesday

Submission + - What it will mean if LIGO detects gravitational waves

StartsWithABang writes: When we look out into the Universe, we normally gain information about it by gathering light of various wavelengths. However, there are other possibilities for astronomy, including by looking for the neutrinos emitted by astrophysical sources — first detected in the supernova explosion of 1987 — and in the gravitational waves emitted by accelerating masses. These ripples in the fabric of space were theorized back in the early days of Einstein’s General Relativity, and experiments to detect them have been ongoing since the 1960s. However, in September of 2015, Advanced LIGO came online, and it was the first gravitational wave observatory that was expected to detect a real gravitational wave signal. The press conference on Thursday is where the collaboration will make their official announcement, and in the meantime, here’s an explainer of what gravitational waves are, what Advanced LIGO can teach us, and how.

Submission + - Bjarne Stroustrup announces the C++ Core Guidelines

alphabetsoup writes: At CppCon this year, Bjarne Stroustrup announced the C++ Core Guidelines. The guidelines are designed to help programmers write safe-by-default C++ with no run-time overhead. Compilers will statically check the code to ensure no violations. A library is available now, with a static checking tool to follow in October.

Here is the video of the talk, and here are the slides.The guidelines themselves are here.

Submission + - Kids prefer to play games on mobile devices over consoles (engadget.com)

chloealsop writes: You may have fond memories of playing games on the family TV as a kid, but the next generation might not feel the same way. The NPD Group has published a report showing that more 2- to 17-year-olds in the US are playing games on phones and tablets (63 percent) than on consoles (60 percent). That may not sound like a big gap, but it was only two years ago that consoles captured 67 percent of young eyeballs. They're playing more often on those mobile devices, too, at an average 6 hours per week. And sorry, PC gamers, your platform of choice isn't as popular as it once was. Computer gaming has fallen from a heady 67 percent adoption back in 2013 to 45 percent today.

Submission + - Imgur exploited to channel botnet attacks at 4chan (thestack.com)

An anonymous reader writes: GIF and meme photo-sharing platform Imgur has been compromised by attackers looking for an opportunity to direct large volumes of traffic at infamous web forum 4chan. A Reddit thread explains that “when an Imgur image is loaded from /r/4chan [] imgur loads a bunch of images from 8chan, which causes a DDoS to those sites.” Meaning that if a user clicks an Imgur link on /r/4chan, it automatically makes around “500 requests” for one image from imageboard 4chan.org/8chan.

Comment Limitations of STL Design (Score 1) 80

The iterator based approach of STL works very elegantly for 1 dimensional data structures but fails to generalize cleanly for higher dimensional structures. For example, there is no easily defined way of iterating over a 2d array or a graph. Also, the notion of regular types, discussed in your book Elements of Programming, also fails to generalize for 2 or higher dimensional types, like complex numbers and matrices. They lack the total ordering property.

Of course, you can artificially define an ordering, say force a row-by-row iteration over a 2D-Array or a breadth-first iterator over a tree or an artificial ordering on complex numbers, but such constructs feel artificial. Do you think this limitation is fundamental to the iterator based design approach?

Comment Deficiencies in C++ (Score 1) 80

As we all know, C++ is far from perfect. There are several features which you discuss in your books and papers, like concepts and UNDERLYING_TYPE, which C++ is currently missing but proposed for C++17 (e.g. destructive move). However there are things you have criticized before, like the memory allocation interface, which are still as they were 25 years back.

What do you dislike the most about C++? What would you change or add to the language to make it better?

Comment Concepts in C++ (Score 1) 80

In you book "Elements of Programming", you spend a lot of time on concepts. The paper "A Concept Design for the STL", the basis of the latest concept design for C++, references your book extensively. You of course co-authored that paper. I am therefore quite keen to hear your views on C++ Concepts.

Do you think that language support for concepts (or equivalent constructs like Haskell typeclasses) is important for writing generic code? How deeply are you involved in the effort to get concepts into the C++ standard?

Comment Success of STL (Score 1) 80

STL has been wildly successful and has pretty much completely changed the way libraries are designed not just in C++ but also in in other languages. Most mainstream languages have added facilities to write generic code.

When designing and proposing STL for inclusion into the standard, did you expect it to be this successful? Why do you think it has been this successful?

Comment History of standardization of STL (Score 1) 80

STL was a pretty radical departure from the way classes and libraries were designed pre-STL. I am very keen to know a bit about the history of STL’s inclusion into the standard.

When you originally proposed STL for adoption into the C ++ standard, how receptive / enthusiastic was the C++ committee towards STL? What design decisions / compromises did you have to make to get it accepted? How much resistance did you face?

For example, you have noted that it took a major effort to convince the committee that vector must be contiguous. Was such instances common?

Comment Re:STL (Score 1) 80

STL is actually object-based, rather than object oriented. STL uses classes for encapsulation, but doesn't really use inheritance, and and definitely doesn't use virtual functions, which is what classically means object-oriented. Whatever inheritance is used are more for refinement of concepts rather than object oriented programming.

Slashdot Top Deals

My sister opened a computer store in Hawaii. She sells C shells down by the seashore.

Working...