Author: Lisa

MythTV Verbose Logging

In the process of troubleshooting UPNP/DLNA on our MythTV server, I learned that you can send logging verbosity settings while the server is running. Using the mythbackend binary with the –setverbose flag, you can specify logging level. For example:

mythbackend --setverbose http:debug,upnp:debug

What items can you set levels on? It’ll conveniently tell you — “all” or “none” override existing settings, everything else will update the current logging levels (i.e. if I’ve already got http and upnp in debug, I can use “–setverbose audio:debug” to add audio to the list of things in debug mode).

[mythuser@server /var/log/mythtv/]# mythbackend -v help
Verbose debug levels.
Accepts any combination (separated by comma) of:

all - ALL available debug output
audio - Audio related messages
channel - Channel related messages
chanscan - Channel Scanning messages
commflag - Commercial detection related messages
database - Display all SQL commands executed
decode - MPEG2Fix Decode messages
dsmcc - DSMCC carousel related messages
dvbcam - DVB CAM debugging messages
eit - EIT related messages
file - File and AutoExpire related messages
frame - MPEG2Fix frame messages
general - General info
gpu - GPU OpenGL driver messages
gpuaudio - GPU Audio Processing messages
gpuvideo - GPU video rendering messages
gui - GUI related messages
http - HTTP Server messages
idle - System idle messages
jobqueue - JobQueue related messages
libav - Enables libav debugging
media - Media Manager debugging messages
mheg - MHEG debugging messages
most - Most debug (nodatabase,notimestamp,noextra)
network - Network protocol related messages
none - NO debug output
osd - On-Screen Display related messages
playback - Playback related messages
process - MPEG2Fix processing messages
record - Recording related messages
refcount - Reference Count messages
rplxqueue - MPEG2Fix Replex Queue messages
schedule - Scheduling related messages
siparser - Siparser related messages
socket - socket debugging messages
system - External executable related messages
timestamp - Conditional data driven messages
upnp - UPnP debugging messages
vbi - VBI related messages
xmltv - xmltv output and related messages

To disable debugging, use “mythbackend –setverbose none”

55 Days of Grilling: Day 1

55 Days of Grilling: Day 1

Recipe by LisaCourse: DinnerCuisine: AmericanDifficulty: Easy
Servings

8

servings
Prep time

45

minutes
Cooking time

40

minutes
Resting Time

4

minutes

Ingredients

  • Roasted Garlic Buns
  • 4 cups flour

  • 1/2 cup wheat gluten

  • 1 Tbsp unsalted butter

  • 1 Tbsp yeast

  • 1 Tbsp sugar

  • 1-2 Tbsp roasted garlic

  • 1 egg (pre-bake wash)

  • 1 Tbsp salted butter (post-bake wash)

  • Burgers
  • 2 lbs 80% ground beef

  • 1/2 cup diced red onion

  • 1 tsp ground pepper

  • 1 Tbsp soy sauce

  • 1 Tbsp chili garlic sauce

  • 1/2 cup shredded cheddar cheese

  • 2 medium eggs

  • 1/2 cup panko crumbs

Method

  • Bread
  • Combine yeast with about a cup of water and 1 Tbsp sugar
  • Combine all ingredients except for the egg and salted butter in mixer and kneed on medium-low speed for five minutes.
  • Allow dough to rise for two hours.
  • Deflate dough and form into rolls (I make Kaiser style rolls — form a long log of dough, then tie in a knot). Let rise for one hour
  • Preheat oven to 400
  • Beat egg and brush on risen rolls. Allow to sit for a minute, then brush another layer of egg.
  • Bake for 15 minutes. Brush with melted salted butter and allow to cool on a wire rack
  • Burgers
  • Mix all ingredients together
  • Grill!

Notes

  • These were really good — Scott fried up some bacon in a cast iron pan so we had bacon cheese burgers.

55 Days of Grilling

Scott’s been really excited to start grilling again now that the temps are warmer. We’ve got a little grill right by the family room door, and we’re ready to grill. The goal is to grill something each day for the next 55 days — starting with burgers for dinner tonight. There’s a long list of things we want to try grilling — especially grilled pineapple (so I’ll have to get to the grocery store soon!) and how-high-can-this-thing-go pizza. Hopefully we can get above 600 degrees and make some really nice pizza crust.

