All Questions

1
answer

Snake animation in text with SVG

I'm trying to reproduce the same effect someone did here - > link , this frame is animated by scrolling, so you need to scroll down a bit until a text with a snake animation will appear. I'm trying to play this animation, but I'm having a...
asked on 21.05.2015 / 04:45
1
answer

Differences between listeners and adapters in swing

When programming graphical interfaces in Java using swing , we are always faced with both types, mainly to assign and create events from button actions or other components. Although I've been working with swing for some time, I'v...
asked on 19.02.2016 / 22:49
1
answer

Can you use a dialog to open both folders and files?

Well, I'm using openfiledialog to open files, but the software needs to receive files or folders, because it compresses and zips ( .zip ) to then make a symmetric cipher. I searched through a number of sites and the like, and I d...
asked on 21.12.2015 / 14:22
3
answers

Could anyone explain the term "Specification pattern", applied in Javascript?

I did some research on the net, found this website with valuable information. I work a lot with conditionals using javascript, see an excerpt from my function that receives radiogroup as a parameter and verifies whether it was selected yes or...
asked on 18.08.2015 / 13:56
2
answers

JavaScript decimal approximation [duplicate]

What is the reason for the behavior below? Why not 3.3? I am running the JavaScript console and are returning this result. Number(1.1) 1.1 Number(1.1) + Number(1.1) 2.2 Number(1.1) + Number(1.1) + Number(1.1) 3.3000000000000003 Number(...
asked on 12.11.2015 / 20:45
2
answers

Clustered id rendering speed vs class

Some time ago I saw some tests to render CSS rendering using id to be faster than rendering using class , due to the amount of id is often lower in the document in relation to the number of classes (one of the tests you can check in this ta...
asked on 17.11.2015 / 18:59
1
answer

Install Codeigniter 3 with Doctrine and Composer

How best to install doctrine via
asked on 04.05.2015 / 23:35
2
answers

Dynamic subdomain system

Recently I saw an app / site called Sarahah, and an interesting feature was that when doing the registration, the username turned into a subdomain, something like "user1.site.com", is there any way to do this mod rewrite or any apache configurat...
asked on 14.09.2017 / 19:03
2
answers

Digital signature validation

I am developing software for integrating with the webservice of the legal note for the issuance of electronic invoices of the city of Porto Alegre. After some difficulties I managed to fine-tune the xml so that it conforms to the standard, bu...
asked on 15.12.2015 / 12:57
1
answer

How to develop an independent framework application?

Recently, I can not remember where I saw an application structure in which the application's core, business rules, etc., resided between the dependencies of the project. This project was the application's executable - which could be in a gi...
asked on 29.10.2015 / 15:52