Method naming convention for returning the amount of something
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
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
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++
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...
Access Camera on mobile device to read Barcode and QRCode
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...
log4net - Optional MessageBox
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...
events for save an instance of fragment
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 show list items got selected in javascript
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
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
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
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...