CoderDojo Dublin @ The Warehouse

The Warehouse

The making of Cyberstick

Posted on June 1st, 2017

What is Cyberstick?

Cyberstick is a temporary cloud server. What this means is that you can store files here for 15 minutes to have someone download them and then forget about them. This can be used among friends; if you want to share a song you just made in garageband, pop it into Cyberstick and give them the three word key. What if you wanted to move a photo onto your computer from your phone and don’t have a cable handy? This website works perfectly on mobile devices and should not cause any problems.

How does Cyberstick work?

Cyberstick is built in Python using the open-source libraries shutil, pdb, stripe, jinja2, python-flask, werkzeug, urllib2 and TinyDB.

When a user opens the upload page, the server builds a session ID by picking 3 random numbers with the built-in Python function randint, which are used to select 3 words from a list. The server then creates a session folder locally with the naming system [UNIX time]-[Session ID].

The server displays a webpage created by injecting content into a custom-built jinja2 template. This template contains a drag ‘n’ drop box for uploading files and the session ID which is passed through jinja2 as a string. Any files that are uploaded are saved to the session folder.

Another python script has a loop which lists all sessions folders and compares the marked UNIX time to the current UNIX time and if the folder is over 900 seconds, wipes the content of the folder and then deletes the folder.

The download link is created using the session ID so it is easier to remember and communicate.

The API simply sends a request to the server using curl http request. It requests an upload folder. The server builds it and responds in JSON giving the error code (if any) and the session ID. Using the received session ID, the API then makes a POST request to the server uploading the files. To download files, the API sends a download request with the session ID, the server responds with file names and the API downloads them directly.

When a user wants to create a user ID, they are redirected to a payment system that sends back a confirmation key such as stripe. When the server receives this confirmation key, it forgets it, generates an ID with 6 random words and checks that this ID has not been already used, and if it has not, saves it to the database together with the number of sessions that the user has bought. The last thing it does is it displays the user ID and saves it to an encrypted cookie. The name and payment information are not saved. To login, you must write the user ID. Sessions that are created by a user that is logged in, the folder name includes the user ID. This allows the user to see their own sessions for the system scans the folders and displays the ones whose name contains the user’s ID. The user can also add more sessions to their user ID by adding their key on the checkout page which causes the server to repeat everything in a normal purchase but without randomizing the key and using the given key instead.

Psst – – See the source code here, or the website in action here.


My Day at the BTYSTE on the CoderDojo stand

Posted on January 26th, 2017

I arrived at the RDS at 8.30 with my Mum and Dad’s laptops, a suitcase full of projects, LEDs and a pretty substantial lunch. My Mum and Dad were just as shocked as I was when I saw so many people queuing up to get in.

Pete from CoderDojo met us at the front door 5 minutes after we arrived. We were one of the first people to get into the RDS. I felt like a VIP! Pete lead us up to our stand and carried my Mum’s heavy laptop bag. Then my Mum had to leave to go to work. After that my Dad and I started setting up.

 

We set up the Bluetooth controlled Neopixel LEDs, the LED Matrix Scroller, the Line Following Robot and the Flashing Mini Christmas Tree. Pete showed me the mBot robot he made at CoderDojo. Ross from CoderDojo took this picture of me and put it on Twitter

A Teenage Exhibitor came at 9:15am and asked me about my Bluetooth controlled NeoPixel LEDs. When I showed him it he was amazed, and got other people to come over to me.

Some of the kids at our CoderDojo stand came over to me. Their names were Lucas and Evie. They made a self-driving car. They asked me a few questions about my website. When they finished asking me questions, I went over to their desk, leaving my Dad to mind the stuff. They showed me their self-driving car. It’s a remote control toy car they hacked. This type of hacking is not bad. It means taking something apart and making it do something else. They used Python to control the car.

 

It was after a few demonstrations that I decided to always show visitors to our stand my video first. This meant I did not have to repeat the same thing over and over.

Soon after that my school friends arrived. My teacher chose 6 boys to come to the RDS today. They loved my project and it was extra special being in my school uniform as all my school friends were very proud.

I showed them my Bluetooth controlled Neopixel Led Project.

It was 11:45am and I decided to have my lunch because I felt hungry. I had an Innocent Smoothie and a delicious roll.  About an hour later one of the kids beside me was eating chips and that made me hungry!! I asked my Dad if I could have chips (with salt and vinegar obviously!). He finally said yes, so I got the chips.

