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
1,848,656
12/04/2009 18:05:00
98,876
04/30/2009 19:37:14
6
0
nhibernate many-to-many with relationship specific properties
Is there a way to map a many-to-many relationship with properties on each item in the list specific to the relationship? The actual case I'm trying to solve is this: A business can be related to many contacts, and a contact can be related to many businesses. What I want to do is provide a status for the relations...
nhibernate
many-to-many
null
null
null
null
open
nhibernate many-to-many with relationship specific properties === Is there a way to map a many-to-many relationship with properties on each item in the list specific to the relationship? The actual case I'm trying to solve is this: A business can be related to many contacts, and a contact can be related to many b...
0
6,939,985
08/04/2011 10:42:26
445,301
09/11/2010 21:42:14
1
1
changes in xib causing crash
changes in xib causing crash. I am using xcode 4 (ie. version 4.0.2) to write a program that I started in earlier versions. I have written a lot of code and apart from frequent crashes during debug, all was fine. Then I make some changes in one xib file, and ever since it fails to run; terminating in the main functi...
objective-c
xcode4
xcodebuild
null
null
null
open
changes in xib causing crash === changes in xib causing crash. I am using xcode 4 (ie. version 4.0.2) to write a program that I started in earlier versions. I have written a lot of code and apart from frequent crashes during debug, all was fine. Then I make some changes in one xib file, and ever since it fails to r...
0
6,664,323
07/12/2011 12:43:56
434,405
08/29/2010 19:47:51
182
9
How do I change the sbt colors?
I like the colours sbt produces but I would like to change them (blue on black doesn't work well for me). How do I do that?
scala
sbt
null
null
null
null
open
How do I change the sbt colors? === I like the colours sbt produces but I would like to change them (blue on black doesn't work well for me). How do I do that?
0
8,870,640
01/15/2012 14:59:43
726,117
04/26/2011 20:46:07
20
0
Bulletproof radial glow
I need to create an element with radial glow, like [this](http://jsfiddle.net/UEz88/1/). But now it's too unstable variant. Are there any better solutions?
html
css
null
null
null
01/16/2012 02:57:26
not a real question
Bulletproof radial glow === I need to create an element with radial glow, like [this](http://jsfiddle.net/UEz88/1/). But now it's too unstable variant. Are there any better solutions?
1
11,380,902
07/08/2012 05:32:24
1,150,071
01/15/2012 05:17:19
14
0
Match graph image with other graphs images using c#?
i want to compare a graph image (black line in a white background) with other set of graphs and identity most similar graph with that pattern . what is the best way to do that in C#? does we need neural networks for this? i think we can't apply pixel count or image size for matching this... want to match the graph p...
c#
.net
image-processing
null
null
null
open
Match graph image with other graphs images using c#? === i want to compare a graph image (black line in a white background) with other set of graphs and identity most similar graph with that pattern . what is the best way to do that in C#? does we need neural networks for this? i think we can't apply pixel count or...
0
8,676,895
12/30/2011 06:39:58
117,801
06/05/2009 05:46:38
1,151
67
I need an introduction to MongoDB/NoSQL Database
I use PHP/mySQL/CodeIgniter pretty heavily, writing sql statements to handle/manipulate data. I feel doing all that is primitive, and I've heard good things about MongoDB, schema-less database. In MySQL, schemas helps me figure out the structure of the model. Usually, I draw out a class diagram with basic things lik...
php
mysql
codeigniter
mongodb
nosql
01/01/2012 01:12:05
off topic
I need an introduction to MongoDB/NoSQL Database === I use PHP/mySQL/CodeIgniter pretty heavily, writing sql statements to handle/manipulate data. I feel doing all that is primitive, and I've heard good things about MongoDB, schema-less database. In MySQL, schemas helps me figure out the structure of the model. Usu...
2
11,742,778
07/31/2012 14:46:56
248,925
01/12/2010 13:59:44
448
17
Action Filter with bitwise parameters
Inside my asp.net mvc 4.0 application, I’m creating a custom `AuthorizeAttribute` called “*AllowAttribute*”. In a nutshell, I wish to apply this attribute on certain methods (not on entire controllers) and allow that attribute to receive a bitwise fashion parameter. I use the attribute like so (note: `MemberType` is...
asp.net-mvc
asp.net-mvc-3
asp.net-mvc-2
asp.net-mvc-4
null
null
open
Action Filter with bitwise parameters === Inside my asp.net mvc 4.0 application, I’m creating a custom `AuthorizeAttribute` called “*AllowAttribute*”. In a nutshell, I wish to apply this attribute on certain methods (not on entire controllers) and allow that attribute to receive a bitwise fashion parameter. I use t...
0
4,122,134
11/08/2010 08:01:54
500,430
11/08/2010 07:47:55
1
0
How to redirect default.php to /
I am trying to redirect default.php to / (path with no arguments) in Apache with .htaccess, but so far I have not find a way to make this work. If I do something like: `Redirect permanent /default.php powerkaraoke.com/` I get 500 error. Other redirects work fine, for example powerkaraoke.com->www.powerkaraoke.com...
php
apache
.htaccess
redirect
null
null
open
How to redirect default.php to / === I am trying to redirect default.php to / (path with no arguments) in Apache with .htaccess, but so far I have not find a way to make this work. If I do something like: `Redirect permanent /default.php powerkaraoke.com/` I get 500 error. Other redirects work fine, for example ...
0
7,376,463
09/11/2011 05:26:46
932,114
09/07/2011 06:32:20
6
1
Why not use forums like PHPBB, VBulletin as Bug tracking tool?
I just started using Git; and I looked at several bug tracking tools to go along with my repository - LightHouseApp, FogBugz, BugZilla, Trac and so on. When I create bugs, I often put screenshots with my comments inside screenshot itselfs. I circle parts of screenshot, I add comments and so on. But with all thse bug-tr...
git
bug-tracking
phpbb
issue-tracking
vbulletin
09/11/2011 16:08:36
off topic
Why not use forums like PHPBB, VBulletin as Bug tracking tool? === I just started using Git; and I looked at several bug tracking tools to go along with my repository - LightHouseApp, FogBugz, BugZilla, Trac and so on. When I create bugs, I often put screenshots with my comments inside screenshot itselfs. I circle par...
2
6,953,148
08/05/2011 07:55:57
880,117
08/05/2011 07:55:57
1
0
Call Blocker "Can you help me"
I want programming a android software to "call block" and creat "black list" for numbers which i don't want. But I don't know how do this. Can you help me?
android
null
null
null
null
08/05/2011 08:09:05
not a real question
Call Blocker "Can you help me" === I want programming a android software to "call block" and creat "black list" for numbers which i don't want. But I don't know how do this. Can you help me?
1
9,986,770
04/03/2012 03:38:34
1,309,462
04/03/2012 03:33:33
1
0
How to get the URL value
(www.example.com/aacc) I want to get aacc from url in index.php. But it never redirects to index page. It shows only The requested URL /aacc was not found on this server. How can I do that? Please help me. Thanks all.
php5
url
null
null
null
null
open
How to get the URL value === (www.example.com/aacc) I want to get aacc from url in index.php. But it never redirects to index page. It shows only The requested URL /aacc was not found on this server. How can I do that? Please help me. Thanks all.
0
9,886,916
03/27/2012 09:37:49
1,132,333
01/05/2012 14:15:38
23
2
Present UINavigationBar + toolbar modally from UIScrollView
I am creating a reader app and have the kindle app as an inspiration. From the reader view (uiscrollview) I wish to present/animate a navigation bar and toolbar on a tap. Now the app (uiwindow) already has as its root view controller a navigationVC, which is used for the flow for selecting book category and a ...
iphone
ios
null
null
null
null
open
Present UINavigationBar + toolbar modally from UIScrollView === I am creating a reader app and have the kindle app as an inspiration. From the reader view (uiscrollview) I wish to present/animate a navigation bar and toolbar on a tap. Now the app (uiwindow) already has as its root view controller a navigation...
0
3,951,500
10/17/2010 00:52:40
115,025
05/31/2009 06:30:30
79
2
rsync command is slow as shit when im not connected to the internet :(
Any ideas? I'm issueing the following rsync command via a hotkey and whenever I'm not connected to the internet it slows the eff down. Takes maybe 4,000ms instead of the regular 300-400ms. All it does is sync up a directory on my local FS to one connected through parallels (where I have a lamp running, etc.) rsy...
connection
rsync
null
null
null
null
open
rsync command is slow as shit when im not connected to the internet :( === Any ideas? I'm issueing the following rsync command via a hotkey and whenever I'm not connected to the internet it slows the eff down. Takes maybe 4,000ms instead of the regular 300-400ms. All it does is sync up a directory on my local FS t...
0
11,389,881
07/09/2012 06:16:28
1,511,134
07/09/2012 06:07:31
1
0
change color in snippet from 100 snippets
<script type="text/javascript" src="http://100widgets.com/js_data.php?id=104"></script> Can I change the color of this snippet I got from 100 widget? I would like (love) the image color to be 2a5500 and the text to be white. Thanks a ton!
code-snippets
null
null
null
null
07/09/2012 15:56:26
not a real question
change color in snippet from 100 snippets === <script type="text/javascript" src="http://100widgets.com/js_data.php?id=104"></script> Can I change the color of this snippet I got from 100 widget? I would like (love) the image color to be 2a5500 and the text to be white. Thanks a ton!
1
11,512,709
07/16/2012 21:17:49
247,590
01/10/2010 18:37:54
84
8
VPN between two Cisco ASA 5505s
I have been attempting to setup a vpn between two branch offices each of which is equipped with a Cisco ASA 5505. I based most of the configuration on the tutorial at: http://packetlife.net/blog/2011/jul/11/lan-lan-vpn-asa-5505/ however I am unable ping between the two networks. Also when I try to do some diagnost...
vpn
asa
null
null
null
07/18/2012 14:13:23
off topic
VPN between two Cisco ASA 5505s === I have been attempting to setup a vpn between two branch offices each of which is equipped with a Cisco ASA 5505. I based most of the configuration on the tutorial at: http://packetlife.net/blog/2011/jul/11/lan-lan-vpn-asa-5505/ however I am unable ping between the two networks. ...
2
7,515,177
09/22/2011 13:04:25
771,487
05/26/2011 14:28:33
1
0
MVC Contrib Portable areas and static content
I have followed a couple of guides on how to serve static content from a portable area but with no luck. I have two projects, a web project and a class library (which serves as my portable area). In my portable area (lets call it 'MyArea' for namesake) I have a Content folder with three folders inside that, Scripts, St...
mvccontrib
static-content
portable-areas
null
null
null
open
MVC Contrib Portable areas and static content === I have followed a couple of guides on how to serve static content from a portable area but with no luck. I have two projects, a web project and a class library (which serves as my portable area). In my portable area (lets call it 'MyArea' for namesake) I have a Content...
0
7,958,530
10/31/2011 19:17:16
643,742
03/03/2011 21:40:25
834
5
Adding author name in eclipse automatically
Is there a real easy to use tool (no monster tool) that I can plug into eclipse, and press some `generate header` button and then the authors name appears in every file in that project?
java
header
javadoc
author
ecplise
null
open
Adding author name in eclipse automatically === Is there a real easy to use tool (no monster tool) that I can plug into eclipse, and press some `generate header` button and then the authors name appears in every file in that project?
0
6,454,276
06/23/2011 12:51:19
744,415
05/09/2011 01:46:36
63
0
Hadoop & HBase CDH3 Distro on Ubuntu 11.04 - natty
I wanted to know if anyone had success running the CDH3 Cloudera release of Hadoop and HBase on the latest version of Ubuntu - natty 11.04..? I have heard the the Lucid release is better to use with 11.04 than maverick..? Any tips or guides ? Thanks!
hadoop
hbase
bigtable
cloudera
null
06/24/2011 02:08:26
off topic
Hadoop & HBase CDH3 Distro on Ubuntu 11.04 - natty === I wanted to know if anyone had success running the CDH3 Cloudera release of Hadoop and HBase on the latest version of Ubuntu - natty 11.04..? I have heard the the Lucid release is better to use with 11.04 than maverick..? Any tips or guides ? Thanks!
2
9,736,599
03/16/2012 11:43:00
828,661
07/04/2011 19:50:32
26
0
Visual Studio : Language Service Error
I'm trying to compile a project I have in Visual Studio 2010. It has built fine on 2 other computers with Visual Studio, but on this computer, it will not compile, and returns: **"The property could not be read/written because the language service returned an unknown error"** Obviously, I have tried googling, and...
windows-phone-7
service
language
null
null
null
open
Visual Studio : Language Service Error === I'm trying to compile a project I have in Visual Studio 2010. It has built fine on 2 other computers with Visual Studio, but on this computer, it will not compile, and returns: **"The property could not be read/written because the language service returned an unknown error...
0
6,180,080
05/30/2011 19:31:26
159,837
08/20/2009 07:54:57
86
7
hibernate and datawarehouse
is it logical to use an ORM layer like hibernate for huge data. We have a non-relational database with 100T data. Which is the best way to access data from a web application? JDBC, Hibernate, ... ?
hibernate
orm
data-warehouse
null
null
null
open
hibernate and datawarehouse === is it logical to use an ORM layer like hibernate for huge data. We have a non-relational database with 100T data. Which is the best way to access data from a web application? JDBC, Hibernate, ... ?
0
4,513,448
12/22/2010 20:32:01
551,677
12/22/2010 20:32:01
1
0
SOAP xml client - using VStudio 2010 c# - how?
I'm new to .NET world, yet have to use VStudio C# 2010 (.NET 4.0) to produce a client that requests data from a web service in SOAP Xml fashion. I've searched here for answers but got confused even more. MSDN says that "Building XML Web Service Clients" is legacy for .NET 4.0, i.e. WSDL is legacy. Use "WCF" instead, th...
c#
soap
.net-4.0
null
null
null
open
SOAP xml client - using VStudio 2010 c# - how? === I'm new to .NET world, yet have to use VStudio C# 2010 (.NET 4.0) to produce a client that requests data from a web service in SOAP Xml fashion. I've searched here for answers but got confused even more. MSDN says that "Building XML Web Service Clients" is legacy for ...
0
7,485,980
09/20/2011 13:29:49
954,857
09/20/2011 13:29:49
1
0
TDD: weak tests
My tests aren't providing a good design. So, I have some questions about TDD, weak tests and good design: Are my tests weak? How do you find weak tests? Can you describe the behavior of a weak test? Which weak tests do you usually see? How do I improve my tests? References would be great to study. Thank you.
unit-testing
design-patterns
tdd
good-design
weak
09/20/2011 13:34:40
not a real question
TDD: weak tests === My tests aren't providing a good design. So, I have some questions about TDD, weak tests and good design: Are my tests weak? How do you find weak tests? Can you describe the behavior of a weak test? Which weak tests do you usually see? How do I improve my tests? References would be great ...
1
5,234,336
03/08/2011 15:14:34
237,681
12/23/2009 15:31:25
1,061
21
Advanced jQuery/Ajax books or tutorials online
To begin with, I believe I know jquery basics quite well. I want to learn more and be able to make more complex things (like live chat with many features or something like that). So, can anyone suggest me good jQuery books or tutorials online to help me become really advanced in this field. I have an idea and I ...
javascript
jquery
ajax
null
null
07/28/2012 20:01:09
not constructive
Advanced jQuery/Ajax books or tutorials online === To begin with, I believe I know jquery basics quite well. I want to learn more and be able to make more complex things (like live chat with many features or something like that). So, can anyone suggest me good jQuery books or tutorials online to help me become rea...
4
5,310,275
03/15/2011 10:17:07
593,669
01/28/2011 10:52:55
37
0
blank asp.net site shows web.config error when i try to access it
Hi i have created a blank asp.net website consisting of a blank default.aspx page, its .cs file, a login.aspx page and its .cs and a web.config. im looking to test .net authentication as seen in here: http://msdn.microsoft.com/en-us/library/xdt4thhy.aspx on the msdn site. ive copied everything as shown in the atricle. ...
c#
asp.net
web-config
null
null
null
open
blank asp.net site shows web.config error when i try to access it === Hi i have created a blank asp.net website consisting of a blank default.aspx page, its .cs file, a login.aspx page and its .cs and a web.config. im looking to test .net authentication as seen in here: http://msdn.microsoft.com/en-us/library/xdt4thhy...
0
4,466,201
12/16/2010 22:58:15
28,045
10/14/2008 22:11:31
3,016
81
Can you sell apps made with Google App Inventor?
I read that Google App Inventor went live, not just invitation today. If I make an app with Google App Inventor is there some way I can sell it? Thanks.
google-app-engine
app-inventor
null
null
null
12/01/2011 14:31:08
off topic
Can you sell apps made with Google App Inventor? === I read that Google App Inventor went live, not just invitation today. If I make an app with Google App Inventor is there some way I can sell it? Thanks.
2
1,650,715
10/30/2009 16:02:51
192,030
10/18/2009 15:09:14
11
1
C++ standard date/time class
Does C++ stl have a standard time class? Or do I have to convert to c-string before writing to a stream. Example, I want to output the current date/time to a string stream: <pre> time_t tm(); ostringstream sout; sout &lt;&lt; tm &lt;&lt; ends; </pre> In this case I get the current date/time written out as a n...
c++
stl
stream
datetime
null
null
open
C++ standard date/time class === Does C++ stl have a standard time class? Or do I have to convert to c-string before writing to a stream. Example, I want to output the current date/time to a string stream: <pre> time_t tm(); ostringstream sout; sout &lt;&lt; tm &lt;&lt; ends; </pre> In this case I get the cu...
0
8,504,214
12/14/2011 12:09:45
1,052,537
11/17/2011 19:25:00
27
2
How to build JS array from PHP array and return to string?
I am trying to built a JS String array from a PHP String array, but my JS skills are a bit limited. I would like also display and return a selected JS row to a HTML or PHP string. Is it possible? I would appreciate any help. PHP part (working): $i = 0; while($row = mysql_fetch_array($result)){ //get ...
php
javascript
html
arrays
null
null
open
How to build JS array from PHP array and return to string? === I am trying to built a JS String array from a PHP String array, but my JS skills are a bit limited. I would like also display and return a selected JS row to a HTML or PHP string. Is it possible? I would appreciate any help. PHP part (working): ...
0
8,607,058
12/22/2011 16:42:31
794,000
06/11/2011 14:02:11
193
7
Pop Up Form With Close Functionality
I realise that to most this is perhaps a very simple query, but I'm relatively new to working with the design elements of an HTML form, so please bear with me. I'm using [this][1] form to allow the user to upload image files. What I'd like to be able to do, is change the form to a pop window that appears in the c...
html
forms
null
null
null
null
open
Pop Up Form With Close Functionality === I realise that to most this is perhaps a very simple query, but I'm relatively new to working with the design elements of an HTML form, so please bear with me. I'm using [this][1] form to allow the user to upload image files. What I'd like to be able to do, is change the ...
0
9,344,430
02/18/2012 21:50:47
570,339
01/10/2011 19:55:34
84
4
Scanner asking more strings that expected
I'm trying to take string in input using Scanner. But it asks me more strings that expected: shouldn't with this code ask 5 strings? public void go() { Scanner sc=new Scanner(System.in); ArrayList<String> list=new ArrayList<String>(); String temp=new String(); Integer i=new...
java
java-util-scanner
null
null
null
null
open
Scanner asking more strings that expected === I'm trying to take string in input using Scanner. But it asks me more strings that expected: shouldn't with this code ask 5 strings? public void go() { Scanner sc=new Scanner(System.in); ArrayList<String> list=new ArrayList<String>(); S...
0
9,742,794
03/16/2012 18:41:02
1,274,737
03/16/2012 18:39:33
1
0
How do I make a Java Project Closed Source
Hi I was wondering how I can make my open sourced java project closed source.
java
null
null
null
null
03/16/2012 18:46:35
off topic
How do I make a Java Project Closed Source === Hi I was wondering how I can make my open sourced java project closed source.
2
5,285,839
03/12/2011 22:10:59
415,973
08/10/2010 09:22:16
303
6
Prevent sending over 500 emails
$t_email = explode(", ", $list); $sentEmails = count($t_email); updateEmail($sentEmails); for ($i = 0; $i < (count($t_email)); $i = $i + 1) { if(sentQueue <= 500) { if (mail($t_email[$i], $subject, $body, $headers)) { $err .= "<span class='success'>Message successfully sent to " . $t_email[$i] . "...
php
email
null
null
null
03/12/2011 23:36:22
too localized
Prevent sending over 500 emails === $t_email = explode(", ", $list); $sentEmails = count($t_email); updateEmail($sentEmails); for ($i = 0; $i < (count($t_email)); $i = $i + 1) { if(sentQueue <= 500) { if (mail($t_email[$i], $subject, $body, $headers)) { $err .= "<span class='success'>Message succ...
3
5,301,461
03/14/2011 16:28:44
469,476
10/07/2010 18:47:10
69
10
vb.net generalized write of data to excel
I need to create an excel file from scratch in VB.NET given a DataTable from asp.net. I can do this for a specific file, but I don't know how to do it for a general database. That is, where I use the "CREATE TABLE ..." I don't know how to tell it what types to use for the data in the table. The DataTable is deri...
vb.net
excel
oledb
null
null
null
open
vb.net generalized write of data to excel === I need to create an excel file from scratch in VB.NET given a DataTable from asp.net. I can do this for a specific file, but I don't know how to do it for a general database. That is, where I use the "CREATE TABLE ..." I don't know how to tell it what types to use for th...
0
11,579,974
07/20/2012 13:04:06
1,078,065
12/02/2011 19:06:28
74
2
ios NSPredicate crash when creating it
I'm using this code to fetch something from Core data: NSFetchRequest *req = [[NSFetchRequest alloc] initWithEntityName:@"Friend"]; NSString *predicateString = [NSString stringWithFormat: @"identifier == %@", [[friendInfo objectForKey:@"id"] stringFromMD5]]; NSPredicate *predicate = [NSPredicate pr...
ios
crash
nsstring
nspredicate
nsfetchrequest
null
open
ios NSPredicate crash when creating it === I'm using this code to fetch something from Core data: NSFetchRequest *req = [[NSFetchRequest alloc] initWithEntityName:@"Friend"]; NSString *predicateString = [NSString stringWithFormat: @"identifier == %@", [[friendInfo objectForKey:@"id"] stringFromMD5]]...
0
9,950,460
03/30/2012 21:10:26
1,068,546
11/28/2011 01:27:28
485
17
Disabling certain entries in ListView
I'm trying to disable certain items in my ListView by the following code public class VSsimpleCursorAdapter extends SimpleCursorAdapter implements Filterable { public VSsimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { super(context, layout, c, fr...
android
null
null
null
null
null
open
Disabling certain entries in ListView === I'm trying to disable certain items in my ListView by the following code public class VSsimpleCursorAdapter extends SimpleCursorAdapter implements Filterable { public VSsimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[...
0
8,826,696
01/11/2012 21:11:49
1,141,024
01/10/2012 14:11:12
1
0
How do does that work in jquery: IF NOT mouseover/-enter/click on div "menu" THEN do stuff ELSE do other stuff?
I dont know the jquery equivalent, is there one for that? Thanks!
javascript
jquery
if-statement
null
null
01/12/2012 01:04:20
not a real question
How do does that work in jquery: IF NOT mouseover/-enter/click on div "menu" THEN do stuff ELSE do other stuff? === I dont know the jquery equivalent, is there one for that? Thanks!
1
6,172,166
05/30/2011 04:02:46
760,987
05/19/2011 11:44:43
33
0
PHP MYSQL : now i am fed-up with the same warning
i tried evry thing in below code but i am not at all able to arrange resulted table in accending order. this time i am getting the table but not in arranged order and also two warning mu code as follows: <?PHP require_once("lib/connection.php"); $array = array(); $result ...
php
null
null
null
null
null
open
PHP MYSQL : now i am fed-up with the same warning === i tried evry thing in below code but i am not at all able to arrange resulted table in accending order. this time i am getting the table but not in arranged order and also two warning mu code as follows: <?PHP require_once("lib/connection...
0
2,677,225
04/20/2010 17:23:07
312,938
04/09/2010 15:34:52
1
1
locationManager:didUpdateToLocation:fromLocation: vs. mapView.userLocation.location
For the moment, I use `mapView.showsUserLocation=YES;` for the radiating blue icon showing the iPhone's position, but do not know how to get the coordinates behind it. I tried the `locationManager:didUpdateToLocation:fromLocation:` with the configuration of `self.locationManager = [[[CLLocationManager alloc] init] a...
locationmanager
iphone
null
null
null
null
open
locationManager:didUpdateToLocation:fromLocation: vs. mapView.userLocation.location === For the moment, I use `mapView.showsUserLocation=YES;` for the radiating blue icon showing the iPhone's position, but do not know how to get the coordinates behind it. I tried the `locationManager:didUpdateToLocation:fromLocatio...
0
10,996,478
06/12/2012 12:16:28
1,178,669
01/05/2010 08:17:25
6,316
253
Why do no other languages implement break the way Bash does?
I just stumbled over the documentation of the break builtin in Bash: > break [n] > Exit from within a for, while, until, or select loop. If n > is specified, break n levels. So, unlike in most other (scripting) languages, `break` can told be to break n levels. This looks like a really useful feature, still,...
bash
language-features
null
null
null
06/12/2012 14:14:56
not constructive
Why do no other languages implement break the way Bash does? === I just stumbled over the documentation of the break builtin in Bash: > break [n] > Exit from within a for, while, until, or select loop. If n > is specified, break n levels. So, unlike in most other (scripting) languages, `break` can told be ...
4
2,936,170
05/29/2010 18:36:02
82,266
03/24/2009 21:37:06
14
3
How to find the one Label in DataList that is set to True
In my .aspx page I have my DataList: <asp:DataList ID="DataList1" runat="server" DataKeyField="ProductSID" DataSourceID="SqlDataSource1" onitemcreated="DataList1_ItemCreated" RepeatColumns="3" RepeatDirection="Horizontal" Width="1112px"> <ItemTemplate> ProductSID: ...
c#
foreach
datalist
itemtemplate
findcontrol
null
open
How to find the one Label in DataList that is set to True === In my .aspx page I have my DataList: <asp:DataList ID="DataList1" runat="server" DataKeyField="ProductSID" DataSourceID="SqlDataSource1" onitemcreated="DataList1_ItemCreated" RepeatColumns="3" RepeatDirection="Horizontal" Width="...
0
8,408,218
12/06/2011 23:08:56
1,083,734
12/06/2011 14:56:42
1
0
Pointer assignment using malloc going wrong
Please feel free to copy paste and try it out, it stops working halfway through function handget when individual hand is assigned a space in memory /* * A program that is meant to classify five-card poker hands. *Is still in progress */ #include<stdio.h> #include<math.h> ...
c#
c++
c
pointers
malloc
12/06/2011 23:20:49
not a real question
Pointer assignment using malloc going wrong === Please feel free to copy paste and try it out, it stops working halfway through function handget when individual hand is assigned a space in memory /* * A program that is meant to classify five-card poker hands. *Is still in progress */ ...
1
11,341,848
07/05/2012 09:50:53
1,467,394
06/19/2012 19:28:38
14
0
FancyBox works on a page but not when this page is contained
I am working with FancyBox, and I managed to get FancyBox work on a page lets call is "A", but when i open the page that contains "A" FancyBox merely shows the id of the div in the URL. what could possibly cause this? Thanks.
php
fancybox
null
null
null
07/10/2012 11:46:27
not a real question
FancyBox works on a page but not when this page is contained === I am working with FancyBox, and I managed to get FancyBox work on a page lets call is "A", but when i open the page that contains "A" FancyBox merely shows the id of the div in the URL. what could possibly cause this? Thanks.
1
2,084,286
01/18/2010 06:39:15
252,969
01/18/2010 06:39:15
1
0
Basic regex in Perl
I tried the following code snippet from Robert's Perl tutorial ([link text][1]): > $_='My email address is > <webslave@work.com>.'; > > print "Found it ! :$1:" if /(<*>)/i; When I ran it, the output was: > Found it ! :>: However, shouldn't the output be, > Found it ! :m>: s...
regex
perl
null
null
null
null
open
Basic regex in Perl === I tried the following code snippet from Robert's Perl tutorial ([link text][1]): > $_='My email address is > <webslave@work.com>.'; > > print "Found it ! :$1:" if /(<*>)/i; When I ran it, the output was: > Found it ! :>: However, shouldn't the output be, ...
0
5,905,483
05/06/2011 00:09:58
311,194
04/07/2010 16:50:46
1
0
How to get dynamically generated X86_64 to return a value relative to the RIP / RBP
I'm trying to read values in memory relative to the %rip on X86_64. In my first example I just want to read If I write the following code in C, I can call it and get the correct result (\x....C3C9): <pre> void * test() { __asm("mov 0(%rip), %rax"); } </pre> The generated code looks as follows: <pre...
c
assembly
code-generation
x86-64
null
null
open
How to get dynamically generated X86_64 to return a value relative to the RIP / RBP === I'm trying to read values in memory relative to the %rip on X86_64. In my first example I just want to read If I write the following code in C, I can call it and get the correct result (\x....C3C9): <pre> void * test() { ...
0
10,672,907
05/20/2012 11:10:28
1,076,075
12/01/2011 18:32:46
1
0
Is it possible to ship linux on my old samsung mobile?
I have an old touch mobile phone <a href="http://www.samsung.com/in/support/model/GT-S3653CYAINS-techspecs">Samsung Corby S3653</a>, and it runs on Java right now. I want to change the OS to some embedded linux (any thing other than what's already in it). It is possible to change the OS? How do I go about doing...
mobile
java-me
embedded-linux
null
null
05/20/2012 11:24:42
off topic
Is it possible to ship linux on my old samsung mobile? === I have an old touch mobile phone <a href="http://www.samsung.com/in/support/model/GT-S3653CYAINS-techspecs">Samsung Corby S3653</a>, and it runs on Java right now. I want to change the OS to some embedded linux (any thing other than what's already in it). ...
2
9,513,984
03/01/2012 09:53:36
1,029,506
11/04/2011 10:33:46
49
0
find all form names on a page using jquery or javascript
How can I get all form names exists on a page using jquery??? can I use jquery input selector to find all forms on a page. for example I have a form on page like below <form name="searchForm" id="searchForm" action=""> <input type="text" name="inputname" /> </form> now i want to find the form name ...
javascript
jquery
null
null
null
03/01/2012 17:35:39
not a real question
find all form names on a page using jquery or javascript === How can I get all form names exists on a page using jquery??? can I use jquery input selector to find all forms on a page. for example I have a form on page like below <form name="searchForm" id="searchForm" action=""> <input type="text" name="i...
1
3,570,134
08/25/2010 20:56:40
223,134
12/02/2009 18:30:33
185
1
IE6 domain cookie limit of 20?
I've been trying to get to the bottom of this -- and was wondering if anyone can verify. Does IE6 still only support 20 domain cookies at this time? I've found some MS articles online that indicate the domain cookie limit was increased in 2007 to 50 -- but, it's unclear if the article is discussing IE7.
javascript
browser
internet-explorer-6
null
null
null
open
IE6 domain cookie limit of 20? === I've been trying to get to the bottom of this -- and was wondering if anyone can verify. Does IE6 still only support 20 domain cookies at this time? I've found some MS articles online that indicate the domain cookie limit was increased in 2007 to 50 -- but, it's unclear if the ar...
0
8,126,834
11/14/2011 19:17:03
1,046,199
11/14/2011 19:11:18
1
0
JQuery/AJAX condition "If"
What is the code for condition if - i know, what its in PHP, for demonstartion: if($pass == "/secret passwrord/") {} How i can write this in JQuery? Thanks
javascript
jquery-ajax
if-statement
passwords
null
11/14/2011 22:12:24
too localized
JQuery/AJAX condition "If" === What is the code for condition if - i know, what its in PHP, for demonstartion: if($pass == "/secret passwrord/") {} How i can write this in JQuery? Thanks
3
11,121,175
06/20/2012 13:53:26
1,469,365
06/20/2012 13:18:20
1
0
SOLVED: Groupon offer on Magento site with Paypal Website Payments Pro Hosted - Subtotal zero -Rejected
I'm sharing this after spending days trying to find a solution online but couldn't find anything. Hopefully my solution may help others struggling with the same problem and my apologise in advance if this has already been covered elsewhere but I (and therefore probably others) couldn't find it. A client is running...
magento
paypal
null
null
null
06/20/2012 23:17:40
not a real question
SOLVED: Groupon offer on Magento site with Paypal Website Payments Pro Hosted - Subtotal zero -Rejected === I'm sharing this after spending days trying to find a solution online but couldn't find anything. Hopefully my solution may help others struggling with the same problem and my apologise in advance if this has al...
1
5,887,858
05/04/2011 18:03:48
738,554
05/04/2011 18:03:48
1
0
Where can I find the TLD docs for the html and core tags for JSF2.0
I am moving to JSF2.0 and am trying to know what are the added features of the tags and am searching for the TLD docs for the html(h) and core(f) tags. By the way I have added a link for JSF1.2 for the same just in case how it looks, if I am not clear enough. http://download.oracle.com/javaee/5/javaserverfaces/1.2/d...
jsf
jsf-2.0
null
null
null
null
open
Where can I find the TLD docs for the html and core tags for JSF2.0 === I am moving to JSF2.0 and am trying to know what are the added features of the tags and am searching for the TLD docs for the html(h) and core(f) tags. By the way I have added a link for JSF1.2 for the same just in case how it looks, if I am not c...
0
6,783,160
07/21/2011 21:40:15
1,301,769
05/30/2011 23:53:25
29
1
What's the best GeoLocation tool?
Can someone please list the pro/cons of the following GeoLocation services? More specifically, I am looking for a service that is capable of locating a user on a city-level for a PHP-based web application. MaxMind.com, Loki.com, SimepleGeo.com, Google's Geolocation API Any others you can think of?
geolocation
location
geocoding
null
null
11/09/2011 00:51:17
not constructive
What's the best GeoLocation tool? === Can someone please list the pro/cons of the following GeoLocation services? More specifically, I am looking for a service that is capable of locating a user on a city-level for a PHP-based web application. MaxMind.com, Loki.com, SimepleGeo.com, Google's Geolocation API Any o...
4
8,728,103
01/04/2012 13:59:50
33,051
10/31/2008 10:58:02
13,903
590
How can I call a functions added to the jQuery Object from my GreaseMonkey script?
I've created a GreaseMonkey script based on an in-page script that I'd like to [use on a site][1], however I'm having the following issue: In the script, we've created our namespace (`brickJax`) that contains the bulk of the functions, and I've required jQuery as we're using the jQuery replaceText functions as well....
javascript
jquery-plugins
greasemonkey
null
null
null
open
How can I call a functions added to the jQuery Object from my GreaseMonkey script? === I've created a GreaseMonkey script based on an in-page script that I'd like to [use on a site][1], however I'm having the following issue: In the script, we've created our namespace (`brickJax`) that contains the bulk of the func...
0
6,362,464
06/15/2011 18:24:20
783,396
06/03/2011 21:22:07
58
0
jquery How to add a loading.gif in image loading?
I want to show some images in my blog site. I know `lazyload` can load image from top to bottom well, But I still want add a small `loading.gif` during the image loading. <div class="view"><img src="http://lh4.ggpht.com/-dVr36Ch-Rtw/SqqjGa8ssXI/AAAAAAADAjI/VZmCofeQ2EI/EBS_HDR%25255B7-2%25255D.jpg" width="600" c...
jquery
null
null
null
null
06/15/2011 23:27:08
not a real question
jquery How to add a loading.gif in image loading? === I want to show some images in my blog site. I know `lazyload` can load image from top to bottom well, But I still want add a small `loading.gif` during the image loading. <div class="view"><img src="http://lh4.ggpht.com/-dVr36Ch-Rtw/SqqjGa8ssXI/AAAAAAADAjI/...
1
10,468,787
05/06/2012 06:58:17
528,588
12/02/2010 21:06:09
117
39
setTimeout function in delphi
i want create function like setTimeout(use anonymous function as parameter) like this SetTimeOut(procedure (sender:TObject); begin Self.Counter:=Self.Counter+1; end); but delphi OnTimer in TTimer(class) don't accept anonymous function.please declare class for this purpose
delphi
null
null
null
null
null
open
setTimeout function in delphi === i want create function like setTimeout(use anonymous function as parameter) like this SetTimeOut(procedure (sender:TObject); begin Self.Counter:=Self.Counter+1; end); but delphi OnTimer in TTimer(class) don't accept anonymous function.please declare class ...
0
11,594,101
07/21/2012 16:55:33
1,154,692
01/17/2012 19:09:14
194
10
Making a Simple Robot with PHP
I have 5 web sites,each day, I create News (with images), most of the time I put the same News in all our web-sites which makes the process quite tedious,slow... So that's why I'm looking to make a script in PHP or a Java program (that is called via php) to automate the insertion of News in the other sites (with...
php
robot
null
null
null
07/21/2012 17:07:22
too localized
Making a Simple Robot with PHP === I have 5 web sites,each day, I create News (with images), most of the time I put the same News in all our web-sites which makes the process quite tedious,slow... So that's why I'm looking to make a script in PHP or a Java program (that is called via php) to automate the insert...
3
2,759,704
05/03/2010 16:55:45
331,616
05/03/2010 16:55:45
1
0
Alfresco: Find associated working copy of a node
Is there a way to retrieve the Working Copy Node of a given locked node? I am building a webscript using javascript for Alfresco. Thank you.
alfresco
javascript
null
null
null
null
open
Alfresco: Find associated working copy of a node === Is there a way to retrieve the Working Copy Node of a given locked node? I am building a webscript using javascript for Alfresco. Thank you.
0
2,986,136
06/06/2010 22:18:52
201,681
11/03/2009 13:13:55
288
6
Umbraco template issues
Hi fellow Umbraco users, I'm currently building my first umbraco website and since I'm completely new to umbraco I've already ran into a problem which I'm sure is pretty straight-forward to do. That said, I'm by no means a beginner when it comes to building sites that run on a (open source) CMS as I've been using...
asp.net
templates
umbraco
null
null
null
open
Umbraco template issues === Hi fellow Umbraco users, I'm currently building my first umbraco website and since I'm completely new to umbraco I've already ran into a problem which I'm sure is pretty straight-forward to do. That said, I'm by no means a beginner when it comes to building sites that run on a (open s...
0
5,494,131
03/31/2011 00:41:09
663,550
03/17/2011 02:01:23
8
0
What the script to change the password should be in php?
<form action="final_change_pwd.php" method="post"> <table cellpadding="5" cellspacing="20"> <tr> <td> Current Password: </td> <td> <input type="text" name="txtoldpwd" /> </td> </tr> <tr> <td> New Password:...
php
change-password
null
null
null
null
open
What the script to change the password should be in php? === <form action="final_change_pwd.php" method="post"> <table cellpadding="5" cellspacing="20"> <tr> <td> Current Password: </td> <td> <input type="text" name="txtoldpwd" /> </td> </...
0
7,217,734
08/27/2011 22:15:12
558,331
12/30/2010 13:47:06
96
4
Calculating and caching folder sizes
I have an idea for a C# program that works basically like the Windows Explorer. The aim is to display all files and folders, and to show specific information for each of them. One of the features I'm planning is to detect folder sizes which is something the Explorer cannot. My idea for the algorithm is to cumulate t...
c#
.net
performance
folders
null
null
open
Calculating and caching folder sizes === I have an idea for a C# program that works basically like the Windows Explorer. The aim is to display all files and folders, and to show specific information for each of them. One of the features I'm planning is to detect folder sizes which is something the Explorer cannot. ...
0
8,506,085
12/14/2011 14:27:32
514,977
11/21/2010 08:29:36
16
2
Moving SMS from one iphone to another
I want to move only the SMS db from one iphone to another one. (both using IOS5.01) I've tried using backups. I Made backup of target iphone and of source, moved just the file 3d0d7e5fb2ce288813306e4d4636395e047a3d28 from the source backup to the target, and restored from the target backup. The process failed saying...
iphone
ios5
sms
backup
null
12/14/2011 17:58:00
off topic
Moving SMS from one iphone to another === I want to move only the SMS db from one iphone to another one. (both using IOS5.01) I've tried using backups. I Made backup of target iphone and of source, moved just the file 3d0d7e5fb2ce288813306e4d4636395e047a3d28 from the source backup to the target, and restored from t...
2
8,370,344
12/03/2011 19:30:59
126,688
06/22/2009 04:45:36
688
46
How do I manage a set of mysql tables in a production Rails app that are periodically recreated?
I have a production Rails app that serves data from a set of tables that are built from a `LOAD DATA LOCAL INFILE` MYSQL import of CSV files, via a ruby script. The tables are consistently named and the schema does not change. The script drops/creates the tables and schema, then loads the data. However I want to re-...
mysql
ruby-on-rails
ruby
database
null
null
open
How do I manage a set of mysql tables in a production Rails app that are periodically recreated? === I have a production Rails app that serves data from a set of tables that are built from a `LOAD DATA LOCAL INFILE` MYSQL import of CSV files, via a ruby script. The tables are consistently named and the schema does not...
0
6,750,311
07/19/2011 16:04:15
852,392
07/19/2011 16:04:15
1
0
Transfering Data From Iphone to Computer
Is there any possible way to transfer data from an Iphone to the computer when the Iphone is tethered and an application is open. Basically, the Iphone needs to be able to effect files on the computer.
iphone
data
transfer
null
null
07/19/2011 19:06:43
off topic
Transfering Data From Iphone to Computer === Is there any possible way to transfer data from an Iphone to the computer when the Iphone is tethered and an application is open. Basically, the Iphone needs to be able to effect files on the computer.
2
4,217,740
11/18/2010 17:29:12
242,934
01/04/2010 02:28:08
318
35
Comparator for String List
I am brand new to Java :) I have 2 String lists and I was wondering what would be the most efficient way to compare the two and have a resulting array which contains strings that are not in the other. For example, I have a list called oldStrings and one called Strings. I have seen the Comparator function but don't f...
java
string
list
null
null
null
open
Comparator for String List === I am brand new to Java :) I have 2 String lists and I was wondering what would be the most efficient way to compare the two and have a resulting array which contains strings that are not in the other. For example, I have a list called oldStrings and one called Strings. I have seen the...
0
8,077,879
11/10/2011 10:12:27
969,109
09/28/2011 12:53:33
24
2
Send message do another Computer in the Network via CmdLine
I would like to send from a server ( Windows 2008 R2) a pop up message to another Computer in the Network (Windows 7). I already enable AllowRemoteRPC in the registry of my Windows 7 system. This cmd works if I send a message from my Windows 2008 R2 Server to another Windows 2003 Server: msg /server:vcs.view....
networking
windows-7
command-line
messaging
null
11/11/2011 01:19:12
off topic
Send message do another Computer in the Network via CmdLine === I would like to send from a server ( Windows 2008 R2) a pop up message to another Computer in the Network (Windows 7). I already enable AllowRemoteRPC in the registry of my Windows 7 system. This cmd works if I send a message from my Windows 2008 R2 Ser...
2
11,160,509
06/22/2012 16:39:12
1,083,913
12/06/2011 16:28:13
71
0
c# named pipe not working
I have a server pipe and a client pipe. I start the server pipe, I connect the client, I send a message, everything ok. I close the server, then start a server pipe with the same name, even after closing the server the first time, my client pipe says connected, so I instantiate the client pipe class once more and try ...
c#
windows
ipc
null
null
07/25/2012 18:21:43
not a real question
c# named pipe not working === I have a server pipe and a client pipe. I start the server pipe, I connect the client, I send a message, everything ok. I close the server, then start a server pipe with the same name, even after closing the server the first time, my client pipe says connected, so I instantiate the clien...
1
1,227,945
08/04/2009 14:47:16
65,790
02/12/2009 22:36:25
18
2
Sonar project integration
Hi Ladies and Gentlemen, We've quite big project with own build framework, based mostly on Java (however other languages exist). We'd like to use Sonar Hudson plugin to graphically present various code metrics. How do we do this? Do we need to change project structure and bring it to maven or there is a wor...
sonar
null
null
null
null
null
open
Sonar project integration === Hi Ladies and Gentlemen, We've quite big project with own build framework, based mostly on Java (however other languages exist). We'd like to use Sonar Hudson plugin to graphically present various code metrics. How do we do this? Do we need to change project structure and brin...
0
11,195,037
06/25/2012 18:23:56
1,342,632
04/18/2012 22:33:00
519
51
Unable to restore from Snapshot
I've successfully created a snapshot of database SCPT_Pandora named SCPT_Pandora_snap. When I try to restore SCPT_Pandora from this snapshot, I get an error ("'DATABASE_SHAPSHOT' is not a recognized Device Type option"). I've tried this on two servers (2005 & 2008 Enterprise editions) and received the same error on bot...
sql-server
sql-server-2008
sql-server-2005
null
null
06/26/2012 12:29:29
too localized
Unable to restore from Snapshot === I've successfully created a snapshot of database SCPT_Pandora named SCPT_Pandora_snap. When I try to restore SCPT_Pandora from this snapshot, I get an error ("'DATABASE_SHAPSHOT' is not a recognized Device Type option"). I've tried this on two servers (2005 & 2008 Enterprise edition...
3
1,744,900
11/16/2009 21:14:43
71,561
02/26/2009 20:18:57
13
0
What is the best or most commonly used JMX Console / Client
I have a server application that has been instrumented using JMX so that it can be monitored in test and production environments. I wish to show the current value of some JMX exposed attributes as well as the long term trends in a graphical format. What is the best or most commonly used JMX Console / Client I hav...
jmx
null
null
null
null
06/15/2012 00:04:41
not constructive
What is the best or most commonly used JMX Console / Client === I have a server application that has been instrumented using JMX so that it can be monitored in test and production environments. I wish to show the current value of some JMX exposed attributes as well as the long term trends in a graphical format. Wha...
4
5,882,526
05/04/2011 11:17:20
715,455
04/19/2011 15:02:22
16
0
netcat source code for windows version
could someone provide a link of netcat source code of the windows version
c++
c
network-programming
netcat
null
05/04/2011 11:31:09
not a real question
netcat source code for windows version === could someone provide a link of netcat source code of the windows version
1
4,651,098
01/10/2011 20:19:53
147,601
07/30/2009 05:40:08
4,877
31
Accessing model field attributes in Django
I have a model in Django 1.2.4: class MyModel(): foo = IntegerField(verbose_name="bar") def printFoo(self): print("Value of %s is %d" % (foo.verbose_name, foo)) I'm trying to get both the value and verbose name of a field. How can I do this? I've looked at `myModel._met...
python
django
models
null
null
null
open
Accessing model field attributes in Django === I have a model in Django 1.2.4: class MyModel(): foo = IntegerField(verbose_name="bar") def printFoo(self): print("Value of %s is %d" % (foo.verbose_name, foo)) I'm trying to get both the value and verbose name of a field. Ho...
0
10,011,320
04/04/2012 12:42:05
1,297,681
03/28/2012 09:02:06
1
0
how to get a complete genome from reads in SAM/BAM format?
I have an output from MOSAIC assembler and would like to know which pipeline will be the best to retrieve the real complete sequence (where the sample is a single cell DNA)
python
assembly
bioinformatics
pipeline
null
04/05/2012 14:17:35
not a real question
how to get a complete genome from reads in SAM/BAM format? === I have an output from MOSAIC assembler and would like to know which pipeline will be the best to retrieve the real complete sequence (where the sample is a single cell DNA)
1
2,598,963
04/08/2010 10:06:34
231,999
12/15/2009 10:22:05
1,316
106
IDE underlining custom attributes
I have a custom attribute... [System.AttributeUsage(System.AttributeTargets.All)] public class Refactor : System.Attribute { private string _message; public Refactor() { _message = string.Empty; } public Refactor(string message) { _message = message; } } Applied to ...
visual-studio-2008
ide
attributes
colors
null
null
open
IDE underlining custom attributes === I have a custom attribute... [System.AttributeUsage(System.AttributeTargets.All)] public class Refactor : System.Attribute { private string _message; public Refactor() { _message = string.Empty; } public Refactor(string message) { _message ...
0
6,993,747
08/09/2011 09:03:04
384,864
07/06/2010 18:50:47
62
7
UINavigationController pushViewController from tableViewController subclass
I am seeing a strange app behaviour when I try to push some view controller from uitableviewcontroller subclass. Let me explain it first. I have created main nib which is rootViewController (from appDelegate) that is inside navigationController. In that nib a have added a tableView and a custom tableViewController s...
iphone
ios
uinavigationcontroller
subclass
nib
null
open
UINavigationController pushViewController from tableViewController subclass === I am seeing a strange app behaviour when I try to push some view controller from uitableviewcontroller subclass. Let me explain it first. I have created main nib which is rootViewController (from appDelegate) that is inside navigationCo...
0
10,648,474
05/18/2012 07:29:54
226,221
12/07/2009 09:11:20
191
13
Group Collection of Items by Category in ListView (WPF)
I have a Collection of Items. `ObservableCollection<Channel> Channels;` Each Channel contains Name and Category Properties I want to display that collection in listview. i want to click on Category expander and then show channels list with channels names Can you give me some advice?
wpf
listview
collections
group
null
null
open
Group Collection of Items by Category in ListView (WPF) === I have a Collection of Items. `ObservableCollection<Channel> Channels;` Each Channel contains Name and Category Properties I want to display that collection in listview. i want to click on Category expander and then show channels list with channels...
0
993,377
06/14/2009 18:11:02
32,484
10/29/2008 17:48:46
1,847
106
As a .NET developer, do I need to know Sql Server inside out?
I am a (certified) .NET developer. I know how to write stored procedures and call them and I know quite a lot about database design (it is taught a lot in schools here and I've done quite a bit of practise and learning) as well as the T-SQL language, but as a .NET developer, do I need to know how to do things like c...
career-development
null
null
null
null
01/30/2012 17:21:10
not constructive
As a .NET developer, do I need to know Sql Server inside out? === I am a (certified) .NET developer. I know how to write stored procedures and call them and I know quite a lot about database design (it is taught a lot in schools here and I've done quite a bit of practise and learning) as well as the T-SQL language,...
4
7,274,524
09/01/2011 18:06:51
923,989
09/01/2011 18:06:51
1
0
Can this mySQL query be faster?
With this I check if there is already a member registered with the same login. My concern is if the database grows bigger to thousands of members, should I edit this somehow ? $qry = "SELECT * FROM registered WHERE login='$login'"; $result = mysql_query($qry); if($result) { if(mysql_num_rows($result) >...
php
mysql
null
null
null
03/04/2012 15:17:19
too localized
Can this mySQL query be faster? === With this I check if there is already a member registered with the same login. My concern is if the database grows bigger to thousands of members, should I edit this somehow ? $qry = "SELECT * FROM registered WHERE login='$login'"; $result = mysql_query($qry); if($resul...
3
1,807,036
11/27/2009 06:07:21
110,274
05/21/2009 01:30:44
705
39
Git: merging public and private branches while while keeping certain files intact in both branches
I've read a few git questions here (will post some good links in a bit), but could not find an answer to this one: I have a public and a private branches where I want to allow certain files to diverge. Those are configuration files with passwords and my local customizations. I do want to be able to merge the ...
git
merge
null
null
null
null
open
Git: merging public and private branches while while keeping certain files intact in both branches === I've read a few git questions here (will post some good links in a bit), but could not find an answer to this one: I have a public and a private branches where I want to allow certain files to diverge. Those ar...
0
8,398,358
12/06/2011 10:26:44
973,238
09/30/2011 14:06:18
14
0
Batch commands in linux, gnome, bash
I am trying to make batch commands (sh) on linux for start, stop and restart my web server lighttpd, with partial success. Ideally, I would like to doubleclick icon and nothing more to do a job. Now, on doubleclick appear dialog "Do you want to run "START.sh", or display its contents?" and "START.sh" is an executab...
linux
bash
gnome-terminal
null
null
12/06/2011 16:40:13
off topic
Batch commands in linux, gnome, bash === I am trying to make batch commands (sh) on linux for start, stop and restart my web server lighttpd, with partial success. Ideally, I would like to doubleclick icon and nothing more to do a job. Now, on doubleclick appear dialog "Do you want to run "START.sh", or display it...
2
11,117,692
06/20/2012 10:31:40
450,399
09/17/2010 08:28:33
2,168
162
How to write to a text file - HttpConnection J2ME
I get no errors but my code is not saving any new data to the text file, here is my code: public void saveToLeaderboard() throws IOException { String toSave = "Random info I want to save"; HttpConnection connection = null; connection = (HttpConnection) Connector.open(...
java
java-me
httpconnection
null
null
null
open
How to write to a text file - HttpConnection J2ME === I get no errors but my code is not saving any new data to the text file, here is my code: public void saveToLeaderboard() throws IOException { String toSave = "Random info I want to save"; HttpConnection connection = null; ...
0
11,324,835
07/04/2012 08:01:34
491,950
10/30/2010 04:43:29
2,609
144
iPad/iPhone Chrome - Auth Cookie not setting over jquery post (ajax) - MVC 3
I'm having trouble with Chrome on the iPad/iPhone with what I thought was a simple enough task and works on Chrome Desktop (Mac & PC) and Safari on iPad/iPhone. I have the following jquery on my page: $("#login-login-button").click(function () { var username = $("#Username").val(); var password ...
iphone
asp.net-mvc-3
ipad
google-chrome
forms-authentication
null
open
iPad/iPhone Chrome - Auth Cookie not setting over jquery post (ajax) - MVC 3 === I'm having trouble with Chrome on the iPad/iPhone with what I thought was a simple enough task and works on Chrome Desktop (Mac & PC) and Safari on iPad/iPhone. I have the following jquery on my page: $("#login-login-button").click(...
0
9,257,541
02/13/2012 08:35:37
334,369
05/06/2010 11:37:11
386
10
Comments History showing twice on Custom Edit Form while doing document check out
I have custom edit form for shared docuemnt, there i have comment history field,Comments History showing twice on Custom Edit Form while doing document check out(automaticall) because of i have enabled the "Require Check Out" property.if i disable the "Require Check Out" then its displaying properly. how to resolve the...
forms
sharepoint
comments
history
field
02/13/2012 15:43:22
off topic
Comments History showing twice on Custom Edit Form while doing document check out === I have custom edit form for shared docuemnt, there i have comment history field,Comments History showing twice on Custom Edit Form while doing document check out(automaticall) because of i have enabled the "Require Check Out" propert...
2
3,423,730
08/06/2010 12:29:19
362,657
06/09/2010 16:25:41
16
3
UISplitViewController subclass in a universal app
I am building a universal app that uses a UISplitViewController for the iPad, and should work on any 3.0 device such as a 1st gen iPhone/iPod touch too. The trouble is that despite the fact that I am not actually creating any instances of UISplitViewController while the app is running on an iPhone, I still get the drea...
iphone
ipad
uisplitviewcontroller
null
null
null
open
UISplitViewController subclass in a universal app === I am building a universal app that uses a UISplitViewController for the iPad, and should work on any 3.0 device such as a 1st gen iPhone/iPod touch too. The trouble is that despite the fact that I am not actually creating any instances of UISplitViewController whil...
0
5,266,371
03/10/2011 21:53:32
341,512
05/14/2010 18:16:31
1
0
Is it possible to use an HTTP proxy with capybara?
Capybara's API doesn't seem to support configuring an HTTP proxy. Is there any way to use one with it? Context: I'm using capybara with cucumber to test a rails application, and akephalos as the javascript driver. There's a `script` tag on the page that makes a request to an external site (in this case, maps.google....
capybara
null
null
null
null
null
open
Is it possible to use an HTTP proxy with capybara? === Capybara's API doesn't seem to support configuring an HTTP proxy. Is there any way to use one with it? Context: I'm using capybara with cucumber to test a rails application, and akephalos as the javascript driver. There's a `script` tag on the page that makes a...
0
11,551,791
07/18/2012 23:21:43
1,166,285
01/24/2012 04:42:36
491
30
PHP create `<table>` dynamically from mysql query
I'm trying to create a page where I input a MYSQL query: `SELECT column1,column2 FROM table;`, and dynamically create an HTML table with column titles. I almost had it figured out, but realize I need some guidance. So far what I have is: **The form** (*somesite.php)* `<form method="POST" action="somesite.php">...
php
mysql
table
dynamic
null
null
open
PHP create `<table>` dynamically from mysql query === I'm trying to create a page where I input a MYSQL query: `SELECT column1,column2 FROM table;`, and dynamically create an HTML table with column titles. I almost had it figured out, but realize I need some guidance. So far what I have is: **The form** (*somesi...
0
7,388,690
09/12/2011 13:30:47
940,659
09/12/2011 13:30:47
1
0
How to link between unrelated but secure apps on same network?
I have a Java Seam app on a company network, into which a user logs in via JAAS/Active Directory. There is a second app on the same network (non-Seam, non-Java) that has a few pages of interest app. This second app runs on https and also requires a login. How could the first app create hyperlinks that point to p...
authentication
active-directory
seam
jaas
null
09/12/2011 21:41:18
not a real question
How to link between unrelated but secure apps on same network? === I have a Java Seam app on a company network, into which a user logs in via JAAS/Active Directory. There is a second app on the same network (non-Seam, non-Java) that has a few pages of interest app. This second app runs on https and also requires a...
1
4,420,659
12/12/2010 07:11:18
428,213
08/23/2010 08:59:28
20
2
UIImage Pixel rotation
I'm looking for a snippet of code that will demonstrate UIImage Pixel rotation. all the example I found so far was not very clear. Basically I want to give my user the options to rotate his image after he took a picture with the camera. Thanks for your time.
iphone
image-processing
null
null
null
null
open
UIImage Pixel rotation === I'm looking for a snippet of code that will demonstrate UIImage Pixel rotation. all the example I found so far was not very clear. Basically I want to give my user the options to rotate his image after he took a picture with the camera. Thanks for your time.
0
10,032,699
04/05/2012 16:49:57
892,776
08/13/2011 05:16:16
13
0
Stop future instances
hi when we entered in to a website by default a fancybox will be appeared and users will close it after reading it just like a welcome box here we need to add a anchor i.e. "Stop Futuer Instances" if users click this fancybox will be closed and at the same time when they opened the website few days after fancybox shoul...
javascript
jquery
cookies
jquery-cookie
null
04/06/2012 10:55:37
not a real question
Stop future instances === hi when we entered in to a website by default a fancybox will be appeared and users will close it after reading it just like a welcome box here we need to add a anchor i.e. "Stop Futuer Instances" if users click this fancybox will be closed and at the same time when they opened the website fe...
1
5,296,630
03/14/2011 09:11:59
610,962
02/10/2011 07:04:17
1
0
regarding friend id in app
Hello i am facing one problem i want to get the email_id of my friends in facebook to whom i have send the api request in my database.And also want to know that my friend has send request to how many friends and their email_id or profile id. And it should not go in the facebook database.Is this possible.please help me ...
php
null
null
null
null
03/14/2011 09:36:03
not a real question
regarding friend id in app === Hello i am facing one problem i want to get the email_id of my friends in facebook to whom i have send the api request in my database.And also want to know that my friend has send request to how many friends and their email_id or profile id. And it should not go in the facebook database....
1
3,541,134
08/22/2010 10:35:36
427,303
08/21/2010 21:05:00
1
1
How to reverse this algorithm to get back the original text?
Can anyone please explain with the easy coding how to reverse this algorithm so that I get back the original text string? <pre> Public Function CreateIntChecksum(ByVal s As String) As Integer Dim r As Integer = 0 For i As Integer = 0 To (s.Length() - 1) Dim bchar As Byte = Convert...
c#
algorithm
hash
checksum
reverse
08/23/2010 19:45:56
not a real question
How to reverse this algorithm to get back the original text? === Can anyone please explain with the easy coding how to reverse this algorithm so that I get back the original text string? <pre> Public Function CreateIntChecksum(ByVal s As String) As Integer Dim r As Integer = 0 For i As Intege...
1
11,329,256
07/04/2012 12:36:42
1,501,566
07/04/2012 12:28:23
1
0
UIImageview does not have outlet collection of gresturer recognisers?
when i try to drag gesture from IB into my uiimageview it's shows some error notices like imageview does not have outlet collections of gesture recognisers ...but code is compiled without warnings and error .i think gesture is not added to imageview...
ios
null
null
null
null
07/08/2012 15:47:00
not a real question
UIImageview does not have outlet collection of gresturer recognisers? === when i try to drag gesture from IB into my uiimageview it's shows some error notices like imageview does not have outlet collections of gesture recognisers ...but code is compiled without warnings and error .i think gesture is not added to image...
1
7,987,406
11/02/2011 21:13:57
420,803
08/15/2010 05:23:19
359
10
How to use Go to Declaration with Netbeans and javascript?
I know we can use Ctrl+Click, or Ctrl+B in Netbeans, but it doesn't work to me when I'm writing javascript files. And I'm not the only one:<br> http://netbeans-org.1045718.n5.nabble.com/Javascript-Go-to-declaration-td3304751.html<br> (sadly that question has no reply) <br> <br> I can see the functions on th...
javascript
netbeans
go-to-definition
null
null
null
open
How to use Go to Declaration with Netbeans and javascript? === I know we can use Ctrl+Click, or Ctrl+B in Netbeans, but it doesn't work to me when I'm writing javascript files. And I'm not the only one:<br> http://netbeans-org.1045718.n5.nabble.com/Javascript-Go-to-declaration-td3304751.html<br> (sadly that q...
0
8,646,464
12/27/2011 15:46:20
1,117,844
12/27/2011 15:19:50
1
0
c# 4.0 Rest services with Flex
i want to know your suggestion regarding weborb, like should we integrate weborb with .net rest services for flex front end or not. Thanks.
c#
flex4
null
null
null
06/28/2012 15:28:31
not constructive
c# 4.0 Rest services with Flex === i want to know your suggestion regarding weborb, like should we integrate weborb with .net rest services for flex front end or not. Thanks.
4
3,962,506
10/18/2010 19:15:08
479,691
10/18/2010 19:15:08
1
0
XPO or NHibernate
Cześć, stoję właśnie przed wyborem ORM'a. I waham się: XPO czy NHibernate? Masz jakieś konkretne doświadczenia, którymi chciałbyś się ze mną podzielić? Będę wdzięczna za wszelkie info. Pozdrawiam, Ola :) aleksandra.wasacz@snt.pl Hallo, I founded that you are familliar with these 2 ORM's : XPO (DevExpr...
nhibernate
null
null
null
null
10/21/2010 01:20:03
too localized
XPO or NHibernate === Cześć, stoję właśnie przed wyborem ORM'a. I waham się: XPO czy NHibernate? Masz jakieś konkretne doświadczenia, którymi chciałbyś się ze mną podzielić? Będę wdzięczna za wszelkie info. Pozdrawiam, Ola :) aleksandra.wasacz@snt.pl Hallo, I founded that you are familliar with these...
3
6,173,948
05/30/2011 08:27:51
765,738
05/23/2011 09:25:15
14
0
How to create a list using std::list<>
I would like to ask you how can I create and work with a list? I have for example #include<list> class one: { //code class two: { //code }; }; And then I have the method: bool how(std::list<one::two> &element) { //code return true } ...
c++
ubuntu
null
null
null
05/31/2011 14:55:17
not a real question
How to create a list using std::list<> === I would like to ask you how can I create and work with a list? I have for example #include<list> class one: { //code class two: { //code }; }; And then I have the method: bool how(std::list<one::two> &element)...
1
11,236,121
06/27/2012 23:22:16
196,038
10/25/2009 00:31:17
180
14
Mastering javascript course/workshop, Exist?
I'm living in a place where meet or know other developers with great experience is quite complicated and assist to an high quality javascript course is even more complicated. I have a strong javascript knowledge, prototypejs and jquery also. BUT I would like to go one step further and become a master javascript pro...
javascript
null
null
null
null
06/28/2012 01:49:56
off topic
Mastering javascript course/workshop, Exist? === I'm living in a place where meet or know other developers with great experience is quite complicated and assist to an high quality javascript course is even more complicated. I have a strong javascript knowledge, prototypejs and jquery also. BUT I would like to go o...
2
3,766,664
09/22/2010 05:56:50
201,387
11/03/2009 03:56:34
819
34
Scrolling in jqPlot
i am using jqplot to show candlestick chart and the data is from xml. i retrive data from xml and put it into array and then jqplot creates a candlestick chart from that. but xml file contains lots of data so in chart values are over lapping (with fixed width). is it possible that we make graph of lets say 10% of da...
javascript
asp.net
jqplot
null
null
null
open
Scrolling in jqPlot === i am using jqplot to show candlestick chart and the data is from xml. i retrive data from xml and put it into array and then jqplot creates a candlestick chart from that. but xml file contains lots of data so in chart values are over lapping (with fixed width). is it possible that we make gr...
0
10,272,621
04/22/2012 22:18:58
1,006,160
10/20/2011 22:34:08
1
0
Efficiently using an ActionListener
I would like to know the bast way to use an ActionListener. I've seen a few ways to use it, and I'd like to know which one is best. This is one of the ways that I have seen it, with a lot more else-if statements. private ActionListener actionListener = new ActionListener() { @Override public vo...
java
swing
actionlistener
null
null
04/23/2012 11:54:09
not constructive
Efficiently using an ActionListener === I would like to know the bast way to use an ActionListener. I've seen a few ways to use it, and I'd like to know which one is best. This is one of the ways that I have seen it, with a lot more else-if statements. private ActionListener actionListener = new ActionListe...
4
11,424,080
07/11/2012 00:55:14
1,516,339
07/11/2012 00:52:24
1
0
Joomla ! A MVC framework or CMS?
Sorry.i am new to joomla.Is there anyone who could tell me whether joomla is mvc framework or content management system?? I am confused.kind regards
mvc
joomla
content-management-system
null
null
07/11/2012 17:45:27
not constructive
Joomla ! A MVC framework or CMS? === Sorry.i am new to joomla.Is there anyone who could tell me whether joomla is mvc framework or content management system?? I am confused.kind regards
4
6,377,349
06/16/2011 19:20:05
651,174
03/09/2011 08:26:41
342
5
What is contained in a Google search URL?
I was wondering what is contained in a Google search result's URL. Here's the URL that returned after doing the search 'search'. http://www.google.com/#sclient=psy&hl=en&site=&source=hp&q=search&aq=f&aqi=&aql=&oq=&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=cf49881a35f82be5&biw=1086&bih=758. Explanations of the various parts...
python
url
search
google
null
06/16/2011 21:35:06
off topic
What is contained in a Google search URL? === I was wondering what is contained in a Google search result's URL. Here's the URL that returned after doing the search 'search'. http://www.google.com/#sclient=psy&hl=en&site=&source=hp&q=search&aq=f&aqi=&aql=&oq=&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=cf49881a35f82be5&biw=108...
2
8,326,854
11/30/2011 13:41:25
481,061
10/19/2010 22:11:10
1,051
16
How do I adjust the server path for my working copy in TortoiseSVN?
I have had a repository with the following layout: //server/wrongname/superfluousdir/trunk/... Now I have moved `trunk` to the root of the repository (using the TortoiseSVN repo browser) and changed the repository name (using SVNManager): //server/correctname/trunk/... I have a working copy folder w...
svn
tortoisesvn
commit
null
null
null
open
How do I adjust the server path for my working copy in TortoiseSVN? === I have had a repository with the following layout: //server/wrongname/superfluousdir/trunk/... Now I have moved `trunk` to the root of the repository (using the TortoiseSVN repo browser) and changed the repository name (using SVNManager)...
0
9,586,037
03/06/2012 14:53:10
1,252,492
03/06/2012 14:49:16
1
0
CFG in Java Programming Language
I need a CFG written in JPL that generates an ID. The specifications are here: 1. Write a CFG to generate identifiers(IDs) in Java Programming Language. An ID in Java is a string of characters consisting of letters (upper-level or lower-level), digits, underscores _, or dollar sign $, and it cannot start with a dig...
cfg
null
null
null
null
03/06/2012 21:44:12
not a real question
CFG in Java Programming Language === I need a CFG written in JPL that generates an ID. The specifications are here: 1. Write a CFG to generate identifiers(IDs) in Java Programming Language. An ID in Java is a string of characters consisting of letters (upper-level or lower-level), digits, underscores _, or dollar ...
1