Understanding airbrake source code
◷
تاریخ انتشار: 1395/4/8 | ساعت: 7:41
Vote count: 0 I have a project where I have to build a Rubygem similar airbrake,I started by reading the source code of airbrake and I do know how to create a new gem,My problem is in the code itself ,I don't fully understand it .Does airbrake just notify the user or does it handle the exception? an...
Select feeds without blocked users
◷
تاریخ انتشار: 1395/4/8 | ساعت: 7:41
Vote count: 0 I'm searching for sql that will retu all feeds without blocked users feeds. for example i blocked someone it will show me all feeds without that persons feeds. and will not show him my feeds. i have 3 table. 1 table is users table that contains all users information. second table is us...
Get notified when a specific wifi is visible in android
◷
تاریخ انتشار: 1395/4/8 | ساعت: 7:41
Vote count: 0 I know that there is a REQUEST_SCAN_ALWAYS_AVAILABLE mode in android 4.3+ which let the device scan wifi even when the wifi is off. I want to know the result each time the scan performed and check to see if a specific wifi is available and if so do something. Is there any api for that?...
Changing the dialer of android phone
◷
تاریخ انتشار: 1395/4/8 | ساعت: 6:31
Vote count: -2 i am wanted to make my app a default phone dialed and I want to handle outgoing and incoming phone calls track call time reject or accept phone calls i know I have to import android.telecom but where or how do i get that package asked 1 min agoDan Spelt Let's block ads! (Why?)
Ionic2/angular2 correct way of consuming service
◷
تاریخ انتشار: 1395/4/8 | ساعت: 6:31
Vote count: 0 I am lea ing to build Ionic-2 app, I have a few components which consume services that make an http call and fetch some data, which in tu will be set in component and will finally be displayed in template. I overall understood the flow but I am making some logical mistake while coding ...
Error While creating a new Rails Project in Rails 5.0.0.rc1
◷
تاریخ انتشار: 1395/4/8 | ساعت: 6:31
Vote count: 0 I am trying to create a new Rails project- in fact, it is chapter 3 of Michael Hartl RubyonRails. Anytime I try to create the sample_app I get this message : $ rails 5.0.0.rc1 new sample_app/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:319:in to_specs': Could n...
spring cloud consul discovery acl for catalog services
◷
تاریخ انتشار: 1395/4/8 | ساعت: 5:25
Vote count: 0 I have ACL on for Consul, and have tried many ways to specify the token to use for service discovery. The config ACL token works fine, and the discovery ACL token works for registration (I can see my services in the Consul UI). I see the code for AgentConsulClient.agentServiceRegister(...
MongoDB (mongoose) query to search for game titles and sort based on (real-world/sane) relevance
◷
تاریخ انتشار: 1395/4/8 | ساعت: 5:25
Vote count: 0 I'm building an application in node/express, using mongoose and mongodb for data. I have a "games" collection in mongo that has tens of thousands of games. Each game has a "title", and I would like to be able to search for a title (e.g. halo 2) and have the results display in a user fr...
GraphQL and React Native weirdness
◷
تاریخ انتشار: 1395/4/8 | ساعت: 5:25
Vote count: 0 I got the graphql example here: http://graphql.org/docs/getting-started/ up and ru ing, and I was hoping to query it through react native using this hacked up example: https://gist.github.com/Da…/9f798396ea8a86f35e294439de098cbd , and I get no errors but it never loads the data... Can ...
performance issue until mongodump
◷
تاریخ انتشار: 1395/4/8 | ساعت: 3:07
Vote count: 0 we operate for our customer a server with a single mongo instance, gradle, postgres and nginx ru ing on it. The problem is we had massiv performance problmes until mongodump is ru ing. The mongo queue is growing and no data be queried. The next problem is the costumer want not invest i...
Pyfscache Python Module Expiration
◷
تاریخ انتشار: 1395/4/8 | ساعت: 3:07
Vote count: 0 I am using the python module pyfscache in one of my scripts and I am confused about the expiration property of the constructor. When you set an expiration time, what happens when that allotted time is over? Do the files in the directory get deleted? I tested this with a 5 second expira...
Is it possible to send Toast notification from console application?
◷
تاریخ انتشار: 1395/4/8 | ساعت: 3:07
Vote count: 0 Is it possible to send Toast notifications from console application using ToastNotificationManager ? I know that it is possible to send Toast notifications from Windows Universal app: var toast = new ToastNotification(doc); ToastNotificationManager.CreateToastNotifier().Show(toast); *d...
MySQL IN condition gets results with always false condition
◷
تاریخ انتشار: 1395/4/8 | ساعت: 2:05
Vote count: 0 I need a condition that when used with an IN condition, it won't retu any results. I initially thought this would work, but it still gives back results: SELECT * FROM MyTable WHERE id IN (SELECT FALSE FROM dual WHERE FALSE); Is there a condition I could put in the IN condition to have ...
Counting by Week in Hive
◷
تاریخ انتشار: 1395/4/8 | ساعت: 2:05
Vote count: 0 I'm trying to produce a fully refreshed set of numbers each week, pulling from a table in hive. Right now I using this method: SELECT COUNT(DISTINCT case when timestamp between TO_DATE("2016-01-28") and TO_DATE("2016-01-30") then userid end) as week_1, COUNT(DISTINCT case when timestam...
HIVE not working, No suitable driver found for jdbc:derby://localhost:1527
◷
تاریخ انتشار: 1395/4/8 | ساعت: 2:05
Vote count: 0 I followed the tutorial here http://www.tutorialspoint.com/hive/hive_installation.htm to install HIVE but I am getting this error when ru ing bin/hive. Hadoop is ru ing as I am able to access http://localhost:50070/dfshealth.html#tab-overview hduser@nikhil-Lenovo-IdeaPad-Y500:/usr/loca...
converting .py files into .txt
◷
تاریخ انتشار: 1395/4/8 | ساعت: 0:20
Vote count: -1 I want to create a .txt file containing the text of some .py files. How would you go about creating this txt file in the ru ing directory and inputting into it the content of .py files. Thanks! asked 47 secs agoEyal Leviatan Let's block ads! (Why?)
Angular on button click outside ctrl, pass button id
◷
تاریخ انتشار: 1395/4/8 | ساعت: 0:20
Vote count: 0 I want to call a function from outside the controller and pass it the button id. This is my current code : <button class="btn btn-primary manageCompany" id=<%=comp._id%> data-toggle="modal" data-target="#manageCompany_pp" ng-click="clickMe()">Manage</button> // .. More code <div class=...
Does react-native AsyncStorage persist between playstore updates?
◷
تاریخ انتشار: 1395/4/8 | ساعت: 0:20
Vote count: 0 I can't find anything about this. I need a way to persist data between app updates on the play store and I'm not sure if the AsyncStorage does the job. I assume it does, since on every build I perform, the data is there. But I'm not sure about different versioning in the store. If it d...
Fortran: Choosing the rank of an allocatable array
◷
تاریخ انتشار: 1395/4/7 | ساعت: 22:54
Vote count: 0 I am trying to write a program where I want the allocatable array A to be of either rank 1, 2, or 3, depending on my input at run-time. I want to do this since the subsequent operations on A are similar, and I have defined in a module an interface work with module procedures that when ...
Combining Two SQL Queries with different where and returning unique rows
◷
تاریخ انتشار: 1395/4/7 | ساعت: 22:54
Vote count: 0 I'm trying to combine these 2 SQL queries. SELECT * FROM `history` WHERE `ID` = 56 SELECT * FROM `live` WHERE `ID` = 56 AND `ACTIVE` = 0 AND t1.`Shown` = 'complete' I've tried doing something like this: SELECT t1.*,t2.* FROM `history` t1 JOIN `live` t2 ON t1.`ID` = 56 AND t1.`ACTIVE` =...