Interesting questions
-
2
votes2
answers998
viewsSearch week number of the year through a date in C#
I’m writing a function that gets a string with a date (format dd/mm/aaaa) and it must return a date (in the same format) 4 weeks later. Example: Entrada: 07/04/2016 saída: 05/05/2016 I read about it…
-
1
votes1
answer545
viewsSocket in python
I’m doing the discipline of networks and computers and I’m having trouble on the following question: Using TCP, deploy a server that offers two features: uppercase and Daytime. The client, when…
-
0
votes1
answer692
viewsUse of the comma in Python
I’m having a problem understanding the difference between code 1 and code 2 (Fibonacci sequence). Apparently it looked the same, but the results they both print are distinct. Code 1 qtd_elementos =…
-
4
votes3
answers5305
viewsConvert string to utf-8
I’m needing to turn a string into UTF-8 encoding. I’m declaring it this way: $nome = utf8_encode($nome); And yet I can’t find the error. The string appears this way: Consolação…
-
1
votes1
answer359
viewsVisitor counter using Spring Boot
I have a project of Mangas using Spring Boot with Angularjs and, I wanted to implement a counter of views, accesses, for each visualized manga. So I could classify the Manga in Category of most…
-
0
votes1
answer130
viewsShow xml nfe tag value in datagridview columns
I have a little problem because I am reading the tags of an xml of Nfe, but I am not able to show in the columns of datagridview, my code is reading the correct tags, but do not notice anything in…
c#asked 7 years, 11 months ago Junior Guerreiro 617 -
0
votes1
answer851
viewsRegistration form and HTML plans without database
I downloaded a registration form and plans step by step and with html already ready and free, but not write to the database. What you need to write to the database? Code: </head> <body…
-
1
votes0
answers25
viewsVirtual keyboard, superimposing or compressing elements
I need help in the following situation. I have some Activity done, with several moments of interaction with Edittext and Button. On certain screens, Layout compresses when opening the virtual…
-
2
votes0
answers1173
viewsHow to Create frame with text in the middle of the page?
How do I create boards equal to these , also with a little transparency ? I was kind of doing this basic job.…
-
4
votes1
answer985
viewsDynamically add layouts
I created an XML with Linearlayout, in it I have a Spinner and an Edittext. On my screen I have a Linearlayout that should receive this other layout I created. My question is: how to add this custom…
-
0
votes3
answers353
viewsHow to create a accumulator
I have a few classes I want to display number of approved students. What I’ve already done nota= a if nota >= 60 and nota < 100: else: Exit approved 20 failed 50, but I have seventy students.…
pythonasked 7 years, 12 months ago Lucas de castro 1 -
0
votes4
answers87
viewsShow/Hide Information by clicking
I have Values in my application that precision a certain privacy, the code works well, I would just like to know how to hide the "**" when show the values. $(function() {…
-
0
votes1
answer581
viewsDeserialize JSON with dynamic field names
I have a Json like this, and within the entity "purchase", I receive an object with the purchase id, and then the information I need to access, I have already generated the classes, however my…
-
2
votes1
answer83
viewsDisable Composer require with php
I have an example of JSON: { "name": "xxxxxx", "description": "xxxxx", "type": "beta", "license": "MITS", "authors": [ { "name": "Leonardo Vilarinho", "email": "[email protected]" } ],…
-
1
votes3
answers2393
viewsXmldocument Exception: hexadecimal value 0x1a, is an invalid character
I have a project that reads an XML generated by another program in which I don’t have access to the source code. The problem is that the generated XML comes with a special character at the end, and…
-
-1
votes2
answers264
viewsAdonis (nodejs) Migration mysql error: 1045
Experiencing an error mysql reports when running a migration with Adonis (I’m starting in the nodejs world). The application runs smoothly on my machine, when passing it to the server that in the…
node.jsasked 6 years, 7 months ago Raul Castro 17 -
0
votes1
answer808
viewsHow to clean the data stored in memory, in cache or then reset an application (App) in android studio?
I am developing an application in android studio and need to solve this problem. I am using an internal database in Sqlopenhelper to store the products chosen by the user and show in a shopping…
-
1
votes1
answer103
viewsConvert reverse_iterator to iterator?
I am writing an XML interpreter in C++, when I find a bad formation in XML I would like to show the error row and column. I am working with string Iterators and created a function to format the…
-
0
votes2
answers230
viewsbecause the Hover does not overlap the div
I have a problem I think very simple. But I’ve done everything and nothing solves, as you can see in the print div who is with the hover she doesn’t stand on top of the div pai…
-
0
votes0
answers16
viewsCors error with socket.io: No 'Access-Control-Allow-Origin' header is present on the requested Resource
I have an API with a running socket.io instance, configured as follows: const sock = socketIo(server /* servidor express */, { origins: [CONFIG.frontend /* variavel que contem a url do front */],…