News for hackers. Stuff that matters.

carrigan

Hi all! I'm a software/hardware engineer at Yard Stick and am happy to talk more about what we've been working on if anyone has any questions.
I agree that we need to cut back our current emissions. Even if we stopped emitting all greenhouses gasses tomorrow, the global temperature would continue to rise for decades before stabilizing, so there is still plenty of need to capture what we've already let out.

I'm fairly bearish on direct capture solving much though. It requires so much capital and energy just to replicate the carbon capture that we can already do just by growing plants. I hope that companies like Charm will also get significant funding to pursue using plants for the capture part.

Re:America’s Cities Are Running on Software from the ’80s on Thursday February 28, 2019 @10:56AM (#19272219)
I don't believe that hardware constraints have anything to do with code quality. Running your code on a microcontroller will require your algorithms to run in a smaller RAM footprint and potentially come with timing requirements, but do not dictate that you write quality code to do so. You can solve those problems with thousands of lines of uncommented assembly efficiently, but that does not mean it is quality code.

I have worked for a significant time in my career as both an embedded engineer as well as a backend engineer, and in general I find that the backend code is way easier to read, maintain, and extend. Embedded code is seldom properly tested and most of it is written in C where people can abuse a library's contracts or the preprocessor. It is not uncommon to find functions that are over a thousand lines in the embedded world. Compare this to Rails where there are a ton of standards, short and succinct functions, and good support for testing.

I guess it depends on your definition of "quality code". If you mean code that is dependable and will do one thing well on one platform for the rest of time, then embedded code could be considered high quality. I would debate that these items have more to do with the binary than the code though. If you mean code that conveys how a program works well to other programmers, is under test, and follows some standard structure, I would pick modern app development as typically being much higher quality.

Re:Ask HN: Who wants to be hired? (December 2018) on Monday December 03, 2018 @11:37AM (#18590094)
Location: Durham, NC

Remote: Yes

Willing to relocate: No

Technologies: Backend Development (Ruby, Elixir, and Python), Embedded Device Development (Firmware in C and C++, design and layout in Eagle and many others), Frontend Development (vanilla HTML+JS+CSS preferred but also experienced with React)

Resume/CV: https://www.linkedin.com/in/briancarrigan/

LinkedIn: https://www.linkedin.com/in/briancarrigan/

GitHub: https://github.com/carrigan

Email: [email protected]

I have been working as a mixed web and connected device freelance professional since last September and am open for contract based work or a full-time position at a hardware or IoT focused product shop.

Thank you very much! I'd love to hear about what you come up with for recipe management.
Thank you for the kind words! I will echo slig and say that I have been really happy with the Rigol DS1054Z so far. I love that you can build a really capable electronics lab at home in 2018 for less than $500.
Re:Ask HN: Who wants to be hired? (November 2017) on Friday November 03, 2017 @09:13AM (#15618905)
Location: Durham, NC

Remote: Yes

Willing to relocate: No

Technologies: Embedded C/C++, Ruby, Elixir, Python, HTML, CSS, Javascript, PCB Layout

Résumé/CV: https://www.linkedin.com/in/briancarrigan/

Email: [email protected]

GitHub: https://github.com/carrigan

---

I started out my career as an embedded engineer for 5+ years, writing firmware in C/C++ and laying out circuit boards. During this time, I worked on learning web development and working with some friends on a real estate startup, and eventually made full-stack web development my full time job for the last 3 years.

I recently left my day job to begin freelancing on full-stack IoT projects. If you are a software company looking to make a device or a hardware company looking to bring your device's data online, I'd love to talk. I'm also available for full-stack web development work in any of the languages listed above.

Re:Ask HN: Who wants to be hired? (October 2017) on Monday October 02, 2017 @12:49PM (#15385459)
Location: Durham, NC

Remote: Yes

Willing to relocate: No

Technologies: Embedded C/C++, Ruby, Elixir, HTML, CSS, Javascript, PCB Layout

Résumé/CV: https://www.linkedin.com/in/briancarrigan/

Email: [email protected]

GitHub: https://github.com/carrigan

---

I got my degree in Electrical Engineering and practiced as an embedded engineer for 5+ years, writing firmware in C/C++ and laying out circuit boards. I spent my spare time learning web development and working with some friends on a real estate startup, and eventually made full-stack web development my full time job for the last 3 years.

I recently left my day job to begin freelancing on full-stack IoT projects. If you are a software company looking to make a device or a hardware company looking to tie your device into the web ecosystem, I'd love to talk.

Re:Programming ARM Cortex-M Microcontrollers with Rust on Sunday April 09, 2017 @09:49AM (#14072248)
This is exactly what I was looking for; I had only checked the String and &str documentation and didn't think to look for a macro. Thanks :)
Re:Programming ARM Cortex-M Microcontrollers with Rust on Sunday April 09, 2017 @09:05AM (#14072088)
I go through this cycle every 6 months or so where I will get excited about Rust and try it out for embedded development again. Typically in the first day, I get frustrated with some major limitation and put it back on the shelf. This last time, I wanted to make a simple timer that displayed the time since a button was last pressed on a 16x2 character LCD screen.

In addition to the HAL annoyances that turbinerneiter talked about, I wound up giving up this time because I could find no way to manipulate strings in a static buffer. In C I could just allocate two 17 byte strings statically and then `sprintf` to them, but there seems to be no equivalent in Rust.

I'd be curious to know what limitations others have run into when trying this and if I was just doing it wrong.

Re:Maine Ranked Choice Voting Initiative Approved on Monday November 14, 2016 @12:04PM (#12951250)
If anyone is interested in using Single Transferable Vote for unofficial uses, I recently wrote an implementation in Elixir and wrapped it in a small JSON API. It is a toy in its current state (it uses cookies to see if people have voted and the link to close an election can be somewhat easily found even if you are not the creator of the election) but we use it around or office for a few things and I would be interested in continuing work on it if anybody would like to jump in. I have an instance of this running on my site; ping me if you'd like to try it.

STV Algorithm: https://github.com/carrigan/elixir-stv Phoenix API: https://github.com/carrigan/vote-service

Arduino. I went to school for Electrical Engineering and learned programming for small embedded computers using assembly. While assembly can be fun as an optimization puzzle, it takes a very long time to code even a simple project. Additionally, these computers can have 1000+ page datasheets that you need to comb through in order to set their peripherals up.

Arduino takes care of setting up the peripherals, gives easy to use functions to control the chip, and hands over the keys to a fully ready C++ build chain. When I finished my first project I was hooked and tried to use them everywhere I could for prototyping, and always aimed to make my hardware libraries as easy to use as Arduino.

This is a great idea! I did something similar which stripped the text out of my tex resume, but I like the idea of writing it in the intermediate format and then converting to whatever you want.

While on my most recent job search, I found that a lot of places want a copy/pasted version of your resume in a plain text box. It would be nice if this printed out a pretty plaintext version of your resume too for boxes like this.

Re:How LEDs are Made on Friday May 30, 2014 @12:10PM (#7822535)
The title here is slightly misleading- this isn't how LEDs are made, it is how LED dies are packaged. The more difficult part of all of this is creating the dies themselves, which is requires a clean room and all the automated tools I'm sure most people here were expecting to see.
Re:Nest introduces their Smoke Detector on Tuesday October 08, 2013 @11:39AM (#6515694)
The Nest Protect adds several hardware components that a traditional smoke detector doesn't have, including an ambient light sensor, a distance/motion sensor, a multicolor LED, and WiFi. If your only problem with the current smoke detectors out there is the chirp, then it can be solved by adding just the light sensor and LED, which is not a large cost addition. The additional cost of adding networking hardware, creating a protocol for these to talk to each other as well as the thermostat, and creating a mobile app just to configure the nightlight is what really drives the price so high here.

Hopefully the innovative ideas that they are using for conveying that a battery is low or stopping the alarm from going off when cooking make it into other designs. Quite frankly I don't see the benefit added from networking my smoke detectors.