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:
<code><span class="pln">sudo pacman </span><span class="pun">-</span><span class="typ">Syu</span> <span class="pun">&&</span><span class="pln"> sudo pacman </span><span class="pun">-</span><span class="pln">S multilib</span><span class="pun">/</span><span class="pln">lib32</span><span class="pun">-</span><span class="pln">libstdc</span><span class="pun">++</span><span class="lit">5</span><span class="pln"> multilib</span><span class="pun">/</span><span class="pln">lib32</span><span class="pun">-</span><span class="pln">zlib</span></code>
Virtualisation support is interesting. I read two tutorial and Google’s guide. The former makes reference to command line options not in version 2.2.2. These posts suggest this is a bug, but it may now be default behaviour. First enable that virtualisation in BIOS (check if enabled using “kvm-ok”).
sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
sudo adduser dougie kvm
sudo adduser dougie libvirtd
This results in an error.
Using the system version of libstdc++.so.6 works. Add the following to /etc/environment:
It seems snappy but with no feedback I’m unsure if accelerated.
So I now have a development environment set up for my project. The next hurdle is to choose a title. So far it is a: development project; distributed application; and uses Android.
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.
From Sourceforge’s blog (emphasis mine):
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 “Well that’s a shame”
I’m at home with my family this year but lots of friends are not. My thoughts are with them and their family – I hope they have some time to themselves and a little peace.
So whatever your faith or philosophy, I hope you have a great time and that the new year brings you everything you seek.
I’ve got a Kindle 3 and the Wi-Fi is very intermittent. I had a play with it earlier – it appears it only works when the router is on channel 11 or lower. Anyone had similar experiences?
I needed wxMaxima but the version in the repositories is a little older (one major revision). Compiling from source is straightforward but a recent discussion I had with students showed they shied away from it.
So I figured I’d try packaging and a couple of hours later and I’ve a copy in my PPA. I’m unsure who maintains the packaging guide so I wanted to say thank you on Ubuntu Planet hoping those involved see it. Its great when you want to try something, find comprehensive instructions and can wrap it up in a few hours.
This Christmas I’m going to embrace the past.
COmmon Business Oriented Language (COBOL) 85 standard was the first language I was taught. Napier University was a feeder into the banking and insurance industries in Edinburgh at the time and they had sizeable COBOL farms. It proved profitable too, as a number of students I knew went to the US to alleviate Y2K bugs in thousands of legacy applications. COBOL had fallen out of favour in US colleges.
Continue reading “Forget everything you knew about coding (or perhaps remember, depending on your age)”
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.”
Strange, I thought he wanted Photoshop free.
Extract from an article over at “The Art of Manliness” that gives instructions on editing hosts to block time wasting sites:
If you’re using Linux, you’re probably a geek and don’t need some guy who blogs about manliness to tell you how to edit your host file.