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,
>
> 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.
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 th
lt;
pharo-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, a
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 mi
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 mys
> 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
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 collection
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
mul
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, 20
> Other than humans generally read from
(pardon me)
Other than that the code is read from left to right...
> 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
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 http://wiki.squeak.org/s
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 Agile Visualization. Agil
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 2016, at 17:49, Esteban Lo
alhost network again?
>
> frank
>
> On 2 March 2016 at 08:27, Chris Muller wrote:
>> 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 assume the mock object does not exercise any real network code or primitives.
On Wed, Mar 2, 2016 at 2:43 PM, Norbert Hartl wrote:
>
>> Am 02.03.2016 um 17:27 schrieb Chris Muller :
>>
>> A mock network will never test as thoroughly as locahost network..
>>
> Why?
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
> requests are handled by
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 image"
> 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..."
:)
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 memo
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 your
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 fac
On Mon, Jul 27, 2015 at 8:42 AM, Igor Stasenko 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
> correctly, and i
> 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 didn'
On Mon, Feb 9, 2015 at 3:05 PM, stepharo 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 that.
You u
Hi Stef,
On Sun, Jan 18, 2015 at 5:15 AM, stepharo 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
grown into someth
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++, becau
> 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
> 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 mist
MCRepository>>#storeVersion:.
Those are Flaps, not DockingBars.
On Fri, Jul 25, 2014 at 12:48 AM, Peter Uhnák 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, Alexandre Bergel > w
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 sessio
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
wrote:
>
> Le 30 mai 2014 à 09:39,
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 belongs
On Thu, May 22, 2014 at 2:50 AM, stepharo 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 default PI
configu
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
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 wrote:
> One of the big issues I have with Pharo is that I’m stuck on a single screen,
> unlike Cincom Smalltalk tha
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
On Fri, Apr 25, 2014 at 5:01 AM, askoh 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 the same a
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 o
When the hand enters a Morph, a help balloon appears, not instantly,
but after a time elapsed.
On Thu, Jan 23, 2014 at 12:39 AM, Sean P. DeNigris
wrote:
> Is anyone using them? What is a real world use case? I've read through the
> class comment, senders (currently seems to be only DebuggerSessio
>> Undo on Command+L would be of no use except for people pressing
>> buttons before thinking. That needs to be corrected to, "think first,
>> THEN press buttons." :)
>
> Which goes in front collision course with the usability principle "Don't
> make me think" for designing great user interfaces
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
>
>
> 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
>
>
> 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 b
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
wrote:
> Hi!
>
> I have seen that AthensPolygonTester may do the job somehow.
> How can I test whether a point is included in a p
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 par
On Sun, Nov 24, 2013 at 9:34 AM, Sean P. DeNigris 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. People need to be
> 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 slot
How does this affect serialization / materialization engines like Fuel?
On Thu, Nov 21, 2013 at 7:24 AM, Camille Teruel
wrote:
>
> On 21 nov. 2013, at 13:44, kilon alios wrote:
>
> any links why newcomers like me should be impressed ? Whats the advantages ?
>
>
> That's just cleaning. The old cl
be both a file and a stream? I would be happy to show that a rewrite is both
> simple and good looking at end application sites.
> Of course, inside the lava of multi year hacked stream hierarchy, it might
> be a bit less obvious to disentangle the spaghetti.
> Hence more radical soluti
ne final thing to consider about selector "uniformity" is how it can
negate the ability to effectively trace code (via senders and
implementors). Wow, how many senders of #next...?
Stream-composition is cool, though, and I understand that to be a
benefit of the stricter API.
> 2013/11/13
a
> higher level object (a FIleReference, FileDirectory or whatever).
>
>
> 2013/11/13 Chris Muller
>>
>> On Tue, Nov 12, 2013 at 7:31 AM, Nicolas Cellier
>> wrote:
>> > It's just a matter of selecting a strategy. I've proposed two:
>> > A)
On Tue, Nov 12, 2013 at 7:31 AM, Nicolas Cellier
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 extensions for Legacy Stream compatibility selectors
> My preference goes to A)
By wrappers yo
Date today mmdd. "prints '2013-10-30'"
:)
On Wed, Oct 30, 2013 at 3:55 PM, blake 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 convention). In
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 wrote:
> I’m working on project that deals with server to server communication. For
> the te
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 Uzony
Hi,
>> That's why I use Squeak's MessageTrace, it handles this better than
>> anything else in any Smalltalk. It is a "lightweight" way, in terms
>> of gestures and UI elements, to trace through code without getting
>> lost. I wish Pharo would consider implementing a tool like this.
>
> Can you
On Fri, May 17, 2013 at 6:27 AM, dimitris chloupis 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 that when a functio
> ... snip
> Being reasonable programmers and not kids wanted to plug anything anyhow
> is the way to build nice system (and polymorphic objects).
Yes, absolutely, but that is totally independent of whether reflective
capabilities still exist in the system.
Hey, maybe after #respondsTo: is remove
One of the most innovative concepts Smalltalk brought as a language in
the 1970's is the notion of sending messages. I don't think removing
#respondsTo: will help cure bad code. For a system as capable as
Pharo, to go far with it, I just don't think there's any way around
the need for students to
62 matches
Mail list logo