Let’s contribute Peru with GNOME

This time we just gather 4 people who wants to contribute with GNOME. Two of the attendances were from PUCP who use Unity and the others two were from UNI, who use GNOME with Fedora 20. All of them were programmers; so thanks to Jose Quiñones for doing the introduction to GNOME project, he did explained the GNOME community, applications and ways to contribute, IRC.

11013318_459248050898022_139216036590430065_n

After that Cesar Fabian started the code contribution part, because all of them were interested in GNOME developer technologies. We started with glib, based on the GLIB Website. He explained us that Glib is a GNOME library written in C. We did a couple of examples: Hello Word and Lists of Fruits, using glist. Glists are linked lists that use the type void *. It was also explained values and basic types like gboleean where ONE represents TRUE and the rest of values are FALSE .

What took us so long was the cloning part and the packages that were left in each cases. So, the first step is going to the page: https://git.gnome.org/browse/glib and clone:

glib After that, get inside the new glib file created and do autogen:

[jinca@localhost ~]$ cd glib
 [jinca@localhost glib]$ ./autogen.sh

This was the first error message I got:

glib.mk:28: If ‘LT_INIT’ is in ‘configure.ac’, make sure glib.mk:28: its definition is in aclocal’s search path. tests/Makefile.am:1: ‘glib.mk’ included from here autoreconf: automake failed with exit status: 1

To solve this, create  /home/jinca/opt and do export:
PKG_CONFIG_PATH=/home/jinca/opt/lib/pkgconfig/

 * If the system asked to install packages like libffi or gtk , just install them:

sudo yum install libffi-dev
sudo yum installgtk-doc-tools

Then, inside glib,  apply the configure and make commands:

cd glib
./configure - - prefix=$HOME/opt/
make
make install

So, after coding the examples Cesar gave us, compile and run the programs:

gcc main.c `pkg-config --cflags --libs glib-2.0` -o main
./main

After that, we reviewed some string functions like strdup that duplicated strings, but we do not have time for more. We hope next session will be more productive and we are aiming to do GTK after glib and cairo.

Posted in GNOME, τεχνολογια :: Technology | Leave a comment

GNOME Asia 2015 impressions

I must to congratulate all the enthusiasm and effort from many young students supported by experienced people, leaded by Estu Fardani. There are lots of Linux users in Indonesia and I saw the willing to contribute with the GNOME project. I met Estu in person and I found more friendly local people: my new dear friend Deetah, Harris, Utian, Aris, Kukuh, Fahmi, Moco, Pico, Siska, Lenin & the awsome Sendy!

DSC_0121IMG_9011

Left picture was taken in the BTECH, Bogor.

It was great to see GNOME friends again: Kat & Dave from UK, Andre & Tobias from Germany, Olav from Holland, Alexander from France and Shobba from India. They shared their years of experience with Linux and GNOME and they guided and answered all the questions of local people. I was in charge of GNOME Marketing; so far, GNOME has not received applicants for the OPW and the GSoC program . We also planned to do an event of the Release Party in Indonesia and Peru on September, 25th.  I hope others countries can join us with this, so the whole world can tweet for the entire day the hash-tag  #ReleaseGNOMEparty or #ReleaseGNOMEparty3.18 or maybe #ReleaseGNOMEparty2015

group1

17407956016_0befc2b5ee_z Thank you herpiko for capturing that moment. You can see all the pictures in the Flickr group!

This event make me also meet the GNOME Asia people, Max, Bin Li, Edu Sun and the other guys also were sharing and promoting the Open SUSE distro. Also it was great to met Gstreamers guys: Mathew Waters from Australia, Olivier from Canada, Arun & Nirbheek from India. They shared links and materials to start contribution with GNOME applications like Banshee, Pitivi & Empathy.

image image

The event was setup according to the plan, the talks accomplished the schedule and the audience was aware of the event. The talks were presented by Syska, a charismatic person, and Sendy basically. There was enough food and water for attendances and the speakers received special edition of GNOME shoes!

