___  ___    _ _    _  _ _____   _____
 / __|/ _ \  | | |  | || |_ _\ \ / / __|
| (_ | (_) | |_  _| | __ || | \ V /| _|
 \___|\___/    |_|  |_||_|___| \_/ |___|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

Particle physics @Utopian project - first exercise

BY: @mactro | CREATED: May 25, 2018, 7:58 a.m. | VOTES: 112 | PAYOUT: $9.11 | [ VOTE ]

Repository

https://github.com/mactro/Utopian-particle-physics-ex1/tree/master

What is this about?

This a submission of a first exercise described by @lemouth in his great post here. In addition to building procedure described there, I also provided a CMake approach. The exercise code counts the number of electrons, muons and photons in test data. Results are:

Electrons count: 0
Photons count: 3
Muons count: 0

        => progress: [======>                            ]
Electrons count: 0
Photons count: 3
Muons count: 0

        => progress: [==========>                        ]
Electrons count: 2
Photons count: 3
Muons count: 1

        => progress: [=============>                     ]
Electrons count: 0
Photons count: 1
Muons count: 1

        => progress: [=================>                 ]
Electrons count: 0
Photons count: 4
Muons count: 0

        => progress: [====================>              ]
Electrons count: 0
Photons count: 3
Muons count: 1

        => progress: [========================>          ]
Electrons count: 0
Photons count: 4
Muons count: 0

        => progress: [===========================>       ]
Electrons count: 1
Photons count: 4
Muons count: 0

        => progress: [===============================>   ]
Electrons count: 0
Photons count: 3
Muons count: 0

        => progress: [==================================>]
Electrons count: 1
Photons count: 6
Muons count: 0

GitHub Account

https://github.com/mactro

TAGS: [ #utopian-io ] [ #development ]

Replies

@lemouth | May 25, 2018, 7:25 p.m. | Votes: 0 | [ VOTE ]

This was indeed very easy. It is easy because I don't know who will be on board and how good are people in coding. I will of course adjust the next posts ;)

Thanks for your contribution!

@lemouth | May 26, 2018, 9:03 a.m. | Votes: 0 | [ VOTE ]

Update: I have created this github repository to store all contributions. Can you please add yours following the ex1a-mactro.cpp syntax (I only need the c++ file)? Thanks in advance!

@amosbastian | May 27, 2018, 10:12 p.m. | Votes: 2 | [ VOTE ]

Hi, it is great you are helping the project out.

From what I can tell it was meant as an exercise to test the level of the contributors, not actually as work that would necessarily benefit the project. I think it would be best to wait until an official repository is created where you can get your code merged and a "real" task request is made before submitting similar contributions to Utopian.io.

Of course no one is stopping you from submitting it to Steemit and getting rewarded by the project owner, so I'd recommend you stick to that for now.

Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

@mactro | May 28, 2018, 6:13 a.m. | Votes: 0 | [ VOTE ]

Hi! Thanks for your feedback. I will try to look up some better tags for next exercises :)

@utopian-io | May 28, 2018, 7:08 a.m. | Votes: 0 | [ VOTE ]

Hey @amosbastian
Here's a tip for your valuable feedback! @Utopian-io loves and incentivises informative comments.

Contributing on Utopian
Learn how to contribute on our website.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>