Go to advanced search

by rurwin
Fri Jan 20, 2012 2:40 pm
Forum: Other projects
Topic: In the beginning there was.....
Replies: 3
Views: 1225

Re: In the beginning there was.....

In The Beginning was The Command Line — by Neal Stephenson

(Copyright OK; he published it on-line)

Rather long, but highly topical to the ICT/IT debate/debacle.
by rurwin
Fri Jan 20, 2012 2:33 pm
Forum: Other projects
Topic: Boards plugging into GPIO should be Male or female?
Replies: 14
Views: 2992

Re: Boards plugging into GPIO should be Male or female?

But I avoided it in the next line.
by rurwin
Fri Jan 20, 2012 2:12 pm
Forum: General discussion
Topic: Copyright and licenses
Replies: 38
Views: 5653

Re: Copyright and licenses

<t>A small legal point, in the UK you can not place code in the public domain; you always have to license it. I imagine the above sentence would do this in any reasonable court, but I prefer "You may treat this code as if it were in the public domain".<br/> <br/> For large projects I prefer GPL 2 or...
by rurwin
Fri Jan 20, 2012 12:29 pm
Forum: Other projects
Topic: Tailor-Made Programming Language
Replies: 49
Views: 10694

Re: Tailor-Made Programming Language

<t>John Beetem said: <br/> <br/>  Even if the language is not ultimately successful in terms of vast numbers of users, it's terrifically educational and fun to create a new programming language and its compiler and/or interpreter. <br/> When I was first learning to program, back in the mid 70's, whe...
by rurwin
Fri Jan 20, 2012 9:03 am
Forum: Off topic discussion
Topic: Soldering iron recommendations
Replies: 44
Views: 16561

Re: Soldering iron recommendations

