Go to advanced search

by antiloquax
Sat Jan 19, 2013 10:22 am
Forum: General programming discussion
Topic: where to start with children
Replies: 15
Views: 15132

Re: where to start with children

pythag.png Given that some people have mentioned turtle graphics, I thought I'd share a bit of code. It's a simple thing I wrote when I read a proof of Pythagoras' Theorem. (If I learned this at school, I'd forgotten it!) Here it is: # pythagoras.py # for neat results try pythagorean triples like: ...
by antiloquax
Sat Jan 19, 2013 8:25 am
Forum: General programming discussion
Topic: where to start with children
Replies: 15
Views: 15132

Re: where to start with children

It's great to hear that younger children are getting the chance to own RPis and learn programming. Just for convenience, I have put thr first 8 issues of the MagPi in a zip archive that can be downloaded here Links to some good free resources that would be useful are on the Python section of my webs...
by antiloquax
Sat Jan 19, 2013 8:10 am
Forum: General discussion
Topic: Somewhat- beginner Programmer
Replies: 1
Views: 371

Re: Somewhat- beginner Programmer

Yes, it's perfect for someone like yourself. In fact that's the main reason it was created.
by antiloquax
Sat Jan 19, 2013 7:24 am
Forum: Arch
Topic: ready set-up Arch
Replies: 5
Views: 1235

ready set-up Arch

mypi_5002.png
mypi_5002.png (48.87 KiB) Viewed 1235 times
I've prepared an sd card image with Arch set up with a graphical desktop installed.
You can download the image here.

The sha1sum for the (extracted) .img file is:
7cf77ee91a6208604adc011c1d4bbb5b45654648 arch.img

Instructions and notes are available here.
mark
by antiloquax
Sat Jan 19, 2013 7:19 am
Forum: General discussion
Topic: SD card image for those new to Arch.
Replies: 3
Views: 1187

SD card image for those new to Arch.

mypi_5002.png
mypi_5002.png (48.87 KiB) Viewed 1183 times
I've prepared an sd card image with Arch set up with a graphical desktop installed.
You can download the image here.

The sha1sum for the (extracted) .img file is:
7cf77ee91a6208604adc011c1d4bbb5b45654648 arch.img

Instructions and notes are available here.
mark
by antiloquax
Wed Jan 16, 2013 8:08 am
Forum: Python
Topic: Python snake program
Replies: 2
Views: 781

Re: Python snake program

Can you post the code?
by antiloquax
Fri Dec 21, 2012 9:40 am
Forum: Teaching and learning resources
Topic: Algorithms worksheets
Replies: 4
Views: 2411

Re: Algorithms worksheets

I was mainly inspired to put this together because of reading The Structure and Intepretation of Computer Programs, by Abelson and Sussman.

I do teach some CS, but using SmallBasic, not Python. so this was just "for fun"!
by antiloquax
Thu Dec 20, 2012 9:04 am
Forum: Teaching and learning resources
Topic: Algorithms worksheets
Replies: 4
Views: 2411

Algorithms worksheets

I have made 10 worksheets with some algorithms (in Python). Sharing just in case anyone wants to use one (could be given as a homework, I guess). Algorithms 1: A. M. Legendre, exponentiation by successive squaring. 2: Heron of Alexandria, square roots 3: Peano arithmetic 4: Zeller's congruence 5: Fa...
by antiloquax
Wed Dec 19, 2012 6:03 pm
Forum: Python
Topic: Python absolute beginner
Replies: 6
Views: 4893

Re: Python absolute beginner

I've put links to some tutorials on this python section of this web page. raspberrypy.co There are also some videos and other tutorials on my blog. teampython My take on the Python 3 & pygame thing is to use Python 3.1.4, which works nicely with pygame. The arch sd card image (see the blog for detai...
by antiloquax
Wed Dec 19, 2012 5:37 pm
Forum: General programming discussion
Topic: British-made programming language
Replies: 54
Views: 14025

Re: British-made programming language

There's also Miranda. A functional programming language that influenced Haskell. I haven't actually used it ...

http://miranda.org.uk/
by antiloquax
Thu Dec 13, 2012 5:23 pm
Forum: General programming discussion
Topic: ARM Linux assembly using FASMARM
Replies: 2
Views: 1704

Re: ARM Linux assembly using FASMARM

try this thread as well

click here
by antiloquax
Mon Dec 03, 2012 9:17 pm
Forum: Arch
Topic: Arch Linux RP image not running on QEMU
Replies: 1
Views: 942

