Hacker News

Show HN: C++ library for embedded and IoT projects (ESP32)

Hacker News - Thu, 04/17/2025 - 8:17am

Hi everyone.

I've recently released control-components, a C++ library I've been using for most of my embedded projects. It is written in C++17 (with some features from C++20) and uses STL and FreeRTOS under the hood. It contains a lot of building blocks that is commonly used in embedded and IoT projects: finite state machines (FSM), various counters, synchronisation primitives, system loops, sensors, schedulers, HTTP, WiFi, Web GUI, and much more. It also provides GitHub CI workflows for build automation (ccache, various checks).

In general, it's a good starting point for an ESP32 project. It is still low-level, so it can be easily integrated into the existing project. See my another project, https://github.com/open-control-systems/bonsai-firmware - an agro-tech toolkit, for how control-components can be used.

If you find it useful, please let me know!

Comments URL: https://news.ycombinator.com/item?id=43715693

Points: 3

# Comments: 0

Categories: Hacker News

Show HN: Find the best fuel prices near you

Hacker News - Thu, 04/17/2025 - 8:07am

Hey everyone!

After spending quite some time coding and refining, I built this website: Stations Carburants (which basically means "Fuel Stations").

My goal was to create a straightforward and helpful tool specifically for drivers in France. The main purpose of the site is to help you easily find petrol stations across the country and, crucially, compare their current fuel prices.

On the site, you can typically:

Search for stations based on location (using a map, entering a town, postcode, or department). See the latest reported prices for various fuel types like Diesel (Gazole), different grades of Unleaded Petrol (Sans Plomb 95, Sans Plomb 98, SP95-E10), and sometimes LPG (GPL) or E85. Filter results based on fuel type or even specific brands if needed. It's designed to be a practical resource to help people potentially save money by finding the cheapest fuel nearby, or simply locate the closest station when they need it.

Now, here's a really important point: This website, relies on data sources and information pertaining exclusively to fuel stations located within France. Therefore, it is only useful for individuals who are currently in France and looking for fuel there. If you are outside of France, the station data and prices listed on this site won't be relevant for you.

Hope it's useful for those driving around France!

Comments URL: https://news.ycombinator.com/item?id=43715595

Points: 1

# Comments: 1

Categories: Hacker News

More Contrast, Please

Hacker News - Thu, 04/17/2025 - 8:06am
Categories: Hacker News

Pages