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

help-circle



  • 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.



  • Looks like an ornithopter cockpit lol. I liked the new Dune movies well enough, but there is (was) a lot of stuff in them that was kind of jarringly off. One thing was the ornithopter cockpit with the shitload of modern (our modern) switches that Duncan Idaho had to flip to get started, completely not fitting in at all with pretty much every other example of technology on display.

    I recently saw the first movie again and it seems they had edited that part out, although maybe that was just for the TV version. They had also edited out the exchange where Duncan sees Paul on Arrakis for the first time and says “you look like you’ve put on some muscle.” “Really?” “No.” Just a terrible Marvel-style cheap laugh and the movie benefited from not having it there.




  • 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.