OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Oct 22, 2019 10:10 pm

All times are UTC - 6 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Who needs meta-data when you have long file names... Not me
PostPosted: Mon Jul 09, 2018 10:04 am 
Offline

Joined: Mon Jul 09, 2018 9:32 am
Posts: 12
Long file names work great in my app..
If the app name has "random" in it then it will do random
The app name can be changed to force the input control file name to thename*.txt
The app name can be used as a place for passing parameters..
Keep it simple stupid works great.

Meta-data ties you to a specific app or two.
What a pathetic place to insert info. Not easy to change or add for the newbie.

Hint: when cataloguing pictures, video, audio and text data... Use long detailed descriptions in the file name..
include the YYYYMMDD which is easily searched.
Meta-data may have been some value, when we were stuck with 8 character file names... Not no more.


Top
 Profile  
 
 Post subject: Re: Who needs meta-data when you have long file names... Not
PostPosted: Mon Jul 09, 2018 10:09 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 27, 2006 9:42 am
Posts: 1489
Location: Athens, GA, USA
Uh oh. I am probably the one to blame for this. I guess Swampy decided that all my references to this group on the Daily WTF fora were an invitation.

Note that the thread I linked to has quite a lot of NSFW swearing. Especially in the part where I discuss trying to read all of the 10 KLOC of VB5 spaghetti that comprises Spectate Swamp Desktop Search, which, as I have stated here before, made my eyes bleed.

Mind you, WhatTDWTF as a whole is a massive cesspit, which is why I no longer post there and only read it is to refresh my memory on something I or someone else said in the past. While there are some stunningly intelligent and knowledgeable people there, dealing with them is often like putting an arm against the working surface of a belt sander.

_________________
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
μή εἶναι βασιλικήν ἀτραπόν ἐπί γεωμετρίαν
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.


Last edited by Schol-R-LEA on Mon Jul 09, 2018 12:12 pm, edited 6 times in total.

Top
 Profile  
 
 Post subject: Re: Who needs meta-data when you have long file names... Not
PostPosted: Mon Jul 09, 2018 11:55 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 3520
Location: Chichester, UK
It's so much easier to remember and type a long, convoluted file name than a short, simple one isn't it.


Top
 Profile  
 
 Post subject: random search of long file names is COOL
PostPosted: Mon Jul 09, 2018 2:36 pm 
Offline

Joined: Mon Jul 09, 2018 9:32 am
Posts: 12
iansjack wrote:
It's so much easier to remember and type a long, convoluted file name than a short, simple one isn't it.

Nope you are wrong.. Keep them short if you like.
I like video software that has the YYMMDDHHMMSS in the name; then I rename it to include what is in the picture / video etc.
But I guess most people don't have access to their Digital Stuff like I do. Poor SOBs all.

Long file names make it easy


Top
 Profile  
 
 Post subject: ThumbNails ThumbNails ThumbNails
PostPosted: Wed Jul 31, 2019 8:37 am 
Offline

Joined: Mon Jul 09, 2018 9:32 am
Posts: 12
ThumbNails Video ThumbNails...
By changing the FileName to include start point, duration, speed and more .. You & Me got the greatest Video Thumbnails..
Of all time..
Can't do anything like that with MetaData.. Now can You.
https://www.youtube.com/watch?v=ksdXXbcZKxU

and GPS locations
https://www.youtube.com/watch?v=zt6_eaYJNoM


Top
 Profile  
 
 Post subject: Re: Who needs meta-data when you have long file names... Not
PostPosted: Wed Jul 31, 2019 10:48 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 1665
With metadata, we attach a whole file to use as the thumbnail. You can't fit an entire file into a file name.


Top
 Profile  
 
 Post subject: ThumbNails ThumbNails ThumbNails
PostPosted: Wed Jul 31, 2019 5:55 pm 
Offline

Joined: Mon Jul 09, 2018 9:32 am
Posts: 12
Octocontrabass wrote:
With metadata, we attach a whole file to use as the thumbnail. You can't fit an entire file into a file name.

The entire file as a ThumbNail... That is just crazy.


Top
 Profile  
 
 Post subject: Re: Who needs meta-data when you have long file names... Not
PostPosted: Thu Aug 01, 2019 12:35 am 
Offline
Member
Member
User avatar

Joined: Mon May 22, 2017 5:56 am
Posts: 145
This thread is great! :lol:

I have had similar ideas myself, and I do in fact tend to insert image tags into the file name, but Plan 9 showed me it's not needed. You can just make plain-text lists with filename followed by tags, and "plumb" the filename straight from the text editor. If you design your OS right, you don't even need long file names. :lol:

_________________
Wir mussen wissen, wir werden wissen.


Top
 Profile  
 
 Post subject: Re: ThumbNails ThumbNails ThumbNails
PostPosted: Thu Aug 01, 2019 1:41 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 1665
SpectateSwamp wrote:
The entire file as a ThumbNail...

When did I say that? No, the thumbnail should be a very small file. You could pick a start point, duration, and speed, then save that clip as a separate file, then attach that file as the thumbnail.

SpectateSwamp wrote:
That is just crazy.

:-k


Top
 Profile  
 
 Post subject: Who's afraid of Big FileNames wrecking their crappy app
PostPosted: Thu Aug 01, 2019 6:14 am 
Offline

Joined: Mon Jul 09, 2018 9:32 am
Posts: 12
Who's afraid of Big FileNames wrecking their crappy app

I just love 'em long and informative...
Just yesterday I used long filenames to curate those videos I shot lately..

What fun it can be if you do it like I do..

