[Pharo-users] Re: roman numbers

2020-09-17 Thread Aliaksei Syrel
Hi Roelof, You will not believe! 2 printStringRoman “II” Have fun! On Thu, 17 Sep 2020 at 18:20, Roelof Wobben via Pharo-users < pharo-users@lists.pharo.org> wrote: > Hello, > > > > Can someone help me with a good plan to convert numbers to roman numbers. > > > > I could make a dictionary

Re: [Pharo-users] [ANN] What are reasons NOT to use Smalltalk?

2020-06-19 Thread Aliaksei Syrel
> > For desktop apps, I have been holding off building any UI because of the > brik blok spec spec2 churn. Imagine trying to build any UI in javascript with their wide family of frameworks ;) On Fri, 19 Jun 2020 at 20:40, Todd Blanchard via Pharo-users < pharo-users@lists.pharo.org> wrote: >

Re: [Pharo-users] How to render video frames?

2019-06-12 Thread Aliaksei Syrel
Hi Rafael, Assuming you have your OpenCV camera frame object named image in BGR format (default for OpenCV) Here is how you can render it at high fps in Bloc (override *BlElement>>#* drawOnSpartaCanvas: aCanvas in a subclass) surface := aSpartaCanvas bitmap fromBGR: image imageData extent:

Re: [Pharo-users] How to I setup Bloc?

2018-01-10 Thread Aliaksei Syrel
. > > > > On Wed, Jan 10, 2018 at 6:39 AM, Aliaksei Syrel <alex.sy...@gmail.com> > wrote: > >> Hello Photon, > >> > >> I have literally no idea where you found this paper but it is years old. > >> > >> Could you try to install it a

Re: [Pharo-users] How to I setup Bloc?

2018-01-10 Thread Aliaksei Syrel
Then the behaviour you get is expected one. There is no bug or issue there. On page 12 in section 3.2 (Starting to draw a card) it tells you to implement a drawOnSparta: method. After that you should get the same as on Figure 3-1. Since you didn't implement it, you obviously get nothing. It is

Re: [Pharo-users] How to I setup Bloc?

2018-01-10 Thread Aliaksei Syrel
Hello Photon, MgdRawCardElement does not exist in in MemoryGame. It looks like you created it yourself. Please, give us more information. For example share the implementation of that class. I am not a clairvoyant to tell where is a problem in your code without actually seeing the code. Cheers,

Re: [Pharo-users] How to I setup Bloc?

2018-01-09 Thread Aliaksei Syrel
Hello Photon, I have literally no idea where you found this paper but it is years old. Could you try to install it according to instructions on Bloc GitHub page: https://github.com/pharo-graphics/Bloc You might also want to try a MemoryGame tutorial:

Re: [Pharo-users] Bloc installation on Linux [WAS: Re: About implementing a "Mini Pillar" in-image renderer for Pharo ...]

2017-11-20 Thread Aliaksei Syrel
Oops, the wrong script. Here is the right one: Metacello new baseline: 'Sparta'; repository: 'github://syrel/sparta/src'; load: #development Cheers, Alex On 21 November 2017 at 01:26, Aliaksei Syrel <alex.sy...@gmail.com> wrote: > Hi Offray, > > === > >

Re: [Pharo-users] Bloc installation on Linux [WAS: Re: About implementing a "Mini Pillar" in-image renderer for Pharo ...]

2017-11-20 Thread Aliaksei Syrel
Hi Offray, === This package depends on the following classes: > BrTextEditorPieceElement > You must resolve these dependencies before you will be able to load > these definitions: > BrTextEditorPieceElement>>#drawOnSpartaCanvas: === We should also create a stable baseline of Brick... I

Re: [Pharo-users] About implementing a "Mini Pillar" in-image renderer for Pharo ...

2017-11-14 Thread Aliaksei Syrel
Offray, which edition of Manjaro do you have? (XFCE, KDE or Gnome) Cheers, Alex On 14 November 2017 at 18:41, Aliaksei Syrel <alex.sy...@gmail.com> wrote: > Hi Offray, > > I agree with your point of view. It is in our best interests to make it > work as smoothly as

Re: [Pharo-users] About implementing a "Mini Pillar" in-image renderer for Pharo ...

2017-11-14 Thread Aliaksei Syrel
heir ssh git key pair. If we don't make easier to contribute > by just making easier to install, there will be no evolution either. > > Cheers, > > Offray > > On 14/11/17 11:45, Aliaksei Syrel wrote: > > Hi Offray, > > I understand your frustration, but with al

Re: [Pharo-users] About implementing a "Mini Pillar" in-image renderer for Pharo ...

2017-11-14 Thread Aliaksei Syrel
Hi Offray, I understand your frustration, but with all respect, the fact that you have problems with Iceberg does not mean that GT Documenter or any other GT tool is responsible for described problems. Most complains about bloc, brick, whatever is because of unrelated stuff. It is a little bit

Re: [Pharo-users] Bloc texts font size

2017-10-20 Thread Aliaksei Syrel
Hi Steven, It is a known Cairo + Freetype bug. If you are on OSX try to install #development version of Bloc/Brick that uses Moz2D as rendering backend. Cairo does not support named fonts because it there is no system fonts lookup. Moz2D supports it. One way to fix strange font size is to apply

Re: [Pharo-users] Bloc Example Errors & question

2017-10-14 Thread Aliaksei Syrel
Hi Ricardo, Some examples such as example3D are meant to be experimental, so I moved them a bit far away from main examples. Additionally, we deprecated position: and it took some time to update examples, but now they should work :) In order to connect elements with lines you would need to use