I showed some teenage girls my line following robot.

When I was wandering around the stand I saw Ross’ s Flappy Bird game. I followed the instructions (Put your hand on tin foil and keep it there) which were quite simple. I tapped my finger on to the piece of jelly and I could play Flappy Bird.

One kid showed me his design for a plane. He said that he knew how to do the hardware but not the software. I told him that when my website goes live it would be great to work with him. The whole idea of my website is to share ideas and to help kids. This is what I am doing here.

The CEO of the Raspberry Pi Foundation from England came over to our stand! He was one of the only people to ask me detailed questions about my project. I got a picture of him with Lucas, Evie  and 2 kids from other Dojos.

I finally got a chance to look at other stands like Analog Devices when my Mum came back from work.

I was very tired after all of that but I enjoyed the day very much…

Benjamin Murray


Coolest Projects 2016 by Mika

Posted on June 26th, 2016

Coolest Projects 2016

Just like last year, Coolest Projects was a great day. Many people from Coderdojo @ and the Warehouse and other dojos across Europe had very awesome projects.

(more…)


Our Projects

Posted on June 19th, 2016

This year, our Dojo had a very strong representation at the Coolest Projects. There were 16 entrants presenting 12 projects and three of the projects got awarded! Well done everyone!

Coolest Projects 2016

Ben, the runner up in the Web category

 

Coolest projects 2016

Harvey was a runner-up in the Evolution category the recipient of the Innovation award

 

Coolest projects 2016

Jasper was an runner up in the Hardware category and the recipient of a Future Maker award.

 

Coolest projects 2016

Ciara was an entrant in the Mobile category. Ciara is learning to develop Android Apps with App Studio and Java.

 

Coolest projects 2016

Katie was an entrant in the Mobile category. Katie is learning to develop Android Apps with App Studio and Java

 

Coolest projects 2016

Lucas was an entrant in the Scratch category

 

Coolest projects 2016

Maciej was an entrant the Evolution category. Maciej is graduating from secondary school this year so his next appearance at Coolest Projects will be in a green T-shirt

 

Coolest projects 2016

The Three Amigos – Felim, Mika and Alex were entrants in the Games category.

 

Coolest projects 2016

Moghamed, Julia and Nathan were entrants in the Hardware category

 

 


Li-Fi Project

Posted on May 23rd, 2016

Li-Fi is one of the projects submitted to Coolest Projects Awards 2016 by our Dojo.

Its author, Stephen, was a runner-up in the Evolution category of the competition last year for his Twitter platform that provides real-time information on public transport schedules for people around the world.

The project was even featured in The Irish Times!

This year’s project is also very ambitious. It is a model of a new system of the Internet signal transmission called Li-Fi. Instead of radio waves like in a normal Wi-Fi system, the medium transmitting data here is a flashing light.

The idea has been researched intensively by scientists. It is predicted that the technology will revolutionise the way the Internet infrastructure is built.  It will be especially useful for aviation and all the situations where using conventional routers is impossible. However, it is very likely that Li-Fi systems will replace Wi-Fi completely because transmission through light waves is much faster and safer than through radio waves.

Looks like Stephen is on the forefront of a technology revolution.

We keep our fingers crossed for his entry into Coolest Projects! 😀


Important Dates

Posted on May 16th, 2016

There will be no CoderDojo on the Bank Holiday Weekend, Sat June 4th, and Sat June 11th will be the last CoderDojo before the Summer Break.

We will start back in the new Zalando office in August.

Coolest Projects will be on June 18th and Brian encouraged everyone to enter. See their website for more details!

Next week the mentors will help everyone who would like to enter with registration and their project ideas. The closing date is Sunday the 22nd May.

Finn Howard


CoderDojo @The Warehouse #33

Posted on May 15th, 2016

Despite the unusually tropical weather in Dublin, over 30 people came to The Warehouse last Saturday, including two new mentors, Sebastian and Martin.

Most of the Ninjas worked on their projects submitted to Coolest Projects Awards.

The team of Julia, Patrick, Nathan and Moghammed worked on their sensing car.

android app sensing car

It is a very cool creation. The car is equipped with a sensor and a camera and controlled by an Android app. Lost your key, a remote or a hamster? No need to search around on your knees, just send the car for a mission and look at the camera feed on your phone. Smart!

