Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • The 20 Best PHP Frameworks for Modern Developers in 2020

    Programming languages encompass the tech world, and we, living in the 21st century, are seeing a historical change. As we all know, these languages are widely used for developing various apps, mobile phone system, etc. and thereby, the demand for these is increasing rapidly over time among developers. Among the different scripting dialects, the language which has secured practically 80% of the site market and tech world is PHP. PHP is utilized to fabricate sites and web applications. The use of PHP frameworks improves the intricate procedure of development by giving a stage where the engineers can work without much of a stretch form PHP applications in the briefest time conceivable.

  • A new hash algorithm for Git

    The Git source-code management system is famously built on the SHA‑1 hashing algorithm, which has become an increasingly weak foundation over the years. SHA‑1 is now considered to be broken and, despite the fact that it does not yet seem to be so broken that it could be used to compromise Git repositories, users are increasingly worried about its security. The good news is that work on moving Git past SHA‑1 has been underway for some time, and is slowly coming to fruition; there is a version of the code that can be looked at now.

  • Git commit reordering

    While I was working for a presentation for kid’s school at Magnetic field, Aurora, Lunar Phases and Rockets, I added 4 big videos to the presentation (as I was going to use them offline while presenting).

    I know what git is not the place for big binary files, and even Github proposed to use the LFS backend for that, but as it was just temporary, I went ahead.

    After that commit, I also wrote two more articles, the one on Lego Speed Champions and the one on Galleria.io and PhotoSwipe, so it became a problem to have big files in between, when my plan was to remove them in the end.

  • Qt World Summit 2019 talk videos are online

    Were you there, but you couldn’t attend that talk or two that you really wanted to see because the conference was so, so packed with awesome content?

    Fear no more! We are glad to announce that the talks at the past Qt World Summit 2019 in Berlin (or QtWS19, for the friends) have been video recorded and are now available online! You can now catch up with the latest news, improvements and best practices around Qt and its ecosystem, all from the comfort of your sofa office chair.

    We have gathered all the talks given by KDAB engineers on this summary page, where you can find also more information about the contents of each talk and download the slides.

  • OpenBLAS 0.3.8 Brings More AVX2/AVX512 Kernels, Other Optimizations

    For those using OpenBLAS as your BLAS (Basic Linear Algebra Subprograms) implementation, OpenBLAS 0.3.8 was released this weekend and coming with it are more AVX2/AVX-512 kernels and other optimizations.

    OpenBLAS continues striving to compete with Intel's MKL and other optimized BLAS implementations and with more AVX2 and AVX-512 should help with the performance on the latest Intel and AMD CPUs. There is now an AVX-512 DGEMM kernel, the AVX-512 SGEMM kernel was "significantly" improved, and new AVX-512 optimized kernels for CGEMM and ZGEMM. On the AVX2 front the kernels for STRMM, SGEMM, and CGEMM are said to have been significantly sped-up along with new kernels for CGEMM3M and ZGEMM3M.

  • Egad not more PAWs posts Sad

    Well back on my PAWS run again. This one might be a rather short series as I am really just looking at one Action in the Kinesis API 'SubscribeToShard'. There is an open bug for this one up on github https://github.com/pplu/aws-sdk-perl/issues/371 and one I think I can fix up fairly eaisy.

    First things first, a little word on Kinesis. Well in short it touted as a very scalable real time data-stream thingy that sings dances and basically makes you line much better. Myself I do not havea use for it but it is part of the system and there is a bug so in I go.

    I first had to set things up on the AWS server side with some permission etc the usualal srtuff I also had to run a number of command top build up my Kineses system to a point where I can actually use the 'SubscribeToShard'

  • Important Changes in YAML::PP v0.019

    During the SUSE Hackweek 19 I found time to fix some bugs and make important changes in YAML::PP.

    Some of these changes might break code, but I expect this will be rare.

    As I see more and more CPAN modules using YAML::PP, I decided to make these changes as soon as possible.

    I will explain all changes and the reasons.

  • Introducing KBOS

    Starting even before Moose, we (in the Perl 5 world) have a plethora of Modules extending the syntax of the language with Perl 6 and more in mind. The following article sums up not only my 2 and a half cents on the subject but also an attempt to implement it. It should be of interest to anybody thinking about programming in general.

    As many here know, Kephra is the project closest to my heart and during the latest iteration, I decided to extend the language itself to get a more expressive, less repetitive code base. I want a fast, extendable type system with helpful error messages, real private attributes, real private methods, signatures with typed, positional, named and optional arguments, relaxed professional error handling, I want to know all instances of a class, reuse by delegation and incorporate any foreign objects. Last not least should the system support me in marshalling all attributes, so I can fully restore a program state after restart or switch into a remote session / other window.

    The Kephra Base Object System (KBOS - read: ok boss) is designed to deliver on all that and I just want to discuss here my decisions. Some seem to be strange, like no inheritance (a feature), class types (not even Raku has them) or 4 different method scopes. But hej its my pile of garbage, stay away. I want this to become the optimal object system for Kephra's needs. It is not clear to me if I will release it or parts as a separate distribution in future.

  • Postponing some feature removals in Python 3.9

    Python 2 was officially "retired" on the last day of 2019, so no bugs will be fixed or changes made in that version of the language, at least by the core developers—distributions and others will continue for some time to come. But there are lots of Python projects that still support Python 2.7 and may not be ready for an immediate clean break. Some changes that were made for the upcoming Python 3.9 release (which is currently scheduled for October) are causing headaches because support for long-deprecated 2.7-compatibility features is being dropped. That led to a discussion on the python-dev mailing list about postponing those changes to give a bit more time to projects that want to drop Python 2.7 support soon, but not immediately.

    There will actually be one final release of Python 2, Python 2.7.18, in April. It is something of a celebratory release that will be made in conjunction with PyCon. There were some fixes that accumulated in the branch between the 2.7.17 release in October and the end of the year, so those fixes will be flushed and the branch retired. Other than the release itself, no other changes will be allowed for that branch in 2020.

  • SUSE Hack Week Spotlight: Guerrilla AI Team

    SUSE Hack Week is a week-long sprint permitting developers time off from their day jobs to work on something entirely of their own design or wishes. This week we will be showcasing some of the amazing projects coming out of SUSE Hack Week and the brilliant minds behind them. Stay tuned all week long for more features.

