Interesting questions
-
0
votes0
answers53
viewsDifficulty with dynamic struct allocation
The question is : implement a type of Tbaralho dice to represent a pile of cards. Your data type should store the cards in the deck and the amount of cards present. Consider that the maximum size of…
-
7
votes1
answer2796
viewsWhat are Macros and how to use them?
So far during my C programming course, the only contact I had with macros came from standard libraries and not really knowing what was going on when calling these macros. I would like to know…
-
0
votes2
answers38
viewsError SQL syntax when exporting CREATE TABLE (Myphpadmin)
I’m new here and haven’t started my studies in SQL and PHP, but I would like to ask for help. When trying to download a theme content from my site in WP, error msg appears: Cannot export CREATE…
-
3
votes1
answer27
viewsAdd extra spacing between dots with text-Decoration-style: dotted;
Is there any way to add extra space between the dotted inserted with text-decoration-style: dotted? I own this anchor: .anchor { text-decoration: underline; text-decoration-style: dotted;…
-
0
votes2
answers104
viewsConvert a Query with a Subquery to a Query with a Join
I’m trying to optimize a Query that the system I’m working on makes it have a SubQuery inside, only this SubQuery is referencing another table that has relation to the main table and by what I’ve…
-
3
votes1
answer101
viewsWhy is the "private" access modifier letting me change the attribute outside the class?
Well, I have this class with the attributes private class Conta { int numero; // Atributo private double saldo; Cliente user = new Cliente(); private double limite; } From what I understood of the…
-
0
votes1
answer38
viewsresponsive circumferences in specific places
Hello, I was putting circles and over specific dots of an image but I would like them to reduce their size but without leaving the position I want, i tried to use % also tried to use vw but never…
-
1
votes1
answer439
viewsHow to return an object from a bank in QTL(Mongodb)?
I currently have some objects in a Mongodb database. The structure is as follows. { "_id" : ObjectId("55cb9c666c522cafdb053a68"), "geometry" : { "type" : "Polygon", "coordinates" : [ [ […
-
2
votes2
answers306
viewsDatepicker from Bootstrap
I developed an application using bootstrap (getbootstrap.com). I created a date field and linked the datepicker of the bootstrap itself. How do I change the size of the calendar? I need to show it…
-
0
votes2
answers339
viewsHow to save the result of this code in a list?
I made the following code in python: def exibir_menu(): print('''Escolha uma opção: 1. Cadastrar um aluno 2. Listar alunos matriculados 3. Procurar um aluno ''') def cadastrar(pessoas): nome =…
-
-1
votes3
answers229
viewsAngular HTTP subscribe does not return Sponse
I created a service to hit my API and return all orders according to certain type params. When I try to assign the return to my Component, it does not return me an array of results, it returns me a…
-
1
votes3
answers1041
viewsSort sequence of numbers from a TXT file
I have a TXT file with numbers separated by spaces and I want to sequence from the smallest number to the largest, just the numbers from the first line of that file. The logic of sequencing I…
-
-2
votes1
answer80
viewsCapture keystrokes even if pressed outside the app
good morning I did a little program where it shows the typed key, it’s pretty simple , just so I can learn how to use Windows form application. My goal was that when running another app , for…
-
0
votes1
answer601
viewsHow to save a json object to mongodb, which is the answer to an API post
I need to save a certain field,from a json object,which comes from the response of an API I called. Save some fields of this response json object,in some fields of my colletion/model on Mongodb also…
-
3
votes1
answer193
viewsSome Python codes display "__class__" when creating certain classes. What is it for?
I realized that in certain codes in Python is used a __class__. What good is the same? Example: class abstract1 (object): def __init__(self): if self.__class__ == abstract1: raise…
-
0
votes1
answer966
views -
2
votes1
answer44
viewsError Browsing a Json
Good afternoon, you guys, I have a question about json, i have the following json : { "jsonrpc":"2.0", "result":{ "nr":26, "lista":[ { "codigo":"2", "nome":"Pratos Quentes" }, { "codigo":"3",…
-
-3
votes1
answer160
viewsConvert number to minute and subtract those minutes from a column containing date and time R
Good morning, I have a column (minutes1) that has data of the amount of min (105,90,80) I need to turn those minutes into hours (HH:MM), after which subtract these created hours from another start…
rasked 7 years, 11 months ago Luis Henrique 1 -
2
votes1
answer187
viewsHow do I let "bind" to "Sqlitestatement" accept a null value in Sqlite?
I decided to use Sqlitestatement because it is faster to insert data in Sqlite, but at some point a null value can come object.getAlgumthing() and in this case an error with the message that the…
-
3
votes1
answer1296
viewsHow to accent in Python
I’m writing a program and it keeps giving ascii error. I’ve put this on the first line and nothing: # -*- coding: utf-8 -*- On request, follows edition explaining what is now. now is variable for…