Accéder au contenu principal

Articles

Affichage des articles du décembre, 2019

How to Setup fedora-messaging on a local machine to publish and listen messages

Hello, this is shadowblade and i’m up to tell you how i setup fedora-messaging on my local machine. The first step i immediately took was to go to the official fedora-messaging documentation ,here is the link for more info Then, i installed the needed packages which are: -> Fedora messaging python package: $pip install fedora - messaging ->and rabbitmq: $ sudo install rabbitmq - server ( i 'm using a debian based distro for this task) then ran i rabbitmq with: $ systemctl start rabbitmq - server (you might need admin privileges to run this commant, if so, put sudo at the start of the command) I then created a single python script which contains a listener and a publisher. Here is the repo of the source code if you are interested, it contains info about how to launch the script. Additionnal ressources: Asciinema recording of the execution of the listener. Asciinema recording of the execution of the Publisher. screen-shots: That’s it folks, have a go...

second and third day

The second day was a very tiresome and exciting day,just after i came out of school, i immediately got to the computer to see if my mentor had approved of my work; and then he told me to add some improvements to my code, i did it and then submitted it; some hours later(maybe 3 or 4 hours) i received the message i wanted to see in my dashboard, my very first task had been approved, i felt like getting out and shouting to the whole neighborhood that i did it but i refrained myself and started to carefully search for my second task, this one was a lot more complicated but so much rewarding and satisfying the time duration was 5 days but i didn't have 5 days, i had to do it faster because i had a math exam in the next 3 days, i really did gave my all and completed this task in 21 hours, the feedback was amazing, my mentor told me that  my work was amazing. Now here am i starting to do my third task

First Day

I just made my first task at Code-in. It hasn't been approved but i hope it will. Well,my first impressions are mitigated, i was super excited to start but when i started i started withia full stop when the revision of the code i wrote came down and my mentor told me that i had a bug on my code, it was late in the night(i think 10:00 11:00pm) but  and i had to sleep because i had class the next morning at 5:00 am, so i gave it up and promised myself to come back to my code the next day and fix it, i have done that and for confidentiality purposes i won't say anything about the task or upload any code but i may post some little code(only for education purposes) or some Linux hints.  P.S: i am waiting for my tutor to correct my bug fixes so be tuned 👊👋