Go to advanced search

by quarkjuggler
Sat Jan 11, 2020 2:14 am
Forum: Beginners
Topic: Can't unzip raspbian on raspbian
Replies: 6
Views: 853

Re: Can't unzip raspbian on raspbian

HawaiianPi: On your advice, I did try downloading just the buster + desktop and I succeeded. I still had to retry every minute or two, but I did get through it. I didn't try the "unzip -p 2019-09-26-raspbian-buster-lite.zip >/dev/sda", but it seems to be different from the "unzip -p 2019-09-26-raspb...
by quarkjuggler
Sat Jan 11, 2020 1:39 am
Forum: Beginners
Topic: Installing with and without apt-get
Replies: 6
Views: 498

Re: Installing with and without apt-get

It's a real joy to be among people who know so much! I hope I can come to deserve it in time. Meanwhile, EUREKA! I wrote the image to sdc instead of sdc1 and everything worked! I don't know why I had so much trouble downloading the buster onto my pi 3. but if I decide to download big files again, I ...
by quarkjuggler
Thu Jan 09, 2020 2:58 am
Forum: Beginners
Topic: Installing with and without apt-get
Replies: 6
Views: 498

Re: Installing with and without apt-get

Thank you for your answer. The page that you pointed me to seems to have all the answers I need. I was working with the unzip command, piping directly to the device without using the dd command, which didn't make sense to me. I am still confused about the fact that there were two new devices rather ...
by quarkjuggler
Wed Jan 08, 2020 10:04 pm
Forum: Beginners
Topic: Installing with and without apt-get
Replies: 6
Views: 498

Installing with and without apt-get

I got a working RPi, but I'm trying to put together a second one for a friend for Christmas. It's going on about 3 weeks now. I finally got the .img file (although it doesn't include recommended software. --Looks like Firefox doesn't download anything over 2.0 GB.) Now I'm trying to get it onto the ...
by quarkjuggler
Fri Jan 03, 2020 5:29 pm
Forum: Beginners
Topic: Can't unzip raspbian on raspbian
Replies: 6
Views: 853

Re: Can't unzip raspbian on raspbian

Thank you for the replies. I did a "sudo apt-get install bittorrent" on my pi and next time I booted, the boot failed. --Scared me bad! I've been getting pink completions on my kernel loading for awhile now, but the pi has been coming up anyway. This time, it took me into the recovery mode, so I loo...
by quarkjuggler
Thu Jan 02, 2020 12:32 pm
Forum: Beginners
Topic: How to not fry (bake?) my Raspberry Pi
Replies: 11
Views: 729

Re: How to not fry (bake?) my Raspberry Pi

Assume that you will make a programming error and be treating an input pin as an output pin. Your input should be softened with a resistor, so that if the GPIO pin has an attitude, it will win the argument--and will stay within acceptable current.
by quarkjuggler
Wed Jan 01, 2020 10:11 pm
Forum: Beginners
Topic: IP connection by key
Replies: 4
Views: 397

Re: IP connection by key

I shall check out the "mqtt". I think that's what I'm looking for. Thanks for all of the responses.
by quarkjuggler
Wed Jan 01, 2020 10:03 pm
Forum: Beginners
Topic: Can't unzip raspbian on raspbian
Replies: 6
Views: 853

Can't unzip raspbian on raspbian

--Can't believe I'm having so much trouble and can't find others with this trouble on the forum. I lost my Windows when I tried to format an SD but formatted Windows instead. Nor do I have Macintosh or related computers. I've been happy with my pi, so why get others? I tried to use my Linux Mint 7 "...
by quarkjuggler
Tue Jul 16, 2019 7:09 am
Forum: Beginners
Topic: IP connection by key
Replies: 4
Views: 397

IP connection by key

I want to put an RPi on my mailbox with a switch that detects when mail is delivered, then honk a horn inside the house by way of my WiFi and another RPi. How do I dothis? Is there maybe a public service with fixed IP address to which I could send an identifier by which one RPi could request the ser...
by quarkjuggler
Tue Apr 04, 2017 9:28 am
Forum: Beginners
Topic: pdf in Chromium scrambled
Replies: 0
Views: 286

pdf in Chromium scrambled

O.K., so I did the sudo apt-get update and the sudo apt-get dist-upgrade, and my problem persists. Here's a sample what I'm talking about: http://www.ti.com/lit/ds/symlink/sn74ls374.pdf Everything is reasonable until page 6, when Chrome goes berserk! (I take that back: On page 1, stuff goes off the ...
by quarkjuggler
Mon Apr 03, 2017 5:54 am
Forum: Beginners
Topic: move with gimp
Replies: 7
Views: 1300

Re: move with gimp

Yes, that's the pain I'm talking about. --And my wife has interest in art, but more with physical paint, canvas, and paintbrush, so with mixed emotions, I've encouraged her to look into gimp. I've warned her about how difficult it is to do even the smallest things, so I guess I've done my duty. I mi...
by quarkjuggler
Tue Mar 28, 2017 9:19 pm
Forum: Beginners
Topic: move with gimp
Replies: 7
Views: 1300

Re: move with gimp