I gave some presents of Fedora 21 to some Indonesian students :)

 DSC_0494fedora

My lighting talk was not so good this time, I could blame my nervous to hear the thunder of the raining during my talk, or the difference of 12 hours of time zone from my Peru. The fact is I have to improve my speed, my tone, my accent and know more my audience (“pay it forward” is not a common movie in Indonesia). Maybe I would have not spent my time emphasis in rejection; but minutes before my talk, I heard during Kat’s talk “Contribute with GNOME” the feeling of “scaring to rejection” from an Indonesian women student. I had heard the same speech from many people around the world, they say that they do not know how to start with GNOME even if everything is documented. My intention was “encouraging people to dare applying and deal with rejections if they have the situation”. Besides that, I have to thank local committee for giving me extra minutes to prize people who responded my questions during my talk. 

prize1

prize2Pictures from Herpiko, t-shirt and notebook

The local committee took us to visit Indonesia in the miniature and it was so interesting to know more about Indonesia culture. Sumatra custom in Indonesia island impressed most of us: after get married they have a honey moon until getting pregnant. Then we shared a lunch celebrating Estu‘s birthday and we visited Jakarta town in the afternoon… yumy Nasi Goreng Spesial! I did not dare to try avocado juice…

turist2

estu

Some suggestions to improve next events:

  • Get the correct size of the screen of projector. If you have a big auditorium, the screen also must be big enough, so everyone can see the slides. The screen saver can show the logo of the event during the breaks.
  • Get a remotely pointer to press the slides in case the expositor need it. Telling “next please” took a few seconds in my presentation.
  • Prepare at least one static camera for recording talks during the event.
  • Calculate the number of chairs based on the number of participants registered before the event.
  • Test before the event the volume of the microphone and if is too loud that can be heard in other rooms, the rooms must be separated adequately.
  • The location of the stands that show Linux products must be outside of the auditorium because of distraction attention.
  • If there is not enough personnel for guiding audience since the principal door to the auditorium, it would have great to have signals or little banners that show the path. Universitas is so huge.
  • It would be great if the arrangement for all people who is not local, we would have shared the same building for staying and maybe sharing dinners together. Buildings with Internet access in all the rooms can help. University room is OK.
  • Translation of talks, there were some Indonesian talks and other English talks. There are some tecnologies that translate talks, or maybe giving summaries of everytalk can help.
  • Do some kind of survey before and after the event, asking to participants how much they know about Linux and GNOME (before and after the event). Statistics are important after the event.

Visiting Depok, Bogor, Jakarta and Borobudur was an extraordinary experience! Motorcycles that can fly as mosquitoes that bite, the hot water that make me take more that 8 liters of water everyday, the zero alcohol in public places and the smell of the black cigarette on streets, the musulman culture that pray 5 times per day that make me start my day at 5 am because of the call, meeting the Buda temple and the Jakarta beach were incredible! Terima Kasih, kiri, tolong, keluar, saya, ayo, motor, bir, selamat pagit, teahbotol, kusuh, wanita, whos (for cushis), missi, kamu bisa are a few words I will be so glad to hear and will definitely me reminder the Indonesia kindness and hospitality! Thank you GNOME news and pictures!manos

group2

Posted in GNOME, τεχνολογια :: Technology | Tagged , , , , , , , , | 1 Comment

Dream until GNOME Asia 2015 comes true

Thanks to GNOME I am going to be able to visit Indonesia in a couple of weeks to give a lighting talk. I wanted this for years;  but it is still kind of hard to believe this is the real.

GNOMEasia

I remember the first time I saw the grupal photo of GNOME Asia in 2010. It was so inspirational for me! I started to research events related to GNOME around the world and I was visualizing similar GNOME events in Peru.

After 5 years of trying to do the same in Lima, I feel that I did not make it. There are issues like team organization, promotion techniques for encouraging people to do this as a volunteer, etc.

