|
It is the opposite of tiny, but iTunes does that kind of stuff with its Genius feature.
|
# ? Mar 31, 2011 05:10 |
|
|
# ? Jun 8, 2024 06:49 |
|
mobby_6kl posted:Sorry this took so long, but try this. You'll need to keep the dll in the same directory as the exe file for it to work. Let me know if it does/doesn't do what you want, though you can also change the included sources yourself (see, no keylogging!). YES. thank you! This is it. but is it possible to get a space after the dot/period ?
|
# ? Mar 31, 2011 16:15 |
|
My request might be a little involved, but here's what I want to do: We have a security camera pointed at the front door, and a voip intercom outside connected to our TrixBox/Asterisk server. When someone presses the call button it rings all the lines in the building and you press a button to open the door. I'd like an app that is integrated with Growl to detect the intercom button press, take a screenshot of the security camera (it's web-accessible), and generate a Growl pop-up that when clicked sends a form action to the intercom (is this even possible via Growl's networked alert relay?) The security camera's mjpeg feed is accessible via http://camera.ip/img/video.mjpeg and requires a login/pass. The intercom's relay is activated via this form action, which also requires a login/password: code:
|
# ? Mar 31, 2011 19:15 |
|
My Vista HTPC sometimes forgets the resolution and refresh rate and I have to go through a bunch of menus to switch it back so the picture on my HDTV looks good. I'd love to have a button either on the desktop or the toolbar that just resets it all to 1920x1080@60Hz. I also have an ATI video overscan setting, but I can live without that being automated as it very rarely gets confused and would be harder to code (presumably.) Does this sound straight-forward? I imagine I could set what res and refresh rate I wanted in an ini or something, but hard-coded is fine.
|
# ? Apr 2, 2011 01:14 |
|
Gromit posted:My Vista HTPC sometimes forgets the resolution and refresh rate and I have to go through a bunch of menus to switch it back so the picture on my HDTV looks good. I'd love to have a button either on the desktop or the toolbar that just resets it all to 1920x1080@60Hz. Reset Resolution (I really suck at coming up with names). Just run the exe to (try to) set the resolution to 1920x1080@60Hz, or give it command line arguments like so: 1920 1080 60 (you can do it with a shortcut). Update: Thanks to nielsm and Gerblyn of CoC, this should be fixed now. Just download the file again if you already got it before this update. apati posted:YES. thank you! Of course it's possible... I updated this one as well, just get the new version from the same link. mobby_6kl fucked around with this message at 17:22 on Apr 2, 2011 |
# ? Apr 2, 2011 12:17 |
|
mobby_6kl posted:Reset Resolution (I really suck at coming up with names). Awesome, thanks. I'll test it later today and see how it goes. Man, 11 hours from request to solution - I can't complain about that!
|
# ? Apr 3, 2011 00:07 |
|
Is there a way to tell the difference between an animated GIF and a regular one in software? I have a big pile of GIFs I got from a website and I want to sort them into two folders (animated, not animated). I feel like a simple script could do this if there is a key difference in file headers or something like that.
|
# ? Apr 3, 2011 21:28 |
|
Corla Plankun posted:Is there a way to tell the difference between an animated GIF and a regular one in software? I have a big pile of GIFs I got from a website and I want to sort them into two folders (animated, not animated). I feel like a simple script could do this if there is a key difference in file headers or something like that. Don't want to come off like I'm hoarding all the requests here, but I actually already have a script I wrote a while ago almost exactly for this purpose. You'll need Perl and ImageMagick: code:
Edit: Here's a C version since kept bothering me yesterday http://mobby6kl.nfshost.com/files/software/gif.rar. Usage is the same as the Perl version, but it shouldn't require any dependencies. mobby_6kl fucked around with this message at 23:49 on Apr 4, 2011 |
# ? Apr 3, 2011 23:19 |
|
Corla Plankun posted:Is there a way to tell the difference between an animated GIF and a regular one in software? I have a big pile of GIFs I got from a website and I want to sort them into two folders (animated, not animated). I feel like a simple script could do this if there is a key difference in file headers or something like that. This is pretty easy to do in c# since the Image type from System.Drawing contains a method to get the number of frames in an image. This should move all animated gifs in the same directory as sortgifs.exe or a specified path into ./animated and all static images into ./static. https://sites.google.com/site/madbrahmin/SortGifs.zip edit: beaten
|
# ? Apr 3, 2011 23:21 |
|
Factory Factory posted:It is the opposite of tiny, but iTunes does that kind of stuff with its Genius feature. Yes, that is the kind of thing I'm looking for. I've used Genius for a while but it's kind of a hassle. Is there a way to get it to give me a list of everything it suggests rather than having to click on different songs/artists/albums and writing it down somewhere?
|
# ? Apr 4, 2011 05:05 |
|
Mad Brahmin posted:This is pretty easy to do in c# since the Image type from System.Drawing contains a method to get the number of frames in an image. This should move all animated gifs in the same directory as sortgifs.exe or a specified path into ./animated and all static images into ./static. WOW that worked like a dream! Thank you! Also thank you mobby but I didn't have the requisite equipment for yours.
|
# ? Apr 4, 2011 05:30 |
|
mobby_6kl posted:Of course it's possible... Awesome. Thank you.
|
# ? Apr 4, 2011 06:27 |
|
The platform is Windows. Is there a way to follow (tail) a log file, and then convert that stream into syslog-compatible messages? Assume that the entries in the log file are small enough to fix in syslog's 1024 byte maximum size. If this could be done with Windows built-ins that would be awesome, with free software still mostly awesome, with pay software, pretty crappy. If this works well it could potentially make it into a presentation at a large conference. Thanks.
|
# ? Apr 4, 2011 21:39 |
|
I don't know if there's a way with windows builtins, but if you're comfortable with tail and awk (or sed), there's windows versions of them which can handle this task easily. Something like this quick and dirty script (needs uname, awk, and tail, all of which are in the above package): code:
pre:$ awk -f syslog.awk progname=syslogtest /etc/passwd Apr 05 14:14:51 leela syslogtest: root:x:0:0:root:/root:/bin/bash Apr 05 14:14:51 leela syslogtest: daemon:x:1:1:daemon:/usr/sbin:/bin/sh
|
# ? Apr 5, 2011 19:25 |
|
I see the tinyapps website is down so I'm not sure if following the OP is still the way to go. Request: I want a script / app / something that could take my irc log and upload it every few minutes to my webserver so I can view what's happened while I'm traveling (I'm a pilot) by just viewing the web page. edit: preferably windows environment. Bonus if it's an mirc addon. simcole fucked around with this message at 14:58 on Apr 8, 2011 |
# ? Apr 8, 2011 14:45 |
|
simcole posted:I see the tinyapps website is down so I'm not sure if following the OP is still the way to go. You could use Windows Scheduled Tasks to run a batch file every x minutes or so. The batch itself is quite simple: code:
|
# ? Apr 9, 2011 15:00 |
|
Hoborg posted:You could use Windows Scheduled Tasks to run a batch file every x minutes or so. The batch itself is quite simple: that's awesome.. now if I just could do log to html first so it's semi-readable.
|
# ? Apr 10, 2011 02:08 |
|
simcole posted:that's awesome.. now if I just could do log to html first so it's semi-readable. Have you thought about saving your logs to your dropbox folder? I know some people do this so they always have chat history no matter what PC they're on.
|
# ? Apr 11, 2011 18:34 |
|
I'm not sure if this is even doable due to the limitations of PDFs, but I might as well ask. I need an app that will take a PDF (which contains scanned images and documents) and automatically resizes each page (while maintaining the aspect ratio) so that it ensures that there's an 8cm left-hand margin (both on the front and in the back. Is something like this possible?
|
# ? Apr 12, 2011 23:08 |
|
Does this do what you want? http://createpdf.neevia.com/pdfresize/
|
# ? Apr 12, 2011 23:40 |
|
This seems like a common enough request, but my google skill is failing. I need something for WinXP that records audio from the microphone and dumps it into an mp3 file. At the top of each hour (or after one hour), it should move on to a new file with a suitable name. "Recordpad" does exactly what I need (and plenty I don't), but it's only got a 14 day trial. Anyone familiar with an alternative? I'm not sure if this qualifies as a "tiny" app or not.
|
# ? Apr 16, 2011 11:11 |
|
Stonefish posted:This seems like a common enough request, but my google skill is failing. Seems appropriately tiny enough, I'll give it a shot.
|
# ? Apr 16, 2011 13:06 |
|
this might exist for all i know. I'm running a series of experiments where wax deposits on a cold-finger. Images are taken every minute by a web cam hooked up to one computer and controlled through lab-view, and cold-finger temperature is controlled and logged by another one. Problem is that the computers can't communicate and the temperature isn't recorded on the images. Each run creates about 700 images. I need some way of for all images in folder : 1 . compare the time stamp of .jpg image with time-entries in the temperature log and find the best match. 2 . Pick corresponding temperature in temperature log and insert it in the lower left corner of of the image The temperature log file is comma-separated, first column is time , third column is temperature Doable ? EDIT I would off-course transfer the temperature log over to the image-containing computer first.
|
# ? Apr 16, 2011 15:29 |
|
Ephphatha posted:Seems appropriately tiny enough, I'll give it a shot. This is a better response than I expected. Thanks.
|
# ? Apr 16, 2011 15:51 |
|
Stonefish posted:This is a better response than I expected. Thanks. You might change your tune, as this is basic as all hell. Version 2, I hosed up the first time. http://ifile.it/ekjz034/Eavesdropper.7z Run it, and at approximately every hour it will dump what's it's recorded to a file with the name being the time it started recording [that stream]. It captures raw data from the default input device and dumps it as a wav file with a filesize of about 1MB a minute. To stop recording close the graphical window or hit escape with the graphical window active. You'll need the VS2010 re-distributable installed, get it here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84 Edit: Oh, it's almost completely untested. I spent far too long building and linking SFML to be arsed running it for an hour. I wasn't able to get it to write to any other file format easily so wav it is. MP3 is propriety to write to anyway as far as I know. ephphatha fucked around with this message at 18:28 on Apr 16, 2011 |
# ? Apr 16, 2011 15:59 |
|
^^^ I might give that one a try as well, but keep in mind that I currently have no idea what I'm doing so this might not turn out well (or at all). sofokles posted:this might exist for all i know. Certainly. What format is the time in, just HH:MM:SS, and 12/24 hours? Our could you just post an example line from the file?
|
# ? Apr 16, 2011 18:58 |
|
mobby_6kl posted:^^^ Hey, thanks for showing interest. HH:MM:SS 24 hours I don't have the file here now, I'm actually rummaging through my drawers to find a non-corrupt floppy disk to copy the log file onto. From memory there are no headers and the lines run like HHMMSS XX.XX YY.YY ZZ.ZZ AA.AA where the entries are Time targettemp realtemp powerleveltemp powerlevelpump But I need to doublecheck I'll have it tomorrow if you can wait ? If you can't I could of course just copy the log into a spreadsheat and delete all superfluous columns and say the the csv-file will consist of entries in the format : HH:MM:SS YY.YY Thanks again
|
# ? Apr 16, 2011 22:01 |
|
Ephphatha posted:You might change your tune, as this is basic as all hell. There's nothing wrong with basic. Basic is what I want. Found a bit of a bug though. Other than completely pinning one core of a Core2Duo. It stores the audio in RAM, which is fine I guess. After 59 minutes, RAM usage is about 318MB. Then it writes the file to disk, and usage moves up to about 937MB. I imagine that'll go up again next time too. If you're interested in tracking that bug down, please drop the recording length to 15 minutes from 60 while you're at it. The machine I want to run it on is an old Celery-M with 512MB. I'll go see about digging up a command line based windows mp3 encoder that I can script to run every 15 minutes on *.wav
|
# ? Apr 17, 2011 03:41 |
|
LAME - http://lame.sourceforge.net/
|
# ? Apr 17, 2011 03:49 |
|
Yeah, but I don't "do" compiling Found a precompiled version though. In bash, I'd want a "for x in *.wav" to grab the filenames of suitable files and pass them to lame. Can someone remind me what that might look like in .bat? Stonefish fucked around with this message at 04:23 on Apr 17, 2011 |
# ? Apr 17, 2011 04:18 |
|
Stonefish posted:There's nothing wrong with basic. Basic is what I want. The way I'm recording is by storing data in two buffers (so that it can continually record while writing to disk). The buffers are only cleared when you restart recording, so ram usage should stabilise after two cycles. But that's not going to help at all on a box with only 512mb, so I'll rewrite it to write data directly to disk . It's probably pinning your CPU as I'd guess the active sound recording thread is entering a busy wait, not sure if I can stop that one. Edit: I've manned up and am encoding directly to mp3. Not sure what the cause of that crash is, I'll see if I can reproduce it. Did it lock up immediately after it started writing to disk? ephphatha fucked around with this message at 05:49 on Apr 17, 2011 |
# ? Apr 17, 2011 04:25 |
|
Found another slight problem. About 90 or 92 minutes into execution, I guess.
|
# ? Apr 17, 2011 04:26 |
|
Pinning the CPU is fine as long as it's not "really" using that much (ie, it'll work on something slower than this core2) Writing directly to disk is going to make it a tiny bit harder to pass off to Lame. You're the expert, but maybe write to wav.temp and then rename to %date%%time%.wav when it's completed? Stonefish fucked around with this message at 04:30 on Apr 17, 2011 |
# ? Apr 17, 2011 04:28 |
|
Ephphatha posted:Edit: I've manned up and am encoding directly to mp3. Not sure what the cause of that crash is, I'll see if I can reproduce it. Did it lock up immediately after it started writing to disk? No. Like I said, it was about 90 minutes in. Couldn't be any further away from a write cycle if it tried (If you don't want to make a UI/conf file for it, 64kbit CBR mono should be about appropriate.)
|
# ? Apr 17, 2011 06:38 |
|
Version 3: http://ifile.it/eukzly2/Eavesdropper.7z I'm a lazy fucker :P. 64Kbit/s, CBR, Mono. I'll leave it running for a bit to make sure it doesn't crash unexpectedly. With any luck we've dodged the bullet anyway. The source is included if you want to play around, you'll need SFML, Boost, and LAME. Anyone else is free to modify it if they want to add a GUI or make it read from a config file.
|
# ? Apr 17, 2011 07:09 |
|
Preliminary reports suggest awesome.
|
# ? Apr 17, 2011 08:03 |
|
28,125KB per hour. I just had it running for the last 6.5 hours, and it didn't crash even once I'll see about deploying this properly in the next few days and let you know how it is. Now someone else break up this monologue.
|
# ? Apr 17, 2011 22:26 |
|
I know I've seen something like this somewhere, but I can't remember where - I would love an app that is just install-and-forget and lets me resize windows by scrolling with the mouse on their titlebar. If anyone knows where that is, or has time to make one.. I'd love you forever! Thanks in advance!
|
# ? Apr 18, 2011 01:01 |
|
mobby_6kl posted:Reset Resolution (I really suck at coming up with names). I've had to use it frequently just lately and it works a treat. However, my desktop image stays at the wrong size, and so appears as a smaller image centred on my screen when it switches to 1920x1080. If I right-click and hit "personalize" and then the background changer, it jumps to the correct resolution without me clicking on anything further. Quit that and it sticks. So, not a big deal, but if your tool could update the background settings that would be extra awesome. If that's too tricky then don't worry - I'm more than happy with it right now.
|
# ? Apr 18, 2011 04:33 |
|
|
# ? Jun 8, 2024 06:49 |
|
Daynab posted:I know I've seen something like this somewhere, but I can't remember where - I would love an app that is just install-and-forget and lets me resize windows by scrolling with the mouse on their titlebar. This looks really interesting to do but really depends on the target platform. The Win32 API has something which should work for this, you'll basically need to write a program that registers a MouseProc and watches until it receives a WM_NCHITTEST message indicating the mouse is over a titlebar (i.e. wHitTestCode == HTCAPTION). You'd also need a LowLevelMouseProc listening for WM_MOUSEWHEEL messages. When the mouse is over a titlebar and you've got a mousewheel message, then call something like WindowFromPoint() with the current mouse position and BeginDeferWindowPos(), DeferWindowPos(), EndDeferWindowPos() (or just a simple SetWindowPos()). I may give this a go, but I haven't done any low level Win32 poo poo for a few years. ephphatha fucked around with this message at 07:15 on Apr 18, 2011 |
# ? Apr 18, 2011 07:08 |