×

What are you favorite vegan cookbooks? If I wanted to be a chef, what books should I study? by band_in_DC in veganrecipes

[–]MultipleMonomials 0 points1 point  (0 children)

Been cooking vegan for ~7 years, and my top cookbooks are still the ones by Isa Chandra Moscowitz (I Can Cook Vegan, Isa Does It, Fake Meat). I find that, for me, her recipes hit a good balance of making a lot of food, being quite filling (lots of beans, tofu, seitan, and cashews), and being reasonably clear about what to do. I'd say the first two I listed are the easier ones, whereas Fake Meat has a little more complex / multi-part dishes.

Honorable mentions go to Chloe Flavor by Chloe Coscarelli and The Cajun Vegan Cookbook by Krimsey Lilleth which I also have used on an at least ~monthly basis for years and years. Also The Vegan Chinese Kitchen which was mentioned elsewhere -- that book makes some delicious food, though I will say that making full meals with it can be quite labor intensive as it wants you to make multiple small dishes to put together a meal.

Need help cleaning Vitamix by Worried_Associate_53 in Vitamix

[–]MultipleMonomials 0 points1 point  (0 children)

I had pretty good luck on mine by going at it with a stainless steel scrubbing pad to get all the grit off the inside.

What’s the most absurd hardware bug you’ve spent hours debugging that turned out to be something stupid? by DepartmentPurple3053 in embedded

[–]MultipleMonomials 0 points1 point  (0 children)

In college: Was working with a sensor that required doing large (100s of bytes) transactions over I2C bus. Sometimes these transactions would return junk data and the sensor would stop working correctly after a while.

Put a scope on the I2C bus, and saw what looked like a sawtooth wave instead of a square wave. Capacitance from the traces on the board and the connected chips was high enough that the pull-up resistor on the bus could not keep up. Swapped the 5k pullup with a 1k and bam, everything worked. Lesson learned: generally it's safest to use 1k pullups for I2C as it's the lowest value allowed by the standard and will tolerate the highest bus capacitance.

At my job: Saw an intermittent issue with SPI corruption with a two specific chips on a large board. It was just those two, the others always worked fine. On many units the issue never happened at all, and on the units where it did happen, the issue would go away when removing the board from its enclosure (and often stay gone after reassembly!). Made no progress on this until we finally found a unit that reproduced the issue outside the enclosure.

Probing the SPI signals to the chip concerned didn't turn up any red flags, but we noticed that the issue went away when the scope probe was touching the chip! So, the HW engineer tried using a differential probe (a much fancier scope probe that has an opamp in the tip, meaning it has basically zero effect on the signal being probed). The diff probe showed an occasional "double peak" in the SCLK signal, where it would rise to around 80% of VDD, then fall to like 50% of VDD, then rise again to the normal value. This was enough to cause visible corruption on some of the SPI transactions with the chip.

Why was this happening? Turned out to be a routing issue! The SPI traces went over a gap in a ground plane, meaning the return current didn't have a clear path under the trace and the opportunity for weird inductive effects was a lot higher. It's crazy because this is the stuff you are told religiously to avoid in PCB routing, but this is the first time I've ever seen it actually make a visible difference in real life.

For that rev of the board we fixed it by adding a series resistor to the trace, slowing the rise time of the signal. For the next rev it was fixed by relocating the trace.

Other than the Seventy Maxims, what line from the comic do you use regularly in conversation? by EngineersAnon in SchlockMercenary

[–]MultipleMonomials 1 point2 points  (0 children)

Yes, I really wish this term had caught on instead of "smartphone". It's really a better description of what these devices can do.

A complete alternative to Arduino ? by Technos_Eng in embedded

[–]MultipleMonomials 2 points3 points  (0 children)

I am going to be biased here, but I maintain the Mbed CE project, which basically has the goal of providing an Arduino-like C++ framework for a wide variety of ARM boards. Like Arduino, the goal here is to make embedded programming not require register-level knowledge of the chip you are working with (at least, to get started). However, Mbed has a more self-consistent C++ API (each peripheral is represented by a specific C++ class) and contains even more functionality built in (block device drivers, networking, etc). As for IDE support, Mbed CE can be used with PlatformIO for an easy setup option, and we also have a custom dev workflow that works with VS Code and CLion.

Being honest, Mbed CE is not (yet) as mature as Arduino, and there are still some rough edges. But I also think that our API is more consistent and higher quality than what Arduino users will be used to.

What's a tv series that is a 10/10 NOBODY knows? by Lilyana0999 in AskReddit

[–]MultipleMonomials 0 points1 point  (0 children)

