Go to advanced search

by scruss
Thu Jun 21, 2018 2:31 pm
Forum: General discussion
Topic: Pi Is Too Complicated
Replies: 66
Views: 1746

Re: Pi Is Too Complicated

… there are limits to how far you can uncomplex* it. * New word, ™ jamesh. “simplify” would've been shorter, as Heater noted … and we have so many Linux distributions purely because we can. Anyway, I don't think the OP's need for a “ stable operating system targeted for use in teaching computer sci...
by scruss
Wed Jun 20, 2018 1:11 pm
Forum: General programming discussion
Topic: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!
Replies: 13
Views: 484

Re: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!

Yeah, I really should've tried it, shouldn't I …? So: Original file has crtime = mtime. Copying from one ext4 filesystem to another: with cp, no arguments: crtime = ctime = new mtime (in other words, all is lost) with cp -p or cp --preserve=all : crtime = new ctime, mtime = original crtime So to me,...
by scruss
Wed Jun 20, 2018 2:53 am
Forum: General programming discussion
Topic: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!
Replies: 13
Views: 484

Re: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!

Does crtime stay the same if you move it to a different filesystem that supports it?

also:
  • s/Raspberry/& Pi/g;
  • l*me: you're better than this, don't use it here.
by scruss
Mon Jun 18, 2018 6:25 pm
Forum: General discussion
Topic: recent serial i/o tutorial
Replies: 11
Views: 331

Re: recent serial i/o tutorial

That's right: 5 chips would need 5 select lines. The data lines would be chained and clock lines can be common. You'd use a decoder/multiplexer to manage the select lines, a bit like this: https://learn.sparkfun.com/tutorials/se ... erface-spi
by scruss
Mon Jun 18, 2018 1:35 pm
Forum: Off topic discussion
Topic: Digital TC Soldering Station (UK)
Replies: 15
Views: 407

Re: Digital TC Soldering Station (UK)

You need something to measure the temperature to be able to set it accurately enough for lead-free - a DMM with thermocouple input would do, or an infrared thermometer. The other items in the kit are useful if you don't already have them. Yeah, I'm not sure how accurate the dial is on these Handski...
by scruss
Mon Jun 18, 2018 2:16 am
Forum: General discussion
Topic: recent serial i/o tutorial
Replies: 11
Views: 331

Re: recent serial i/o tutorial

spidev is the hardware SPI, and uses fixed pins. It's very fast, but can only use those four particular pins
by scruss
Mon Jun 18, 2018 2:13 am
Forum: Gaming
Topic: Raspberry Pi Handheld Kits?
Replies: 9
Views: 325

Re: Raspberry Pi Handheld Kits?

Eugene Andruszczenko here in Toronto makes the rather nice Game Boy Zero - Handheld Edition based on a Raspberry Pi.

It would be nice if there were something to replace the thoroughly defunct Pocket C.H.I.P. …
by scruss
Mon Jun 18, 2018 2:11 am
Forum: Off topic discussion
Topic: Digital TC Soldering Station (UK)
Replies: 15
Views: 407

Re: Digital TC Soldering Station (UK)

For work - which has a lot of teaching soldering - we use these Handskit Kits: $40 Canadian, which isn't much.

The tips aren't well plated, so they tend to rust up. But they're Hakko-compatible, so we can always replace the tip with something better
by scruss
Sun Jun 17, 2018 8:28 pm
Forum: General discussion
Topic: recent serial i/o tutorial
Replies: 11
Views: 331

Re: recent SPI i/o tutorial

Can you tell us what particular SPI devices you want to use?

GPIOZero's SPI Devices setup is probably the most recent, but its canned examples are for common chips like ADCs.
by scruss
Sat Jun 16, 2018 6:03 pm
Forum: General programming discussion
Topic: TUTORIAL: File Sorting on the Raspberry Pi
Replies: 19
Views: 1021

Re: TUTORIAL: File Sorting on the Raspberry Pi

Maybe we are. I was suggesting mature and tested purpose-built tools for managing image naming and sorting based on metadata as an alternative to hand-rolling chains of commands in the shell. exiftool can construct a file name from the image sequence number if there are images shot within the same s...
by scruss
Fri Jun 15, 2018 2:23 am
Forum: General programming discussion
Topic: TUTORIAL: File Sorting on the Raspberry Pi
Replies: 19
Views: 1021

Re: TUTORIAL: File Sorting on the Raspberry Pi

RENAMING FILES WITH TIMESTAMPS: … … or use a tool that understands camera metadata, such as ExifTool (in the libimage-exiftool-perl package) and jhead. exiftool is ridiculously complete, and sometimes a cheatsheet is useful. It can rename on millisecond timestamps based on several metrics. Here's a...
by scruss
Fri Jun 15, 2018 2:01 am
Forum: Beginners
Topic: Arduino ide does not launch on pi3 stretch.
Replies: 5
Views: 288

Re: Arduino ide does not launch on pi3 stretch.

Don't the repo people ever bother to update it? So irresponsible. No, because it's the version that Debian/Raspbian thinks is current. Unless the Debian maintainer is really up on community developments, package versions don't get updated unless someone cares. One of my favourite graphics packages,...
by scruss
Thu Jun 14, 2018 1:26 am
Forum: Beginners
Topic: Arduino ide does not launch on pi3 stretch.
Replies: 5
Views: 288

Re: Arduino ide does not launch on pi3 stretch.

did you install from the repo, or get the (much newer, much better) version from https://www.arduino.cc/en/Main/Software ?
by scruss
Wed Jun 13, 2018 10:41 pm
Forum: Troubleshooting
Topic: RPI3 USB Hardware Bug?
Replies: 55
Views: 2844

