Posts Tagged ‘reviews’

h1

Brother gifts

December 24, 2015

Another Christmas Eve is upon us so it must be time to get gifts for my brother. As usual, I’ll be getting kindle books and, as usual, I don’t really know what he likes. I know he very much enjoyed The Martian last year and was pleasantly surprised by Ken Jenning’s Maphead (so was I, actually).

This post makes more sense if you understand that I don’t really know my brother. Sure we grew up in the same house but had a very Bart and Lisa Simpson vibe: sibling rivalry at its worst. But I do care about him even though I suck at showing it; I fret about how to show that through books.

There have been some Kindle sales so I bought a few books earlier in the year when they were cheaper and set them to deliver today.

  • Statistics Done Wrong by Alex Reinhart: Statistics are really important in today’s world. It isn’t just about scientific significance, reading the newspaper without being able to see how to lie and hide information through stats is critical. I thought this was a good intro book, quite amusing for a topic that is usually a slog.
  • The Annotated Build-It-Yourself Science Laboratory: This was written in the sixties by Raymond Barrett, a teacher and museum exhibit developer. It is a great book but showed its age (you can’t go to the local pharmacy and pick up mercury anymore). So Windell Oskay updated it to reflect modern safety practices and some different resources for trying out the experiments. I was trilled to see this book on sale since it is a pretty amusing read and because I had Windell on Embedded.fm (124: Please Don’t Light Yourself On Fire) so I could mention my podcast to my brother.
  • The Quantum Story: A history in 40 moments by Jim Baggott: I almost always buy books I’ve already read so I can believe I’ve done the due diligence to know he’d like them. But this one was on sale and so I got one for him and one for me. I’m about half way through and put it down… it is a good mashup of physics, characters, and history but the short-story-like nature makes it easy to put down and pick up. I’m glad I got it ($2!) but it isn’t Maphead.
  • Code Name Verity by Elizabeth E. Wein: This was the best book I read this year. Don’t read the summary, don’t read the reviews about it being sad. Just go read the book. I hope he likes this one though it is a bit of an outlier as far as genre goes.
  • 10% Happier: How I Tamed the Voice in My Head, Reduced Stress Without Losing My Edge, and Found Self-Help That Actually Works–A True Story by Dan Harris: I picked up this book about meditation earlier in the year, having heard Dan Harris on an NPR show being open about his recreational drug use. It was a good book. I liked many parts of it and was only irritated by a few. It didn’t make me start meditating but it might have made me more mindful, at least for awhile.

Now I have to wade through my ideas to figure out what else to get him.

I think yes to Boneshaker by Cherie Priest. It was my introduction to Cherie Priest and still probably my favorite of her books (though I Am Princess X was fantastic but it is a young adult book targeted at women).

I just started The Moth, written versions of some of the stories told on The Moth Radio Hour. I really like the radio show, whatever they are about they are good stories. The ones I’ve read so far share the same level of goodness so I’ll take a chance that it continues despite the preface, forward, and introduction chapters all being long and less interesting.

In that same vein, I noticed that Terry Gross’ All I Did Was Ask: Conversations with Writers, Actors, Musicians, and Artists is also on special this month. I’ve been wanting to read that so one for him, one for me.

So that covers all the on-sale things. But I can’t buy only on-sale gifts. You can return Kindle Gifts and get the credit. And I’ve told him I don’t mind him doing that but it seems like all <$4 is odd. Despite the amount of time (and, seriously, all sorts of fretting), I should get a couple books that maybe come out of the normal bin.

I quite liked Brandon Sanderson’s Steelheart, a sci-fi/dystopian/superhero book. I got him the Mistborn trilogy last year. The packing is different enough that if he hated that, he still might like Steelheart (though if he liked that he’ll probably also like Steelheart).

I haven’t read The Peripheral by William Gibson but it people have been saying it is the best thing he’s written since Neuromancer. I’ll send this as a little cyberpunk to balance out the steampunk.

Realistically, this is probably enough books for my brother. Though I asked a friend for suggestions and he suggested Microserfs, The Peripheral, and Suarez’s Daemon. That’s the second person to suggest Daemon to me in the last two weeks. You know, I think I’ll just get that one for myself instead of my brother. And given the news that Microserfs was better than Ready Player One, well, that’s going high on my wish list.

