Go to advanced search

by antiloquax
Sun Jun 03, 2012 6:01 am
Forum: Python
Topic: Editor / Dev Environment ?
Replies: 4
Views: 2119

Re: Editor / Dev Environment ?

This is one of those topics that tends to divide opinion. In his "Raspberry Pi tutorials" YouTube videos, Liam Fraser uses Geany. This is a nice IDE for Python (any pretty much any programming language you'd like to learn). It's easy to use and lightweight / fast. I started learning Python by readin...
by antiloquax
Sun Jun 03, 2012 5:53 am
Forum: Python
Topic: Which Python 2.7 or 3.x?
Replies: 19
Views: 9987

Re: Which Python 2.7 or 3.x?

Python Programming for the Absolute Beginner, 3rd Edition Michael Dawson Python 3 x If you are new to programming with Python and are looking for a solid introduction, this is the book for you. Developed by computer science instructors, books in the "for the absolute beginner" series teach the prin...
by antiloquax
Sun Jun 03, 2012 5:44 am
Forum: Python
Topic: No Python 2.7?
Replies: 2
Views: 4308

Re: No Python 2.7?

You can just compile your own python 2.7.
I find that the versions live alongside each other quite happily.
I've posted about it here:
Python 2.7.3
by antiloquax
Sun Jun 03, 2012 5:39 am
Forum: General programming discussion
Topic: Very Basic Python Questions
Replies: 10
Views: 8186

Re: Very Basic Python Questions

I have compiled Python on my Pi. It is fairly straightforward. Download the version you want, eg 2.7.3 Unpack the tarball and open a terminal in the Python-2.7.3 directory. Then: ./configure make make install If you want to use pygame with your new Python, download pygame. Then in the un-packed dire...
by antiloquax
Sun Jun 03, 2012 5:24 am
Forum: Other programming languages
Topic: Haskell
Replies: 13
Views: 9958

Re: Haskell

Thanks djhuk, I will try this later.
I like this tutorial.
Learn You a Haskell
by antiloquax
Sat Jun 02, 2012 10:30 am
Forum: General programming discussion
Topic: VI on Arch
Replies: 1
Views: 1502

Re: VI on Arch

In my arch set-up, vi is fine.
(Although I have now installed vim ;) )
by antiloquax
Sat Jun 02, 2012 10:27 am
Forum: Other projects
Topic: The MagPi Magazine www.themagpi.com
Replies: 253
Views: 61954

Re: The MagPi Magazine www.themagpi.com

Hi meltwater, Yes, you can have line numbers in Leafpad. I agree that some help is useful (syntax highlighting and auto-indent for instance). I suppose Geany is the most user-friendly one. Vim does tend to put beginners off because of the use of "modes". I was wondering if you want to run an article...
by antiloquax
Fri Jun 01, 2012 2:51 pm
Forum: Advanced users
Topic: asm printf?
Replies: 40
Views: 7470

Re: asm printf?

http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=55661 Sorry - I know I've posted this somewhere else, but it is relevant here, I think. I don't fully understand this, but it looks like the string is loaded into r1, the string's length goes in r2. Then we make r7 hold the value 4. This mus...
by antiloquax
Fri Jun 01, 2012 2:37 pm
Forum: Beginners
Topic: Power from powered USB hub?
Replies: 21
Views: 22918

Re: Power from powered USB hub?

Yes, this is what I am doing also.
I have a cheapo Kingston 4-usb hub and it's working well to power and be the hub for, my RPi.
by antiloquax
Fri Jun 01, 2012 12:08 pm
Forum: Other projects
Topic: The MagPi Magazine www.themagpi.com
Replies: 253
Views: 61954

Re: The MagPi Magazine www.themagpi.com

@kirbyman62-2 I think it would be useful to have a discussion in the Magpi about editors / IDEs (as Meltwater suggested a couple of posts back). For people using Debian, there's Geany, Joe, Python's own IDLE as well as some other programs I haven't looked at (Dr. Python - I think). I am using Arch a...
by antiloquax
Thu May 31, 2012 8:44 pm
Forum: Other projects
Topic: The MagPi Magazine www.themagpi.com
Replies: 253
Views: 61954

Re: The MagPi Magazine www.themagpi.com

The second issue is great! I haven't read it all yet, but the information on setup looks excellent.

My RPi arrived on Monday. I am hoping to be able to contribute something to the next issue.
I'm thinking along the lines of Python, Scratch or maybe some C.
Anyway, I'll be in touch.
by antiloquax
Thu May 31, 2012 8:29 pm
Forum: Other projects
Topic: MagPi – Raspberry Pi Magazine
Replies: 262
Views: 54077

Re: MagPi – Raspberry Pi Magazine

Great work guys!
I have been rather busy with work this month, but I am hoping to be able to contribute to the next issue.
:)
by antiloquax
Mon May 28, 2012 1:41 pm
Forum: Other programming languages
Topic: Absolute beginner at Assembly Code!
Replies: 15
Views: 8466

