All Questions

1
answer

Upload Gif while site loads!

I am developing a site (MVC), where there is a user's option to select an Excel file, and all the data in the table is sent to the database and only then a warning of success or failure appears when writing the data . This task takes some tim...
asked on 05.06.2017 / 17:48
1
answer

Doubts in Binary Tree in C - Print order, preorder and post order

I have several doubts about how binary tree work in C. I have an insertion, removal and printing code in order, pre-order and post-order. These codes were taken from the internet, because I could not understand what each line does following t...
asked on 26.03.2017 / 22:09
1
answer

Function generator returns undefined

Consider the following function: function* gerador() { let foo = yield "a" let bar = yield "b" let baz = yield "c" return '${foo} ${bar} ${baz}' } let gen = gerador(); console.log(gen.next()); console.log(gen.next()); console...
asked on 16.07.2017 / 19:48
1
answer

Javascript classes

I was researching about creating classes in Javascript and I realized the example below: var Greeter = (function () { function Greeter(message) { this.greeting = message; } Greeter.prototype.greet = function (...
asked on 20.05.2017 / 13:25
1
answer

What is the difference between JWT and JWS?

I asked a little question on the site about JWT , which is used to create access tokens through JSON. I tried to implement JWT between two applications that use different versions of a library that generates JWT tokens. Know version 0.4 a...
asked on 10.03.2017 / 18:13
1
answer

What is the difference between Preference and SharedPreference?

Looking at some forms of data persistence in Android, I noticed that you have two very similar interfaces PreferenceChangeListener and SharedPreferenceChangeListener , which can be extended in Preference and SharedPreferen...
asked on 30.03.2017 / 18:40
1
answer

Requests in AJAX works in WebView?

I have the following WebView : WebView myWebView = (WebView) findViewById(R.id.webview); myWebView.getSettings().setJavaScriptEnabled(true); myWebView.getSettings().setBuiltInZoomControls(true); myWebView.loadUrl('http://192.168.0.4:8080...
asked on 23.05.2017 / 17:11
2
answers

Doctrine: ManyToMany Relationship with Extra Fields

I have a many-to-many relationship between two tables: Products and Orders. Doctrine then generates a third table. Until then calm down. But I wanted to generate in this third table more fields (qtde and unit value at the time of purchase)...
asked on 26.05.2017 / 15:34
1
answer

What are symbols in the .NET Framework?

How do symbols work in the .NET Framework (and on other platforms)? How do they make it possible to remotely debug an application even without having the source code on the machine? What is its relation to .pdb ?     
asked on 15.05.2017 / 15:14
1
answer

How to create webservice using PHP and REST?

I have been researching a lot on webservices lately and would like your help to know how I can build a webservice using REST and PHP. I chose PHP because I'm more familiar with the language, and REST because during my research I saw that it was...
asked on 05.04.2017 / 23:40