All Questions

1
answer

Input in the Sublime Text builder

I'm using Sublime Text to study python, but it does not support input When running the following code with the sublime build: velocidade = int(input("Digite a velocidade: ")) I get the following error: Digite a velocidade: Trace...
asked on 07.03.2014 / 21:52
4
answers

How to soften the font with CSS in Chrome?

I have a "cracked" font problem in Chrome, so it looks like the tips are pixelated. To help, I'm posting two images IE : Chrome: My CSS that calls the font: @font-face { font-family: "Helvetica-nw"; src: url('../fonts/Helv...
asked on 12.03.2014 / 19:36
3
answers

How to check if a file exists in several different folders?

I need a PHP script that checks if a file exists in a folder, if it does not exist it checks on the next and so on ... I do not mess around with PHP so I'm a little lost. I've tried to do with switch too but I could not. <?php...
asked on 12.03.2014 / 17:10
1
answer

Basic competition in Erlang

Adapted this question in the international overflow stack, whose answer is my own. The following code was given in a lesson. We tested the code, but I did not quite understand how it works. How does this code create multiple processes, an...
asked on 26.02.2014 / 12:17
3
answers

Problem with Jquery UI Slide Left

I'm developing a project and needed to know how to slide a div to the left. I'm currently using: $('#idDiv').toggle('slide', { direction: 'left', distance: 450 }); I wanted my div of 500px width to slide and leave 50...
asked on 26.02.2014 / 12:41
2
answers

Maven - Configuring MainClass

Problem: When I create a JAR by eclipse it works quietly, but I'm trying to take advantage of the JAR that Maven is creating and I noticed that it does not execute, because my main class is not in Manife...
asked on 05.03.2014 / 19:26
1
answer

Calculation of the weighted moving average with exponential adjustment

How could I compute a in the following formula in java: Ididthefollowing:Df=Df+a(1-a)xxiGeneralizedformulaIjustdonotknowhowtocalculatea,typemakeaformulawherea=...Thisformulaisknownastheexponentiallyadjustedweightedmovingaverage.Isearc...
asked on 09.05.2017 / 15:59
3
answers

How to make infinite scroll with pure javascript?

I'm trying to implement an infinite scroll on my site, like this one , but I'm having difficulty do the script that takes the mouse scroll event. I tried to use this script (below) I got on a website, but it's not exactly what I need. Anyone...
asked on 25.02.2014 / 15:49
1
answer

Python connection problem Webhook

I have a question in my code. I'm using a sample code and tried to apply it to create a json template on the local machine. Follows what is working. It is located [in this link] ( link ): #!/usr/bin/env python import urllib import json im...
asked on 15.05.2017 / 06:13
1
answer

What is the difference between Show (), ShowDialog () and Application.Run ()?

I read something about modal but I did not understand, could anyone explain?     
asked on 28.05.2017 / 12:57