Showing posts with label coding. Show all posts
Showing posts with label coding. Show all posts

Saturday, 11 July 2026

The world wins with happy developers

I just spent the last couple of days at the We Are Developers World Conference in Berlin with my team. Not surprisingly agentic AI was a big topic especially how the software development life cycle is being redefined along with the job of software development itself, what is worth measuring and what is not, and how different companies are tackling similar challenges.

My aim in this conference was not to gather technical details, but rather to look for inspiration to become a better manager, therefore several of the talks I decided to attend were about creating high performance teams, removing friction and improving developer experience. Time well spent.

Plus there is the possibility to watch all other talks online. In that sense, zero FOMO during the conference knowing everything will be available. Kudos to the organisers.


First published in LinkedIn

Sunday, 24 May 2026

Capture The Flag (CTF)

Last month I participated in a CTF event organised by the RR team in Indy through this platform, CyLab Security Academy. The challenges covered several categories and were organised in 6 levels, each level only made available if you solve at least 50% of the challenges in the previous level. While some challenges I could solve in a few minutes, others took much much longer. In fact I got stuck for days in a reverse engineering one. I ended up learning a fair bit about assembly and radare2 through The Official Radare2 Book and eventually cracked the challenge. However I ran out of time and could only complete one more challenge before the deadline. All in all, great experience. I decided to go solo instead of teaming up with someone else and managed to finish in the top 10th percentile of participants (~13th percentile of people who at least solved one challenge). Nothing like jumping into a new topic to see how many things you don't know...



Saturday, 7 February 2026

more html tools

Using AI I have created a landing page for whatever html tools I create in the future, even if they are only useful to myself. If curious, have a look at https://jccabrejas.github.io/




Saturday, 31 January 2026

Splitting images

Today I decided to scan an old album of photos from almost 30 years ago. To save some time and effort I started scanning the photos three at a time and then four at a time. Which of course means that photos need to be split later. For this I used this prompt with Gemini and it worked as a charm. First time I do not have to change anything in the code.

Build an artifact that lets me split a photo into several subphotos of equal size. 

There needs to be a field in which the user can select the photo (upload from computer or paste).

There needs to be a field with a template for name of resulting subphotos

Then the user has three options to split the photos:

3 photos horizontal split

3 photos vertical split

4 photos

After one of these three options is selected the user will be able to review the result before each photo is saved (some guidelines will be overimposed to the original photoo). It will be possible to adjust the guidelines horizontally and vertically as appropriate)

Once reviewed it will be possible for the user to download each single photo. The name of the files will include the template provided previously by the user plus a string with time stamp to avoid duplications and overwriting existing files.

No React.

__________________________________________________________



From this


to this






Saturday, 10 January 2026

HTML tools

I came across Useful patterns for building HTML tools by Simon Willison and found it very interesting so decided to give it a try at some point, ie today.

A colleague will be running the London marathon and looking into the training plan, I thought it would have been nice for the organizers to allow you to download an ics file rather than a pdf file (or both). Something you can add to your calendar with no effort. 

https://www.londonmarathonevents.co.uk/sites/default/files/2025-10/2026_TCSLM_Beginner_Training_Plan.pdf




So, enter html tools using Gemini. Needless to say, it took several iterations, so I really need to work on my prompts.

First prompt

Build an artifact that lets me open a pdf file. The file has a training plan to run a marathon and only pages 3 and 4 are relevant as they contain a table with the training plan. Pages 1 and 2 can be dismissed.

There needs to be a field in which the user can select the date of the marathon. The artifact will then generate calendar entries (ics file) for each day in the plan back from the date of the marathon. Each day is either a "Rest day" or a day in which you have to run or walk (or both). Rest days can be dismissed.

For each day in which there is a walk or run planned there is small text with a description.

It will be possible for the user to download those ics file. No React.

As an example, if the selected date is April 26 2026, then the plan will start 16 weeks before.

Second prompt

Dismiss the parsing logic and simply include the text in each cell of the table for running days

At this point I remembered that Excel can parse pdf into columns so I gave it a try (not perfect) and changed the prompt so that it would accept a slightly edited excel table (maybe I should have tried uploading the excel file instead)



Third prompt

ok, the parsing of the pdf file is not working. Instead of loading a pdf file, the user can paste an excel table. First column has week number, columns 2 to 8 have plans for each day of the week

Fourth prompt

