Understanding airbrake source code
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
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
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
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
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
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
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(...
GraphQL and React Native weirdness
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
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
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...
MySQL IN condition gets results with always false condition
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
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...
converting .py files into .txt
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
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=...
Fortran: Choosing the rank of an allocatable array
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 ...