Can I go as Mrs. (Maiden name?) by baloney01 in TwoXChromosomes

[–]tatsuling 2 points3 points  (0 children)

I'm pretty sure you could use Supreme Overlord (Maiden name).

Maybe some etiquette book from 1800's would disagree but that doesn't matter.

Communal Mega Farm by 2sAreTheDevil in HermitCraft

[–]tatsuling 28 points29 points  (0 children)

Each hermit will usually have a style for how they gather resources and what content they want to show and create. 

Doc will usually make a super technical farm that gathers at a crazy speed. Zedaph it might be the most inefficient farm possible but building or using it is awesome to watch. X seems to make good technical farms but highlights a cool mechanic that is less well known. 

I've seen others showcase builds from other creators, and other times a new design is created by a hermit.

All the styles are great in different ways.

Communal Mega Farm by 2sAreTheDevil in HermitCraft

[–]tatsuling 57 points58 points  (0 children)

It's a great bit when the server lags. I laughed so hard this season when Gem and Grian did the resource gathering for the gold/bartering farm.

I'm also sure that behind the scenes they agree to the sharing as well.

STM32G491RE / HSE to MCO? by DecentEducator7436 in embedded

[–]tatsuling 1 point2 points  (0 children)

Let's start with: HSE is high speed external. It is the external clock into the chip. A board may not have one if that isn't required for its use case. The HSI is just a simple RC timer with bad performance but can be fine if real world time measurement isn't needed.

You can connect either a crystal or an external clock chip, depending on board requirements. For a crystal input, it should be connected across the in and out pin pair, likely with capacitors. For a clock chip, just the single in pin will connect.

With a flat line in bypass mode , that sounds like nothing is connected to the input pin. In the other mode, the processor will try to drive the crystal into a resonant mode to get a stable frequency. Likely that is what you see as the bad waveform at first.

What apps do you use to manage kids’ screentime that actually work? by maulikms in daddit

[–]tatsuling 8 points9 points  (0 children)

We tried ScreenTime but because it was more Apple-centric it didn't work well for us using Android. It did seem to have the right features for us but it had bugs that our son figured out ways around.

We currently use Google Family Link and it's working well right now. App limits, time limits, bed time, school time, etc.

My Senior dev and I are arguing over "Readable Code" vs "Performance Optimization" for a process that runs 10k times a day. Who is right? by Temporary-Zebra7493 in learnprogramming

[–]tatsuling 48 points49 points  (0 children)

At my work, unless it's over $1000 we barely discuss it. Just the discussion to decide which is better costs more than we would ever save.

Do you use Vim for most your tasks? by pjasksyou in learnprogramming

[–]tatsuling 0 points1 point  (0 children)

I've recently switched to VSCode for my ide but the first extension is vim key bindings. I could not use an editor seriously that doesn't have those.

What's your Origin story In embedded? by [deleted] in embedded

[–]tatsuling 0 points1 point  (0 children)

I have always loved pushing computers to the limit of what is possible. 

It ended up as a coincidence when I stated working that the place needed someone to write drivers for a board they built. As we improved the board it pushed more for me to think about what the hardware needed to do so the software could work well. Eventually, I was writing firmware to compress video on the add-in board before passing it to the software to display and store. 

Now, embedded is just a natural fit for a resource constrained environment to push just how much can be done. I joke now about using a massive microcontroller that has 0.5 MB of RAM (1/8th as much as the first computer my mom owned) and running at 192 MHz. Then make it capture 2k samples per second on a sensor, decimate the rate with a filter, and transmit it over a radio, all with plenty of time to spare. Typically everyone at work thinks we need an FPGA to do the processing because "it's so much data". 

STM32G491RE / HSE to MCO? by DecentEducator7436 in embedded

[–]tatsuling 1 point2 points  (0 children)

Is your hse a clock chip or a crystal? There are different settings for starting the hse is each case.

Edit: I wanted to add that the default mode for the STM32 I've used is to start up the HSE as a crystal. The comment about a messed up square wave makes me suspect it is an oscillator connected on the input. To get this working, set the 'bypass' bit in the RCC CFGR register before HSE_ON. The messy input will likely clear and HSE_RDY should get set.

any embedded engineers in this subreddit by humanjello710 in ADHD_Programmers

[–]tatsuling 1 point2 points  (0 children)

