Go to advanced search

by PeterO
Wed Nov 21, 2018 9:10 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 106
Views: 1304

Re: Why Avoid BASIC on RPi?

DavidS wrote:
Tue Nov 20, 2018 4:36 pm
PeterO wrote: Library support ? Without it BASIC is useless for working with all the hardware addons that need libraries to make them easily useable.
PeterO
What BASIC are you using that does not have library support?
No one produces basic libraries for their hardware, that's the point.
PeterO
by PeterO
Tue Nov 20, 2018 2:50 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 106
Views: 1304

Re: Why Avoid BASIC on RPi?

DavidS wrote:
Tue Nov 20, 2018 1:38 pm
BASIC is generally easier to learn than something like Scratch, especially when teaching young children to program.
I wonder just how much personal experience do you have of teaching youngsters Scratch ?

PeterO
by PeterO
Tue Nov 20, 2018 2:46 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 106
Views: 1304

Re: Why Avoid BASIC on RPi?

Library support ? Without it BASIC is useless for working with all the hardware addons that need libraries to make them easily useable.
PeterO
by PeterO
Sun Nov 11, 2018 11:35 am
Forum: Off topic discussion
Topic: The future of computer mice
Replies: 25
Views: 852

Re: The future of computer mice

You might find this of historical interest :
https://www.youtube.com/watch?v=jRIeLZ-_Y2Y
PeterO
by PeterO
Sat Nov 10, 2018 9:00 pm
Forum: Troubleshooting
Topic: How to decrease amperage required my Pi 3?
Replies: 52
Views: 985

Re: USB input disappears

How do you reconcile My dmesg says under voltage and My power supply is fine it seems, When clearly My dmesg says under voltage means My power supply is fine it seems, is not the case. You have no way of knowing if the under voltage has had any effect on the circuits in the dongle. PeterO
by PeterO
Wed Nov 07, 2018 8:03 pm
Forum: Off topic discussion
Topic: The future of computer mice
Replies: 25
Views: 852

Re: The future of computer mice

by PeterO
Wed Nov 07, 2018 12:08 pm
Forum: Troubleshooting
Topic: Disable font antialiasing (smoothing) w/ Raspbian PIXEL
Replies: 5
Views: 2140

Re: Disable font antialiasing (smoothing) w/ Raspbian PIXEL

Are these instructions still valid ? I've just done a fresh install of Raspbian and the anti-aliased fonts look terrible on my monitor. I'm sure I fixed (as in disabled) anti-aliasing on a previous Raspbian install but I can't find my notes as to how I did it. PeterO PS: And yes I know PIXEL doesn't...
by PeterO
Wed Nov 07, 2018 8:45 am
Forum: General discussion
Topic: 64-bit operating system
Replies: 190
Views: 16941

Re: 64-bit operating system

