Picon

[ANN] ExternalTools for *nix - edit w/ $EDITOR and open pictures

I had enough to switch between windows to work on external files.

So, here is ExternalTools

It adds some commands to the File Browser, allowing one to edit in the $EDITOR (for me this is gvim) and another thing for opening the file externally through xdg-open (which kind of opens about anything).

Basically, one can extend this to whatever is needed.

The only thing is that FileServices initialize needs to be called when a new service is added if you create your own.

This is Unix only and requires OSProcess to be loaded (use the ConfigurationBrowser).

Gofer it 
package: 'HighOctane-Tools';
load.

Screenshot in attach.



Phil


GitHub | 19 Sep 20:29 2014

[pharo-project/pharo-core]

  Branch: refs/tags/40237
  Home:   https://github.com/pharo-project/pharo-core
GitHub | 19 Sep 20:29 2014

[pharo-project/pharo-core] 9e6619: 40237

  Branch: refs/heads/4.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: 9e661910bcd2381958d313ad66631dc0a8cb7d07
      https://github.com/pharo-project/pharo-core/commit/9e661910bcd2381958d313ad66631dc0a8cb7d07
  Author: Jenkins Build Server <board@...>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    M Morphic-Widgets-Pluggable.package/PluggableTabButtonMorph.class/class/instance creation/on_label_.st
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - scripts/script237.st
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - updates/update40237.st
    M ScriptLoader40.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st

  Log Message:
  -----------
  40237
14043 TabContainerMorph example gives DNU #instance
	https://pharo.fogbugz.com/f/cases/14043

http://files.pharo.org/image/40/40237.zip

GitHub | 19 Sep 17:47 2014

[pharo-project/pharo-core] 489cbe: 40236

  Branch: refs/heads/4.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: 489cbebbe3d9bf20b8370adc3a1647f8e169375f
      https://github.com/pharo-project/pharo-core/commit/489cbebbe3d9bf20b8370adc3a1647f8e169375f
  Author: Jenkins Build Server <board@...>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - scripts/script236.st
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - updates/update40236.st
    M ScriptLoader40.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st
    M Traits.package/TClass.class/instance/compiling/compileAll.st

  Log Message:
  -----------
  40236
14037 #recompile does not recompile the classTrait
	https://pharo.fogbugz.com/f/cases/14037

http://files.pharo.org/image/40/40236.zip

GitHub | 19 Sep 17:48 2014

[pharo-project/pharo-core]

  Branch: refs/tags/40236
  Home:   https://github.com/pharo-project/pharo-core
Leonel Merino | 19 Sep 15:23 2014
Picon
Picon

Visualising Network Latency

Hi All,

I have been working on a visualisation of latency on a network. I found an interesting dataset with latency information of 140 cities around the world.
In the visualisation I show different metrics regarding latency such as from each city which other has the best/worst latency; cities that geographically are close but have high latency; far cities that have low latency; and average latency for each city.

When visualising the worst latency for each city I found that, for this network (at least), Valencia and in a minor extent Nairobi represent the worst endpoint for connections (in terms of latency). Also in the visualisation of far cities with low latency, Newmarket in Canada and Toledo in Spain concentrate the best endpoint for connections coming from Europe and North-America respectively.  


Here a couple of screenshots:

Attachment (PastedGraphic-4.pdf): application/pdf, 160 KiB


Attachment (PastedGraphic-5.pdf): application/pdf, 153 KiB


Attachment (PastedGraphic-6.pdf): application/pdf, 152 KiB



Here there is a screencast:




If you want to load the code:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gofer new smalltalkhubUser: 'merino'
        project: 'NetworkLatency';
        package: 'ConfigurationOfNetworkLatency';
        load.
(ConfigurationOfNetworkLatency project version: '0.1') load.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=

To execute the visualisation:
NLVisualise new open




I would be glad to have your comments and suggestions.

Best regards,

Leonel Merino
Research Assistant
Software Composition Group
Institute of Computer Science and Applied Mathematics
University of Bern
kilon alios | 19 Sep 14:05 2014
Picon

Re: Versioner does not work on Pharo 4

just for the record I have not created any kind of configuration in Ephestos. The code that you can download from Smalltalkhub or github is the only thing that lives inside the image. I use Smalltalkhub as a backup for github repo until I make sure filetree is a reliable way to work with github and pharo. I have not touche any of the internals of Pharo all my code lives inside the SThub repo.

