Go to advanced search

by timrowledge
Thu Apr 25, 2019 1:42 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Oh, here's a slightly improved Squeak cs file that improves the performance on my Pi3 to 8.7sec and on my iMac to 1.6sec. :D Bit of an improvement from 14s for the Pi. bigFib.2.cs.zip And for more fun, here's a variant that provides a webserver that will return the fibonacci number you ask for. Use ...
by timrowledge
Wed Apr 24, 2019 11:11 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Tim, I've been sorely troubled trying to get Squeak (x86_64, updated, not running headless, Ubuntu) to do anything with your .cs file. Run from a terminal I get no error messages, but also no output: $ /home/scruss/Applications/Squeak5.2-18229-64bit-201810190412-Linux/bin/squeak /home/scruss/Applic...
by timrowledge
Wed Apr 24, 2019 10:48 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Yes, I blame you for the inconvenience you have suffered from in trying to use a tool in a manner it isn't setup for. Despite which, I've been able to work around it and offer a decent solution that did what you asked - ran from a commandline, did a complex calculation, timed how long it took and pr...
by timrowledge
Tue Apr 23, 2019 5:56 pm
Forum: Scratch
Topic: Scratch 1.4 sound problem.
Replies: 4
Views: 96

Re: Scratch 1.4 sound problem.

Ok, I’ll see about writing it up for you. Though I find myself thinking that maybe I should just make a new release anyway and include a configuration option for this. We have a new slightly faster VM that would be nice to put out anyway.
by timrowledge
Mon Apr 22, 2019 11:10 pm
Forum: Scratch
Topic: Scratch 1.4 sound problem.
Replies: 4
Views: 96

Re: Scratch 1.4 sound problem.

There has long been a problem with balancing sounds in Scratch on the Pi; it seems to work ok on other platforms. The issue normally appears to revolve around the 'reverb' mixing setting within the Scratch system. Having reverb turned on can make for some annoying sounds - but only in some cases, ju...
by timrowledge
Mon Apr 22, 2019 10:28 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Heater labs ran into significant challenges when attempting calculate Fibonacci numbers with a large number of digits or do anything useful in general with Smalltalk. Given the number of people and projects that have not had any such issues I'm happy to blame you. Don't like Smalltalk? Don't use it...
by timrowledge
Mon Apr 22, 2019 10:21 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

timrowledge, I'd be interested how you were lead from downloading a complete package from squeak.org to grabbing anything from the outdated and usused squeakvm.org. Am I losing my mind or are you? Pretty sure that would be you. I'm as sane as it's possible to be. Just ask Eben. sudo ./Squeak5.2-182...
by timrowledge
Sun Apr 21, 2019 6:06 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Tim, So I downloaded from squeak.org. It's a bit worrying that their latest source code is from 2012 !!! From here: http://squeakvm.org/unix/ I'd be interested how you were lead from downloading a complete package from squeak.org to grabbing anything from the outdated and usused squeakvm.org. If th...
by timrowledge
Wed Apr 17, 2019 9:25 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

1) So I installed squeak to Debian. The LSW on my Win 10 PC that should make no odds. $ apt-cache search squeak Oh, yuck. We really have to get this removed from Debian or make them actually include it properly. They completely and utterly failed to .. .oh, never mind. It's rubbish. Don't use that ...
by timrowledge
Wed Apr 17, 2019 8:31 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

If I read the Squeak blurb right, Squeak plus baremetal C, perhaps Circle, could run the VM on baremetal Pi's with GUI? Have not tried Squeak but if it was supposed to run on PDAs I'm interested ;) Dynabook :o Wow another blast from the past. When Kay proposed an extension as this research to Parc'...
by timrowledge
Wed Apr 17, 2019 2:56 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Ah yeah, perhaps I did not make that very clear. Yah. But currently I want to get a Smalltalk fibo(4784969) working on a Pi or in the Linux Subsytem for Windows on my PC. Then I can add a Smalltalk solution to the fibo(4784969) github repository: https://github.com/ZiCog/fibo_4784969 Okay, this mak...
by timrowledge
Tue Apr 16, 2019 7:39 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Heater wrote:
Tue Apr 16, 2019 7:06 pm

