fasttext_score float32 0.02 1 | id stringlengths 47 47 | language stringclasses 1
value | language_score float32 0.65 1 | text stringlengths 49 665k | url stringlengths 13 2.09k | nemo_id stringlengths 18 18 | is_filter_target bool 1
class | word_filter bool 2
classes | word_filter_metadata dict | bert_filter bool 2
classes | bert_filter_metadata dict | combined_filter bool 2
classes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
0.068669 | <urn:uuid:be39063f-ae24-45fd-8861-9dbd874f32a3> | en | 0.826793 | Take the 2-minute tour ×
What should I do to set coffeescript in Locomotivejs.
It seems very easy, but I couldn't figure that out.
I set options in "all.js", without luck.
I think I'm almost there or very far to get it right. :(
Any help is appreciated.
share|improve this question
add comment
1 Answer
up vote ... | http://stackoverflow.com/questions/14489677/how-do-i-set-coffescript-in-locomotivejs | dclm-gs1-102900001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.464255 | <urn:uuid:73224ddf-fc21-48ba-ae97-63ce0bbb44c9> | en | 0.923343 | Take the 2-minute tour ×
In some projects of mine I used SQL code, this is nothing special. But I was rethinking this strategy. I searched SO for something to separate my code and SQL statements.
I found one answer which I liked, Collecting all your SQL statements in a properties file. I think it's nice and clean. B... | http://stackoverflow.com/questions/14585593/separating-sql-from-java-code | dclm-gs1-102910001 | false | false | {
"keywords": "engineering"
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.653542 | <urn:uuid:307ab6f3-63cf-448f-824a-e1a470272c4e> | en | 0.895931 | Take the 2-minute tour ×
pg_dump compress option has the following description:
Specify the compression level to use. Zero means no compression. For the custom archive format, this specifies compression of individual table-data segments, and the default is to compress at a moderate level. For plain text output, setti... | http://stackoverflow.com/questions/14773279/pg-dump-compression-format | dclm-gs1-102930001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.981301 | <urn:uuid:06dded50-be75-4f0c-a2ec-d998cf5f89ed> | en | 0.862021 | Take the 2-minute tour ×
I have recently started learning the wonders of pthreads according to POSIX 1003.1c.
PThreads may seem complex, but they are basically simple threads that we use in the class to create parallel behavior: https://computing.llnl.gov/tutorials/pthreads/
As I am still learning, my teacher gave u... | http://stackoverflow.com/questions/15079049/write-vs-fprintf-why-different-and-which-is-better | dclm-gs1-102940001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.022438 | <urn:uuid:ec4e046f-ecc0-478c-bd16-8a4dcd072b01> | en | 0.771237 | Take the 2-minute tour ×
After building APPS.war with the Tomcat stock server.xml, I copied the WAR to $TOMCAT_HOME/webapps.
After I started Tomcat, the WAR exploded, but then, when I navigate to h_ttp://localhost:8080/APPS/, I get a 404 error.
Any ideas?
share|improve this question
What is shown in the logs? – La... | http://stackoverflow.com/questions/15167107/hosting-multiple-wars-in-tomcat/15196743 | dclm-gs1-102960001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.131343 | <urn:uuid:2636dcad-8e13-49a8-ad31-cf802af2addf> | en | 0.857861 | Take the 2-minute tour ×
I have several tables in my database. Blogs, Users, Posts, Tags are the main ones. Also I have linking tables: User_blogs, Blog_posts & Post_tags.
My question is how to use Laravel's classes and methods like belogs_to(), has_many(). I need someone shed light on it. I've read many articles and... | http://stackoverflow.com/questions/15228152/laravel-working-with-models-my-db-tables | dclm-gs1-102970001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.2683 | <urn:uuid:d60623d0-3f3e-4113-bef6-fef45055cd5a> | en | 0.744364 | Take the 2-minute tour ×
When I use a test device running ios 5.1.1 I get sigabrt. I think i need code which is compatible with ios 5.
When using an exception breakpoint it stops at this line of code.
[self.window makeKeyAndVisible];
Here is code in my appDelegate. I haven't done much in my viewController except ad... | http://stackoverflow.com/questions/15288257/sigabrt-on-launch-when-using-ios-5-1-1/15288437 | dclm-gs1-102980001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.937411 | <urn:uuid:a6ab3036-419a-4c4c-b017-447b233d320e> | en | 0.827358 | Take the 2-minute tour ×
OpenGL is very confusing for me and I'm not used to a lot of graphic terminology, etc. which is very rampant in many tutorials. I understand how to draw triangles, circles, and quads, polygons, etc. but now I'm trying to understand how textures work.
Could someone point me in the right direct... | http://stackoverflow.com/questions/15463674/jogl-confusion-how-do-textures-work | dclm-gs1-102990001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.114871 | <urn:uuid:0ee5c468-7970-491a-b3a1-18f183b97526> | en | 0.890793 | Take the 2-minute tour ×
I have google analytics installed for my own domain, http://mydomain.com. Will a user that enters http://www.mydomain.com be counted by the analytics script too?
To me it seems logical that it would, since it is so common to have the naked domain address be the same site as the www-prefixed o... | http://stackoverflow.com/questions/1561514/does-google-analytics-combine-naked-domains-with-the-www-subdomain | dclm-gs1-103000001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.033552 | <urn:uuid:da9796aa-9cf1-4796-ba5b-c28b6a4f8951> | en | 0.872466 | Take the 2-minute tour ×
I have this strange issue I can't overcome apparently, I am trying to retireve a Twitter JSON feed using the script tag at the bottom of my page:
<script src="http://api.twitter.com/1/statuses/user_timeline/haunted85.json?count=15&callback=listTweets" type="text/javascript"></script>
I want ... | http://stackoverflow.com/questions/15865381/cant-load-twitter-json-feed-within-script-tag | dclm-gs1-103010001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.317226 | <urn:uuid:d03e8987-638d-49ae-959f-ee5fa3ce8344> | en | 0.9349 | Take the 2-minute tour ×
I need to know what are the numbers means when i convert wav file to binary array.. I understand the first ~44 bytes are the header but how can I interpreter the bytes data?? There is some table for this values?
share|improve this question
A bit more detail could be helpful. What do you want... | http://stackoverflow.com/questions/15972003/wave-file-in-java-wav-as-numbers-explain-urgent/15973053 | dclm-gs1-103020001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.548619 | <urn:uuid:13fc9204-256d-44b6-b003-4c1b1166ff86> | en | 0.966453 | Take the 2-minute tour ×
We've just experienced an issue where a newly attached Dev instance "picked up" schema changes that had been made to the previous Dev database but were not present in the Live DB replica before it was renamed and attached as Dev.
The Dev DB starts as a log shipping standby that is fully resto... | http://stackoverflow.com/questions/16084231/attaching-a-db-inherits-schema-changes-from-db-previously-attached-with-same-n | dclm-gs1-103030001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.075182 | <urn:uuid:3c71274c-8897-4eba-a29b-740306f56063> | en | 0.903928 | Take the 2-minute tour ×
My app needs to run on 10.4 or later. If I launch it on 10.3 it just fails to launch or crashes.
How do you tactfully enforce minimum system requirements? Can you customize the message it shows?
share|improve this question
Honestly, does anyone even use 10.3 anymore? If this is a commercial ... | http://stackoverflow.com/questions/1616063/how-do-you-enforce-the-minimum-os-requirements-in-a-cocoa-app?answertab=oldest | dclm-gs1-103040001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.028483 | <urn:uuid:37e7431b-161a-450b-9bb6-a158f99bb29b> | en | 0.892436 | Take the 2-minute tour ×
I am trying to write a desktop app for Windows 7 using NFC technology.
I could not find any API for it.
The Proximity API - http://msdn.microsoft.com/en-us/library/windows/apps/br212057.aspx can only support Windows 8, it is disappointing.
Where can I found a API for NFC that is not tied to... | http://stackoverflow.com/questions/16261123/does-net-4-5-support-nfc-proximity-api | dclm-gs1-103050001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.254076 | <urn:uuid:c0212ada-7b16-46c0-8196-5d4e25c42219> | en | 0.913446 | Take the 2-minute tour ×
Is there a way to show the complete internal structure of an R object in an unambiguous and human readable way?
The str function doesn't exactly do this, as it shows custom representations. For example, applying it to an igraph object gives something like
IGRAPH U--- 3 3 -- Full graph
+ attr... | http://stackoverflow.com/questions/16366733/show-internal-structure-of-an-r-object | dclm-gs1-103070001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.496755 | <urn:uuid:5a1447f3-b9ac-4431-bb64-4436bd01d357> | en | 0.872071 | Take the 2-minute tour ×
-injars ${dist}/${jarname}
-target 5
-libraryjars '${java.home}/lib/rt.jar'
-optimizationpasses 4
-repackageclasses ''
-keep public class * {
public static void main(java.lang.String[]);
according to the stack of the except... | http://stackoverflow.com/questions/1697025/java-proguard-library-doesnt-work-after-optimization?answertab=active | dclm-gs1-103100001 | false | false | {
"keywords": "spike"
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.619684 | <urn:uuid:0d79365c-76f7-46e1-b0d4-8bd7c0b9f335> | en | 0.918609 | Take the 2-minute tour ×
I was reading this defense of MongoDB by 10gen. On issue #3, it says getLastError doesn’t work pipelined. What does it mean by that? What exactly does 'pipelined' mean in this context?
share|improve this question
add comment
Your Answer
Browse other questions tagged or ask your own quest... | http://stackoverflow.com/questions/17651966/what-does-pipelining-mean-with-respect-to-a-database-context | dclm-gs1-103130001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.086012 | <urn:uuid:53fe3b3b-a95e-4a0c-99e2-b6bc361e57ed> | en | 0.824107 | Take the 2-minute tour ×
I want to send a HTML email using HTML template. I would like to just replace some value's from that HTML template. Any idea how to achieve this?
share|improve this question
This question has been answered here before: http://stackoverflow.com/questions/620265/can-i-set-up-html-email-template... | http://stackoverflow.com/questions/1769917/net-c-sharp-email-using-email-template/1770016 | dclm-gs1-103140001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.34411 | <urn:uuid:8b3c739e-d3d4-4fe2-8413-83b654e2777b> | en | 0.897335 | Take the 2-minute tour ×
I am going to improve a web site in Apache and PHP which has a page with a table containing a list of files. My goal is to allow the user to set one of those files as the “important” one based on some specific and subjective criteria. In order to do that, I want to store the information regard... | http://stackoverflow.com/questions/17876424/php-store-information-with-no-database | dclm-gs1-103150001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.064307 | <urn:uuid:6de65717-acef-42fd-9e62-e533402e9fcb> | en | 0.903253 | Take the 2-minute tour ×
I'm new to the red5 server and only a basic understanding of programming. I managed to set up red5 on a windows 7 64 bit environment and am able to reach the server from my local network.
The reason that I want to use this server is to host videos of a lan party. My idea was/is to capture eve... | http://stackoverflow.com/questions/18017070/red5-application | dclm-gs1-103160001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.492197 | <urn:uuid:ec137896-88b2-42a9-b016-5e5f1cc9ee24> | en | 0.84304 | Take the 2-minute tour ×
I am using ng-grid to display a list of items. I want to give my users ability to rearrange the rows in the list. i.e move the rows up and down as they please.
Now, However when I update the grid data in the backend i.e say change the index of a particular row, that row does not automaticall... | http://stackoverflow.com/questions/18361988/grid-not-updating-upon-change-in-model-in-angularjs | dclm-gs1-103180001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.73785 | <urn:uuid:bef2b08a-aac1-41fa-aff1-692c61d1ca0c> | en | 0.784878 | Take the 2-minute tour ×
I've been trying a few combinations but can't seem to come up with something that works. More information about the API I'm asking about can be found here https://developers.google.com/admin-sdk/directory/v1/reference/users/insert . I have a feeling I'm just not setting up the request correctl... | http://stackoverflow.com/questions/18457099/has-anyone-figured-how-how-the-create-a-user-with-the-admin-directory-api-using | dclm-gs1-103190001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.336106 | <urn:uuid:d935eba2-233d-4c8b-8323-7a7d1e852646> | en | 0.750383 | Take the 2-minute tour ×
I adapted this plugin for jQuery that uses the parallax effect for my website. Problem is (even in the demo in the link above) that Chrome and IE have a really NOT smooth scroll.. it only works well when you press the middle button on the mouse and the scroll is continuous (not "step-by-step" ... | http://stackoverflow.com/questions/18563802/chrome-and-ie-parallax-jquery-animate-is-not-smooth-when-using-mouse-wheel-to | dclm-gs1-103200001 | false | true | {
"keywords": "mouse, delta"
} | false | null | false |
0.345613 | <urn:uuid:abc89bcb-8393-4129-88e4-3a9d00728499> | en | 0.866792 | Take the 2-minute tour ×
I'm pulling my hair out trying to write a script, powershell or VBS, that will recursively search for user PST files and move them to dedicated DFS shares for each user. (As part of log off users have been running the "move open/connected pst files" script sourced from this site, so any pst fi... | http://stackoverflow.com/questions/18583098/find-and-move-user-files-to-dfs-server | dclm-gs1-103210001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.24815 | <urn:uuid:b07d1a99-e7f6-4e44-9be9-d66213c54a78> | en | 0.850417 | Take the 2-minute tour ×
When I load my action CarsController#show in browser, I get this error message:
Timeout::Error in CarsController#show
execution expired
And the error pointing out on this line:
country = GeoIp.geolocation(ip, :precision => :country)
The whole action:
def show
@car = Item.find_by_car_... | http://stackoverflow.com/questions/18703297/rails-error-in-action-timeouterror-in-carscontrollershow | dclm-gs1-103220001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.635254 | <urn:uuid:a8b06ef0-111b-4563-8830-6582f5aee6d1> | en | 0.866273 | Take the 2-minute tour ×
my problem "should" be simple but I am still not able to solve it.
I am currently working on a project that requires some heavy computations (done in C++) and some post-simulations data analysis (done in Python).
However, now I am changing the main algorithm and I will need to "cycle" some c... | http://stackoverflow.com/questions/18748836/extend-and-embed-python-and-numpy-with-c-and-gsl-pass-gsl-matrix-to-pytho?answertab=active | dclm-gs1-103230001 | false | false | {
"keywords": "vector"
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.158311 | <urn:uuid:f7f7dbaa-bd0e-47bb-a0e1-3f1b897e1ff2> | en | 0.770754 | Take the 2-minute tour ×
I have a text file which contains 2 columns separated by a tab, containing some data that I would like to read into arrays and perform some simple operations for instance plot the data. The data in the second column is in scientific notation and can takes extremely small values such varying fr... | http://stackoverflow.com/questions/19023512/error-with-reading-float-from-two-column-text-file-into-an-array-in-python/19023597 | dclm-gs1-103250001 | false | false | {
"keywords": "a sequence"
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.060225 | <urn:uuid:9c6105a8-c1b7-4877-b972-c3079ed09044> | en | 0.842057 | Take the 2-minute tour ×
I'm working with datastax 3.1 on a single node with 4Go of RAM. I have not change anything in cassandra-en.sh and cassandra.yaml except the "--Xss" (because of my java version which require a little more) So by default Cassandra set to 1Go my -Xms and -Xmx parameters: -Xms1024M -Xmx1024M
But ... | http://stackoverflow.com/questions/19364883/datastax-solr-cassandra-will-now-flush-up-to-the-two-largest-memtables-to-free | dclm-gs1-103260001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.409453 | <urn:uuid:76a67e0d-771b-4152-a522-36c494eb2932> | en | 0.767894 | Take the 2-minute tour ×
Is it possible to "disable" or lock the selection of a ng-grid using the inbuilt functionality? I want the user to be able to select a row, click a button and then the grid will stay locked until the user presses another button.
share|improve this question
add comment
1 Answer
up vote 2 dow... | http://stackoverflow.com/questions/19688400/howto-disable-selection-in-grid/19745002 | dclm-gs1-103270001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.353095 | <urn:uuid:b3bf9e04-b6be-48ad-88a1-da3b429e3be3> | en | 0.897225 | Take the 2-minute tour ×
I'm trying to backup my shared bzr repository. I have looked at bzr export hotcopy.tgz but it seems only to take a snapshot of the latest revision.
Is there a command for doing backups, or do I have to
1. full checkout into a tmp dir
2. compress the tmp dir
3. remove the tmp dir
Or is... | http://stackoverflow.com/questions/1976857/bzr-create-tgz-file-containing-full-repository | dclm-gs1-103280001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.853031 | <urn:uuid:ae448051-a7d9-4683-9d2a-f8d3c9b5e5cd> | en | 0.874009 | Take the 2-minute tour ×
I have text data that I read from a file; I need to place it in the body of an email message. There are about 50 such data items to be placed into existing text.
It seems I should be able to put a marker (dataItem1, dataItem2, etc.) and replace that with the matching text data from the file.
... | http://stackoverflow.com/questions/20136576/vba-how-to-replace-text-in-the-body-of-an-outlook-email-message | dclm-gs1-103290001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.553384 | <urn:uuid:09bac9fa-5cd9-452e-adc1-225f739e2232> | en | 0.862121 | Take the 2-minute tour ×
Do I need to use regex to ensure that the user has typed in English? All characters are valid except non English characters.
How do I validate this textbox?
share|improve this question
"English characters" is an ambiguous specification. Is "6" an "English character"? What about "é"? (Before ... | http://stackoverflow.com/questions/2081469/how-to-limit-users-from-entering-english-characters-in-a-textbox/2081492 | dclm-gs1-103300001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.022757 | <urn:uuid:29ccca40-77dd-429b-a0c3-e57911992dfd> | en | 0.89213 | Take the 2-minute tour ×
In my project, where I adopted Aho-Corasick algorithm to do some message filter mode in the server side, message the server got is string of multibyte character. But after several tests I found the bottleneck is the conversion between mulitbyte string and unicode wstring. What I use now is the... | http://stackoverflow.com/questions/2145862/is-there-even-fast-implementaion-about-multibyte-character-string-convert-to-uni | dclm-gs1-103330001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.888493 | <urn:uuid:216da942-3f0d-4c5b-8da2-4991ca44420e> | en | 0.74246 | Take the 2-minute tour ×
the code that didn't work:
login_form = page.form_with(:method => 'post')
and code that works
login_form = page.form_with(:method => 'POST')
I inspected the form object via puts page.forms.inspect and got
{name nil}
{method "POST"}
html source:
<form class="login" method="post"> <field... | http://stackoverflow.com/questions/2165834/bug-or-desired-behaviour-couldnt-identify-form-using-string-post-but-post | dclm-gs1-103340001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.303119 | <urn:uuid:072a1bcd-d8a2-4aa6-bf2a-88c055621302> | en | 0.860884 | Take the 2-minute tour ×
The wx.Cursor class automatically scales the image I give it to 32x32 and I need to use a cursor that is larger than that.
On http://support.microsoft.com/kb/307213 I saw what might be the reason for this behavior
Although cursors can, in theory, be any size, the system imposes a standard si... | http://stackoverflow.com/questions/2267986/how-can-i-use-a-large-wxcursor | dclm-gs1-103360001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.906523 | <urn:uuid:03196b99-1bcd-411d-b0ae-698d044ea832> | en | 0.82001 | Take the 2-minute tour ×
How to create a PHP function only visible within a file? Not visible to external file. In other word, something equivalent to static function in C
share|improve this question
When you include files on PHP it is as if you are appending them together, in C/C++ you are "importing" the variables/... | http://stackoverflow.com/questions/2403602/how-to-create-a-php-function-only-visible-within-a-file/2403732 | dclm-gs1-103400001 | false | false | {
"keywords": "importin"
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.023393 | <urn:uuid:1703da9a-e312-4a79-a84c-2811682cc151> | en | 0.882612 | Take the 2-minute tour ×
I noted that when I show up the EOL listchars in a text the linebreaks are losen
this is my text of this
becomes after set list ..eol
this is my text of this mess
age(EOL CHAR)
I would like to see the EOL characters without breaking the words at window border. Is that possible?
share... | http://stackoverflow.com/questions/2470833/vim-showing-listchars-changes-the-screen-wrapping | dclm-gs1-103410001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.717528 | <urn:uuid:a378a996-18ba-4201-8adb-6a3c2f9b49bb> | en | 0.90951 | Take the 2-minute tour ×
I'm currently building a Javascript library that can be used to easily create embeddable media based on the URL of a media file, and then be controlled using Javascript methods and events (think something like the Flash / Silverlight JW player).
Of course, i could simply cat all the html tags... | http://stackoverflow.com/questions/2551588/cross-domain-templating-with-javascript/4951935 | dclm-gs1-103420001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.729871 | <urn:uuid:b9049360-54bf-4d9f-957a-a5adec7bff32> | en | 0.7763 | Take the 2-minute tour ×
I'm working on a browser-game and I can't help but wonder about what's the lightest way to make the grid/board on which the game takes place.
Right now, as a mere sample, I'll show you this:
-link no longer active, it was basically a 25x25 table+tr+td grid-
Now, as the grid gets bigger and ... | http://stackoverflow.com/questions/2571720/what-is-the-lightest-way-to-make-a-huge-chess-like-grid | dclm-gs1-103430001 | false | false | {
"keywords": "t cell"
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.072546 | <urn:uuid:00c1600a-69bb-49ed-8189-22a449f356ec> | en | 0.941165 | Take the 2-minute tour ×
So, there have been several posts here about importing and saving data from an external data source into Core Data. Apple documents a reasonable pattern for this: "import and save on background thread, merge saved objects to main thread." All fine and good.
I have a related but different prob... | http://stackoverflow.com/questions/2609115/how-to-efficiently-save-changes-made-in-ui-main-thread-with-core-data | dclm-gs1-103440001 | false | false | {
"keywords": "importin"
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.370222 | <urn:uuid:1b6c5eef-5bee-4df9-975c-c7374ae4745a> | en | 0.919469 | Take the 2-minute tour ×
when I do git rebase master I get conflict sometimes. And sometimes it becomes very difficult to track down an issue even with error messages. It would be a real help if I could find out which commit git is trying to reapply and is causing conflict.
How can I find out which commit is causing ... | http://stackoverflow.com/questions/2730627/git-rebase-conflict-was-caused-by-which-commit | dclm-gs1-103460001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.144119 | <urn:uuid:ea8aecfc-7e38-446f-b9a5-6907b20ff2b3> | en | 0.84262 | Take the 2-minute tour ×
OK, my statement executes well in phpMyAdmin, but not how I expect it in my php page.
This is my statement:
SELECT `egid`, `group_name` , `limit`, MAX( `date` )
FROM employee_groups
GROUP BY `egid`
ORDER BY `egid` DESC ;
This is may table:
CREATE TABLE `employee_groups` (
`egid` int(... | http://stackoverflow.com/questions/2793860/select-maxdate-works-in-phpmyadmin-but-not-in-my-code?answertab=active | dclm-gs1-103470001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.354248 | <urn:uuid:7607a2b2-5488-4c03-ae07-c75f1966cc95> | en | 0.777312 | Take the 2-minute tour ×
I'm working on a client app that uses a restful service to look up companies by name. It's important that I'm able to include literal ampersands in my queries since this character is quite common in company names.
However whenever I pass %26 (the URI escaped ampersand character) to System.Uri... | http://stackoverflow.com/questions/2872430/literal-ampersands-in-system-uri-query-string/3044757 | dclm-gs1-103480001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.332968 | <urn:uuid:66f474db-8630-4b12-afc0-a219cd947fa6> | en | 0.781261 | Take the 2-minute tour ×
This object always uses the default on the system, so on an x64 machine, it will use an x64 Internet Explorer object. Is there any way I can force it to use the x86 IE? The web page element the browser accesses does not work on x64 and is out of my control.
share|improve this question
add com... | http://stackoverflow.com/questions/2965165/system-windows-forms-webbrowser-force-x86 | dclm-gs1-103490001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.035702 | <urn:uuid:a1f5490d-fa99-4559-9baa-a58f916d98d3> | en | 0.663036 | Take the 2-minute tour ×
I am doing some stuff that needs to output xml(utf-8) using PHP scripts. It has strict format requirements, which means the xml must be well formed. I know 'htmlspecialchars' to escape, but I don't know how to ensure that. Is there some functions/libraries to ensure everything is well formed?
... | http://stackoverflow.com/questions/3106802/how-to-output-xml-safe-string-in-php | dclm-gs1-103510001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.07958 | <urn:uuid:82e69b56-5342-4e0d-8625-55e7158e8600> | en | 0.827259 | Take the 2-minute tour ×
HI all,
I would like to call from my C# code, unamanaged library functions like presented below. There are two options and the both works. In this moment "Beep" function is simple and have no input/output parameters, pointers, references... I am wondering in more complex cases what would be a... | http://stackoverflow.com/questions/3166797/referencing-unmanaged-librararies-from-managed-code-adventages-and-disadvantage | dclm-gs1-103520001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.596786 | <urn:uuid:9f2769a3-f989-498d-9b7a-ec5c361e2336> | en | 0.794702 | Take the 2-minute tour ×
As you know, the javascript's parseFloat function works only until it meets an invalid character, so for example
parseFloat("10.123") = 10.123
parseFloat("12=zzzz") = 12
parseFloat("z12") = NaN
Is there a way or an implementation of parseFloat that would return NaN if the whole string is not... | http://stackoverflow.com/questions/3257112/is-it-possible-to-parsefloat-the-whole-string | dclm-gs1-103530001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.593348 | <urn:uuid:b5407ffc-d0fb-4cbb-9f4c-8371d1176ca0> | en | 0.930584 | Take the 2-minute tour ×
I am looking for an open source C implementation of a hash table that keeps all the data in one memory block, so it can be easily send over a network let say. I can only find ones that allocate small pieces of memory for every key-value pair added to it.
Thank you very much in advance for all... | http://stackoverflow.com/questions/3287769/ansi-c-hash-table-implementation-with-data-in-one-memory-block/3288703 | dclm-gs1-103540001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.245471 | <urn:uuid:c4761b13-3421-4e85-a4b4-39d8b0cea56a> | en | 0.921674 | Take the 2-minute tour ×
Edit: I discovered a partial answer to my own question in the process of writing this, but I think it can easily be improved upon so I will post it anyway. Maybe there's a better solution out there?
I am looking for an easy way to define recursive functions in a let form without resorting to ... | http://stackoverflow.com/questions/3373157/how-to-create-a-lazy-seq-generating-anonymous-recursive-function-in-clojure?answertab=oldest | dclm-gs1-103550001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.081571 | <urn:uuid:c6eddaeb-b878-435d-a3df-2d4a872ad502> | en | 0.806048 | Take the 2-minute tour ×
Is there a way to easily export R tables to a simple HTML page?
share|improve this question
add comment
2 Answers
up vote 8 down vote accepted
The xtable function in the xtable package can export R tables to HTML tables. This blog entry describes how you can create HTML pages from Sweave d... | http://stackoverflow.com/questions/3438226/exporting-r-tables-to-html?answertab=votes | dclm-gs1-103570001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.518924 | <urn:uuid:a1880d60-8146-4aa6-9ed9-b871d123bc8c> | en | 0.802759 | Take the 2-minute tour ×
I'm trying to synchronize the timezone between a PHP script and some JavaScript code.
I want a PHP function that returns a timestamp in UTC. Does gmmktime() do that?
On the JavaScript side, I have:
var real_date = new Date();
real_date -= real_date.getTimezoneOffset() * 60000;
real_date ... | http://stackoverflow.com/questions/3484535/getting-timezone-for-javascript-and-php-all-mixed-up | dclm-gs1-103580001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.257327 | <urn:uuid:5d5ab084-3d8d-4198-8ee6-1f5414d0aa1f> | en | 0.875666 | Take the 2-minute tour ×
If number of users login and use a same wcf service then my application hangs and i have to logout ? so please give the solution so that n number of user can login and works at a time. Thank you in advance...
share|improve this question
There's not enough information here to be able to answer... | http://stackoverflow.com/questions/3524939/n-number-of-user-logged-and-use-a-wcf-service | dclm-gs1-103590001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.481476 | <urn:uuid:bdc17030-e18f-4f63-bcd3-c7828ee9ecfa> | en | 0.883664 | Take the 2-minute tour ×
I have a hash of hashes, like so:
%hash = ( a => { b => 1, c =>2, d => 3},
a1 => { b => 11, c =>12, d => 13},
a2 => { b => 21, c =>22, d => 23} )
I want to extract the "b" element and put it into an array. Right now, I am looping through the hash to do this, but I think ... | http://stackoverflow.com/questions/3585408/how-do-i-map-and-sort-values-from-a-hash-of-hashes?answertab=oldest | dclm-gs1-103610001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.050845 | <urn:uuid:5e74ae1d-8016-4e24-a690-50b626a87b9c> | en | 0.863534 | Take the 2-minute tour ×
I have declared a structure that look like
typedef struct
char* key;
char* value;
and in the session structure, i declared a variable as
struct session
char* id;
..... // other session variables
kvPair* pair;
Now in the session_start I have initialised the values ... | http://stackoverflow.com/questions/3614469/accessing-session-variables-in-ext-mysql-extension | dclm-gs1-103620001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.106208 | <urn:uuid:75c4e0d4-b7d3-4126-8996-aa057b17f5eb> | en | 0.821093 | Take the 2-minute tour ×
I have an application in which you select an area of a map and our product price list changes (dependant of map area, size etc.)
So in my test, I use runScript() to call the JS method underlying the map, the prices update and I do a simple check on the price that is set ala Assert.AreEqual(pr... | http://stackoverflow.com/questions/3667350/assert-areequal-not-recognising-dynamically-updated-values | dclm-gs1-103630001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.063998 | <urn:uuid:961c7283-b29e-455e-a5c4-542f1d9ad514> | en | 0.88069 | Take the 2-minute tour ×
I can easily find how to submit an existing form using jQuery. But how can I, given a URL, and some parameters create and submit this form on the fly?
share|improve this question
add comment
1 Answer
up vote 8 down vote accepted
This sounds like a bad solution to a problem that can probabl... | http://stackoverflow.com/questions/3671420/jquery-dynamic-form-submission | dclm-gs1-103640001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.029812 | <urn:uuid:3b36d776-4d10-409c-bea5-c81bfe3dd7fe> | en | 0.924666 | Take the 2-minute tour ×
I am developing a python app, using python and sqlite and GUI to re-create a Access 2007 report generating app. Since the app is portable, I'm looking for GUI solution for python that user doesn't need to install addition things before using the app.
Is there any GUI solution suits my need? T... | http://stackoverflow.com/questions/3787065/python-gui-for-portable-app/3787083 | dclm-gs1-103650001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.492688 | <urn:uuid:b4245003-b463-40e0-95f6-edf94d03d9e7> | en | 0.939375 | Take the 2-minute tour ×
I'm used to setting up a server for nginx with php and mysql. I understand that just fine. But I'm extremely confused at where to even start with django. I know nothing about python by the way.
I'm running ubuntu 10.04
Python is already installed (not sure what version though. I read I need ... | http://stackoverflow.com/questions/4020644/setting-up-django-for-the-first-time | dclm-gs1-103670001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.154345 | <urn:uuid:97bf92e1-0b81-4b57-8281-184a59e81f05> | en | 0.965905 | Take the 2-minute tour ×
I'm trying to print a section of a web page and there are multiple css files, and several of those files contribute to the "print" media type. Some of the plugins I've seen assume that you only have one media="print" css file and that's all it needs. I have looked at PrintArea and jsprint and ... | http://stackoverflow.com/questions/4268478/what-is-the-best-browser-printing-library-plugin-or-snippet-for-javascript-j | dclm-gs1-103690001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.019442 | <urn:uuid:f9c0e169-6fdb-41e1-88d0-d59ebed45d8b> | en | 0.901375 | Take the 2-minute tour ×
I want an auto updater that detect modified files (by comparing files on the client-side and a server) and only download modified files. I also want it to give me its status lively (To show it on a process bar or something)
The scenario is that there's about one thousand clients in a network,... | http://stackoverflow.com/questions/4323839/auto-patcher-efficient-auto-updater | dclm-gs1-103700001 | false | false | {
"keywords": "delta"
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.962153 | <urn:uuid:f13bac25-7c6d-427a-bd8b-d041bf4a10ab> | en | 0.761235 | Take the 2-minute tour ×
Can anyone point me to any perl script to calculate relative entropy or mutual information from a set of data?
share|improve this question
add comment
1 Answer
up vote 1 down vote accepted
check cpan.org: e.g. Data::Password::Entropy or the Data::Entropy modules.
share|improve this answer... | http://stackoverflow.com/questions/4327288/perl-script-to-calculate-relative-entropy-or-mutual-information | dclm-gs1-103710001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.956907 | <urn:uuid:cbf24a45-db13-4dbf-9df9-c3af24e043ed> | en | 0.822333 | Take the 2-minute tour ×
I would to populate the database (MySQL) with some dummy entries as the application starts.
I created:
class DatabaseInitializer
def populate_database
in lib/database_initializer.rb.
I understand that all files in the lib directory should have been loaded automatically.
Question 1: Is t... | http://stackoverflow.com/questions/4394646/why-require-cannot-find-a-file-in-ruby-on-rails-3-application | dclm-gs1-103720001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.686089 | <urn:uuid:13f87607-ac0d-4618-855a-5156ee48d865> | en | 0.743121 | Take the 2-minute tour ×
var myObject = content.get_response().get_object();
However it just throws a "Microsoft JScript runtime error: Object doesn't support this property or method" when trying to invoke the Ajax POST.
My code:
public ActionResult Index(string message)
<!DOCTYPE html>
<script src="@Url.C... | http://stackoverflow.com/questions/4539853/asp-net-mvc3-bug-using-javascript | dclm-gs1-103730001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.406457 | <urn:uuid:74c51afb-7a0f-4d4c-a92c-93b91c7af0a2> | en | 0.913448 | Take the 2-minute tour ×
In Access 2003 I was easily able to get to all the tables and edit/view data directly. However, in 2007, I'm unable to find this functionality. I have an MDB with a form, and I can only view the main table of user input data in the Datasheet View.
I'm trying to copy a list of options (there's... | http://stackoverflow.com/questions/4660144/how-do-i-view-my-control-source-tables-in-access-2007 | dclm-gs1-103740001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.039113 | <urn:uuid:81b19c9d-cca6-4f2c-80c0-341079d9f088> | en | 0.856422 | Take the 2-minute tour ×
I want to know if this is possible in c# winform.
create control when ever button is pressed and place it at given location.
I think it is possible like this
private TextBox txtBox = new TextBox();
private Button btnAdd = new Button();
private ListBox lstBox = new ListBox();
private CheckBo... | http://stackoverflow.com/questions/4719476/create-controls-dynamically/4719499 | dclm-gs1-103750001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.515809 | <urn:uuid:b6db369d-399c-452e-bb04-52fc4e9a37ef> | en | 0.919829 | Take the 2-minute tour ×
I would like to be able to channel two text streams to a single console window with a vertical split view. The ideal solution would be if I could simply write to two different std::ostream objects.
The reason I need it is to compare the output of two different versions of a program. I know th... | http://stackoverflow.com/questions/4831569/how-to-create-split-screen-console-output?answertab=votes | dclm-gs1-103760001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.985833 | <urn:uuid:5d319257-136a-46ca-b19c-1fb851770643> | en | 0.93498 | Take the 2-minute tour ×
I am a little confused by the definition of interarrival time, does it mean the time between two successfully sent packets? and by using opnet, I observed that the shorter the interarrival time is, the higher the network load, is that a correct conclusion? Thanks
share|improve this question
a... | http://stackoverflow.com/questions/4910693/network-load-and-interarrival-time | dclm-gs1-103770001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.989278 | <urn:uuid:d750292e-c7e7-47cc-a289-e14191737f33> | en | 0.76537 | Take the 2-minute tour ×
I have a html snippet that looks like this (of course surrounded by other html):
<p class="finfot3"><b>Header:</b></p>
How can I get Text from this? I'm using simple_html_dom, but I can use something else if simple_html_dom can't do this.
share|improve this question
add comment
3 Answers
... | http://stackoverflow.com/questions/4920695/get-text-from-next-tag | dclm-gs1-103780001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.41072 | <urn:uuid:d042c3d4-6d69-4c71-891b-d51cbf3c0f56> | en | 0.901537 | Take the 2-minute tour ×
Can anybody suggest a way to process the information and analyze the data from the comments users post on a article in my website.
I exactly want to process the comments as follows:
Example: Like on a article on computerization may get the following comments:
1. I love computerization as ... | http://stackoverflow.com/questions/4988929/how-to-analyze-information-from-the-comments-of-users-on-my-site/4988974 | dclm-gs1-103790001 | false | false | {
"keywords": "vector"
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.070778 | <urn:uuid:cb9ae084-0d87-4773-8c7f-38f7dbe41f52> | en | 0.885713 | Take the 2-minute tour ×
I have a shell-like console for my app, which prompts with ">>>" after every command. The problem is every time I have my shell WriteText(">>> "), it also appends a new line. The user can backspace up to the correct line, but this just looks terrible. Any way to fix it?
share|improve this que... | http://stackoverflow.com/questions/5200961/preventing-newline-after-wxpython-textctrl-writetext | dclm-gs1-103820001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.192922 | <urn:uuid:3cd60758-1be4-4a66-9fec-fe31a72fe897> | en | 0.912729 | Take the 2-minute tour ×
I want to do message embedding in audio/video files using Python. Does anyone have information about some libraries I can use for bit manipulation in audio/video ?
share|improve this question
add comment
2 Answers
There is a list of audio-related modules on the python website (as well as th... | http://stackoverflow.com/questions/5258402/steganography-on-audio-video-with-python?answertab=oldest | dclm-gs1-103830001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.719561 | <urn:uuid:8bca48ec-d6dd-486f-9970-329363d02fb2> | en | 0.900647 | Take the 2-minute tour ×
def different(s):
x = len(s)
for i in range(1, 1 << x):
u.append([s[j] for j in range(x) if (i & (1 << j))])
It takes a list and makes different combinations (a,b,c) = ((a,b,c),(a,b),(a,c) etc..) But what does the range do? From 1 to what. I don't understand the "<<... | http://stackoverflow.com/questions/5388639/please-help-me-understand-a-bit-shift-operation | dclm-gs1-103860001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.971239 | <urn:uuid:82f99b69-e1cb-491d-8810-3a6818e3848b> | en | 0.893581 | Take the 2-minute tour ×
the same as:
share|improve this question
add comment
4 Answers
up vote 13 down vote accepted
No, they're not exactly the same.
They'll both return the element's ID, but if the element has no ID, then this.id will return a blank string while $(this).attr("id") will return undefined.
sha... | http://stackoverflow.com/questions/5597317/this-id-vs-this-attrid | dclm-gs1-103890001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.542531 | <urn:uuid:4f905f53-e81b-4b1a-acde-6a062fc09a98> | en | 0.856764 | Take the 2-minute tour ×
Has anyone ever successfully integrated django-math-captcha into django-registration?
I've changed the form in django-registration to be as such:
class RegistrationForm(MathCaptchaForm)
The form displays just fine, and it recognizes when I input anything other than numbers. However, it does... | http://stackoverflow.com/questions/5651606/django-registration-with-django-math-captcha | dclm-gs1-103900001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.631714 | <urn:uuid:eceefc33-dc71-49ae-978a-e3b87219568a> | en | 0.831783 | Take the 2-minute tour ×
I have a Rails 3 application on Ruby 1.9.2 in which users enter business hours and they are stored in a MySQL database. When a user does this, however, the entered time "8:00 AM" gets stored as 3pm in the database. I want it to be stored as they entered it, regardless of time zone. I figured t... | http://stackoverflow.com/questions/5802913/how-do-i-set-time-zone-to-utc-and-keep-it-that-way?answertab=oldest | dclm-gs1-103920001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.600831 | <urn:uuid:8cd98596-dc48-414a-9a3b-b929b7892e55> | en | 0.85777 | Take the 2-minute tour ×
I would like to modify the spinner pop up dialog . I would like to implement my own custom spinner pop up.
Is it possible or not ? Can anyone provide me solution to implement custom spinner pop up ?
This is an effort of uniformity for my various pop ups in my application.
share|improve this... | http://stackoverflow.com/questions/6314411/custom-spinner-pop-up | dclm-gs1-103970001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.986213 | <urn:uuid:2ac985c0-6395-4449-b0ba-4bfbed9c0ac2> | en | 0.923454 | Take the 2-minute tour ×
Unlike (most) RISC arch, x86 instructions have different length. The start/end of an instruction don't have to align. so if the compiler don't care, they will generate some instructions which just lying across the page margin.
Assume that if the head of an instruction start from the last byte... | http://stackoverflow.com/questions/6659998/how-does-hardware-and-compiler-deal-with-x86-instruction-which-happend-to-be-acr | dclm-gs1-104000001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.899682 | <urn:uuid:e3742da5-8563-444b-95ba-412099be126d> | en | 0.811672 | Take the 2-minute tour ×
Any way to have a NSButton title to wrap when it's width is longer than the button width, instead of getting clipped?
I'm trying to have a radio button with a text that can be long and have multiple lines. One way I thought about having it work is to have an NSButton of type NSRadioButton but... | http://stackoverflow.com/questions/671136/wrap-nsbutton-title | dclm-gs1-104010001 | false | false | {
"keywords": "mouse"
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.231635 | <urn:uuid:681376ab-75e3-4de5-acc0-15c177171465> | en | 0.786798 | Take the 2-minute tour ×
I am writing a program in c#. I need to know if there an option to open an URL of a site and look for keywords in the text. For example if my program gets the URL http://www.google.com and the keyword "gmail" it will return true. So for conclusion i need to know if there a way to go to URL dow... | http://stackoverflow.com/questions/7111544/download-html-file-and-convert-it-to-txt/7111630 | dclm-gs1-104030001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.398623 | <urn:uuid:82bfaea0-2b12-40aa-880a-89d8f1070e10> | en | 0.886292 | Take the 2-minute tour ×
I just spent 2 hours hunting a bug which apparently comes from a foreach iteration with &value. I have a multidimentional array and when a ran this:
foreach($arrayOfJsonMods as &$item){
//TODO memcached votes
and PHP returned an array with the same element count, BUT with a DUPLIC... | http://stackoverflow.com/questions/7158741/why-php-iteration-by-reference-returns-a-duplicate-last-record | dclm-gs1-104040001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.204376 | <urn:uuid:ae9c3607-5377-4e0c-937d-cddd9604a12e> | en | 0.908794 | Take the 2-minute tour ×
What I want to achieve is to make links on my site move 1px down when they are in an active state (user clicks on them)
I am doing this by applying this global style:
a:active {
And it of course works - in most cases. Problem is when I try to do the same on links that are positioned absolut... | http://stackoverflow.com/questions/7234351/position-absolute-on-active-is-behaving-weird | dclm-gs1-104050001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.085748 | <urn:uuid:a4604479-9de8-4708-a53b-9c8883a44671> | en | 0.816592 | Take the 2-minute tour ×
I have a 5MB xml file
I'm using the following code to get all nodeValue
$dom = new DomDocument('1.0', 'UTF-8');
$games = $dom->getElementsByTagName("game");
foreach($games as $game)
This takes 76 seconds and there are around 2000 games tag. Is there any optimization or other solu... | http://stackoverflow.com/questions/7299957/xml-domdocument-optimization | dclm-gs1-104060001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.573562 | <urn:uuid:3a8d7fef-8491-4b31-9ca2-5abdcff1a0c0> | en | 0.861642 | Take the 2-minute tour ×
Here's my problem. If I run the test using the ruby command the tests all pass. However, if I use the rake test:functionals they all fail with the error below. I'm not sure what I have to do differently to get them to pass when using the rake task, but I'd greatly appreciate any guidance you m... | http://stackoverflow.com/questions/7441171/fixtureclassnotfound-no-class-attached-to-find | dclm-gs1-104090001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.250373 | <urn:uuid:ed63b236-44f6-4e78-bbaa-117e8834a2ca> | en | 0.914847 | Take the 2-minute tour ×
Can I install Cern's ROOT on win32 without MSVS but with mingw32? I want to develop some C/C++ programs, which will use ROOT.
share|improve this question
add comment
1 Answer
up vote 0 down vote accepted
As far as I know, compiling with mingw32 is currently not supported. I guess it would ... | http://stackoverflow.com/questions/7520088/using-root-cern-with-mingw32 | dclm-gs1-104100001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.172032 | <urn:uuid:b2a3f0e7-7b55-41d7-a0a6-1ef7920108ab> | en | 0.891024 | Take the 2-minute tour ×
I've just bough VPS account for testing and development.
Is there a function of PHP to parse Apache config file, PHP config, FTP Server config, zone files, etc? Also a way to insert data into config file.
I want to create a simple Control Panel to add ftp accounts and web account (with domai... | http://stackoverflow.com/questions/7552485/how-to-parse-apache-config-file-php-config-ftp-server-config | dclm-gs1-104110001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.055407 | <urn:uuid:b064d4f7-49b9-4ba7-a6e3-7403c7c52c35> | en | 0.897965 | Take the 2-minute tour ×
I've been trying to practice testing my modules by adding
if __name__ == '__main__':
to the end of the module. The idea is to run the module as a script, and get an output and able to import it from another script or an interactive python session.
I'm using Python 2.6.6
here's the whole co... | http://stackoverflow.com/questions/7624372/python-novice-class-object-prac-and-main?answertab=active | dclm-gs1-104120001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.044269 | <urn:uuid:396d1d36-970d-4b38-a722-f935e248f7c5> | en | 0.826089 | Take the 2-minute tour ×
I have two tables with a join table between them:
Parent: Pages
Child: Things
Join: Grids
In my models they are set up with a many to many relationship (has_many through):
class Page < ActiveRecord::Base
belongs_to :books
has_many :grids
has_many :things, :through => :g... | http://stackoverflow.com/questions/7696985/how-to-order-by-using-has-many-through | dclm-gs1-104140001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.469267 | <urn:uuid:5ba90c38-0274-432b-b52b-b4a81e1c4d60> | en | 0.81713 | Take the 2-minute tour ×
I am creating a search using MySQL & PHP on an existing table structure.
Multiple search keywords can be entered and the user can opt to either match ALL or ANY. The any form is not too difficult, but i am breaking my head on writing an efficient solution for the AND form.
The following is a... | http://stackoverflow.com/questions/7823695/mysql-query-to-search-for-multiple-values-on-multiple-tables-some-rows-some | dclm-gs1-104150001 | false | false | {
"keywords": "candida"
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.602733 | <urn:uuid:fe68c3a9-5f55-4a35-b1f4-82f6ca50471e> | en | 0.84593 | Take the 2-minute tour ×
Is it possible to iterate over a binary tree in O(1) auxiliary space (w/o using a stack, queue, etc.), or has this been proven impossible? If it is possible, how can it be done?
Edit: The responses I've gotten about this being possible if there are pointers to parent nodes are interesting and... | http://stackoverflow.com/questions/791052/iterating-over-a-binary-tree-with-o1-auxiliary-space/791062 | dclm-gs1-104170001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.028849 | <urn:uuid:6b3d916a-08e7-4a79-aeb4-8546eca3c452> | en | 0.874613 | Take the 2-minute tour ×
Using SSRS BIDS 2008 to create a Pie Chart in one of my reports.
What is the syntax of the statement I need to type into the Expression box to specify which colours I would like each particular field of the pie chart to be.
The value i need to specify different colours for is 'value2' and th... | http://stackoverflow.com/questions/8010292/switch-statement-for-multiple-colour-choices-in-pie-chart | dclm-gs1-104180001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.251143 | <urn:uuid:07a12e41-55a7-4516-aae1-d217c2ece3f2> | en | 0.929717 | Take the 2-minute tour ×
I am going to make an application in which I want to get the user location through sms i.e a person sends an sms to a specific number linked with a web server or to an android app and from that sms I want to find his/her location. This should be done without installing any application as I wan... | http://stackoverflow.com/questions/8090342/how-to-find-location-by-sending-an-sms-to-a-specific-number-linked-with-a-web-se | dclm-gs1-104200001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.250804 | <urn:uuid:d28aebec-7324-4ea0-974d-50f1e8c81f0f> | en | 0.766098 | Take the 2-minute tour ×
I have a gridview which gets populated in the backend code. I am trying to implement paging now, but when I am trying my way, I am getting nothing. Here is my piece of code:
public void generateTable()
conn.ConnectionString = connString;
SqlCommand comm = new SqlCommand("ViewBusinessI... | http://stackoverflow.com/questions/8215826/gridview-control-and-paging-asp-net | dclm-gs1-104220001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.019079 | <urn:uuid:e9358b0b-943c-4941-a6b4-59647cca4883> | en | 0.914182 | Take the 2-minute tour ×
In an android application, what is the best method to store primitive data variables (such as a list of 3 integers) on the device so that those integers can be seen and manipulated by the app, but remain on the device after updating the app?
also, it would be best if there was a way to tell t... | http://stackoverflow.com/questions/8274377/a-method-to-serialize-simple-data-and-achieve-compatibility | dclm-gs1-104230001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.434136 | <urn:uuid:8680d4af-0f32-400b-8d91-0340b52dafb6> | en | 0.93664 | Take the 2-minute tour ×
I have just started using AJAX and Javascript and created a web page that loads a div from a text file. Here is the page http://www.1000give100.org/landing-page.html I have a div that gets filled with a text file of names that I need to auto scroll, then stop when user cursors over div. I have... | http://stackoverflow.com/questions/8407059/auto-scroll-div-that-has-been-filled-with-text-file-using-ajax | dclm-gs1-104240001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.081828 | <urn:uuid:8e51709c-b0b2-4375-a2dc-399328b4f901> | en | 0.835997 | Take the 2-minute tour ×
I am trying to develop a Qt application for a touchscreen ; this application is running on an ARM system, with Qt Everywhere 4.7.2.
In this application, I need to display a specific screen for login ; then the user press an "Ok" button, and I must verify if the informations entered are correc... | http://stackoverflow.com/questions/8471808/how-to-display-a-screen-and-run-some-background-tasks-not-with-thread?answertab=votes | dclm-gs1-104250001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.764992 | <urn:uuid:220c2670-c323-4531-8448-cbb866197eb5> | en | 0.857552 | Take the 2-minute tour ×
I have a somewhat interesting query..
I may have over simplified the example, but ill do my best to describe my problem.
I am building a very simple implementation of a wiki from scratch, everything going well until I realized I need Cycle Detection to prevent endless loops of data populatin... | http://stackoverflow.com/questions/8523582/wikipedia-style-include-cycle-detection-php | dclm-gs1-104260001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.16338 | <urn:uuid:ec979130-d618-4ca5-b248-ec6010b77b2c> | en | 0.903024 | Take the 2-minute tour ×
If you see the accepted answer in: Aggregating and uglifying javascript in a git pre-commit hook, you'll see that I had to do a chmod +x on my pre-commit hook to get it to work.
Why is this not executable by Git by default?
share|improve this question
add comment
1 Answer
up vote 4 down vo... | http://stackoverflow.com/questions/8598639/why-is-my-git-pre-commit-hook-not-executable-by-default?answertab=active | dclm-gs1-104280001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.021062 | <urn:uuid:57a9f809-e1a9-4cd5-b890-96b70d5e922e> | en | 0.838652 | Take the 2-minute tour ×
I tried to compile a simple basic c program in ubuntu 11.10 but i got the following error.
Here i am providing the error details,
pavan@pavan-Aspire-4739:~$ gcc -o simplelq pro.c
/tmp/ccR5XApx.o: In function `main': pro.c:(.text+0xf): undefined reference to `Printf'
collect2: ld returned 1 ... | http://stackoverflow.com/questions/8715887/i-am-not-able-to-compile-a-c-program-in-ubuntu-11-10 | dclm-gs1-104300001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.299008 | <urn:uuid:2c936b1c-26fc-416c-920b-8d05010bedb5> | en | 0.664467 | Take the 2-minute tour ×
I have an UINavigationBar added to my UIViewController view. I want to change the fonts properties. Note that I want to change a UINavigationBar not controller. In my app where I use UINavigationController I use self.navigationItem.titleView = label; to display the custom label.
How can I acc... | http://stackoverflow.com/questions/8774531/change-uinavigationbar-font-properties | dclm-gs1-104310001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
0.248282 | <urn:uuid:4ed6ce0c-f1ba-46f9-af00-90f2d5e93c45> | en | 0.823367 | Take the 2-minute tour ×
I am getting a resultset from a query which has users object like this
column summap=[[6, gra.Users : 1], [2, gra.Users: 7]]
where 1,7 are the ids of the user from Users entity
I want to get employeeid from this id how do I do that?
I tried Users.get(it[1]).employeeid but it says cannot ge... | http://stackoverflow.com/questions/8904924/getting-field-value-from-an-object-in-query-result-list/8905514 | dclm-gs1-104320001 | false | false | {
"keywords": ""
} | false | {
"score": 0,
"triggered_passage": -1
} | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.