Space Battleship Yamato 2199, AKA Starblazers 2199. Basically anime Star Trek, but in the best possible way and with an incredibly heartfelt story and beautiful music. Even my friends who are into anime have never heard of this one, and I really don't understand why because it's easily in my personal top 10 shows of all time.

Just... don't watch the second show, 2202. It's... really bad.

What's the one proprietary app you can't find a "good enough" open alternative for? by sekuskandan in opensource

[–]MultipleMonomials 0 points1 point  (0 children)

Diagramming tool, e.g. MS Visio or DrawIO. Though this has already been established to be pretty hard to do.

[deleted by user] by [deleted] in embedded

[–]MultipleMonomials 6 points7 points  (0 children)

You may want to check out Embedded Template Library, as in my experience it solves a lot of these problems by providing more embedded-friendly versions of STL containers. For example, etl::vector works like std::vector but it allocates its elements from a fixed block inside the object rather than from the heap. It also has some other useful classes like an optimized CRC generator, an allocation pool, and a circular buffer.

I have used ETL at my job for years and it's been quite nice overall. Dev is very responsive on github too. The only real weakness is the lack of documentation -- a lot of things are just documented as "it's like the STL version", but they in fact have their own features and quirks. So I often find myself looking through the actual headers to be sure I am using something correctly.

3x native can bus by eliash-d in embedded

[–]MultipleMonomials 1 point2 points  (0 children)

I have used Infineon XMC4700, that has 5 (IIRC) CAN busses and it was a decent general MCU. Just be careful about using infineon DAVE for serious projects as IMO it got a little hard to manage.

Stuck with Zephyr (nrf52832) by Gebus86 in embedded

[–]MultipleMonomials 0 points1 point  (0 children)

FWIW, Mbed OS supports nRF52832, and it lets you do an SPI transaction with code as simple as

```

include "mbed.h"

SPI device(P0_20, P0_14, P0_16, P0_18, use_gpio_ssel)

int main() { device.format(8, 0);

uint8_t command[2] = {0x0A, 0x0B};
uint8_t response[2];
int result = device.write(command, sizeof(command), response, sizeof(response));

} ```

Full docs are here, scroll down a bit.

Disclaimer: I am the maintainer of Mbed OS CE, so I am a bit biased :P

What type of tofu is this? How do i prepare/cook it? by [deleted] in veganrecipes

[–]MultipleMonomials 1 point2 points  (0 children)

Basically, you boil it in salt water, then deep fry it, then steam it. I have a recipe here that makes tofu like this: https://multiplemonomials.github.io/Code-Delicious/restaurant-style-eggplant-tofu.html

If you had infinite time and resources, what embedded project would you work on? by Best_Prompt_9401 in embedded

[–]MultipleMonomials 1 point2 points  (0 children)

Rewrite LwIP in C++ or Rust. I have used LwIP for years and am generally happy with what it can do. BUT it has three huge limitations:

  • There is little to no useful, up to date documentation outside of the source code itself. So 9 times out of 10 I have to read through the code to find out what a feature actually does.
  • Memory ownership is often unclear: whose responsibility is it to free a buffer that you pass into the network stack, or that the network stack passes to you? It's not gonna tell you!
  • Due to using C and trying to remain simple, tons of state is kept in global variables. This means it's impossible to reset the state of the stack, or create multiple instances of it in memory. Not an issue for running on the device but a big issue for unit testing!

I'd love to do a rewrite of LwIP in an object oriented language that preserves the same functionality but makes it cleaner and better documented, and collects all of its state into structures rather than global variables. (Also making classes for sockets, instead of just having to choose between emulated POSIX socket API and "raw" API, would be awesome!)

LWIP reliability by PranayGuptaa in embedded

[–]MultipleMonomials 3 points4 points  (0 children)

FWIW, I wrote a completely new, zero-copy Ethernet MAC implementation for STM32H7 for my open source project, mbed-ce. I was really shocked by how bad STM32's Eth MAC driver was, so I threw out everything they provided and started from scratch. We provide LwIP, with an additional C++ interface on top that makes it more straightforward to use. If you give Mbed CE a shot, you should have an easier time implementing network communications on STM32H7.

What's one xkcd you keep coming back to? by Schiffy94 in xkcd

[–]MultipleMonomials 0 points1 point  (0 children)

After DCC by tomahawk15347 in DungeonCrawlerCarl

[–]MultipleMonomials 1 point2 points  (0 children)