Other than the steps I described , and the code you can get from sthub I have done nothing to the pharo image. 

Also I forgot to say I dont mind at all late replies, I did not want to imply that I was annoyed or anything like that with people not replying.  Its perfectly ok to not reply to my threads or reply days afterwards or even moths. I have in my hand scientific evidence that I am not the center of this world. 

Thank you Christopher and everyone who is trying to help me in each of my problems. I really appreciate it. 

On Fri, Sep 19, 2014 at 12:49 PM, kilon alios <kilon.alios-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I dont use a startup script myself, in windows the image with problem is release 40230, i download that specific release and it works o_O , so maybe it was something I did afterall ? very strange 

so I attached my image folder, hope it helps you

On Fri, Sep 19, 2014 at 12:39 PM, Christophe Demarey <Christophe.Demarey-MZpvjPyXg2s@public.gmane.org> wrote:

Le 19 sept. 2014 à 11:21, kilon alios a écrit :

> Well to kepp you updated , because I did not bother replying to my own thread since none seemed to care or have the same issue as me.

I was out of office last days ...

> I tried on windows again same error as macos on a fresh image by the way. So I know it must not be me.

On which image? I just tried on a fresh 3.0 image and it also works for me.

> The only things I am doing with pharo is
>
> 1) use dark theme
>
> 2) use free type font Arial on windows and Monaco on macos
>
> 3) use filetree for working with a git directory.

Maybe a side effect.
Could you give me a script to help reproducing the problem? Maybe just your startup script.
Does the problem appear the first time you open Versionner?

Thanks,
Christophe.


GitHub | 19 Sep 13:54 2014

[pharo-project/pharo-core]

  Branch: refs/tags/40235
  Home:   https://github.com/pharo-project/pharo-core
GitHub | 19 Sep 13:54 2014

[pharo-project/pharo-core] 31716f: 40235

  Branch: refs/heads/4.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: 31716ff672da83deb83bf7f262f0890fd0e105be
      https://github.com/pharo-project/pharo-core/commit/31716ff672da83deb83bf7f262f0890fd0e105be
  Author: Jenkins Build Server <board@...>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    R KernelTests.package/JobTest.class/instance/tests/testCurrent.st
    A Ring-Core-Kernel.package/RGClassDefinition.class/class/instance creation/createSharedPoolNamed_.st
    M Ring-Core-Kernel.package/RGClassDefinition.class/instance/shared pools/addSharedPoolNamed_.st
    R Ring-Core-Kernel.package/RGFactory.class/instance/factory/createClassVariableNamed_parent_.st
    R Ring-Core-Kernel.package/RGFactory.class/instance/factory/createPoolVariableNamed_parent_.st
    R Ring-Core-Kernel.package/RGFactory.class/instance/factory/createSharedPoolNamed_.st
    M Ring-Tests-Kernel.package/RGGlobalDefinitionTest.class/instance/testing/testPoolDefinition.st
    M Ring-Tests-Kernel.package/RGVariableDefinitionTest.class/instance/testing/testClassVariable.st
    M Ring-Tests-Kernel.package/RGVariableDefinitionTest.class/instance/testing/testPoolVariable.st
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - scripts/script235.st
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - updates/update40235.st
    M ScriptLoader40.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st
    M Spec-Tools.package/MessageBrowser.class/instance/messageList interface/open.st

  Log Message:
  -----------
  40235
14038 #testSendersOfAt failing when running the tests in the image 
	https://pharo.fogbugz.com/f/cases/14038

14039 #testCurrent always fails when running all tests...
	https://pharo.fogbugz.com/f/cases/14039

14041 Continue cleaning Ring Factory
	https://pharo.fogbugz.com/f/cases/14041

http://files.pharo.org/image/40/40235.zip

GitHub | 19 Sep 12:02 2014

