Skip to main content

Posts

Showing posts from May, 2020

Solve SyntaxError: EOL while scanning string literal in Python Pratik Sah The Crazy Programmer

Hello friends, In my last post I’ve discussed the common problem Python Programmers face i.e. unexpected EOF while parsing and in today’s post, I’ll be discussing EOL while scanning string literal. But do you exactly know what is this error all about and how we can remove it from our python code? So, what exactly an EOL is? EOL stands for  End Of Line . This means we have now come to the end of our line and the error related to this is shown below with example code. def printName(): return "This is a test basestring printName() Now, after running this piece of code, I get an error something similar to this. File "main.py", line 2 return "This is a test basestring SyntaxError: EOL while scanning string literal ...Program finished with exit code 1 Press ENTER to exit the console Now the above code contains one error and the error is that the return in the printName( ) function in the above code is not closed properly. We can see that it doesn’

Android Studio 4.0 features design, development and build improvements

The latest version of Android Studio is now available. Highlights of Android Studio 4.0 include a new Motion Editor and Build Analyzer, and improved versions of CPU Profiler and Layout Inspector.  “During these uncertain times, we’re humbled by the many developers around the world who are finding ways to keep doing what they do best—create amazing apps for Android. Whether you’re working from your kitchen table on a laptop or from a home office, you need tools that keep up with you. Android Studio 4.0 is the result of our drive to bring you new and improved tools for coding smarter, building faster, and designing the apps your users depend on, and it’s now available on the stable channel,” Adarsh Fernando, product manager at Google, wrote in a post .  Highlights include: Design Motion Editor is a GUI for creating, editing, and previewing MotionLayout animations. The MotionLayout API is an API for managing motion and widget animation in apps. With Motion Editor, developers can

SD Times news digest: erwin Data Intelligence Suite update, Red Hat supports Quarkus, and Gatsby’s round of funding for modern development

The latest version of the erwin Data Intelligence Suite provides new AI-driven metadata matching, data lineage analysis, data model integration, and an enriched business user experience to speed enterprise data governance and literacy. “Business transformation has to be based on accurate data assets within the right context, so organizations have a reliable source of truth on which to base their decisions,” said Adam Famularo, the CEO of erwin, Inc. “erwin provides an intuitive, robust data governance platform with the catalog, lineage, glossary and visualization capabilities needed to evaluate the business in its current state and then evolve it to serve new objectives.” Users can automatically harvest, transform, and feed metadata from a wide array of data sources, operational processes, business applications, and data models into a central catalog.  Additional details are available here . Red Hat announces support for Quarkus Red Hat advanced Java on Kubernetes by delivering Q

SD Times Open-Source Project of the Week: spark-inequality-impact

LinkedIn is sharing its “ Project Every Member ” initiative with the open sourcing of spark-inequality-impact, an Apache Spark library that can be used by other organizations in any domain where measuring and reducing inequality, or avoiding unintended inequality consequences may be desirable.   “This work is furthering our commitment to closing the network gap and making sure everyone has a fair shot at finding and accessing opportunities, regardless of their background or connections,” LinkedIn wrote in a blog post . LinkedIn announced last month that it would be building inclusive products through A/B testing in the initiative called Project Every Member.  LinkedIn stated that any change on its platform is subjected to a series of testing and analysis processes to ensure that it achieves intended product goals and business objectives through A/B testing. The best way to go about it is to start by giving a preview of the change or feature to a few members for a limited time, and

Report: Rust is the most beloved programming language for five years running

Rust continues to maintain its spot as the most beloved of programming languages among professional developers. For the firth year in a row, the Stack Overflow Developer Survey found a majority of developers who are currently using it (86%) say that they are interested in continuing to develop with it. Rust was followed by TypeScript at 67.1%, Python at 66.7%, Kotlin at 62.9%, and Go at 62.3% for most loved languages.   Rust continues to be the most loved programming language because it “solves pain points present in many other languages, providing a solid step forward with a limited number of downsides,” Stack Overflow explained in a post . RELATED CONTENT:  Microsoft turns to Rust for safer code Additionally, Python’s continuous rise seemed to end this year as TypeScript pull ahead. Last year the two languages shared second place, but according to Stack Overflow TypeScript came ahead due to Microsoft’s change of direction and embrace of the open source movement. TypeScript also