First I run the Spectate feature to catalog all the videos on a device or in a folder.. (mere seconds)
In this case I'd already loaded the names with the start stop points etc..

I just needed to refine them a bit.
Then I opened that .txt file with notepad.
I selected the first video's date and time to the clipboard
Then I started the app to play the video
on request for first search item.. I pasted in the above clipboard info

And away it would go.. Playing the thumbnail selected Over and over again
as it hit the end of file for search..

THEN
I'd see where i could change the start point or speed or description..
Making that change in the text file... saving it..

Wow
The next loop of the playback for that video.. Picks up the change..
being able to adjust the start / stop point like this makes it fun.. a lot of fun.

Then next video ...

I finished the 27 clips and go through the list...
copying each files details and changing the corresponding video's name...

Then a re catalog
and run 'em all for display.

I'd been working on the app for 20 years and didn't realize the power of the long filename
that was just sitting there..

The GF catalog feature loaded the filename (and metadata for mp3) into the first #1 detail search line
the 2nd line is the path to the video

By just changing the filename to include the play details is a major breakthrough..

http://www.telusplanet.net/public/stonedan/search.exe

The search and the msvbvm50.dll
And a PC is all you need..

In no time at all you can be as good as me...


Top
 Profile  
 
 Post subject: Re: Who's afraid of Big FileNames wrecking their crappy app
PostPosted: Thu Aug 01, 2019 7:55 am 
Offline
Member
Member
User avatar

Joined: Mon May 22, 2017 5:56 am
Posts: 145
SpectateSwamp wrote:
Who's afraid of Big FileNames wrecking their crappy app

Nobody actually mentioned this, did they? String length issues don't seem to be an issue around here. Even in Plan 9, which is full of C programmer's disease, I barely had any problems with string length in 10 years of constant use.

SpectateSwamp wrote:
I'd been working on the app for 20 years and didn't realize the power of the long filename that was just sitting there..

I've had a few moments like this. They can be epic if the "I'm an idiot" feeling doesn't disable you. I've just had another one: Build a feature like Plan 9's plumber into a Forth system, and you don't need filenames at all, just numbers! :lol:

More seriously, here's an example of how I considered organizing my files in Plan 9. First a text file:
Code:
/path/to/file1.mp4
   Flight of the Condor
   The BBC production which kicked off
   the nature documentary industry,
   covering the range of the biggest bird on Earth.
   Awesome scenery, beautiful mountains, ... whatever
/path/to/file2.mp4
   {{[{!{Original __ridiculous__ filename]$]}]].mp4
   (Worst filename I've ever seen, by a small margin.)
   Actual title if I feel like it
   Nice long description, if I feel like it.
   cat kitten goofy mlem lick frog ice

This is all plain text; it's easier to edit than filenames. To launch a file from the Acme text editor, just right-click the path. From the Sam text editor or text windows of the Rio window system, left-click the path and select "plumb" from the middle-button menu. All this would also work in Plan 9 From User Space, substituting 9term for Rio.

Note how the descriptive text is free-form. It could be grepped, although a slightly more sophisticated search would be a huge improvement on this and many other tasks in Plan 9. (Such searching is why I didn't bother identifying the fields.) Plan 9 contains the seed of an idea for such a search tool, but it's not adequately developed.

I didn't do it because I was hung up on some idea of making the filename a hashsum in some special filesystem, and then I got rid of 80% of my images anyway.

SpectateSwamp wrote:
In no time at all you can be as good as me...

u tro11 :lol:

_________________
Wir mussen wissen, wir werden wissen.


Top
 Profile  
 
 Post subject: Re: Who needs meta-data when you have long file names... Not
PostPosted: Thu Aug 01, 2019 9:38 am 
Offline

Joined: Mon Jul 09, 2018 9:32 am
Posts: 12
I'll do a screen reshoot of the playback..
The naysayers will be jealous.


Top
 Profile  
 
 Post subject: Re: Who's afraid of Big FileNames wrecking their crappy app
PostPosted: Thu Aug 01, 2019 9:41 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 27, 2006 9:42 am
Posts: 1489
Location: Athens, GA, USA
eekee wrote:
SpectateSwamp wrote:
In no time at all you can be as good as me...

u tro11 :lol:


Yes, I said already that he was. I wasn't kidding (NSFW; just be glad I didn't link to his page on Encyclopedia Dramatica). A fun troll, sort of, but definitely a troll, or at least an eccentric.

BTW, in case you haven't noticed, this isn't actually about OS-Dev (AFAIK, Swampy has never had any interest in that topic). At the very least, I recommend that this get moved to either 'General Programming' or (perhaps more appropriately) 'General Ramblings'.

_________________
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
μή εἶναι βασιλικήν ἀτραπόν ἐπί γεωμετρίαν
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.


Top
 Profile  
 
 Post subject: The OS doesn't matter -- and never did
PostPosted: Thu Aug 01, 2019 10:21 am 
Offline

Joined: Mon Jul 09, 2018 9:32 am
Posts: 12
The OS doesn't matter -- and never did

Back in the day. when the OS was going through changes..
If it broke your software... You changed the OS.. It was that simple.

It's the app and this app that counts..


Top
 Profile  
 
 Post subject: Re: Who's afraid of Big FileNames wrecking their crappy app
PostPosted: Thu Aug 01, 2019 11:16 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 3520
Location: Chichester, UK
Schol-R-LEA wrote:
At the very least, I recommend that this get moved to either 'General Programming' or (perhaps more appropriately) 'General Ramblings'.

Even better, the auto-delete forum.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group