• 0 Posts
  • 940 Comments
Joined 3 years ago
cake
Cake day: June 16th, 2023

help-circle

  • I had my sewer line backing up into my basement a couple of months ago. My regular plumber was busy so I had to call in a company that I knew was an overpriced scam (“Dream Team” lol) but I had no choice since I had guests in the house for my father’s funeral. They came and of course they couldn’t clear the line and said they had to dig up and replace the whole thing. The guy had a special tablet that he showed me the three options and the prices on and it initially showed them all in dollars per month with “zero-interest financing”. I was like dude just show me the total cost. The three options were $17K, $22K and $36K total but the monthly payments actually decreased with increasing total price (naturally the payment option didn’t show how many total payments you would have to make).

    Fortunately I called my regular plumber and he was so outraged at these motherfuckers that he came out that afternoon and cleared my line for me. Total cost $850.






  • I started working as a professional programmer in the mid-90s when three-tiered design was all the rage: a data access layer, a business logic layer, and a presentation layer. It seems that nobody actually knew what “business logic” was even supposed to be, because I kept inheriting projects where all the middle tier did was hand data objects from the data layer to the UI. In theory this prevented the UI from being fundamentally bound to the data access, but all three layers were always written in Visual Basic which got kicked to the curb in a few years anyway.




  • It was originally written as a C DLL utilized by a Visual Basic front end. The C DLL used the Win95 API, though, so it wouldn’t have worked on anything but Windows 95 and onwards. I subsequently ported the entire thing to C# but still using the same API to do the actual playing of the audio (I experimented with using DirectSound instead but that was really not appropriate for an application doing its own audio mixing). Now I’m working on an iOS version and I couldn’t give two fucks about Windows at this point.


  • As a programmer, it’s pretty wild how much of Windows under the hood has remained completely unchanged. I started writing software synthesizer applications back in the late '90s, using a part of the Win95 API called “winOutX”. The functions are kind of clunky to use but they allow you to programmatically create your own audio buffer arrays filled with whatever sounds you’re up to creating and dump them into the playback stream for seamless audio. This shit has remained in place, working pretty much perfectly, for the last 30 years. It was even there in WinCE/Windows Mobile, which allowed me to write software synthesis applications for early smartphones circa 2005. And it’s still all there today.

    I like to rip on MS as much as the next guy (not least for them completely dropping the fucking ball as far as smartphones were concerned), but sometimes their incredibly long-term conservatism can work to your benefit.


  • Crows are complex, though. The ones that live around my house can often be found ganging up and chasing away the red-tailed hawks that like to snack on the squirrels. The squirrels repay the favor by chasing off the crows who come to eat the peanuts I leave out for them (and eating the peanuts themselves). One time the crows flew around above me making a godawful racket until I went to the back yard and freed a baby raccoon that had accidentally gone into the box trap I leave out for groundhogs; they immediately flew off as soon as I let the little guy out.