unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
Calling C# .dll functions from C++ application and viceversa === i have a C++ application and a C# .dll It has been easy for me call a function written in the C# .dll from C++ code. Basically i've used clrHost->ExecuteInDefaultAppDomain( // .dll, // class // function // input &ret); The problem is that the C# .dll needs to communicate withe the C++ application (it's a plugin). The comunication might happen calling functions from an object received as input. How can i do that? (i'm using .NET 4.0 and Visual Studio 2010).
0
[ 2, 2555, 272, 5910, 13, 9, 43, 211, 3719, 37, 272, 20512, 3010, 17, 1821, 5498, 58, 800, 3726, 3726, 31, 57, 21, 272, 20512, 3010, 17, 21, 272, 5910, 13, 9, 43, 211, 32, 63, 74, 2010, 26, 55, 645, 21, 1990, 642, 19, 14, 272,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
sass not recognised using DOS === I've installed ruby and the sass gem on a Win 7 Enterprise box. I've had issues throughout the process, and had to download the gems and install them from local to avoid other issues. gem install --local sass-3.1.19.gem I'm trying `sass --watch styles.sass:styles.css` but I get the standard sass isn't recognised error from the command line. I'm really new to ruby so I could well have missed a step. Thanks in advance
0
[ 2, 9233, 18, 52, 7163, 568, 107, 18, 800, 3726, 3726, 31, 22, 195, 4066, 10811, 17, 14, 9233, 18, 8551, 27, 21, 628, 453, 6002, 1649, 9, 31, 22, 195, 41, 1549, 892, 14, 953, 15, 17, 41, 20, 7121, 14, 8551, 18, 17, 16146, 105...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 Processing (2d graphics) appropriate for larger projects? === I'm going to be working on a decent-sized game in clojure and for now it will have 2d graphics. Is Processing (or rather, Quil, which is just a clojure wrapper for Processing) an appropriate tool to use for this. Processing presents itself as a way to quickly experiment with different ways of generating and manipulating graphics rather than a scalable 2d graphics library, but I don't see any obvious reasons why it couldn't be used as such, so long as you take care to properly separate logic code from rendering code. If there are better options, let me know.
0
[ 2, 25, 5511, 13, 5, 135, 43, 8351, 6, 4593, 26, 1662, 2314, 60, 800, 3726, 3726, 31, 22, 79, 228, 20, 44, 638, 27, 21, 12238, 8, 6560, 250, 19, 7383, 2142, 99, 17, 26, 130, 32, 129, 57, 172, 43, 8351, 9, 25, 5511, 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...
Does Android support Virtual memory === Does Android support virtual memory concept? I read it does use paging but not swap space. That is, it relies heavily on being able to mmap() files and have the kernel page in data from the file as needed (and drop those pages when not needed). It does not however use swap space for paging out dirty pages. Can some body please elaborate ?
0
[ 2, 630, 13005, 555, 6599, 1912, 800, 3726, 3726, 630, 13005, 555, 6599, 1912, 2420, 60, 31, 1302, 32, 630, 275, 19006, 68, 47, 52, 17150, 726, 9, 30, 25, 15, 32, 19272, 2991, 27, 142, 777, 20, 1620, 2552, 5, 6, 6488, 17, 57, 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...
Chrome IOS - Is it just a UIWebView? === I'm not sure this is a suitable question for here but is the new Chrome app for IOS just a UIWebView? If so then would it be safe to assume that there shouldn't be any rendering differences between it and mobile Safari?
0
[ 2, 13, 12985, 13, 7760, 13, 8, 25, 32, 114, 21, 13, 5661, 14113, 4725, 60, 800, 3726, 3726, 31, 22, 79, 52, 562, 48, 25, 21, 6445, 1301, 26, 235, 47, 25, 14, 78, 13, 12985, 4865, 26, 13, 7760, 114, 21, 13, 5661, 14113, 4725,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
easy calculation of weeks of certain period with java === Is there any easy library or approach to get the week (from which date ~ date) of certain periods? Example: There is `6 weeks(variable)` (start from 1 July, 2012 ~ 11 Aug, 2012). I want to cut off the 6 weeks into `2 portions (variable)`. So the results will be 1) 1 July,2012 ~ 21 July, 2012 2) 22 July,2012 ~ 11 Aug, 2012... etc With jodatime, I can easily get the number of weeks between certain periods though.
0
[ 2, 2010, 19644, 16, 1342, 16, 1200, 620, 29, 8247, 800, 3726, 3726, 25, 80, 186, 2010, 1248, 54, 2141, 20, 164, 14, 877, 13, 5, 2665, 56, 1231, 13, 1, 1231, 6, 16, 1200, 7302, 60, 823, 45, 80, 25, 13, 1, 379, 1342, 5, 8220, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 maketime gives 22.00 the previous day === Ik want to create 2 exact the same timestamps for a given day in PHP and Javascript, but there's a difference.... 1 juli 2012: PHP $test = mktime(0,0,0,7,1,2012); gives 1341093600 Javascript var d = Date.UTC(2012,6,1); var timestamp = d/1000; gives 1341100800 Why 2 hours difference....
0
[ 2, 13, 26120, 233, 891, 2352, 1024, 9, 2032, 14, 1158, 208, 800, 3726, 3726, 13, 2883, 259, 20, 1600, 172, 5340, 14, 205, 436, 4919, 1919, 26, 21, 504, 208, 19, 13, 26120, 17, 8247, 8741, 15, 47, 80, 22, 18, 21, 2841, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Font problems Futura Condensed Medium with ios 4.3 === Problem with ios 4.3 to display font "Futura Condensed Medium" as it works fine with ios 5.0 Any one having idea for this ios 5.0 v/s 4.3 problem?? Thanx in Advance :)
0
[ 2, 9978, 1716, 2916, 18274, 27588, 4152, 29, 13, 7760, 268, 9, 240, 800, 3726, 3726, 1448, 29, 13, 7760, 268, 9, 240, 20, 3042, 9978, 13, 7, 26919, 525, 27588, 4152, 7, 28, 32, 693, 1123, 29, 13, 7760, 331, 9, 387, 186, 53, 45...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
TinyMCE Filemanager and Imagemanager === We have both the Tinymce Filemanager and Imagemanager. I need to intergrate the two of them. On the webpage of the Imagemaneger it says it is compatible with the Filemanager.( http://www.tinymce.com/enterprise/mcimagemanager.php ). However I can not find anywhere how to this works. I don't want the Imagemanager and Filemanager to be seperated. It would be ideal to have both of them seemlesly working together. Does anyone know where to find a demo and how to intergrate this? Thanks in advance, - V
0
[ 2, 3228, 79, 1105, 3893, 22256, 17, 1961, 22256, 800, 3726, 3726, 95, 57, 156, 14, 3228, 79, 1105, 3893, 22256, 17, 1961, 22256, 9, 31, 376, 20, 1480, 15125, 62, 14, 81, 16, 105, 9, 27, 14, 2741, 6486, 16, 14, 1961, 177, 13699, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 create AjaxFromSubmitBehavior === in my form I just have one field without buttons: add(new AutoCompleteTextField<String>("hladaneSlovo", settings) { private static final long serialVersionUID = 1L; @Override protected Iterator<String> getChoices(String input) { return new HladaneSlova().iterator(); } }.add(new AjaxFormSubmitBehavior(this, "onsubmit") { private static final long serialVersionUID = 1L; @Override protected void onSubmit(AjaxRequestTarget target) { setResponsePage(new VyjimkyPage(parametry)); } @Override protected void onError(AjaxRequestTarget target) { } })); problem is when I submit this form (just write word and then push enter) nothing happens. What is wrong ?
0
[ 2, 184, 20, 1600, 20624, 2665, 7563, 5130, 863, 20358, 248, 800, 3726, 3726, 19, 51, 505, 31, 114, 57, 53, 575, 366, 12861, 45, 3547, 5, 2681, 3108, 15990, 11969, 1109, 1, 11130, 1, 5, 7, 19175, 2793, 160, 5942, 111, 7, 15, 1241...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 code using phonegap library to move sqlite file to /data/data/package/database dircetory . (Android) === if we want to use a pre-existing sQLite database file in Android(APK), then we need to move the file from Assets folder to /data/data/PACKAGE/databases folder of android device . The [website](http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/) showed how to copy file using Java code . Here I cant use Java code as I am using build.phonegap.com to generate APK . I just upload html,js,database files . So, i can move database file only using javascript . So, can u tell me how to move that file ? Thanks
0
[ 2, 8247, 8741, 1797, 568, 1132, 1136, 306, 1248, 20, 780, 4444, 10601, 3893, 20, 13, 118, 18768, 118, 18768, 118, 8573, 1303, 118, 18768, 8436, 13, 9035, 1105, 14599, 13, 9, 13, 5, 290, 18524, 6, 800, 3726, 3726, 100, 95, 259, 20,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Windows Service with Visual Studio 2005 solution not opening with Visual Studio 2010 === I am unable to open a solution created using visual studio 2005 version. The solution has two windows services within. I recently upgraded to Visual Studio 2010. Now I am unable to open the solution file. I have tried to open it using Visual Studio 2010 as well as the version selector, and in both cases I dont see the creating/importing solution dialogue. It just shows the hourglass for a split second and then goes away, not sure what's happening in the background, but definitely no crash indicator.
0
[ 2, 1936, 365, 29, 3458, 1120, 812, 4295, 52, 1214, 29, 3458, 1120, 498, 800, 3726, 3726, 31, 589, 2343, 20, 368, 21, 4295, 679, 568, 3458, 1120, 812, 615, 9, 14, 4295, 63, 81, 1936, 687, 363, 9, 31, 1989, 9958, 20, 3458, 1120, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Align image both horizontally and vertically === Using `docutils`, it doesn't seem possible to align an image both horizontally and vertically in reStructuredText. Vertical alignment is only accepted for substitutions, while horizontal alignment only works for inline images, thus: .. image:: some/image.png :align: middle and .. |name| image:: some/image.png :align: center crash. Is there a way to control both the vertical and horizontal alignments?
0
[ 2, 23389, 1961, 156, 25658, 17, 23300, 800, 3726, 3726, 568, 13, 1, 13799, 14255, 18, 1, 15, 32, 1437, 22, 38, 2260, 938, 20, 23389, 40, 1961, 156, 25658, 17, 23300, 19, 302, 13971, 43, 11969, 9, 7035, 12448, 25, 104, 2217, 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...
Parsing a structured text file in Python === For reasons I really do not understand, a REST API I'm using, instead of outputting JSON or XML, uses a peculiar structured text format. In its simplest form SECTION_NAME entry other qualifying bits of the entry entry2 other qualifying bits ... They are not tab-delimited, as the structure may seem, but instead space-delimited, and the qualifying bits may contain words with spaces. The space between SECTION_NAME and the entries is also variable, ranging from 1 to several (6 or more) spaces. Also, one part of the format contains entries in the form SECTION_NAME entry SUB_SECTION more information SUB_SECTION2 more information For reference, an extract of real data (some sections omitted), which shows the use of the structure: ENTRY hsa04064 Pathway NAME NF-kappa B signaling pathway - Homo sapiens (human) DRUG D09347 Fostamatinib (USAN) D09348 Fostamatinib disodium (USAN) D09692 Veliparib (USAN/INN) D09730 Olaparib (JAN/INN) D09913 Iniparib (USAN/INN) REFERENCE PMID:21772278 AUTHORS Oeckinghaus A, Hayden MS, Ghosh S TITLE Crosstalk in NF-kappaB signaling pathways. JOURNAL Nat Immunol 12:695-708 (2011) As I'm trying to parse this weird format into something saner (a dictionary which can then be converted to JSON), I'm unsure on what to do: splitting blindly on spaces causes a mess (it also affects information with spaces), and I'm not sure on how I can figure when a section starts or not. Currently I'm using variables to keep "markers": in_section = False for line in output.split("\n"): if not line.startswith(" "): in_section = True # Do something with the section name line = line.split() if in_section: # Add bits to another data structure It's however very kludgy to me and I'm sure there are better solutions. Is text manipulation enough for the job or should I use more sophisticated methods?
0
[ 2, 2017, 18, 68, 21, 17784, 1854, 3893, 19, 20059, 800, 3726, 3726, 26, 2932, 31, 510, 107, 52, 1369, 15, 21, 760, 21, 2159, 31, 22, 79, 568, 15, 700, 16, 5196, 1203, 487, 528, 54, 23504, 15, 2027, 21, 13193, 17784, 1854, 2595, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Access 2010 - Web Databases - Create cascading combo boxes in one form === I am designing a web database in access 2010. I am able to create parent child relationships when I put a sub form in a form. However the experience is bad if I have 4 levels of relationships because the nested forms look bad. So I want to use a single form and implement cascading relationship between combo boxes Here is what I have done. 1. created a blank form 2. Added combo box and bound it to the list of countries 3. Added second combo box in the same form 4. went into OnUpdate event of the first combo box 5. I was hoping that there would be an action which will allow me to write a query for the second combo box like select state from [States] where country = [Combo1].SelectedValue So each time I would select something in parent combo, the event would fire an a new query result would be bound to the child combo but I cannot find a way to do the above. Again. this is a "web database" and I don't want to nest form because the UI is very confusing if you nest 4 forms.
0
[ 2, 1381, 498, 13, 8, 2741, 6018, 18, 13, 8, 1600, 7167, 13489, 68, 22621, 8120, 19, 53, 505, 800, 3726, 3726, 31, 589, 15026, 21, 2741, 6018, 19, 1381, 498, 9, 31, 589, 777, 20, 1600, 4766, 850, 5833, 76, 31, 442, 21, 972, 505...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 do I make the pop up button taller in Xcode? === When creating a desktop application, I have created a `Pop Up Button` using interface builder: ![enter image description here][1] ![enter image description here][2] However, when I go on size inspector, the box for changing the height is greyed out: ![enter image description here][3] Even if I change the font, the button itself won't get any bigger: ![enter image description here][4] What should I do if I want a taller `Pop Up Button`? [1]: http://i.stack.imgur.com/9Hagf.png [2]: http://i.stack.imgur.com/JVaRy.png [3]: http://i.stack.imgur.com/XJF47.png [4]: http://i.stack.imgur.com/Csq2u.png
0
[ 2, 184, 107, 31, 233, 14, 1675, 71, 5167, 12926, 19, 993, 9375, 60, 800, 3726, 3726, 76, 2936, 21, 17404, 3010, 15, 31, 57, 679, 21, 13, 1, 6057, 71, 5167, 1, 568, 6573, 14960, 45, 13, 187, 2558, 13679, 1961, 5318, 235, 500, 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...
Team City nightly build fails to start === I have a Team City instance running on my PC. I've set up a nightly build to run at midnight each night, even if there are no checkins to build. I leave the PC locked at night so assume the build should trigger. However I keep getting "Unable to collect changes", "Failed to start build", "Failed to collect changes, error: org.tmatesoft.svn.core.SVNException: svn: E210003: Unknown host MySVNServer". If I set the build to run during the day, it triggers fine. I have a checkin triggered build, and a couple of others for 1 off ad-hoc builds to the same environment, they all run fine. Will Team City build fail if I am not "logged in", is the fact the PC is locked causing the issue?
0
[ 2, 173, 136, 343, 102, 1895, 13614, 20, 799, 800, 3726, 3726, 31, 57, 21, 173, 136, 4851, 946, 27, 51, 5168, 9, 31, 22, 195, 309, 71, 21, 343, 102, 1895, 20, 485, 35, 6373, 206, 343, 15, 166, 100, 80, 50, 90, 2631, 108, 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...
NANT .92 SDK 7 not found === Environment: Windows 2008 R2 64Bit SDK installed at C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1 Framework installed at C:\Windows\Microsoft.NET\Framework64\v4.0.30319 Trying to run Nant to compile some .NET 4 classes and we are getting the following message. The SDK for the 'net-4.0' framework is not available or not configured.: NAnt.Core.BuildException: The SDK for the 'net-4.0' framework is not available or not configured. at NAnt.Core.Tasks.ExternalProgramBase.DetermineFilePath() at NAnt.Core.Tasks.ExternalProgramBase.get_ProgramFileName() at NAnt.Core.Tasks.ExternalProgramBase.PrepareProcess(Process process) at NAnt.Core.Tasks.ExternalProgramBase.StartProcess() at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() In looking at the NANt.exe.config it would appear that it looks to the registry to find the applicable path for the SDK. <project> <readregistry property="installRoot" key="SOFTWARE\Microsoft\.NETFramework\InstallRoot" hive="LocalMachine" /> <locatesdk property="sdkInstallRoot" minwinsdkver="v7.0A" minnetfxver="4.0" maxnetfxver="4.0.99999" failonerror="false" /> </project> The key does not exist in the registry nor does our SDK version match the minwinsdkver="v7.0A" Anyone run into this issue and found a valid work-around?
0
[ 2, 13, 11028, 13, 9, 4327, 13, 18, 43, 197, 453, 52, 216, 800, 3726, 3726, 2307, 45, 1936, 570, 761, 135, 4384, 3326, 13, 18, 43, 197, 4066, 35, 272, 45, 1, 19746, 6488, 13, 5, 396, 3274, 6, 1, 22019, 12980, 13, 18, 43, 4020...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 custom sort when parts of an array has no data === I have an object model that looks like this: MyObject = { TheName: "", OtherProps :.... } I have an array of these objects and my custom sort function looks like this: function SortArray() { var CustomFunction; var CustomSortAsc = function (a, b) { return a['TheName'] - b['TheName']; } var CustomSortDsc = function (a, b) { return b['TheName'] - a['TheName']; } if (SomeCondition) { CustomFunction = CustomSortAsc; } else { CustomFunction = CustomSortDsc; } SomeArray.sort(CustomFunction); } `SomeArray` has somewhere around 200-300 objects in it and the problem is that sometimes the object has an empty `TheName` property. Because of that, the sort doesn't seem to work as expected. For instance, if there are values then sort by name and then put all the values for which there are no names according to the sort function. What's the way to make this work? Thanks for your suggestions.
0
[ 2, 8247, 8741, 5816, 2058, 76, 1341, 16, 40, 7718, 63, 90, 1054, 800, 3726, 3726, 31, 57, 40, 3095, 1061, 30, 1879, 101, 48, 45, 51, 23793, 800, 13, 1, 14, 7259, 45, 13, 7, 7, 15, 89, 10890, 18, 13, 45, 9, 9, 9, 9, 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...
Extract all keys from a list of dictionaries === I'm trying to get a list of all keys in a list of dictionaries in order to fill out the fieldnames argument for csv.DictWriter. previously, I had something like this: [ {"name": "Tom", "age": 10}, {"name": "Mark", "age": 5}, {"name": "Pam", "age": 7} ] and I was using `fieldnames = list[0].keys()` to take the first dictionary in the list and extract its keys. Now I have something like this where one of the dictionaries has more key:value pairs than the others (could be any of the results). The new keys are added dynamically based on information coming from an API so they may or may not occur in each dictionary and I don't know in advance how many new keys there will be. [ {"name": "Tom", "age": 10}, {"name": "Mark", "age": 5, "height":4}, {"name": "Pam", "age": 7} ] I can't just use `fieldnames = list[1].keys()` since it isn't necessarily the second element that will have extra keys. A simple solution would be to find the dictionary with the greatest number of keys and use it for the fieldnames, but that won't work if you have an example like this: [ {"name": "Tom", "age": 10}, {"name": "Mark", "age": 5, "height":4}, {"name": "Pam", "age": 7, "weight":90} ] where both the second and third dictionary have 3 keys but the end result should really be the list `["name", "age", "height", "weight"]`
0
[ 2, 10962, 65, 5534, 37, 21, 968, 16, 29783, 800, 3726, 3726, 31, 22, 79, 749, 20, 164, 21, 968, 16, 65, 5534, 19, 21, 968, 16, 29783, 19, 389, 20, 3509, 70, 14, 575, 7259, 18, 5476, 26, 272, 18, 710, 9, 16315, 9657, 9, 1343,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Separate segment and encrypt steps for Adobe HDS === Adobe HTTP Dynamic Streaming (HDS)'s <a href="http://help.adobe.com/en_US/HTTPStreaming/1.0/Using/WSaeac10ab694095a12a9a3a7d12823cda643-7ffc.html">File Packager</a> supports segmenting and encrypting video files with one command. However, we have a workflow need whereby we perform additional processing steps on segmented files before we encrypt those files. With HLS (HTTP Live Streaming), this is easy to do as the encryption step uses AES-128 encryption, which is open and widely implemented. Is this possible with HDS? It does not seem possible based on brief reading of the page, but there may be additional knowledge out there that proves me wrong.
0
[ 2, 1725, 5631, 17, 1957, 11435, 2382, 26, 20299, 8590, 18, 800, 3726, 3726, 20299, 7775, 7782, 11920, 13, 5, 252, 43, 18, 6, 22, 18, 13, 1, 58, 746, 14057, 3726, 7, 21127, 6903, 14593, 9, 5672, 863, 9, 960, 118, 219, 1, 267, 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...
magento 1.4 - wrong breadcumb added === i'm using magento 1.4.1.1 CE and i have a problem with breadcumbs and customer account. on this installation we are using several plugins, one of these is called Amasty_List and is used for create, save and modify estimates. So we have different section in the customer account personal area (the dashboard) and each one has its different breadcumb. the first section is the general dashboard, the problem is that this section has the breadcumb of the estimates section, istead of 'home' or something similar. For some reason, the Index Block of estimates module uis instantiated (is an extended version of Amasty_List_Block_Index), and after the _prepareLayout method is executed, on which is added the unwanted breadcumb. the poin is that there are mopre other custom module in the dashboard, that extends the same class (Amasty_List_Block_Index), but these are not instantiated during the Dashboard rendering. what could it be? i assume that is something related to my xml layout but i'm not sure. hope someone could help me, thanx Luke
1
[ 2, 4723, 17050, 137, 9, 300, 13, 8, 1389, 5988, 8086, 220, 905, 800, 3726, 3726, 31, 22, 79, 568, 4723, 17050, 137, 9, 300, 9, 165, 9, 165, 4000, 17, 31, 57, 21, 1448, 29, 5988, 8086, 4562, 17, 7705, 2176, 9, 27, 48, 7758, 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...
Enable script run in web browser using java script codes === Please i need your help. **Case** I designed a web page which contains some java scripts. but when iam running this page in certain browsers like internet explorer my scripts get blocked.And asking for manual enabling of the script in that browser **I need** I need java script or jquery code for enabling script run in any browser automatically. can anyone help me,Please? Thank you
0
[ 2, 9240, 3884, 485, 19, 2741, 16495, 568, 8247, 3884, 11358, 800, 3726, 3726, 2247, 31, 376, 154, 448, 9, 13, 1409, 10325, 1409, 31, 1006, 21, 2741, 2478, 56, 1588, 109, 8247, 17505, 9, 47, 76, 31, 765, 946, 48, 2478, 19, 1200, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
add css style to each image with correct margin - jquery === I have a problem with adding style to images. I need to add style to each image the same, but margin needs to be different for each image. I tried to recalculate it [here](http://jsfiddle.net/qpXet/6/) but nothing happend. Each li element will be 430 width, 300 height (px). one image can cover a little bit of another, rotation would be different - the best would be random from -15 to 15 deg. The rest should stay as it is now. Can any1 could help me with calculate position of those images in jquery please? Here is my file: <html> <head> <style type="text/css"> body { background: #cccccc url(assets/templates/default/images/bg5.jpg); } .rotation ul li { width: 430px; height: 300px; } </style> <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <script type="text/javascript"> $(document).ready( function(){ $('.rotation ul li img').each(function() { if ($('.rotation ul li img:first-child')) { var mleft=0; var mtop=0; } else {*/ var mleft=0; var mtop=0; mleft = $(this).prev().attr("width") + parseInt($(this).prev().css('margin-left')); alert (mleft); if (mleft+$(this).attr("width") > 430) { mleft=0; mtop=$(this).prev().attr("height"); } } $(this).css({'border':'8px #ffffff solid','border-radius':'10px','transform':'rotate(-5deg)','-moz-transform':'rotate(-5deg)','-webkit-transform':'rotate(-5deg)','-ms-transform':'rotate(-5deg)','box-shadow':'4px 4px 10px -3px #000000','position':'absolute','margin':mtop+'px 0 0 '+mleft+'px'}); //alert('margin:'+top+'px 0 0 '+mleft+'px'); /*mleft=width; if (mtop<height) { mtop=height; } /*alert ( width + 'px by ' + height + 'px');*/ }); }); </script> <div class="rotation"> <ul> <li> <img src="http://lorempixel.com/178/194/" alt="" width="178" height="194" /> <img src="http://lorempixel.com/164/178/" alt="" width="164" height="178" /> </li> <li> <img src="http://lorempixel.com/164/178/" alt="" width="164" height="178" /> <img src="http://lorempixel.com/178/194/" alt="" width="178" height="194" /> <img src="http://lorempixel.com/200/150/" alt="" width="200" height="150" /> </li> </ul> </div>
0
[ 2, 3547, 272, 18, 18, 1034, 20, 206, 1961, 29, 4456, 5440, 13, 8, 487, 8190, 93, 800, 3726, 3726, 31, 57, 21, 1448, 29, 4721, 1034, 20, 3502, 9, 31, 376, 20, 3547, 1034, 20, 206, 1961, 14, 205, 15, 47, 5440, 2274, 20, 44, 42...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
UILabel background color with word wrap === I would like to set a background "overlay" for my UILabel, and have it to only color the part of the label with text, instead of the entire rectangle. See the image below. ![enter image description here][1] What is the best way for this to be done? [1]: http://i.stack.imgur.com/iaaIY.png
0
[ 2, 13, 5661, 21018, 2395, 1665, 29, 833, 8118, 800, 3726, 3726, 31, 83, 101, 20, 309, 21, 2395, 13, 7, 2549, 4414, 7, 26, 51, 13, 5661, 21018, 15, 17, 57, 32, 20, 104, 1665, 14, 141, 16, 14, 1899, 29, 1854, 15, 700, 16, 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...
Grouped UITableView and horizontal margins === I have a grouped UITableView that was really designed to look nice in portrait mode for iPhone. Its cell subviews have autosizing set up so that they stretch in landscape mode, but this makes it a lot less esthetically pleasing -- the cells just look too wide for their content. I'm now making it a universal app but on iPad the autosizing causes even more stretching and it looks just unacceptable. It would be ideal if I could make the UITableView's groups of cells have a fixed width (or a max width), or if I could somehow control the horizontal margins. Having not found support for this in UITableView, I have done a few quick attempts at subclassing it to constrain its size at layout time and, as an alternative, at introducing a container view in order to make the UITableView autoresize vertically only. Both approaches work but create new problems: Scrolling doesn't work when swiping in the margins, and I am now forced to make the UITableView's background transparent (which goes against Apple's recommendations) as there is now a discontinuity of background between the UITableView's frame and the margins. Has anyone found a trick to solve my problem (i.e. constrain the width of the groups in a UITableView, causing margins to expand to fill the width of the view), or an open source solution to it?
0
[ 2, 19511, 13, 11193, 579, 4725, 17, 10095, 5440, 18, 800, 3726, 3726, 31, 57, 21, 19511, 13, 11193, 579, 4725, 30, 23, 510, 1006, 20, 361, 2210, 19, 5548, 3740, 26, 21024, 9, 82, 1667, 972, 4725, 18, 57, 3108, 18, 3335, 309, 71,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
UIimage animation certain amount === I'm creating a app on a iOS device and it will have a animation on the background but basically i would like to no how many images you can upload to one animation heres the code i have set up. .h #import <UIKit/UIKit.h> @interface ViewController : UIViewController { IBOutlet UIImageView *animation; } @end .m #import "ViewController.h" @interface ViewController () @end @implementation ViewController -(void)viewDidLoad { animation.animationImages = [NSArray arrayWithObjects: [UIImage imageNamed:@"animatedbg1.gif"], [UIImage imageNamed:@"animatedbg2.gif"], [UIImage imageNamed:@"animatedbg3.gif"], [UIImage imageNamed:@"animatedbg4.gif"], [UIImage imageNamed:@"animatedbg5.gif"], [UIImage imageNamed:@"animatedbg6.gif"], [UIImage imageNamed:@"animatedbg7.gif"], [UIImage imageNamed:@"animatedbg8.gif"], [UIImage imageNamed:@"animatedbg9.gif"],nil], [animation setAnimationRepeatCount:0]; animation.animationDuration = 2; [animation startAnimating]; } at the moment i have 9 images but for my animation i will have 155 images so will that still work :) if not do you guys no a better route i could take. thanks in advanced
0
[ 2, 13, 5661, 22039, 6236, 1200, 2006, 800, 3726, 3726, 31, 22, 79, 2936, 21, 4865, 27, 21, 13, 7760, 3646, 17, 32, 129, 57, 21, 6236, 27, 14, 2395, 47, 11374, 31, 83, 101, 20, 90, 184, 151, 3502, 42, 92, 71, 8294, 20, 53, 62...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
No Persistance provider for EntityManager - using Hibernate nad SpringMVC === I have SpringMVC project. I am using HSQL database and Hibernate. I have got stuck during making connection with SpringMVC (JPA as default) and Hibernate. I have created `persistance.xml` file in SpringMVC directory: `src/main/resources/META-INF`. I have also tried to place it in SpringMVC directory: `Deployed Resources/webapp/WEB-INF/classes/META-INF`. I don't know which one is correct. I have still the same problem. This is my `persistance.xml` : <?xml version="1.0" encoding="UTF-8" ?> <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" version="2.0"> <persistence-unit name="entityManager"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <class>package.pl.models.Users</class> <properties> <property name="javax.persistence.jdbc.driver" value="org.hsqldb.jdbcDriver" /> <property name="javax.persistence.jdbc.url" value="jdbc:hsqldb:file:/home/user/hsqldb/lib/my.spring.mvc/mybase" /> <property name="javax.persistence.jdbc.user" value="user" /> <property name="javax.persistence.jdbc.password" value="password" /> <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect" /> <property name="hibernate.hbm2ddl.auto" value="create" /> <property name="hibernate.show_sql" value="true" /> <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider" /> </properties> </persistence-unit> </persistence> This is one of my SpringMVC controller method body: UsersHome usersHome = new UsersHome(); EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory("entityManager"); EntityManager entityManager = entityManagerFactory.createEntityManager(); entityManager.getTransaction().begin(); usersHome.setEntityManager(entityManager); Users user = usersHome.findByUsername(login); I have received error on the line when I have used `EntityManagerFactory` for the first time - indicating the name of my Persistance Unit. My exception is: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is javax.persistence.PersistenceException: No Persistence provider for EntityManager named entityManager And the root cause is: javax.persistence.PersistenceException: No Persistence provider for EntityManager named entityManager I have used appropriate name in `EntityManagerFactory`. Presumably I have done mistake in my `Dispatcher Servlet Context` file. I have this code according to Hibernate etc.: <!-- Data source --> <beans:bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <beans:property name="driverClassName" value="org.hsqldb.jdbcDriver" /> <beans:property name="url" value="jdbc:hsqldb:file:/home/home/hsqldb/lib/my.spring.mvc/mybase" /> <beans:property name="username" value="user" /> <beans:property name="password" value="password" /> </beans:bean> <!-- Data source end --> <!-- Hibernate session factory --> <beans:bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean"> <beans:property name="dataSource"> <beans:ref bean="dataSource" /> </beans:property> <beans:property name="hibernateProperties"> <beans:props> <beans:prop key="hibernate.dialect">org.hibernate.dialect.HSQLDialect</beans:prop> <beans:prop key="hibernate.show_sql">true</beans:prop> <beans:prop key="hibernate.hbm2ddl.auto">update</beans:prop> </beans:props> </beans:property> <beans:property name="annotatedClasses"> <beans:list> <beans:value>package.pl.models.Users</beans:value> </beans:list> </beans:property> </beans:bean> <!-- Hibernate session factory end --> <!-- <beans:bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean"> <beans:property name="persistenceUnitName" value="entityManager" /> </beans:bean> --> <beans:bean id="transactionManager" class="org.springframework.orm.hibernate4.HibernateTransactionManager"> <beans:property name="sessionFactory" ref="sessionFactory" /> </beans:bean> <!-- <beans:bean id="usersDao" class="hutter.pl.dao.UsersHome"> <beans:property name="entityManagerFactory" ref="entityManagerFactory" /> </beans:bean> --> I have commented the `bean id="entityManagerFactory"` and `bean id="usersDao"`. Are the necessary? However I can't start my web application with uncommented `bean id="entityManagerFactory"`. I am receiving this exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/appServlet/servlet-context.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: No Persistence provider for EntityManager named entityManager
0
[ 2, 90, 22084, 2416, 11747, 26, 9252, 22256, 13, 8, 568, 4148, 2102, 8820, 7536, 1573, 79, 8990, 800, 3726, 3726, 31, 57, 1573, 79, 8990, 669, 9, 31, 589, 568, 746, 18, 22402, 6018, 17, 4148, 2102, 8820, 9, 31, 57, 330, 4549, 112...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Deep Copy of an Entity Framework Code First Proxy === How can I make a deep copy of an object graph that has been loaded by Entity Framework Code First with proxies enabled? I'm using code like this: static public T DeepCopy<T>(T obj) { BinaryFormatter s = new BinaryFormatter(); using (MemoryStream ms = new MemoryStream()) { s.Serialize(ms, obj); ms.Position = 0; T t = (T)s.Deserialize(ms); return t; } } However, the serializer complains correctly that the proxy types are not known types.
0
[ 2, 855, 4344, 16, 40, 9252, 6596, 1797, 64, 27188, 800, 3726, 3726, 184, 92, 31, 233, 21, 855, 4344, 16, 40, 3095, 7210, 30, 63, 74, 8572, 34, 9252, 6596, 1797, 64, 29, 895, 396, 1596, 9338, 60, 31, 22, 79, 568, 1797, 101, 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...
DbDataReader inherited from MarshalByRefObject, how to use it in .net Remoting? === Such as the title: **DbDataReader inherited from MarshalByRefObject, how to use it in .net Remoting?**
0
[ 2, 13, 9007, 18768, 10647, 106, 7179, 37, 7583, 779, 14057, 23793, 15, 184, 20, 275, 32, 19, 13, 9, 2328, 302, 7662, 68, 60, 800, 3726, 3726, 145, 28, 14, 581, 45, 13, 1409, 9007, 18768, 10647, 106, 7179, 37, 7583, 779, 14057, 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, 0, 0, 0, 0...
Fetch attribute of an action class to an jsp page..? === Can Someone Please tell me "How to fetch attributes of any action class into another jsp page?" i am having an actionclass "FindQuestion.java" which have an attribute "private int ra;". I have made the getter and setter of "ra". Now i have another jsp page "home.jsp" which displays few of the attributes of "FindQuestion.java" in <s:property value=""/> tag, which is loaded upon an action with reference to "FindQuestion.java". There is also a form with a "check" button which takes an integer from user with the <s:select name ="ua" (list of integers) /> tag. I need to fetch another attribute "ra" from "FindQuestion.java" which will be only used to compare its value with the value of "ua" (from select tag) upon the action of "check" button. If these are equal then shows message "Match Successfull" otherwise "Matching Failed". [ra is not to be displayed on jsp page]. Can someone suggest what java or any other coding is to be done. Thanks in advance.
0
[ 2, 18312, 35, 14755, 16, 40, 1028, 718, 20, 40, 487, 3401, 2478, 9, 9, 60, 800, 3726, 3726, 92, 737, 2247, 494, 55, 13, 7, 1544, 20, 18312, 13422, 16, 186, 1028, 718, 77, 226, 487, 3401, 2478, 60, 7, 31, 589, 452, 40, 1028, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Screenshot Of webView with full image quality === I am trying to take a screenshot of a webView and change it to PDF. I have used this method: www.ioslearner.com/wp-content/uploads/2012/01/HtmlToPdfDemo.zip I mean the code in this project.It works fine for iPad but it doesn't covers full width for iPhone. I have used -sizeThatFits: for the webView, but that gives unreadable images for large html pages. I have searched a lot but all I could find out was in Android.. not iPhone. Please help me.Thanks!
0
[ 2, 2324, 7868, 16, 2741, 4725, 29, 503, 1961, 2190, 800, 3726, 3726, 31, 589, 749, 20, 247, 21, 2324, 7868, 16, 21, 2741, 4725, 17, 753, 32, 20, 13, 11124, 9, 31, 57, 147, 48, 2109, 45, 13, 6483, 9, 7760, 413, 512, 1031, 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 send http request to python flask server from desktop application? === I have configured python server using flask framework. Now I want to send request to server from my desktop application. My server location is:http://127.0.0.1:5000/ I have written code which work from browser but i want to access that code from my desktop app. `import flask,flask.views import os import functools app=flask.Flask(__name__) app.secret_key="xyz" users={'pravin':'abc'} class Main(flask.views.MethodView): def get(self): return flask.render_template('index.html') def post(self): if 'logout' in flask.request.form: flask.session.pop('username',None) return flask.redirect(flask.url_for('index')) required=['username','passwd'] for r in required: if r not in flask.request.form: flask.flash("Error: {0} is required.".format(r)) return flask.redirect(flask.url_for('index')) username=flask.request.form['username'] password=flask.request.form['passwd'] if username in users and users[username]==password: flask.session['username']=username else: flask.flash("Username doesn`t exist or incorrect password.") return flask.redirect(flask.url_for('index')) app.add_url_rule("/",view_func=Main.as_view("index"),methods=["GET","POST"]) app.debug=True app.run()`
0
[ 2, 184, 20, 2660, 7775, 3772, 20, 20059, 28972, 8128, 37, 17404, 3010, 60, 800, 3726, 3726, 31, 57, 28895, 20059, 8128, 568, 28972, 6596, 9, 130, 31, 259, 20, 2660, 3772, 20, 8128, 37, 51, 17404, 3010, 9, 51, 8128, 1474, 25, 45, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, Initial Program Load, Standby Message === My application copies a bunch of files from res.raw to files on the SD Card. This can take tens of seconds. During this time the user is left with a black screen. Some users think that the application has failed. I would like to display a "standby" message. I have tried Toast. I have tried setContentView(R.layout.main) with a message in the layout. Neither gives the expected results. The screen remains black during the load process.
0
[ 2, 13005, 15, 2104, 625, 6305, 15, 1261, 779, 2802, 800, 3726, 3726, 51, 3010, 3298, 21, 7653, 16, 6488, 37, 10719, 9, 12404, 20, 6488, 27, 14, 13, 18, 43, 2056, 9, 48, 92, 247, 652, 18, 16, 2582, 9, 112, 48, 85, 14, 4155, 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...
Java Regex Capture Text Between """ or ''' === I have a document I am trying to parse with Java Regex and in it appears text in quotes either """ or ''' so you have: """ Bla, you're not very nice! """ or: ''' Bla, this 1 isn't a great example ''' I have been trying along the lines of `["""|''']([\p{Alnum}|\p{Blank}]+)[\"""|''']` Assumptions: The text will start and end with either """ or ''' The text could include numbers, letter, blanks and punctuation The body of the text will not include the sequence of three " or three '
0
[ 2, 8247, 7953, 1706, 3683, 1854, 128, 13, 7, 7, 7, 54, 13, 7, 22, 800, 3726, 3726, 31, 57, 21, 4492, 31, 589, 749, 20, 2017, 870, 29, 8247, 7953, 1706, 17, 19, 32, 1780, 1854, 19, 18901, 694, 13, 7, 7, 7, 54, 13, 7, 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...
Can't start a campaign using foursquare api === I have a venue which is currently running 1 active campaign, 1 scheduled campaign, and 1 pending campaign. If I start the pending campaign using the api it throws an error "the following venues already have 2 active specials"
0
[ 2, 92, 22, 38, 799, 21, 1150, 568, 222, 12300, 21, 2159, 800, 3726, 3726, 31, 57, 21, 5704, 56, 25, 871, 946, 137, 1348, 1150, 15, 137, 3758, 1150, 15, 17, 137, 16440, 1150, 9, 100, 31, 799, 14, 16440, 1150, 568, 14, 21, 2159,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0...
LInq to Sql query with Group by === I am trying to write a linq to sql query equivalent to the following sql query select * from [TableA] INNER JOIN (select C1, COUNT(*) C2 FROM [Table2] GROUP BY C1) av ON [TableA].C1 = av.C1 WHERE av.C2 > 10 Can any one please help me how to write equivalent link query. Thanks.
0
[ 2, 6294, 1251, 20, 4444, 255, 25597, 29, 214, 34, 800, 3726, 3726, 31, 589, 749, 20, 2757, 21, 6294, 1251, 20, 4444, 255, 25597, 4602, 20, 14, 249, 4444, 255, 25597, 5407, 1637, 37, 636, 5924, 58, 500, 3754, 1865, 13, 5, 18, 169...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Cell click event in table layout.. === I want to know how to get the cell click(ex:I want to click in the 3rd colomn of the 2nd row i.e. in 2x3 cell) event in a dynamic table view.I know about row click. But I want the particular cell click.. Is it possible in list view if list view contains rows along with colomns?? Please help Thanks
0
[ 2, 1667, 10840, 807, 19, 859, 9106, 9, 9, 800, 3726, 3726, 31, 259, 20, 143, 184, 20, 164, 14, 1667, 10840, 5, 1706, 45, 49, 259, 20, 10840, 19, 14, 203, 897, 326, 13517, 103, 16, 14, 172, 706, 3131, 31, 9, 62, 9, 19, 172, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Emacs support for D language === I googled a while, unfortuantely I found that the emacs mode for d is not updated for a long time. For experienced D programmers, which emacs mode do you use?
0
[ 2, 13, 62, 6893, 18, 555, 26, 13, 43, 816, 800, 3726, 3726, 31, 8144, 43, 21, 133, 15, 367, 6469, 291, 4760, 102, 31, 216, 30, 14, 13, 62, 6893, 18, 3740, 26, 13, 43, 25, 52, 6372, 26, 21, 175, 85, 9, 26, 3882, 13, 43, 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, 0, 0...
Make automatic showing in visual studio less sensitive === How can I make the automatic bringing up of windows (e.g. the properties window) a little less sensitive? It would make my life easier if I should hover for 1 second or so (because now, when I accidentally move the mouse over a tab, the window is immediately brought up).
0
[ 2, 233, 6715, 3187, 19, 3458, 1120, 787, 7830, 800, 3726, 3726, 184, 92, 31, 233, 14, 6715, 3657, 71, 16, 1936, 13, 5, 62, 9, 263, 9, 14, 3704, 1463, 6, 21, 265, 787, 7830, 60, 32, 83, 233, 51, 201, 4950, 100, 31, 378, 21350...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
MongoDB geospacial query === I use mongo's "$near" query, it works as expected and saves me a lot of time. Now I need to perform something more complicated. Imagine, we have a collection of "checkins" (let's use foursquare notation), that contains the geospacial information (nothing unusual: just lat and lng) and time. Given the checkins by two people, how do I find their "were near to each other" checkins? I mean, e.g.: "1/23/12 you've been 100 meters away" The easiest solution is to select all the checkins by the first user and find nearest checkin for each first user's checkin on the framework side (I use ruby). But is it the most efficient solution? Do you have better ideaas? May be I need some kind of a special index? Best, Roman
0
[ 2, 3521, 5474, 220, 6389, 18, 1060, 19034, 25597, 800, 3726, 3726, 31, 275, 3521, 839, 22, 18, 13, 7, 4403, 14114, 7, 25597, 15, 32, 693, 28, 1727, 17, 16815, 55, 21, 865, 16, 85, 9, 130, 31, 376, 20, 2985, 301, 91, 8343, 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...
Need advice about communication via serial port in C++/CLI === I am working on project where I have to c**ommunicate via serial port**. I will be receiving quite "large" amount of data **from UART via RS232 (approximately 6KB/10ms)** and I have to **collect it and decode it**. Decoded data will be **stored to files** and some of them will be **shown in GUI**. I will be using **C++/CLI** (in **Visual Studio 2010** using **.NET v4.0)** because of managed data work and large amount of libraries. And my **main question is:** What would you **recommend me**: **A) To not use threads and look for data each 5ms via timer...** **B) To not use threads and look for data based on event of incoming data...** **C) Use threads...** What would you recommend me? I have not much experience to tell what will be the best solution. Thank you for your future responses...
0
[ 2, 376, 4978, 88, 3291, 1197, 5956, 1295, 19, 272, 20512, 118, 150, 1210, 800, 3726, 3726, 31, 589, 638, 27, 669, 113, 31, 57, 20, 272, 1409, 2636, 5619, 49, 9530, 1197, 5956, 1295, 1409, 9, 31, 129, 44, 3396, 1450, 13, 7, 11312...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Why doesn't MS Word close after I release its last COM interface? === I thought that COM automation objects close themselves when their last interface is released. However this code, which opens and then releases an interface to MS Word leaves the WINWORD.EXE process running. I've traced it and I know that `iUnkn->Release()` is being called. What am I doing wrong here? if (SUCCEEDED(CoInitialize(NULL))) { CLSID clsid; if (SUCCEEDED(CLSIDFromProgID(OLESTR("Word.Application"), &clsid))) { IUnknown* iUnkn = NULL; if (SUCCEEDED(CoCreateInstance(clsid, NULL, CLSCTX_SERVER, Word::IID__Application, (void**) &iUnkn)) && iUnkn) { iUnkn->Release(); } } CoUninitialize(); }
0
[ 2, 483, 1437, 22, 38, 4235, 833, 543, 75, 31, 830, 82, 236, 13, 960, 6573, 60, 800, 3726, 3726, 31, 289, 30, 13, 960, 23217, 3916, 543, 1366, 76, 66, 236, 6573, 25, 261, 9, 207, 48, 1797, 15, 56, 8965, 17, 94, 7073, 40, 6573...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Using colorpicker in creating a wordpress widget === I am creating a widget and had successfully created it, what I want to achieve is that on the widget form, I want to add an option where the user can select a color for the font. Thus, I've placed a textbox and when the user clicks on the textbox a colorpicker will appear. I have not tried doing that in the past and I've searched google for any help but instead they want me to download their plugins and etc. I don't need any plugin or whatsoever, I just want a simple colorpicker implementation. ANy help?
0
[ 2, 568, 1665, 16855, 106, 19, 2936, 21, 833, 5890, 4807, 43, 3060, 800, 3726, 3726, 31, 589, 2936, 21, 4807, 43, 3060, 17, 41, 3673, 679, 32, 15, 98, 31, 259, 20, 4689, 25, 30, 27, 14, 4807, 43, 3060, 505, 15, 31, 259, 20, 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...
What string do I use to connect to an SQL Server? === I'm trying to execute an SQL Job using a CRM Workflow by making a custom activity. In my code, an online tutorial had me construct it like this (in c#): [CrmWorkflowActivity("A test activity to run SQL Jobs")] public sealed class ExecuteSQLJob : System.Activities.CodeActivity { #region Inputs [Input("Job Name")] [Default("BMS_ExtractTransformLoad")] public InArgument<String> JobName { get; set; } [Input("Server Connection")] [Default("HBSSQL2008/MSSQLSERVER")] //<--This String public InArgument<String> ServerName { get; set; } [Input("User Name")] [Default("-----")] public InArgument<String> UserName { get; set; } [Input("Password")] [Default("-----")] public InArgument<String> Password { get; set; } #endregion protected override void Execute(CodeActivityContext context) { Server server = new Server(ServerName.Get(context)); //<--Is used here try { server.ConnectionContext.LoginSecure = false; server.ConnectionContext.Login = UserName.Get(context); server.ConnectionContext.Password = Password.Get(context); server.ConnectionContext.Connect(); Job job = server.JobServer.Jobs[JobName.Get(context)]; job.Start(); } finally { if (server.ConnectionContext.IsOpen) { server.ConnectionContext.Disconnect(); } } } } However, when I try to run this workflow, it throws an error saying it couldn't connect to the server. (Specifically, the error is thrown on the server.ConnectionContext.Connect() method call). Is the problem the serverName String? If so, how can I find out the correct serverName to use? Thanks for any help!
0
[ 2, 98, 3724, 107, 31, 275, 20, 6379, 20, 40, 4444, 255, 8128, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 15644, 40, 4444, 255, 1205, 568, 21, 6186, 79, 170, 9990, 34, 544, 21, 5816, 2358, 9, 19, 51, 1797, 15, 40, 2087, 29724, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Entity Framework Code templates and foreign keys === How do i get Entity Frameworks foreign keys to pick up when I generate the view with the add view dialog. My Models are like public class System { #region Properties public int SystemId { get; set; } public string SystemName { get; set; } #endregion } public class Module { #region Properties public int ModuleId { get; set; } //[Required] [Display(Name="Module Name")] public string ModuleName { get; set; } [Display(Name="Date Added")] public DateTime DateAdded { get; set; } //[ForeignKey("CurrentSystem")] public int SystemId { get; set; } //[ForeignKey()] //[ForeignKey("SystemId")] public System System { get; set; } #endregion } When i click on the Controller, then Add View, the modal opens. I select all the details that is needed and then the following is generated ( I did not include the entire view). @using (Html.BeginForm()) { @Html.ValidationSummary(true) <fieldset> <legend>Module</legend> <div class="editor-label"> @Html.LabelFor(model => model.ModuleName) </div> <div class="editor-field"> @Html.EditorFor(model => model.ModuleName) @Html.ValidationMessageFor(model => model.ModuleName) </div> <div class="editor-label"> @Html.LabelFor(model => model.DateAdded) </div> <div class="editor-field"> @Html.EditorFor(model => model.DateAdded) @Html.ValidationMessageFor(model => model.DateAdded) </div> <div class="editor-label"> @Html.LabelFor(model => model.SystemId) </div> <div class="editor-field"> @Html.EditorFor(model => model.SystemId) @Html.ValidationMessageFor(model => model.SystemId) </div> <p> <input type="submit" value="Create" /> </p> </fieldset> } I want the SystemId to be a dropdown and not a text field. How do i do this ?
0
[ 2, 9252, 6596, 1797, 22894, 18, 17, 1228, 5534, 800, 3726, 3726, 184, 107, 31, 164, 9252, 6596, 18, 1228, 5534, 20, 2036, 71, 76, 31, 7920, 14, 1418, 29, 14, 3547, 1418, 28223, 9, 51, 2761, 50, 101, 317, 718, 329, 13, 1, 6926, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Get parameter name/value using rs:StoredParametersID key? === I'm working with SSRS 2008 R2 with the [ReportService2010][1] soap endpoint. For parameters that have large values, SSRS has some smarts to automatically tokenize a drill-down report URL ([summed up nicely in this thread][2]): > The problem is related to the RS System Property > StoredParametersThreshold. This value (defaults to 1500) determine > the number of characters a URL can contain before SSRS replaces that > URL with a token. The reason for this functionality is that some > browsers/servers limit the URL length of a URL. Since report > parameter value combinations can be really long, we try to be smart > and tokenize the URL so that the URLs will work. A possible work > around is to increase the value of StoredParametersThreshold. The URL (decoded for easier viewing) looks something like this: http://iprod-ssrs/ReportServer?http://iprod-reports/admin/web/Report+Library/Drill-down+Companyids.rdl&rs:StoredParametersID=cjesl5vk0y2tbv55e1qjrz55&rs:ParameterLanguage=&rc:Parameters=Collapsed The problem is, in my custom viewer, I cannot use these tokenized URLs and need to retrieve the actual parameter name/value so that I may execute the drill-down report. Is it possible to get the parameter values using the `rs:StoredParametersID` key? [1]: http://msdn.microsoft.com/en-us/library/reportservice2010.aspx [2]: http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/a8fb313c-efce-42dc-b28b-67f695a8c791/
0
[ 2, 164, 18906, 204, 118, 15165, 568, 13, 1224, 45, 16828, 43, 6351, 7307, 18, 1340, 1246, 60, 800, 3726, 3726, 31, 22, 79, 638, 29, 22118, 18, 570, 761, 135, 29, 14, 636, 17437, 11449, 2751, 500, 2558, 165, 500, 6447, 241, 3132, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
What is the "foo" vs. "foo1" naming convention in Scala? === I've seen some APIs that have a `def foo` and then a slightly different `def foo1`, but I can't figure out what this means other than "`foo1` is kind of like `foo` but slightly different." It reminds me of "Ex" ( http://stackoverflow.com/questions/4039054/what-does-ex-stand-for-in-windows-api-function-names ) I'm guessing this is a reference to a Haskell/FP or mathematical convention, is it just foo-prime? Is there any meaning implied (does `foo1` have to relate to `foo` in some specific way) or is it more "I needed two similar functions and overloading was ambiguous, screw it, let's put a 1 on the end"? Should I assume anything beyond "these two functions are somehow related"?
0
[ 2, 98, 25, 14, 13, 7, 4120, 111, 7, 4611, 9, 13, 7, 4120, 111, 165, 7, 10929, 3087, 19, 25975, 60, 800, 3726, 3726, 31, 22, 195, 541, 109, 21, 8954, 30, 57, 21, 13, 1, 13862, 4310, 111, 1, 17, 94, 21, 1847, 421, 13, 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, 0, 0, 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 it possible to write a method in Scala returning objects with different type parameter? === Is it possible to write a method in Scala which returns an object of a type-parameterized class with different type paramter ? Something like this: class A[T] def f(switch: Boolean): A = if(switch) new A[Int] else new A[String] Please note: The Code above is fictional to show the type of problem; The code above does not make semantically sense. The code above will not compile because return type A is not parameterized.
0
[ 2, 25, 32, 938, 20, 2757, 21, 2109, 19, 25975, 2485, 3916, 29, 421, 1001, 18906, 60, 800, 3726, 3726, 25, 32, 938, 20, 2757, 21, 2109, 19, 25975, 56, 4815, 40, 3095, 16, 21, 1001, 8, 6351, 7307, 1333, 718, 29, 421, 1001, 2258, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
select an item in the dijit.form.Select widjet from label === I want to select an item in the dijit.form.Select widjet. I am having the label value, which is taken from the table cell, with that i want to select an item in the dijit.form.select widjet which will be in the dialog. Is it possible to do like this? can any one help me on this?
0
[ 2, 5407, 40, 9101, 19, 14, 926, 13803, 9, 4190, 9, 18, 16964, 4807, 43, 10307, 37, 1899, 800, 3726, 3726, 31, 259, 20, 5407, 40, 9101, 19, 14, 926, 13803, 9, 4190, 9, 18, 16964, 4807, 43, 10307, 9, 31, 589, 452, 14, 1899, 1923...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 create a dynamic login button in Ruby on Rails? === Anyone know how I can make a login button in Ruby on Rails for an application? I assume the redirection will be something like:(I'm using current elements) <%= link_to 'Log In', index_path, :class => 'btn btn-primary'%> However, this will just create a button that redirects to the index, regardless if the "user" has filled in the required "Email" and "Password" fields. I assume I'll need a condition to check if the fields are filled and I assume a database table for accepted e-mails with the correct passwords?
0
[ 2, 184, 92, 31, 1600, 21, 7782, 6738, 108, 5167, 19, 10811, 27, 2240, 18, 60, 800, 3726, 3726, 1276, 143, 184, 31, 92, 233, 21, 6738, 108, 5167, 19, 10811, 27, 2240, 18, 26, 40, 3010, 60, 31, 7158, 14, 302, 14706, 872, 129, 44...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 work with generic <T> with EntitySet<T> === I have a opteration that needs to run on three types of EntitySets; however, the data for each type is the same. Linq-to-SQl is creating these three types to match up with a few between, "tween" tables in my database. Is there a way to work with generic EntitySet types like I'Ve got them below? private EntitySet<T> GetClientBayHorizontal(EntitySet<T> clientBayHorizontal) {} It is to solve the redundant issue like below. private EntitySet<LeafHorizontal> GetClientLeafHorizontal(EntitySet<LeafHorizontal> clientLeafHorizontal) {} private EntitySet<BayHorizontal> GetClientBayHorizontal(EntitySet<BayHorizontal> clientBayHorizontal) {} private EntitySet<SideliteHorizontal> GetClientSideliteHorizontal(EntitySet<SideliteHorizontal> clientSideliteHorizontal) {}
0
[ 2, 184, 20, 170, 29, 12733, 13, 1, 38, 1, 29, 9252, 3554, 1, 38, 1, 800, 3726, 3726, 31, 57, 21, 13, 20455, 857, 30, 2274, 20, 485, 27, 132, 2551, 16, 9252, 3554, 18, 73, 207, 15, 14, 1054, 26, 206, 1001, 25, 14, 205, 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...
Like '%c' not returning any rows === I have a table where each row is a word in the dictionary. I have been using the following query to get all the words starting with a certain character (c): SELECT * FROM words WHERE word LIKE 'c%' That query works fine. But when i reverse it to get words ending in a character: SELECT * FROM words WHERE word LIKE '%c' It doesn't return any rows. What am I doing wrong? Ive checked for space padding on the right and that isn't the case. Thanks in advance for your help!
0
[ 2, 101, 13, 22, 11881, 150, 22, 52, 2485, 186, 11295, 800, 3726, 3726, 31, 57, 21, 859, 113, 206, 3131, 25, 21, 833, 19, 14, 9186, 9, 31, 57, 74, 568, 14, 249, 25597, 20, 164, 65, 14, 715, 1422, 29, 21, 1200, 925, 13, 5, 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...
How are keywords in metadata stored? === I'm researching options to synchronize external data to a Category and Keyword list. I have a metadata field with a `states` field that uses a category called US States. When I preview my component with a simple XSLT component template (`<xsl:copy-of select="." />`), I can see: <tcm:Content> ... </tcm:Content> <tcm:Metadata><Metadata xmlns="http://createandbreak.net/schema/generic"> <states>California</states> <states>New York</states> </Metadata></tcm:Metadata> When I update the keyword and preview, I can see updated values. <tcm:Content> ... </tcm:Content> <tcm:Metadata><Metadata xmlns="http://createandbreak.net/schema/generic"> <states>Californias</states> <states>New York</states> </Metadata></tcm:Metadata> Which is great. It looks like we *do not* need to synchronize components (open, edit, and save) to use updated keywords. Is that a safe assumption? **If I update a keyword, do I need to update components that use it in order to publish component presentations with the updated values?** *I believe I'd need to still be careful with content porter which typically uses WebDAV paths.*
0
[ 2, 184, 50, 1246, 12827, 19, 28057, 8214, 60, 800, 3726, 3726, 31, 22, 79, 527, 68, 6368, 20, 13, 16023, 2952, 4886, 1054, 20, 21, 3230, 17, 1246, 9587, 968, 9, 31, 57, 21, 28057, 575, 29, 21, 13, 1, 3859, 18, 1, 575, 30, 20...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Converting timestamp to days and back results in a different date === I need to store year-moth-day information w/o timezone info. Here's some code: private static void test() { Calendar cal = Calendar.getInstance(); cal.setTimeZone(TimeZone.getTimeZone("US/Pacific")); System.out.println("Before: " + cal.get(DAY_OF_MONTH)); // long datestamp = toDatestamp(cal.getTimeInMillis()); long timestamp = toTimestamp(datestamp); cal.setTimeInMillis(timestamp); System.out.println("After: " + cal.get(DAY_OF_MONTH)); } private static long toTimestamp(long datestamp) { return TimeUnit.DAYS.toMillis(datestamp); // return datestamp * DS_MULT; } private static long toDatestamp(long timestamp) { return TimeUnit.MILLISECONDS.toDays(timestamp); // return timestamp / DS_MULT; } // hours * minutes * seconds * milliseconds private static long DS_MULT = 24 * 60 * 60 * 1000; with 2 approaches, one of which is commented out. But result is the same: Before: 26 After: 25 Am I missing something obvious?
0
[ 2, 19583, 436, 38, 10158, 20, 509, 17, 97, 1736, 19, 21, 421, 1231, 800, 3726, 3726, 31, 376, 20, 1718, 159, 8, 1293, 96, 8, 1185, 676, 619, 118, 111, 85, 11661, 15404, 9, 235, 22, 18, 109, 1797, 45, 932, 12038, 11364, 1289, 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...
Trouble getting correct height of joint positions in Unity Xbox === I am using Xbox-Unity and am trying to make a Kinect game. I need to be able to know when a player's foot is in the air and when it comes back down on the ground. I thought that this would be as simple as tracking the Joint Positions but the foot's Y changes based on the proximity to the Kinect Camera (Taking the foot joint position from Kinect). If I lifted my left foot up far away from the camera, it's Y would be high(let's say 10). If it were to land close to the camera, the Y would be low(let's say -20). What I had hoped was that I could just say 0 is the floor and have an easy time knowing when a foot was in the air and when it was on the ground. Does anybody have any ideas on how I can correctly tell when a foot is grounded?(everything I can think of so far had at least one exception that would make the gameplay broken)
0
[ 2, 2572, 1017, 4456, 2947, 16, 2266, 3062, 19, 8385, 13800, 800, 3726, 3726, 31, 589, 568, 13800, 8, 1020, 856, 17, 589, 749, 20, 233, 21, 6399, 11557, 250, 9, 31, 376, 20, 44, 777, 20, 143, 76, 21, 517, 22, 18, 1749, 25, 19, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Be able to take information on a very complicated array === I've got a $cars array and when i do var_dump($cars) i get this results : array(1) { [1107702400]=> array(1) { ["data"]=> array(0) { } } } array(2) { [1107702400]=> array(1) { ["data"]=> array(0) { } } [1149862205]=> array(2) { ["data"]=> array(296) { [0]=> array(4) { ["name"]=> string(16) "Benz1" ["category"]=> string(9) "Community" ["id"]=> string(15) "187099821418102" ["created_time"]=> string(24) "2012-06-14T15:00:59+0000" } [1]=> array(4) { ["name"]=> string(6) "Fabric" ["category"]=> string(20) "Computers/technology" ["id"]=> string(15) "194407767268061" ["created_time"]=> string(24) "2012-06-07T07:24:03+0000" } [2]=> array(4) { ["name"]=> string(13) "Peugeot" ["category"]=> string(9) "Community" ["id"]=> I need to be able to loop through all $cars names.. This one is too much complicated for me, help me! Thanks!
1
[ 2, 44, 777, 20, 247, 676, 27, 21, 253, 8343, 7718, 800, 3726, 3726, 31, 22, 195, 330, 21, 5579, 1367, 18, 7718, 17, 76, 31, 107, 4033, 1, 43, 11134, 5, 4403, 1367, 18, 6, 31, 164, 48, 1736, 13, 45, 7718, 5, 165, 6, 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...
VIN Decoding: Model Year === I'm trying to code a simple VIN (ISO 3779) decoder: manufacturer and model year. I'm having some issues w/ decoding the model year, though. According to [Wikipedia](http://en.wikipedia.org/wiki/Vehicle_Identification_Number): `For passenger cars, and for multipurpose passenger vehicles and trucks with a gross vehicle weight rating of 10,000 lb (4,500 kg) or less, if position 7 is numeric, the model year in position 10 of the VIN refers to a year in the range 1980–2009. If position 7 is alphabetic, the model year in position 10 of VIN refers to a year in the range 2010–2039.` My car's VIN (Model Year 2012) has the following info: VSS---1--C------- 12345678901234567 Manufacturer: SEAT, Model Year: 1982 (Some online VIN decoders give me 1982, some others give me 2012) How can I modify my decoder so I get this right, other than doing a nasty `if (Manufacturer == "SEAT") Year += 30;`hack?
0
[ 2, 9730, 121, 15458, 45, 1061, 159, 800, 3726, 3726, 31, 22, 79, 749, 20, 1797, 21, 1935, 9730, 13, 5, 11037, 4294, 3399, 6, 12015, 1157, 45, 7094, 17, 1061, 159, 9, 31, 22, 79, 452, 109, 1549, 619, 118, 121, 15458, 14, 1061, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 Formset with text to accompany each individual form === In a Django formset, is there a way to access a foreign key's data for each individual form? The end result of my question is to show the text for each question along with a form for the related answer, with multiple questions per page as defined in the formset. The models: class Question(models.Model): section = models.ForeignKey(Section) text = models.TextField() class Answer(models.Model): audit = models.ForeignKey(Audit) question = models.ForeignKey(Question) answer = models.NullBooleanField() ... The form: class AnswerForm(forms.ModelForm): class Meta: CHOICES = ( (True, "Yes"), (False, "No"), ) model = Answer exclude = ('audit') widgets = { 'question': forms.HiddenInput(), 'answer': forms.RadioSelect(choices=CHOICES), } And the view: def audit_section_answers(request, audit_id, section_index): audit = Audit.objects.get(pk=audit_id) section = audit.sections_to_audit.all()[int(section_index)] QuestionFormSet = modelformset_factory(Answer, form=AnswerForm) if request.method == 'POST': forms = QuestionFormSet(request.POST) if forms.is_valid(): forms.save() return HttpResponseRedirect(...) else: dic_list = [] for question in section.question_set.all(): answer, created = Answer.objects.get_or_create(audit=audit, question=question) dic_list.append(model_to_dict(answer)) forms = QuestionFormSet(initial=dic_list) return render_to_response("audit/section_questions.html", locals(), context_instance=RequestContext(request)) Now in the template, I want to do something like access {% for form in forms %} {{ form.question.text }} ... {% endfor %} but that doesn't work. I want the question select box to be hidden (and unchangeable), and I just want to see the text of the question. What is the best way to approach this?
0
[ 2, 3857, 14541, 505, 3554, 29, 1854, 20, 13743, 206, 1359, 505, 800, 3726, 3726, 19, 21, 3857, 14541, 505, 3554, 15, 25, 80, 21, 161, 20, 1381, 21, 1228, 1246, 22, 18, 1054, 26, 206, 1359, 505, 60, 14, 241, 829, 16, 51, 1301, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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# Mono Compatibility === Is there a program that can check .cs files for compatibility issues with Mono? I know about [MoMA](http://www.mono-project.com/MoMA), but that uses a programs libraries and executables. I am running a C# program with Mono 2.10.8. The program runs as it should, but the program allows the usage of scripts. These scripts are in the form of C#, but are not built into a dll, just loaded whenever the program starts or a reload command is sent.
0
[ 2, 272, 5910, 4129, 13, 21618, 800, 3726, 3726, 25, 80, 21, 625, 30, 92, 2631, 13, 9, 6824, 6488, 26, 13, 21618, 1549, 29, 4129, 60, 31, 143, 88, 636, 79, 4955, 500, 5, 21127, 6903, 6483, 9, 20027, 8, 21011, 9, 960, 118, 79, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
dynamically built form with jquery modal dialog === I have a form that is built when someone clicks the `Edit` button. Try this out here in the [**Fiddle**](http://jsfiddle.net/UtNaa/42/). Instead of hiding the table and showing the ugly form only, I wanted to put this into a jquery modal dialog while leaving up the table. I tried this outside the edit function but it doesn't seem to work: var dialogOpts={ modal:true, autoOpen: false, resizable:false, width: 625 } var $dialogform = $('#editform').dialog(dialogOpts); //init dialog $('#editbutton').click(function(e) { $dialogform.dialog('open'); }); Any ideas? Note: if you play around with the fiddle you will have to remove the `mydiv.show()/hide()` calls.
0
[ 2, 7782, 1326, 392, 505, 29, 487, 8190, 93, 13, 20756, 28223, 800, 3726, 3726, 31, 57, 21, 505, 30, 25, 392, 76, 737, 10840, 18, 14, 13, 1, 69, 242, 1, 5167, 9, 1131, 48, 70, 235, 19, 14, 636, 1409, 1707, 12312, 1409, 500, 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...
How to change version of Ruby being run in TextWrangler? === I have Ruby 1.9.2 installed on my system (Mac OS X 10.7.4). ruby -v ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0] When I use TextWrangler to run the following simple code: > puts RUBY_VERSION The output is "1.8.7". How do I get TextWrangler to run the newer version? Thanks.
0
[ 2, 184, 20, 753, 615, 16, 10811, 142, 485, 19, 1854, 499, 13119, 1252, 60, 800, 3726, 3726, 31, 57, 10811, 137, 9, 518, 9, 135, 4066, 27, 51, 329, 13, 5, 6893, 13, 759, 993, 332, 9, 465, 9, 300, 6, 9, 10811, 13, 8, 710, 10...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Rails 3 Doesn't Look In Public Folder For Assets On Show Method === In my show views whenever I try and display an image using the image_tag builder rails doesn't look for images in the public folder inside of my show views... For instance: <%= image_tag "thumbnails/fish.jpg" %> Will produce this: ActionController::RoutingError (No route matches [GET] "/uploads/thumbnails/fish.jpg"): I'm using the paperclip Gem for my upload model and **I'm saving uploads to a different folder than the public folder** for security reasons, and yes, this show view does occur within the Upload controller... In my Upload model I use this line to save uploads to a non-public folder: has_attached_file :upload, :path => ":rails_root/:class/:id/:basename.:extension", :url => ":rails_root/:class /:id/:basename.:extension" Rake routes: upload GET /uploads/:id(.:format) {:action=>"show", :controller=>"uploads"} PUT /uploads/:id(.:format) {:action=>"update", :controller=>"uploads"} DELETE /uploads/:id(.:format) {:action=>"destroy", :controller=>"uploads"} /download/:id(.:format) {:controller=>"uploads", :action=>"download"}
0
[ 2, 2240, 18, 203, 1437, 22, 38, 361, 19, 317, 19294, 26, 6223, 27, 298, 2109, 800, 3726, 3726, 19, 51, 298, 4146, 6634, 31, 1131, 17, 3042, 40, 1961, 568, 14, 1961, 1, 8628, 14960, 2240, 18, 1437, 22, 38, 361, 26, 3502, 19, 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...
Upstart - navigate to directory, git pull, then run daemontools === I am trying to create an upstart conf to both do a "git pull" on a local git repository and then start daemontools "svscan". They nee to be done in that order because the daemon processes rely n having the latest version of the files in the git repository. I tried: start on runlevel [12345] respawn pre-start script cd /scripts git pull end script exec /command/svscanboot and also: start on runlevel [12345] respawn chdir /scripts exec git pull exec /command/svscanboot But neither of these work. I'm looking for help in how to tell upstart to navigate to another directory and then execute a command there, prior to running a third command.
0
[ 2, 71, 13680, 13, 8, 20782, 20, 16755, 15, 13, 10404, 2201, 15, 94, 485, 13127, 20799, 18, 800, 3726, 3726, 31, 589, 749, 20, 1600, 40, 71, 13680, 13, 14093, 20, 156, 107, 21, 13, 7, 10404, 2201, 7, 27, 21, 375, 13, 10404, 248...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Subtract feet and inches in Java script for an Acrobat X form === I am trying to find a Java script to subtract feet and inches for an Acrobat X form. For example I would subtract 5 feet from 4 feet 4 inches and the total would be 8 inches. Any help would be much appreciated.
0
[ 2, 27031, 606, 17, 3829, 19, 8247, 3884, 26, 40, 21, 7638, 4900, 993, 505, 800, 3726, 3726, 31, 589, 749, 20, 477, 21, 8247, 3884, 20, 27031, 606, 17, 3829, 26, 40, 21, 7638, 4900, 993, 505, 9, 26, 823, 31, 83, 27031, 331, 606...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
jerky scroll with unbutton.layer.shadowColor === i got a uitableviewheader with lots of buttons. i use this to create a shadow on the buttons. Buttona.layer.shadowColor = [UIColor blackColor].CGColor; Buttona.layer.shadowOpacity = 0.7f; Buttona.layer.shadowOffset = CGSizeMake(10.0f, 10.0f); Buttona.layer.shadowRadius = 7.0f; Buttona.layer.masksToBounds = NO; Buttonb.layer.shadowColor = [UIColor blackColor].CGColor; Buttonb.layer.shadowOpacity = 0.7f; Buttonb.layer.shadowOffset = CGSizeMake(2.0f, 3.0f); Buttonb.layer.shadowRadius = 2.0f; Buttonb.layer.masksToBounds = NO; // and so on for buttonc to buttonf. the scroll on the table becomes jerky with all theses buttons. should i get rid go of the effect and just photoshop the buttons with the shadow? or am i doing something wrong here? thanks in advance
0
[ 2, 9566, 93, 12159, 29, 367, 811, 444, 9, 15187, 9, 18396, 11282, 800, 3726, 3726, 31, 330, 21, 13, 11193, 579, 4725, 1743, 106, 29, 7503, 16, 12861, 9, 31, 275, 48, 20, 1600, 21, 3118, 27, 14, 12861, 9, 5167, 58, 9, 15187, 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...
Data types in xslt === I am developing a json parser to xml using xslt transformer, thatis the output is type text. However does not provide the output data types. For example, the input xml has data that are string or int or date, and the xslt does not realize what kind they are and parse them all the same. My query is whether there is any way to import a xsd file (has the data types) within a xslt, xsd then you can check for the type of data and transform Finar accordingly. From already thank you very much!
0
[ 2, 1054, 2551, 19, 993, 18, 255, 38, 800, 3726, 3726, 31, 589, 3561, 21, 487, 528, 2017, 4104, 20, 23504, 568, 993, 18, 255, 38, 8007, 106, 15, 30, 403, 14, 5196, 25, 1001, 1854, 9, 207, 630, 52, 1181, 14, 5196, 1054, 2551, 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...
Is there software to contract word combinations? === I think it's a common situation when one needs to contract certain phrases to make identifiers, preserving the original sense. Is there a software/algorithms to facilitate it? I have a hundred word combinations each around 20 characters long which I want to turn into no-more-than-12-character-long identifiers.
0
[ 2, 25, 80, 2306, 20, 1305, 833, 17908, 60, 800, 3726, 3726, 31, 277, 32, 22, 18, 21, 757, 1858, 76, 53, 2274, 20, 1305, 1200, 18492, 20, 233, 25570, 18, 15, 17936, 14, 501, 1259, 9, 25, 80, 21, 2306, 118, 192, 6979, 242, 7015,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Performing buffering/windowing with overlap add CMSampleBufferRef === I'm trying to perform some basic DSP functions on PCM audio data which I retrieve from a video file using AVAssetReader on the iPhone. I'm reading the buffers correctly, number of samples per buffer is 8192 (is that by default? can that be changed?). However, I need to perform windowing, fft and various other manipulations on slices which aren't 8192 samples long. In fact I want to process 512 samples at a time with 50% overlap between each slice. I've been digging deep in Apple's Accelerate/vDSP framework and I think I can handle the processing and such, just not sure how to actually split up my signal the way I want it. I have a strong DSP background but unfortunately my DSP programming experience pretty much ends in MATLAB. Any help will be appreciated.
0
[ 2, 2955, 17497, 68, 118, 27508, 68, 29, 15406, 3547, 2390, 6101, 5106, 2345, 6866, 14057, 800, 3726, 3726, 31, 22, 79, 749, 20, 2985, 109, 2125, 13, 43, 3401, 3719, 27, 5168, 79, 4023, 1054, 56, 31, 11917, 37, 21, 763, 3893, 568, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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't use pgxml_xpath === I'm using PostgreSQL 9.1, I thought it was supposed to support this XML integration but I can't get it to work. I try this query: select data from ddm_table_data order by pgxml_xpath(data, '//xmltest/col1/text()', '', ''); And it comes up with the following errors: ERROR: function pgxml_xpath(xml, unknown, unknown, unknown) does not exist SQL state: 42883 Hint: No function matches the given name and argument types. You might need to add explicit type casts. Am I missing something?
0
[ 2, 92, 22, 38, 275, 13, 9623, 396, 8184, 1, 396, 8353, 800, 3726, 3726, 31, 22, 79, 568, 678, 6879, 18, 22402, 561, 9, 165, 15, 31, 289, 32, 23, 2293, 20, 555, 48, 23504, 8078, 47, 31, 92, 22, 38, 164, 32, 20, 170, 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...
Does make sense using php SoapClient object to access a Soap web service deployed in jBoss? === I'm pretty new to SOAP web server/client. I'd like to know if the following is possible (actually I'm doing a documentation for a future project and I don't have the tools to try by myself if it works): using php SoapClient object to access a Soap web service deployed in jBoss. The webservice is deployed in jBoss and a wsdl file is generated. I'd like to know if the following should work or what I should modify. My main doubts are the followings: * can I call a Soap client deployed in jBoss from a php web page? * should the xml file different than the one I wrote (it works when used to access the service from an android application),particularry function parameters? * what parameter should I pass to the web service from the php web page? My classes would be: (java project contains a single package "services") **File WEB-INF/lib/web.xml (in java project)** <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> <display-name>Test Services</display-name> <servlet> <servlet-name>services</servlet-name> <servlet-class>mainpackage.services</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>services</servlet-name> <url-pattern>/services</url-pattern> </servlet-mapping> <session-config> <session-timeout>120</session-timeout> </session-config> </web-app> **File src/services.java (in the same java project of the xml file)** : @WebService(name = "services") @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) public class services { @WebMethod public int getInt(@WebParam(name = "intNumber") int intNumber) { //comprobar si existe o no el usuario return getInt; } } **Calling code (from PHP WEB PAGE)** <?php // bind SOAP/Client.php -> path of the php file require_once "SOAP/Client.php"; // URI delivered to web service $sc = new SOAP_Client("http://localhost/SOAP/services.wsdl"); // start call function to use the function of the Web Service $result = $sc->call ("getInt",10,"urn:services"); // print result (should be print "10") print $result."\n"; ?> Thank you in advance for any hint
0
[ 2, 630, 233, 1259, 568, 13, 26120, 6447, 150, 18513, 38, 3095, 20, 1381, 21, 6447, 2741, 365, 6698, 19, 487, 10349, 18, 60, 800, 3726, 3726, 31, 22, 79, 1772, 78, 20, 6447, 2741, 8128, 118, 150, 18513, 38, 9, 31, 22, 43, 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...
Environment PATH Directories Iteration === I cant find any code (neither C nor C++ Boost.Filsystem) on how to *iterate* (*parse*) the directories present in the `PATH` environment variable in preferrably in a platform-independent way. It is not so hard to write but I want to reuse standard modules if they are available. Links or suggestions anyone?
0
[ 2, 2307, 2013, 559, 1596, 23534, 800, 3726, 3726, 31, 2973, 477, 186, 1797, 13, 5, 25994, 272, 2127, 272, 20512, 10419, 9, 11924, 10724, 6, 27, 184, 20, 1637, 2119, 5487, 2483, 13, 5, 2483, 3574, 870, 2483, 6, 14, 559, 1596, 734, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Droping table from DB using Java === How to drop the table from the datbase if any of threads still using the table. I have a requirement of Force drop of table. i am using some or mess of threads so i need to drop forcefully. Is any way to drop the table.
0
[ 2, 2804, 68, 859, 37, 13, 9007, 568, 8247, 800, 3726, 3726, 184, 20, 2804, 14, 859, 37, 14, 1331, 38, 8436, 100, 186, 16, 20396, 174, 568, 14, 859, 9, 31, 57, 21, 8981, 16, 558, 2804, 16, 859, 9, 31, 589, 568, 109, 54, 3957,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Mapping a network drive (WebDAV) doesn't work with Windows XP === i've got a problem mapping a network drive (WebDAV) under Windows XP using API method WNetAddConnection2. Under Windows 7 or it works like a charme. My code: function ConnectDrive(Drive: string; Folder: string; Username: string; Password: string; RestoreAtLogon: Boolean): HRESULT; var NetResource: TNetResource; dwFlags: DWORD; begin with NetResource do begin dwType := RESOURCETYPE_DISK; lpLocalName := PChar(Drive); lpRemoteName := PChar(Folder); lpProvider := nil; end; if (RestoreAtLogon) then dwFlags := CONNECT_UPDATE_PROFILE else dwFlags := 0; Result := WNetAddConnection2(NetResource, PChar(Password), PChar(Username), dwFlags); end; Everytime i try to connect Windows tells me: "The Network name cannot be found" or "The Network path cannot be found" As i said before, under Windows 7 there is no problem. If i use commercial tools like Netdrive, this program has no problem mounting the drive under XP, Vista or Windows 7. Has anyone an idea? Thanks in advance
0
[ 2, 13305, 21, 982, 1493, 13, 5, 14113, 43, 5214, 6, 1437, 22, 38, 170, 29, 1936, 23045, 800, 3726, 3726, 31, 22, 195, 330, 21, 1448, 13305, 21, 982, 1493, 13, 5, 14113, 43, 5214, 6, 131, 1936, 23045, 568, 21, 2159, 2109, 619, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
LDAP changing user password on Active Directory === I state that I am a complete beginner to LDAP. I have to let a user change its own password through an Android device. User has NOT administrative privileges. Using the [UnboudId LDAP SDK][1] for Java I'm able to bind to server and get the user entry using this code: final SocketFactory _socket_factory; final SSLUtil _ssl_util = new SSLUtil(new TrustAllTrustManager()); try { _socket_factory = _ssl_util.createSSLSocketFactory(); } catch (Exception e) { Log.e(LOG_TAG, "*** Unable to initialize ssl", e); } LDAPConnectionOptions _ldap_connection_options = new LDAPConnectionOptions(); _ldap_connection_options.setAutoReconnect(true); _ldap_connection_options.setConnectTimeoutMillis(30000); _ldap_connection_options.setFollowReferrals(false); _ldap_connection_options.setMaxMessageSize(1024*1024); LDAPConnection _ldap_connection = new LDAPConnection(_socket_factory, _ldap_connection_options, [host ip], 636, [username], [password]); Filter _filter = Filter.create("(userPrincipalName=" + [username] + ")"); SearchRequest _search_request = new SearchRequest([base DN], SearchScope.SUB, _filter); _search_request.setSizeLimit(1000); _search_request.setTimeLimitSeconds(30); SearchResult _search_result = _connection.search(_search_request); This works and I get 1 entry and all the relative attributes. Now my task is to change the password [password] with a new [new password]. My attempts: PasswordModifyExtendedRequest _password_modify_request = new PasswordModifyExtendedRequest([found entry DN], [password], [new password]); PasswordModifyExtendedResult _password_modify_result = (PasswordModifyExtendedResult)_ldap_connection.processExtendedOperation(_password_modify_request); This doesn't work due to LDAPException LDAPException(resultCode=2 (protocol error), errorMessage='0000203D: LdapErr: DSID-0C090C7D, comment: Unknown extended request OID, data 0, vece��', diagnosticMessage='0000203D: LdapErr: DSID-0C090C7D, comment: Unknown extended request OID, data 0, vece��') Then I've tryed final Modification _replace_modification = new Modification(ModificationType.REPLACE, "unicodePwd", _get_quoted_string_bytes([new password])); LDAPResult _result = _connection.modify([found entry DN], _replace_modification); This doesn't work due to LDAPException LDAPException(resultCode=50 (insufficient access rights), errorMessage='00000005: SecErr: DSID-031A0F44, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0) Finally I've tryed final Modification _delete_old_modification = new Modification(ModificationType.DELETE, "unicodePwd", _get_quoted_string_bytes([password])); final Modification _add_new_modification = new Modification(ModificationType.ADD, "unicodePwd", _get_quoted_string_bytes([new password])); final ArrayList<Modification> _modifications = new ArrayList<Modification>(); _modifications.add(_delete_old_modification); _modifications.add(_add_new_modification); LDAPResult _result = _connection.modify([found entry DN], _modifications); This doesn't work due to LDAPException LDAPException(resultCode=19 (constraint violation), errorMessage='00000005: AtrErr: DSID-03190F00, #1:0: 00000005: DSID-03190F00, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd)��', diagnosticMessage='00000005: AtrErr: DSID-03190F00, #1: 0: 00000005: DSID-03190F00, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd) ��') And now i have no more ideas... Any help will be appreciated, thanks in advance [1]: http://www.unboundid.com/products/ldap-sdk
0
[ 2, 644, 20472, 4226, 4155, 20884, 27, 1348, 16755, 800, 3726, 3726, 31, 146, 30, 31, 589, 21, 1279, 26931, 20, 644, 20472, 9, 31, 57, 20, 408, 21, 4155, 753, 82, 258, 20884, 120, 40, 13005, 3646, 9, 4155, 63, 52, 2168, 15977, 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...
publish asp.net web site to azure not an asp.net web project - How === using vs 2012 rc I have many exisiting asp.net (VB) web sites and I always simply select open web site when I edit them in VS, they are not web projects. I want to publish some of them now to my azure account, but if I simply right click the solution and select publish web site I dont get the same publish options as I do if it was a web project? I get the default publish option asking me where I want to place my compiled pages, how can I import the pubslish settings for my azure web site for web sites..... I DONT WANT TO HAVE TO CONVERT ALL WEB SITES TO PROJECTS - DO I....... Any help as I am loosing the will to live! Thanks Jon.
0
[ 2, 10824, 28, 306, 9, 2328, 2741, 689, 20, 25715, 52, 40, 28, 306, 9, 2328, 2741, 669, 13, 8, 184, 800, 3726, 3726, 568, 4611, 563, 16462, 31, 57, 151, 1396, 11368, 1203, 28, 306, 9, 2328, 13, 5, 20468, 6, 2741, 3259, 17, 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...
Why is scala.math.PartialOrdering.lteq abstract, rather than defined in terms of .tryCompare? === It seems that [`scala.math.PartialOrdering.lteq`](https://github.com/scala/scala/blob/v2.9.2/src/library/scala/math/PartialOrdering.scala#L58) must always be defined as (or at least, give the same result as): override def lteq(x: Pattern, y: Pattern) = { tryCompare(x, y).map(_ <= 0).getOrElse(false) } Is there some reason this implementation isn't given in the `scala.math.PartialOrdering` trait?
0
[ 2, 483, 25, 25975, 9, 14825, 9, 3091, 2815, 7861, 68, 9, 255, 38, 18550, 8502, 15, 864, 119, 2811, 19, 1663, 16, 13, 9, 5840, 18415, 99, 60, 800, 3726, 3726, 32, 2206, 30, 636, 1, 18, 3430, 58, 9, 14825, 9, 3091, 2815, 7861, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 do i set the date format for a Label Widget? === I don't understand how to put the pieces together. the script.. - Gets a data range from a google spreadsheet. - Filters the data into a new array - Adds data to a widget label. dates are displayed as 'Tue Oct 06 1942 00:00:00 GMT-0400 (EDT)' and i want 'Oct 6, 1942.' How do i use "Utilities.formatDate(new Date(), "GMT", "yyyy-MM-dd'T'HH:mm:ss'Z'");" with "grid.setWidget(i +1, 2, ui.createLabel(mapData[i][3]));"? Thanks.
0
[ 2, 184, 107, 31, 309, 14, 1231, 2595, 26, 21, 1899, 4807, 43, 3060, 60, 800, 3726, 3726, 31, 221, 22, 38, 1369, 184, 20, 442, 14, 2491, 429, 9, 14, 3884, 9, 9, 13, 8, 3049, 21, 1054, 978, 37, 21, 8144, 1789, 17627, 9, 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...
unix check if a file refernced by any symlinks === how to check if a file is being referenced by any symlinks in the directory, i want to delete all the other files except the symlink & the refernced file.Is there any direct command to check or a work around to do so?
0
[ 2, 22540, 2631, 100, 21, 3893, 5017, 6175, 43, 34, 186, 13, 7261, 6258, 18, 800, 3726, 3726, 184, 20, 2631, 100, 21, 3893, 25, 142, 17571, 34, 186, 13, 7261, 6258, 18, 19, 14, 16755, 15, 31, 259, 20, 27448, 65, 14, 89, 6488, 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...
Any R function to translate amino acid sequences to nucleotide sequences? === Wondering if there is any R function available, since I'm using the package Phangorn and want to convert the amino acid sequences back in order to calculate pairwise distances at the nucleotide level.
0
[ 2, 186, 761, 1990, 20, 20628, 15211, 4135, 11173, 20, 13, 22489, 11173, 60, 800, 3726, 3726, 5712, 100, 80, 25, 186, 761, 1990, 904, 15, 179, 31, 22, 79, 568, 14, 6030, 351, 7065, 8771, 17, 259, 20, 8406, 14, 15211, 4135, 11173, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0...
Not able to assign multiple enums to single column of UltraWinGrid ValueList? === I have a wingrid in which if single enum is assigned to column valuelist then it displays the enum name perfectly. But when i assign multiple enums to the valuelist column it assign all cell values as numbers corresponding to enum value and only for the last enum which was assigned to valuelist shows the enum value perfectly e.g. Column A 1 65 EnumName Above is column which shows the scenario happening, it show me numbers for all except for lastone, seems it is overriding the value list item and grid is able to display enum name only for the one declared last. e.Layout.Bands[0].Columns["Quantity"].ValueList = e.Layout.ValueLists["QuantityType"]; e.Layout.Bands[0].Columns["Quantity"].ValueList = e.Layout.ValueLists["CrimEmpQuantityType"]; e.Layout.Bands[0].Columns["Quantity"].ValueList = e.Layout.ValueLists["CrimCreditQuantityType"]; Here QuantityType, CrimEmpQuantityType, CrimCreditQuantityType are my enums and column displays enum names for "CrimCreditQuantityType" and number for rest of enums with their respective enum names. Is there any way i can assign multiple enum to valuelist of single column?? Or any other Can somebody pls help me on this?
0
[ 2, 52, 777, 20, 13952, 1886, 1957, 723, 18, 20, 345, 4698, 16, 6885, 3546, 5175, 1923, 5739, 60, 800, 3726, 3726, 31, 57, 21, 1756, 5175, 19, 56, 100, 345, 1957, 723, 25, 2467, 20, 4698, 1923, 5739, 94, 32, 9412, 14, 1957, 723, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
CSS transform: rotate bug in safari === i've never used css transform before and when i put my hand on it i got different output in different browsers. it looks fine in firefox, i thing chrome too... but it is messed up in safari.... here is a link:: http://tinyurl.com/c858fhw .have a look in safari and firefox(the center box), hope you understand what i mean. is there any tricks or hacks for safari to fix that problem or is there any other way that is supported by safari too. Thanks in advance!
3
[ 2, 272, 18, 18, 8007, 45, 21448, 6256, 19, 25055, 800, 3726, 3726, 31, 22, 195, 243, 147, 272, 18, 18, 8007, 115, 17, 76, 31, 442, 51, 224, 27, 32, 31, 330, 421, 5196, 19, 421, 16495, 18, 9, 32, 1879, 1123, 19, 535, 18219, 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...
Why does .Where() on an IQuerable return a different type based on whether a Lamba or Fun<T,Tresult> are passed as parameters === In my Entity Framework Code First project I have a repository object which contains routes public class EFRepository { ... public IQueryable<Route> Routes { get { return context.Routes; } } ... } If I run var routes = this.repository.Routes .Where(r => r.DeployedService.IsActive.HasValue && r.DeployedService.IsActive.Value); The routes object is of type `IQueryable<Route>`. However, if I run Func<Route, bool> routeIsActive = r => r.DeployedService.IsActive.HasValue && r.DeployedService.IsActive.Value; var routes = this.repository.Routes.Where(routeIsActive); The routes object in this case is of type `IEnumerable<Route>`. I would have thought that they would be evaluated the same but clearly I am wrong. What is the difference between the two statements and why do they return different types.
0
[ 2, 483, 630, 13, 9, 2798, 5, 6, 27, 40, 31, 8190, 579, 788, 21, 421, 1001, 432, 27, 1472, 21, 8624, 58, 54, 2414, 1, 38, 15, 38, 29955, 1, 50, 1100, 28, 12905, 800, 3726, 3726, 19, 51, 9252, 6596, 1797, 64, 669, 31, 57, 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...
CodeIgniter remove index.php displays 404 === I know that this subject has been seen many times here, but I didn't see any of them solving my issue here... I have an application that is working with Codeigniter. I try to remove the index.php in the URL, but it seems I'm cursed today. Here's what I have in my config.php file : $config['base_url'] = "http://".$_SERVER['SERVER_NAME']."/"; $config['index_page'] = ""; $config['uri_protocol'] = 'AUTO'; And here's my .htacess (such as CI suggests) : RewriteEngine on RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] With this, I'm unable to remove the index.php in the URL. In fact, it removes it well, but I have a pretty 404 then on the screen. I checked the `phpinfos()` to see if the mod_rewrite was rightly activated, and there's no problem on this side. Could anyone suggests me something please to solve this ? Thanks !
0
[ 2, 1797, 9693, 242, 106, 4681, 4348, 9, 26120, 9412, 13, 23397, 800, 3726, 3726, 31, 143, 30, 48, 1550, 63, 74, 541, 151, 436, 235, 15, 47, 31, 223, 22, 38, 196, 186, 16, 105, 17533, 51, 1513, 235, 9, 9, 9, 31, 57, 40, 3010,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Scoping the Taxonomy list in admin === I have a taxonomy in WordPress that is used across several custom post types. Furthermore there is an additional field in this taxonomy that points to the custom post types it is primarily associated with (I use the handy plugin Simple Term Meta for creating meta attributes in taxonomies). What I'd like to be able to do in the "edit-tags.php" administration screen is to have the ability to only see items that are associated with a particular post type (ideally a toggle switch which could move between seeing "all" and "single CPT". To help illustrate, let me give some contextual names to this problem so people can better visualize it. I have a non-hierarchical taxonomy called "actions". An action has a custom property called "post-type" that allows each action to be associated to a primary CPT. The CPTs would include things like: - Exercise - Sleep - Diet - Mood What I'm hoping for is an example of where people have hooked into the edit screen and added a little JS magic at the top to filter certain rows of the table. Any help would be greatly appreciated.
0
[ 2, 11530, 3181, 14, 26802, 968, 19, 21, 43, 2160, 800, 3726, 3726, 31, 57, 21, 26802, 19, 833, 5890, 30, 25, 147, 464, 238, 5816, 678, 2551, 9, 6438, 80, 25, 40, 1351, 575, 19, 48, 26802, 30, 819, 20, 14, 5816, 678, 2551, 32, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
running an exe file from a sql job === i'm trying to run an exe from a sql job. the db is on the server, as well as the exe file. the exe is supposed to write stuff on a log. even though the sql job is successful, i see no change on the log file. i've checked the exe locally, and it does work. The job runs on type cmdexec, and the command is : \\ustlvint02\c\FixProjectsWhichFailedSync\FixProjectsWhichFailedSync.exe ustlvint02 - the server's name. the path is valid, since i tested it by running it from my computer (and there, the log isn't created as well). i'll appreciate any help you can offer. Hadas
0
[ 2, 946, 40, 1396, 62, 3893, 37, 21, 4444, 255, 1205, 800, 3726, 3726, 31, 22, 79, 749, 20, 485, 40, 1396, 62, 37, 21, 4444, 255, 1205, 9, 14, 13, 9007, 25, 27, 14, 8128, 15, 28, 134, 28, 14, 1396, 62, 3893, 9, 14, 1396, 62...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Show Associated Product Images In Magento === I have my configurable products on my Magento site, I am trying to make it so that instead of showing the images that are upload to the config product, I want it so the more images section shows the images that are uploaded to the associated products only. I've found that the images are being pulled in by this code <ul id="more"> <?php foreach ($this->getGalleryImages() as $_image): ?> <li><a href="<?php echo $this->htmlEscape($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(70, 70); ?>" width="70"/></a></li> <?php endforeach; ?> </ul> Hopefully someone knows how to edit this code so it is only pulling in the images of the associated products and link these to change the main image when clicked?
0
[ 2, 298, 1598, 2374, 3502, 19, 4723, 17050, 800, 3726, 3726, 31, 57, 51, 1065, 13549, 579, 1985, 27, 51, 4723, 17050, 689, 15, 31, 589, 749, 20, 233, 32, 86, 30, 700, 16, 3187, 14, 3502, 30, 50, 71, 8294, 20, 14, 13, 14093, 281...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Spring android restful architecture === I want to develop spring restful application which contains all business services and login/logout services My Spring Controller (Client Application) and Android App( Mobile Client application) should use login /logout services which resides spring restful application spring or andorid client send registration details including username and password to Restful Application (Restful application stores password using some encryption algorithm). How to achieve this ? After Registration spring or android client send username and passowrd to rest application through restservice url and in back rest spring application validate against the registered username and password from datasource and send back authorization. How to achieve this? Busines Services Spring or Android client send request to Restful spring application to get business services to display some data. Where should i start ?. How to design this or any sample stuff which does restful registration and authentication and how to make sure that each and every request is accessed by validate user after authorization. I understand, that i am asking lot . But please direct me to right place or righ book or blog which will give clear picture Thanks in Advance
0
[ 2, 1573, 13005, 760, 1566, 2607, 800, 3726, 3726, 31, 259, 20, 2803, 1573, 760, 1566, 3010, 56, 1588, 65, 508, 687, 17, 6738, 108, 118, 5567, 1320, 687, 51, 1573, 9919, 13, 5, 150, 18513, 38, 3010, 6, 17, 13005, 4865, 5, 3241, 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...
jdbc resultSet slow performance === hiii, i am calling a stored procedure in a java class in my web application, there are some reports that are taking to much time to render the jsp/HTML ,i have also chercked with stored procedure query its taking only 2 seconds to execute in oracle browser. i have checked my SP calling code where i found that my result set fetch time is very less,but when in trying to iterate result set with While(rst.next) it will almost take 3 mins to print SOP inside the while loop,i doubt there must be issue with ret.next(), my code is as follows, Connection connection = null; CallableStatement stmt = null; ResultSet rst = null ; connection = DBConnector.getConnection(); stmt = connection.prepareCall("{call MIS_GSGR_ASON.MIS_DIVNETSALE_ASON(?,?,?,?,?,?,?,?,?)}"); stmt.setString(1,START_DT); stmt.setString(2,END_DT); stmt.setString(3,DIVISION); stmt.setString(4,LOC_ID); stmt.setInt(5,USER_GRP); stmt.setInt(6,FIELD_ID); stmt.setInt(7,Integer.parseInt(PERIOD_ID)); stmt.setString(8,zone); stmt.registerOutParameter(9+INC,OracleTypes.CURSOR); stmt.execute(); rst = (ResultSet) stmt.getObject(9+INC); System.out.println("Got resultset . . . ."); data = new ArrayList<MainActionAll>(); while(rst.next()){ System.out.println("In loop");} any help will be highly appriciated,please help me out thanks ,amol
0
[ 2, 487, 43, 7229, 1736, 1198, 2276, 956, 800, 3726, 3726, 4148, 2865, 15, 31, 589, 2555, 21, 8214, 7004, 19, 21, 8247, 718, 19, 51, 2741, 3010, 15, 80, 50, 109, 2813, 30, 50, 741, 20, 212, 85, 20, 16535, 14, 487, 3401, 118, 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...
RECORD_SOUND_ACTION intent, go straight to recordings list === I have an application that fires the intent for the voice recorder (RECORD_SOUND_ACTION), but I want it to go straight to the listing of recordings. Is there a putExtra I can add to get this result?
0
[ 2, 571, 1, 8489, 1, 8645, 6936, 15, 162, 1599, 20, 4655, 968, 800, 3726, 3726, 31, 57, 40, 3010, 30, 11327, 14, 6936, 26, 14, 430, 14173, 13, 5, 14953, 1, 8489, 1, 8645, 6, 15, 47, 31, 259, 32, 20, 162, 1599, 20, 14, 9554, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
efficiently hiding 10,000 columns in HTML table which has 12,000 columns === This situation is after this Question: [http://stackoverflow.com/questions/11507705/how-to-hide-show-table-columns-based-on-row-cell-values][1] Now that it has been achieved, a new problem has come up. some tables have very large number of columns. (say around 12000 columns). On systems which have enough RAM table is being displayed correctly, but hiding column operation is taking very long time (almost failing), getting the dialog box 'script taking long time... jquery...'. how can i make it faster? here is the code from my earlier question (by j08691): var col = new Array(); $('tr').eq('1').find('td').each(function() { if ($(this).text() == 20 || $(this).text() == 50) { col.push($(this).index()); } }); $('th,td').each(function() { if ($.inArray($(this).index(), col)==-1) $(this).hide(); });​ [1]: http://stackoverflow.com/questions/11507705/how-to-hide-show-table-columns-based-on-row-cell-values
0
[ 2, 20519, 5314, 6693, 7498, 19, 13, 15895, 859, 56, 63, 17088, 7498, 800, 3726, 3726, 48, 1858, 25, 75, 48, 1301, 45, 636, 21127, 6903, 25325, 2549, 9990, 9, 960, 118, 24652, 18, 11698, 9839, 20810, 10551, 1544, 8, 262, 8, 19522, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 change image on hover with javascript === Hey guys I'm new here and i'm looking to do something on my website, I have a div and I want that when people hover it with mouse it change the image in it into another image. I found this http://jsfiddle.net/EXNZr/1/ but it's only working when I hover the image, how do I make it change when I hover the div? Thanks in advance and sorry for broken english <div id="content"><img id="changeonhover" src="../test/images/yes.png"></div> this is my code, i want that when people hover on "content" the image in "changeonhover" change into no.gif for example
0
[ 2, 184, 20, 753, 1961, 27, 21350, 29, 8247, 8741, 800, 3726, 3726, 8409, 2776, 31, 22, 79, 78, 235, 17, 31, 22, 79, 699, 20, 107, 301, 27, 51, 2271, 15, 31, 57, 21, 13, 12916, 17, 31, 259, 30, 76, 148, 21350, 32, 29, 7567, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Check during typing in jquery, not after blur === I have a small problem that is probably easy to fix, but I'm not that good yet. I have written this simple code $(document).ready(function(){ $('#email').change(function(){ var regexp = /^\w+[@]\w+\.\w{2,4}$/; if(regexp.test($(this).val())){ document.getElementById("submit").disabled = false; } }); }); It checks is email valid in form, then if it is - it enables the SUBMIT button. The problem is that it validates the email after I click anywhere else, NOT during typing. So basically I have to click somewhere outside the email field and then I can click SUBMIT. If I will type a proper email and won't click anywhere outside this field it won't unlock the SUBMIT. What should I change here? Any ideas? I kindly appreciate all answers. Thank you in advance.
0
[ 2, 2631, 112, 25266, 19, 487, 8190, 93, 15, 52, 75, 10330, 800, 3726, 3726, 31, 57, 21, 284, 1448, 30, 25, 910, 2010, 20, 6098, 15, 47, 31, 22, 79, 52, 30, 254, 768, 9, 31, 57, 642, 48, 1935, 1797, 5579, 5, 28132, 6, 9, 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...
Responsive design captcha/recaptcha === So I'm creating a rails application signup page. I've used the Zurb Foundation grid in order to create the site layout. The problem I'm having is that when the grid is resizing, the recaptcha isn't doing the same, and starts to go out of it's bounds. There doesn't seem to be a way of redesigning the layout short of editing the javascript. Does anybody know of a good responsive design solution for captcha and rails?
0
[ 2, 13, 22153, 704, 13960, 1651, 118, 99, 4666, 38, 1651, 800, 3726, 3726, 86, 31, 22, 79, 2936, 21, 2240, 18, 3010, 1676, 576, 2478, 9, 31, 22, 195, 147, 14, 14131, 220, 1304, 7354, 19, 389, 20, 1600, 14, 689, 9106, 9, 14, 144...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Trigger css background image position when hovering over parent div === I have one question, how do I trigger a background position transition of a child div by hovering hover the parent div? I didnt find any answer at all concerning this issue, specificaly related to background positioning. Since 3 days im trying to trigger such transition with CSS but it just doesnt work when hovering over the parent div, only the child. Help is appreciated. Im trying to achieve this with the grey circle backgrounds with the numbers you see in the website below. www.rolfvohs.com/audio_samples.php
0
[ 2, 7286, 272, 18, 18, 2395, 1961, 649, 76, 18503, 84, 4766, 13, 12916, 800, 3726, 3726, 31, 57, 53, 1301, 15, 184, 107, 31, 7286, 21, 2395, 649, 4513, 16, 21, 850, 13, 12916, 34, 18503, 21350, 14, 4766, 13, 12916, 60, 31, 1182, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 escape whitepace in Rails? === I know that rails automatically escapes characters like '<' or '&', but this does nothing for multiple spaces next to each other. I would like to escape everything, including spaces. I understand that normally you don't want to use `&nbsp;` and that you should use css instead. However, I'm trying to take user input and display it, so css isn't feasible. For example, I have the user input: <code>&nbsp;&nbsp;&nbsp;&nbsp;test&nbsp;&nbsp;&nbsp;&nbsp;</code>. When I display it with <code><%=@user_input%></code> in the view, the whitespace is removed. Is there an easy way to escape the whitespace? Should I just use <code>h @user_input</code> and then replace all the spaces?
0
[ 2, 184, 20, 2220, 359, 10055, 62, 19, 2240, 18, 60, 800, 3726, 3726, 31, 143, 30, 2240, 18, 7499, 16366, 1766, 101, 13, 22, 1, 22, 54, 13, 22, 1569, 22, 15, 47, 48, 630, 626, 26, 1886, 7644, 328, 20, 206, 89, 9, 31, 83, 10...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Multiple MySQL queries (no PHP) === I am wondering if it is possible to perform a SQL query then update another table with the generated ID and continue through all of the rows? I have this SQL query that works but what I need to do is after each row is added to cards to then update merged.cars_id with the last generated ID so they are linked. normally I would do this with PHP but ideally I would like to just do it with MySQL if possible. MAIN QUERY INSERT INTO cards (first_contact_date, card_type, property_id, user_id) SELECT first_contact_date, 'P', property_id, user_id FROM merged THEN I NEED WITH MATCHING ROWS (Roughly) UPDATE merged SET merged.card_id = LAST_INSERT_ID (FROM ABOVE) into the matching record.. Is something like this possible and how do I do it?
0
[ 2, 1886, 51, 18, 22402, 9386, 2829, 13, 5, 251, 13, 26120, 6, 800, 3726, 3726, 31, 589, 5712, 100, 32, 25, 938, 20, 2985, 21, 4444, 255, 25597, 94, 11100, 226, 859, 29, 14, 6756, 4924, 17, 1816, 120, 65, 16, 14, 11295, 60, 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...
can I test an android app developed by me in my motorola atrix? === what I simply want to do is to know if, can I just download the android SDK develop an app and test it in my motorola atrix? I mean using my phone as a debugger. I'd like to start developing apps but I'd like to know how do I test them in my phone. Regards
1
[ 2, 92, 31, 1289, 40, 13005, 4865, 885, 34, 55, 19, 51, 2586, 2268, 21, 17224, 60, 800, 3726, 3726, 98, 31, 1659, 259, 20, 107, 25, 20, 143, 100, 15, 92, 31, 114, 7121, 14, 13005, 13, 18, 43, 197, 2803, 40, 4865, 17, 1289, 32...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Looking for Implementation of AES-128 and DES in C === I need C versions of AES-128 and DES to run on an embedded SPARC processor. I'm trying to measure the power of these algorithms in software and hardware. Is there a website where I could find software implementations? Currently I can compile C code with my cross-compiler so any language implementations other than C would not be useful. I have implemented DES in hardware before. How much work would people estimate (hours/lines of code) to implement a software version?
0
[ 2, 699, 26, 6123, 16, 21, 160, 8, 22545, 17, 1746, 19, 272, 800, 3726, 3726, 31, 376, 272, 3281, 16, 21, 160, 8, 22545, 17, 1746, 20, 485, 27, 40, 12138, 13, 18, 22773, 14762, 9, 31, 22, 79, 749, 20, 4058, 14, 414, 16, 158, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...
Convert jQuery plugin to Kentico web part === I am using Kentico 6 and am trying to convert the jQuery supersized plugin (full screen background slide show) into a web part so that editors will be able to choose the images that will be included in the slide show. I'd rather not use a web part repeater that will list the selected images in the HTML and then let the script handle the rest due to the fact that the images are large and this will greatly affect the page load time. The plugin does a good job of optimizing the load time by loading the images from an array rather than loading all the images at once when the page loads. What I would like to do is pass an array of user selected images to the javascript function that initiates the slide show. What is the best way to do this? Is it possible to do so with transformation?
0
[ 2, 8406, 487, 8190, 93, 10922, 108, 20, 4422, 7776, 2741, 141, 800, 3726, 3726, 31, 589, 568, 4422, 7776, 400, 17, 589, 749, 20, 8406, 14, 487, 8190, 93, 1026, 6560, 10922, 108, 13, 5, 13727, 2324, 2395, 6464, 298, 6, 77, 21, 27...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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...