text
stringlengths
102
284k
nemo_id
stringlengths
18
18
Take the 2-minute tour × If somebody could point me into the direction how to learn about this or even if its possible. I'm developing a new website locally with SQL Server 2005. I dislike having to detach it, ftp it to the production server then to reattach it. Is there a way where I can make my development testing...
dclm-gs1-044890000
Take the 2-minute tour × I'd like to be able to parse a web page and return any element that has a title containing exactly 4 letters. For example: <li><a href="test.com/dogs" title="dogs"></a></li> <li><a href="test.com/cat" title="cat"></a></li> <li><a href="test.com/horse" title="horse"></a></li> <li><a href="tes...
dclm-gs1-044900000
Take the 2-minute tour × There is a good article that explains how to access the Azure cache from a node.js web role (via the memcache shim): But how can I set up the memcache shim for a node.js worker role? share|improve this question add comment 1 Answer up vote 0 down vote accepted I found that I can access t...
dclm-gs1-044910000
Take the 2-minute tour × I am using a FileUploader in webform to upload an image.What i want to do is as the image is browsed through FileUploader and selected, it should be displayed in the ImageControl as preview so that it can be further saved into DataBase. share|improve this question If you plan on supporting on...
dclm-gs1-044920000
Take the 2-minute tour × Algorithm to clone a tree is quite easy, we can do pre-order traversal for that. Is there an efficient algorithm to clone a graph? I tried a similar approach, and concluded we need to maintain a hash-map of nodes already added in the new graph, else there will be duplication of nodes, since o...
dclm-gs1-044930000
Take the 2-minute tour × I know that a lot of Y2K efforts/scare was somehow centered on COBOL, deservedly or not. (heck, I saw minor Y2K bug in a Perl scripts that broke 1/1/2000) What I'm interested in, was there something specific to COBOL as a language which made it susceptible to Y2K issues? That is, as opposed ...
dclm-gs1-044940000
Take the 2-minute tour × I'm looking into chaining promises to populate my scope, and then having the scope automatically update the dom. I'm running into problems with this though.. If I call "then" on an already resolved promise, it creates a new promise (that will call the success function asynchronously but almos...
dclm-gs1-044950000
Take the 2-minute tour × I'm trying to find out whether I should be using business critical logic in a trigger or constraint inside of my database. So far I've added logic in triggers as it gives me the control over what happens next and means I can provide custom user messages instead of an error that will probably c...
dclm-gs1-044960000
Take the 2-minute tour × Assume that I have an Ecore-model containing a package and some classes that make reference to each other. If i create a "Dynamic Instance", Eclipse produces an XMI-file and I can instantiate some classes. Containment-relations are directly serialized to an XML-tree in the XMI (the children el...
dclm-gs1-044970000
Take the 2-minute tour × I am trying to use NAudio to create a multiple sound output application. We have 8 USB sound cards installed. NAudio lets me use all 8 but I can't figure out a pattern for determining which device index is which card. The cards will be hooked up to different hardware so it is important to mak...
dclm-gs1-044980000
Take the 2-minute tour × so i have this piece of code: render :json => { :objects => @object.object_children } This works. But What I only want are certain attributes only. I saw this: filter json render in rails 3 and in it is this: respond_to do |format| format.json { render json: @objects.object_children, :only...
dclm-gs1-044990000
Take the 2-minute tour × I am dealing with an application which is using a lot of graphics (the library Raphael and graphdracula). Basically, the application is drawing different graphs. Let's say that we have 3 pages which are drawing graphs: 1. graph1 2. graph2 3. graph3 Let's say we have the following URL: ...
dclm-gs1-045000000
Take the 2-minute tour × I have attempted implementing search in Telescope using pure javascript, since it looks like FTS is a while off for Meteor to implement and I couldn't get 2.4 playing nicely with Meteor yet. I'm using the existing pagination model that is already implemented in Telescope to display the Top/Ne...
dclm-gs1-045010000
Take the 2-minute tour × I would like to hide any text matching a pattern from any HTML page, before it is displayed. I tried something like that with Greasemonkey : var html = document.body.innerHTML; html = html.replace( /some pattern/g, '???' ); document.body.innerHTML = html; The text I want to hide is correctl...
dclm-gs1-045020000
Take the 2-minute tour × I'm programming in Python and I'm obtaining information from a web page through the urllib2 library. The problem is that that page can provide me with non-ASCII characters, like 'ñ', 'á', etc. In the very moment urllib2 gets this character, it provokes an exception, like this: File "c:\Python...
dclm-gs1-045030000
Take the 2-minute tour × I've in my logback.xml configuration file this appender: <appender name="FILE" <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> <Pattern>%d{dd MMM yyyy;HH:mm:ss} %-5level %logger{36} - %msg%n <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRolli...
dclm-gs1-045040000
Take the 2-minute tour × Short version: How do I incorporate Hibernate into an application without using an IDE or build tool (without Eclipse or Maven for example)? Long version: Let's imagine for a moment I live in a country where Eclipse and Maven (and their ilk) are illegal. The government has decreed we all wri...
dclm-gs1-045050000
Take the 2-minute tour × I know how to write this using Nunit, Assert.That(exception, Is.InstanceOfType(typeof(TypeNotRegisteredException))); How can I write the same thing using in Xunit, as Xunit does not have Assert.That. share|improve this question add comment 2 Answers up vote 2 down vote accepted You might...
dclm-gs1-045060000
Take the 2-minute tour × I have created a shopping cart price rule programmatically. The rule seems to have been created and works fine. But sometimes on opening the frontend section or page which contains this code for creating the rule, I get the error --- Invalid method Mage_SalesRule_Model_Rule::applyAll(Array ( )...
dclm-gs1-045070000
Take the 2-minute tour × I'd like to open all the similarly tagged bookmarks in Firefox at once. Example use case: I have a few sites with regex tools bookmarked and when I need to write a regex, I usually open each one before I start working. Each of these sites is a Firefox bookmark and is tagged "regex". I would l...
dclm-gs1-045080000
Take the 2-minute tour × Is there any enterprise distribution program for blackberry applications? Is there any method similar to Apple's enterprise distribution of iphone applications? While going through their documentation, they are talking about using a deployment server and distributing apps with it. Note: for...
dclm-gs1-045090000
Take the 2-minute tour × Can anyone tell me how i can manually edit my naming convention of my routes.. Let me explain. I am programming everything in english as per microsoft standards but i require www.mydomain.com/Reserva (Spanish for reservation) I actually have the following ReservationController and then b...
dclm-gs1-045100000
Take the 2-minute tour × I started making this game a while back and I'm nearly done. All I want to do now is to make a video animation right at the start of the game. So when you click on the game icon you go directly to a video animation then to the main game screen. It will show all the people that made it and deve...
dclm-gs1-045110000
Take the 2-minute tour × I'm the administrator of a facebook page and I was looking throw the statistics /insights. I noticed that all of the statistics came in percentage values. Is there anyway I can see the absolute values? I even can't find the total of users so I can make the maths with the percentage values that...
dclm-gs1-045120000
Take the 2-minute tour × Stupid question and treat me as completely a newbie to version control. I'm new to Git (I've used subversion before, but just the basics) I understand the basics of Git and its branching commands, I have an imaginary situation that need your advice. Suppose my software currently is at v1.2, ...
dclm-gs1-045130000
Take the 2-minute tour × I was after creating a destination folder to allow Vagrant go ahead with the synced_folder configuration, so I created my bash script and tested it outside the environment. This is working fine, so I decided to move it as an inline script just to make my Vagrant file easy to read. However, I ...
dclm-gs1-045140000
Take the 2-minute tour × I am trying to store callbacks in a dictionary. • I can't use blocks as the iPhone doesn't support this (unless you use plblocks). • I tried using functions, but apparently NSMutableDictionary doesn't allow these pointers (wants an id) • I tried using class methods, but I couldn't find ...
dclm-gs1-045150000
Take the 2-minute tour × OK, I'm an Eclipse noob, just working through the first couple of Plug-In creation tutorials and I have this really annoying problem: I can't figure out how to stop Eclipse from always building all projects when I only want to run one of them. Let me elaborate: I have project A (Java), B (Jav...
dclm-gs1-045160000
Take the 2-minute tour × Recently programming in PHP, I thought I had a working Perl regular expression but when I checked it against what I wanted, it didn't work. What is the right expression to check if something is a MD5 has (32 digit hexadecimal of a-z and 0-9). Currently, I have /^[a-z0-9]{32}$/i share|improv...
dclm-gs1-045170000
Take the 2-minute tour × I would like my app to connect to an https site, without user input required. So, I would like to send the app a certificate that the app will install in the keychain, and allow it to connect to the https site without the user getting involved. How can I do this? share|improve this question...
dclm-gs1-045180000
Take the 2-minute tour × What the API uses for work with plug devices, something like this app: square iphone scanner ?CocoaTouch, some from Foundation? share|improve this question add comment 3 Answers up vote 3 down vote accepted Square works through the headphone jack, so it doesn't use the External Accessory f...
dclm-gs1-045190000
Take the 2-minute tour × I'm having quite a problem here, and I think it is because I don't understand very much how I should use the API provided by Java. I need to write an int and a byte[] into a byte[] I thought of using a DataOutputStream to solve the data writing with writeInt(int i) and write(byte[] b), and t...
dclm-gs1-045200000
Take the 2-minute tour × I am trying to optimise the boot-up time of linux on an embedded device (not PC) Currently to profile the boot-up sequence, I have enabled the timing info on printk logs. Is this the most optimum way? If not, how do i profile the boot-up sequence (with timing) with minimum overhead? I have ...
dclm-gs1-045210000
Take the 2-minute tour × I created an instance of a custom class RestaurantList to hold my data (a list of restaurant data received from a web service as json data). How can I save it in onSaveInstanceState? share|improve this question add comment 3 Answers up vote 13 down vote accepted Custom objects can be save...
dclm-gs1-045220000
Take the 2-minute tour × I'd like to write a new website from scratch. I'll be using PHP for server-side and Flash/HTML for client-side. How can I achieve a website navigation something like this http://mariotestino.com/ [site auto-plays sound] Notice when you click on Projects | Arts | Contacts...etc...you do not s...
dclm-gs1-045230000
Take the 2-minute tour × In experimenting with scriptblocks, I was attempting to use a scriptblock parameter with an advanced function and noticed that it performs differently than when supplied to a compiled cmdlet. In reviewing this blog post from the PowerShell Team blog, it appears that the PowerShell engine shou...
dclm-gs1-045240000
Take the 2-minute tour × I'm grabbing a portion of the screen and scanning through the pixels for a certain color range. I looked at MSDN's Capturing an Image example and know how to use the functions. I can get the bits into an array, but I'm not sure how to do it in such a way that I can loop through it as I would...
dclm-gs1-045250000
Take the 2-minute tour × For my thesis I need to measure the performance of Binary Binding vs. basicHttp(Soap) Binding in WCF Services and a Silverlight Client for a specific object. I already found some example performance data for these bindings. I wonder how to measure them by myself for a specific object. Are t...
dclm-gs1-045260000
Take the 2-minute tour × Is it possible to simulate mouse's move in PHP ? By that I mean to do something like : $mouse->moveToCoordinate($x,$Y); // will move the screen to to the coordinate $X, $Y of the screen $mouse->moveVector($x,$Y); // will move from the current point to the (current X + $X, current Y + $Y); $m...
dclm-gs1-045270000
Take the 2-minute tour × I am trying to print the value pointed to by an address but the problem is I need to dereference this pointer based on the size that is passed to me. So something of this sort: void print(Address addr, Int size) { I am a little confused on how to achieve this. Can someone point me in the rig...
dclm-gs1-045280000
Take the 2-minute tour × This is a follow up to an older question. Given a ISBN number, e.g. 3-528-03851-5 which exception type should I raise if the passed in string doesn't match the format X-XXX-XXXXX-X? share|improve this question add comment 3 Answers up vote 5 down vote accepted Raise a ValueError. It's pr...
dclm-gs1-045290000
Take the 2-minute tour × Hey Guys, I am having a problem with the alarmManager and the pending intent with extras that will go along with it. If I set multiple alarms, They will go off however the extras stay the same. I have already read into these questions ( android pending intent notification problem and Android k...
dclm-gs1-045300000
Take the 2-minute tour × anyone can decrypt below error and explain what cause this error? share|improve this question add comment 1 Answer up vote 1 down vote accepted your Home page implementation is recursively throwing a RedirectException. Open your Home class and figure out why you are causing redirection t...
dclm-gs1-045310000
Take the 2-minute tour × How to create a drag and drop canvas in HTML 5 ? (something inside the canvas) and how to capture the dropped location ? share|improve this question do you want to drag and drop the canvas element itself or something inside the canvas? –  clamp Dec 17 '10 at 8:59 something inside the canvas –...
dclm-gs1-045320000
Take the 2-minute tour × I recently started working with jQuery and was wondering how I would iterate through a collection (an array or list of items) of items and sum their contents. Does jQuery have something like a for-loop like many other languages do? Would there be an easy way to implement this - if this isn't...
dclm-gs1-045330000
Take the 2-minute tour × Coupled days ago I noticed that my web application giving me sql an exception timeout expired. I cleaned up couple stored procedures taking more cpu and restarted SQL Server service and my application started work as it was before fast and without any delay. After a three four hours I checked...
dclm-gs1-045340000
Take the 2-minute tour × I have been trying all weekend to find a way to get my program to answer a question using a sting with a scanner class. For example I need to get my program to answer a question like Who is on the 5 dollar bill? Input would be Lincoln and other inputs would be invalid the question will have ...
dclm-gs1-045350000
Take the 2-minute tour × I am trying to add objects to a persistent store in Core Data. When the user taps the save button I initialize a new object which is a subclass of the NSManagedObject class and in the data model. Profile *newProfile = [[Profile alloc] initWithEntity:[NSEntityDescription entityForName:@"Profil...
dclm-gs1-045360000
Take the 2-minute tour × Can someone provide answer to this situation?? Suppose I have 2 tables: Table Books with values Batch_no and Title Batch_no - Title 1 - A 2 - B Table Book_Authors with values Batch_no and Author_no Batch_no - Author_no 1 - 1 1 - 2 1 - 3 2 - 1 How should I merge the values into 1 row whic...
dclm-gs1-045370000
Take the 2-minute tour × I'm new to VB6 but i'm currently in charge of maintaining a horror of editor like tool with plenty of forms, classes, modules and 3rd party tools all chunk together like the skin faces on that guy in the texas chainsaw massacre... What i don't understand is why i get different results when i ...
dclm-gs1-045380000
Take the 2-minute tour × i am working in android frameworks.i want to add an item to the existing settings in the android OS.can u plz tell me how to do this? share|improve this question add comment 1 Answer up vote 0 down vote accepted First read about PreferenceActivity. These group of classes handle user prefs....
dclm-gs1-045390000
Take the 2-minute tour × I've managed to set up my nginx.conf file and it looks like this: root www www; worker_processes 1; worker_rlimit_nofile 8192; events { worker_connections 8000; accept_mutex off; error_log logs/error.log; pid logs/nginx.pid; http { # Set the mime-types include ...
dclm-gs1-045400000
Take the 2-minute tour × I just installed Casandra on my windows machine. When I run cassandra.bat everything seems to be ok - no errors, just some debug statement. I then launch the client - cassandra-cli.bat, and no matter whet I type in at the command prompt (other that ?) I get back a ... with a tab and a bilking...
dclm-gs1-045410000
Take the 2-minute tour × i want the numbers to be displayed in this format.. 1 2 3 4 5 ^ where if i press 5, then it should display from 5 to 10 5 6 7 8 9 10 till the max records are available. i just want to know a how to do this for displaying numbers. share|improve this question What is your user interface fram...
dclm-gs1-045420000
Take the 2-minute tour × I am new to WPF and I am creating an application which uses the TabControl. I am using a DataTemplateSelector and my datasource is an object I created from XML which have the properties "type" and "categoryID". I select my data template based on the "type" which works fine but I also need to c...
dclm-gs1-045430000
Take the 2-minute tour × I'm checking if this is a sitecore bug, or if I'm missing something obvious. EDIT FOR CLARIFICATION: The problem I'm having is that I'm trying to set up the configuration settings in the Domains.config file so that Sitecore shouldn't be creating (and/or returning) an anonymous user for a doma...
dclm-gs1-045440000
Take the 2-minute tour × My structure is thus: companynamespace/__init__.py is empty projectpackage/__init__.py has this line: import companynamespace.projectpackage.somemodule as module_shortname When I open up a python console and type import companynamespace.projectpackage (PYTHONPATH is set correctly for this...
dclm-gs1-045450000
Take the 2-minute tour × While Uploading an Excel File i need to check any data present in first sheet say sheet1. im reading the file using oledbreader and converting to datatable. here im checking values is there in datatable if it is empty, therfore it is assumped that excel sheet has no vlaues. This is the code i...
dclm-gs1-045460000
Take the 2-minute tour × I'm a mac user giving vim a serious try. Most of the GUI editors I'm used to allow me to open a directory as a "project" by executing a command like: edit ~/www/example.com/ The vim equivalent vim ~/www/example.com/ will show me a list of files in the directory, and I can open them. But it d...
dclm-gs1-045470000
Take the 2-minute tour × In my web application, I need to be able to allow users to upload and download their images. How can this be don in ASP.net? I want to user to be able to sign in (I already have that done) and be able to upload images to their account. Later on, I want them to be able to download them. shar...
dclm-gs1-045480000
Take the 2-minute tour × I'm building an application to record when my cat has an asthma attack. I'm not interested in the exact time since glancing at the time in interval of 15 minutes is easier to review (e.g. rounding 9:38am should be recorded as 9:45am). I looked for a UDF at cflib.org for this but couldn't find...
dclm-gs1-045490000
Take the 2-minute tour × I want to make a line chart that updates every couple of seconds and doesn't need the page to be refreshed(it would get the info from a separate file that updates on a server), is their any JavaScript libs(other than JQuery) that will make this is easy? could anyone show mean example on a webp...
dclm-gs1-045500000
Take the 2-minute tour × I'm currently working on replacing a legacy system with JAXB and I'm running into problem with parsing the XML. The number one requirement of the system is that it must be a drop-in replacement so I cannot modify the format of the XML. Below is the XML section that is giving me trouble. The ...
dclm-gs1-045510000
Take the 2-minute tour × Does anyone know how can I do a 301 redirect traffic from one domain to the other - including all the same url elements after domain name - and apply the same rule to all possible links without writing it for each url separately - example would be something like this: to redirect to: At th...
dclm-gs1-045520000
Take the 2-minute tour × How can I make Lion's new Java installer prompt launch when my application is opened? Example: http://kb2.adobe.com/cps/909/cpsid_90908.html eclipse appears to do it but NetBeans does not. share|improve this question I remember there was a JARBundler application (or something similarly name...
dclm-gs1-045530000
Take the 2-minute tour × I have a sunspot/solr setup for fulltext searching model attributes. My QA just searched on " and +, both of which caused a 500 error: Solr Response: orgapachelucenequeryParserParseException_Cannot_parse__Encountered_EOF_at_line_1_column_0_Was_expecting_one_of_____NOT_________________________...
dclm-gs1-045540000
Take the 2-minute tour × When I use the Facebook Graph API to post to a wall as that wall (using the page access token generated from a user with the appropriate permissions), the request always returns the same ID (so it successfully posts, but I'm not getting a unique ID--it's the same every time). As such, I can't ...
dclm-gs1-045550000
Take the 2-minute tour × This is really a bioinformatics question, but I'll make it as general as I can. Here's the semi-hypothetical situation: Let's say I have access to a cluster or even a cloud. I want to run some very specific programs on this cluster/cloud (genomic/transcriptomic assembly programs to be exact)....
dclm-gs1-045560000
Take the 2-minute tour × I am trying to check for auto-correlation in a zoo object (monthly data with several columns) using: acf(jan, plot=F)$acf[2] but I get the following error: Error in na.fail.default(as.ts(x)) : missing values in object To simplify, I extracted just one of the columns which I called "a" (so ...
dclm-gs1-045570000
Take the 2-minute tour × I am with trouble related to Haskell Random generator. At university, i have to deal with Java all my way around, so now I'm, corrupted with it. I am developing a game in Haskell, and now I face something like 'chance to do something', and that chance needs to be like Int -> Bool. In Java, I w...
dclm-gs1-045580000
Take the 2-minute tour × I have two labels within a li amd i want to style second label, is there a way to target the second label. It has to work on IE7 I wrote like this <label for="asi plan status">A&SI Accountable VP:</label> <label>Tye Schriever</label> ul li label label{color:red} A...
dclm-gs1-045590000
Take the 2-minute tour × I created a small test Mac app using the Core Data template (on Lion 10.7 and Xcode 4). I used the example on this site, http://www.swampfoetus.net/chapter-7-fail/, to hook up all the Cocoa Bindings with a tableview, an NSArrayController, a text box and an Add button. The NSArrayController is ...
dclm-gs1-045600000
Take the 2-minute tour × Internal error 500 is such a general error and nothing shows up in the logs under /wordpress/error_log. Is there a way to get a stack trace of where the crash is occurring? In ASP.NET it is so easy because a stack trace, code snippet, and line number all show up in the error page. Any help wou...
dclm-gs1-045610000
Take the 2-minute tour × I have finished my premium project finally, but it still needs last enhancements, I want to sell it and give premium keys so only the key holders can run the version. I have already made a basic system for such thing; http://brutallyviralwpplugin.com/check/form.html but I am sure the code ca...
dclm-gs1-045620000
Take the 2-minute tour × my following query needs more then two minutes and i don't which index is the best to improve the performance: FROM forwarding WHERE fDate BETWEEN '2011-06-01' AND '2011-06-30' GROUP BY shop; The EXPLAIN result: id select_type table type possible_keys ...
dclm-gs1-045630000
Take the 2-minute tour × I'm starting to use facebook graph api to create events with javascript! It works very well except for image. I create event in this way: name: 'TEST', start_time: '2011-12-01T15:00:00', end_time: '2011-12-02T15:00:00', location: 'here', picture: 'http://www.ostianews....
dclm-gs1-045640000
Take the 2-minute tour × I was trying to authorize ajax action methods in my MVC3 application. The problem occurs when the user session expires and an ajax action method is asked to execute. The asp.net Authentication system sends 302 redirect instead of sending 401 which seems logical for non-ajax requests. But with ...
dclm-gs1-045650000
Take the 2-minute tour × By definition (at least from what I've seen) sargable means that a query is capable of having the query engine optimize the execution plan that the query uses. I've tried looking up the answers, but there doesn't seem to be a lot on the subject matter. So the question is, what does or doesn't ...
dclm-gs1-045660000
Take the 2-minute tour × I was wondering if there was a simple way to convert an array like this, which is passed from my form [Uk3] => Array [code] => BOARD Info an array that can be used in a find, like this [Uk3.code] => BOARD Of course I wrote a loop to do it, but I would think the...
dclm-gs1-045670000
Take the 2-minute tour × I find myself needing to put guards like this: if hash[:foo] && hash[:foo][:bar] && hash[:foo][:bar][:baz] puts hash[:foo][:bar][:baz] I'd like to shorten this in some way; I know I can wrap in a begin/rescue block but that seems worse. Maybe something like: ruby Hash include another ha...
dclm-gs1-045680000
Take the 2-minute tour × There is such code: #include <iostream> int main() int size; std::cin >> size; size = size + 1; int tab3[size]; tab3[0] = 5; std::cout << tab3[0] << " " << sizeof(tab3) << std::endl; return 0; The result is: $ g++ prog.cpp -o prog -Wall -W $ ./prog 5 24 Why does this code...
dclm-gs1-045690000
Take the 2-minute tour × I have a class extended from CCSprite that implements CCTargetedTouchDeledate like so: @interface PianoKey : CCSprite <CCTargetedTouchDelegate> { This has the following methods relating to the CCTouchDispatcher: -(void) onEnter { [super onEnter]; [[CCTouchDispatcher sharedDispatche...
dclm-gs1-045700000
Take the 2-minute tour × Is there any possiblity to trigger a 302 instead of an 404 in cloudfont? I am currently working on a CDN for pictures. The basic setup should be like that 1) Our server delivers a HTML page with pictures in it. Those pictures are linked to a cdn in amazons cloudfont 2) If the file, does not...
dclm-gs1-045710000
Take the 2-minute tour × By default the toolbar buttons in PyQT are aligned to the left, is it possible to make them centered so that they slide along when resizing? share|improve this question add comment 1 Answer up vote 5 down vote accepted I am not sure I understand correctly, but if you are looking for a way ...
dclm-gs1-045720000
Take the 2-minute tour × Having a table with the following fields: it is required that all orders in a given group form a continuous sequence. For example: 1,2,3,4 or 4,5,6,7. How can I check using a single SQL query what orders do not comply with this rule? Thank you. Example data: Order Group Sequence 1 1 3 ...
dclm-gs1-045730000
Take the 2-minute tour × I found I could generate XDocument object from html by using SgmlReader.SL. https://bitbucket.org/neuecc/sgmlreader.sl/ The code is like this. public XDocument Html(TextReader reader) XDocument xml; using (var sgmlReader = new SgmlReader { DocType = "HTML", CaseFolding = CaseFolding....
dclm-gs1-045740000
Take the 2-minute tour × In the paper "The Riemann Hypothesis" by J. Brian Conrey in figure 6 there is a plot of the Fourier transform of the error term in the prime number theorem. See the plot to the left in the image below: Plots from Conrey's paper on the Riemann hypothesis In a blog post called Primes out of Th...
dclm-gs1-045750000
Take the 2-minute tour × I am trying to install a program that requires the libmad (MPEG audio decoder library) library on Mac OS X 10.7 Lion, but installing libmad.0.15.b results in this error: That library installs fine on OS X 10.5. Is it a 64-bit compatibility issue? I can't find any specific instructions or doc...
dclm-gs1-045760000
Take the 2-minute tour × I am about to release my first firsion of an android app. I was thinking about using android's licensing service (LVL) for my app. But now I am not sure if it wouldn't be better just not to use any licensing service. • a) LVL can be cracked anyhow • b) LVL causes some delay of my app Wh...
dclm-gs1-045770000
Take the 2-minute tour × I am using Struts2. And having trouble in test a String for null or empty. The String is in a loop. What I have done so far is in Action class I have a List<User>. User have id and name fields and have getters and setters... in JSP i am doing like <s:iterator value="userList" var="user" st...
dclm-gs1-045780000
Take the 2-minute tour × I am newbie in Node and it's modules so this might be a naive question. I am using NowJS to provide real time facebook like notifications to the users. My flow is like this 1. When an event takes place, a notification for it is stored in the DB 2. I make a POST request to my Node server ...
dclm-gs1-045790000
Take the 2-minute tour × Forgive me for asking something that is probably explained elsewhere, but I am having trouble designing a data model in Cassandra. I am storing transactions. These transactions each have a source (user), a timestamp, and some associated keywords. I need to be able to find transactions given t...
dclm-gs1-045800000
Take the 2-minute tour × I have some code using Lucene that leaves the default conjunction operator as OR, and I want to change it to AND. Some of the code just uses a plain QueryParser, and that's fine - I can just call setDefaultOperator on those instances. Unfortunately, in one place the code uses a MultiFieldQuer...
dclm-gs1-045810000
Take the 2-minute tour × I have a client that already generates a MSI file for each of their web appliations. They want an InstallShield wrapper installation that will allow a user to select which web application(s) they want and have InstallShield put the appreciate MSI file(s) on the user's machine and then execute ...
dclm-gs1-045820000
Take the 2-minute tour × OK, So I am having some issues with getting data from a form to bind to a model class I have. I have a class Question that basically looks like this: public class Question extends Model { @Id @Required public int id; public String title; public String body; So I want to use t...
dclm-gs1-045830000
Karthikeyan Arumugam less info 175 reputation bio website location Chennai, India age 24 visits member for 2 years, 5 months seen 8 hours ago graduated as Electrical engineer but Software Engineer by profession... basically JAVA Guy.. interested in Pervasive computing, Voice based application, LiNuX, Cloud.... etc e...
dclm-gs1-045840000
Take the 2-minute tour × I'm looking to use XML in InDesign that comes from a live url as it's constantly updating from a database. I know I can download the XML and import it from the desktop but does anyone know how to pull it straight from the XML page online at a URL? Any advice appreciated! I'm running CS5. sh...
dclm-gs1-045850000
Take the 2-minute tour × I have got SSH on my remote ubuntu box and Remote desktop enabled. I am trying to use X-windows on my Windows machine. I have installed Cygwin/X - however the user guide tells me how to run XServer in Windows. I would like to connect to my Ubuntu machine (I have verified that this box X11 + P...
dclm-gs1-045860000
Take the 2-minute tour × I'm searching this PDF (84 pages) for the word 'software', which appears regularly – but neither Safari or Preview can find it. If I search for 'soft' it finds instances like "VISSOFT', which is right next to the word 'Software' that it doesn't find. I'm interested to know: Am I going mad? I...
dclm-gs1-045870000
Take the 2-minute tour × I've got an old Dell Optiplex 170L with Windows XP that is running about as fast as a speeding glacier. It's really just used for the kids to play on, but even they are complaining it's too slow. Rather than spend a few hundred bucks on a new computer, I thought I might try upgrading the RAM f...
dclm-gs1-045880000