I have many expectations for this trip, like facing the organization of the GNOME Asia team, what GNOME Asia user wants, if they are interested in programming (as it happens in Peru) or participating in Google Summer of Code or any other international program…

So, learning about organization, interests, getting motivation for finally do GNOME technical documentation are some of my reasons for going to the GNOME Asia 2015 :)

sponsored-GNOME

Posted in Events, GNOME | Tagged , , , , , | Leave a comment

I organize, therefore I am! – GNOME PERU FEST 2015

The GNOME PERU FEST 2015 event took place last Friday 13th, March in Centro Cultural PetroPerú. Special thanks GNOME Foundation for sponsoring us all again, as well Fedora, Infopucp, La Bouquette, Nexsys,  PetroPerú and IBM.

GNOMEPERUThe event was announced in Eventbrite, local news La República, IBM Peru twitter,  IBM Facebook, GNOME wiki, Fedora wiki and this Website (with a language I do not know ).

marinagsocWe started with the welcome words by our manager Patricia Di Negro, then Federico Mena, explained us what GNOME is, Laura Castrotalked about the GNOME community, OPW and GSoC programs with Marina, Valentín Barros (student – Spot project), Marcos Chavarría (student – GNOMECAT project), Fabián Orccón (student – Pitivi project) and

 Patricia Santana Cruz (student – Cheese project), who defined these talks and what people being involved with GSoC and GNOME have: “GNOME vocation“. We expect to have some applications from Peru to these programs, we encourage people to read these GSoC – GNOME sites: 1,2,3,4, 5.

Fedora was present also with Alejandro Perez and Jonathan Campos (Assambadors of Fedora LATAM), I had already received a proposal from peruvian enterpreneus guy to give a workshop of Fedora in Lima. We still have more Fedora DVD to install and stickers to spread the Fedora – GNOME word.

Alex Aragón did during his talk a demostration of the use of Blender, he used the GNOME logo and a chain to make them move. After that, everyone took a box lunch and we share them after taking our grupal photo. You can see more photos of the event by clicking here

GNOME PERU FEST 2015“GNU/Linux in enterprises” afternoon followed: * IBM Perú presented SAP on Linux, by Carol Romani, Christian Chancafe. * Nexsys Perú presented Power on Linux, by Wilder Mendoza. * Watson IBM, presented academic achievement, by Sergio Sotelo. * Neosecure presented Linux security in bussiness, by Juan Pablo Quiñe. * PetroPerú presented The success of Linux in business , by Xavier Sánchez. We have a few tweets with the #GNOMEPERUFEST2015 hashtag  because we do not share the WiFi password to anybody (this is a dilema for me because you can get more attention from them, but they can not publish what in going on during the event). A video camera was on durign the whole day, and I hope soon to get an extract of it! :) GNOMEcake

Posted in GNOME, τεχνολογια :: Technology | Tagged , , , , , , | 1 Comment

Upcoming GNOME PERU FEST 2015

Time goes so fast and this is going to be the 5th edition of the GNOME PERU FEST.  Peruvian people were gathered together in the name of GNOME since 2011, even they do not know at first so much about this GNU/Linux project. After the “party”, some of them realized that they used GNOME in their laptops without knowing. I am so happy we had been increased the number of attendance in 2012, 2013 and 2014.

So far, this is our strategy in 2015 ->

strategy

It is kind of unclear for most people, but is it a whole vision of the event for this year!

Our proposal for the agenda is already published in the GNOME Wiki and the logo also is ready to be printed in t-shirts, banners, stickers and invitations :D

GNOMEPERUFEST2015I hope GNOME community can join us, and If you think that something might be changed or added, your suggestions are so welcome!

Thanks again to the GNOME Foundation and some GNOME people who are going to give a speech for peruvians about GNOME and the GSoC program, such as Valentin, Marco, Fabian. Glad to see you guys again on Friday 13th, March!

