Posts by Duds • 6,726 points
78 posts
-
1
votes0
answers43
viewsQ: Is it possible to create compiled WEB programs?
In the case of programming for WEB, it is possible to develop systems for WEB using compiled programming languages such as C++, for example? Or to WEB only dynamic languages are accepted? If…
-
0
votes1
answer470
views -
2
votes2
answers5233
viewsQ: How can I test method with void return using Junit?
It is possible to perform automated testing, in Java, of a method that has return void using JUnit? If yes, how is it possible?
-
4
votes4
answers569
viewsQ: In Object Orientation, does an inheritance violate encapsulation?
According to the book Design Standards written by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides, make a statement: "...inheritance violates the encapsulation." Below is the paragraph…
-
3
votes2
answers3170
viewsQ: Is it possible to store an Arraylist in a Java database?
In the case of Banco de Dados using Java, it is possible to store an object ArrayList in a Banco de Dados MySql? If yes, how can I store this type of data? And how can I recover it from the Data…
-
2
votes3
answers428
viewsQ: Linux or GNU/Linux?
There has always been a controversy regarding the name of the Linux Operating System. Some believe to be called only Linux, others call it GNU/Linux. After all, there is a correct way to refer to…
-
10
votes2
answers15565
viewsQ: What are the differences between Kernel and Microkernel?
Studying about operating systems I came across concepts about kernel and microkernel. In my researches I found the following definitions: Kernel In computing, the core or core (in English: kernel)…
-
1
votes1
answer118
viewsQ: Environment / Technology for developing 3D Web applications
Nowadays, many web applications use 3D resources in their applications. A place where I found some examples was in Chrome Experiments. An example that prompted my curiosity was this applying. My…
-
2
votes0
answers53
viewsQ: Problem following tutorial on MSDN Winusb, Microsoft
I have encountered problems in following the Microsoft MSDN tutorial on Winusb. The tutorial is Write a Windows desktop app based on the Winusb template. Following the instructions, in the step…
-
1
votes1
answer81
viewsQ: Is it possible to extract the header from a DLL? If so, how?
It is possible to extract header of a dll? Is this practice possible? If so, how can I?
-
0
votes5
answers10050
viewsA: Run script js when trying to close the window
When the user tries to leave the page for any reason, the event beforeUnload is fired. For example, when trying to submit a form, click on a link, close a window (tab) etc.. You can use the…
-
5
votes1
answer3721
viewsQ: Is it possible to know the functions of a DLL without having its documentation?
It is possible to discover which functions are available in a DLL without having its documentation in hand so we can use, in Java, for example?
-
1
votes1
answer370
viewsQ: Are there security issues when using sessionStorage for data storage?
Is there a problem related to the security of a web system that uses sessionStorage for temporary storage of a user’s data? In practice, the use of sessionStorage is a good practice? In my…
-
10
votes1
answer1943
viewsQ: What is Database Connection Pool?
What does pool of connections mean when it comes to the Database? What does this concept imply in practice? What is its usefulness and importance in everyday life? Below is a definition I found in…
-
2
votes1
answer141
viewsQ: Problems with Request using superagent
I’m trying to accomplish a request using the library superagent on my server nodejs, I am following the documentation, however, it is not working. Follow my code nodejs: var express =…
-
7
votes1
answer751
viewsQ: Is it possible to add Origin in the Header of a redirect according to the HTTP protocol?
I am implementing an application where I need to perform a redirect from one server to another and am encountering problems. While performing a redirect, receive the following error message:…
-
1
votes1
answer699
viewsQ: Is it possible to manipulate http request header?
This is a requisition http, it is possible to perform header manipulation of the request? Or is it only possible to make such a manipulation in the response? If possible, in which languages with…
-
1
votes2
answers1261
viewsA: Compare value at each String position in Java?
Although the question has already been answered, I would like to leave you another way to implement the comma counter using an interesting class method String how you can gain more visibility than…
-
0
votes0
answers559
viewsQ: How to generate/send (Server-Side) JSON via Java and receive via Jquery (Client-Side)?
I’m having trouble exchanging information between my web application (client) and my application java on the server side. I am trying to query the server via JQuery and hoping to receive as a return…
-
5
votes2
answers1590
viewsQ: How to save files to a server via Java?
I need to save a file to a server using Java. In my case, I need to save a file json. I can save a file normally on my computer, but how do I save directly to a remote server? Below is an example…
-
0
votes1
answer38
views -
15
votes2
answers883
viewsQ: What is the difference, in practice, between Session and Application?
I’m studying about Tecnologias Web, and during my class there was a topic about concepts involving Session and Application. The technology addressed during the class was C#. I didn’t quite…
-
1
votes2
answers35
viewsA: Structures and selection of conditionals
To interrupt the for when the user informs the code == 0, just create a else after your if and use a break. Follow the code below: #include <stdio.h> int main() { int i, qtde_leite_mensal,…
-
16
votes4
answers1876
viewsQ: What is the sense of an attribute being private and Static at the same time in a class?
I’m studying about the design pattern singleton, and in a code snippet on java, I came across a situation where I was in doubt. Below is the excerpt of the code: public class Conexao { private…
-
9
votes1
answer695
viewsQ: What is a Prototyping Language?
Reading an article on the Internet, I came across the following excerpt: Python, for its more generalist proposal, is a great choice as language for prototyping of systems built in, say, more…
-
1
votes2
answers89
viewsA: Error when giving spaces between Ivs
To perform this activity, follow the code below: HTML code: <!DOCTYPE HTML> <html> <head> <title>Teste</title> <link rel="stylesheet" type="text/css"…
-
1
votes5
answers3766
viewsA: Java - simple program (finding cousins) - does not run
Complementing the previous answers, by the way, are already more than complete, I would like to leave an example where you have the possibility to make your code a little more flexible, where you…
-
5
votes3
answers698
viewsQ: In OOP, what are the differences between Afferent Coupling and Efferent Coupling?
With regard to the concept of acoplamento in Programação Orientada a Objetos, what are the differences between Acoplamento Aferente and Acoplamento Eferente? If possible, to better elucidate the…
-
8
votes1
answer454
viewsQ: Is it correct to say that encapsulation aims at cohesion? Why?
Based on the statement below, follow my question: Cohesion and Coupling are very software engineering principles used. When we want to have a mature and sustainable architecture, we must take these…
-
4
votes2
answers154
viewsQ: Applying UX concepts to mobile development
I’m developing a mobile application and researching on the design part for mobiles, I’ve read the term enough UX. Searching, I discovered the following definition: Jakob Nielsen and Donald Norman…
-
33
votes5
answers5756
viewsQ: What is Design Pattern?
I am starting my studies in Software Engineering, I have heard a lot about the term Design Patterns and its applicability and importance in software projects. Below is a definition: In software…
-
5
votes3
answers2556
viewsQ: How to know how many objects were instantiated?
In a Java application, how do I know how many objects in a class were instantiated? This doubt came to me by reading the article mentioned in the link below. It follows the excerpt that led me to…
-
20
votes1
answer1388
viewsQ: What is a Nosql bank? How does it work?
I’ve heard a lot about Nosql database. Searching about it I found the following definition: Nosql (sometimes interpreted as Not Only SQL - Not Only SQL) is a generic term for a defined database…
-
2
votes1
answer2578
viewsA: Tcomport - Delphi Xe7
Steps to install Comport in Codegear Embarcadero C++ Builder 2009 Before starting the installation, if you don’t already have the files from Comport, you can find them in the link below: Download…
-
0
votes1
answer1227
viewsQ: How to load a CSS file dynamically in jQuery?
I am developing a mobile application in HTML, JavaScript and CSS using the phonegap. I need to adjust / tailor the same layout of a page to both mode portrait how much for way landscape. My doubt is…
-
1
votes0
answers443
views -
7
votes1
answer4784
viewsQ: What does Cross-Domain mean?
Looking into it, I heard that Cross-Domain is an interaction between different domains. Even, I found a similar question in the SOPT itself, as link below. However, the concept itself was not clear…
-
2
votes1
answer2797
viewsQ: What is the difference between Service and Application Software?
I’ve always wondered about the difference between terms serviço and software de aplicação. Both have similar meanings, but what’s the big difference in themselves? Below are some definitions of the…
-
25
votes2
answers17812
viewsQ: What is a Thread? How does it work?
I was confused as to what a thread is and what it represents. I found the following definition for the same: Thread is a small program that works as a subsystem, being a way for a process to split…
-
9
votes2
answers649
viewsQ: When should I maintain or delete a branch?
I’m working on a project and I’m starting to use a versioning control system, Git. When I create a branch to introduce a new functionality and after its completion, I merge with the master. What is…
-
1
votes1
answer318
viewsQ: Is it possible to create a cross-platform hybrid application with Phonegap?
With the advent of the possibility of creating mobile applications for various platforms using Phonegap, as an example, I found on Adobe Phonegap’s own website the chance to create a hybrid app,…
-
6
votes2
answers1434
viewsQ: How does a Container work?
How does a container for web application servers, such as Tomcat?
asked Duds 6,726 -
10
votes3
answers31029
viewsQ: What is a Servlet and what is it for?
I’ve heard a lot about the term servlet, however, I still can’t understand. What really is a servlet? What is the point? What is its practical applicability?
-
0
votes1
answer239
viewsQ: Why dynamically change the name of a variable in PHP?
In PHP, you can dynamically change the name of a variable using $$. But what is the reason for this possibility? What is its applicability?
-
7
votes3
answers2222
viewsQ: What is a PHP Resource type? What is it for?
I am new to the PHP language, studying about it, I came across a special type available by the language, the type resource. I found a definition for her: Resource A resource is a special variable,…
-
3
votes1
answer1858
viewsQ: In C/C++, what are the build directives for? When should I use them?
I came across a C code that used a compilation directive on #ifdef and I didn’t really understand what it was for. I found an explanation, but it wasn’t clear. Here is an example of a directive and…
-
5
votes1
answer765
viewsQ: What is the difference between Web Service and Application Service?
Searching on the Web Service, I asked on a topic on the subject, as link below: Question: What is a Web Service? However, a question was raised about the distinction of Web Service and Application…
-
50
votes6
answers16518
viewsQ: What does NULL really mean?
Many people talk about what NULL is, but after all, what is its true meaning?
-
45
votes6
answers10103
viewsQ: What is a Web Service?
Lately I’ve heard a lot about Web Service. Web service is a solution used in systems integration and communication between different applications. Allow applications to send and receive data in XML…
-
5
votes3
answers9191
viewsQ: What is a Software Artifact?
In Software Engineering, much is heard about the term Software Artifact. I researched about it and found the following definition: An article or artifact is one of several types of by-products…