Go to advanced search

by richrarobi
Tue Dec 11, 2018 6:42 pm
Forum: General discussion
Topic: Not able to ssh without password even after adding ssh-key
Replies: 8
Views: 495

Re: Not able to ssh without password even after adding ssh-key

https://www.ssh.com/ssh/keygen/

About a third of the way down the above page....
Did you remember to copy the generated key into the other system?
by richrarobi
Tue Dec 11, 2018 10:15 am
Forum: General discussion
Topic: Having X only by remote access - Disable X on local console
Replies: 3
Views: 426

Re: Having X only by remote access - Disable X on local console

I don't use the pi gui, all my pi's are "headless". You need to have the X-system INSTALLED on the pi, but you can still keep it booting up to the commandline as set in raspi-config. The X-system sends the screen info to your local machine (known in X as the "server" which does seem the wrong way ro...
by richrarobi
Sat Dec 08, 2018 10:26 am
Forum: General discussion
Topic: Having X only by remote access - Disable X on local console
Replies: 3
Views: 426

Re: Having X only by remote access - Disable X on local console

As long as you have x installed on the local system (actually on both systems), you can do this. Run the pi as a command line only system. Set it up to do this with raspi-config. Then from your remote system call it in ssh by par example:- ssh -l pi -Y c.local or ssh -Y c.local if the login name is ...
by richrarobi
Thu Dec 06, 2018 10:29 pm
Forum: General programming discussion
Topic: triggering program on another machine
Replies: 9
Views: 7022

Re: triggering program on another machine

To update my previous post, I have continued working with Go. Currently using mangos v2 which is a fully go implementation of nanomsg (a later version similar to zeromq) as described in mangolink.. My stuff is on github :- https://github.com/richrarobi?tab=repositories Particular things relevant to ...
by richrarobi
Sat Dec 01, 2018 8:05 pm
Forum: Other programming languages
Topic: Golang HDMI Raspberry Pi
Replies: 3
Views: 2745

Re: Golang HDMI Raspberry Pi

Take a look at https://gocv.io/
by richrarobi
Sat Oct 13, 2018 10:19 am
Forum: Other programming languages
Topic: golang?
Replies: 22
Views: 37351

Re: golang?

So then the question is, which language is the easiest to use to create such programs? I just added an example Python in my mangolink post on github. It shows Python calling the reply server (mangorep.go) and receiving a response. Now (call me Barmy?), I can run my reply code on any system Linux Mi...
by richrarobi
Fri Oct 12, 2018 4:18 pm
Forum: Other programming languages
Topic: golang?
Replies: 22
Views: 37351

Re: golang?

After trying Rust, and finding it too "tight", I went back to golang. While I admit I am still learning, I find it fits my way of working. The authors have done a lot of work to make the programmer's life easier. Also I find it is "fast enough" and appears much faster than Python (not a challenge) S...
by richrarobi
Fri Oct 05, 2018 3:47 pm
Forum: General programming discussion
Topic: Python, Java or both?
Replies: 23
Views: 7630

Re: Python, Java or both?

Ugh! Sorry! Try Golang? (But you have to find the language that suits you) I doon't like Java, tried Scala, it is too "sophisticated", I tried Rust (too "tight"), etc. (Just my personal view - some like more "obfuscation" - some (me) like it simple, etc) There is a pre-built version of the latest go...
by richrarobi
Fri Oct 05, 2018 3:34 pm
Forum: General programming discussion
Topic: triggering program on another machine
Replies: 9
Views: 7022

Re: triggering program on another machine

I haven't posted for a while.... and at the risk of starting a messaging war, I am still using zeromq http://zeromq.org/ - while looking for alternatives to Python, (etc). I have been writing some code in go(lang) - tried Rust (it didn't suit me (or the other way round)) - I found golang fitted my e...
by richrarobi
Thu Mar 22, 2018 7:53 pm
Forum: Other programming languages
Topic: Ruby script to parse debian stretch variant of iwlist?
Replies: 1
Views: 980

Re: Ruby script to parse debian stretch variant of iwlist?

Could cheat a little:-
Ruby code

Code: Select all


NAME = '/sbin/iwlist'
puts
output =  `#{NAME}`
puts "#{output}"

Do what you like with the output .....
by richrarobi
Fri Mar 16, 2018 6:38 pm
Forum: Astro Pi
Topic: Sense Hat Rubbish temperature accuracy
Replies: 7
Views: 10099

Re: Sense Hat Rubbish temperature accuracy

This has been rumbling on ever since the sense hat first appeared. I have tried all sorts. including a "black-hat hacker". Currently, I have the hat mounted by use of a few bits of "fake" meccano on some stand offs. The hat is NEXT to the pi(2), and at a slight sloping angle for visibility, and ROTA...
by richrarobi
Sun Jul 16, 2017 7:33 am
Forum: Beginners
Topic: Cluster pi computing
Replies: 4
Views: 835

Re: Cluster pi computing

Octapi utilizes Dispy and Pycos python software, both available on Linux Mint and probably on "other" systems. Within Pycos is a package called netpycos that offers distributed tasks across a network. Now while clusters look like enormous fun, they don't really provide real power using miniscule com...
by richrarobi
Mon Jul 03, 2017 11:24 am
Forum: AIY Projects
Topic: Play streaming radio and playing podcasts
Replies: 1
Views: 2247