Clearly I’ve stopped buying gifts for my brother and devolved into something else.

One more for him because I think it is neat: Thing Explainer: Complicated Stuff in Simple Words by Randall Munroe. The creator of the truly excellent xkcd comic and the hilarious What If blog wrote a book explaining complicated things in the most common thousand words. It is a strange blend of “huh” and “neat!” so I’m hoping he enjoys it.

h1

2014 Year-end Review

January 4, 2015

I read Cation Designs blog and she did a year-end review. It made me think about my advice that people who often feel like impostors should do self-reviews. Creating a well considered analysis requires us to consider (and focus on) the real accomplishments instead of the failures (real or imagined).

Cation is a sewing blog. This is not. Reviews are reviews though.

I suppose that means I’d best get started.  While the categories are top 5, there is no ordering within the buckets.

Hits

  • Podcast: we did 50 episodes this year. Occasionally, it was a chore but more often it was a great way to meet interesting people. I’m pleased (and occasionally startled) at how it has grown.
  • I did a white paper for a client. It was a month of incredibly thinky work but not a lot of code (just the odd bit here and there to test ideas). I really enjoyed the in-depth thinking required.
  • Making Hugh and Maxwell are-you-ok widgets as a collaborative project. I liked working with Elizabeth.
  • The Hackaday Prize judging was extremely educational for me as well as being fun. This came about because of the podcast so that’s an interesting loop-back. It also makes me want to do more projects myself.
  • I’ve kept up the blog even though it is something I do almost exclusively for myself. This is where I practice writing and I’m happy with myself that I keep practicing. My output has been a bit uneven but there was at least one post every month. Note that there were some other posts: on element14 (paid), Sparkfun tutorial, and on Hackaday (recent projects).
Month Jan Feb Mar Apr May Jun Jul Aug Sept Oct Nov Dec
Posts 1 1 9 9 7 1 2 4 3 2 6 9

 

 Misses

  • I enjoyed building Maxwell but, as a monitor, he’s a failure. His network has been flaky since we got a new router (as have our other Electric Imp devices) and I ignore his whiney emails (exactly what I shouldn’t be doing). Plus, I forget to pet him. I’m not sure this is the right path for this sort of monitoring (maybe fridge mounted would be better).
  • I spoke in two sessions at EELive last spring, being the sidekick for Jen’s BIA teardown and then my own presentation on how the vaunted internet of things is not on a good path for consumers. Many things happened behind the scenes that made me nervous (“Your computer cannot work with our AV.” “No, no one is speaking here at that time.” “No, we don’t need to do a real run through.”). I’m a pretty crummy speaker when nervous.
  • We looked in to getting sponsors for the podcast. It wasn’t pretty. I’m not sure how monetization will change how I feel about it. Making hobbies profitable is a good way to lose a hobby.
  • I worked at PARC and found it to be very interesting. I hoped that the place and people would be interesting enough but routers hold no attraction for me. I missed the gadgets something awful.
  • There are several home improvement tasks that I really meant to do. For some reason, ignoring the things doesn’t make them get done.

Highlights

  • Last January, we rented a house in San Diego with friends to celebrate another friend’s birthday. It was not an easy trip for various reasons but it definitely qualifies as a highlight.
  • In the fall, Chris and I rented a house in Santa Cruz and had a very nice vacation filled with whales, dolphins, otters, delicious coffee, and sunshine.
  • Chris and I snuggle on the couch watching TV before we sleep. I like it.
  • I was matron-of-honor at a Las Vegas Halloween wedding. It was just as crazy as it sounds.
  • I had my first birthday party in years. It was fun.

