I’m happy to answer any questions about Simple Persistence. It is a nice
framework around (potentially any) serializer. It’s meant to be pluggable but
currently uses Fuel out of the box. You just tell it what classes to persist
and then create two methods per class to handle materialization/seri
Your work is intriguing. I think it would be good to video chat at some point.
There are several other people that come to mind that are interested in this
space as well. I’m also on Pharo discord and GT discord (which has a PKM
channel).
Other responses inline…
Siemen Baader wrote:
> We coul
currently based on GToolkit (itself based on Pharo). There’s no reason the core
model couldn’t run on plain Pharo without GT, but it’s been a long time
(several years) since I’ve put any love into Morphic UI components.
HTH,
Sean
Done! Thanks for the push :)
How would I test whether a string is a valid absolute URL? At first, I thought
to attempt a conversion and catch the error, but then I realized that invalid
URLs don’t always cause an error e.g. missing scheme and host return relative
URLs with the entire string placed in the segments.
I clicked on the link and got an error that the page is private or doesn’t
exist. Also, what kind of help are you looking for?
Do we have to subscribe to read the archive? I followed the link but didn’t see
an archive link
Can you use
[SortFunctions](https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/SortingCollections.md#sort-functions
"SortFunctions") instead of blocks with the SortedCollections? This is what I
finally figured out to do with Fuel most of the time after lots of pain
I just load the baseline with no version specified. If that works for you,
maybe we should release another version…
I’m not fully understanding the issue.
Is it that:
* The repos are violating the library license (other than the erroneous MIT
license, which could easily be updated)?
* The fact that OmniBase is not open source violates a principle you have in
continuing to host it?
If the latter, may I sug
Great. I started a thread there to continue discussing: [Pair Programming
Opportunity!](https://github.com/PortingPDFtalk/PharoPDFtalk/discussions/2)
This is exciting :) I’m interested in helping. Where can we talk more about
specifics? Maybe enable Discussions in the GH repo?
Great news :)
> I feel like you’ve latched onto something that is genuinely a non problem…
I wouldn’t call complexity and lack of consistency a “non problem”, but it
sounds like for you the practical implications outweigh my
seemingly-somewhat-ideological/niche concerns. Is that a fair summary? In any
case,
> What you can do is turning it off globally in the setting (all compiler
> option are listed there)
>
> But take care: we can not recompile the image without optimzations as this
> adds intererrupt possibilities to code that was not
> interruptable before, which breaks the code in for process sw
> My chief concern is that I am a bear of very little brain,
> and if you change the meaning of #isNil to anything at all
> other than "is the receiver identical to nil" you *WILL*
> (not may) confuse me.
I can understand your probably well-justified concern that power can always be
misused. I
> My *concern* with inlining is that since it is designed to short-circuit
> dynamic method lookup, it is impossible to call a *different* implementation.
> That is, you lose the opportunity to have the *receiver* decide how to
> respond to the message. You may think of it as a message, but the
> if you are using the null object pattern then you should not write those
> checks (ifNil:ifNotNil:, isNil, isNotNil). you should send the message to
> an instance of the null object and that object should decide what to do.
> just an opinion.
I agree as a general rule, but it can get complicated
> To start with, why do you CARE whether a particular
> method is inlined or not?
I care because it makes “everything is a message” a lie! And I suspect (no
proof and could be wrong) it’s an optimization that only made sense with the
hardware constraints of 40+ years ago. Arguing against prematu
I had some chaining that was getting too complex due to many nil checks, so I
started to refactor using a Null Object.
However, I’m struggling a bit with the refactor due to inlining. Since #ifNil:
variants might be inlined, it seems that something like:
anObject with a long chain of messag
ComplexCondition as described in [Andres Valloud, "A Mentoring Course on
Smalltalk"](http://www.lulu.com/product/paperback/a-mentoring-course-on-smalltalk/3788890)
is available at http://www.squeaksource.com/ComplexCondition.html
With it, you can do something like:
```
^[a includes: $.], [b inc
Marcus Denker wrote:
> There are experiments around, for example
>
> https://github.com/dvmason/Pharo-Functional
And https://github.com/juliendelplanque/Iterators, which let’s you do for
example:
```
iterator := #(1 2 3) iterator.
iterator
| [ :x | x * 2 ] collectIt
| [ :object
Thanks! Sounds cool…
I thought the question was how to install/duplicate the trait methods on each
client (maybe for a deployment image without Traits). I had the same question.
Doesn’t the suggestion remove the trait completely or am I missing something?
Wow! What a trip down memory lane and I learned some I didn’t know as well.
This thread is inspiring in itself :) And I agree with all those named and that
there are many more unnamed!
Cool :)
eftomi wrote
> I solved a couple of issues...
Thanks, Tomaz! DB access is so important for many business uses...
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
st use Metacello...
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Noury Bouraqadi-2 wrote
> All PharoJS tests are now green on Pharo 9.
Awesome!!!
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Long Haired David wrote
> bucketList := fileDirectory children.
How many items are in `bucketList`?
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
UI by
typing e.g. `asComponent` into the search bar and choosing "In this
repository"
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
beReadOnly;
beRequired;
yourself
p.s. happy to discuss here, but we also added a discussion place to the GH
repo: https://github.com/magritte-metamodel/magritte/discussions
p.p.s. there is a Magritte ML, but it doesn't get much traffic
-
Cheers,
Sean
--
Sent from: http
nt printString.
to:
aStream
nextPutAll: ' with value: ';
nextPutAll: count printString
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
e also because I'm swamped the next few
weeks...
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
don't get an answer here...
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Jan Blizničenko wrote
> ...HtmlDiv...
Cool :) I've often felt a suspicion that the lack of logical HTML domain
objects leaves a hole in the possibilities for declarative style / meta info
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
perience.
I'm happy to help.
NB I have maintained and extended the library, but it is the work of Ramon
Leon
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
he SM-2 creator's website and played
with Anki a bit. It's been on my endless TODOs to do something simple like
Anki in Pharo...
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
eck out the repo you mentioned. I had
also started something basic, but IIRC didn't get far into the algorithm
yet...
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
;s just too hard to see all the way into the future.
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Esteban A. Maringolo wrote
> Thanks for the reference. I'll look into it!
>> I know that Sean D has wrapped the Tesseract OCR library:
>> https://github.com/seandenigris/Tesseract-St
Esteban, I did a little work getting it working in Pharo 8 and adding an
example. Check
Stéphane Ducasse wrote:
> refrain from using respondTo:
> I make code difficult to evolve and can introduce vicious bugs.
Steph, would you say more about this? It’s something I’ve been wondering about.
I was recently reading the Strategy pattern in the Smalltalk Companion to the
GOF book. On
Marcus Denker-4 wrote
> We are updating the mailinglists (everything https://lists.pharo.org/
> <https://lists.pharo.org/>;)
Thanks, Marcus - all this logistical stuff gets no glory but is so important
:)
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Us
he code
browser. Different toolsets themselves mean different trade offs. There are
no one size fits all answers for all time. There are principles that have to
be negotiated with your current environment, use case, experience level,
team size...
-
Cheers,
Sean
--
Sent from: http://forum.worl
want to lose**
Since you didn't check out any packages, the code loaded in Pharo didn't
change. In essence, you just synced Iceberg with the filesystem/git
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Esteban A. Maringolo wrote
> so I add how do I get the IceLibgitRepository
> instance? (given I provide the name).
I got it via Iceberg contextMenu -> Extra -> Inspect, which works via the UI
but maybe you're looking for a programmatic way?
-
Cheers,
Sean
-
his was available and think it would've
come in handy a few times :)
teso...@gmail.com wrote
> The image knows at any moment the commit it has loaded (or it supposed
> to have loaded).
For posterity, that info can be accessed via e.g. `anIceLibgitRepository
workingCopy referenceCommit sh
Offray Vladimir Luna Cárdenas-2 wrote
> Grafoscopio [1] has been ported to Pharo8.x and Git.
Great news :)
Are you using Iceberg?
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Thanks for the ideas. I guess I'll stick with #1 for now, but I documented
the others and appreciated the interesting conversation :)
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
rray.
"3." ((2 raisedTo: shift) - 1) bitInvert32 asByteArray.
"4." (((2 raisedTo: cidr) - 1) bitShift: shift) asByteArray
1. https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
2. `#nextCodePointFromStream:` does `stream next` and gets `nil`, which
leads to the error being signaled.
Any ideas, explanations, (or especially) workarounds?
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
ted collections.
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
ng what you read the moment you are done, or worse - getting to the
end and realizing you have no idea WTH you just read :)
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
problem IMHO is
the ugly Monticello SCM hack hijacking *logical* categories to use for
packaging, which is an orthogonal concern. Here is a a fuller description
from a previous thread [1]:
Sean P. DeNigris wrote
>> we have overloaded system categories to package code for SCM. System
>>
ick: Everyone please use the secure URL i.e.
https://pharo.org/download
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
I used Pharo to turn an iPhone into a tethered remote control for apps on my
Macbook Pro. Code available on GitHub. Here's a video in case anyone finds
it interesting: https://youtu.be/z59FWpv4_GA
NB: Could be made wireless with a Duet Display Air subscription.
-
Cheers,
Sean
--
Sent
, and don't have the luxury of extra resources available for
worthy but lower-priority things like this. Of course anyone - or group -
for which this is a higher priority, could do just that. It would be like
Grease, but for Ph2Ph I guess...
-----
Cheers,
Sean
--
Sent from: http://foru
her so I am sure there will be plenty of support...
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
7;s catalog for free ;)
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
ectiveness of the strategy, these threads usually IMHO have the feel of a
holy war from the camp touching the "Pharo = ST" part of the elephant.
In the unlikely event that anyone is still reading this, I'll paste my
longer explanation from a similar 2015 thread [1]
Sean P. DeNigr
fferent.
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
ntire pile of great
advice in one day! Come back to this thread after a year of practice and
you'll likely be shocked how much more sense these comments make :)
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
f course
we'll own the maintenance. That said, as you pointed out, bugs seem to be
more severe and difficult to diagnose, so we'll see how it goes as FFI use
becomes more and more common...
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Pierce Ng-3 wrote
> Also I saw hoedown's wiki page on bindings and thought I'd put Smalltalk
> on the map there.
Great!
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Pharo Smalltalk Users mailing list wrote
>I made some changes. Is this better or are there still some code
> smells.
I don't have time for an in-depth review, but I skimmed it and it seems
better.
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Use
#splitOn: was sent to nil'
from IntComputer class>>#readRam:. To reproduce, do `IntComputer solution`"
This way we don't have to go hunting for an entry point, which will stop
many (busy) people from even trying!
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
omain, but two straightforward solutions might be:
1. self isDeploymentMode ifTrue: [ "change data" ]
2. or, self sanitizationStrategy: (NoSanitization | ProductionSanitization)
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
rent version
10.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
1252.50.4)
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version
7.0.0)
Still investigating...
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
ackage/PEGParser.extension/class/grammarEmail.st
3.
https://github.com/seandenigris/Xtreams-Pharo/blob/master/repository/Xtreams-Email.package/PEGParserEmailTest.class/instance/setUp.st
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
d add that to the docs. I'll have a go after I figure
this error out. In my case, restarting did not help :/
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
tecture: x86_64
[1] https://github.com/badetitou/Pharo-LibVLC/issues/1
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
this with another project? Would it help porting from one version of Pharo
to another?
[1]
https://www.youtube.com/watch?v=XrOdlwtVfMM&list=PLJ5nSnWzQXi8DPNpy1jCkjE4yE0WUtDP2&index=20
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
://www.vpri.org/pdf/m2008001_parseback.pdf
[2] https://stackoverflow.com/a/9443024/424245
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
;)
Also interesting! Any publicly available examples? How does one load "Google
chrome pharo integration"? Also, there is often the "poor man's" way (albeit
requiring manual intervention) by inspecting the Ajax http requests in a
developer console and then recreating directly in Ph
horrido wrote
> https://jrmpc.ca/2019/11/07/green-light-for-jrmpc/
Congrats! Your persistence is inspiring :)
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Alejandro Infante wrote
> I agree with the previous suggestions and use Fuel or STON.
+1. Either of these methods is pretty much a one-liner. The main hiccup with
Fuel is installing the same Fuel version in both the source and target
images.
-
Cheers,
Sean
--
Sent from: h
Sven Van Caekenberghe-2 wrote
> You could try to serialise/deserialise your data with... FUEL (binary).
If you use Fuel, this may help:
https://github.com/seandenigris/pharo/wiki/Cookbook#fuel-migration
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
gcotelli wrote
> I don't know if call it canonical. But certainly it is the version the
> community is maintaining.
That works for me. I guess I'll re-fork from there. Hopefully, some of the
other repo owners will speak up as to whether they have useful changes to
pick up.
--
To slightly further complicate matters, canonical does not quite have all
commits from its predecessor.
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
the GH
README that it's a port, including the URL of the source and a way to
clarify the last commit (maybe the date could often be sufficient)
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
spec
repository:
'github://dtlewis290/OSProcess-Tonel';
loads: #(#'Core with Output') ]
I wonder if it's related to the old circular dependency problem we had which
IIRC was resolved with "Pipeability&qu
Sean P. DeNigris wrote
> ...to the GH README
Also:
- you can disable the GH issue tracker if you don't want reports there
- you don't need the code subfolder (src) in the URL since you have project
metadata
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-U
t might be good to add that disclaimer and the location of the canonical
repo to the GH README. Also, does anyone know whether, after loading from
GH, one can make enhancements and then simply save to an MCZ repo?
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
lly implemented to be the same as #printString,
the meaning for me is a bit different, which is "what this object converted
to a string means in my domain"
That said, IMHO as a community we are not great about properly
distinguishing these, especially #displayString.
-
Cheers,
Sean
--
Se
sks as
experiments get more exotic or delve deeper into the kernel), not
deployment. Crashing may be less of an issue now for professional use since
there is a development/deployment distinction, unlike historically and in a
pure Dynabook vision where all users are developers.
-
Cheers,
Sean
-
w browser with the method
> selected (same works for the other 3 browser panes).
Ah, nice one!
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
ward to show
a window with all the commands/shortcuts/mouse-gestures? IIRC we had
something like this in the past.
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
er-hub, but it didn't seem
very comprehensive. Also, is there a tool to auto-implement the spec in
Pharo?
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Esteban A. Maringolo wrote
> AFAIU FB uses GraphQL.
> Otherwise we'll have to build it our own.
There was just a thread on Discord. It seemed like there are at least 2-3
GraphQL implementations.
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Petter Egesund wrote
> Hi, nice to meet you all :)
Code submission is a wonderful way to meet ha ha. Thanks!
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
reach twice in a few years
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
7;m missing
something...
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
ps://github.com/seandenigris/pharo/wiki
NB it was written for my personal use so it may be rough around the edges.
Feel free to ask questions if I can clarify anything.
-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
YannLesage wrote
> Can you open an another thread to talk about guns and stay on
> inconsistency
> issue here ?
I fear better yet keep emotional non-programming-related issues elsewhere
entirely. Nothing can be accomplished here except to weaken and distract our
community.
-
Che
How would I do the following with the new streams (was working in 6.1, now
"Instance of ZnCharacterReadStream did not understand #converter:"):
aFileRef readStreamDo: [ :str |
str
converter: ISO88592TextConverter new;
upToEnd ].
-
Ch
Tim Mackinnon wrote
> there is an alternative you can load in that does a better job - Mirage ,
Wow, looks cool! Didn't know about that
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Guillermo Polito wrote
> $git log —follow
Didn't know about that one. Thanks! I'll try and report back...
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
at that point
5. Follow back to "rename code subfolder"
6. Repeat steps 3 - 5 as necessary until I find the version I need or
"initial commit porting from StHub!"
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
RelativePath withAll: oldPath segments
allButFirst.
fixedLocation := FileLocator imageDirectory withPath:
newPath.
e location: fixedLocation ]
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
1 - 100 of 905 matches
Mail list logo