Monday, January 13, 2020
Friday, November 29, 2019
Friday, June 14, 2019
Newcomers are often mystified by them but I think they're less confusing if you get to them via the scenic route. Let's look at creating our own types in Go. Along the way we'll find parallels that help make interfaces more clear.
Custom Primitive Types
- I'm defining my own type
- I'm giving it the name BitFlags
- It represents an int32
Custom Struct Types
- I'm defining my own type
- I'm giving it the name Foo
- It contains the following data
Custom Interface Types
- I'm defining my own type
- I'm giving it the name Storage
- Anything with these methods qualifies as this type
Interface nil and Type Assertions
Anonymous Struct Types
- I'm creating a variable f
- It is of type Foo
- It contains these values
- I'm defining a variable
- I'm giving it the name foo
- Anything with these methods qualifies as this type
- The contents are explicitly zero
Saturday, June 8, 2019
Wednesday, March 6, 2019
The standard mechanism for drying filament is to put it in the oven for a while. I started getting strange results with my PETG because I got lazy and left it out between prints. I wanted to fix the issue but wasn't keen about putting plastics in my oven. I wondered about other methods and the silica gel packets came to mind. Those are the little packets that come with shoes and other things and say DO NOT EAT. I was skeptical about the power of these to reverse the absorption that had already taken place, at least not in a timely fashion. Also, I like to tinker and wanted to experiment with weird ideas.
I like to sous vide and had recently gotten a food vacuum sealer with an attachment for sucking the air out of wine bottles. I could seal the filament spools in a vacuum bag with some desiccant but I felt like it would work better if I could get closer to a proper vacuum. I didn't want to invest in a high-grade vacuum chamber and pump for an experiment. I started looking around and found the FoodSaver Quick Marinator; a rigid container with a valve for the hose that connected the vacuum sealer to attachments.
- Off-brand food vacuum sealer
- The FoodSaver Quick Marinator
- The vacuum sealer attachment hose
- Coffee Filters
- Flower desiccant powder
Thursday, January 10, 2019
The Good, the Bad, and the Ugly
Saturday, March 3, 2018
I just ate an Impossible Burger at Fatburger. If you hadn't told me what I was eating I would have told you I was eating a good but not great beef hamburger. The fact that it was entirely plant-based is impressive. It was savory, the texture was well within expectations for a beef hamburger.
Kelly tells me it nutritionally matches beef so it's not necessarily healthier. There's still the reduced environmental impact over beef. I could even see versions that compromise: including perhaps 10% beef for the extra flavor.
It was expensive though. Our two single-patty burgers with fries and drink was $31. I'd like this to become more popular so the price can go down. I would happily pay a dollar extra per patty for this as an substitution option at fast food places.
I'm really impressed by this as a first product and look forward to where this is going.
Friday, January 5, 2018
Tuesday, January 2, 2018
I can reasonably say I've been playing Wolfenstein as long as there's been Wolfenstein. I even played the MS-DOS port of the original 8-bit game a few times. I played Spear of Destiny, Blake Stone, etc. Wolfenstein: The New Order is almost flawless.
The New Colossus is a solidly decent game. There's more of the unexpectedly good story and character development from the previous game. This is definitely not the fungible, faceless protagonist of previous entries in the series, or even most FPS in general. Your character has thoughts, emotions, demons, loves, etc. The supporting cast of characters are dynamic and lifelike and it's definitely worth getting through the game just to see how the events played out. The ending actually felt fulfilling; moreso than in The New Order in my opinion.
Combat is mostly satisfying. You get the same optional dual-wield mechanic as in The New Order though in this instance it's rare that not dual-wielding is the way to go. The way you choose which weapons are in which hands is unnecessarily clumsy on PC; I suspect it's made for console controller. As you explore you can find hidden weapon upgrade kits that allow you choose from three upgrades per weapon that are not mutually exclusive. Each weapon has an upgrade that can be toggled. For example, the machinepistol upgrade makes your rounds incendiary while dramatically reducing the rate of fire. Incendiary MP is magical against the panzerhunden but much less effective against human targets. I found triple-shot shotgun in the left hand and single-shot assault rifle in the right to be a great combination allowing effective firepower against both close and far targets.
Run and gun works well and as mentioned you're mostly forced down this path. That said, most enemies have no special tactical weaknesses (less armor on the back) so few fights benefit from flanking. The super soldiers are weak in the back but it's easy to bait them into charging past you for easy back shots. Overall most fights I ended up just finding the most advantageous ambush point and waiting for the enemies to come to me. And they did... I would really like an FPS developer add an "I see the bodies of my comrades piled in this door way so maybe I should take a different route" mechanic to enemy AI. Which is a shame because many of the combat spaces are huge with multiple tiers, multiple places for cover, resupply, etc. Usually though I couldn't be bothered and just explored the space at my leisure after dispatching the majority of my foes with the stupidest possible ambush. Eventually though I decided to not pick up heavy weapons, to not ambush as much, just to keep the combat more dynamic, even on a higher difficulty setting.
After you've hit the game's shark-hurdling portion you get to choose a "contraption" that gives you a special ability. As the game progresses you get to pick up the other two. The difference between these choices basically boils down to, "to get into the next room do I crawl under, climb over, or smash through?". Regardless of your choice you still end up in the same room so the choice is somewhat illusory. It's mostly a question of what kind of entrance do you want to make to the party.
Criticisms aside, it's quite a fun game and worth a playthrough. Grab it on sale and rock out!
Monday, January 1, 2018
- Use a shoebox, game box top, or some other box for white card discard. It's much neater than discard piles.
- Use a hat or something similar to collect white card submissions. It genuinely speeds things up.
- Provide multiple stacks of white and black cards respectively for people to pull from. It makes it much easier for people to get their next cards and keeps the game moving.
- If the black card with three blanks is in your deck, pull it out permanently.
- When a black card with two blanks comes up, the judge draws a white card to fill in one of the blanks of their choosing. Everyone submitting two white cards slows the game down. Filling in one of the blanks with a random white card means the black cards with two blanks become unique every time they appear, rather than tedious.
- During the initial deal-in for each player, give them three extra white cards. Each player discards three before the game begins. This provides a funnier set of initial cards for everyone.
- Draw two, keep one. After each player submits their white card they must draw a replacement white card. Instead, each player should draw two white cards and discard one of the two they just drew, their choice. This reduces the accumulation of bad white cards.
Monday, September 4, 2017
- Identify something simple (simple does not equal easy) that I don't want to do but will feel good having made progress on. Dishes is a good one for me. Laundry is another.
- Identify the smallest thing that constitutes progress. Washing one dish, putting away one piece of clothing.
- Focus on the fact that doing that smallest thing represents progress. If I get more done, great! If not, I made progress when feeling overwhelmed.
- Go do that smallest thing. Chances are more will get done since starting is the hardest part. If not, I don't beat myself up. I made progress and the next progress will be easier.
- It doesn't always work and that's okay too. When getting started is the hardest part, trying is a small amount of success which fuels further success.
Friday, January 27, 2017
$ vault statusThere was this issue suggesting it was a problem with the storage backend. In my case it was having HTTP_PROXY set in the environment and the proxy won't allow the connection. unset HTTP_PROXY fixed the issue.
Error checking seal status: Get https://vault.internal-domain:8200/v1/sys/seal-status: Forbidden
Thursday, January 5, 2017
SecurityAgent may only be invoked by Apple software.Reboot.
Friday, June 17, 2016
I've begun to accept that I did everything I could. Everything I could was limited by my capacity. I was also in a very difficult situation and my failures and missed opportunities were expressions of that. She was the only one who could save her but she was stuck, trapped by her illness and the habits it had instilled in her.
I made mistakes but I never intentionally acted against her. Were there a solution available to me I would have acted on it. No one can know if there was a solution available to her. That weight was only hers to carry and she couldn't bear it. Many of us reached out to her because we felt responsible for helping her but we could to nothing to fix her. Sometimes that's just how things work out.
Monday, April 4, 2016
Saturday, February 13, 2016
Dayna and I have been friends since 2000, and partners since 2002. I'll skip the love story and get to the plot. I've been abusive, neglectful, unsupportive, unsympathetic, and deceptive to her.
I'm compelled to clarify abusive: I've never been directly physically abusive toward her. I've never struck her or anything like that. It would have easily been the last thing I ever did, plus it's just not my way. My sister and I were disciplined with spanking as children up until the point where my father left a bruise on my sister. He never spanked us again and after that he was able to bluff his way through spanking situations. That's how I remember it, anyway. I've never felt physically abused and actually respect my parents' approach to spanking.
I've been an angry, anxious, depressed person for a long time. I took a lot of that out on Dayna. The rest I habitually keep inside until it boils over to take out on Dayna. It's taken me years to recognize the smallest part of this and I know I still don't see all of it. It's hard to know where to start as this has been ongoing for over a decade as part of everyday life.
The first thing to know is that I have a grossly overdeveloped sense of responsibility. I cannot overstate this enough. If I can take care of something I will probably take responsibility for it. I can't possibly do everything so I fail to deliver on most things. Luckily for me this failure is silent. Few if any people know I've taken responsibility for this or that so I can feel inwardly guilty and unconfident but look capable and hard-working and dependable on the outside. I exist in a continuous state of being overwhelmed by my (notional) responsibilities and undermined by my (notional) failures. Saying out it out loud hasn't done much to reign this in.
When Dayna and I really started getting to know each other she told me about a number of mental disorders she suffered from. Growing up I saw my mother as constantly under great stress from her work and my father doing everything he could to make things easier for her. Being a kid I could have been way off but I internalized what I thought I saw. So I took responsibility for making her life better. Had this been something I said out loud I'm sure Dayna would have said this was ludicrous. One person can't fix another, they can just be accepting and supportive. I was pretty accepting and supportive in the beginning but eventually this was overridden by my own shortcomings and misguided ideas how on people help each other.
Things have gotten particularly bad between us over the last few months. Long-standing injuries to Dayna's spine have been getting worse, putting her consistently in a great deal of pain. The pain has made her irritable and my inability to really help her has been triggering my need to fix things. I haven't been fixing her so my mind has been bouncing between "I'm failing" and "There's nothing I can do". I've been physically supportive by way of getting her things, trying to make her comfortable, etc, but I've been almost completely emotionally detached and unwilling to accept that it's not for me to fix. This detachment made me completely emotionally unsupportive. My lack of sympathy and support causes her stress and anxiety which increases her pain and irritability which in turn causes me to be stressed, anxious, angry, and unsupportive. I've been there for her in ways that are completely superficial and rarely in ways that were genuinely meaningful.
To be continued...
Friday, August 21, 2015
Monday, June 8, 2015
- Drink lots of water. I don't enjoy drinking water but it's a lot more palatable when it's ice cold. I also like adding a bit of lemon juice. There are "flavor drops" you can buy for the same purpose.
- I gave up soft drinks and artificial sweetener. There's no scientific reason for this. Logically speaking the artificial things aren't needed in our diet. They may or may not be harmless. More than anything I did it to see if I could do it. It took about two weeks for the cravings for soda to go away.
- I do drink coffee. I'll have a large (16oz) with about a Tbsp of real sugar once or twice a day. This is my flavored drink. Tea would also be fine but I haven't felt like having tea. I don't consider this part of the diet per se, it's just here for completeness.
- Protein smoothies - this is one of the main facets of my diet. They're high in protein, high in fiber, relatively low in calories, and really tasty and refreshing.
- A smoothie blender. I have an Oster.
- A cup or so of frozen fruit. I buy 1-3lb bags at the grocery story and they're usually in the frozen dessert section.
- 8oz of cold water. This is called for by the protein powder.
- About 1Tbsp of table sugar. You can use more, less, or artificial to taste.
- One serving (two scoops) of EAS Lean 15 powder.
- A generous splash of lemon juice. I love lemon juice.
- Ice cubes until the fluid is almost at the top.
- I screw on the bladed cap thingie and shake it until the ice moves around freely (so the blender doesn't jam) and there aren't powder clumps on the wall of the bottle.
- Blend it until it looks like it's about an even consistency. The fluid should be spinning all the way to the top.
- This makes a nice fruit lemonade.
- Instead of lemonade, I also do frozen banana (peel, break in half, stick in sealable bag), cocoa powder, sugar, powder, water, PB2, and ice. Also very tasty.
- I have 2-3 of these per day. 3 is almost 100% of your daily protein.
- Chunky soups. Fairly low calorie, filling, vegetables, etc. I get tired of them sometimes but they have the benefit of being trivial to prepare. Any of these with chicken broth benefits from a squirt of sriracha if you're into that sort of thing.
- Low-calorie frozen entrees. I get the "Eating Right" brand and stick to ones that are under 300 calories.
- Occasionally, a sandwich. Whole wheat, medium cheddar, turkey breast, chipotle mayo, pickles, peppercinis. These pickles and peppercinis make it for me. This is probably the highest calorie thing I eat.
- Fresh fruit. Apples and bananas mostly because they're really convenient. When my excess bananas start to turn brown I freeze them as above.
- Chocolate Mint Builder's Bar. They have other flavors. These are relatively high calorie but sometimes you need a treat. They're tasty, have a satisfying texture, are silly high in protein, low glycemic index, etc. Pairs nicely with a fresh apple. No more than one per day.
- Gummy multivitamins, just in case.
- Fish oil pills because my cholesterol is a little high.
Sunday, December 28, 2014
- Printer make/model
- Revision of printer hardware
- Revision of printer firmware
- Host software
- Slicing software
- Temperature of heating element(s)
- Speed the print is run at
- Type of filament (PLA, ABS, nylon, etc)
- Brand of filament
- Batch of filament
- Progress through a single spool of filament
- Print surface (metal, wood, glass, tape)
- Condition of print surface (cleanliness, presence/absence of adhesives)
- Ambient temperature
- Nearby airflow
- Preheat the extruder to working temp +5C and let it sit so other surfaces can heat and expand.
- Adjust surface tape as needed. So far if I wipe with alcohol I get so much adhesion that it's difficult to sand the tape off the part.
- Set the slicer to run at 30% speed for the first layer.
- Set the slicer to produce a 3mm brim.
- Set the slicer to not engage the fan for the first 3 layers.
- Because I have my printer basically in a hallway, I make sure that there are no nearby doors open that will permit a draft.
- Take my heat gun and heat the surface until it registers around 110F with my IR temp gun.
- Start the print and watch it until the first two layers are complete. If I get there, it's like 95% success chance.
Sunday, December 14, 2014
|3D printed in PLA with handle painted.|
|Glyphs painted in white.|
|Sanded the overflow, kind of.|
|First coat of blue.. with sparkles!|
|A couple of coats in, looking snazzy!|