DuckDuckGo Things

images-duckduckgo-com

Heya. This is a light post about a the search engine DuckDuckGo.

Day to day we (I) use Google to search stuff. There’s a lot of alternatives, but the most appealing one is DuckDuckGo. This search engine combines a good set of results, it does not track you (so they say), and has a set of special features. I want to highlight some of its features here. Unluckily nobody paid me to do so 😛

The Duck’s features

Leave a comment

Filed under tools

Cortex-M0 Boot

stm32f0_img

Still alive and kicking. And with another year in my back in Embedded Development.

My recent tamperings have been about creating a bootloader for a Cortex-M0 µ-processor that performs firmware update either from UART or SPI.

There was a interesting bit on how to set-up the system to have two Firmwares running (Boot Mode and application mode). And that is what I’ll explain in this post. How to set up a project to build a boot and successfully run your main application.

Boot me up

3 Comments

Filed under code, electronic

Quick Unit testing with C

throwtheswitch

Unit testing is something that lots of developers are used to, and in environments like Python or Java can be even bundled in some awesome libraries. Easy to use, easy to implement, great results.

Then it comes C Embedded: The environment is different, even the people is different!!. Praising the benefits of unit testing is not that easy sometimes, even writing the unit test functions is not as straigtforward.

In this post, I’ll talk about Unity, a small unit test library for C.

See how we test

Leave a comment

Filed under code, tips

Hyperion

hyperion
What to say about Hyperion.

It’s a Sci-Fi book about 7 pilgrims with 6 stories in it. (Yes, there’s a story missing there, that’s not a typo).

I have this book since 2014 but I did not dare to start it until recently. I excuse myself telling people that it is a long book about weird tales, but there’s no excuse, you should recommend this book to everyone, sci-fi lover or not.

The different narrations range from impressive to breath taking, I don’t think I’ll ever forget Father’s Duré notes, or Weintraub’s sad account of his family’s misery. All the other are also well told, but as it happens, everybody will remember their favourites. Sometimes seems that Simmons gets over the top, but those are minor flops easy to forget.

Be warned though, you may feel swindled when finishing it. Every pilgrim is set off to meet a mysterious god-like machine called the Shrike, but the book does not revolve around this adventure, but on the backgrounds of the pilgrims. So, at the end of the book, you know the same things that you knew back when you started sort of.

Don’t forget that there’s a second book “The fall of Hyperion” (I’m reading right now), that may solve some of the mysteries presented here.

hyperionimage

Leave a comment

Filed under books

Logitech Trackman in Linux

trackman-marble-gallery-icon

A simple post on how to configure a Logitech Trackman Marble on GNU/Linux. This post is tested on Ubuntu but since this is Xorg configuration it should be usable almost everywhere.

Configure it

1 Comment

Filed under tips, tools

Create a module with XCircuit

xcicon_sm

I discovered XCircuit when looking for an easy and quick way to generate a schematic.
Since I am not going to simulate it, it would be enough to have a vector design program like Inkscape, but it’s never too late to learn a tool that may prove useful in the future.

There are other bigger, better, stronger EDA tools: Geda, KiCAD, EagleCAD… but I settled for something designed for publications.

(…)program for drawing publishable-quality electrical circuit schematic diagrams and related figures(…)
— XCircuit website

In this post you’ll find a quick overview of XCircuit, and how to create a module with it.

continue please

Leave a comment

Filed under tips, tools