-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
How to change the system font to a custom TrueType font ?
I managed to solve with the help of the following:
http://wiki.squeak.org/squeak/5586http://wiki.squeak.org/squeak/5584http://wiki.squeak.org/squeak/5773 - system with russian (cyrillic) fonts
The above documents helped a lot;
specifically the document 5773 "how to setup Squeak with a cyrillic font",
had an important note:
"Switch your fonts
This can be done from World->Appearance->System Fonts."
That works indeed, if you set the various fonts (text font, menu font, list
font, code font etc.) in the World->Appearances->System Fonts.
I think this could be in its own wiki page:
"How to change the default System Fonts"
if such a doc does not already exist.
I didn't find it on wiki.squeak.org but fortunately the other docs helped.
David Stes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJf/aLAAAoJEAwpOKXMq1MaU48H/RnL+YHqpU+EzKlJJgPCW+Ee
9wI/TWJ6ygSBScmH2iJ/ClF+6XoT2aG7YxI853jCf6QYh48vWhNzr9IXaFtywzOo
aqhlcwmvbeLYcfQRqzC7dxsGf+F+pPVp6YJzGX/OBCJ85Ae7IqBQXy7ScW7LEG7B
gquKCvbuChib7GK5Pw1V9Tvt9n9n7zeYcTqSSlpp2yAYkKqUsuQV00w/y+LYt9YY
PSLyU1c9GZaDUyPcsQjJvWLmpGFQZ6cUhediFL8q7pOEXTCTDmsh6VguZJtZvRwT
QmZYRkxKqT7Gvn2tTi0kkIRTXzyE18pfwCue139BvPsoDdiqWMvZCyMWCoWe084=
=m7OG
-----END PGP SIGNATURE-----
Dear list!
I want to find my way around the FFI module and how to use it in squeak.
No let's step back. I want to use a a binding to libsodium form Tony
(https://www.eighty-twenty.org/2013/06/11/nacl-for-squeak-and-pharo)
and ended up using the Crypto-Nacl-HernanMoralesDurand.13.mcz package
as the most recent one from Tony seemed to be Pharo's FFI syntax, as Tobias suggested to me.
However each of the supplied tests return a 'module not found error' on my
64 bit Linux Squeak 5.3+updates with the bundled VM.
So I tried the Unix examples there and none of those work either, so
before I dig deeper into this I'd like to get some kind of re-assurance
of what I should expect to work on this particular setup.
The FFI Tests from the bundled package all pass though.
So my questions are:
1. Are the Unix FFI examples supposed to work?
2. Is the Crypto-Nacl package I want to use recent enough for the FFI?
3. Is the documentation in swiki still up to date for squeak 5.3?
4. What's the logic for searching and loading the shared object to bind to
and where do I have to look in the opensmalltalk-vm code?
Thanks for all your help!
Christian
--
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease. Also encrypt mails to me:
gpg key 0x068757350D0328634B833B65C537678F6BC627B5
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
I've seen a demonstration by Christoph Thiede of a TelegramSmalltalkBot.
I'm using OpenIndiana (UNIX) with the cog-spur VM using Squeak6.0alpha-20532 64bit.
#pkg list -v cog-spur
runtime/smalltalk/cog-spur(a)5.0.2957,5.11-2020.0.1.1
I don't know whether I understood the demo correctly, but my
understanding was that is is possible to send Telegram messages from Squeak.
I'm trying to find out whether this works on OpenIndiana.
Following instructions at 'Self hosting the bot' at:
https://github.com/LinqLover/TelegramSmalltalkBot
First of all, step 1 works (I think it works, see screenshot):
Metacello new
baseline: 'TelegramSmalltalkBot';
githubUser: 'LinqLover' project: 'TelegramSmalltalkBot' path: 'src';
load.
As a remark, because I'm a total absolute beginner with this,
I had to figure out "Install the latest Trunk updates in your image":
The way to do this seems to be:
a) in the Squeak menu update Squeak
this upgraded my Squeak6.0alpha-20532 to Squeak6.0alpa-20533 64bit
from a Workspace perhaps:
TheWorldMainDockingBar updateSqueak.
or
MCMcmUpdater updateFromServer.
b) run in a workspace :
Installer ensureRecentMetacello
I'm just adding this as a remark because without the ensureRecentMetacello,
the instructions given complain 'no selector githubUser:project:path:'.
I think this because it is assumed that you first run ensureRecentMetacello,
or otherwise have Metacello loaded in your image.
Because I'm unfamiliar with Metacello, I'm just adding this remark.
Anyway Metacello seems to load, and then it proceeds loading
SimulationStudio-Base-cypress and finally TelegramSmalltalkBot-Tests-cypress.
My question now is how to proceed.
Can I run some tests at this point to check that the Metacello install of
TelegramSmalltalkBot was succesful ?
Thanks!
David Stes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJgr2m+AAoJENdFDkXGiciz8mUIAKktQIhOmIEURfTkAL6c1c7l
l27FK1v7b60jolw+TnW9XOPtYbSHjOpBSiJMxfUWjXOy2GO8QSrrqCUAGL0f3Bcy
ihNgyTeDe+faHItoIoXjb8wGzb6MFE8rLuB0STe6hPBhBrJV+RBPchx0xqKmovAA
I3V0pX1xEO9Kf2cPX+R0F1Yfu9ruKtxVFqT5RnlRAl0AKgCuOBxBHqOgZkkfribi
y5Ir003P4FahFFkpKHalAjf76XwVpKVh9mmAAneG/LzuStKSPNErB/98/HOp0Rj/
NTR/vyw731QS/3BzZnZAR9dVz/MCbDPvaXO9W1Hp03wyGf5s7BKlqH8bTWfJvpw=
=WCAJ
-----END PGP SIGNATURE-----
Hi all,
I just was trying to activate a super method from a trait but got a DNU:
MyTrait >> #foo ^0
Object subclass: MyObject uses: MyTrait.
MyObject >> #foo ^super foo + 1
Is this not how traits are expected to work? Or is there any other way to reuse the default logic specified in the trait? Do I need to return to traditional inheritance in order to achieve this?
Thanks in advance!
Best,
Christoph
<http://www.hpi.de/>