Showing posts with label configuration. Show all posts
Showing posts with label configuration. Show all posts

Sunday, June 30, 2013

configure Notepad++ for CoffeeScript


Adding CoffeeScript support to your Notepad++ editor may require a search for the user config file location.

My Windows 7 userDefineLang.xml file was in
C:\Users\*YourUserName*\AppData\Roaming\Notepad++
which was not where I expected.

The install folder has a langs.model.xml file and the ./plugins/APIs folder has many language XML files. Why not also keep userDefineLang.xml there ? A brute-force upgrading issue ?
The Notepad++ install program already offers choices with regard to AppData ...


Wednesday, April 10, 2013

Smalltalk config candour

What follows is my reply to an exasperated Smalltalker :
CC  rider : config issues are as old as commercial Smalltalk ; I keep an entire mail bin of these (separate from 'user' or 'tips' conversations.) At least this is not
                    eclipse+CVS+Java+open-source !
I work in a very advanced commercial OOP created by MIT Lisp gurus and THAT IDE has package circularity issues that have to be addressed by developers who push beyond the pre-tested envelope.
Does the issue exist for commercial PROLOG implementations with packages ? That would be amusing .... (there had been SOUL and QSOUL projects for Squeak as well as a Prolog and then Lisp for Squeak )
I would not be surprised to find packaging issues with functors in Mozart/Oz ! And I could check the Mercury dev mailing list ... (Mercury - which can gen Erlang code ! )
The Puppy Linux folks have a real challenge in getting tools into their light Linux ... but so far so good (mostly) - I say "mostly" as I cannot get the ObjectIcon IDE to run in their JWM X ... but Icon with objects could be used to address that very config issue in a maintainable, readable fashion !!!
Practical computing : tasks which keep our sense of irony well-honed ;-) (even without management)
Needed : Pre-Factoring browsers ! ;-)
and please do keep smiling ... but only if the crows' feet crinkle at the edges of the temples ...

Tuesday, December 21, 2010

Metacello ConfigurationOfAida

  Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfAida';
    load.

  ((Smalltalk at: #ConfigurationOfAida) project version: '6.0') load.

"the above is the code for a DoIt in a Pharo or Squeak Smalltalk workspace so as to load AIDA/Web by Janko Mivšek."

"This and the above are in quotes because Smalltalk comments in code are in dbl-quotes."

"The two semi-colons above permit three messages to be sent in series to the instance of the Gofer service. A period (full-stop) ends those two keyword messages and the final unary message."

"What is argably not clear is that the first two messages set values in slots but the last directs an action. I say this because 'load' is not unambiguously a verb in English.  It would have been lovely if set and do had been available as no op sugar useful to an Slint."

  Gofer new
    set squeaksource: 'MetacelloRepository';
    set package: 'ConfigurationOfAida';
    do load.

"An easy mod to most Smalltalk implementations would be "
  Gofer new
    set_squeaksource: 'MetacelloRepository';
    set_package: 'ConfigurationOfAida';
    do_load.

"One up-side might be reminding developers to not hide actions in methods which consume value arguments. But that ship sailed in 1980 or earlier.

Here is the added quibble: the first two values are names (the second is certainly not a package qua object) and so this code might better have been more revealing as: "

  Gofer new
    set_squeaksource_id: 'MetacelloRepository';
    set_package_name: 'ConfigurationOfAida';
    do_load_package.
   Transcript nextPutAll: 'I blasphemed against ST.'

"What cannot yet be done is to send a message to a class
  >>requestFreshObject
and have the class request the needed parameters of YOU either then or at the time of the proposed action.

I say this because >>new is not the sole means of acquiring a reference to an instance. "

  >>new
    ^self shouldNotImplement 
" a possible class method in Gofer "
 
   Gofer default   "would be no surprise"

   SmalltalkComms currentGofer   " may lie in the offing.

So "

   Smalltalk user: me requires: (package named: 'Aida') from: (Metacello squeakSource).

"Unlike Curl, in Smalltalk the order of those keywords matters because no semi-colon means that the last message send used only one selector named
    user:requires:from:
and only by looking at the actual code would you maybe know which objects to supply.

And yet "
  Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfAida';
    load.
" is so easy - provided that you already know to use Gofer and also know to provide a version as in "

   (Smalltalk at: #ConfigurationOfAida) project version: '6.0') load


" That last direct call into the global Smalltalk dictionary is a sure sign that even this great improvement in loading packages into Smalltalk is an improvement itself awaiting another iteration.

For generations, introductions to Smalltalk have glossed over the pragmatics of Smalltalk - the actual use of Smalltalk in context for some end.  It may even be that calling Smalltalk a 'language' is itself misleading and so I should not use the 'pragmatics' metaphor.  Back to guilds and artisans?
"

Tuesday, December 14, 2010

Wednesday, August 26, 2009

Squeak MonticelloConfigurations mcm for Seaside 2.9

If you are like me and have not used an Monticello configuration file such as the mcm file to install Seaside 2.9 in Squeak, what you need to do is download the mcm file and place it in the package-cache directory of the Squeak you are going to run.

I tried using Monticello to create a package and then edit the script but PackageInfo is broken even in the LevelPlayingField (LPF) image that I built by running
HTTPSocket httpFileIn: 'ftp.squeak.org/3.11/scripts/LPF.st'
in a workspace.

Once the file is where a monticello tool can see it, even the Monticello Browser can be used to load it by doing Open on the package-cache which should appear at top of the panel on the right of the browser.