<r>RS (<URL url="http://rswww.com">http://rswww.com</URL>) are fine dealing with individuals, and they tend to have lower minimum order charges than Farnell. I look at RS first and go to Farnell only if RS can't help. They also have branches you can visit to avoid even P&P. I once wanted two dio...
by rurwin
Thu Jan 19, 2012 10:39 pm
Forum: Other projects
Topic: Boards plugging into GPIO should be Male or female?
Replies: 14
Views: 2992

Re: Boards plugging into GPIO should be Male or female?

<t>Female on top, would be my vote.<br/> <br/> You can also polarise female sockets by blocking a hole.<br/> <br/> But I should want to be sure that we could connect two boards using a cable. I think we can get those through-headers with pins both sides to make a secure gender-changer, but I don't t...
by rurwin
Thu Jan 19, 2012 10:17 pm
Forum: Staffroom, classroom and projects
Topic: Worried about teaching Computing? I can help.
Replies: 29
Views: 6579

Re: Worried about teaching Computing? I can help.

Hi Julie, I replied by email.

Still waiting for Mcantle to make contact...
by rurwin
Thu Jan 19, 2012 9:10 pm
Forum: HATs and other add-ons
Topic: Gertboard
Replies: 258
Views: 103711

Re: Gertboard

<t>Looking closer, there are a few things I would take issue with, with a view to making the code portable.<br/> <br/> I am disturbed by the use of // comments on the #define lines. It seems to me that you may find a compiler that included those comments in the replaced text, which would then ignore...
by rurwin
Thu Jan 19, 2012 8:28 pm
Forum: HATs and other add-ons
Topic: Gertboard
Replies: 258
Views: 103711

Re: Gertboard

<t>It is safe in those cases to put in the cast that it is expecting:if ((gpio_mem = (char*)malloc(BLOCK_SIZE + (PAGE_SIZE-1))) == NULL) {<br/> gpio_map = (char *)mmap( …. );<br/> The question that then arises is why the code used an unsigned char cast for mmap, when gpio_map is obviously char. It c...
by rurwin
Thu Jan 19, 2012 1:22 pm
Forum: Off topic discussion
Topic: Game over
Replies: 21
Views: 4169

Re: Game over

O.M.G.

There goes the standard of coding in Visual Studio. Right down the pan.

"Why didn't you do it the simple way?"

"This way earned me a badge."
by rurwin
Thu Jan 19, 2012 12:48 pm
Forum: Staffroom, classroom and projects
Topic: Project for beginners - a simple MP3 player
Replies: 11
Views: 24913

Re: Project for beginners - a simple MP3 player

<t><br/> Anybody know how to easily paste code into SimplePress? Using the code tags really messes up the formatting.<br/> <br/> <br/> Try using <pre> … </pre> tags inside the code ones:<br/> <br/> (This is an example, not anything to do with the MP3 player)<br/> <br/> class ThreadClass (object):<br...
by rurwin
Thu Jan 19, 2012 12:30 pm
Forum: Other projects
Topic: Automatic power on/off
Replies: 51
Views: 24239

Re: Automatic power on/off

<t>There are problems just shutting off power, as this thread: How to protect the filesystem without a save shutdown button? points out.<br/> <br/> In short, because the SD card does wear levelling, it can corrupt itself if it is switched off during a write. That corruption is at such a low level th...
by rurwin
Thu Jan 19, 2012 11:31 am
Forum: Staffroom, classroom and projects
Topic: what language to lern?
Replies: 8
Views: 2944

Re: what language to lern?

<t>If you can program already, then anything you like. It is all available on Linux. (Although it might not be on ARM.)<br/> <br/> If you are learning to program too, then BASIC or Python are generally believed to be the best first choices. (It isn't unanimous, and there is no agreement which of tho...
by rurwin
Thu Jan 19, 2012 10:58 am
Forum: Python
Topic: learning python?
Replies: 13
Views: 5083

Re: learning python?

<t>Here's two more free ones:<br/> <br/> Python for Informatics: Exploring Information<br/> <br/> And the official Python tutorial is also very good. The first couple of chapters introduce it and cover installation. Chapter 3 starts off the language tutorial bit. Google "Python Documentation" That's...
by rurwin
Thu Jan 19, 2012 8:46 am
Forum: Other projects
Topic: STICKY: Beta Boards mechanical data
Replies: 72
Views: 97900

Re: Beta Boards mechanical data

<t>Gert, could I ask you to take out your tape measure again?<br/> <br/> It seems to me that for a case to hold the board securely, it will have to have a lip that the board sits on. It would be good to know how wide the lip can be. Ideally we would want the board to sit flat on it; there should be ...
by rurwin
Thu Jan 19, 2012 8:25 am
Forum: Other projects
Topic: Touch Screen LCD
Replies: 55
Views: 51709

Re: Touch Screen LCD

I'm sure it would make a great project, but by the time you had built everything that needed building, would it be any cheaper than this?

(There's loads of companies selling those from China, all using the same text. That one is cheaper than the rest. Caveat emptor.)
by rurwin
Thu Jan 19, 2012 8:07 am
Forum: General discussion
Topic: Water-peel Transfers
Replies: 5
Views: 1404

Re: Water-peel Transfers

<t>In line with the logo usage requirements, a simple logo is insufficient. (That's probably not going to worry the foundation when the users are hobbyists and kids, but when it gets commercial it might.)<br/> <br/> What about a new sticker/transfer incorporating the word "contains" or "contains Ras...
by rurwin
Tue Jan 17, 2012 11:08 pm
Forum: Python
Topic: learning python?
Replies: 13
Views: 5083

Re: learning python?

Here's another video on data types and variables.

http://www.khanacademy.org/vid.....%20Science
by rurwin
Tue Jan 17, 2012 10:52 pm
Forum: Off topic discussion
Topic: 500 Members!
Replies: 69
Views: 7951

Re: 500 Members!

<t>I for one would not complain if the foundation were to reserve the first 500 boards for those first 500 forum members. It couldn't be done for all of us, but 500 boards is not going to make a significant dent in the number available and it would be a nice nod to the members that have been here fo...
by rurwin
Tue Jan 17, 2012 10:41 pm
Forum: General discussion
Topic: Please, scale to resolution.
Replies: 5
Views: 1373

Re: Please, scale to resolution.

<t>This is probably nothing to do with the software as such. It is entirely a css matter.  Fixing it is fairly simple if you have access to the css files. Here's a start.<br/> <br/> Style.css, line 74: Remove max-width: 1000px;<br/> <br/> Style.css, line 113: Change to width: 95%<br/> <br/> That app...
by rurwin
Tue Jan 17, 2012 10:20 pm
Forum: General discussion
Topic: Few Questions About Raspberry Pi
Replies: 7
Views: 1889

Re: Few Questions About Raspberry Pi

<t>2: Impossible<br/> <br/> ghans listed all the languages that will ship on a RPi, but others can be installed. For example, even the standard build of the Gnu Compiler Collection (gcc), (some version of which will be on the RPi,) implements compilers for C, C++, Objective C, Fortran, Java, Ada, an...
by rurwin
Tue Jan 17, 2012 10:04 pm
Forum: General discussion
Topic: Raspberry pi for an old blind lady (with remote)
Replies: 19
Views: 7636

Re: Raspberry pi for an old blind lady (with remote)

There's no need to load X if she's not going to see the screen.

I wonder if you could pipe the output of a command-line application through a text-to-speech program. You would not need to record the titles then, but you might need to produce the application.
by rurwin
Tue Jan 17, 2012 9:53 pm
Forum: Off topic discussion
Topic: Microsoft and ARM
Replies: 42
Views: 8951

Re: Microsoft and ARM

There was a magic moment in the 1990s when the Microsoft Windows lineup was:

CE.ME.NT

'nuf said.
by rurwin
Tue Jan 17, 2012 9:46 pm
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 140876

Re: BASIC - more harmful than useful?

We've now invoked Turing, Knuth and Dijkstra. Godwin's law for geeks?
by rurwin
Tue Jan 17, 2012 9:40 pm
Forum: Other projects
Topic: Looking for a cheap, mini (handheld) USB powered keyboard and with trackpad
Replies: 7
Views: 2106

Re: Looking for a cheap, mini (handheld) USB powered keyboard and with trackpad

<r>I was looking for USB trackpad keyboards yesterday.<br/> <br/> <URL url="http://www.amazon.co.uk">http://www.amazon.co.uk</URL> has loads, as does <URL url="http://www.ebuyer.com">http://www.ebuyer.com</URL><br/> <br/> I've just looked again. Some of them are smaller than full-size, but I could f...

Go to advanced search