Re: RPI3 USB Hardware Bug?

I've used one of these before, but ISTR having to use a USB hub on the Raspberry Pi because they draw a lot of power. Do an lsusb -v on the device, and see what its MaxPower entry is. You may be trying to draw more current than you can deliver from a Raspberry Pi - especially if you have other USB d...
by scruss
Mon Jun 11, 2018 12:44 am
Forum: General programming discussion
Topic: TUTORIAL: File Sorting on the Raspberry Pi
Replies: 19
Views: 1021

Re: TUTORIAL: File Sorting on the Raspberry Pi

I think ejolson's ribbing you. It's Not the Unix Way¹ to put spaces in filenames. Spaces in filenames make processing them in the shell much more difficult. While you can never assume that Others (who are, naturally, Wrong) won't put spaces in filenames, you'll make the processing of files that you ...
by scruss
Sun Jun 10, 2018 4:51 pm
Forum: Other projects
Topic: How to install nZEDb on RPI
Replies: 9
Views: 367

Re: How to install nZEDb on RPI

A Raspberry Pi doesn't meet the nZEDb Hardware Requirements:
4GB RAM, 2 cores(threads) and 20GB disk space minimum.
If it runs at all, it will be dismally slow
by scruss
Sun Jun 10, 2018 4:48 pm
Forum: Add-ons
Topic: How to interface 3 serial ports each 9 pins to the PI?
Replies: 11
Views: 472

Re: How to interface 3 serial ports each 9 pins to the PI?

The difficulty with using PL2303 chips is that they tend to appear on semi-random /dev/ttyUSBxx names on boot up. FTDI can be a bit more predictable. There are multi-serial HATs/boards available, like this one: Pridopia - Raspberry Pi 4 UART Board RS232 / RS485 x4 . Haven't used it, can't recommend ...
by scruss
Sun Jun 10, 2018 4:41 pm
Forum: Troubleshooting
Topic: Problem with hfs, or problem with opening port 80...
Replies: 2
Views: 120

Re: Problem with hfs, or problem with opening port 80...

hfs, to me, is Apple Hierarchical File System.
Are you meaning this: HFS ~ HTTP File Server ?
This sounds like an Exagear tech support question.

There are likely to be Linux-native alternatives that do a similar job to HTTP File Server.
by scruss
Sun Jun 10, 2018 4:34 pm
Forum: Troubleshooting
Topic: Solid Red Light, no boot, please help
Replies: 14
Views: 343

Re: Solid Red Light, no boot, please help

5. when the screen lost connection, i was in the middle of connecting the data wire from the NES controller to the GPIO pins. … could i have shorted something just by plugging in the DATA pin? Sadly it's very easy to short GPIO pins. Unless it's something really simple, I do GPIO wiring with the po...
by scruss
Thu Jun 07, 2018 3:32 pm
Forum: General discussion
Topic: Requesting a NOOBS RSS feed.
Replies: 8
Views: 249

Re: Requesting a NOOBS RSS feed.

Ask Google, they killed them. You do talk rot sometimes, Dougie … Google stopped providing Google Reader. This was not the end of the world. Google still provide application/rss+xml links in their Blogger/Blogspot sites. Every blog and CRM produces RSS. It's just more in the background than before....
by scruss
Thu Jun 07, 2018 2:02 am
Forum: Troubleshooting
Topic: Asci codes; who knows how to get 'asci codes' so the varieties of the letters a e i o u ?
Replies: 9
Views: 275

Re: Asci codes; who knows how to get 'asci codes' so the varieties of the letters a e i o u ?

rather than doing the numeric thing, you can set up the Compose key and do things like Compose + ' + e → é I put a guide here a long time ago: Using the Compose key for special characters: a brief guide . I think they keyboard setting is under Localisation, but things still work the way they did yea...
by scruss
Thu May 31, 2018 8:58 pm
Forum: Other projects
Topic: Case for ssd1306 0.96" OLED display
Replies: 9
Views: 537

Re: Case for ssd1306 0.96" OLED display

try 3d printing a case there are plenty of websites that do 3d print for little next to nothing and you can get free software to design it While I don't disagree about the free software (I use OpenSCAD ), the “3d print for little next to nothing” bit gets a [citation needed] . The OP couldn't find ...
by scruss
Wed May 30, 2018 4:25 pm
Forum: Other projects
Topic: Case for ssd1306 0.96" OLED display
Replies: 9
Views: 537

Re: Case for ssd1306 0.96" OLED display

Printing services are expensive because basic 3D printers are cheap. They have to keep viable by offering niche services that aren't easy to do at home. Have you checked your local library? Maybe a makerspace? I'd offer to print one for you, but transatlantic postage would be a lot. Regarding enclos...
by scruss
Wed May 30, 2018 4:07 pm
Forum: Raspbian
Topic: Have we got a way to get the system time to be 30 sek behind the UTC time?
Replies: 17
Views: 797

Re: Have we got a way to get the system time to be 30 sek behind the UTC time?

rin67630 wrote:
Tue May 29, 2018 8:16 pm
When it gets the byte, it stores it in an array of 86400 bytes at the position corresponding to the number of seconds till midnight it knows from the system time.
I can't see it having problems with leap second days at all
by scruss
Tue May 29, 2018 12:17 pm
Forum: General discussion
Topic: Why does the RPF care about how many desktops I have ?
Replies: 16
Views: 1101

Re: Why does the RPF care about how many desktops I have ?

I get why the updates are done the way they are, but paving over user preferences is an accessibility no-no.

Go to advanced search