Go to advanced search

by zomzilla
Tue Apr 16, 2013 3:28 pm
Forum: General discussion
Topic: Useful software and tricks for the Pi
Replies: 0
Views: 1221

Useful software and tricks for the Pi

Hi all, Pre Pi I had a pentium 2 laptop i played with, and i used http://kmandla.wordpress.com/ as a useful resource to help me hack together a low-power, console-based distro. Look around it has a ton of neat tricks Then I checked back today, to find he has a new blog with a similar aim; things lik...
by zomzilla
Mon Dec 17, 2012 5:55 pm
Forum: Python
Topic: Place value + value of letters
Replies: 7
Views: 1350

Re: Place value + value of letters

Thanks a lot! yes the input 00 was an experiment to see if I could end the loop like that (before, I had it break on an empty space) I see what you mean about the switch too: but I was going for ease-of-thinking rather than efficiency. now to tinker on quick sort.... ( a bit more challenging methinks)
by zomzilla
Mon Dec 17, 2012 4:47 pm
Forum: Python
Topic: Place value + value of letters
Replies: 7
Views: 1350

Re: Place value + value of letters

Ok so having read your post I abandoned the idea of supporting non-number inputs. To fix my code I changed the raw_input() to input() (code below) which seems to have changed the variable type in my list. here is my (messy) code: list_in=[] iterations = 1 inputs=0 print "how many numbers do you want...
by zomzilla
Sun Dec 16, 2012 9:24 pm
Forum: Python
Topic: Place value + value of letters
Replies: 7
Views: 1350

Place value + value of letters

Hi all, I have written a simple program which sorts a list of numbers and/or letters. BUT! number 233 for example, will come before 3, due to the leading 2. A similar thing happens with words. I have used a simple number1 > number2 line to see which of a pair is bigger. My question is: how may I add...
by zomzilla
Sun Sep 02, 2012 7:33 am
Forum: Python
Topic: best way to go about creating variables?
Replies: 6
Views: 1187

Re: best way to go about creating variables?

Well just how much slower would sequence be?

Otherwise (is this a doubly linked list?) it may be easier to have one list for going up from cell 0 and one for going down from 0. This will actually probably be the way I do it as then I don't need to mess around with negative numbers too much :)
by zomzilla
Sat Sep 01, 2012 9:26 pm
Forum: Python
Topic: best way to go about creating variables?
Replies: 6
Views: 1187

Re: best way to go about creating variables?

Well it would need to grow in both directions.

And I didn't say above but I am very new to python and programming in general so thanks for the info on append.

Is the thing you suggested part of lists?
by zomzilla
Sat Sep 01, 2012 8:06 pm
Forum: Python
Topic: best way to go about creating variables?
Replies: 6
Views: 1187

best way to go about creating variables?

i want to make a simple turing machine simulator in python for practice. i understand how to pull it together, but i do not know the best way to go about the tape. obviously a list or dictionary of {a:0, b:0, c:0.........} is completely out of the question, and i imagine a poor solution as it limits...
by zomzilla
Mon Aug 27, 2012 12:24 pm
Forum: Python
Topic: Anything wrong with this (GPIO) code?
Replies: 3
Views: 893

Re: Anything wrong with this (GPIO) code?

Thanks for the help!

It didn't fix my problem; but it is a much better way of doing what I was doing ( the purpose of my project is learn about programming and hardware : I am a complete nub)
by zomzilla
Mon Aug 27, 2012 10:32 am
Forum: Python
Topic: Anything wrong with this (GPIO) code?
Replies: 3
Views: 893

Anything wrong with this (GPIO) code?

Hi all, Currently doing a project that needs 9 inputs and 20 outputs: I shifted the outputs successfully, and I am playing with trying to shift in 8 inputs using a 74hct166N parallel to serial. I will post the code here first I suppose: Pin 15 is the Clock signal to the chip Pin 16 is the input to t...
by zomzilla
Sun Aug 05, 2012 2:16 pm
Forum: Python
Topic: GPIO 0.3.1a behavior strange
Replies: 6
Views: 1353

Re: GPIO 0.3.1a behavior strange

Ah: thanks for that

I didnt think of that when i simplified the code down
by zomzilla
Sat Aug 04, 2012 10:45 pm
Forum: Python
Topic: GPIO 0.3.1a behavior strange
Replies: 6
Views: 1353

Re: GPIO 0.3.1a behavior strange

Sorry: I may be being thick but as I see it I've simply made a loop and told it to print the current state of pin 11.

Why is GPIO.input(11) the same as True?

Plus this still doesn't address the underlying issues with the library I am having
by zomzilla
Sat Aug 04, 2012 5:00 pm
Forum: Python
Topic: GPIO 0.3.1a behavior strange
Replies: 6
Views: 1353

Re: GPIO 0.3.1a behavior strange

using 1 and 0 makes no difference: still back to front and no latching more importantly i can find no way to get inputs to work i did: GPIO.setup(11, GPIO.IN) input = GPIO.input(11) while 1<2: print input the idea being i can see when the thing is and isnt connected all that happens is it prints Tru...
by zomzilla
Sat Aug 04, 2012 2:40 pm
Forum: Python
Topic: GPIO 0.3.1a behavior strange
Replies: 6
Views: 1353

