Home » Programming Languages » Page 4
Should UDP & TCP port numbers represented as a short or integer?
Programming Languages

I am currently designing some networking code, and this code expects the caller of the code to give it a port and hostname to connect to.

Since I am still in the development phase, I can still change many aspects of the code and more advantages and disadvantages come in for the code. However, some aspect of the code has left me still wondering what kind of number I should pass to the un


Differences between MOV, LEA and OFFSET
Programming Languages

Sure MOV "moves" (copies actually) something, but how ? Does it put the actual value from the source into the destination or puts some kind of address.

This question came to me when I saw in Jeff Duntemann introductive assembly book that he is using interrupt 80h of Linux like this:

mov eax,4    ; Specify sys_write call
mov ebx,1    ; Specify File Descriptor 1: Standard 

What is the name for user-defined methods / functions that get called implicitly? [on hold]
Programming Languages

I want to mark such methods in my application code with a comment that highlights that these methods are expected to get called by the framework / compiler the application is written for, even if the application code itself contains no calls to them.

F.ex. the methods called by an Inversion of Control framework, like the beginRender and afterRender of

Do I have to include the license for a testing framework?
Programming Languages

A common requirement for licenses is that they must be included with the software. Should licenses for testing frameworks with this clause be included if the test code is not something that is being shipped?

In other words: when a library's license asks to be included, is it only with software that directly uses that library?


At what point is it taboo to have loops within loops?
Programming Languages

Just curious. The most I have ever had was a for loop within a for loop, because after reading this from Linus Torvalds:

Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3.

<

populating data in list view using parse [on hold]
Programming Languages

Querying parse for data to populate List view..! Im unable to display Data in Listview ..! And There Is No Error In this Project.!

MainActivity

public class MainActivity extends Activity {

ImageView banners;
// Declare Variables
ListView listview;




ArrayList<OnlineProducts> productsList  = new
ArrayList<OnlineProducts>();



@Overr

Converting a defined name into a variable
Programming Languages

I am new to VBA/ Excel and I am trying to convert a Dynamic range that I have defined into a variable so that I can have a comboBox that uses the items in the defined range, how do I do it?


How do large corporations store API keys?
Programming Languages

When FaceBook or Google give me an API key, are they just storing it in a database?

Unlike a password, where you can hash and salt it before putting it in the database, it seems to me that a key needs to be stored as-is (or else in a reversible form) so that they can provide it to me upon request.

My concern is with storing immediately usable information in my databases.

<

Naming convention for CSS classes in tests?
Programming Languages

I like the suggestion in Trello CSS guide to separate presentation from behavior - for instance, I might have a .c-login-button class for describing what the button looks like, but .js-login-button for hooking up an event in JavaScript.

I'm trying to find out the best way to ex


Microservices and isolated data storage models
Programming Languages

I have been looking at Microservices for a while now. The concept is not new but it's communicated in a lightweight manner. So, I am very excited about this.

However, there is a question that I am not sure what the answer is: is each microservice supposed to have its own isolated data storage model completely? Consider the below:

Note: This is probably not a good


Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .