HNHacker News
TopNewBestAskShowJobs

azoth_

16 karma · joined April 5, 2013

Ph.D. student at the University of Southern California. www.ultimatepenultimate.net
submissionscomments
azoth_··on The Really Big One
There is a company that already makes a Tsunami survival capsule, though it is only designed to float on water:

http://survival-capsule.com/

azoth_··on We have C++14
In modern C++ these loops could alternatively be written as:

  std::vector<int> myVec;
  for( auto it = myVec.begin(); it != myVec.end(); ++it );
or if you prefer the external begin/end syntax:

  for( auto it = std::begin(myVec); it != std::end(myVec); ++it );
or the most succinct (replace && by & if writing):

  for( auto && item : myVec );
azoth_··on Cereal – A C++11 library for serialization
I'm one of the co-developers of cereal. cereal is a serialization library much like Boost serialization, but written in modern C++ (C++11) with an emphasis on being easy to extend. It currently supports binary, XML, and JSON serialization and works with GCC 4.7.3, clang 3.3, or MSVC 2013 (or newer). cereal natively supports pretty much everything in the standard library, so getting started with it is fairly easy. If you have been using Boost and want to give it a try, in many cases you can do so by only changing a few lines of code.

The full release notes can be found on GitHub.

https://github.com/USCiLab/cereal/releases/tag/v1.0.0

azoth_··on Show HN: cereal – a cross-platform C++11 serialization library – 1.0 released
cereal is a serialization library much like Boost serialization, but written in modern C++ (C++11) with an emphasis on being easy to extend. It currently supports binary, XML, and JSON serialization and works with GCC 4.7.3, clang 3.3, or MSVC 2013 (or newer).

cereal natively supports pretty much everything in the standard library, so getting started with it is fairly easy. If you have been using Boost and want to give it a try, in many cases you can do so by only changing a few lines of code.

The full release notes can be found on GitHub.

https://github.com/USCiLab/cereal/releases/tag/v1.0.0

azoth_··on Boston Dynamics' Petman robot successfully wears clothes
Petman isn't doing any kind of active sensing (vision, radar/lidar, etc) in these videos. The clothing has nothing to obstruct other than movement, but it looks baggy enough such that it doesn't do this either.