All Questions

1
answer

Convert an XML file into BSON

I have an Xml Complex that contains "children" nodes and I need to convert it to BSON . I am using VS 2013 (C #).     
asked on 28.04.2015 / 21:07
1
answer

Send message to specific user in Websocket PHP

I have a real-time chat application with Websocket. But at the moment it sends messages to all users, I would like to know how do I send them to a specific user. In case, when I click on the user (from a list that appears next to it), he will st...
asked on 02.05.2015 / 05:59
1
answer

Monetary values with asp.net MVC

I am having difficulty working with monetary values (decimals), using web application, asp.net MVC , with database Mysql . The problem is that I can not edit decimal values, such as: 53.50 , or 53.50 . I can not save using dot, not comm...
asked on 09.05.2015 / 05:33
1
answer

SQL Server CHAR and VARCHAR

I understood the difference between CHAR and VARCHAR . If I want to insert the word 'house' into a field VARCHAR(10) , this word in the database will occupy 4 bytes. If I want to insert the word 'home' in a field CHAR...
asked on 04.05.2015 / 16:19
1
answer

How to display variable char on Arduino's LCD?

I was trying to print a char variable on the arduino's LCD but I can not, always from the error when I try to compile the code. I have already pulled the LCD library and the line I am trying to print is the following: lcd.print("%c",letra);...
asked on 08.05.2015 / 16:44
1
answer

group_concat () from MySql on SqlServer

I created a table for example: I have the following content: select * from table_t; Youneedtogetthefollowingresult: In MySql I use the following query: select group_concat(concat_ws(' - ',id,descri)) id_descri, tipo from table_t grou...
asked on 27.04.2015 / 13:57
1
answer

I can not run code after the loop is [closed]

I'm using selenium as a crawler on a website. I have no experience with python. Here I create a dataframe with the data of a .csv df = pd.DataFrame.from_csv( 'tabela_etickets_copa3.csv', columns = header ) I open the b...
asked on 13.05.2015 / 20:27
1
answer

Is it dangerous to leave mod_mime_magic active in Apache?

I was once arguing with a more experienced programmer than myself (the user @Bacco ) about uploading files. I was commenting with it it did not make sense for someone to try uploading a file with jpg extension having in the content a...
asked on 18.10.2016 / 13:19
2
answers

Consuming Moodle Web Service

I'm trying to consume the moodle webservice, following a js / rest example that I found in github, I created a test.php with the code below (changing the domainname and token), but when I call the page I do not receive anything in the variable r...
asked on 14.05.2015 / 18:45
3
answers

Problems implementing implement convert to selectOneMenu

Good afternoon. I am having trouble implementing a selectOneMenu of objects in my xhtml. It is giving "Conversion Error". Could someone tell me what the code problem is? Error code: Erro de conversão ao definir o valor 'br.com.somore.model....
asked on 19.05.2015 / 20:51