Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Set as Cover Page of Book
    • License
    • Show TOC
    • Transcluded
    • OER program or Publisher
    • Autonumber Section Headings
    • License Version
    • Print CSS
  • Include attachments
Searching in
About 176 results
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Deep_into_Pharo_(Bergel_Cassou_Ducasse_and_Laval)/16%3A_Profiling_Applications/16.08%3A_SpaceTally_for_Memory_Consumption_per_Class
    The expression SpaceTally new printSpaceAnalysis runs over all the classes of the system and gathers for each of them its code size, the amount of instances and the total memory space taken by the ins...The expression SpaceTally new printSpaceAnalysis runs over all the classes of the system and gathers for each of them its code size, the amount of instances and the total memory space taken by the instances. The inst space column is the amount of bytes consumed by all the instances, including the object header. The percentage of the memory occupation is given by the column percent and the last column gives the average size of instances.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Deep_into_Pharo_(Bergel_Cassou_Ducasse_and_Laval)/11%3A_Scripting_Visualizations_with_Mondrian/11.11%3A_Events
    To associate a particular action to an event, a handler has to be defined on the object interaction. view shape rectangle width: [ :each | each instVarNames size * 5 ]; height: [ :each | each methods ...To associate a particular action to an event, a handler has to be defined on the object interaction. view shape rectangle width: [ :each | each instVarNames size * 5 ]; height: [ :each | each methods size ]; if: #hasAbstractMethods fillColor: Color lightRed; if: [:cls | cls methods anySatisfy: #isAbstract ] fillColor: Color red. The object that triggered the event is obtained by sending modelElement to the event object.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Deep_into_Pharo_(Bergel_Cassou_Ducasse_and_Laval)/10%3A_Agile_Visualization_with_Roassal/10.08%3A_Understanding_a_Views_Camera
    The minimap is composed of a smaller version of the visualization and a lupa (magnifying glass), which represents the current visible part of the main view’s window. When the view is translated to a p...The minimap is composed of a smaller version of the visualization and a lupa (magnifying glass), which represents the current visible part of the main view’s window. When the view is translated to a point, the magnifier follows it by changing its position: the point representing the camera position is translated to a point on the ROMiniMapDisplayer camera extent. And when the view is zoomed in or zoomed out the extent of the camera is changed, increasing or decreasing the magnifier’s size.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Deep_into_Pharo_(Bergel_Cassou_Ducasse_and_Laval)/12%3A_Handling_Exceptions/12.05%3A_Error_Codes__Don't_Do_This
    Error codes are also fragile in the face of evolution: if new error codes are added, then all clients must be adapted to take the new codes into account. Not only must we check error codes at each poi...Error codes are also fragile in the face of evolution: if new error codes are added, then all clients must be adapted to take the new codes into account. Not only must we check error codes at each point that something might go wrong, but we must also be prepared to cleanup any operations performed up to that point and abort the rest of the code.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Deep_into_Pharo_(Bergel_Cassou_Ducasse_and_Laval)/06%3A_Versioning_Your_Code_with_Monticello/6.04%3A_Advanced_Topics
    This will commit a new version of NewPerfect-All which then requires the new version of NewPerfect-Tests. (It will also depend on the existing, unmodified version of NewPerfect-Extensions.) Loading th...This will commit a new version of NewPerfect-All which then requires the new version of NewPerfect-Tests. (It will also depend on the existing, unmodified version of NewPerfect-Extensions.) Loading the latest version of NewPerfect-All will also load the latest version of the required packages.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Deep_into_Pharo_(Bergel_Cassou_Ducasse_and_Laval)/13%3A_Blocks__A_Detailed_Analysis/13.06%3A_Message_Execution
    When no class in the superclass chain can understand the message, the VM sends the message doesNotUnderstand: to the receiver so that the error can be handled in a manner appropriate to that object. T...When no class in the superclass chain can understand the message, the VM sends the message doesNotUnderstand: to the receiver so that the error can be handled in a manner appropriate to that object. The execution state before the message send must be remembered because the instructions after the message send must be executed when the message returns. The actual value of the variable is not stored in the block context but in the defining method context, also known as home context.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Deep_into_Pharo_(Bergel_Cassou_Ducasse_and_Laval)/16%3A_Profiling_Applications/16.01%3A_What_Does_Profiling_Mean
    It is interesting to observe that a program execution usually follows the universal 80-20 rule: only a few amount of the total amount of methods (let’s say 20%) consume the largest part of the availab...It is interesting to observe that a program execution usually follows the universal 80-20 rule: only a few amount of the total amount of methods (let’s say 20%) consume the largest part of the available resources (80% of memory and CPU consumption). In this chapter we will see how to use the available tools to quickly identify these 20% of methods and how to measure the progress coming along the program enhancements we bring.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Deep_into_Pharo_(Bergel_Cassou_Ducasse_and_Laval)/10%3A_Agile_Visualization_with_Roassal/10.02%3A_Roassal_Core_Model
    The root of each visualization is an instance of the class ROView, which is the container for all the graphical components to be rendered. To make the graphical element responsive with an event, a blo...The root of each visualization is an instance of the class ROView, which is the container for all the graphical components to be rendered. To make the graphical element responsive with an event, a block has to be associated to an event class and attached to the graphical element. For example, the mouse movement in pixels needs to be projected in the plan of the element and the visualization needs to be refreshed.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Deep_into_Pharo_(Bergel_Cassou_Ducasse_and_Laval)/05%3A_Regular_Expressions_in_Pharo/5.03%3A_Regex_Syntax
    '0' matchesRegex: '(0|((\+|-)?[1-9]\d*))(\.\d+)?' → true '0.9' matchesRegex: '(0|((\+|-)?[1-9]\d*))(\.\d+)?' → true '3.14' matchesRegex: '(0|((\+|-)?[1-9]\d*))(\.\d+)?' → true '-42' matchesRegex: '(0|...'0' matchesRegex: '(0|((\+|-)?[1-9]\d*))(\.\d+)?' → true '0.9' matchesRegex: '(0|((\+|-)?[1-9]\d*))(\.\d+)?' → true '3.14' matchesRegex: '(0|((\+|-)?[1-9]\d*))(\.\d+)?' → true '-42' matchesRegex: '(0|((\+|-)?[1-9]\d*))(\.\d+)?' → true '2.' matchesRegex: '(0|((\+|-)?[1-9]\d*))(\.\d+)?' → false "need digits after ."
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Deep_into_Pharo_(Bergel_Cassou_Ducasse_and_Laval)/07%3A_Gofer__Scripting_Package_Loading/7.01%3A_Preamble_-_Package_Management_System
    A package can extend a class defined in another package: it means, for example, that a package Network can add methods to the class String, even though String is not defined in the package Network. We...A package can extend a class defined in another package: it means, for example, that a package Network can add methods to the class String, even though String is not defined in the package Network. We also define the following terms: image (object and bytecode executed by the virtual machine), loaded package (downloaded package from a server that is loaded in memory), dirty package (a loaded package with unsaved modifications).
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Deep_into_Pharo_(Bergel_Cassou_Ducasse_and_Laval)/zz%3A_Back_Matter/11%3A_Biographies
    Alexandre has authored over 60 articles, published in international and peer reviewed scientific forums, including the most competitive conferences and journals in the field of software engineering. D...Alexandre has authored over 60 articles, published in international and peer reviewed scientific forums, including the most competitive conferences and journals in the field of software engineering. Damien Cassou 2 is an associate professor (maître de conférences) at the University of Lille 1, France, and a member of the RMoD research group (Inria, LIFL). He is one of the developers of Pharo and he collaborated on the Pharo by Example book.

Support Center

How can we help?