unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
missing segments in d3 when putting sunburst on top of pie
===
(first posted on google group but no response so assuming I should be posting this here).
Am trying to lay a sunburst (coloured arcs) on top of a pie (yellow and white segments).
Here is a js fiddle that shows the problem, the initial green segments ... | 0 | [
2,
2863,
9061,
19,
13,
43,
240,
76,
3873,
939,
4923,
384,
27,
371,
16,
5470,
800,
3726,
3726,
13,
5,
3552,
6054,
27,
8144,
214,
47,
90,
1627,
86,
11704,
31,
378,
44,
15669,
48,
235,
6,
9,
589,
749,
20,
1815,
21,
939,
4923,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I make the deprecated functions to work in PHP's latest version?
===
How can I make the deprecated functions to work in PHP's latest version?
I don't want to change the alternate function of it in each and every page, it's highly impossible in the maintenance project which I have. So please let me know if th... | 0 | [
2,
184,
92,
31,
233,
14,
121,
3515,
150,
1669,
3719,
20,
170,
19,
13,
26120,
22,
18,
5736,
615,
60,
800,
3726,
3726,
184,
92,
31,
233,
14,
121,
3515,
150,
1669,
3719,
20,
170,
19,
13,
26120,
22,
18,
5736,
615,
60,
31,
221,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ext.define and handler scope
===
I got exactly the same problem as <http://www.sencha.com/forum/showthread.php?140992-Ext.define-and-the-Scope> and unfortunately there's no clear answer on the thread.
I know that `scope:this` won't work since it will only change the scope from the button to the **window**, and base... | 0 | [
2,
1396,
38,
9,
546,
7509,
17,
24641,
9914,
800,
3726,
3726,
31,
330,
1890,
14,
205,
1448,
28,
13,
1,
21127,
6903,
6483,
9,
1264,
1651,
9,
960,
118,
1106,
723,
118,
9303,
96,
10647,
9,
26120,
60,
14331,
3483,
135,
8,
1706,
38,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to convert text file in pdf?
===
i store customer record in text file, I want to convert this text file in pdf | 1 | [
2,
184,
20,
8406,
1854,
3893,
19,
13,
11124,
60,
800,
3726,
3726,
31,
1718,
7705,
571,
19,
1854,
3893,
15,
31,
259,
20,
8406,
48,
1854,
3893,
19,
13,
11124,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How to specify a method argument must be of certain class
===
So I have a class like this:
class Encoder(object):
movie = None
def __init__(self, movie_instance):
self.movie = movie_instance
def encode_profile_hd(self):
print "profi... | 0 | [
2,
184,
20,
19077,
21,
2109,
5476,
491,
44,
16,
1200,
718,
800,
3726,
3726,
86,
31,
57,
21,
718,
101,
48,
45,
718,
20523,
139,
5,
23793,
6,
45,
1308,
800,
2369,
6312,
13,
1,
108,
242,
1,
5,
8411,
15,
1308,
1,
108,
384,
2416,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
draw a rectangle in image in mac osx
===
i have a web project that will use map ( area ), but the number of area is over 1000 and can change in futur, so i make a small mac os app that take the html generated ( with dreamweaver like this ) and export it to json ( so i can use it with javascript to recreate the map ).... | 0 | [
2,
2003,
21,
27181,
19,
1961,
19,
1572,
13,
759,
396,
800,
3726,
3726,
31,
57,
21,
2741,
669,
30,
129,
275,
2942,
13,
5,
217,
13,
6,
15,
47,
14,
234,
16,
217,
25,
84,
6150,
17,
92,
753,
19,
2916,
2517,
15,
86,
31,
233,
21,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Cant get 'shared/error_messages.html.erb' work on user topics: form.for
===
I am working on a project that a user can create a post and others can send posts about that topic.My resources file is :
resources :users
resources :sessions, only: [:new, :create, :destroy]
resources :topics , on... | 0 | [
2,
2973,
164,
13,
22,
16608,
43,
118,
29992,
1,
3845,
18,
14465,
9,
15895,
9,
106,
220,
22,
170,
27,
4155,
7569,
45,
505,
9,
1106,
800,
3726,
3726,
31,
589,
638,
27,
21,
669,
30,
21,
4155,
92,
1600,
21,
678,
17,
654,
92,
266... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jQuery ajax beforeSend progress fails on version 1.7.2
===
I am creating a jQuery preloader, it works great with jQuery version 1.4.2 but when trying to use the latest version 1.7.2 the progress is not shown and no errors are produced
Version 1.4.2: http://www.secretdreamer.co.uk/lab/snippet/jquery_ajax_load.php?ve... | 0 | [
2,
487,
8190,
93,
20624,
115,
18,
2451,
3455,
13614,
27,
615,
137,
9,
465,
9,
135,
800,
3726,
3726,
31,
589,
2936,
21,
487,
8190,
93,
782,
8294,
106,
15,
32,
693,
374,
29,
487,
8190,
93,
615,
137,
9,
300,
9,
135,
47,
76,
749... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JQuery Mobile scrollview fit to screen height
===
I want `scrollview` in `JQuery Mobile` to fit on the screen height.
I want three rows of items, and height of the items should be changed automatically when page resizes.
this is my `scrollview container` css code:
.threeByThree {
border: solid 0px black... | 0 | [
2,
487,
8190,
93,
3241,
12159,
4725,
2742,
20,
2324,
2947,
800,
3726,
3726,
31,
259,
13,
1,
3862,
8694,
4725,
1,
19,
13,
1,
728,
8190,
93,
3241,
1,
20,
2742,
27,
14,
2324,
2947,
9,
31,
259,
132,
11295,
16,
3755,
15,
17,
2947,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C++ preprocessor + detecting object type and new operation
===
I currently have this in my code.
1)template<typename T1> class MONEYTRANSFER {
2) SOURCEACCOUNT<T1, MONEYTRANSFER> *SourceAccount;
3) MONEYTRANSFER(T1 *src) {
4) SourceAccount = new (src) SOURCEACCOUNT<T1, MONEYTRANSFER>;
5... | 0 | [
2,
272,
20512,
782,
16835,
248,
2754,
9092,
68,
3095,
1001,
17,
78,
1453,
800,
3726,
3726,
31,
871,
57,
48,
19,
51,
1797,
9,
137,
6,
9577,
6554,
1,
4474,
7259,
13,
38,
165,
1,
718,
875,
7028,
2407,
13,
1,
172,
6,
1267,
29148,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to handle swipe gestures from the bottom of the screen
===
i have an application with three screens and i want to display and hide a small uiview when the user swipes from the bottom of the ipad screen towards up. I know that this cannot be down with normal swipe gestures. I was wondering if you could tell me how ... | 0 | [
2,
184,
20,
3053,
27246,
7222,
18,
37,
14,
2129,
16,
14,
2324,
800,
3726,
3726,
31,
57,
40,
3010,
29,
132,
14236,
17,
31,
259,
20,
3042,
17,
3077,
21,
284,
13,
5661,
4725,
76,
14,
4155,
27246,
18,
37,
14,
2129,
16,
14,
31,
8... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Suggestions on improving this simple object pool class for Java?
===
I am currently writing a game for android where there are enemies that fly across the screen and then disappear, to be replaced by other enemies. Now, this happens very fast, and my code currently performs a lot of memory allocation and deallocation ... | 0 | [
2,
18389,
27,
9273,
48,
1935,
3095,
3067,
718,
26,
8247,
60,
800,
3726,
3726,
31,
589,
871,
1174,
21,
250,
26,
13005,
113,
80,
50,
5743,
30,
2855,
464,
14,
2324,
17,
94,
10866,
15,
20,
44,
1141,
34,
89,
5743,
9,
130,
15,
48,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
FileWriter not writing to file in Android?
===
I am trying to write to a new file named "filename.txt" and write out "hi" when I open an app. How do I go about this? I run this code in Eclipse, press F11, open up the AVD, and click on the app. I get the "Hello World, appname!" message, but no file is created.
pack... | 0 | [
2,
3893,
9657,
52,
1174,
20,
3893,
19,
13005,
60,
800,
3726,
3726,
31,
589,
749,
20,
2757,
20,
21,
78,
3893,
377,
13,
7,
16877,
7259,
9,
38,
396,
38,
7,
17,
2757,
70,
13,
7,
1822,
7,
76,
31,
368,
40,
4865,
9,
184,
107,
31,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to get page-like numbers requested by an app on a page tab?
===
I want to know how many user liked my page due to my app (like-gate) which is on a page tab.
I wrote a PHP method for myself, which can store the like status at first page load (in $_SESSION) and watches if $like_status turns to true while using th... | 0 | [
2,
184,
20,
164,
2478,
8,
1403,
2116,
6602,
34,
40,
4865,
27,
21,
2478,
6523,
60,
800,
3726,
3726,
31,
259,
20,
143,
184,
151,
4155,
3345,
51,
2478,
397,
20,
51,
4865,
13,
5,
1403,
8,
3322,
6,
56,
25,
27,
21,
2478,
6523,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Modular comparison of characters
===
This seems like a very simple question, but there's surprisingly little written about it on the Internet, and I'm having a hard time implementing it correctly on my own. What is the best way to implement a modular *comparison* function on ASCII characters in Java, such that the com... | 0 | [
2,
20802,
6050,
16,
1766,
800,
3726,
3726,
48,
2206,
101,
21,
253,
1935,
1301,
15,
47,
80,
22,
18,
11701,
265,
642,
88,
32,
27,
14,
2620,
15,
17,
31,
22,
79,
452,
21,
552,
85,
17333,
32,
12044,
27,
51,
258,
9,
98,
25,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
im confused in Android project?
===
hi brothers im new in android developing
i have a simple question about new project in android.......in old version of eclipse and android sdk when i wanted develop for android i open new then " android project "
but now in the new version it changed to android application pro... | 0 | [
2,
797,
4230,
19,
13005,
669,
60,
800,
3726,
3726,
4148,
1670,
797,
78,
19,
13005,
3561,
31,
57,
21,
1935,
1301,
88,
78,
669,
19,
13005,
9,
9,
9,
9,
9,
9,
9,
108,
315,
615,
16,
11652,
17,
13005,
13,
18,
43,
197,
76,
31,
41... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL Query JOIN with Table
===
select user_id, prod_and_ts.product_id as product_id, prod_and_ts.timestamps as
timestamps from testingtable2 LATERAL VIEW explode(purchased_item) exploded_table
as prod_and_ts;
By using the above query, I am getting the below output.
USER_ID | PRODUCT_ID ... | 0 | [
2,
4444,
255,
25597,
1865,
29,
859,
800,
3726,
3726,
5407,
4155,
1,
1340,
15,
895,
43,
1,
290,
1,
38,
18,
9,
14086,
1,
1340,
28,
2374,
1,
1340,
15,
895,
43,
1,
290,
1,
38,
18,
9,
891,
384,
10158,
18,
28,
436,
4919,
1919,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Integration testing EF5 (or EF4x)
===
After reading several questions/answers about unit testing Entity Framework, I have decided to forgo unit testing for integration testing. I am going in with the philosophy that interacting with the EF context is a "private" action, because it does not need to be unit tested inde... | 0 | [
2,
8078,
4431,
11599,
264,
13,
5,
248,
11599,
300,
396,
6,
800,
3726,
3726,
75,
1876,
238,
2346,
118,
5950,
4662,
18,
88,
1237,
4431,
9252,
6596,
15,
31,
57,
868,
20,
26,
839,
1237,
4431,
26,
8078,
4431,
9,
31,
589,
228,
19,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
asm push function parameters
===
I'm heaving problems calling c++ functions in asm. I need to push the required parameter but something goes wrong. If I push 3 for example, then everything works fine but if I push a variable (from function) or [esb+8] (same thing) it is always 1 no matter what the real value is.
... | 0 | [
2,
28,
79,
3250,
1990,
12905,
800,
3726,
3726,
31,
22,
79,
26229,
1716,
2555,
272,
20512,
3719,
19,
28,
79,
9,
31,
376,
20,
3250,
14,
1390,
18906,
47,
301,
1852,
1389,
9,
100,
31,
3250,
203,
26,
823,
15,
94,
796,
693,
1123,
47... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
python 2.7 grap ip's from Source code
===
ive already googled my question but i havent any solution at the moment.
I want to grab the Ip's and ports from this html content:
(ive got this content as a String)
http://pastebin.com/rZmC0dF3
Ive read about beautiful soup and regexp - ive tried both but i cant get ... | 0 | [
2,
20059,
172,
9,
465,
5120,
306,
15735,
22,
18,
37,
1267,
1797,
800,
3726,
3726,
5568,
614,
8144,
43,
51,
1301,
47,
31,
12460,
186,
4295,
35,
14,
688,
9,
31,
259,
20,
4931,
14,
15735,
22,
18,
17,
9551,
37,
48,
13,
15895,
2331... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
UILineBreakModeWordWrap does not wrap
===
I have tried searching the web but still the problem is not solved.
I am showing a table inside an alerview and texts(for the field description) are not wrapped inside one cell.
here is the code:
static NSString *CellIdentifier = @"Cell1";
UITableViewCell *cell... | 0 | [
2,
13,
5661,
1143,
12008,
15570,
9587,
499,
10817,
630,
52,
8118,
800,
3726,
3726,
31,
57,
794,
5792,
14,
2741,
47,
174,
14,
1448,
25,
52,
15091,
9,
31,
589,
3187,
21,
859,
572,
40,
21,
1252,
4725,
17,
6381,
5,
1106,
14,
575,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Seperate the response of a Jquery Post
===
I am trying to send a post-request and differ within the response of the callback.
function get_response()
{
var data =
{
value1: "value1",
value2: "value2"
};
$.post("/index.php?id=1",data,function(text)
{
$("#container1").empty();... | 0 | [
2,
10332,
106,
1373,
14,
1627,
16,
21,
487,
8190,
93,
678,
800,
3726,
3726,
31,
589,
749,
20,
2660,
21,
678,
8,
99,
10351,
17,
11394,
363,
14,
1627,
16,
14,
645,
1958,
9,
1990,
164,
1,
99,
18,
8782,
870,
5,
6,
13,
1,
4033,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to reset PeriodicSync
===
is there any way to reset the period of a PeriodicSync??
I mean, if the period is 10 mins, 7 mins have passed since the last sync, reset the period so next sync would by within 10 mins again, not 3.
ContentResolver has no methods for this. I've tried to:
- Invoke ContentResolver.... | 0 | [
2,
184,
20,
23422,
18350,
9507,
150,
800,
3726,
3726,
25,
80,
186,
161,
20,
23422,
14,
620,
16,
21,
18350,
9507,
150,
60,
60,
31,
884,
15,
100,
14,
620,
25,
332,
4232,
18,
15,
453,
4232,
18,
57,
1100,
179,
14,
236,
6063,
150,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Whats the most elegant way to cap a number to a segment?
===
Let's say `x`, `a` and `b` are numbers. I need to cap `x` to the bounds of the segment `[a, b]`.
I can write `Math.min(a, Math.max(x, b))`, but i don't think it's very easy to read. Does anybody has a clever way to write this in a more readeable way ? | 0 | [
2,
98,
18,
14,
127,
11614,
161,
20,
2605,
21,
234,
20,
21,
5631,
60,
800,
3726,
3726,
408,
22,
18,
395,
13,
1,
396,
1,
15,
13,
1,
58,
1,
17,
13,
1,
220,
1,
50,
2116,
9,
31,
376,
20,
2605,
13,
1,
396,
1,
20,
14,
4138,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jquery validate user has entered text into 1 of 2 textboxes
===
Hi I am struggling to find an answer to this, if it can be done?
I have a login form that contains 3 textboxes: UserID, Post code, Date of Birth
The user id is fine I can add a required attribute to validate, but I was wanting to validate that they ... | 0 | [
2,
487,
8190,
93,
7394,
1373,
4155,
63,
1297,
1854,
77,
137,
16,
172,
1854,
5309,
160,
800,
3726,
3726,
4148,
31,
589,
7587,
20,
477,
40,
1623,
20,
48,
15,
100,
32,
92,
44,
677,
60,
31,
57,
21,
6738,
108,
505,
30,
1588,
203,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
eclips dont find java in win7 on vmware for android programin
===
I install jdk then install skd and its package for android 7 and 10 and i can create a virtual machin for android and see it,but as clik on eclips icon to run ,a massage box open and say cant find javaw.exe in this location(the location taht eclips is t... | 0 | [
2,
6695,
6013,
18,
1049,
477,
8247,
19,
628,
465,
27,
13,
20147,
5011,
26,
13005,
625,
108,
800,
3726,
3726,
31,
16146,
487,
43,
197,
94,
16146,
7935,
43,
17,
82,
6030,
26,
13005,
453,
17,
332,
17,
31,
92,
1600,
21,
6599,
10604,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Android Sqlite database is Not working in every emulator
===
i have copied a sqlite database into an android application. it is running fine. but it is not working on other api level emulator..
please Help.. | 1 | [
2,
13005,
4444,
10601,
6018,
25,
52,
638,
19,
352,
3579,
14868,
800,
3726,
3726,
31,
57,
18225,
21,
4444,
10601,
6018,
77,
40,
13005,
3010,
9,
32,
25,
946,
1123,
9,
47,
32,
25,
52,
638,
27,
89,
21,
2159,
662,
3579,
14868,
9,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How to spread form fields on two column layout in django-crispy-forms?
===
I have received a few recommendation to use django-crispy-forms for creating forms in Django.
I have been looking for a couple of hours into the documentation and can't figure out a way how to spread the form fields over two columns.
Look... | 0 | [
2,
184,
20,
1789,
505,
2861,
27,
81,
4698,
9106,
19,
3857,
14541,
8,
11455,
6448,
8,
4190,
18,
60,
800,
3726,
3726,
31,
57,
420,
21,
310,
14066,
20,
275,
3857,
14541,
8,
11455,
6448,
8,
4190,
18,
26,
2936,
1997,
19,
3857,
14541,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Hibernate: Persist XML values without Java Classes
===
Is there any hibernate utility which allows to persist xml values in database without marshaling it into java classes? | 0 | [
2,
4148,
2102,
8820,
45,
22084,
23504,
4070,
366,
8247,
2684,
800,
3726,
3726,
25,
80,
186,
4148,
2102,
8820,
10082,
56,
2965,
20,
22084,
23504,
4070,
19,
6018,
366,
7583,
68,
32,
77,
8247,
2684,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
jvisualvm 1.3.2 refuses to show CPU for some local apps and not others
===
OSX Lion, Java 1.6.0_33
One program running at the moment, shows CPU in jvisualvm
Overview:
Host: localhost
Main class: org.jetbrains.idea.maven.server.RemoteMavenServer
Arguments: <none>
JVM: Java HotSpot(TM) ... | 0 | [
2,
487,
20893,
20147,
137,
9,
240,
9,
135,
10864,
20,
298,
17578,
26,
109,
375,
4865,
18,
17,
52,
654,
800,
3726,
3726,
13,
759,
396,
6023,
15,
8247,
137,
9,
379,
9,
387,
1,
4048,
53,
625,
946,
35,
14,
688,
15,
1285,
17578,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Android: Single mangedQuery to scan multiple folders for audio files
===
I have an ArrayList containing folder name which contains songs:
private ArrayList<String> searchableDir = new ArrayList<String>();
searchableDir.add("/mnt/sdcard/Tracks/U2/");
searchableDir.add("/mnt/sdcard/Tracks/Coldplay/");
... | 0 | [
2,
13005,
45,
345,
169,
6430,
8190,
93,
20,
8313,
1886,
19294,
18,
26,
4023,
6488,
800,
3726,
3726,
31,
57,
40,
7718,
5739,
3503,
19294,
204,
56,
1588,
916,
45,
932,
7718,
5739,
1,
11130,
1,
2122,
579,
9035,
800,
78,
7718,
5739,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Avoiding `foreach` by using `data.table`: error "Combining := in j with by is not yet implemented"
===
I had created a function a couple of weeks ago using the library `foreach`. This function finds the previous month's market capitalisation the companies in my dataset. Since this dataset is very large, I am trying t... | 0 | [
2,
10298,
13,
1,
1106,
14322,
1,
34,
568,
13,
1,
18768,
9,
5924,
1,
45,
7019,
13,
7,
10204,
108,
68,
13,
45,
3726,
19,
487,
29,
34,
25,
52,
768,
6807,
7,
800,
3726,
3726,
31,
41,
679,
21,
1990,
21,
1335,
16,
1342,
1464,
56... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
preg_match_all() + extract + replace + delete?
===
I'm not very experienced with preg_match_all and similar and am looking for a simple way to do the following:
Consider this text:
$string = 'This text was written on [set_stamp]1341066037[/set_stamp] and this one on [set_stamp]1340903119[/set_stamp].';
Wh... | 0 | [
2,
782,
263,
1,
12280,
1,
1233,
5,
6,
2754,
10962,
2754,
3934,
2754,
27448,
60,
800,
3726,
3726,
31,
22,
79,
52,
253,
3882,
29,
782,
263,
1,
12280,
1,
1233,
17,
835,
17,
589,
699,
26,
21,
1935,
161,
20,
107,
14,
249,
45,
356... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Soundcloud API - Adding/Removing Songs from Groups - 404 Error
===
I have been trying to use the Soundcloud API to add and remove songs from groups. I am using the soundcloud-python wrapper to enable me to do this easily.
I have got both Auth flows working correctly (either using OAuth2 or using user credentials di... | 0 | [
2,
646,
19174,
21,
2159,
13,
8,
4721,
118,
99,
17847,
916,
37,
1170,
13,
8,
13,
23397,
7019,
800,
3726,
3726,
31,
57,
74,
749,
20,
275,
14,
646,
19174,
21,
2159,
20,
3547,
17,
4681,
916,
37,
1170,
9,
31,
589,
568,
14,
646,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Fail to assign value from A to B in Xcode
===
I encounter a strange thing while coding in Xcode 4.3. The nature of problem is described in the title. I mentioned this together with a storyboard connection problem in [another post][1]. The connection problem seems to go away at least for now. But the value assign probl... | 0 | [
2,
7476,
20,
13952,
1923,
37,
21,
20,
334,
19,
993,
9375,
800,
3726,
3726,
31,
7007,
21,
2578,
584,
133,
13,
15458,
19,
993,
9375,
268,
9,
240,
9,
14,
1444,
16,
1448,
25,
745,
19,
14,
581,
9,
31,
2211,
48,
429,
29,
21,
609,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Cast object from listview to another object
===
I have AnimalMotel program i am stuck with.
The program contains an Abstract class Animal with subclasses Mammal, Insect, Bird, Reptile and Marine. In every subclass there also two more sublclasses of animals.
For example Mammal have the classes Wolf and dog.
M... | 0 | [
2,
1325,
3095,
37,
968,
4725,
20,
226,
3095,
800,
3726,
3726,
31,
57,
2383,
1293,
3454,
625,
31,
589,
4549,
29,
9,
14,
625,
1588,
40,
8502,
718,
2383,
29,
972,
1898,
160,
25833,
15,
12510,
15,
2838,
15,
9411,
9802,
17,
2061,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to find which value of the regex pattern the string is matched using C#?
===
Is there a way to find the exact value of the pattern which the string I am testing is matched.If I had this regular expression
^[a-z]((es)|(ing)|(s))$
I like the result to looks like the string ends with es or string ends with ... | 0 | [
2,
184,
20,
477,
56,
1923,
16,
14,
7953,
1706,
3732,
14,
3724,
25,
11265,
568,
272,
5910,
60,
800,
3726,
3726,
25,
80,
21,
161,
20,
477,
14,
5340,
1923,
16,
14,
3732,
56,
14,
3724,
31,
589,
4431,
25,
11265,
9,
821,
31,
41,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PHP sleep versus Cron-job
===
I want a script to run randomly between 30seconds to 1minute during the day between between 8am to 8pm.
Is there anything stopping me from just opening a PHP script one time with a 30-60sec sleep in a loop? And then it checks whether the time is between the 8am and 8pm?
What is the... | 0 | [
2,
13,
26120,
1742,
5706,
13,
19587,
8,
1636,
220,
800,
3726,
3726,
31,
259,
21,
3884,
20,
485,
21324,
128,
712,
5007,
18,
20,
137,
5556,
112,
14,
208,
128,
128,
469,
765,
20,
469,
5576,
9,
25,
80,
602,
7048,
55,
37,
114,
1214... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Elegant command line argument parsing for PyQt
===
I'm writing a new PyQt app. I'm trying to do everything related to the program and ui using as much of the PyQt APIs as possible as a means to improve my knowledge of PyQt and Qt in general.
The question I have is, is there an API within PyQt/Qt to handle command l... | 0 | [
2,
11614,
1202,
293,
5476,
2017,
18,
68,
26,
7103,
1251,
38,
800,
3726,
3726,
31,
22,
79,
1174,
21,
78,
7103,
1251,
38,
4865,
9,
31,
22,
79,
749,
20,
107,
796,
1597,
20,
14,
625,
17,
13,
5661,
568,
28,
212,
16,
14,
7103,
125... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Boost Program Options optional argument precedence
===
The application has two options: `a` and `file`. `file` is a positional option. Both `a` and `file` have an argument of type string, which can be omitted. (I have set an implicit empty string for both).
The desired behaviour is as follows:
1. `$ program` -> ... | 0 | [
2,
10419,
625,
6368,
12832,
5476,
24720,
800,
3726,
3726,
14,
3010,
63,
81,
6368,
45,
13,
1,
58,
1,
17,
13,
1,
16877,
1,
9,
13,
1,
16877,
1,
25,
21,
649,
192,
4255,
9,
156,
13,
1,
58,
1,
17,
13,
1,
16877,
1,
57,
40,
5476... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Loading custom fonts failure
===
So I was trying to load a new font with css3's @font-face, but it wasn't working.
Here is my code:
@font-face{
font-family: myFirstFont;
src: url('styles/LucidaGrande.ttf');
}
....
....
@media screen and (max-width: 5500px) {
#titl... | 0 | [
2,
12797,
5816,
9978,
18,
2990,
800,
3726,
3726,
86,
31,
23,
749,
20,
6305,
21,
78,
9978,
29,
272,
18,
18,
240,
22,
18,
13,
1,
21931,
8,
6413,
15,
47,
32,
526,
22,
38,
638,
9,
235,
25,
51,
1797,
45,
13,
1,
21931,
8,
6413,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Adding an app to Django
===
I tried adding an app to Django and named the app main. I typed django-admin.py startapp main.
When i run python manage.py runserver, i face this error:
Traceback (most recent call last):
File "manage.py", line 14, in <module>
execute_manager(settings)
File ... | 0 | [
2,
4721,
40,
4865,
20,
3857,
14541,
800,
3726,
3726,
31,
794,
4721,
40,
4865,
20,
3857,
14541,
17,
377,
14,
4865,
407,
9,
31,
1001,
43,
3857,
14541,
8,
1283,
2160,
9,
6448,
799,
7753,
407,
9,
76,
31,
485,
20059,
4705,
9,
6448,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to stop tableview deformation after scrolling on device?
===
I create a tableView inside UIViewController. In simulator everything works good. But when I launch my app on iPhone i face 2 problems:
1) After scrolling up and down my cells are getting deformed - the become small and strange... But if i go to anoth... | 0 | [
2,
184,
20,
747,
859,
4725,
27573,
75,
13,
28166,
27,
3646,
60,
800,
3726,
3726,
31,
1600,
21,
859,
4725,
572,
13,
5661,
4725,
12898,
1252,
9,
19,
24565,
796,
693,
254,
9,
47,
76,
31,
3394,
51,
4865,
27,
21024,
31,
276,
172,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Javascript GIS - looping through feature.attributes
===
I am trying to return all attribute names and values from this object
-This function is called after a query is executed, and feature contains the results.
-feature.attributes returns an 'Object' with all of the attribute names.
-featureLayer[count... | 0 | [
2,
8247,
8741,
16004,
13,
8,
5293,
68,
120,
1580,
9,
721,
14755,
18,
800,
3726,
3726,
31,
589,
749,
20,
788,
65,
35,
14755,
1817,
17,
4070,
37,
48,
3095,
13,
8,
1565,
1990,
25,
227,
75,
21,
25597,
25,
5557,
15,
17,
1580,
1588,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Python setuptools unable to find sub module of library
===
My first attempt at using python setuptools. I am using wxPython in the project. I am using the following import lines
import wx, random
from wx.lib import buttons
And in my `setup.py` I have
setup(
name='name',
ver... | 0 | [
2,
20059,
18161,
20799,
18,
2343,
20,
477,
972,
12613,
16,
1248,
800,
3726,
3726,
51,
64,
1735,
35,
568,
20059,
18161,
20799,
18,
9,
31,
589,
568,
619,
396,
6448,
11570,
19,
14,
669,
9,
31,
589,
568,
14,
249,
9010,
1560,
9010,
6... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Django text search with partial sentence match
===
I am building a site in which I want to implement text search for the title and description of some objects. Since I will have little amount of objects (~500 documents) I am not considering Haystack and the such.
I only need 2 features:
- Be able to prioritize ... | 0 | [
2,
3857,
14541,
1854,
2122,
29,
7284,
5123,
730,
800,
3726,
3726,
31,
589,
353,
21,
689,
19,
56,
31,
259,
20,
8713,
1854,
2122,
26,
14,
581,
17,
5318,
16,
109,
3916,
9,
179,
31,
129,
57,
265,
2006,
16,
3916,
13,
5,
1,
6000,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Installing dev tools in production
===
What are the reasons for not installing VS 2008 on a live production web server? | 0 | [
2,
25429,
9664,
4672,
19,
637,
800,
3726,
3726,
98,
50,
14,
2932,
26,
52,
25429,
4611,
570,
27,
21,
515,
637,
2741,
8128,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Auto-scrolling doesn't work when serving static HTML content on a Nodejs Server
===
I have started experimenting with nodejs recently and i have implemented a small chat server using websockets with the help of an online tutorial. Here i am serving the static HTML and JS content over the Http server using 'node-static... | 0 | [
2,
3108,
8,
28166,
1437,
22,
38,
170,
76,
1799,
12038,
13,
15895,
2331,
27,
21,
15421,
728,
18,
8128,
800,
3726,
3726,
31,
57,
373,
5737,
68,
29,
15421,
728,
18,
1989,
17,
31,
57,
6807,
21,
284,
6615,
8128,
568,
2741,
18,
5668,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Getting UiImage from CgContextRef and pass it to another ViewController
===
I want to get the UIImage out of CGContextRef, and show it on UIImageView in a different UIViewController
So for this, I have written this code, I m writing this code, when I close my drawingview, because I have made my drawing view as a su... | 0 | [
2,
1017,
13,
5661,
22039,
37,
13,
15123,
1126,
11969,
14057,
17,
1477,
32,
20,
226,
1418,
12898,
1252,
800,
3726,
3726,
31,
259,
20,
164,
14,
13,
5661,
22039,
70,
16,
13,
15123,
1126,
11969,
14057,
15,
17,
298,
32,
27,
13,
5661,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PInvoke works with Windows 7 but fails in Windows XP
===
I have an application that uses a third party native c++ dll. Everything works well on a Windows 7 machine with .Net 4 but fails on Windows XP (SP3) with .Net 4.
I get the following exception on Windows XP machine.
Unhandled Exception: System.AccessViolati... | 0 | [
2,
3459,
2625,
1048,
693,
29,
1936,
453,
47,
13614,
19,
1936,
23045,
800,
3726,
3726,
31,
57,
40,
3010,
30,
2027,
21,
422,
346,
1275,
272,
20512,
13,
43,
211,
9,
796,
693,
134,
27,
21,
1936,
453,
1940,
29,
13,
9,
2328,
268,
47... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Intellisense is telling me that the UpdateMode property of my update panel needs to be set to Conditional, even though it is
===
I have an ASP.Net Update Panel which contains controls that I am trying to update from the code-behind file by setting the value of the controls to whatever I want them to be, and then calli... | 0 | [
2,
14635,
3159,
6498,
25,
2497,
55,
30,
14,
11100,
15570,
1354,
16,
51,
11100,
4113,
2274,
20,
44,
309,
20,
21206,
15,
166,
362,
32,
25,
800,
3726,
3726,
31,
57,
40,
28,
306,
9,
2328,
11100,
4113,
56,
1588,
8671,
30,
31,
589,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
-webkit-animation bug
===
I have been designing a webpage which has a container with a specific width and this contains floated divs inside. I have a webkit animation on these, which is tied with a hover, however when you float over the last div of a line, it seems to add spaces on the next for no reason. I tried this... | 0 | [
2,
13,
8,
14113,
13703,
8,
3443,
79,
857,
6256,
800,
3726,
3726,
31,
57,
74,
15026,
21,
2741,
6486,
56,
63,
21,
12147,
29,
21,
1903,
9456,
17,
48,
1588,
15400,
13,
12916,
18,
572,
9,
31,
57,
21,
2741,
13703,
6236,
27,
158,
15,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
awk command to go to a specific line in a file that contains the word
===
I am writing an awk script wherin I want to search for some strings in a file.The problem I am facing is ...
The file is extremely huge, in the sense .. Around 1 million lines .
If I search for a string which is present at the las... | 0 | [
2,
13,
3885,
197,
1202,
20,
162,
20,
21,
1903,
293,
19,
21,
3893,
30,
1588,
14,
833,
800,
3726,
3726,
31,
589,
1174,
40,
13,
3885,
197,
3884,
619,
1694,
108,
31,
259,
20,
2122,
26,
109,
7887,
19,
21,
3893,
9,
124,
1448,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
File as command line argument for argparse - error message if argument is not valid
===
I am currently using argparse like this:
import argparse
from argparse import ArgumentParser
parser = ArgumentParser(description="ikjMatrix multiplication")
parser.add_argument("-i", dest="filename", require... | 0 | [
2,
3893,
28,
1202,
293,
5476,
26,
13,
10663,
3574,
870,
13,
8,
7019,
2802,
100,
5476,
25,
52,
7394,
800,
3726,
3726,
31,
589,
871,
568,
13,
10663,
3574,
870,
101,
48,
45,
9010,
13,
10663,
3574,
870,
37,
13,
10663,
3574,
870,
901... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In Extjs get textfield value which is inside the custom fieldcontainer
===
I am using extjs 4.1 and have created a custom fieldcontainer with xtype:ptextfield, it is created by extending a "FieldContainer" which has items img and textfield and what i want is to access the **textfield value** from **ptextfield** which ... | 0 | [
2,
19,
1396,
38,
728,
18,
164,
1854,
1109,
1923,
56,
25,
572,
14,
5816,
575,
1126,
5851,
106,
800,
3726,
3726,
31,
589,
568,
1396,
38,
728,
18,
268,
9,
165,
17,
57,
679,
21,
5816,
575,
1126,
5851,
106,
29,
993,
4474,
45,
306,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MySQL (innoDB) PHP search multiple words
===
I am running MySQL version 5.1.57
I have a HTML form where a user can insert a search-string. I create a `$_SESSION` on this string, then I run it in a `MySQL`query. Something like this:
<?php
$sql = mysql_query ("SELECT
s.st... | 0 | [
2,
51,
18,
22402,
13,
5,
108,
251,
9007,
6,
13,
26120,
2122,
1886,
715,
800,
3726,
3726,
31,
589,
946,
51,
18,
22402,
615,
331,
9,
165,
9,
4219,
31,
57,
21,
13,
15895,
505,
113,
21,
4155,
92,
14692,
21,
2122,
8,
11130,
9,
31... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Automatically reconnecting to a TCP host
===
TLDR: Does there exist reusable code for automatically reconnecting to a TCP server that sometimes fails?
----
I'm writing a server application -- call it `hal` -- that also opens some TCP connections to other servers -- among them `xbmc`. I had originally written it ... | 0 | [
2,
7499,
29693,
68,
20,
21,
13,
38,
7439,
2015,
800,
3726,
3726,
13,
7786,
3807,
45,
630,
80,
3182,
302,
267,
579,
1797,
26,
7499,
29693,
68,
20,
21,
13,
38,
7439,
8128,
30,
1030,
13614,
60,
13,
8,
8,
8,
8,
31,
22,
79,
1174,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
I need to port simplest web page from .jsp to .asp, but I get http error 500.100
===
I have a jsp page that reads one line from a certain url and sends to the client:
<%@page import="java.util.*" %>
<%@page import="java.net.*" %>
<%@page import="java.io.*" %>
<%
URL myUrl = new URL("http... | 0 | [
2,
31,
376,
20,
1295,
24384,
2741,
2478,
37,
13,
9,
728,
3401,
20,
13,
9,
472,
306,
15,
47,
31,
164,
7775,
7019,
3033,
9,
4031,
800,
3726,
3726,
31,
57,
21,
487,
3401,
2478,
30,
11137,
53,
293,
37,
21,
1200,
287,
6362,
17,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Expand in odata
===
I have two tables:
T1 with attributes commonK, g1, g3,g7,g8
T2 with attributes commonK, g2,g5,g6
so I want to access data using an odataquery to give me
commonK,g1,g2 for some g3.
I am unable to use expand in odata. | 0 | [
2,
6073,
19,
635,
18768,
800,
3726,
3726,
31,
57,
81,
7484,
45,
13,
38,
165,
29,
13422,
757,
197,
15,
489,
165,
15,
489,
240,
15,
263,
465,
15,
263,
457,
13,
38,
135,
29,
13422,
757,
197,
15,
489,
135,
15,
263,
264,
15,
263,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to get the content of an excel file in struts2 after uploading?
===
I'm working on Struts2 framework. I need to upload an excel file to the buffer so that I can extract its informations and print them into a table in a jsp page. I followed this tutorial : http://www.roseindia.net/struts/struts2/struts-2-file-uploa... | 0 | [
2,
184,
20,
164,
14,
2331,
16,
40,
20700,
3893,
19,
18316,
18,
135,
75,
71,
16866,
60,
800,
3726,
3726,
31,
22,
79,
638,
27,
18316,
18,
135,
6596,
9,
31,
376,
20,
71,
8294,
40,
20700,
3893,
20,
14,
17497,
86,
30,
31,
92,
109... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Maze Ball Game Box2d iPhone
===
I m working with Maze Ball Game,
and i am about to complete my game.
I Used accelerometer for move the ball.
when i rotate my iPhone, ball is moved from top to bottom side with accelerometer,
BUT i want to stop my ball after moving with some pendulum shape moves. | 0 | [
2,
14576,
1592,
250,
1649,
135,
43,
21024,
800,
3726,
3726,
31,
307,
638,
29,
14576,
1592,
250,
15,
17,
31,
589,
88,
20,
1279,
51,
250,
9,
31,
147,
7602,
532,
106,
17325,
26,
780,
14,
1592,
9,
76,
31,
21448,
51,
21024,
15,
159... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to display a number that is a char
===
I have a multi-dimensional array of chars that I want to display. one of the dimensions has numbers in it (0,1,2,etc). When I go to display the array, I get the ascii results. I realize the char output works as defined (char + number = ascii) but I was looking to specifica... | 0 | [
2,
184,
20,
3042,
21,
234,
30,
25,
21,
4892,
800,
3726,
3726,
31,
57,
21,
1889,
8,
7865,
7718,
16,
4892,
18,
30,
31,
259,
20,
3042,
9,
53,
16,
14,
9913,
63,
2116,
19,
32,
13,
5,
387,
15,
15793,
15,
1198,
150,
6,
9,
76,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# converting to double returns infinity
===
I have a method:
public void StoreNumberInSmallestType(ValueType number)
{
if (numberTypes == null)
numberTypes = new List<Type>() { typeof(sbyte), typeof(short), typeof(int), typeof(long), typeof(float), typeof(double) };
foreac... | 0 | [
2,
272,
5910,
19583,
20,
1494,
4815,
18425,
800,
3726,
3726,
31,
57,
21,
2109,
45,
317,
11364,
1718,
16299,
108,
15988,
1430,
4474,
5,
15165,
4474,
234,
6,
13,
1,
100,
13,
5,
16299,
4474,
18,
800,
3726,
16203,
6,
234,
4474,
18,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to get an objective function from Neural Network instead of weights and biases?
===
I'm trying to optimize elemental percentage in certain composites using Genetic Algorithm.
To do so, I need to derive an objective function first. Using Bayesian regulation, I have managed to train a neural network so it can foll... | 0 | [
2,
184,
20,
164,
40,
7038,
1990,
37,
17371,
982,
700,
16,
1763,
18,
17,
10782,
160,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
22864,
21019,
5780,
19,
1200,
12639,
18,
568,
6211,
9083,
9,
20,
107,
86,
15,
31,
376,
20,
20576,
40... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there an available solver for this type of linear programming p r o b l e m?
===
I hope here to be correct place for questions about linear programming.
What is best program for solving LP problem like following:
Can Matlab can be used for solving that? How sigma summation can be modeled in it? Is there any ... | 2 | [
2,
25,
80,
40,
904,
8402,
139,
26,
48,
1001,
16,
6745,
3143,
351,
761,
635,
334,
644,
13,
62,
307,
60,
800,
3726,
3726,
31,
1376,
235,
20,
44,
4456,
209,
26,
2346,
88,
6745,
3143,
9,
98,
25,
246,
625,
26,
17533,
6759,
1448,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SlickGrid Unselect Row CheckBox Event
===
I am New to JQuery Developemnt, I need to Use a Grid in my Project . Hencforth I Chose SlickGrid(quite Slick indeed). I Need to Disable certain Buttons on Unselecting all my Rows
I am using the Following Callback:
grid.onSelectedRowsChanged.subscribe(function() {});
The... | 0 | [
2,
12544,
16375,
367,
18,
16964,
3131,
2631,
5309,
807,
800,
3726,
3726,
31,
589,
78,
20,
487,
8190,
93,
2803,
1503,
2877,
15,
31,
376,
20,
275,
21,
7354,
19,
51,
669,
13,
9,
24,
6897,
15964,
31,
3305,
12544,
16375,
5,
19539,
12... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Finding 'input' tags using XPath in Common Lisp
===
I am trying to scrape an HTML page for a particular input field (so that I can extract a token from it for use during login). I'm using SBCL 1.0.54 (because that version works properly with StumpWM), quicklisp, and the following quicklisp packages:
drakma
... | 0 | [
2,
3007,
13,
22,
108,
4881,
22,
3383,
18,
568,
993,
8353,
19,
757,
2093,
3401,
800,
3726,
3726,
31,
589,
749,
20,
23855,
40,
13,
15895,
2478,
26,
21,
1498,
6367,
575,
13,
5,
656,
30,
31,
92,
10962,
21,
20,
2853,
37,
32,
26,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Regarding line of code
===
I have developed an application that read how many files are there in a java package inside the java project and count the line of code in those individual files to for example in a java project if there are 2 packages having 4 individual files then total files read will be 4 and if those 4 ... | 0 | [
2,
3467,
293,
16,
1797,
800,
3726,
3726,
31,
57,
885,
40,
3010,
30,
1302,
184,
151,
6488,
50,
80,
19,
21,
8247,
6030,
572,
14,
8247,
669,
17,
2468,
14,
293,
16,
1797,
19,
273,
1359,
6488,
20,
26,
823,
19,
21,
8247,
669,
100,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Linked text in TextArea in java swing
===
I need user be able to enter text in input form's TextArea and be able to make clickable links in some part of that text (Links are inserted by a button in form and are references to other places in application and are not WWW links).
How can I do this?
Is there any comp... | 0 | [
2,
4727,
1854,
19,
1854,
17760,
19,
8247,
5587,
800,
3726,
3726,
31,
376,
4155,
44,
777,
20,
2830,
1854,
19,
6367,
505,
22,
18,
1854,
17760,
17,
44,
777,
20,
233,
10840,
579,
6271,
19,
109,
141,
16,
30,
1854,
13,
5,
6258,
18,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
can not run servlet in cpanel+ tomcat
===
i use tomcat + cpanel . my jsps and tags correct run but can not run servlet .
my web.xml content is :
<servlet>
<servlet-name>Servlet1</servlet-name>
<servlet-class>pack1.Servlet1</servlet-class>
</servlet>
<servlet... | 0 | [
2,
92,
52,
485,
13,
10321,
1336,
19,
272,
3206,
532,
2430,
2067,
5782,
800,
3726,
3726,
31,
275,
2067,
5782,
2754,
272,
3206,
532,
13,
9,
51,
487,
18,
1919,
17,
3383,
18,
4456,
485,
47,
92,
52,
485,
13,
10321,
1336,
13,
9,
51,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I programmatically make sure a user has selected an option with AlertDialog.Builder?
===
In my android application, I have created a dialog box showing the user multiple options from a list.
I have used this class to do so: http://developer.android.com/reference/android/app/AlertDialog.Builder.html
Mo... | 0 | [
2,
184,
92,
31,
625,
6732,
1326,
233,
562,
21,
4155,
63,
1704,
40,
4255,
29,
7863,
4286,
5567,
9,
20904,
60,
800,
3726,
3726,
19,
51,
13005,
3010,
15,
31,
57,
679,
21,
28223,
1649,
3187,
14,
4155,
1886,
6368,
37,
21,
968,
9,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Compiling lua scripts into a dll?
===
I have heard of using LuaJIT to compile Lua code into bytecode and then into a static library.
Ideally I would want to be able to compile the Lua code into a dynamic library so I don't have to rebuild the main executable.
Can you compile Lua into a dll? If so how do you lin... | 0 | [
2,
24378,
1612,
58,
17505,
77,
21,
13,
43,
211,
60,
800,
3726,
3726,
31,
57,
752,
16,
568,
1612,
17102,
38,
20,
26561,
1612,
58,
1797,
77,
34,
591,
9375,
17,
94,
77,
21,
12038,
1248,
9,
5628,
102,
31,
83,
259,
20,
44,
777,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
polylines not showing up
===
I just cannot figure out why my polylines are not appearing on http://www.sailwithjim.co.uk/index1.php and yet they do appear on http://www.sailwithjim.co.uk/map.php
Any help and I will be very grateful.
Jim | 0 | [
2,
3446,
7939,
52,
3187,
71,
800,
3726,
3726,
31,
114,
1967,
1465,
70,
483,
51,
3446,
7939,
50,
52,
4870,
27,
7775,
6903,
6483,
9,
18921,
1410,
21476,
9,
716,
9,
2185,
118,
25671,
165,
9,
26120,
17,
768,
59,
107,
1893,
27,
7775,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Site Design Suggestions
===
I have a design like this:
Asp.net, c#, WCF
`
//DataLibrary (C# Class Library)
//(I use Microsft's Enterprise library Data access block here)
public static class DataObjects
{ //My data objects }
//BusinessLibrary (c# Class Libarary)
... | 0 | [
2,
689,
704,
18389,
800,
3726,
3726,
31,
57,
21,
704,
101,
48,
45,
28,
306,
9,
2328,
15,
272,
5910,
15,
11801,
410,
13,
1,
12894,
593,
16174,
2559,
622,
13,
5,
150,
5910,
718,
1248,
6,
12894,
5,
49,
275,
2899,
18,
3072,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to use Singleton class for to get connections multiple?
===
I wrote a Singleton class for to get connections. However, I cannot to get connections using Singleton.
I want to use my Singleton for to get several connections and to make query to database, using the connection Singleton. I always trying several way... | 0 | [
2,
184,
20,
275,
345,
444,
718,
26,
20,
164,
6760,
1886,
60,
800,
3726,
3726,
31,
738,
21,
345,
444,
718,
26,
20,
164,
6760,
9,
207,
15,
31,
1967,
20,
164,
6760,
568,
345,
444,
9,
31,
259,
20,
275,
51,
345,
444,
26,
20,
16... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
perl hash and array + sort
===
The code speaks for itself, didn't use sort in code because I unknown your use this is content code in perl.
/bash/perl
%ttys = ();
my @lsarray = `cat /home/delkav/labs-scripts/grep`;
my @array;
$array[0] = <STDIN>; < ONE
$array[1] = <STDIN>; < TWO
... | 0 | [
2,
416,
255,
19170,
17,
7718,
2754,
2058,
800,
3726,
3726,
14,
1797,
9381,
26,
1145,
15,
223,
22,
38,
275,
2058,
19,
1797,
185,
31,
2562,
154,
275,
48,
25,
2331,
1797,
19,
416,
255,
9,
13,
118,
969,
1635,
118,
1432,
255,
13,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jquery drag and drop contacts into a form field
===
I have been trying to work out how is it possible to use jquery to drag a item from a block of contacts (as an example mobile numbers) and drop them into a form field or a text area, then removing them by having a close button (some thing like the iphone messaging wh... | 0 | [
2,
487,
8190,
93,
5501,
17,
2804,
11894,
77,
21,
505,
575,
800,
3726,
3726,
31,
57,
74,
749,
20,
170,
70,
184,
25,
32,
938,
20,
275,
487,
8190,
93,
20,
5501,
21,
9101,
37,
21,
1921,
16,
11894,
13,
5,
472,
40,
823,
3241,
2116... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
search algorithm in SPARQL?
===
I have two questions regarding the SPARQL in fetching data from RDF.
1. What underlying search algorithm does SPARQL uses to fetch the data?
2. How do i use the different search algorithm to fetch data from RDF?
| 0 | [
2,
2122,
9083,
19,
12196,
22402,
60,
800,
3726,
3726,
31,
57,
81,
2346,
3467,
14,
12196,
22402,
19,
18312,
68,
1054,
37,
13,
897,
410,
9,
137,
9,
98,
10974,
2122,
9083,
630,
12196,
22402,
2027,
20,
18312,
14,
1054,
60,
172,
9,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... |
Looping Issue for a Twitter Follow Button Using Jquery / Mysql
===
I'm looking to build a twitter like follow button by pulling usernames from a database and adding a follow button next to their name. I don't know how to assign an id to each button so right now, whenever I click on "follow" it changes the button for e... | 0 | [
2,
5293,
68,
1513,
26,
21,
10623,
1740,
5167,
568,
487,
8190,
93,
13,
118,
51,
18,
22402,
800,
3726,
3726,
31,
22,
79,
699,
20,
1895,
21,
10623,
101,
1740,
5167,
34,
3303,
4155,
7259,
18,
37,
21,
6018,
17,
4721,
21,
1740,
5167,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
issue with sort data
===
i am developing an app in which i get data from server and display in map. but before display it on map's balloon i have just sort data by one field name is "Destination" and there are method made na,e is ..GOTOSORT....
now problem is i got variables `s` with length 1 and there for the for... | 0 | [
2,
1513,
29,
2058,
1054,
800,
3726,
3726,
31,
589,
3561,
40,
4865,
19,
56,
31,
164,
1054,
37,
8128,
17,
3042,
19,
2942,
9,
47,
115,
3042,
32,
27,
2942,
22,
18,
10876,
31,
57,
114,
2058,
1054,
34,
53,
575,
204,
25,
13,
7,
43,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
class crashes on device not in simulator
===
I have a problem with my iPhone app in Xcode 4.2 for iOS 6.
My app is working and i have have a download button in het bottom bar. I you press this in the simulator it works fine and does his job. When i press the same button on the device with the same build of my app it ... | 0 | [
2,
718,
21563,
27,
3646,
52,
19,
24565,
800,
3726,
3726,
31,
57,
21,
1448,
29,
51,
21024,
4865,
19,
993,
9375,
268,
9,
135,
26,
13,
7760,
400,
9,
51,
4865,
25,
638,
17,
31,
57,
57,
21,
7121,
5167,
19,
24,
38,
2129,
748,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
RegEx? or Other Solution? C#
===
I always get a headache when i try to figure out regex.
I have the following string examples:
3;#i_0_.f_membership_john.smith@domain.com_LThumb.jpg
2;#i_0_.f_membership_jane.doe@domain.com_LThumb.jpg
I need to get the "john.smith@domain.com" piece from the string. The en... | 0 | [
2,
7953,
1706,
60,
54,
89,
4295,
60,
272,
5910,
800,
3726,
3726,
31,
550,
164,
21,
14276,
76,
31,
1131,
20,
1465,
70,
7953,
1706,
9,
31,
57,
14,
249,
3724,
3770,
45,
203,
73,
5910,
49,
1,
387,
1,
9,
410,
1,
6990,
2418,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Playing video using NSData
===
I am downloading the resources when user click on download resource button.I am storing that resources on the local disk.When user want that resources i simply get that from the disk otherwise i will download it again it it is not present on disk. While retrieving the data from the disk ... | 0 | [
2,
791,
763,
568,
13,
2172,
18768,
800,
3726,
3726,
31,
589,
7121,
68,
14,
2566,
76,
4155,
10840,
27,
7121,
6577,
5167,
9,
49,
589,
25615,
30,
2566,
27,
14,
375,
8582,
9,
3185,
4155,
259,
30,
2566,
31,
1659,
164,
30,
37,
14,
8... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to get the complete destination IP addres (x.x.x.x/x) netstat command ?
===
Below is the output of the netstat command with -n & -r options in which the destination field shows compacted address (127.1/16). I wanted to know that is there any way or options available to netstat command to display entire Destination... | 0 | [
2,
184,
20,
164,
14,
1279,
6970,
15735,
3547,
99,
18,
13,
5,
396,
9,
396,
9,
396,
9,
396,
118,
396,
6,
4275,
10631,
1202,
13,
60,
800,
3726,
3726,
1021,
25,
14,
5196,
16,
14,
4275,
10631,
1202,
29,
13,
8,
103,
279,
13,
8,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Save record with default form values
===
I have a form with subform control. The fields in the main form have calculated default values ( 1 being =Date(), the other doing a DLast() ). People should be able to alter those fields but in most cases the default values are correct so users can skip right to the subform.
T... | 0 | [
2,
2079,
571,
29,
12838,
505,
4070,
800,
3726,
3726,
31,
57,
21,
505,
29,
972,
4190,
569,
9,
14,
2861,
19,
14,
407,
505,
57,
10785,
12838,
4070,
13,
5,
137,
142,
800,
8209,
5,
6,
15,
14,
89,
845,
21,
13,
43,
8558,
5,
6,
13... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to implement paypal with HTML5 for iphone and android
===
I m new to HTML 5, I want to develop an application for iPhone and android, I want the user to subscribe for it.
If the user is interested then I want user to pay for that. I want him to pay using PayPal.
Can you please suggest me whether it is feasible... | 0 | [
2,
184,
20,
8713,
1372,
6720,
29,
13,
15895,
264,
26,
21024,
17,
13005,
800,
3726,
3726,
31,
307,
78,
20,
13,
15895,
331,
15,
31,
259,
20,
2803,
40,
3010,
26,
21024,
17,
13005,
15,
31,
259,
14,
4155,
20,
13,
20330,
26,
32,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Random compilation errors at Visual Studio 2010
===
I was developing an ASP.NET project and all went OK.
But now I'm getting errors, BUT everything in the code is OK.
I press F6 to compile all the solution, and I got errors everywhere. But the code is all OK (keep reading, you'll understand). Then I try to compi... | 0 | [
2,
5477,
4868,
11908,
35,
3458,
1120,
498,
800,
3726,
3726,
31,
23,
3561,
40,
28,
306,
9,
2328,
669,
17,
65,
296,
5854,
9,
47,
130,
31,
22,
79,
1017,
11908,
15,
47,
796,
19,
14,
1797,
25,
5854,
9,
31,
901,
398,
379,
20,
2656... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Python - add a dynamic debug logger style line number and time function
===
The following function that reports the "current" line-number (and time) which I would like to call from within other functions when a runtime Exception occurs.
Understandably the line number returned always relates to the position of getfr... | 0 | [
2,
20059,
13,
8,
3547,
21,
7782,
121,
16254,
13,
29480,
1034,
293,
234,
17,
85,
1990,
800,
3726,
3726,
14,
249,
1990,
30,
2813,
14,
13,
7,
17657,
7,
293,
8,
16299,
13,
5,
290,
85,
6,
56,
31,
83,
101,
20,
645,
37,
363,
89,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
regional language support in web project
===
I am a newbie to web development.
I am currently working on a web project to which I like to add regional language support.
I would be glad if somebody tells me how multiple languages can be managed within a project.
Thanks. | 0 | [
2,
1254,
816,
555,
19,
2741,
669,
800,
3726,
3726,
31,
589,
21,
78,
5893,
20,
2741,
522,
9,
31,
589,
871,
638,
27,
21,
2741,
669,
20,
56,
31,
101,
20,
3547,
1254,
816,
555,
9,
31,
83,
44,
3539,
100,
8861,
2609,
55,
184,
1886... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... |
How we post image from my UimageView to Facebook Friend's wall iPhone
===
How we post image Present in my imageView.image to Facebook Friends wall. I read the Facebook Developer Documentation, and little bit confused it all about post image from URL. but in my case Image is present in my UIImageView from Camera Roll.
... | 0 | [
2,
184,
95,
678,
1961,
37,
51,
287,
22039,
4725,
20,
9090,
860,
22,
18,
769,
21024,
800,
3726,
3726,
184,
95,
678,
1961,
734,
19,
51,
1961,
4725,
9,
22039,
20,
9090,
954,
769,
9,
31,
1302,
14,
9090,
10058,
13945,
15,
17,
265,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
TSQL Append rows to a variable
===
I'm declaring a varchar variable in T-SQL
declare @var varchar(max);
I have a select query which returns more than one value. Such as:
`Select name from table where ...`
I want to append each row to this variable. For Example my query returns:
**name**
----------
Joe... | 0 | [
2,
13,
38,
18,
22402,
4865,
2451,
11295,
20,
21,
7612,
800,
3726,
3726,
31,
22,
79,
15594,
21,
4033,
5433,
7612,
19,
13,
38,
8,
18,
22402,
10123,
13,
1,
3311,
4033,
5433,
5,
8304,
6,
73,
31,
57,
21,
5407,
25597,
56,
4815,
91,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Generic class with explicitly typed constructor
===
Is it possible to write generic class with one constructor which explicitly defines type of its class?
Here is my attempt to do that:
import javax.swing.JComponent;
import javax.swing.JLabel;
public class ComponentWrapper<T extends JComponen... | 0 | [
2,
12733,
718,
29,
13108,
1001,
43,
6960,
248,
800,
3726,
3726,
25,
32,
938,
20,
2757,
12733,
718,
29,
53,
6960,
248,
56,
13108,
13110,
1001,
16,
82,
718,
60,
235,
25,
51,
1735,
20,
107,
30,
45,
9010,
8247,
396,
9,
18,
3546,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
QR code security
===
I have been reading a lot about QR codes and how the code itself can lead to serious security risks. But one thing that I did not come across is the following.
In the following scenario:
I have a QR code which displays some of my data lets say:
- Name
- Address
- A list of things I'm all... | 0 | [
2,
2593,
139,
1797,
1221,
800,
3726,
3726,
31,
57,
74,
1876,
21,
865,
88,
2593,
139,
11358,
17,
184,
14,
1797,
1145,
92,
672,
20,
2055,
1221,
12176,
9,
47,
53,
584,
30,
31,
144,
52,
340,
464,
25,
14,
249,
9,
19,
14,
249,
127... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to tell which FloatSpin is firing the EVT_FLOATSPIN event in wxPython?
===
I want to capture the FLOATSPIN events triggered by my floatspinners but I need to know which FloatSpin control has fired this event. This is required so that I can update the values of a dictionary.
The FloatSpin controls have been cre... | 0 | [
2,
184,
20,
494,
56,
11510,
18,
3489,
25,
7139,
14,
13,
2443,
38,
1,
14712,
721,
18,
3489,
807,
19,
619,
396,
6448,
11570,
60,
800,
3726,
3726,
31,
259,
20,
3683,
14,
11510,
18,
3489,
963,
15164,
34,
51,
11510,
3401,
18005,
18,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Trouble with a small php function Http Error 500
===
I'm just learning php, To practice i want to try and make a php function that can generate CSS3 gradients easily in a document.
I am running into HTTP Error 500. here's the code :
<?php
function cgrad($c1,$c2,$applyto)
{
echo
"<style t... | 0 | [
2,
2572,
29,
21,
284,
13,
26120,
1990,
7775,
7019,
3033,
800,
3726,
3726,
31,
22,
79,
114,
2477,
13,
26120,
15,
20,
1345,
31,
259,
20,
1131,
17,
233,
21,
13,
26120,
1990,
30,
92,
7920,
272,
18,
18,
240,
17442,
18,
2351,
19,
21... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
making redactor and zemanta play nice
===
I'm trying to use Zemanta's widgets and the Redactor html editor together.
The problem is getting Zemanta to find Redactor's iframe/content and be able to send updates to it after clicking one of the widgets.
Redactor creates an iframe but keeps the real textarea hidden ... | 0 | [
2,
544,
402,
20908,
17,
22600,
8639,
418,
2210,
800,
3726,
3726,
31,
22,
79,
749,
20,
275,
22600,
8639,
22,
18,
4807,
43,
3060,
18,
17,
14,
402,
20908,
13,
15895,
1835,
429,
9,
14,
1448,
25,
1017,
22600,
8639,
20,
477,
402,
2090... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
struts2 Could not find token name in params
===
this is the configuration of struts:
<interceptors>
<interceptor-stack name="packStack">
<interceptor-ref name="token" />
<interceptor-ref name="defaultStack" />
</interceptor-stack>
</interceptors>
<default-interceptor-ref name="packStac... | 0 | [
2,
18316,
18,
135,
110,
52,
477,
20,
2853,
204,
19,
2258,
79,
18,
800,
3726,
3726,
48,
25,
14,
8091,
16,
18316,
18,
45,
13,
1,
24171,
18,
1,
13,
1,
24171,
8,
25325,
204,
3726,
7,
8573,
25325,
7,
1,
13,
1,
24171,
8,
14057,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Compiler: How to implement Reference Counting (in a simple VM)
===
Ive written a very simple Compiler that translates my source language to bytecode, this code gets processed by the VM (as a simple stack machine, so 3 + 3 will get translated into
push 3
push 3
add
right now I struggle at the garbag... | 0 | [
2,
21486,
45,
184,
20,
8713,
2801,
11195,
13,
5,
108,
21,
1935,
13,
20147,
6,
800,
3726,
3726,
5568,
642,
21,
253,
1935,
21486,
30,
18510,
51,
1267,
816,
20,
34,
591,
9375,
15,
48,
1797,
3049,
16697,
34,
14,
13,
20147,
13,
5,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Mysql Limit Performance
===
I have a large table in mysql, about 1 million records.
I'm using a dynamic query with different parameters in where clause and order, so i cant use some code like `AND id > 34000 LIMIT 10`
I need a better way than `LIMIT 34000, 10`, Is there any way to slove offset delay? | 0 | [
2,
51,
18,
22402,
4496,
956,
800,
3726,
3726,
31,
57,
21,
370,
859,
19,
51,
18,
22402,
15,
88,
137,
507,
742,
9,
31,
22,
79,
568,
21,
7782,
25597,
29,
421,
12905,
19,
113,
9040,
17,
389,
15,
86,
31,
2973,
275,
109,
1797,
101... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Unable to Get Data from Javascript Generated Form
===
I am trying to get the year from a javascript created html select however the javascript function that is supposed to read the data can't find it.
Here is the code I am using to generate the select.
function yearList(){
var x="",i;
x = x... | 0 | [
2,
2343,
20,
164,
1054,
37,
8247,
8741,
6756,
505,
800,
3726,
3726,
31,
589,
749,
20,
164,
14,
159,
37,
21,
8247,
8741,
679,
13,
15895,
5407,
207,
14,
8247,
8741,
1990,
30,
25,
2293,
20,
1302,
14,
1054,
92,
22,
38,
477,
32,
9,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.