State of Agile report reveals an increased interest in value stream management

As organizations are looking to expand Agile practices throughout the entire business, they are starting to turn to value stream management (VSM). Digital.ai released the 14th annual State of Agile report , which revealed 78% of respondents are interested in VSM, planning to implement it, or in the stages of implementing it.  “We expect a greater percentage of organizations to embrace VSM going forward, as understanding increases and tooling more capably enables the unification of the ‘concept of cash’ value stream,” the report stated.  RELATED CONTENT:  What problem are we looking to solve with value stream management D2 Emerge to launch industry’s first value stream event 2019: How the year of value stream held up Additionally, the report found that agility is still confined to the technology side of business and in order to achieve true business agility, organizations must have effective alignment and coordination across all areas of the business.  VSM “is a combination

SD Times news digest: Netlify Build Plugins, Docker extends collaboration with Microsoft, and Eggplant deep learning capabilities

Netlify announced Netlify Build Plugins, a set of tools that allows developers to easily customize and automate CI/CD workflows for Jamstack websites and web applications. Previously, developers had to set up changes or integrations to the build process by configuring every command to run at build, downloading and validating every dependency, and writing the code to make it all work, the company explained.  Build Plugins are designed to make developers more productive by creating a CI/CD workflow designed for frontend developers, offering plugins reviewed by the Netlify team, enabling the use of an existing plugin or bringing your own, and allowing one-click install from the Netlify UI.  Additional details are available here . Docker extends its collaboration with Microsoft Docker extended its collaboration with Microsoft Azure to boost developer productivity by enabling Docker commands to run applications in Azure Container instances.  The deeper collaboration, which also inclu

CircleCI announces analytics plugin Buildtrakr

CircleCI wants to help developers enhance their speed, efficiency, and usability with new updates to its platforms. Additionally, the company announced its first analytics plugin Buildtrakr.  Buildtrakr integrates with CircleCI and Git to synthesize commit and build performance data, and displays critical metrics in a flexible dashboard. “Buildtrakr unleashes the full potential of CircleCI’s API. Users can pinpoint how to continually improve their build, test, and deployment capabilities all in one, simple dashboard,” said Tom Trahan, the vice president of business development at CircleCI.  Buildtrakr includes Surface 7 critical metrics in a dashboard with a drill-down and trend analysis, authentication via GitHub, the ability to integrate with CircleCI and Git to synthesize data that is critical for understanding commit and build performance, and continuous updates to add further metrics and analytical capabilities, CircleCI explained. In addition, the insight endpoints now offer

Report reveals new technology priorities to deal with COVID-19 pandemic

As the COVID-19 pandemic continues to impact businesses, enterprises are beginning to shift their priorities. A new report revealed 95% of organizations are changing technology priorities, and 87% of technologists are using this as an opportunity to display their value to the business.  AppDynamics, a Cisco company, released “The Agents of Transformation Report,” which looks at how organizations are dealing with the pressures of COVID-19 and the accelerating rate of digital transformation. “Our world changed almost overnight. With no chance to prepare, IT departments are facing a brand new set of priorities and challenges, and technologists are suddenly under immense pressure to deliver the infrastructure, applications and security required to maintain world-class digital experiences, both internally and externally. And they’re having to do this in real-time, through a period of massive change, often while working remotely,” the company wrote in a blog post .  Respondents report th

Google Cloud Functions adds support for Java 11

Google has announced support for Java 11 on its serverless computing platform Cloud Functions. As a serverless platform, Cloud Functions run snippets of code without a developer needing to manage servers. Cloud Functions for Java 11 allows developers to write code in JVM languages like Java, Kotlin, Groovy, and Scala through the Functions Framework for Java, which is a functions-as-a-service framework for writing Java functions. RELATED CONTENT: Java celebrates 25th anniversary following the release of Java 14 There are two types of functions in serverless computing: HTTP and background functions. HTTP functions are used to respond to HTTP events; Background functions are used to process events sourced from cloud and GCP services. The Functions Framework for Java provides an API that can be used to author those functions. It also provides an invoker for calling and running those functions, either locally or in any Java 11 environment, Google explained. In addition to the Functio

SD Times news digest: HackerRank announces remote hiring solution, Embarcadero RAD Studio 10.4, Qt 5.15 LTS documentation and Qt for Android

HackerRank announced a new remote hiring solution and the formation of the independent Skills Advisory Council to standardize hiring. The company made updates to CodePair to facilitate a significant piece of the hiring process that has shifted from on-site interviews to remote.    “While hiring in many categories has slowed or stopped, the market for tech hiring is expected to bounce back rapidly. We are future proofing our solution not for the new normal but for the forever different,” said Vivek Ravisankar, the co-Founder and CEO of HackerRank. “With these new product enhancements, we’re ensuring our customers can meet their business objectives and accelerate their innovation while maintaining a world-class experience for their candidates and for their hiring managers.” The solution features virtual whiteboarding and interviewer guidelines as well as scorecards and candidate packet. Additional details are available here . Embarcadero RAD Studio 10.4 now available Embarcadero a

JetBrains joins the big data space with new tools for DataGrip and PyCharm

JetBrains announced that Big Data Tools is now available as EAP for DataGrip and PyCharm Professional. The news aims to address problems that involve both code and data.  The company first announced plans to support more big data tools last year when it announced a preview of the IntelliJ IDEA Ultimate plugin with Apache Zeppelin notebooks integration. Since the plugin started with only Scala support, it made sense to only make it available for IntelliJ IDEA Ultimate. But now that the team has added more support for a wider set of scenarios and tools, JetBrains felt it was time to extend out the capabilities and make it available to other IDEs. “We believe the plugin will extend the capabilities of DataGrip users when it comes to working with distributed file storage systems and columnar file formats. At the same time, the users of PyCharm who use PySpark or who also work with data will benefit from having this plugin available in their IDE,” the team wrote in a post . The current f

Microsoft reveals Project Tye to make it easier to work with microservices

Microsoft has announced a new tool called Project Tye that is designed to make it easier to develop, test, and deploy microservices . According to Microsoft, developers often want to run more than one service or project at once when building an app. This can be hard to set up, and even once it is set up, there is a steep learning curve to get a distributed app running on a platform like Kubernetes. Microsoft’s Project Tye aims to address this challenge and has two main goals.  RELATED CONTENT:  Fact or fiction — Is service mesh really needed for microservices? The first goal is making the development of microservices easier by running many services with a single command, using dependencies in containers, and discovering addresses of other services using simple conventions. The second goal is automating deployment of .NET applications to Kubernetes. This is achieved by automatically containerizing .NET apps, generating Kubernetes manifests with minimal configuration, and using a si

SD Times news digest: Tech companies react to the USA FREEDOM Reauthorization Act, CData and HULFT’s partnership, and Apache weekly project updates

Mozilla, Reddit, Twitter, Patreon, and other other tech companies are uruging for the House of Representatives to consider the Wyden/Daines amendment when they look at the USA FREEDOM Reauthorization Act. The amendment would expressly prohibit the use of Section 215 of the USA PATRIOT Act for the warrantless collection of search and browsing history. The group stated that the amendment already attracted support from a Senate supermajority as well as many bipartisan groups.  “Some of us do not collect this information; some of us have pressed the courts to adopt a higher standard for this data; all of us believe this information should only be produced with a warrant. Congress should take this opportunity to resolve any potential ambiguity and provide strong legal protections for all search and browsing history,” the group wrote in a   letter . CData and HULFT partner to break down data silos Through the new partnership, the HULFT platform adds interoperability with CData connectivi

Solve IndexError: list index out of range in Python Pratik Sah The Crazy Programmer

