Passwordless SSH access is convenient, especially as everything is on my local network. I only really access the Pi remotely and you can configure it to use RSA keys. I’m on Ubuntu Linux so open a terminal and create an RSA key (if you don’t have one):
You’ll need to upload it to the Pi:
Now because I can’t be bothered to remember IP addresses, I added a line to /etc/hosts:
That means that I need to add a more specific entry to the ~/.ssh/known_hosts file to allow for the IP address and name:
You’ll be asked for a password to unlock the keyring in Ubuntu when you first login but otherwise that’s you with passwordless ssh! You’ll need a static IP address. I couldn’t be bothered messing about with it personally so left the Pi using Dynamic IP allocation and set my router to always give the same address.
Android Studio is a great development environment and is available on Ubuntu. I’m using Ubuntu Mate 16.10 “Yakkety Yak”.
First install a Java Development Kit (JDK). OpenJDK is pre-installed or you can use Oracle Java 8 (there is a great guide here). I don’t wish to argue over your choice – I need to use the latter (my tutor does). Download Android Studio here. – I extracted it to /opt; ran the installer; and used my home folder for the SDK. If you are using 64 bit, you need the 32 bit GNU standard C++ library:
sudo apt install lib32stdc++6
For Arch you need to enable “multilib” repository:
Virtualisation support is interesting. I read twotutorial and Google’s guide. The former makes reference to command line options not in version 2.2.2. These postssuggest this is a bug, but it may now be default behaviour. First enable that virtualisation in BIOS (check if enabled using “kvm-ok”).
I’ve just started this Open University module. From the module description’s computing requirements:
If you have an Apple Mac or Linux computer – please note that you can only use it for this course by running Windows on it using Boot Camp or a similar dual-boot system.
I started with the OU in 2008 and it’s good to see things have changed – back then it wouldn’t have mentioned Linux at all.
Joking aside things are changing. Algorithms, data structures and computability (M269), which I’m taking concurrently, has Linux software available with instructions on how to install and configure. I can understand why M362 staff would want specific versions of NetBeans and the JDK installed – the forums are already filling up with questions about various incompatibilities and conflicts and that’s just with Windows.
Fortunately the University has a Dreamspark Premium membership – so I was able to download Windows XP and a license key to install in a VirtualBox instance.
I hope we continue to see progress with regards to platform neutrality – I’d like to spend more time learning computer science and mathematics and less time worrying about my choice of operating system.
Thanks to DevShare, we are now able to offer a bundle program that is fully compliant with Google’s strictest policies. This includes a solid compliance process for both open source applications and third party offerings. The whole installation flow is clean and has no misleading steps. Uninstallation procedures are exhaustively documented and all applications are verified to be virus and malware free.
I notice the linked example, Filezilla, has a clearly labelled download button with the file name on it. Except you’re actually downloading a completely different file name. Continue reading
Still some way to completing my degree part-time (at the end of this academic year I’m half way). I’m not soliciting my services – just looking for advice from the community and if anyone has a few minutes it’d be very much appreciated.
I enjoy mathematics and programming, my degree modules have revolved around the two, covering Java and VB.Net (its a very Windows centric place the Open University but it’s getting better). I’m in the UK and would like to go back to Edinburgh for family reasons when I leave the services in a couple of years time. Looking at the job boards, there’s a lot of Java contracts in the area.
Has anyone got a job with only open source experience? Does anyone know of any open source projects that are Java based and would be a good starting point to build on the fundamentals? Are there other qualifications or courses that you recommend? What are employers looking for? Does anyone work in a specific field that utilises both maths and programming? Is there a language that is in particular demand or do you find that good experience is more value? What’s a realistic starting salary?
Someone asked me yesterday “You’re good with computers, can you give me a copy of Photoshop?“. Aside from the fact I run Linux on most of my computers, I’m not keen on being accused of software piracy on the basis that I’m “good with computers” or any other reason. I made the mistake of asking why he needed it, he wanted to resize some pictures – so I suggested Paint.net.
His answer? “Oh no that’s free, it’s bound to be rubbish.”
I read an article by James Somers at The Atlantic called “How I Failed, Failed, and Finally Succeeded at Learning How to Code“. I’d encourage anyone with an interest in learning to code to read it – he discusses how computer programming is an excellent learning experience but that his own experiences have been tempered by poor instruction, particularly from books. He goes on to discuss how Project Euler became the titular success.
Euler provides a series of programming challenges of increasing difficulty, as the student solves each in turn they gain experience of what does and does not work as well as confidence in their abilities. Importantly, the student is also applying programming to practical problems (if you’re a mathematics student) from the outset.
I’ll post my solutions here as I go. I’m aiming to do one a day but I’ll see how I get on. Not sure what language is best to get on with, Python is popular in open source circles but most of my courses are based around Java.
The time has come to buy something a bit more, well grown up. I’ve been looking at offerings from TI and HP. I’m kind of leaning towards an HP 50g. I can’t make up my mind so I thought I’d throw it out there and see what people recommend. The course says any calculator is allowed provided it doesn’t need plugged into the mains, doesn’t have a QWERTY (or local equivalent) keyboard and can’t communicate with other calculators.
Ideally it should be able to connect with Ubuntu – the HP has an SD card but I don’t know about TI.