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
9,212,459
02/09/2012 14:16:53
581,922
01/19/2011 18:30:21
509
24
Can I access My Custom .NET Class from PowerShell?
I have a couple of questions and doubts to regarding PowerShell and .NET Classes. I am trying to write a class 'foo' that will call Rest web service and perform some tasks. If I deploy the class in GAC then can I call it from PowerShell?
c#
.net
web-services
powershell
null
null
open
Can I access My Custom .NET Class from PowerShell? === I have a couple of questions and doubts to regarding PowerShell and .NET Classes. I am trying to write a class 'foo' that will call Rest web service and perform some tasks. If I deploy the class in GAC then can I call it from PowerShell?
0
8,561,312
12/19/2011 12:22:01
1,105,857
12/19/2011 12:13:52
1
0
Change NAK timeout length on USB host
Can anybody tell me how to change the NAK timeout length of Bulk and Interrupt transfer for USB Host? (On Linux OS)
usb
interrupt
transfer
bulk
null
null
open
Change NAK timeout length on USB host === Can anybody tell me how to change the NAK timeout length of Bulk and Interrupt transfer for USB Host? (On Linux OS)
0
3,138,860
06/29/2010 08:01:42
271,709
02/12/2010 09:22:27
299
15
iPhone in app purchase for charitable donations
I am developing an app for a registered charity in the United Kingdom and would like to touch base with you folks to see if any of you have experience with donations via in app purchases. The donations will likely consist of pre-defined amounts, such as: - £1 - £5 - £10 - £50 - £100 My questions is: d...
iphone
ipad
in-app-purchase
null
null
null
open
iPhone in app purchase for charitable donations === I am developing an app for a registered charity in the United Kingdom and would like to touch base with you folks to see if any of you have experience with donations via in app purchases. The donations will likely consist of pre-defined amounts, such as: - £1 ...
0
7,069,043
08/15/2011 18:33:54
869,280
07/29/2011 11:36:05
3
0
Get weeknumber from NSDate iOS 5
Im having problem getting the correct weeknumber (usually 1-52 integer), from a NSDate object. I got the following working like a charm in iOS 4: NSDateFormatter *weekFormat = [[NSDateFormatter alloc] init]; [weekFormat setDateFormat:@"w"]; NSInteger weekNr = [[weekFormat stringFr...
objective-c
ios
cocoa-touch
null
null
08/15/2011 20:19:06
too localized
Get weeknumber from NSDate iOS 5 === Im having problem getting the correct weeknumber (usually 1-52 integer), from a NSDate object. I got the following working like a charm in iOS 4: NSDateFormatter *weekFormat = [[NSDateFormatter alloc] init]; [weekFormat setDateFormat:@"w"]; NS...
3
3,625,669
09/02/2010 09:14:28
436,810
08/31/2010 16:30:34
43
1
Pop up window in asp.net ?
How can i bring up my messages in a pop up window with asp.net-C#? im cool with javascript ! Is there any idea related with c#?
c#
asp.net
null
null
null
04/12/2012 13:59:15
not a real question
Pop up window in asp.net ? === How can i bring up my messages in a pop up window with asp.net-C#? im cool with javascript ! Is there any idea related with c#?
1
8,802,432
01/10/2012 11:19:06
1,126,255
01/02/2012 12:56:14
1
0
SearchBar for andriod application
I'm a beginner to the andriod world. I wanna implement search bar in my application. Could you please give me an idea, how to design and develop it?
android
null
null
null
null
01/10/2012 17:38:48
not a real question
SearchBar for andriod application === I'm a beginner to the andriod world. I wanna implement search bar in my application. Could you please give me an idea, how to design and develop it?
1
11,484,813
07/14/2012 15:07:47
1,207,405
02/13/2012 17:49:26
1
5
How do I match a multiline pattern using Regexp::Grammars?
I'm new to Regexp::Grammars, and am having trouble matching a multi-line pattern. I have this input: my $text = <<EOD; HEADER: This is a multi-line section, because the second line is down here. EOD and this grammar: use Regexp::Grammars; my $parser = qr{ <nocontext:> ...
regex
perl
grammar
regexp-grammars
null
null
open
How do I match a multiline pattern using Regexp::Grammars? === I'm new to Regexp::Grammars, and am having trouble matching a multi-line pattern. I have this input: my $text = <<EOD; HEADER: This is a multi-line section, because the second line is down here. EOD and this grammar: ...
0
9,100,015
02/01/2012 17:06:26
564,083
01/05/2011 14:46:43
1,589
146
Using a UNC path with Classic ASP FileSystemObject
According to the websites I could find the below code should work. If I change the path to C:\whats_new.txt it works just fine. Const Filename = "\\SCPAFS1PW\returns\whats_new.txt" ' file to read Const ForReading = 1, ForWriting = 2, ForAppending = 3 Const TristateUseDefault = -2, Tristate...
asp-classic
null
null
null
null
null
open
Using a UNC path with Classic ASP FileSystemObject === According to the websites I could find the below code should work. If I change the path to C:\whats_new.txt it works just fine. Const Filename = "\\SCPAFS1PW\returns\whats_new.txt" ' file to read Const ForReading = 1, ForWriting = 2, ForAp...
0
6,542,899
07/01/2011 01:59:14
635,300
02/26/2011 07:22:05
631
0
expressionEngine php parsing str_replace not working
I have a template with php enabled on output. However i can't get str_replace to work. See below code. If i just put {title} without any php then it works. But when i include php and place {title} inside the str_replace function, i get nothing displayed. I tried php with simple echo 'test'; and it worked. It's just not...
php
expressionengine
expression-engine
null
null
null
open
expressionEngine php parsing str_replace not working === I have a template with php enabled on output. However i can't get str_replace to work. See below code. If i just put {title} without any php then it works. But when i include php and place {title} inside the str_replace function, i get nothing displayed. I tried...
0
8,772,142
01/07/2012 18:52:55
1,118,164
12/27/2011 19:21:58
1
0
Converting to upper case. Which way is more pythonic?
Using Python 3. Which method is more Pythonic? Converting to uppercase: guess = input("\n\nEnter your guess: ") guess = guess.upper() print(guess) or guess = input("\n\nEnter your guess: ").upper() print(guess) I'd also really like to know any other more efficient ways of writing this. ...
python
python-3.x
case
null
null
01/08/2012 11:23:38
not constructive
Converting to upper case. Which way is more pythonic? === Using Python 3. Which method is more Pythonic? Converting to uppercase: guess = input("\n\nEnter your guess: ") guess = guess.upper() print(guess) or guess = input("\n\nEnter your guess: ").upper() print(guess) I'd also really l...
4
4,866,238
02/01/2011 18:04:13
490,961
10/29/2010 06:39:30
1,337
134
Deleting rows that have no associated row in another table
I have 2 tables with a few columns: parent (id, name, a) child (id, parent_id, name) I cannot manage to find the proper SQL query to delete all parents that have no children and a<10. This is for SQLite shipped with Android 2.1. Anybody could help?
android
sql
sqlite3
null
null
null
open
Deleting rows that have no associated row in another table === I have 2 tables with a few columns: parent (id, name, a) child (id, parent_id, name) I cannot manage to find the proper SQL query to delete all parents that have no children and a<10. This is for SQLite shipped with Android 2.1. Anybody co...
0
1,145,697
07/17/2009 21:09:26
114,527
05/29/2009 19:48:41
29
4
IE7 Back Button loses history in .NET application
In maintaining an ASP.Net application, I've come across an unusual problem with the Back Button in IE7. After selecting a few links to the aspx pages and then pressing the Back Button once, IE's Back Button greys out and the drop-down Quick History contains no more entries. This is obviously incorrect since multiple li...
internet-explorer-7
.net
asp.net
null
null
null
open
IE7 Back Button loses history in .NET application === In maintaining an ASP.Net application, I've come across an unusual problem with the Back Button in IE7. After selecting a few links to the aspx pages and then pressing the Back Button once, IE's Back Button greys out and the drop-down Quick History contains no more...
0
7,539,137
09/24/2011 12:52:07
960,780
09/23/2011 09:13:05
1
0
Oracle DBA Certification Study Material
Hello Friends I want to do Oracle DBA Track So, please can any one Suggest me some Good `(links or ppt or pdf)` study material for preparation. For Oracle Database 10g: (1) Computer Fundamentals, Windows operating System`(IZO- 007)` (2) Administration workshop 1 `(IZO- 042)` (3) Administration workshop 2...
oracle
oracle10g
null
null
null
09/24/2011 18:54:09
off topic
Oracle DBA Certification Study Material === Hello Friends I want to do Oracle DBA Track So, please can any one Suggest me some Good `(links or ppt or pdf)` study material for preparation. For Oracle Database 10g: (1) Computer Fundamentals, Windows operating System`(IZO- 007)` (2) Administration workshop 1 ...
2
8,200,416
11/20/2011 08:44:38
950,963
09/18/2011 06:25:03
66
0
Thread.Sleep() and constructor modification? (C#)
I'm trying to get the constructor of an object to initialize a field to something, pause for 30 seconds, and then set it to something else afterwards. Here is my code: namespace Practice { public enum TransactionStatus { Pending, Complete } public class Transaction { ...
c#
thread-sleep
null
null
null
11/22/2011 05:24:32
not a real question
Thread.Sleep() and constructor modification? (C#) === I'm trying to get the constructor of an object to initialize a field to something, pause for 30 seconds, and then set it to something else afterwards. Here is my code: namespace Practice { public enum TransactionStatus { Pending, Complete } ...
1
1,269,800
08/13/2009 02:59:44
144,356
07/24/2009 09:03:51
14
0
Visual studio project directory
I'm writing a unit test for file uploading feature of my web application. I mocked a test file, and save it in the "Test files" subdirectory of the directory that my test project resident in. As I don't want to hard coded the file path. How can I know the directory of my project by code? I used @"..\Test files\test1...
unit-testing
null
null
null
null
null
open
Visual studio project directory === I'm writing a unit test for file uploading feature of my web application. I mocked a test file, and save it in the "Test files" subdirectory of the directory that my test project resident in. As I don't want to hard coded the file path. How can I know the directory of my project ...
0
8,967,339
01/23/2012 04:54:16
1,164,084
01/22/2012 23:33:22
1
0
Crash with SIGABRT on a calculator app, don't know how it happened
I'm extremely new at programming, and am trying to learn some of the basics for my senior project (a graduation requirement). I'm attempting to make a simple calculator app, following the Stanford podcasts, and was adding in some of the homework buttons when it suddenly stopped working. This project is really important...
crash
calculator
sigabrt
stanford
null
01/29/2012 14:20:08
not constructive
Crash with SIGABRT on a calculator app, don't know how it happened === I'm extremely new at programming, and am trying to learn some of the basics for my senior project (a graduation requirement). I'm attempting to make a simple calculator app, following the Stanford podcasts, and was adding in some of the homework bu...
4
9,306,808
02/16/2012 06:52:44
890,624
08/11/2011 19:50:01
13
0
Spacing/empty border for wxWidgets
Is there anything you can use to add space around the edges of a window or between components with wxWidgets/wxPython? I want something to prevent components from being squished up against the window border or each other, similar to what can be done with Java Swing's EmptyBorder. (I know you can set horizontal/vertical...
wxpython
wxwidgets
null
null
null
null
open
Spacing/empty border for wxWidgets === Is there anything you can use to add space around the edges of a window or between components with wxWidgets/wxPython? I want something to prevent components from being squished up against the window border or each other, similar to what can be done with Java Swing's EmptyBorder....
0
7,999,312
11/03/2011 17:31:44
217,992
11/24/2009 17:43:37
549
20
Is the Microsoft's Domain oriented N-Layered .NET 4.0 Sample App any good?
I found this sample application demonstrating DDD with Entity Framework 4.1, in Microsoft website, but I found negative reviews on Ayende's blog http://msdn.microsoft.com/es-es/architecture/en/ http://microsoftnlayerapp.codeplex.com/ http://ayende.com/blog/19457/review-microsoft-n-layer-app-sample-part-i wh...
.net
design-patterns
architecture
entity-framework-4.1
domain-driven-design
11/04/2011 08:42:35
not constructive
Is the Microsoft's Domain oriented N-Layered .NET 4.0 Sample App any good? === I found this sample application demonstrating DDD with Entity Framework 4.1, in Microsoft website, but I found negative reviews on Ayende's blog http://msdn.microsoft.com/es-es/architecture/en/ http://microsoftnlayerapp.codeplex.com/ ...
4
1,094,636
07/07/2009 20:20:51
91,671
04/16/2009 14:52:25
1,809
91
Poll of techniques used by SO developers to estimate the effort or time for a project or task
There has been quite a bit of discussion about how to apply specific estimation techniques, or which estimation method is better than others. But it's hard to get a sense of which estimation practices people actually use. ***What I am interested in is an informal poll of what types of estimation techniques people ty...
estimation
polls
null
null
null
05/08/2012 12:53:23
not constructive
Poll of techniques used by SO developers to estimate the effort or time for a project or task === There has been quite a bit of discussion about how to apply specific estimation techniques, or which estimation method is better than others. But it's hard to get a sense of which estimation practices people actually use....
4
7,076,131
08/16/2011 09:29:30
896,374
08/16/2011 09:29:30
1
0
I know C# and now I want to learn XCODE, Interface Builder
Please help me to learn xcode and IB
xcode
interface-builder
null
null
null
08/16/2011 09:45:05
not a real question
I know C# and now I want to learn XCODE, Interface Builder === Please help me to learn xcode and IB
1
5,395,401
03/22/2011 17:30:34
509,670
11/16/2010 15:17:24
814
33
What am I missing, not having these SSH shell Commands?
considering to upgrade to a more expensive package, I noticed that it comes with a set of "SSH Chrooted SHELL commands". I wondered whether its worth the extra cost and time investment for me to learn use them. All I know is that I found the power of htaccess rules immensly powerfull and that perhaps, not having these ...
apache
shell
ssh
routed-commands
null
03/22/2011 17:41:44
off topic
What am I missing, not having these SSH shell Commands? === considering to upgrade to a more expensive package, I noticed that it comes with a set of "SSH Chrooted SHELL commands". I wondered whether its worth the extra cost and time investment for me to learn use them. All I know is that I found the power of htaccess...
2
11,494,062
07/15/2012 17:26:38
1,510,223
07/08/2012 15:44:34
3
0
PHP common insert and update function using PDO
Can someone please share common mysql insert and update functions in php that uses PDO class , if it exists? It looks like it will be great if functions exist like mysql_insert($tablename,$fields,$data). Thanks AR
php
mysql
pdo
null
null
07/16/2012 01:10:44
not a real question
PHP common insert and update function using PDO === Can someone please share common mysql insert and update functions in php that uses PDO class , if it exists? It looks like it will be great if functions exist like mysql_insert($tablename,$fields,$data). Thanks AR
1
2,627,722
04/13/2010 07:31:39
309,790
04/06/2010 07:01:14
9
1
Free API for Friends Invite from Gmail,Yahoo,AOL,Hotmail PHP Ajax
i need any opensource api for implementing address book import for friends invite from Gmail,yahoo,hotmail,aol etc ... its may be ajax or php or javascript . **openinvite.com** is there but i cant download it for loacl testing since it asking valid website domain . **conatact grabber** is also but got some proble...
import-contacts
address
invite
gmail
yahoo
01/10/2012 19:34:37
not constructive
Free API for Friends Invite from Gmail,Yahoo,AOL,Hotmail PHP Ajax === i need any opensource api for implementing address book import for friends invite from Gmail,yahoo,hotmail,aol etc ... its may be ajax or php or javascript . **openinvite.com** is there but i cant download it for loacl testing since it asking val...
4
4,737,294
01/19/2011 15:45:07
117,899
06/05/2009 10:24:17
222
8
How can i set a default value to AspxGridView TimeEdit control
I want to set default value current time for AspxGridView TimeEdit control. Is it possible? KR, Çağın
devexpress
aspxgridview
null
null
null
null
open
How can i set a default value to AspxGridView TimeEdit control === I want to set default value current time for AspxGridView TimeEdit control. Is it possible? KR, Çağın
0
5,882,759
05/04/2011 11:40:42
665,335
03/18/2011 01:05:50
50
1
Alternative solution to display a table in T-SQL
I have a simple employee table that I want to display in a particualr order. I want to find out if there are alternative solutins (or better solution) to archieve the same result. The T-SQL script is shown below: CREATE TABLE Employee( EmployeeID INT IDENTITY(1,1) NOT NULL, EmployeeName VARCHAR(255...
tsql
sorting
table
null
null
null
open
Alternative solution to display a table in T-SQL === I have a simple employee table that I want to display in a particualr order. I want to find out if there are alternative solutins (or better solution) to archieve the same result. The T-SQL script is shown below: CREATE TABLE Employee( EmployeeID INT ...
0
7,216,191
08/27/2011 17:36:25
710,946
04/16/2011 07:28:28
20
0
daylight saving adjustment
i am really aware about daylight saving , just couple of weeks back only, i thinking about the daylight saving, How to set date and time when Daylight start and how much we hour we should add and how much hours we subtract and when should we do this, What are that EDT, EST and all, i am totally struc...
php
perl
dst
null
null
08/27/2011 18:17:47
not a real question
daylight saving adjustment === i am really aware about daylight saving , just couple of weeks back only, i thinking about the daylight saving, How to set date and time when Daylight start and how much we hour we should add and how much hours we subtract and when should we do this, What are that EDT, EST...
1
4,159,786
11/11/2010 22:13:46
477,603
10/16/2010 00:25:39
56
22
Would it be beneficial to learn C++ with the goal of learning C# in the long run
I'm trying to decide which classes to take. I'm only 15, and because of that I can only get into our local community collage as opposed to a university. My language of choice is C#, so I would like to learn that even if I have to wait another year to get into the university. In the mean time, they don't have the money ...
c#
c++
vb.net
education
homework
11/12/2010 04:45:14
off topic
Would it be beneficial to learn C++ with the goal of learning C# in the long run === I'm trying to decide which classes to take. I'm only 15, and because of that I can only get into our local community collage as opposed to a university. My language of choice is C#, so I would like to learn that even if I have to wait...
2
6,284,392
06/08/2011 19:51:16
274,521
02/16/2010 16:30:42
43
1
What is the easiest way to disable a form but keep it readable?
I have my form fields in a Panel which, if a read-only version is required, I set Enabled = False on the Panel. This was quick and dirty and the results are mostly dirty, mostly in IE. Can't scroll through large ListBoxes. Multi-line TextBoxes only show the first few lines. There's some funky styling to disabled Labels...
asp.net
html
null
null
null
null
open
What is the easiest way to disable a form but keep it readable? === I have my form fields in a Panel which, if a read-only version is required, I set Enabled = False on the Panel. This was quick and dirty and the results are mostly dirty, mostly in IE. Can't scroll through large ListBoxes. Multi-line TextBoxes only sh...
0
5,996,968
05/13/2011 19:42:26
752,941
05/13/2011 19:42:26
1
0
My jQuery .live() events won't .die()
Using jQuery 1.4.3 I have some content that is displayed in a modal window. When the modal opens, I use .live() to attach handlers to several elements. When the modal closes, I use .die() to detach them. However, .die() does not seem to be working because when I reopen the modal, all handlers attached with .live() f...
jquery
jquery-events
jquery-live
null
null
null
open
My jQuery .live() events won't .die() === Using jQuery 1.4.3 I have some content that is displayed in a modal window. When the modal opens, I use .live() to attach handlers to several elements. When the modal closes, I use .die() to detach them. However, .die() does not seem to be working because when I reopen the ...
0
3,632,978
09/03/2010 04:02:49
438,599
09/03/2010 04:02:49
1
0
Install Office 2003 or 2007 Update: Redistributable Primary Interop Assemblies on Windows Server 2008 R2
Trying to install and utilize Office 2003 (or 2007) Update: Redistributable Primary Interop Assemblies on Windows Server 2008 R2 for a Legacy Application that requires PowerPoint. Microsoft claims neither 2003 or 2007 PIA words on 2008 R2. Does anyone know a workaround to configure and enable the PIA (ideally 20...
office-interop
microsoft
null
null
null
09/07/2010 11:52:44
off topic
Install Office 2003 or 2007 Update: Redistributable Primary Interop Assemblies on Windows Server 2008 R2 === Trying to install and utilize Office 2003 (or 2007) Update: Redistributable Primary Interop Assemblies on Windows Server 2008 R2 for a Legacy Application that requires PowerPoint. Microsoft claims neither 20...
2
6,573,733
07/04/2011 16:00:53
689,991
04/03/2011 16:19:35
200
3
Beginning OpenGL Game Programming by Luke Benstead - is it obsolete?
I was reading [Luke Benstead - Beginning OpenGL Game Programming](http://www.amazon.com/Beginning-OpenGL-Game-Programming-Second/dp/159863528X) and in chapter 4, i have found it is talking about immediate mode, using glLoadIdentity, glTranslate, glRotate, glEnableClientState showing example with glBegin glEnd..and beca...
opengl
books
null
null
null
10/03/2011 14:23:46
not constructive
Beginning OpenGL Game Programming by Luke Benstead - is it obsolete? === I was reading [Luke Benstead - Beginning OpenGL Game Programming](http://www.amazon.com/Beginning-OpenGL-Game-Programming-Second/dp/159863528X) and in chapter 4, i have found it is talking about immediate mode, using glLoadIdentity, glTranslate, ...
4
8,464,586
12/11/2011 14:13:25
1,092,297
12/11/2011 14:05:32
1
0
How to setup ptp data transfer between android device and device such as camera?
i would like to setup a connection between a android phone device and a external camera device. i would need to send and receive ptp data between these two devices. do i use android mtp or use open accessory to achieve this? can anyone guide me in more details? looking forward for any guides and suggestion possib...
open
accessory
null
null
null
12/11/2011 16:53:13
not a real question
How to setup ptp data transfer between android device and device such as camera? === i would like to setup a connection between a android phone device and a external camera device. i would need to send and receive ptp data between these two devices. do i use android mtp or use open accessory to achieve this? can an...
1
10,057,260
04/07/2012 18:42:10
1,302,430
03/30/2012 04:52:43
15
0
Beginner Tutorial for CakePHP 2.1?
I was just wondering if any one knew of any good beginner tutorials for CakePHP 2.1 other than the ones on their site (the cakephp book/ blog tutorial)? Thank you
php
mysql
cakephp
frameworks
cakephp-2.1
04/08/2012 13:17:30
not constructive
Beginner Tutorial for CakePHP 2.1? === I was just wondering if any one knew of any good beginner tutorials for CakePHP 2.1 other than the ones on their site (the cakephp book/ blog tutorial)? Thank you
4
6,739,293
07/18/2011 20:52:51
490,375
10/28/2010 16:39:16
63
1
Backtrack 4 Wireless Not Working
I'm trying to connect to my wireless network on Backtrack 4. I have a Dell Studio 1558. ifconfig and ifup show the wlan0 interface is up. I ran /etc/init.d/networking start /etc/init.d/wicd in a terminal, but when I open the network manager (menu > internet > wcid network manager), it says that no wi...
linux
networking
ubuntu
wireless
penetration-testing
05/22/2012 12:20:45
off topic
Backtrack 4 Wireless Not Working === I'm trying to connect to my wireless network on Backtrack 4. I have a Dell Studio 1558. ifconfig and ifup show the wlan0 interface is up. I ran /etc/init.d/networking start /etc/init.d/wicd in a terminal, but when I open the network manager (menu > internet > wci...
2
9,253,750
02/12/2012 23:31:31
1,149,168
01/14/2012 11:09:44
1
1
CAC Subject Format
Greetz! I'm working on an app taht uses a CAC to authenticate. My question is if the certificate's Subject always begins with CN=USERsNAME? If there is a resource for info like this on the CAC I'd be grateful if you passed it along. THanks!
cac
null
null
null
null
null
open
CAC Subject Format === Greetz! I'm working on an app taht uses a CAC to authenticate. My question is if the certificate's Subject always begins with CN=USERsNAME? If there is a resource for info like this on the CAC I'd be grateful if you passed it along. THanks!
0
7,814,489
10/18/2011 22:22:24
177,389
09/22/2009 20:17:16
1,160
11
How do you dynamically call a method of an object?
in Perl I know you can use eval and *{$func_name} to call functions dynamically but how do you do this with methods of an object? for example EZBakeOven sub make_Cake { ... } sub make_Donut { ... } sub make_CupCake { ... } sub make_Soup { ... } sub make{ my($...
perl
oop
function
dynamic-function
null
null
open
How do you dynamically call a method of an object? === in Perl I know you can use eval and *{$func_name} to call functions dynamically but how do you do this with methods of an object? for example EZBakeOven sub make_Cake { ... } sub make_Donut { ... } sub make_CupCake { ... } su...
0
9,431,526
02/24/2012 13:26:13
93,796
04/21/2009 13:34:22
507
0
find endianness of system in java
I found out that algorithm (int C) for checkink if machine is bigindian or littleindian is int is_big_endian(void) { union { uint32_t i; char c[4]; } bint = {0x01020304}; return bint.c[0] == 1; } How can i find such thing in ****java?****...
algorithm
interview-questions
null
null
null
02/24/2012 17:05:42
not a real question
find endianness of system in java === I found out that algorithm (int C) for checkink if machine is bigindian or littleindian is int is_big_endian(void) { union { uint32_t i; char c[4]; } bint = {0x01020304}; return bint.c[0] == 1; } How...
1
8,777,232
01/08/2012 11:49:56
868,467
07/28/2011 23:35:51
367
16
Visual Studio Macro
I am getting LNK2001 errors when trying to use Crypto++. The official advice for this is: > There are two ways you can deal with this, either change Crypto++ to export those classes, by using the CRYPTOPP_DLL macro, or link with both the DLL export library and a static library that contains the non-DLL classes and f...
visual-studio-2010
visual-c++
crypto++
null
null
null
open
Visual Studio Macro === I am getting LNK2001 errors when trying to use Crypto++. The official advice for this is: > There are two ways you can deal with this, either change Crypto++ to export those classes, by using the CRYPTOPP_DLL macro, or link with both the DLL export library and a static library that contains ...
0
3,220,472
07/10/2010 19:05:05
388,556
07/10/2010 19:05:04
1
0
Google Maps: Why should I load my InfoWindow via AJAX?
I stumped upon the following Google example page of loading my map marker InfoWindow using AJAX, instead of preloading the InfoWindow ahead of time. http://gmaps-utility-library-dev.googlecode.com/svn/tags/extinfowindow/1.2/examples/ajaxContent_packed.html However, I don't understand the use case for **why** some...
ajax
google-maps
infowindow
null
null
null
open
Google Maps: Why should I load my InfoWindow via AJAX? === I stumped upon the following Google example page of loading my map marker InfoWindow using AJAX, instead of preloading the InfoWindow ahead of time. http://gmaps-utility-library-dev.googlecode.com/svn/tags/extinfowindow/1.2/examples/ajaxContent_packed.html ...
0
7,914,537
10/27/2011 10:17:15
343,759
05/18/2010 07:39:36
106
2
Caching a GET request for audio with PHP
I have a PHP script that responds to a GET request for audio resources. An HTML5 Audio tag requests an audio file such as: <audio src="get_audio.php?f=fun" preload></audio> There is no need for the user to download that same audio file every time so I would like to cache it. In my PHP file I have: he...
php
javascript
html5
audio
cache-control
null
open
Caching a GET request for audio with PHP === I have a PHP script that responds to a GET request for audio resources. An HTML5 Audio tag requests an audio file such as: <audio src="get_audio.php?f=fun" preload></audio> There is no need for the user to download that same audio file every time so I would like ...
0
7,102,355
08/18/2011 04:25:23
587,081
01/24/2011 06:15:42
6
0
How to measure amount of sulfur di oxide using android phone
We need to measure amounts of sulfur di oxide in the environment, we are not finding any blue-tooth based sensor, which can transmit data back to android phone, but there seems to be few such sensors which supports zigbee. So I wanted to know which android phone supports zigbee? if it there is no such phone , how do w...
android
bluetooth
zigbee
null
null
08/18/2011 06:13:38
off topic
How to measure amount of sulfur di oxide using android phone === We need to measure amounts of sulfur di oxide in the environment, we are not finding any blue-tooth based sensor, which can transmit data back to android phone, but there seems to be few such sensors which supports zigbee. So I wanted to know which andr...
2
11,380,586
07/08/2012 04:08:23
1,493,072
06/30/2012 13:51:05
1
0
Using Video.Screen instead of Surface object in SdlDotNet
Every SDL or SdlDotNet tutorial I have seen has used a defined Surface as the main screen. For example private static Surface videoscreen; videoscreen = SetVideoMode(800, 600, 16, false, false, false, true); videoscreen.Fill(Color.Black); videoscreen.Blit(sprite); videoscreen.Update(); How...
c#
sdl
sdl.net
null
null
null
open
Using Video.Screen instead of Surface object in SdlDotNet === Every SDL or SdlDotNet tutorial I have seen has used a defined Surface as the main screen. For example private static Surface videoscreen; videoscreen = SetVideoMode(800, 600, 16, false, false, false, true); videoscreen.Fill(Color.Black); ...
0
8,071,155
11/09/2011 20:25:31
1,038,484
11/09/2011 20:17:32
1
0
How can I direct Facebook fans from our unauthorized Wikipedia Facebook page to our official page?
We started our Facebook business page a couple of months ago. Our page is at 80 likes. Unfortunately we've also noticed that there is a "Wikipedia Page" (we are not sure how it got posted on Facebook) that people have mistaken as our Facebook page which has double the amount of Likes (166). How do we a) Take the Wikipe...
wikipedia
facebook-fanpage
null
null
null
11/10/2011 07:10:44
off topic
How can I direct Facebook fans from our unauthorized Wikipedia Facebook page to our official page? === We started our Facebook business page a couple of months ago. Our page is at 80 likes. Unfortunately we've also noticed that there is a "Wikipedia Page" (we are not sure how it got posted on Facebook) that people hav...
2
3,574,139
08/26/2010 10:18:22
199,551
10/30/2009 09:56:13
26
6
Request/response with commands and correlated event on front-end service
I have a front-end webservice. This service makes a "create" message to be processed in the 'back-end'. Previously it was not important to wait for this process to be finished but now this front-end service must wait until a functional key is generated to be returned to the front-end service callee. My idea is to...
nservicebus
null
null
null
null
null
open
Request/response with commands and correlated event on front-end service === I have a front-end webservice. This service makes a "create" message to be processed in the 'back-end'. Previously it was not important to wait for this process to be finished but now this front-end service must wait until a functional key...
0
8,900,382
01/17/2012 19:19:28
1,154,697
01/17/2012 19:12:11
1
0
Multiple mappers with one reducer in hadoop
It is a simple question on multiple mappers and one reducer. Specifically, mapper1 outputs < K, V1 > and mapper2 outputs < K, V2 >. The reducer will combine them and output < K, V1_V2 >. Does anybody may provide a sample code for this? Thanks a lot.
hadoop
multiple
mappers
null
null
01/18/2012 16:20:47
not a real question
Multiple mappers with one reducer in hadoop === It is a simple question on multiple mappers and one reducer. Specifically, mapper1 outputs < K, V1 > and mapper2 outputs < K, V2 >. The reducer will combine them and output < K, V1_V2 >. Does anybody may provide a sample code for this? Thanks a lot.
1
9,044,479
01/28/2012 10:15:12
693,560
04/05/2011 09:40:08
639
6
Having a shadow on my sidebar
I have a right sidebar on my page and I would like to have a shadow on the left side of this sidebar. A very light shadow like the one showed on the Google Maps left sidebar ( http://maps.google.be). Is it possible? Here is a jsFiddle to have an idea: http://jsfiddle.net/yhfXX/3/ Normally the sidebar should take ...
jquery
html
css
null
null
null
open
Having a shadow on my sidebar === I have a right sidebar on my page and I would like to have a shadow on the left side of this sidebar. A very light shadow like the one showed on the Google Maps left sidebar ( http://maps.google.be). Is it possible? Here is a jsFiddle to have an idea: http://jsfiddle.net/yhfXX/3/ ...
0
8,153,520
11/16/2011 14:46:12
1,049,880
11/16/2011 14:39:28
1
0
What are the dll files accompanied with swt-3.7.1-win32-win32-x86 package?
Anybody knows these files are for what?
dll
swt
null
null
null
11/17/2011 09:00:36
not a real question
What are the dll files accompanied with swt-3.7.1-win32-win32-x86 package? === Anybody knows these files are for what?
1
10,237,563
04/19/2012 22:11:43
519,790
11/25/2010 07:33:35
282
4
Set SSH connection timeout
I'm trying to cut down the time ssh is trying to open a connection to a host. If I put for example `ssh www.google.com` it takes very long until the prompt comes back. I read about using `ssh -o ConnectTimeout=10 www.google.com` instead, but even this takes very long. Is there maybe a number of attemps I can modify ...
ssh
timeout
null
null
null
null
open
Set SSH connection timeout === I'm trying to cut down the time ssh is trying to open a connection to a host. If I put for example `ssh www.google.com` it takes very long until the prompt comes back. I read about using `ssh -o ConnectTimeout=10 www.google.com` instead, but even this takes very long. Is there maybe a...
0
5,178,045
03/03/2011 07:57:46
642,591
03/03/2011 07:57:46
1
0
Halfwidth and Fullwidth Form Unicode - Editable/Any Similar forms of Unicode?
[http://jrgraphix.net/r/Unicode/FF00-FFEF][1] So that type of unicode^ I understand there are a lot of duplicates in unicode, but I've tried arduously to find some of Halfwidth/Fullwidth to no avail. I'm very new to unicoding, etc & would like some help if anyone could find characters similar to those or if th...
unicode
special-characters
null
null
null
09/02/2011 00:58:10
off topic
Halfwidth and Fullwidth Form Unicode - Editable/Any Similar forms of Unicode? === [http://jrgraphix.net/r/Unicode/FF00-FFEF][1] So that type of unicode^ I understand there are a lot of duplicates in unicode, but I've tried arduously to find some of Halfwidth/Fullwidth to no avail. I'm very new to unicoding, e...
2
7,874,296
10/24/2011 10:31:28
576,787
01/15/2011 15:04:14
59
0
Read values from INI file into string array
I have decided to have an accompanying .ini file with an executable so that I do not have to hard code items that appear in a drop down menu. I have created the .ini file and using the IniReadSection function I have been able to look through the section and output each Key=Value pair within that section. How would ...
arrays
ini
autoit
null
null
null
open
Read values from INI file into string array === I have decided to have an accompanying .ini file with an executable so that I do not have to hard code items that appear in a drop down menu. I have created the .ini file and using the IniReadSection function I have been able to look through the section and output each K...
0
6,450,215
06/23/2011 06:38:04
734,691
05/02/2011 15:25:56
570
37
ASPX page not rendering anything.
This page isn't rendering at all; It's just blank. I can't figure it out. I can't find any html errors. <%@Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="EmailListManagement.aspx.cs" Inherits="Anzalone.Symba.Admin.EmailListManagement" MasterPageFile="~/Symba/MasterPages/Admin.M...
c#
asp.net
html
iis
null
null
open
ASPX page not rendering anything. === This page isn't rendering at all; It's just blank. I can't figure it out. I can't find any html errors. <%@Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="EmailListManagement.aspx.cs" Inherits="Anzalone.Symba.Admin.EmailListManagement" Mast...
0
11,725,082
07/30/2012 15:56:54
397,940
07/21/2010 12:34:30
57
4
How to run a set of SQL queries and generate a report with each result?
I am working with a large Oracle 11g database under Oracle SQL Developer (Version 3.1.07). I would need to automatically run a sequence of SQL queries and output each individual result in an external file. I recently came across the SQL Developer reporting features, would that be the best place to start? Thanks, ...
sql
report
null
null
null
07/31/2012 22:22:13
not constructive
How to run a set of SQL queries and generate a report with each result? === I am working with a large Oracle 11g database under Oracle SQL Developer (Version 3.1.07). I would need to automatically run a sequence of SQL queries and output each individual result in an external file. I recently came across the SQL Develo...
4
8,503,074
12/14/2011 10:38:59
875,169
08/02/2011 17:35:43
1
0
Android: Screen doesn't turn off after timeout period elapsed
I have Thinkpad Tabled with Android 3.1 and the screen doesn't dim or automatically turn off after timeout period elapsed. It was working perfectly, until I installed several applications and configured the screen timeout and "lock screen" to use pin. Naturally I uninstalled all new applications and removed the pin cod...
android
screen
automatic
turn-off
null
12/14/2011 12:00:41
off topic
Android: Screen doesn't turn off after timeout period elapsed === I have Thinkpad Tabled with Android 3.1 and the screen doesn't dim or automatically turn off after timeout period elapsed. It was working perfectly, until I installed several applications and configured the screen timeout and "lock screen" to use pin. N...
2
9,910,518
03/28/2012 15:13:45
1,298,537
03/28/2012 15:05:08
1
0
How to read XML file in Encoding utf-8 (c#)
I'm trying to read an XML file which has some Chinese characters in it. While writing the information in the file, encoding UTF-8 works properly and Chinese characters are written in the file properly. But when I try to read it it shows some ????? instead. I'm just wondering if there is anyone who has already encoun...
xml
null
null
null
null
null
open
How to read XML file in Encoding utf-8 (c#) === I'm trying to read an XML file which has some Chinese characters in it. While writing the information in the file, encoding UTF-8 works properly and Chinese characters are written in the file properly. But when I try to read it it shows some ????? instead. I'm just wo...
0
8,824,332
01/11/2012 15:28:18
648,229
03/07/2011 13:37:47
27
5
C++ character count (Project Euler Problem 17 wrong answer)
I am getting a wrong answer when I wrote a code to solve Prob 17 in Project Euler. I am outputting every string to make the count more clear.<br> The link is posted here.<br> http://codepad.org/wE54t7Qi<br> Can someone help me to determine where the problem is? map<long int, string> CharNumberValue ; ...
c++
string
project-euler
null
null
01/12/2012 16:39:47
too localized
C++ character count (Project Euler Problem 17 wrong answer) === I am getting a wrong answer when I wrote a code to solve Prob 17 in Project Euler. I am outputting every string to make the count more clear.<br> The link is posted here.<br> http://codepad.org/wE54t7Qi<br> Can someone help me to determine where the p...
3
6,914,284
08/02/2011 15:09:49
863,739
07/26/2011 15:12:58
10
0
PHP Echo array outside function
I'm curious to know how to echo an array outside a function, for instance, this code prints it within. but what if I just wanted to return the values and echo it outside? function myArray() { $arr = array('One', 'Two', 'Three', 'four'); for($i=0; $i < count($arr); $i++) { ...
php
arrays
function
null
null
null
open
PHP Echo array outside function === I'm curious to know how to echo an array outside a function, for instance, this code prints it within. but what if I just wanted to return the values and echo it outside? function myArray() { $arr = array('One', 'Two', 'Three', 'four'); for...
0
8,709,320
01/03/2012 07:52:02
1,101,643
12/16/2011 09:33:52
3
0
Debug assertion failed . while using fscanf
hey i've tried a lot of programs in visual studios and in most of them when i try taking the input from a stream ( while using fscanf ) it invariably throws a debug assertion failed error .. and goes on to say stream != NULL . since i have gotten this error a number of times .. i assume there is aflaw in the way i'm ...
debugging
fscanf
assertion
null
null
null
open
Debug assertion failed . while using fscanf === hey i've tried a lot of programs in visual studios and in most of them when i try taking the input from a stream ( while using fscanf ) it invariably throws a debug assertion failed error .. and goes on to say stream != NULL . since i have gotten this error a number of...
0
636,689
03/11/2009 22:53:49
70,211
02/24/2009 04:51:17
1
0
difference between frontend, backend, and middleware in web development
wondering if anyone can compare/contrast the differences between frontend, backend, and middleware ("middle-end"?) succinctly are there cases where they overlap? are there cases where they MUST overlap, and frontend/backend cannot be separated? in terms of bottlenecks, which end is associated with which type of bo...
web-services
bottleneck
comparison
null
null
null
open
difference between frontend, backend, and middleware in web development === wondering if anyone can compare/contrast the differences between frontend, backend, and middleware ("middle-end"?) succinctly are there cases where they overlap? are there cases where they MUST overlap, and frontend/backend cannot be separ...
0
8,569,740
12/20/2011 01:22:05
1,106,976
12/20/2011 01:14:37
1
0
how about demons on c#?
Workin on C#, and POCKETPC, i have read about demons wich are "applications" wich runs and there is a third person involved, So my solution would be doing a demon Using C# and working down PocketPc, is it posible? and HOW CAN I DO IT? i was thinking a "easy" solution, would be "run" another process, in C# for windows ...
c#
process
background
background-process
pocketpc
12/21/2011 04:25:54
not a real question
how about demons on c#? === Workin on C#, and POCKETPC, i have read about demons wich are "applications" wich runs and there is a third person involved, So my solution would be doing a demon Using C# and working down PocketPc, is it posible? and HOW CAN I DO IT? i was thinking a "easy" solution, would be "run" anothe...
1
8,508,298
12/14/2011 16:48:35
766,172
05/23/2011 14:21:54
265
11
SCons: How to make a library pick up CPPPATH options
I have boost installed under `/home/username/local/include`. I want to compile a library with this set under CPPPATH. SConstruct: env = Environment(CPPPATH = '/home/username/local/include') env.Library('MyLib', 'library.cpp') library.cpp: #include <boost/shared_ptr.hpp> // library.cpp:1:32: err...
c++
linux
scons
null
null
null
open
SCons: How to make a library pick up CPPPATH options === I have boost installed under `/home/username/local/include`. I want to compile a library with this set under CPPPATH. SConstruct: env = Environment(CPPPATH = '/home/username/local/include') env.Library('MyLib', 'library.cpp') library.cpp: ...
0
9,348,586
02/19/2012 10:58:55
1,219,094
02/19/2012 10:50:23
1
0
building my personal website from nothing
Hi I am a freelance artist with some previous programming experience. I want to build a personal website to display my portfolio but since there are so many choices now, I don't know where to begin. Questions. 1. What webhosting should I use? I want to start with free webhosting just to test everything out. Al...
design
web
hosting
portfolio
null
02/20/2012 20:40:44
not constructive
building my personal website from nothing === Hi I am a freelance artist with some previous programming experience. I want to build a personal website to display my portfolio but since there are so many choices now, I don't know where to begin. Questions. 1. What webhosting should I use? I want to start with ...
4
5,963,743
05/11/2011 11:50:02
722,641
04/24/2011 13:45:10
1
0
What's wrong in this part of code?
static jboolean libinit(JNIEnv *env, jobject obj, jint sdk) { __android_log_print(ANDROID_LOG_INFO,"liblossless","libinit: sdk=%d",sdk); if (! libhandle) { if(sdk > 8) libhandle = dlopen("/data/data/net.avs234/lib/libatrack9.so", RTLD_NOW); else libhandle = dlopen("/data/data/net.avs234/li...
android
c
cygwin
null
null
05/12/2011 12:55:47
not a real question
What's wrong in this part of code? === static jboolean libinit(JNIEnv *env, jobject obj, jint sdk) { __android_log_print(ANDROID_LOG_INFO,"liblossless","libinit: sdk=%d",sdk); if (! libhandle) { if(sdk > 8) libhandle = dlopen("/data/data/net.avs234/lib/libatrack9.so", RTLD_NOW); else libh...
1
6,554,526
07/02/2011 01:10:16
825,681
07/02/2011 01:10:16
1
0
Links with Google App Engine
I would like to add links to new pages using Google App Engine and Python. Currently, I can't figure out how to attach new html files or make links at all. Thanks Matt
python
google
app
links
engine
07/04/2011 01:48:55
not a real question
Links with Google App Engine === I would like to add links to new pages using Google App Engine and Python. Currently, I can't figure out how to attach new html files or make links at all. Thanks Matt
1
10,587,750
05/14/2012 16:54:10
536,443
12/09/2010 13:08:00
1
0
WiX minor upgrade doesn't remove old Shortcut
The following steps had been performed: 1. Setup1.msi had been built in VS2005 + WiX 3.0 (.NET Framework 2.0). 2. Version 1.0.0.0 had been installed by Setup1.msi. 3. For the purpose of minor upgrade a Setup2.msi had been built (Setup2.msi differs from Setup1.msi ONLY in ProductVersion="1.0.1.0") 4. The fo...
wix
wix3
null
null
null
null
open
WiX minor upgrade doesn't remove old Shortcut === The following steps had been performed: 1. Setup1.msi had been built in VS2005 + WiX 3.0 (.NET Framework 2.0). 2. Version 1.0.0.0 had been installed by Setup1.msi. 3. For the purpose of minor upgrade a Setup2.msi had been built (Setup2.msi differs from Setu...
0
4,214,155
11/18/2010 11:17:04
37,643
11/14/2008 12:10:48
822
64
WPF. Easiest way to move Image to (X,Y) programmatically?
Does anyone know of an easy way to animate a movement from an Image's current location to a new location (X,Y) using WPF animation with no XAML, 100% programmatically? And with no reference to "this" (with RegisterName etc). I am trying to make an extension class for Image to do animation stuff on it. It is easy eno...
wpf
animation
null
null
null
null
open
WPF. Easiest way to move Image to (X,Y) programmatically? === Does anyone know of an easy way to animate a movement from an Image's current location to a new location (X,Y) using WPF animation with no XAML, 100% programmatically? And with no reference to "this" (with RegisterName etc). I am trying to make an extens...
0
9,352,894
02/19/2012 20:24:43
1,219,731
02/19/2012 20:17:28
1
0
Obj render not correct
I have a problem with the rendering of a cube. I don't know why but it isn't correct. Here 2 images of the "cube": Front: [Front](http://imageshack.us/photo/my-images/819/1opengl.png/) Back: [Back](http://imageshack.us/photo/my-images/821/2opengl.png/) Here the opengl code: Vertices, faces, colors.. ...
android
opengl
3d
render
null
null
open
Obj render not correct === I have a problem with the rendering of a cube. I don't know why but it isn't correct. Here 2 images of the "cube": Front: [Front](http://imageshack.us/photo/my-images/819/1opengl.png/) Back: [Back](http://imageshack.us/photo/my-images/821/2opengl.png/) Here the opengl code: V...
0
8,814,906
01/11/2012 06:08:45
996,366
10/15/2011 00:39:03
31
0
how to make a simple webapp for sending mail or wall using vb.net
I want to make myself a simple webapp using vb.net.I am trying to make a desktop app by which users can login and send mail or post wall(facebook) with out going into the browser. I have created the forms and all other thing using this tutorial( http://howtostartprogramming.com/vb-net/vb-net-tutorial-41-website-login/ ...
vb.net
null
null
null
null
null
open
how to make a simple webapp for sending mail or wall using vb.net === I want to make myself a simple webapp using vb.net.I am trying to make a desktop app by which users can login and send mail or post wall(facebook) with out going into the browser. I have created the forms and all other thing using this tutorial( htt...
0
10,666,973
05/19/2012 16:27:23
1,405,346
05/19/2012 16:23:43
1
0
Extracting Tweets using JAVA
what code should be implemented in java to extract tweets relevant to a word in entered using java technology? And how to do that?
java
twitter
extract
null
null
05/19/2012 16:42:19
not a real question
Extracting Tweets using JAVA === what code should be implemented in java to extract tweets relevant to a word in entered using java technology? And how to do that?
1
8,998,582
01/25/2012 06:10:20
899,347
08/17/2011 19:35:19
39
0
Making a webpage (for beginners)
I just bought a domain name and a web server and I was wondering how I go about making a good looking site. I was fooling with the Weebly Drag and Drop editor and wasn't impressed. Wordpress looked good until they were asking for my money. I want something that is customizable (and free). Tabs within a page would be ni...
html
website
tabs
applet
null
01/27/2012 16:07:05
not constructive
Making a webpage (for beginners) === I just bought a domain name and a web server and I was wondering how I go about making a good looking site. I was fooling with the Weebly Drag and Drop editor and wasn't impressed. Wordpress looked good until they were asking for my money. I want something that is customizable (and...
4
10,354,400
04/27/2012 16:24:50
1,354,082
04/24/2012 15:13:37
1
0
OnPause(), OnResume() and OnDestroy
I have developed a small app which uses several different classes to allow the user to add,remove and view certain data. I use an arrayList to store entries and this has its own class which has methods linked to the array so i can access the array from all of my classes. I want to introduce the above methods to opti...
android
optimization
null
null
null
null
open
OnPause(), OnResume() and OnDestroy === I have developed a small app which uses several different classes to allow the user to add,remove and view certain data. I use an arrayList to store entries and this has its own class which has methods linked to the array so i can access the array from all of my classes. I wa...
0
7,984,429
11/02/2011 17:08:42
82,028
03/24/2009 13:58:35
515
20
Installing Magento and Drupal in the same directory... htaccess magic maybe?
We are looking to run one website using two CMS systems, so for all the content related stuff it would be drupal, and then for all the ecommerce related stuff, we are looking to use Magento. Do you think this is possible? What are the general thoughts on this as an idea? Usually we would have the ecommerce on a...
drupal
.htaccess
magento
null
null
null
open
Installing Magento and Drupal in the same directory... htaccess magic maybe? === We are looking to run one website using two CMS systems, so for all the content related stuff it would be drupal, and then for all the ecommerce related stuff, we are looking to use Magento. Do you think this is possible? What are the...
0
6,969,157
08/06/2011 21:51:37
865,477
07/27/2011 13:25:18
59
1
CodeIgniter by NetBeans and best IDE for CI framework
I'm trying to develop project by CodeIgniter framework in NetBeans IDE,but I can't auto load class name and ... by ctrl + space same as what I do in NetBeans for Java or PHP in NetBeans. for e.g: $this->load->library('benchmark'); it can't load library and I should type it manually. how can I solve it? a...
php
codeigniter
netbeans
ide
null
04/09/2012 13:06:11
not constructive
CodeIgniter by NetBeans and best IDE for CI framework === I'm trying to develop project by CodeIgniter framework in NetBeans IDE,but I can't auto load class name and ... by ctrl + space same as what I do in NetBeans for Java or PHP in NetBeans. for e.g: $this->load->library('benchmark'); it can't load libra...
4
5,692,069
04/17/2011 06:56:10
84,712
03/30/2009 16:29:14
50
1
Should I roll my own OpenID provider, or is there a better way?
I'm developing a solution for a client, who is dealing with a fairly typical problem: they have many systems in production, each one with its own users and passwords, leading to the situation where each user has to remember three or four different (or not) logins and passwords, one per system they are allowed to use. A...
openid
sso
null
null
null
null
open
Should I roll my own OpenID provider, or is there a better way? === I'm developing a solution for a client, who is dealing with a fairly typical problem: they have many systems in production, each one with its own users and passwords, leading to the situation where each user has to remember three or four different (or...
0
7,590,684
09/28/2011 23:05:06
970,087
09/28/2011 22:47:50
1
0
Installing Ruby w/RBENV: I get "ruby-build command not found"
I put 'rbenv install 1.9.2-p290' in the terminal and I get back 'rbenv-install: line 31: ruby-build: command not found' I have ruby-build as well. Did I not install ruby-build correctly? I see this on the github site: "You can install to a different prefix by setting the PREFIX environment variable." I'm not exa...
ruby
installing
null
null
null
null
open
Installing Ruby w/RBENV: I get "ruby-build command not found" === I put 'rbenv install 1.9.2-p290' in the terminal and I get back 'rbenv-install: line 31: ruby-build: command not found' I have ruby-build as well. Did I not install ruby-build correctly? I see this on the github site: "You can install to a differ...
0
7,185,221
08/25/2011 04:40:19
775,624
05/30/2011 01:41:51
801
61
Remove http:// from NSString
How do I remove certain text from a NSString such as "http://"? It needs to be exactly in that order. Thanks for your help!
iphone
objective-c
ios
ipad
nsstring
null
open
Remove http:// from NSString === How do I remove certain text from a NSString such as "http://"? It needs to be exactly in that order. Thanks for your help!
0
5,894,131
05/05/2011 07:30:51
1,463,075
01/02/2011 03:09:44
1
0
Help! noob Django book question: how do you run development server step by step in command prompt?
trying to run the development server as directed by the django book 2.0. Heres what im doing so far: 1) cd into the directory containing python 2) run the python interpreter using the "python" command 3) Import django with the python interpreter http://www.djangobook.com/en/2.0/chapter02/ Now step 4 should b...
python
django
null
null
null
05/10/2011 01:05:56
not a real question
Help! noob Django book question: how do you run development server step by step in command prompt? === trying to run the development server as directed by the django book 2.0. Heres what im doing so far: 1) cd into the directory containing python 2) run the python interpreter using the "python" command 3) Import...
1
7,599,678
09/29/2011 15:27:35
406,026
07/29/2010 18:11:40
20
1
Ignore file locally when using git-svn
I am use git svn for version control tracking a remote svn repository. Unfortunately our svn repository tracks too many transient files in my opinion. So I want to ignore certain files locally so whant I do a "git status" the message is not cluttered with files I don't care. Now I understand I can ignore files that ...
git-svn
null
null
null
null
null
open
Ignore file locally when using git-svn === I am use git svn for version control tracking a remote svn repository. Unfortunately our svn repository tracks too many transient files in my opinion. So I want to ignore certain files locally so whant I do a "git status" the message is not cluttered with files I don't care. ...
0
6,914,716
08/02/2011 15:41:41
706,771
04/13/2011 20:23:29
191
5
How Do I Store A PHP Variable In JS For Use With jQuery?
I'm wondering where I would put code to take a variable from PHP (used in numbering classes) and store it in a variable that jQuery can access? Here is an example: $(".object1-22").hover(function(e){ $(".object2-22").show(); }, function(e) { $(".object2-22").hide(); }); So in my code, I have two ob...
php
javascript
jquery
null
null
08/05/2011 10:17:52
not a real question
How Do I Store A PHP Variable In JS For Use With jQuery? === I'm wondering where I would put code to take a variable from PHP (used in numbering classes) and store it in a variable that jQuery can access? Here is an example: $(".object1-22").hover(function(e){ $(".object2-22").show(); }, function(e) { ...
1
3,840,080
10/01/2010 14:25:34
6,610
09/15/2008 12:21:49
11,805
546
How to retrieve data from clipboard as System.String[]
When I copy data from my application, I wrote a simple C# script to check what type it is. Apparently (and I expected that), it's an array of strings: IDataObject data = Clipboard.GetDataObject(); Console.WriteLine(data.GetFormats(true)); // writes "System.String[]" Now when I extract the ...
c#
clipboard
null
null
null
null
open
How to retrieve data from clipboard as System.String[] === When I copy data from my application, I wrote a simple C# script to check what type it is. Apparently (and I expected that), it's an array of strings: IDataObject data = Clipboard.GetDataObject(); Console.WriteLine(data.GetFormats(tr...
0
1,105,798
07/09/2009 18:49:05
103,734
05/08/2009 18:07:55
84
5
Smallest Xwindow for Linux
What is the smallest, friendliest Xserver that I can run on Linux. I currently use Gnome which is a bit heavy. <br> All I would be needing it for is to run Firefox. Xfce?
linux
kde
gnome
xfce
null
07/10/2009 00:09:02
off topic
Smallest Xwindow for Linux === What is the smallest, friendliest Xserver that I can run on Linux. I currently use Gnome which is a bit heavy. <br> All I would be needing it for is to run Firefox. Xfce?
2
1,941,392
12/21/2009 17:16:37
68,183
02/19/2009 03:16:03
2,114
0
are there any CSV readers/writer lib's in c#
are there any CSV readers/writer lib's in c#
c#
csv
null
null
null
06/29/2012 03:15:04
not constructive
are there any CSV readers/writer lib's in c# === are there any CSV readers/writer lib's in c#
4
2,357,691
03/01/2010 17:26:41
147,818
07/30/2009 13:18:02
23
2
silverlight bing maps pushpin question
I'm trying to use the microsoft_maps_mapcontrol. I see how one could create a pushpin and the lat long location... but i can't figure out how to instead use an image in place of that pushpin. doesn't look like pushpin will allow using a different image. So, that being the case how do you create an image and then wir...
silverlight
pushpin
null
null
null
null
open
silverlight bing maps pushpin question === I'm trying to use the microsoft_maps_mapcontrol. I see how one could create a pushpin and the lat long location... but i can't figure out how to instead use an image in place of that pushpin. doesn't look like pushpin will allow using a different image. So, that being the ...
0
4,265,833
11/24/2010 10:38:52
133,520
07/06/2009 05:14:42
8,107
353
Free Forth books
Are there any free Forth ebooks that teach advanced Forth programming techniques? I am aware of Thinking Forth and Programming Forth. Any books other than these?
books
forth
null
null
null
07/30/2012 03:35:27
not constructive
Free Forth books === Are there any free Forth ebooks that teach advanced Forth programming techniques? I am aware of Thinking Forth and Programming Forth. Any books other than these?
4
8,476,805
12/12/2011 15:37:58
640,558
03/02/2011 04:50:28
504
21
Recommendations for using graphs theory in machine learning?
I have been learning alot about using graphs for machine learning by watching Christopher Bishops videos( http://videolectures.net/mlss04_bishop_gmvm/ ). I find it very interesting and watched a few others in the same categories(machine learning/graph) but was wondering if anyone had any recommendations for ways of le...
algorithm
math
artificial-intelligence
machine-learning
graph-theory
null
open
Recommendations for using graphs theory in machine learning? === I have been learning alot about using graphs for machine learning by watching Christopher Bishops videos( http://videolectures.net/mlss04_bishop_gmvm/ ). I find it very interesting and watched a few others in the same categories(machine learning/graph) ...
0
1,243,836
08/07/2009 09:31:40
152,370
08/07/2009 09:31:40
1
0
C# virtual static method
Why static virtual is impossible ? Is C# dependant or just don't have any sence in the oo world ? I know the concept has already been underlined but I did not find a simple answer to the previous question. Additional question, how to implement this : interface I { static string GetClassNa...
c#
virtual
static
methods
generics
null
open
C# virtual static method === Why static virtual is impossible ? Is C# dependant or just don't have any sence in the oo world ? I know the concept has already been underlined but I did not find a simple answer to the previous question. Additional question, how to implement this : interface I { ...
0
5,804,726
04/27/2011 13:17:06
367,401
06/15/2010 14:55:02
492
31
Importing to InDesign from XML
I have asked a similar question before, but didn't get very good results. I've looked into it a little more and I think this is the best way to tackle it. However, I'm stuck on the final part of the question, so any assistance would be gratefully received: I am currently working on a new book which comprises a large...
mysql
xml
import
adobe
indesign
null
open
Importing to InDesign from XML === I have asked a similar question before, but didn't get very good results. I've looked into it a little more and I think this is the best way to tackle it. However, I'm stuck on the final part of the question, so any assistance would be gratefully received: I am currently working o...
0
428,955
01/09/2009 17:31:14
50,711
01/01/2009 17:03:09
87
4
What is the value added from a smoke test?
Or maybe with our implementation of it. I'm new to the team that wants to go through the process and it seemed to confuse some of our members on the team including me. We were given what I would consider a user acceptance test or list of manual actions that you would click on through to see if everything was working....
testing
null
null
null
null
null
open
What is the value added from a smoke test? === Or maybe with our implementation of it. I'm new to the team that wants to go through the process and it seemed to confuse some of our members on the team including me. We were given what I would consider a user acceptance test or list of manual actions that you would cl...
0
9,618,277
03/08/2012 13:19:06
563,466
01/05/2011 04:57:36
115
1
How to use php array with sql IN operator?
I have and array with two values and I want to use it with sql IN operator in select query. Here is the structure of my table id comp_id 1 2 2 3 3 1 I have an array `$arr` which have two values `Array ( [0] => 1 [1] => 2 )` I want to fetch the record of comp_id 1 and comp_id 2. So ...
php
sql
arrays
in-operator
null
03/08/2012 19:35:33
too localized
How to use php array with sql IN operator? === I have and array with two values and I want to use it with sql IN operator in select query. Here is the structure of my table id comp_id 1 2 2 3 3 1 I have an array `$arr` which have two values `Array ( [0] => 1 [1] => 2 )` I want to ...
3
5,845,357
04/30/2011 23:41:03
717,996
04/20/2011 22:27:50
-4
0
DistanceBetween() two locations
I want the DistanceBetween() Method code , if i want to get the distance between my current location and overlay item location . Thank in advance
android
null
null
null
null
03/25/2012 16:21:35
not a real question
DistanceBetween() two locations === I want the DistanceBetween() Method code , if i want to get the distance between my current location and overlay item location . Thank in advance
1
1,482,131
09/26/2009 20:37:45
205,734
09/26/2009 20:37:45
1
0
Calling C# COM object
Ok, I've created a c# dll, made all its interface and methods all ComVisible(true). Added it to the GAC using gacutil, then registered it using regasm and created a type library tlb file. Now I have another c# project that I want to make calls to that com object, how can I do this? What would the code roughly look l...
com
c#
null
null
null
null
open
Calling C# COM object === Ok, I've created a c# dll, made all its interface and methods all ComVisible(true). Added it to the GAC using gacutil, then registered it using regasm and created a type library tlb file. Now I have another c# project that I want to make calls to that com object, how can I do this? What wo...
0
9,750,022
03/17/2012 12:34:02
848,796
07/17/2011 15:29:36
48
3
How can I bind as a non manager user to an LDAP sun server
I am trying to validate a user credential in an LDAP server. But I am getting an Object Not found error when I try to bind with the user credentials. I am using the JNDI classes and the code snippet is this one: ----------- env.put(Context.INITIAL_CONTEXT_FACTORY, "simple"); env.put(Context.PRO...
java
validation
authentication
jndi
credentials
03/20/2012 17:10:54
too localized
How can I bind as a non manager user to an LDAP sun server === I am trying to validate a user credential in an LDAP server. But I am getting an Object Not found error when I try to bind with the user credentials. I am using the JNDI classes and the code snippet is this one: ----------- env.put(Context.IN...
3
4,635,372
01/08/2011 18:15:43
551,717
12/22/2010 21:16:09
6
0
Is it posible to hook a .swf and call it's functions with python? If so, how?
I have a .swf file that is running, I want to be able to call it's internal function and modify/fetch it's variable values. How can I do this with python?
python
flash
hook
null
null
null
open
Is it posible to hook a .swf and call it's functions with python? If so, how? === I have a .swf file that is running, I want to be able to call it's internal function and modify/fetch it's variable values. How can I do this with python?
0
11,239,996
06/28/2012 07:31:41
1,485,068
06/27/2012 08:53:42
1
0
android app to change wallpaper after specific time interval by picking images from gallery
I am new to android. I wish to create an app which provides user a browse option to pick a folder of images from gallery and then one image is taken from folder and set as wallpaper. after specific time interval another image is taken and set as wallpaper and so on. any idea how to enable user to pick a folder of im...
wallpaper
null
null
null
null
06/28/2012 13:53:39
not a real question
android app to change wallpaper after specific time interval by picking images from gallery === I am new to android. I wish to create an app which provides user a browse option to pick a folder of images from gallery and then one image is taken from folder and set as wallpaper. after specific time interval another ima...
1
8,728,248
01/04/2012 14:11:09
1,130,034
01/04/2012 13:37:15
1
0
how can i possibly implement this
Let's say i have a 5,5,7,9,6 bit (this is their minimum size) array of int. Is it possible to send this array over a network as 32 bits instead of the usual 160 bits? Two things to consider: the person on the other side should be able to decode the original array. Another thing is the 32 bit is exclusive of the TCP/IP...
networking
data
transfer
null
null
01/05/2012 14:27:23
not a real question
how can i possibly implement this === Let's say i have a 5,5,7,9,6 bit (this is their minimum size) array of int. Is it possible to send this array over a network as 32 bits instead of the usual 160 bits? Two things to consider: the person on the other side should be able to decode the original array. Another thing i...
1
8,546,178
12/17/2011 16:34:02
1,031,958
11/06/2011 08:05:05
3
0
Websocket support for Chrome 16
Last week Chrome 16 became the latest Chrome stable version. When do you plan do have Hybi-17 support? Tnk, Tamir Klein
netty
null
null
null
null
12/17/2011 17:05:57
not a real question
Websocket support for Chrome 16 === Last week Chrome 16 became the latest Chrome stable version. When do you plan do have Hybi-17 support? Tnk, Tamir Klein
1
10,948,278
06/08/2012 11:49:12
1,412,467
05/23/2012 11:20:39
3
0
Log Analysis Hadoop
I have to create an application log analyzer in hadoop. For this I already write a map reduce programs which store the output user id wise in output file. Now my problem is that How can I show record from that file to user in Spring(J2EE framework) application. And I have to show output to web user according to th...
hadoop
null
null
null
null
06/09/2012 19:01:11
not a real question
Log Analysis Hadoop === I have to create an application log analyzer in hadoop. For this I already write a map reduce programs which store the output user id wise in output file. Now my problem is that How can I show record from that file to user in Spring(J2EE framework) application. And I have to show output to...
1
11,346,088
07/05/2012 14:09:48
1,043,612
11/12/2011 21:47:16
360
9
Is GameCenter peer to peer use push notification or continuous connection?
Does GameCenter peer to peer use push notification or a continuous connection?
iphone
ios
ipad
game-center
null
07/05/2012 14:14:39
off topic
Is GameCenter peer to peer use push notification or continuous connection? === Does GameCenter peer to peer use push notification or a continuous connection?
2
4,133,763
11/09/2010 12:44:17
495,874
11/03/2010 12:03:57
5
0
Phone Contacts With PHP
Good day guys, is there a way for me to access a users phone contact like from a nokia phone using PHP? I want to build a mobile website that can get the users phone book. Thank you all @cyberomin
php
mobile
phone
null
null
11/09/2010 14:05:41
not a real question
Phone Contacts With PHP === Good day guys, is there a way for me to access a users phone contact like from a nokia phone using PHP? I want to build a mobile website that can get the users phone book. Thank you all @cyberomin
1
1,653,962
10/31/2009 10:08:22
60,200
01/29/2009 13:43:43
183
9
is it possible to extend class attribute in .net?
I have a library. This library contains class named `tPage`. This `tPage` class not marked serializable. I can't modify this library. I need to serialize this. How to extend this class attribute? Is it possible?
c#
.net
null
null
null
null
open
is it possible to extend class attribute in .net? === I have a library. This library contains class named `tPage`. This `tPage` class not marked serializable. I can't modify this library. I need to serialize this. How to extend this class attribute? Is it possible?
0
5,629,374
04/12/2011 01:20:56
499,699
11/07/2010 07:03:23
49
1
probabilities and bayesian inference
In a 5 by 5 chessboard I have 5 pawns: a1,b1,c1,d1,e1 There are a total of 13 possible moves: a1->a2,b2 b1->a2,b2,c2 c1->b2,c2,d2 d1->c2,d2,e2 e1->d2,e2. So probability for any pawn to make a move is P(A) = 1/13. Probability of any of the five pawns to move to any of the boxes it is able to move to is P(P) = 1/5 and ...
probability
inference
null
null
null
04/12/2011 04:13:19
off topic
probabilities and bayesian inference === In a 5 by 5 chessboard I have 5 pawns: a1,b1,c1,d1,e1 There are a total of 13 possible moves: a1->a2,b2 b1->a2,b2,c2 c1->b2,c2,d2 d1->c2,d2,e2 e1->d2,e2. So probability for any pawn to make a move is P(A) = 1/13. Probability of any of the five pawns to move to any of the boxe...
2