Posts Tagged programming
Thanks to the Made with Marmalade offer, I now have a tablet. I couldn’t (and still can’t) justify spending money on a tablet beyond “it looks cool, and it’d be funky to have one”, but the offer for a free tablet neatly solved that.
Now to write an app for it and submit it, so I get to keep the tablet.
Go go first time at actual proper mobile app development, not just a wrapper around a site or just prototyping apps.
I generally don’t have any plans for developing specific software. What I do create is more stuff I find or think would be useful. My Lightroom plugin started from there – I saw that dA published an API, and so I thought about working with said API in Lightroom. Sounded like something fun to do, and I had some free time at that point.
So, in general, my process goes like this:
- Come up with idea.
- Toss it around mentally, think if it’s possible
- Wonder if I even want to implement it – will I make use of it myself?
- Sketch out the general flow of the program on paper – at this point, think of input/output, edge cases and data structures.
- Look up language features/API functions that I’ll use, and put them into the paper design.
- Implement and test the barebones of the program – just the basic functionality at this point.
- Add new features/optimise the existing code as necessary.
Now, it’s not cut and dried – if the idea sounds sufficiently cool then I might jump straight to step 4. Of course, what generally ends up happening when I do that is me getting through designing the program, and then while researching how to write it, putting it on the backburner and forgetting about it.
So, the point of all this? I should probably start documenting my ideas, and I thought I should think about how I think about ideas first…
One hour after I started, the bare bones are already up and running: github.com/kyl191/mp4dedup
Mainly because I read up a lot during the day, so I understood exactly what I had to do.
And with that, sleep time.
TL;DR: I have a bunch of MP4 video files that have identical content, but the internal metadata differs. I’m writing a Python function/module/program that’ll strip out the metadata, so hashing functions can find the duplicates. Read the rest of this entry »