plugins

ThreadPool vs dedicated Thread - when to prefer which

Is there any way (apart form actual perfomance measurements which can be pretty hard to make them realistic) or rule of thumb when I should stop using the ThreadPool and use a dedicated Thread instead? I suppose for long running work it is better to use a dedicated Thread because it doesn't peramently steal one from the ThreadPool. For s...

Zend Framework: How to inject a controller property from a Zend_Controller_Plugin

I wrote a plugin that needs to set a property on the controller that's currently being dispatched. For example, if my plugin is: class Application_Plugin_Foo extends Zend_Controller_Plugin_Abstract { public function dispatchLoopStartup(Zend_Controller_Request_Abstract $request) { // Get an instance of the current control...

How to know when Youtube player/plugin on iPad goes fullscreen?

Is there any way to know when the Youtube player/plugin on iPad goes fullscreen? I have a UIWebview being displayed inside a Modal view controller that contains a Youtube video. If the user choose to view the Youtube video in fullscreen mode, it's displayed in fullscreen (naturally), but behind the UIWebview's modal view. I'd like to k...

Methods query in ruby on rails - undefined method `read' for ...

As part of learning ruby/rails, I'm trying to implement http://github.com/professionalnerd/simple-private-messages into my application from scratch, instead of just installing the plugin. (I know, causing myself trouble but it's a good learning experience.) I created the model, and the associations seem ok and I can create new messages ...

Platform For Volunteer Management Website

I help out at a local soup kitchen, and they are wanting to create a website. Most of their criteria are pretty simple, they want to be able to have a calendar, post pictures, and have a blog. However they also want to be able to manage volunteer's. They want to be able to post a event, have a list of jobs that they need volunteer's f...

What new Sphinx features are considered to be in beta?

This is a follow-up question to this question. Sphinx mentions on the downloads page: Note that 'beta' only applies to new features (RT indexes etc), everything else is stable. What is the "etc" in the new features? ...

hotkey plugin usage

Accodring to documentation of the the hotkeys plugin .This is how I use it $(document).bind('keydown', 'Ctrl+h', function(e){ alert("stage closed"); e.preventDefault(); }); $(document).bind('keydown', 'Ctrl+e', function(e){ e.preventDefault(); $(element).click(); }); Problem: When I press Ctrl+e, the click event on the element...

Why i cannot see the icons from a metamodel instance at eclipse with GEMS

I have created an eclipse plugin for my metamodel throught the emf+gmf = gems eclipse framework.When i am testing the metamodel and what i mean is to create an instance of my model with eclipse palette etc everything works fine.The way that i am testing it is throught the "Overview" tab of the plugig.xml file (PDE) , i clicked on "launch...

Jquery Media Plugin - alert video finished once video has finished

Hello All, Is there a way to add a callback function to Jquery Media Player so that an alert (for example) displays once the movie/video has ended?? Cheers ...

How to revert a software update in Eclipse

I think of of the last update of an Eclipse plugin is causing errors, how can I revert to the version previous to the latest update ? (the plugin is PHPsrc : http://www.phpsrc.org/) Thanks ...

Adding next and previous buttons to static pages in wordpress?

I'm trying to add next and previous buttons to the static pages on my wordpress site. I've been able to find some content on how to add these buttons to your blog post but haven't been able to find anything like this regarding static pages. I'd like to add next and previous buttons to appear on the child pages within all the parent pag...

Zebra widget doesn't work, if i have a child table?

Hi, I have a problems with the JQuery tablesorter plugin. I use "zebra" widget, but it doesn't work if i have another table in the main table. $("#selection_table").tablesorter( { widgets: ['zebra'] }) if i have another table somewhere in the selection_table, zebra widget stop working properly. Is there a wa...

How can i disable the excution of maven-war plugin by using variable in properties file

In my pom.xml, i used maven-war plugin to package different war files and properties-maven-plugin to read the properties file. <plugin> <artifactId>maven-war-plugin</artifactId> <executions> <execution> <id>package-war1</id> <phase>package</phase> <goals> <goal>war</goal> </goals> <configuration> ......... ...

Audacity Nyquist Plugin

I am playing around with Audacity and have been trying to generate tones with harmonics. Audacity does not seem to support it directly, but you can write a plugin to do it. The plugins are written in Nyquist (a variant of lisp) and there a small tutorial here. I do not have any experience with lisp and just want to write something simili...

SharpDevelop: Can you create language plugins for non-.NET languages

Can SharpDevelop support language plugins for other languages, not just .NET languages? ...

Plugin vs Engine in Rails 3, shipped as a gem

In the documentation for Rails::Plugin (for Rails 3), I'm reading the following: "... you actually cannot declare a Rails::Engine inside your Plugin, otherwise it would cause the same files to be loaded twice. This means that if you want to ship an Engine as gem it cannot be used as plugin and vice-versa." Can anyone be more specific a...

Java plug-in Extension Point

Hello guys, I am creating a programming language in xtext and I want: I need to know which extension point I have to choose to create my own Run-As handler in the plug-in development. to create my handler of running the program by contributing to the Run As extension. How to attach a command when the user right-click a table in the Da...

running imported nsis code from within a compiled nsis executable

Is it possible to import nsis code and run it from within a compiled nsis executable? Suppose I have a nsis script fubar.nsi and compile it to fubar.exe. For strange reasons*, I also have some additional nsis statements that I want to read in and execute when fubar.exe is run - I am not sure what they will be until then. Does a plugin ...

Wordpress-like Plug-in model in ASP.NET MVC

This is kind of based off of this question. I'm currently looking at rebuilding our company intranet from the ground up (I'll be honest, our existing one is an absolute mess), but one of the core "features" of our new intranet that I'd like is the ability to build whole applications (which will also probably be in MVC 9 times out of 10,...

Plugin to extend actioncontroller for rails

Hi, I am writing my first ever plugin for rails. The plugin is supposed to extend the actioncontroller::base so after going through the tutorials here is what i did... # Foo class << ActionController::Base def function_name assuming the plugin is called foo... but when i call function_name from an action, nothing happens... It see...