All Questions

3
answers

Return the name of the month as select

I need to return the name of the month with the command select , I know that with the command Select extract('Month',data) It returns me the number of the month in question, there is a way to bring in that month. In case: 0...
asked on 01.03.2018 / 21:58
3
answers

How to tell if a binary sum of unsigneds gave overflow?

If I have a sum of two unsigned numbers (1 byte each) in an assembly without carry flag, how can I tell if it overflowed? Edit: The architecture in question is Neander Solution: I found a way to do this. First check the most significant bi...
asked on 23.03.2017 / 19:32
2
answers

What is a recursive function?

I've always heard that recursion is an intelligent idea that plays a central role in functional programming and computer science in general. From what I understand, succinctly, there is mutual recursion and tail . What is a recursive funct...
asked on 23.02.2017 / 16:59
1
answer

Test hibernate factory

You are giving null exception on line HibernateUtil.getFactory().openSession(); in the main method. Here are the configuration and test files: <?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PU...
asked on 09.04.2017 / 03:29
1
answer

How to reproduce a graph that was created with the plot command using ggplot2?

How to reproduce the graph below using ggplot2 ? I do not know how to add multiple graphs to a single layer ! bs<-function(t,mu,phi){ fdp=((exp(phi/2)*sqrt(phi+1))/(4*sqrt(pi*mu)*t^(3/2)))*(t+((phi*mu)/(phi+1)))* exp((-phi...
asked on 23.03.2017 / 19:02
1
answer

Do search engines prioritize file names or "alt" attributes in images?

For example, an image named "xicara-de-cafe.jpg" without the alt attribute has more weight than a file named "5ecaac15bb162ea847e1f4771a214b74.jpg" with the alt="Xícara de café" attribute? Respectively: <img src="/u...
asked on 12.04.2017 / 21:37
2
answers

Is negative margin bad practice? [closed]

Using a margin with negative value is a bad practice? Example: margin-top: -3px;     
asked on 09.03.2017 / 19:52
1
answer

Select per group

Good morning guys, I'd like to know how to do the following SELECT in mysql: Having the following table, I need to select the last 3 purchase of each Name: From now on, thanks     
asked on 03.04.2017 / 14:45
1
answer

how to hide subfolders of the url through .htacess

Hello! how to change a url through htacess. wanted that url: http://localhost/site/product/view/Mi00OTI/golbolaver look like this: http://localhost/site/view/Mi00OTI/golbolaver     
asked on 02.04.2017 / 21:15
2
answers

As I verify if a windows service is installed, if it is to start the service via batch file

I need to run a service for some processes, but first I need to verify that the service is installed. The commands I use to install and uninstall are as follows: %DIRServico%\SERVICO.EXE /INSTALL %DIRServico%\SERVICO.EXE /UNINSTALL If I...
asked on 13.04.2017 / 16:55