Hello readers, welcome back to a yet another post of The Crazy Programmer. Today I’ll be discussing one of the common error programmers make when they start with programming and that is IndexError . Now before talking about this error, let’s try to see what an Index is and why this error occurs. An index is a location of an item in an Array or a List and in most of the programming language, it starts from 0. So when we count the elements in a list, we’ll count them from 1 but when we’ll try to access the elements of the list, we’ll start our index from 0. Let us understand this with an example. Please don’t skip the comments. color = ['red', 'green', 'blue', 'black', 'white'] # index 0 1 2 3 4 # here we can see that we have 5 colors in our color list # but when we'll try to print these items from our list # we can't get color[1] as red # this is because we may find red to be the first element # but techni

Microsoft open sources GW-BASIC code

Microsoft has uploaded the code for GW-BASIC to GitHub for historical reference and educational purposes. GW-BASIC is a BASIC interpreter, written entirely in assembly language.  According to Rich Turner, senior program manager of Windows Console & Command-Line at Microsoft, in the year this source code was created (1983), Bjarne Stroustrup was creating the first version of C++, ARPANET had just standardized TCP/IP, MS-DOS 2.0 was released, and Apple launched the first commercially available computer that had a GUI, the Apple Lisa. “We hope you enjoy exploring this fascinating snapshot of what software development looked like during the glorious, exciting, heady days of the ’70s and early ’80s at the dawn of ‘the personal computer,’” Turner said.  RELATED CONTENT: Windows Terminal 1.0 available Turner added that Microsoft’s BASIC implementations can be traced back to Bill Gates and Paul Allen’s implementation of the first product for Microsoft, a BASIC interpreter for the Alta

SD Times news digest: OutSystems’ new enterprise dev tools, Solo.io developer portal for Istio service mesh, and Fuze 6

OutSystems announced 70 development accelerators designed to ensure web and mobile applications created on the OutSystems low-code development platform can comply with the highest accessibility standards and regulations.  “Building apps with great accessibility is a legal responsibility, but more importantly, it is a moral responsibility for app developers to ensure that everyone can perceive, navigate, and interact with your website or mobile app to get the services and products they need,” OutSystems wrote in a blog post . The new accessibility capabilities also include fully-customizable accessible interfaces and a Live Style Guide that allows organizations to create an accessible Design System that meets their unique brand guidelines and allows the easy reuse of branded components across platforms.  Solo.io developer portal for Istio service mesh The new Istio service mesh accelerates the developer onboarding experience and API management with enhanced security.  With the new

SD Times Open-Source Project of the Week: Code Defect AI

Altran announced this week a new machine learning open-source tool for finding bugs. Code Defect AI is designed to help developers find bugs earlier and minimizes the cost and time required to fix them. By applying machine learning (ML) to historical data, the tool identifies areas of the code that are potentially buggy and then suggests a set of tests to diagnose and fix the flaws. “It’s well known that software developers are under constant pressure to release code fast without compromising on quality. The reality however is that the software release cycle needs more than automation of assembly and delivery activities. It needs algorithms that can help make strategic judgments ‒ especially as code gets more complex,” said Walid Negm, the group chief innovation officer at Altran. “Code Defect AI does exactly that.” Code Defect AI uses machine learning techniques such as random decision forests, support vector machines, multilayer perceptron (MLP) and logistic regression. It support

Google and Apple release Exposure Notification API

Google and Apple partnered up to build Exposure Notification technology that will enable apps created by public health agencies to work more accurately across Android phones and iPhones. “Exposure Notification has the specific goal of rapid notification, which is especially important to slowing the spread of the disease with a virus that can be spread asymptomatically,” Apple and Google said in a joint statement . Exposure Notification aims to expand on the contact tracing approach by using privacy-preserving digital technology to tell someone they may have been exposed to the virus. RELATED CONTENT:  How to manage increased IT demand in wake of COVID-19 COVID-19 pandemic response puts mainframes back in spotlight Public health organizations can embed the technology into their own apps. Each user gets to decide whether or not to opt-in to Exposure Notifications; the system does not collect or use location from the device; and if a person is diagnosed with COVID-19, it is up to th

CloudBees expands its software delivery management platform with new integrations

