• Breaking News

    Monday, January 1, 2018

    Advice needed for an explorer based digital asset management system Ask Programming

    Advice needed for an explorer based digital asset management system Ask Programming


    Advice needed for an explorer based digital asset management system

    Posted: 01 Jan 2018 09:47 PM PST

    Just to start, I'd like to wish everyone a happy new year.

    Here's a little background. I've been trying to design an asset management system for data hoarders. I'm not looking for software suggestions as I find they all tend to be lacking in two main areas that I'm about to describe. This will be a bit long as I try to catalog my requirements and thought process in detail.

    Here's my hypothetical scenario:

    • I have a folder that contains n > 100 images. Each image is considered "loose", in that they have no relation to one another. Unlike say, each page of scanned comic book which need to be grouped and ordered together in a single entity for each image to make sense.

    • I want to sort this folder and I have two ways in which to choose; By graphical content (e.g. cars, nature, animals etc) or by function/utility (e.g. memes, wallpapers, reaction images, work). And then afterwards, moving each image to the folder most relevant to it.

    • These two methods are mutually exclusive, in that if I choose to organize in one way, I cannot do so in another (technically untrue, but that method involves file duplication so I'm keen to avoid that where possible).

    • Secondly, no matter which method I choose to employ, the Information Loss problem occurs as each image's candidacy for a folder is determined by only a single attribute. For example, If I have an image of a dog jumping to catch a ball in a field. The image falls under the domain of "Animals", but "jump" and "ball" and "grass" and "park" and so on are lost.

    • Thirdly, there is the matter of what to do when an image fits the critera of two folders. Say I have an image that is the painting of a waterfall. Would it fall under "Nature" or "Paintings"?

    Luckily, these problems have already been solved. Unfortunately my desired method of implementation has not.

    The way I see a lot of software designers tackle this has been to create their program on top of the file system, utilize an in-program tagging system and keeping a database of the tag mappings and then abstracting the duties of sorting to their program. Most "photo managers" and specialized digital management software do this.

    Listening to some of the feedback on the internet, this is an imperfect arrangement due to the fact that the semblance of order created by the software is merely an illusion (well, even more of an illusion considering folders themselves are just an abstraction), as change is not propagated down to the file system level meaning if we were to be de-coupled from the application in question, our changes will be lost.

    Nobody wants to spend hundreds of hours organizing then losing it in a corrupted database or finding out its pointless because something else better was just developed and theres no way to export your work into this new program or a hundred other ways things can go wrong.

    My desired method to go about doing this is to ditch the abstraction. Work directly in the file explorer, as this is something I believe most would find convenient and intuitive. However I have two main roadblocks.

    I would like to replicate in-program tags using metadata tags. While some file types do support a "tag" attribute like .jpgs, many like .pngs and .gifs do not. How do I get started with custom metadata programming? I say "custom" as I would like to stay clear of window's native metadata support as those have a nasty habit of being wiped by other programs or non-supporting file systems, and I would like something more robust.

    File organization can be achieved through what I call "context-sensitive-smart-folders" or CSSFs (as regular smart folders already exist). CSSFs differ from smart folders who only remember and output past queries, by being able to toggle between multiple "views" of a folder. In my earlier example of choosing to sort between graphical content and file utility, a CSSF would be able to accomodate both approaches by changing the structure of the GUI output depending on the desired context at the click of a button. Of course, provided they have already been sorted into their respective directories by the user prior. There'll be other features such as tag searching and drag'n'drop but they're not really the focus.

    Problem here is, I've done enough basic research on NTFS' MFT to know this cant be done through actual folders as theyre simply table entries. Hence CSSFs, like smart folders will be folders in name only. Some preliminary research leads me to Shell Namespace Extensions. Im not familiar at all with WINAPI, so if there's an easier way I'd like to hear it.

    In summary:

    file metadata - how to add custom metadata, suggest resources? what should I look out for?

    file organization/custom folder programming - do I use shell namespace extensions? Are there alternatives? Are there any good resources out there? What should I look out for?

    submitted by /u/insidiarii
    [link] [comments]

    Family tree program

    Posted: 01 Jan 2018 03:11 PM PST

    I want to create a program for making my family tree. Now there are already alot of those online, but i want to build some more things. Like when you start the program u see the entire familly tree (simple photos on a white background with a quote on top of it or even a logo. You can view stories , videos and more photos of a person when you click on the photo or name of that person. You can fill up things like height, weight, school that they finished. I would like to make it accesible for everyone in the family to be able to bring updates and everyone else to see it(like some online connection). What program should i use to build this project? I never programmed but well... How hard can it be to do this? Sorry for my grammar.

    submitted by /u/rexbrute
    [link] [comments]

    Slack Bot loop vs flask vs idk?

    Posted: 01 Jan 2018 09:02 PM PST

    What's the correct way to get incoming messages from slack to the bot through a DM or through channels? Using python btw.

    As of now I've just been doing a while loop seeing if there's a incoming input every half a second or so, just like this tutorial for my lab I work at. But I feel like this is a terrible way to do it. I also need this bot to stay up 24/7 and my process continues to die like once a day leaving me to use a cronjob asking if the process is alive every 5 seconds. But it makes me believe the infinite loop as a process will inevitably die, am I correct in that thinking?

    Which makes me consider switching to a Flask as restAPI to make the bot a more stable service. But I need this bot to do DM's and Im not sure if the Flask bots are only able to do public channels since they use outgoing webhooks (Apparently?). Plus wouldn't slack need to be able to ping my local Flask server? Hows that gonna work without a public URL.

    submitted by /u/tinsolider3
    [link] [comments]

    Coders like to travel, but is there a Couchsurfing for coders?

    Posted: 01 Jan 2018 06:30 PM PST

    I really mean like just for coders y'know? Like coders sharing accommodations with other coders. Like a global network of people doing this, for example Couchsurfing, or maybe a better example would be Warm Showers, which is for bicyclists.

    Does anybody else think it would be cool to travel and connect with other coders? You'd get exposed to many programming ideas, and it would be a way to connect with other developers directly and socially, and your hosts could relate to you, being as they are fellow coders.

    submitted by /u/racketship
    [link] [comments]

    Do developers find it annoying if I open up a a Github issue just to thank them for making a piece of software?

    Posted: 01 Jan 2018 09:52 AM PST

    Java Programming Text Editor on Mac

    Posted: 01 Jan 2018 08:35 AM PST

    Hi, I'm about to start Java programming but do not know which text editor / IDE to use. I like atom.io but how would I compile and run the program on Mac? Do you just go through the terminal?

    Thanks In Advance.

    submitted by /u/WoodenCrumpet
    [link] [comments]

    What will be trending topic/area of development in 2018 ?

    Posted: 01 Jan 2018 11:57 AM PST

    What will be trending topic/area of development in 2018 ?

    submitted by /u/saurabh_aktel
    [link] [comments]

    A question about mp3 files

    Posted: 01 Jan 2018 05:46 AM PST

    So i don't know anything about programming, and i was wondering if it's possible to have mp3 files to contain two or more audio clips, and have it play one of them each time you open the file, i hope that makes any sense.

    i just want to know if it has been done, or is it possible.

    and sorry if this is not the right place for this question.

    submitted by /u/Nora_Seeker
    [link] [comments]

    Anyone here working with CUDA?

    Posted: 01 Jan 2018 07:56 AM PST

    I m studying CUDA for a week and I would be greatfull if you could tell me how much I should know ( I have 6 months available ), in order to start an internship.

    submitted by /u/tsempex
    [link] [comments]

    I am confused concerning an error, when opening a combo box, when setting dropped down=true i get invalid index 0 but there are hundreds of items in the list. (vb.net)

    Posted: 01 Jan 2018 01:20 AM PST

    Using VB, VS 2017 I get an unhandled exception System.ArgumentOutOfRangeException: 'InvalidArgument=Value of '0' is not valid for 'index'. on this assignment, even though there are 441 items in the list, any suggestions?

    Try

     If CB_BlockB.Items.Count > 0 Then CB_BlockB.DroppedDown = True Catch ex As Exception Say.SpeakAsync("error adding item to combo box b") Say.SpeakAsync(ex.Message) End Try 
    submitted by /u/Graphenes
    [link] [comments]

    No comments:

    Post a Comment