Go to advanced search

by dr_d_gee
Tue Mar 12, 2013 2:19 pm
Forum: Raspbian
Topic: Can we reconsider the hardfloat ABI?
Replies: 17
Views: 4409

Re: Can we reconsider the hardfloat ABI?

If it's available for Raspbian (I can't check at the moment) Vala may be a possible alternative to C# -- a very C#-like syntax, but compiling to native code via C (which is the reason for most of the modifications). See https://live.gnome.org/Vala (you MUST have the 'https' part!) for documentation ...
by dr_d_gee
Fri Mar 08, 2013 2:20 pm
Forum: Other programming languages
Topic: sudo apt-get install lazarus (v 1_6-0)
Replies: 5
Views: 2348

Re: sudo apt-get install lazarus (v 1_6-0)

Creating a Debian package isn't enough in itself for apt-get to work; you would need to set up a repository as well.
by dr_d_gee
Fri Mar 08, 2013 2:02 pm
Forum: General discussion
Topic: Added User Account Wont Run Apps
Replies: 8
Views: 1286

Re: Added User Account Wont Run Apps

mq1991 wrote:Thanks for the reply,

Code: Select all

ls -l minecraft-pi
Would be what I enter? minecraft-pi is the filename.

Thanks!
-Steve
Yes--if you do it in the directory where minecraft-pi is. Report what it says and (hopefully) somebody here will be able to work out what's wrong and how to fix it.
by dr_d_gee
Thu Mar 07, 2013 12:58 pm
Forum: General discussion
Topic: Added User Account Wont Run Apps
Replies: 8
Views: 1286

Re: Added User Account Wont Run Apps

Try typing the following in a terminal:

Code: Select all

ls -l `which minecraft`
assuming that Minecraft's executable is called minecraft, and report what it says--it should tell you the ownership of the file and the permissions attached to it.
by dr_d_gee
Sun Mar 03, 2013 4:41 pm
Forum: General discussion
Topic: Single Click
Replies: 7
Views: 6002

Re: Single Click

It's because the file manager is responsible for managing the desktop.
by dr_d_gee
Mon Feb 25, 2013 2:10 pm
Forum: Staffroom, classroom and projects
Topic: Learning Rasberrian/Linux on a PC
Replies: 13
Views: 3794

Re: Learning Rasberrian/Linux on a PC

probably worth noteing that by booting a live linux cd/dvd disk ( NO install needed ) you can see how well most of your hw is supported with out making any changes to your computer This is true but I have had experience of being able to boot a Linux distro in live mode then not being able to boot t...
by dr_d_gee
Sun Feb 24, 2013 3:55 pm
Forum: Staffroom, classroom and projects
Topic: Learning Rasberrian/Linux on a PC
Replies: 13
Views: 3794

Re: Learning Rasberrian/Linux on a PC

If you're wanting to install Linux on a PC directly, rather than through VirtualBox, what you'll need is a distro which recognises your hardware correctly. In my experience, Ubuntu and its derivatives like Linux Mint are usually the best at this -- although YMMV. If you *do* go the Ubunut/Mint route...
by dr_d_gee
Fri Feb 22, 2013 3:05 pm
Forum: Other programming languages
Topic: BASH script to check for Pi hardware and/or Raspbian
Replies: 9
Views: 7057

Re: BASH script to check for Pi hardware and/or Raspbian

There are also other options to uname, as you may already be aware. uname -o prints the operating system (I'm not on a Linux box at the moment so can't say exactly what it prints) and uname - r prints the kernel release. There are others; see http://linux.about.com/library/cmd/blcmdl1_uname.htm (or ...
by dr_d_gee
Thu Feb 21, 2013 2:13 pm
Forum: RISCOS
Topic: BBC BASIC: What is needed in TUTs/DOCs
Replies: 17
Views: 3783

Re: BBC BASIC: What is needed in TUTs/DOCs

