instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm having difficulty in switching between xibs :(
first i was using navigationController and it worked well but i want to do it without using navigationController.
I tried presentModalViewController but it crashes my application. :((
Here is the code :
myViewController *viewController = [myViewController alloc] in... | stackexchange/codereview |
I'm trying to install Testlink on my Ubuntu. I Have XAMPP running, and the Testlink folder is on /opt/lampp/htdocs/testlink
When i try to install in using http://localhost/testlink/install/index.php it says:
Not Found
The requested URL /testlink/install/index.php was not found on this server.
Whats wrong?
| stackexchange/codereview |
We are doing project using PHP and Cassandra. If any already finished a project using PHP and Cassandra, that is available means that will helpful for reference. Is there is any sample project available? And Facebook uses Cassandra - can we get some inputs from Facebook experience and tools? Is Facebook maintain as ope... | stackexchange/codereview |
<asp:DataList ID="ItemsList" RepeatDirection="Vertical" runat="server">
<ItemTemplate>
<asp:LinkButton
ID="SecondLevelItem" runat="server" CommandName="second"
OnCommand="SecondLevelItem_Onclick" CommandArgument="<%# Container.DataItem %>"
... | stackexchange/codereview |
I am facing problem of memory leak and other MoviePlayer new initiation as my MoviePlayer doesn't respond to function, in which I am releasing that player on my done button.
(void) playMovieAtURL
{
MPMoviePlayerViewController *mpViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWit... | stackexchange/codereview |
I'm trying to overload the + operator in a forest class, a forest being a collection of trees, and the + operator is supposed to combine two forests into one. I have the following code as my class definition:
template<typename NODETYPE>
class Forest
{
public:
friend Forest& operator+<>(Forest&, Forest&)... | stackexchange/codereview |
this error apear when I try to cancel row in grid view
The GridView 'GridView1' fired event RowCancelingEdit which wasn't handled
| stackexchange/codereview |
I want to change pdf files. I will erase header and footer from pdf, but more important than that I want to write pane number, etc. to the pages.
I saw a pdf tool, that just renders page as jpg and you manuplate pdf in that way. But I want users to select text from pdf. I dont want to disturb internals of orginal pdf m... | stackexchange/codereview |
Is there any book or tutorial for connecting to a database running on a remote server? I have experience only with local databases in C# .NET 2.0 (SQLite, Firebird), but now I need to place the database on a remote server. Are there any differences when compared to local databases? Any books you could recommend? To be ... | stackexchange/codereview |
See the title for question.
In a nut shell, what I am trying to do is encrypt some data with the seed (keyword) provided by the user. Is there a way to know that the data has been decrypted wrong, or in other words that the seed is wrong?
Using .net 2.0, C#
Thanks!
| stackexchange/codereview |
maybe someone knows a good crossplatform particle library?
I know Pyro particle library, but it's not crossplaftorm and free. There is also Magic Particles (Probably, the best version I need) but there is only theoretical possibility to make a port on Linux.
| stackexchange/codereview |
I'm doing a Windows Service in Java, this service list the files in a directory and write the results in a file. My problem is that when i call Java.File.isDirectory() when the service is running it always results false (It works well when i run the service manually as any other program). Besides, if i try the followin... | stackexchange/codereview |
I have this:
<div id="userPhoto">
<a href="profil.php?id=<?php echo $sid; ?>">
<img src="images/profilePhoto/thumbs/<?php if($vP["photo"]){ echo $vP["photo_thumb"]; }else{ echo "noPhoto_thumb.jpg"; } ?>" style="float: left; border: 2px solid #CCC; margin-right: 5px; margin-left: 15px; margin-bottom: 2px; ... | stackexchange/codereview |
I want to experiment with some D3D programming, but I hate writing code to create and manage Win32 windows. I really don't like the native Win32 API. Is there any libraries or helper classes out there that make it easier to create and manage Win32 window objects?
Thanks
| stackexchange/codereview |
I'm developing a video player application for which the user has an option to seek to a particular location, but the problem is there is no setOnSeekCompleteListener for VideoView,
So I am not sure if the seek operation that was requested has completed or not, and whether to start playback if it is complete.
Is there a... | stackexchange/codereview |
Is there an equivalent to glPolygonMode in OpenGL ES? How do you render wireframe in OpenGL ES?
| stackexchange/codereview |
I'm trying to make my java app repaint each time the mouse has been moved to update the screen when the user moved over a diagram ( -> display the name of the diagram ) and when the user does not move over a diagram ( -> do not display any name of a diagram ). But this causes a huge lag when running the application ( I... | stackexchange/codereview |
Is the keyword unless the same as if?
When do you use ??
I've seen:
if someobject?
I know it checks against nil correct?
| stackexchange/codereview |
In a VB.NET application that runs as a service, I am getting a value of "Nothing" returned when I use Registry.CurrentUser.OpenSubKey(). The same code executes correctly when the application runs in desktop mode. I am not much on VB.NET and unfortunately, this is not my code.
Code:
Dim regURL As String = "Software\My... | stackexchange/codereview |
Can anyone please tell me about any open source software which will install and uninstall software automatically without taking input from user for installation steps.
Any related material will be highly appreciated.
| stackexchange/codereview |
This is probably me being a little dim, I am setting up a UITableViewController via a UINavigationController, I have subclassed UITableViewController: (see below) and have implemented the datasource methods to get my table up and running
@interface RootViewController : UITableViewController {
NSArray *dataList;
}
@... | stackexchange/codereview |
I'm trying to change the font of a lable in a UIView
for my iPhone App.
The change of the 'Font' in the Attribute Inspector does not have any effect
on the font.
Any idea?
Thanks, Stefan
| stackexchange/codereview |
I'm converting color values to string values, however when I get 0, the string is too short and I have to manually add "00" after it.
Whats the most elegant way to solve this issue in Python ?
print "#" + str(self.R) + str(self.G) + str(self.B)
if self.R is 0 then I get a too short string.
| stackexchange/codereview |
What signal can I catch to detect when a column changes size in a gtk.TreeView? I can't seem to find it in the docs.
| stackexchange/codereview |
Problem
When making calls to a SQL database from a WCF service we receive the following error:
"A network-related or instance-specific
error occurred while establishing a
connection to SQL Server. The server
was not found or was not accessible.
Verify that the instance name is
correct and that SQL Server is
... | stackexchange/codereview |
I'm working on building a database that will search for recipes by ingredients.
For example, I think I plan on populating the database with types of ingredients that are accepted, but I don't want to have to parse the string which includes all the ingredients in a particular recipe. I was thinking of making just like a... | stackexchange/codereview |
I have searched S.O. for this answer and have came close to an answer but still not close enough. I am interested in knowing if MySQL has this capability.
I have developed in Perl and MySQL 4 and I'm on MySQL 4 now.
My table looks like this...
symbol varchar(25)
todayDate date
interest int(11)
My problem is this........ | stackexchange/codereview |
In a nutshell, I'm trying to do the inverse of "classObject.getDeclaredClasses()".
I have a method that receives an object of type Class<? extends Object>. I want to figure out whether it is an inner class, and if it is, I want to access the surrounding class' object instance.
Is there a smart API for this, or am I for... | stackexchange/codereview |
In my iPhone app I need to detect the current orientation and I have to determine if I'm in portrait or landscape. I use this code:
UIInterfaceOrientation orientation = [[UIDevice currentDevice] orientation];
if (orientation == UIInterfaceOrientationPortrait || orientation == UIInterfaceOrientationPortraitUpsideDown) {... | stackexchange/codereview |
The table consists of pairs of users which are connected together. The following is a hypothetical example:
user1, user2
a, b
a, c
c, a
c, d
d, e
a, e
j, n
g, n
f, n
By randomly picking up a user from the table (user1 or user2) I would like to retrieve the whole cluster of connections to which the selected user belong... | stackexchange/codereview |
mycontext.startActivity(new Intent(mycontext, logoSplash.class)); //this finishes after 3 seconds:
initcontrols();
final Timer timerStartAll = new Timer();
timerStartAll.schedule(new TimerTask() {
@Override public void run() {
handler.post(new Runnable() { public void run() {
timerStartA... | stackexchange/codereview |
Is there a way in C# to test whether the execution of a statement happens during exception stack unwinding or not?
Thanks,
Marcello.
Edit:
I mean something like this:
using (NewDbTransaction()) {
//do some DB stuff here
} <-- here Dispose() of IDisposable is called
void DbTransactionWrapper.Dispose() {
if (InEx... | stackexchange/codereview |
Any idea why the day is coming out wrong when the date is accurate?
I'm debugging and I can see the date variables which are correct but the day is wrong.
date Date (@9f14161)
date 26 [0x1a]
dateUTC 26 [0x1a]
day 5
dayUTC 5
fullYear 2010 [0x7da]
fullYearUTC 2010 [0x7da]
hours ... | stackexchange/codereview |
I want to compare two audio files(voice recording) and find whether they are identical or not (to some extent).I have come up with FFT(OouraFFT).I have integrated code and gave my audio file as input and "calculateWelchPeriodogramWithNewSignalSegment" is called.There is a term spectrum data used in "calculateWelchPe... | stackexchange/codereview |
In WPF's DataGrid control, if you set a column to one of the default column types (like DataGridTextColumn or DataGridCheckBoxColumn), sort on that column, and then change its value, the grid will automatically be re-sorted.
However, if you use a DataGridTemplateColumn (and allow the column to be sorted), it can be sor... | stackexchange/codereview |
I do long and slow query to get data to my GridView and I got lot of data, but when I'm changing page it loads as slow as at the start, it loads full data again and again, how to load data once and use paging without data loading ?
thank you
| stackexchange/codereview |
i am receiving xml structured data which is not nested and I need to create UL menu out of it. Data is receiver using .ajax jquery .. please for any idea. Even if I fix output of XML i don't know how to achive this.
Structure of XML (sample values) :
<data id="1">
<skItem>Food</skItem>
<psItem>Item1 </psItem>
... | stackexchange/codereview |
We're currently using WPF to create a multi-page invoice document, to then be printed / exported via XPS.
The route we've taken to achieve this is to create a UserControl containing a standard ListBox etc displaying the Invoice lines, this is then included in a FlowDocument inside BlockUIContainer tags.
When this FlowD... | stackexchange/codereview |
I need it specifically for image distortion (filters, blurring, etc also welcomed ;) ). Do you know some libraries with appropriate license (Apache, MIT, LGPL also), that I can use? Propriety libraries with reasonable prices - open to them also. Can be in C also.
thanks in advance,
danail
| stackexchange/codereview |
An application which consumes my webservice sends an invalid soap-request, my service can not handle this request.
The applications send an wrong tag (misspelled), but they cannot alter this behaviour.
So my question:
Is there a possibility with a filter or a listner to get the raw http stream, alter something and put ... | stackexchange/codereview |
I have a problem with swfupload sessions.
I set the session_id in a form variable, and it successfully goes in the form POST. When I get this post and set the session by session_id($_POST["session_id"]) I have a good session_id (because I checked this) but I don't have any variables in the $_SESSION table.
On my home... | stackexchange/codereview |
I'm developing a Windows Phone 7 app but don't want to re-implement my own identity / authentication service - espcially when we know the user will be signed in with a Windows Live account. But, I understand from this thread that Microsoft will not be granting access to the logged in users details. Really?
Is there a... | stackexchange/codereview |
Is there a way to detect if a website is communicating with Chrome using SPDY?
| stackexchange/codereview |
I am looking at creating an app for OS X and/or iOS that allows the user to arbitrarily embed markers into the audio at various intervals during the audio recording process. It would be nice to have a single file that could contain this information, but may or may not be efficient or feasible. I suppose it is similar... | stackexchange/codereview |
Sorry if this has been covered, I couldn't find anything specifically to this issue in my searches.
I am trying to debug a classic ASP application. I need to print the session variables, one of which is an array. My code is below, I keep getting Subscript out of range, usually this means that the array is empty (Ubound... | stackexchange/codereview |
I am setting out for a visualization project that will generate 1000+ sprites from dynamic data. The toolkit I am using (Flare) requires some optimization. I am trying to figure out some optimization techniques for Flash. How can I make Flash run fast when there are so many sprites on the stage, or maybe there is an op... | stackexchange/codereview |
Python 2.7 under Windows: How can we control the position of Tkinter's common dialogs?
Here's what we've discovered:
Certain common dialogs always open up relative to their parent window
Certain common dialogs always open up centered on the user's desktop
All common dialogs appear to ignore the optional parent= parame... | stackexchange/codereview |
Hopefully someone out there is familiar w/the AnythingSlider tool...
Here's the deal: I am able to put all sorts of content into this tool (which really just uses one set of < li > tags per div or whatever content you want to put per slide.
I have no problem putting Google Maps, Google StreetView, pics, etc in this th... | stackexchange/codereview |
i have one arraylist say "templist" it will have items of item say "Stool"
now list contains duplicates
1 abc wwww.com lob1
1 abc wwww.com lob2
now i want like
1 abc wwww.com (lob1,lob2)
may be a separated list of lob's alone. how we can do it ? please help
List tempList = new ArrayList();
I added items of ... | stackexchange/codereview |
We are happy with JIRA and there is no willingness to move away from it. At present we have JIRA integrated well with Perforce. However we are considering moving to Kiln.
Losing the integration with JIRA would be a blocker.
| stackexchange/codereview |
I put a ListBox into a tabele cell an want it to ocupy the whole cell (width="100% height="100%") and show as many rows as possible but:
not specifyng setVisibleItemCount causes to show a big dropdownbox (i want a list)
specifying setVisibleCout makes listbox to ignore height (it takes as much place as it needet to e... | stackexchange/codereview |
hi all actually i am using the hidden field for storing some value
<asp:HiddenField ID = "hfObjectID" runat="server" />
<asp:HiddenField ID = "hfIsBestanswer" runat="server" />
hfObjectID.value = // fetching pk_id from data base.
hfIsBestanswer.value = // fetching pk_id from data base.
<input type="hidden" value="10... | stackexchange/codereview |
I know how to do this in everyday .NET, but mucking round with WP7 development and Silverlight is driving me mad. An HttpWebRequest response must be done async, cool with that, but how can I invoke the UI thread from the async method?
i.e.
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create('http://stackover... | stackexchange/codereview |
Is it possible to increase the width of a scrollbar on a <div> element placed inside the <body>?
I am not talking about the default scrollbar on the browser itself, this page runs in full screen mode and because the browser scrollbar never comes into picture, the inner <div> element has its own scrollbar.
| stackexchange/codereview |
I am working on an ASP.NET project, and it is very frustrating how poor the support for JavaScript is in VS. For example, no outlining, no f12 to find a definition, no refactoring, no code analysis, no ready support for documenting functions, horrible navigation and barely functional intelisense.
Although JavaScript is... | stackexchange/codereview |
I am a .Net developer, I focus mainly on the system logic rather than UI stuff, and I actually know zero about PHP so please excuse any ignorance!
We are looking at using a marketing/SEO/design agency to aid us in launching a website, and they use Magento. However we have a completely bespoke order fulfilment system, w... | stackexchange/codereview |
How to do this?
int[] mas={1,2,3,4,...,n}
public var method1(mas)
{
var d = from i in Object where i.number==mas[0] || i.number==mas[1] || i.number==mas[2]|| ... || i.number==mas[n] select i;
return d;
}
| stackexchange/codereview |
I'm building a flash game wish contains sounds/images/videos and such. Now I want to build a preloader for this game. The problem is that currently it is around 2 mb of data in the first frame. How can I see wish objects that are being loaded in the first frame?
Thanks,
| stackexchange/codereview |
I use KiokuDB to store a couple of Moose objects and a couple of simple array structures (hashes and arrays).
I do not need any fancy searches, transactions etc., simple the ability to fetch (lookup) an object. Also, as soon as I'm done creating the DB, it can be set read-only. No changes will ever be made to it.
The m... | stackexchange/codereview |
I'm using my app.config to tell Unity my interface to type mappings...
<unity>
<containers>
<container>
<types>
<type type="UnityDAL.Interfaces.IDataContextFactory, UnityDAL"
mapTo="UnityDAL.UnityDemoDataContextFactory, UnityDAL" />
<type type="UnityDAL.Interfaces.IProductRepository, UnityDAL... | stackexchange/codereview |
I use this code to know if a key exists or not:
if RegKeyExists(HKEY_LOCAL_MACHINE, 'Software\Autodesk') then
begin
MsgBox('Key exists!!', mbInformation, MB_OK);
end;
for this example, it works, I have the message box, but with this it doesn't:
if RegKeyExists(HKEY_LOCAL_MACHINE, 'Software\Autodesk\Maya') then
begin... | stackexchange/codereview |
I have a method that does a lookup of some elements and returns them to the user:
List<DailyPrayer> dailyPrayers = (List<DailyPrayer>) query.execute();
return dailyPrayers;
These are daily prayers so I want the user to see a different prayer each time so they do not get bored with seeing the same content in the same o... | stackexchange/codereview |
Can I prevent the loss of selection in the "onblur" event?
<!DOCTYPE html>
<html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "en" lang = "en">
<head>
<meta http-equiv = "Content-Type" content = "text/html; charset=utf-8">
<script type = "text/javascript">
window.onload = function... | stackexchange/codereview |
Having been stuck with SQL2000 for far too long, I've not really had a lot of exposure to Common Table Expressions.
The answers I've given here (#4025380) and here (#4018793) have gone against the flow in that they didn't use a CTE.
I appreciate that for recursion they are the beez kneez, and there are a few queries t... | stackexchange/codereview |
I have these input fields, well 1 input text box, and then i have a drop down. Now what I want is when a user selects an option from the dropdown (this is the dropdown)
<select name="searchType">
<option value="all">All</option>
<option value="music">Music</option>
<option value="movie">Movies</option>
<op... | stackexchange/codereview |
I'm attempting to write a RoR controller that will post data to a page on behalf of a preexisting form. This form consists of a long list of checkboxes.
I use a hash that represents the name => value pairs of the form elements. The problem is that all the checkboxes in the form use the same name but different value. I ... | stackexchange/codereview |
I started implementation of android live wallpaper, following the examples and tutorials found on the internet, and I can't include png background as wallpaper. Also checked with similar problems here, and still can't make it work.
This is the code:
public class LiveWallpaper extends WallpaperService {
/* IDs of r... | stackexchange/codereview |
Hello I'm working on an iPhone application which provides information with images and texts. In every text there is one image, which can be clicked and zoomed, shown with a UIImageView
NSString* imgName = [imgPath substringToIndex:[imgPath rangeOfString:@".jpg"].location];
UIImage* img = [UIImage imageWithContentsO... | stackexchange/codereview |
I have some shared/dynamic libraries installed in a sandbox directory. I'm building some applications which link agains the libraries. I'm running into what appears to be a difference between OSX and Linux in this regard and I'm not sure what the (best) solution is.
On OSX the location of library itself is recorded int... | stackexchange/codereview |
I'm wondering: Is it possible to build the transitions mxml outside the mxml component they are meant to be used in?
For example, like how the Script tag can have a source = property.
I'd like to be able to keep the component mxml nice and tidy but also keep the transitions declared via mxml.
| stackexchange/codereview |
I want to validate the file type to make sure the user is uploading an image of type JPEG, GIF, or PNG. Instead of checking the file extension, I figured using HttpPostedFile.ContentType would be safer since it checks the MIME content type.
protected void cvValidateImageType_ServerValidate(object source, ServerValidate... | stackexchange/codereview |
I want to integrate flash in my iPhone application so is it possible to integrate?
| stackexchange/codereview |
I have developed a database application for Android. Now I want to make it available to deploy it. But I don't how to deploy it with the database.
| stackexchange/codereview |
While trying to model my domain, I came across the following problem. Let's image we have a Thing:
class Thing
{
public int X { get; set; }
}
Things have a property X. Then, there are Packs, which aggregate Things. But the domain requires that there is some restriction on the Things the Packs can hold. Let it be f... | stackexchange/codereview |
A large set of code analysis rules is defined within Visual Studio and FxCop but which one do you find to be the most important and most critical to conform and why?
Retrospectively, could any of the rules have saved you a lot of time/money if you had enforced them from the start or at least before your product was rel... | stackexchange/codereview |
In a MongoDB database, I have a collection of items, and each item stores its creation date. I need to query this collection by date. I tried:
db.items.findOne({date:{new Date(1285947037*1000)}})
but it isn't returning anything. I got that timestamp using PHP ($date->sec, where $date is a MongoDate object from the da... | stackexchange/codereview |
Some basic questions, but most examples I see, only contain one view with one viewmodel and one viewmodellocator, so my questions are :
Does each viewmodel has it's own viewmodellocator ? (The snippet included in mvvm light toolkit for a viewmodellocator seem to imply this, as it generates a some methods eg. cleanup t... | stackexchange/codereview |
Could you tell me how to use HandbrakeCLI with coreaudio?
Found this unapplied patch http://trac.handbrake.fr/wiki/UnappliedPatches#coreAudio
but dont know how to build it myself on osx-snowleopard..
Can you help me?
| stackexchange/codereview |
I have an EditorFor Template for a Model Role as below. I also have EditorFor for Date which works fine when I use EditorFor directly from View but when I have EditoFor inside an editor for it doesn't work. Any idea?
Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl[ucsrManagementSystem.Models.ContactsInMa... | stackexchange/codereview |
If I had a class with a static property that is set when a user loads a particular page, is that static value unique to that users session?
In other words, if a second user then loads the page and sets the static property, will each user have a distinct value, or will both use the second users value?
| stackexchange/codereview |
We have started developing an application for location aware emergency service. The users can connect through computer,smart phone or even through WAP.
The problem we are facing is, we don't know how to get the location of the user who is asking for service. If it is GPS enabled smart phone, it can be located though th... | stackexchange/codereview |
List<Tuple<String, int[], int>>
I want to sort the List by the int from highest to lowest.
| stackexchange/codereview |
Below is an excerpt of a SQL Query that I am using to update a table to the correct datatypes if needed.
If NOT Exists(Select * From Information_Schema.Columns
Where Table_Name = N'RXINFO'
And Table_Schema = N'scriptassist'
And Column_Name = N'LastChanged'
And DATA_Type = N'TIMESTAMP'
AND IsN... | stackexchange/codereview |
i have read about this metrial and i am still dont understand it's core
e.g:
public static void Main()
{
person []p = new person[]{new student(),new worker()};
}
public class person
{
public void f1() { }
public virtual void f2() { }
}
public class student:person
{
public override void f2() { }
}
... | stackexchange/codereview |
I face a problem whenever the user tries to browse to second page via $_GET if they have submitted $_POST data.
if(!isset($_POST['submit'])) {
//search input box
}
else {
//search details output
//pagination code
}
Whenever user press page 2, it shows //search input box back.
I want search to show page 2 and not //sea... | stackexchange/codereview |
How do I get the value from a SPFieldBoolean object? Do I simply cast it to a boolean or do I need to do something further with it?
I am fetching it in an EventReceiver class during an ItemAdded event from properties.ListItem["fieldname"].
If there is a chance the field might not exist (and be null), how do I check for... | stackexchange/codereview |
I have two tables. Both are read using the read.table() function.
Table 1
A B C
S1 1 1 0
S2 2 0 NA
S3 0 2 1
Table 2
Pa Pb Pc
G1 0.12 0.65 0.001
G2 0.34 0.82 0.03
G3 0.2 0.64 0.87
I need to iterate over both tables. Specifically, I need to iterate over table one colum... | stackexchange/codereview |
<style>
.header {
float:left;
width:50%;
border:1px solid black;
}
</style>
<div style="width:100%;">
<div class="header">Hello</div>
<div class="header">World</div>
</div>
I want the two inner divs to appear beside each other fitting perfectly inside the parent. This happens when there is no bor... | stackexchange/codereview |
I need to calculate a chord`s starting and ending point, now I have the starting point which lies on the circumfrence of the circle and I also have the angle between starting point and ending point, but I cannot seem to find a way to determine the end of point of chord as it should lie on the circumfrence , I also have... | stackexchange/codereview |
I am looking for something similar to CSS's <!--[if IE]> decaration for JavaScript. I don't have time to find out why a line of code is not working in IE, and commenting it out doesn't break the page, so I am thinking "stuff IE" and looking for a way to comment the line out only for IE.
Any ideas?
| stackexchange/codereview |
I am appending 20 images in form by using loop.when i am scrolling these images up and down i want selected image index so that i can view bigger size of selected image.
i used this form.append(image)
is there any method or way to get selected item index in form like in list there is getSelectedIndex.
plz help me and ... | stackexchange/codereview |
I have a db with the following tables
user(id, name....)
restaurant(id, name...)
module (id, name )
status_messages(id, pid, message, module_id, ModuleID)
Module Refers to either Users or Restaurant.
Both Users and Restaurants can have status_messages.
When a user (id=21) sets a status message
(1, 1, 'Message', 1... | stackexchange/codereview |
I am trying to Render the Character "ٹ" according to my Font Style but it is not working. It is rendering the default font, not mine. Is there anything I am missing? Here is the code:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DT... | stackexchange/codereview |
I run an OData API. To control usage, an apikey affixed as an url parameter is required (I use a variation of this answer). I'd love for my users to be able to explore the data exposed by the API using LINQPad. Ufortunately, there's no way to tell LINQPad to stick the apikey parameter to the end of query urls.
Are ther... | stackexchange/codereview |
I have a model containing products. I would like to create a search form to allow users to apply compound filters to products as required. For example:
Products with a price of between '10' (text field) and '50' (text field) with a colour of 'Red', 'Green' or 'Blue' (check box fields) and a weight of 'Less than' (sele... | stackexchange/codereview |
Not much knowledge about Javcascript beyond using it for some Dynamic HTML. Now I'm venturing a bit into Ajax ground and have a problem with the following code (borrowed from
http://kpumuk.info/php/ajax-enabled-smarty-plugins-part-2-ajax_form/ and edited to fit my needs).
How can I pass the update_id parameter to the o... | stackexchange/codereview |
how?
Display the TextField in the form in the custom position (that is the position is dynamic).That is displaying the text field in a specific point,co-ordinates,position,etc in the form using j2me.
| stackexchange/codereview |
This is quite a strange problem, wasn't quite sure how to title it. The issue I have is some data rows in an SSIS task which need to be modified depending on other rows.
Name Location IsMultiple
Bob England
Jim Wales
John Scotland
Jane England
A simplifed dataset, with some names, their locations, and a column... | stackexchange/codereview |
This is a two part question.
1) Is there any way to get a csv file of all the entity data, including xdata, for an autocad dwg, either using autocad or some other method?
2) Is there an easy way to parse a autocad dxf file to get the entity data into a csv file?
| stackexchange/codereview |
Currently I am dealing with a large dataset and some queries are executing several hours. In the meantime I am doing other things. In order to use time efficiently I have been thinking about implementing the logic to send email or SMS message after the query is complete so I can analyze the data.
I know how to do it by... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.