howto

AIML pattern matching - howto?

Hello. I'm having a problem trying to understand how does AIML pattern matching works. What's the difference between _ and *? And how I should use them to get the best match? I have this document only, but it lacks some good examples. ...

How to uninstall Visual Studio 2010 Beta 1

What are the steps necessary to properly uninstall VS 2010 Beta 1? ...

How to add static content that needs to be shared between projects in a Visual Studio Solution

I have a C# Solution that includes several websites. Those websites have some communal data (e.g. images and shared jQuery extensions). Currently the data is included in each Project. Obviously we're running into sync problems and as those data directories are becoming larger, we're moving more and more data around. We could hard enc...

Are side-effects possible in pure functional programming

I have been trying to wrap my head around functional programming for a while now? I have looked up lambda calculus, LISP, OCML, F# and even combinatorial logic but the main problem I have is how do you do things that require side effects like (interacting with a user, communicating with a remote service, or even handle simulating using ...

How do I use stackshot to debug my application?

I've recently been told about a useful debugging tool on Mac OS X called stackshot, however I don't know how to invoke it. My understanding from the documentation is that it runs as a daemon, but the man page also reads as if it can be invoked from the command line. How would I go about leveraging stackshot for my currently-running appli...

How to overcome fear of user-input (web development)

I'm writing a web application for public consumption...How do you get over/ deal with the fear of User Input? As a web developer, you know the tricks and holes that exist that can be exploited particularly on the web which are made all the more easier with add-ons like Firebug etc Sometimes it's so overwhelming you just want to forget t...

What is the best web development freelance book available?

I am looking for a book that covers how to do freelance as a web developer. I know there are many general freelance books out there, but I am looking for a freelance book that is somewhat focused on freelancing as a web developer. Some of things I am looking for in the book are: Examples of Contracts and Terms & Conditions related to...

C# Windows Services - Where Can I Find A Good Tutorial?

Regarding C# Windows Services... Where can I find a good tutorial? I'm looking for a tutorial that is good for beginners and people who are out of practice. ...

How do I get a search box to appear alongside my site listing in Google search results a-la Wikipedia

How can I get a search box like this listed for my website? ...

Adding a "Big Icon" to the Joomla admin dashboard

I've done this befor but with all my memory, search efforts and logic failing I can't figure out how to add a new "Big Icon" link on the main dashboard of the Joomla administration. What file am i looking to change? I'm sitting on a fresh install of 1.5.15 ...

Office 2007 Ribbon Programming How-to

I'm interested on how to get the old menus back for Office 2007. I know you can buy add-ins that do this, but I'm more interested on how these are done? I want to implement this at home and just need to be pointed in the correct direction! Thanks! ...

How to Kohana global variables for all controllers?

EDIT: Kohana 2.3.4 Is the proper way to make a few variables available to all my controllers to add a MY_Controller.php file in my /application/libraries/ folder (shown in the docs here)? Are there any better ways to do it, or is this the only recommended method? Being new to OOP, can you link me to any examples? EDIT 2: I've heard ...

How to transfer paramenters to Partial View in ASP.NET MVC?

On the Details view I want to display a grid from other table. How to implement it better? I'm trying to do it in a such a way (error: Cannot implicitly convert type 'void' to 'object'): <%= Html.RenderPartial("~/Views/Appartament/Index.ascx", new { id = Model.blockhouse_id })%> Here is the code from details view: <%@ Page Title=""...

InnoSetup: How to automatically uninstall previous installed version?

I'm using InnoSetup to create installer. I want the installer to automatically uninstall the previous installed version, instead of overwriting it. How can I do that? ...

How to exit an if clause

What sorts of methods exist for prematurely exiting an if clause? There are times when I'm writing code and want to put a break statement inside of an if clause, only to remember that those can only be used for loops. Lets take the following code as an example: if some_condition: ... if condition_a: # do something ...

How to set emacs theme?

I am new to emacs and wondering how I would get it to load a theme of my choosing (http://lambda.nirv.net/m/files/color-theme-chocolate-rain.el) I am on ubuntu, and have no idea what I am doing (yet :P) in regards to Emacs, for the most part. ...

how to use nokogiri methods .xpath & .at_xpath

I'm learning how to use nokogiri and few questions came to me based on the code below require 'rubygems' require 'mechanize' post_agent = WWW::Mechanize.new post_page = post_agent.get('http://www.vbulletin.org/forum/showthread.php?t=230708') puts "\nabsolute path with tbody gives nil" puts post_page.parser.xpath('/html/body/div/div/d...

How do you create a Keynote-like interface in Cocoa and IB?

Hi again, the app I want to create will have an interface very like Keynote, with a list of pages on the left and one page in full on the right. These kinds of interfaces are very common yet I don't know how to do them in Interface Builder. Are there any ready-made components? Apple doesn't offer any, afaik. Or does every developer re...

Filtering embedded documents in MongoDB

I am having trouble grasping how to filter embedded documents in MongoDB, and am starting to think I should be using a relational association, but that feels wrong in the document-store context. Sticking with a typical blog/comment system, I have a collection of blogs, and each blog has many comments. The comments are stored as embedde...

Programming on iPhone - how ?

hi i have some question about programing on iphone what OS the iphone have ? what the language for programing on iphone ? what compiler i need ? is there Visual-studio tool for this ? (i'am C# programmer ) ? thank's in advance ...