SQL Server 2008 Select all columns of a table + a column from the same table based on a column value
-
تاریخ: 1395/12/30 ساعت: 12:53
Vote count: 0I have a table VERSION with composite keys docId, verId:docId verId apprvDt old_verId ------ ------ ----------- ---------- A 3 03/20/2017 2 A 2 03/18/2017 1 A 1 03/16/2017 null B 1 03/18/2017 null C
Binding not working when drawing lines in datagrid columnheader
-
تاریخ: 1395/12/27 ساعت: 23:13
Vote count: 0I want to draw lines in the column header of a datagrid, using the following code. There are two ItemsControlwhich are both bound to a collection containing 18 Dates (first of every month). A converter calculates the position in the columnheader by the date, in order to pla
Checking for an an enum of the current enum
-
تاریخ: 1395/12/27 ساعت: 23:13
Vote count: 0In making a card game I came to a Straight, the numbers were set as an enum ace, two, three etc. and I wrote it like thisList number = Arrays.asList(Number.two, Number.two, Number.three, Number.four, Number.five); private void Straight() { for(int currentCard = 0; curr
How to stop mapbox-gl.js tracking my mobile compass
-
تاریخ: 1395/12/27 ساعت: 23:13
Vote count: 0When I use my mapbox-gl.js map on my mobile phone it keeps rotating as I tu my mobile phone to keep the north. How can I stop this? I do want to continue being able to rotate the map with touch gestures...Here is the api. asked 36 secs agomusicformellonsLet's bloc
How to display records from a Firebase database using HashMap with Android?
-
تاریخ: 1395/12/26 ساعت: 7:06
Vote count: 0I am developing an app in which the users can have multiple lists. My Firebase database looks like this:The model that i use is this:public class UserModel { private String userId; private String userName; private String userEmail; private HashMap lists;
Radiobutton does not work
-
تاریخ: 1395/12/26 ساعت: 7:06
Vote count: 0Hello I created a script python which allows to draw a polygon. Actually I have some points and what I want is this : I draw a polygon and the points which are inside are removed and the others are kept. But I created a Radiobutton to do the reverse that is to say the point
determining whether a user input is a valid hexadecimal 1-9 a-f
-
تاریخ: 1395/12/26 ساعت: 7:06
Vote count: 0I have been asked to write a simple program that asks the user to type in a series of digits, one at a time, that will be checked by the program to ensure they are valid digits for a hexadecimal number. The program should repeatedly ask the user for a digit and, after each
Is it bad practice to have multiple javascript frameworks in the same web application?
-
تاریخ: 1395/12/25 ساعت: 1:17
Vote count: 0I was recently working on a web application where multiple javascript frameworks namely Jquery and Prototype were used. I understand that typically only one base javascript framework is selected. Is having multiple frameworks a bad practice ?Given the current state of the p
(int)Math.random()*10 returns zero
-
تاریخ: 1395/12/25 ساعت: 1:17
Vote count: 0This is very simple thing but still I am not able to figure out why line A produces output 0 and line B produces a random number(zero or non-zero)public static void main(String [] args) { int [] intArr = new int[10]; for(int i=0; iIt could be simple. Feeling lost !
Extracting unique combinations between two sets of co-ordinates
-
تاریخ: 1395/12/25 ساعت: 1:17
Vote count: 0I have two sets of co-ordinates, one with 49,898 combinations of x and y (let’s call this Set A) and the other with 36,404 combinations of x and y (let’s call this Set B). Set A has all of the combinations in Set B but with an additional 13,494 combinations. I want to extra
Erroneous entity stuck in context
-
تاریخ: 1395/12/18 ساعت: 20:52
Vote count: 0Can a database context be configured to remove entities that won't save because of, for example, a unique constraint violation?I want to retry a save with a new entity, but the context is stuck trying to save the original entity. Should I create a new, fresh context? asked 52 secs agoIa...
How get daemons' status programmatically using Ruby gem "daemons"
-
تاریخ: 1395/12/18 ساعت: 20:52
Vote count: 0I have a script (myscript.rb) like below:require 'daemons' Daemons.run_proc 'myproc', dir_mode: :normal, dir: '/path/to/pids' do # Daemon code here... end So, I can check the daemon's status in console by ruby myscript.rb status.But I need to show the daemon's status in a web page (Rail...
Can Blend for Visual studio 2017 import psd file?
-
تاریخ: 1395/12/18 ساعت: 20:52
Vote count: 0Blend for Visual studio 2015 removed this feature.Can Blend for Visual studio 2017 import psd file now? asked 43 secs agoa516117636Let's block ads! (Why?)
How to write from an array to another array in excel vba
-
تاریخ: 1395/12/14 ساعت: 13:43
Vote count: 0I'm trying to make a script that when I press a button itterates over a table, grabs the first value from the table, sets that value in a cell. Takes another value that is automatically changed (a total) after the previous value was changed and then print that value to a new array in a ...
What the best way to measure app/activity startup time?
-
تاریخ: 1395/12/14 ساعت: 13:43
Vote count: 0After googled this topic, I know there are several ways to measure the startup time of an android app.adb logcat -b events | grep am_activity_launch_time, see this postadb logcat -s ActivityManager:I | grep Displayeduse reportFullyDrawn programmaticallyadb shell screenrecord --bugreport...
Is there any module to use Google Cloud PubSub with Appcelerator
-
تاریخ: 1395/12/14 ساعت: 13:43
Vote count: 0I want to integrate Google Cloud PubSub API service in appcelerator with titanium SDK version 6.0.1.GA. Can anyone share module name and it's code for integration. OR I need to call simple API calls from mobile, In this case how can app will make call to API service with any authenticat...
How to cancel specific repeated UILocalNotification?
-
تاریخ: 1395/8/20 ساعت: 22:27
Vote count: 0 I schedule UILocalNotification with repeatInterval = every day, but i wa a cancel specific notification, for example notification on the day after tomorrow. Can i do that? asked 1 min agoGikas Let's block ads! (Why?)
Adding flags to rewrite rules
-
تاریخ: 1395/8/20 ساعت: 22:27
Vote count: 0 The syntax I need to use with whatever version of PHP/Apache/whatever is installed on the server to allow .htaccess rewrite rules to work looks like this: Redirect 301 "/birthcare" /hospital-services/women-childrens-health/childbirth-center/ How can I add flags such as [L] Last and [NC...
.Net - WebClient or HttpWebRequest to get content
-
تاریخ: 1395/8/20 ساعت: 22:27
Vote count: 0 I developed an application to download multiple images from a website with a patte , using a WebClient. When I started with this, my idea was a fast and easy app, so I made a form with: WebBrowser (WB) Multiline textbox to put multiple urls to crawl Listbox to storage the link of each ...
How can I check this numbers?
-
تاریخ: 1395/8/19 ساعت: 9:34
Vote count: 0 i'm new around here:) So, i have a text that looks like this: Number:12345678 Status:FAIL Date:10/26/2016 4:33 PM Number:11111117 Status:FAIL Date:10/26/2016 4:52 PM Number:11111115 Status:PASS Date:10/26/2016 4:58 PM is there a way to check the number that has the last date and if was...