There have been questions with answers on how to write rubygems, but what should you avoid in writing a rubygem? What can cause problems for people using your rubygem?
I am getting this error after uploading my web app to my Rackspace box.
CS0246: The type or namespace name 'User' could not be found (are you missing a using directive or an assembly reference?)
It's odd because it works fine on my local computer where I do development. The actual line of code is:
public User user = new User();
I am using…
I am using the WPF toolkit, and am trying to render a graph that looks like a histogram. In particular, I want each column to be right up against each other column. There should be no gaps between columns.
There are a number of components that you apply when creating a column graph. (See example XAML below). Does anybody know if there is a…
I'm looking for a simple, open source mailing list application (or library) that I can add to my Zend Framework application. I can't seem to find any that are decent, and once I have, not quite sure how I will integrate it (due to MVC).
Has anyone done this?
I had an application that was downloading a .CSV file from a password-protected website then processing it futher.
I was using FancyURLOpener, and simply hardcoding the username and password. (Obviously, security is not a high priority in this particular instance).
Since downloading Python 3.1.2, this code has stopped working. Does anyone…
I can't find anything recent on this. Is there any documentation on how to track with Google Analytics without using ga.js? I want a JS implementation on mobile devices but I don't want to load up 9KB of local memory or use server-side GA. I'm primarily interested only in tracking page views and uniques. Has anyone rolled their own GA…
I'm having trouble determining if it's possible, based on the amount of access I have to my Godaddy server, to install XPDF. Could someone shed some light on this?
Here's the link to XPDF.
And here is info about the GoDaddy server.
My goal is to convert PDF's to Plain Text automatically using a PHP script on the server. So far,…
Hello colleagues. I've created wcf service with transport security over HTTPS. Also I use UserName authentication as described at http://msdn.microsoft.com/en-us/library/cc949025.aspx, so I can use my Membership,RoleProvider. When I work with this service with ASP.NET all is OK
var client = new RegistratorClient();
…
Are there any open source tools or libraries (ideally in python) that are available for performing lots of intersections with 3D geometry read from an ESRI shapefile? Most of the tests will be simple line segments vs polygons.
I've looked into OGR 1.7.1 / GEOS 3.2.0, and whilst it loads the data correctly, the…
Excuse me for what I'm sure is an elementary question for most of you, but I have an issue with table columns from separate tables having the same name as one another, and trying to select from both tables in the same query.
Okay, so this is my code:
$q_value = $mdb2->quote($_POST['query']);
$field =…
I don't know how else to say it so I'm just going to explain my ideal scenario and hopefully you can explain to me how to implement it...
I'm creating an application with the Zend Framework that will be hosted with DreamHost. The application will be hosted on its own domain (i.e. example-app.com).…
I'm getting this error when starting anything that uses the Pango library. I'm using Kubuntu 9.10. I've done 'sudo apt-get --reinstall install' on libgtk* libcairo* libpango* and fontconfig, with no luck.
Could someone point me in the right direction? Thanks.
On compilation of the CUDA SDK, I'm getting a nvcc fatal : Unsupported gpu architecture 'compute_20' My toolkit is 2.3 and on a shared system (i.e cant really upgrade) and the driver version is also 2.3, running on 4 Tesla C1060s
If it helps, the problem is being called in radixsort.
It appears…
Hi,
Ideally what I want to do is- display the list of videos thumbnails by the user/channel and display a lightbox with the full video on clicking the thumbnail.
Thanks in advance
So we have an f:event:
<f:metadata>
<f:event type="preRenderView" listener="#{dashboardBacking.loadProjectListFromDB}"/>
</f:metadata>
Which is triggered as desired on initial page load (render).
However this preRenderView event is also triggered by an ajax partial…
Hi, I'm using Excel and having some problems with Countif and I don't understand how it works differently from SubTotal. I used the GUI to subtotal stuff and all the subtotals are right. Then I attempted to use the Countif to see how many requirements passed. That worked for the first subtotal…
I'm trying to deploy a site generated with Jekyll and would like to keep the site in its own subfolder on my server to keep everything more organized.
Essentially, I'd like to use the contents of /jekyll as the root unless a file similarly named exists in the actual web root. So something like…
A horizontal compass looks something like this if you are facing due East (90 degrees).
85----90---95
If you were facing due 355 degrees northwest, it would look like this:
350----355---0
As you turn the compass, the number should cycle from 0 - 360 - 0
So, my question is, how would you…
Hello, does PHP support something like ampersand in bash (forking)? Let's say I wanted to use cURL on 2 web pages concurrently, so script doesn't have to wait before first cURL command finnishes, how could one achieve that in PHP? Something like this in bash:
curl www.google.com &
curl…
I have an object that has a multi-part key and I am struggling to find a suitable way override GetHashCode. An example of what the class looks like is.
public class wibble{
public int keypart1 {get; set;}
public int keypart2 {get; set;}
public int keypart3 {get; set;}
public int…
Is it possible to have security in ASP.NET MVC configurable at runtime? For example, if I have a controller that has been marked as
[Authorize(Roles="Admin")]
Is there a way to add/remove roles at runtime? Or, do you have to change it in code and re-compile?
This question notes that it is possible to overwrite files when creating a tar archive, and I'm trying to see how to avoid that situation.
Normally, I'd use file roller, but the version installed is playing up a bit (using 1.1 Gb of memory), and I'm not the system administrator.
I looked…
In git, is it possible to create a stash, push the stash to a remote repository, retrieve the stash on another computer, and apply the stash?
Or are my options:
Create a patch and copy the patch to the other computer, or
Create a minor branch and commit the incomplete work to that…
I'm working on a site for a client and they're insistent on using HTML5's video tag as the delivery method for some of their video content. I currently have it up and running with a little help from http://videojs.com/ to handle the Internet Explorer Flash fallback.
One thing they've…
Hi, I have an ATL COM object that I am using from C#. The interface currently looks like:
interface ICHASCom : IDispatch{
[id(1), helpstring("method Start")] HRESULT Start([in] BSTR name, [out,retval] VARIANT_BOOL* result);
...
[id(4), helpstring("method GetCount")] HRESULT…