Mika, Alex and Felim are working on a project on the Raspberry Pi. It is going to be a miniature, portable gaming console and they are even making their own games!

Raspberry Pi

There is also one Ninja in the Scratch group who entered the Coolest Projects Award. Charles joined our Dojo barely a few weeks ago but is already very advanced in Scratch coding. Looks like it is a true passion of his. He is doing a multilevel game for the competition. Good luck, Charles!

Over the course of the next few weeks, we will show off the rest of the projects.

Also, for regular updates, see our Facebook page and Twitter account @CoderDojoDublin.

For less regular but fun stuff see our You Tube channel.

 


CoderDojo @ The Warehouse #29

Posted on April 17th, 2016

A lot of things happened last Saturday over at Coderdojo @ the Warehouse.

First of all, Derek brought in his 3D printer to help Finbar with his project and he let other people also print some cool stuff out.

3D printing at Coder Dojo at teh Warehouse 2016-04-16 13.46.07 2016-04-16 15.26.42

 

Secondly, volunteers from Coolest Projects came to have a little talk explaining more or less what Coolest Projects is all about, to those who didn’t go last year and he answered some of the questions that people had for him. He also brought a working drone with him and let people have a go of steering it with his phone. It was very fun! Don’t forget that you can still register your project at www.coolestprojects.org! 🙂

 


Coolest Projects 2015 by Mika

Posted on March 30th, 2016

Attending last year’s Coolest Projects was a spectacular experience!

As soon as they got there, all contestants recieved a t-shirt, a VIP pass and a lunch token. Then someone would show them where they were going to be showing their projects.

Coolest Projects 2015             Coolest Projects 2015

There were lots of rows of tables layed out. Every category had it’s own few rows. Each contestant was given one table (about 1 sq m) where they would present their project.

Coolest Projects 2015

In the middle of the room was a huge screen with the names of all of the contestants being shown in a continuos loop. It was great fun to look up every few minutes and see my name on there.

 

When the first judging began, 3 judges would go around to everybody’s project. One of the judges was just holding a 2 minute timer all the time and barely said anything, while it felt like the other two judges were playing ‘good cop, bad cop’ on you because one was constantly complimenting your project and one was constantly questioning it and asking why you didn’t do stuff differently, ect. Shortly after, the judges came again.

Coolest Projects 2015

After both judgings, everyone got a chance to have a look around. You could take look at other peoples’ projects or take a look at some of the companies that had a stand there. Some of my favourite stands included the TV one (I think it was Sky or UPC or something like that) which had a massive background with MARVEL’s Avengers which you could have a photo on and the McAfee one, which had a program that tracked hacker attacks all over the world. It was interesting to see just how many happen within mere seconds.

 

Upstairs there were also some science and technology stands, showing off cool stuff. There was a working 3D-printer as well as a virtual reality headset.

Coolest Projects 2015

You could also redeem your lunch token for an apple and a sandwich and if you were still hungry, there were some food tracks outside.

About a couple of hours later, the ceremony began. Everybody got a chance to go on the stage at some point a recieve something. Last year everybody got an orange ‘belt’ which was a really cool USB that you could put around your wrist.

2016-03-30 20.20.13               Coolest projects 2015

Every category also had several runner-ups and winners. Maciej and Harvey from our Dojo took first place in their categories and Stephen, Maebh and Eabha took second place in their categories.

Coolest Projects 2015

Harvey was winner in the Evolution category

Coolest Projects 2015 Maciej

Maciej was the winner in the Hardware category

Coolest projects 2015

Stephen was a runner up in the Evolution category

Coolest projects 2015

Maebh & Eabha were runners up in the Scratch category

But just before the winners were announced, the creator of Coderdojo went on for a quick speech.

Overall it was a really fun day. I am definitely looking forward to going again this year. 🙂


Coderdojo @The Warehouse #22

Posted on February 23rd, 2016

This week over at Coderdojo @ The Warehouse we had another very busy week, even though Derek, Maciej, Jasper & Harvey were at the Aipu.
Over at Python, we worked on several projects on our Raspberry PIs. Alex and I managed to change our skins in Minecraft Pi edition. And, Odhran and us made a Fizz Buzz project where it print all of the numbers from 1 to 100 and after each multiple of 3 it also prints fizz, after each multiple of 5 it also print buzz and after each multiple of both 3 and 5 it prints fizz buzz.

Mika



© CoderDojo Dublin @ The Warehouse 2015.
All rights reserved.