Maple Hot Cocoa

Anya and I made hot chocolate to warm up after spending a day shoveling snow — it’s a quick recipe. For each serving, add a cup of almond milk, 2 Tbsp maple syrup, 1 tsp vanilla extract, and 1 Tbsp of unsweetened cocoa powder. Put the milk in a pan.  Stir in the maple syrup and vanilla extract. Once warmed, whisk in cocoa powder. Serve. Ideally with some homemade marshmallows — I need to make some honey marshmallows, we ate all of the homemade marshmallows I made last year.

Your Own Facts: TX Power Edition

I’m not sure how political discourse has any point if everyone maintains their own facts to support their preconceived conclusion. How can you fix a problem when you cannot even agree what the problem is? The power outage in Texas is a prime example. Someone got on Hannity and spouted off about how it’s all the windmill’s fault. Because, evidently, windmills are awful? Froze up and just stopped producing power.

But wind turbines absolutely work in freezing temperatures. See, for instance, Alaska — https://windexchange.energy.gov/states/ak — where it does occasionally get cold. The difference is that they spend more on the installation and winterize the windmills. It’s not *wind turbines* that have a problem, it’s *unwinterized* wind turbines that end up in freezing weather. Same is true of cars (you may need what amounts to an electric blanket for the engine to get a diesel vehicle running in cold weather, and the fuel can still jell at very low temperatures). And people — going outside in a coat, scarf, hat, boots, and women’s gloves seemed like being appropriately dressed for the weather, but I was invariably super cold and hated going outside in winter. Found out that normal women’s gloves don’t have insulation in the fingers (because it is, evidently, more important that my fingers look svelte than that my fingers aren’t nearing frostbite stage) and bought ski gloves. Traded the hat and scarf for a balaclava. Traded the coat for insulated overalls with a coat. Traded cute winter boots for waterproof Mucks. Winter is an awesome time to head outside now. It’s bulky attire, but I’m warm. Sometimes, when we’re shoveling snow in just-below-freezing temps, I’m too warm.

Other production sources shut down because they were inadequately winterized too — natural gas pipelines were blocked with ice, frozen coal piles made it difficult to keep coal plants online, solar installations were covered in snow, frozen pumps limited water to nuclear cooling towers … basically every form of electrical generation experienced limited production in the cold weather.

The benefit of spending more money on a precaution you use once a decade is certainly a valid debate — but the consequence of that decision need to be anticipated, to be accepted … and the problem needs to be communicated accurately. If it would have cost a billion dollars over the past decade (essentially the span since the “last time this happened”) to maintain winterized generation and delivery facilities … we opted to save a billion dollars with the current situation as the trade-off. Voters don’t like that? They can vote for someone who will demand winterization. Voters prefer saving the money, vote for the current people. Sucks for the 49% who vote the other way … but that’s democracy.

But that doesn’t work when individuals have “facts” to support what they want to believe. The reader poll in my county paper today asked who deserves the most blame for the power failure in Texas. 23% say windmills and green energy. Wind facility shutdowns accounted for less than 13% of the outages. I haven’t seen numbers for reduction in solar generation … but wind production is the one being scapegoated.

It took a few days for reporting to include the fact Texas has its own power grid with smaller interconnects to other grids that aren’t sized to pull enough power to cover this outage. Even now, does much reporting include the fact Texas maintains its own grid to avoid federal regulations that would have required some winterization? That’s not lack of regulation, that’s intentionally designing a system to avoid existing regulations. Poor leadership is too vague to be meaningful — poor leadership at ERCOT failing to take some action in the past week or two that would have magically prevented problems? Poor leadership in intentionally maintaining a loosely connected grid that avoided federal regulations to reduce cost? Those are whole different types of “poor leadership” which may or may not be viable paths to prevent this from happening again in 2031.

 

Oracle Function – Keeping Null Records With LISTAGG

I have been using LISTAGG to group a bunch of records together to be presented in a single HTML table cell. Problem is LISTAGG doesn’t do anything with null field values. As such, the data doesn’t line up across columns. The three ID values have two string values, which basically get centered in the cell. You cannot tell which ID value goes to which name value.

By adding a concatenation to the LISTAGG value, something will be included in the result set even when the record value is null.

Voila — records line up and I can tell the first ID doesn’t have an associated string value.