Thursday, August 20, 2020

How We've Given Up On Tomorrow

Whenever I fly, or see public transportation, Or traffic in general, the same question inevitably comes to mind.

Why have we given up on the future?

There was a time when we looked to the future with excitement and imagination. We envisioned a world full of endless possibilities. Then we just kind of gave up. I'm not talking about flying cars or cities in giant glass domes I'm talking about everyday things. Take flying. We pile into an airplane, seats packed so tightly everyone in your row has to get up if you need to leave your seat. And if you have to use the bathroom while the food cart is working its way down the walkway, too bad (And you're not allowed to use the restroom in first class).

Why have we decided that this is what air travel is, and will be forever? Where did innovation go? Yeah sure - costs. But still. What constitutes improvement in air travel? Plugins for your laptop or phone? Rentable notepads to play movies on? How about we find a way to have more room? How about we are allowed to move about, and have like minibars etc. Why is that only for private jets? Wouldn't it be worth some extra money to be able to hang out, more like a cruise ship than a crappy city bus? Surely there's some way to make such a thing accessible. We used to think outside the box. We used to be excited for the future. Now we're just cynical and complacent.

We need to find optimism again. Fun needs to be reborn. What's wrong with doing something just because it's fun and makes tasks like air travel actually enjoyable? Why can't art or books or movies exist simply to inspire and entertain? Why does there have to be some hidden agenda or politics?

We need some Neo-Futurism to make its way into meatspace!

Wednesday, July 8, 2020

A Great and Lacking Java-based File Manager

For a long time my go-to file manager has been Double Commander. It is quick and powerful and I can configure it super minimal - even hiding the tabs. The search feature works so much better than the native Windows search tool, so when I'm on a 'dohs' box it is especially handy (Although lately I've been using grep within the GIT bash).

Every now and then I get bored and change it up. I've explored VIFM and other console-based file managers. They are cool and a lot of fun but I usually end up missing Double Commander's features.

I have recently returned to muCommander. Now that I've spent a lot of time working in Java it's cool to use a Java-based file manager. And I've grabbed the source code. I may see if I can get it to always hide the tab bar. I've returned to it purely for fun. Sadly it is lacking one major feature... searching. Yes the latest version has a file search dialog you can pull up, but it's more of a placeholder than an actual tool. I navigated to a temp directory and searched for 'category' which I knew was in an XML file in that directory. 0 results. Even the Windows search tool would have found that. I tried case insensitive (Even though the case was the same) and I tried the Regex option. Nothing - in fact it wouldn't even search with the Regex set. And when you launch the dialog the options are always set to their defaults, not what you set them to last - huuge headache. And shouldn't the search results show in a new tab versus commandeering your current tab? It is just unusable. I feel like searching should have been a goal early on in the project. How useful is a file manager if you can't search your files?

Also lacking... you can't create a new file (I couldn't figure out how at least). So to do so you have to pull up a different file manager - or text editor. If you have to leave a file manager to create... a file, you've failed.

If I have to rely on other file managers to do basic things then the file manager in question isn't a viable option.

I do like muCommander and would love to use it as my primary tool for dealing with files, but sadly after all these years it is still not ready to do basic file-related tasks. I'm going to poke around in the code and see if I can somehow make it usable enough for me.

I'm sure I'll have more to say about muCommander in the near future. Maybe I'll do like I did with Jreepad and create a 'murdered out' version.

Wednesday, July 1, 2020

Clipboard Project

I've been coding in Java (Late at night) for a few years now. Most of my projects are console applications or arcade-style video games. Being hobby efforts, they usually require very little intense research. If it makes my head hurt, I do something else. It is my free time after all.

As a consequence I haven't done much with Swing and GUI development. Nor have I done much with the clipboard. But now I have reason. I am unable to use my all-time favorite clipboard manager so I need to write one. I am amazed at how easy it has been so far. True, I've done an obscene amount of web searching, and there is some funk in Java I've uncovered.

The benefit is I get to add even more VIM nerdiness to my project than CopyQ has. Also I've coded it to store everything encrypted. I have it minimizing to the tray and clips can be edited or deleted.

Still to do...

- Add a global hot key to display the window.

- Add 'permanent' bookmarks that can be arranged into categories or similar.

- Debug why it randomly doesn't load the stored clips when launching the application.

- Maaybe pop the window up at the mouse.

- Add options to the application.

Thursday, June 11, 2020

Never Say Always

I am FAR from a guru... or anything resembling one. I am self taught so often I know things, but am unfamiliar with their terminology. I may be unfamiliar with commonly taught problems or patterns. So don't give my thoughts too much weight.

I just watched yet another "Why <Insert Name> programming is horrible" video. In this case it was OOP (Which I personally like). I've seen a few of these. It is always fun to hear the criticisms of various languages or programming patterns or editors etc. The arguments typically go:

1. <Insert Name> is terrible. You should never use it (Gotta get the clicks).

2. Here's some arguments why it sucks.

3. But... sometimes it's useful.

4. Use <Insert Name> but not all the time.


I say use whichever paradigm works - when it works. It's like Kung Fu. If you are sparring and you are a 'kickarian' when you opponent has moved in past your kicking range, into elbow range let's say. Forcing a kick to happen is ridiculous. You need to throw some 'bows. Forcing everything into an object is just as bad... so is forcing everything to be procedural, or 100% CSS, or whatever the extreme proposition is. If it works best in a situation, use it.

Monday, May 25, 2020

Everything Sucks

I have just decided that I am going to expand my knowledge by reading about how sucky everything is.

I was going on another mental tirade about how HTML and CSS sucks. How it SHOULDN'T be so difficult to lay out front end elements. And there shouldn't be so many dang brackets and other code elements. So tedious. Anyway. I decided to search the webs to see if this sentiment is shared by anyone or if I just don't know what I'm talking about. Turns out it's the latter.

In my searching I found some really great articles that taught me a lot through other people's gripes. What a fun and entertaining way to learn more about topics I'm already somewhat familiar with. By calling out pain points and bad practices I can learn not only what to avoid and what to do instead, but why.

Tuesday, May 12, 2020

Gutting WP

I'm working on a website designed to show off my designs as well as the designs of others. I can promote designers I admire and share cool art, resources, architecture, anything cool I find online. My goal is to build traffic through networking.

I began the site as a fully hand coded website, from scratch. To deal with dynamic elements I was going to create a WordPress blog and read the posts as JSON. I got it working perfectly... until I uploaded it. Then I hit the dreaded cross domain limitation. After wrestling with this for a while I decided to bite the bullet and make my site fully WP. BUT I grabbed a completely bare bones theme as a starting point. It was pretty much style-less. So it was a perfect choice.

I've gutted the templates and ported over what I had coded. Then I used WP methods to populate portions of my site from pages or specific category posts. It still has issues, and the look is weak, but the back end is nearly complete.

http://norman.atwebpages.com/

Monday, May 4, 2020

Design

I am obsessing over design lately. I would love to design watches, furniture, architecture. Sad that my interest in it came 20+ years after art school. But I'm thinking about exploring it any way. My plan is to put together a site. Its objective is to get exposure for my designs. To do so I'll try networking by highlighting other peoples' work and designs I like.

Even if it does nothing for my design ambitions it will be a good place to showcase my various creative projects.

Due to the power of the platform I think I'll start out using WordPress. Later I want to move it over to something I've built from the ground up but for now WP will be fine.

Best GUI / TUI

 Let's talk about my favorite GUI and TUI libraries... so far. Dear IMGUI I've used this library in a couple of projects (using the ...