Language Selection

English French German Italian Portuguese Spanish

today's leftovers

Filed under
Misc
  • AMDVLK 2019.Q4.2 Brings Several More Extensions, Game Tuning

    AMDVLK 2019.Q4.2 is out today as AMD's second open-source Radeon Vulkan Linux driver update for the fourth quarter.

    With a while since 2019.Q4.1, today's update is fairly notable especially with newly supported Vulkan extensions. Now wired up for this AMD Vulkan Linux driver is VK_KHR_shader_subgroup_extended_types, VK_KHR_pipeline_executable_properties, VK_KHR_timeline_semaphore, VK_KHR_shader_clock, and VK_KHR_spirv_1_4. Also new is computeFullSubgroups support.

  • The Khronos Group have now released a Vulkan Guide to get you started

    The Khronos Group seems to be making another big push for Vulkan API adoption lately, after putting up an official GitHub repository of code samples they've now done a Vulkan Guide.

    Another joint effort between Khronos members, with an aim of it being "the perfect place to get started with the API". It's aimed to be a mostly light read, that links to many other helpful resources for learning Vulkan development. They say it's "intended to help better fill the gaps about the many nuances of Vulkan".

  • Managing software and services with Cockpit

    The Cockpit series continues to focus on some of the tools users and administrators can use to perform everyday tasks within the web user-interface. So far we’ve covered introducing the user-interface, storage and network management, and user accounts. Hence, this article will highlight how Cockpit handles software and services.

    [...]

    Because Cockpit uses systemd, we get the options to view System Services, Targets, Sockets, Timers, and Paths. Cockpit also provides an intuitive interface to help users search and find the service they want to configure. Services can also be filtered by it’s state: All, Enabled, Disabled, or Static. Below this is the list of services. Each row displays the service name, description, state, and automatic startup behavior.

  • Fedora Stakeholders Debate Statically Linking Python For Better Performance

    A surprisingly controversial proposal for Fedora 32 is to shift from dynamically linking Python 3 with the libpython3.X.so library to static linking. The change can yield double digit percentage improvements to Python scripts but at the cost of larger on-disk space. 

    There is a change proposal for next spring's Fedora 32 release to switch to static linking with Python 3 and its library. A 5~27% improvement has been reported as the possible benefit to Fedora though that may vary depending upon the actual Python workload. 

  • Partnering with Nutanix to run Windows and Linux desktop apps on GCP
  • The FreeBSD Migration To OpenZFS Is Still Looking To Be A Great Change

    Last year it was decided that FreeBSD's ZFS code would be re-based on OpenZFS (ZFS On Linux) code for ultimately better support and functionality as well as largely unifying the open-source ZFS ecosystem. While still transitioning towards the OpenZFS code-base, for FreeBSD it's still looking to be a positive move and one that will pay off for all parties involved. 

  • CEO Of Security Company Behind Unorthodox Penetration Tests Wants To Know Why His Employees Are Still Being Criminally Charged

           

             

    A couple of months ago, security researchers performing a very physical penetration test of an Iowa courthouse were arrested for breaking and entering. They were also charged with possessing burglar's tools, which they did indeed possess.

  • You’ve Been Served…with Subpoena-Themed Phishing Emails

                 

                   

    According to researchers, the phishing emails are spoofing the UK Ministry of Justice, aiming to capitalize on scare tactics to convince targets to click on an embedded link to “learn more about the case” by saying that the recipient has 14 days to comply with the subpoena notice. If the target clicks on the link, he or she will find themselves infected with Predator the Thief, a publicly available information-stealing malware that’s not often seen in phishing campaigns.

  • Publishers Should be Making E-Book Licensing Better, Not Worse

    Macmillan, one of the “Big Five” publishers, is imposing new limits on libraries’ access to ebooks—and libraries and their users are fighting back.

    Starting last week, the publisher is imposing a two-month embargo period on library ebooks. When Macmillan releases a new book, library systems will be able to purchase only one digital copy for the first eight weeks after it’s published. Macmillan is offering this initial copy for half-price ($30), but that has not taken away the sting for librarians who will need to answer to frustrated users. In large library systems in particular, readers are likely to experience even longer hold queues for new Macmillan e-book releases. For example, under the new Macmillan embargo, the 27 branches of the San Francisco Public Library system, serving a city of nearly 900,000 people, will have to share one single copy right when the demand for the new title is the greatest.

  • Tuya helps you easily Design & Manufacture your own Smart Home Solutions

    One person in the LetsControlIt forum thread linked above explains the stock firmware can be updated over-the-air via a Raspberry Pi 3/3+ board using a project named Tuya-Convert.

    [...]

    I stopped there, so sorry there won’t be any CNX Software branded devices, but we can see it’s 5-steps process with functions definition, app UI design, hardware debug, advanced features, and mass production.

    The company also claims to offer “Military-grade AES and HTTPS WAN/LAN encryption”, but Michael Steigerwald, founder of the German IT security startup VTRUST, disproved the claim as the messages contain “canttouchthis” unencrypted password, at least that was the case in December 2018.

    So if you ever wanted to launch your own brand, it looks to be an easy way to get started, but you may want to handle the firmware & software part on your own.

  • The EU declares war on e-waste

    As of 2021, manufacturers across Europe will be required to improve both the reparability and service life of devices such as washing machines, refrigerators, dishwashers, electric motors, light sources and LED screens. Manufacturers must also be more precise when it comes to including energy consumption information on the labels of their products and providing replacement parts for at least 10 years after purchase.

    Laptops and smartphones, however, are not covered under the new rules — more on that later.

  • PyCharm 2019.3 Beta

    We’re very excited to announce the Beta release for PyCharm 2019.3, a feature-complete preview of the upcoming release. Give the Beta build a go and try all the new functionality – download it from our website.

  • Webinar Recording: “Visual SQL Development with PyCharm” with Maxim Sobolevskiy

    This week we had a webinar with Maxim Sobolevskiy, the DataGrip Product Marketing Manager, showing the wonderful, magical Database tool in PyCharm. The webinar recording is now available.

