by ajamil | 24/01/17 | 1 Answers | Tags : Java , threadSafe , SplittableRandom Views : 249
Is Java SplittableRandom.split() threadsafe?

Read more

by ajamil | 24/01/17 | 0 Answers | Tags : Android , app-development , mobile-app , action-bar , menu Views : 153
How to display menu item in action bar in android ?

Read more

by | 23/01/17 | 1 Answers | Tags : Javascript , node.js , uncache , module Views : 201
how to uncache a node.js module ?

Read more

by | 23/01/17 | 3 Answers | Tags : Debug , css , JS , cache , uncached Views : 399
How to force Browser to load fresh copy of CSS/JS files ? i am debugging with web application which have use cache module , when i do some change in CSS or JS , It Always load cached version of it so i always need to go back end each time and remove cache and try again to load my change. so it is very time consuming to debug with cached application so is there any hack i can do which help me to debug with cached application so it load my changes on CSS and JS ? How can I force Browser to refresh JavaScript/ CSS files?

Read more

by | 23/01/17 | 1 Answers | Tags : jQuery , Javascript , Window.load , document.ready Views : 176
what is the difference between window.onload (JavaScript) and $(document).ready() (jQuery) ? is there $(document).ready() is that extended version of window.load ? which is one better to use when we need some action in JavaScript after page loading.

Read more

by lain | 20/01/17 | 1 Answers | Tags : PHP , each , foreach , loop , iteration Views : 334
difference between foreach and each in PHP ? both should be use for iteration . is each and foreach is identical ? if not identical as respect to functionality than what is difference between each and foreach in PHP ? is each / foreach iterate same way ? each vs foreach , pros and cons of each and foreach in PHP

Read more

by lain | 20/01/17 | 1 Answers | Tags : PHP , array , String Views : 208
suppose i have array contained strings and i want to find max length string from array of strings in PHP is there function which return me string which have max length in array at PHP .

Read more

by | 20/01/17 | 2 Answers | Tags : jQuery , Javascript Views : 334
what are the other alternative of element selection at html Dom in JavaScript except $("#id") or $(".class") i know that i can use id and class in jQuery to select by $("#id") or $(".classname") and make it operation on it like show or hide or change css etc.. but i want do it in pure JavaScript why i am not using the jQuery . its only because i just need selector for hide a div for onload nothing more so its not good to use for just jQuery . it can be done also in pure JavaScript

Read more

by | 19/01/17 | 3 Answers | Tags : Javascript , node.js , readFile , readFileSync Views : 476
why readFile return buffer in Node JS ? what i got at console is <Buffer 30 09 5f 64 65 62 75 67 5f 61 67 65 6e 74 26 31 09 5f 64 65 62 75 67 67 65 72 26 32 09 5f 68 74 74 70 5f 61 67 65 6e 74 26 33 09 5f 68 74 74 70 5f 63 ... > it says i am buffer . and it should be file content get same with readFileSync var file=fs.readFileSync(filePath); i got again buffer , so what is the issue with readFile and readFileSync ? why readFile and readFileSync return buffer instead content ?

Read more

by web-api | 18/01/17 | 2 Answers | Tags : Javascript , JS , apply Views : 309
what use of apply() method in JavaScript ? myArray.apply('a') means it append to myArray or what ? or apply() method means apply logic for all array value ?

Read more

by web-api | 18/01/17 | 1 Answers | Tags : Javascript , JS , Spread-Operator Views : 173
what is use of spread operator in JavaScript ? how one can use spread operator ? what meaning of ... (spread operator ) , what spread operation does in above code ?

Read more

by web-api | 18/01/17 | 2 Answers | Tags : Javascript , JS , setInterval , setTimeout Views : 489
difference between setInterval and setTimeout in JavaScript ? pros and cons of setInterval and setTimeout over each other ? which one is best to use or more useful in between setInterval and setTimeout ?

Read more

by | 18/01/17 | 2 Answers | Tags : node.js , JS , Modules Views : 210
How to get installed module list in Node JS ?

Read more

by | 18/01/17 | 3 Answers | Tags : Javascript , async , call Views : 327
what is async call in JavaScript ? is it means it call is not synchronized , is that so ? how can be implemented with JavaScript ?

Read more

by noob | 17/01/17 | 1 Answers | Tags : Javascript , difference , node.js , JS Views : 193
what is plus in Node JS over JavaScript ? because as i learn Node.js and i see that it work same as JavaScript . Node JS also run JavaScript . so why one made Node JS ? what is pros and cons of Node JS over JavaScript ?

Read more

by noob | 17/01/17 | 0 Answers | Tags : Javascript , css , Cross-Browser Views : 109
why all browser behave differently for same code ? not most of code but sometime it annoying that some code running well in one browser ex. Mozilla Firefox , not work as it should be at IE(Internet Explorer). IE(Internet Explorer) have most issue with JavaScript or CSS even browser version also another headache . A JavaScript work with IE 10 , possibly not work with IE 8 , so one need to do extra code so it work with both. what is the reason all browser don not have same api for JavaScript or Css ? as a web developer we doing so much for Cross Browser compatibility , so its my right to know who cause it ? is it browser coded so or anything else ?

Read more

by lain | 17/01/17 | 2 Answers | Tags : Javascript , variable , let , var , definition , initialization , difference Views : 458
what is the difference between var statement and let statement in JavaScript ? both seems to work same. both , var and let statement define the variable and work same so what is the difference between var statement and let statement in JavaScript ? list all pros and cons also so i can use both with wise

Read more

by lain | 17/01/17 | 1 Answers | Tags : Javascript , function , functionOverflow , callstack , RangeError , overflow , recursion Views : 164
how to prevent function overflow in JavaScript ? when run code for recursion i got error like RangeError :: Maximum Call stack size exceeded so it is function overflow i think so what is prevention of the function overflow ? and how can i avoid RangeError :: Maximum Call stack size exceeded ?

Read more

by lain | 17/01/17 | 2 Answers | Tags : Javascript , how-it-work Views : 377
How JavaScript work ?

Read more

by | 16/01/17 | 3 Answers | Tags : Javascript , array , append Views : 224
how to append new value to array in JavaScript ?

Read more