The garden pre-bugging strategy works again... write some code, go water the plants, come back and fix the things I realized I did wrong while I was out in the garden
Post-qualified imports is a small syntactic change that makes this a lot nicer. The ImportQualifiedPost extension has been available since GHC 8.10 and is included in the GHC2021 version of the Haskell language.
Gonna write a post at some point about dependency version ranges, but the main bullet point for starting a new haskell library is: For each dependency, set the range to
^>= x.y.z
where x.y.z is the first three digits of the package's latest release. This will generally work and be fine and you can expand upon it later only if needed.
You'll see a lot of libraries with wider version ranges. They accrued this over time as new versions came out. They probably didn't start like that, and you don't have to.
This goes double for if you see libraries that bend over backwards using CPP to support multiple incompatible dependency versions. Do not imitate this until there is some real need for it!
"A message can include only XML, JSON, and unformatted text."
What the hell does that mean? Doesn't the inclusion of "unformatted text" as a possibility mean anything at all is accepted? Why even mention XML and JSON?
Haskell lets you destructure the hell out of some function arguments in a nested pattern. This simplifies the expression-level part of your function definition! But all you've really done is push that stuff into a different place where it's harder to work with. Save yourself the trouble and don't ever go through a phase where you're writing big complicated patterns.
Every day I turn the bluetooth off, every day the iphone turns the bluetooth back on, and any day I forget will be a day I am plagued by useless noises coming out of some speaker somewhere that the phone managed to find.
It is just so upsetting how much easier it is for me to deal with men that my wife has trouble with. As soon as I show up, they're able to recognize that we're people with things to do other than help them with their bullshit. I swear I do not have any extraordinary people skills. It's just, you show up with a dick, and people listen to you.
People will actually apologize to me for the way they dealt with her. They apologize to me
Do I know anyone who's a money advisor who could give me a little (free, sorry :( ) consultation on what options I have for getting money out of retirement accounts and how taxation would work? I need to use some of that money now, desperately, but I have no idea if I'll just have the IRS garnering my wages later and be in an even worse situation if I use it. Doesn't have to be a major long thing, just a quick call or something.
@sam No idea whether the bank running your retirement account does tax withholding on the withdrawal. If they don't, to make sure you don't owe any additional penalties/interest, you can take it upon yourself to immediately send the IRS an estimated tax payment for that 10%.
@sam (This is a thing I have learned being self-employed; if you have income that isn't subject to withholding, the IRS expects to receive quarterly estimated tax payments.)