Re: [Pharo-users] Hiding the cursor in pharo and/or bloc

2017-10-02 Thread Aliaksei Syrel
Hi Steven, What you see is not Bloc's cursor (there is no cursor in bloc) It is a Morphic cursor :) Cheers, Alex On 2 October 2017 at 22:19, Steven Costiou wrote: > Hi, > > i've been playing with bloc, and i am trying to completely remove the > cursor (i.e. always

Re: [Pharo-users] [ann] moldable brick editor - alpha

2017-08-18 Thread Aliaksei Syrel
Hello Stephan, > Yep. I tried with a clean 6.1 install. > The Moz2D library is downloaded, but does not seem to be installed > correctly Below is the list of dependencies for *64bit Ubuntu* and *32bit Pharo*: (on 64bit pharo it should theoretically work out of the box, except 64bit related

Re: [Pharo-users] GTInspect auto-update in raw view?

2017-08-16 Thread Aliaksei Syrel
Hello Esteban, You can enable auto-refresh with: GTInspector enableStepRefresh For performance reasons it is disabled by default. If you are curious why I think Andrei could explain a bit more :) Cheers, Alex On 17 August 2017 at 00:56, Esteban A. Maringolo wrote: > Hi

Re: [Pharo-users] Bloc Space within a Space

2016-02-14 Thread Aliaksei Syrel
I'm not sure I understand what you want to archive with provided code :) Space is not something you want to embed in another space. Space manages UI thread, event fetching, alarms and many other low level stuff. Universe contains spaces and there can be only one running space at a time - read

Re: [Pharo-users] How to add a keyboard shortcut to Rubric?

2015-10-28 Thread Aliaksei Syrel
You can use the power of Inspector! Inspect rubric morph and you will see there is shortcuts tab which lists all assigned shortcuts and if you click on one them a new tab will be opened to the right showing exact place in source code when shortcut is defined and its action. On Oct 28, 2015 11:05

Re: [Pharo-users] Deleting methods

2015-10-09 Thread Aliaksei Syrel
The same happens to me! Annoying... On Oct 9, 2015 5:02 PM, "Alexandre Bergel" wrote: > I am just deleting a lot of methods… Maybe multiply deleting methods seems > to be related (in a browser, select several methods, and press cmd-m-x) > > Alexandre > -- >

Re: [Pharo-users] [ann] brick on top of bloc - preview

2015-08-27 Thread Aliaksei Syrel
Hi, We prepared a working image with Brick preview :) Just open it with the latest Pharo VM and you will instantly see an example browser ​ Pharo-Brick.zip https://drive.google.com/file/d/0B-bMBVDOi3oTdll3dGJValVIenc/view?usp=drive_web ​ Cheers, Alex On Tue, Aug 25, 2015 at 10:13 PM, Tudor

