On Fri, May 17, 2013 at 6:27 AM, dimitris chloupis theki...@yahoo.co.uk wrote:
I really enjoy smalltalk, every small thing that I discover every day.
But there is one thing that really annoys me. The bold claim that small
functions do not need comments.
There is of course a level of truth
We should not continue this old discussion. We've already debated
this ad naseum. Thank you Pharo guys for exploring what can be done
when all constraints are removed! Thank you Squeak guys for advancing
in a way that caters to legacy applications.
On Fri, Oct 25, 2013 at 1:25 PM, Levente
Testing with real sockets, across multiple images is the only way I
would trust my own networking programs. OSProcess makes that an easy,
one-click affair.
On Mon, Oct 28, 2013 at 5:50 PM, Norbert Hartl norb...@hartl.name wrote:
I’m working on project that deals with server to server
Date today mmdd. prints '2013-10-30'
:)
On Wed, Oct 30, 2013 at 3:55 PM, blake dsblakewat...@gmail.com wrote:
Heya, guys--
Converting a Ruby program to Pharo, and one of the things this program does
is write a file out by date. The format is mmdd (which is my preferred
naming
or whatever).
2013/11/13 Chris Muller asquea...@gmail.com
On Tue, Nov 12, 2013 at 7:31 AM, Nicolas Cellier
nicolas.cellier.aka.n...@gmail.com wrote:
It's just a matter of selecting a strategy. I've proposed two:
A) create a wrapper class for legacy Stream compatibility selectors
B) create
:48, Chris Muller asquea...@gmail.com wrote:
I know nothing about Xtreams but, IMO, this obsession with sterility
borders on mental illness.
All sort of un-needed complexity? That's overstating it a bit,
don't you think?
So you must really feel stressed that ALL Object's, in fact, have
How does this affect serialization / materialization engines like Fuel?
On Thu, Nov 21, 2013 at 7:24 AM, Camille Teruel
camille.ter...@gmail.com wrote:
On 21 nov. 2013, at 13:44, kilon alios kilon.al...@gmail.com wrote:
any links why newcomers like me should be impressed ? Whats the
Just two examples:
- Morphic uses a dictionary to allow extensions to add attributes to the
base class. This is closed-world-based-assumption thinking because I have to
know in advance what parts will be extended by someone else. This should be
easily changeable with slots given that slots
On Sun, Nov 24, 2013 at 9:34 AM, Sean P. DeNigris s...@clipperadams.com wrote:
Stephan Eggermont wrote
We need to revert to the modal behavior
In general in UIs, he best approach is to do what the user requests without
hesitation, and make everything undoable.
Ah, thanks for saying that.
On Sun, Dec 15, 2013 at 2:29 PM, Hernán Morales Durand
hernan.mora...@gmail.com wrote:
El 15/12/2013 13:30, Alexandre Bergel escribió:
Hi Hernan,
In that case, I suggest you to define your own builder to build the
matrix you need.
I have given a try, but I cannot properly parse your
This helped me with a related problem once.
http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html
On Sat, Dec 14, 2013 at 1:46 PM, Alexandre Bergel
alexandre.ber...@me.comwrote:
Hi!
I have seen that AthensPolygonTester may do the job somehow.
How can I test whether a
If you use Gmail, doing the right thing is now _hard_. (It's a
click-the-ellipsis, then a find-the-place-to-edit, then hit return to
No need for the fine-motor click, just use right-arrow + Enter.
make a space for your words, then type, followed by scrolling back up
to that place because
Ah. I hadn't thought that many devs actually use the web UI for gmail, but
perhaps they are :)
But that would defeat one of the primary purpose of using web email which
is access from any machine.
Besides that, Gmail has the best UI, bar none. The handling of
Conversations is what sets it
I finally read this whole thread. I don't normally get involved in
Pharo discussions but, I can't help to say: Igor is 100% right, and
his best rationale why at the beginning:
==
at the end, it is just silly: the point is that i am always sure about
things i do, when interacting with my
I totally agreed with Apple is a product-driven company, not a
computing-driven company.
But part of the irony of his post occurs between his first and last statements:
First statement: When most programmers are introduced to Objective
C for the first time, they often recoil in some degree of
On Fri, Apr 25, 2014 at 5:01 AM, askoh as...@askoh.com wrote:
Thanks for all the comments. Let me distilled what I have learned. Correct me
if I am wrong.
In Smalltalk:
Production environment and development environment are very similar if not
identical.
The environments on my laptop are
You could answer a copy of the collection, so it won't matter
internally if they try to add to it. Or you could wrap the collection
with operations too.
However, doing that, I suppose someone could still write, (someObject
instVarNamed: 'internalCollection') add: junk. So, why bother?
Writing
As one begins to expand their work into multiple images, one host
window per ends up being the only practical way to keep it managed.
On Thu, May 15, 2014 at 1:21 PM, David Astels dast...@icloud.com wrote:
One of the big issues I have with Pharo is that I’m stuck on a single screen,
unlike
One reason might be that Phratch is kind of redundant isn't it?
Smalltalk already has a foothold on the Pi in the form of Squeak, and
Tim Rowledge is being paid by that organization right now to improve
Scratch. So if you're interested in helping kids learn programming
with Scratch, why not check
On Thu, May 22, 2014 at 2:50 AM, stepharo steph...@free.fr wrote:
I think that Jannik started to clean to code long before tim and he is not
payed for that
so at least we should respect that and do not start to blame him about
redundancy.
Hi Stef, I'm talking about redundancy within the
I hope you're only considering this one-time for your Pharo release
image, and not something that will _continue_ to operating on an
on-going basis. Attempting to do that below app-layer would be way
too intrusive for, for example, a Magma application..A String read
from one DB session
This is a normal pattern in application-development. For example,
Todd Blanchard's HTML validating parser grabs a huge chunk of HTML,
and all the parts are simply referenced by position within that big
String.
On Mon, Jun 2, 2014 at 8:26 AM, Christophe Demarey
christophe.dema...@inria.fr wrote:
What specific problem are you having debugging? Stepping Through a
block which about to send message to a Proxy? It seems like I should
be having the same problem with Magma proxies.. I know sometimes I
would get a Simulation error while stepping Through (which would
blow up a debugging
Those are Flaps, not DockingBars.
On Fri, Jul 25, 2014 at 12:48 AM, Peter Uhnák i.uh...@gmail.com wrote:
Isn't DockingBar a Squeak thing? The little tabs things that would live
around the edges of the screen and you could grab morphs onto a canvas.
On Fri, Jul 25, 2014 at 2:06 AM,
Yes, performance seems to be the main use case. Fuel files of hundreds of MB
take a long time to load and save, even if you only change a single string.
One instance where this is relevant is the Moose model. They currently use
.mse files, which use a textual representation (if I’m not
I was working on a GenericYear that was intended to be used for DateAndTime
calculus - to be able to add and subtract an arbitrary number of years. The
class by itself would not know the days - it is an arbitrary (generic) Year.
It would only know the number of days when it is added (or
Hi Stef,
On Sun, Jan 18, 2015 at 5:15 AM, stepharo steph...@free.fr wrote:
For your information guille produced pharo images of 11k for simple
addition, 18k for large numbers.
Also Seaside counter application of about 500k.
Of course, the real trick is if those tiny images can actually be
It has been a while since I read the paper, but my memory is that
Slots lets you define features and/or constraints on inst-var's. For
example, assigning default values or restricting the set of valid
values.
This would probably be appealing for folks coming from languages like
Java or C++,
On Mon, Feb 9, 2015 at 3:05 PM, stepharo steph...@free.fr wrote:
Hi
a matrix has rowCount and columnCount and I was wondering if this api is the
way to get
the number of columns and rows of a matrix.
Would rowNumber and columnNumber be better?
I think rowCount is better than rowNumber for
Chris, didn't you do something about this in Squeak? It would be nice to
keep consistent if possible...
Yes, but no one liked it because it employed the Proxy design-pattern
and requires a become. Perhaps if I'd gotten it perfect the first
time it'd have been better-received. But, I
IMO, when you are talking about a type as primitive as a Date, then
there is nothing wrong with ifNil: checks. You wouldn't want to do
the same for Strings or Numbers. Date is right there with those.
More broadly, I feel there is nothing inherently wrong with case-logic
if it is TSTTCPW. In
On Mon, Jul 27, 2015 at 8:42 AM, Igor Stasenko siguc...@gmail.com wrote:
Nothing here is about things to fix,
but rather about how impossible to debug event handling in system that runs
and relies on very same events..
I had very annoying problem with mouse move handling and processing it
I generally agree about implicit type-conversions, but I don't really
think this one is all that implicit. String concatentation returns a
String, no exceptions.
By not having this for Strings actually led to Andreas getting bitten,
which is why it was added to Squeak. The "bite" comes when
If you are on Linux, there is a add-on package for OSProcess called
CommandShell which includes a class called RemoteTask. It lets you
fork a block of code to a separate OS thread and return the result to
the calling image via serialization (Fuel or other).
IIUC, it takes advantage of Linux
Good points. And, even if it all worked, would anyone still prefer
not to simply rebuild an image with all the code? IOW, wouldn't they
"trust" an image that was only built UP rather than one built up and
then partially torn down?
IMO, unloading is for the viewpoint of having an "ultimate
> translated from Yoda language:
>
> you will be a real Jedi when your code will load in one click!
In Yoda grammar:
"When, in one click, your code will load, then, and only then, a Jedi
will you be..."
:)
A mock network will never test as thoroughly as locahost network..
On Wed, Mar 2, 2016 at 6:32 AM, Yuriy Tymchuk wrote:
> HI, there is one thing in Ruby (on Rails) that I really like and it is a
> option to mock network. This means that when you run a test your network
>
I assume the mock object does not exercise any real network code or primitives.
On Wed, Mar 2, 2016 at 2:43 PM, Norbert Hartl <norb...@hartl.name> wrote:
>
>> Am 02.03.2016 um 17:27 schrieb Chris Muller <asquea...@gmail.com>:
>>
>> A mock network will never test
rk faults in your
> localhost network again?
>
> frank
>
> On 2 March 2016 at 08:27, Chris Muller <asquea...@gmail.com> wrote:
>> A mock network will never test as thoroughly as locahost network..
>>
>> On Wed, Mar 2, 2016 at 6:32 AM, Yuriy Tymchuk <yuriy.tymc
Congratulations!
On Thu, May 12, 2016 at 10:57 AM, Esteban Lorenzano wrote:
> Vote up!
>
> Reddit:
> https://www.reddit.com/r/programming/comments/4j1clo/pharo_50_the_immersive_pure_object_oriented/
>
> YC:
> https://news.ycombinator.com/item?id=11684285
>
>
> On 12 May
Finishing a book is hard. Your work and perseverence has elevated
this project to an amazing level. Congratulations, Alexandre.
On Sun, Aug 14, 2016 at 4:19 PM, Alexandre Bergel
wrote:
> Dear Colleagues and Friends,
>
> It is a great pleasure to announce the release of
Hey Igor, I was just messing around with this the other day; Levente
had the tersest incantation which worked on my fresh 14.04.4 install:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libuuid1:i386 libglu1-mesa:i386 libsm6:i386
(Documented at
> Wow, I just skimmed the messages section in the blue book and you're right.
> I think this is an omission and that it should be specified that keyword
> message receiver and arguments are evaluated strictly left-to-right. I don't
> know of a Smalltalk implementation that doesn't evaluate in
> Other than humans generally read from
(pardon me)
Other than that the code is read from left to right...
This discussion has limited its context to comparing *in-memory*
Dictionary implementations, where open-addressing has an advantage.
Using Magma reveals another context where chained Dictionary's can have
some advantages: When they're large, persistent, and shared in a
Despite the interleavement, the order of the grouped elements as they
occurred in the original collection could be preserved.
On Wed, Aug 15, 2018 at 6:34 AM, Damien Pollet wrote:
> The problem is, there isn't really an order to preserve in the first place,
> since even if the original
Getting the serialization working is a big step, good job.
If you can get
MaClientServerTestCase suite debug
to pass, then you should be nearly home free; the rest is mostly just
high-level stuff that builds on that so the rest of the port should go
fairly smoothly. Wow.
On Mon, Jan 22,
> Earlier, we’ve seen projects like Magma being overwhelmed by the number of
> needed changes,
I'm curious what you meant by this. I'm not aware of Magma ever
having been overwhelmed. Its design has made it easy to be one of the
most-available and consumable pieces of software for every version
GraphQL is da bomb, I would definitely recommend writing a client to access
their v4 API. You may not even need it, but Squeak will have a full
GraphQL parser and document validation and processing engine real soon
now. It's completely stand-alone, no dependencies, and I've kept
portability in
dev@lists.pharo.org> wrote:
> Hello,
>
> We have put a significant amount of effort on having an implementation of
> GraphQL for Pharo and VisualWorks. It even has a booklet.
>
> https://github.com/OBJECTSEMANTICS/GraphQL
>
> Cheers,
> Alexandre
>
> On Sep 26, 2019, at 7:56 PM,
I think of Beck's Rectangular Block as like a textual representation of
Scratch tiles. It's about presenting the code-structure, rather than
aligning text on tabs.
However, I do think his Indented Control Flow actually preserves
_horizontal_ space at the expense of vertical space. I've found
Symbols are often used as arguments to #perform:, I don't know if Pharo
ignores the initial hashmark (#) to allow browsing implementors but, if
not, that could be a reason.. :)
- Chris
On Tue, Jun 9, 2020 at 2:26 PM Stéphane Ducasse
wrote:
> Hi
>
> I would like to know what you think about
>
> You will never be able to invent the future if you do not want to have a
> future.
>
The future cannot be had, only the present.
Ron Teitelbaum made a clever solution to resisting memory-scanning attacks
when using private keys in an image. Upon asking KeyHolder holdKey:
yourPrivateKey, it forks off a while loop which generates a random sequence
of bytes (ByteArray) to encrypt yourPrivateKey with it. It then delays
100ms,
54 matches
Mail list logo