All Questions

2
answers

What is Closure Object and how do I get the anonymous function return as a parameter?

Let's say I have a class , and in that class I have a method , and a you can use an anonymous function like this: Class and method: class Classe { private $exemplo = []; public function add($parametro1, $parametro2){...
asked on 21.11.2015 / 00:57
2
answers

What is the difference between the css @import and the html link?

I created a file containing css patterns that are used on my system. I would like to know what is the difference between calling css by link or @import like this: /* ou dentro do codEventos.css */ @import "../padr...
asked on 03.07.2015 / 16:20
2
answers

Is it possible to program using the WinRT API without using XAML?

For some time now, declarative languages have taken over the development of software for creating graphical user interfaces. The most obvious examples are the framework WPF that uses XAML (eXtensible Application Markup Language) as a declara...
asked on 23.12.2013 / 13:12
1
answer

How to create a dynamic progress bar considering all the fields of a form?

I'm trying to create a progress bar a little different from the ones I found out there. This , for example, gets the values of the fields and plays in aria-valuenow of the progress bar. In my case, I want to get the fields that...
asked on 17.12.2015 / 05:00
1
answer

Convert any string to UTF-8 without knowing the original character set

I need a function or class to ensure that data sent from a form ( from anywhere in the world ) goes to the database in UTF-8 encoding. I have tried, $string = iconv(mb_detect_encoding($text), "UTF-8", $text); but it has problems (if th...
asked on 03.04.2017 / 13:23
1
answer

Call functions in C from R

I need to optimize some functions that are in the C language, but using the genetic algorithm packages in R. Is there any way to call C functions in R? In matlab I know there is this possibility through mex . Does not R have somethin...
asked on 01.07.2015 / 14:16
3
answers

With CSS is it possible to animate text-decoration?

Recently I saw this animation made with SVG, ButIwaswondering,isitpossibletoanimatetext-decoration-style:wavyin:hoverinordertoachievethesameresult? body { font-family: sans-serif; font-size: 2rem; } p {...
asked on 01.11.2018 / 12:14
1
answer

What is the method group?

Coding in C # I ended up making a mistake, maybe because of familiarity with other languages I usually work with, and I forgot the parentheses. string.Concat(numero.ToString, "A") I received the following error:    can not convert from '...
asked on 14.03.2017 / 13:13
2
answers

filesize for files larger than 2GB on x86 platforms

I was reading the PHP documentation and noticed this information:    Note: Because PHP's integer type is signed and many platforms use 32bit integers, some filesystem functions may return unexpected results for files which are larger than 2GB...
asked on 11.10.2015 / 00:02
1
answer

What tags can I use to document my code?

I'm looking for better ways to document my code in Netbeans. In addition to the tags known and used a> in the Javadoc something caught my attention and piqued my curiosity. When typing {@ some suggestions for documentation with...
asked on 08.12.2014 / 21:25