Hi,
I feel like I am missing something obvious, but is there a _safe_ way to
test if PW is still running?
If the process pointer for whatever reason is no longer valid (e.g. the
image crashed / I closed image), then #isRunning results in crashing the
image. Maybe this is a bug?
Thanks,
Peter
> May be Roassal2 is broken on Windows?
Sometimes Pharo on Windows decides that it will not load external library.
Try to restart your PC and see if it persists.
Peter
On Fri, Jul 6, 2018 at 5:38 PM, Hernán Morales Durand <
hernan.mora...@gmail.com> wrote:
> In a clean Pharo 6.1 (Windows 8) I
Hi Miguel,
there is beacon for logging https://github.com/pharo-project/pharo-beacon
you can also consider pharo-sentry
https://github.com/peteruhnak/pharo-sentry (note that sentry can be
self-hosted)
Peter
On Mon, Jul 9, 2018 at 10:30 PM, Miguel Campusano <
m.campusano.ar...@gmail.com> wrote:
+1. I've used it last year or so and it was very nice to use.
On Wed, Jul 11, 2018 at 2:59 AM, Ben Coman wrote:
> On 11 July 2018 at 05:53, oswall arguedas wrote:
> > Greetings community of pharo
> >
> > I am working with the google API to process gmail emails, read, modify,
> > archive, send.
>
> Anything public we can use for inspiration?
>
I was playing with gmail filters, but I think I deleted the image long time
ago.
Hi Oswall,
for processing, take a look also at these three projects. They work on top
of XML libraries, but provide some automation/simplification/inference.
https://github.com/peteruhnak/xml-dom-visitor
https://github.com/peteruhnak/xml-magritte-generator
https://github.com/peteruhnak/xmi-analyz
This is not FT plugin problem. This is Windows failing to load a proper dll
for Pharo. Happens regularly at least with FT and Cairo.
Peter
On Fri, Jul 13, 2018 at 10:00 AM, webwarrior wrote:
> Peter Kenny wrote
> > Hello
> >
> > This seems exactly like a problem I reported almost exactly a year
On Sun, Jul 15, 2018 at 3:38 PM, Sean P. DeNigris
wrote:
> Peter Uhnák wrote
> > https://github.com/peteruhnak/xml-magritte-generator
>
> What does this one do? Here is something similar-sounding:
> https://github.com/magritte-metamodel/XML-Bindings
Did you read the README?
Hi,
did anyone play around with launching a separate native window for Pharo?
E.g. I have normal window in which Pharo is, and then I open a separate
native window that shows just e.g. Transcript.
I know that there are some projects like OSWindow-SDL and OSWindows-UI
(using WinAPI), but both of
Thank you both, this is exactly what I was looking for!
But I ran into an issue (maybe this is Windows (10) specific):
once I open the window, the original Pharo window is no longer responsive.
It is not frozen, I can see a cursor blinking in the playground, but
clicking anywhere or pressing any
Hi,
what is the best way to ignore instance variables when serializing with
NeoJSON?
I figured out this so far...
(NeoJSONWriter on: stream)
for: Something
do: [ :mapping | mapping mapInstVars: mapping identifier instVarNames \
#(unwanted) ];
nextPut: aSomething
Thanks,
Peter
Hi,
would it be possible to provide option to automatically sort instance
variables when serializing objects?
Either always sorted
NeoJSONObjectMapping>>writeObject: anObject on: jsonWriter
jsonWriter writeMapStreamingDo: [ :jsonMapWriter |
(properties sorted: #propertyName ascending) do: [ :eac
order. So if you add them in the right order, that would do it.
>
> > On 25 Jul 2018, at 11:12, Peter Uhnák wrote:
> >
> > Hi,
> >
> > would it be possible to provide option to automatically sort instance
> variables when serializing objects?
> >
> &g
> Actually I do not think that the above is that bad ;-)
It is too explicit for me and easy to forget to do. :)
> I guess you could add some extension methods to NeoJSONWriter, or
subclass it - yourself.
In the end, this is probably the most reasonable. And I can change some of
the defaults to
Hi,
how can a Morph react to its parent window being closed?
E.g.
Morph subclass: #MyMorph.
MyMorph new openInWindow
how can MyMorph cleanup itself on window close?
I thought Morph>>delete would do the trick, but it is not being called.
Thanks,
Peter
Hi,
is there some library or approach how to do transactions in pharo?
And I don't mean database transactions, but directly in memory on Pharo
objects... e.g.
p := Person new.
transaction do: [
p name: 'Nobody'.
p age: 70.
] on: Error do: [
transaction rollback.
].
self assert: p na
Hi,
is there a Java AST parser in Pharo?
I imagine that jdt2famix must have something inside, but as far as I
understand, it just extracts some information from the source code and
throws the AST away.
Thanks,
Peter
If you want some projects using metalinks for inspiration:
https://github.com/peteruhnak/metalinks-toolkit
https://github.com/peteruhnak/live-instance-viewer
(the second one also has a link to PDF explaining it in more detail)
Also here an example
http://blog.yuriy.tymch.uk/2016/02/vigorous-cach
Thank you Henrik,
#outOfWorld: was the best solution to me, as I can use it even when I don't
control the window/container the morph is embedded in.
Peter
On Sun, Jul 29, 2018 at 10:16 PM, Henrik-Nergaard
wrote:
> Hi Peter,
>
> There are two methods which can be used for this purpose.
> #outOf
BaselineOf/ConfigurationOf is the only place that contains this
information, e.g.
(BaselineOfCalypso project version packages collect: #name) asSet
Peter
On Sat, Aug 11, 2018 at 7:41 PM, Eric Gade wrote:
> Unless I'm mistaken, the `BaselineOfXXX` is, in part, a description of all
> the package
Hi,
I'm using Mustache for Pharo, and according to mustache docs (
https://mustache.github.io/mustache.5.html ), when a key is not found, it
should look into parents contexts.
However that does not seem to be the case:
str := '{{root}}
{{#items}}
{{root}}.{{name}}
{{/items}}'.
data := {
'root'
701 - 721 of 721 matches
Mail list logo