Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • Firmware Reverse-Engineering Using NSA Software Continues

    Earlier this month we reported on a new Google Summer of Code project making use of NSA software to help with firmware reverse engineering. So far that effort seems to be paying off of using Ghidra.

    Ghidra is the US National Security Agency's open-source project designed to assist in reverse engineering. Ghidra is similar to IDA Pro and other decompilers/disassemblers. The focus of the GSoC 2019 project has been integrating the support to make it suitable as a tool to help with firmware reverse-engineering.

  • Application lifecycle management for container-native development

    Ultimately, developers are expensive, but they are the domain experts in what they build. With development teams often being treated as product teams (who own the entire lifecycle and support of their applications), it becomes imperative that they control the end-to-end process on which they rely to deliver their applications into production. This means decentralizing both the ALM process and the tooling that supports that process. In this article, we’ll explore this approach and look at a couple of implementation scenarios.

  • Teaching algorithmic ethics requires an open approach

    his trend could have profoundly positive impacts on humanity. Consider, for example, the ways in which AI applications have already proven revolutionary in medical diagnosis. But with and alongside the benefits these systems promise are also serious risks, for the growing unchecked use of algorithms in this fashion risks dangerously amplifying inequality and concentrating power in the hands of the few. Other related problems may accompany this, such as the increased commodification of personal information absent consumer protections, or the buildout of digital surveillance infrastructures that are more often than not turned against already marginalized or oppressed populations.

    One of the most promising mechanisms for combating the dangerous encroachment of individual agency and power through algorithms is open education. Policymakers and advisors educated on these ethical technology issues can make informed regulatory decisions, technologists can increase their awareness of the impacts of their designs, and citizens and consumers can adequately understand how algorithmic systems are impacting their everyday lives. Where knowledge is power, education can provide that knowledge.

  • OOP Method Types in Python: @classmethod vs @staticmethod vs Instance Methods
  • Multiple Linear Regression with Python
  • Testing Complex Systems with Maintainable Test Suites
  • Kubernetes Operators Best Practices

    Kubernetes Operators are processes connecting to the master API and watching for events, typically on a limited number of resource types.

    When a relevant event occurs, the operator reacts and performs a specific action. This may be limited to interacting with the master API only, but will often involve performing some action on some other systems (this could be either in cluster or off cluster resources).

More in Tux Machines

Mozilla: The Rust Programming Language and Firefox Releases

  • The Rust Programming Language Blog: Upcoming docs.rs changes

    On September 30th breaking changes will be deployed to the docs.rs build environment. docs.rs is a free service building and hosting documentation for all the crates published on crates.io. It's open source, maintained by the Rustdoc team and operated by the Infrastructure team.

  • Flatulence, Crystals, and Happy Little Accidents

    The recording of my Rust Conf talk on algorithmic art and pen plotters is up on YouTube! [...] I really enjoyed giving this talk, and I think it went well. I want more creative coding, joy, surprise, and silliness in the Rust community. This talk is a small attempt at contributing to that, and I hope folks left inspired.

  • You'll get a new Firefox each month in 2020 as Mozilla speeds up releases

    Mozilla will turn the Firefox crank faster in 2020, releasing a new version of its web browser every four weeks instead of every six. If you're using the browser, the change should deliver new features to you faster since there will be less waiting between when developers build them and when they arrive. "In recent quarters, we've had many requests to take features to market sooner. Feature teams are increasingly working in sprints that align better with shorter release cycles. Considering these factors, it is time we changed our release cadence," Firefox team members Ritu Kothari and Yan Or said in a blog post Tuesday. "Shorter release cycles provide greater flexibility to support product planning and priority changes due to business or market requirements."

GNU lightning 2.1.3 released!

GNU lightning is a library to aid in making portable programs 
that compile assembly code at run time. 
Development: 
http://git.savannah.gnu.org/cgit/lightning.git 
Download release: 
ftp://ftp.gnu.org/gnu/lightning/lightning-2.1.3.tar.gz 
  2.1.3 main features are the new RISC-V port, currently supporting 
only Linux 64 bit, and a major rewrite of the register live and 
unknown state logic, so that a long standing issue with a live 
register not accessed for several consecutive blocks could be 
incorrectly assumed dead. 
The matrix of built and tested environments is: 
aarch64	 Linux (Linaro, Foundation_v8pkg) 
alpha	 Linux (QEMU) 
armv7l	 Linux (QEMU) 
armv7hl	 Linux (QEMU) 
hppa	 Linux (32 bit, QEMU) 
i686	 Linux and Cygwin 
ia64	 Linux 
mips	 Linux (32 bit) 
powerpc32	Linux 
powerpc64	Linux and AIX 
powerpc64le	Linux 
riscv	 Linux (64 bit, QEMU) 
s390	 Linux (Hercules) 
s390x	 Linux (Hercules) 
sparc	 Linux (QEMU) 
sparc64	 Linux (QEMU) 
x32	 Linux (QEMU) 
x86_64	 Linux and Cygwin 

Read more

Programming: Python and C++

  • Python alternative to Docker

    Deploying a Python app to a server is surprisingly hard. Without blinking, you’ll be dealing with virtual environments and a host of other complications. The landscape of deployment methods is huge. What if I told you that there is a way to build your app into a single file and it isn’t a Docker container? In this article, we’re going to look at common ways of deploying Python apps. We’ll explore the touted benefits of Docker containers to understand why containers are so popular for web apps. Finally, we’ll look at an alternative to Docker that may be a lot simpler for your Python web app and compare and contrast this alternative against Docker.

  • How to Convert a Python String to int

    Integers are whole numbers. In other words, they have no fractional component. Two data types you can use to store an integer in Python are int and str. These types offer flexibility for working with integers in different circumstances. In this tutorial, you’ll learn how you can convert a Python string to an int. You’ll also learn how to convert an int to a string.

  • Free Coaching For PyGotham Speakers

    I help organize PyGotham, NYC’s annual conference about the Python programming language. For the third year in a row, we’re giving our speakers free sessions with a professional speaking coach, opera singer Melissa Collom. In the past we’ve limited coaching to first-time speakers, but we’re now able to coach everyone.

  • 8 Excellent C++ Natural Language Processing Tools

    Natural language processing (NLP) is a set of techniques for using computers to detect in human language the kinds of things that humans detect automatically. Natural language processing (NLP) is an exciting field of computer science, artificial intelligence, and computational linguistics concerned with the interactions between computers and human (natural) languages. It includes word and sentence tokenization, text classification and sentiment analysis, spelling correction, information extraction, parsing, meaning extraction, and question answering.

today's howtos