PostId int64 13 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 3 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -33 210k | OwnerUndeletedAnswerCountAtPostTime int64 0 5.77k | Title stringlengths 10 250 | BodyMarkdown stringlengths 12 30k | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 47 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5,114,696 | 02/25/2011 07:29:54 | 633,731 | 02/25/2011 07:29:54 | 1 | 0 | c or any other language | hi can you teach me about how to get the following result during the runtime
(ex:) input: the men is the hen on when
out put : the number of 'he' in the above input is 4
| c | null | null | null | null | 02/25/2011 07:52:55 | not a real question | c or any other language
===
hi can you teach me about how to get the following result during the runtime
(ex:) input: the men is the hen on when
out put : the number of 'he' in the above input is 4
| 1 |
3,200,622 | 07/08/2010 04:13:13 | 381,699 | 07/02/2010 03:09:50 | 8 | 0 | Linux(Ubuntu) Terminal-how to view previous pages not visible anymore | When you scroll up, say to see a log, the first portion of it will not be visible since the terminal only supports a limited no. of lines. So if you want to scroll up and be able to see everything, at least a few pages up, how do you do it? | linux | terminal | null | null | null | null | open | Linux(Ubuntu) Terminal-how to view previous pages not visible anymore
===
When you scroll up, say to see a log, the first portion of it will not be visible since the terminal only supports a limited no. of lines. So if you want to scroll up and be able to see everything, at least a few pages up, how do you do it? | 0 |
5,706,771 | 04/18/2011 17:47:58 | 708,689 | 04/14/2011 20:08:20 | 157 | 22 | Best way to convert html entities to html characters | What I need to do is convert any html entities to the actual html character. It can be in javascript or preferable php.
Here's the senario. When I save content to the database from TinyMCE it converts it to html entities for me. That's all good and great when the webpage is rendered, but when I also what to put it i... | php | javascript | html-entities | null | null | null | open | Best way to convert html entities to html characters
===
What I need to do is convert any html entities to the actual html character. It can be in javascript or preferable php.
Here's the senario. When I save content to the database from TinyMCE it converts it to html entities for me. That's all good and great when... | 0 |
5,325,005 | 03/16/2011 12:07:30 | 402,681 | 07/26/2010 19:45:21 | 121 | 4 | Control size of the output of seqLogo? | I am using the `seqLogo` package to draw some sequence Logos. I need to make the logos wider, the default drawing makes the logos into square graphs. Is there a way to do this? | r | bioinformatics | sequence-diagram | logo | null | null | open | Control size of the output of seqLogo?
===
I am using the `seqLogo` package to draw some sequence Logos. I need to make the logos wider, the default drawing makes the logos into square graphs. Is there a way to do this? | 0 |
11,714,534 | 07/30/2012 01:45:00 | 798,937 | 06/15/2011 05:01:21 | 332 | 4 | MySQL database with Unique fields ignored ending spaces | My projects requires to start inputs from the user with the spacing on the left and spacing on the right of a word. for example 'apple', if the user types in ' apple' or 'apple ', whether it is one space or multiple space on the left or right of the word. I need to store it that way.
This field has Unique attribut... | mysql | mysql5 | null | null | null | null | open | MySQL database with Unique fields ignored ending spaces
===
My projects requires to start inputs from the user with the spacing on the left and spacing on the right of a word. for example 'apple', if the user types in ' apple' or 'apple ', whether it is one space or multiple space on the left or right of the word. I n... | 0 |
11,087,685 | 06/18/2012 17:08:22 | 1,353,070 | 04/24/2012 07:15:39 | 1 | 0 | Do we need paging Concept if we have more RAM size.....? | <html>
<body>
<p>`We use paging concept for memory virtualization concept right...?
If Have More RAM Size(About 60Gb it will not be there but if we have) Then do we need to use the paging concept for improving the performance....?`</p>
</body>
</html> | operating-system | paging | null | null | null | 06/18/2012 17:19:07 | off topic | Do we need paging Concept if we have more RAM size.....?
===
<html>
<body>
<p>`We use paging concept for memory virtualization concept right...?
If Have More RAM Size(About 60Gb it will not be there but if we have) Then do we need to use the paging concept for improving the performance....?`</p>
</body>
</html> | 2 |
936,735 | 06/01/2009 20:54:03 | 93,416 | 04/20/2009 20:31:26 | 25 | 1 | Updates to Records not allowed - Write Conflict | This stems from a previous question I asked - about a write conflict with a form, but the problem seems to be originating from the fact that I can update existing records in a linked table provided by one System DSN, but not another linked table provided by another DSN (different database) - allowing me to enter record... | ms-access | sql-server-2008-express | null | null | null | null | open | Updates to Records not allowed - Write Conflict
===
This stems from a previous question I asked - about a write conflict with a form, but the problem seems to be originating from the fact that I can update existing records in a linked table provided by one System DSN, but not another linked table provided by another D... | 0 |
8,772,309 | 01/07/2012 19:14:53 | 532,501 | 12/06/2010 15:39:26 | 1 | 0 | C++/CLI and Compiler Choice | Does Visual Studio produce only C++/CLI? I was told to avoid C++/CLI and the Ms compiler like plague.
I'd like to learn how to program platform independent software, so what 'true c++' compiler would you recommend? (Since from what I've gathered so far it seems that C++/CLI would bind me to Windows with it's depend... | c++-cli | platform | null | null | null | 01/08/2012 23:33:58 | not constructive | C++/CLI and Compiler Choice
===
Does Visual Studio produce only C++/CLI? I was told to avoid C++/CLI and the Ms compiler like plague.
I'd like to learn how to program platform independent software, so what 'true c++' compiler would you recommend? (Since from what I've gathered so far it seems that C++/CLI would bi... | 4 |
9,556,175 | 03/04/2012 15:33:49 | 349,853 | 05/25/2010 11:47:41 | 339 | 12 | Blocking all incoming sms expect for one on Android | I am wondering if there is an application on android that can help me block all incoming sms expect for one number.This number is the sender id which can be a number or a name. | java | android | qt | null | null | 03/04/2012 18:11:55 | off topic | Blocking all incoming sms expect for one on Android
===
I am wondering if there is an application on android that can help me block all incoming sms expect for one number.This number is the sender id which can be a number or a name. | 2 |
2,074,145 | 01/15/2010 19:19:35 | 251,807 | 01/15/2010 19:19:35 | 1 | 0 | Clasification Tree Plug-in Algorithm for SQL Server 2008 | I am facing a Data Mining problem and I'm forced to use MSSQL Server with Analysis Server. I have to implement CHAID algorithm in a way that once It is done, it'll be included in the Analysis Services available set of algorithms.
I want to use SQL Server Data Mining Managed Plug In. So I'm programming with C#. The d... | c# | sql-server-2008 | data-mining | null | null | null | open | Clasification Tree Plug-in Algorithm for SQL Server 2008
===
I am facing a Data Mining problem and I'm forced to use MSSQL Server with Analysis Server. I have to implement CHAID algorithm in a way that once It is done, it'll be included in the Analysis Services available set of algorithms.
I want to use SQL Server ... | 0 |
2,815,945 | 05/12/2010 03:24:53 | 231,002 | 12/14/2009 04:42:27 | 173 | 1 | Compile error when calling ToList() when accessing many to many with Linq To Entities | I can't figure out what I am doing wrong. I have the following method:
public IList<WObject> GetRelationshipMembers(int relId)
{
var members = from r in _container.ObjectRelationships
where r.Id == relId
select r.WObjects;
... | linq | c# | linq-to-entities | entity-framework | null | null | open | Compile error when calling ToList() when accessing many to many with Linq To Entities
===
I can't figure out what I am doing wrong. I have the following method:
public IList<WObject> GetRelationshipMembers(int relId)
{
var members = from r in _container.ObjectRelationships
... | 0 |
9,004,096 | 01/25/2012 14:13:33 | 1,058,077 | 11/21/2011 15:32:16 | 11 | 0 | Magento not taking new database details | Just moved a magento installation to a local server so I can do some work on it.
Changed my DB details in /app/etc/local.xml
Cleared cache and session by deleting the /var/cache/* and /var/session/*
Magento still throwing an error saying it can't connect to the database using theolduser@localhost.
This is... | php | mysql | database | magento | null | 02/01/2012 17:04:16 | not a real question | Magento not taking new database details
===
Just moved a magento installation to a local server so I can do some work on it.
Changed my DB details in /app/etc/local.xml
Cleared cache and session by deleting the /var/cache/* and /var/session/*
Magento still throwing an error saying it can't connect to the da... | 1 |
6,535,934 | 06/30/2011 13:59:03 | 46,914 | 12/17/2008 03:40:18 | 13,304 | 415 | Is an ID allowed to be empty in an HTML tag? | Is the ID attribute on an HTML element allowed to be empty?
<div id=""></div>
I'm using a template where the ID of the element is set by a variable which may not always have a value and I'm wondering if this could cause any unforeseen problems. | html | empty | html-attributes | null | null | null | open | Is an ID allowed to be empty in an HTML tag?
===
Is the ID attribute on an HTML element allowed to be empty?
<div id=""></div>
I'm using a template where the ID of the element is set by a variable which may not always have a value and I'm wondering if this could cause any unforeseen problems. | 0 |
6,416,084 | 06/20/2011 19:03:37 | 441,935 | 09/08/2010 00:39:21 | 108 | 5 | how to pass a list between views in django | I have a list in one view that I would like to pass to another view to be parsed.
This is what I currently have.
The views:
def view1(request):
if request.method=='POST':
list = request.POST.values()
HttpResponseRedirect('/urls/'+ str(list))
def view2(request, *list)... | python | django | null | null | null | null | open | how to pass a list between views in django
===
I have a list in one view that I would like to pass to another view to be parsed.
This is what I currently have.
The views:
def view1(request):
if request.method=='POST':
list = request.POST.values()
HttpResponseRedirect('/urls... | 0 |
7,728,799 | 10/11/2011 15:45:38 | 340,464 | 05/13/2010 16:07:05 | 1 | 0 | Mailchimp API (v1.3): addresses added with listSubscribe() don't appear in dashboard | I'm using Mailchimp's API (v1.3) to add email addresses to a subscriber list on one of our sites. Obviously, I'm using listSubscribe() and everything is working fine, for the most part (read: API call returns true, all of the data I'm sending to Mailchimp gets added/updated correctly).
The problem, however, is that ... | api | mailchimp | null | null | null | null | open | Mailchimp API (v1.3): addresses added with listSubscribe() don't appear in dashboard
===
I'm using Mailchimp's API (v1.3) to add email addresses to a subscriber list on one of our sites. Obviously, I'm using listSubscribe() and everything is working fine, for the most part (read: API call returns true, all of the data... | 0 |
11,330,543 | 07/04/2012 13:57:26 | 1,501,756 | 07/04/2012 13:48:49 | 1 | 0 | google places not working well when using type option | when i try to use google places and mark the url type option parameter as food, i get many results in most of them the type is establishment, i tried that in many places around the world, and the result is the same.
here is one example:
https://maps.googleapis.com/maps/api/place/search/xml?location=40.759611,-73.9... | google-places-api | null | null | null | null | 07/05/2012 15:19:04 | not a real question | google places not working well when using type option
===
when i try to use google places and mark the url type option parameter as food, i get many results in most of them the type is establishment, i tried that in many places around the world, and the result is the same.
here is one example:
https://maps.google... | 1 |
4,190,134 | 11/16/2010 00:20:07 | 458,960 | 09/26/2010 21:45:36 | 501 | 0 | Syntax of a return statement in Java | This is in one of my practice exams.
return search(p,key,0,p.length-1) !=null;
How would this look with if statements? | java | syntax | return-value | null | null | null | open | Syntax of a return statement in Java
===
This is in one of my practice exams.
return search(p,key,0,p.length-1) !=null;
How would this look with if statements? | 0 |
10,468,903 | 05/06/2012 07:23:30 | 1,377,738 | 05/06/2012 07:14:30 | 1 | 0 | RegEx for <title> with leading, trailing, linebreak | Most website I can parse its title easily with RegEx "<title>(.*)</title>" or "<title>\s*(.+?)\s*</title>". However some sites have a bit different formatting, like http://www.youtube.com (see below). The expression above does not work. Any help catching this kind of format and any other HTML formats?
Thanks
... | regex | null | null | null | null | null | open | RegEx for <title> with leading, trailing, linebreak
===
Most website I can parse its title easily with RegEx "<title>(.*)</title>" or "<title>\s*(.+?)\s*</title>". However some sites have a bit different formatting, like http://www.youtube.com (see below). The expression above does not work. Any help catching th... | 0 |
404,735 | 01/01/2009 08:44:51 | 50,477 | 12/31/2008 12:22:50 | 39 | 3 | Who doesn't trust a language whose sytax doesn't terminate with a semicolon? | A GENERAL question to programmers about how they feel about languages that terminate with a semicolon vs languages that don't (Ruby). | ruby | semicolon | terminate | null | null | 01/02/2009 04:58:40 | not constructive | Who doesn't trust a language whose sytax doesn't terminate with a semicolon?
===
A GENERAL question to programmers about how they feel about languages that terminate with a semicolon vs languages that don't (Ruby). | 4 |
10,467,556 | 05/06/2012 02:06:36 | 1,349,600 | 04/22/2012 13:59:56 | 1 | 0 | matplotlib installation in ubuntu 11.04 | I am new to programming. I am trying to install matplotlib in ubuntu 11.04. I want to plot simple graphs between 2 arrays. What do I need to type in ubuntu terminal to install matplotlib. | python | ubuntu | matplotlib | null | null | 05/07/2012 11:49:41 | off topic | matplotlib installation in ubuntu 11.04
===
I am new to programming. I am trying to install matplotlib in ubuntu 11.04. I want to plot simple graphs between 2 arrays. What do I need to type in ubuntu terminal to install matplotlib. | 2 |
10,062,857 | 04/08/2012 12:41:25 | 1,131,467 | 01/05/2012 06:10:26 | 2,039 | 82 | Algorithm: Compressing symbols into bitstrings by expected frequencies? | I have a table of 1 million symbols and their expected frequency.
I would like to compress sequences of these symbols by assigning each symbol a unique (and prefix unique) variable length bit string, and then concatenating these together to represent the sequence.
I would like to assign these bitstrings such that... | algorithm | encoding | compression | null | null | null | open | Algorithm: Compressing symbols into bitstrings by expected frequencies?
===
I have a table of 1 million symbols and their expected frequency.
I would like to compress sequences of these symbols by assigning each symbol a unique (and prefix unique) variable length bit string, and then concatenating these together to... | 0 |
8,319,262 | 11/29/2011 23:30:59 | 1,004,143 | 10/19/2011 22:36:16 | 13 | 0 | C Programming - Command Line Arg - Trying to take an IP Address | Our assignment is to have a server-client model....
We're supposed to check for a command line arg, if there is not one(argv = 1), we set up as a server. otherwise we use the argc[1] to setup the client socket...
It seems to run fine if I just use randomness for the argument, but when I try to put an address in,... | c | ip | argv | argc | null | null | open | C Programming - Command Line Arg - Trying to take an IP Address
===
Our assignment is to have a server-client model....
We're supposed to check for a command line arg, if there is not one(argv = 1), we set up as a server. otherwise we use the argc[1] to setup the client socket...
It seems to run fine if I just ... | 0 |
6,808,748 | 07/24/2011 18:22:31 | 860,441 | 07/24/2011 17:33:32 | 1 | 0 | WORDPRESS - PHP - STORELOCATOR - VIADAT | I've been racking my brains trying to sort this out but it doesn't seem to help.
I'm using this plugin http://www.viadat.com/store-locator/ and ive added a custom form field which is category.. But now i want to be able to search via that custom form field.
Below is the code:
$form="
<div id='sl_di... | php | wordpress | null | null | null | 07/24/2011 19:59:47 | not a real question | WORDPRESS - PHP - STORELOCATOR - VIADAT
===
I've been racking my brains trying to sort this out but it doesn't seem to help.
I'm using this plugin http://www.viadat.com/store-locator/ and ive added a custom form field which is category.. But now i want to be able to search via that custom form field.
Below is the ... | 1 |
610,699 | 03/04/2009 14:05:11 | 41,420 | 11/27/2008 16:42:26 | 193 | 17 | How to redirect to login page from a web service in an AJAX call? | I am using jQuery to call web service (*.asmx) methods. The web service uses FormsAuthentication to determine whether the calling user is authenticated. I am unable to return a redirect status code from the web method, e.g.
[WebMethod(EnableSession=true)]
public Dictionary<string, object> GetArchivedFiles(i... | asp.net | ajax | redirect | null | null | null | open | How to redirect to login page from a web service in an AJAX call?
===
I am using jQuery to call web service (*.asmx) methods. The web service uses FormsAuthentication to determine whether the calling user is authenticated. I am unable to return a redirect status code from the web method, e.g.
[WebMethod(EnableS... | 0 |
8,992,925 | 01/24/2012 19:34:30 | 1,074,077 | 11/30/2011 19:16:31 | 64 | 0 | ipa extension on iphone app | I'm new to iPhone/iPad development. I wonder why apple use ipa extension instead zip (which is file actually) for mobile apps.
Here is output from file app.ipa
app.ipa: Zip archive data, at least v1.0 to extract
Why don't they just use zip ? | iphone | null | null | null | null | 01/25/2012 18:01:37 | not a real question | ipa extension on iphone app
===
I'm new to iPhone/iPad development. I wonder why apple use ipa extension instead zip (which is file actually) for mobile apps.
Here is output from file app.ipa
app.ipa: Zip archive data, at least v1.0 to extract
Why don't they just use zip ? | 1 |
3,281,622 | 07/19/2010 13:48:44 | 6,291 | 09/13/2008 18:02:58 | 301 | 17 | When to include format inside file name for view templates | I have two identical controllers Submissions and Activities, both using the default resource mapping for routes. I want to use some RJS for the show method, both of which can be accessed as such as a GET request:
/submissions/1.js
/activities/1.js
I have show.rjs inside their respective view folders like... | ruby-on-rails | rjs | null | null | null | 01/20/2011 14:59:50 | too localized | When to include format inside file name for view templates
===
I have two identical controllers Submissions and Activities, both using the default resource mapping for routes. I want to use some RJS for the show method, both of which can be accessed as such as a GET request:
/submissions/1.js
/activities/1... | 3 |
4,859,018 | 02/01/2011 04:51:30 | 59,494 | 01/27/2009 20:14:23 | 2,471 | 70 | What is a good C# PDF library for form-heavy webapp? |
I am in need of recommendations for a good C# .NET PDF library for a web application that will make heavy use of PDF forms. First, the library needs to have commercial licensing. Also, it needs to have robust features for merging data into PDF forms, extracting data, flattening form fields that have data, etc. If the... | c# | pdf | forms | null | null | 07/24/2012 12:42:55 | not constructive | What is a good C# PDF library for form-heavy webapp?
===
I am in need of recommendations for a good C# .NET PDF library for a web application that will make heavy use of PDF forms. First, the library needs to have commercial licensing. Also, it needs to have robust features for merging data into PDF forms, extractin... | 4 |
2,502,270 | 03/23/2010 17:43:19 | 55,366 | 11/12/2008 20:15:20 | 148 | 5 | Put an AuiManager inside a AuiNotebook page. | Is it possible ho put an AuiManager inside an AuiNotebook page?
Have tested with a small sample code, but I only get a 'Segmentation fault'.
Is this possible to begin with? The reason why I want this is to split a notebook page in two parts and get the caption field and the maximize field in the top of each part ... | python | wxpython | wxwidgets | null | null | null | open | Put an AuiManager inside a AuiNotebook page.
===
Is it possible ho put an AuiManager inside an AuiNotebook page?
Have tested with a small sample code, but I only get a 'Segmentation fault'.
Is this possible to begin with? The reason why I want this is to split a notebook page in two parts and get the caption fie... | 0 |
7,950,956 | 10/31/2011 07:31:49 | 1,021,415 | 10/31/2011 04:58:32 | 1 | 0 | Stack based array in Objective-C declaration? | In Objective-C, I declare a C array like this:
>int length = 10;
>int a[length];
This does not cause any error in Xcode but other compliers like Visual Studio.
Please tell me how it works. Should I use it or use malloc/calloc instead?
| objective-c | arrays | stack-based | null | null | null | open | Stack based array in Objective-C declaration?
===
In Objective-C, I declare a C array like this:
>int length = 10;
>int a[length];
This does not cause any error in Xcode but other compliers like Visual Studio.
Please tell me how it works. Should I use it or use malloc/calloc instead?
| 0 |
7,549,013 | 09/25/2011 22:16:28 | 964,092 | 09/25/2011 21:54:11 | 1 | 0 | cannot REinstall VSTO 3 runtime after VSTO 4 is installed (hence office addins that need vsto3 wont work) | the background is I have a bog std win7 hp 32bit pc /kaspersky internet security with office 2k10 pro plus (electronic download if thats relevant) all genuine software kept patched fully to date
a couple of weeks ago i was looking for an outlook addin to update google tasks and tried one gogtasks which installed but... | outlook | vsto | outlook-addin | office | null | 05/01/2012 22:52:28 | too localized | cannot REinstall VSTO 3 runtime after VSTO 4 is installed (hence office addins that need vsto3 wont work)
===
the background is I have a bog std win7 hp 32bit pc /kaspersky internet security with office 2k10 pro plus (electronic download if thats relevant) all genuine software kept patched fully to date
a couple of... | 3 |
2,964,248 | 06/03/2010 08:14:11 | 266,115 | 02/04/2010 11:10:36 | 469 | 33 | Optimal rotation of 3D model for 2D projection | I'm looking for a way to determine the optimal X/Y/Z rotation of a set of vertices for rendering (using the X/Y coordinates, ignoring Z) on a 2D canvas.
I've had a couple of ideas, one being pure brute-force involving performing a 3-dimensional loop ranging from 0..359 (either in steps of 1 or more, depending on res... | math | 3d | canvas | 2d | rotation | null | open | Optimal rotation of 3D model for 2D projection
===
I'm looking for a way to determine the optimal X/Y/Z rotation of a set of vertices for rendering (using the X/Y coordinates, ignoring Z) on a 2D canvas.
I've had a couple of ideas, one being pure brute-force involving performing a 3-dimensional loop ranging from 0.... | 0 |
11,711,702 | 07/29/2012 18:08:51 | 1,286,130 | 03/22/2012 14:01:36 | 47 | 1 | SecurityError: Error #2010: Local-with-filesystem SWF files are not permitted to use sockets | I have just tried this tutorial: http://rhuno.com/flashblog/2011/05/22/tutorial-socket-server-with-flash-and-node-js/
It's working all fine when I test it in CS6. But when I try to just run the .swf file, I get this error.
SecurityError: Error #2010: Local-with-filesystem SWF files are not permitted to use so... | flash | sockets | null | null | null | null | open | SecurityError: Error #2010: Local-with-filesystem SWF files are not permitted to use sockets
===
I have just tried this tutorial: http://rhuno.com/flashblog/2011/05/22/tutorial-socket-server-with-flash-and-node-js/
It's working all fine when I test it in CS6. But when I try to just run the .swf file, I get this err... | 0 |
6,570,489 | 07/04/2011 10:54:07 | 827,973 | 07/04/2011 10:54:07 | 1 | 0 | coldfusion Rereplace function | I am using the following coldfuiosn REreplace function
<cfset variables.sAddress = #left(trim(REReplace(arguments.address, "[^-0-9a-zA-Z_/-/']", "", "ALL")),50)#/> where arguments.address is coming from the form.
I am using the rereplace function to remove the special characters , which is working fine on other ... | coldfusion | null | null | null | null | null | open | coldfusion Rereplace function
===
I am using the following coldfuiosn REreplace function
<cfset variables.sAddress = #left(trim(REReplace(arguments.address, "[^-0-9a-zA-Z_/-/']", "", "ALL")),50)#/> where arguments.address is coming from the form.
I am using the rereplace function to remove the special character... | 0 |
6,230,950 | 06/03/2011 18:08:16 | 565,968 | 01/06/2011 19:34:37 | 1,231 | 19 | linq insert: getting the row number | I have a table with the primary key as the identity column. I'm doing an insert with linq-to-sql and I was wondering if there's a way to return the ID of the row that was inserted and how we know for sure that the insert happened.
Thanks for your suggestions. | c# | linq | linq-to-sql | null | null | null | open | linq insert: getting the row number
===
I have a table with the primary key as the identity column. I'm doing an insert with linq-to-sql and I was wondering if there's a way to return the ID of the row that was inserted and how we know for sure that the insert happened.
Thanks for your suggestions. | 0 |
5,032,002 | 02/17/2011 16:57:35 | 434,218 | 08/29/2010 13:00:14 | 322 | 6 | Modify jQuery function to add onload | I have a page with several drop-down selectors. When an option is selected a matching piece of HTML is found and placed in the <div> immediately following the drop-down. When selection is made a function checks to make sure that not of the previously selected options is selected again. Here's what I have now:
$(... | jquery | null | null | null | null | null | open | Modify jQuery function to add onload
===
I have a page with several drop-down selectors. When an option is selected a matching piece of HTML is found and placed in the <div> immediately following the drop-down. When selection is made a function checks to make sure that not of the previously selected options is selecte... | 0 |
8,007,557 | 11/04/2011 10:03:12 | 885,798 | 08/09/2011 11:03:58 | 57 | 0 | selenium export file options php missing | I am using selenium for my php applicaiton, I am using php script to test, I am unable to find the option in file export file as php, I get java and other etc. Can anyone please help on this.
Thanks a lot
Max | selenium | null | null | null | null | null | open | selenium export file options php missing
===
I am using selenium for my php applicaiton, I am using php script to test, I am unable to find the option in file export file as php, I get java and other etc. Can anyone please help on this.
Thanks a lot
Max | 0 |
10,264,647 | 04/22/2012 02:11:34 | 1,349,022 | 04/22/2012 02:06:36 | 1 | 0 | Facebook deactivation doesn't work | I have been trying to deactivate my Facebook account since last week. When I click the "Deactivate your account" link on the security section, it doesn't work. I clicked many times but nothing happened. I tried on my friend's computer but didn't work. PLEASE HELP ME....... | facebook | deactivate | null | null | null | 04/22/2012 03:41:30 | off topic | Facebook deactivation doesn't work
===
I have been trying to deactivate my Facebook account since last week. When I click the "Deactivate your account" link on the security section, it doesn't work. I clicked many times but nothing happened. I tried on my friend's computer but didn't work. PLEASE HELP ME....... | 2 |
10,153,138 | 04/14/2012 11:12:50 | 1,328,639 | 04/12/2012 09:07:29 | 29 | 0 | nearest number as a list class | int targetnumber = 5;
I Wanna sort the list2 by nearest number Toplam to targetnumber
i.e :
list2.add(3,5,+,toplam = 8)
list2.add(3,5,-,toplam = -2)
list2.add(3,5,*,toplam = 15)
list2.add(3,5,/,toplam = 0)
The result is : 8, 0, -2, 15 (as a list class of course)
can you help ?
| c# | list | class | sorting | null | 04/15/2012 13:42:29 | not a real question | nearest number as a list class
===
int targetnumber = 5;
I Wanna sort the list2 by nearest number Toplam to targetnumber
i.e :
list2.add(3,5,+,toplam = 8)
list2.add(3,5,-,toplam = -2)
list2.add(3,5,*,toplam = 15)
list2.add(3,5,/,toplam = 0)
The result is : 8, 0, -2, 15 (as a list class of course)... | 1 |
6,314,403 | 06/11/2011 06:06:12 | 66,686 | 11/07/2008 21:58:32 | 7,409 | 375 | How do you avoid fixed resource | [Roy Fielding writes][1]
> A REST API must not define fixed
> resource names or hierarchies (an
> obvious coupling of client and
> server). Servers must have the freedom
> to control their own namespace.
> Instead, allow servers to instruct
> clients on how to construct
> appropriate URIs, such as is done in
... | rest | rest-client | null | null | null | null | open | How do you avoid fixed resource
===
[Roy Fielding writes][1]
> A REST API must not define fixed
> resource names or hierarchies (an
> obvious coupling of client and
> server). Servers must have the freedom
> to control their own namespace.
> Instead, allow servers to instruct
> clients on how to construct
> ... | 0 |
11,268,792 | 06/29/2012 20:52:45 | 1,492,135 | 06/29/2012 20:41:49 | 1 | 0 | "mediastreamvalidator" reports "segment duration is not finite" error | I'm currently working on converting h.264 elementary stream(es) to transport stream(ts), and then stream the ts file to ipad using http live streaming. Now I've finished the conversion part, the generated ts file works well on VLC and windows media player, but it doesn't work for quicktime or safari. When I use ffmpeg ... | ios | video-streaming | null | null | null | null | open | "mediastreamvalidator" reports "segment duration is not finite" error
===
I'm currently working on converting h.264 elementary stream(es) to transport stream(ts), and then stream the ts file to ipad using http live streaming. Now I've finished the conversion part, the generated ts file works well on VLC and windows me... | 0 |
8,764,253 | 01/06/2012 20:44:39 | 623,850 | 02/18/2011 22:03:05 | 321 | 7 | Google Chrome crashes without any log | I wrote a Chrome pop-up extension and it works fine. But when click else where to close pop-up, it crashes Chrome. I need some info as to why it is crashing to fix this issue. I tried looking at both the locations mentioned in this [question][1], but the directories are empty! Following are the errors I get.
>**Goog... | google-chrome-extension | null | null | null | null | null | open | Google Chrome crashes without any log
===
I wrote a Chrome pop-up extension and it works fine. But when click else where to close pop-up, it crashes Chrome. I need some info as to why it is crashing to fix this issue. I tried looking at both the locations mentioned in this [question][1], but the directories are empty!... | 0 |
1,641,859 | 10/29/2009 06:04:13 | 96,898 | 04/28/2009 05:10:13 | 94 | 3 | what is portlet programming in java can offer to us??? | even i do search in google, and read some of the article, but i still not clear what portlet in java can do for us (english is not my native language, sometime is hard to totally understand what people wrote)
i was discussing with my friend between java and php.
most of the php forum, they allow user to install... | java | portlet | web-applications | null | null | null | open | what is portlet programming in java can offer to us???
===
even i do search in google, and read some of the article, but i still not clear what portlet in java can do for us (english is not my native language, sometime is hard to totally understand what people wrote)
i was discussing with my friend between java a... | 0 |
3,865,737 | 10/05/2010 16:33:00 | 424,883 | 08/19/2010 06:42:13 | 26 | 1 | 2D Bounding box collission | i'm having some problems with collission in a small 2D game i'm writing. I'm currently working on a function that i want to find if the player character collides with a block, and which side of the block he collided with.
Currently i have something like (psuedo-code):
if(PLAYER_BOX IS WITHIN THE BLOCKS Y_RANG... | c++ | 2d | bounding-box | null | null | null | open | 2D Bounding box collission
===
i'm having some problems with collission in a small 2D game i'm writing. I'm currently working on a function that i want to find if the player character collides with a block, and which side of the block he collided with.
Currently i have something like (psuedo-code):
if(PLAYER... | 0 |
5,777,398 | 04/25/2011 10:18:50 | 493,619 | 11/01/2010 13:30:58 | 1 | 0 | Codeigniter global constant | I have define one variable inside the costants.php file of codeigniter but i want to know how to use that variable into the view file.
define('UPLOAD_PATH', "/var/www/vhosts/dev/htdocs/p/");
I want to use 'UPLOAD_PATH' variable in my view file but i dont know how to use it. | codeigniter | null | null | null | null | null | open | Codeigniter global constant
===
I have define one variable inside the costants.php file of codeigniter but i want to know how to use that variable into the view file.
define('UPLOAD_PATH', "/var/www/vhosts/dev/htdocs/p/");
I want to use 'UPLOAD_PATH' variable in my view file but i dont know h... | 0 |
1,415,592 | 09/12/2009 17:02:54 | 160,258 | 08/20/2009 18:14:58 | 187 | 24 | What is the major difference between a framework and a toolkit? | Does a framework allow you to abstract generic code - but not in a complete way (Ex: Abstract a network connection - but not what you actually do with the data), and does not solve any particular common requirement whereas a toolkit has solutions to generic problems(Ex: Dialog box widget)?
Real world Example: [Proto... | javascript | toolkit | frameworks | difference | null | 07/23/2012 01:07:00 | not constructive | What is the major difference between a framework and a toolkit?
===
Does a framework allow you to abstract generic code - but not in a complete way (Ex: Abstract a network connection - but not what you actually do with the data), and does not solve any particular common requirement whereas a toolkit has solutions to g... | 4 |
8,688,406 | 12/31/2011 13:35:42 | 846,050 | 07/15/2011 08:16:35 | 63 | 9 | How can I make XCursor Themes "lefty" | I have some XCursor themes I like. But since I'm a left hander I want to know if I can use some setting option in Xdefaults that make "Lefty" cursors the default.
Or do I have to get specific lefty themes, or do I have to hack those themes do some rename|symlink trick? | linux | xorg | null | null | null | null | open | How can I make XCursor Themes "lefty"
===
I have some XCursor themes I like. But since I'm a left hander I want to know if I can use some setting option in Xdefaults that make "Lefty" cursors the default.
Or do I have to get specific lefty themes, or do I have to hack those themes do some rename|symlink trick? | 0 |
10,453,186 | 05/04/2012 17:06:16 | 239,168 | 12/27/2009 13:28:29 | 4,216 | 121 | Is there a JavaScript API to send logs to a cloud logging service (like papertrail)? | I have some key events that are captured on the client side, and I would like to aggregate them easily. Instead of sending them to my server and pushing to [Papertrail][1], is there any service out there that has a RESTful API to send logs? (or a JQuery plugin for Papertrail?)
[1]: http://papertrailapp.com | javascript | jquery | logging | papertrail | null | null | open | Is there a JavaScript API to send logs to a cloud logging service (like papertrail)?
===
I have some key events that are captured on the client side, and I would like to aggregate them easily. Instead of sending them to my server and pushing to [Papertrail][1], is there any service out there that has a RESTful API to ... | 0 |
3,353,496 | 07/28/2010 13:48:56 | 233,421 | 12/17/2009 00:41:31 | 816 | 0 | What is Locking in MySQL and when would you use it? | What is Locking in MySQL (or any RDBMS) and when would you use it? A Layman explanation with a Example would be great!
Thank you in advance;-) | sql | mysql | sql-server | oracle | postgresql | 07/19/2012 02:02:30 | not constructive | What is Locking in MySQL and when would you use it?
===
What is Locking in MySQL (or any RDBMS) and when would you use it? A Layman explanation with a Example would be great!
Thank you in advance;-) | 4 |
8,886,997 | 01/16/2012 22:11:09 | 189,336 | 10/13/2009 18:22:59 | 561 | 4 | Being 'nice' with I/O: limiting a processes I/O resources in *nix | I'm working on a big shared Ubuntu server and am annoying my colleagues. One of my processes is making a lot of inserts into a MySQL database and it's bogging the whole server down.
MySQL is not using much of the CPU resources nor much of the RAM. If that were the case I could use the tools 'nice' and 'ulimit' to ... | unix | null | null | null | null | 01/17/2012 00:50:59 | off topic | Being 'nice' with I/O: limiting a processes I/O resources in *nix
===
I'm working on a big shared Ubuntu server and am annoying my colleagues. One of my processes is making a lot of inserts into a MySQL database and it's bogging the whole server down.
MySQL is not using much of the CPU resources nor much of the RA... | 2 |
11,283,701 | 07/01/2012 16:25:36 | 811,335 | 06/22/2011 23:50:49 | 1,268 | 92 | how to specify the length of edge in graphviz | In a directed graph, if there is a cycle, the graphviz makes that edge really short.
Is there a parameter that would let me change the length of the cyclic edge, so that
the graph looks a bit uniform.
| graphviz | null | null | null | null | null | open | how to specify the length of edge in graphviz
===
In a directed graph, if there is a cycle, the graphviz makes that edge really short.
Is there a parameter that would let me change the length of the cyclic edge, so that
the graph looks a bit uniform.
| 0 |
1,436,476 | 09/17/2009 02:41:23 | 174,718 | 09/17/2009 02:41:23 | 1 | 0 | Internship in ColdFusion? | I am a programming student in college. A company that uses ColdFusion has offered me an internship. Would it be a wise move, career wise, to take this internship? | coldfusion | internship | career-development | null | null | 01/23/2012 03:47:51 | off topic | Internship in ColdFusion?
===
I am a programming student in college. A company that uses ColdFusion has offered me an internship. Would it be a wise move, career wise, to take this internship? | 2 |
10,740,143 | 05/24/2012 15:04:07 | 1,014,237 | 10/26/2011 09:05:09 | 1,427 | 96 | Get current active Window title in C | I want to write an X-Chat plugin where users will be able to perform a CTCP request to my client, whereby the plugin/X-Chat will respond with my current active window title.
This would be really cool for fellow IRC users to see what I'm up to to allow them to determine what I'm doing if I'm full screen (playing a ga... | c | windows | winapi | null | null | null | open | Get current active Window title in C
===
I want to write an X-Chat plugin where users will be able to perform a CTCP request to my client, whereby the plugin/X-Chat will respond with my current active window title.
This would be really cool for fellow IRC users to see what I'm up to to allow them to determine what ... | 0 |
9,179,128 | 02/07/2012 15:39:49 | 352,821 | 05/28/2010 11:15:24 | 300 | 6 | PHP Algorithm help - math |
I am messing around with some php game development and I'm horrible at math and really need help with this algorithm.
I have the number 28 and 94 and I want the outcome of this algorithm to be 27,050.
Can use any equation possible to get to that that outcome...
BUT using the exact same math path above I have... | php | algorithm | math | null | null | 02/08/2012 16:16:52 | not constructive | PHP Algorithm help - math
===
I am messing around with some php game development and I'm horrible at math and really need help with this algorithm.
I have the number 28 and 94 and I want the outcome of this algorithm to be 27,050.
Can use any equation possible to get to that that outcome...
BUT using the ex... | 4 |
5,453,618 | 03/28/2011 00:46:40 | 629,417 | 02/23/2011 02:06:43 | 28 | 0 | generate recovery script oracle for database | I have been told I need to create an sql script that recreates all of the tables/procedures/triggers/views/sequences, etc of my current database. Does anybody have any idea how I go about doing this? It is an oracle 10g express database. | oracle10g | null | null | null | null | 03/28/2011 13:05:24 | off topic | generate recovery script oracle for database
===
I have been told I need to create an sql script that recreates all of the tables/procedures/triggers/views/sequences, etc of my current database. Does anybody have any idea how I go about doing this? It is an oracle 10g express database. | 2 |
8,203,043 | 11/20/2011 16:53:27 | 195,445 | 10/23/2009 16:36:40 | 1 | 0 | What is the right way to develop a HTML5 poker application with .NET and Asp.NET MVC backend? | i would like to develop a HTML5 poker game with .net and Asp.Net MVC backend. What i would like to learn is that there are a lot of sections in the application that needs to be refreshed all the time.
Here is a sample scenario :
Let's assume there's an active poker table. Players must decide what to(call, check, ... | .net | html5 | poker | null | null | 11/20/2011 17:15:10 | not constructive | What is the right way to develop a HTML5 poker application with .NET and Asp.NET MVC backend?
===
i would like to develop a HTML5 poker game with .net and Asp.Net MVC backend. What i would like to learn is that there are a lot of sections in the application that needs to be refreshed all the time.
Here is a sample... | 4 |
3,345,215 | 07/27/2010 15:28:03 | 144,140 | 07/23/2009 23:38:33 | 91 | 14 | jQuery tools date time picker | can anyone recommend me some jQuery tools date time picker, on official jQuery tools site there is only date picker but I am looking for plugin that has time extension.
Thanks a lot. | jquery | date | time | picker | null | null | open | jQuery tools date time picker
===
can anyone recommend me some jQuery tools date time picker, on official jQuery tools site there is only date picker but I am looking for plugin that has time extension.
Thanks a lot. | 0 |
4,873,926 | 02/02/2011 11:31:33 | 448,078 | 09/15/2010 06:58:29 | 23 | 1 | Is there any kind of 'enterprise container' needed in java? | Have philosophic question.<br>
Why is it worth to have kind of 'enterprise container' in java. Why not support enterprise container features on JVM level?<br>
For example what if I want to use some of EJB features in my desktop application. Is here something wrong in architecture point of view?<br>
You CAN use Sprin... | java | java-ee | philosophy | null | null | 02/04/2011 02:48:12 | not a real question | Is there any kind of 'enterprise container' needed in java?
===
Have philosophic question.<br>
Why is it worth to have kind of 'enterprise container' in java. Why not support enterprise container features on JVM level?<br>
For example what if I want to use some of EJB features in my desktop application. Is here some... | 1 |
8,529,943 | 12/16/2011 04:55:44 | 1,101,249 | 12/16/2011 04:53:14 | 1 | 0 | invalid literal for int() with base 10: ' ' | Why isn't this working?
f = open("dna.txt", "r")
data = f.readlines()
sequence1 = data[1]
sequence2 = data[2]
f = open ("matrix.txt", "r")
data = f.readlines ()
for i in range (0, len(data), 1):
data[i] = data[i].strip("\n")
subst_matrix = {}
nuc = [' ', 'A', 'R', 'N', 'D', 'C', 'Q... | python | bioinformatics | null | null | null | 12/16/2011 13:12:26 | not a real question | invalid literal for int() with base 10: ' '
===
Why isn't this working?
f = open("dna.txt", "r")
data = f.readlines()
sequence1 = data[1]
sequence2 = data[2]
f = open ("matrix.txt", "r")
data = f.readlines ()
for i in range (0, len(data), 1):
data[i] = data[i].strip("\n")
subst_matri... | 1 |
3,217,606 | 07/10/2010 02:41:44 | 345,579 | 04/07/2010 22:13:03 | 43 | 2 | is there any site for broadcasting live shows? | please delete the question if this site is not the right place to post this question
I am looking for a site where I can log in and create events that I can broadcast. broadcast will be live and users who come to the site can watch it . And when an user logs on to watch my broadcast I can see the list of users and t... | php | mysql | broadcast | null | null | 07/10/2010 02:52:21 | off topic | is there any site for broadcasting live shows?
===
please delete the question if this site is not the right place to post this question
I am looking for a site where I can log in and create events that I can broadcast. broadcast will be live and users who come to the site can watch it . And when an user logs on to ... | 2 |
2,941,408 | 05/31/2010 04:47:12 | 321,008 | 04/20/2010 06:05:00 | 30 | 1 | How to get a detailed report of scans performed by spam-assassin? | I am planning to setup spam-assassin in my mail server for filtering out spam mails. I would like to get a detailed report of spam checks performed on incoming mails. This will help me in creating custom rules , so that legitimate mails wont be labeled as spam. Please tell me how to configure spam-assassin so that i ge... | spam | email-spam | spamassassin | spam-blocking | null | 05/31/2010 12:55:36 | off topic | How to get a detailed report of scans performed by spam-assassin?
===
I am planning to setup spam-assassin in my mail server for filtering out spam mails. I would like to get a detailed report of spam checks performed on incoming mails. This will help me in creating custom rules , so that legitimate mails wont be labe... | 2 |
8,199,053 | 11/20/2011 02:40:04 | 376,947 | 06/26/2010 12:43:39 | 1,477 | 7 | How to detach jquery event (function) from element | I want to remove this click event if my ajax request is succesful:
$('.el a').live('click', function(event){
event.preventDefault();
$.ajax({
url: $(this).attr('href'),
type: 'GET',
success: function(response){
// how to detac... | javascript | jquery | events | null | null | null | open | How to detach jquery event (function) from element
===
I want to remove this click event if my ajax request is succesful:
$('.el a').live('click', function(event){
event.preventDefault();
$.ajax({
url: $(this).attr('href'),
type: 'GET',
success: funct... | 0 |
10,966,485 | 06/10/2012 05:06:29 | 1,086,778 | 12/08/2011 00:38:13 | 6 | 0 | Jquery Layout ui overflow:hidden | Hi there I am currently using jquery.layout and i am wanting to change the overflow of ui-layout-container to visable, any suggestions would be greatly appreciated !
Thanks | jquery-ui | jquery-layout | null | null | null | 06/10/2012 22:50:59 | not a real question | Jquery Layout ui overflow:hidden
===
Hi there I am currently using jquery.layout and i am wanting to change the overflow of ui-layout-container to visable, any suggestions would be greatly appreciated !
Thanks | 1 |
7,516,715 | 09/22/2011 14:44:41 | 959,288 | 09/22/2011 14:08:12 | 1 | 0 | Custom Post "Variations" | I'm a relatively new WP developer in the process of putting together a new website and am looking for some advice on "strategy."
For simplicity, this will more or less be a "product catalog," or a listing of many items and their attributes. Thus far I have developed a custom post type (items), the associated taxono... | wordpress | wordpress-plugin-dev | null | null | null | 10/03/2011 12:12:07 | too localized | Custom Post "Variations"
===
I'm a relatively new WP developer in the process of putting together a new website and am looking for some advice on "strategy."
For simplicity, this will more or less be a "product catalog," or a listing of many items and their attributes. Thus far I have developed a custom post type ... | 3 |
6,493,821 | 06/27/2011 13:45:28 | 752,322 | 05/13/2011 12:05:01 | 1 | 0 | reload/update page javascript | I think that my question is actually very simple and I thought the answer was somewhere hidden in some related questions. But I couldn't get my code to work, so here is my problem:
I need to read a file that is non-periodically chanced and do really nice stuffs with the data in it. So far, I've been doing this "loca... | reload | setinterval | null | null | null | null | open | reload/update page javascript
===
I think that my question is actually very simple and I thought the answer was somewhere hidden in some related questions. But I couldn't get my code to work, so here is my problem:
I need to read a file that is non-periodically chanced and do really nice stuffs with the data in it.... | 0 |
5,665,504 | 04/14/2011 15:19:05 | 597,388 | 01/31/2011 19:44:20 | 93 | 1 | devise - show required fields | is there a way to get devise to show * for required fields on sign up page in views?
rails 3.0.5 devise 1.2 | ruby-on-rails | devise | null | null | null | null | open | devise - show required fields
===
is there a way to get devise to show * for required fields on sign up page in views?
rails 3.0.5 devise 1.2 | 0 |
1,759,798 | 11/18/2009 23:10:22 | 214,167 | 11/18/2009 22:51:34 | 1 | 0 | Visual Studio 2008 Report Server Project Design View not working. | When I create a new report or try to open an existing report that has been working in Visual Studio 2008 Report Server Project. I cannot view the design. All I get is html of the report. I've tried reinstalling VS2008 and BIDS, but hasn't worked. This was all working when I last used it 2 weeks ago.
-nate | visual-studio-2008 | reporting-services | designview | bids | null | null | open | Visual Studio 2008 Report Server Project Design View not working.
===
When I create a new report or try to open an existing report that has been working in Visual Studio 2008 Report Server Project. I cannot view the design. All I get is html of the report. I've tried reinstalling VS2008 and BIDS, but hasn't worked. Th... | 0 |
11,424,540 | 07/11/2012 02:01:24 | 1,516,407 | 07/11/2012 01:56:08 | 1 | 0 | Verify if String is hexadecimal | sorry for mi english, i'm from Argentina, and my question is because i have an String like "09a" and i need a method to confirm if the text is hexadecimal, i'm gonna put one code similar, but it verify if a string its an decimal number, i want the same, but for hexadecimal.
thank you very, very mutch !
private... | string | hex | null | null | null | null | open | Verify if String is hexadecimal
===
sorry for mi english, i'm from Argentina, and my question is because i have an String like "09a" and i need a method to confirm if the text is hexadecimal, i'm gonna put one code similar, but it verify if a string its an decimal number, i want the same, but for hexadecimal.
thank y... | 0 |
8,556,592 | 12/19/2011 02:40:16 | 826,671 | 07/03/2011 07:16:25 | 51 | 2 | How would I make an if statement for if a UILabel says a perticuallr phrase? | I have a UILabel that I want to add an 'if' statement to using an NSTimer. When the UILabel says @"3" I want the 'if' statemnt to bring up a UIAlertView. How would I do this?
Any help thanked,
user829971 | iphone | xcode | xcode4.2 | uialertview | ios5-sdk | null | open | How would I make an if statement for if a UILabel says a perticuallr phrase?
===
I have a UILabel that I want to add an 'if' statement to using an NSTimer. When the UILabel says @"3" I want the 'if' statemnt to bring up a UIAlertView. How would I do this?
Any help thanked,
user829971 | 0 |
11,574,668 | 07/20/2012 07:19:05 | 1,528,508 | 07/16/2012 09:55:19 | 1 | 0 | what is wrong with the logic of my code? i need to find the oldest and youngest student. the end user has to enter the bday into a string | DateTime young = DateTime.MinValue;
DateTime old = DateTime.MinValue;
foreach (var d in students)
{
try
{
DateTime dt = Convert.ToDateTime(d.dob);... | c# | datetime | null | null | null | null | open | what is wrong with the logic of my code? i need to find the oldest and youngest student. the end user has to enter the bday into a string
===
DateTime young = DateTime.MinValue;
DateTime old = DateTime.MinValue;
foreach (var d in students)
... | 0 |
5,835,641 | 04/29/2011 18:05:23 | 565,635 | 01/06/2011 15:21:05 | 4,076 | 246 | SDL_TTF system font | Is there any way to use the default system font with SDL_TFF, without writing platform-specific code? Currently I just use one of the [GNU FreeFont's](http://www.gnu.org/software/freefont/), but I would like to be able to use the default system font. | c++ | cross-platform | system-font | sdl-ttf | null | null | open | SDL_TTF system font
===
Is there any way to use the default system font with SDL_TFF, without writing platform-specific code? Currently I just use one of the [GNU FreeFont's](http://www.gnu.org/software/freefont/), but I would like to be able to use the default system font. | 0 |
7,703,854 | 10/09/2011 13:34:52 | 476,756 | 10/15/2010 10:12:33 | 305 | 4 | Large out-of-range numbers appear in C++ rand() | Need to have an array full of random numbers within range. Code:
void fillArray(int *arr){
for(int i=0;i<(sizeof arr);i++){
arr[i] = rand() % 2 - 2;
}
}
int *arrPoint(int *arr, int max){
for (int i=0;i<max;i++){
printf("%d i... | c++ | random | null | null | null | null | open | Large out-of-range numbers appear in C++ rand()
===
Need to have an array full of random numbers within range. Code:
void fillArray(int *arr){
for(int i=0;i<(sizeof arr);i++){
arr[i] = rand() % 2 - 2;
}
}
int *arrPoint(int *arr, int max){
... | 0 |
8,930,427 | 01/19/2012 17:21:37 | 401,828 | 07/25/2010 23:45:11 | 860 | 44 | Is it possible to use HTML5 canvas API to batch generate images non-interactively via script? | Currently, when I need to create some images for scientific visualization (generally, from CSV files or other data-container), I use Python as scripting language, and Cairo as drawing API. It allows me to run a script, and have a directory full of .png files.
Although Cairo is a very nice drawing API, I see Canvas, ... | python | browser | script | html5-canvas | batch-processing | null | open | Is it possible to use HTML5 canvas API to batch generate images non-interactively via script?
===
Currently, when I need to create some images for scientific visualization (generally, from CSV files or other data-container), I use Python as scripting language, and Cairo as drawing API. It allows me to run a script, an... | 0 |
10,337,119 | 04/26/2012 16:02:02 | 1,072,345 | 11/29/2011 22:56:10 | 1 | 0 | jQuery content loading script - Help finding the code | Afternoon all,
Im trying to find a jquery content loading script,
im currently developing a video site,
(for example if the user clicks most viewed it will change the videos getting the source of the videos from a php document)
<div id="video-section" class="with-ads">
<!-- Videos Go Here -->
... | jquery | dynamic | content | loading | null | 04/27/2012 11:18:36 | not a real question | jQuery content loading script - Help finding the code
===
Afternoon all,
Im trying to find a jquery content loading script,
im currently developing a video site,
(for example if the user clicks most viewed it will change the videos getting the source of the videos from a php document)
<div id="video-se... | 1 |
8,886,020 | 01/16/2012 20:44:08 | 298,172 | 03/20/2010 21:23:46 | 88 | 1 | Browser statistics, do any major sites publish them | Do any major sites publish their web stats, specifically browser information?
| browser-compatibility | web-statistics | null | null | null | 01/17/2012 12:11:36 | off topic | Browser statistics, do any major sites publish them
===
Do any major sites publish their web stats, specifically browser information?
| 2 |
7,882,267 | 10/24/2011 21:32:08 | 958,880 | 09/22/2011 10:21:02 | 11 | 0 | is it possible to change the values of RotateAnimation in android while it's running? | I'm using RotateAnimation and i want to change the animation while it's running, for example, changing the "toDegrees" parameter and thous making the animation shorter or longer.
Thanks. | android | animation | rotateanimation | null | null | null | open | is it possible to change the values of RotateAnimation in android while it's running?
===
I'm using RotateAnimation and i want to change the animation while it's running, for example, changing the "toDegrees" parameter and thous making the animation shorter or longer.
Thanks. | 0 |
8,042,074 | 11/07/2011 20:17:25 | 288,032 | 03/07/2010 02:26:49 | 758 | 25 | How can I watch LDAP traffic on port 389? | I use Charles Web Debugging Proxy to watch traffic on ports 80 / 443 for HTTP and HTTPS requests. With Mac OS X, what program can I use to watch traffic on port 389 / 636 for `ldap://` and `ldaps://`? I'm interested in seeing the actual requests / responses, partially to see how secure they are and what the differences... | debugging | proxy | ldap | packet-sniffers | sniffing | null | open | How can I watch LDAP traffic on port 389?
===
I use Charles Web Debugging Proxy to watch traffic on ports 80 / 443 for HTTP and HTTPS requests. With Mac OS X, what program can I use to watch traffic on port 389 / 636 for `ldap://` and `ldaps://`? I'm interested in seeing the actual requests / responses, partially to s... | 0 |
9,804,065 | 03/21/2012 11:49:47 | 1,283,252 | 03/21/2012 11:41:31 | 1 | 0 | I need facebook button click event | I have one page on which I placed FB login button.
It works like, user will click on button and popup will display in which user will enter fb details and log in.
Now if I will come on that page again on which I had fb login button, it is redirecting me to some page (which I have mentioned in script). But what I ... | facebook | null | null | null | null | 03/21/2012 12:08:53 | not a real question | I need facebook button click event
===
I have one page on which I placed FB login button.
It works like, user will click on button and popup will display in which user will enter fb details and log in.
Now if I will come on that page again on which I had fb login button, it is redirecting me to some page (which ... | 1 |
1,626,325 | 10/26/2009 18:00:26 | 170,013 | 09/08/2009 07:05:58 | 43 | 3 | How to begin working with GwtQuery? | I've dived into the GWT world a couple of months ago and find it quite interesting.
I'm currently developing a web application which is to be used internally and so we need to resize the browser window, which can only be done by JSNI. After hitting [some problems][1]
regarding the JSNI I was advised to look into `jq... | gwt | jquery | javascript | tutorials | null | null | open | How to begin working with GwtQuery?
===
I've dived into the GWT world a couple of months ago and find it quite interesting.
I'm currently developing a web application which is to be used internally and so we need to resize the browser window, which can only be done by JSNI. After hitting [some problems][1]
regardin... | 0 |
4,551,783 | 12/29/2010 05:47:47 | 184,730 | 10/06/2009 04:02:06 | 7,116 | 636 | No grammar constraints (DTD or XML schema) detected for the document. | I have this dtd : http://fast-code.sourceforge.net/template.dtd
But when I include in an xml I get the warning :
No grammar constraints (DTD or XML schema) detected for the document.
The xml is :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE templates PUBLIC "//UNKNOWN/" "http://fast-code.sourceforg... | xml | validation | dtd | null | null | null | open | No grammar constraints (DTD or XML schema) detected for the document.
===
I have this dtd : http://fast-code.sourceforge.net/template.dtd
But when I include in an xml I get the warning :
No grammar constraints (DTD or XML schema) detected for the document.
The xml is :
<?xml version="1.0" encoding="UTF-8... | 0 |
6,497,553 | 06/27/2011 18:57:02 | 665,446 | 03/18/2011 03:24:45 | 16 | 1 | Exclusive processes, running into a virtual desktop in MACOSX | the problem here it's that I need to run one process inside an Instance of a virtual desktop on MACOSX snow leopard. But for example when I make a test on SPACES which is the default desktop manager wich comes with MACOSX I realize that processes are shared between the desktops, so eventually I could kill any process ... | osx | parallel-processing | desktop | quartz-graphics | osx-leopard | 11/11/2011 09:40:40 | off topic | Exclusive processes, running into a virtual desktop in MACOSX
===
the problem here it's that I need to run one process inside an Instance of a virtual desktop on MACOSX snow leopard. But for example when I make a test on SPACES which is the default desktop manager wich comes with MACOSX I realize that processes are s... | 2 |
6,268,167 | 06/07/2011 16:02:33 | 73,804 | 03/04/2009 17:14:23 | 1,128 | 88 | Help DataBinding to Checkbox in WPF |
I have a CheckBox in a ListBox. I set the ListBox ItemsSource to a List of Agency. Agency has a property
public class Agency
{
public bool isSelected { get; set;}
}
<ListBox> <!-- ItemsSource set in codebehind to List<Agency> -->
<CheckBox IsChecked="{Binding Path=isSelected... | wpf | data-binding | null | null | null | null | open | Help DataBinding to Checkbox in WPF
===
I have a CheckBox in a ListBox. I set the ListBox ItemsSource to a List of Agency. Agency has a property
public class Agency
{
public bool isSelected { get; set;}
}
<ListBox> <!-- ItemsSource set in codebehind to List<Agency> -->
<Che... | 0 |
7,209,055 | 08/26/2011 18:29:49 | 408,947 | 08/02/2010 18:34:44 | 88 | 12 | custom button on uinavigationbar not respnding | Ive working on an ios app and i am currently trying to add custom buttons to my navbar.
UIBarButtonItem *optButton = [[UIBarButtonItem alloc]
initWithTitle:@"Option1"
style:UIBarBu... | iphone | objective-c | ios | null | null | null | open | custom button on uinavigationbar not respnding
===
Ive working on an ios app and i am currently trying to add custom buttons to my navbar.
UIBarButtonItem *optButton = [[UIBarButtonItem alloc]
initWithTitle:@"Option1"
... | 0 |
5,014,078 | 02/16/2011 08:23:22 | 615,733 | 02/14/2011 05:16:14 | 1 | 0 | SQL UPDATE : You can't specify target table 'nilai_mhs' for update in FROM clause " | i have query like:
UPDATE nilai_mhs
SET status_nilai = 3
where
id_kode_mk =
(SELECT e.id_kode_mk
FROM nilai_mhs c, tbl_mhs d,master_mk e,tbl_mk_pertahun f
WHERE
c.nim = d.nim
AND
c.id_kode_mk = e.id_kode_mk
AND
e.id_kode_mk = f.id_kode_mk
AND
c.nim = '20081001010125'
AND
c.status_nilai =2
AND
... | mysql | null | null | null | null | null | open | SQL UPDATE : You can't specify target table 'nilai_mhs' for update in FROM clause "
===
i have query like:
UPDATE nilai_mhs
SET status_nilai = 3
where
id_kode_mk =
(SELECT e.id_kode_mk
FROM nilai_mhs c, tbl_mhs d,master_mk e,tbl_mk_pertahun f
WHERE
c.nim = d.nim
AND
c.id_kode_mk = e.id_kode_mk
AND
e... | 0 |
8,735,134 | 01/04/2012 22:39:30 | 69,654 | 02/22/2009 19:42:51 | 1,129 | 44 | Sort by rate from homes with multiple rates | I am developing a holiday rentals site and each home has multiple rates. So I have a table homes and a table rates . When I fetch the using this sql `SELECT * FROM homes INNER JOIN rates ON rates.home_id = homes.id GROUP BY homes.id ORDER BY rates.price ASC` the results are not correct. I get mixed prices and from mini... | mysql | sorting | order-by | null | null | null | open | Sort by rate from homes with multiple rates
===
I am developing a holiday rentals site and each home has multiple rates. So I have a table homes and a table rates . When I fetch the using this sql `SELECT * FROM homes INNER JOIN rates ON rates.home_id = homes.id GROUP BY homes.id ORDER BY rates.price ASC` the results ... | 0 |
11,747,149 | 07/31/2012 19:02:44 | 1,462,243 | 06/17/2012 18:49:58 | 5 | 1 | jQuery consuming JSON WCF DataContractJsonSerializer | How do I consume the following json web service in jQuery ?
public static string Serialize(object obj)
{
if (obj == null)
{
string temp = "";
temp = "";
obj = temp;
}
var jsonSerializer = ... | c# | jquery | wcf | null | null | 07/31/2012 19:32:06 | not a real question | jQuery consuming JSON WCF DataContractJsonSerializer
===
How do I consume the following json web service in jQuery ?
public static string Serialize(object obj)
{
if (obj == null)
{
string temp = "";
temp = "";
obj = temp;
... | 1 |
11,491,039 | 07/15/2012 10:02:15 | 1,526,722 | 07/15/2012 09:54:26 | 1 | 0 | How to give this context grammar | How to create a context free grammar for L={w∈{a,b,c}*|w has more as than bs} | homework | context-free-grammar | null | null | null | 07/16/2012 12:14:55 | off topic | How to give this context grammar
===
How to create a context free grammar for L={w∈{a,b,c}*|w has more as than bs} | 2 |
4,316,531 | 11/30/2010 17:21:59 | 525,503 | 11/30/2010 17:21:59 | 1 | 0 | Neosurge and Termination of my Service However I Paid | I have a complex problem. I bouth two vps service from neosurge. One of them billed at 15th and other 26th. I paiding form paypal. I paided twice the 15th one. Hence i have funds to pay the 26th one. Neosurge send a bill to say you have to pay $0. My credit card expired however i did not change settings at paypal to pr... | service | payment | law | null | null | 12/01/2010 01:44:21 | off topic | Neosurge and Termination of my Service However I Paid
===
I have a complex problem. I bouth two vps service from neosurge. One of them billed at 15th and other 26th. I paiding form paypal. I paided twice the 15th one. Hence i have funds to pay the 26th one. Neosurge send a bill to say you have to pay $0. My credit car... | 2 |
5,559,099 | 04/05/2011 22:02:00 | 460,448 | 09/28/2010 10:03:03 | 55 | 1 | Best iphone and iPad HTML5 bookd | Witch books would you recommend reading about html5, css & javascript iPhone and iPad development? | iphone | ipad | html5 | books | null | 04/05/2011 22:31:38 | off topic | Best iphone and iPad HTML5 bookd
===
Witch books would you recommend reading about html5, css & javascript iPhone and iPad development? | 2 |
6,777,784 | 07/21/2011 14:34:10 | 856,167 | 07/21/2011 14:34:10 | 1 | 0 | Is there a free C++ IDE for Linux with these features? | 1. List all methods in a class, preferably with options to enable/disable methods from superclasses.
2. Option for a "go to source" once you select a variable.
I'm trying to use <a href="http://www.cgal.org/">CGAL</a> and I can't make sense of a whole lot from the documentation or the compiler errors, despite using... | c++ | linux | ide | cgal | null | 07/22/2011 04:08:06 | off topic | Is there a free C++ IDE for Linux with these features?
===
1. List all methods in a class, preferably with options to enable/disable methods from superclasses.
2. Option for a "go to source" once you select a variable.
I'm trying to use <a href="http://www.cgal.org/">CGAL</a> and I can't make sense of a whole lot ... | 2 |
7,078,217 | 08/16/2011 12:30:21 | 355,507 | 06/01/2010 14:20:21 | 919 | 49 | UIButton setImage not working? | I have following code and when I call this method, it doesn't change the image of the button although there are images in the resources.
-(void)changeButton:(NSString*)button withURL:(NSString*)url {
timetableURL = url;
UIImage *btnImage;
if ([button isEqual:@"Browser"... | iphone | objective-c | uibutton | uiimage | null | null | open | UIButton setImage not working?
===
I have following code and when I call this method, it doesn't change the image of the button although there are images in the resources.
-(void)changeButton:(NSString*)button withURL:(NSString*)url {
timetableURL = url;
UIImage *btnImage;
... | 0 |
8,702,273 | 01/02/2012 14:58:25 | 844,872 | 07/14/2011 15:13:52 | 381 | 2 | Will the new Twitter framework work for iOS 4.3 | Will the new `Twitter API` (framework) included in `iOS 5` work for `iOS 4.3` and above ? | iphone | objective-c | twitter | ios5 | null | null | open | Will the new Twitter framework work for iOS 4.3
===
Will the new `Twitter API` (framework) included in `iOS 5` work for `iOS 4.3` and above ? | 0 |
8,693,194 | 01/01/2012 12:58:10 | 1,125,079 | 01/01/2012 12:55:07 | 1 | 0 | what are weaknesses of Object-Relational database | what are weaknesses of ***Object-relational*** model? | database | dbms | object-relational-model | null | null | 01/01/2012 13:24:55 | not constructive | what are weaknesses of Object-Relational database
===
what are weaknesses of ***Object-relational*** model? | 4 |
1,295,104 | 08/18/2009 16:43:56 | 38,734 | 11/18/2008 23:03:39 | 95 | 3 | SharePoint Approval | I need to add sharepoint approval to a list... and I was hoping to use the default approval process... but... I need to run some code once an item is approved. Do I have to then use VS to create a custom workflow? | sharepoint2007 | sharepoint | null | null | null | null | open | SharePoint Approval
===
I need to add sharepoint approval to a list... and I was hoping to use the default approval process... but... I need to run some code once an item is approved. Do I have to then use VS to create a custom workflow? | 0 |
2,363,116 | 03/02/2010 12:42:56 | 63,309 | 02/06/2009 13:02:26 | 5,448 | 226 | Teaching Python to a Law Student | Im trying to teach python to a Law student (happens to be my fiance). She doesn't know anything about programming.
I was thinking on starting with [dive into python][1], but i'm worried most not about the python part, but the "she does not know anything about programming" problem.
How can I keep her interested? I... | python | teaching | non-programmers | null | null | 03/08/2012 23:01:08 | not constructive | Teaching Python to a Law Student
===
Im trying to teach python to a Law student (happens to be my fiance). She doesn't know anything about programming.
I was thinking on starting with [dive into python][1], but i'm worried most not about the python part, but the "she does not know anything about programming" proble... | 4 |
4,708,998 | 01/17/2011 00:12:50 | 238,948 | 11/15/2008 04:36:47 | 1,876 | 45 | How to write a Lucene.Net RAMDirectory back to disk? | I have been working with Lucene.Net and `FSDirectory` for some time now, so I am familiar with the basics of working with it. However, I am now attempting to rewrite some key code by using `RAMDirectory`'s when possible to speed up index use.
Loading an existing FSDirectory into a RAMDirectory is easy enough, just b... | c# | .net | lucene | lucene.net | ramdirectory | null | open | How to write a Lucene.Net RAMDirectory back to disk?
===
I have been working with Lucene.Net and `FSDirectory` for some time now, so I am familiar with the basics of working with it. However, I am now attempting to rewrite some key code by using `RAMDirectory`'s when possible to speed up index use.
Loading an exist... | 0 |
5,542,268 | 04/04/2011 17:46:29 | 691,550 | 04/04/2011 17:40:57 | 1 | 0 | Do I need the "Android unlocked dev phone" to test my android projects? | I bought an Android phone to use flash, but for my surprise, flash does not run on adroid devices with arm v6. So I do want to make something useful and develop for it.
Do it need to be "unlocked" for this purpose?
Thanks, | android | null | null | null | null | null | open | Do I need the "Android unlocked dev phone" to test my android projects?
===
I bought an Android phone to use flash, but for my surprise, flash does not run on adroid devices with arm v6. So I do want to make something useful and develop for it.
Do it need to be "unlocked" for this purpose?
Thanks, | 0 |
5,465,251 | 03/28/2011 21:24:13 | 680,981 | 03/28/2011 21:19:17 | 1 | 0 | How come when i enter gcc -framework foundation files -o progname into gnu shell it says command not found? | can somone figure this out i used a guide and did everthing and it still wont work | c | gcc | gnu | null | null | 03/28/2011 22:57:43 | not a real question | How come when i enter gcc -framework foundation files -o progname into gnu shell it says command not found?
===
can somone figure this out i used a guide and did everthing and it still wont work | 1 |
718,780 | 04/05/2009 11:20:49 | 6,164 | 09/12/2008 18:11:51 | 206 | 10 | Conversion tool comparisons for visual basic 6.0 | Has anyone here used either of the following (or any other tool) to convert your vb6 code to a .net language?
**Artinsoft's upgrade companion** (converts to c# and vb.net)
**vbmigration partner** (converts to vb.net)
How effective were they and what size project did you convert?
How much work was left to d... | vb6-conversion | vb6-migration | vb6 | vb.net | c# | 09/12/2011 03:44:02 | not constructive | Conversion tool comparisons for visual basic 6.0
===
Has anyone here used either of the following (or any other tool) to convert your vb6 code to a .net language?
**Artinsoft's upgrade companion** (converts to c# and vb.net)
**vbmigration partner** (converts to vb.net)
How effective were they and what size p... | 4 |
2,200,828 | 02/04/2010 15:24:57 | 40,933 | 11/26/2008 06:37:26 | 2,479 | 63 | How to insert multiple row of data to sqlite database by iphone programming | I am new to iphone development.I want to insert multiple values into my sqlite3 database and display the content in the tableview.I am able to insert single row of data in to my database and retrieve it and display the data but i am not able to do with inserting multiple row of data.Here is my code...
-(void... | iphone | objective-c | sqlite3 | insert | null | null | open | How to insert multiple row of data to sqlite database by iphone programming
===
I am new to iphone development.I want to insert multiple values into my sqlite3 database and display the content in the tableview.I am able to insert single row of data in to my database and retrieve it and display the data but i am not... | 0 |
7,264,703 | 08/31/2011 23:40:46 | 922,603 | 08/31/2011 23:35:36 | 1 | 0 | Pass variable in page which has pagination | I am having a page (epipla.php) which is displaying some data (names of companies & their information) and when a user clicks on a company name, he gets redirected in another page (meta.php). On the redirection the epipla.php passes the company id via a link which contains the id (example : <a href="meta.php?id={$row['... | php | null | null | null | null | 09/01/2011 11:20:25 | not a real question | Pass variable in page which has pagination
===
I am having a page (epipla.php) which is displaying some data (names of companies & their information) and when a user clicks on a company name, he gets redirected in another page (meta.php). On the redirection the epipla.php passes the company id via a link which contain... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.