Re: Arch Linux RP image not running on QEMU

When I used qemu, I had

Code: Select all

-append "root=/dev/sda"
and

Code: Select all

-m 192
Might be worth trying those ...
by antiloquax
Fri Nov 30, 2012 7:38 pm
Forum: Scratch
Topic: Try Scratch on Arch
Replies: 4
Views: 1549

Re: Try Scratch on Arch

okay. Well thanks for trying!
I don`t know about the dongle, I`m afraid.
I`m surprised there was no speed advantage!
I find Arch a lot quicker generally. Did you add a swap partition?
mark
by antiloquax
Thu Nov 29, 2012 10:29 pm
Forum: Scratch
Topic: Try Scratch on Arch
Replies: 4
Views: 1549

Re: Try Scratch on Arch

Great. I hope it works okay. I have tested writing the image to a blank card and it worked, so fingers crossed ...
by antiloquax
Thu Nov 29, 2012 10:25 pm
Forum: General discussion
Topic: Have you tried Arch yet?
Replies: 4
Views: 707

Re: Have you tried Arch yet?

@cloudcentric & flyinghappy
thanks for your comments.
I hadn`t used Arch before the RPi arrived, but I am a big fan now.
by antiloquax
Thu Nov 29, 2012 2:01 pm
Forum: General discussion
Topic: Have you tried Arch yet?
Replies: 4
Views: 707

Have you tried Arch yet?

I know those new to Linux may find Arch a lot of work to set-up.
I am sharing an image which is (when I tested it at least :mrgreen: ) all set up for Python and Scratch:
blog post here.
by antiloquax
Thu Nov 29, 2012 1:20 pm
Forum: Scratch
Topic: Try Scratch on Arch
Replies: 4
Views: 1549

Try Scratch on Arch

I have made an image of a very simple installation of Arch with Scratch and Python3 + Pygame ready installed. Setting up Arch is a bit more difficult than Raspbian, so this may help you see what performance benefits this distribution offers. Download the .zip of the image here: arch.zip - google dri...
by antiloquax
Sun Nov 25, 2012 6:47 am
Forum: Arch
Topic: Problem with fresh installation
Replies: 3
Views: 945

Re: Problem with fresh installation

Sorted now
by antiloquax
Sat Nov 24, 2012 10:05 pm
Forum: Arch
Topic: Problem with fresh installation
Replies: 3
Views: 945

Re: Problem with fresh installation

Thanks Pepedog. I'll try that.
by antiloquax
Sat Nov 24, 2012 7:17 pm
Forum: Arch
Topic: Problem with fresh installation
Replies: 3
Views: 945

Problem with fresh installation

I have tried this twice now :( Booted from a freshly written SD card, ran pacman -Syu When I rebooted and tried to carry on installing things, I got this message: pacman: error while loading shared libraries: /usr/lib/libssl.so.1.0.0: invalid ELF header I don't usually have this problem ... have I d...
by antiloquax
Sat Nov 24, 2012 6:59 pm
Forum: General programming discussion
Topic: A better gui text editor?
Replies: 51
Views: 37218

Re: A better gui text editor?

vim.png Well, text editors are very much matter of personal choice ... You can use Vim with a GUI interface (GVim), but one of the things I like about it is that it will run from the command line, so I can use it when not in an X windows session ... I found this book very useful when I started usin...
by antiloquax
Fri Nov 23, 2012 6:42 pm
Forum: General programming discussion
Topic: A better gui text editor?
Replies: 51
Views: 37218

Re: A better gui text editor?

Vim is excellent, if you are prepared to spend a bit of time learning how to use it.
:mrgreen:
by antiloquax
Fri Nov 23, 2012 6:36 pm
Forum: Arch
Topic: How to check the IP of my Raspberry Pi?
Replies: 24
Views: 41979

Re: How to check the IP of my Raspberry Pi?

I'm not sure if this helps at all but I use the android app Fing. It works a treat.
by antiloquax
Mon Nov 05, 2012 8:41 am
Forum: General programming discussion
Topic: Bat and ball game
Replies: 12
Views: 5362

Re: Bat and ball game

Hi Neil,
I am glad you got it working!
:mrgreen:
by antiloquax
Sun Nov 04, 2012 3:56 pm
Forum: Python
Topic: a bases converter
Replies: 6
Views: 1491

Re: a bases converter

@BlackJack. I was not aware of divmod() or "**". Those two things certainly helped me to improve my code.
:D

Go to advanced search