That did not quite work. Each cell has text delimited with inverted commas ("). All text needs to be part of the training activity. Do not dismiss Rest days, however do not include them in the ics file

Fifth prompt

all text within " characters needs to be displayed, not only the first row

Sixth prompt

This looks good, please express distance in km, not miles

Seventh prompt

MIN stands for minutes, not miles

Eight prompt

This looks good. It should be possible to edit rach row in the schedule

After these prompts, which did not really take long, I got this (note it works even with typos in the last prompt, yes, read it again). Nice and sweet.





Sunday, 19 January 2025

More flet adventures

After getting the photo collage desktop app to a reasonable state, I am looking now at using it as a web app, which turns out to be reasonably straight forward, although a few tweaks are required here and there. I got myself a small server in the cloud to do some trials and so far I managed to set up nginx as a reverse proxy, set up certificates with certbot, and set up two separate apps side by side which are launched as services.

Lots of learning. Also plenty of issues to fix so it shows well on mobiles and tablets and to manage upload and download of files. Still, plenty of fun.

Sunday, 15 January 2023

DIY chess clock

I have been playing chess with my son quite a bit lately. It happens from time to time that one of us will take quite some time between moves so we thought it would be nice to play with a clock. Which of course we don´t have and it makes no sense to buy one.

However it is easy to create a simple one so I just made an app exactly for this. I know, there are already many apps doing the same. However I know this one is not tracking me, not trying to sell me anything and not selling my data to third parties.

If you want to give it a try (Android), the app is available in the MIT´s App Inventor gallery

PS: Updated so that each player has different starting times and also to make it more obvious whose time is still running (button shown as red)


PPS (10th Feb): Updated with Pause and Continue buttons as some times we are interrupted while playing. While paused, Light and Dark buttons show in orange and have no effect until you press the Continue button.








Tuesday, 1 November 2022

Playing with AI tools

Good ideas often come from exchanges with interesting people. In my case, I saw this tweet from Molinos last Summer and thought it should be relatively straight forward to do something similar as a DIY project, but instead of quotes with the time, quotes with the date. The only issue was how to figure out a quote for every day. Scraping huge amount of books is an option although, honestly, it looks like a bit of a daunting task. There are Wikipedia articles of things that happened on a given date. And of course there are always searches in Google that can be parsed. I was just finishing my holidays and I did not have neither the time nor the energy to try anything at the time, so I put it in the back of my mind.

Fast forward to today, I am on holidays and I recently saw a post of somebody who had added a GPT-3 function to a google sheet to autocomplete columns. I had the Eureka moment that GPT-3 could probably complete the task with an adequate prompt, so I decided to give it a try and was amazed how easi it was to accomplish something (not saying that the something was any good, keep reading). These are some of the autogenerated results for a few dates:

"The first of January is the day on which we all start afresh, with new aspirations and hopes for the coming year." - The Alchemist, Paulo Coelho

"Second of November, huh?"
-The Catcher in the Rye, J.D. Salinger

"It was the third of November. The wind was howling outside, and the rain was beating and splashing against the windows."
-The Adventures of Sherlock Holmes, Arthur Conan Doyle

"The Fourth of November is a date which we should never forget."
- A Tale of Two Cities, Charles Dickens

"Remember, remember the Fifth of November, the Gunpowder Treason and Plot, I know of no reason why the Gunpowder Treason should ever be forgot."
-V for Vendetta, Alan Moore

The one question I have though is if the quotes are real or if they are autogenerated but fake. A bit of googling did not really answer the question since just because you don´t find something it does not mean that it doesn´t exist. And of course there may be different versions of a book if it has been published multiple times. 


I have been changing the prompt to try and provide as clear instructions as possible. This is the latest prompt I am using with the davinci engine:

Quote from a book in the public domain including  either "first of November" or "November, 1st" and mandatorily using the exact text in the book. Next to the quote, add the title and author of the book from where it was extracted.  The quote must be less than 200 characters. If no exact quote available containing the required text, don´t invent a quote, just write "quote not found". Case of words is not relevant.


GPT-3 is not deterministic, so you can run several times the same prompt and see what comes out. For example, this is an interesting coincidence...

"First of November was a cold day."

The Tale of Peter Rabbit by Beatrix Potter


"First of November was a cold day."

The Call of the Wild, Jack London


"First of November was a cold day."

-The Adventures of Sherlock Holmes, Arthur Conan Doyle


The books and authors definitely exist. Whether the same sentence exists in all books, I don't know. I tweaked the prompt from "the exact text in the book" to "the exact text from the book" and got this.

"First of November, 1892," he said. "I shall never forget it."

The Adventures of Sherlock Holmes

by Arthur Conan Doyle


"First of November was come, and many little birds were dead; but Mrs. Partington said they might have died any day, so it was no matter."

The Life and Adventures of Mrs. Partington

by Kate Douglas Wiggin


I wonder if I should do a twitter bot similar to the CalendarPuzzle bot.


Edit: Instead of creating another bot, I just added the quote to the existing one. Let´s see how it works in the next few days.

Sunday, 19 December 2021

Calendar puzzle (ii)

In the end I went for the brute force approach, ie the not so elegant approach. It took me a while to write and debug the code but eventually I got there and found thousands and thousands of solutions (in fact I assume I found them all). Once I somewhat tidy the code up I will post it in github. Today I spent some time figuring out how to plot the calendar, learning about colour maps, grids, etc. As usual, python has you covered! People who have created and contributed to libraries such as numpy and matplotlib definitely deserve a lot of credit.

Since it makes no sense to publish here a daily puzzle I have created a twitter account for the Calendar, so that I can create a bot which tweets a solution every day (or if I feel even more adventurous and I have time, maybe posting a hint and then a few hours later the solution?). I read this great post from Miguel García and so far so good as I already managed to post something from a script after fumbling my way through Twitter´s Development Portal.

Not quite sure yet where to run the bot. One option would be to set up a raspberry pi, another one would be to explore pythonanywhere which I already used to host the tute app. We´ll see.

PS1: It will be in pythonanywhere, whose free tier allows to run one scheduled task per day (!), which is enough for this. It should run each day at 8am. Let´s see.

PS2: It works! :-) Code in a semi tidy state available in GitHub 

