Posts by Null • 523 points
18 posts
-
0
votes1
answer20
viewsA: Login redirect error iphone - Correlation failed
The login error was occurring due to a bug in Mac OSX and IOS, which causes Samesite=None cookies to be inadvertently treated as Samesite=Strict, and therefore did not send requests between sites,…
-
-2
votes1
answer20
viewsQ: Login redirect error iphone - Correlation failed
I’m having problems logging in through google and facebook when accessing through an iphone, after I authenticate my account, on google for example, callback is not called generating an exception.…
-
1
votes1
answer24
viewsQ: Why does the fixed element lose its position when the Transform property is used?
I have an element with the position defined as "Fixed", when I apply the property "Transform" to create an animation the fixed element loses its position (when clicking the button to animate it…
-
5
votes2
answers1480
viewsQ: How to add references in Visual Studio Code?
How can I refer dll’s in visual studio code? I’m trying to compile a c# project with MVC architecture.…
-
-5
votes1
answer66
viewsQ: Why is the comparison of objects with the same content false?
Why this condition is defined as false? I put image to be using the Google console and the code does not need to be executed since the doubt is conceptual.…
-
2
votes1
answer409
viewsQ: How does attribution work via disruption?
I don’t understand how the assignment works via unstructuring. It’s something specific to JSON? An example of the body of a request to Node.js: { "title": "Caso 1", "description": "Detalhes do…
-
3
votes1
answer85
viewsQ: How does this loop work to check duplicates?
The code below creates another filtering array so there are no duplicate values: var array = [1,1,1,2,3,4,4,5]; var models = []; for ( var i = 0; i < array.length; i++ ) { if ( array.indexOf(…
javascriptasked Null 523 -
1
votes1
answer270
viewsQ: How to set up a certificate to make a connection to Javascript Websockets
How to configure a certificate to make a connection with Javascript Websockets, using c’s Superwebsocket server#? I need to create a websocket connection on an https page, the only way is using…
-
7
votes2
answers116
viewsQ: What happens when we assign the default value to objects?
Example: public Carro Metodo(string marca) { Carro carro = default; if(!string.IsNullOrEmpty(marca)) { carro.Marca = marca } return carro; } Studying on the Internet, I realized that some objects…
-
8
votes1
answer150
viewsQ: Is there any way to decrease the size of a function’s call?
Example: StringFormats.DateTimeToShortDateStrPtBR(); If you add this method several times in the same line the code will be very extensive, repetitive and confusing. The method is just an example,…
-
0
votes0
answers17
viewsQ: Substring error: System.Argued tofrangeexception
I couldn’t understand how the calculation of substring in c#; The variable below contains 150 characters, I use the substring to receive a part of it, but an exception occurs even being within…
-
3
votes1
answer411
viewsQ: Why are some Javascript variables declared with underline _?
Example I found on the internet: var _iterator = require("../core-js/symbol/iterator"); var _iterator2 = _interopRequireDefault(_iterator); var _symbol = require("../core-js/symbol"); var _symbol2 =…
javascriptasked Null 523 -
3
votes1
answer203
views -
2
votes3
answers120
viewsQ: Add an item to an array that is inside another array?
My question is extremely simple, add a value to an array that is within another. var logDebug = ["value", [Adicionar itens aqui]]
javascriptasked Null 523 -
6
votes2
answers768
viewsQ: What is the usefulness of the console.dir() in Javascript?
var body = document.getElementsByTagName("body"); console.dir(body) Well, an interactive list of object properties will be returned, but what is the usefulness of this, what I’m trying to say is…
javascriptasked Null 523 -
3
votes2
answers382
viewsQ: How not to repeat CSS code
I have the following CSS .icoDuvida { background-image: url(img/Layout/duvida.png); width: 21px; height: 21px; background-repeat: no-repeat; float: left; margin-left: 13px; } I need to modify it to…
-
8
votes2
answers114
viewsQ: What is the function of Asreadonly() in C#?
I’m studying List in C#, I searched on the internet but still did not understand how it works. List<string> list = new List<string>(); list.Add("Maria"); list.Add("Lucas");…
-
-1
votes1
answer155
viewsQ: Json does not exist in the namespace *using System.Runtime.Serialization.Json*
An error occurred while trying to import using System.Runtime.Serialization.Json. How to solve? The code converts Json to Object and vice versa, I’m only posting a part of it. using System.Text;…