instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
How can I form a DQL query to get the list of files excluding the virtual documents created (while adding reference to the file) in document um. Can any one please help me out.
| stackexchange/codereview |
here's my problem, I've created this form:
class SettingsForm(forms.Form):
...
logo = forms.ImageField()
...
The upload works fine and I managed to display the image but I can't bind it to the form. Here's what I've done:
data = ...
files = {'logo': SimpleUploadedFile('logo.jpg', logo.read())}
fo... | stackexchange/codereview |
i am not a php guy so i am not sure what is doing here, can anybody help me convert this below code to .net?
PHP Process Page:
<?php
$Name = $_GET["Name"];
$Message = $_GET["Message"];
echo $_GET["jsoncallback"] . "({"Name": "" . $Name . "", "Message": "" . $Message . ""})";
?>
| stackexchange/codereview |
I am getting seemingly random 400 errors from a twitter api call on my site. It doesn't seem to be rate limiting, as it doesn't appear to be time based, while testing I did not experience it at all, whilst my designer (who had not been hitting refresh over and over) could not see the tweet at all, then suddenly could.
... | stackexchange/codereview |
Assume: Your DRY senses are infallible. Repeated behavior in your code reeks to you; it's nails upon the chalkboard.
Question: Does keeping DRY in the forefront of your mind guarantee that you will notice when you should be seeking a design pattern?
It seems from what introductions to design patterns I've seen has b... | stackexchange/codereview |
Is there any way to store the identity values just prior to an insert and the new identity values just after an insert into a mapping table? The mapping table will be used to update foreign keys in other tables.
Initially I thought this was possible with the OUTPUT INTO clause but only the inserted values are insertabl... | stackexchange/codereview |
I'm trying to use PHP to return the resultant HTML of a Google search.
So for instance
<?php
$file = file_get_contents('http://www.example.com',false);
echo $file;
?>
will return the HTML contents of example.com. The problem is, when I try to do this on a Google search URL, e.g., http://www.google.com/#sclient=psy&hl... | stackexchange/codereview |
I have something like the following in C#:
private double _x;
private bool _xCalculated;
private double GetX() {
if (!_xCalculated) {
_x = ... // some relatively expensive calculation
_xCalculated = true;
}
return _x;
}
My question is, is this thread-safe? As far as I can tell, the worst ... | stackexchange/codereview |
I am working on some example in which i want to drag the image corresponding to touch in Android. Does anybody have an idea about how I can do it?
| stackexchange/codereview |
I am developing a wpf program which handle the removable media in windows 7 32bit. What I want to do is while my application is running, I want to disable the autorun popup dialog which come out when the thumb-drive plug in. Is there a possible way to achieve?
| stackexchange/codereview |
I'm trying to add UML sequence and class diagrams to my Java code, in order to explain its internals and design concepts. I would like these diagrams to be specified in JavaDoc blocks and then converted into PNG/GIF images attached to API HTML.
What tool I can use for the automation of this process (I'm using Maven 3)?... | stackexchange/codereview |
Im trying to use the IAttachmentExecute interface in my C# application. (Using .NET4 and VS2010).
MSDN says it is in Shdocvw.dll (and its members says that IAttachmentExecute is specified in Shobjidl.h / Shobjidl.idl which leads me to a 73db1241-1e85-4581-8e4f-a81e1d0f8c57 GUID.)
When I add a reference to this DLL in ... | stackexchange/codereview |
I am trying to generate all possible keypad sequences (7 digit length only right now). For example if the mobile keypad looks like this:
1 2 3
4 5 6
7 8 9
0
Some of the possible sequences can be:
123698
147896
125698
789632
The requirement is that the each digit of number should be neighbor of previous digit... | stackexchange/codereview |
I need to block (no input, no go on) the execution of an Activity until I have the GPS coordinate. How can I do?
Thanks.
| stackexchange/codereview |
I have a web page that allows a user to enter values into fields. When a user updates a field, I want to automatically update the total displayed to the user. Because the input fields are dynamically generated, I created a JavaScript function called "update". A sample of my code is shown here:
<input type="text" id="my... | stackexchange/codereview |
My application is only for me and co-workers, so I don't care if it's Click-Once or copy-the-exe. I want to be able to click a file with given extension in windows explorer and have my program launch and open that file. I can't get it to capture the file name.
Ostensible solution:
Link
The code I'm trying is below an... | stackexchange/codereview |
I have it set up right now to save Images to my rails filesystem and keep the old version of the file in a path like /images/:id/:version/:filename
How do I use vestal_versions to get the url of the old file path?
Using .revert_to!(1) increments the actual version number, so a @image.version of 2 which is then reverted... | stackexchange/codereview |
I have a string.
"This is an [[example]] sentence. It is [[awesome]]."
I want to replace all instances of [[.]] with <b>.</b> preserving the wildcard text matched by .
The result should be:
"This is an <b>example</b> sentence. It is <b>awesome</b>."
I could go in and manually replace [[ with <b> and ]] with </b>, but i... | stackexchange/codereview |
I've noticed this with my own set up, but I wanted to get confirmations from other people. Is there a way to deal with this issue?
| stackexchange/codereview |
I have, in my mind, a huge question. Or just problems with understanding hover function. I tried many methods, read lots of tutorials, but didn't get the thing, what do I need. This may be stupid, but I'm making front-end administration panel with jQuery with low knowlegde skills.
As you can see in this image, this is... | stackexchange/codereview |
for our website we need to send clients news about our activity (not spam, they can unsubscribe, and it's not related to the question). We have to send the emails at around 4 AM every day, so naturally i thought about creating a cron-job that calls an url that sends the emails. Then i did some research and saw that sen... | stackexchange/codereview |
We are developing software which uses third party components with build and runtime licencing (if the software is not installed on the developer machine, visual studio complains when trying to generate a licence). Are there any general ways to register the required information in the registry without installing the thi... | stackexchange/codereview |
How can I make git push to push not only to origin but also another remote repository?
as git push is only an alias for git push origin, can I alias git push to push to 2 remote repositories at once (with just that one command)?
I’m not looking for a non-git script here but would like to set this up for my local reposi... | stackexchange/codereview |
I am spooling from a sql script. when sql statement executes the variable substitution it displays it. how can i turn it off. it displays the below along with the csv contents.
old 12: where file_id = '&a_file_id' --1=1
new 12: where file_id = '36145' --1=1
D,A002,RENT ,0240286148, Access Zone ,Rent,3200,320,320
I... | stackexchange/codereview |
I want to generate menu automatically, How can I know an action is authorized to current user(in view)?
| stackexchange/codereview |
Can one help me with this how to consume json web service from iphone or ipad. here my requirement is implement json webservice using API keys...
if possible post some tutorials or example links.....
thanks.....
| stackexchange/codereview |
I need to display an image in an S-Control is SFDC. I would like to be able to reference a static resource like <apex:image url="{!$Resource.TestImage}" />, but that only works in VisualForce pages and I have to modify and existing S-Control (switching to VF is not an option).
What's the best way to accomplish this, s... | stackexchange/codereview |
I noticed that one of my feed items was talking about Prismv4, so I went and downloaded it. But, I thought Microsoft was working on their own MVVM Framework.
So I guess my question is:
Is this the framework MS is backing/supporting now?
Is it the same Prism we're used to?
Basically, I wanted to get a framework that's... | stackexchange/codereview |
I build a application that uses a sql server database. It working fine in my system where all necessary software are installed.
Now I want to deploy that to other system. Is it necessary to install full sql server(unnecessary heavy one, only to run that application) in that system or any support is there?
OR
can I cop... | stackexchange/codereview |
Does anybody know of a Web Interface for CVS repositories.
I work on Ubuntu 10.04
UPDATE: I have found by lots of Options by Googling, but wanted to know which one(s) people use here. Will give me a heads up instead of me getting to know each & every Interface out there...
| stackexchange/codereview |
I've got a form that can have a row of items added via ajax. But when this row is added, the new inputs can't receive focus.
In trying to work this out, I discovered they do receive focus if an alert is triggered during the bind function.
I have looked around for answers, but I just can't get it to work. I think "liv... | stackexchange/codereview |
Does anyone know of a Maven plugin that can be used to validate Spring configuration files? By validation, I mean:
Verify all beans reference a class on the build path
Verify all bean references refer to a valid bean definition
Verify no orphaned beans exist
Other configuration mistakes I'm sure I'm missing.
I search... | stackexchange/codereview |
I'm trying to implement a Plurk API biding for Scala, but I have a design choice to made.
For example, the gender attribute of a Plurk user could be one of "male", "female", "other".
sealed trait Gender
object Male extends Gender
object Female extends Gender
object Others extends Gender
The question is should I prefe... | stackexchange/codereview |
Can anybody show me example of using Zend_Translate with Array Adapter when I need to make more than one plural forms for a word. For 1 entity first, for 2 - 4 entities second, for 5 and more - third form.
| stackexchange/codereview |
Under Windows we use DebugView to monitor trace and debug outputs of our .NET application. Since we are currently porting the application to mono on Linux I wonder if there's a similar tool.
We're currently using log4net with the TraceAppender, but basically any solution that works with log4net would do.
| stackexchange/codereview |
I've got a class like the following:
public class Invoice
{
public int InvoiceId {get;set;}
public int VersionId {get;set;}
}
Each time an Invoice is modified, the VersionId gets incremented, but the InvoiceId remains the same. So given an IEnumerable<Invoice> which has the following results:
InvoiceId Version... | stackexchange/codereview |
I have a function that updates a Client in the database. A client object is passed in, along with a string array of fields/properties that should be updated. I need a way of accessing each property in the client object, based on what is in the array. Basically, I am looking for the VB .NET equivalent to this javascript... | stackexchange/codereview |
I know the obvious performance advantage to using the StringBuilder is in C#, but what is the memory difference like?
Does the StringBuilder use more memory? and as a side note, what essentially does the stringbuilder do differently that makes it so much faster?
| stackexchange/codereview |
I have an app written in Delphi 5 that I want to convert to run on Android 2.x. The app is pretty simple; its used to upload/download configuration files to a separate microprocessor over a Modbus serial link. (It's an engine management chip for use in boosting horsepower in turbo-diesel engines). I haven't programme... | stackexchange/codereview |
What should happen when a page doesn't exist on your site? If I have a custom error page set up in my .htaccess, I get a 302 temporary redirect to my 404 page (where I send 404 headers). Is this how it should work? Or should I do a 301 permanent redirect to the error page? I'm using php and Apache.
| stackexchange/codereview |
Has anyone come up with an elegant way to search data stored on Authorize.net's Customer Information Manager (CIM)?
Based on their XML Guide there doesn't appear to be any search capabilities at all. That's a huge short-coming.
As I understand it, the selling point for CIM is that the merchant doesn't need to store an... | stackexchange/codereview |
It's possible to customize the template for different types of content... for example, on homepage: 1 column, on category listing: 2 columns, on single article: 3 columns. In Wordpress it's quite easy, modifying home.php, category.php, single.php.
With what conditionals I can accomplish this in Joomla 1.5?
Thanks
| stackexchange/codereview |
So I just spent like one hour Googling for some answers.
I added UIImageView with Interface Builder and I set image to some existing image.
I wanted to make the image centered, so I changed mode to centered. Worked.
Now I wanted to change the image from code. So I set image in IB to nothing and I did imageView.image =... | stackexchange/codereview |
For example, assuming that x = filename.jpg, I want to get filename, where filename could be any file name (Let's assume the file name only contains [a-zA-Z0-9-_] to simplify.).
I saw x.substring(0, x.indexOf('.jpg')) on DZone Snippets, but wouldn't x.substring(0, x.length-4) perform better? Because, length is a proper... | stackexchange/codereview |
I've got an application that uses performance counters, that has worked for months. Now, on my dev machine and another developers machine, it has started hanging when I call PerformanceCounterCategory.Exists. As far as I can tell, it hangs indefinitely. It does not matter which category I use as input, and other applic... | stackexchange/codereview |
Is there a script out there that will let MSSQL find columns with records that have the same data in multiple tables.
What I want to do is find the primary keys to data tables that we imported from excel spread sheets that were made from another database.
Thanks,
Chris
| stackexchange/codereview |
I want to fade some elements (rectangles and ellipses) from the accent color to transparent using a LinearGradientBrush. However - the transparent color is always a color and it seems like the color "Transparent" is #00FFFFFF - that is white with 0% opacity.
I would like to fade from PhoneAccentColor to PhoneTransparen... | stackexchange/codereview |
I have a list of divs, each with a 'createdDate' attribute, I evaluate each div's createdDate,
I add another attribute 'isNew' , if it is less than 7 days old set true, false otherwise.
The css has:
div[isNew=true] div.title{ background:red }
intending to set the background red when is less than 7 days.
using firebu... | stackexchange/codereview |
I have a button which has a click event but its not firing on the first click. I suspect its something to do with that i am in dropdown box control so when i click the Button the event for the dropdown box occurs (textChanged) but it forgets about the click event :-)
Of course if i click it a second time it works.
Or i... | stackexchange/codereview |
He,
I want to draw a Countrymap in C# with LAT/LNG coordinates. I have to translate the lat/lng to pixels, what would be the best way? I can draw the 'Map' but it's very small and it's not in the center of the window.
Can someone help? I have this code:
void draw(Graphics g, PointF[] points, Pen p)
{ ... | stackexchange/codereview |
lets say i have a page hit.php in my website and the link is to this page is available on every\many pages in the website..
lets say i click <a href"hit.php">HIT</a> from any page.....
is there a way when hit.php is loaded i could know that the page from which this page was..
meaning if i click the link to hit.php from... | stackexchange/codereview |
I have an app that has several different types of form elements which all post data to the server with jQuery AJAX.
What I want to do is:
Show a loader during AJAX transmission
Prevent the user from submitting twice+ (clicking a lot)
This is easy to do on a one off basis for every type of form on the site (comments, ... | stackexchange/codereview |
I would like to display a document (text and images) into a JScrollPane. What is the easiest way to do this?
| stackexchange/codereview |
I would like to ask for help with allocation .... I got this homework to school...I have to write program which will load one G matrix and second G matrix and will search second G matrix for number of presences of the first G matrix....But, when I try to run my program I got Segmentation fault message... Thanks in adva... | stackexchange/codereview |
What specific English alphabet letters need the invariant versions of ToUpper() and ToLower() case-conversion calls for proper behaviour ?
| stackexchange/codereview |
Here's the code to retrieve the value in the content tag:
var returnVerse = from item in xmlTreeVerse.Descendants("rss").Elements("channel").Elements("item")
select new VerseModel
{
Verse = item.Element("content"... | stackexchange/codereview |
Possible Duplicate:
How to prevent downloading images and video files from my website
I am developing my own website.
In this website I need to add a feature which prevents downloading images and code.
Is it possible to prevent the downloading of images and code form my website ?
Please reply.
Thanking you and Kin... | stackexchange/codereview |
I want to delete file. I know relative path from public directory.
Is any zend-way methods to delete file?
I think define BASE_DIR in index.php is not right way.
| stackexchange/codereview |
I have a function stickyhead() that basically keeps an h2 fixed at the top of the page, as you scroll down the page the text in the h2 changes as you reach a new h2, so it's like the phonebook/contacts of an iphone or android phone. A header with the letter A will stick to the top as you scroll through your contacts t... | stackexchange/codereview |
I have a form with tabs. Subordinate to each tab is a partial view.
When the user submits to save changes, I want to call a method for that partial view, so for the partial view I put in <% using (Html.BeginForm(...) %>. But this gets ignored and clicking submit will call the method associated with the container view i... | stackexchange/codereview |
Can I just use File.Open to open such file? Is it the recommended way?
| stackexchange/codereview |
I would like to know if there is an automated way to extract a small portion of a large C++ library.
Let's say I only need boost::rational in some project. However entire boost 1.42 takes up 279 MiB!
To keep my project "self-contained" (fx for some school work), I would like to be able to include boost::rational along ... | stackexchange/codereview |
I have a custom view that draws to a canvas. I am trying to invoke changes to the canvas when the user pushes a button from the activity that this view is tied to. Currently, I am attempting to do this by calling a public method, called setNewDrawable, that I created inside the view.
The debugger is giving me differe... | stackexchange/codereview |
I'm fixing some unit tests and I need to debug them. The callstack is mixed (there are managed and unmanaged DLLs) so I need the debugger to be in mixed mode.
As far as I've seen if you start a native unit text the debugger is in native mode and if you start a managed UT the debugger is managed.
Is there a way to set... | stackexchange/codereview |
I want to convert TextView into Edit Text and vice versa in a button click event in android. I don't know how to achieve this , please help if anyone knows the solution.
Regards,
Rajapandian.K
| stackexchange/codereview |
Whenever I try to run my app on my local machine, I get this, and of course, it's not working. There is no searchd.development.pid file in the log directory.
MB:my_app victor$ ./script/server
=> Booting WEBrick
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
** Erubis 2.6.6
/Library/Ruby/Gems/1.8/gems/daemon... | stackexchange/codereview |
I can't get performanceAnalytics to work with my zoo series and I've decided to write my own script.
It's supposed to get cummax(equity)-equity as input if you want to calculate de longest Drawdowns. It also gives the max drawdown value on these periods.
corrected version is below.
Please, Could you check my script. ... | stackexchange/codereview |
Trying to create an A to Z index list of categories on a WP page. I've achieved this for the tags using this code:
<ul class="index-p clearfix">
<h3>A</h3>
<?php
$tags = get_tags( array('name__like' => "a", 'order' => 'ASC') );
foreach ( (array) $... | stackexchange/codereview |
I'm defining a constant in an initializer in Rails using the following syntax:
MyModule.const_set('MYCONSTANT','foobar')
It works, if I start a console and write
MyModule::MYCONSTANT
I receive foobar as expected.
The problem is, when I try to call it in a Model the constant is not there.
Where should D dynamically d... | stackexchange/codereview |
I'm learning java and have a question about object types.
Take the following as an example:
class A { }
class B extends A { }
class C {A myObject = new B();}
What is the accepted way to describe the type of myObject?
Would you say it is Type A, Type B, or Type A and B?
Thanks.
| stackexchange/codereview |
From Wikipedia:
Notable production implementations
[of NoSQL databases] include Google's
BigTable, Amazon's Dynamo and
Cassandra.
But Google's BigTable does have some variant of SQL, called GQL.
What am I missing?
| stackexchange/codereview |
Can anybody tell me,
how do i create website which supports various screen resolution & Multi browser support (i.e 1024*768 ) and others using asp.net...
i have developed website in asp.net (vb) my monitor resoultion is 1024*768 but when i try to access my site in other monitor having the resolution more than 1024*768 ... | stackexchange/codereview |
Basically the back story is that i've built a selecting of python scripts for a client to process importing and exporting batch jobs between their operations database and their ecomms site database. this works fine. these scripts write to stdout to update the user on the status of the batch script.
I'm trying to produc... | stackexchange/codereview |
$pattern = '/^(^[\`\~\@\#\$\%\^\&\\])+$/';
if(preg_match($pattern, $textToSearch)){
exit('Bad text.');
}
The code above is supposed to exit upon the first occurrence of any element in the pattern above. But it is not working. Will anyone please help me arrive at a working code sample?
| stackexchange/codereview |
I wanted to create a app using some functions of GENI.com. But, I can't find how I can authenticate the user. I don't find it a good solution to let the user first login at geni.com in order for me to be able to use the API functions.
I thought of using the function "immediate_family" in a iOS device.
Anyone who has an... | stackexchange/codereview |
In my iphone app, I had initially divided the app into modules.
Each module was prepared as an individual xcode project.
Now I have integrated all modules by referencing and copying necessary files.
I want to submit it to the app store.
Will Apple accept this project which is comprised of different individual modules ... | stackexchange/codereview |
In QuickReport 3 and Delphi, how do you print the number of records that where grouped by the TQRBand type GroupFooter?
Does it involve expression and Count? Thanks.
EDIT: could be named as "generate a subtotal for each group".
Let's say we have
<header>
<title>
<group header>
<deail>
<deail>
<deail>
<group footer> pri... | stackexchange/codereview |
On a multi-lingual community with almost only user-generated content, is there a commonly used way to treat flagged content (profanity, racism, general illegal stuff etc)?
As there will be a lot non-english content, the only way to handle the flagging itself is crowdsourcing by the community itself and somehow automati... | stackexchange/codereview |
All of the following processing takes place on the localmachine:
I have a source database (on the server) and a destination database (local machine).
I have a list of tables that I wish to copy from the source to the destination, ie server-->local.
I start by storing all the data from the server in a DataTable array us... | stackexchange/codereview |
I've constructed a list of JSON object, and now want to pass to ASP.NET MVC2 website.
If I dont use web service, instead use Controllers/Views, what is the input type? string? What are good practices when doing this?
The purpose is that I want to use Microsoft's AJAX framework, that enables the browsers without javascr... | stackexchange/codereview |
This has me completely stumped!
I have a Tap Gesture Recognizer for show/hide menus...
I also have a Swipe Gesture Recognizer for swiping left and right between screens...
I then also have an MPMoviePlayerController for playing back video on the screen.
I am implementing gestureRecognizer:shouldReceiveTouch: and exclud... | stackexchange/codereview |
This is not directly programming related but it is about publishing an iPhone app.
If you develop and publish an iPhone app from a european country (Germany) do you still have to register for the developer account on this english website:
https://developer.apple.com/programs/ios/
And pay the fee in dollars?
| stackexchange/codereview |
I am looking to use pre-generated EF views per http://msdn.microsoft.com/en-us/library/bb896240.aspx to speed load time. This works fine in my local environment and I have connection strings that include something along the lines of "metadata=~/bin/Models\DSManagedCoModel.csdl|~/bin/Models\DSManagedCoModel.ssdl|~/bin/... | stackexchange/codereview |
I am studying unit testing. From what I've seen, almost all unit tests use return value or an output parameter as the expected value in their test case.
What would be the expected value for a function that has no return value or output parameter?
Example:
void unit_test()
{
cout << "Hello" << endl;
}
Sure, this func... | stackexchange/codereview |
Currently my business objects implement IDataErrorInfo. Since I intend to use these libraries in ASP.NET MVC 3, I figure I should implement IValidatableObject as well or maybe instead of.
Does WPF work with IValidatableObject?
How do DataAnnotations fit into the picture?
| stackexchange/codereview |
I have never done profiling. Yesterday I programmed a ProfilingTimer class with a static timetable (a map<std::string, long long>) for time storage.
The constructor stores the starting tick, and the destructor calulates the elapsed time and adds it to the map:
ProfilingTimer::ProfilingTimer(std::string name)
: mLocalN... | stackexchange/codereview |
I have been trying to access a .NET WebMethod from jQuery AJAX but I cannot get it to work. I have read everything I can find on SO and other sites and nothing seems to be working.
My C# code is such
[WebMethod]
public static string TestAjax()
{
return "Hello World";
}
and the JavaScript code is
$.ajax({
type... | stackexchange/codereview |
I have an ASP.NET application which uses the local IIS server.
the url is the following:
http://localhost/myasp/
It's working properly.
If I replace the localhost with 127.0.0.1 ip address the app still working properly.
But if I check the ip address of my PC, for instance 122.33.21.23
and I try to use it instead of lo... | stackexchange/codereview |
I am using a HQL query to get a bunch of state objects like so:
<cfquery name="LOCAL.qStates" dbtype="hql">
from States where countryID = #ARGUMENTS.countryID#
order by name asc
</cfquery>
This works fine. However, I was brought up well and I want to use cfqueryparam, ideally like so:
<cfquery name="LOCAL.qSt... | stackexchange/codereview |
I have a list:
List<int, SomeStruct>
For some reason, it is not allowing me to assign null values to it. What do I do if I want to have no struct associated?
| stackexchange/codereview |
I need a static code analyzer for Java that produces an output file about the: relationships of the classes (also inheritance relationships), fields of the classes, method signatures, and method call hierarchies.
The important point is that the analysis data can be (easily) processed by a program. (I need the analysis... | stackexchange/codereview |
I have three questions in hand
i have no problem in export the data from php to csv. But i have struggled to put the in of csv coloumn. Here the detail
PostId PostTitle Reply Ip
1 test reply 1 127.0.0.1
reply 2
reply 3
2 test2 response 1 ... | stackexchange/codereview |
I have some difficulties understanding how Boost.MultiIndex is implemented. Lets say I have the following:
typedef multi_index_container<
employee,
indexed_by<
ordered_unique<member<employee, std::string, &employee::name> >,
ordered_unique<member<employee, int, &employee::age> >
>
> emp... | stackexchange/codereview |
In JQuery hiding a table row based on a predefined columns td value is easy using the following code.
function filterRows(word){
$('.application>tbody>tr')
.show()
.find('td:nth-child(2)').not(':contains("'+word+'")')
.parent()
.hide()
}
However how would I go about showing rows that match td values in more than one c... | stackexchange/codereview |
So my problem is that I have two classes with the same name.
One is REXML::Document, which is a third party library.
the other is an ActiveRecord model called "Document" controlled by my application.
In my controller when I do "Document.transaction" he tells me that method "transaction" doesn't exist for class "REXML::... | stackexchange/codereview |
I have a working Mule 2.2.1 configuration with the imaps:connector.
But I am not able to proceed emails with attachments. Any experience?
org.mule.api.service.ServiceException: Cannot route event as component "imap" is stopped. Component that caused exception is: SedaService{imap}. Message payload is of type: MimeMessa... | stackexchange/codereview |
I want to create a very very large dictionary, and I'd like to store it on disk so as not to kill my memory. Basically, my needs are a cross between cPickle and the dict class, in that it's a class that Python treats like a dictionary, but happens to live on the disk.
My first thought was to create some sort of wrappe... | stackexchange/codereview |
I have a web application that pings a database every minute or so to check for new entries. The page is designed to not really have any interaction with... You just keep it open and it displays things. The page is password protected, and the site can be up for a coupe days without anyone clicking in the web browser or ... | stackexchange/codereview |
I'm looking for the documentation of all the syntax and built-in functions in C, but I can't find any site online which seems like an ultimate official source of standard C knowledge.
Apart from the famous book by Kernighan and Ritchie, isn't there any online C specification? Maybe there is, and I don't know how to fin... | stackexchange/codereview |
I need to specify a hash to add to a redirect_to. How do I do this?
This is how my redirect_to is formed:
redirect_to :action => 'show', :id => @consultant.id
I need to go to example.com/consultant/#some_hash
Thanks!
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.