Posts by vinibrsl • 19,711 points
378 posts
-
17
votes1
answer412
viewsQ: What is fuzzy logic?
Studying about artificial intelligence I observed a lot the term fuzzy logic, or Fuzzy Logic. What is this diffuse logic and what are its applications? I know it is different from Boolean logic, but…
-
3
votes1
answer76
viewsQ: What do the following column/row measurements mean?
In creating rows or columns of WPF, which means each of these measures? <Grid.ColumnDefinitions> <ColumnDefinition Width="50"/> <ColumnDefinition Width="50*"/> <ColumnDefinition…
-
2
votes2
answers297
viewsQ: What are the differences between Visibility.Hidden and Visibility.Collapsed?
What are the differences between the visibilities Visibility.Hidden and Visibility.Collapsed of the WPF? There are practical or theoretical differences between set the Height and the Width of a…
-
5
votes1
answer624
viewsQ: What kind of data do you use to store Uris in the database?
What kind of data to use to store Uris in the database, taking into account an indeterminate or very large URI length?
-
5
votes1
answer112
viewsQ: How and when to use "Shadows" and "Overrides"?
How and when to use Shadows and Overrides? What are the usage recommendations for each and in what context to use them?…
-
1
votes0
answers35
viewsQ: Are there differences in the performance of variables implicitly and explicitly stated?
There are differences in performance of explicitly declared variables? List<int> lista = new List<int>(); And implicitly stated? var lista = new List<int>();…
-
5
votes1
answer195
viewsQ: What are the differences between the following Caps and when to use each one?
Casting [...] process where an object type is explicitly converted to another type, if conversion is allowed. Source: Stackoverflow in Portuguese Assuming the following situation: var i = 10 What…
-
25
votes1
answer2636
viewsQ: What is the difference between const and readonly?
Read-only constants and fields cannot be modified, as can be seen in the documentation: const Constant fields and locations are not variable and cannot be modified. readonly When a field declaration…
-
6
votes2
answers833
viewsA: Show use of Processor
phpsysinfo One option is to use phpsysinfo Description phpsysinfo is a script that shows information about your system. Source: in free translation - phpsysinfo In addition to showing CPU usage, it…
-
3
votes1
answer2475
viewsQ: Is there a reliable way to test the internet connection?
I read about the function NetworkInterface.GetIsNetworkAvailable, but it does not work in my case, since I need to check if there is really an internet connection. I also read about trying to access…
-
6
votes3
answers5277
viewsA: What does "Dim" mean in Basic?
The Dim has multiple meanings attributed to it, the most accepted and oldest being the Dimension. Dimension DIM - (abbreviation of Dimension) sets the size of arrays. The original concept of Dim is…
-
5
votes5
answers5699
views -
3
votes1
answer67
viewsQ: Inlinestring vs String - what’s the difference?
In the creation of some spreadsheets with Openxml, I came to doubt the difference between: CellValues.InlineString CellValues.String There is some practical difference when inserting texts (e.g.:…
-
26
votes2
answers1892
viewsQ: What is the difference, in practice, between "" and String.Empty?
No. NET is noticeable in multiple ways to initialize a string with an empty value, called "quotation marks". Is there a right way to do this? And what would be the practical difference between…
-
6
votes4
answers5604
viewsA: Call function at each time interval efficiently
Using timers Generates an event after a defined interval in order to generate events recurring. Use the Timer as follows: public class Servidor { public static System.Timers.Timer _timer; public…
-
0
votes2
answers1243
viewsA: How does the App Store App versioning control work?
Error message you received reads: [...] file must be a period-separated list of at Most three non-negative integers. Last year Apple published that all versions should be declared in the following…
-
2
votes1
answer157
viewsQ: Why is it not possible to capture exceptions triggered by async void?
Why it is not possible to capture exceptions triggered by non-recurring asynchronous methods Task? public async void calcularPrecos() { var tabelaPreco = await getTabelaPreco(); /* Blá, blá, blá...…
-
4
votes1
answer176
viewsA: Progressbar with WPF and Ionic.zip
There are classes that do not provide events or methods for us to know the progress of a task. Some alternatives may be: Use an indeterminate progress bar The undetermined progress bar is used under…
-
1
votes1
answer196
viewsA: Add the same with the click event
I made a scope in Visual Basic to give you an idea: Sub New() meuListBox.Items.Add("Meu item fixo!") End Sub Dim meuItem = meuListBox.Items(0) Public Sub buttonClick(sender as Object, e as…
-
4
votes4
answers16860
viewsA: How to get the current location of android device?
Read also this post about Geolocation on Android First of all, you should add in manifest of your app: <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> Example of…
-
0
votes4
answers1242
viewsA: Error with "Cordova run android"
Android Home must be the root folder (root folder) of the SDK. If you’re using Windows, try: set ANDROID_HOME=C:\\android-sdk-windows set…
-
8
votes3
answers508
viewsA: What is a Kiddie Script?
Script Kiddie is the derogatory name given to inexperienced crackers looking for easy targets to apply their little technical knowledge. They lack programming knowledge and aim to gain fame and…
terminologyanswered vinibrsl 19,711 -
1
votes1
answer608
viewsA: How snow and particulate texture is created in the Unreal engine 4
Snow in Unreal Engine 4 To create the effect you want, the Cascade and the Particle Systems. The blizzard effect (Blizzard) is a GPU Sprite Particle System composed of a significant increase of…
unreal-engineanswered vinibrsl 19,711 -
3
votes1
answer1818
viewsA: How to make a placeholder in a Textbox?
You can adapt directly into WPF code, remembering that this style should be inserted after the declaration of your Window, or may be applied to Application.Resources Application.xaml of the project.…
-
3
votes2
answers1314
viewsA: How to change the color of a Datagrid line in C#?
Conditional styling with WPF You can also do validations in WPF, using datatriggers.Note that this code snippet is located on Application.xaml, within the tag Application.Resources <Style…
-
3
votes2
answers551
viewsA: Problem with duplicate form sending
Method 1: "unobtrusive" Use unobtrusive code to disable sending the form after it has already been sent. Here is an example using jQuery. $("form").submit(function() { $(this).submit(function() {…
-
1
votes4
answers1845
viewsA: How to identify Focus in a div?
You can create a div that can be focused if you assign a tabindex in it. For having a type indicator index, i.e., by index, where 0 is the first item, the attribute tabindex value "0" is the…
-
1
votes1
answer508
viewsA: Button to load page
Show/Hide block in Javascript If the content is inside a div, then... We will use a CSS style sheet to define the visibility of div <style> #oculto{ display: none; } </style> The block…
javascriptanswered vinibrsl 19,711