Posts by roooooon • 377 points
13 posts
-
0
votes1
answer340
viewsQ: Return of javascript asynchronous methods
I would like to save the return of an asynchronous function. The function is as follows: cb.tabela(serie).then(function(tabela) { console.log(tabela); }, function(err){ console.log(err); }); I wish…
-
1
votes1
answer262
viewsQ: GET 500 (Internal error) PHP
Good morning, I wrote a PHP class <?php private $v; private $v2; private $v3; public function __construct(){ printf("Objeto criado com sucesso!"); } public function setValor(){ $this->$v =…
-
3
votes5
answers628
views -
1
votes0
answers1274
views -
1
votes2
answers9302
viewsQ: how to make a div float on another div
I’m trying to make an interface similar to the Whatsapp web which has a green header and a gray background where the conversations box is contained on this gray background and the green header. The…
-
1
votes1
answer229
viewsQ: Reading of text file
I need to handle a 3-line file with the following structure: nome data horário To read this method I use the following commands: BufferedReader leitor = new BufferedReader(new…
-
2
votes0
answers145
viewsQ: Interface between python and Prolog
Good morning. I need to make the communication between Prolog and Python. I ended up finding a pySwip api that interface between these two technologies, but I can’t make it work because Prolog needs…
-
2
votes1
answer577
views -
0
votes1
answer709
viewsQ: Django-admin.py execution error on Django 1.9
I am trying to learn Jango and would like to understand this notification I get every time I run the Django-admin command! Note that only Django core Commands are Listed as Settings are not properly…
-
6
votes3
answers401
viewsQ: How to create Mysql search that returns lines without matching?
I would like to know how I can do a search that returns records that are not part of the research condition. For example, think about the situation where there is a database of a movie rental…
-
2
votes1
answer1247
viewsQ: C program for solving mathematical expressions using binary tree
I’m trying to build a tree that receives a completely parented mathematical expression [e.g.: ((a+b)+c)] but I think my insertion function is wrong! Will someone give me a light? typedef struct…
-
4
votes1
answer503
viewsQ: Program to filter odd numbers in a number list
I wrote a script in Haskell to find filter the odd numbers from a list and show them on the screen, but I keep getting an error when displaying the results.. impares[] =[] impares(x:xs) |(mod(x…
-
3
votes2
answers52
viewsQ: I believe my mistake is in the matrices, or type conversions, but how to solve?
I’m new to java and I have to make a tetris. In this class in particular, I create 2 control matrices to manage the positions of the pieces on the screen, but it’s giving error. Does anyone have a…