Skip to content

Instantly share code, notes, and snippets.

View chris-short's full-sized avatar

Chris "Not So" Short chris-short

View GitHub Profile
sdb
More info...
Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 426, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 461, in __run_body
rv = await self.method(*([self] + args))
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1186, in nf
res = await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1318, in nf

Congratulations on another successful legislative session. As you're likely back home and preparing for the holidays, much like I am, I would like you to remember one thing, if possible.

Our friends in Ukraine celebrate their holidays on the cusp of what could be the deadliest winter in Ukranian history thanks to ongoing Russian aggression against one of our allies in the region. We owe it to our Ukranian friends to give them the capabilities to put Russia at a standoff distance of at least 150 miles. This way the Ukranian Army can push Russian supply lines to collapse and force Russian commanders in Ukraine to endure ongoing bombardment and certain death or our ultimate goal, permanent retreat and a restoration of peace.

I implore you to think of the efforts of those simply trying to go about their daily lives but live under continued attack by a bully and a thug in Moscow (who is also an enemy of ours).

A context switch is the process of storing and restoring the state of a CPU or a device so that multiple tasks can share the same hardware resources. In a computer operating system, a context switch occurs when the operating system kernel switches the execution of a task from one process to another.

When a context switch occurs between the kernel and user space, it can be more expensive in terms of performance because it requires the kernel to perform additional tasks. These tasks include:

Saving and restoring the state of the CPU registers, including the program counter, stack pointer, and any other relevant registers.

Saving and restoring the kernel stack, which is used to store temporary data and function calls made by the kernel.

Updating the process control block (PCB) for the current process to reflect the new state of the task.

@chris-short
chris-short / docsy_imgproc.txt
Created October 20, 2022 14:38
Docsy imgproc error
failed to render shortcode "imgproc": failed to process shortcode: "/var/folders/4b/l7c40ks90zqbr28948qnc1hc0000gs/T/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.2.0/layouts/shortcodes/imgproc.html:9:34": execute of template failed: template: shortcodes/imgproc.html:9:34: executing "shortcodes/imgproc.html" at <$original.Fill>: nil pointer evaluating resource.Resource.Fill
community/committee-steering/governance/sig-governance.md:[Marketing Council]: /communication/marketing-team/role-handbooks/council.md
community/communication/calendar-guidelines.md:> https://github.com/kubernetes/community/tree/master/communication/marketing-team
community/communication/marketing-team/CHARTER.md:[Marketing Council](/communication/marketing-team/role-handbooks/council.md)
community/communication/marketing-team/role-handbooks/storytellers.md:* Open a [Contributor Comms Requests issue](https://github.com/kubernetes/community/issues) to share your blog idea, or attend an [Upstream Marketing team](https://github.com/kubernetes/community/tree/master/communication/marketing-team) meeting to discuss it ahead of time
community/communication/marketing-team/role-handbooks/storytellers.md: * There is not a single canonical format for documents, but we do have [guidelines for effective articles](https://github.com/kubernetes/community/blob/master/communication/marketing-team/blog-guidelines.md#how-to-wr
@chris-short
chris-short / niece-help.md
Last active January 13, 2022 16:00
Things that can be done to help my niece

Chris Short's Niece

My six pound niece is fighting cancer

My niece was born in early December. She was immediately whisked away to the NICU (my sister-in-law didn't get to hold her for days). My niece was able to come home for Christmas. The week after she went in for tests. Everything looked good. The next week, she went in for the same battery of tests and all results came out drasctically bad. She will not come home from the hospital for six to eight months, at least. The diagnosis is Acute Myeloid Leukemia (AML). The prognosis is not good either (25-40% chance of survival). The treatment brutal. 😔

Our Plan

We all feel helpless to an extent. But, my niece has two brothers. Between three households (Julie's retired parents, Julie's other sister, and ours) we're going to make sure my nephews establish a pattern/routine to their day-to-day lives over the next several months. But, we're building out a list of

# Source: https://www.iana.org/time-zones/repository/releases/tzdata2020c.tar.gz
#
# Michigan
#
# From Bob Devine (1988-01-28):
# Michigan didn't observe DST from 1968 to 1973.
#
# From Paul Eggert (1999-03-31):
# Shanks writes that Michigan started using standard time on 1885-09-18,
# but Howse writes (pp 124-125, referring to Popular Astronomy, 1901-01)

This is hell week for me every year. The week before 9-11-2001, I lost my best friend. At the same time, mourning his loss in North Carolina still (I was stationed at Langley AFB, VA). I woke up early the morning after leaving the mountains and the funeral activities in Hendersonville. I was at my parents' house. They'd taken time off the week before dealing with my dad's mother's (my grandmother's) passing. While they were incredibly helpful, they'd missed all the work they could afford to, so we were leaving that day to be back home by nightfall. I flipped over to the news to see a weather update. I saw one smoking tower. Minutes later, I saw another plane smack into the second tower live. Scarred for life (I studied NYC architecture throughout my youth), I jumped in the shower after telling my ex-wife, "If they hit the Pentagon, we're leaving, immediately." She began frantically packing up our miraculously still sleeping daughter and her stuff.

I knew some things she didn't, but she knew that the world wa

apiVersion: v1
kind: Service
metadata:
name: mysql
spec:
ports:
- port: 3306
selector:
app: mysql
clusterIP: None