App showing doing too much work in main thread even if the operations are performed in background thread.
◷
تاریخ انتشار: 1395/1/31 | ساعت: 19:41
Vote count: 0 Hi I am getting this message in log every time when execute query. But query is executing in background thread only and Table has not more 500 rows and also I always apply limit 100. Please don't simply give some link and say this question already answered. I have read lots of answers ...
Method naming convention for returning the amount of something
◷
تاریخ انتشار: 1395/1/31 | ساعت: 18:33
Vote count: 0 Let's assume that we have a method that retu s an amount of something for example amount of flowers. How should we name such a method? getFlowerCount() getFlowersCount() To make it more precise, I want to retu the number of flowers not one of the flower's property. Maybe there is a bet...
ios - UICollectionView layout last row
◷
تاریخ انتشار: 1395/1/31 | ساعت: 18:33
Vote count: 0 I am currently working on a UICollectionView. I have been looking all over SO and found several issues to this problem, but none of those had an answer to the problem. Maybe if i collect all the facts in one question here, one can provide a solution to this issue: If I have a collectio...
Microservice architecturs and layers
◷
تاریخ انتشار: 1395/1/31 | ساعت: 18:33
Vote count: 1 Let's discuss the architecture of a microservice environment. We are having a discussion inte ally at our company and I'd like some feedback. What I'm having serious thoughts about are an orchestration layer (code duplication, more moving parts changing an api). Option one - with orche...
gSOAP 2.8.30 compatibility with VS6 C++
◷
تاریخ انتشار: 1395/1/31 | ساعت: 17:30
Vote count: 0 I try to compile my application with gSOAP 2.8.30 but i found an error which is wctomb_s undeclared identifier. So i just wandering if the latest gSOAP is not compatible with the VC6++ since this error come from stdsoap2.cpp. Before this i'm using gSOAP 2.8.6 is working fine. asked 1 m...
How to make a party banner using CSS? (Shown in the pic below)
◷
تاریخ انتشار: 1395/1/31 | ساعت: 17:30
Vote count: 0 the half circles ba er I want to make I wish to make it on the head of my sites' homepage, like a decoration, but not necessarily in a fixed position. Thanks everyone! asked 1 min agoDummyMe Let's block ads! (Why?)
Can't backup custom metaboxes inside custom post types in wordpress
◷
تاریخ انتشار: 1395/1/31 | ساعت: 17:30
Vote count: 0 I used custom metaboxes inside custom post type pages and now I can't migrate the data from one site to another (from stage to production). Any tips on how to do this? It seems that they either don't get exported or imported. asked 1 min agogoncalomarques Let's block ads! (Why?)
Access Camera on mobile device to read Barcode and QRCode
◷
تاریخ انتشار: 1395/1/31 | ساعت: 16:26
Vote count: 0 We are looking for ways to access the camera on Mobile device from a webpage(HTML5, JavaScript). We are using IE(9,10,11) as the browser. Could you please point us to some sample code or a third party plugin that can be used to accomplish this? Note: We are pla ing to use the camera to...
Delphi FMX set focus to a particular control so the cursor appears
◷
تاریخ انتشار: 1395/1/31 | ساعت: 16:26
Vote count: 0 I created a test new FMX project. Added a TabControl to it. Used the context menu to add 3 tabsheets. To the 3rd tabsheet, added a TEdit. Added a OnChangeEvent handler to the tabcontrol. Coded it as follows: procedure TForm1.TabControl1Change(Sender: TObject); begin if TabControl1.Acti...
log4net - Optional MessageBox
◷
تاریخ انتشار: 1395/1/31 | ساعت: 16:26
Vote count: 0 We are using log4net for the logging in our programs. In some of these programs we log the errors in a file and show a message box at the same time. I solved this by creating an own "MessageBoxAppender". This is working fine. The problem is we have a program which can be split into two...
Recursive XAML binding data templates on the Universal Windows Platform
◷
تاریخ انتشار: 1395/1/31 | ساعت: 15:04
Vote count: 0 So I have a class Task which has a couple of properties and also can have a list Task objects ( child tasks ) inside it. I would like to recursively display each Tasks and their sub-tasks on the 'UWP'. Apparently 'WPF' had special 'UserControls' for that purpose according to this post:...
would you like to trust the iis express ssl certificate
◷
تاریخ انتشار: 1395/1/31 | ساعت: 15:04
Vote count: 0 I read tutorial http://www.asp.net/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on. in paragraph 8 , I accidentally click "no".how to fix it? asked 4 mins agouser5555160 Let's block ads! (Why?)
events for save an instance of fragment
◷
تاریخ انتشار: 1395/1/31 | ساعت: 15:04
Vote count: 0 I got a ViewPager inside my activity. One of fragments inside ViewPager, call it FragmentA, have a GridView inside it. In some cases, some message from network are received to my application and I have to update FragmentA.GridView and refresh it using its adapter. Since network events ...
How to create Fixed page links in angularjs dir-pagination-controls?
◷
تاریخ انتشار: 1395/1/31 | ساعت: 14:03
Vote count: 0 I am new to angularjs , I have trying to create fixed Page links in dir-pagination-controls in angularjs I have try to use 'total-items=100' but not working , I am getting all my values from web services , What I have tried app.controller('listdata',['$scope', '$http', function($scope,...
Architecting a server-client application in Java for an intranet
◷
تاریخ انتشار: 1395/1/31 | ساعت: 14:03
Vote count: 0 This is my first major project in Java for a friends' company. The company does stock taking for multiple clients and and I have a few questions about the overall architecture. I will need to have a maximum of 10 concurrent co ections. I will use: PostgresSQL for my db Hibe ate for ORM...
How to show list items got selected in javascript
◷
تاریخ انتشار: 1395/1/31 | ساعت: 14:03
Vote count: 0 I have a number of list items like sports, music, dance etc. I also have images related to them. What I want to do is, when I click on the image of sports, the list item 'sports' seen selected. I am a begi er in java script and do not understand how to make this possible. asked 1 min a...
Routes error with django models migrations
◷
تاریخ انتشار: 1395/1/31 | ساعت: 9:38
Vote count: 0 I have a file named routes.py where I have that router.register('orders', OrderViewSet, 'order') If I comment that I don't have problems with the migrations, but in production, and my boss say I ca ot comment that every time that I want to migrate. In te serializer.py I have this: clas...
using chained select dynamic form
◷
تاریخ انتشار: 1395/1/31 | ساعت: 9:38
Vote count: 0 I have problem with using chained javascript on my form. I use table to add dynamic input. The add didn't works. for the example, look at this the html : <table id="tableID" border="1"> <tbody> <tr> <td> <a href="#" onClick="addRow(tableID)">Add</a> </td> <td> <select id="mark" name="m...
Why does JSON TypeNameHandling.Auto includes project name
◷
تاریخ انتشار: 1395/1/31 | ساعت: 9:38
Vote count: 0 I'm posting a list of generics from client to server, so I need the TypeNameHandling thing in Json serializing & deserializing. I find that TypeNameHandling.Auto is what I need and provides the shortest string. One thing I don't understand is, why does the $type includes the project na...
Is there a reason this break statement doesn't break out of the for loop?
◷
تاریخ انتشار: 1395/1/31 | ساعت: 8:38
Vote count: 0 I'm going crazy. I know that the loop is entered, but there must be something i'm doing that prevents the break from exiting the for loop. Any ideas? For loop - break nonfunctional asked 2 mins agoCapprin Bass Let's block ads! (Why?)