PS3 (October 2024): Bot now also available for Bluesky 





Solutions for today, who would have thought that there are so many ways to solve this puzzle?







Monday, 13 December 2021

Calendar puzzle

This year I am participating again on Advent of Code. So far, so good, let´s see how many stars I manage to get in the end. However this post is not about AoC, but about another puzzle I came across.

It´s a calendar with eight pieces that can hide months and days on table below, so the remaining cells show the date. Apparently you can find a combination for each day of the year (rotating and flipping pieces is allowed). However brute forcing won´t work. I calculated the amount of different positions and it´s a lot of combinations. Looking at the pieces below, there are 96 different ways in which you can place piece A, 98 for B, 82 for C, 154 for D, 151 for E, 80 for F, 196 for G and 154 for H (pieces with simmetries have less possible locations).

So brute forcing this problem would require to loop through each of the 98 positions possible for A, for each one then loop over whatever positions are still possible from the original 82 for B, etc, etc. 

I will give it a try but I wonder if there is a more elegant approach. Hints are welcome.








Monday, 8 November 2021

Timelines

A couple of weeks ago I uploaded to my github account a script I have been using lately to create timelines. It´s not super polished but it is good enough. I also noticed over the Fall holidays that I miss coding. I cannot wait until December starts, ie Advent of Code is around the corner...





Sunday, 26 September 2021

How it started

Nine years ago I received the message below, which would spark a spiral of learning in the coming years and eventually change my career, although I didn't know that at the time.



6.00x Course Team noreply@edx.org via mail50.us1.rsgsv.net 

Sep 26, 2012, 7:47 PM

to me

 

Dear Juan Carlos Cabrejas,

Welcome to 6.00x: Introduction to Computer Science and Programming! When the course begins on Monday (10/1), you will be joining tens of thousands of other students from around the world in MIT's newest online course. In addition to learning the basics of computer programming in Python, and the fundamentals of computation, you will get hands-on experience implementing a variety of Python programs and using powerful Python libraries.

The course website is available starting today! We invite you to visit

https://www.edx.org/courses/MITx/6.00x/2012_Fall/about

Click on the "View Courseware" link to gain access to the course syllabus, calendar and other materials. Starting on October 1, there will be new lecture videos and homework assignments posted every Monday at 10:00 AM EST. There will be two midterm exams and one final exam; you can find more information about these by visiting the course website.

