All Questions

2
answers

Using Laravel 4 with Microsoft SQL Server 2008

I need to connect a SQL Server 2008 database in Laravel 4. I've been searching and found no solution to the scenario I'm in. I'm using Laravel using the XAMPP (PHP 5.5.6 --with-mssql) package on MAC OS X 10.9 with FreeTDS running perfectly...
asked on 20.01.2014 / 17:29
1
answer

What is the purpose of implementing a magic __invoke method in a class?

I know what the __invoke method is for. It is for a class to perform an action, if called as a function. In addition, it is present in the special class of php called Closure , which is instantiated when we call the anonymous fu...
asked on 02.02.2016 / 17:59
2
answers

Fork in Windows

There is something in Windows like (or some similar alternative to) fork POSIX systems (UNIX and Mac) to create a child process that is an exact copy of the parent and runs from the calling point? As far as I know CreateProcess...
asked on 05.03.2016 / 00:58
3
answers

How to fill a numeric field like in internet banking (from right to left)?

In ATMs and internet banking websites there are numeric fields that when you type they are filled from right to left, increasing the number as you type, for example: +-----+--------------+ |tecla|valor do campo| +-----+--------------+ | |...
asked on 13.01.2014 / 18:27
1
answer

Difference between normal request / response, long-polling, websockets, WebRTC and Server-Sent Events?

I had a misunderstanding of long-polling , I began to notice that it is actually a "technique" that runs on top of a normal request, this is where I started to search and noticed several questions in the but most are "how to", I would like to u...
asked on 20.11.2016 / 22:34
1
answer

What is the difference between JavaJDK and OpenJDK?

I've been researching and from what I've seen both are kept Oracle skin ... But if java is also open source, what is the need for OpenJDK? Or am I mistaken about Java if open source?     
asked on 29.05.2017 / 20:27
1
answer

Is it correct to use a using block inside another using block?

Is it correct to use a block using within another block using as in the example below? or is it enough to just put the first using ? public DataTable Listar(string stringMySql, CommandType commandType, List<MySqlPara...
asked on 02.12.2015 / 15:07
3
answers

Architecture for a JSF Application with Android APP

I'm in the planning part of a web application that I'm going to develop for a Client. There will be CRUDs and some report, nothing too complicated. At the moment I'm writing an architecture so that this application can evolve well without muc...
asked on 03.01.2014 / 19:58
1
answer

What is the "runtime environment" really?

Studying a little bit about ASP.NET 5 I came across something that I did not quite understand. To use it you need to install KVM (K Version Manager) and KPM (K Package Manager). KVM is responsible for managing KRE (K Runtime Environment) version...
asked on 19.02.2015 / 18:51
1
answer

How to generate sound in matlab from a wave?

If I create a sine wave: x=0:0.1:6*pi; is the wave range y=sin(x); is the wave with amplitude 1 f=440; is the desired frequency How to generate a sound from this data? I've tried sound(y, f) , but it d...
asked on 21.09.2016 / 13:42