If you have a Windows ARM64 machine such as the Surface Pro X, chances are you may want to debug native ARM64 applications with it. However, as of today 2/12/2020, Windows does not support local debugging of ARM64 applications, but only remote debugging. Moreover, CMake projects cannot be configured to use remote debugging, or IContinue reading “Debugging CMake project on Windows ARM64 with Visual Studio”
Category Archives: data structures
A VM bug?… No, an image one
Today, some Pharo users asked why we have lost a nice feature in Mac OS X. In this operating system, it is possible to Cmd-Click on the title of a window, if the window represents an open document, a nice menu showing all the path to it appears. Also, the user can select to openContinue reading “A VM bug?… No, an image one”
Bisecting Pharo versions to find regressions
From time to time it happens that a bug is accidentally introduced and we realize it several versions later. If the cause of the bug is not clear, one good strategy is to find the piece of code change that introduced the bug, and engineer a test and fix from that change. If we haveContinue reading “Bisecting Pharo versions to find regressions”
How to play Sound in Pharo
This is a brief post on how to load the sound package, enable it and play some sound samples in Pharo 9.0. For Pharo 9.0, we fixed the sound support by refactoring and using SDL2 for enqueuing the playback of sound samples. The current version only supports sound playback, but it does not support yetContinue reading “How to play Sound in Pharo”
Implementing Indexes – Replacing the Dictionary
This is the fourth entry of the series about implementing full-text search indexes in Pharo. All started with the first entry Implementing Indexes – A Simple Index, where we present the need for having indexes in large images. Then, we have the second entry is Implementing Indexes – Who uses all my memory, where we analysed theContinue reading “Implementing Indexes – Replacing the Dictionary”
Implementing Indexes – Compressing the Trie
This is the third entry of the series about implementing full-text search indexes in Pharo. The second entry is Implementing Indexes – Who uses all my memory, where we analysed the first version and the problems it has. You can start reading from this post, but there are things that we have presented in the previousContinue reading “Implementing Indexes – Compressing the Trie”
Transcript: the misunderstood global
In this blog post, I will discuss why using Transcript can be really badly used. I will present that with some simple care we can develop modular solutions that are flexible and can take advantages of using Transcript without the inconvenients. As a general remark, if you want to log better use a real systemContinue reading “Transcript: the misunderstood global”
[Pharo features] Advanced run-time reflection
In this series of blog-posts, we are explaining in more detail the Pharo features described in https://pharo.org/features. The source code describes programs statically, but this perspective is insufficient if you want to fully understand the behavior of the computer system. The source code can, for example, describe a complex graph of data objects, although its concreteContinue reading “[Pharo features] Advanced run-time reflection”
About Blocks: Basics 101
This blog post is a first and short of a series where we will explore block-closures. This post will cover basic elements while the other will start to go over more semantical aspects using simple examples. This blog post is extracted from “Deep Into Pharo” and a new book under writing that will revisit chosenContinue reading “About Blocks: Basics 101”
Implementing Indexes – Who uses all my memory
This is the second entry of the series about implementing full-text search indexes in Pharo. The first entry is Implementing Indexes – A Simple Index. You can start reading from this post, but there are things that we have presented in the previous one. For example, how to install the Trie implementation. In the first entry,Continue reading “Implementing Indexes – Who uses all my memory”