Language Selection

English French German Italian Portuguese Spanish

Programming: Learning, Java Development Kit 12, and Python Bits

Filed under
Development
  • How to Be a Tech-Savvy

    Learn how to write a program:
    You cannot make anything new in the computer world without programming skills. You can create windows, apps, websites, a desktop application using programming languages. Some programming languages that you can learn in your beginning level of becoming tech-savvy is Java, C, C++, Html, CSS, JAVASCRIPT, PHP, PYTHON. You can enhance your programming skills by sitting home by taking online tutorials.

    Use a Linux or Unix Operating System:
    If you want to be a tech- savvy I recommend using Unix operating system because a techy person mostly uses the Unix operating system in the world. Unix operating system is open source anyone can use it, and you can view its code too. So, it will help in enhancing your programming skills and learning about technical skills.

  • JDK 12: The new features in Java 12

    The production release of Java Development Kit 12, based on Java SE (Standard Edition) 12, is now available. JDK 12 builds are available from Oracle for Linux, Windows, and MacOS. 

    [...]

    Open source builds are provided under the GNU General Public License v2, with Classpath Exception. Commercial builds of JDK 12 from Oracle can be found on the Oracle Technology network under a non-open source license.

  • Python dictionary "addition" and "subtraction"

    A proposal to add a new dictionary operator for Python has spawned a PEP and two large threads on the python-ideas mailing list. To a certain extent, it is starting to look a bit like the "PEP 572 mess"; there are plenty of opinions on whether the feature should be implemented and how it should be spelled, for example. As yet, there has been no formal decision made on how the new steering council will be handling PEP pronouncements, though a review of open PEPs is the council's "highest priority". This PEP will presumably be added into the process; it is likely too late to be included in Python 3.8 even if it were accepted soon, so there is plenty of time to figure it all out before 3.9 is released sometime in 2021.

  • Debugging and Profiling Python Scripts [Tutorial]

    Debugging and profiling play an important role in Python development. The debugger helps programmers to analyze the complete code. The debugger sets the breakpoints whereas the profilers run our code and give us the details of the execution time. The profilers will identify the bottlenecks in your programs. In this tutorial, we’ll learn about the pdb  Python debugger, cProfile module, and timeit module to time the execution of Python code.

    This tutorial is an excerpt from a book written by Ganesh Sanjiv Naik titled Mastering Python Scripting for System Administrators. This book will show you how to leverage Python for tasks ranging from text processing, network administration, building GUI, web-scraping as well as database administration including data analytics & reporting.

More in Tux Machines

Android Leftovers

Some Difficulty That Are Often Experienced By New Linux Users

On a Linux Users forum, I asked about the difficulties experienced by users. Apparently, I got many interesting and varied answers. Here are some of the difficulty that Linux users feel based on the opinions of people in the forum. Read more