Our primary communication channel will be the website’s interactive forum, where students and staff will get to contribute to an ongoing discussion of the material. The forum will go live next Monday at 10:00 AM EST. Meanwhile, you can familiarize yourself with the guidelines for the discussion forum by visiting the course webpage.


We look forward to a great semester with you!

Eric, John, Chris and the 6.00x Course Team


Is this email not displaying correctly? View it in your browser.

Unsubscribe | Privacy Policy

Copyright © 2012 edX. Some rights reserved.

edX, 11 Cambridge Center, Suite 101, Cambridge, MA 02142


Sunday, 23 May 2021

Academia Hacker


El Instituto Nacional de Ciberseguridad ha organizado la Academia Hacker, una iniciativa para fomentar el aprendizaje en ciberseguridad. Es una actividad en la que durante ocho semanas los equipos se enfrentan a cinco retos cada semana en diferentes temas, tales como criptografía, ingeniería inversa, esteganografía, programación, etc.

Después de tres semanas, la verdad es que el balance es muy positivo, porque nos ha forzado a mirar temas y herramientas que de otra manera no habríamos tocado. Aunque solo sea arañar la superficie, es divertido sentirte hacker por un rato (by the way, white hat). Algunas herramientas que hemos usado por ahora son VirtualBox, Kali Linux, Cyberchef, Wireshark, John the Ripper, radare2, gdb, IDA y una verdadera gema, el Z3 Theorem solver. Algunas ya las conocía, pero otras no.

Por ahora hemos conseguido resolver casi todos los retos, aunque supongo que cuando empiecen a subir de dificultad la cosa cambiará. Lo bueno es que al final de cada semana publican un vídeo con la forma de resolverlo. Más oportunidades para aprender (!)

----

Al final quedamos en el puesto ~75. Había 1000 equipos inscritos, y aunque luego no todos participaron, no está nada mal para un par de novatillos pasando el rato ;-)

Saturday, 8 May 2021

Mapa de españoles en Alemania (2020)

 


If you have some time, it is relatively straight forward to combine data sources and create the map above, which combines geometry and population information at the county level (Kreise) from open sources. Total population iaw Destatis is just above 180k.

Geometry: This dataset from Bundesamt für Kartographie und Geodäsie with Data licence Germany – attribution – Version 2.0

Population; Destatis - Statistisches Bundesamt with Data licence Germany – attribution – Version 2.0

Code adapted from this example with postal code areas from Dr. Juan Camilo Orduz.



As reference, same map in 2001 (note the huge difference in scale!) with total population just below 130k.





Wednesday, 7 April 2021

Online "tute"





Did it ever happen to you that you bought a book with the best of intentions and then you never find time to read it? Well, that was me with this book, which you can also read for free in Miguel Grinberg´s famous flask mega tutorial. At some point I went through several chapters but never really put together my own app, or deployed it somewhere.

For me the problem with tutorials is how to get really engaged. In terms of learning experience, there is a big difference between just following steps and actually trying to create something else by yourself (even if still mostly based on the tutorial steps). Because once it is your own persoanl project, you are automatically engaged. My CoderDojo is still paused because of COVID, but something I used to recommend to children (and parents) was to find something that really interests you and then work your way through the problems. A lot of the learning happens when trying to solve a problem.

A few weeks ago, someone at work mentioned pythonanywhere, which gives you the opportunity to deploy an app easily. I just needed an idea. And I had it over Easter. My father and my son often play tute when we are in Spain. However last time we were there was Christmas of previous year, so I had the idea to make an app to play tute. Oh, I hear you say, but there are plenty of web pages which already allow you to play and are way better than anything you can hack in a few days. Yes, but you don´t learn a lot playing with other people´s apps!

So after my very own (and short) Easter of Code, version 0.1 is up and running. We already played a game with my father this morning and it was a good laugh. Hope we do it now from time to time.

Things I have learned:

  • I didn´t really know all the rules of tute. Thanks to wikipedians!
  • I set up VS Code to debug flask apps.
  • SQLite is not great a choice when model changes, as dropping columns seems a bit of a pain when the model changes. I ended up restarting the database a couple of times.
  • Page reloads are good enough for us. Ajax or websockets would be better though, even more learning opportunities.
  • Know when to take a break. Impossible problems one day are magically solved in five minutes in the morning with a fresh head.
  • Styling matters. Thanks to my brother for advice.
Updated April 17th: Code available in GitHub

Sunday, 27 December 2020