More in Tux Machines

Openwashing Leftovers

'Open' Surveillance 'Apps'

  • Singapore to open-source national Coronavirus encounter-tracing app and the Bluetooth research behind it

    The app, named TraceTogether and its government is urging citizens to run so that if they encounter a Coronavirus carrier, it’s easier to trace who else may have been exposed to the virus. With that info in hand, health authorities are better-informed about who needs to go into quarantine and can focus their resources on those who most need assistance. The app is opt-in and doesn’t track users through space, instead recording who you have encountered. To do so, it requires Bluetooth and location services to be turned on when another phone running the app comes into range exchanges four nuggets of information - a timestamp, Bluetooth signal strength, the phone’s model, and a temporary identifier or device nickname. While location services are required, the app doesn't track users, instead helping to calculate distances between them.

  • Singapore says it will make its contact tracing tech freely available to developers

    Less than a week after launching an app to track potential exposure to the coronavirus, Singapore is making the technology freely available to developers worldwide. The city-state rolled out an app called TraceTogether on March 20 and described it as a supplementary tool for its contact tracing efforts that relied on the recall and memory of infected individuals. Contact tracing is the process of identifying those with close contact with infected patients.

  • Over 600k users installed TraceTogether, app to be made open source

    A mobile application developed by the Government Technology Agency (GovTech) that helps in contact tracing for Covid-19 has been installed by more than 620,000 users since its launch last Friday. With a decision to make the technology behind it available to developers around the world, even more people could stand to benefit. Developed in collaboration with the Health Ministry (MOH), the TraceTogether mobile app works by exchanging short-distance Bluetooth signals between phones.

  • 620,000 people installed TraceTogether in 3 days, S’pore’s open source contact tracing app

    TraceTogether, a mobile app to support contact tracing efforts developed by the Government Technology Agency (GovTech), in collaboration with the Ministry of Health (MOH), was launched on Friday, Mar. 20.

  • The Shield: the open source Israeli Government app which warns of Coronavirus exposure
  • Israel Unveils Open Source App to Warn Users of Coronavirus Cases

    A new Israeli app can instantly tell users if they have crossed paths with someone known to have been infected with the coronavirus. On Sunday, the country’s health ministry unveiled the app, called “The Shield”(“HaMagen”, in Hebrew.) The app takes location data from the user’s phone and compares it with the information in Health Ministry servers regarding the location histories of confirmed cases during the 14 days before their diagnosis.

