MacDancer

u/MacDancer


r/qlab•

I help with the production work for a small ballet company, including loading the show audio into a QLab project to hand off to our professional crew when we get into tech week. As tech week approaches, there tend to be a lot of changes, and I'd like to make these as legible as possible for our crew.

My current approach is to keep a changelog & todo list in a memo cue, re-export the full project including media, and upload the dated project directory to a shared Google Drive. I think this is workable, but I feel like there have to be better workflows out there, so... how do you handle versioning project updates?

76

r/Comcast_Xfinity•

I have a broke friend who's considering signing up for the Xfinity 150 mbps cable Internet plan. I'd like to give them my Arris SB6183 so they don't have to buy one of the $150+ modems listed on the list of approved modems, but I'm concerned that Comcast/Xfinity might not activate service for this device.

Will my friend be able to activate service using an Arris SB6183, or has Comcast/Xfinity stopped supporting the DOCSIS 3.0 standard?

12

r/typescript•

How can I ensure that in the getFruitFieldValue function below, fruit has a property with the key of field, and get the compiler to recognize that fact?

Things I've tried:

  • Using function overloads as below
  • Using type predicates to guarantee that field matches the fruit

I really don't want to have to write a separate logical branch for each type of fruit (no pun intended), since I'll end up with around 5 types that will behave identically in the scope of this function.

[Editable example in TS Playground](https://www.typescriptlang.org/play?#code/PQKgsAUABFASD2B3KAXeUCWA7AJgUwA8oBXLDeLKeAIwCs8BjFVATwAc8B+SSGBZBgENKASSh4sAZ2IAnPKgAWg5tkXyABgHM8KAGIziGPRjwAbHADVBp4nnVQAZqSblK1

36

Spoilers for The Thirteen-Gun Salute and some prior books:

In The Thirteen-Gun Salute, Mr. Fox is sent as an envoy to Pulo Prabang, where he negotiates a treaty with the Sultan thereof. With Maturin's help, he successfully outmaneuvers the French delegation, which includes Wray and Ledward.

After the conclusion of the treaty, Fox's behavior earns him the dislike of everyone in the ship, including the hands. When Jack is reading the Articles of War, O'Brian writes:

[Jack] did not stress the notorious XXIX which laid down that any man guilty of buggery or sodomy with man or beast should also be punished with death, but a good many of the foremast hands, particularly those who had rowe

2231

r/typescript•

What library do you use to validate data coming into your program from untrusted sources? I've handwritten too much validation code; it's time to get comfortable with a library.

Zod seems like the best option out of Zod, myzod, and io-ts; does anyone disagree? Are there other options I should consider?

In researching this question, I found an excellent article series comparing 7 data validation libraries, and a Reddit thread where lots of people had good things to say about both Zod and myzod. Furthe

2823

r/buildapc•

Summary

I want to build a new rig for gaming and web dev. My primary goal is longterm value; I'm happy to spend more now if it's cheaper in the long run.

Budget is malleable at about $1,000 now, with a plan of getting a 3060 or 3070 for another $300-500 when I can find one relatively near MSRP. I can postpone the whole build if that's likely to happen in the next couple of months, but that seems too unpredictable to rely on.

Workloads

  • AA games like Civ VI, Mount & Blade Bannerlord, Ori and the Will o' the Wisp, etc.
  • Yuzu, Citra, and other Nintendo emulators
  • VS Code dealing with enough complexity that Intellisense sometimes hangs for >60s on my 2015 Macbook
  • Way too ma
18

r/typescript•

I have a set of objects that gets accessed throughout my app. Sometimes it needs to be ordered & iterable, other times it's easiest to access a single member by key. I conclude that the correct data structure is a ReadonlyMap, but I'm struggling to type this as thoroughly as I'd like.

My current solution is a ReadonlyMap with an enum of keys, like so:

enum FruitKeys {
  tomato = "tomato",
  cucumber = "cucumber",
  potato = "potato"
}

type Fruit = {
  weight: number,
  color: string,
  yearning: boolean
}

const orderedFruits: ReadonlyMap<FruitKeys,Fruit> = new Map([
  [FruitKeys.tomato, { weight: 12, color: 'blue', yea
32

r/HomeNetworking•

tl;dr: What's the best longterm value router/AP setup for a mid-sized home?

I'm setting up a network for my new 3-story home. We'll have around 4 laptops, 4 phones, and 2 tablets connecting via wifi; and 2 desktops and a Raspberry Pi or two connecting via ethernet. The building is narrow and the neighbors are close, so interference may be an issue.

Connecting to Comcast rated at 100 Mbps, but will probably upgrade to 200 mbps after testing. Temporarily using an SB6183 and a 15 year old Zyxel router/AP that drops about 15% of packets from anywhere in the house.

Ideally, I'd like to run some QoS to try to maintain good latency for gaming on the desktops. I used dd-wrt 10-15 years ago, and

18


r/askcarguys•

My battery had a lot of corrosion on it. When I was cleaning it off, I snapped the bolt holding the terminal connector closed. I assume this was because the nut had been corroded to the bolt.

I was able to clean the terminal connector pretty thoroughly, to the point where the metal is clean and shiny. Should I replace the terminal connector, or just the bolt? If just the bolt, do I need to use a specific kind of bolt, or can I use basically anything that holds the terminal connector closed?

I'm replacing the battery regardless since it's about 7 years old.

Thanks in advance!

12