How to start sql server from command line?
◷
تاریخ انتشار: 1395/4/19 | ساعت: 19:08
Vote count: 0 I'm trying to start Sql server express from command line using the following command: net start MSSQL$SQLEXPRESS But I get this error: System error 5 has occurred. Access is denied. I have administrator privilege and my OS is windows 7. asked 1 min agoe.s Let's block ads! (Why?)
Assembly correct usage of word/byte/word ptr
◷
تاریخ انتشار: 1395/4/19 | ساعت: 19:08
Vote count: 0 I'm writing a little machine code generator for assembly. I have a question regarding immediate to memory instructions: Let's take these 3 scenarios: "add [ebx+04], 0x1" "add [ebx+04], 0x4040" "add [ebx+04], 0x401000" What I do is going by the immediate constant, I check what is the sm...
How to read messages from the beginning of Kafka queue (programmatically)?
◷
تاریخ انتشار: 1395/4/19 | ساعت: 19:08
Vote count: 0 When Kafka Consumer is launched from terminal, it is possible to set --from-begi ing, so that the consumer read messages from the begi ing of a Kafka queue. ~/kafka/bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic TutorialTopic --from-begi ing However, how can I set thi...
Reduce number of shared_ptrs in persistent data structure
◷
تاریخ انتشار: 1395/4/19 | ساعت: 17:47
Vote count: 0 I'm faced with a design choice for a singly linked list class. The rough idea is this: template<typename T> class List { public: ... private: struct Node { std::shared_ptr<const T> value; std::shared_ptr<const Node> next; }; std::shared_ptr<const Node> node_; }; Yes I know there are a ...
socket.io - Impact of dynamic namespaces on server performance
◷
تاریخ انتشار: 1395/4/19 | ساعت: 17:47
Vote count: 0 Let's say, there is a lot of namespaces and to each namespace may be co ected a lot of clients. My question is. Does it make any sense to create and destroy these namespaces dynamically. Meaning, if no client is co ected to namespace then destroying it. And, at first client co ection c...
Implementing android:choiceMode in a RecyclerView
◷
تاریخ انتشار: 1395/4/19 | ساعت: 17:47
Vote count: 0 I tried implementing choiceMode in RecyclerView. What I want is whenever any grid item is clicked,its background color changes & looks like it is selected. I have used a library: https://github.com/bignerdranch/recyclerview-multiselect but when I implemented it more than one items are ...
Randomized Quick Sort over Deterministic Quick Sort?
◷
تاریخ انتشار: 1395/4/19 | ساعت: 15:28
Vote count: 0 What is the kind of data set a randomized quick sort algorithm would give a better result than a deterministic one? Clearly, the worst case time complexity would remain O(n^2) but is there a specific advantage of the former over the latter? asked 1 min agoalchemist95 Let's block ads! (...
How to use group function in self join?
◷
تاریخ انتشار: 1395/4/19 | ساعت: 15:28
Vote count: 0 I want to convert Subquery into Join, following is the subquery SELECT employee_id, last_name, salary FROM employees WHERE salary > (SELECT AVG(salary) FROM employees); I wrote following join, but I am getting "ORA-00934: group function is not allowed here" error SELECT e.employee_id, ...
How to debug AJAX (POST) with PHPstorm and XDEBUG?
◷
تاریخ انتشار: 1395/4/19 | ساعت: 15:28
Vote count: 0 I have configuerd PHPStorm to debug HTTP GET - but only when I load a page directly. When I want to debug AJAX, I take the URL which my JS would request and create a PHPStorm configuration to debug it. Not particulalry elegant, is it? And, of course, I Can't do that for POST requests (...
Find file by name
◷
تاریخ انتشار: 1395/4/19 | ساعت: 13:58
Vote count: 0 if os.chdir("C:Media") and file.name == (args): print('vodka!') else: print('nope') (all required shtuff is is imported, whenever I scan for a file that is there, it prints nope. asked 56 secs agoMzon Let's block ads! (Why?)
Saturating the proof context using a lemma
◷
تاریخ انتشار: 1395/4/19 | ساعت: 13:58
Vote count: 0 When I write tactics, I often want to saturate the proof context using a particular lemma. A typical example would be adding to the proof context all the inequalities a <= b that I can obtain by transitivity. Ltac saturate_le := repeat (match goal with | [ H : ?a <= ?b, H' : ?b <= ?c |...
While validation loop
◷
تاریخ انتشار: 1395/4/19 | ساعت: 13:58
Vote count: 0 I know this might seem like a simple/silly question, but I am trying to keep my code as organized and simple as possible. The problem that I am having is with a while loop for validation. I am validating a string input. I am using the validation simply to make sure that something is en...
nevertheless I believe like my mustache
◷
تاریخ انتشار: 1395/4/19 | ساعت: 12:49
Vote count: 0 nevertheless I believe like my mustache is developing faster. If something you might additionally use it as a placebo outcomes, if you realize that you're doing the whole thing humanly feasible to make your beard develop you can sleep higher realizing Beard Czar you place in all the ef...
How to write comment in a jpeg image file that can be visible with image editor like irfanview etc
◷
تاریخ انتشار: 1395/4/19 | ساعت: 12:49
Vote count: 0 I want to write some comment , that can be visible with image editor like irfanview. I have tried to write comment on exif data , but its not showing on comment section. I think the way image editors allow us to comment on the image , are not saved into the exif data. Any idea how to d...
items.forEach is not a function react native
◷
تاریخ انتشار: 1395/4/19 | ساعت: 12:49
Vote count: 0 I am lea ing react native and i tried to use react-native-grid-view for grid based layout. I want to show 3 images per row. But i am getting an error stating 'items.forEach is not a function'. What might be the issue? Below is my code const data = [ {image:require('./assets/img/Alcohol...
Prevent calling ajax on scroll when already called
◷
تاریخ انتشار: 1395/4/19 | ساعت: 11:38
Vote count: 0 I have a plugin that tells me if an element is visible in the viewport with $('#element').visible() (set to true when visible). Now I want to create a function that I scroll down a page and load new content with ajax. I have this so far: window.onscroll = function() { console.log($('#e...
How can I display the day of the week, (I have the highest value)?
◷
تاریخ انتشار: 1395/4/19 | ساعت: 11:38
Vote count: 0 How would I display the day, I have the highest value over the week but I need to match the highest value to the correct day of the week. If you have an idea please use jsfiddle or other program to show! Thanks! <script> function total() { var th = Number(monday.value) + Number(tuesday...
Succesfully enabling -fno-finite-math-only on NaN removal method
◷
تاریخ انتشار: 1395/4/19 | ساعت: 11:38
Vote count: 0 In finding a bug which made everything tu into NaNs when ru ing the optimized version of my code (compiling in g++ 4.8.2 and 4.9.3), I identified that the problem was the -Ofast option, specifically, the -ffinite-math-only flag it includes. One part of the code involves reading floats ...
I create a UIColor with IBInspectable but I do not know How to set the default color?
◷
تاریخ انتشار: 1395/4/19 | ساعت: 10:22
Vote count: 0 I create a UIColor with IBInspectable,but not all view need set different color, so I want set default color. thinks! enter image description here asked 1 min agonewfun Let's block ads! (Why?)
How to load balance a website in different droplets in digitalocean
◷
تاریخ انتشار: 1395/4/19 | ساعت: 10:22
Vote count: 0 I am really new to load balancing. How can I load balance a website that runs on ubuntu, nginx, php, redis and mariadb to two or more droplets in Digitalocean? I am more conce on the redis and mariadb side. My only Idea right now is to have one droplet (droplet A) only for redis and ma...