QuaterNet: A Quaternion-Based Recurrent Model for Human Motion

QuaterNet: A Quaternion-Based Recurrent Model for Human Motion

This is the implementation of the approach described in the paper:

We provide the code for reproducing our results (short-term prediction) and generating/rendering locomotion animations (long-term generation), as well as pre-trained models. Our recurrent network, QuaterNet, represents rotations with quaternions and our loss function performs forward kinematics on a skeleton to penalize absolute position errors instead of angle errors. If you want to train the model from scratch, you have to run the download script first:

This will download the Human3.6M dataset, convert it to our encoding, and save it in .

Source: github.com

Audible and audiobooks, the fastest growing part of publishing

Audible and audiobooks, the fastest growing part of publishing

It’s simplistic but not entirely inaccurate to say that Audible’s parent, Amazon, is to book publishing what Facebook and Google are to magazines: the troll under the bridge whose idea of a toll is to devour consumers and competitors whole. From the first, founder and CEO Donald Katz saw portability as his selling point; several years before the Apple iPod came on the market, Audible designed its own version of Bellamy’s indispensable, an audio player “roughly the size and shape of an electric razor.” A 2017 post on the Audible website takes the old Books On Tape ad to the next level, boasting, “there’s a world of movers and shakers getting through their books and podcasts in half the time.”

Source: thebaffler.com

Crustacean has never been seen away from Lake Merritt, but it’s not from Oakland

Crustacean has never been seen away from Lake Merritt, but it’s not from Oakland

You can go down today to the notch in the heart-shaped Lake Merritt, slide down the embankment through the overgrown Australian myrtle trees to the edge of what Carlton calls the “black mayonnaise” lake mud, pick through the shoreline marine debris and find the hoppers. In the absence of such proof, and based on the fact that as far as anyone knows the hopper only lives on this one small beach on Lake Merritt, one of Carlton’s colleagues at the Smithsonian once considered briefly the idea of listing it as endangered. “In a deeply urbanized place in California, with millions of people, and all the activity in Lake Merritt, and all the storms, and all the tidal control, and all those perturbations, this little sandy muddy beach under the gardens and trees of Lakeside Park is there, largely unexplored,” Carlton says.

Source: baynature.org

Aerobic exercise is an effective treatment for depression

Aerobic exercise is an effective treatment for depression

A systematic review shows aerobic exercise improves clinically diagnosed major depression compared with antidepressants or treatment as usual. The new review only included the trials thought to have the most applicable results. Though the review only included 11 trials of 455 adults, the results are encouraging, especially as it included both inpatients and outpatients.

Source: discover.dc.nihr.ac.uk

Google Is Eating Our Mail

Google Is Eating Our Mail

I’ve been running a small SMTP and IMAP mail server for many years, hosting a handful of individual mailboxes. Unfortunately, email is starting to become synonymous with Google’s mail, and Google’s machines have decided that mail from my server is simply not worth receiving. So far Google has blocked personal messages to friends and family in multiple languages, as well as business mail.

Source: www.tablix.org

PostgreSQL Features You May Not Have Tried but Should

PostgreSQL Features You May Not Have Tried but Should

Starting with version 10, PostgreSQL natively supports sharding of a table into multiple child tables, based on a partition key value computed from one or more column values. You can query and insert at the parent level, and PostgreSQL will route it to the appropriate child table, have a look:

First, we insert two rows:

We can see that the rows are actually inserted into the child tables:

But queries can be done on the parent, returning combined result:

Partitioning is in some ways similar to inheritance (query at parent level), but there are differences too (partition parent contains no data, for example). Here is a table that uses an array column:

Assuming each row represents a blog post, each having a set of tags, here is how we can list all the posts that have both “postgres” and “go” tags:

The usage of the array type here makes for concise data modelling and simpler queries.

Source: pgdash.io

Stop Memsetting Structures

Stop Memsetting Structures

Consider this snippet of code from the venerable Beej’s Guide to Network Programming:

So, we first declare a struct, memset it to zero and then initialize the fields we are interested in. But if you’re writing new code in 2019, there is really no reason to not use designated initializers. Cue the Rust Evangelism Strike Force chiming in to say that there is really no reason to be writing new C code in 2019.

Source: www.anmolsarma.in

The Embedded Rust Book

The Embedded Rust Book

Welcome to The Embedded Rust Book: An introductory book about using the Rust Programming Language on “Bare Metal” embedded systems, such as Microcontrollers. (See also Who Rust Is For)

The goals of this book are:

This book tries to be as general as possible but to make things easier for both the readers and the writers it uses the ARM Cortex-M architecture in all its examples. This book caters towards people with either some embedded background or some Rust background, however we believe everybody curious about embedded Rust programming can get something out of this book.

Source: rust-embedded.github.io

My Billion Dollar Mistake

My Billion Dollar Mistake

Implementing and debugging tracking of new data into analytics tools could take weeks. Our head of product wrote an internal memo to the whole company where he described exactly what a Hiten Bomb was and how it was impacting the team. Months and months of frustrated team members, countless wasted hours working on things that didn’t matter, competitors getting ahead and customers leaving us for them as a result.

Source: producthabits.com

Intel Stockpiling 10nm Chips

Intel Stockpiling 10nm Chips

In its earnings conference call, Intel has warned that chip shortages are set to continue into the third quarter of the year, However, the company has also said that its 10nm manufacturing process is improving faster than anticipated and that it will be able to sell more 10nm chips this year than previously predicted. So great is the demand for 14nm manufacturing capacity that in some areas the company has even had to go backwards. These moves both enable the company to use its limited 14nm manufacturing capacity for chips with a higher margin than these chipsets.

Source: arstechnica.com