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
8,704,889
01/02/2012 20:11:23
975,898
10/02/2011 23:42:12
70
0
Auto Full Screen for FLV?
I have my own player that I use to play flv files (link is below). If autoStart=true is for auto play, is there anything for auto fullscreen? http://player.longtailvideo.com/player.swf?file=http://content.bitsontherun.com/videos/bkaovAYt-364766.mp4&autoStart=true&allowfullscreen=true
html
swf
flv
player
null
null
open
Auto Full Screen for FLV? === I have my own player that I use to play flv files (link is below). If autoStart=true is for auto play, is there anything for auto fullscreen? http://player.longtailvideo.com/player.swf?file=http://content.bitsontherun.com/videos/bkaovAYt-364766.mp4&autoStart=true&allowfullscreen=tru...
0
4,728,639
01/18/2011 20:23:39
379,079
06/29/2010 14:05:34
915
60
Localization with NHibernate
I'm a new to NHibernate. I just started development of my next project using NHibernate. One of the requirements is that entity classes should be localized. I'm doing localization the following way: - Every entity which should be localized is split into 2 table and 2 entities. For example, I have an entity Service wh...
.net
nhibernate
orm
localization
nhibernate-mapping
null
open
Localization with NHibernate === I'm a new to NHibernate. I just started development of my next project using NHibernate. One of the requirements is that entity classes should be localized. I'm doing localization the following way: - Every entity which should be localized is split into 2 table and 2 entities. For ex...
0
3,049,658
06/15/2010 22:54:03
333,948
05/05/2010 23:05:51
126
15
Silverlight 4.0 question - synchronous calls to asmx web service
I have Silverlight problem. I have to deal with fairly large legacy application that has some web services exposed (regular asmx, not wcf). What I need to do is to build Silverlight app that consumes those web services. Due to business logic I need to have the same web method to be called from Silverlight app synchr...
silverlight
service
synchronous
null
null
null
open
Silverlight 4.0 question - synchronous calls to asmx web service === I have Silverlight problem. I have to deal with fairly large legacy application that has some web services exposed (regular asmx, not wcf). What I need to do is to build Silverlight app that consumes those web services. Due to business logic I nee...
0
9,351,238
02/19/2012 17:09:07
1,191,803
02/06/2012 08:00:32
1
0
Updating Clients on any changing of server database
I made a program on VS + SQL Server 2008 and launched it on a home network of 3 computers connected through LAN ,The Program fetches data from database and Put it in Dataset ,So users will work on the datasets and any Update ,delete or add on the dataset will update the Database. The database is on one of the PC (serv...
database
visual-studio
sql-server-2008
networking
null
02/20/2012 20:12:14
not a real question
Updating Clients on any changing of server database === I made a program on VS + SQL Server 2008 and launched it on a home network of 3 computers connected through LAN ,The Program fetches data from database and Put it in Dataset ,So users will work on the datasets and any Update ,delete or add on the dataset will upd...
1
11,545,772
07/18/2012 16:11:52
1,024,553
11/01/2011 21:42:33
176
11
Does anyone has compiled igraph, graph layout library for iOS?
Does anyone has compiled graph (http://igraph.sourceforge.net/), graph layout library for iOS?
ios
igraph
null
null
null
07/23/2012 05:49:44
off topic
Does anyone has compiled igraph, graph layout library for iOS? === Does anyone has compiled graph (http://igraph.sourceforge.net/), graph layout library for iOS?
2
1,778,683
11/22/2009 13:23:46
74,089
03/05/2009 05:43:34
238
18
Dead code detection in PHP
I have a project with very messy code - lots of duplication and dead code here and there. Some time ago there was zero code coverage by unit-tests but now we're trying to write all new code in T.D.D. manner and lowering technical debt by covering "old" code by unit-tests as well(test-last technique). <b>Business ...
refactoring
legacy-code
code-coverage
php
null
06/19/2012 18:43:39
not constructive
Dead code detection in PHP === I have a project with very messy code - lots of duplication and dead code here and there. Some time ago there was zero code coverage by unit-tests but now we're trying to write all new code in T.D.D. manner and lowering technical debt by covering "old" code by unit-tests as well(test-...
4
1,347,572
08/28/2009 15:01:52
52,962
01/08/2009 15:27:08
46
5
How do I make an Infragistics WinForm Grid to allow only a single row to be selected?
How do I make an Infragistics WinForm Grid to allow only a single row to be selected?
c#
infragistics
winforms
null
null
null
open
How do I make an Infragistics WinForm Grid to allow only a single row to be selected? === How do I make an Infragistics WinForm Grid to allow only a single row to be selected?
0
11,553,491
07/19/2012 03:28:38
456,218
09/23/2010 13:39:16
736
1
Why the type doesn't match in this value swap code in C?
void swap(char *a,char *b){ char t; t = *a; *a = *b; *b = t; } int main(void){ char a = '1'; char b = '2'; swap(&a,&b); printf("The value is %c and %c respectively\n",a,b); return 0; } in the above code, there's a spot that confus...
c
pointers
null
null
null
null
open
Why the type doesn't match in this value swap code in C? === void swap(char *a,char *b){ char t; t = *a; *a = *b; *b = t; } int main(void){ char a = '1'; char b = '2'; swap(&a,&b); printf("The value is %c and %c respectively\n",a,b); r...
0
11,168,679
06/23/2012 10:13:18
1,379,851
05/07/2012 13:24:12
499
36
how to create interface?
How to create Interface in Javascript... Actually i am developing one project and in it i need to download an image & save it in SDcard. By using ponegap downloader plugin i have done that one in Android & by using Blackberry File download API done in BlackBerry. But my people are asking me now to create Interface f...
javascript
android
jquery
blackberry
interface
null
open
how to create interface? === How to create Interface in Javascript... Actually i am developing one project and in it i need to download an image & save it in SDcard. By using ponegap downloader plugin i have done that one in Android & by using Blackberry File download API done in BlackBerry. But my people are askin...
0
8,290,936
11/28/2011 02:38:05
1,061,354
11/23/2011 07:15:25
1
0
How do you stop a game of Hangman when the user guesses all the right letters or if the user uses all his tries?
This is the code that i have written. It can ask for the the user to guess a letter and keeps on doing it and asks the user how many tries he wants but that part is kind of broken because you can guess as much wrong letters as you want. I need to fix that and also I need the game to stop once the user uses all of his t...
java
javascript
eclipse
null
null
11/28/2011 03:35:40
not a real question
How do you stop a game of Hangman when the user guesses all the right letters or if the user uses all his tries? === This is the code that i have written. It can ask for the the user to guess a letter and keeps on doing it and asks the user how many tries he wants but that part is kind of broken because you can guess ...
1
6,407,849
06/20/2011 07:05:31
781,764
06/02/2011 19:48:52
26
3
Apply font size to img alt property without affecting the image size
Hi I am trying to set the font size to the img **alt property** but it affects the image size. I'm doing something like this in the css --- HTML Code: <img alt="Some Text" src="http://www.someimage.com/img/010.jpg"> CSS: img[alt]{font-size:0.75em;} --- Can anyone help m...
css
null
null
null
null
null
open
Apply font size to img alt property without affecting the image size === Hi I am trying to set the font size to the img **alt property** but it affects the image size. I'm doing something like this in the css --- HTML Code: <img alt="Some Text" src="http://www.someimage.com/img/010.jpg"> ...
0
637,324
03/12/2009 04:06:57
36,397
11/11/2008 00:51:34
111
16
Write-Once + Read-Numerous Map in Java?
I have a requirement that a <tt>Map</tt> will be constructed with up to 50~200 entries (it could be more, let's call it not-too-little anyway). The writing is only done once and the reading (using <tt>Map.get("keyName")</tt>) can go more than 20 per request (it's a webapp). I'm going for <tt>Hashmap</tt> currently a...
java
data-structures
performance
null
null
null
open
Write-Once + Read-Numerous Map in Java? === I have a requirement that a <tt>Map</tt> will be constructed with up to 50~200 entries (it could be more, let's call it not-too-little anyway). The writing is only done once and the reading (using <tt>Map.get("keyName")</tt>) can go more than 20 per request (it's a webapp). ...
0
2,688,791
04/22/2010 06:57:59
322,978
04/22/2010 06:57:59
1
0
How to check if a DateTime range is within another 3 month DateTime range .NET 3.5 C#
Hi I have a Start Date and End Date per record in a db. I need to check to see where the time period falls in a 2 year period broken into two lots of quarters then display what quarters each record falls into. Quarter 1 includes June 09, Jul 09, Aug 09 Quarter 2 includes Sept 09, Oct 09, Nov 09 Quarter 3 in...
asp.net-3.5
c#
null
null
null
null
open
How to check if a DateTime range is within another 3 month DateTime range .NET 3.5 C# === Hi I have a Start Date and End Date per record in a db. I need to check to see where the time period falls in a 2 year period broken into two lots of quarters then display what quarters each record falls into. Quarter 1 inc...
0
7,833,597
10/20/2011 09:11:26
562,417
01/04/2011 10:45:35
374
29
Wordpress plugin issue
Tried creating a simple plugin. <?php /** * @package Hello_Dolly * @version 1.6 */ /* Plugin Name: FomXong Plugin URI: http://wordpress.org/extend/plugins/hello-dolly/ Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation ...
wordpress
wordpress-plugin
null
null
null
10/24/2011 02:28:51
off topic
Wordpress plugin issue === Tried creating a simple plugin. <?php /** * @package Hello_Dolly * @version 1.6 */ /* Plugin Name: FomXong Plugin URI: http://wordpress.org/extend/plugins/hello-dolly/ Description: This is not just a plugin, it symbolizes the hope and enthusi...
2
3,047,217
06/15/2010 16:42:03
248,827
01/12/2010 11:24:07
935
41
How to resolve conflicting assemblies in .Net?
In my web application I am using **NHibernate.dll**. This has a dependency on folowing assembly. > 'Antlr3.Runtime, Version=3.1.0.39271, > Culture=neutral, > PublicKeyToken=3a9cab8f8d22bfb7' Now in the same project for another requirement I have to introduce **Antlr3.StringTemplate.dll**. Which has a dependency...
.net
asp.net
nhibernate
assembly
assembly-resolution
null
open
How to resolve conflicting assemblies in .Net? === In my web application I am using **NHibernate.dll**. This has a dependency on folowing assembly. > 'Antlr3.Runtime, Version=3.1.0.39271, > Culture=neutral, > PublicKeyToken=3a9cab8f8d22bfb7' Now in the same project for another requirement I have to introduce *...
0
10,867,729
06/03/2012 03:44:10
506,230
11/12/2010 20:24:11
290
25
Should nested data in Ember have a single arrayController or multiple?
I'm working on a proof of concept app and I have a question about data storage. My app has a client model PM.Client = Ember.Object.extend({ id: null, client: null, projects: {} }); and a projects model PM.Project = Ember.Object.extend({ id: null, title: null, ...
emberjs
null
null
null
null
null
open
Should nested data in Ember have a single arrayController or multiple? === I'm working on a proof of concept app and I have a question about data storage. My app has a client model PM.Client = Ember.Object.extend({ id: null, client: null, projects: {} }); and a projects model ...
0
7,913,646
10/27/2011 08:53:35
420,613
08/14/2010 20:15:21
637
72
RAD 8 not installing on windows
I installed RAD 8 trial version successfully few months ago. My windows crashed and now I have new windows on my PC. When I try to install RAD 8 its giving the attached error before selecting features to install. What can I do. I have its license but it is not being installed. ![enter image description here][1] ...
java
ibm
ibm-rad
null
null
10/28/2011 01:15:45
off topic
RAD 8 not installing on windows === I installed RAD 8 trial version successfully few months ago. My windows crashed and now I have new windows on my PC. When I try to install RAD 8 its giving the attached error before selecting features to install. What can I do. I have its license but it is not being installed. !...
2
1,595,637
10/20/2009 15:52:37
190,548
10/15/2009 11:28:08
1
0
What's the most productive way to do NHibernate mapping?
I know annotations to do the hibernate mapping in Java and am looking now for a similar way to do the same in C# and NHibernate. I found out that there exists several approaches - do the mapping in xml files - NHibernate.Mapping.Attributes (NHMA) - Fluent - are there any more?? I tried NHMA and found out i...
nhibernate
mapping
fluent-nhibernate
nhibernate-mapping
null
null
open
What's the most productive way to do NHibernate mapping? === I know annotations to do the hibernate mapping in Java and am looking now for a similar way to do the same in C# and NHibernate. I found out that there exists several approaches - do the mapping in xml files - NHibernate.Mapping.Attributes (NHMA) - F...
0
7,947,469
10/30/2011 20:04:27
1,020,270
10/30/2011 00:10:52
9
0
Write a function that opens a web page and returns a dictionary of all the links and their text on that page
Write a function that opens a web page and returns a dictionary of all the links and their text on that page. For each line in page [use appropriate syntax for webpages] • while there remains some character in line i. if line contains <a href= A. slice line so that everything up to <a href= is removed ...
python
null
null
null
null
10/30/2011 23:40:56
too localized
Write a function that opens a web page and returns a dictionary of all the links and their text on that page === Write a function that opens a web page and returns a dictionary of all the links and their text on that page. For each line in page [use appropriate syntax for webpages] • while there remains some c...
3
4,286,793
11/26/2010 16:03:17
521,567
11/26/2010 16:03:17
1
0
How do i make a map stimulator like in minigames?
I need a stimulator that teleports all players to a random chosen map and is timed to stay at that map for 1 minute, then returns to lobby for 20 seconds EXTRA: if you know how to get points for blowing up stuff then tag it with an EXTRA:.
roblox
null
null
null
null
08/31/2011 01:58:35
not a real question
How do i make a map stimulator like in minigames? === I need a stimulator that teleports all players to a random chosen map and is timed to stay at that map for 1 minute, then returns to lobby for 20 seconds EXTRA: if you know how to get points for blowing up stuff then tag it with an EXTRA:.
1
9,046,918
01/28/2012 16:40:01
472,123
10/11/2010 09:05:59
444
8
PowerShell - IE Object, Set value error
I want to create a script with PowerShell to check the flight status. But it´s not possible for me to set textbox value. How can I fix it? Thank you in advance! **Error: Property 'value' cannot be found on this object; make sure it exists and is settable.** Code: #Flight Number (Only Lufthansa) ...
internet-explorer
powershell
null
null
null
null
open
PowerShell - IE Object, Set value error === I want to create a script with PowerShell to check the flight status. But it´s not possible for me to set textbox value. How can I fix it? Thank you in advance! **Error: Property 'value' cannot be found on this object; make sure it exists and is settable.** Code: ...
0
10,014,590
04/04/2012 15:43:52
1,278,908
03/19/2012 15:28:38
9
0
System.out.println("Console message") does not work
I tried printing messages using the System.out.println("Console message") but the messages are not getting printed in the console. Any specific reasons for this? How to print the console messages then? i can see another window named DDMS. what is the use of it? Please help Regards, Bunty
android
android-layout
android-emulator
null
null
04/05/2012 12:30:03
not a real question
System.out.println("Console message") does not work === I tried printing messages using the System.out.println("Console message") but the messages are not getting printed in the console. Any specific reasons for this? How to print the console messages then? i can see another window named DDMS. what is the use of it...
1
9,750,675
03/17/2012 14:17:51
495,874
11/03/2010 12:03:57
68
0
Retrieving Data from JSON
Pls how do I retrieve the **title** from this json usng PHP { "kind": "plus#activityFeed", "etag": "\"U2cYozG4eBioYd-8MEmyk8vsux4/98RQufcXcSAhnognM4kqOBjWygU\"", "items": [ { "kind": "plus#activity", "etag": "\"U2cYozG4eBioYd-8MEmyk8vsux4/AMRVwIlEV6SoJ8ZkM...
php
json
null
null
null
03/18/2012 14:01:06
too localized
Retrieving Data from JSON === Pls how do I retrieve the **title** from this json usng PHP { "kind": "plus#activityFeed", "etag": "\"U2cYozG4eBioYd-8MEmyk8vsux4/98RQufcXcSAhnognM4kqOBjWygU\"", "items": [ { "kind": "plus#activity", "etag": "\"U2cYozG4eBioYd...
3
7,883,194
10/24/2011 23:41:03
688,352
04/01/2011 22:07:44
11
0
Create an iframe and set its base tag with jquery correctly
I'm attempting to set the base tag of a dynamically created iframe. Everything works if I set the base tag to the root (http://example.com/) and make the links in the src file include the path from the base. However, if I set the base to include the folder path (http://example.com/Test/) only links work. I've been tr...
jquery
iframe
links
relative
base-tag
null
open
Create an iframe and set its base tag with jquery correctly === I'm attempting to set the base tag of a dynamically created iframe. Everything works if I set the base tag to the root (http://example.com/) and make the links in the src file include the path from the base. However, if I set the base to include the fold...
0
9,942,592
03/30/2012 12:06:32
1,264,429
03/12/2012 15:08:27
11
0
How to make checkbox checked by default in php
I am working in a form in which there are check boxes now i want to check one by default in admin panel which is checked by the user in fromt end while he submitted form.Form is same in both the panel but in admin panel the form is already filled with values entered by the user at the time of submitted in front end. t...
php
javascript
null
null
null
03/31/2012 15:19:06
not a real question
How to make checkbox checked by default in php === I am working in a form in which there are check boxes now i want to check one by default in admin panel which is checked by the user in fromt end while he submitted form.Form is same in both the panel but in admin panel the form is already filled with values entered b...
1
10,563,789
05/12/2012 12:35:37
253,832
01/19/2010 08:27:50
52
1
How to locate user with leaflet locate?
I'm trying to locate a user and set the map to this position with leaflet: map.locate({setView : true}); On execute the browser ask for permission, but then nothing happens? What's wrong with my code?
javascript
leaflet
null
null
null
null
open
How to locate user with leaflet locate? === I'm trying to locate a user and set the map to this position with leaflet: map.locate({setView : true}); On execute the browser ask for permission, but then nothing happens? What's wrong with my code?
0
6,373,315
06/16/2011 14:12:23
424,294
08/18/2010 16:50:12
103
4
How to replace a char in string with an Empty character in C#.NET
I have a string like this: string val = "123-12-1234"; How can I replace the dashes using an empty string in C#. I mean val.Replace(char oldChar, newChar); What needs to go in oldChar and newChar.
c#
null
null
null
null
06/16/2011 15:48:07
too localized
How to replace a char in string with an Empty character in C#.NET === I have a string like this: string val = "123-12-1234"; How can I replace the dashes using an empty string in C#. I mean val.Replace(char oldChar, newChar); What needs to go in oldChar and newChar.
3
10,842,080
05/31/2012 22:21:41
1,429,476
05/31/2012 21:29:11
1
0
model/view/presenter: presenter-to-presenter communication
I have a view class that represents a widget, and an accompanying presenter class. I also have a view class for a window that owns the widget, and an accompanying presenter for the window view. The window manipulates the widget, so I need the window presenter to communicate with the widget presenter. To visualize: ...
mvp
construction
null
null
null
null
open
model/view/presenter: presenter-to-presenter communication === I have a view class that represents a widget, and an accompanying presenter class. I also have a view class for a window that owns the widget, and an accompanying presenter for the window view. The window manipulates the widget, so I need the window presen...
0
10,469,223
05/06/2012 08:30:21
1,377,803
05/06/2012 08:19:51
1
0
old flex sdk download
Since old flex sdk download links don't work, and question http://stackoverflow.com/questions/10456540/where-else-find-a-download-link-of-flex-sdk-4 is closed, maybe somebody have some other (private) link ... ?
flex
sdk
null
null
null
07/13/2012 07:25:59
too localized
old flex sdk download === Since old flex sdk download links don't work, and question http://stackoverflow.com/questions/10456540/where-else-find-a-download-link-of-flex-sdk-4 is closed, maybe somebody have some other (private) link ... ?
3
11,370,929
07/06/2012 23:33:32
1,352,300
04/23/2012 20:48:16
3
0
cross chat code
Please some one explain me the following. I am trying to build a cross domain chat using curl, but i don't know what the below statements do 1) curl_setopt($ch, CURLOPT_POSTFIELDS,"user_name=$user_name&cmd=$send_cmd&domain=$my_domain"); 2) curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false); //code ...
php
javascript
html
ajax
curl
07/08/2012 07:34:09
not a real question
cross chat code === Please some one explain me the following. I am trying to build a cross domain chat using curl, but i don't know what the below statements do 1) curl_setopt($ch, CURLOPT_POSTFIELDS,"user_name=$user_name&cmd=$send_cmd&domain=$my_domain"); 2) curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,fals...
1
5,665,874
04/14/2011 15:45:05
708,268
04/14/2011 15:45:05
1
0
SQL relationships between tables
it might sound stupid. can we have a database containing some tables without relations.
sql
null
null
null
null
null
open
SQL relationships between tables === it might sound stupid. can we have a database containing some tables without relations.
0
2,528,589
03/27/2010 08:01:38
298,800
03/22/2010 06:28:36
1
0
Git-windows case sensitive file names not handled properly
We have the git bare repository in unix that has files with same name that differs only in cases. Example: GRANT.sql grant.sql When we clone the bare repository from unix in to a windows box, git status detecs the file as modified. The working tree is loaded only with grant.sql, but git status compares grant....
msys
null
null
null
null
null
open
Git-windows case sensitive file names not handled properly === We have the git bare repository in unix that has files with same name that differs only in cases. Example: GRANT.sql grant.sql When we clone the bare repository from unix in to a windows box, git status detecs the file as modified. The working t...
0
1,204,446
07/30/2009 04:25:45
116,371
06/03/2009 05:28:06
914
73
Is there a need of namespaces in database?
Often I am frustrated by the fact that there are a lot of tables, views, stored procedure all placed under one hierarchy. I am looking for a way (like namespaces) that would group related tables under one banner. This would not only be easy to understand. Also i would avoid the need for coming up with fancy names. I am...
database-design
namespaces
null
null
null
null
open
Is there a need of namespaces in database? === Often I am frustrated by the fact that there are a lot of tables, views, stored procedure all placed under one hierarchy. I am looking for a way (like namespaces) that would group related tables under one banner. This would not only be easy to understand. Also i would avo...
0
1,375,806
09/03/2009 20:36:42
25,515
10/06/2008 15:01:43
1,035
55
Help simplifying this Regular Expression pattern
I have this Regular Expression that matches the following strings: <!-- 09-02-2009 ---> <!-- 09-02-2009 12:00:00 --> <!-- 09-02-2009 12:00:00 A --> <!-- 09-02-2009 12:00:00 AM --> Here is the pattern: <!-- (?<month>\d{2}?)-(?<day>\d{2}?)-(?<year>\d{4}?)(?:(?: ?\d{2}:?){3}?(?: ?[aApP][mM]...
regex
null
null
null
null
null
open
Help simplifying this Regular Expression pattern === I have this Regular Expression that matches the following strings: <!-- 09-02-2009 ---> <!-- 09-02-2009 12:00:00 --> <!-- 09-02-2009 12:00:00 A --> <!-- 09-02-2009 12:00:00 AM --> Here is the pattern: <!-- (?<month>\d{2}?)-(?<day>\d{2...
0
6,054,011
05/19/2011 05:06:06
629,530
02/23/2011 04:26:40
23
0
Trouble getting RAlt to autorepeat as when mapped as backspace
I could use a hand getting a key remapping to work. Backspace is too far away - my poor pinky has to stretch to get to it and it's starting to get sore. That might seem silly, but I want to deal with rsi early on. A solution, as I see it, is to remap my Right Alt key (which I never use) to backspace so I can hit i...
keyboard
x
xmodmap
null
null
05/25/2011 17:03:26
off topic
Trouble getting RAlt to autorepeat as when mapped as backspace === I could use a hand getting a key remapping to work. Backspace is too far away - my poor pinky has to stretch to get to it and it's starting to get sore. That might seem silly, but I want to deal with rsi early on. A solution, as I see it, is to re...
2
10,653,200
05/18/2012 13:04:32
369,765
02/22/2010 12:49:04
665
17
Outlook 2010 Stationary and Signatures Position
I am trying to build a corporate Email template which everyone can use. Two Issues I am having with this. When using the template, Signatures are entered below the code of the html Stationary file I have created. I would like to pick where the signature goes. Is this possible? Secondly im having issues with backg...
email
signature
outlook-2010
null
null
06/26/2012 11:51:24
not a real question
Outlook 2010 Stationary and Signatures Position === I am trying to build a corporate Email template which everyone can use. Two Issues I am having with this. When using the template, Signatures are entered below the code of the html Stationary file I have created. I would like to pick where the signature goes. Is t...
1
9,438,537
02/24/2012 21:47:41
1,010,031
10/23/2011 23:34:50
303
1
jQuery ajax not returning youtube iframe src
I have a jsFiddle here : http://jsfiddle.net/ZXDYS/22/ ---------- I am creating Blogger post summaries using jQuery although it will not return the element iframe's attr src...You can find the blog [here][1] for reference . what have i done wrong? please help! $.ajax({ url: 'http://www.blogger.com/fee...
javascript
jquery
iframe
src
null
null
open
jQuery ajax not returning youtube iframe src === I have a jsFiddle here : http://jsfiddle.net/ZXDYS/22/ ---------- I am creating Blogger post summaries using jQuery although it will not return the element iframe's attr src...You can find the blog [here][1] for reference . what have i done wrong? please help! ...
0
1,772,336
11/20/2009 18:15:48
214,348
11/19/2009 05:48:57
42
0
suggest me a book with java programming problems
please suggest me a java book that contains challenging programming problems.
java
null
null
null
null
11/21/2009 20:16:02
not a real question
suggest me a book with java programming problems === please suggest me a java book that contains challenging programming problems.
1
8,547,221
12/17/2011 19:06:59
1,020,785
10/30/2011 14:57:40
80
4
Variable type specifier in C
I just started in C programming and I know that "%d" defines that it will be a number value, as in: int x = 9; printf("X = %d", x); getchar(); return 0; but what are the other variable specifiers for C? (to define strings, and do they change for float, double, long, etc.?)
c
variables
null
null
null
12/17/2011 19:24:37
not a real question
Variable type specifier in C === I just started in C programming and I know that "%d" defines that it will be a number value, as in: int x = 9; printf("X = %d", x); getchar(); return 0; but what are the other variable specifiers for C? (to define strings, and do they change for float, do...
1
6,266,425
06/07/2011 14:05:40
787,581
06/07/2011 13:56:42
1
1
C# How to terminate application.run()
I would like to know, how to terminate a program using, for example, the escape key. In general, what I have to do to stop it after the application.run(..)? thank you.
c#
null
null
null
null
06/07/2011 14:15:30
not a real question
C# How to terminate application.run() === I would like to know, how to terminate a program using, for example, the escape key. In general, what I have to do to stop it after the application.run(..)? thank you.
1
3,836,455
10/01/2010 03:59:42
463,509
10/01/2010 03:59:42
1
0
Simple algorithm performance
Can you please distinguish which formula would be computationally more effective: 1. Sn = 1/n * ∑(Xi - C)² | sum "i" till "n" or 2. Sn = 1/n * ∑Xi² - C² | sum "i" till "n" C is const. First one has n squares and second one (n+1) squares Thanks in advance
algorithm
null
null
null
null
10/01/2010 04:13:37
not a real question
Simple algorithm performance === Can you please distinguish which formula would be computationally more effective: 1. Sn = 1/n * ∑(Xi - C)² | sum "i" till "n" or 2. Sn = 1/n * ∑Xi² - C² | sum "i" till "n" C is const. First one has n squares and second one (n+1) squares Thanks in advance
1
5,463,494
03/28/2011 18:38:17
323,670
04/22/2010 20:26:47
6
1
Can Visual Studio Package built in VS2005 be deployed on VS2010?
I want to deploy a Visual Studio package built using VS2005 deploy on VS2010. I am able to register the package(using regpkg.exe) and I am able to see it as a project template in VS2010. However, the package has a editor page which is displayed as soon as we select this project template which does not get displayed and...
visual-studio
visual-studio-2010
visual-studio-2005
null
null
null
open
Can Visual Studio Package built in VS2005 be deployed on VS2010? === I want to deploy a Visual Studio package built using VS2005 deploy on VS2010. I am able to register the package(using regpkg.exe) and I am able to see it as a project template in VS2010. However, the package has a editor page which is displayed as so...
0
7,466,224
09/19/2011 03:42:38
951,911
09/19/2011 03:22:44
1
0
PHP: if image exists show image else show different image
i am making a login system with registration and a profile page in php and i am trying to make a profile picture work. if the user has not uploaded a profile picture yet then make it show a "no profile picture" image if the user has uploaded a profile picture make make it show the image that he has uploaded. Rig...
php
null
null
null
null
null
open
PHP: if image exists show image else show different image === i am making a login system with registration and a profile page in php and i am trying to make a profile picture work. if the user has not uploaded a profile picture yet then make it show a "no profile picture" image if the user has uploaded a profile p...
0
3,570,898
08/25/2010 23:04:34
114,786
05/30/2009 13:12:32
28
1
Django: Update Field Value Based on Other Fields
I am not sure this is even possible without modifying the Admin interface. I have a model called "Quote" that can contain multiple "Product" models. I connect the two using an intermediate model "QuoteIncludes". Here are the three models as they currently stand: class Product(models.Model): name = mo...
python
django
methods
django-admin
admin
null
open
Django: Update Field Value Based on Other Fields === I am not sure this is even possible without modifying the Admin interface. I have a model called "Quote" that can contain multiple "Product" models. I connect the two using an intermediate model "QuoteIncludes". Here are the three models as they currently stand: ...
0
11,192,202
06/25/2012 15:21:31
1,479,894
06/25/2012 12:03:54
1
0
sending ATA commands directly from user space in linux
What I wanna trying to accomplish: Developing an linux application in C language, that "exclusively" accesses a PATA/SATA hard disk drive(HDD) to send ATA commands(in fact only those ATA commands that do not modify any byte on HDD accessed - eg. READ_SECTOR, IDENTIFY_DEVICE, SET_FEATURES, etc.). By "exclusiv...
linux-kernel
driver
sata
ata
hard-drive
null
open
sending ATA commands directly from user space in linux === What I wanna trying to accomplish: Developing an linux application in C language, that "exclusively" accesses a PATA/SATA hard disk drive(HDD) to send ATA commands(in fact only those ATA commands that do not modify any byte on HDD accessed - eg. READ_SEC...
0
1,021,371
06/20/2009 10:20:14
101,160
05/04/2009 21:38:12
97
5
Xcode: Adding Existing Files to Groups & Files Pane causes build error
I'm working on a project hosted in Beanstalk and would like to access one of my files in my subversion repository. I can clearly see the files "SoundEffect.h" and "SoundEffect.m" in the web-based browser directory, but the files do not appear in the "Groups and Files" pane on the left of Xcode after a refresh and u...
xcode
null
null
null
null
null
open
Xcode: Adding Existing Files to Groups & Files Pane causes build error === I'm working on a project hosted in Beanstalk and would like to access one of my files in my subversion repository. I can clearly see the files "SoundEffect.h" and "SoundEffect.m" in the web-based browser directory, but the files do not appe...
0
281,383
11/11/2008 16:27:12
35,454
11/07/2008 12:36:06
11
6
Maintaining JavaScript Code in the <Head> after ASP.Net Postback.
As the title suggests, I am having trouble maintaining my code on postback. I have a bunch of jQuery code in the <Head> section and this works fine until a postback occurs after which it ceases to function! How can I fix this? Does the <head> not get read on postback, and is there a way in which I can force this to...
asp.net
postback
javascript
jquery
null
null
open
Maintaining JavaScript Code in the <Head> after ASP.Net Postback. === As the title suggests, I am having trouble maintaining my code on postback. I have a bunch of jQuery code in the <Head> section and this works fine until a postback occurs after which it ceases to function! How can I fix this? Does the <head> n...
0
5,929,954
05/08/2011 19:59:10
744,186
05/08/2011 19:59:10
1
0
Is this a mnemoniac to binary?
What do numbers like 0x00000000 and similar do?
numbers
null
null
null
null
05/08/2011 20:05:55
not a real question
Is this a mnemoniac to binary? === What do numbers like 0x00000000 and similar do?
1
3,433,275
08/08/2010 06:04:29
102,704
05/07/2009 07:13:48
2,565
106
Adjust brightness and contrast of BufferedImage in Java
I'm processing a bunch of images with some framework, and all I'm given is a bunch of `BufferedImage` objects. Unfortunately, these images are really dim, and I'd like to brighten them up and adjust the contrast a little. Something like: BufferedImage image = something.getImage(); image = new Brighten(im...
java
graphics
image-processing
null
null
null
open
Adjust brightness and contrast of BufferedImage in Java === I'm processing a bunch of images with some framework, and all I'm given is a bunch of `BufferedImage` objects. Unfortunately, these images are really dim, and I'd like to brighten them up and adjust the contrast a little. Something like: BufferedIma...
0
6,972,648
08/07/2011 12:01:17
836,311
04/20/2010 16:01:44
1
0
filtrer réponse xml
my problem is that I get in the first page a list of titles in texblock then navigating to the second page I get the description of each title selected. The problem here is that It returns a full description of all titles which is not my goal her's the xml file: <item> <title>titre11</title> <d...
windows-phone-7
null
null
null
null
11/10/2011 13:43:54
not a real question
filtrer réponse xml === my problem is that I get in the first page a list of titles in texblock then navigating to the second page I get the description of each title selected. The problem here is that It returns a full description of all titles which is not my goal her's the xml file: <item> <title>t...
1
7,895,498
10/25/2011 20:31:25
400,988
07/24/2010 10:18:59
47
2
Incompatible pointer types initializing IOS5
I had the following statement in IOS 4: drawTimebar *drawView = [drawTimebarView initWithFrame:drawTimebarView.frame]; and it was working just fine then. Now I switched to IOS 5 SDK and the same sentence gives the following warning: > Incompatible pointer types initializing 'drawTimebar *' with an expression...
iphone
ios
ios4
ios5
null
null
open
Incompatible pointer types initializing IOS5 === I had the following statement in IOS 4: drawTimebar *drawView = [drawTimebarView initWithFrame:drawTimebarView.frame]; and it was working just fine then. Now I switched to IOS 5 SDK and the same sentence gives the following warning: > Incompatible pointer typ...
0
9,270,354
02/14/2012 01:02:36
1,058,229
11/21/2011 16:47:29
43
0
IS there a way to compile into a JAR even though errors occur
I am trying to compile a file into a .jar, but NetBeans won't let me compile it. Im getting errors that the `import` files are not on the computer. This is because I don't have them on my computer here. Is there a way I can force compile? I am using NetBeans 7.0.1 for Mac.
java
netbeans
compiler
null
null
02/14/2012 01:22:43
not a real question
IS there a way to compile into a JAR even though errors occur === I am trying to compile a file into a .jar, but NetBeans won't let me compile it. Im getting errors that the `import` files are not on the computer. This is because I don't have them on my computer here. Is there a way I can force compile? I am using Net...
1
6,878,954
07/29/2011 20:56:11
870,045
07/29/2011 20:53:53
1
0
Add one to a UILabel
I have a UILabel and when the user presses a button i want the label to add one to its value. But I'm having a bit of trouble with this. Here is my code: - (IBAction)addButton2:(id)sender { int integer = 1; integer++; [label1 setText:[NSString stringWithFormat:@"%i",integer]]; } Please help ...
iphone
cocoa
uilabel
int
null
null
open
Add one to a UILabel === I have a UILabel and when the user presses a button i want the label to add one to its value. But I'm having a bit of trouble with this. Here is my code: - (IBAction)addButton2:(id)sender { int integer = 1; integer++; [label1 setText:[NSString stringWithFormat:@"%i",integ...
0
6,400,908
06/19/2011 06:15:25
805,109
06/19/2011 06:15:25
1
0
How to create a website with the options to upload & download files to & from it?
I wanted to host my own domain website in x10hosting.com. So created an account in that & set it up the domain. Now n my site i want to upload some files which has to be available in my site itself & if i choose to upload it has to be uploaded into my site which in turn uploaded into my hosting site. How can i do that...
php
null
null
null
null
06/19/2011 07:01:56
not a real question
How to create a website with the options to upload & download files to & from it? === I wanted to host my own domain website in x10hosting.com. So created an account in that & set it up the domain. Now n my site i want to upload some files which has to be available in my site itself & if i choose to upload it has to ...
1
7,467,571
09/19/2011 07:17:47
952,143
09/19/2011 07:17:47
1
0
logged in function for both logged in and logged out
okay this is tricky, i need this to work or be shown for both of those logged in and logged out. But with this code, if set to "true" and "false" either only those logged in or only those logged out. How can i get it to work for both situations? here is the code: <?php if(isset($this->loggedin) && $this->logge...
logged
false
null
null
null
09/19/2011 21:09:38
not a real question
logged in function for both logged in and logged out === okay this is tricky, i need this to work or be shown for both of those logged in and logged out. But with this code, if set to "true" and "false" either only those logged in or only those logged out. How can i get it to work for both situations? here is the code...
1
2,557,357
04/01/2010 00:12:26
181,452
09/29/2009 22:19:50
477
46
TFS 2010: how to reject gated checkin based on code duplication metric?
I'm running Microsoft Team Foundation Server 2010, and using it to build a .NET 4.0 Solution. I have enabled gated checkins, and we run our tests as part of the build, so the server rejects any checkin that causes the tests to break. However, I want to take this a step further and reject checkins that contain m...
tfs2010
code-analysis
null
null
null
null
open
TFS 2010: how to reject gated checkin based on code duplication metric? === I'm running Microsoft Team Foundation Server 2010, and using it to build a .NET 4.0 Solution. I have enabled gated checkins, and we run our tests as part of the build, so the server rejects any checkin that causes the tests to break. H...
0
4,489,177
12/20/2010 11:28:15
417,081
08/11/2010 09:51:55
28
1
C# Foreach usercontrols I added to a page.
I've got this code: protected void ddlTemplate_SelectedIndexChanged(object sender, EventArgs e) { Template t = new Template(); t.LoadById(Convert.ToInt32(ddlTemplate.SelectedItem.Value)); foreach (Widget w in t.TemplateWidgets) { UserControls_Widget ucWid...
c#
null
null
null
null
null
open
C# Foreach usercontrols I added to a page. === I've got this code: protected void ddlTemplate_SelectedIndexChanged(object sender, EventArgs e) { Template t = new Template(); t.LoadById(Convert.ToInt32(ddlTemplate.SelectedItem.Value)); foreach (Widget w in t.TemplateWidgets) ...
0
11,641,745
07/25/2012 02:11:50
1,550,260
07/25/2012 01:49:37
1
0
Library java code, found at MIT java , not sure whats wrong with the code
i have this problem with the code, for both the Strings that define library up at the top, the error says "Syntax error on token "String", invalid Modifiers" for the first one, and the second error is "Syntax error on token "String", { expected" , I'm not sure how to fix it, thanks for the help. Bolded is where the err...
java
javascript
null
null
null
07/25/2012 12:51:30
too localized
Library java code, found at MIT java , not sure whats wrong with the code === i have this problem with the code, for both the Strings that define library up at the top, the error says "Syntax error on token "String", invalid Modifiers" for the first one, and the second error is "Syntax error on token "String", { expec...
3
6,789,825
07/22/2011 12:11:35
775,761
05/30/2011 05:20:27
76
5
How to implement pull to refresh in UITableviewcontroller in Tabbased application?
I am working on a project which contains both applications i.e Navigation and Tab based application. There I used tableview to show some titles with there images. I want to implement pull to refresh mechanism in it. I have the code of that and it is working fine in navigation based application. But, when I tried the sa...
iphone
objective-c
uinavigationcontroller
uitabbarcontroller
null
null
open
How to implement pull to refresh in UITableviewcontroller in Tabbased application? === I am working on a project which contains both applications i.e Navigation and Tab based application. There I used tableview to show some titles with there images. I want to implement pull to refresh mechanism in it. I have the code ...
0
11,698,806
07/28/2012 06:19:30
1,504,134
07/05/2012 13:21:52
1
0
I want a checking like no user can enter any offensive/abusive data in my database.
I am developing a demo dating application where user can register and anyone can see their profile ( back-end : php ,MySQL). I want a checking like no user can enter any offensive/abusive data in my database. Is there any such method to do so. Please suggest. All suggestion are welcome.
php
android
mysql
database
null
07/28/2012 09:15:32
not a real question
I want a checking like no user can enter any offensive/abusive data in my database. === I am developing a demo dating application where user can register and anyone can see their profile ( back-end : php ,MySQL). I want a checking like no user can enter any offensive/abusive data in my database. Is there any such me...
1
7,833,756
10/20/2011 09:24:20
500,625
11/08/2010 11:36:43
415
40
iPhone - Electronic Fund Transfer(EFT) system
I am about to develop a new iPhone application in which I need to pay for some bills. I need to use Electronic Fund Transfer(EFT) system to make the payment. I have no idea in integrating the EFT method to the application. Share some useful ideas or links where can I get some ideas regarding EFT and the work flow.
iphone
objective-c
ios
iphone-sdk-4.0
ios5
10/21/2011 17:53:38
not constructive
iPhone - Electronic Fund Transfer(EFT) system === I am about to develop a new iPhone application in which I need to pay for some bills. I need to use Electronic Fund Transfer(EFT) system to make the payment. I have no idea in integrating the EFT method to the application. Share some useful ideas or links where can I g...
4
7,588,011
09/28/2011 18:48:31
967,149
09/27/2011 13:32:22
3
0
Php syntax error t_variable error?
Im trying to post to the users wall i have there id and offline token stored in the database $result22 = mysql_query("SELECT token FROM usersoffline", $link2); $num_rows2 = mysql_num_rows($result22); // Get all the data from the "example" table $result = mysql_query("SELECT * FROM usersoffline")...
php
facebook
php5
facebook-connect
null
null
open
Php syntax error t_variable error? === Im trying to post to the users wall i have there id and offline token stored in the database $result22 = mysql_query("SELECT token FROM usersoffline", $link2); $num_rows2 = mysql_num_rows($result22); // Get all the data from the "example" table $result = m...
0
307,232
11/20/2008 23:03:06
39,476
11/20/2008 21:38:48
1
0
Immutable beans in Java
I am very curious about the possibility of providing immutability for java beans (by beans here I mean classes with an empty constructor providing getters and setters for members). Clearly these classes are not immutable and where they are used to transport values from the data layer this seems like a real problem. ...
concurrency
immutable
javabeans
null
null
null
open
Immutable beans in Java === I am very curious about the possibility of providing immutability for java beans (by beans here I mean classes with an empty constructor providing getters and setters for members). Clearly these classes are not immutable and where they are used to transport values from the data layer thi...
0
5,523,557
04/02/2011 13:53:58
557,527
12/12/2010 08:08:02
107
11
Rails help ajax rating
I am having a bit trouble creating some simple ajax rating based on these two answers. http://stackoverflow.com/questions/5033879/rails-3-rateable-model-how-to-create-ajax-rating and http://stackoverflow.com/questions/5516970/rails-ajax-rating-help-how-to-create-a-helper-method-to-display-stars I get the following e...
ruby-on-rails
ruby-on-rails-3
null
null
null
null
open
Rails help ajax rating === I am having a bit trouble creating some simple ajax rating based on these two answers. http://stackoverflow.com/questions/5033879/rails-3-rateable-model-how-to-create-ajax-rating and http://stackoverflow.com/questions/5516970/rails-ajax-rating-help-how-to-create-a-helper-method-to-display-st...
0
6,329,105
06/13/2011 10:12:47
10,088
09/15/2008 21:09:09
1,527
26
XCode4 can not Watch value of variables
It's a bit annoying that when I hit a break point in XCode 4, values of Watch Expressions are always grayed out. I have to create dummy variables pointing to the thing I want to watch in order to get around it. The log says the following errors when I run the app: warning: Unable to read symbols for /Developer/P...
xcode4
null
null
null
null
null
open
XCode4 can not Watch value of variables === It's a bit annoying that when I hit a break point in XCode 4, values of Watch Expressions are always grayed out. I have to create dummy variables pointing to the thing I want to watch in order to get around it. The log says the following errors when I run the app: war...
0
6,494,079
06/27/2011 14:02:41
786,783
06/07/2011 03:13:59
74
0
How can i create django models , views , forms with different names
Currently i have my models, views, forms in default file. But i want to have directory structure like articles ---------models ---------views ---------forms Books ---------models ---------views ---------forms Icecreams ---------models ---------views ...
django
django-models
null
null
null
null
open
How can i create django models , views , forms with different names === Currently i have my models, views, forms in default file. But i want to have directory structure like articles ---------models ---------views ---------forms Books ---------models ---------views ----...
0
11,719,049
07/30/2012 09:51:59
735,647
05/03/2011 07:19:58
74
0
File Paths Are Too Long - Crashing FTP Transfers
I am using licensed version of CuteFTP to transfer files(Thousands in number) for one server to another. The problem I am facing now is most of the FTP transfers are failing as File Paths Are Too Long. On average, the character length of my file path would be anywhere between 200 & 250. I cannot individually s...
c#
asp.net
ftp
null
null
07/31/2012 07:42:54
off topic
File Paths Are Too Long - Crashing FTP Transfers === I am using licensed version of CuteFTP to transfer files(Thousands in number) for one server to another. The problem I am facing now is most of the FTP transfers are failing as File Paths Are Too Long. On average, the character length of my file path would be ...
2
11,360,501
07/06/2012 10:32:07
1,506,442
07/06/2012 10:23:26
1
0
paste a table from excel to powerpoint keep and formatting c#
Is it possible in c# copying a table from Excel and paste it on Powerpoint and keep formatting? I am using Office 2010. I know it is possible pasting the table in Word but i don't find anything for PowerPoint
c#
null
null
null
null
null
open
paste a table from excel to powerpoint keep and formatting c# === Is it possible in c# copying a table from Excel and paste it on Powerpoint and keep formatting? I am using Office 2010. I know it is possible pasting the table in Word but i don't find anything for PowerPoint
0
8,072,899
11/09/2011 22:55:48
634,042
02/25/2011 11:39:47
8
0
How to use nested class in C++?
I'm implementing a Timer such that the time spent on different kinds of events are categorized and listed. The class declaration goes something as follows: #include "timer_event.h" #include <boost/timer.hpp> #include <vector> class Timer { private: class TimedEvent; public: ...
c++
nested-class
null
null
null
11/09/2011 23:57:51
too localized
How to use nested class in C++? === I'm implementing a Timer such that the time spent on different kinds of events are categorized and listed. The class declaration goes something as follows: #include "timer_event.h" #include <boost/timer.hpp> #include <vector> class Timer { private: ...
3
1,151,970
07/20/2009 06:32:08
140,937
07/19/2009 11:27:41
1
0
How jquery's working?
For example, how do they implement the dollar thing? Thanks
jquery
null
null
null
null
07/20/2009 06:41:42
not a real question
How jquery's working? === For example, how do they implement the dollar thing? Thanks
1
1,468,199
09/23/2009 19:50:21
69,742
02/23/2009 04:34:53
483
22
How to tell if a refresh came from a Timer (C#)
I have a ton of update panels and such on my webform(which are created dynamically at runtime) I am wanting to put a locking timer or something similar in my form also. My problem is this. When someone is typing into a text box, and the timer happens they lose part of their text and the control loses focus. The ...
c#
ajax
timer
webforms
asp.net
null
open
How to tell if a refresh came from a Timer (C#) === I have a ton of update panels and such on my webform(which are created dynamically at runtime) I am wanting to put a locking timer or something similar in my form also. My problem is this. When someone is typing into a text box, and the timer happens they lose par...
0
7,640,626
10/03/2011 21:03:48
625,154
02/20/2011 10:45:13
6
0
Return from await() from other method
I’m newbie in Play! and I have one question about asynchronous programming in HTTP. I have a piece of code like this: public void someMethod() { for (int i = 0; i < 100; i++) { doSomething(); await(someTime); } } This method is invoked by user by sending GET...
java
playframework
web-frameworks
null
null
null
open
Return from await() from other method === I’m newbie in Play! and I have one question about asynchronous programming in HTTP. I have a piece of code like this: public void someMethod() { for (int i = 0; i < 100; i++) { doSomething(); await(someTime); } } Th...
0
5,509,114
04/01/2011 04:18:42
452,421
09/20/2010 07:19:34
37
7
Currency API in Drupal
I build a webshop, but the client wants a second currency, HKD. In the node-record.tpl.php file I found the line responsible for displaying the price: print uc_currency_format($node->sell_price); I looked into the Drupal documentation, and found the function **currency_api_converter**. To use it, I thought it...
arrays
api
drupal
currency
null
null
open
Currency API in Drupal === I build a webshop, but the client wants a second currency, HKD. In the node-record.tpl.php file I found the line responsible for displaying the price: print uc_currency_format($node->sell_price); I looked into the Drupal documentation, and found the function **currency_api_converte...
0
11,692,193
07/27/2012 16:48:50
1,558,250
07/27/2012 16:37:19
1
1
Unity vs Ninject generic parameters
In ninject i can do this: kernel.Bind(typeof(IRepository<>)).To(typeof(Repository<,>)); but in unity container i get this error The supplied type IRepository1 does not have the same number of generic arguments as the target type Repository2. Parameter name: sourceType container.RegisterType(typeof(IRepository<...
generics
dependency-injection
ninject
unity
null
07/27/2012 22:28:24
not a real question
Unity vs Ninject generic parameters === In ninject i can do this: kernel.Bind(typeof(IRepository<>)).To(typeof(Repository<,>)); but in unity container i get this error The supplied type IRepository1 does not have the same number of generic arguments as the target type Repository2. Parameter name: sourceType c...
1
7,346,634
09/08/2011 10:33:52
560,648
01/02/2011 22:20:15
32,908
1,441
Dereferencing an invalid pointer, then taking the address of the result
Consider: int* ptr = (int*)0xDEADBEEF; cout << (void*)&*ptr; How illegal is the `*`, given that it's used in conjunction with an immediate `&` and given that there are no overloaded `op&`/`op*` in play? --- (This has particular ramifications for addressing a past-the-end array element `&myArray[n]`...
c++
pointers
null
null
null
null
open
Dereferencing an invalid pointer, then taking the address of the result === Consider: int* ptr = (int*)0xDEADBEEF; cout << (void*)&*ptr; How illegal is the `*`, given that it's used in conjunction with an immediate `&` and given that there are no overloaded `op&`/`op*` in play? --- (This has parti...
0
8,238,971
11/23/2011 08:14:25
626,891
02/21/2011 15:59:51
11
0
Final year project ideas
I'm in my final year and planning to my project on mobile technologies and GIS. Can anyone tell me about the new trends in this area that I could use for my project. Thanks in advance
android
mobile
research
null
null
11/23/2011 09:26:49
off topic
Final year project ideas === I'm in my final year and planning to my project on mobile technologies and GIS. Can anyone tell me about the new trends in this area that I could use for my project. Thanks in advance
2
9,794,767
03/20/2012 20:55:02
1,281,926
03/20/2012 20:41:18
1
0
How to Start with tablet development
I have been task with a tablet application project; all my experience is with Windows Apps (VFP and C# .Net WebForms). The app will initially be Android based but must have the architecture to port to iPad, Windows Tablet without too much re-write. The application must work "offline" so I need to use local data and ...
c#
sqlite
mono
tablet
null
null
open
How to Start with tablet development === I have been task with a tablet application project; all my experience is with Windows Apps (VFP and C# .Net WebForms). The app will initially be Android based but must have the architecture to port to iPad, Windows Tablet without too much re-write. The application must work ...
0
6,856,963
07/28/2011 09:44:09
799,046
06/15/2011 06:31:15
387
28
Can anybody explains how Operating System works ?
Can anybody explains how OS works ? What are all the initial process it takes care of ? (Can somebody give dependency diagram? i.e Related process)
operating-system
null
null
null
null
07/28/2011 10:22:36
not a real question
Can anybody explains how Operating System works ? === Can anybody explains how OS works ? What are all the initial process it takes care of ? (Can somebody give dependency diagram? i.e Related process)
1
11,377,002
07/07/2012 17:05:44
1,509,023
07/07/2012 17:01:07
1
0
how to disable logging of wurfl with java
I using wurfl lib to detect mobile browser with java, and I want disable log of wurfl or change log level. how can I do? thanks
logging
wurfl
null
null
null
07/08/2012 13:16:00
not a real question
how to disable logging of wurfl with java === I using wurfl lib to detect mobile browser with java, and I want disable log of wurfl or change log level. how can I do? thanks
1
4,620,706
01/06/2011 22:35:50
560,587
01/02/2011 20:43:48
8
0
How to block certain apps in android
I would like to make an application that would block an app due to user settings is there any way to accomplish this?
android
application
textblock
null
null
02/27/2011 05:35:48
not a real question
How to block certain apps in android === I would like to make an application that would block an app due to user settings is there any way to accomplish this?
1
3,743,938
09/18/2010 23:30:59
339,228
05/12/2010 11:18:49
303
2
what's your reason to learn clojure ?
I got a personal question for you guys out there: what's your reason for learning Clojure ? (For me, it's the same thing as it was with Java over C, it promises a better programming experience)
clojure
null
null
null
null
09/19/2010 00:17:27
not constructive
what's your reason to learn clojure ? === I got a personal question for you guys out there: what's your reason for learning Clojure ? (For me, it's the same thing as it was with Java over C, it promises a better programming experience)
4
1,688,910
11/06/2009 16:57:15
122,134
06/12/2009 16:17:33
18
2
Returning unread records using Linq To SQL
I'm not sure how to ask this question, so I'll start with an example of what I'm doing. Here is my table structure... **Documents** (Primary key = ID)<br /> ID, Title, LatestApprovedRevID **Revisions** (Primary key = ID)<br /> ID, DocumentID, RevisionNum, Body **Document_Reads** (Primary key = DocumentID,...
linq-to-sql
query
read-unread
null
null
null
open
Returning unread records using Linq To SQL === I'm not sure how to ask this question, so I'll start with an example of what I'm doing. Here is my table structure... **Documents** (Primary key = ID)<br /> ID, Title, LatestApprovedRevID **Revisions** (Primary key = ID)<br /> ID, DocumentID, RevisionNum, Body ...
0
10,592,077
05/14/2012 22:52:10
601,851
02/03/2011 16:12:37
18
1
What is the best Git setup to use on Mac for php application development
My lead developer is always raving about Netbeans as a IDE. We have just started to use Git properly for a project we are working on and I'm not too happy with Netbeans and Git. I find switching between branches quite slow. Especially, compared to using just the Terminal. What do people recommend as the best setu...
php
git
application
ide
null
05/15/2012 00:23:20
not constructive
What is the best Git setup to use on Mac for php application development === My lead developer is always raving about Netbeans as a IDE. We have just started to use Git properly for a project we are working on and I'm not too happy with Netbeans and Git. I find switching between branches quite slow. Especially, com...
4
6,557,445
07/02/2011 13:55:01
214,010
11/18/2009 18:51:56
13,791
402
Passing state between macros
What is the best way to create a set of macros that share information with each other at compile time in Clojure? I'm looking for some way of having macros know what previous macros have done and act accordingly, e.g. how would you implement macros that can be used like the following: (macro-block-with-data [...
macros
clojure
null
null
null
null
open
Passing state between macros === What is the best way to create a set of macros that share information with each other at compile time in Clojure? I'm looking for some way of having macros know what previous macros have done and act accordingly, e.g. how would you implement macros that can be used like the followin...
0
3,489,236
08/15/2010 20:58:39
419,042
08/13/2010 00:02:36
1
2
Facebooker params empty
I am trying to connect facebooker and authlogic using this http://github.com/kalasjocke/authlogic_facebook_connect I was having problems so began to debug the facebooker gem code. I realized that no params are getting set using the facebook login that have anything to do with facebook. I can push the facebook login ...
ruby-on-rails
authlogic
facebooker
null
null
null
open
Facebooker params empty === I am trying to connect facebooker and authlogic using this http://github.com/kalasjocke/authlogic_facebook_connect I was having problems so began to debug the facebooker gem code. I realized that no params are getting set using the facebook login that have anything to do with facebook. I...
0
11,597,995
07/22/2012 05:40:47
1,493,020
06/30/2012 13:07:11
1
0
How many apps can be published in google play?
I'm developing android applications. I haven't created a publisher account yet. I want to publish my own created android apps in Google Play. There is fees of 25$. How many apps I can publish from my account? Is this one time fees (25$) or may I have to pay again in the future for this account?
android
null
null
null
null
07/22/2012 14:43:31
off topic
How many apps can be published in google play? === I'm developing android applications. I haven't created a publisher account yet. I want to publish my own created android apps in Google Play. There is fees of 25$. How many apps I can publish from my account? Is this one time fees (25$) or may I have to pay again in ...
2
5,648,105
04/13/2011 11:03:14
520,396
11/25/2010 16:14:09
743
27
Email address for a subdomain?
Is it possible to have an email address for a specific subdomain? For example: email@sub1.mydomain.com Does anyone have experience at setting this type of email address up on their server? I am running Linux (CentOS 5.5, Apache2). Thank you.
linux
email
subdomain
null
null
04/13/2011 13:36:30
off topic
Email address for a subdomain? === Is it possible to have an email address for a specific subdomain? For example: email@sub1.mydomain.com Does anyone have experience at setting this type of email address up on their server? I am running Linux (CentOS 5.5, Apache2). Thank you.
2
5,318,844
03/15/2011 22:27:45
340,554
05/13/2010 17:54:39
254
5
C++ interview application question
I have an interview in 3 days and they told me the interview will consist in a C++ application. Anyone has an idee an what C++ aspect would the application emphasizes the most ? (from a past experience)
interview-questions
null
null
null
null
03/15/2011 22:31:39
not a real question
C++ interview application question === I have an interview in 3 days and they told me the interview will consist in a C++ application. Anyone has an idee an what C++ aspect would the application emphasizes the most ? (from a past experience)
1
8,639,973
12/26/2011 23:46:16
1,114,084
12/23/2011 22:55:46
15
0
How to plot with x-axis at the top of the figure?
I would like to ask how to produce a plot similar to that in the figure below? Basically, how to have x-axis at the top of the figure. Thanks ![enter image description here][1] [1]: http://i.stack.imgur.com/aOehD.jpg Image from: http://oceanographyclay1987.blogspot.com/2010/10/light-attenuation-in-ocean....
python
plot
matplotlib
axis
null
null
open
How to plot with x-axis at the top of the figure? === I would like to ask how to produce a plot similar to that in the figure below? Basically, how to have x-axis at the top of the figure. Thanks ![enter image description here][1] [1]: http://i.stack.imgur.com/aOehD.jpg Image from: http://oceanographycl...
0
7,432,288
09/15/2011 14:13:05
795,586
06/13/2011 08:06:59
3
0
How to using HttpDelete to delete data on Android flowing curl command?
my command in terminal. curl --dump-header - -H "Content-Type: application/json" -X DELETE http://localhost:8000/api/get1/delivery/ HTTP/1.0 204 NO CONTENTAndroid Date: Thu, 15 Sep 2011 14:01:55 GMT Server: WSGIServer/0.1 Python/2.7.1+ Content-Length: 0 Content-Type: text/html; charset=utf-8 I write a m...
android
httpwebrequest
null
null
null
09/17/2011 11:47:13
not a real question
How to using HttpDelete to delete data on Android flowing curl command? === my command in terminal. curl --dump-header - -H "Content-Type: application/json" -X DELETE http://localhost:8000/api/get1/delivery/ HTTP/1.0 204 NO CONTENTAndroid Date: Thu, 15 Sep 2011 14:01:55 GMT Server: WSGIServer/0.1 Python/2.7.1...
1
6,739,262
07/18/2011 20:49:11
807,416
06/20/2011 21:21:09
11
0
ipa files unzip to cpgz ...OS X Lion specific problem
I used to have no problem unzipping ipa files but now since I upgraded to OS X Lion, they just unzip to a cpgz and I end up going in a circle. Any ideas what's causing this problem or how to solve it?
unzip
ipa
null
null
null
07/19/2011 18:38:10
off topic
ipa files unzip to cpgz ...OS X Lion specific problem === I used to have no problem unzipping ipa files but now since I upgraded to OS X Lion, they just unzip to a cpgz and I end up going in a circle. Any ideas what's causing this problem or how to solve it?
2
2,234,760
02/10/2010 05:59:59
154,219
08/11/2009 09:16:49
242
22
is visual studio 2010 ready for production
Regarding to this [post][1], can **visual studio 2010 RC** ready for production I know there is already a [duplicate][2] question here, but that was asked when beta were available. [1]: http://blogs.msdn.com/jeffbe/archive/2010/02/08/going-live-with-the-visual-studio-2010-release-candidate.aspx [2]: htt...
vs2010
ide
null
null
null
05/23/2012 00:30:56
too localized
is visual studio 2010 ready for production === Regarding to this [post][1], can **visual studio 2010 RC** ready for production I know there is already a [duplicate][2] question here, but that was asked when beta were available. [1]: http://blogs.msdn.com/jeffbe/archive/2010/02/08/going-live-with-the-visu...
3
5,368,174
03/20/2011 11:26:58
607,178
02/07/2011 21:39:26
26
3
How to implement Cover Flow effect in ios?
I need your help. I need to implement cover flow effect of 5-6 images. Can you advise me some framework or library or other way to implement?
objective-c
ios
frameworks
xcode4
coverflow
06/06/2012 13:59:45
not constructive
How to implement Cover Flow effect in ios? === I need your help. I need to implement cover flow effect of 5-6 images. Can you advise me some framework or library or other way to implement?
4
4,708,077
01/16/2011 21:11:18
220,804
11/29/2009 11:04:51
250
2
Comprehensive arguments for high-technologies vs cheap development
This question is not really specific, but I am sure many of you faced such situations. Consider a customer who knows nothing about IT is asking you to develop a large application. You know that for such an app you should use high-level bundle like Java+Spring+Hibernate or other solution with IOC, transactions, I18n,...
customer
null
null
null
null
04/30/2012 18:57:45
off topic
Comprehensive arguments for high-technologies vs cheap development === This question is not really specific, but I am sure many of you faced such situations. Consider a customer who knows nothing about IT is asking you to develop a large application. You know that for such an app you should use high-level bundle li...
2
10,629,105
05/17/2012 02:23:41
1,395,147
05/15/2012 03:54:42
16
0
How to move my apps from Eclipse IDE to my Android phone
I have developed a simple Android apps prototype and I would like to move it to my phone, but when I set my phone USB debugging on and my laptop starts to install the driver, end up it asks me to insert CD in order to install the driver, but I do not have any CD when I bought my HTC phone, so how I am gonna to solve it...
android
usb
null
null
null
05/29/2012 04:32:08
off topic
How to move my apps from Eclipse IDE to my Android phone === I have developed a simple Android apps prototype and I would like to move it to my phone, but when I set my phone USB debugging on and my laptop starts to install the driver, end up it asks me to insert CD in order to install the driver, but I do not have an...
2
5,484,784
03/30/2011 09:56:52
549,958
05/07/2010 10:38:21
19
3
PHP: imagecreatefromstring
I have a file upload class which returns an image resize object if the file upload is believed to be an image. The construct of the image resize class starts with this: $this->resource = imagecreatefromstring($this->getData()); if (!is_resource($this->resource)) { return $this->error(IMAGE_ERR_SOUR...
php
php5
gd2
null
null
null
open
PHP: imagecreatefromstring === I have a file upload class which returns an image resize object if the file upload is believed to be an image. The construct of the image resize class starts with this: $this->resource = imagecreatefromstring($this->getData()); if (!is_resource($this->resource)) { re...
0
4,032,387
10/27/2010 10:48:39
454,925
09/22/2010 10:35:08
225
16
How to create skill tree?
I would like to create a skill tree for my own and a community usage. I have data in format like below: skill_1 [description etc.] requires: none skill_2 [...] requires: skill_1 skill_3 [...] requires: skill_1, skill_2 skill_4 [...] requires: skill_1 OR skill_2 (data format from Civilization 5 ...
algorithm
null
null
null
null
null
open
How to create skill tree? === I would like to create a skill tree for my own and a community usage. I have data in format like below: skill_1 [description etc.] requires: none skill_2 [...] requires: skill_1 skill_3 [...] requires: skill_1, skill_2 skill_4 [...] requires: skill_1 OR skill_2 (d...
0
3,066,540
06/18/2010 00:38:20
369,893
06/18/2010 00:38:20
1
0
Is Java worth learning in my late fourties?
First I want to say is that I am 37 years old and not from programer background (actualy from biology). And my question is should I start learning java? I have coded in php and javascript for a year and a half. Every answer would be appreciated Thanks in advance Bobi.
java
null
null
null
null
06/18/2010 00:48:44
not constructive
Is Java worth learning in my late fourties? === First I want to say is that I am 37 years old and not from programer background (actualy from biology). And my question is should I start learning java? I have coded in php and javascript for a year and a half. Every answer would be appreciated Thanks in advance Bobi.
4
1,070,186
07/01/2009 16:45:32
121,660
06/11/2009 22:31:49
21
4
AssertWasCalled in rhino mocks
I have an object under test that makes a fairly complicated call to a data access object. IT looks something like `object.DoSomething(somestring,someObject,someOtherObject,someOtherOtherObject)` In my test structure I have a mocked version of object and I want to test that Dosomething got called with somestrin...
unit-testing
rhino-mocks
c#
null
null
null
open
AssertWasCalled in rhino mocks === I have an object under test that makes a fairly complicated call to a data access object. IT looks something like `object.DoSomething(somestring,someObject,someOtherObject,someOtherOtherObject)` In my test structure I have a mocked version of object and I want to test that D...
0
7,865,590
10/23/2011 10:29:07
975,129
10/02/2011 04:53:50
491
7
What are some open source C++ projects with excellent coding style?
I'm looking for a **practical C++ coding style** for medium to large projects which **maximizes readability**. I am indifferent to clever design patterns or constructs as long as the code is obvious when you browse it. Choices will obviously be based on personal preferences, but that's ok, as long as **you** think ...
c++
coding-style
open-source
null
null
10/23/2011 10:47:34
not constructive
What are some open source C++ projects with excellent coding style? === I'm looking for a **practical C++ coding style** for medium to large projects which **maximizes readability**. I am indifferent to clever design patterns or constructs as long as the code is obvious when you browse it. Choices will obviously b...
4