PostId int64 13 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 3 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -33 210k | OwnerUndeletedAnswerCountAtPostTime int64 0 5.77k | Title stringlengths 10 250 | BodyMarkdown stringlengths 12 30k | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 47 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1,089,925 | 07/07/2009 01:23:25 | 106,178 | 05/13/2009 10:15:58 | 36 | 2 | At witt's end... Javascript won't replace '\n'! | I've been going at this problem for a solid couple hours now and having zero luck. No clue how this is even possible; I'll try to summarize.
I'm using TinyMCE to insert new content to a DB, that content is being sent back as an AJAX response after it is inserted into the DB and then shown on the page, replacing som... | javascript | jquery | regex | null | null | null | open | At witt's end... Javascript won't replace '\n'!
===
I've been going at this problem for a solid couple hours now and having zero luck. No clue how this is even possible; I'll try to summarize.
I'm using TinyMCE to insert new content to a DB, that content is being sent back as an AJAX response after it is inserted ... | 0 |
3,374,019 | 07/30/2010 17:36:31 | 340,628 | 05/13/2010 19:45:23 | 1,134 | 34 | What is the most cool feature of WPF | What is is in your opinion the most cool feature of WPF that one absolutely should view at. | wpf | null | null | null | null | 07/30/2010 18:29:07 | not a real question | What is the most cool feature of WPF
===
What is is in your opinion the most cool feature of WPF that one absolutely should view at. | 1 |
10,640,093 | 05/17/2012 16:56:59 | 266,569 | 02/04/2010 20:51:43 | 21 | 4 | Jsoup getting different html compared to Firefox and other browsers | I'm in trouble with some url's from a web-store called Kabum.
The url is http://www.kabum.com.br/cgi-local/kabum3/produtos/descricao.cgi?id=01:02:23:55:159
If I enter the site in the address bar, or click the link, I got a page with the product, but If I use Jsoup, I get a page with only a meta refresh to the sam... | java | web-scraping | jsoup | null | null | null | open | Jsoup getting different html compared to Firefox and other browsers
===
I'm in trouble with some url's from a web-store called Kabum.
The url is http://www.kabum.com.br/cgi-local/kabum3/produtos/descricao.cgi?id=01:02:23:55:159
If I enter the site in the address bar, or click the link, I got a page with the prod... | 0 |
8,214,634 | 11/21/2011 16:01:24 | 413,515 | 08/06/2010 22:00:35 | 72 | 1 | time now in Riyadh (KSA) , by javascript | How are you ?
I want to add block in site about time now in Riyadh (+3 time zone) (Capital of saudi arabia)
for example when the visitor from Germany or Spain come to my site , he wants to know the time in Riyadh , how can show the time now in Riyadh .
also I want the time 12h ( 12:10:25 am ) ..
Thank you ... | javascript | null | null | null | null | 11/21/2011 19:39:25 | not a real question | time now in Riyadh (KSA) , by javascript
===
How are you ?
I want to add block in site about time now in Riyadh (+3 time zone) (Capital of saudi arabia)
for example when the visitor from Germany or Spain come to my site , he wants to know the time in Riyadh , how can show the time now in Riyadh .
also I want... | 1 |
10,693,869 | 05/21/2012 23:20:28 | 1,009,091 | 10/23/2011 00:32:51 | 16 | 0 | Can neural bots trained by a neural network be used for the following purpose? | Hey I have a task to perform, which is basically to somehow retrieve powerpoint presentations or pdf documents pertaining to a certain field. Let's say I want to retrieve ppt and pdf lecture notes pertaining to bioinformatics field. I would like to know if this task can be achieved by adapting the approach of using neu... | machine-learning | web-crawler | neural-network | genetic-algorithm | information-retrieval | null | open | Can neural bots trained by a neural network be used for the following purpose?
===
Hey I have a task to perform, which is basically to somehow retrieve powerpoint presentations or pdf documents pertaining to a certain field. Let's say I want to retrieve ppt and pdf lecture notes pertaining to bioinformatics field. I w... | 0 |
4,041,861 | 10/28/2010 10:17:14 | 102,205 | 05/06/2009 12:51:32 | 1,072 | 137 | Best way to achieve multilingual URLs? | I'm developing a niche social networking site that is going multilingual. That means our current URL structure will soon need to start using translated words for slugs like the following:
`www.example.com/home` becomes `www.example.com/inicio`
`www.example.com/profile` becomes `www.example.com/perfil`
`www.exa... | php | internationalization | url-routing | multilingual | null | null | open | Best way to achieve multilingual URLs?
===
I'm developing a niche social networking site that is going multilingual. That means our current URL structure will soon need to start using translated words for slugs like the following:
`www.example.com/home` becomes `www.example.com/inicio`
`www.example.com/profile` ... | 0 |
7,556,711 | 09/26/2011 14:31:42 | 280,407 | 02/24/2010 14:42:24 | 70 | 0 | Troubleshoot Windows Binary | When there is a GUI program not behaving as I expect it to in Linux I run it from the terminal so that I can see what errors are happening in the background, this helps in configuring the system and figuring out dependencies when the problem is not from the program but rather the system. This is especially helpful when... | windows | null | null | null | null | null | open | Troubleshoot Windows Binary
===
When there is a GUI program not behaving as I expect it to in Linux I run it from the terminal so that I can see what errors are happening in the background, this helps in configuring the system and figuring out dependencies when the problem is not from the program but rather the system... | 0 |
574,092 | 02/22/2009 01:09:52 | 69,467 | 02/22/2009 01:09:51 | 1 | 0 | Win32 help please | Does anyone know any ebooks i can download to learn it pro or can anyone teach it to me i really want to get good at it | winapi | learning | it | pro | null | 04/28/2012 05:02:35 | not constructive | Win32 help please
===
Does anyone know any ebooks i can download to learn it pro or can anyone teach it to me i really want to get good at it | 4 |
7,215,660 | 08/27/2011 16:04:44 | 915,639 | 08/27/2011 16:04:44 | 1 | 0 | I need to make a small change to my existing local buisnes pages name | About a year ago when I created a page for our marina I was in a bit of a rush to get it up and going and I used mt. instead of mount and managed to leave everything in lower case.now that it has quite a few fans my boss is starting to get on my case about fixing it but from what i have read this isnt possible. I would... | facebook | change | name | null | null | 08/27/2011 17:43:43 | off topic | I need to make a small change to my existing local buisnes pages name
===
About a year ago when I created a page for our marina I was in a bit of a rush to get it up and going and I used mt. instead of mount and managed to leave everything in lower case.now that it has quite a few fans my boss is starting to get on my... | 2 |
9,185,722 | 02/07/2012 23:33:46 | 1,078,381 | 12/02/2011 23:27:33 | 44 | 0 | From Java to Kinect programming | I know nothing about C# or some other MS stuff, but i'm interested in Kinect programming. How long does it take to know some C# tricks and begin playing with Kinect on a serious level? Are there any good Java libs for this? Or it's just a wasting of time? | java | kinect | null | null | null | 02/08/2012 06:44:39 | not constructive | From Java to Kinect programming
===
I know nothing about C# or some other MS stuff, but i'm interested in Kinect programming. How long does it take to know some C# tricks and begin playing with Kinect on a serious level? Are there any good Java libs for this? Or it's just a wasting of time? | 4 |
1,664,394 | 11/02/2009 23:36:34 | 73,482 | 03/04/2009 02:03:12 | 51 | 2 | Significant Whitespace in C# like Python or Haskell? | I'm wondering if any other C# developers would find it an improvement to have a complier directive for CSC to make whitespace significant ala Haskell or Python where the kinds of whitespace creates code blocks.
While this would certainly be a massive departure from c-style languages, it seems to me that since C# is... | c# | null | null | null | null | 11/03/2009 02:43:36 | not constructive | Significant Whitespace in C# like Python or Haskell?
===
I'm wondering if any other C# developers would find it an improvement to have a complier directive for CSC to make whitespace significant ala Haskell or Python where the kinds of whitespace creates code blocks.
While this would certainly be a massive departu... | 4 |
6,439,226 | 06/22/2011 11:42:33 | 810,256 | 06/22/2011 11:42:33 | 1 | 0 | how get CSV FILE from the FTP server to local drive using extended stored procedures | Please give example to get file (auto) from FTP server to local machine with the help of extended stored procedures in in c# application | c# | sql | xsp | null | null | 06/22/2011 13:47:22 | not a real question | how get CSV FILE from the FTP server to local drive using extended stored procedures
===
Please give example to get file (auto) from FTP server to local machine with the help of extended stored procedures in in c# application | 1 |
7,290,686 | 09/03/2011 01:57:16 | 743,393 | 05/07/2011 20:16:49 | 1 | 0 | VB6 application won't run in some computers, in others it runs fine | I have a VB6 application, the installer is compiled using INNO Setup.
The installer runs fine. But in about 10% of computers when the user clicks the Icon to run the installed app, it doesn't start, no error message, only a Beep sound.
This is happening on XP and also Win 7.
I develop in XP and Win 7 and the app... | vb6 | runtime-error | null | null | null | null | open | VB6 application won't run in some computers, in others it runs fine
===
I have a VB6 application, the installer is compiled using INNO Setup.
The installer runs fine. But in about 10% of computers when the user clicks the Icon to run the installed app, it doesn't start, no error message, only a Beep sound.
This is... | 0 |
3,455,342 | 08/11/2010 04:42:47 | 188,326 | 10/12/2009 09:50:40 | 213 | 2 | Where is the place to disscuss vrapper problems? | http://sourceforge.net/projects/vrapper/
Vrapper is my favoriate vim-like plugin for eclipse. I got some problem with it - the ":format" does not work. I don't know where to ask my question. Can anybody point me out? | eclipse | null | null | null | null | 03/13/2012 21:53:48 | off topic | Where is the place to disscuss vrapper problems?
===
http://sourceforge.net/projects/vrapper/
Vrapper is my favoriate vim-like plugin for eclipse. I got some problem with it - the ":format" does not work. I don't know where to ask my question. Can anybody point me out? | 2 |
3,428,332 | 08/06/2010 22:49:01 | 23,903 | 09/16/2008 16:05:24 | 13,310 | 327 | Why are there so many different calling conventions? | Historically, why does it seem like just about everyone and their kid brother defined their own calling conventions? You've got C, C++, Windows, Pascal, Fortran, Fastcall and probably a zillion others I didn't think to mention. Shouldn't one convention be the most efficient for the vast majority of use cases? | history | low-level | calling-convention | asm | null | null | open | Why are there so many different calling conventions?
===
Historically, why does it seem like just about everyone and their kid brother defined their own calling conventions? You've got C, C++, Windows, Pascal, Fortran, Fastcall and probably a zillion others I didn't think to mention. Shouldn't one convention be the ... | 0 |
10,160,530 | 04/15/2012 08:18:39 | 1,334,195 | 04/15/2012 06:53:20 | 1 | 0 | Update datatables (JQuery) when button is clicked | I've created a simple form and I'm using datatables.net (JQuery plugin) to display some data in it. Data are being populated by a php script (process.php) which returns the proper results in JSON format. In the form, there is a button that sends the value of the textbox to the process.php. **The problem is that I canno... | jquery | jquery-ajax | jquery-plugins | datatables | datatables.net | null | open | Update datatables (JQuery) when button is clicked
===
I've created a simple form and I'm using datatables.net (JQuery plugin) to display some data in it. Data are being populated by a php script (process.php) which returns the proper results in JSON format. In the form, there is a button that sends the value of the te... | 0 |
7,312,419 | 09/05/2011 20:19:57 | 623,929 | 02/18/2011 23:31:13 | 18 | 1 | Java int equality inconsistency? | This is driving me insane because it completely violates my attempts to de-buggify it:
int k = keyCode; //keyCode being a variable declared by a keyPress
//in the Processing library
//k and keyCode are working properly.
if ((k - UP)*500 == 0); //int UP=38;
{
println((k-UP)*500 == 0);
... | java | syntax | processing | condition | null | 09/06/2011 08:55:43 | too localized | Java int equality inconsistency?
===
This is driving me insane because it completely violates my attempts to de-buggify it:
int k = keyCode; //keyCode being a variable declared by a keyPress
//in the Processing library
//k and keyCode are working properly.
if ((k - UP)*500 == 0); //int UP=38;
... | 3 |
11,295,483 | 07/02/2012 14:16:38 | 694,449 | 04/06/2011 08:36:56 | 51 | 2 | google search images | Hi I need to send GET method to google to show me images something like this:
**web search:**
https://www.google.jo/search?q=Palestine
thanks
| search | google | null | null | null | 07/02/2012 20:56:33 | not a real question | google search images
===
Hi I need to send GET method to google to show me images something like this:
**web search:**
https://www.google.jo/search?q=Palestine
thanks
| 1 |
3,246,361 | 07/14/2010 13:04:28 | 30,419 | 10/22/2008 15:39:54 | 2,519 | 116 | Passing IDs between web applications | We have several web applications that create a shopping cart, save it to a database, then redirect to a centralized web application to process and accept payment for the shopping cart. Right now, we are using GUIDs for the shopping cart IDs and passing those GUIDs in the querystring to the payment application. We are... | asp.net | database-design | null | null | null | null | open | Passing IDs between web applications
===
We have several web applications that create a shopping cart, save it to a database, then redirect to a centralized web application to process and accept payment for the shopping cart. Right now, we are using GUIDs for the shopping cart IDs and passing those GUIDs in the query... | 0 |
5,041,321 | 02/18/2011 12:32:41 | 447,221 | 07/21/2010 09:10:12 | 146 | 14 | What are the best .NET perfomance practices? | What are the best perfomance CPU/Memory practices for speed?
I have a project (trading platform) http://code.google.com/p/sample-trade/ and i need to process large data in short time?
I have millisecond timings e. g. when obtaining current market quotes. | optimization | trading | cpu-speed | null | null | 02/18/2011 23:09:08 | not a real question | What are the best .NET perfomance practices?
===
What are the best perfomance CPU/Memory practices for speed?
I have a project (trading platform) http://code.google.com/p/sample-trade/ and i need to process large data in short time?
I have millisecond timings e. g. when obtaining current market quotes. | 1 |
6,815,165 | 07/25/2011 11:11:13 | 716,480 | 04/20/2011 05:12:29 | 60 | 0 | Can i check in app purchase on jailbreak | I am just worried that can i test in app purchase on the iphone which is jail broken
Please tell me i have used all weapons to use it in my device but every time the Productid is zero
please help | iphone | in-app-purchase | jailbreak | null | null | 07/25/2011 13:11:42 | not a real question | Can i check in app purchase on jailbreak
===
I am just worried that can i test in app purchase on the iphone which is jail broken
Please tell me i have used all weapons to use it in my device but every time the Productid is zero
please help | 1 |
4,756,066 | 01/21/2011 06:34:58 | 579,217 | 01/17/2011 23:48:39 | 8 | 0 | Rails and Sencha Nested JSON: Has Many through? | I want to process nested JSON data sent from rails in Sencha.
In rails, my model associations are:
class User < ActiveRecord::Base
has_many :codes
has_many :stores, :through => :codes, :uniq => true
class Store < ActiveRecord::Base
has_many :deals
has_man... | ruby-on-rails | json | nested | associations | sencha-touch | null | open | Rails and Sencha Nested JSON: Has Many through?
===
I want to process nested JSON data sent from rails in Sencha.
In rails, my model associations are:
class User < ActiveRecord::Base
has_many :codes
has_many :stores, :through => :codes, :uniq => true
class Store < ActiveRecord::Base
... | 0 |
11,551,172 | 07/18/2012 22:15:11 | 1,536,229 | 07/18/2012 21:50:55 | 1 | 0 | How to use regular expressions to return only a part of a file name? | I am having trouble to create a regular expression that returns only a part of a string.
Passing the following strings:
/path/of/the/file/1 - 2 - Lecture 1.2_ Max Bense (13_49).mp4
/path/of/the/file/1 - 3 - Lecture 1.3_ Michael Friedman (12_15).mp4
/path/of/the/file/2 - 1 - Lecture 2.1_ Paul Feyerab... | regex | sed | grep | expression | null | null | open | How to use regular expressions to return only a part of a file name?
===
I am having trouble to create a regular expression that returns only a part of a string.
Passing the following strings:
/path/of/the/file/1 - 2 - Lecture 1.2_ Max Bense (13_49).mp4
/path/of/the/file/1 - 3 - Lecture 1.3_ Michael Fri... | 0 |
11,135,712 | 06/21/2012 09:55:35 | 91,970 | 04/17/2009 05:32:48 | 1,973 | 39 | How do I do 'validates_presence_of' new column in Devise - other than email & pw on the User model? | This is my `User` model:
class User < ActiveRecord::Base
devise :database_authenticatable, :registerable, :token_authenticatable, :confirmable, :timeoutable,
:recoverable, :rememberable, :trackable, :validatable,
:email_regexp => /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,... | ruby-on-rails | ruby-on-rails-3 | devise | null | null | null | open | How do I do 'validates_presence_of' new column in Devise - other than email & pw on the User model?
===
This is my `User` model:
class User < ActiveRecord::Base
devise :database_authenticatable, :registerable, :token_authenticatable, :confirmable, :timeoutable,
:recoverable, :rememberable,... | 0 |
8,890,319 | 01/17/2012 05:56:32 | 427,452 | 08/22/2010 04:44:58 | 3 | 0 | Struts 2 POST Limits | I have a very nasty error in a web app I'm programming in Struts 2.
I have a quite complicated web form where most of the fields are disabled by default and they are enabled by the use of checkboxes. When all the optional blocks are disabled and only the main one is enabled, the form works perfectly, but when I ena... | post | struts2 | action | limits | .refresh | 01/17/2012 06:28:25 | not a real question | Struts 2 POST Limits
===
I have a very nasty error in a web app I'm programming in Struts 2.
I have a quite complicated web form where most of the fields are disabled by default and they are enabled by the use of checkboxes. When all the optional blocks are disabled and only the main one is enabled, the form works... | 1 |
10,317,898 | 04/25/2012 14:34:05 | 1,356,474 | 04/25/2012 14:28:23 | 1 | 0 | Convert apache rewrites to nginx rewrites | We're about to move our application from Apache to NginX. Our application is a nifty user of mod_rewrite to make seo friendly urls. But for some reason, we're not able to fully transform the rewrites from apache to nginx.
Our Apache rewrites is viewable at: http://pastebin.com/3k4faVYr
And our NginX rewrites is v... | apache | mod-rewrite | nginx | null | null | 04/26/2012 14:36:48 | off topic | Convert apache rewrites to nginx rewrites
===
We're about to move our application from Apache to NginX. Our application is a nifty user of mod_rewrite to make seo friendly urls. But for some reason, we're not able to fully transform the rewrites from apache to nginx.
Our Apache rewrites is viewable at: http://past... | 2 |
5,287,380 | 03/13/2011 04:15:27 | 629,223 | 02/22/2011 22:46:32 | 21 | 1 | I need help with classes. (C++) | Well I am trying to do an exercise in my programming book and it's difficult for me to grasp exactly what it wants.
My "enterAccountData()" function is suppose to ask the user for an account number and a balance neither of which can be negative and the account number cannot be less than 1000
The second one is the... | c++ | class | null | null | null | null | open | I need help with classes. (C++)
===
Well I am trying to do an exercise in my programming book and it's difficult for me to grasp exactly what it wants.
My "enterAccountData()" function is suppose to ask the user for an account number and a balance neither of which can be negative and the account number cannot be le... | 0 |
3,218,385 | 07/10/2010 07:57:07 | 262,627 | 01/30/2010 20:04:08 | 419 | 14 | Basic drawing tools for .NET application | I need a control that allows loading a picture, performing some basic drawing tasks with it (including adding text, pencil, oval, horizontal and diagonal lines), and exporting it as bitmap.
Anything like that available?
Thanks | .net | drawing | bitmap | picture | null | null | open | Basic drawing tools for .NET application
===
I need a control that allows loading a picture, performing some basic drawing tasks with it (including adding text, pencil, oval, horizontal and diagonal lines), and exporting it as bitmap.
Anything like that available?
Thanks | 0 |
7,658,428 | 10/05/2011 08:11:52 | 1,866 | 08/19/2008 00:19:07 | 260 | 4 | Custom wcf data provider and debugging a relationship error | I'm implementing a custom data provider, I have gotten it to the point that it returns data and can be filtered, but am having some trouble getting relationships to work.
When querying the metadata the relationships look correct, and when querying a table the related property links appear, but when attempting to acc... | wcf | wcf-data-services | null | null | null | null | open | Custom wcf data provider and debugging a relationship error
===
I'm implementing a custom data provider, I have gotten it to the point that it returns data and can be filtered, but am having some trouble getting relationships to work.
When querying the metadata the relationships look correct, and when querying a ta... | 0 |
4,806,415 | 01/26/2011 15:35:19 | 590,808 | 01/26/2011 15:14:23 | 1 | 0 | DEVELOPMENT COST FOR iPAD APPLICATION AND ON GOING MAINTENANCE | I'm working on cost associated with an Ipad App I would like to have developed. The application would serve as a simple data editing tool for a SQL Server 2008 database. The user would be supplied a record from the DB and would make corrections within the record and "submit" the changes to the system. I'm not worrie... | ipad | maintenance | outsourcing | null | null | 01/26/2011 15:37:36 | off topic | DEVELOPMENT COST FOR iPAD APPLICATION AND ON GOING MAINTENANCE
===
I'm working on cost associated with an Ipad App I would like to have developed. The application would serve as a simple data editing tool for a SQL Server 2008 database. The user would be supplied a record from the DB and would make corrections withi... | 2 |
9,361,332 | 02/20/2012 12:45:21 | 459,943 | 09/27/2010 21:00:17 | 222 | 8 | How can I add LBtnMouseDown event to edit control | I want when a "LBUTTONDOWN" on edit control, empty the text box.
I know how can I empty the text box , but I don't know where is the place where this event is added .
**My dialog function:**
INT CALLBACK dlgProc(HWND hwnd, unsigned int msg, WPARAM wp, LPARAM lp){
switch(msg){
case WM_INITDIALOG... | winapi | null | null | null | null | null | open | How can I add LBtnMouseDown event to edit control
===
I want when a "LBUTTONDOWN" on edit control, empty the text box.
I know how can I empty the text box , but I don't know where is the place where this event is added .
**My dialog function:**
INT CALLBACK dlgProc(HWND hwnd, unsigned int msg, WPARAM wp, ... | 0 |
4,174,599 | 11/13/2010 20:42:31 | 362,479 | 06/09/2010 13:33:56 | 36 | 0 | sql stored procedure parameter problem | I have this weird problem with one of my SP's.
I have a SP and one of the parameters is nvarchar type.
and I am declaring the parameter, I am including value too, but when I am running there is no data returned.
short example:
@BookName nvarchar = null
Then in the where clause I have:
AND (o.Bo... | sql | stored-procedures | null | null | null | null | open | sql stored procedure parameter problem
===
I have this weird problem with one of my SP's.
I have a SP and one of the parameters is nvarchar type.
and I am declaring the parameter, I am including value too, but when I am running there is no data returned.
short example:
@BookName nvarchar = null
Then ... | 0 |
3,257,629 | 07/15/2010 16:19:53 | 357,349 | 06/03/2010 10:26:33 | 74 | 1 | Transfer App from LG to Droid | I need to test Android App specifically on LG Ally mobile. I am on windows and unable to find driver. I am unable to test it.
I can deploy app on Droid, however it doesn't work with Droid (I know Apps should be universal and should work independent of Device make, but this acts weird as it involves muting and unmuting... | android | null | null | null | null | 07/15/2010 17:24:14 | off topic | Transfer App from LG to Droid
===
I need to test Android App specifically on LG Ally mobile. I am on windows and unable to find driver. I am unable to test it.
I can deploy app on Droid, however it doesn't work with Droid (I know Apps should be universal and should work independent of Device make, but this acts weird... | 2 |
11,415,477 | 07/10/2012 14:25:14 | 1,463,542 | 06/18/2012 11:41:49 | 84 | 1 | How can i make my php file public? | I have apache server with easyphp. And i want my friend to open my php file in his browser with my ip adress. So how can i do that? Thanks. | php | apache | null | null | null | 07/10/2012 16:06:41 | off topic | How can i make my php file public?
===
I have apache server with easyphp. And i want my friend to open my php file in his browser with my ip adress. So how can i do that? Thanks. | 2 |
10,140,001 | 04/13/2012 11:31:44 | 1,270,187 | 03/14/2012 21:30:31 | 52 | 1 | For loop for second items in list of lists only. (python) | What I have
-----------
is something like this
def mymethod():
return [[1,2,3,4],
[1,2,3,4],
[1,2,3,4],
[1,2,3,4]]
mylist = mymethod()
for _, thing, _, _ in mylist:
print thing
# this bit is meant to be outside ... | python | coding-style | for-loop | nested-lists | null | null | open | For loop for second items in list of lists only. (python)
===
What I have
-----------
is something like this
def mymethod():
return [[1,2,3,4],
[1,2,3,4],
[1,2,3,4],
[1,2,3,4]]
mylist = mymethod()
for _, thing, _, _ in mylist:
... | 0 |
7,679,349 | 10/06/2011 19:20:26 | 982,827 | 10/06/2011 18:59:20 | 1 | 0 | How can i use rake cache and is it in rails 3.1? | Is rake-cache a default gem in rails 3.1? I'm interesting in proxy cashing so how can i write my code for using it? Can i write code for browser caching and will it work with proxy cashing?
P.S. Sorry for my English! | ruby-on-rails | rack-cache | null | null | null | null | open | How can i use rake cache and is it in rails 3.1?
===
Is rake-cache a default gem in rails 3.1? I'm interesting in proxy cashing so how can i write my code for using it? Can i write code for browser caching and will it work with proxy cashing?
P.S. Sorry for my English! | 0 |
9,308,033 | 02/16/2012 08:46:34 | 486,301 | 10/25/2010 10:37:08 | 11 | 1 | Android Bluetooth chat for android device and Bluetooth SPP device | I Am able to connect SPP Device with Android device successfully,I used Android Bluetooth chat for this with well-known UUID:00001101-0000-1000-8000-00805F9B34FB.But i am not able to receive message properly.
Can any one help me in this,
Thanks in advance...
| android | uuid | rfcomm | null | null | null | open | Android Bluetooth chat for android device and Bluetooth SPP device
===
I Am able to connect SPP Device with Android device successfully,I used Android Bluetooth chat for this with well-known UUID:00001101-0000-1000-8000-00805F9B34FB.But i am not able to receive message properly.
Can any one help me in this,
Thanks i... | 0 |
7,405,880 | 09/13/2011 17:20:41 | 927,768 | 09/04/2011 17:10:25 | 1 | 0 | Hibernate querying issue | I have the following code on the webservice that uses Hibernate
Session session = ICDBHibernateUtil.getSessionFactory().getCurrentSession();
session.beginTransaction();
User user = (User) session.load(User.class, userid);
userId is a paramter sent from the client.
User class
pack... | web-services | hibernate | query | null | null | null | open | Hibernate querying issue
===
I have the following code on the webservice that uses Hibernate
Session session = ICDBHibernateUtil.getSessionFactory().getCurrentSession();
session.beginTransaction();
User user = (User) session.load(User.class, userid);
userId is a paramter sent from the cli... | 0 |
11,347,010 | 07/05/2012 14:57:52 | 1,195,651 | 02/07/2012 20:24:36 | 288 | 0 | looking for a good and correct java implementation of mvc pattern | I'm trying to search on the net some good implementation of java mvc pattern but I found a lot of things and all those things confused me so much.I start from the knowledge of mvc pattern in php language but I don't know how apply on java because I have never done.someone can show me a good and correct implementation? | java | mvc | null | null | null | 07/06/2012 01:06:12 | not a real question | looking for a good and correct java implementation of mvc pattern
===
I'm trying to search on the net some good implementation of java mvc pattern but I found a lot of things and all those things confused me so much.I start from the knowledge of mvc pattern in php language but I don't know how apply on java because I ... | 1 |
4,868,862 | 02/01/2011 22:49:06 | 239,915 | 12/29/2009 01:52:29 | 509 | 20 | Limiting copas to a particular host: Allowing multiple web servers | I'm trying to limit the host in which copas receives sockets, with the end goal of allowing other web servers to handle requests with other hostnames on the same machine. In this particular case, when I use
copas.addserver(assert(socket.bind("*", 80)),
function(c)
return handler(copas.wrap(... | sockets | lua | null | null | null | null | open | Limiting copas to a particular host: Allowing multiple web servers
===
I'm trying to limit the host in which copas receives sockets, with the end goal of allowing other web servers to handle requests with other hostnames on the same machine. In this particular case, when I use
copas.addserver(assert(socket.bind... | 0 |
3,348,307 | 07/27/2010 21:47:52 | 301,860 | 03/25/2010 16:18:35 | 88 | 1 | Non local connections for django project server | I ran the command `python manage.py runserver 0.0.0.0:8000`
It started the server up, but when I navigate to http://myipaddress:8000, my webbroswer doesnt connect. I also tried with my iphone safari brower and got the same thing.
I am using Mac OS X 10.6 and am connect to the the internet through my router.
An... | django | pinax | django-manage.py | null | null | null | open | Non local connections for django project server
===
I ran the command `python manage.py runserver 0.0.0.0:8000`
It started the server up, but when I navigate to http://myipaddress:8000, my webbroswer doesnt connect. I also tried with my iphone safari brower and got the same thing.
I am using Mac OS X 10.6 and am... | 0 |
8,146,167 | 11/16/2011 03:06:00 | 881,703 | 08/06/2011 07:33:09 | 10 | 0 | Get more computation power for developing java application | I'm developing Java application using Eclipse IDE. problem is my PC is every low performance with XP. My company has many PCs free. So is there way to distributed free free computer and get that computer power for my Android application development. | android | eclipse | distributed | null | null | 11/16/2011 06:25:19 | off topic | Get more computation power for developing java application
===
I'm developing Java application using Eclipse IDE. problem is my PC is every low performance with XP. My company has many PCs free. So is there way to distributed free free computer and get that computer power for my Android application development. | 2 |
7,167,216 | 08/23/2011 20:35:09 | 212,246 | 11/16/2009 17:29:52 | 1 | 2 | server bogged and mysql query slow log | i have serious performance problem (all of a sudden) on my server (php+mysql). I enabled mysql slow query log and he started to show some queries that were taking even 25 secs to complete. for example this one takes 15 seconds:
# Time: 110823 2:07:01
# User@Host: ***[***] @ localhost []
# Query_time: ... | mysql | performance | query | null | null | null | open | server bogged and mysql query slow log
===
i have serious performance problem (all of a sudden) on my server (php+mysql). I enabled mysql slow query log and he started to show some queries that were taking even 25 secs to complete. for example this one takes 15 seconds:
# Time: 110823 2:07:01
# User@Host:... | 0 |
6,013,978 | 05/16/2011 06:44:07 | 274,299 | 02/16/2010 11:16:32 | 1,457 | 48 | Create muc room programmatically | I need to create multi user chat room from my module. I try to use mod_muc:create/5 -
mod_muc:create_room("conference.localhost", "testroom", "testuser@localhost", "testuser", default).
But when i run client and login, nothing happens. The room doesn't create.
How can i correctly create muc room from my mo... | erlang | ejabberd | null | null | null | null | open | Create muc room programmatically
===
I need to create multi user chat room from my module. I try to use mod_muc:create/5 -
mod_muc:create_room("conference.localhost", "testroom", "testuser@localhost", "testuser", default).
But when i run client and login, nothing happens. The room doesn't create.
How can ... | 0 |
6,729,133 | 07/18/2011 06:02:14 | 815,186 | 06/25/2011 09:36:14 | 9 | 0 | Fatal error: Uncaught OAuthException: An access token is required to request this resource | I'm accessing the graph api and am getting back an access token , its works fine in Mozilla. but am getting this error in IE:
**Fatal error: Uncaught OAuthException: An access token is required to request this resource**
Thanks in advance!
| php | facebook | api | graph | null | 07/18/2011 20:12:17 | not a real question | Fatal error: Uncaught OAuthException: An access token is required to request this resource
===
I'm accessing the graph api and am getting back an access token , its works fine in Mozilla. but am getting this error in IE:
**Fatal error: Uncaught OAuthException: An access token is required to request this resource**... | 1 |
1,545,715 | 10/09/2009 19:48:27 | 49,684 | 12/29/2008 00:39:20 | 207 | 5 | Flex: Error #2038: File I/O Error | I have a flex app doing multiple file upload, and keep getting this error:
Error #2038: File I/O Error
Flex gives this error, yet it seems to work because the upload does get processed.
This was happening intermittently, now on every attempt. Any ideas on what might be going on here? I've checked that permissions ... | flex | upload | null | null | null | 07/24/2012 17:40:55 | too localized | Flex: Error #2038: File I/O Error
===
I have a flex app doing multiple file upload, and keep getting this error:
Error #2038: File I/O Error
Flex gives this error, yet it seems to work because the upload does get processed.
This was happening intermittently, now on every attempt. Any ideas on what might be going ... | 3 |
11,301,285 | 07/02/2012 21:15:15 | 1,178,191 | 01/30/2012 13:52:56 | 33 | 5 | How to change a view property in CustomAdapter? | I have CustomAdapter extending ArrayAdapter, in which I set some views inside LinearLayout - one row, like this (adapter):
public View getView(int position, View convertView, ViewGroup parent) {
. . .
ImageView statePic = (ImageView) view.findViewById(R.id.state);
statePic.setImageRe... | android | listview | custom-adapter | null | null | null | open | How to change a view property in CustomAdapter?
===
I have CustomAdapter extending ArrayAdapter, in which I set some views inside LinearLayout - one row, like this (adapter):
public View getView(int position, View convertView, ViewGroup parent) {
. . .
ImageView statePic = (ImageView) view.f... | 0 |
7,412,616 | 09/14/2011 07:19:09 | 245,326 | 01/07/2010 07:08:03 | 337 | 2 | windows phone 7 sms arrival | Is there any way that wp7 application in windows phone
can trace the sms arriving to the windows phone
in which wp7 application is installed in? | c# | .net | windows-phone-7 | null | null | 09/14/2011 13:23:29 | not a real question | windows phone 7 sms arrival
===
Is there any way that wp7 application in windows phone
can trace the sms arriving to the windows phone
in which wp7 application is installed in? | 1 |
11,673,421 | 07/26/2012 16:04:13 | 151,824 | 08/06/2009 14:29:42 | 261 | 14 | regex minify error | I use this [regex][1] to minify my pages. I get the error when there is to much data to handle. (But I only list 186 rows)
If I set the limit in my sql to 20 rows - it works.
My error_log: **child pid 4736 exit signal Segmentation fault (11)**
Is there any idea how to solve this or have someone found a so... | php | regex | null | null | null | 07/26/2012 16:53:10 | not a real question | regex minify error
===
I use this [regex][1] to minify my pages. I get the error when there is to much data to handle. (But I only list 186 rows)
If I set the limit in my sql to 20 rows - it works.
My error_log: **child pid 4736 exit signal Segmentation fault (11)**
Is there any idea how to solve this or... | 1 |
10,900,776 | 06/05/2012 16:04:13 | 452,058 | 09/19/2010 17:46:15 | 38 | 1 | Templates for phpDoc and PDF | Anyone know where to find some good templates for phpDocumentor2 (phpdoc)?
And also how can I generate PDF through phpdoc?
Thank you in advance for help. | php | php5 | documentation-generation | phpdoc | phpdocumentor | 06/05/2012 16:10:32 | off topic | Templates for phpDoc and PDF
===
Anyone know where to find some good templates for phpDocumentor2 (phpdoc)?
And also how can I generate PDF through phpdoc?
Thank you in advance for help. | 2 |
7,943,287 | 10/30/2011 04:19:41 | 856,088 | 07/21/2011 13:54:12 | 6 | 0 | Auto click on page load | I found a facebook auto like script, its working..
but I want it to work on page load without the visitor need to click.
Is it possible? I have tried jQuery trigger function, but it does not worked. Can anybody tell me how to do it modifying the existing script without adding any new codes or just adding some coded ... | javascript | jquery | null | null | null | 10/30/2011 11:51:00 | not constructive | Auto click on page load
===
I found a facebook auto like script, its working..
but I want it to work on page load without the visitor need to click.
Is it possible? I have tried jQuery trigger function, but it does not worked. Can anybody tell me how to do it modifying the existing script without adding any new cod... | 4 |
8,766,020 | 01/06/2012 23:52:11 | 857,025 | 07/21/2011 23:48:37 | 341 | 11 | What is the average website user's CPU/RAM/GPU? | I'm programming a some sites with javascript/css/dom animation. I'd like to know what computer capabilities I should program to. For example, when laying out a site, I know the average screen size to program for (e.g. the majority of users have at least 1024x768, so that's lowest common denominator), but cannot find an... | javascript | dom | optimization | browser | null | 01/06/2012 23:54:17 | off topic | What is the average website user's CPU/RAM/GPU?
===
I'm programming a some sites with javascript/css/dom animation. I'd like to know what computer capabilities I should program to. For example, when laying out a site, I know the average screen size to program for (e.g. the majority of users have at least 1024x768, so ... | 2 |
10,646,456 | 05/18/2012 03:49:06 | 768,894 | 05/25/2011 04:41:48 | 494 | 22 | File upload functionality? | I want to implement file upload functionality in my project but the problem is,
<br />
using HTML's <br /><br />`<input type="file">` <br /><br />simply gives a button which allows file upload What I need<br /> is a TextField in front of the button and once I select a file using the button<br /> the full path get dis... | javascript | html | clojure | null | null | 05/20/2012 22:53:53 | not a real question | File upload functionality?
===
I want to implement file upload functionality in my project but the problem is,
<br />
using HTML's <br /><br />`<input type="file">` <br /><br />simply gives a button which allows file upload What I need<br /> is a TextField in front of the button and once I select a file using the bu... | 1 |
460,136 | 01/20/2009 04:32:12 | 25,915 | 10/07/2008 18:52:13 | 26 | 0 | Windows internet shortcuts: starting with IE maximized? | I have an internet shortcut on my desktop, with the contents looking like this:
[InternetShortcut]
URL=http://www.microsoft.com/isapi/redir.dll?prd=ie&pver=6&ar=IStart
Modified=D03458CE7738C801A2
I was wondering if there are any tweaks I can do to guarantee that the browser starts maximized after so... | windows | internet | shortcut | null | null | null | open | Windows internet shortcuts: starting with IE maximized?
===
I have an internet shortcut on my desktop, with the contents looking like this:
[InternetShortcut]
URL=http://www.microsoft.com/isapi/redir.dll?prd=ie&pver=6&ar=IStart
Modified=D03458CE7738C801A2
I was wondering if there are any tweaks I c... | 0 |
6,593,741 | 07/06/2011 08:46:30 | 823,055 | 06/30/2011 12:44:25 | 1 | 0 | How do I center a 1700px div so that no horizontal scrollbars appear? | I'm building a site with a 1700px wide JS slideshow at the top. When I publish the page, I get horizontal scrollbars since my monitor is on a 1024px resolution. How do I get the site to be centered in the browser with no horizontal scrollbars - and whatever is superfluous on either side simply isn't visible to the user... | html | css | null | null | null | null | open | How do I center a 1700px div so that no horizontal scrollbars appear?
===
I'm building a site with a 1700px wide JS slideshow at the top. When I publish the page, I get horizontal scrollbars since my monitor is on a 1024px resolution. How do I get the site to be centered in the browser with no horizontal scrollbars - ... | 0 |
1,908,494 | 12/15/2009 16:08:14 | 109,360 | 05/19/2009 13:09:43 | 1,037 | 64 | c# - combine 2 statements in a catch block into one | Does anybody know if it's possible to write the code in the catch block below as a single statement? I haven't been able to come up with a way, and was just curious if there was one.
IMPORTANT: the stack trace must be preserved.
catch (Exception e)
{
if (e is MyCustomException)
... | c# | exception | null | null | null | null | open | c# - combine 2 statements in a catch block into one
===
Does anybody know if it's possible to write the code in the catch block below as a single statement? I haven't been able to come up with a way, and was just curious if there was one.
IMPORTANT: the stack trace must be preserved.
catch (Exception e)... | 0 |
8,096,437 | 11/11/2011 15:46:52 | 586,840 | 01/24/2011 01:13:24 | 16 | 0 | 'Rare' sorting algorithms? | Our algorithm professor gave us a assignment that requires us to choose a **rare** sorting algorithm (e.g. Introsort, Gnomesort, etc.) and do some research about it.
Wikipedia sure has a plenty of information about this, but it is still not enough for me to do the research in depth.
So I would like to find a book tha... | algorithm | sorting | null | null | null | 11/11/2011 23:58:51 | not constructive | 'Rare' sorting algorithms?
===
Our algorithm professor gave us a assignment that requires us to choose a **rare** sorting algorithm (e.g. Introsort, Gnomesort, etc.) and do some research about it.
Wikipedia sure has a plenty of information about this, but it is still not enough for me to do the research in depth.
So... | 4 |
7,108,205 | 08/18/2011 13:30:04 | 209,866 | 11/12/2009 19:03:39 | 206 | 6 | How to undo ALTER TABLE in sqlplus i.e. Oracle 10g? | rollback;
doesn't seem to undo alter table changes.
Background:
I'm generating some .sql scripts (based on parsed Hibernate scripts) which are trashing my tables. Importing the full database for testing takes up to 30 minutes (also slowing my machine) and as much as I enjoy taking breaks, i'd prefer to jus... | table | oracle10g | sqlplus | rollback | alter | null | open | How to undo ALTER TABLE in sqlplus i.e. Oracle 10g?
===
rollback;
doesn't seem to undo alter table changes.
Background:
I'm generating some .sql scripts (based on parsed Hibernate scripts) which are trashing my tables. Importing the full database for testing takes up to 30 minutes (also slowing my machine... | 0 |
8,830,216 | 01/12/2012 04:40:47 | 1,134,982 | 01/06/2012 19:05:20 | 3 | 0 | How to write Generators , list comprehension in python | When i think about any problem , thinking via list comprehension doesn't come naturally.
Whats the best way to think through this?
Regards
Ashish | python | list-comprehension | null | null | null | 01/12/2012 06:33:41 | not a real question | How to write Generators , list comprehension in python
===
When i think about any problem , thinking via list comprehension doesn't come naturally.
Whats the best way to think through this?
Regards
Ashish | 1 |
8,454,359 | 12/10/2011 04:19:14 | 1,090,630 | 12/09/2011 23:21:40 | 3 | 0 | Update XML value in the server with c# | How to update a certain value on a XML file,when xml file is on server?
| c# | xml | null | null | null | 12/10/2011 04:36:25 | not a real question | Update XML value in the server with c#
===
How to update a certain value on a XML file,when xml file is on server?
| 1 |
3,374,437 | 07/30/2010 18:40:04 | 85,178 | 03/31/2009 15:35:26 | 391 | 11 | Where to find ocean and earth data maps usable to simulate water depth level? | Searching on USGS I did not find something easily usable without passing from GIS or similar.
I need only something easy to use, like a high map resolution of the Earth without and with ocean. Have you some hint or advice on how to convert available GIS data? | maps | simulation | generation | null | null | 07/31/2010 02:51:11 | off topic | Where to find ocean and earth data maps usable to simulate water depth level?
===
Searching on USGS I did not find something easily usable without passing from GIS or similar.
I need only something easy to use, like a high map resolution of the Earth without and with ocean. Have you some hint or advice on how to co... | 2 |
3,445,024 | 08/09/2010 23:49:55 | 401,980 | 07/26/2010 06:32:16 | 17 | 1 | jQuery to PHP and back again! | I'd like to pass content back and forth from PHP to jQuery and vice versa. I'm not sure if I fully understand the best way to go about this and am hoping for some best advice and clarification.
Below is an example of something I'm trying to do. The PHP lists the files in a directory (whose path is passed to it from ... | php | jquery | null | null | null | null | open | jQuery to PHP and back again!
===
I'd like to pass content back and forth from PHP to jQuery and vice versa. I'm not sure if I fully understand the best way to go about this and am hoping for some best advice and clarification.
Below is an example of something I'm trying to do. The PHP lists the files in a director... | 0 |
1,798,574 | 11/25/2009 17:26:32 | 181,722 | 09/30/2009 10:21:36 | 36 | 1 | Force WCF to call a method on every request before entering actual function | I have a RESTful WCF service with many different functions. For each function I need to call an authentication method that I have written. I can manually call this method on every request but I was looking for a way to force the WCF engine to call this method before these functions are entered. Does anyone know if this... | wcf | rest | web-services | null | null | null | open | Force WCF to call a method on every request before entering actual function
===
I have a RESTful WCF service with many different functions. For each function I need to call an authentication method that I have written. I can manually call this method on every request but I was looking for a way to force the WCF engine... | 0 |
4,985,002 | 02/13/2011 15:31:33 | 563,020 | 01/04/2011 19:16:03 | 46 | 1 | [Android] The method startActivityForResult(Intent, int) is undefined for the type new AdapterView.OnItemClickListener | i'm new to android and i'm trying to code an app which fetches json data off the web, creates a list. if you click on a list item a new activity starts which shows the details of the activity. however i cant seem to start the second activty, i keep getting the error "The method startActivityForResult(Intent, int) is un... | android | listview | activity | android-intent | android-asynctask | null | open | [Android] The method startActivityForResult(Intent, int) is undefined for the type new AdapterView.OnItemClickListener
===
i'm new to android and i'm trying to code an app which fetches json data off the web, creates a list. if you click on a list item a new activity starts which shows the details of the activity. how... | 0 |
7,061,912 | 08/15/2011 05:18:11 | 894,521 | 08/15/2011 05:18:11 | 1 | 0 | How to consume a Web Service in Java | I have a web service I made through Eclipse, the one made with the wizard. It works, though my problem is I don't know how to use that web service in another program. I tried to look for ways in Google but there are too many and some of them I don't even know how to set up.
How should I do it? | java | web-services | null | null | null | 08/15/2011 06:08:35 | not a real question | How to consume a Web Service in Java
===
I have a web service I made through Eclipse, the one made with the wizard. It works, though my problem is I don't know how to use that web service in another program. I tried to look for ways in Google but there are too many and some of them I don't even know how to set up.
... | 1 |
11,668,288 | 07/26/2012 11:28:12 | 1,536,682 | 07/19/2012 03:36:38 | 1 | 0 | How to elegantly check if a number is within a range using JAVA? | How can I do this elegantly with JAVA?
For example a number can be between 1 and 100. | java | numbers | null | null | null | 07/27/2012 11:57:28 | not a real question | How to elegantly check if a number is within a range using JAVA?
===
How can I do this elegantly with JAVA?
For example a number can be between 1 and 100. | 1 |
11,705,739 | 07/29/2012 00:30:56 | 1,042,960 | 11/12/2011 09:09:14 | 1 | 0 | EMR - Hive and Java together | I'm using Amazon Elastic-Map-Reduce.
Is it possible to run a HIVE query that uses a java code (using the Transform functionality)?
When I create a new job-flow, I need to select between a custom-jar and a hive program, while I need both ...
Thanks ahead! | java | hive | emr | null | null | null | open | EMR - Hive and Java together
===
I'm using Amazon Elastic-Map-Reduce.
Is it possible to run a HIVE query that uses a java code (using the Transform functionality)?
When I create a new job-flow, I need to select between a custom-jar and a hive program, while I need both ...
Thanks ahead! | 0 |
9,845,817 | 03/23/2012 20:04:08 | 787,960 | 06/07/2011 17:39:28 | 74 | 1 | How to get a reference to a Table in a tab/worksheet that isn't the active one | I have some existing custom Excel workbooks/applications with code-behind C#, which work fine. They do things like referencing Tables defined in the active worksheet, setting their datasources to IEnumerables, etc.
However, now I need to reference a Table which is not in the active sheet. Basically, the active she... | c# | excel | null | null | null | null | open | How to get a reference to a Table in a tab/worksheet that isn't the active one
===
I have some existing custom Excel workbooks/applications with code-behind C#, which work fine. They do things like referencing Tables defined in the active worksheet, setting their datasources to IEnumerables, etc.
However, now I ne... | 0 |
7,370,339 | 09/10/2011 07:41:44 | 936,544 | 09/09/2011 10:05:24 | 3 | 0 | Which MySQL storage engine should I use? | I don't think innoDB could work because I need to truncate often very large tables (some GB) and i need every bit of disk space. | mysql | engine | null | null | null | 09/10/2011 08:57:03 | not a real question | Which MySQL storage engine should I use?
===
I don't think innoDB could work because I need to truncate often very large tables (some GB) and i need every bit of disk space. | 1 |
130,843 | 09/25/2008 00:40:36 | 18,265 | 09/18/2008 21:23:01 | 11 | 4 | How do I add a <table> using Element with Prototype in IE6? | Using Prototype 1.6's "new Element(...)" I am trying to create a <table> element with both a <thead> and <tbody> but nothing happens in IE6.
var tableProto = new Element('table').update('<thead><tr><th>Situation Task</th><th>Action</th><th>Result</th></tr></thead><tbody><tr><td>a</td><td>b</td>... | javascript | dom | prototype | js | null | 12/31/2008 00:17:14 | off topic | How do I add a <table> using Element with Prototype in IE6?
===
Using Prototype 1.6's "new Element(...)" I am trying to create a <table> element with both a <thead> and <tbody> but nothing happens in IE6.
var tableProto = new Element('table').update('<thead><tr><th>Situation Task</th><th>Actio... | 2 |
9,338,307 | 02/18/2012 03:39:25 | 1,208,960 | 02/14/2012 11:30:42 | 1 | 0 | how can i do to make position:fixed work well | i have a div,
it's width is 200px ,height is 150px,
i want the style of div's position is fixed
To make it centered horizontally and vertically centered | javascript | null | null | null | null | null | open | how can i do to make position:fixed work well
===
i have a div,
it's width is 200px ,height is 150px,
i want the style of div's position is fixed
To make it centered horizontally and vertically centered | 0 |
10,165,015 | 04/15/2012 18:52:40 | 1,334,803 | 04/15/2012 16:59:56 | 11 | 0 | login error 404 | this my login.php. when i click login then error
> Object not found!
>
> The requested URL was not found on this server. The link on the
> referring page seems to be wrong or outdated. Please inform the author
> of that page about the error.
>
> If you think this is a server error, please contact the webmas... | php | phpmyadmin | null | null | null | 04/19/2012 14:01:58 | too localized | login error 404
===
this my login.php. when i click login then error
> Object not found!
>
> The requested URL was not found on this server. The link on the
> referring page seems to be wrong or outdated. Please inform the author
> of that page about the error.
>
> If you think this is a server error, plea... | 3 |
11,341,977 | 07/05/2012 09:59:47 | 1,457,986 | 06/15/2012 06:52:50 | 1 | 0 | Would singleton database connection affect performance in a weblogic clustered environment? | I have a J2ee struts web application using a singleton database connection. In the past, there is only one weblogic server, but now, there are two weblogic servers in a cluster.
Session replication have been tested to be working in this cluster. The web application consist of a few links that will open up different... | database | java-ee | struts | weblogic | cluster-computing | null | open | Would singleton database connection affect performance in a weblogic clustered environment?
===
I have a J2ee struts web application using a singleton database connection. In the past, there is only one weblogic server, but now, there are two weblogic servers in a cluster.
Session replication have been tested to b... | 0 |
7,612,160 | 09/30/2011 14:51:52 | 957,139 | 09/21/2011 14:10:57 | 1 | 0 | Encoding in JSF 2 + Tomcat 7 | I have one fowm with only one single field. When I submit the form, the value of my field becomes strange. The word Extremação becomes Extremação.
So, I already set UTF-8 encoding in every place on my app:
<?xml version="1.0" encoding="UTF-8"?>
<meta http-equiv="Content-Type" content="text/html; char... | character-encoding | jsf-2.0 | tomcat7 | content-encoding | null | null | open | Encoding in JSF 2 + Tomcat 7
===
I have one fowm with only one single field. When I submit the form, the value of my field becomes strange. The word Extremação becomes Extremação.
So, I already set UTF-8 encoding in every place on my app:
<?xml version="1.0" encoding="UTF-8"?>
<meta http-equiv="Cont... | 0 |
5,077,926 | 02/22/2011 12:10:02 | 447,156 | 09/14/2010 09:15:07 | 292 | 23 | Gridview All Data is one line | I have `Gridview` but some daha is two or three line. (more than one)
![enter image description here][1]
[1]: http://i.stack.imgur.com/AW4Y1.jpg
How can i show all daha is one line? | asp.net | design | gridview | line | row | null | open | Gridview All Data is one line
===
I have `Gridview` but some daha is two or three line. (more than one)
![enter image description here][1]
[1]: http://i.stack.imgur.com/AW4Y1.jpg
How can i show all daha is one line? | 0 |
7,123,830 | 08/19/2011 15:23:53 | 899,271 | 07/14/2011 12:20:28 | 34 | 0 | Error: An object with a null EntityKey value cannot be attached to an object context | I am trying to delete the record from entity but i got the error like this ....
ERROR : invalidoperationException Was Unhandled....
An object with a null EntityKey value cannot be attached to an object context at this line tsgentity.Attach(pd);
and the code is like this.....
priva... | c# | .net | linq | entity-framework | linq-to-entities | 08/22/2011 19:32:12 | too localized | Error: An object with a null EntityKey value cannot be attached to an object context
===
I am trying to delete the record from entity but i got the error like this ....
ERROR : invalidoperationException Was Unhandled....
An object with a null EntityKey value cannot be attached to an object context a... | 3 |
11,736,847 | 07/31/2012 09:18:32 | 1,105,882 | 12/19/2011 12:27:37 | 16 | 0 | Javascript random in order | I hace this :
$(document).ready(function(){
var refreshId = setInterval(function(){
var r=Math.floor(Math.random()*5)
acordeon(+r)
}, 2000);
});
I want show using setInterval show the numbers from 1 to 5 but no random i want show in ord... | javascript | arrays | random | numbers | null | 08/01/2012 13:58:33 | not a real question | Javascript random in order
===
I hace this :
$(document).ready(function(){
var refreshId = setInterval(function(){
var r=Math.floor(Math.random()*5)
acordeon(+r)
}, 2000);
});
I want show using setInterval show the numbers from 1 to 5 ... | 1 |
831,860 | 05/06/2009 21:28:45 | 52,653 | 01/07/2009 22:37:09 | 31 | 3 | Generate BitmapSource from UIElement | I am attempting to generate a BitmapFrame that is based on a UIElement. Here is my function:
private BitmapFrame RenderToBitmap2()
{
RenderTargetBitmap renderBitmap = new RenderTargetBitmap(200, 200, 96, 96, PixelFormats.Pbgra32);
DrawingVisual drawingVisual = new DrawingVisual();
... | wpf | c# | drawing | null | null | null | open | Generate BitmapSource from UIElement
===
I am attempting to generate a BitmapFrame that is based on a UIElement. Here is my function:
private BitmapFrame RenderToBitmap2()
{
RenderTargetBitmap renderBitmap = new RenderTargetBitmap(200, 200, 96, 96, PixelFormats.Pbgra32);
DrawingVisual d... | 0 |
1,430,986 | 09/16/2009 04:45:24 | 166,372 | 09/01/2009 04:28:24 | 67 | 3 | How Microsoft certification 70432 helps in career building in MS SQL Server and who should go for it? | How Microsoft certification 70432 helps in career building in MS SQL Server and who should go for it? | sql | sql-server | null | null | null | 01/27/2012 18:47:44 | not constructive | How Microsoft certification 70432 helps in career building in MS SQL Server and who should go for it?
===
How Microsoft certification 70432 helps in career building in MS SQL Server and who should go for it? | 4 |
10,289,970 | 04/23/2012 23:59:01 | 318,752 | 04/16/2010 17:42:06 | 833 | 14 | Add 10 minute cron job to Ubuntu package | I need to install some cron jobs with my Ubuntu installation package. The ones that run every day or hour are easy: I can just create a symlink from `/etc/cron.daily` to my script.
However, I also have a script that I would like to run every 10 minutes. There is no such thing as `/etc/cron.minutely`. Also I am not s... | linux | ubuntu | cron | debian | crontab | 04/25/2012 11:50:35 | off topic | Add 10 minute cron job to Ubuntu package
===
I need to install some cron jobs with my Ubuntu installation package. The ones that run every day or hour are easy: I can just create a symlink from `/etc/cron.daily` to my script.
However, I also have a script that I would like to run every 10 minutes. There is no such ... | 2 |
8,242,546 | 11/23/2011 12:56:21 | 1,061,893 | 11/23/2011 12:27:49 | 1 | 0 | Advanced search engine or server for relational database | In my current project we are storing big volume of data in relational database. One of the recent key requirements is to enrich application by adding some advanced search capabilities.
In the Project performance is one of important factors due to very large tables (10+ milions of records) with parent-children relat... | .net | sql | search | engine | relational | 11/29/2011 02:31:37 | off topic | Advanced search engine or server for relational database
===
In my current project we are storing big volume of data in relational database. One of the recent key requirements is to enrich application by adding some advanced search capabilities.
In the Project performance is one of important factors due to very la... | 2 |
4,193,104 | 11/16/2010 10:22:34 | 174,614 | 09/16/2009 21:07:49 | 4,345 | 263 | XML replacement | I have a server application that I am rewriting in C++ and this used to use XML to send data to a client/from a client. I have found it to be a real pain to implement XML, even using existing libraries. It seems that it is just counter intuitive at times and the C++ library I've used seems so overly complicated.
... | c++ | xml | data-structures | null | null | null | open | XML replacement
===
I have a server application that I am rewriting in C++ and this used to use XML to send data to a client/from a client. I have found it to be a real pain to implement XML, even using existing libraries. It seems that it is just counter intuitive at times and the C++ library I've used seems so ov... | 0 |
9,296,569 | 02/15/2012 15:51:06 | 1,119,936 | 12/28/2011 20:15:24 | 23 | 0 | Installing Linux on a Secondary USB Hard Drive | I want to install Linux on a secondary USB Hard drive on my laptop which runs Windows 7 to have dual boot possibility. Now, my questions are the following:
1. Do I have anything to worry about when I install Linux on a USB hard drive. Do I need to take any precaution other than backing up my files before installi... | linux | ubuntu | installation | null | null | 03/02/2012 03:35:16 | off topic | Installing Linux on a Secondary USB Hard Drive
===
I want to install Linux on a secondary USB Hard drive on my laptop which runs Windows 7 to have dual boot possibility. Now, my questions are the following:
1. Do I have anything to worry about when I install Linux on a USB hard drive. Do I need to take any preca... | 2 |
5,398,050 | 03/22/2011 21:27:44 | 553,402 | 12/24/2010 15:30:59 | 1 | 0 | C++ Wavelet Transform of analog Signal | after reading pages after pages about FFT, STFT and Wavelet Transform I would like to try out some signal conversions in C++.
Libraries I have found so far are:
Blitzwave, FFTW or FFTW-w32 (windows), Wave++, GSL (C, rather than C++), KissFFT and some further self implemented codes..
Most libraries only show s... | c++ | fft | wavelet | null | null | 03/22/2011 22:40:44 | not a real question | C++ Wavelet Transform of analog Signal
===
after reading pages after pages about FFT, STFT and Wavelet Transform I would like to try out some signal conversions in C++.
Libraries I have found so far are:
Blitzwave, FFTW or FFTW-w32 (windows), Wave++, GSL (C, rather than C++), KissFFT and some further self imple... | 1 |
7,215,667 | 08/27/2011 16:05:36 | 911,930 | 08/25/2011 11:20:53 | 3 | 0 | Element Align Problem - Negative margins, images etc | I'm trying to make a header that goes outside the borders of my sidebar and has a shadow image that makes it look like it is a book-mark.
Something similar to this: http://inelmo.com/images/img2.png
Right now I tried my best, but it is not looking correct. here is my code for sidebar and header That I think shoul... | html | css | margin | alignment | null | null | open | Element Align Problem - Negative margins, images etc
===
I'm trying to make a header that goes outside the borders of my sidebar and has a shadow image that makes it look like it is a book-mark.
Something similar to this: http://inelmo.com/images/img2.png
Right now I tried my best, but it is not looking correct.... | 0 |
6,813,125 | 07/25/2011 07:53:04 | 824,230 | 07/01/2011 04:57:22 | 12 | 0 | Update using $_SESSION['member_id'] | $first_name = $_POST['first_name']; (retrieve data from previous page where user input)
$query = "UPDATE member SET first_name ='$first_name' WHERE member_id='".$_SESSION['member_id']."'";
This set of codes doesn't update the data for me, is there anything I've done wrong. | php | mysql | null | null | null | 07/25/2011 15:52:52 | not a real question | Update using $_SESSION['member_id']
===
$first_name = $_POST['first_name']; (retrieve data from previous page where user input)
$query = "UPDATE member SET first_name ='$first_name' WHERE member_id='".$_SESSION['member_id']."'";
This set of codes doesn't update the data for me, is there anything I've done wrong. | 1 |
3,341,396 | 07/27/2010 07:10:04 | 289,639 | 03/09/2010 12:30:58 | 25 | 0 | Crystal reports | i have small problem. I set generic path in crystal reports after that i deploy the application. deploy application runs corretly but crystal reports not loaded and an exception was occured.
please give me issue
| c# | .net | windows | null | null | 02/10/2011 13:21:49 | not a real question | Crystal reports
===
i have small problem. I set generic path in crystal reports after that i deploy the application. deploy application runs corretly but crystal reports not loaded and an exception was occured.
please give me issue
| 1 |
11,206,923 | 06/26/2012 12:03:43 | 1,480,659 | 06/25/2012 17:30:12 | 1 | 0 | Spotify API - get update on releases released ON Spotify? | Is it possible to get a list with relaeses filtered on genre from the Spotify database, to be used in an external app?
cheers | api | spotify | null | null | null | 06/27/2012 11:45:08 | not a real question | Spotify API - get update on releases released ON Spotify?
===
Is it possible to get a list with relaeses filtered on genre from the Spotify database, to be used in an external app?
cheers | 1 |
11,482,248 | 07/14/2012 08:32:23 | 1,393,837 | 05/14/2012 13:26:52 | 6 | 2 | Most efficient/secure way to get user information - PHP | I'm making a profile system for users on a website. I'm trying to figure out the most efficient and secure way to get and display their info on the profile page. The profiles will be rather large, containing potentially dozens of text fields plus images.
I don't really want to query the database every time the page ... | php | data | get | user | store | null | open | Most efficient/secure way to get user information - PHP
===
I'm making a profile system for users on a website. I'm trying to figure out the most efficient and secure way to get and display their info on the profile page. The profiles will be rather large, containing potentially dozens of text fields plus images.
I... | 0 |
9,567,581 | 03/05/2012 13:37:46 | 982,165 | 10/06/2011 12:35:59 | 60 | 1 | Check to see if cronjobs are executing | I am running a cronjob every 15 minutes, and I want to be notified (preferably by email) whenever the job is NOT executing. I have a working email server, so I send emails using mutt.
I am aware that I can check log files manually, but I want this to be an automated check every time cron is supposed to execute a com... | linux | email | cron | null | null | 03/05/2012 17:16:16 | off topic | Check to see if cronjobs are executing
===
I am running a cronjob every 15 minutes, and I want to be notified (preferably by email) whenever the job is NOT executing. I have a working email server, so I send emails using mutt.
I am aware that I can check log files manually, but I want this to be an automated check ... | 2 |
2,783,534 | 05/06/2010 18:39:30 | 224,922 | 12/04/2009 16:51:10 | 1,220 | 2 | component based vs full stack framework? | i dont understand what these 2 words mean.
i think symfony is a full-stack framework while yii is a component-based framework.
is this correct?
if so, what are the main differences?
thanks | frameworks | php | null | null | null | null | open | component based vs full stack framework?
===
i dont understand what these 2 words mean.
i think symfony is a full-stack framework while yii is a component-based framework.
is this correct?
if so, what are the main differences?
thanks | 0 |
8,324,840 | 11/30/2011 11:00:55 | 667,206 | 03/19/2011 10:31:42 | 141 | 9 | More functional os.walk | Since I need to do many traversals of directories, which some complex filtering, I thought to create a wrapper around os.walk.
Which is something like this:
def fwalk(root, pred_dir, pred_files, walk_function=walk):
"""Wrapper function around the standard os.walk, that filter out
the directo... | python | null | null | null | null | 12/14/2011 06:46:22 | off topic | More functional os.walk
===
Since I need to do many traversals of directories, which some complex filtering, I thought to create a wrapper around os.walk.
Which is something like this:
def fwalk(root, pred_dir, pred_files, walk_function=walk):
"""Wrapper function around the standard os.walk, that fi... | 2 |
7,415,938 | 09/14/2011 11:58:02 | 849,448 | 07/18/2011 06:00:23 | 67 | 12 | How to write fql querry for images of specific album | I need to retrieve src_small images.
NSString *query=[NSString stringWithFormat:@"SELECT pid,src_small,src_big FROM photo WHERE aid IN ( SELECT aid FROM album WHERE owner=%@)",ownerId];
I wrote this querry, and this works fine. But it gives me data of all the albums.
What i want is to retrieve images for s... | iphone | facebook | facebook-fql | null | null | null | open | How to write fql querry for images of specific album
===
I need to retrieve src_small images.
NSString *query=[NSString stringWithFormat:@"SELECT pid,src_small,src_big FROM photo WHERE aid IN ( SELECT aid FROM album WHERE owner=%@)",ownerId];
I wrote this querry, and this works fine. But it gives me data of ... | 0 |
10,103,982 | 04/11/2012 10:15:42 | 1,297,401 | 03/28/2012 07:03:16 | 9 | 0 | My C# app always queried data from a SQL database on a server, now suddenly it doesnt return data anymore, and everything goes through with no errors? | I have a C# app that queries a SQL database on a server, I have tested it loads of times, but today the query didnt return any data, the app and the database is still the same. No changes. DO you have any idea why this could be? | c# | sql | null | null | null | 04/11/2012 13:21:44 | too localized | My C# app always queried data from a SQL database on a server, now suddenly it doesnt return data anymore, and everything goes through with no errors?
===
I have a C# app that queries a SQL database on a server, I have tested it loads of times, but today the query didnt return any data, the app and the database is sti... | 3 |
10,414,558 | 05/02/2012 13:18:00 | 1,370,076 | 05/02/2012 13:06:00 | 1 | 0 | Scrolltop() has max value | I'm working with asp.net & javascript
i want to keep the value of the scroll of a div after post back
It works but stopped at certain positopn and doesn't take it
this is my code:
<div id="Countrydiv" class="cheeckcontainerNtegas" onscroll="javascript:GetCountryScroll();return true;" runat="server">
//... | javascript | jquery | c#-4.0 | null | null | null | open | Scrolltop() has max value
===
I'm working with asp.net & javascript
i want to keep the value of the scroll of a div after post back
It works but stopped at certain positopn and doesn't take it
this is my code:
<div id="Countrydiv" class="cheeckcontainerNtegas" onscroll="javascript:GetCountryScroll();re... | 0 |
9,925,087 | 03/29/2012 12:15:04 | 1,081,019 | 12/05/2011 06:28:45 | 8 | 2 | Which Serialization format supported by JSON? |
Which of the following Serialization format is/are supported by JSON ?
1. Recurring Structure
2. Invisible Structure
3. Function
4. None of the above | javascript | json | null | null | null | 03/30/2012 01:41:38 | not a real question | Which Serialization format supported by JSON?
===
Which of the following Serialization format is/are supported by JSON ?
1. Recurring Structure
2. Invisible Structure
3. Function
4. None of the above | 1 |
4,407,531 | 12/10/2010 09:50:37 | 20,446 | 09/22/2008 13:42:55 | 877 | 16 | Twitter-Node Failing to Build Node.js (npm install twitter-node) | I am trying to install "Twitter-Node" (npm install twitter-node). Version .3.2-pre of Node JS.
When I try and install I receive the follow error. Any thoughts on what I may be doing wrong? Seems like a pretty straight forward install to me. I was able successfully install socket-io too...
m ERR! Error: tw... | twitter | node.js | null | null | null | null | open | Twitter-Node Failing to Build Node.js (npm install twitter-node)
===
I am trying to install "Twitter-Node" (npm install twitter-node). Version .3.2-pre of Node JS.
When I try and install I receive the follow error. Any thoughts on what I may be doing wrong? Seems like a pretty straight forward install to me. I ... | 0 |
3,573,336 | 08/26/2010 08:27:44 | 158,455 | 08/18/2009 13:24:13 | 395 | 8 | HTML - Recomnended href link sytanx | we can give the href like the following
<a href="images\image.png">
<a href="images/image.png">
<a href=".\images\image.png">
<a href="./images/image.png">
which is the recommended method... which doesnot have problem on any browser and on any web server....
leave the image type... con... | html | hyperlink | href | location-href | recomendations | 07/31/2012 04:01:27 | not a real question | HTML - Recomnended href link sytanx
===
we can give the href like the following
<a href="images\image.png">
<a href="images/image.png">
<a href=".\images\image.png">
<a href="./images/image.png">
which is the recommended method... which doesnot have problem on any browser and on any web ... | 1 |
7,391,510 | 09/12/2011 17:19:16 | 935,975 | 09/09/2011 01:20:53 | 1 | 1 | Report user's comments and log-in times in Confluence | I search around on google and I couldn't figure out how to do these following things.
Make a report page of:
- Number of times a a logs into the site
- Number of comments a user posts in a space/subspace/blog section
I'm novice to Confluence. Please help me some points! Very thank! | confluence | atlassian | null | null | null | 09/12/2011 17:48:09 | not a real question | Report user's comments and log-in times in Confluence
===
I search around on google and I couldn't figure out how to do these following things.
Make a report page of:
- Number of times a a logs into the site
- Number of comments a user posts in a space/subspace/blog section
I'm novice to Confluence. Please h... | 1 |
33,744 | 08/29/2008 01:15:03 | 2,948 | 08/26/2008 08:39:22 | 229 | 7 | Is Scala the next big thing? | I've been learning <a href="http://scala-lang.org/">Scala</a> recently, and it seems like a very very promising general purpose programming language. It has all the good functional programming features, terse syntax, it runs on JVM and interoperates with Java.
[Some](http://blog.locut.us/2007/12/18/scala-the-best-of... | scala | programming-languages | functional-programming | web-development | jvm | 10/05/2011 05:50:44 | not constructive | Is Scala the next big thing?
===
I've been learning <a href="http://scala-lang.org/">Scala</a> recently, and it seems like a very very promising general purpose programming language. It has all the good functional programming features, terse syntax, it runs on JVM and interoperates with Java.
[Some](http://blog.loc... | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.