A rant about measuring CO2, temp and humidity with Arduino

Before Christmas, I had a look at a couple of CO2 sensors and was surprised to see how unnecessarily complex our life is made. At which point did someone decide that the best way to check the value is to do it through an app in your mobile and not through a simple screen on the device? Honestly, I was also quite surprised at the prices. 150 euros reduced from 210 euros? Electronic components are quite cheap, so either high quality sensors are very expensive or someone is making a lot of profit (or both). Maybe I could make one myself despite my very limited knowledge of electronics?


Anyway, since I already happen to have an arduino, a few Raspberry Pi´s and a Calliope Mini, I thought I may as well buy a few sensors and google my way through. The internet is full of successful examples so I thought it may be worth explaining where I struggled. Things never seem to be so straight forward for me. I remember watching one of the Star Wars films many years ago and how I smiled to myself when young Anakin built C-3PO as a pet project when he was ten years old. But then, he was a Jedi and I am not.

Jedi or not Jedi, I bought the following:

SSD1306 OLED mini screen => 6.50 euros

MQ135 gas sensor => 5 euros

DHT11 temp and humidity sensor => 4.50 euros

 

Except the MQ135, you can buy everything you need and a lot more for under 30 euros with a starter kit, with arduino breadboard, etc included.

I found this video, which seems to be what I wanted, except things are never so easy. After I did all the connections, installed the Arduino IDE, downloaded the Adafruit libraries mentioned in the video and typed the program I got a very blank screen. Not quite what I wanted but not totally unexpected either. Ok, so is it the sensor or the screen? Or both? The good news, time to go into a rabbit hole and learn about OLED´s, I2C addresses and more watching this great video from DroneBot Workshop.

Eventually I had a look at the webpage of the people selling the screen and noticed there was an Arduino library mentioned in the Downloads and Links section! I tried it and still got a blank screen. Looked like a dead end but I also noticed that there is a free ebook which comes with each component. I got the ebook and, surprise, surprise, they mention a different library, U8g2. Even with this one, I could not make it work with the template program provided. My screen is 128x64 but the way to instantiate the display provided in the book, U8G2_SSD1306_128X64_UNIVISION_F_HW_I2C, threw and error. However I managed to make it work using U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C (note the change from 128x64 to 128x32). That means I lose half the screen resolution, but since I only need to display three numbers, it is still ok.

At that point I could display some text, just not the values from the gas sensor. After a lot of looking around, I noticed that the connection to ground in the breadboard was in the wrong place. Once that was fixed, I got the CO2 reading! One small step in the right direction.

From the little I have learned so far, the sensor needs to be left connected for 24 hrs to burn in and then calibrated (read the actual value outside and adjust the reading to be the expected normal CO2 values of 350 to 450 ppm). The calibration can be done with quite some detail.  Right now I get a reading of 250 to 300 ppm. Since the accuracy of this sensor is not that great, it is probably best to go for a traffic light rather than actual values. Good if below 400, amber if below 800 and red otherwise. Not yet implemented, but I happen to have the ideal traffic light module which came as part of this 35 in 1 kit. Otherwise, there is a great opportunity for more rabbit holes, here and here for a start.

Enough of the gas sensor, what about the temperature and humidity sensor? That should be a lot easier, plus I do know which values to expect. Well, it turns out nothing is easy and straight forward. The reading right now is that I am sitting at home at 13 °C and 146% humidity (!). 

As by now was to be expected, there are differences between the connection instructions in the ebook and the datasheet, which actually mentions a pull-up resistor


Plus of course, who says there is only one type of DHT11 sensor? The eagle-eyed will have noticed that one has three pins and the other has 4 pins. The one included in the sensor kit happens to have 3 pins. And, never mind what the ebook says, it also mentions a pull-up resistor in the data sheet. In one place a 5.1K resistor is mentioned and in another a 10K resistor. Would this explain the wrong readings? I happen to have 10K resistors but no 5.1K ones. So the easiest thing is to try with the 10K first just to fins out that the readings are still wrong. Next is to put two 10K resistors in parallel and give it a try. Fingers crossed and, surprise, surprise, readings still wrong. In fact not temperature reading is -14 °C. Humidity has somewhat improved down to 148%.
 

I will keep prodding the internet and report back when and if I manage to get some decent temp and humidity readings. I have a suspicion that this has to do with the data transfer. One thing is for sure, the more you learn, the more you know that you don´t know.