OSS Leftovers

  • Open source platforms, flexible airframes for new drones

    Multirotor drones excel at vertical lift and hover, while fixed wing drones are great at both distance and wide-open spaces. In February, Auterion Government Solutions and Quantum-Systems announced a two-pronged approach to the rotor- or fixed-wing drone market, with a pair of drones that use the same sensor packages and fuselage to operate as either the Scorpion Trirotor or the Vector fixed wing craft. “As we started to develop our tactical UAS Platform, our plan was only to develop a VTOL fixed wing solution (like our Vector),” said Florian Siebel, managing director of Quantum-Systems. “During the development process we decided to build a Tri-Copter Platform as well, as a result of many discussions with law enforcement agencies and Search and Rescue Units.” Adapting the fixed-wing fuselage to the tri-copter attachments means the drone can now operate in narrow spaces and harsh conditions. Scorpion, with the rotors, can fly for about 45 minutes, with a cruising speed of zero to 33 mph. Put the fixed wings back on for Vector, and the flight time is now two hours, with a cruising speed of 33 to 44 mph.

  • IEEE Standards Association Launches a Platform for Open Source Collaboration
  • Greg Smith on the strengths and drawbacks of open source software

    There are a lot of tire models available in the world. Most are closed source (or black box), meaning the program code behind them is not available to end users. This is understandable as the code can easily be licensed and its development paid for. Everyone’s got to make a living! This approach, however, makes it much harder to get the best out of the models – if you can’t see their internal workings, it’s harder to maximize their usefulness. Other models, such as Magic Formula, are effectively open source, with the equations published in books and journal papers. This means that anyone (if they invest the time) can build and use their own Magic Formula solvers and, in the process, learn the details of how the model works. In April 2015, during a session at the 4th International Tire Colloquium at Surrey University, UK, the general idea of open sourcing was discussed. In attendance were various figures from the commercial tire model development community, representatives from car and tire companies who use the models, and a large group of academics involved in more fundamental research. Issues were raised regarding everything from intellectual property concerns and licensing through to technical advances, development strategies and training. Boiling all this down, most discussions centered on one of two approaches.

  • First open-source AI for driverless agricultural vehicles
  • Huawei announced AI Computing Framework MindSpore as Open Source

    During the Huawei 2020 Developer Conference continues online, bringing the latest progress of The Wei Peng and Yan Teng Ecology. According to the agenda of the meeting, the first day of the developer conference (March 27) will focus on Peng Peng, the next day (March 28) will focus on The Teng.

  • New Chinese open-source AI platform launched

    Megvii Technology Limited has announced the launch of a new open-source artificial intelligence platform for developers, Shanghai Daily learned on Thursday. Other firms offering such platforms include tech giants like Google, Amazon, Facebook, Microsoft and Baidu.

  • Open-source AI infrastructure to boost innovation in China

    From smart fever-screening at subway stations to scan-reading diagnosis, artificial intelligence (AI) is on the frontline of China's battle against the novel coronavirus. Behind the smart systems are deep-learning frameworks that emulate the way the human brain learns, like recognizing patterns and coping with ambiguity.

  • Megvii makes deep learning AI framework open-source as China moves to reduce reliance on US platforms
  • Noble.AI Contributes to TensorFlow, Google's Open-Source AI Library and the Most Popular Deep Learning Framework

    Noble.AI, whose artificial intelligence (AI) software is purpose-built for engineers, scientists, and researchers and enables them to innovate and make discoveries faster, today announced that it had completed contributions to TensorFlow, the world's most popular open-source framework for deep learning created by Google.

  • Google open-sources framework that reduces AI training costs by up to 80%

    Google researchers recently published a paper describing a framework — SEED RL — that scales AI model training to thousands of machines. They say that it could facilitate training at millions of frames per second on a machine while reducing costs by up to 80%, potentially leveling the playing field for startups that couldn’t previously compete with large AI labs.

  • A case study: Improving patient outcomes with Open Source

    South London and Maudsley NHS Foundation Trust (SLaM) provides the widest range of NHS mental health services in the UK with 52 inpatient wards, outpatient, and community services. As recognition of their digital accomplishments, SLaM have been awarded GDE (Global Digital Exemplar) status. Following a two-year pilot of Open-eObs software, the trust had proven the long-term benefits of an open source approach and needed a supplier to further drive their digital ambition.