Re: [Pharo-users] Where do I find Bloc and how do I load it?

2015-07-18 Thread Aliaksei Syrel
Hi I would suggest to use this one: Gofer it smalltalkhubUser: 'Pharo' project: 'Brick'; package: 'ConfigurationOfBrick'; loadDevelopment. ConfigurationOfBrick loadDevelopment. If you need brick and bloc Cheers, Alex On Sat, Jul 18, 2015 at 11:00 PM, Peter Uhnák i.uh...@gmail.com wrote:

Re: [Pharo-users] brick/bloc examples missing FILOStack

2015-06-01 Thread Aliaksei Syrel
On Mon, Jun 1, 2015 at 8:09 AM, Peter Uhnák i.uh...@gmail.com wrote: Thanks, it seems to work now. I also had to switch to newly created bloc space. Why is that required? Why it wouldn't work also from regular Pharo space? Because it's Bloc, a complete replacement for morphic - with its own

Re: [Pharo-users] brick/bloc examples missing FILOStack

2015-05-31 Thread Aliaksei Syrel
Hi, Oops, this kind of stack is from moose and not in pharo :) Yes, better to use a queue - thanks! Cheers, Alex On Jun 1, 2015 7:32 AM, Sven Van Caekenberghe s...@stfx.eu wrote: On 31 May 2015, at 23:15, Peter Uhnák i.uh...@gmail.com wrote: FILOStack Just wondering, isn't this a

Re: [Pharo-users] Search and replace source code

2015-03-19 Thread Aliaksei Syrel
Hi Laura, you can use this method: replaceAll: aString with: anotherString replaces aString in source code in the whole image in all methods with anotherString ((self systemNavigation allMethodsWithSourceString: aString matchCase: false) collect: #compiledMethod) do: [ :each | each

Re: [Pharo-users] Getting notified when a morph moves

2015-02-11 Thread Aliaksei Syrel
Hi, I think you need to subscribe to the hand morph. It provides some possibilities. Of course if you drag morphs only inside it's parent, you can implement dragging by yourself without adding to hand. In this case mouseMove can be received. Cheers, Alex On Wed, Feb 11, 2015 at 9:19 PM, Stephan

Re: [Pharo-users] Spotter: How to see more beyond #/##

2015-02-04 Thread Aliaksei Syrel
Hi, Select any of that 5 items and use CMD (Alt on windows,linux)+Shift+Right. Of course shortcuts in spotter are not very obvious, so we are planning to add hints and have all actions to present as buttons in UI Cheers, Alex On Wed, Feb 4, 2015 at 7:11 PM, Sean P. DeNigris

Re: [Pharo-users] pharo _looks_ good, but can be improved ...

2015-01-25 Thread Aliaksei Syrel
On Sun, Jan 25, 2015 at 3:02 PM, Mayuresh Kathe mayur...@kathe.in wrote: http://www.google.com/design/spec/material-design/introduction.html It is almost impossible to do it like this in Pharo now because of low drawing performance and bad support of animations. Sad but true. Cheers, Alex

Re: [Pharo-users] pharo _looks_ good, but can be improved ...

2015-01-25 Thread Aliaksei Syrel
. Esteban On 25/1/2015, at 15:42, Mayuresh Kathe mayur...@kathe.in wrote: On Sun, Jan 25, 2015 at 03:35:40PM +0100, Aliaksei Syrel wrote: On Sun, Jan 25, 2015 at 3:02 PM, Mayuresh Kathe mayur...@kathe.in wrote: http://www.google.com/design/spec/material-design/introduction.html

Re: [Pharo-users] Blitzkrieg!

2015-01-19 Thread Aliaksei Syrel
I bought more popcorn when I read in one of the articles http://horridohobbies.tumblr.com/: *30 years programming in* FORTRAN, C/C++/*C#*/Objective-C, Java, Python

Re: [Pharo-users] move a method

2014-10-23 Thread [CH] Aliaksei Syrel
Hi, Does drag and drop not work for you? That's how I usually move methods between classes if I need to. Just press on the method name in the list and drag it to another class. (Works in Moose, should also work in Pharo). Cheers, Alex On Oct 23, 2014 11:45 AM, Hans Schueren