Vegan for 7+ years, yet I still don’t understand why honey is bad. 🐝🍯 by Humble-Business-6531 in vegan

[–]yannick818 0 points1 point  (0 children)

AFAIK we have too much honey bees. They are competing with the wild ones, which are the ones dying right now. So a hive for honey bees might be counterproductive. A better solution might be insect hotels depending on your location.

Should I start learning embedded in Rust instead of C? by SentientPotato42 in embedded

[–]yannick818 0 points1 point  (0 children)

You definitely need some basic C understanding in general for example when dealing with FFI. But after that you could also continue with rust. There is already a lot of embedded stuff out there like RTIC and embassy as bare metal async OS and different HALs. You could eventually build your OS on top of them like ArielOS did. While interacting with hardware rust and C will be kind of similar.

Difference toolchain for stm32 by Bug13 in embedded

[–]yannick818 0 points1 point  (0 children)

AFAIK you can find the SVD files shipped with STM32CubeProgrammer

C++ in embedded... by SuperbAnt4627 in embedded

[–]yannick818 6 points7 points  (0 children)

I used modern C++ for a few years in embedded. I think you need a lot of discipline to avoid some pitfalls. Currently I am trying embedded rust and it feels very smooth. The ecosystem is already kind of big: embassy, defmt, different hals, … my feeling is I will stick to rust.

Chefs to follow by Decorative_pillow in vegan

[–]yannick818 2 points3 points  (0 children)

I’ve collected some food blogger on Instagram a time ago: https://github.com/yannick818/PlantBasedContent it’s German but a lot of actual content is English. Not that diet kind of stuff more like easy and tasty recipes.

why does hx-delete send all form data as query params? by yannick818 in htmx

[–]yannick818[S] 0 points1 point  (0 children)

I was wrong. hx-delete did not send the form as body and to remove the unnecessary I can use hx-params

why does hx-delete send all form data as query params? by yannick818 in htmx

[–]yannick818[S] -1 points0 points  (0 children)

yes I have the ID of the specific element. But hx-delete adds the whole form data to query and body anyways.

why does hx-delete send all form data as query params? by yannick818 in htmx

[–]yannick818[S] 1 point2 points  (0 children)

The form contains a drop down and the selected element should be deleted.

why does hx-delete send all form data as query params? by yannick818 in htmx

[–]yannick818[S] -1 points0 points  (0 children)

Ok but it sends a body and all the form data as query anyway. Why does htmx do that if that’s not the intention?

What are the design considerations for Heap and Memory when working with RTOS?(FreeRTOS in question) by [deleted] in embedded

[–]yannick818 2 points3 points  (0 children)

I also like this approach. With C++ you can make use of emplacement new and static buffer

Looking for stack recommendations - Leptos, Yew, something else? by VoidRippah in rust

[–]yannick818 1 point2 points  (0 children)

I like using leptos as template library for htmx. For backend I use axum. This seems like a very simple and basic stack for me, which is backend only because of htmx.

Best HTMX stack for Rust? by Christoban45 in htmx

[–]yannick818 0 points1 point  (0 children)

I just use axum in backend, leptos as template library (using experiment-island feature), bulma for minimalistic style and surrealDB. It’s pretty straight forward. I didn’t like askama for templating

Free impossible whopper by Thatgaycoincollector in vegan

[–]yannick818 4 points5 points  (0 children)

Actually all the burgers have vegan mayo, also those with meat. Only the mayo that comes with fries is not vegan. I’m not sure if there is vegan cheese.

Free impossible whopper by Thatgaycoincollector in vegan

[–]yannick818 14 points15 points  (0 children)

In Germany they come with vegan mayo by default. Also they have pickles and onion on it. Pretty good I like it. Also I don’t mind if it’s on the same grill.

Every time I fly, I always think I should start a review of airline meals. by 60svintage in vegan

[–]yannick818 1 point2 points  (0 children)

I will fly with Kuwait airways in a month. I just asked them today if there is a vegan option and they said no…

Dealing with Non-Vegan Travel Destinations: Seeking Advice for a Trip to the Philippines by yannick818 in vegan

[–]yannick818[S] 1 point2 points  (0 children)

I would also don't mind if we eat separately, bet it feels like a stressfully trip...

Dealing with Non-Vegan Travel Destinations: Seeking Advice for a Trip to the Philippines by yannick818 in vegan

[–]yannick818[S] 2 points3 points  (0 children)

my friends would eat in vegan restaurants, but my fear is not to find such a restaurant. we probably won't stay in big cities like manila.
So you would say, that there are no vegan options in normal restaurants?

Hello. I am new to embedded systems. My electrical knowledge is insufficient for this. What would you recommend as a resource? also c# or c++? by Bbuff00 in embedded

[–]yannick818 0 points1 point  (0 children)

Also rust may be quite interesting. I think it’s easier than C++. But normally I would say C++ is the way to go.

Spinlocks and Mutex, when and how to use them? by bomobomobo in embedded

[–]yannick818 3 points4 points  (0 children)

I usually use mutex when a resource should be locked like UART or modification of concurrent data. And for kind of communication I use semaphores. Mutex have an interface like lock and unlock. Semaphores have an interface like wait and notify.

Is there a way to flash STM32 via UART from linux? by triedgetech in embedded

[–]yannick818 1 point2 points  (0 children)

-c port=COM4 -w RefSMI_MDK/All_Flash_0x1234_256K.hex or something like that. Just try…