Latest Posts

PharoJS Talk at ESUG Smalltalk Conference

PharoJS ESUG 2019 Update

I gave a short presentation at the ESUG 2019 Smalltalk conference that was held this year in Cologne, Germany. In this talk, I made a summary of main PharoJS changes and improvements done during the last 12 months. This includes a more robust test framework to run and test Javascript  code generated from Pharo code. When running such tests, PharoJS does open a web browser, and control the execution of the JS code as shown in the video below. You ...
stop wasting water

How Much Water Do We Waste Until the Shower is Hot Enough?

My friend Eric and I both noticed that on each shower, we have to wait few minutes until water is hot enough. During all this time water is pouring directly to the drain. We agreed that we need to do something about it.Before taking action, I thought that I need first to measure how much water is actually wasted by my family (4 people). So, I did a little experiment presented in the video below. The process is simple ...
polygon-based SLAM algorithm for robotic exploration

Polygon-Based 2D SLAM for Robotic Exploration

Johann Dichtl successfully defended his PhD, that I've co-supervised with Luc Fabresse and Guillaume Lozenguez. The defense took place this tuesday July 2nd, 2019 morning. The jury members were: Prof. Ouiddad Labbani from Université de Limoges, Dr. Mikal Ziane, HdR, from Université Paris Descartes, and Dr. Laetitia Matignon from Université Claude Bernard, Lyon 1.Title"On 2D SLAM for Large Indoor Spaces: A Polygon-based Solution"SummaryIndoor SLAM (Simultaneous Localization And Mapping) and exploration are important topics in robotics. Most solutions today work with ...
Useful 3D Print Kitchen Sponge Hook

Useful 3D Prints: Kitchen Sponge Holder Hook

One of my motivations to 3D printing is home repair and improvement. In this small project, I decided to use polypanels to make a flexible, yet robust hook for a sponge holder in my kitchen. Starting from polypanel snaps provided freely available online (Thanks Devin). STL design files are freely available on my thingiverse page ...
Observer Design Pattern implementation in Pharo

Observer Pattern Made Easy with Pharo Lightweight Observer

Lightweight Observer is an alternative to Announcement, the default Pharo  implementation of the Observer Design Pattern. I started developing Lightweight Observer because I needed a small framework, with an implementation that can be easily converted to Javascript using PharoJS. I also wanted to be straight forward to use. I had in mind beginners such as my students who often struggle when faced with many concepts and entities. This is why by default, the Lightweight Observer generates code behind the scene ...
arduino projects for cats

Arduino-Based Toys for Playful Cats: 3 Week-End Projects

In this selection of simple week-end projects, we target our furry friends. We provide a selection of three cool DIY projects using Arduino boards. Cats will love these electronic toys. They will cost you only few bucks, for hours of fun and laughter with your pet. Checkout the videos. They are hilarious!The first project is basically a ball hide and seek game. You hide some balls around and the cat has to go fetch them (see Video 1). Once a ...
farmers market pharojs mobile app

Farmers Market App: Find Fresh Locally Grown Food

If you care both about the planet and your health, the Farmers Market app is for you! This app allows you to find nearby markets, where you can buy fresh food directly from farmers. Most of the produce are grown locally. This means less fuel for transportation. So, by buying locally grown food you contribute to reduce CO2 emissions. You can even exercise: just walk to the market or ride a bicycle! The Farmers Market app makes eating healthy rime ...
Green Web Server

Green Websites: Solutions for a CO2 Free Internet

Green websites is the way to go for a carbon free Internet. By going green, content providers will contribute to fight climate change. The impact will be significant since the Internet energy consumption is ever growing. The communications industry could use 20% of all the world’s electricity by 2025, hampering global attempts to meet climate change targets and straining grids as demand by power-hungry server farms storing digital data from billions of smartphones, tablets and internet-connected devices grows exponentially. -- ...
smartphone Gps App New York

iOS Current Location Usage Description in Cordova

Providing a clear location usage description is critical to have your iOS app approved. With the default settings of the Apache Cordova location plugin cordova-plugin-geolocation, your app is likely to be rejected by Apple. I experienced this first hand with the iOS version of the Farmers Market app. Apple reviewers sent me the following message: Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage We noticed that your app requests the user’s consent to access their location, but ...
Large 3D printed pharo lighthouse

How to Make a Large Lighthouse Using a Cheap 3D Printer

As a Pharo addict, making a 3D printed lighthouse is a fun week-end project. This idea is even more attractive. It's a project that goes beyond what can be done using a small 3D printer, with a single extruder. The requirement are the following:
  • The lighthouse can be taller than the maximum printing height.
  • The height should be easy to change, without a CAD sofware.
  • Combine at least 3 colors.
  • Minimize wasted  time and  filament in case of a ...
nootrix logo learn code make