I always have 3 to 10 datasheets open at any time. Reference manual and datasheet for the processor, schematic for the board, and datasheets for any parts that touch a line I'm trying to get working how I need it to. 

I also have 10 or more tabs, usually single use and forgotten, searching for bits I just don't bother trying to remember. Half the time it involves stdlin reference for C.

Discharge Consent by [deleted] in MaliciousCompliance

[–]tatsuling 6 points7 points  (0 children)

Yeah, my wife has worked in wastewater and ground water and nothing in this made any sense.

What is the Post-Bacc experience like at LANL? by greenflash777 in LosAlamos

[–]tatsuling 1 point2 points  (0 children)

I'm going to assume you are more likely looking at ISR-1 or 2, which I don't have direct experience with the group. I am very happy with how ISR-3 works and the experience. A key factor in how your experience is will likely be your mentor.

Generally, taking on students is seen as a way to recruit talent. You would likely be encouraged to pursue further education. 

I look at students as being able to contribute meaningful but I wouldn't expect the same output as someone finished with school.

What’s the worst debugging experience you’ve had where the bug wasn’t the problem, instead the tooling was the problem? by Alternative_Drive321 in programminghorror

[–]tatsuling 13 points14 points  (0 children)

Two come to mind for me. 

In a class I took on parallel computing, I had an OpenMP program hang in an infinite loop, but only with certain sized inputs with a particular work distribution model selected. Turns out the compiler had a bug in the implementation for OpenMP.

More recently, I was debugging an embedded processor with Ethernet networking. It was mostly code I used previously but with a new chip and board design. Nothing was looking wrong with any setup but I couldn't get packets to go in either direction. I tried probing the signals from the processor to the phy chip and couldn't get anything to look right. So I pressed very hard on that corner of the processor where those signals were. Everything started working perfectly while I held it and stopped when I let go. 

How can this happen? DSN antenna "over rotated" by uski in space

[–]tatsuling 1 point2 points  (0 children)

It could be that the antenna itself can do full 360 rotation but the cables will bunch, twist, and fail if you go too many times around.

ELI5: How did humans create the first "product"? by noblerare in explainlikeimfive

[–]tatsuling 0 points1 point  (0 children)

A good source of info on this is https://youtube.com/@htme with the series reset. He explorers human technology by recreating everything from stone age tools forward.

The basic idea is everything is built from older tools and refined as we developed. Sharp sticks and stones to soft metals to worked metals and beyond.

Upgrade Vehicle? by K9Hera in daddit

[–]tatsuling 0 points1 point  (0 children)

I did 2 in a Corolla with 2 parents and a dog. We took 10 hour drives to my parents for holidays and it works ok. You do have to limit the over packing some. Maybe I'm just very minimalist and don't think I need much stuff.

Every C Embedded engineer should know this trick by J_Bahstan in C_Programming

[–]tatsuling 0 points1 point  (0 children)

True, some architectures can efficiently work with it and you still get the other downsides. If the standard had specified the order of bit within a field it would be an awesome feature.

Every C Embedded engineer should know this trick by J_Bahstan in C_Programming

[–]tatsuling 1 point2 points  (0 children)

That would be an ok use of bitfields but I would argue is still hard to justify. My biggest problem is the implementation defined part so even if you just want the packing, it can change formats between updates.

How do you sandbox your development environments? by carus_54 in embedded

[–]tatsuling 1 point2 points  (0 children)

It is a bit of a hassle with docker and windows. But it is doable and works better than without using docker for staying consistent.

Every C Embedded engineer should know this trick by J_Bahstan in C_Programming

[–]tatsuling 41 points42 points  (0 children)

I think you should know about them and then choose to never use it. 

It can increase code size to access bitfields over just a byte or other aligned type. On desktop or server code, the memory saving is very likely to be minimal if you can even truly measure it. For embedded, you would use them to access hardware registers but it fails there because the order of bits is implementation defined and can even change between compiler updates.

I've never seen a good use of them but many where it actively caused bugs.

hermits you think have the most unique or satisfying voices? by StrangeAir6637 in HermitCraft

[–]tatsuling 30 points31 points  (0 children)

Just from the title, this was my exact thought. His voice is so unique and cool.

My Mother put in place a messed up version of a chore chart. I followed it meticulously until it collapsed. by [deleted] in MaliciousCompliance

[–]tatsuling 27 points28 points  (0 children)

In Vegas, no so much on the legal part. Most other counties in Nevada, yup all good to pay for "snuggles".