The next UK Smalltalk User Group meeting will be on 25 October (tomorrow).
Marten Feldtmann ( https://schrievkrom.wordpress.com/ ) will talk to us
about his project GPAS: a GemStone/PUM Application Stack.
This will be an online meeting from home.
If you'd like to join us, please sign up in advance on the meeting's Meetup
page ( https://www.meetup.com/ukstug/events/296563100/ ) to receive the
meeting details. Don’t forget to bring your laptop and drinks!
tim Rowledge uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-tpr.1429.mcz
==================== Summary ====================
Name: System-tpr.1429
Author: tpr
Time: 23 October 2023, 4:39:10.130433 pm
UUID: e6333383-06b2-4957-b68f-c0a43c688d79
Ancestors: System-ct.1428
Drop the deprecated #os send from a couple of methods
=============== Diff against System-ct.1428 ===============
Item was changed:
----- Method: SmalltalkImage>>platformName (in category 'os') -----
platformName
"Answer the name of the platform we're running on."
+ "Smalltalk platformName"
- "Smalltalk os platformName"
^PlatformNameCache ifNil: [PlatformNameCache := self getSystemAttribute: 1001]!
Item was changed:
----- Method: SmalltalkImage>>windowSystemName (in category 'os') -----
windowSystemName
"Return the name of the window system currently being used for display."
+ "Smalltalk windowSystemName"
- "Smalltalk os windowSystemName"
^self getSystemAttribute: 1005!
tim Rowledge uploaded a new version of SqueakSSL-Tests to project The Trunk:
http://source.squeak.org/trunk/SqueakSSL-Tests-tpr.27.mcz
==================== Summary ====================
Name: SqueakSSL-Tests-tpr.27
Author: tpr
Time: 23 October 2023, 4:38:32.962248 pm
UUID: 4ae53b81-182d-46ae-9b52-07e1edcbee00
Ancestors: SqueakSSL-Tests-mt.26
Use the simple (and cached) "Smalltalk platformName" instead of several roundabout methods
=============== Diff against SqueakSSL-Tests-mt.26 ===============
Item was changed:
----- Method: SqueakSSLTest>>expectedFailures (in category 'failures') -----
expectedFailures
"If we don't have a cert all the tests fail"
+ Smalltalk platformName = 'Mac OS' ifTrue:[
- SqueakSSL platformName = 'Mac OS' ifTrue:[
"The following tests all need certificate selection
to work properly."
^#(
testConnectAccept
testEncryptDecrypt
testMultiFrameDecrypt
testSingleByteDecrypt
testSplitTlsFrameRead
testStreamAccept
testStreamConnect
testStreamTransfer
testSSLSockets
testSocketAccept
testSocketConnect
)
] ifFalse:[^#()].!
Item was changed:
----- Method: SqueakSSLTest>>testFaceBookAPI (in category 'tests') -----
testFaceBookAPI
"Facebook sends incomplete data during SSL handshake.
Useful for testing an edge condition in SqueakSSL."
self
timeout: 90;
ensureInternetConnectionTo: 'http://www.facebook.com'.
Smalltalk at: #WebClient ifPresent:[:webClient|
self shouldnt:[
[webClient httpGet: 'https://graph.facebook.com/oauth/access_token']
"Allow certificate errors on the Mac since cert validation isn't
implemented yet."
on: SqueakSSLCertificateError do:[:ex|
+ Smalltalk platformName = 'Mac OS'
- SqueakSSL platformName = 'Mac OS'
ifTrue:[ex resume]
ifFalse:[ex pass]].
] raise: Error.
]..
!
tim Rowledge uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-tpr.2136.mcz
==================== Summary ====================
Name: Morphic-tpr.2136
Author: tpr
Time: 23 October 2023, 4:31:48.024821 pm
UUID: eef5afc1-785d-4325-b211-e1db57a8b85d
Ancestors: Morphic-mt.2135
Drop the deprecated #os send from TheWorldMainDockingBar>>#sendFeedback
=============== Diff against Morphic-mt.2135 ===============
Item was changed:
----- Method: TheWorldMainDockingBar>>sendFeedback (in category 'menu actions') -----
sendFeedback
| url os vm hash image |
url := 'https://bugs.squeak.org/'.
([Smalltalk vm platformSourceVersion] on: Warning do: ["Ignore"])
ifNotNil: [:info | | tokens |
tokens := info findTokens.
vm := tokens at: 2.
hash := tokens atLast: 4].
+ os := Smalltalk platformName, ' ', Smalltalk osVersion, ' ', Smalltalk platformSubtype.
- os := Smalltalk os platformName, ' ', Smalltalk os osVersion, ' ', Smalltalk os platformSubtype.
image := SystemVersion current version, ' #', SystemVersion current highestUpdate.
self inform: ('Please visit the following website to report on bugs, requests, and other issues:<br><br> <a href="{1}">{1}</a><br><br>Make sure that you always include information about your current environment such as:<br><br> OS: {2}<br> VM: {3} ({4})<br> SQ: {5} ({6} bit)<br><br>You can find more in the <a href="code://SystemReporter open">System Reporter</a>.' translated format: {url. os. vm. hash. image. Smalltalk image wordSize * 8}) asTextFromHtml!
tim Rowledge uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-tpr.802.mcz
==================== Summary ====================
Name: Monticello-tpr.802
Author: tpr
Time: 23 October 2023, 4:30:19.172223 pm
UUID: f14d457c-c2b2-4f37-ab6c-7f3611de11e2
Ancestors: Monticello-ct.801
Drop the deprecated #os send from MCHttpRepository class>>#useSharedWebClientInstance
=============== Diff against Monticello-ct.801 ===============
Item was changed:
----- Method: MCHttpRepository class>>useSharedWebClientInstance (in category 'preferences') -----
useSharedWebClientInstance
<preference: 'Use shared WebClient instance'
category: 'Monticello'
description: 'When true, use a shared WebClient instance to speed up downloads from MCHttpRepositories. Requires WebClient to be present.'
type: #Boolean>
^UseSharedWebClientInstance ifNil: [
"There is some issue on Windows and Macos, so don't use it there by default. See http://lists.squeakfoundation.org/pipermail/squeak-dev/2019-September/threa… for details."
+ Smalltalk platformName ~= 'Win32' and: [Smalltalk platformName ~= 'Mac OS']]!
- Smalltalk os platformName ~= 'Win32' and: [Smalltalk os platformName ~= 'Mac OS']]!
The Raspberry Pi 5 has been announced and looks likely to be about 3X faster for our purposes. We should probably see around 1.5Gbytecode/sec and 130million sends/sec, for example. It also includes a PCIE connector that will support (with a HAT) M2 type SSDs, so storage should be much faster.
I don't know about but I find the idea that we can get tiny computers for ~$80 with 8Gb ram and so on quite mind-boggling. That's about ¼ the cost of my first mouse...
tim
--
tim Rowledge; tim(a)rowledge.org; http://www.rowledge.org/tim
dilate - live long