Frank Shearar uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-fbs.140.mcz
==================== Summary ====================
Name: Network-fbs.140
Author: fbs
Time: 1 March 2013, 10:39:25.076 am
UUID: 9f6d4989-84fc-4303-87ab-406d2296fd73
Ancestors: Network-fbs.139
If the user gives up on trying to resolve a name, fail the socket connect completely.
http://bugs.squeak.org/view.php?id=4025.
=============== Diff against Network-fbs.139 ===============
Item was changed:
----- Method: SocketStream class>>openConnectionToHostNamed:port: (in category 'instance creation') -----
openConnectionToHostNamed: hostName port: portNumber
| hostIP |
hostIP := NetNameResolver addressForName: hostName timeout: 20.
+ hostIP ifNil: [NetworkError signal: ('Cannot resolve {1}.' format: {hostName})].
^self openConnectionToHost: hostIP port: portNumber!
Frank Shearar uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-fbs.449.mcz
==================== Summary ====================
Name: Tools-fbs.449
Author: fbs
Time: 1 March 2013, 10:26:55.334 am
UUID: 65ca9395-741f-4f40-944e-4b652fbfa7bd
Ancestors: Tools-nice.448
If you're viewing a system category, and you select the system category, nothing should happen.
(This fixes http://bugs.squeak.org/view.php?id=7744 where you lose your Browser place when you load a new package that adds a system category.)
=============== Diff against Tools-nice.448 ===============
Item was changed:
----- Method: Browser>>selectSystemCategory: (in category 'system category list') -----
selectSystemCategory: aSymbol
"Set the selected system category. Update all other selections to be deselected."
+ aSymbol = selectedSystemCategory ifTrue: [^ self].
-
selectedSystemCategory := aSymbol.
selectedClassName := nil.
selectedMessageCategoryName := nil.
selectedMessageName := nil.
self editSelection: ( aSymbol isNil ifTrue: [#none] ifFalse: [#newClass]).
metaClassIndicated := false.
self setClassOrganizer.
contents := nil.
self changed: #systemCategorySelectionChanged.
self changed: #systemCategoryListIndex. "update my selection"
self changed: #classList.
self changed: #messageCategoryList.
self changed: #messageList.
self changed: #relabel.
self contentsChanged!
Vector3D is totally it. I knew I'd seen it x@y@z somewhere, which was in
OpenQWAQ now that I think about it.
Is there a canonical MC repository for this code, or should I grab an
Cobalt image and start filing stuff out?
Eeep! I'm a step closer to Logo in Minecraft :D I did the simplest thing
that would work, which is something like...
turtle
penDown;
turn: #west;
go: 5;
turn: #up;
go: 1;
turn: #east;
go: 5
This is actually good enough to make procedurally generating relatively
complex builds (e.g., a CPU) much less painful that even a map editor, but
it doesn't feel like Logo at all. I haven't used Logo since childhood, but
IIRC one would turn by degrees and these would be mapped onto pixel space.
I *think* this is why I'm wanting a 3D Point, so I can map 3D points onto
voxel space without reinventing the third dimension from scratch.
This was a fun problem to think about: I tried to get #left and #right as
valid params to the turn method, but wait! What does #left mean when the
turtle is currently traveling up? Which has me now thinking in terms of
roll/yaw/pitch. It's weird to think about.
I'm having a blast though. Thanks for doing the bindings, Bert!
On Wed, Feb 27, 2013 at 1:51 AM, Bert Freudenberg <bert(a)freudenbergs.de>wrote:
> On 27.02.2013, at 10:45, Bert Freudenberg <bert(a)freudenbergs.de> wrote:
>
> On 27.02.2013, at 05:54, Casey Ransberger <casey.obrien.r(a)gmail.com>
> wrote:
>
> Is there a stand alone package that provides Point>>@ in Squeak? E.g., x@y
> @z.
>
>
> Balloon3D-Math from
>
> http://www.squeaksource.com/*Balloon3D*/
>
> - Bert -
>
>
> Ah, but Ron is right, using the one from Croquet would be better.
>
> - Bert -
>
>
>
>
--
Casey Ransberger