Go to advanced search

by timrowledge
Sat Oct 12, 2019 6:16 pm
Forum: General programming discussion
Topic: Programming languages support
Replies: 37
Views: 1733

Re: Programming languages support

Thanks Tim, that's got it, much better on a Pi4 :D . Need to see if there is an Aarch64 version for Gentoo64. Nope, not yet, sorta. Writing a new Cog (the dynamic translation cpu specific part) is non-trivial. You *could* build the non-cogged VM on pretty much any machine that has a tolerable c com...
by timrowledge
Sat Oct 12, 2019 12:22 am
Forum: General programming discussion
Topic: Programming languages support
Replies: 37
Views: 1733

Re: Programming languages support

. Perhaps time to try a newer version? Please; go to www.squeak.org and download the linux(ARM) package. It’s the one on the front page under the three icons (for Mac, Windows & linux(X86)). I really wish we had never made the mistake of getting a download in the Debian wotsit. All it ever does is ...
by timrowledge
Fri Oct 11, 2019 8:31 pm
Forum: General programming discussion
Topic: Programming languages support
Replies: 37
Views: 1733

Re: Programming languages support

I would like to try Smalltalk but Squeak slows things down and it looks like cartoons. Perhaps you could spend a moment to explain this? How exactly does Squeak “slow things down”? How did you install it? I do hope it was not with apt-get since that would most likely install a ten or more year old ...
by timrowledge
Thu Oct 10, 2019 7:06 pm
Forum: General programming discussion
Topic: Programming languages support
Replies: 37
Views: 1733

Re: Programming languages support

Gavinmc42 wrote:
Thu Oct 10, 2019 1:00 am
https://squeak.org/
Wonder if there is a an Aarch64 version?
Not yet. I’d like to be working on it but other things are in the way. We have x64 for intel devices though so we know the fundamentals work.
by timrowledge
Wed Oct 09, 2019 6:04 pm
Forum: General programming discussion
Topic: Programming languages support
Replies: 37
Views: 1733

Re: Programming languages support

Smalltalk is considerably faster than python and offers easy access to gpio, web services, client-server, OS access, excellent developer tools, actual, real, portability, a sensible language and generally a lot of good things. There has been a Smalltalk available for ARM since before it was original...
by timrowledge
Fri Oct 04, 2019 5:41 pm
Forum: General discussion
Topic: Home AUtomation Using raspberry pi and nodemcu esp8266
Replies: 8
Views: 322

Re: Home AUtomation Using raspberry pi and nodemcu esp8266

You would probably find much of interest at https://tech.scargill.net/ a blog by a chap that has a great deal of fun doing exactly what you are asking about.
by timrowledge
Wed Oct 02, 2019 2:51 pm
Forum: Beginners
Topic: Multiple Pi's and Circuits with multiple Power Supplies in Parallel
Replies: 3
Views: 159

Re: Multiple Pi's and Circuits with multiple Power Supplies in Parallel

Take a look at the Bitscope Blade boards. They’ve already worked this out for you.
https://bitscope.com/product/blade/?p=about
by timrowledge
Tue Oct 01, 2019 4:01 pm
Forum: General discussion
Topic: Wirebender with a Raspberry PI and PiGPIO
Replies: 19
Views: 427

Re: Wirebender with a Raspberry PI and PiGPIO

If you want to move something a precise amount against the force required to bend wire I would recommend using servos. Steppers are good for all sorts of things but they have no indies where they are at any time. Servos can be commanded to a particular position rather than “move 6 steps”, which can ...
by timrowledge
Wed Sep 25, 2019 12:33 am
Forum: General programming discussion
Topic: Setting goals for programming
Replies: 7
Views: 471

Re: Setting goals for programming

Learn some C because it is basically a more-or-less-portable assembler. Learn some Lisp to see the power of Lambdas. (Try to)Learn some Prolog to see what happens when lunacy happens in software. Learn some Smalltalk to understand why java is such a terrible thing. By this point you will have gained...
by timrowledge
Tue Sep 17, 2019 11:11 pm
Forum: Scratch
Topic: Raspberry Pi 4 and Scratch 2
Replies: 7
Views: 1372

Re: Raspberry Pi 4 and Scratch 2

:-)
by timrowledge
Tue Sep 17, 2019 6:33 pm
Forum: Beginners
Topic: Computer monitor & Raspberry Pi 4B
Replies: 5
Views: 215

Re: Computer monitor & Raspberry Pi 4B

Simpler to use VNC. No cable to buy.
Use the Pi preferences tool to enable VNC.
Install RealVNC on your Mac.
Done.
It’s been working perfectly for me (with minor variations over the years) since ‘13.
by timrowledge
Thu Sep 12, 2019 8:43 pm
Forum: Scratch
Topic: Raspberry Pi 4 and Scratch 2
Replies: 7
Views: 1372

Re: Raspberry Pi 4 and Scratch 2

Just out of interest because I don’t have a pi4 yet, does my ‘original ‘ Scratch run ok? It should but proof is always good.
by timrowledge
Wed Aug 21, 2019 6:02 pm
Forum: General discussion
Topic: Uses for Raspberry Pi Zero/Zero W?
Replies: 81
Views: 3276

Re: Uses for Raspberry Pi Zero/Zero W?