Re: Absolute beginner at Assembly Code!

Okay, this is very basic, but I am learning from doing simple things:
Image

And this shows how I assembled and linked it and got the output.
Image

mark
by antiloquax
Mon May 28, 2012 1:32 pm
Forum: Other programming languages
Topic: Vala
Replies: 9
Views: 4912

Re: Vala

I'm interested in Vala and Genie, but so far I haven't got much further than compiling them / it on my qemu-Pi.
The more languages that we can show the RPi running, the better IMO!
:D
by antiloquax
Wed May 23, 2012 7:21 am
Forum: C/C++
Topic: Recommeded C++ dev environment ?
Replies: 108
Views: 81931

Re: Recommeded C++ dev environment ?

I am a beginner at C, but I favour using VIM. I've been reading "Learn C the Hard Way" and the GNU C Tutorial.
by antiloquax
Tue May 22, 2012 5:01 pm
Forum: Other programming languages
Topic: Java
Replies: 21
Views: 15922

Re: Java

If you are using Arch, try:

Code: Select all

pacman -S jdk7-openjdk
It's in the repo.
Arch Arm Packages
by antiloquax
Tue May 22, 2012 4:58 pm
Forum: Other programming languages
Topic: Assembly Code
Replies: 60
Views: 21444

Re: Assembly Code

Today I've been looking at the functions chapter of "Programming from the ground up". It really helped me to understand "the stack" - something I was rather unclear about! If I have time later I am going to have a go at re-writing it for ARM. I also want to get my head around using assembly code fun...
by antiloquax
Tue May 22, 2012 4:47 pm
Forum: Puppy
Topic: PARM Puppy on ARM
Replies: 25
Views: 17934

Re: PARM Puppy on ARM

I am still waiting for my Pi, but I have been compiling some of the familiar Puppy packages on my qemu emulation. Here's pic-puz!
Image
antiloquax
by antiloquax
Tue May 22, 2012 9:13 am
Forum: Other programming languages
Topic: Assembly Code
Replies: 60
Views: 21444

Re: Assembly Code

My feeling about Assembly Code is that it's incredibly helpful to get an insight into exactly what is happening at the lower level when we use a loop (or whatever) in a higher level language. I doubt I'd use it for writing anything complex, but I'd like to get my head around some of the basics. It's...
by antiloquax
Mon May 21, 2012 7:11 am
Forum: Other programming languages
Topic: Assembly Code
Replies: 60
Views: 21444

Re: Assembly Code

One of the problems that I was having with ASM previously was the fact that gas uses AT&T syntax, whereas most of the tutorial documents I had been looking at use Intel. I've read (on Wikipedia) that gas will accept Intel syntax if you add the instruction: .intel_syntax I'm going to have another go ...
by antiloquax
Sun May 20, 2012 7:39 pm
Forum: Other programming languages
Topic: Assembly Code
Replies: 60
Views: 21444

Re: Assembly Code

Many thanks to gadgetoid and the others who have offered help on this. I had been playing around with "b" to replace the jump commands, but I was stumped by how to get the numbers from the array into a register.
I certainly know a lot more now than I did this morning! :)
mark
by antiloquax
Sat May 19, 2012 10:55 pm
Forum: Other programming languages
Topic: Absolute beginner at Assembly Code!
Replies: 15
Views: 8466

Re: Absolute beginner at Assembly Code!

Thanks for your replies! I'm hoping to have a bit more time to play with assembly code tomorrow!
by antiloquax
Sat May 19, 2012 6:58 pm
Forum: Other programming languages
Topic: Absolute beginner at Assembly Code!
Replies: 15
Views: 8466

Absolute beginner at Assembly Code!

hellocode.png
hellocode.png (5.6 KiB) Viewed 8466 times
hellooutput.png
hellooutput.png (34.8 KiB) Viewed 8466 times
I have managed to get a simple "Hello World" program to work! :shock:
Hopefully, now I have more of an idea what the assembler program should look like, I will be able to do some more.
mark
by antiloquax
Sat May 19, 2012 6:58 am
Forum: Other programming languages
Topic: Assembly Code
Replies: 60
Views: 21444

Re: Assembly Code

Thanks Narishma, I am now reading "Programming from the ground up" and things are making a lot more sense. I am a teacher in a UK high school and I'm hoping to be teaching Computer Science GCSE next year. This book has lots of very helpful information. I found the explanation of registers really hel...
by antiloquax
Fri May 18, 2012 2:18 pm
Forum: Other programming languages
Topic: Assembly Code
Replies: 60
Views: 21444

Re: Assembly Code

Thanks Gert. I think I'll be able to make a bit more sense of some of the online tutorials now I can see a bit of assembly code that the compiler has produced.
mark

Go to advanced search