Nothing I could do would move the layer, but a message advised me to try ctrl, shift, and alt. Again, nothing worked, but with shift-alt, I got a message saying that it couldn't move anything because nothing was selected. So I went back and selected the object. With shift-alt, I was able to move it!...
by quarkjuggler
Tue Mar 28, 2017 3:10 pm
Forum: Beginners
Topic: move with gimp
Replies: 7
Views: 1300

Re: move with gimp

Hi, topguy. It was nice to hear from you. It's the second-hand for a clock. Its background on this level is transparent. I want to position it to align with the hour hand and minute hand below to make a "sprite" thing. It hadn't occurred to me to cut 'n' paste. I'm super-new to gimp, so I might try ...
by quarkjuggler
Tue Mar 28, 2017 10:12 am
Forum: Bare metal, Assembly language
Topic: Simple assembler question
Replies: 13
Views: 5124

Re: Simple assembler question

Thanks, ghans! I don't know if you noticed the dates, but the post you answered was very old! Since then, I've moved on to python (--good language, IMO!), and I'm quite involved in a huge project (huge in my scheme of things). When I finish, I would still like to swing back to bash and see if I can'...
by quarkjuggler
Tue Mar 28, 2017 9:43 am
Forum: Beginners
Topic: move with gimp
Replies: 7
Views: 1300

move with gimp

Hope someone can help! I've got a .xcf file that has two layers. The one layer has an image that I would like to move to the right. I select the object, then activate the move tool, and select tool option to move by selection, but all I can move is the selection, not its contents. One discussion gro...
by quarkjuggler
Thu Feb 16, 2017 9:24 am
Forum: Beginners
Topic: Ogranizing Python program
Replies: 6
Views: 1702

Re: Ogranizing Python program

Thanks, DougieLawson! You've inspired me to change a bunch of stuff, so I'll disappear for awhile again.

--John
by quarkjuggler
Thu Feb 16, 2017 2:23 am
Forum: Beginners
Topic: Ogranizing Python program
Replies: 6
Views: 1702

Re: Ogranizing Python program

On the iSeries, back before they went with 'free' code, everything was in columns -- very easy to parse, so I had a program that would treat a program like a bill of material, to put like what you're talking about, but upside down, since the mainline had to be first. I'd like to do something like th...
by quarkjuggler
Wed Feb 15, 2017 4:09 am
Forum: Beginners
Topic: Ogranizing Python program
Replies: 6
Views: 1702

Ogranizing Python program

Is there an accepted way to properly sequence the functions in a python module based on which are referenced by what others? Perhaps there's software to do it? Efficiency is not nearly as important to me as readability. I've got 50 functions so far, and I'm sure to have a bunch more before I'm done,...
by quarkjuggler
Fri Feb 10, 2017 8:35 am
Forum: Beginners
Topic: SQL mystery
Replies: 2
Views: 974

Re: SQL mystery

Thanks, shuckle! I was under the impression that variables local to a function were available to functions called by that function, but obviously not. I've written about 2000 lines of code so far, so now I get to go back and do some proofreading!
by quarkjuggler
Fri Feb 10, 2017 7:49 am
Forum: Beginners
Topic: SQL mystery
Replies: 2
Views: 974

SQL mystery

Why does this work... import sqlite3 dconn = sqlite3.connect('w/usrdta') johnCsr = dconn.cursor() def b(): johnCsr.execute('select * from formulas') x = johnCsr.fetchone() print(x) def main(): b() johnCsr.close() dconn.close() ...whereas this does not... import sqlite3 def b(): johnCsr.execute('sele...
by quarkjuggler
Sat Dec 24, 2016 9:05 pm
Forum: Python
Topic: My first module
Replies: 9
Views: 1833

Re: My first module

Thanks, Paeryn, for sharing your knowledge! That does the trick!
by quarkjuggler
Sat Dec 24, 2016 12:12 pm
Forum: Python
Topic: My first module
Replies: 9
Views: 1833

Re: My first module

What exactly do you want dir to give you? I read the help(f) page, and indeed, that was useful. It brought in only the top-level function (and a class that I had added). My triple-quote comments were there, which made me feel good. I had expected that dir(f) would do what it does, unless I override...
by quarkjuggler
Tue Dec 20, 2016 6:23 pm
Forum: Python
Topic: My first module
Replies: 9
Views: 1833

Re: My first module

elParaguayo: You make a good point. --And there's another example of a predefined "dunder" name. Heck, all I wanted to do was cut down my "dir()" list for my "module", and instead I've had my introduction to the "dunder-world". I think for now, my answer to dir(f) being too long will be "Don't do th...
by quarkjuggler
Tue Dec 20, 2016 4:11 am
Forum: Python
Topic: My first module
Replies: 9
Views: 1833

Re: My first module

import makes the code in the module available, it doesn't execute it. Actually,... It does execute any statements that are not in a function. And of course, it executes the 'def' statements, which is what defines the functions to make them available to the interactive environment. Well, it's perhap...
by quarkjuggler
Mon Dec 19, 2016 6:33 pm
Forum: Python
Topic: My first module
Replies: 9
Views: 1833

Re: My first module

Thank you for your guidance. I've been in and out of several tutorials, and I think I read something wrong. Evidently, __init__.py is used at the package level, and __init__(self,...) is used on the class level, and I must have assumed that the function was available at the module level, but I guess...

Go to advanced search