According to Wikipedia thunks are used in the call by name (not by value or reference) method of passing parameters in Algol 60. I think this use was long forgotten by the time the MS coined the term for the process of getting parameters between 16 and 32 bit code (which has nothing to do with "cal...
by PeterO
Tue Nov 06, 2018 10:25 pm
Forum: General discussion
Topic: 64-bit operating system
Replies: 190
Views: 16941

Re: 64-bit operating system

The next one I learned an assembly language (COMPASS) on used 60-bit words (no, that's not a typo. six-zero bits per word). Two others were another "variable field length" machine (AUTOCODER) and a 32-bit system (ALC). I offer a 39 bit word (which is both odd (not even) and odd (peculiar)) with oct...
by PeterO
Tue Nov 06, 2018 9:27 pm
Forum: Other projects
Topic: Introducing Pi386
Replies: 30
Views: 1195

Re: Introducing Pi386

Seems it's to do with kernel/user memory split not the absolute amounts of RAM (my misunderstanding).
PeterO
by PeterO
Tue Nov 06, 2018 9:17 pm
Forum: Other projects
Topic: Introducing Pi386
Replies: 30
Views: 1195

Re: Introducing Pi386

How are you going to provide 4G of ram ? Seems a non-starter.
PeterO
by PeterO
Sat Nov 03, 2018 12:46 pm
Forum: Python
Topic: Grey square appears when running GUI based on PySimpleGUI
Replies: 3
Views: 138

Re: Grey square appears when running GUI based on PySimpleGUI

XaviPacheco wrote:
Sat Nov 03, 2018 12:15 am
I have attached a picture.
Attaching your code would be more useful !
PeterO
by PeterO
Thu Nov 01, 2018 9:42 pm
Forum: C/C++
Topic: Easier way to work with unicode in string?
Replies: 12
Views: 388

Re: Easier way to work with unicode in string?

If you are trying to read utf8 text from a file then I believe this is the right way to do it.... // λ #include <stdio.h> #include <wchar.h> #include <locale.h> int main(int argc,char **argv) { FILE * fin; wchar_t c; setlocale(LC_ALL, ""); fin = fopen (argv[1],"r"); while((c = fgetwc(fin)) != WEOF) ...
by PeterO
Wed Oct 24, 2018 2:09 pm
Forum: Off topic discussion
Topic: "Nothing ever works"
Replies: 72
Views: 3372

Re: "Nothing ever works"

If the dependencies are not correctly given, moan at the author of the package not at us,
It's off topic here as it has nothing to do with RPF/RPT/or anyone not using the package in question.

PeterO
by PeterO
Tue Oct 23, 2018 10:30 am
Forum: Troubleshooting
Topic: Lightning bolt with 5.5 4A power supply
Replies: 10
Views: 475

Re: Lightning bolt with 5.5 4A power supply

Anyway, for now i guess the wires from the PSU were too small, so on a microsecond the voltage dropped and showed errror, while i couldnt see it on multimeter. Thanks again! A multimeter will not react fast enough, The voltage only needs to drop too low for (at a guess) a few nano seconds to upset ...
by PeterO
Sun Oct 21, 2018 5:08 pm
Forum: Media centres
Topic: New TV Tuner from HQ
Replies: 130
Views: 7834

Re: New TV Tuner from HQ

This new dongle comes with an extendable antenna (120-350mm) with a 1 metre cable and MCX connector that plugs into the side of the USB dongle. The antenna works best when its length is a multiple of a quarter of the ADS-B transmission wavelength, which is 69mm. Experiment with different antenna le...
by PeterO
Sun Oct 21, 2018 4:19 pm
Forum: Media centres
Topic: New TV Tuner from HQ
Replies: 130
Views: 7834

Re: New TV Tuner from HQ

68mm is λ/4 at 1.09 Ghz.

PeterO
by PeterO
Fri Oct 19, 2018 3:33 pm
Forum: C/C++
Topic: Double Check - Free`ing the right thing
Replies: 13
Views: 796

Re: Double Check - Free`ing the right thing

If you need triple indirection then IMHO you are almost certainly doing it wrong ! PeterO Yes yes! Exactly my thoughts. Its never needed and probably quite hard to debug if it doesn't work :( So....... for my benefit of learning ... in general... how do you pass a pointer to pointer array in the fo...
by PeterO
Fri Oct 19, 2018 2:14 pm
Forum: C/C++
Topic: Double Check - Free`ing the right thing
Replies: 13
Views: 796

Re: Double Check - Free`ing the right thing

void image_free_pixel_data(uint32_t ***pixel_data, int *height)
If you need triple indirection then IMHO you are almost certainly doing it wrong !

PeterO
by PeterO
Tue Oct 09, 2018 7:07 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial connection: No such file or directory: ' /dev/ttyS0'
Replies: 3
Views: 309

Re: Serial connection: No such file or directory: ' /dev/ttyS0'

It looks like you have a USB serial adapter plugged in ...

Code: Select all

[    6.207354] usb 1-1.2: cp210x converter now attached to ttyUSB0
If that is the device you are trying to use, then it is accessed via /dev/ttyUSB0

Also, the onboard serial interface is accessed via /dev/ttyAMA0

HTH

PeterO
by PeterO
Mon Oct 01, 2018 9:46 am
Forum: Off topic discussion
Topic: Windows 10 ARM64 on R-Pi 3
Replies: 11
Views: 1314

Re: Windows 10 ARM64 on R-Pi 3

Castle_Romeo wrote:
Mon Oct 01, 2018 9:31 am
If I were to find a Raspberry Pi clone that has a Qualcomm chip, would it work???
You would have to ask that question on the support forum for what ever board you choose to find, because a board with a Qualcomm chip is by definition NOT a Raspberry Pi.

PeterO
by PeterO
Thu Sep 27, 2018 9:26 pm
Forum: Networking and servers
Topic: what is the best OS for NFS
Replies: 19
Views: 758

Re: what is the best OS for NFS

I ma expecting the folders that are in 192.168.0.15 /mnt/nfs/ to show up in 192.168.0.21 /export/secam. I got nothing. Well there's your problem then :shock: You seem to have got the definition of server and client the wrong way round. sudo mount 192.168.0.21:/export/secam /mnt/nfs/ That command wi...
by PeterO
Thu Sep 27, 2018 9:02 pm
Forum: Networking and servers
Topic: what is the best OS for NFS
Replies: 19
Views: 758

Re: what is the best OS for NFS

Looks like it has worked. What output were you expecting it to produce ?
Why do you think it has failed ?

PeterO
by PeterO
Fri Sep 21, 2018 1:04 pm
Forum: Official Foundation Display
Topic: GTK3 Comboboxes unusable on touch display
Replies: 4
Views: 840

Re: GTK3 Comboboxes unusable on touch display

Worked around problem using a GtkMenuButton and a GtkPopover, which works nicely :-)
Image
PeterO
by PeterO
Thu Sep 20, 2018 11:53 am
Forum: Official Foundation Display
Topic: GTK3 Comboboxes unusable on touch display
Replies: 4
Views: 840

Re: GTK3 Comboboxes unusable on touch display

Combobox is unusable. Install the demo and try it yourself. The "Items with icons" example won't allow the selection to be changed from "Warning" With a mouse the selection highlighting follows the mouse pointer, but with the touch screen the selection won't change. And it is inconsistent too. Once ...

Go to advanced search