Programming: Java, Python, Perl and More

  • Azul Systems Extends Open Source Java Offerings with a new Zulu Distribution of OpenJDK 14
  • Azul Systems brews up fresh blend for open source Java

    Java runtime solutions company Azul Systems has announced the general availability of its Zulu release of OpenJDK 14 builds. [...] All Zulu 14 JDKs and JREs are verified against and pass the TCK certification tests required to ensure the correct execution of Java SE 14 applications.

  • Python File I/O

    Start writing here..In this article, you'll learn about Python file operations. More specifically, opening a file, reading from it, writing into it, closing it and various file methods you should be aware of. What is a file? File is a named location on disk to store related information. It is used to permanently store data in a non-volatile memory (e.g. hard disk). Since, random access memory (RAM) is volatile which loses its data when computer is turned off, we use files for future use of the data.

  • Python: Pros and Cons of Lambda

    lambda is a keyword in Python, we use it to create an anonymous function. So we also call lambda functions as anonymous functions.

  • Learning pandas by Exploring COVID-19 Data

    The European Centre for Disease Prevention and Control provides daily-updated worldwide COVID-19 data that is easy to download in JSON, CSV or XML formats. In this tutorial, we will use the pandas data analysis tool on the comma-separated values (CSV) data to learn some of the basic pandas commands and explore what is contained within the data set.

  • Rotation in R^2 - CY's take on PWC#053 Task 1

    This is a part of Perl Weekly Challenge(PWC) #053 and the followings are related to my solution. If you want to challenge yourself on Perl, go to https://perlweeklychallenge.org, code the latest challenges, submit codes on-time (by GitHub or email) if possible, before reading my blog post.

  • Perl Weekly Challenge 053: Rotate Matrix and Vowel Strings
  • IoT Adoption Survey Reveals Open Source Rules

    The Eclipse Foundation's IoT Working Group has issued a report that reveals that for commercial organizations the IoT is real and adoption is growing, albeit with a degree of caution. As far as IoT is concerned, the open source model clearly dominates. Conducted online between October and December 2019, with 366 respondents, the IoT Commercial Adoption Survey was the first exercise of its kind. Its aim was gain a better understanding of the IoT industry landscape by identifying the requirements, priorities, and challenges faced by organizations that are deploying and using commercial IoT solutions. It can be seen as the counterpart of the IoT Developer Survey, which since 2015 has been an annual exercise reporting on the programming languages, platforms, infrastructure and tools used for building IoT solutions.

  • What happens when the maintainer of a JS library downloaded 26m times a week goes to prison for killing someone with a motorbike? Core-js just found out

    In November 2019, Denis Pushkarev, maintainer of the popular core-js library, lost an appeal to overturn an 18-month prison sentence imposed for driving his motorcycle into two pedestrians, killing one of them. As a result, he's expected to be unavailable to update core-js, a situation that has project contributors and other developers concerned about the fate of his code library.

  • [Old] When to assume neural networks can solve a problem

    The question: “What are the problems we should assume can be solved with machine learning?”, or even narrower and more focused on current developments “What are the problems we should assume a neural network is able to solve?”, is one I haven’t seen addressed much.

    There are theories like PAC learning and AIX which at a glance seem to revolve around this, as it pertains to machine learning in general, but if actually applied in practice won’t yield any meaningful answers.

    However, when someone asks me this question about a specific problem, I can often give a fairly reasonable confidence answer provided I can take a look at the data.

    Thus, I thought it might be helpful to lay down the heuristic that generate such answers. I by no means claim these are precise or evidence based in the scientific sense, but I think they might be helpful, maybe even a good start point for further discussion on the subject.

  • Uber Open Sources Piranha Stale Code Remover

    Uber has released an open source version of Piranha, a tool that scans source code to delete code related to stale, or obsolete, feature flags. Piranha is run at Uber in an ongoing pipeline for its Android and iOS codebases and has been used to remove around two thousand stale feature flags and their related code. Uber says it has led to a cleaner, safer, more performant, and more maintainable code base.

  • Piranha Is An Open Source Tool That Automatically Deletes Obsolete Code