Particle physics @Utopian project - first exercise

in #utopian-io6 years ago

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

Sort:  

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]

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

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!

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!

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!

Coin Marketplace

STEEM 0.16
TRX 0.13
JST 0.027
BTC 57941.45
ETH 2579.63
USDT 1.00
SBD 2.39