Merge Operation is bounded, how we can approve answer?
◷
تاریخ انتشار: 1395/3/29 | ساعت: 20:43
Vote count: -1 We have and also have set to . at begi ing we have . We have Relation with 150 elements on . We select Randomly one elements in each step. Suppose . if , we do merge in . (i.e: ) I see another user ask it here ASKED BEFORE, the answer is good, but How we can prove that the merge opera...
can't push a new repo
◷
تاریخ انتشار: 1395/3/29 | ساعت: 20:43
Vote count: 1 I am confused while creating a new git repository and pushing it to a ssh based git server. What I did: mkdir knowledge_base cd knowledge_base git init ( create some files ) git add <some files> git commit -m 'initial' until here all is perfect now a do: git remote add origin ssh://git...
Prevent react-router history.push from reloading current route
◷
تاریخ انتشار: 1395/3/29 | ساعت: 19:36
Vote count: 0 I'm taking my first steps with react-router. I'm currently using the hashHistory for development purposes and I'm performing 'manual' navigation. That is to say, I'm not using Link and I'm invoking history.push('/some/route'); in order to navigate (in response to plain old clicks on an...
Multiple Projects with one package name in Android
◷
تاریخ انتشار: 1395/3/29 | ساعت: 19:36
Vote count: 0 I have a Android Project with an unique Package name. It is also available in Google Play Store. But now I need a huge change over the App. So what do I do to avoid collision in Play store. Also in my local machine do I need to change the Package name because I am using GCM for push no...
How to run sqldatasource1 by dropdownlist selectedindex ==0 and sqldatasource2 by dropdownlist selectedindex ==1
◷
تاریخ انتشار: 1395/3/29 | ساعت: 19:36
Vote count: 0 I have asp.net page . I have 2 stored procedure to search city and to search country. I use 2 SqlDataSource. the SqlDataSource1 for search city and the SqlDataSource2 for search country.my problem is that I want use dropdownlist1 for select type of search.when selected index is 0 the S...
How to escape a dot symbol in a MySQL like query executed in phpMyAdmin?
◷
تاریخ انتشار: 1395/3/29 | ساعت: 18:29
Vote count: 0 I am trying to get all the names containing the dot symbol . from a table but it seems to be a wildcard and I am not being able to escape it correctly. I am executing this query in the phpMyAdmin sql editor but it does not filter. SELECT * FROM players WHERE name LIKE '%.%' How can I e...
MVC pass Message from Partial View to View
◷
تاریخ انتشار: 1395/3/29 | ساعت: 18:29
Vote count: 0 I have a partial view if (CompanyFound != null) { Products = DB.tblBuyOnlineMasters.Where(c => c.CompanyID == CompanyID).OrderByDescending(p => p.BuyOnlineID).ToList(); if (Products.Count < 1) { ViewBag.Msg = "No products found for this company"; } } else { ViewBag.Msg = "Company Not F...
More optimized way of doing this previously solved algorithm? Printing numbers from 1 to 999
◷
تاریخ انتشار: 1395/3/29 | ساعت: 18:29
Vote count: 0 Basic problem: To print numbers from 1-999 in words. Print number in words One of my friend told me this problem in above link was asked to him as a interview question. The best solution i can think of is given in the link itself. But while my friend was being interviewed, the intervie...
What is Mac OSX's "thor" command
◷
تاریخ انتشار: 1395/3/29 | ساعت: 17:24
Vote count: -1 I was freely browsing to my /usr/local/bin/ folder and I wanted to test my brand new tree --noreport -fp command, and suddenly, I saw a program nammed thor so I wanted to know more about it.However it tu s out that no one know about it on Google and I can't found any info on it. So I ...
fastest method to read big data files in python
◷
تاریخ انتشار: 1395/3/29 | ساعت: 17:24
Vote count: 0 I have got some (about 60) huge (>2 gig) CSV files which I want to loop through to to make subselections (e.g. each file contains data of 1 month of various financial products, i want to make 60-month time series of each product) . Reading an entire file into memory (e.g. by loading th...
unable to create phar without composer and stub
◷
تاریخ انتشار: 1395/3/29 | ساعت: 17:24
Vote count: 0 I was trying to create phar archive for my web app (contains sub directories and xml, js, css, php files) without composer and stub ... but I didn't happen here are some try : $dir = "/depot"; $iterator = new RecursiveIteratorIterator( new RecursiveDirectoryIterator("C:/wamp/www/depot/...
JavaFX timeline printing
◷
تاریخ انتشار: 1395/3/29 | ساعت: 16:24
Vote count: 0 i got an error on JavaFX timeline and printing. I set three frames in timeline, fill-in data in a form , wait 5 seconds and print out the form on A4 paper: Timeline timeline = new Timeline( new KeyFrame( Duration.seconds(0), event -> MakeQR(canvas.getGraphicsContext2D())), new KeyFrame...
BRO: Extracting file matching signature
◷
تاریخ انتشار: 1395/3/29 | ساعت: 15:22
Vote count: 0 I,ve written a signature to match small iframes in http responses. This works fine and I get an entry in signatures.log and notice.log. I'd now like to extract any files which hit this sig so I can have a closer look. If I look at the signature_match event I can see the http content in...
How to solve Php 7 not found Sqlite3?
◷
تاریخ انتشار: 1395/3/29 | ساعت: 15:22
Vote count: 0 I upgraded my Ubuntu to 16.04 LTS. I had php5 on that OS. I used Sqlite3 in one script and I could run it from cli easily. No after upgrade it is php7 which runs for cli => /etc/php/7.0/cli But it ca ot detect the SQLite3, and I get 'PHP Fatal error: Class 'SQLite3' not found' error. I...
R: How to apply a function that outputs a dataframe to multiple columns using dplyr?
◷
تاریخ انتشار: 1395/3/29 | ساعت: 15:22
Vote count: 0 I want to find correlations, p-values and 95% CI between one specific column and all other columns in a dataframe. The 'broom' package provides an example how to do that between two specific columns using cor.test with dplyr and pipes. For mtcars and, say, mpg column we can run a corre...
failed create extension postgis
◷
تاریخ انتشار: 1395/3/29 | ساعت: 14:22
Vote count: 0 i tried to create extension for postgis in postgresql 9.5. I've already follow from here But it doesn't work like i expected. I got error ERROR: could not load library "/usr/pgsql-9.5/lib/rtpostgis-2.2.so": libhdf5.so.6: ca ot open shared object file: No such file or directory when i e...
Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command:
◷
تاریخ انتشار: 1395/3/29 | ساعت: 14:22
Vote count: 0 this is my gradle file:- guy's please help me its very important for me to solve this error... 'android { compileSdkVersion 23 buildToolsVersion "21.1.2" defaultConfig { applicationId "com.example.samruddhi.myapplication" minSdkVersion 15 targetSdkVersion 23 versionCode 1 versionName "...
I have a specific script that I want to open in an iframe below
◷
تاریخ انتشار: 1395/3/29 | ساعت: 14:22
Vote count: 0 This is the code, it seems very simple and it's kind of a prototype of something I want to achieve. I simply want the top 10% or so of my screen to have a button or something along these lines that opens a random link in the iframe that takes up the rest of the screen below. But I'm ha...
Choosing shard key for group by/distinct use case in a collection
◷
تاریخ انتشار: 1395/3/29 | ساعت: 13:21
Vote count: 0 The collection: A record from my collection look like this: {"visitor-hash": x, "website-name": y, "visitor-location": z, "visitor-details": a} Now in my collection, we'll get a lot of entries for same , i.e if the website is getting 1M visitors, then we'll have 1M entries in this coll...
Entity Framework Code First - Relationship between 2 tables
◷
تاریخ انتشار: 1395/3/29 | ساعت: 13:21
Vote count: 0 I am having some hard time to get data from Detail table, but I can get data back from the DetailKey table. This is what I have done so far and thank you for any help. public class DetailKey { public int Id { get; set; } public string System { get; set; } public string KeyValue { get; ...