OSI: Powering Potential and Open Source Hong Kong (OSHK)

  • You're Invited: Celebrating Powering Potential.
    OSI Affiliate Member Powering Potential Inc. (PPI) is currently preparing for their annual fundraising event scheduled for Wednesday, June 5, 2019, from 6 to 8:30 p.m. at NoMad Studio, located at 29 W. 39th Street, 10th Floor, in New York City. This year PPI celebrates their 10 Year Partnership with the Segal Family Foundation. The close, long-time relationship has been a key factor in the amazing progress PPI has made in bringing their “Educating through Technology” programs to the rural students in Tanzania. Proceeds from this year’s event will go towards the Sazira Secondary School SPARC+ Lab Upgrade impacting 800+ students in rural Tanzania: an ambitious project needing $23,500. While this is significant, The Collegiate Churches of New York recently awarded Powering Potential a generous grant of $13,000 towards this goal. PPI has an incredible event planned for their guests. Back by popular demand, Tanzanian dancers performing traditional dance led by Justa Lujwangana, CEO and founder of Curious on Tanzania will provide entertainment for the evening. A buffet will also feature authentic Tanzanian dishes based on menus from Taste of Tanzania by Miriam Malaquais. The author has donated twenty of her books for sale at the event with proceeds going to PPI.
  • Open Source Hong Kong Becomes an OSI Affiliate Member
    The Open Source Initiative (OSI), the founding organization of the open source software movement, is excited to announce the Affiliate Membership of the Open Source Hong Kong (OSHK). For ten years OSHK has worked across Asia to support open source communities, foster open source development, and increase the use of open source software, their recent OSI Membership highlights both organizations' desires to collaborate across communities. “OSHK mission is promoting Open Source Software projects in Hong Kong and foster its development by connecting to the global open source community. In joining OSI as an Affiliate Member, OSHK connects with OSI, and other open source organizations, to support the promotion of open source,' said Sammy Fung, President of OSHK. "Open Source Software is not just about viewing the source code, it also guarantees the right to use the software, and modify it for our own use. By working together, I believe both organizations will be able to extend our reach and missions." “We are excited to welcome OSHK as an OSI Affiliate Member,” said Molly de Blanc, OSI President. “The open source community truly is global, and their dedication to that idea is what inspires us as an organization. Our work for the future of open source is driven by that global community, and having the voices of OSHK in our affiliate membership helps us meet our goal in promoting and protecting open source and communities. We look forward to supporting their efforts and collaborating to help spread the message of open source even further.”

Games: GOG, Zork and Epic Games

  • GOG are revamping GOG Galaxy, to help you manage multiple launchers and still no Linux support
    It's like a much fancier version of Steam's own ability to add games installed from other sources, as Galaxy 2.0 will also support cross-launcher friends lists and chat making it sound pretty darn handy. They do also state you can "Connect more platforms and add new features with open-source integrations.". Those hoping that is some kind of olive branch being extended for Linux will likely be disappointed though, going by their FAQ on the newer dedicated Galaxy site it sounds more like it's simply for adding other services into the client itself for those GOG haven't yet done. This would have been the perfect time to finally announce the ridiculously long-overdue Linux support for GOG Galaxy (especially with the Epic Store also not supporting Linux), sadly GOG are continuing to leave Linux out. In response to a user question on Twitter about Linux, the GOG team simply said "GOG GALAXY 2.0 will be available for Windows and Mac.". While an honest answer, it's also pretty blunt. No mention of it coming, just a whole lot of nothing.
  • Zork And The Z-Machine: Bringing The Mainframe To 8-bit Home Computers
    Computer games have been around about as long as computers have. And though it may be hard to believe, Zork, a text-based adventure game, was the Fortnite of its time. But Zork is more than that. For portability and size reasons, Zork itself is written in Zork Implementation Language (ZIL), makes heavy use of the brand-new concept of object-oriented programming, and runs on a virtual machine. All this back in 1979. They used every trick in the book to pack as much of the Underground Empire into computers that had only 32 kB of RAM. But more even more than a technological tour de force, Zork is an unmissable milestone in the history of computer gaming. But it didn’t spring up out of nowhere. [...] While home computers were still scarce, the concept of selling software to regular consumers was also new. This was the time when the Atari 2600 had just gone on sale, starting the second generation game consoles that were expandable to play more that one game through the use of plug-in cartridges. It was a new market, with many questions among MIT, Stanford and other students regarding the open hacker culture versus the world of commercial software. Some, like Richard Stallman, not changing their stance on this much since their student days at MIT. As the Zork developers were graduating, they realized that with the success of Zork on their hands, they had this one chance to commercialize it, taking their lives and careers into an entirely different direction from their original goals. With little standing in their way, Infocom was founded on June 22nd, 1979.
  • Gaming Platform War Update: Epic Games Store Suspends Accounts...For Buying Too Many Games
    As we've talked about before, it seems an era of gaming platform wars is upon us. While Valve's Steam platform mostly only had to contend with less-used storefronts like GOG and Origin, a recent front was opened up by the Epic Games Store, which has promised better cuts to publishers to get exclusive games and has attempted to wage a PR battle to make people mad at Steam. It's all quite involved, with opinions varying across the internet as to who the good and bad guys in this story are.