GPIO 0.3.1a behavior strange

Hi all. A while ago I started a project using the GPIO 0.2 library and was pleased as to how it worked. Now I amusing the Rasbian image on my pi with the newer GPIO python library and it's behaving rather oddly. To turn on an output, I have to do GPIO.output(12, GPIO.LOW) which seems the wrong way r...
by zomzilla
Mon Jul 30, 2012 7:58 pm
Forum: Advanced users
Topic: Overclocking
Replies: 1125
Views: 604706

Re: Overclocking

950 MHz seems to be the maximum without an over volt.
With overvolt6 I got to 1050 and any ram OC at all crashed

With my nice new heatsink, paste and diddly 5V fan I get 1100mhz, 500mhz ram and 350gpu (need to stress test the GPU and find the full maximum)
by zomzilla
Mon Jul 30, 2012 2:10 pm
Forum: Advanced users
Topic: Overclocking
Replies: 1125
Views: 604706

It would appear I have the Pi of the Gods

Currently at
Arm 1100
GPU 350
Sdram 500

All with an over volt of 6.

The Arm_freq is the highest possible before bizarre errors
Still pushing the other 2 settings


Anyone have an idea the over volt will have on the life of the Pi?
by zomzilla
Sun Jun 10, 2012 7:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: which GPIO pin numbers can i use?
Replies: 3
Views: 2084

Re: which GPIO pin numbers can i use?

well not necessarily safe to use: if you were to use 4 it reboots the Pi!
by zomzilla
Sun Jun 10, 2012 2:08 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: which GPIO pin numbers can i use?
Replies: 3
Views: 2084

which GPIO pin numbers can i use?

hi all; i am writing a small python script, and currently i am using pin 11 only. obviously i would like to use as many as possible; but when i (accidently) connected pin 6 (0V) and pin 4 my pi rebooted. so: 1) does the python numberiing refer to the physical order of the pins 2) which numbers are s...
by zomzilla
Sat Jun 09, 2012 9:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Random (GPIO) advice
Replies: 2
Views: 1730

Random (GPIO) advice

Turns out you need'nt spend a penny for breaking out the GPIO on the Pi: having looked at various ways of doing it it seems any P4 era computer can be opened up, a spare ribbon-cable found (ours was actually loose) and like magic one has a breakout cable! Just trim on end off (the one with the twist...
by zomzilla
Mon Jun 04, 2012 7:03 pm
Forum: Raspbian
Topic: No installable candidate/held broken
Replies: 4
Views: 2027

Re: No installable candidate/held broken

TBH i wouldnt be surpised if most Power users start using directFB based programs (i wish there were more documentation; all i really want from X is a browser and there are basic webkit browsers for directfb which would be ideal with Screen-vs
by zomzilla
Mon Jun 04, 2012 3:05 pm
Forum: Gentoo
Topic: Rasp-too?
Replies: 2
Views: 1672

Re: Rasp-too?

Well; binaries optimized for the Raspberry Pi = useful performance gain
Not compiled ON Raspberry pi = faster install
No need to set up complex distanc = easier

And over other distro's, Gentoo's minimal nature should give some better performance/latency on the raspi
by zomzilla
Mon Jun 04, 2012 2:35 pm
Forum: Gentoo
Topic: Rasp-too?
Replies: 2
Views: 1672

Rasp-too?

Well; Rasbian is doing a good job of making a port of Debian to RPi; anyone up for making a fully optimized distro based on gentoo? It's not hard to chroot into a folder, edit make.conf and compile for the right architecture, but the hard work would be making a repo and build system for gentoo binar...
by zomzilla
Sun Jun 03, 2012 8:01 pm
Forum: Raspbian
Topic: No installable candidate/held broken
Replies: 4
Views: 2027

Re: No installable candidate/held broken

If you can tell me exactly what to do I will happily tell you :)

Forgot about old ice weasel though..l
by zomzilla
Sun Jun 03, 2012 7:22 pm
Forum: Raspbian
Topic: No installable candidate/held broken
Replies: 4
Views: 2027

No installable candidate/held broken

So, i am trying to install a browser capable of rendering the RPi site (midori=slow as hell, dillo thinks its being redirected). Sudo apt-get install opera or firefox says there is no installable candidate, whereas chromium browser says it depends on chromium >=10. how can i fix this? i only have a ...
by zomzilla
Sun Jun 03, 2012 6:10 pm
Forum: General discussion
Topic: Quake 3 Arena at 60 FPS
Replies: 89
Views: 49553

Re: Quake 3 Arena at 60 FPS

just to confirm: the extra FPS is just for Benchmark purposes?

because on any system, the fps is optimal when it matches the rate the monitor is refreshing (often 60Hz)
so you wont gain anything from the extra FPS
by zomzilla
Sun Jun 03, 2012 9:06 am
Forum: Advanced users
Topic: Overclocking
Replies: 1125
Views: 604706

Re: Overclocking

Ok thanks Dom

Go to advanced search