Data dodania Pytanie
2017-05-26 07:05 Calculating the ratio of target variable in r »
I want to know that When a variable is binned with four intervals as shown below, the ratio of target variables belonging to each interval. german&lt...
(0) odpowiedzi
2017-05-25 20:05 File Size with Tabs vs Spaces »
Is is true that file size with Tab Indentation is much smaller than the one's with spaces? In the article below it shows Space indented file size to ...
(1) odpowiedzi
2017-05-24 17:05 Conditional arguments in Python function call »
Is there a way pass arguments conditionally in Python (I use Python 2.7)? As an example, this code gives 2 or 3 arguments depending if the 3rd argume...
(4) odpowiedzi
2017-05-24 09:05 Some one please give the helping material for pep 9 assembly language »
I have to implement the following functions through pep 9 assembly language. please give the helping material for pep 9 assembly language Add Sub M...
(0) odpowiedzi
2017-05-23 09:05 How can I check code style of my Android project with checkstyle.xml ? ( from command prompt) »
I have a checkstyle.xml and I need help, how can I check Android project's java code style with checkstyle.xml by using command. Thank u! ...
(0) odpowiedzi
2017-05-22 14:05 How to remove data from Excel file in R »
I'm fairly new to R, and I have to solve this question. Can anyone help me? I've also attached the FlyingFoxMonitoring.csv Question: Some of the re...
(1) odpowiedzi
2017-05-22 11:05 Convention to name null value to a reference before passing to a method? »
My question is more for coding conventions and practice - but are there any impact on memory or performance as well? I have a method like this which ...
(2) odpowiedzi
2017-05-20 17:05 Look for an elegant way to declare an array of struct with strings in C »
I'm trying do do something like what I've done in C++ with QT, in C. This is a part of the C++ code: typedef struct { int order; int ...
(1) odpowiedzi
2017-05-18 17:05 Is there a standard what to write first: the @RequestBody or the @PathVariable? »
If you have a function with @RequestBody and @PathVariable in a function. Is there any standard, which to write first? I haven't found anything while ...
(0) odpowiedzi
2017-05-17 12:05 Is there any standards to write keys in Properties file »
I referred below two links, and get confused every where formats are different. 1.docs.oracle.com/cd/E23095_01/Platform.93/ATGProgGuide/html/ 2.comm...
(0) odpowiedzi
2017-05-16 23:05 What to build in between a Chatbot service like API.ai and a Calendar »
I've been playing around with API.ai and other sites to create a chatbot that can take bookings and I'm learning a lot about how that side works. I ...
(0) odpowiedzi
2017-05-16 16:05 PHP failed file operation handling »
Is there any behavioural differences between the following 2 spinets of PHP code? $f = fopen("file.txt", "r"); if (!f) { .. return error, or exit...
(0) odpowiedzi
2017-05-15 19:05 laravel project failed to load font awesome boilerplate »
I install laravel boilerplate and when start project , he don't load font-awesome, why ? ...
(1) odpowiedzi
2017-05-13 08:05 What is the right way to parse large amount of input for main function in C++ »
Suppose there are 30 numbers I had to input into an executable, because of the large amount of input, it is not reasonable to input them via command l...
(0) odpowiedzi
2017-05-12 13:05 Is is acceptable to push non-working code [git] »
I understand it's quite normal to commit non-working code in local, and squash+push once it works. On a non-master branch however would it be accepta...
(3) odpowiedzi
2017-05-12 13:05 WordPress Portfolio Styling »
I want a popup to appear whenever a click on a portfolio item in WordPress. I am using Adios Theme. What code should I put and where? I am attaching...
(0) odpowiedzi
2017-05-10 09:05 Setting different code styles for separate projects in Pycharm »
I'm using Pycharm, and it's a great editor, but I have this issue while working on a number of projects at the same time. Unfortunately, the different...
(2) odpowiedzi
2017-05-09 23:05 Ruin theory in R but i keep facing an error. Why? »
I'm applying theory to a scenario for a compound stochastic process. This is my code: lab <- 0.027 u <- 10400 sims <- 3000 i <- 37...
(1) odpowiedzi
2017-05-08 11:05 how to insert newline between two if conditions »
I am using clang-format to prettify some existing code. I want to insert a newline between two if conditions, like below code : int main() ...
(1) odpowiedzi
2017-05-07 18:05 How to apply combine technique with if condition »
C# code syntax is bellow public void Cancel() { // If reservation already started throw exception if (DateT...
(1) odpowiedzi
2017-05-05 03:05 How to enable CAxxxx warnings? »
How can I enable code style warnings like CA1002: Do not expose generic lists (or any other "Code Analysis for Managed Code Warnings")? Part of the l...
(1) odpowiedzi
2017-05-04 19:05 Why my external css is not being applied? »
I am trying and example of w3school with tabs, my problem is that when I move the css part to another file (with extention .ccs) this doesn't work. H...
(1) odpowiedzi
2017-05-04 17:05 Workflow: Keeping it clean »
So I'm relatively new to coding overall. I therefore generate a lot of code drafts and notes, from which I keep using snippets for the finalized solut...
(0) odpowiedzi
2017-05-03 02:05 Big O Notation of a module nested in a built-in method in Python »
I'm wondering about a rationale for determining the big O values behind built-in methods in Python. Given the following operation: i_arr = ['1','2','...
(3) odpowiedzi
2017-04-26 13:04 Difference manager and tool class »
What are difference between manager and tool class in project? We are using some manager and tools class so want to understand the significance of th...
(1) odpowiedzi
2017-04-23 18:04 the pros and cons of using three dots ellipsis in R when writing function »
Would like to discuss the pros and cons of using the three dots ellipsis in the function argument when writing a good and maintainable R function, whi...
(0) odpowiedzi
2017-04-23 06:04 How to display code in certain format but commit in another? »
Me and a friend of mine are working on a codebase and a problem has arisen. So, I gladly adhere to any common style standard which has some tooling su...
(1) odpowiedzi
2017-04-22 00:04 Coming from C, I need some help figuring out, how to best generate Chess-Bitmaps from an input-string »
I'm attempting to generate some Bitmaps from an input-string for the chess-variant "Anti-King Chess". Unfortunately I have to do it in Java, which I'm...
(3) odpowiedzi
2017-04-21 08:04 Cleaner way around repeated if statements / null checks in Java »
I've got piece of code where fk variable is setting. There is view way to set value for this variable, but i've to check everytime if fk variable is ...
(0) odpowiedzi
2017-04-21 03:04 Java Convention to Return List of Own Instances? »
I have a question about Java Coding Style. I coded: public class Pattern { public Pattern(...) { ... } public static List<Pattern> ge...
(1) odpowiedzi
2017-04-21 00:04 How to write this code in a idiomatic/functional way? »
I'm trying to write this piece of python code in a more modular/reusable fashion and I'm having trouble writing it Consider this: lst = get_list_of_...
(1) odpowiedzi
2017-04-20 23:04 Storing sql queries in enum. Is it good practice ? »
Is is a good practice to use an enum to store sql queries as constants ? I already have more than 20 private static final queries in my class, so I...
(0) odpowiedzi
2017-04-19 21:04 How to change action bar button in android »
I want to make the back button in the action bar to look like this "<" and not arrow like "<-". Please let me know how to do it. ...
(2) odpowiedzi
2017-04-19 12:04 Creating Constant for section is good Idea? »
I have a tableview which have number of section. lets say first section is for UserProfile. In numberOfRows in section I want to use like if section...
(0) odpowiedzi
2017-04-13 18:04 Border multiple lines of text as a block within more text »
I'm trying to set a border around multiple lines of text within a paragraph. I basically don't want the border to appear on each line, but around all ...
(2) odpowiedzi