CloudBees has announced new integrations with top continuous integration and continuous delivery (CI/CD) engines for its Software Delivery Management (SDM) platform. The new integrations include Google Cloud Build and Tekton.  “Our customers want to be able to move faster and innovate,” said Pali Bhat, vice-president, product and design at Google Cloud. “We’re pleased to work with CloudBees to integrate its platform with Cloud Build and Tekton pipelines, expanding our partnership to enable greater DevOps velocity and accelerate time to market for our joint customers.” RELATED CONTENT: Why software delivery management matters What problem are we looking to solve with value stream management According to CloudBees, SDM defines software delivery as a core business process and is focusing on challenges such as the ability to connect tools and processes in a way that provides value. The CloudBees SDM platform is designed to help companies embrace, not replace, tools.  Integrated capa

Spyse – Cybersecurity Search Engine for Quick Recon Neeraj Mishra The Crazy Programmer

Spyse is a relatively new service in cybersecurity, but their innovative approaches have gained the attention of many pentesters and cybersecurity specialists. The service itself is a cybersecurity search engine which can be used for gathering mass technical data from the internet. The special thing about Spyse, is that they have one of the largest databases of its kind: hosting all the technical internet data that specialists might need for finding vulnerabilities, gathering competitor data, or just overall reconnaissance. Read on to learn how they collect, store, and provide the data. How Spyse Collects Data Globally Spyse engine performs regular data scans all over the world. This is done thanks to a global server distribution system, which not only lets them bypass area scanning restrictions and ISP blocking, but enables them to harvest much more data from their sources than you would normally get. Their scanning infrastructure is composed of ten self-developed scanners. Ea

SD Times news digest: Optimizely releases A/B testing and feature configuration, Couchbase’s $105 million equity investment, and C# 9.0

Optimizely announced that the free feature flagging plan for development teams Rollouts now includes A/B testing and feature configuration.  “Using feature configuration, product development teams can include variables in their code that can be parameterized and remotely configured from the Optimizely dashboard without redeploying code,” Optimizely wrote in a announcement . The company also introduced the new Targeted rollouts feature that provides teams with more control during gradual rollouts  through more flexible rules and configurations by audience and development environment.  Couchbase gets $105 million equity investment Couchbase announced that it received $105 million in Series G investment to fuel the next phase of growth and cloud innovation.  The company will complement feature development in its enterprise NoSQL server and mobile database platform with Couchbase Cloud, a fully managed Database-as-a-Service offering.  “Now, more than ever, enterprises are accelerati

Microsoft Build: Project Cortex, Microsoft Project Reunion and Windows Package Manager preview

The virtual Microsoft Build conference continues to focus on bringing developers new and improved tools and services that provide impact and value. The new tools and services announced throughout the conference include the ability to deploy AI capabilities in any environment with no prior coding experience, and improved connected productivity experiences.  Highlights include: New developer experiences for Project Cortex Project Cortex applies AI to automatically organize content and expertise across developer systems and teams. In addition, Project Cortex extends the capabilities of Microsoft Graph to map knowledge to people, content, and modern work; and uses Microsoft Graph to deliver personalized knowledge throughout the apps in Microsoft 365, such as Microsoft Teams, Microsoft Search, Outlook. New Graph APIs allow developers to work directly with Managed Metadata Services, which provides a common taxonomy for tagging and classifying content across Microsoft 365.   Additional

SIIA announces the 2020 CODiE award winners for business and education technology

The Software & Information Industry Association (SIIA) has announced the winners of its 35th annual CODiE awards. The awards are designed to honor software, education, information and media excellence. The awards are split into two categories (business technology and education technology) with a variety of subcategories such as best coding and computation thinking solution, best AI-enabled content solution, and best data solution.  “These trying times have underscored the importance of innovative business technologies like never before. The products and services we honor today connect us to colleagues and customers, ensure business practices move forward, provide new insights from data, and create new jobs and market opportunities. They represent the best of high-impact, outcome-focused innovation,” said Jeff Joseph, SIIA president. The 2020 business technology winners included:  Best Big Data Reporting & Analytics Solution Definitive Healthcare, Definitive Healthcare