Posts by PerryWerneck • 491 points
15 posts
-
0
votes2
answers59
viewsA: Accentuation of the database not accepted on the site
You are using different Charsets on the page and in the bank, so the problem; in the head I can think of some solutions: Switch bank to UTF-8. The best solution of all but may not be feasible Switch…
-
2
votes3
answers2952
viewsA: What is the concept of GTK? Is it recommended to use it?
GTK is a Toolkit for creating graphical interfaces with "bindings" for various languages, not just PHP. It is not a modified browser or a server but a library of graphical components that interact…
-
3
votes2
answers606
viewsA: Determine specific size for console in C
The command line codeblocks uses to activate the console can be changed in Settings -> Environment -> General Settings. In linux the default is: xterm -T $TITLE -e You can change the xterm…
-
3
votes4
answers4026
viewsA: Percentage Com javascript
Do you need to test if the value is greater than 25% of the current value or has more than 25% extra value? In the second case the 25% higher value can be obtained by multiplying the current value…
javascriptanswered PerryWerneck 491 -
2
votes1
answer1094
viewsA: Capture data from email
In my opinion the simplest method would be to create a specific email account and consult it from time to time using PHP IMAP to read the emails, store in the bank and delete. The same problem is…
-
0
votes1
answer95
viewsA: Is it possible to install Android without editing the manufacturer?
Yes. These versions are usually called Android AOSP. There are already versions of AOSP compiled and ready to install on various device models. As for Ubuntu, in theory it should work but I have no…
-
2
votes2
answers169
viewsA: Static library
I believe you have already created a . h by exporting the library functions; if you have done so just include the . a in the line that mounts your executable. Well, I think I’d better put a more…
-
5
votes2
answers2109
viewsA: How to advertise server IP on the network?
As it is internal network I think the simplest would be the server to drop a UDP package broadcast (or multicast) at regular intervals "announcing" its existence. Maybe these links will help:…
-
4
votes3
answers3750
viewsA: consuming JSON
I noticed another problem when passing your jsonlint url (http://jsonlint.com/): The Description field is not formatted correctly; it should be in quotes. Parse error on line 4: ...Black",…
-
1
votes4
answers1224
viewsA: How to exchange data between a mobile(android) and another device through Bluetooth communication?
Never used in android, however, bluetooth communication is not very different from a network socket, basically you establish a channel between the two devices and send/receive data through this…
-
2
votes3
answers742
viewsA: How to improve the performance of static files on a website?
An idea that helped me a lot was to install the extension google pagespeed in Chrome and use it to identify low performance points; with this I got a gain of almost 70% in the load of some pages.…
-
3
votes3
answers9428
viewsA: How does serial communication work and how do I use C/C++?
The issue is a little complicated. In the theory read and write to a serial port is equal read/write to any other file; the difference is its name ( /dev/ttyS0 for the first serial, /dev/ttyS1 for…
-
2
votes2
answers92
viewsA: How to use Gtkmm-3 and standard input together?
I never used Gtkmm, however, in gtk "standard" I see two ways to do this (in linux)... The simplest way: Raise a thread by reading the standard input with fgets and including the data in a…
-
2
votes2
answers793
viewsA: Apache directing two Urls to the same folder
From what I understand you are creating virtualhosts but trying to access as localhost; if so it will not work at all! For virtualhost to work you need to access the URL by host name otherwise how…
-
2
votes2
answers5867
viewsA: Communication between applications using socket through UDP making Multicast
Hello, I don’t know much about Lphi but I’ve worked a lot with multicast in C so I’ll give my pinch... Are you testing with 3 instances on the same machine? How did you get the two client instances…