Reflections

  • I need to be better at gauging things I actually want to do versus things I feel I have to. I’ve gotten better at the day-to-day form of this but I still sign up for things in the far future hoping to convince myself it will be fun.
  • People are more important. Even being an introvert, I know this but have trouble remembering. Looking at the Hits and Highlights, it should be apparent that those are there because of the people, not because of the event.
  • My husband is right and I should tell him that more often.
  • I hate it when people leave the area. I felt sort of abandoned. One set of friends had such a long “we’re leaving” time that I sort of stopped believing they were going. It was a sad surprise when they did. Another friend said “we’re thinking about it” and then suddenly (to me) was gone. I know it is good for them (and it isn’t about me) but missing them has made me sad.
  • I’ve been on a path toward focusing on being happy: taking responsibility for and thinking about how to accomplish happiness. I did pretty good this year: learning new things and accepting some things that are not mine to change. But I clearly need a lot more work as I find it difficult to recover from perturbations.

Goals

  • Be kind.
  • Be brave.
  • Be generous.
  • Advertise the podcast and book because they are worthwhile and useful so talking about them may help other people.
  • Do interesting work.

 

We often threaten the dogs with year end reviews but they know their extreme cuteness will mean no punitive action will be taken for their obvious badness.

We often threaten the dogs with year-end reviews but they know their extreme cuteness will mean no punitive action will be taken for their obvious badness.

h1

Books I’m giving my brother for the holidays

December 21, 2014

Last year, I gave my brother a bunch of books for the holidays. He professed to enjoying receiving them all. He hasn’t said which ones he liked reading. But, as a I said last year, we aren’t great communicators.

I also suspect he most liked me setting up his email even more: a “friend” had previously set up his email and it intentionally misspelled my brother’s last name. I, of course, sent the gifts to the correctly spelled name, my head being unable to cope with that sort of breakage. Anyway, I made a corrected email address and then forward the old account to the new one and sent him all the passwords (which he expected me to remember this year, hah!).

When I called to ask for his daughter’s addresses, we chatted for a few minutes. He said he’s reading a lot these days and would love more books, especially science fiction. I got excited, exclaiming I have the perfect gift. Sadly, he’s already read Andy Weir’s The Martian– three times! At least I know I’m on the right track.

I made a new list, partially from the ones last year that I’d forgotten or fell off my list. So far I’ve already bought

  • Neil Gaimen’s The Ocean at the End of the Lane. I asked Chris where he thought someone should start with Neil Gaimen and he thought maybe American Gods and I thought maybe The Graveyard Book thought that is young adult. But when I thought about about really-good-books without taking into about the author, The Ocean at the End of the Lane is higher in my personal ranking.
  • Ernest Clines’ Ready Player One. As soon as my brother said The Martian, I thought about Ready Player One. I don’t know why they are linked to me, maybe because I wish I’d written these books. No, not because they are popular but because they are deeply harmonic with the noise in my head.
  • Keeping with fiction, I went ahead with Ender’s Game. In Amazon, it is filed under “Classic Science Fiction” which where it belongs. The movie was not as good as the book (in large part because you couldn’t get a kid as young as in the book). I don’t necessarily like Orson Scott Card and I think the Ender books went on for much too long. But this is a great book and it was on sale.
  • Brandon Sanderson’s Mistborn Trilogy. Chris introduced me to this fantasy trilogy. Sanderson is so prolific, it can be tough to figure out where to start. This trilogy is fairly well encapsulated and a lot of fun. I have only dipped my toe in his other work though Chris gets lost in it.
  • Matthieu Ricard’s Happiness. Written by a molecular biologist turned Buddhist monk, I suspect my brother will like this book more than I did. I quite enjoyed the first 25% and then it lost me a bit in the deeper areas of Buddhism. I’m fully willing to believe (and practice) that happiness is a skill that requires practice and attention. However, I’m a product of Western education, the eradication of self is inexplicable to me unless he means balancing the System 2’s lies to cover System 1’s laziness (from Kahneman’s Thinking, Fast and Slow). That makes sense to me but I’m not sure that’s… Anyway, my brother mentioned an interest in Buddhism and Happiness is the obvious book for him if not for me.
  • Randall Munroe’s What If? Ahh, come on, we all read the wonderful XKCD webcomic with its mix of absurdity, love, and science. And I read the What If? blog with great enjoyment. I suspect my science-loving brother will love this though I worry that he may not be familiar with Munroe’s other work. I wonder if that will decrease his overall enjoyment, I hope not.
  • Allie Brosh’s Hyperbole and a Half. Last year, I got the hardcopy of this for several people. My brother-in-law never laughs aloud and he giggled through it. A visiting friend seemed a bit depressed (in part because he was visiting over Christmas to meet stupid work deadlines and because his cat had recently passed away) and we put this in his stocking, getting a few giggles from him as well. It is a great book that covers some fairly deep territory with panache (and humor). I recommend it to everyone. Though I’m concerned about the color images on a kindle (my brother said he had a color screen, I hope it all works out).

