Renaud Tarnec

Greenhorn
+ Follow
since Sep 28, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
4
Received in last 30 days
0
Total given
8
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Renaud Tarnec

Hello Kyle,

What would be the best way to define a JS function with two different signatures (i.e. it can be called with different number of parameters)?

myFunction(param1, param2);

myFunction(param1, param2, param3);

The idea is to have a different behavior if the function is called with the extra parameter.

Thanks in advance!



Very happy to be a winner :-) :-) A big thanks to Java Ranch and to Rick.
Hello Rick, I see that Chapter 18 of your book is about "Working with GitHub". Is there also a part covering Bitbucket?

Thanks
Ok, thanks! Will know for next book promotions!
5 years ago
Hi,

Even if an IDE is HIGHLY recommended to develop for Android, it is possible to develop without an IDE. You need a shell and an editor. In this case, the recommended way to build Android apps is by using Gradle.

But, again, I think you better start with Android Studio. The learning curve should be seen as an investment: it will dramatically accelerate your work in the future.
5 years ago
Sorry for such out of scope question, but do we have to start the title of our question by "Learn GIT in a month of lunches: " in order to be eligible for the book promotion?? Thanks in advance
5 years ago
Actually, as of today, I use Android Studio, since I am mostly developing android apps based on App Engine backends. Android Studio is based on IntelliJ and I find it very nice, a bit more user friendly than Eclipse.
Hi,

I recently visited the following Gist on GitHub and I saw that there is a tag named "Secret". Could you tell me what does it mean??

https://gist.github.com/devunwired/8cbe094bb7a783e37ad1

Thanks in advance!!
Thanks to both of you for your anwsers. I do agree that this very old school and not recommended... as I said it was more about curiosity! Thanks for your time.
Hello,

I would like to know if it is possible to declare the style for a specific selector with an inline declaration. Let's take an example.

I can declare a CSS class for the style of the "focus" selector, like:



and add the myInput class to a field in my html

Is it possible to do the same declaration but inline in the input html code, i.e. by doing

I am convinced it is better to do it through class definition and not inline, but I am just curious!

Thanks in advance

And thanks to JavaRanch for the book promotions!




>
Hello,

With the technology stack you already know (i.e. php,javascript,jquery,css and html), it could be interesting to learn how to develop REST Apis in the cloud, like for example Google Endpoints and use the web technology to consume these API from a web page.

6 years ago
Hello,

The code inspector of an IDE like WebStorm identifies duplicated jQuery selectors and the IDE then helps you declaring the selector as a variable.

I am interested to know:

1/ How important/beneficial it is to remove the duplicates, what is the real impact on performance?

2/ Are they some Best Practices when removing the duplicates?
a/ Any naming convention for variables that hold selectors?
b/ If a selector is used in several functions which will not necessary be all called (e.g. depending on user actions): is it better to declare the selector as a global variable for the page or only as a local one within each function?

Thanks in advance!
Hello,

I am setting some onClick function on the rows of a table using:




How can I avoid to assign the function to the <tr> that is inside a <thead>?

Thanks in advance