Not so very long ago a machine with the performance of a Pi zero was a thing of fantasy, affordable only for high end engineering workstations.
by timrowledge
Tue Aug 20, 2019 6:24 pm
Forum: Off topic discussion
Topic: double cpu's
Replies: 15
Views: 3373

Re: double cpu's

A 384 Core Cavium ThunderX 2 machine would be quite fast, but I fear the cost might put you off. Last time i looked we were talking $24000 without t ram and disks.
On the other hand the BitScope stuff could provide a 160 core Pi 4 based machine with plenty of ram and disc for less than $6k.
by timrowledge
Fri Aug 09, 2019 8:50 pm
Forum: General discussion
Topic: Using PiServer with Pi 4
Replies: 9
Views: 666

Re: Using PiServer with Pi 4

If you want to save time it might be worth getting a few 3B+ to do your experiments. They do usb and pxe boot and since time is (often) money in business...
by timrowledge
Thu Aug 01, 2019 6:21 pm
Forum: Off topic discussion
Topic: Before Raspberry Pi
Replies: 14
Views: 3766

Re: Before Raspberry Pi

It's even better. That 4Mz 8080 was probably running at 1 MIPs or so. The Pi 4 is more like 1 GIP. And it has 4 cores. 4000 times faster! 8080 was probably more like 0.5mips in practice. A72 ARM is multi-issue, out of order so much more than 1gip; likely 1.5 at least. And, obviously, at least 4 x t...
by timrowledge
Sat Jul 27, 2019 9:05 pm
Forum: General discussion
Topic: Raspberry pi for coding on machine level?
Replies: 31
Views: 1510

Re: Raspberry pi for coding on machine level?

Unless you’re planning on writing a code generator there really isn’t much reason to worry about the very lowest level type of programming. I’ve done a fair bit whilst creating dynamic code translation systems for x86/68k/alpha/spark/arm/hp7000/etc and to be honest it makes for a fairly unpleasant t...
by timrowledge
Tue Jul 23, 2019 8:00 pm
Forum: General programming discussion
Topic: ESC Direction
Replies: 6
Views: 1361

Re: ESC Direction

PeterO wrote:
Mon Jul 22, 2019 6:15 pm
Model boat ESC's are also normally reversible.
PeterO
Good point. I imagine at least some of them are water cooled as well, which could be fun for a car; an excuse for a radiator!
by timrowledge
Mon Jul 22, 2019 6:09 pm
Forum: General programming discussion
Topic: ESC Direction
Replies: 6
Views: 1361

Re: ESC Direction

Very few R/C plane ESCs provide reverse, so unless OP is using a car type ESC it is unlikely to be possible to get reversing.
by timrowledge
Sat Jul 20, 2019 3:40 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1207
Views: 59456

Re: Project Digital Apocalypse Not Now

I just took advantage of the nice tweak gkriedel spotted and was pleased to see that it improved the calculation time for the big fib from circa 6secs to circa 4.8. Printing time, obviously, wasn’t changed. Your 30 second experience was not when using Squeak on an intel machine unless it is a 486 er...
by timrowledge
Fri Jul 19, 2019 5:12 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1207
Views: 59456

Re: A Final Fibonacci Challenge

gkreidl wrote:
Wed Jun 26, 2019 6:09 pm
Taking out the check for 0 is a good idea. My Python function now looks like this:
{snip}
Nice! That gets the calculation time for Squeak on my Pi3b+ to ~4.5sec. A clear and simple improvement from the ~6secs of the prior version.
by timrowledge
Mon Jul 15, 2019 5:37 pm
Forum: General discussion
Topic: Usefull / good programs to have on your Pi
Replies: 22
Views: 1656

Re: Usefull / good programs to have on your Pi

Botspot wrote:
Mon Jul 15, 2019 4:58 pm
And my Windows 10 transformation pack (Makes Raspbian Pixel look and feel like Windows 10)
What, deliberately? Why? Whyyyyyyyyyyyyyy!
by timrowledge
Wed Jul 10, 2019 1:15 am
Forum: General programming discussion
Topic: GUI Editor Code Challenge
Replies: 174
Views: 5784

Re: GUI Editor Code Challenge

Oh dear.i can’t offer any submission for Smalltalk - after all it’s already had a nice graphical editor with nice fonts and menus since the PARC team invented them.
And no, Heater, GNU Smalltalk not included.
by timrowledge
Mon Jul 01, 2019 8:49 pm
Forum: General discussion
Topic: I Need More Meat From My Pi
Replies: 12
Views: 850

Re: I Need More Meat From My Pi

As for #5 - write better code! Have you run profiling on it? Have you worked out where the time is going? Have you evaluated your algorithms for effectiveness? What about compiler flags? It’s rare to not be able to at least double performance over a first version. Better algorithms can provide order...
by timrowledge
Mon Jul 01, 2019 8:45 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 344
Views: 70158

Re: Raspberry Pi 4 usb boot?

hardwaremack-orginal wrote:
Mon Jul 01, 2019 6:02 pm
I'm not trying to offend anyone, just stating reality. booting and operating from a SD card is playing with fire.
Really? Are you unaware of how many millions of Pi have been working entirely adequately from SD cards for the last 6years or so?

Go to advanced search