I started working on this list last week, making an Amazon gift list so I could pile ideas together. Strangely, this shows me just how much the prices fluctuate. Both What If? and Hyperbole and a Half were discounted 30% when I went to look today (and add another book I was thinking of). Now, I’ve decided to go ahead and leave the list a little broad, maybe a few more things will go on sale, helping me decide what else to get my brother. Some of my other ideas:

  • In the popular science category, I have: Ken Jenning’s Maphead about incredibly interesting subject of geography (yeah, I didn’t think it was possible either), Sam Kean’s The Violinist’s Thumb about genetics (and history of discover), Micheal Pollan’s The Botany of Desire about plants mating habits and how they’ve trained humans to care for them, and James Pennebaker’s The Secret Life of Pronouns about the wonderful world of words and the psychology of interpreting what someone means. Vladimir Dinet’s Dragon Songs about crocodilian (and Russian) mating habits almost makes the list but I think that was because I listened to part of it which set the voice in my head better than the writing did.
  • In science fiction, I have Douglas Adam’s The Ultimate Hitchhiker’s Guide to the Galaxy which contains all five books. I should just buy this one. It is a little pricier than the cheap ones but, gosh, at a per-word price it is improbably cheap. Heck, I should get it for myself, it is time for re-read of these, they make me happy. Talking about a good value even at full price, my list also has Neal Stephenson’s Reamde. What a romp! But my brother isn’t into computers so the attention to detail may be lost on him (and I already got Ready Player One which is somewhat similar).
  • In fantasy (I don’t normally separate sci-fi and fantasy, any advanced technology looking like magic and whatnot, but that previous bullet was getting pretty long. To keep this short, I’ll just put up some books.
  • Last year’s gifts had a lot of urban fantasy so this year, I tried to be shorter in that. I liked Mur Lafferty’s The Shambling Guide to New York City (and the New Orleans sequel). For all that these are full of dead things, it is a more character driven book than some of the others on the list. Other urban fantasy and some pithiness:
  • Back to science fiction or fantasy or whatever
    • Jumper (I love Gould… though I started with Wildside so maybe that is better. But Exo came out this year (Jumper #4) and so this is better path)
    • The Curse of Chalion (Where to start with Bujold? Vorkosigan is awesome but this is standalone. And awesome. But on the pricey side)
    • The Three-Body Problem (I am so looking forward to reading this book myself! I have such high hopes. This may be an example of giving a gift to someone else and hoping they don’t like it and give it back.)
    • Boneshaker (I remain a sucker for Steampunk.)
  • Last (but not least), I really enjoyed the The Best of Instructables. I seldom go to the website (being ad-phobic) and having them in a book has been awesome for inspiration and general interest. But I’m not sure about Kindle. I’d consider sending him Make Magazine but I’m not sure he’d be into that.

Having learned the price fluctuations in ebooks, I’ll watch them for a day or two and sort out what else to get my brother. Though if I was in charge of making profits at Amazon, now that the shipping window is nearly closed, it would make sense to push the prices of all electronic items up a bit for those last-minute shoppers.

What did I miss? Any books you especially enjoyed this year?

h1

Hooked on a Feeling

August 12, 2014

I’ve seen Guardians of the Galaxy. Twice.

I was excited about the movie, I loved the trailers, even the teasers. I was pretty sure they’d taken all the good pieces and left the movie bereft of jokes. I was wrong, happily, happily wrong.

I’ve been trying to figure out why I adored GotG so much. Was it the really good plot? Was it the awesome number of quotable lines? Was it the fact that they had that meeting I have had at least once a week where a decision was made and then someone said “what? I wasn’t listening. I was thinking about something else”? (That is officially called “draxing” now, so you know.)

I love the point where one of them completely embarrasses himself, just to stall for a bit of time. I wish I was that brave. And I don’t know why I wouldn’t be. Embarrassment is not fatal. I love that he had the faith that his team would fix it.

It made me happy that at the end of the movie, the characters were relatively unchanged, except they were happier, more confident.

Let me recall my review of Thor (the first one). I could have sworn I posted a review of Thor here but can’t find it. Anyway, I thought Thor was a good movie but I found it difficult to watch. At the beginning, Thor is happy: happy to be a prince, happy to be a warrior, happy to be Thor. Then he get tricked, loses his hammer, falls in love, saves our world, goes home a man burdened by responsibilities, a dysfunctional family, and a long distance relationship. The movie was a story of a boy maturing to a man. He grew up and growing up sucked.

There is (or should be) a point in growing up where you have all this freedom and potential and energy: you can save the world and you want to but you don’t have to. It is a wonderful point. I remember the night after high school graduation as being fairly incandescent with possibilities and lacking in responsibilities.

There have been other points like that but, more often, the reward for a job well done is a more difficult job. That’s good but can get exhausting, even damaging as the difficult job becomes impossible.

There was none of that in the movie. The reward for a job well done in Guardians was the gratitude of a planet, a rebuilt space ship named after an 80s celeb, a new family, and a galaxy of possibilities.

If I could watch any movie this afternoon, it would be GotG. Again. It made me happy.

h1

Fuel gauge for batteries

April 16, 2014

Lithium polymer (LiPo) batteries are strange beasts. I can’t simply measure the current voltage and tell you how full it is. (You can on throw-away AAs.) Worse, a nearly-full battery and a nearly-empty read about the same voltage until it become really empty and the battery dies.

Determining the LiPo battery’s state of charge requires an algorithm that monitors the battery over time and over a few charge cycles. The simplest way for me to do it for the are-you-ok widget is to buy the monitoring in the form of a small board: the LiPo Fuel Gauge.

However, while not adverse to reading datasheet, I just wanted to plug this board into my system and have it work. I did read the example code: it reads the percent from a register and sets up an alarm-interrupt I don’t care about.

I should have been more suspicious when my full battery read a state of charge (SOC) that was in the 30,000s but really, I didn’t care the actual number as long as I could see the power go down over several days. Except, with deep sleep working, the power is taking much longer than several days to go down. Last time I read the battery, it said 18664. Reading the voltage with a DVM showed it to be very high.

Then I broke that battery’s wire so I need to switch to another module (a very small one this time so I can check the fuel gauge better). Also, this time I’m going to read the datasheet, to get it set up properly.

I figured I might as well take notes here. Maybe note a few things about how to write instructions since that’s also on my mind. The intro starts off pretty good and a line caught my eye in the third paragraph.

A quick-start mode provides a good initial estimate of the battery’s SOC.

Good, that’s what I need. And I already know I can connect to it, at least to read registers. I can probably write registers but I don’t have that code for this chip.  (That’s like 3 minutes of coding and 4 minutes of testing so this isn’t a major deal.)

Next in the datasheet is a bunch self-congratulatory blahblahs that don’t help me solve my problem. Why do they do that? I already bought the thing, quit selling it to me and tell me the good stuff. I get through the “for the electric engineer” tables (those can be important to me but on first skimming, I tend to let the data slide over my brain), then  messy graphs followed by more coy hinting at their algorithm and finally to a section called IC Power-Up.

When the battery is first inserted into the system, there is no previous knowledge about the battery’s SOC.

Since the LiPo’s state of charge depends on it’s history, the first power up is tricky. It goes on to say about how the fancy-schmancy algorithm will converge with time. This was what I was depending on before (and about where I stopped reading the datasheet before). Eventually, the fuel gauge figures itself out, after a few charge and discharge cycles. Of course, if you are talking about months, then that isn’t so useful.

I want a way to charge the battery fully (because the charger says it is done and it have been charging for several hours) and then tell the fuel gauge it is full. Ideally, that will be covered in the Quick-Start section that is next.

A quick-start is initiated by a rising edge on the QSTRT pin, or through software by writing 4000h to the MODE register

Yay? Ok, so now I know how to go into quick start mode but what does that do? It doesn’t tell me. This is why I hate reading datasheets sometimes. It is like talking to a recalcitrant four-year old.

Moving on, maybe things will become clear if I keep reading. The next section is ALERT Interrupt. I don’t want that (not enough pins on the Electric Imp, maybe I could use pulldowns to double up the wakeup pin but that seems too much like work; I don’t mind polling the fuel gauge every hour since the unit needs to wake up and check-in to the server anyway).

The next section is on Sleep Mode. That should be interesting but since I can’t kill batteries, I haven’t done the last few power optimizations: put this and the accelerometer into sleep mode when they aren’t needed.

Let’s see, I can reset the fuel gauge, as though I power cycled it. Whee. (That was an unenthusiastic whee in case you couldn’t tell from the tone.)

Now for the Registers section. As a software person, this is the section I usually skip to. If this datasheet was a walnut, this would be the delicious meaty core.

Usually.

The SOC Register really should be giving me a percent full.

Units of % can be directly determined by observing only the high byte of the SOC register. The low byte provides additional resolution in units 1/256 %.

Ok! So my last reading was 18664, in hex that is 48 EB. Looking at only the high byte hex 48 equals decimal 72. My battery is 72% full. Look at that, it makes sense now.

On April 8th, my reading was 24839, in hex that is 61 07. So hex 61 is 97%.

Essentially I’ve been reading it wrong. To be fair to my previous self, I did look at the figure that showed how to read it which says something different than the text. (Different and implausible but I know why I decided I could just read the 16-bits and concatenate them together.)

This is an easy fix to my software. Where the code used to have

local tmp = (data[0] << 8) + data[1];

I modified it to

local tmp = data[0];

As I only care about the top byte.

Well, while I knew I needed to fix the output issue, the information was decreasing reasonably as I discharged the battery, I know there was just a units or conversion issue. That isn’t why I’m reading the datasheet. I need to know how to tell it that my battery is full. But I should only do it in a manufacturing mode or something, definitely not on every boot or even on every power cycle.

Happily, the next table is about the MODE register which mentions the Quick-Start command. That references the “Quick-Start description section”, what I read before that mentions there is a Quick-Start mode but not how to use it. Searching through the document for Quick-Start leads to nothing.

The MODE register section says the only valid setting is the quick-start setting. I feel like I’m reading an Escher print turned into words.

Ahhh, the version register is next to be described. What could possibly go wrong? Well, for one, it doesn’t tell me what to expect. I read the register and get a value. Is it a good value? Many (most!) vendors suggest what to expect, reading the version register (or whoami) is a great way to verify that I’m communicating properly with the chip. Alas, not for this IC monstrosity. (Ahh, it isn’t that bad, I’ve read far worse datasheets but this one is remarkably easy to pick on.)

I mean, in the next section, it goes over the CONFIG register (which incidentally is where the sleep mode is set). There is a bit in CONFIG called X (Don’t Care).

This bit reads as either a logic 0 or logic 1. This bit cannot be written.

I suppose it is my scotch-and-ice-cream dinner or the last nine pages of nonsense, but this statement strikes be as funny. “This bit cannot be written”, wanna see me try? Because I can write it. The IC may ignore it but I can so write it if I want to.

Next there are some applications of this chip, how to use it for multiple LiPo cells. That’s all very interesting but actually not.

Then there are several pages describing the communication method (two-wire so they don’t have to license from whoever holds I2C’s patent, how can you patent such things?). I don’t care about this as I have that part working.

And then the end. It includes an address only about five miles away. I want to go and ask them to explain to me if there is a way to tell their chip that the battery should be pretty full since I just finished charging it during my hokey manufacturing process.

Instead, with the data format fix, I’ll just plug in another battery and see if it is recognized as full and discharges normally. It is supposed to converge, might as well let it.

And the next time I see a MAXIM part, I will (once again) read the internet-supplied example code and not bother with the datasheet until I absolutely have to. Though, I’d still rather buy MAXIM than Infineon parts.

But that’s a separate rant, for another day.