I can only reach my Pi via SSH. Or there is the LSW terminal on my PC.
Wait a minute - I thought you were trying to run this stuff on a bare-metal-RISC-V-thing?
by timrowledge
Tue Apr 16, 2019 7:38 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Heater wrote:
Tue Apr 16, 2019 6:58 pm
Yay! After 6 hours Tim's iterative fibo(4784969) produced a result on my PC.
Crikey; that does rather show up the difference in algorithms.
by timrowledge
Tue Apr 16, 2019 6:39 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Heater wrote:
Tue Apr 16, 2019 6:32 pm
Great. All set with GCC and Clang here.
Any sort of display stuff ? Even a framebuffer ?
by timrowledge
Tue Apr 16, 2019 6:24 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

My question is how do I get it to do it for me? gst seems to be broken. So what next? I don't have much experience in trying to do commandline run stuff but I do know that some people do; I'll ask on the squeak forums to see if anyone has a plausible solution that won't use up too much effort. What...
by timrowledge
Tue Apr 16, 2019 5:48 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Too bad about Smalltalk, I have not used that before. Seems a bit old too, nothing new in Smalltalk land? Well let's see, Squeak is updated somewhat almost every day as people work on things, ditto the Pharo fork (aimed more at commercial needs), VA Smalltalk from Instantiations is still under acti...
by timrowledge
Tue Apr 16, 2019 5:16 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Or has anyone got a Smalltalk fibo(4784969) running on Raspbian/Debian? I'm certainly not going to defend the specific gnu implementation of Smalltalk - it's clearly sorely lacking. Generalising that to "Smalltalk can't do it" is a bit silly though. I've given a working implementation and results a...
by timrowledge
Tue Apr 16, 2019 5:45 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Tim, If I tweak your fibIterative so that it runs in GNU Smalltalk, like so: {snip} It does indeed produce the correct result. Do I have a bug in my code? The most likely bug I can think of is that you probably don't know that Smalltalk does *not* futz around with arithmetic stuff for precedence ru...
by timrowledge
Mon Apr 15, 2019 10:21 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 298
Views: 12007

Re: Is ARM doomed?

Hmm... what OS? My RISC V on FPGA has no OS. Sounds like this might be too big an idea for me. Well, we *have* made Squeak run on no-OS devices before but it can get a bit tedious when you have no real support system. One can, for example, display straight to a frame buffer whether local or remote,...
by timrowledge
Mon Apr 15, 2019 9:58 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

Integer extend [ fibo [ | k fk fk1 | (self < 2) ifTrue: [ ^ self ]. (self = 2) ifTrue: [ ^ 1 ]. (self > 2) ifTrue: [ k := (self + 1) // 2. fk := k fibo. fk1 := (k - 1) fibo. (self odd) ifTrue: [ ^ (fk raisedToInteger: 2) + (fk1 raisedToInteger: 2) ] ifFalse: [ ^ ((2 * fk1) + fk) * fk. ] ] ] ] My ap...
by timrowledge
Mon Apr 15, 2019 9:39 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2063
Views: 75989

Re: Why Avoid BASIC on RPi?

So far I have failed to find any documentation on the limits of GNU Smalltalk Integers. Normally Smalltalk large integers are limited only by the amount of memory available; they're just damn great arrays of bytes. And in general they are processed with the help of some C code primitives that handl...
by timrowledge
Mon Apr 15, 2019 5:23 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 298
Views: 12007

Re: Is ARM doomed?

No insult intended. Perhaps my statement is a bit harsh there and not sounding as jovial as I would like. Sorry; annoying day and not your fault. Unless ..... 1) Having been in and around programming since the early 1980's I have never seen anyone using Smalltalk. It has never shown up in any proje...
by timrowledge
Mon Apr 15, 2019 5:07 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 298
Views: 12007

Re: Is ARM doomed?

Thanks for that; gst is a mystery to me for previously stated reasons. GNU Smalltalk doesn't print anything unless told to so you would need to printNl the result to show it. Ah, ok. In a 'real' Smalltalk one would be running this code in a Workspace by selecting the '30 demoFib' and then using the ...
by timrowledge
Sun Apr 14, 2019 6:45 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 298
Views: 12007

Re: Is ARM doomed?

Smalltalk may well have been doomed since that BYTE article. As were many other half baked ideas. Serously? You're going with bizarre insults now? I had hoped you were better -or at least funnier - that that. But all is not lost. Why not Smalltalk on RISC V? I have one here just waiting. It would b...
by timrowledge
Tue Apr 09, 2019 1:06 am
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 298
Views: 12007

Re: Is ARM doomed?

Gnu Smalltalk is bit ... limited. Download Squeak from www.squeak.org instead. GST is missing the tools and environment that makes a good language a great system. Generally speaking nobody would choose to draw digital images by using a hex editor; why do the equivalent? Oh, almost forgot - I strongl...

Go to advanced search