UPDATE 28th December: so after some more reading about bus data transfer, trying to understand the data sheet and a few more youtube channels and even considering whether to redo the whole thing using a Calliope, I noticed that I had not initialized the temp sensor! So a simple dht.begin() did the trick! Temperature is within two degrees of the reading of an analog thermometer. Humidity currently showing 42%, which seems reasonable.

Friday, 11 December 2020

Advent of Code 2020

For the second year running, I am giving a try to Advent of Code. Last year I got 18 stars in the first 10 days. So far, so good as this year I am already at 22 in the first 11 days, but I assume this is where it will get more tricky and I will run out of time (and more likely brain power) to solve the daily puzzles.

This year I did not get to do much coding at work, so this is like an end of year private treat to myself. Advent of Code is a superb learning experience and even if I am far away from the real pros, I think about it in the same way I do about running from time to time.

The one other thing that dawned on me is that I probably approach reading other people´s code as other people may approach reading poetry or sheet music.  



Tuesday, 14 April 2020

Privacy-first explained with Calliopes


This was actually quite a bit of fun.

A few links that may be of interest:
- The comic is from Nicky Case
- DP-3T white paper and much more 
- Two of the calliopes are actually on temporary loan to CoderDojo Dahlem from the great guys at Calliope Mini
- The code was done using TigerJython4Kids, check their great page!

Sunday, 16 September 2018

Berlin stats and maps

I created a while ago a map with number of Spaniards in Berlin on each administrative planning area (Berlin is divided in some 450 areas which are called LOR (Lebensweltlich orientierte Räume), i.e. way more granularity than postal code). But I was not fully satisfied with that solution. So, let´s go through a second approach using bokeh. And why bokeh? Well, because my company has given me access to datacamp and, among other things, I recently did a course called Interactive Data Visualization with Bokeh. But since I learn better when doing a mini-project, rather than just going through the videos and exercises, I thought this would be fun.

First of all, I needed to find a way to plot the planning areas. This is easy enough, as Berlin has a site where the info can be downloaded as a kmz file (zipped kml files). Once unzipped, it is relatively straight forward to read the information with the coordinates for each area. However the amount of detail of the areas is just too high, with hundreds of points used for each contour. So the first hurdle was to simplify the contours of each area. As it happens, there is a python library which does exactly this. It´s appropriately called rdp as it is an implementation of the Ramer-Douglas-Peucker Algorithm (I had never heard of it until a few days). After playing a bit with it, I managed to reduce the number of coordinates used by a factor of 5 and still retain more than enough detail for the plot.

Then it was required to aggregate the statistical information from the statistical office for Berlin and Brandenburg so that the colour would be proportional to the amount of residents in the area. White if zero Spaniards live in an area and black if 300 or more live there. For info, I believe each area is supposed to have ~7500 people. And therefore the map also shows density of  (total) population in Berlin, i.e. smaller areas are very densely populated.

The visualization is nicer if you can hover the map and see name of the planning area and the population. And to bring it a notch higher, it is even nicer if you can choose the date of the report from a dropdown menu. When you make a selection, the data is updated and new colors and information are shown when hovering. The result is shown below (unfortunately not interactive in this post, as I run it in my computer with a local bokeh server)


Sunday, 19 March 2017

Geeky Father's Day


Today is Father´s Day in Spain, so I gave myself a mini present, a new free app. The twist is that I have programmed the app myself using MIT App Inventor. Ok, not really programmed anything, but I put together a few blocks and made sure the logic holds.I started with this tutorial and it delivers what it says.
The main screen has a few buttons and when one of them is pressed a time stamp is created in a database. The set up page makes it possible to give names to each button (names not shown above) and a user name, so you can keep track of several preset items without always having to change the name of the button first. The nice thing is that data persistence is possible for multiple users as timestamp data is not stored locally in the phone but in the cloud, more specifically in a fusion table. This means each user can log whatever is relevant for them, things like times arriving to and leaving from work, starting and finishing homework, time jogging, etc. Names are locally stored for each user in his/her phone.
Surely there are thousands of apps which do this better, but the fun is learning how to do it yourself and exploring what else could be done. There is no point telling our children to think of the phone as a handheld computer if we don´t apply the same principle to ourselves.
The next step would be to use the same layout and the bluetooth connectivity module to link this to a raspberry pi driving a couple of motors. More TK...