instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I cant see who would make such a decision but is there any such language?
The reason I ask this (or some trivia, if you like) is that I just finished making the eighth iteration of my "developer" version of dvorak (big emphasis on special characters). And four keys are currently not used!
Since I dont ever want to stum... | stackexchange/codereview |
I am in the process of "modernizing" a classic asp application that uses a Access 2000 database.
I rewrote the database on SQL Server 2008r2 and changed all of the fields to use the newer unicode enabled nchar, nvarchar, ntext and imported the old data. I also switched to IIS 7 from IIS 6
The classic asp is collecting ... | stackexchange/codereview |
How do I go about resolving this issue? What other information can I look at?
An unhandled exception of type 'System.TypeInitializationException' occurred in Microsoft.VisualStudio.HostingProcess.Utilities.dll
Additional information: The type initializer for 'SpaceShip.Program' threw an exception.
| stackexchange/codereview |
Ok, the problem is pretty straightforward - I am reading words from the input stream, the words may repeat. I need to populate a map so that all the words get indices from 0 to n-1.
Here is my code:
map<string, int> mp;
string s;
int n = 0;
while(cin >> s)
{
if(mp.find(s) == mp.end())
{
mp.insert(make_pair(... | stackexchange/codereview |
I have an MVC2 .NET 4.0 app, hosted on TFS 2008 (soon to be TFS 2010) that uses connection strings in web.config to connect to a database on another server. I need to encrypt these connection strings.
As I understand it, I can use aspnet_regiis.exe to encrypt the connectionstring portion of the web.config file, but I ... | stackexchange/codereview |
I'm using a plugin for Jquery called FLOT http://code.google.com/p/flot/
Once the graph is rendered I want the client to be able to save the graph to a file for later. Any idea on how this can be done without requiring the client to download some tool or image capture device?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.... | stackexchange/codereview |
I have a front-end component view that I need to include a .js file in the header of (header is being generated by Joomla, not hard-coded in default.php). The front-end component file is mysite.com/components/com_arrcard/views/tmpl/default.php; the javascript file is located at mysite.com/administrator/components/com_a... | stackexchange/codereview |
I need to be able to send a http get request to a web service that requires clients to authenticate with a specific certificate. The .net code looks like this:
if (certificate != null)
request.ClientCertificates.Add(certificate);
return request;
I havent been able to figure out the equivalent in rails. Any sugg... | stackexchange/codereview |
i just downloaded an RSS Toolkit for .net.
where do i need to place it? in which folder so it will become available on my
visual toolbars?
and what types of files do i need to place in this folders? is it the *.dll only or more?
thanks.
| stackexchange/codereview |
I want to create a bash file (.sh) which does the following:
I call the script like ./download.sh www.blabla.com/bla.jpg
the script has to echo then if the file has downloaded or not...
How can I do this? I know I can use errorlevel but I'm new to linux so...
Thanks in advance!
| stackexchange/codereview |
Is it possible to capture a xlib window and save it to an eps file?
| stackexchange/codereview |
Many of the mapping techniques including normal bump mapping, parallax mapping and others require the special per-vertex tangent-space basis (tangent, normal, binormal / bitangent).
This obviously means that my models should not only export vertex positions, texture coordinates and approximated per-vertex normals, but ... | stackexchange/codereview |
I'm trying to call a Cocoa IBAction from Carbon code...
I've set up global keys using this tutorial.
The hot keys are working fine, but I need to fire an IBAction when the global key has been pressed.
I keep getting errors when I use
[self functionName]
How do I call the function?
I've read about passing the Cocoa co... | stackexchange/codereview |
I have set a pythonpath variable in my ~/.bashrc and it works fine when using python interpreter from the command line and bpython, but IDLE is not recognizing it.
How can I configure it to load the pythonpath variable?
Thanks in advance
| stackexchange/codereview |
We have several routes in our Global.asax.cs file, but one of them is not apparently being used.
// Search (NOT working).
routes.MapRoute(
"Search",
"search/{query}",
new { controller = "Search", action = "Index" });
// Homepage (I believe the problem could be here, but not sure).
routes.Map... | stackexchange/codereview |
I have recently been charged with getting CI going using TFS and in testing a build definition I recieve the error:-
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (3717): The command "copy "C:\Builds\1\Project-Access\ReleaseDefinition\Sources\Project-Access\Access.MVC\Widgets\Access.I... | stackexchange/codereview |
If a window has an active control, example and open combobox, can i then get a handle to that control using Iterop? The active control is not in managed code.
| stackexchange/codereview |
I want to merge a sql script which create a table and a pl/sql script which insert data in that table. Customer wishes
My idea was to do the table creation in pl sql. But it doesn't work. Create is not allowed in the begin part. A solution I've seen is to do this in an execute immediate statement. In practice I 've tri... | stackexchange/codereview |
How would you implement caching of the layout content in Zend Framework?
In the layout.phtml I do: $this->layout->content and I want the content of this variable to be cached. The other widgets from the layout are real time (or cached other way).
The best bets are:
static cache (the fastest)
page cache
My pages alrea... | stackexchange/codereview |
Hi i am writing a custom http server. At first i had only one request at one connection possible(Connection: close), everything was ok. But once i remade it connecton: keep-alive logic(more requests at one connection), my images stopped displaying. I think, it may be a problem with http response delimiters. Are there a... | stackexchange/codereview |
I am adding a button to each row of a Grid Control. Under the buttons property of the button there is a property o called "Kind" this changes the image of the button. I want to not have an image but just text. Where do I set this?
| stackexchange/codereview |
* mongodb-csharp driver
* simple-mongodb driver
* NoRM
There are three mongodb clients for .net, all of them appears to have same numbers of followers.
As i am new to mongodb can't differentiate both by just looking features right now.
If you are using any of this client provider can you please share your take on it?
| stackexchange/codereview |
Not sure if this is a style question, or something that has a hard rule...
If I want to keep the public method interface as const as possible, but make the object thread safe, should I use mutable mutexes? In general, is this good style, or should a non-const method interface be preferred? Please justify your view.
| stackexchange/codereview |
In an xsd file I have this element base type :
<xs:complexType name="event" abstract="true" >
<xs:attribute name="move" type="aos:move_ref" use="required" />
<xs:attribute name="type" type="aos:event_type" use="required" />
</xs:complexType>
And I want to define the value of the type attribute in the children ... | stackexchange/codereview |
Using hook_nodeapi, I want to prevent certain fields from being saved when a node is updated. I have a simple payment form that feeds into Authorize.net, but the CC number and date should not be saved, just passed on to Authorize.net.
I can pass on the data fine. But Drupal still saves the data.
I have tried unsetting ... | stackexchange/codereview |
All the members of my team works with Eclipse. However, each one have different configuration, preferences and plugins. What is the best way to keep a baseline of plugins, preferences such as code styling and formatting, and other configuration in order to have similar start point but to allow each team member for spec... | stackexchange/codereview |
I have a Python module which uses some resources in a subdirectory of the module directory. After searching around on stack overflow and finding related answers, I managed to direct the module to the resources by using something like
import os
os.path.join(os.path.dirname(__file__), 'fonts/myfont.ttf')
This works fi... | stackexchange/codereview |
i'm looking at using pyQT to scrape websites with javascript support, after dabbling with all the static html alternatives (beautifulsoup, mechanize etc.)
clearly pyQT is a much more generic tool and as such is not optimised for my needs.
is there any classes/libraries which give me simple functions for using pyQT for ... | stackexchange/codereview |
I'm pulling the top 15 locations from the database by sorting based on the usedby column, a running total of how many records use that location. The problem is, this returns them sorted by usedby when I'd really like to sort them alphabetically by the name column. I'm thinking this might require some sort of subquery?
... | stackexchange/codereview |
I have the following:
My Controller:
def new
.
.
@teammembers.each do |teammember|
request = @request_thread.requests.build(:recipient_id => teammember.user_id, :full_name => 'Billy Bob T')
end
My View:
<%= f.fields_for :requests do |builder| %>
<div class="field">
<%= builder.label :ful... | stackexchange/codereview |
I am trying to model the layout that is displayed in this image.
If you take a look, it has a number of textBoxes/checkboxes/buttons, a couple of diagonal controls, and another separate control (in a red outline).
The bottom screenshot shows what I would like to happen when a checkbox is checked in that separate contro... | stackexchange/codereview |
How can i run local tests ( with mamp ) that have urls of this kind : www.example.com instead of http://localhost:8888/install.folder
Thank you
| stackexchange/codereview |
I have a view controller for my Map View. Inside the viewDidLoad method, I'm setting the mapview's delegate to the controller (self) and then I'm adding the MKOverlay object. But my mapView:viewForOverlay: method is not getting called, so I still can't get anything to display on my map.
Thanks
| stackexchange/codereview |
Suppose I have defined VendorClientLicense model like this:
VendorClientLicense:
tableName: vendor_client_licenses
columns:
id:
type: integer(4)
primary: true
notnull: true
autoincrement: true
status:
type: string(255)
default: 'pending'
client_id:
type: integer... | stackexchange/codereview |
I am having trouble adding the
-XX:OnOutOfMemoryError="taskkill /F /PID %%p"
argument to a java command in ant.
When I add
<jvmarg value="-XX:OnOutOfMemoryError="taskkill /F /PID %%p""/>
or
<jvmarg value="-XX:OnOutOfMemoryError=\\"taskkill /F /PID %%p\\""/>
Ant fails to parse the XML file.
If I do this
<jvmarg va... | stackexchange/codereview |
I'm working now on Obj-C with files, my application shall read some huge text files (e.g. 5 MB) that have character encoding of UTF16..
The first problem is how do I detect the file size that I'm going to read from ?
The second problem is when I read the file only one time it gives me the right text, but when I try to ... | stackexchange/codereview |
I am running the following Firebird SQL script but it is not producing the expected results after execution. I want to use it in my Delphi application, but am testing it in the EMS SQL Manager IDE first. After executing the script, all tables should be empty, all triggers set to inactive and all generators set to 0. Ho... | stackexchange/codereview |
I am doing:
NSString *path = [[self class] pathForDocumentWithName:@"Alarms.plist"];
NSArray *alarmDicts = [NSMutableArray arrayWithContentsOfFile:path];
if (alarmDicts == nil)
{
NSLog(@"MER. Unable to read plist file: %@", path);
path = [[NSBundle mainBundle] pathForResource:@"Alarms"
... | stackexchange/codereview |
I'm having a little problem with [PortfelID] column. I need it's ID to be able to use it in function which will return me name about Type of Strategy per client. However by doing this i need to put [PortfelID] in GroupBy which complicates the results a lot.
I'm looking for a way to find Type of Strategy and Sum of Mone... | stackexchange/codereview |
I have the following form:
<form:form method="POST" action="signin.dlp" commandName="user" >
<form:input path="useremail" id="useremail" /><FONT color="red"><form:errors path="useremail" /></FONT><Br />
<form:password path="pswd" id="pswd" /><FONT color="red"><form:errors path="pswd" /></FONT> <br />
<input id ="login... | stackexchange/codereview |
I'm trying to build an IRC chat application for a live streaming site. For each live video there will ba a live channel and the user will automatically joined to the respective channel. I'm using iframe long polling for this. The iframe will push the javascript content to the browser. The problem is it is not working c... | stackexchange/codereview |
I've just attempted to build a new MVC project with Razor Views using our standard build script (rake, but that's not important).
When I was developing the project I noticed that Razor doesn't currently respect namespace imports in the web.config, but does allow you to include namespaces in the global.asax. I'm actual... | stackexchange/codereview |
I have many ServerAlias'es in my Apache vhost and I want all domains that aren't the ServerName to be 301'ed to the ServerName.
This is not working:
RewriteCond %{HTTP_HOST} !%{SERVER_NAME} [NC]
RewriteRule ^(.*)$ http://%{SERVER_NAME}/$1 [R=301,QSA,L]
This does work:
RewriteCond %{HTTP_HOST} !www.some-domain.com [NC]... | stackexchange/codereview |
I'm getting the exception 'The calling thread must be STA, because many UI components require this.' Which is stupid because the constructor that is giving the exception IS BEING CALLED FROM WITHIN A STA THREAD!
I'm really at the end of my rope. Has anyone else come across this problem?
| stackexchange/codereview |
How can you set a limit on the result from the jQuery autocomplete?
This is my code:
$.ajax({
url: "/cache/search/SearchModels.xml",
dataType: "xml",
success: function(xmlResponse) {
var data = $("SearchModel", xmlResponse).map(function() {
... | stackexchange/codereview |
My system sends a configuration array to a function like this:
callThatFunction( array(k1 => v1, k2 => v2, ... kn=vn));
I want to make one of the key value pairs, conditional upon some circumstances.
Can I do this without creating a variable for the array (and this breaking the clean config syntax that someone else h... | stackexchange/codereview |
I have Asynch in a separate class, and I need to change setText on some of the TextViews
How this possible?
OR should I keep AsyncTask inside my Class?
private class DownloadImageTask extends AsyncTask<Object, Void, AdModel> {
@Override
protected AdModel doInBackground(Object... params) {
return getAd... | stackexchange/codereview |
We're working on creating a Windows service to import/export data from various places.
Our service currently has methods like the following, each of which run in their own thread on their own timers.
ImportFromFoo
ImportFromFoo2
ExportToFoo
ExportToFoo2
In the long term, there are going to be 10+ different imports/exp... | stackexchange/codereview |
Their Russian translation is invalid and confusing. E.g. in some messages language keywords were translated. So I want to see the original versions (in #develop, LINQPad, ASP.NET errors etc).
UPDATE
This great site helps find original English error messages by their translations: FindErr.NET
| stackexchange/codereview |
Im new and learning C++, is this code a valid C++ implementation, please see code below,
// FoomImpl.h
#include "Foo.h"
namespace FooFoo { namespace Impl {
class FooImpl
{
public:
FooImpl( FooFoo::CFoo::stBar bar )
{
m_bar = bar;
}
private:
FooFoo::CFoo::stBar m_bar;
};
} }
/... | stackexchange/codereview |
We have an application that reconstructs external web sites in an Iframe from within our domain so we can use tools that run in the browser to inspect the external website. This is an unavoidable requirement since we need to gather information about the external page using JavaScript. If the page were not reconstructed... | stackexchange/codereview |
I have a data struts like this:
category:
subcategory:
color:red
name:pen
Is there any better method to store if i want to load such data in memcache? or Is there any other better memory database?
Thanks!
| stackexchange/codereview |
How i can create a custom WSYIWYG editor with custom tags.Actually for editing a xml file.
When a user select a text, a custom tag <info> will be added on the selected text.
<info>Text loaded from a XML</info>
| stackexchange/codereview |
I m having a page with two date fields and a dropdown... based on the values selected from those fields i have to call a server method which fetches the data and then bind the grid.. how is this possible using jquery grid... currently i know that i can call $("#list").jqGrid({}); on a button click which is inside a fun... | stackexchange/codereview |
I'm working in a application with many modules each having it's own mercurial repository.
I initially thought it's good to have the modules in individual repositories but after a couple of releases, I feel something is not right. It's really a pain to create the branches and tags in all the modules.
Most, if not all mo... | stackexchange/codereview |
I am working on Oracle10g, And I am currently facing one issue regarding NCLOB column.
Application uses Silverlight, WCF, NHibernate and oracle10g database.
Application firing one select query, in that query, it contains XML data for NCLOB column and it is giving me the following error:
"inserted value too large for co... | stackexchange/codereview |
With respect to C# 4.0, which of these two is the correct term: Named parameters or Named arguments? I find many occurences of both terms hence am quite confused how to mention them (say in formal documentation)?
| stackexchange/codereview |
I would like to create and add a calendar object plus select elements(comboboxes) for Day-Month-Year using HTML and JavaScript in a PHP web application.
This calendar is common used for the user input for dates like:-
From Date : 01/11/2010 - To Date : 10/11/2010
The calendar should have a nice-look, displayed automat... | stackexchange/codereview |
I am using IIS7 and ASP.NET 4.0
I have a site that is using a CMS system (specifically AdxStudio). Certain pages on the site are entirely generated using the CMS. Currently, I must place a dummy file of the same name in the respective directory matching the url. So, somesite.com/about/pressroom must have a file call... | stackexchange/codereview |
I am trying to automate running an ios app in the simulator using Applescript. Whenever the application is first launched I get the firewall pop up asking to Deny or Allow connections to my app and I would like to Allow connections in the same script. Is there any way to do this?
| stackexchange/codereview |
I have a parent View that uses a few partial views. Each partial view has its own custom model.
The parent View is a model containing each of the partial view's model. In other words this parent View model is NOT flat.
How do i get POST data to bind with the parent's model object? Do i have to write a custom model bind... | stackexchange/codereview |
Take this very simple form for example:
class SearchForm(Form):
q = forms.CharField(label='search')
This gets rendered in the template:
<input type="text" name="q" id="id_q" />
However, I want to add the placeholder attribute to this field with a value of Search so that the HTML would look something like:
<input ... | stackexchange/codereview |
I'm trying to parse my delicious links feed to generate custom html. I was not able to parse the item.link and item.creator (index 3,4 of the following rss).
Delicious/myusername
http://www.delicious.com/myusername
bookmarks posted by myusername
<item>
<title>Full-function Core Data example app... | stackexchange/codereview |
I have this query:
SELECT count(member_id) FROM member_favorite_business WHERE business_id=3912 AND member_id=413
When I profile this query with my mysql profile tools, it says that this query is very bad. It said:
JOIN SIZE: 16128 (VERY BAD, VERY SLOW)
CONTAINS FULL TABLE SCANS (BAD)
My question is, how can I impr... | stackexchange/codereview |
Possible Duplicate:
Sockets: Discover port availability using Java
hi,
how can i check the particular system port is avliable or not by using java.
Thanks
Murali
| stackexchange/codereview |
I have posted on the DNN site and on the DNN Creative forums for help with this and not getting much joy there.
I need to build a DNN Mobile site (not using mobiNuke) for our client. I would say I am about 80% complete with the actual site and in the process of testing now.
I have put the site through ready.mobi and I ... | stackexchange/codereview |
I am pulling my hair out with an scroll issue with iPad/iPhone...
I am using the fantastic jScrollPane plugin which works a treat on desktop browsers but on iPad/iPhone the div doesnt scroll (to do with touch events or something?)
I have tried all the fixes:
http://snipplr.com/view/41051/jscrollpane-ipadiphoneipodios-s... | stackexchange/codereview |
I am new to both Ruby and Mongo, coming from a C# and SQL Server background. I have a simple document which looks like:
db = Mongo::Connection.new.db("crm")
coll = db["persons"]
coll.find().each { |row| puts row.inspect }
-- Outputs:
{"_id"=>BSON::ObjectId('4cd6d8db1d41c81731000001'), "company"=>"Acme Ltd", "name"=>"J... | stackexchange/codereview |
I am using nested repeaters. I render several groups and every group has members that I need to render out different properties to.
I am using ItemDataBound on the nested repeater to find out which member the nested repeater is rendering out at the moment. I have <% %> tags in the .aspx which checks if the current user... | stackexchange/codereview |
I was wondering if there's a difference between them when it comes to streaming videos.
I know VideoView can be used for streaming and what is Mediaplayer for? As far as I know, MediaPlayer can do the same thing as VideoView right?
Can anyone give me the answer?
And if I want to stream video from the server by using RT... | stackexchange/codereview |
In g++, clobber lists for asm can be specified, for example:
asm ("somecode" : : "r1", "r2", "r3");
which means that the asm code changes registers r1, r2, r3.
Now, my changed registers depend on a template parameter n (the asm block is inside of a template function), and registers r1, ..., rn will be changed. How can... | stackexchange/codereview |
I need to verify an /etc/passwd file is valid, and thought regex would be a good idea to verify the lines that are not comments. How would I verify a line like:
root:*:0:0:System Administrator:/var/root:/bin/sh
After some research, the 5th field (System administrator) can contain other data like email and address, th... | stackexchange/codereview |
Let's say we have:
char someArray[4]; filled with {'a','b','c','d'}
And I want to set all 4 entries to 'f' or any other char really.
Instead of doing individually someArray[0] = 'f' (...) is there a way to set them all to a value?
| stackexchange/codereview |
<%= form_for([@post, @post.bids.build]),
:url => { :action => "offer_bid" } do |f| %>
<%= f.submit "Offer Post to this user" %>
<% end %>
I'm trying to use the above form to update one particular column of bid model( bid is a model nested under post) :-
resources :posts do
resources :bids
end
I a... | stackexchange/codereview |
I am using this regular expression for validating email address for example:
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
and now I want to write a validation expression for not using one special character, like ";" in my example...
P.S. I know how to do this in JavaScript with the keyCode funct... | stackexchange/codereview |
Im using wordpress 3.0.1 version. My current theme 2010. I had my own theme,i want to create a custom menu for that theme. Can any one give me the code for files in theme
| stackexchange/codereview |
I want to use google maps in a web site. I will get data on client side in JSON and based on that data I want to add markers dynamically. More over my requirement is to make markers iteratively. Like in some sites they animate or they are shown with a zoom out effect. See this example please
Please guide me how to do t... | stackexchange/codereview |
Is it possible to inherit structure with another in standard C or C++?
| stackexchange/codereview |
I have a list of about 50 values and corresponding non-continuous dates in a pdf of which I need to make a time series graph in R. How do I do this?
No response can be too detailed or basic. Thanks.
| stackexchange/codereview |
Suppose, that i have the code:
// My.cpp
#include <iostream>
int main( int argc, char ** argv )
{
if ( argc > 1 )
std::cout << argv[ 1 ] << std::endl;
}
( i use MVSC++ 2008 )
when i run my program in cmd.exe: My.exe argument
i get this output :
a r g u m e n t
why?????
| stackexchange/codereview |
how can I get a JTable to layout some rows with just one column like:
A1 Section Title Row With long Text
A2 B2 C2 D2
A3 B3 C3 D3
A4 B4 C4 D4
A5 Section Title Row With long Text
A6 B6 C6 D6
A7 Section Title Ro... | stackexchange/codereview |
When saving an entity with related entities in LLBLGen, will it automatically wrap the DB calls inside a transaction, or could some portion of the save fail while other portions succeed?
| stackexchange/codereview |
First of all, as you can see, I work in Java and specifically in NetBeans IDE.
So, I have a class Person that extends two classes : Trainer, and Athlete.
In the main, I create a new ArrayList list = new ArrayList();
and then, i fill the list with objects that I've created and made persistent.
Trainer tr1= new Tr... | stackexchange/codereview |
i am trying to develop a j2se program that copy a .csv for special task.
Now i want to run(execute) that copied .csv file.
if copied paht is "C:\program files\reports\test.csv" or
C:\Documents and Settings\User\My Documents\test.csv" it dose not work for this code:
run.exec("cmd start /c C:/Documents and setting\user\... | stackexchange/codereview |
I'm trying to retrieve all the users ids who have their preferences (IN (1,7) AND (2)). Even without the group on user_id. It doesn't work. Any idea would be very helpful.
HasPreference.find(:all, :conditions => ["preference_id IN (1,7) AND preference_id = 2"], :group => :user_id)
TABLE is 'has_preferences'
ID -- PR... | stackexchange/codereview |
I am developing one application and I wish to save xml data files on Windows XP, Windows 7 And Windows Vista Can any one tell which folder I have use so it will work for all these three OS so user can read write to xml files from my program.
| stackexchange/codereview |
I have a list of text inputs that each contain numbers. To the left of each is a button that says " - " to the right one that says " + ".
So, it looks like this:
[ - ] [ 1111 ] [ + ]
[ - ] [ 1112 ] [ + ]
[ - ] [ 1113 ] [ + ]
etc...
I want each [-] to alter the value of the field next to it, reducing it by 1, and each... | stackexchange/codereview |
I want an architecture to make my UI interact with the database without writing excess code for the UI...i.e. the code behind...
| stackexchange/codereview |
What would be the best way to handle the __repr__() function for an object that is made persistent? For example, one that is representing a row in a database (relational or object).
According to Python docs, __repr__() should return a string that would re-create the object with eval() such that (roughly) eval(repr(obj)... | stackexchange/codereview |
How to disable or enable sound when QSystemTrayIcon's Message showing? It must enable or disable only message's sound. Thanks...
| stackexchange/codereview |
I want to display a list item in a different detail page, not dispform.aspx, not in modalbox. Page must be inherit site masterpage, layout page and must be in portal sitemap like publishing page.
Breadcrumb must be like this:
Company Intranet > Announcements > Product request formm updated!
Is there any way for do that... | stackexchange/codereview |
I've been searching for a few hours on the best way to add sms notifications and reception to my PHP website. It seems that it's easy to send texts (to an email forward to a phone), but hard to receive them without an SMS gateway. Clickatell was recommended a lot.
But: I stumbled across a few article recommending Googl... | stackexchange/codereview |
I have an Ellipse inside another control that gets its Fill changed when the parent is selected.
<Style TargetType="TabItem">
<Setter Property="IsEnabled" Value="False" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="TabItem">
... | stackexchange/codereview |
I have created a simple multiple choice questionnaire using HTML, PHP and SQL, which when submitted, adds numeric values to a table which each represent specific answers to each of the questions.
For example, I have four questions, and one submitted form may appear in my database cell as '0,1,3,1' (So answered the firs... | stackexchange/codereview |
I have created one songs album app. In this app, i have to play the songs by using URLs. These URLs gave me 2 types of songs.The first one is on-demand songs, which are our regular songs limited to 5 or 6 minutes. I dont have any problems to play/stop these songs with MediaPlayer object. The second one is live streamin... | stackexchange/codereview |
Ok so for standard, non-mirrored databases, the transaction log is kept in check either simply by having the database in simple mode or by doing regular backups. We keep ours in simple as we have SAN snapshot backups taking place and there is no need for SQL backups.
We're now going to mirroring. I obviously no longer ... | stackexchange/codereview |
I use entity Framework 4.
var entity = rep.GetEntityTxt<AreaTypeText>(PKey, LangID);
_db.AttachTo("AreaTypeText",entity);
entity.Txt = "TEST";
_db.SaveChanges();
When I check in debug mode on the _db variable, my AreaTypeText object is null. Nothing seem to be attached.
UPDATE WORKING EXAMPLE
I need to detach... | stackexchange/codereview |
I have a subclassed UITableViewController that performs some animations when editing mode is entered, namely removing the UIBarButtonSystemItemAdd from a navigation bar, and animating the first row of the table out of existence, and then back in when edit mode is exited:
- (void) setEditing: (BOOL) editing animated: (B... | stackexchange/codereview |
Sorry if these are obvious answers but I've googled around and can't seem to find what I'm looking for.
When I have multiple files open in split screen mode using C-x C-3 how do I close JUST the window I'm currently in and no other?
I'm using Ruby and it doesn't seem to auto indent my def end correctly.. is there a R... | stackexchange/codereview |
I have build my application using EF 4.0 (MS SQL 2008) and the model is getting bigger.
My problem is when I add new tables / constraints etc. to the model, I'll uptil now generate a script to create my SQL database, But it drops all tables, so I loose all data. :-(
Does anyone know how to just generate a change script... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.