Thursday, March 2, 2017

Unique number generation?

Is there a way to insert a unique number into a document?  I'd just like to get a single number attached to some docs I'm working on so we can use them in multiple places and they're easier to track down later.

Ideal properties:

* A hotkey (like ctrl+shift+/ or something)
* Be sequential (89382, 89383, 89384)

The only thing that I could come up with on this was a text hash generator is the UUID generator or MultiHasher (a program I try to avoid) programs, which uses letters and numbers.

Anyway, suggestions welcome.  This isn't critical as we have other methods of achieving this end, I'm just curious.

Saturday, February 25, 2017

Licenses and freeware

Two topics that come up fairly often on the site:

Why licenses are important

I've seen a general policy with most organizations where -- if you cannot find a clear and obvious license -- you cannot use the program.  This policy keeps companies out of legal hot water.  As a result, you can be sure that any software with terms not clearly spelled out isn't going to see use outside of personal/educational groups.

Creative Commons used as a software license

This group does some amazing things but software isn't one of them.  Here, Creative Commons talks about software and makes recommendations for licenses.

Friday, February 17, 2017

A developer perspective on portable

  • One developer's view (thanks smaragdus)
  • An argument for local software "I don't think I'd want tools for manipulating local media tied even loosely to the uptime of a remote computer (or network connection)."
  • A breakdown on Installer junk.
  • Advantages that your users gain with portability.

Sunday, February 5, 2017

Analysis of PortableApps.com

It comes up every-so-often in my community why anyone would do anything but start and end in the the great PortableApps.com project.  I decided to put some notes together why you'd want to go a different route.  As always, I had to add some positive notes as well.

Why avoid PortableApps.com:
  • Arguably a waste of disk and processor space, especially if the program is already natively portable
  • Lots of people dislike the start screen, which can only be disabled via the launcher or an annoying INI edit/move action.
  • Some programs never get out of "development" status for unknown reasons; governmental system for program addition is unclear to me.
  • Avoids dotNET-based programs - depending on who you talk to, this is either good or bad, but it for example cuts you off from most of the really good screen capture tools.
  • I strongly prefer the non-PA versions of Ditto and CubicExplorer, which I've only had problems with.  Note that these are in the minority as I've been using many other PA programs successfully for years.
  • Seems to rely on one individual for it's success (Haller).  If something were to happen to him, it's unclear if the project would continue.  This is a common concern with many open source projects.
  • I find the non-standard forum system they use difficult to read.

Why go with PortableApps:
  • Ease of updating (this is far and away my favorite part)
  • They have a thorough testing foundation that includes multiple operating systems, whereas we mostly seem to use Win7.
  • Seems to have solid relationships with big companies Oracle and Mozilla to help make jPortable and Portable Firefox happen.
  • Generally more stealth and often help make directories relative rather than static (.\Music rather than C:\Music).
  • Very pro-open source and make a big deal out of license compliance
  • Get programs in front of anti-virus services and help fight the false-positive issue, which we're constantly addressing.
  • Has been able to enforce a freeware status on a lot of programs that have gone the adware/bundleware route.
  • App Store approach is what people are familiar with now, drawing people toward freeware and open source options.
  • Very fast, reliable servers unlike any number of distributed freeware options which regularly break.

USB drive won't stop being "read-only"

Want to note about a trick that really helped me unlock one of my drives that was mysteriously set to read-only.  Note that this uses the command-line "diskpart" tool.

Why open source software is important

I wonder how much development time has been spent since the dawn of computers that is just sitting in a closet somewhere?  How many great programs, graphics, interfaces, and ideas have been written for computer users that for some odd legal reason never saw the light of day?  An open web ensures that software doesn't die; once its out there and once the code is available, it becomes part of the community of effort that lasts well beyond any one person.

Related quote:

"That's one of the things that Ellison, and Microsoft for that matter, don't get. You can't kill open-source projects. Companies come and go, but popular open-source programs like MySQL just keep rolling on." - Steven J. Vaughan-Nichols on Oracle and MySQL.

[When] are you moving to 64-bit?

This is a conversation I always wanted to respond to but I sort of missed my window.  As such, I decided to post here:

But that was about 3 years ago IIRC, so I'm curious about the reason(s) that make you stay in the 32-bit land as it's obvious that you'll have to struggle more and more against the flow? (source)

In fairness, there are still millions of perfectly good, plenty fast machines still in the 32-bit instruction set.

That said, I'm a bit of an outlier.  I'm running a 64-bit Mac with Windows in a 32-bit VM and I could conceivably switch or run a 64bit system right alongside the 32-bit (although that would be a bit of a pain).  The reason I'm keeping it at 32-bit in order to maintain compatibility with the many great programs we host here on the site that may or may not agree with a 64 bit API/handles and whatever compatibility layer Microsoft and Intel have tried to include.  I lost a few good programs when I bumped up from WinXP so I'm just dragging my heels.

With Linux, Google, and Apple, it's easy to recompile popular programs with minor modification because either the source code is open or owned by them.  However freeware projects that have been abandoned are out of luck.  I constantly see this happen in the Apple space, which is why I barely use my Mac.

Inevitably I'm going to have to move to 64-bit, especially as more and more development work is done to embrace available speed optimizations.  If that sounds silly, there are very few programs I've seen that embrace hyper-threading / SMP and those systems have been around for at least 20 years.