Re: Play streaming radio and playing podcasts

I use mpg123 to play internet radio. eg:= mpg123 -@ http://adsi-e-02-boh.sharp-stream.com/jazzfmmobile.mp3 mpg123 also on jessie..... These work with mpg123:- BBCRadio4 http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p BBCRadio3 http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio3_mf_p BBCRa...
by richrarobi
Tue Jun 27, 2017 8:36 pm
Forum: Python
Topic: Communication between pc and raspberry
Replies: 2
Views: 881

Re: Communication between pc and raspberry

viewtopic.php?f=41&t=167174&p=1090567&h ... d#p1090567

I now use blinkt as indicator lights on one pi from other systems in my LAN, all via rpc through zeromq.
by richrarobi
Mon Jun 26, 2017 11:42 am
Forum: Beginners
Topic: Raspberry pi balistic chronograph
Replies: 1
Views: 1458

Re: Raspberry pi balistic chronograph

Firstly Don't quote me on this - I am not the expert you need....However, I believe the Arduino would be better for the real-time part of your project, then you could link it via serial or USB to a computer (pi or other) to record/analyze the results at less than real-time speed.....

May help...
by richrarobi
Sat May 06, 2017 2:39 pm
Forum: AIY Projects
Topic: Servo Pins
Replies: 7
Views: 1110

Re: Servo Pins

I was lucky enough to pick a pack up on Friday. The pack came with a set of 40 pins, unsoldered . I have been wondering which pins I am likely to need as I don't think the mag made it clear. I found a link that includes a circuit plan https://aiyprojects.withgoogle.com/voice/#makers-guide-4-1--conne...
by richrarobi
Sun Mar 05, 2017 8:53 pm
Forum: General discussion
Topic: Write Python code in PC then on RPi
Replies: 21
Views: 15184

Re: Write Python code in PC then on RPi

I have to agree with Heater ( :oops: ) - I use Linux Mint XFCE on my Laptop and Desktop PC's, SSH into my Pi's with options as follows: ssh -Y -l pi a.local Note the upercase Y . then run pcmanfm with & at the end to keep your terminal session available, You can run most apps from the pcmanfm GUI th...
by richrarobi
Sun Mar 05, 2017 8:04 pm
Forum: General discussion
Topic: Looking for a Bluetooth keyboard for my Pi 3B
Replies: 7
Views: 3588

Re: Looking for a Bluetooth keyboard for my Pi 3B

I have a Logitech K380 which I bought recently (compact to fit in a carry-on) - so far it looks very good. It has three buttons that let you select which of three systems you connect to. Also it supports Linux and Android (probably those other OS's too?!) - You can switch between the systems in a si...
by richrarobi
Fri Feb 24, 2017 9:06 am
Forum: Beginners
Topic: Mount for camera board
Replies: 2
Views: 688

Re: Mount for camera board

Use plastic beads as spacers? wilco or yorkshire trading sell them cheap in bags. Various mounts for sale - various dubious designs - some better than others. The smartipi lego camera case so far is the best I tried, nearly perfect. One other case bent the camera pcb so much the camera "eye" popped ...
by richrarobi
Wed Feb 22, 2017 12:49 pm
Forum: Other projects
Topic: Looking for a sustainable case
Replies: 32
Views: 14137

Re: Looking for a sustainable case

Carbon offsets are complete tosh aren't they? Unless you're planning to fill the empty oil well with carbon it's just a con. It is all a load of "politically (in)correct mumbo-jumbo" (am I allowed to say "mumbo-jumbo"?) - I might know a local council (maybe Bracknell) where (I am told) residents ha...
by richrarobi
Sat Feb 11, 2017 12:53 pm
Forum: Graphics, sound and multimedia
Topic: Monitor 2 webcams locally
Replies: 1
Views: 516

Re: Monitor 2 webcams locally

You might have to write your own? I was searching for gucview (via a search for webcam control on Linux) so found your post... If you do, the only python interfaces for webcams I have found so far are in pygame and opencv. There are some examples of pygame and cameras posted elsewhere. The one in py...
by richrarobi
Thu Feb 09, 2017 11:45 am
Forum: Camera board
Topic: vertical letterbox
Replies: 2
Views: 801

Re: vertical letterbox

Thanks for the reply, still can't get my head round the logic of it ! I managed to get what I want.... did the partial letter box thing as normal now, camera.resolution = (1920, 1080), and resized to (640,360). Then, did camera.rotate=270. This gives a zoomed letterbox image on its side in the web p...
by richrarobi
Wed Feb 08, 2017 7:37 pm
Forum: Camera board
Topic: vertical letterbox
Replies: 2
Views: 801

vertical letterbox

I wanted to use a 16:9 image zoomed in as per this http://picamera.readthedocs.io/en/release-1.12/fov.html using 1920x1080 (resized for conveience to 640x360. OK - nice enlarged effect.... Then I decided I wanted to take the shot vertically. Turn the camera on its side? Nope! It knows somehow.....it...

Go to advanced search