Just Code Challenge Week 3 Projects

Post your projects in this conversation!

It’s the 3rd week of the Just Code challenge! This time I made an iOS app that shows Dog pictures. I call it Dogs Up!

Read more about it: https://blog.xojo.com/2018/07/06/just-code-challenge-week3
Download the Dogs Up project source: http://files.xojo.com/JustCode/DogsUp.zip

Please share your projects for week 3 of the Just Code challenge in this thread. Download other projects and discuss!

Continuation of my canvas listbox pet project
Added:
Horizontal and Vertical Scrolling
Header Option
“Populate” from record set or array of database records
Define Columns using a simple array. Used during populate method.
Many bug fixes and some refactoring
Buttons and “child” objects are now classes instead of structs(struct issue with x64)
still more to go, but happy with the progress.

DOWNLOAD

This week’s project is a paramedic drug assistant app I wrote to help me learn my drugs for medic school. The app will eventually have all 72 drugs included with it - the version I have available right now only has 1. User can delete all and add their own, or add to existing. Add, edit, and delete work in this version of the app. The next version will have a “flash card” study utility. That feature proved to be a bit more complicated than I anticipated.

Download it here: https://github.com/wkapeles/drug_assist


Here is a simple piano. It sounds like a joke, but it’s an opportunity to solve some very interesting problems.

If the system handles mousedeown events, this part is OK, otherwise it’s hard to get the right behavior. But, then, no mouseup event is possible. I use a specific timer to handle mouseup events. And a control set to group all the events related to the piano keys.

This solution gives you a very reactive piano, with a minimal impact on system load. Nota: there are many other ways to solve this challenge.

Source and win32 exe are here:
https://www.ascinfo.fr/fichiers/justcodechallenge2018/MidiPiano.zip

This is a very simple version of the game „Snake“ written in Basic (Xojo).

Source

I’m not sure if this submission will count, but I, unfortunately, didn’t have time to work on a project specifically for this challenge. I did, however, write a program we use internally to perform repetitive tasks on a specified interval in less than a week.

The app, dubbed Marvin, looks to several tables in a database for lists of tasks with specified intervals ranging from “constant” to “monthly.” It then evaluates the record’s other parameters to decide if it will run the task. At it’s core is a timer that fires a method to find processes loop through them and perform logic for each task. The timer period is set to 60 seconds. The app then writes a record to a log indicating if it ran, errored or neither, the time and the id of the process. Below are some screenshots. I wish I could share the project but it would be nearly useless if I stripped out privileged information…and @Bill Kapeles would kill me. I would be happy to give a quick demo or record a demo video if that would help.

As you can see it’s still fairly new with only one live process and a few test processes, but it is only 4 days old.

The app:

The log:

The processes table:

First commit:

Last commit:

(Still Friday in Alaska…)

You may think this app is frivolous, but it could be used to win free beers for life, so…

It’s a Coin Toss app to help you make decisions. But it has a secreta way to cheat to make sure you always win.

See the 1-minute video to see how it works (and the secret):
https://youtu.be/VlcJ8eZ9lOI

And you can download the project here:
http://jayjennings.com/justcode/CoinToss.zip

Jay

This week’s intended project refused to cooperate. So I guess it’ll have to be next week’s project.
Meanwhile, Plan B is a least squares polynomial curve fitter, for all you statistical types.

Project file here:
PolyFit Project

For info on how to use, please refer to the app.readme note in the project file.

I wrote an iOS App that uses the HTTPSocket from XOJO and an API from Shopware. The program allows me to retrieve the sales from my webshop. The Shop System is from Shopware and offers a Rest API, with which one can retrieve orders and customer data. On the main screen, I can see the current sales from today and the last 7 days. Below is a list box listing all orders. When you click on an order, more order details are displayed.

I hope this post still counts for week 3, since week 4 thread is not online!

Anyway, this is my first project for the JustCode challenge, a simple MP3 ID3 tag editor (for MacOS only). It uses a dynamic open source library (taglib) which is embedded to the project. I’m not 100% sure if this works for others, but it works on my machine. I started this project a while ago but never finished it. But this week I did.

Download the project here: http://www.watermann-it.de/public/xojo/SimpleMp3TagEditor.zip

Stefan, week 4 here

Oh, thanks. I was looking on the thread below waiting for the link of week 4. Isn’t this the right post?

https://forum.xojo.com/48375-just-code-challenge

Yes, but I think Paul forgot to update it.

Just Code Challenge Week 4 thread is now open.