[pharo-project/pharo-core] a53477: 40234

  Branch: refs/heads/4.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: a5347722741a52b59c77091c4af73d0799f8ed57
      https://github.com/pharo-project/pharo-core/commit/a5347722741a52b59c77091c4af73d0799f8ed57
  Author: Jenkins Build Server <board@...>
  Date:   2014-09-19 (Fri, 19 Sep 2014)

  Changed paths:
    A Deprecated40.package/extension/Locale/class/addLocalChangedListener_.st
    A Deprecated40.package/extension/Locale/class/isoLocale_.st
    A Deprecated40.package/extension/Locale/class/localeChanged.st
    A Deprecated40.package/extension/Locale/class/localeChangedListeners.st
    A Deprecated40.package/extension/LocaleID/class/previous.st
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - scripts/script234.st
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - updates/update40234.st
    M ScriptLoader40.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st
    A System-Localization-Tests.package/ISOLanguageDefinitionTest.class/README.md
    A System-Localization-Tests.package/ISOLanguageDefinitionTest.class/definition.st
    A System-Localization-Tests.package/ISOLanguageDefinitionTest.class/instance/tests/testISO2LanguageDefinition.st
    A System-Localization-Tests.package/ISOLanguageDefinitionTest.class/instance/tests/testISO3LanguageDefinition.st
    A System-Localization-Tests.package/LocaleAnnouncementTests.class/README.md
    A System-Localization-Tests.package/LocaleAnnouncementTests.class/definition.st
    A System-Localization-Tests.package/LocaleAnnouncementTests.class/instance/events/localeWasChanged_.st
    A System-Localization-Tests.package/LocaleAnnouncementTests.class/instance/private accessing/frenchLocale.st
    A System-Localization-Tests.package/LocaleAnnouncementTests.class/instance/running/setUp.st
    A System-Localization-Tests.package/LocaleAnnouncementTests.class/instance/running/tearDown.st
    A System-Localization-Tests.package/LocaleAnnouncementTests.class/instance/tests/testLocaleChangeAnnouncement.st
    A System-Localization-Tests.package/LocaleChangedTest.class/README.md
    A System-Localization-Tests.package/LocaleChangedTest.class/definition.st
    A System-Localization-Tests.package/LocaleChangedTest.class/instance/private accessing/englishLocale.st
    A System-Localization-Tests.package/LocaleChangedTest.class/instance/private accessing/germanLocale.st
    A System-Localization-Tests.package/LocaleChangedTest.class/instance/tests/testInstanceCreation.st
    A System-Localization-Tests.package/LocaleIDTest.class/README.md
    A System-Localization-Tests.package/LocaleIDTest.class/definition.st
    A System-Localization-Tests.package/LocaleIDTest.class/instance/tests - test data/frenchLocaleID.st
    A System-Localization-Tests.package/LocaleIDTest.class/instance/tests - test data/germanLocaleID.st
    A System-Localization-Tests.package/LocaleIDTest.class/instance/tests/testComparision.st
    A System-Localization-Tests.package/LocaleIDTest.class/instance/tests/testCurrent.st
    A System-Localization-Tests.package/LocaleIDTest.class/instance/tests/testFromISOString.st
    A System-Localization-Tests.package/LocaleIDTest.class/instance/tests/testFromSingleISOString.st
    A System-Localization-Tests.package/LocaleIDTest.class/instance/tests/testHashing.st
    A System-Localization-Tests.package/LocaleIDTest.class/instance/tests/testInstanceCreationWithISOLanguage.st
    A System-Localization-Tests.package/LocaleIDTest.class/instance/tests/testInstanceCreationWithISOLanguageAndCountry.st
    A System-Localization-Tests.package/LocaleIDTest.class/instance/tests/testPosixNameConversion.st
    A System-Localization-Tests.package/LocaleIDTest.class/instance/tests/testPrintString.st
    A System-Localization-Tests.package/LocaleTest.class/README.md
    A System-Localization-Tests.package/LocaleTest.class/definition.st
    A System-Localization-Tests.package/LocaleTest.class/instance/tests/testAccessLocaleID.st
    A System-Localization-Tests.package/LocaleTest.class/instance/tests/testCurrent.st
    A System-Localization-Tests.package/NaturalLanguageTranslatorTest.class/README.md
    A System-Localization-Tests.package/NaturalLanguageTranslatorTest.class/definition.st
    A System-Localization-Tests.package/NaturalLanguageTranslatorTest.class/instance/running/setUp.st
    A System-Localization-Tests.package/NaturalLanguageTranslatorTest.class/instance/running/tearDown.st
    A System-Localization-Tests.package/NaturalLanguageTranslatorTest.class/instance/tests/testRegisterCustomTranslator.st
    A System-Localization-Tests.package/NaturalLanguageTranslatorTest.class/instance/tests/testTranslatePureString.st
    A System-Localization-Tests.package/RegisterableTranslatorMock.class/README.md
    A System-Localization-Tests.package/RegisterableTranslatorMock.class/definition.st
    A System-Localization-Tests.package/RegisterableTranslatorMock.class/instance/initialization/initialize.st
    A System-Localization-Tests.package/RegisterableTranslatorMock.class/instance/translate/translate_.st
    A System-Localization-Tests.package/RegisterableTranslatorMock.class/instance/translate/translate_toLocale_.st
    A System-Localization.package/ISOLanguageDefinition.class/class/private - ISO 2/iso2Countries.st
    A System-Localization.package/ISOLanguageDefinition.class/class/private - ISO 2/iso2LanguageTable.st
    A System-Localization.package/ISOLanguageDefinition.class/class/private - ISO 3/iso3Countries.st
    A System-Localization.package/ISOLanguageDefinition.class/class/private - ISO 3/iso3LanguageTable.st
    A System-Localization.package/ISOLanguageDefinition.class/class/private - ISO 3166/buildIso3166CodesTables.st
    A System-Localization.package/ISOLanguageDefinition.class/class/private - ISO 3166/initISO3LanguageTable.st
    A System-Localization.package/ISOLanguageDefinition.class/class/private - ISO 3166/iso3166Codes.st
    R System-Localization.package/ISOLanguageDefinition.class/class/private/buildIso3166CodesTables.st
    R System-Localization.package/ISOLanguageDefinition.class/class/private/initISO3LanguageTable.st
    R System-Localization.package/ISOLanguageDefinition.class/class/private/iso2Countries.st
    R System-Localization.package/ISOLanguageDefinition.class/class/private/iso2LanguageTable.st
    R System-Localization.package/ISOLanguageDefinition.class/class/private/iso3166Codes.st
    R System-Localization.package/ISOLanguageDefinition.class/class/private/iso3Countries.st
    R System-Localization.package/ISOLanguageDefinition.class/class/private/iso3LanguageTable.st
    M System-Localization.package/ISOLanguageDefinition.class/definition.st
    R System-Localization.package/Locale.class/class/accessing/isoLocale_.st
    M System-Localization.package/Locale.class/class/accessing/switchTo_.st
    A System-Localization.package/Locale.class/class/announcing/localeAnnouncer.st
    R System-Localization.package/Locale.class/class/notification/addLocalChangedListener_.st
    R System-Localization.package/Locale.class/class/notification/localeChanged.st
    R System-Localization.package/Locale.class/class/notification/localeChangedListeners.st
    M System-Localization.package/Locale.class/definition.st
    A System-Localization.package/LocaleChanged.class/README.md
    A System-Localization.package/LocaleChanged.class/class/instance creation/from_to_.st
    A System-Localization.package/LocaleChanged.class/definition.st
    A System-Localization.package/LocaleChanged.class/instance/accessing/newLocale.st
    A System-Localization.package/LocaleChanged.class/instance/accessing/newLocale_.st
    A System-Localization.package/LocaleChanged.class/instance/accessing/oldLocale.st
    A System-Localization.package/LocaleChanged.class/instance/accessing/oldLocale_.st
    R System-Localization.package/LocaleID.class/class/accessing/previous.st
    M System-Localization.package/LocaleID.class/definition.st
    M System-Localization.package/NaturalLanguageTranslator.class/README.md
    A System-Localization.package/NaturalLanguageTranslator.class/class/accessing/current.st
    A System-Localization.package/NaturalLanguageTranslator.class/class/accessing/current_.st
    M System-Localization.package/NaturalLanguageTranslator.class/class/cleanup/cleanUp.st
    M System-Localization.package/NaturalLanguageTranslator.class/class/translate/translate_.st
    M System-Localization.package/NaturalLanguageTranslator.class/class/translate/translate_toLocale_.st
    M System-Localization.package/NaturalLanguageTranslator.class/definition.st

  Log Message:
  -----------
  40234
14026 Cleanup System-Localization package and add tests
	https://pharo.fogbugz.com/f/cases/14026

http://files.pharo.org/image/40/40234.zip

GitHub | 19 Sep 12:02 2014

[pharo-project/pharo-core]

  Branch: refs/tags/40234
  Home:   https://github.com/pharo-project/pharo-core

Gmane