lazyweb

Service to make an audio podcast from a video one?

Video podcast ??? Audio only mp3 player I'm looking for somewhere which will extract audio from video, but instead of a single file, for an on going video podcast. I would most like a website which would suck in the RSS and spit out an RSS (I'm thinking of something like Feedburner), though would settle for something on my own machin...

How do I synchronize the address book in my app using MAPI?

Dear Lazyweb, The system I'm working on contains an address book. I am looking for sample code that will synchronize addresses with the current users address book through MAPI. I need two-way sync. If you know of any open-source library with easy to use functions for this, I'd be glad to hear about it. If you know of a library that is ...

British English to American English (and vice versa) Converter

Hi, Does anyone know of a library or bit of code that converts British English to American English and vice versa? I don't imagine there's too many differences (some examples that come to mind are doughnut/donut, colour/color, grey/gray, localised/localized) but it would be nice to be able to provide localised site content. ...

Low cost embedded project

I am a student. I've done an embedded system "home automation" project using GSM and I could succeed. Now I've got to do an academic project, and my brain is blank. Can anyone suggest some new ideas? ...

Signing data with smartcards on Mac in C++

Dear lazyweb, is there any support in Mac OS X for signing data using smartcards? I have looked through the system headers and found only vauge references to smart card support (in SecKeychain.h), which didn't really take me anywhere. If there's no built-in support, which are my options (ie. what free/non-free libraries exist that can ...

Short on ideas: new web app suggestion

Hello. You know, sometimes it happens that you run out of ideas for your next hobbistic programming project, and then... you ask for help on StackOverflow :) So: what would it be your suggestion for a rocking web application (it may be implemented using Google App Engine and it may use the new fresh Google Friend Connect APIs) to develo...

How can I sort an mbox file by date?

Hello, I would like to know how to modify the below code to strip =20 characters at the end of many lines, and mainly to sort the messages chronologically from first received or sent to last. I am not sure if this would be an internal Perl routine or not. #!/usr/bin/perl use warnings; use strict; use Mail::Box::Manager; my $file = shi...

Best Engineered REST APIs?

Dear lazyweb, In your opinion what are examples of good REST API implementation when evaluated based on consistency with the REST philosophy compliance with web standards just plain good software engineering In a previous question, some names were thrown about, namely Amazon S3 & flickr. ...

Is there a simple way to remove a TimeSeries from a displayed JFreeChart Chart?

I have a Swing application which uses JFreeChart to display one of a series of queries. Some of these queries have a composite TimeSeries key. Each component of this key can contain a few values, but when rendered makes a very noisy graph. I would like a simple way for the users to hide/show some of the TimeSeries in the displayed Chart ...

Call hierarchy of Thread.run() in Eclipse

I tend to use eclipse's "Open Call Hierarchy" function a lot, to trace where method calls are going in larger Java projects. I get irritated by Threads, as the call hierarchy shows the callers of the Thread.run() method as various internal Java threading functions, rather than the Thread.start() call which effectively led to the thread b...

Add a custom file extension to Netbeans

I am trying to figure out how to add a custom file type to be recognised by Netbeans. I am editing .tpl files and I would like them to be recognised as PHP/HTML files. I've looked here and here but I cant find cnd.properties in config directory and there is no Advanced Options dialog in the options dialog. I'm using Netbeans 6.5 with ...

Time Zone code translation from Windows to Linux in FreePascal

I have this code that works in FreePascal under Windows and need to translate it to Linux but I'm completely lost on the Time Zone Bias value: function DateTimeToInternetTime(const aDateTime: TDateTime): String; {$IFDEF WIN32} var LocalTimeZone: TTimeZoneInformation; {$ENDIF ~WIN32} begin {$IFDEF WIN32} // eg. Sun, 06 Nov 1994 08:49...

Parsing the output of /usr/sbin/installer

I'm writing what is basically a frontend to installer services on many platforms. One of the things that I (obviously) would like to know is whether an installation has succeeded. On most platforms it's easy: just check the return code / exit code of the installer. However, it isn't so easy on the Mac (using /usr/sbin/installer), because...

"Microsoft DNS Client" vs. getaddrinfo?

Right now, my application is using the c-ares asynchronous DNS resolver library on Windows below cURL, and I have users complaining that it behaves differently from other windows apps. One particular user said that "other applications are using the Microsoft DNS client" and experiences no problems. cURL itself has an asynchronous DNS im...

Visual Studio 2008 Managed Incremental Build doesn't work

Dear Lazyweb, I have "Managed Incremental Build" turned on in my managed C++ project. I have a DLL written in C#, and the solution contains both the C++ and C# projects. I have not defined any dependencies between the projects, but the C# DLL is referenced by the C++ project. The problem is that whenever the C# project is rebuilt, the...

WPF WebBrowser control doesn't enter design mode when the document property is changed

Dear LazyWeb, I have a frustrating problem. Here's a simplified version of what I'm doing: A UserControl in c# contains a toolbar and an embedded WebBrowser object. The toolbar contains an "Edit" button, which when clicked sets the webbrowser control in design mode. Another button, "Cancel", turns off design mode. Pseudocode (very sim...

Give idea to display the datetime in my aspx page.like digital clock

Each and every second the datetime will be updated like a digital clock. formate like:YYYY:MM::DD:HH:MM:DD:A.M ...

What's up with this regular expression not matching?

public class PatternTest { public static void main(String[] args) { System.out.println("117_117_0009v0_172_5738_5740".matches("^([0-9_]+v._.)")); } } This program prints "false". What?! I am expecting to match the prefix of the string: "117_117_0009v0_1" I know this stuff, really I do... but for the life of me, I've been star...