More in Tux Machines

Programming Leftovers

  • Faster Winter 4: Export lists

    Without an export, the compiler has to assume that every top-level function can possibly called from the outside, even functions that you think of as “internal”. If you have a function that you do not export, like instr, step_work and step after my change, the compiler can see all the places the function is called. If the function is only called in one place, it may inline it (copy its definition into where it is called), and simplify the code around the edges. And even if it does not inline the function, it might learn something about how the functions are used, and optimize them based on that (e.g. based on Demand Analysis).

  • Ondřej Holý: How to call asynchronous function synchronously

    GLib provides a lot of asynchronous functions, especially to deal with I/O. Unfortunately, some functions don’t have synchronous equivalents and the code has to be split into several callbacks. This is not handy in some cases. My this year’s GSoC student recently asked me whether it is possible to create synchronous function from asynchronous. He is currently working on test suite and don’t want to split test cases into several callbacks. So I decided to write a blog spot about as it might be handy for more people.

  • Sort list alphabetically with python

    You will be given a vector of string(s). You must sort it alphabetically (case-sensitive!!) and then return the first value. The returned value must be a string and have “***” between each of its letters. You should not remove or add elements from/to the array. Above is another problem in codewars, besides asking us to sort the array list and returning the first value in that list, we also need to insert stars within the characters.

  • Abolishing SyntaxError: invalid syntax ...

    Do you remember when you first started programming (possibly with Python) and encountered an error message that completely baffled you? For some reason, perhaps because you were required to complete a formal course or because you were naturally persistent, you didn't let such messages discourage you entirely and you persevered. And now, whenever you see such cryptic error messages, you can almost immediately decipher them and figure out what causes them and fix the problem. Congratulations, you are part of an elite group! Even a large number of people who claim that they can program are almost certainly less capable than you are. Given your good fortune, would you mind donating 5 to 10 minutes of your time to help countless beginners that are struggling in trying to understand Python error messages?

  • Is it too late to integrate GitOps?

    The idiom “missed the boat” can be used to describe the loss of an opportunity or a chance to do something. With OpenShift, the excitement to use this new and cool product immediately may create your own “missed the boat” moment in regards to managing and maintaining deployments, routes, and other OpenShift objects but what if the opportunity isn’t completely gone? Continuing with our series on GitOps (LINK), the following article will walk through the process of migrating an application and its resources that were created manually to a process in which a GitOps tool manages the assets. To help us understand the process we will manually deploy a httpd application. Using the steps below we will create a namespace, deployment, and service and expose the service which will create a route.

Canonical Teases Big Ubuntu Announcement with Leading Global Automation Company

Canonical, the company behind the popular Ubuntu Linux operating system, announced today that it will be present at the upcoming Smart Product Solutions (SPS) 2019 event in Nuremberg to showcase Ubuntu Core to the industrial Mittelstand. Canonical continues to promote its Ubuntu Core operating system, a slimmed-down version of Ubuntu designed and optimized to run on smaller, embedded hardware, such as IoT (Internet of Things) devices, and it now promises to support the Mittelstand innovators, which are medium-sized companies, with Open Source software and GNU/Linux technologies. Read more Also: The lifecycle of a component

today's howtos

Zorin OS 15 Lite Gives Xfce an Awesome Makeover

Zorin OS 15 Lite is designed to work on older computers with low hardware configuration. The customized Xfce desktop gives Zorin OS Lite a sleek modern look. See it yourself. Read more