Search found 80 matches
- Thu Aug 13, 2015 10:04 am
- Forum: C/C++
- Topic: Talking between Programs
- Replies: 6
- Views: 1948
Re: Talking between Programs
Thanks for the replies Dougie and Enedil, I tried installing Mosquitto on the RPI2 model B and there's some dependency errors, apparently something called "squeeze" isn't supported? I think what I'm after is a kind of websocket. As Enedil suggested, a TCP websocket seems to be the easiest...
- Tue Aug 11, 2015 8:10 pm
- Forum: General discussion
- Topic: best choice language and IDE for raspberry app
- Replies: 8
- Views: 2094
Re: best choice language and IDE for raspberry app
If a programming language is not the most popular one (like Java), it does not mean it is not popular at all.abcdcadb wrote:I'm worry that it isn't enough popular to develop later.
Almost every programming language that runs flawlessly on Unix supports sockets.
- Tue Aug 11, 2015 7:58 pm
- Forum: Other programming languages
- Topic: posting sensor data to Rails app
- Replies: 7
- Views: 2076
Re: posting sensor data to Rails app
The Ruby version may look simpler but: I presume that "puts" in Ruby hangs everything up until it has completed. A bit of a pain if you want to be doing other things at the same time. Correct me if I'm wrong. I don't see any possibility for error checking in that example. Not quite true -...
- Tue Aug 11, 2015 2:27 pm
- Forum: Other programming languages
- Topic: posting sensor data to Rails app
- Replies: 7
- Views: 2076
Re: posting sensor data to Rails app
Certainly curl is a great tool that any one messing with web protocols should know about. Our poster did say "Preferably using ruby or javascript" though. Of course this can also be done easily in Python or Perl etc. Less easily in C/C++. I noted it. I think RheShaGan said it since (s)he ...
- Tue Aug 11, 2015 12:15 am
- Forum: Other programming languages
- Topic: posting sensor data to Rails app
- Replies: 7
- Views: 2076
Re: posting sensor data to Rails app
Use the power of Shell!
Curl comes to mind:
http://superuser.com/questions/149329/w ... st-request
No need to write a wrapper code.
Get curl with apt:
sudo apt-get install curl
Curl comes to mind:
http://superuser.com/questions/149329/w ... st-request
No need to write a wrapper code.
Get curl with apt:
sudo apt-get install curl
- Tue Aug 11, 2015 12:08 am
- Forum: C/C++
- Topic: Talking between Programs
- Replies: 6
- Views: 1948
Re: Talking between Programs
Just set up TCP sockets.
- Wed Jul 29, 2015 10:08 am
- Forum: Python
- Topic: Datalogging
- Replies: 6
- Views: 1362
Re: Datalogging
Why not using syslog?
- Sat Jun 13, 2015 10:51 pm
- Forum: General programming discussion
- Topic: Web Development on the Pi
- Replies: 12
- Views: 20200
Re: Web Development on the Pi
Get GitHub Atom.
- Sat Mar 21, 2015 3:32 pm
- Forum: C/C++
- Topic: exporting from c# to excel [obsolete]
- Replies: 6
- Views: 1627
Re: exporting from c# to excel
It is C#. It runs on .NET virtual machine. It doesn't contain CPU-specific code.
- Sat Mar 21, 2015 3:30 pm
- Forum: General discussion
- Topic: Service for RPi Only
- Replies: 26
- Views: 3784
Re: Service for RPi Only
It doesn't matter. Since it is a web service, user can input fake data and you can't verify it.
- Fri Mar 20, 2015 6:48 am
- Forum: Other programming languages
- Topic: New way to write RPi apps
- Replies: 1
- Views: 831
New way to write RPi apps
Hi!
I just found that project:
http://artoo.io/documentation/platforms/raspberry-pi/
It's an easy way to write apps for devices (including Raspi) in Ruby. If you look at the bottom of the site, there are 2 links to similar frameworks for JavaScript and Go.
I just found that project:
http://artoo.io/documentation/platforms/raspberry-pi/
It's an easy way to write apps for devices (including Raspi) in Ruby. If you look at the bottom of the site, there are 2 links to similar frameworks for JavaScript and Go.
- Thu Mar 19, 2015 7:08 pm
- Forum: Networking and servers
- Topic: Web based user interface
- Replies: 13
- Views: 5637
Re: Web based user interface
I meant https://github.com/joewalnes/websocketdRogerW wrote:Thanks for that. Websockets do look interesting. Google seems to bring up several references to Python implementations. Is there a prefered one for use in the server?
Roger Woollett
- Thu Mar 19, 2015 2:19 pm
- Forum: Networking and servers
- Topic: Web based user interface
- Replies: 13
- Views: 5637
Re: Web based user interface
Use Websocketd. Easy to use, language-agnostic.
- Wed Mar 18, 2015 8:42 pm
- Forum: C/C++
- Topic: X11 programming?
- Replies: 24
- Views: 5178
Re: X11 programming?
Generally, bad idea.
Learning straight X11 toolkit is time-consuming. Wayland is knocking Open Source's door.
Learning straight X11 toolkit is time-consuming. Wayland is knocking Open Source's door.
- Thu Mar 05, 2015 6:26 pm
- Forum: General programming discussion
- Topic: Which language?
- Replies: 1
- Views: 592
Re: Which language?
Hey! C++ also has multithreading built-in.
Read the reference: http://en.cppreference.com/w/cpp/thread/thread
If you feel good with C++, take it as your programming language for this project.
Read the reference: http://en.cppreference.com/w/cpp/thread/thread
If you feel good with C++, take it as your programming language for this project.
- Thu Mar 05, 2015 1:36 pm
- Forum: Troubleshooting
- Topic: sudo anything gives:- cannot execute binary file
- Replies: 13
- Views: 3574
Re: sudo anything gives:- cannot execute binary file
What gives
?
Code: Select all
ls -l /usr/bin/sudo
- Thu Mar 05, 2015 7:18 am
- Forum: C/C++
- Topic: Eclipse and GDB - GDB terminates immediately
- Replies: 12
- Views: 6099
Re: Eclipse and GDB - GDB terminates immediately
To all you having problems with CygWin. Altrough it may be handy to get all stuff done on Windows, when interacting with Linux boxes, it's really easier to install a stand-alone Linux distribution on your laptop/desktop. And if you reall don't want to, grab VirtualBox , download something easy like ...
- Thu Mar 05, 2015 7:09 am
- Forum: Beginners
- Topic: DOS EXECUTABLE FILE
- Replies: 12
- Views: 5306
Re: DOS EXECUTABLE FILE
can i use wine for microsoft applications such auto run exe. I'm trying to use globe usb wireless tattoo broadband but won't work because the application was with the microsoft programs. No, you can't. Apparently, it was compiled for Intel processors. Raspi works on ARM. The other reason - you can'...
- Wed Mar 04, 2015 11:13 am
- Forum: Advanced users
- Topic: Mobile OS
- Replies: 5
- Views: 3005
Re: Mobile OS
You can grab Firefox OS.
- Tue Mar 03, 2015 6:37 pm
- Forum: C/C++
- Topic: Performance difference on PI2
- Replies: 12
- Views: 2850
Re: Performance difference on PI2
I don't know what are you using, but you should install package clang and run compiler
Code: Select all
clang++ file.cpp -o file
- Mon Mar 02, 2015 10:44 am
- Forum: Beginners
- Topic: Compiling and Cross-Compiling question
- Replies: 4
- Views: 808
Re: Compiling and Cross-Compiling question
On Ubuntu and probably other distributions, there is a precompiled package containing toolchain for GNU/Linux ARM named gcc-arm-linux-gnueabi
- Mon Mar 02, 2015 9:43 am
- Forum: General discussion
- Topic: Hacked Pi
- Replies: 9
- Views: 4326
Re: Hacked Pi
Hi!
Check /var/log/apt/term.log.
Set different port for SSH.
Delete user pi.
Disable login via ssh for root.
Disable login via ssh for every user with sudo - use su to log in to those accounts.
Check /var/log/apt/term.log.
Set different port for SSH.
Delete user pi.
Disable login via ssh for root.
Disable login via ssh for every user with sudo - use su to log in to those accounts.
- Sat Feb 28, 2015 6:43 pm
- Forum: Python
- Topic: Query about python programming
- Replies: 3
- Views: 768
Re: Query about python programming
Maybe shell script?
Code: Select all
#!/bin/sh
while ((1))
do
python3 script.py
done
- Sat Feb 28, 2015 1:40 pm
- Forum: General discussion
- Topic: OverView of available Disk Space
- Replies: 3
- Views: 670
Re: OverView of available Disk Space
And if you want graphical tool, install baobab -
Code: Select all
sudo apt-get install baobab
- Sat Feb 28, 2015 1:16 pm
- Forum: Français
- Topic: USB en tant que disk pour mon pi.
- Replies: 13
- Views: 1305
Re: USB en tant que disk pour mon pi.
Quelle systeme de fichiers sur ton clef USB? Si Fat32 ou NTFS, tu ne peux rien faire - ces systemes ne supporte les permissions des fichiers de Linux.