R: Dplyr – Mutate with strptime (Incompatible Size/Wrong Result Size)

See the original posting on DZone Python

Having worked out how to translate a string into a date or NA if it wasn’t the appropriate format the next thing I wanted to do was store the result of the transformation in my data frame.

I started off with this:

data = data.frame(x = c(“2014-01-01”, “2014-02-01”, “foo”))
> data
x
1 2014-01-01
2 2014-02-01
3 foo

And when I tried to do the date translation ran into…

R: String to Date or NA

See the original posting on DZone Python

I’ve been trying to clean up a CSV file which contains some rows with dates and some not – I only want to keep the cells which do have dates so I’ve been trying to work out how to do that.

My first thought was that I’d try and find a function which would convert the contents of the cell into a date if it was in date format and NA if not. I could then filter out the NA values using the…

Week 1 of my Lean Consulting Startup

See the original posting on DZone Python

Seven years ago, I decided I am going to have my own coaching and consulting company some day. I knew what interested me, and I knew that I was a natural ‘teacher’ (last three generations of teachers in my family was a reasonable hypothesis that I could do it!) and I will want to do it, but I was not sure of several things, most notably:
Preview Text: 

Samsung’s new 360-degree speakers look like friendly robots

See the original posting on The Verge

A week ahead of CES 2015, Samsung has given us a glimpse of two new pill-shaped speakers it’ll show off at the event. The speakers, which resemble a sleek cross between Eve from Wall-E and a Portal turret, can project sound in a 360-degree radius. Samsung says the effect, made possible with the company’s proprietary “Ring Radiator” technology, “fills a room with sound.”

360-degree speakers aren’t totally new — a number of devices, including our favorite bluetooth speaker, the UE Boom, spit out sound in a circle — but Samsung’s new devices certainly look pretty. The larger WA7500 is designated “stand type” and is designed to be left in place, while Samsung says the WA6500, which includes a built-in battery, is “movable type.” Both…

Continue reading…

Watch human dancers use light projection technology to play with floating pixels

See the original posting on The Verge

It can’t be easy to use props in a dance performance — litter a stage with physical impediments and your dancers might crash into them as they twirl and pirouette. But French dance company Adrien M / Claire B has seen a way round this problem, using light projection technology to create fantastical shapes and images on stage, incorporeal forms that the company’s dancers can interact with without restricting their space.

In the company’s newest short video, Pixel, dancers interact with the illuminations, swirling suspended motes of light with their limbs, riding small wireframe hills across the stage, and using an umbrella to ward off a cascade of shining specks. A controlled hand carves a path through a wall of white dots, and a bright…

Continue reading…

Flurry Finds That Apple Devices And Phablets Scored Big On Christmas

See the original posting on TechCrunch

iphone-6-plus-front-hand Flurry has released its annual Christmas report. Each year, the holiday sees the highest number of device activations and app installations as people open presents, and last week was no exception. What is interesting is that 51.3 percent of new devices activated were made by Apple, compared to 17.7 percent for Samsung, and 5.8 percent for Nokia. Read More

LG bets on webOS and a quantum-dot picture to help its new 4K TVs stand out

See the original posting on The Verge

Last year, the most notable thing about LG’s TVs was the software running on them: webOS. LG had just picked up the corpse of the former mobile operating system and repurposed it for the living room. The resulting user interface was a step above what other TV manufacturers had on offer at CES 2014. It was refreshing and fast, with clear traces of the software that many former Palm users still miss today. As for the TVs themselves, they were okay — but didn’t do much to stand out from a crowded field including Sony, Samsung, and Vizio. Now LG’s back with a 2015 lineup that’s all about 4K and, if you believe the company, improvements to picture quality.

Prepare for another 4K TV rush

LG has already rolled out a few 4K TV models this year…

Continue reading…

Flywheel goes after Uber with $10 rides on New Year’s Eve in four cities

See the original posting on The Verge

New Year’s Eve is the biggest night of the year, with Uber alone saying it plans to complete 2 million rides. But it’s going to cost you — New Year’s Eve is notorious for high surge pricing, and lots of people are going to be looking for alternatives. Flywheel, an app for booking regular taxis using your smartphone, is offering one: $10 flat-rate rides in San Francisco, Seattle, San Diego, and Sacramento. From 8 p.m. Wednesday until 3 a.m. Thursday, you can get you to your destination at a cost that is likely less than its rivals.

Continue reading…

2014 had the fewest flight crashes in decades

See the original posting on The Verge

Given the number of major flight crashes and disappearances this year, it might seem like flight safety has taken a bad turn. But it turns out that 2014 hasn’t actually been a statistically worse year than many of those in the recent past. As pointed out by The Wall Street Journal, the Aviation Safety Network currently measures both the accident and fatality rate of 2014 flights as falling beneath the 10-year average — making this year an improvement in some areas.

Continue reading…

Almost every single Xbox executive we profiled in this video last year has left the company

See the original posting on The Verge

Boyd Multerer — the genius Microsoft engineer who founded Xbox Live, helped build the Xbox 360, and led the development of the three-operating-systems-in-one Xbox One platform — announced on Twitter today that he’s left Microsoft to pursue new opportunities. Multerer has been on leave since the Xbox One launched; he and his wife Keri launched the interactive erotica site Silkwords back in February, and now he says he’s focusing on other new startup ideas.

But more importantly, Multerer’s departure means that almost every single person on the Xbox One team we profiled last November when that console…

Continue reading…

You can now watch every Marvel movie scene in chronological order, starting in 2987 BC

See the original posting on The Verge

Marvel Studios has made it a selling point that every frame it produces lives in the same continuous universe. So what if you wanted to watch it in order? Not based on release dates but the narrative itself — from a 2987 BC flashback in Thor: The Dark World through the Battle of New York in The Avengers?

Continue reading…

Statistical Modelling and Analysis of Big Data

See the original posting on DZone Python

There is a one day work­shop on this topic on 23 Feb­ru­ary 2015 at QUT in Bris­bane. I will be speak­ing on “Visu­al­iz­ing and fore­cast­ing big time series data”.
OVERVIEW

Big data is now endemic in busi­ness, indus­try, gov­ern­ment, envi­ron­men­tal man­age­ment, med­ical sci­ence, social research and so on. One of the com­men­su­rate chal­lenges…

Xiaomi’s Apple-inspired gadgets have made it a $46 billion company

See the original posting on The Verge

After raising $1.1 billion in new capital, Chinese smartphone maker Xiaomi has been valued at $46 billion. This means it’s worth more in the eyes of investors than even over-performing Uber (currently valued at $41 billion) and is now the most valuable ventured-backed tech startup in the world. That’s not only testament to the company’s growth — sales are up by 300 percent year on year — but it even managed to produce a small profit of $56 million last year. Dedicated apps have kept customers loyal (and offered alternatives to Google services blocked in China) while its online-only sales approach has created hype and saved money on stores. There’s just one element of Xiaomi’s business that will never be acknowledged: its debt to Apple.

Continue reading…

Biz2Credit Gets $250 Million Commitment

See the original posting on TechCrunch

Screen Shot 2014-12-29 at 12.08.04 PM Lending startups are en vogue this year, with LendingClub and OnDeck planting the flag for the industry in public markets (and offering healthy returns to investors). But there’s a crop of other lenders and service providers waiting in the wings, like Biz2Credit, which just received a $250 million commitment from investment firm Direct Lending Investments. Read More

1 3,693 3,694 3,695 3,696 3,697 4,246