{"id":1533,"date":"2015-04-26T09:37:25","date_gmt":"2015-04-26T09:37:25","guid":{"rendered":"http:\/\/blog.filipesaraiva.info\/?p=1533"},"modified":"2015-04-26T09:37:25","modified_gmt":"2015-04-26T09:37:25","slug":"cantor-in-kde-applications-15-04","status":"publish","type":"post","link":"https:\/\/filipe.saraiva.tec.br\/blog\/?p=1533","title":{"rendered":"Cantor in KDE Applications 15.04"},"content":{"rendered":"<p style=\"text-align: justify;\"><a href=\"https:\/\/www.kde.org\/announcements\/announce-applications-15.04.0.php\" target=\"_blank\">KDE Applications 15.04<\/a> release brings a new version of the scientific programming software <a href=\"https:\/\/edu.kde.org\/cantor\/\" target=\"_blank\">Cantor<\/a>, with a lot of news. I am specially happy with this release because I worked in several parts of these new features. =)<\/p>\n<p style=\"text-align: justify;\">Come with me\u2122 and let&#8217;s see what is new in Cantor.<\/p>\n<h2 style=\"text-align: justify;\">Cantor ported to Qt5\/KF5<\/h2>\n<figure id=\"attachment_1517\" aria-describedby=\"caption-attachment-1517\" style=\"width: 688px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2015\/04\/cantor-kf5.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1517\" data-permalink=\"https:\/\/filipe.saraiva.tec.br\/blog\/?attachment_id=1517\" data-orig-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/cantor-kf5.png\" data-orig-size=\"999,681\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"cantor-kf5\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/cantor-kf5-300x205.png\" data-large-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/cantor-kf5.png\" class=\"wp-image-1517\" src=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2015\/04\/cantor-kf5.png\" alt=\"cantor-kf5\" width=\"688\" height=\"469\" srcset=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/cantor-kf5.png 999w, https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/cantor-kf5-300x205.png 300w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/a><figcaption id=\"caption-attachment-1517\" class=\"wp-caption-text\">Cantor Qt5\/KF5 + Breeze theme. In the image it is possible to see the terminal\/worksheet, variable management panel, syntax highlighting, code completion, and the standard interface<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">I started the Cantor port to Qt5\/KF5 during <a href=\"http:\/\/blog.filipesaraiva.info\/?p=1330\" target=\"_blank\">previous LaKademy<\/a> and I continued the development along the year. Maybe I had pushed code from 5 different countries since the beginning of this work.<\/p>\n<p style=\"text-align: justify;\">The change for this new technology was successfully completed, and for the moment we don&#8217;t notice any feature missed or new critical bug. All the backends and plugins were ported, and some new bugs created during this work were fixed.<\/p>\n<p style=\"text-align: justify;\">We would like to ask for Cantor users to report any problem or bug in <a href=\"http:\/\/bugs.kde.org\/\" target=\"_blank\">bugzilla<\/a>. Anyway, the software is really very stable.<\/p>\n<p style=\"text-align: justify;\">When you run Cantor Qt5\/KF5 version on the first time, the software will look for Cantor Qt4 configurations and, if it exists, the configurations will be automagically migrated to Cantor Qt5\/KF5.<\/p>\n<h2 style=\"text-align: justify;\">Backend for Python 3<\/h2>\n<p style=\"text-align: justify;\">In Season of KDE 2014 I was the mentor of <a href=\"https:\/\/fedorapeople.org\/~minh\/\" target=\"_blank\">Minh Ngo<\/a> in the project to create a <a href=\"https:\/\/fedorapeople.org\/~minh\/kde\/cantor\/2015\/01\/18\/sok-final-report.html\" target=\"_blank\">backend for Python 3<\/a>, increasing the number of backends in Cantor to 10!<\/p>\n<figure id=\"attachment_1516\" aria-describedby=\"caption-attachment-1516\" style=\"width: 645px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2015\/04\/cantor-backends.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1516\" data-permalink=\"https:\/\/filipe.saraiva.tec.br\/blog\/?attachment_id=1516\" data-orig-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/cantor-backends.png\" data-orig-size=\"645,575\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"cantor-backends\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/cantor-backends-300x267.png\" data-large-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/cantor-backends.png\" class=\"wp-image-1516 size-full\" src=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2015\/04\/cantor-backends.png\" alt=\"cantor-backends\" width=\"645\" height=\"575\" srcset=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/cantor-backends.png 645w, https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/cantor-backends-300x267.png 300w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/a><figcaption id=\"caption-attachment-1516\" class=\"wp-caption-text\">Backend selection screen: Python 3 and their 9 brothers<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">The backend developed by Minh uses D-Bus protocol to allow communication between Cantor and Python 3. This architecture is different of Python 2, but it is present in others backends, as in the backend for R.<\/p>\n<p style=\"text-align: justify;\">The cool thing is Cantor can be interesting for pythonistas using Python 2 and\/or Python 3 now. We would like to get feedback from you, guys!<\/p>\n<h2 style=\"text-align: justify;\">Icon!<\/h2>\n<p style=\"text-align: justify;\">Cantor first release was originally in 2009, with KDE SC 4.4. Since that date the software did not have an icon.<\/p>\n<p style=\"text-align: justify;\">The Cantor Qt5\/KF5 release marks a substantial change in the development of the application, then it is also a good time to release an icon to the software.<\/p>\n<figure id=\"attachment_1518\" aria-describedby=\"caption-attachment-1518\" style=\"width: 128px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2015\/04\/hi128-apps-cantor.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1518\" data-permalink=\"https:\/\/filipe.saraiva.tec.br\/blog\/?attachment_id=1518\" data-orig-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/hi128-apps-cantor.png\" data-orig-size=\"128,128\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"hi128-apps-cantor\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;\u00cdcone do Cantor&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/hi128-apps-cantor.png\" data-large-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2015\/04\/hi128-apps-cantor.png\" class=\"wp-image-1518 size-full\" src=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2015\/04\/hi128-apps-cantor.png\" alt=\"\u00cdcone do Cantor\" width=\"128\" height=\"128\" \/><\/a><figcaption id=\"caption-attachment-1518\" class=\"wp-caption-text\">Cantor icon<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">The art is excellent! It presents the idea of Cantor: a blackboard to you write and develop your equations and formulas while scratches his head and think &#8220;and now, what I need to do to solve it?&#8221;. =)<\/p>\n<p style=\"text-align: justify;\">Thank you Andreas Kainz and Uri Herrera, members of <a href=\"https:\/\/vdesign.kde.org\/\" target=\"_blank\">VDG<\/a> team and authors of Cantor icon!<\/p>\n<h2 style=\"text-align: justify;\">Other changes and bug fixes<\/h2>\n<p style=\"text-align: justify;\">Most bugs added in the Qt5\/KF5 port were fixed before the release.<\/p>\n<p style=\"text-align: justify;\">There are some small changes to be cited: in KNewStuff categories world, &#8220;Python2&#8221; category was changed to &#8220;Python 2&#8221; and &#8220;Python 3&#8221; category was added; the automatic loading of <a href=\"http:\/\/quickgit.kde.org\/?p=cantor.git&amp;a=commit&amp;h=08786ab0762a35ff6b387ffa66c8144b5246321b\" target=\"_blank\">pylab module<\/a> in Python backends was dropped; now it is possible to run <a href=\"https:\/\/bugs.kde.org\/show_bug.cgi?id=342730\" target=\"_blank\">Python commands mixed with comments<\/a> in the worksheet; and more.<\/p>\n<p style=\"text-align: justify;\">You can see a complete log of commits, bugfixes, and new features added in this release in <a href=\"https:\/\/www.kde.org\/announcements\/fulllog_applications-15.04.0.php#cantor\" target=\"_blank\">this page<\/a>.<\/p>\n<h2 style=\"text-align: justify;\">Future works<\/h2>\n<p style=\"text-align: justify;\">As future work maybe the high-priority for this moment is to drop KDELibs4Support from Cantor. Lucas <a href=\"https:\/\/git.reviewboard.kde.org\/r\/122406\/\" target=\"_blank\">developed part of<\/a> this work and we would like to finish it for the next release.<\/p>\n<p style=\"text-align: justify;\">I intend to test if D-Bus communication can be a good solution for Scilab backend. Another task is to redesign the graphical generation assistants of Python backends. A long-term work is to follow the creation of <a href=\"http:\/\/jupyter.org\/\" target=\"_blank\">Jupyter<\/a> project, the future of IPython notebooks. If Cantor can to be compatible with Jupyter, it will be really nice for users and to encourage the collaboration between different communities\u00a0interested in scientific programming and open science.<\/p>\n<p style=\"text-align: justify;\">I will take advantage of the Cantor Qt5\/KF5 release to write about how to use Cantor in two different ways: the Matlab way and the IPython notebooks way. Keep your eyes in the updates from this blog! =)<\/p>\n<p style=\"text-align: justify;\">If you would like to help in Cantor development, please contact me or mail <a href=\"http:\/\/mail.kde.org\/pipermail\/kde-edu\/\" target=\"_blank\">kde-edu maillist<\/a> and let&#8217;s talk about bug fixes, development of new features, and more.<\/p>\n<h2 style=\"text-align: justify;\">Donations to KDE Brasil &#8211; LaKademy 2015!<\/h2>\n<p style=\"text-align: justify;\">If you would like to support my work, please make a donation to KDE Brasil. We will host the KDE Latin-American Summit &#8211; LaKademy and we need some money to put some latin-american contributors to work together face-to-face. I will focus my LaKademy work in the previously mentioned future works.<\/p>\n<p style=\"text-align: justify;\">You can read more about LaKademy in <a href=\"https:\/\/dot.kde.org\/2015\/04\/21\/lakademy-2015-salvador-bahia-brazil\" target=\"_blank\">this dot.KDE history<\/a>. <a href=\"https:\/\/br.kde.org\/node\/283\" target=\"_blank\">This page<\/a> in English explain how to donate. There is <a href=\"https:\/\/br.kde.org\/node\/284\" target=\"_blank\">other page<\/a> with the same content in Spanish.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>KDE Applications 15.04 release brings a new version of the scientific programming software Cantor, with a lot of news. I am specially happy with this release because I worked in several parts of these new features. =) Come with me\u2122 and let&#8217;s see what is new in Cantor. Cantor ported to Qt5\/KF5 I started the&hellip;&nbsp;<a href=\"https:\/\/filipe.saraiva.tec.br\/blog\/?p=1533\" class=\"\" rel=\"bookmark\">Continue a ler &raquo;<span class=\"screen-reader-text\">Cantor in KDE Applications 15.04<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[58,38,11,26,51,109,104,41,52,108],"class_list":["post-1533","post","type-post","status-publish","format-standard","hentry","category-software-livre","tag-cantor","tag-ciencia","tag-desenvolvimento","tag-kde","tag-planet-mageia-english","tag-planet-python","tag-planet-scipy","tag-planeta-psl-pi","tag-planetkde-english","tag-python"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1p2Jh-oJ","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1533"}],"version-history":[{"count":1,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1533\/revisions"}],"predecessor-version":[{"id":1534,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1533\/revisions\/1534"}],"wp:attachment":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}