Allen's Dev Blog

I tried; I really tried

December 07, 2020 — Allen

I really wanted to use React components on my form. I wanted to use React in a project to learn more about it since I'm forced to use React at work. But, at work, we don't use many libraries and they have the build system already which includes Babel (which I still refuse to use in my personal work). And these toolchains have gotten out of control. It's using the packager to run the transpiler, to parse the pseudo-languages…to catch the spider, to catch the fly… So, bottom line, the JavaScript toolchains are an unusable mess and I will not voluntarily learn any of it.

The final approach I took was using some React to generate the form, and jQuery UI sliders with React refs instead of the Material UI stuff. That approach is working alright, everything's pretty nicely buttoned up, and I don't have to play with the Web-Babel nonsense. I'll leave it at that and piss off the new grad, 20-somethings that think the way they learned is the right way.

Tags: whining

"Use our stuff−now it's more like not using our stuff!"

November 04, 2020 — Allen

More and more of Microsoft's products seem to be migrating towards the "non-Microsoft" way of doing things, aka the way everyone else already does it. (and, arguably, that's been their business model from the start) Bash in Windows. Git in TFS. It's a pretty strong indictment when you have to make your product be more explicitly similar to other products, presumably, from sheer user demand. It says that your way was wrong when your pitch becomes "use our stuff because it's not like our stuff anymore".

Tags: whining

"They have no idea what century they're in and they'll defend themselves, violently, if necessary."

October 23, 2020 — Allen

Ok, so I have to learn React. I've stayed as far away from it as I could, for as long as I could. My mind balks at the notion that I have to learn it just because everyone else feels they have to use it because that's what the "cool kids" at Facebook are using. But now that I am forced to learn it, I'll admit that it is a neat idea. But it also confirms my suspicions that it is the reason why I'm unable to successfully click on anything on Facebook (or anywhere else that uses React). React completely removes the concept of "document" and replaces it with components. That's an interesting idea and a useful approach to application development, but there's a problem: the browser has no idea that this is what React is doing. The browser thinks it's still rendering a document. It's no wonder everything is always jumping around, making it impossible for me to click on what I'd intended to click on.

If we're going to go down this path−which I'm starting to see the case for doing so−then I think the browser has to be re-imagined. We need a new kind of user agent that doesn't constantly shuffle things around because of an ever-changing "document" that no longer exists.

Tags: whining, TIL


October 16, 2020 — Allen

Switching from SVN to Git was kinda "ho hum" and non-eventful. Just learning a new way to do things.

Switching from Git to TFS feels like trying to do brain surgery using dull rocks with one arm tied behind my back and the other arm on fire.

Tags: whining

Good news, Everyone!

October 06, 2020 — Allen

I've almost got a rough POC working for ANSI escape codes showing inline images in jQuery Terminal. For some reason, it won't display the image from here. The image data is correct; I've validated it multiple times and confirmed that it's still correct after getting parsed out of the escape sequence. The parsed output will display correctly on its own, but doesn't render inline. A different image, similarly encoded does display. I can't figure out the difference.

Oh, and I finally got one of those job thingies.

Tags: whining, winning

Hello, ANSI

October 05, 2020 — Allen

So, I finally got ANSI support added to jQuery Terminal. It was supposed to be as simple as adding a sinle line of code−and it was, but the order I included the dependency apparently mattered. So I finally got ANSI support added and now to add a formatter to support the needed escape sequences.

Tags: whining

Man, JSONP sucks

September 18, 2020 — Allen

Any time I've come across the need to do CORS requests I've always found a different approach to avoid this mess. I think I'm going to have to do some kind of JSONP approach to get my wordsearch into my blog though. I guess the Internet can't be as open as ~club.

Tags: whining