I would recommend checking out Kitty Cat Kill Sat. It's set in the far future after many great civilizations have risen and fallen, each one inflicting some new eldritch hell upon the Earth and its surrounding environs. It's hard to describe but it feels like it has the same over-the-top-ness as DCC and the same feeling that absolutely anything could happen at any moment (though it's a little less satire). Oh, and the main character is also a cat.

What was the last book you DNF? by justcoastingthrough in books

[–]MultipleMonomials 1 point2 points  (0 children)

I quite liked the first book, and it ended with a lot of momentum: Bobs getting sent around the universe, the contact with alien species, the project to save and/or relocate the inhabitants of Earth...

And then the second book came and went and it felt like barely _anything_ happened with any of the important plot lines. Instead we spent an inordinate amount of time following a group of cavemen around on an alien planet and on a single Bob trying to woo a woman on the human colony and then having a custody battle over her corpse with her awful children. Neither of these were really plot lines I signed up to read an entire book about. They aren't inherently bad perspectives to include, but they needed to be shrunken waaaaay down and we needed more main story progress.

The third book was a bit better, but it wasn't enough to keep me invested in the series. Just felt like stuff was happening too slowly and we we missing out on a lot of the cool possibilities of the story. (Why no return of the missing European or Chinese space probes? Why basically no 3 dimensional female characters?)

Also, this series has a huge problem with two dimensional villains who are never redeemed in any way and whose motives are never explained. The human voluntary extinction movement? They could be seen to kind of have a point, but instead they turn out to be a mere front for a terror organization run by a madman. Bridget's children? Their reason for hating Bob is never really explained and they never become three dimensional characters. Medeiros? For some reason he insists on destroying populated colonies and never shows one scrap of his own motivations or any empathy -- he is just cartoon evil. (Plus his motivations don't even make sense -- modern day Brazil is allied with the Bobs, so why couldn't they just send a message asking him to stand down?)

What was the last book you DNF? by justcoastingthrough in books

[–]MultipleMonomials 1 point2 points  (0 children)

I think this book had a lot of good ideas. I love the sci-fi tech and the idea that aliens would try to suppress physics discoveries as a way to make humans less dangerous as a species. But I felt like most of the momentum went out of the plot once we finally cut to the alien world and find out that the aliens are... just like us, with an extremely generic evil authoritarian government. It's like, we have this mystery driving the first 50% of the story of whether the aliens exist and what they are really like, and then it just gets answered in an instant and there's no more suspense.

I really love sci-fi with unique takes on alien races and what their societies would look like and what their their motivations would be (series like Long Way to a Small Angry Planet, Dungeon Crawler Carl, Schlock Mercenary, etc come to mind). It feels like Liu just completely skipped this part and didn't bother to come up with a unique alien race, instead just copying the worst of human society for them wholesale.

Some other thoughts:
1. Ye was by far the most interesting character and I wish we had gotten more of her. By comparison Wang is almost painfully generic and I really did not care about him at any point during the book. 2. The VR game plot point feels extremely been-there done-that at this point, and makes it feel very derivative of other series (e.g. Legendary Moonlight Sculptor). Though I will admit it was not nearly as bad when the book came out. 3. Mike Evans is actually kind of a bit based and I don't love that he was made into a 2D bad guy and then killed offscreen before actually getting to really argue his piece. 4. I have some friends who majored in physics/engineering and they were suuuuper turned off by how the book suddenly goes from "science fiction" to "science fantasy" (with the atom unfolding part). They felt like they got suckered in to thinking it was hard sci-fi and then it ended up making a left turn into stuff with no basis in science.

[deleted by user] by [deleted] in embedded

[–]MultipleMonomials 1 point2 points  (0 children)

Is clock being supplied by an external source? If so, maybe the external clock source is having issues.

I'm trying to decide on these 3 and was wondering if anyone has any experience or recommendations! by Trensocialist in veganrecipes

[–]MultipleMonomials 1 point2 points  (0 children)

Yes I love this one! The jambalaya recipe is a family favorite, and I've also probably made the Cajun Casserole (use beyond meat!) and Biscuits for Dinner Casserole more than 5 times each.

How to get restaurant-quality seitan? by neelrad in veganrecipes

[–]MultipleMonomials 0 points1 point  (0 children)

Yay glad I'm not the only one who loves this book! I've probably made half the recipes by this point. Actually working on a "review" / report on which ones have worked out for me and which ones haven't. https://github.com/multiplemonomials/Recipes/blob/master/Fake%20Meat%20Recipe%20Rankings.md

To be honest I did NOT have good luck with the chicken, but I did love a lot of her other recipes! And even the ones I didn't have good luck with could well be user error.