I think there needs to be some mention of the graphics MODEs and how they work on the Pi (i.e. that they behave as 256-colour modes, so *don't* conform to what existing documentation says).
by dr_d_gee
Thu Feb 21, 2013 2:02 pm
Forum: Other programming languages
Topic: Basic on the system
Replies: 40
Views: 5845

Re: Basic on the system

Which operating system should we teach under? Linux, *BSD or RISC OS... which do you think will still be active in another 20 years time? -Gordon It's impossible to say which operating systems will be active in 20 years time. Just over 20 years ago--before the Microsoft/IBM split--it looked like th...
by dr_d_gee
Wed Feb 20, 2013 2:34 pm
Forum: Other programming languages
Topic: Basic on the system
Replies: 40
Views: 5845

Re: Basic on the system

BBC Basic on the MS platform has been used for a great many year to produce huge amounts of software both commercial and non-commercial. Really? Somehow I find it hard to believe. Your evidence is? Personally speaking I am not aware of any commercial software on the MS platform written using BBC Ba...
by dr_d_gee
Mon Feb 18, 2013 1:51 pm
Forum: Raspbian
Topic: Dillo + cookies
Replies: 3
Views: 844

Re: Dillo + cookies

I For that matter, I'm not sure how it was compiled at all, as when I tried to download the source and recompile it, I get the error that FLTK isn't installed, which Dillo 3.0.2 depends on. Is there a way to find out how this was built or how to build it myself? You will need to install the develop...
by dr_d_gee
Mon Feb 18, 2013 1:33 pm
Forum: General discussion
Topic: The Raspberry Pi Backup Thread
Replies: 82
Views: 83772

Re: The Raspberry Pi Backup Thread

Just some suggestions: It might be worth backing up each of the partitions separately--the FAT one is the more likely to be corrupted if power is lost. Also, why not use a more conventional tool to backup files to the hard drive? Something like rsync or the various graphical interfaces like grsync o...
by dr_d_gee
Thu Feb 14, 2013 3:22 pm
Forum: Staffroom, classroom and projects
Topic: Assembly - any use in teaching it?
Replies: 138
Views: 32748

Re: Assembly - any use in teaching it?

When I do my next OS upgrade, I'll be moving to Mint Debian. The difference is that the standard Mint doesn't use a rolling upgrade. I liked that about Ubuntu and miss it. What? Unless I've missed something, Ubuntu has never been a rolling release distro. Standard Mint releases are all based on Ubu...
by dr_d_gee
Thu Feb 14, 2013 2:26 pm
Forum: C/C++
Topic: QT Creator and CMake
Replies: 3
Views: 2311

Re: QT Creator and CMake

Perhaps QtCreator is looking for a generator that creates a Qt project (.pro) file?
by dr_d_gee
Wed Feb 13, 2013 4:34 pm
Forum: C/C++
Topic: Looking for Recommendation for Learning Qt
Replies: 9
Views: 2413

Re: Looking for Recommendation for Learning Qt

There are various books on Qt available; personally I like Mark Summerfield's "C++ GUI Programming with Qt" but I know some people dislike it too. But before you can do a lot qith Qt you will need at least some understanding of C++.

Have you considered using Python (PyQt or PySide) instead?
by dr_d_gee
Sun Feb 10, 2013 3:15 pm
Forum: Python
Topic: Using tkinter
Replies: 4
Views: 1135

Re: Using tkinter

Assuming that the real code is correctly indented (otherwise you wouldn't have got as far as you appear to) the line

Code: Select all

button=Button(frame,text='ACTION',command=self.product)


looks wrong as product should be

Code: Select all

product(x,y)
by dr_d_gee
Sat Feb 09, 2013 7:21 pm
Forum: RISCOS
Topic: SWI documentation/info
Replies: 45
Views: 8108

Re: SWI documentation/info

Even then, for creating GUI applications *none* of these tools is as easy to use as something like QtCreator. Or Lazarus. Or... Realy, then I assume that you have never used !WinEd?[/quote] Like many others I would guess, while I'd heard of RISC OS before I'd never had such a machine—when they were...
by dr_d_gee
Sat Feb 09, 2013 6:15 pm
Forum: General programming discussion
Topic: Post modern BASIC (RFC)
Replies: 24
Views: 2514

Re: Post modern BASIC (RFC)

Part of the trouble with BASIC is that there isn't really a standard syntax. There are those variants with nothing more than GOSUB/RETURN, those like BBC BASIC which have added subroutines with DEFPROCxxx/PROCxxx/ENDPROC and those following on from QBasic which have Sub...End Sub. Over the years VB ...
by dr_d_gee
Fri Feb 08, 2013 2:58 pm
Forum: RISCOS
Topic: Browser options
Replies: 4
Views: 1975

Re: Browser options

A version of Android is not likely to be as snappy as RISC OS. Or even as snappy as Raspbian. Remember Android is a specialised form of Linux. Also, most Android devices have processors considerably more powerful than a RasPi (e.g. Nvidia Tegra 3) and are still not that snappy IMHO. Also all of the ...
by dr_d_gee
Fri Feb 08, 2013 2:52 pm
Forum: RISCOS
Topic: SWI documentation/info
Replies: 45
Views: 8108

Re: SWI documentation/info

The other issue is that apart from using an obscure language like Charm (unknown apart from RISC OS) developing a GUI (in a readable fashion) involves using C rather than C++. Why was Vala developed? To provide an alternative to C#/Mono for developing programs for the GNOME desktop (on Linux). Why w...
by dr_d_gee
Fri Feb 08, 2013 1:47 pm
Forum: Python
Topic: unpickle many objects
Replies: 2
Views: 411

Re: unpickle many objects

One way would be to add all of the objects concerned to a list and then pickle that.
by dr_d_gee
Fri Feb 08, 2013 1:40 pm
Forum: Other programming languages
Topic: Basic on the system
Replies: 40
Views: 5845

Re: Basic on the system

jackokring wrote:

Code: Select all

sudo apt-get install brandy
If I'm not mistaken get you a BBC BASIC on Raspbian.
But according to the documentation, one without graphics or sound...
by dr_d_gee
Thu Feb 07, 2013 1:58 pm
Forum: RISCOS
Topic: SWI documentation/info
Replies: 45
Views: 8108

Re: SWI documentation/info

As someone used to other platforms I'd say RISC OS has a lot of technical reference documentation, but little tutorial information; what there is is largely targeted at BASIC and possibly leaves too much out. What's needed (for C/C++ anyway, IMHO) is a RISC OS equivalent of Charles Petzold's classic...
by dr_d_gee
Fri Jan 25, 2013 1:55 pm
Forum: Beginners
Topic: Adding to LXTerminal $PATH
Replies: 6
Views: 4322

Re: Adding to LXTerminal $PATH

Put the statement in .bash_profile in your home directory (this file should already be present but won't show in file manager unless you opt to "show hidden files"). The statement you would need to add would be similar to what you would type in at the prompt. export PATH=extra_bit:$PATH where extra_...

Go to advanced search