smalltalk

Non-Mainstream Languages, Bad for your resume?

Hi folks, I got my BS in Computer Science about seven years ago. I spent two years in neuroscience research and the next three providing what amounts to tech support. But I love computer programming - and I have since written, as a freelancer, non-trivial commercial code in Haskell, Smalltalk, and Objective-C. I used these languages be...

Is There Any Way To Develop in Smalltalk Without Using a VM?

I'm really begining to learn Smalltalk. Now I'm using Squeak, but there is any way to develop in Smalltalk without using VMs, but something like an IDE? ...

There Is Any Smalltalk IDE That Isn't Like a VM?

Hello, I'm learning Smalltalk, but I want to know if there is any IDE like Smalltalk Agents(on Macintosh), but for Windows. There isn't like a VM emulating a OS, as Squeak and Pharo do. I want to use a IDE that is fully integrated with the OS(Windows in this case), like Visual Studio and WinASM. Not a IDE like Squeak and Pharo that crea...

object-private Vs class-private

Is there a notion of object-private in any OOP language ?? I mean more restrictive than the classic private access ? Private (or class-private) restricts the access to the class itself. Only methods that are part of the same class can access private members. object-private : restricts the access to the object itself. Only methods objec...

Best Program To Develop Using GNU Smalltalk

I'm reading Computer Programming Using GNU Smalltalk, but I want to know with is the best program to write my Smalltalk sources, because I don't know if I use Notepad++, a editor or a IDE, then I want a suggestion for a beginner. Remember that I'm using Windows XP. ...

Smalltalk web app deployment on headless Linux server

We wrote a small prototype web app using Pharo and Seaside and we want to now demonstrate to the suits that the app can be deployed into our standard Linux build. We use a mix of CentOS, Ubuntu Server and Gentoo which are run headless since most of our apps are JAVA/Apache based. Only port 80 and 443 are open to the outside world. What ...

Get sender of a message in Smalltalk

Is there a practical way to get the sender of a message in Smalltalk without manually passing self as a Parameter? To be more concrete: I want to add a class specific prefix to an ID that gets passed to my class, so if ClassA sends (on class side) ClassB doSomethingWith: 'myId'. ClassB should internally treat 'myId' as 'ClassB-myId' ...

What are the major differences in object models of dynamic languages like Smalltalk, Ruby and Python

I dived into understanding the Ruby object model in the last weeks, and although so far was only a user of the fruits of ruby's and python's object in the past, I became curious how these things might differ in other languages. Years ago I touched smalltalk's squeak. Smalltalk is often figuring as a referential object oriented language,...

How to insert an image into a PolygonMorph?

I need to get a texture into a PolygonMorph, but these seem to require an InfiniteForm as color/ filling. The InfiniteForm is no solution as i need to rotate the PolygonMorph later on and moving the PolygonMorph around also has sideeffects on the displayed texture. It would be very useful if it would be possible to scale the inserted ...

How to use the mousewheel in a Squeak / Morphic GUI

I am implementing a graphical user interface with Morphic / Squeak. Some of the items have drag & drop functionality. While dragging, I want to be able to rotate these items with the mousewheel. The first problem is that using the mousewheel ends the drag-action and leads to a drop (attempt). How can I suppress that - and fire the mouse...

Event propagation in a Morphic GUI

I have an image for a Squeak Morphic GUI that contains some transparent parts and thus should not accept any mouseevents etc. but just be visible, but it needs to be visible in front of other morphs. That's why i thought it would be useful to propagate the appearing mouseevents to the underlying morphs. Does anyone know a solution for...

Does anybody use Clamato?

I'm interested if anyone uses clamato in a production environment? ...

Working with Excel files in web app frameworks like Seaside

Ive been reading about seaside and like the sound of it but i cant see an easy way for handling data files, primarily importing Excel. Of course csv files would be more straight forward, but are there any ways to import the various Excel formats (xls,xlsx) without writing your own file parsing routines? I've heard that the need to open...

Smalltalk superclass vs metaclass ???

I new to OOP, but with a "procedural" background. I'm currently trying to get my head around OOP via GNU Smalltalk and Lovejoy's "Smalltalk: Getting The Message". I'm confused as to the the heck the metaclass and Metaclass class are, vs superclass. I can see the inheritance flow of superclass -> class -> subclass; but I don't see how/...

Is there an easy way to add an API to a Seaside web app?

Is there an easy way to add an API to your Seaside web application, just something to allow users to submit a new record with a few plaintext fields for example? (REST would be ideal) ...

String to Integer Smalltalk

Pretty simple question I need to get an integer from the user and I only know how to get a string from them. So if there is a way to get an integer from the user or to convert the string to an integer please let me know. ...

Is there a version of Smalltalk with Erlang style distributed message passing?

Is there a version of Smalltalk that allows distributed message passing, much as Erlang has? Could Smalltalk be an ideal language if it has this distributed message passing, as Smalltalk also implements its own VM if I am not mistaken? ...

Utilizing the LinkedList class in SmallTalk?

I'm not sure I fully understand how to use the LinkedList class provided with SmallTalk Visual Works. I am able to create an instance of the class by simple doing: myList := LinkedList new. But how do I add a node. I tried creating an instance of Link class and setting a value but it doesn't seem to be working. myLink := Link new. ...

What is the difference between a Squeak/Pharo Trait and a Newspeak Mixin?

So Squeak/Pharo support Traits and Newspeak has Mixins. What is the difference? Traits have no instVars but Mixins have? ...

What is the "best practice" portable way of Symbol using in Smalltalk?

What are the "best practice" rules for using symbols in Smalltalk in a portable way? I use squeak and pharo mainly and I know they both allow 'foo' = #foo and #foo = 'foo' to be true while other Smalltalks don't. I understand Symbols are for identification and shouldn't be used in place of strings. But is it at least safe to assume that ...