Re: [Pharo-users] OpenGL minimum working example?

2018-11-12 Thread Ronie Salgado
Hi Hernan, I just added two new examples, UFFIOpenGLOffscreenSamples >> #triangle and UFFIOpenGLOffscreenSamples >> #quad (using your vertices). I tested it on Linux and on OS X. triangle " self new triangle " | context gl fb colorProgram vertexBuffer | context := UFFIOpenGLCo

Re: [Pharo-users] OpenGL minimum working example?

2018-11-12 Thread Ben Coman
On Tue, 13 Nov 2018 at 03:37, Hernán Morales Durand < hernan.mora...@gmail.com> wrote: > Hi. > > I tried to get an OpenGL MWE from > https://github.com/ronsaldo/uffi-opengl in both Windows 8.1 and MacOS > without luck. What I tried so far is to render a simple figure in a > new window, adding this

Re: [Pharo-users] Canonical download location for Pharo VMs

2018-11-12 Thread Ben Coman
On Tue, 13 Nov 2018 at 08:03, Esteban Maringolo wrote: > What is the canonical repository/ci to download the latest VM for Pharo? > > I'm trying to get pharo launcher to launch a 32 bit image in Windows, but > it complains it can't determine the image version, so I'm trying to > download the late

Re: [Pharo-users] OpenGL minimum working example?

2018-11-12 Thread Hernán Morales Durand
Hello Tomo, Thank you, very interesting project! BTW to load Jun4Pharo with UFFI OpenGL the expression is: Gofer new smalltalkhubUser: 'tomooda' project: 'Jun4Pharo'; configurationOf: #Jun; load. (Smalltalk at: #ConfigurationOfJun) project development load: #('Core'). There are only

[Pharo-users] Canonical download location for Pharo VMs

2018-11-12 Thread Esteban Maringolo
What is the canonical repository/ci to download the latest VM for Pharo? I'm trying to get pharo launcher to launch a 32 bit image in Windows, but it complains it can't determine the image version, so I'm trying to download the latest 32 bit VM for Windows to launch it manually, but https://files.

Re: [Pharo-users] OpenGL minimum working example?

2018-11-12 Thread Tomohiro Oda
Hello Hernan, I tested the code only on Mac. --- tomo 2018/11/13(Tue) 8:27 Tomohiro Oda wrote: > > Hello Hernan, > > I have partially working code at > http://smalltalkhub.com/#!/~tomooda/Jun4Pharo > > My code still have two problems that > * depending on resolution, projection matrix can't be p

Re: [Pharo-users] OpenGL minimum working example?

2018-11-12 Thread Tomohiro Oda
Hello Hernan, I have partially working code at http://smalltalkhub.com/#!/~tomooda/Jun4Pharo My code still have two problems that * depending on resolution, projection matrix can't be properly set, and * it freezes pharo when switching to fullscreen Best Regards, --- tomo

Re: [Pharo-users] Metacello baseline loading from cmd

2018-11-12 Thread Vitor Medina Cruz
Using directly the remote repository with https I got ZnTooManyRedirects :´( On Mon, Nov 12, 2018 at 8:56 PM Vitor Medina Cruz wrote: > Thanks Cédrick, this partly worked because I also had a git repository, > but I noted that if the .git folder is not present the procedure don't work > as well.

Re: [Pharo-users] Metacello baseline loading from cmd

2018-11-12 Thread Vitor Medina Cruz
Thanks Cédrick, this partly worked because I also had a git repository, but I noted that if the .git folder is not present the procedure don't work as well. It, however, cannot load remote dependent projects or baselines, and thus fail. :(

[Pharo-users] OpenGL minimum working example?

2018-11-12 Thread Hernán Morales Durand
Hi. I tried to get an OpenGL MWE from https://github.com/ronsaldo/uffi-opengl in both Windows 8.1 and MacOS without luck. What I tried so far is to render a simple figure in a new window, adding this method to UFFIOpenGLOffscreenSamples: >>sample2 " self new sample2 " | context gl fb | context

[Pharo-users] Iceberg + BaselinOf + Metacello - how to manage interdependencies ?

2018-11-12 Thread Cédrick Béler
Hi all, I’m trying to declare a BaselinOf to load lots of Packages. My aim is to have a kind of distribution (so students don’t have to load packages). I’m new to Iceberg + BaselinOf + Metacello. I target only P7. Let's say I want to load Teapot and NeoJSON (development version). Teapot depends

Re: [Pharo-users] Metacello baseline loading from cmd

2018-11-12 Thread Cédrick Béler
Hi Vitor, > Le 12 nov. 2018 à 19:53, Vitor Medina Cruz a écrit : > > Hello, > > How do I load a baseline located at disk? I tried inside > /home/vitormcruz/testpharo/: > > ./pharo Pharo.image eval "Metacello new baseline: 'Employees'; repository: > 'filetree://employees/pharo'; load: #(core)

[Pharo-users] Metacello baseline loading from cmd

2018-11-12 Thread Vitor Medina Cruz
Hello, How do I load a baseline located at disk? I tried inside /home/vitormcruz/testpharo/: ./pharo Pharo.image eval "Metacello new baseline: 'Employees'; repository: > 'filetree://employees/pharo'; load: #(core)" > But then I got: Could not resolve: BaselineOfEmployees [BaselineOfEmployees] i

Re: [Pharo-users] Examples of bad code

2018-11-12 Thread webwarrior
In old Pharo code (Morphic, etc.) there's a lot of wierd stuff. My favourite is DockingBarMorph>>#predominantDockingBarsOfChastes: Though it explains what "predominant" means in a long comment, it's absolutely unclear what the heck "chaste" is. -- Sent from: http://forum.world.st/Pharo-Smallt

[Pharo-users] Examples of bad code

2018-11-12 Thread Oleksandr Zaytsev
Hello, Do you know of some good examples of code that is unreadable because of the bad and inconsistent naming? I want to show some motivating example in my thesis about the aspects of software naturalness through the generation of identifier names. I'm sure that Pharo has many bad code inside, b

Re: [Pharo-users] ToManyRelationSlot variant with an ordered collection?

2018-11-12 Thread Marcus Denker
> On 10 Nov 2018, at 22:52, Tudor Girba wrote: > > Hi, > > The current implementation of ToManyRelationSlot is based on a RelationSet > which holds the items in a Set. > > Is there an implementation that holds the items in an ordered collection? Not that I know, but it would be interestin