I wish that you! GNOME guys! were here to explain everyone about the GNOME project, but at least, have you online… it will be a real pleasure!

Posted in Events, GNOME | Tagged , , , , | Leave a comment

CUDA Programming

I was invited to attend a CUDA workshop, this event was promoted by DIA PUCP. Thanks to the professor, Dr. Manuel Ujaldon, who trained us for about 12 hours using C. We use the cloud of NVIDIA to practice and we do exercises to optimise  vector functions. Concepts of register, blocks, kernel and algorithms like compute bound and memory bound, memory shared, tiling, GPU/CPU technology, CUDA software (v6 and v6.5), which are compatible with CUDA hardware: Tesla(2008 – v1,2,3 with 8 cores), Fermi (2010 – v1,2 with 32 cores), Kepler(2012 – v3 and 3.5 with 192 cores) and Maxwell(2014 – v5 with 128 cores) and Pascal architecture for future.

Screen Shot 2014-10-09 at 3.23.00 PM

We started with this device:

CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: “GRID K520″
  CUDA Driver Version / Runtime Version          6.0 / 6.0
  CUDA Capability Major/Minor version number:    3.0
  Total amount of global memory:                 4096 MBytes (4294770688 bytes)
  ( 8) Multiprocessors, (192) CUDA Cores/MP:     1536 CUDA Cores
  GPU Clock rate:                                797 MHz (0.80 GHz)
  Memory Clock rate:                             2500 Mhz
  Memory Bus Width:                              256-bit
  L2 Cache Size:                                 524288 bytes
  Maximum Texture Dimension Size (x,y,z)         1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096)
  Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
  Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048 layers
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       49152 bytes
  Total number of registers available per block: 65536
  Warp size:                                     32
  Maximum number of threads per multiprocessor:  2048
  Maximum number of threads per block:           1024
  Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
  Max dimension size of a grid size    (x,y,z): (2147483647, 65535, 65535)
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             512 bytes
  Concurrent copy and kernel execution:          Yes with 2 copy engine(s)
  Run time limit on kernels:                     No
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  Device supports Unified Addressing (UVA):      Yes
  Device PCI Bus ID / PCI location ID:           0 / 3
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.0, CUDA Runtime Version = 6.0, NumDevs = 1, Device0 = GRID K520
Result = PASS

We must analyse if we use the strategy of fine-grain or coarse-grain. In our first example was so convenient because we do not need so much the use of memory. But, if we use coarse-grain, we sacrifice parallelism. Not so much blocks are available, then we do not have enough backups of blocks. E.g. 128×128 is equal to 2 elevated to 14, which is 16384 with 256 threads, with 64 blocks for each SMX. 16 blocks equivalent to 1 block for each SMX.

CUDA_PUCP

Thanks to Genghis Rios to organise this workshop. More pictures here>>>

IMG_5923 IMG_5956 IMG_5962 IMG_5914 IMG_5922

Posted in Education, GNOME, GNU/Linux/Open Source, τεχνολογια :: Technology, Programming | Leave a comment

Red Hat Certifications

More than two years had been passed since I have met Red Hat in the GNOME Documentation Hackfest 2012.  After the event, I came back to my Perú and doors were opened to work as a system administrator in GMD. There, I gained skills in handling files, working with the command line and using system documentation, along with managing systems (boot-up, identifying processes, starting/stoping virtual machines, controlling systems), configuring storage partitions and logical volumes, and more…

After almost a year, IBM Perú gave me the opportunity to manage Red Hat servers, and I now I am pleased to announce that I got the best Red Hat certifications on May, 31th 2014: RHCSA and today, the most expected: RHCE.

Julita_Inca_Chiroque_RHCE

I am still learning, unexpected situations can happens even if you have the best plan for servers maintenance.

Thanks to GOD, family, friends, GNOME, Fedora and everyone who supports my career and fun in the Linux world :)

Posted in Education, GNOME | Tagged , , , , , , , , | 4 Comments