News AggregatorAWS CLI in 3 MinutesAggregated on: Thu Jan 13 2022 13:34:37 GMT+0000 (Coordinated Universal Time) The AWS Command Line Interface (CLI) is a tool for managing your AWS services. This is a quick video to teach you to install, configure and run some commands of the AWS CLI. In the demonstration, you can see that some S3 bucket operations can easily be done with the AWS CLI. View more...Application Cloud Migration or Application Modernization?Aggregated on: Thu Jan 13 2022 12:19:37 GMT+0000 (Coordinated Universal Time) Traditional software applications and on-premise legacy applications have limited computing power. However, innovations and trials require enormous computing resources. As a result, enterprises are looking at cloud migration and application modernization as the preliminary business requirement for launching innovations. It not only allows them to execute cross geography trials but also test digital innovations with AI/ML algorithms that require exhaustive computing. Application Cloud Migration and Application Modernization Are Synonymous Application cloud migration entails the movement of the on-premise applications to the cloud environment, either on-premise cloud or public cloud, in order to avail the benefits of scalability, flexibility, and exponential computing power. It is synonymous with application modernization that allows the erstwhile on-premise application in its cloud-borne avatar to process queries and data at a tremendous speed. The applications are on the same turf as the cloud-first applications that are the true proponents of the cloud-native environment. View more...Detecting and Solving Segmentation Faults in Linux ContainersAggregated on: Thu Jan 13 2022 11:49:37 GMT+0000 (Coordinated Universal Time) Understanding and solving errors are essential skills for any Linux administrator. The most common errors you will get are: “no such file or directory found” or “unable to access or permission denied”. If you are a Linux administrator, it is mandatory to know how to detect and solve segmentation faults. In this article, we will explain what segmentation fault is, what causes them, and how to detect or troubleshoot them. So let’s get started. What Is a Segmentation Fault? A segmentation fault is nothing but the error that occurs due to failed attempts to access Linux OS’s memory regions. These types of faults are detected by the kernel. Once detected, the process is immediately terminated, and a “segmentation violation signal” or “segmentation fault” is issued. View more...Microservices Annotator PluginAggregated on: Wed Jan 12 2022 21:49:37 GMT+0000 (Coordinated Universal Time) Writing microservices has never been easy and does not become easier with growing codebases. All the complexity strives from tons of interactions between the moving parts of your applications. And then we had this year's holidays and I had enough free time to think about it. Many complex measures can be used to make the code of microservices more readable, numerous expressive APIs, modern languages, we already use all of these, but the situation does not get better. View more...Top Skills To Become a Professional Full-Stack Developer in 2022Aggregated on: Wed Jan 12 2022 17:49:36 GMT+0000 (Coordinated Universal Time) If we talk about professional versatility in the software development company, there's no one better than a full-stack developer to justify the word "versatility." Full-stack developers are well-versed in both back-end and front-end development services. So, full-stack developers work on both the client-side and server-side of the software app development. This means a full-stack developer is capable of working on the front end, back end development, database, server, API, and version-controlling systems. View more...Building an SRE Team With SpecializationAggregated on: Wed Jan 12 2022 17:19:36 GMT+0000 (Coordinated Universal Time) As organizations progress in their reliability journey, they may build a dedicated team of site reliability engineers. This team can be structured in two major ways: a distributed model, where SREs are embedded in each project team, providing guidance and support for that team; and a centralized model, where one team provides infrastructure and processes for the entire organization. Most structures will be some combination of these ideas, with some SREs focusing on specific projects and other SRE projects completed as an SRE team. When looking at centralized models of SRE teams, there are further distinctions to make based on the role of each SRE. One perspective says every SRE should be a generalist, capable of performing every duty of the role. This has the advantage of being very robust - if each SRE can do any given job, any person’s absence won’t cause an issue. On the other hand, you could run into a “jack of all trades, master of none” issue, where your potential is limited. This is where the specialization perspective can help. View more...Biggest Threats Application Development Companies Are Facing TodayAggregated on: Wed Jan 12 2022 17:19:36 GMT+0000 (Coordinated Universal Time) Application development is a delicate process. To build high-quality applications, not only expertise is required, but also important measures and their proper implementation. Today, as the number of applications is increasing, problems apart from cyberthreats are increasing in parallel. These threats might cause applications to malfunction, slow them down, or just might make them vulnerable to cyber-attacks. However, there are precautions as well. Blockchain, for instance, is one of the safest servers that application development companies are preferring today. In this blog, we are discussing some crucial threats and hurdles for app development companies and precautions these companies are taking to avoid them. If you are a tech enthusiast, developer, or app development professional, stick with us until the end to have some amazing insights. View more...Exploring CockroachDB With Jupyter Notebook and RAggregated on: Wed Jan 12 2022 17:19:36 GMT+0000 (Coordinated Universal Time) I was inspired to write this post based on an article written by my colleague. I will build on that article by introducing Jupyter Notebook to the mix. This is the next installment in the series of tutorials on CockroachDB and Docker Compose. You can find the older posts here: Part 1, Part 2, Part 3, Part 4, Part 5. View more...The Case for Open Source IoTAggregated on: Wed Jan 12 2022 16:49:36 GMT+0000 (Coordinated Universal Time) Why IoT? While the question "Why IoT?" may seem pretty obvious to many, the fact of the matter is it is not that clear to most. Sure, we’ve all heard the terms and seen the plethora of commercials promoting the Internet of Things (IoT), digital transformation, artificial intelligence, etc. (thank you, IBM and C3.ai). But as someone who works within the intelligent building space, I don’t have to go far before I get asked by most facility managers and building owners I speak with: "Why do I need this device or that device?"; "Why do I need IoT?" View more...How Open Source Is Fueling the Future of Data Sovereignty and Digital Autonomy?Aggregated on: Wed Jan 12 2022 16:49:36 GMT+0000 (Coordinated Universal Time) With the increasing risks associated with data storage and management, data sovereignty helps protect sensitive and private data by ensuring it remains within the borders of the data originated state. Today, businesses focus more on data protection and privacy to kickstart their digital transformation journey. However, the concept of data sovereignty remains quite complex. View more...Most Complete MSTest Framework Tutorial Using .Net CoreAggregated on: Wed Jan 12 2022 16:19:36 GMT+0000 (Coordinated Universal Time) With the advent of programming languages like Python, Ruby on Rails, etc., there is thinking amongst the developer community that the C language is losing relevance. Strikingly, C is still considered a dominant programming language for system programming as it provides optimized machine instructions for any type of provided input. Not only C, the languages that are derived from C, i.e., C# and C++, are also embraced with arms wide open by the developer community. As far as unit testing/automation testing using C# is concerned, there are some frameworks like NUnit, xUnit.Net, MSTest Framework, etc., to save the day. View more...Polyglot Cloud-Native Debugging - Beyond APM and LoggingAggregated on: Wed Jan 12 2022 15:49:36 GMT+0000 (Coordinated Universal Time) I've done quite a few conference talks since I became a developer advocate for Lightrun. One of my most popular talks has a title similar to the title of this post. In this post, I'll try to cover the gist of the post. You can see one of the longer versions of the talk that I gave at DDD at the end of 2021: Cloud-Native Applications There's practically an alphabet soup of terms covering public cloud, hybrid cloud, etc. There's also a lot of overlap between the various terms. The nice thing about this post is that it applies, regardless. You will run into problems with microservices, architecture, and monolithic applications or serverless. View more...How To Handle Dropdowns In Selenium WebDriver Using Python?Aggregated on: Wed Jan 12 2022 15:49:36 GMT+0000 (Coordinated Universal Time) Dropdowns are an integral part of modern websites. And like any other HTML element, these need to be tested as well, especially when you are performing automated browser testing. UI/UX designers love dropdown elements, but it’s the automation testing engineers who get to play with it. Therefore, it becomes important to know how to handle dropdowns in Selenium WebDriver when you are handling access forms or testing websites. Designers prefer using aesthetically appealing dropdown menus or boxes. Mostly because dropdowns tend to utilize the available screen space frugally. It is useful when you want only specific inputs from users and not some crap data. However, dropdown design bloopers could be a serious turn-off for users. View more...CodeReady Containers - Beginners guide to OpenShift Container Platform 4.9.10 with business automation toolingAggregated on: Wed Jan 12 2022 12:04:36 GMT+0000 (Coordinated Universal Time) Some time ago, back in December of 2020, I shared with you how to get started with business automation tooling on your developer machine using CodeReady Containers. In this four part series you were familiarised with the OpenShift Container Platform, the business automation operators, and given a project to install the developer tooling needed to begin designing processes, rules, and much more. View more...Feature Flags: A Gentle IntroductionAggregated on: Wed Jan 12 2022 05:04:36 GMT+0000 (Coordinated Universal Time) Think of a world where you don't need a separate testing environment, where you can test everything in production and capture valuable data that helps you improve along the way. The secret ingredient: feature flags. What Are Feature Flags? Features flags is a software engineering technique that lets developers integrate code constantly into the main trunk. It involves shipping incomplete features into production, which remain dormant until ready. Feature flags also take part in software delivery; when the feature is complete, the code can be activated at the flick of a switch. View more...Best Frameworks to Use for AI App Development in 2022Aggregated on: Wed Jan 12 2022 05:04:36 GMT+0000 (Coordinated Universal Time) Artificial intelligence has spread to almost every industry and sector. It has a lot of applications and has the potential to build high-quality inclusive solutions aimed at improving how we live, communicate, interact, enjoy, work, and engage. As you build AI-enabled applications, it requires a deep understanding of the technology and its implementations. AI app development has become a mainstay of modern digital solutions creation integrated with the latest features and functions to help the users get an immersive experience. View more...Golang Vs. Python: Which Programming Language Will Suit You?Aggregated on: Wed Jan 12 2022 05:04:36 GMT+0000 (Coordinated Universal Time) When you are on board to kick off the new project, the team of developers goes over several meetings to decide the suitable language. However, selecting the best programming language will always be a crucial decision for custom software development services. Before moving further for any project, the development team discusses the requirements for their development project. Albeit, we have a plethora of options to choose from, such as PHP, JavaScript, Golang, Python, and C++. Many times, Go and Python becomes the first choice among the developers. View more...Top 13 Web Scraping Tools in 2022Aggregated on: Wed Jan 12 2022 05:04:36 GMT+0000 (Coordinated Universal Time) Web scraping tools are software developed specifically to simplify the process of extracting data from websites. Data mining is a rather useful and commonly used process, but it can also easily turn into a complicated and messy activity and take a lot of time and effort. What Does a Web Scraper Do? A web scraper uses robots to extract structured data and content from a website by extracting the underlying HTML code and data stored in a database. View more...ServiceStarter Tutorial: Controlling ServicesAggregated on: Wed Jan 12 2022 05:04:36 GMT+0000 (Coordinated Universal Time) This article is a tutorial for a new utility ServiceStarter. The purpose of ServiceStarter is to control the lifecycle of independent services, ensuring that services start and stop in the correct order and predictably degrade if a required service fails at runtime. This tutorial is based upon a notional order processing system connected to an exchange. As background, this is my Christmas project. Due to a COVID-cancelled skiing holiday, I was left with time on my hands. A friend, who is building an event-driven HFT trading system, asked me to help solve the problem of starting and stopping trading services in a predictable order. The solution morphed into the ServiceStarter project. View more...How to Develop Your Distributed SQL Statement in Apache ShardingSphereAggregated on: Wed Jan 12 2022 04:34:36 GMT+0000 (Coordinated Universal Time) In the previous articles “An Introduction to DistSQL” and “Integrating SCTL Into DistSQL’s RAL— Making Apache ShardingSphere Perfect for Database Management”, the Apache ShardingSphere committers shared the motivations behind the development of DistSQL, explained its syntax system, and impressively showcased how you can use just one SQL to create a sharding table. Today, to help you gain a better understanding of DistSQL and develop your own DistSQL syntax, our community author analyzes the design & development process of DistSQL and showcases how you can implement a brand new DistSQL grammar in four stages of the development life cycle (i.e. demand analysis, design, development & testing). View more...How to Connect Two Containers From Different docker-compose FilesAggregated on: Wed Jan 12 2022 04:34:36 GMT+0000 (Coordinated Universal Time) Working with Docker containers allows developers to create encapsulated applications that are independent of the host machine and contain all the necessary libraries and dependencies. In practice, docker-compose is often used to configure and manage containers. When several containers are built in a docker-compose file, they are automatically connected to a common network (which is created by default) and can communicate with each other. In most cases, however, each project will have its own docker-compose file. In such configurations, the containers from one docker-compose will not be able to connect to those from the other unless we have previously created and configured a shared network. In such cases, it is necessary to use a docker networking in compose. In this article, we’ll take a look at a sample method/example, how to set up networks in different docker-compose files, so that individual projects and the containers/services in them can be connected in a single network when running on a local machine. View more...Authentication With Remote LDAP Server in Spring WebFluxAggregated on: Wed Jan 12 2022 02:49:36 GMT+0000 (Coordinated Universal Time) In my previous article, we covered authentication and authorization with remote LDAP servers in Spring Web MVC. Since base concepts are the same, some sections are unavoidably the same in these two articles and they are kept in both articles in order to create a seamless reading experience for WebFlux and MVC learners. In this article, we will develop a reactive Spring Boot project and integrate into remote LDAP through Spring Security. In addition, we will perform authentication (auth) and authorization (autz) operations over JWT (JSON Web Token) for the APIs we will open. View more...Speed-Review API SpecificationsAggregated on: Wed Jan 12 2022 00:49:36 GMT+0000 (Coordinated Universal Time) As the software application world moves from monolith architectures to microservices, we are also seeing a shift toward developing modular and reusable APIs. According to APIOps, reusable APIs are consumable APIs, which means they must be well-documented and compliant. The separation between the designers, builders, and consumers of an API grows larger and larger, making the API specification even more central to that API’s success. The API spec is a contract. It is a promise that an API will function in a certain way. View more...From Devs, to VPs, to Co-Founders: 10Xing a Startup 5,000 Miles ApartAggregated on: Wed Jan 12 2022 00:34:36 GMT+0000 (Coordinated Universal Time) We knew we had to kick off the new year with something big - so welcome to Season 2 of Dev Interrupted! This episode probes the murky depths of a time before the pandemic by exploring the story of LinearB's founding in 2018, how co-founders Dan Lines and Ori Keren met at Cloudlock in 2012 - and how they decided to co-found a company while 5,000 miles apart. View more...Fun (Scary?) Webcam DemoAggregated on: Tue Jan 11 2022 19:34:36 GMT+0000 (Coordinated Universal Time) Windy is a fascinating site/app that gives real-time visualizations of wind speed and direction in your area. As a static picture wouldn't do it justice, here's my local area right now. Back during the last hurricane, I took this lovely snapshot. Not terrifying at all... View more...Mule CloudHub Connector: Part 2Aggregated on: Tue Jan 11 2022 17:19:36 GMT+0000 (Coordinated Universal Time) In Part 1 of this series, we looked at two features of Mule CloudHub Connector. In total, there are 5 features provided by this connector as listed below: Get Application List Applications Create Notification List Notifications Mark Notification In this article (Part 2), we will look at thelast 3 features of Mule CloudHub Connector from the above list. View more...Top Front End Development Trends You Should Know in 2022Aggregated on: Tue Jan 11 2022 16:04:36 GMT+0000 (Coordinated Universal Time) New trends that appear in the software world become further popular when prominent organizations adopt them or when there are promising and decisive incentives for adopting trends. Front-end development is the creation of a web portal user interface using coding and other applications such as HTML, CSS, and JavaScript. This section describes the Front-End Development Trend forecast for 2022. View more...Mule4 DataWeave Exercise: map, reduce, and pluckAggregated on: Tue Jan 11 2022 16:04:36 GMT+0000 (Coordinated Universal Time) Using the DataWeave exercise below, I'll demonstrate how to use the reduce, map, valuesOf, splitBy functions, format, and ++ operator. Given Input: JSON [ { "empId": "ex12345", "fullName": "Peter parker", "street": "Second Ave 46", "city": "San Francisco", "state": "veniam", "postal": "sit", "country": "Mexico", "dept": "hr", "joinedDate": "2021-12-22", "miles": 68 }, { "empId": "ex54321", "fullName": "Joseph charles", "street": "First Ave 47", "city": "Bangalore", "state": "Karnataka", "postal": "560100", "country": "India", "dept": "finance", "joinedDate": "2021-11-15", "miles": 49 } ] Desired Output: JSON [ { "firstName": "Peter", "lastName": "parker", "AddrWithValuesOf": "San Francisco,veniam,sit,Mexico", "AddrWithPluck": "San Francisco,veniam,sit,Mexico", "miles": 68.00, "DateofJoin": "22-Dec-2021" }, { "firstName": "Joseph", "lastName": "charles", "AddrWithValuesOf": "Bangalore,Karnataka,560100,India", "AddrWithPluck": "Bangalore,Karnataka,560100,India", "miles": 49.00, "DateofJoin": "15-Nov-2021" } ] We can accomplish the desired output by writing the following DataWeave. View more...Multi-Cloud API Authorization ChallengesAggregated on: Tue Jan 11 2022 15:34:36 GMT+0000 (Coordinated Universal Time) As more and more companies move to a multi-cloud strategy and increase usage of a cloud-native infrastructure, API providers are under a lot of pressure to deliver APIs at scale in multi-cloud environments. At the same time, APIs should follow each company’s security requirements and best practices, no matter the cloud platform. These reasons explain why many providers have such complex API authorization requirements. Let's assume in a company that multiple teams from different lines of business are building and deploying APIs in the Azure cloud. Different teams use different technologies to build these APIs (e.g., Azure Functions, Node.js). A company might host applications that consume the APIs on the same network, such as a company's AWS account or external SaaS applications. View more...The ROI of Remote Work ProductivityAggregated on: Tue Jan 11 2022 15:04:36 GMT+0000 (Coordinated Universal Time) Remote workplace ROI is the productivity of remote workers versus that of office-based employees. This productivity is measured in terms of revenue, customers served, productivity, and other factors. ROI increases with remote productivity because the more productivity, the fewer costs that are incurred by an organization while performing similar tasks on-site or in-office. View more...Tutorial On Handling Keyboard Actions In Selenium WebDriver [With Example]Aggregated on: Tue Jan 11 2022 15:04:36 GMT+0000 (Coordinated Universal Time) During the course of automated cross-browser testing, you might come across scenarios that may not have been thought about during the product development phase. For example, when using Selenium automation testing, you could open a new browser tab instead of a new browser instance. Implementing that change would need proper usage of Keyboard Actions in Selenium WebDriver. This will also depend on whether the browser on which testing is performed and whether the Selenium WebDriver for the corresponding browser supports those functionalities. A common Selenium testing scenario is entering information in a text box by passing a combination of keys to the Selenium WebDriver. This can be achieved using the send_keys() API in Selenium which can be termed a Simple Keyboard interaction. Advanced keyboard events in Selenium automation testing are handled using Advanced User Interactions API. Using those APIs, you can perform the following: View more...Exploring CockroachDB With Jupyter Notebook and PythonAggregated on: Tue Jan 11 2022 14:34:36 GMT+0000 (Coordinated Universal Time) This is the next installment in the series of tutorials on CockroachDB and Docker Compose. I was inspired to write this post based on this article. The article goes over using Jupyter with Oracle, MySql, and Postgresql, we're going to do the same with Cockroach! One caveat here is the heavy reliance on ipython-sql library. We're going to use Pandas library as the ipython-sql magic functions are not compatible with Cockroach today. Hopefully, you will find it useful. View more...Speed up Large-Scale ML/DL Offline Inference Jobs at Microsoft BingAggregated on: Tue Jan 11 2022 14:04:36 GMT+0000 (Coordinated Universal Time) In this article, we will share our observations and the practice to solve the challenges while running inference at scale. By using Alluxio, we successfully speed up the inference job, reduce I/O stall, and improve performance by about 18% at Microsoft Bing. Overview Offline inference, or batch inference, is an approach to run machine learning (ML) inference in a batch mode when processing a large dataset, as opposed to generating predictions in real-time given the input. The offline inference jobs are typically built on top of big data platforms to scale horizontally, and are running on fixed schedules (e.g. hourly, daily). View more...Node.js vs Java: Which is Best for Your Business in 2022Aggregated on: Tue Jan 11 2022 13:34:36 GMT+0000 (Coordinated Universal Time) NodeJS and Java, both technologies are powerful for the back-end but which one is the best? Which one is the most relevant for web development? All of your questions will get their answers in this article. Node.js is much more popular in development these days. Some reports say that 35% of development include Java and Node.js is also gaining its users to keep good competition. Here we are going to discuss both of them in detail. View more...BigQuery vs Snowflake: The Definitive GuideAggregated on: Tue Jan 11 2022 13:34:36 GMT+0000 (Coordinated Universal Time) The cloud data warehouse sits at the center of every modern data stack. Without a cloud-based data warehouse, it is nearly impossible to derive insights from your data. At its core, a data warehouse is an analytics platform where information from various data sources is stored for analysis. This data is used to make high-level decisions and answer pressing business queries. Today, every company is either already leveraging a data warehouse or in the process of adopting one (if you are reading this, then you are probably the latter). Although there are several key players in the data warehousing space, this post will focus solely on BigQuery and Snowflake. What Is Snowflake? Snowflake is a Software-as-a-Service (SaaS) based warehouse solution that can run on any of the popular cloud providers (AWS, Azure, GCP). It was purpose-built for the cloud and has a few key components which make it extremely unique compared to other cloud data warehouses. Snowflake was launched publicly in 2014 and has since become a major player in the data warehousing industry being valued at $90.35 billion as of October 2021.Snowflake was developed in the cloud and for the cloud. This means it comes with zero baggage and almost no management or operational overhead. As a native SaaS service, Snowflake handles all of the backend infrastructure so that you can focus on doing what matters most: deriving insights from your data. Snowflake offers a ton of scalability enabling near-unlimited concurrent queries. View more...Java: How Object Reuse Can Reduce Latency and Improve PerformanceAggregated on: Tue Jan 11 2022 13:04:36 GMT+0000 (Coordinated Universal Time) While the use of objects in object-oriented languages such as Java provides an excellent way of abstracting away complexity, frequent object creation can come with downsides in terms of increased memory pressure and garbage collection which will have an adverse effect on applications’ latency and performance. Carefully reusing objects provide a way to maintain performance while keeping most parts of the intended level of abstraction. This article explores several ways to reuse objects. View more...Site Reliability Engineer (SRE) Roles and ResponsibilitiesAggregated on: Tue Jan 11 2022 12:34:36 GMT+0000 (Coordinated Universal Time) Software development is getting faster and more complex – frustrating IT operations teams more than ever. So, DevOps gained popularity in order to combat siloed workflows, decreased collaboration, and a lack of visibility. While establishing a culture of DevOps has helped teams collaborate better and deliver reliable software faster, DevOps teams don’t necessarily have someone specifically dedicated to developing systems that increase site reliability and performance. That’s where a site reliability engineer (SRE) comes into the picture. The concept of SRE was initially brought to life by Google engineer, Ben Treynor. Then, shortly after implementing SRE, they published their popular SRE eBook – helping the movement gain traction in the industry. Site reliability engineers sit at the crossroads of traditional IT and software development. Basically, SRE teams are made up of software engineers who build and implement software to improve the reliability of their systems. View more...Inspecting Cloud Composer - Apache AirflowAggregated on: Tue Jan 11 2022 12:04:36 GMT+0000 (Coordinated Universal Time) Introduction Cloud Composer is a fully managed service built on Apache Airflow, it has built-in integration for other GCP services such as Cloud Storage, Cloud Datastore, Cloud Dataflow, Big Query, etc. The integration is important from an Airflow scheduling and automation perspective, say a DAG is written for pulling file (.csv) from Cloud Storage, executing transformation using Pandas and again uploading back to Storage or performing some DB Operations. View more...Humanizing AgileAggregated on: Tue Jan 11 2022 04:34:36 GMT+0000 (Coordinated Universal Time) “Can we get serious now?” quipped Captain Charles Sully Sullenberger, the iconic character played by Tom Hanks in the movie adaptation of the Airbus A320 Hudson Water landing incident. He goes on to articulate the crux of his argument in the safety hearing: “You are taking humanity out of the cockpit while looking for human errors.” I have a feeling - more from experience - that many of the Agile implementations that are done in organizations suffer from this very same issue: humanity is taken out of Agile. This is a sad irony as Agile by design is meant to amplify people practices. There are several manifestations of this in Agile. Task sign-up, self-organizing teams, servant leadership, a daily Scrum meeting, team retrospective, and various principles are all examples of the human side of Agile. View more...Reactor Design Pattern in JavaAggregated on: Tue Jan 11 2022 04:34:36 GMT+0000 (Coordinated Universal Time) In the video below, we take a closer look at the reactor design pattern in Java, with an introduction and an example of implementation. Let's get started! View more...How to Consume REST Web Service (GET/POST) in Java 11 or AboveAggregated on: Tue Jan 11 2022 03:49:35 GMT+0000 (Coordinated Universal Time) RESTful web services are the de-facto way of integrating first- and third-party services in web and mobile applications. When programming in Java, there are a plethora of options on how to consume REST APIs, however many of them are either out of fashion or too complicated. At my company, we provide developers Java SDK to build on top of our open platform, and the most common operation involves making authenticated web requests to get data from the RingCentral platform. In this tutorial, we will learn how to use the standard HTTPClient class that comes in JDK 11.0 or later as part of java.net.http. We will use that to create RestClient, send HTTP GET and POST requests with JSON body, and handle the JSON response using the body handler object. View more...Mock APIs Using sMockinAggregated on: Tue Jan 11 2022 00:04:35 GMT+0000 (Coordinated Universal Time) Hi Everyone, The main goal of this article will be to explain how to improve our time when is required to integrate with a third-party system. Usually, it is an API and the developer doesn't have control over it. Moreover, the developer usually needs to mock the API, the sMockin could help the teams with this hard task. View more...Domain Model Design Pattern in Java - An Introduction and ExamplesAggregated on: Mon Jan 10 2022 23:49:35 GMT+0000 (Coordinated Universal Time) In the video below, we take a closer look at Domain Model Design Pattern in Java including an introduction and examples. Let's get started! View more...A Stress-Free 2022Aggregated on: Mon Jan 10 2022 19:04:35 GMT+0000 (Coordinated Universal Time) There are ample resources available online to deal with burnout in your job, but I want to share a few ideas that I will be using this year. The WHO says: “Burn-out is a syndrome conceptualized as resulting from chronic workplace stress that has not been successfully managed.” You know that it is happening to you when a part of your inner self is screaming that you have had enough. Perhaps, you want to say it out loud, too. IT jobs seem to have a high percentage of burnout, and Electric identifies that it is rising. January is the month when employees return from a festive break to start afresh and tackle new challenges. However, IT professionals return to the unfinished backlog, pushed deadlines, and overcommitted sprints from December. Long hours, growing to-do lists, work setup issues, uncountable Slack messages, and remote teams all contribute to stress. We all face it. Long hours and working over the weekends contribute to the biggest reasons for burnout. Teams work throughout the week, release during the nights, and provide support over the weekends, and the cycle continues. View more...How To Detect and Secure Your Java App From Log4j VulnerabilitiesAggregated on: Mon Jan 10 2022 18:34:35 GMT+0000 (Coordinated Universal Time) Apache Log4j is the popular open source logging library for Java developers that was recently caught up in a massive security-related breach. Due to its popularity, a large number of organizations were affected by the breach. For the latest news, refer to the official website about specific issues and patches. Here is an additional article that explains the core issues in detail. List of Security Issues That Were Found in Log4j Version 2.x: CVE-2017-5645: Apache Log4j socket receiver deserialization vulnerability (Severity - Moderate) CVE-2020-9488: Improper validation of certificate with host mismatch in Apache Log4j SMTP appender (Severity - Low) CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker-controlled LDAP and other JNDI-related endpoints (Severity - Critical) CVE-2021-45046: Apache Log4j2 Thread Context Lookup Pattern vulnerable to remote code execution in certain non-default configurations (Severity - Critical) CVE-2021-45105: Apache Log4j2 does not always protect from infinite recursion in lookup evaluation (Severity - Critical) CVE-2021-44832: Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration (Severity - Moderate) 4 Ways To Secure Your Java Application: 1. Detect if You Have Log4j 2.x in Your Code Base Apache Log4j can be in your project directly or a dependency of a dependency. Thus, it's best to use a build tool such as Maven or Gradle to quickly scan for the same tree as follows: View more...How To Build Self-Hosted RSS Feed Reader Using Spring Boot and RedisAggregated on: Mon Jan 10 2022 18:34:35 GMT+0000 (Coordinated Universal Time) Keeping on top of your RSS feeds can be a headache. If you have many feeds that you follow, then trying to keep tabs on the status of each one is just as tedious as difficult. And let’s be honest, having to dig through the online clutter and pull out the feed you want to monitor is a time-consuming process that nobody wants to experience. These inconveniences created an itch that Sandeep Gupta couldn’t ignore, which spurred him to create an application that pulls all RSS feeds into one location. This provides users with a holistic view of all their RSS feeds, promoting a painless and efficient way of organizing their entire collection. Using different Redis modules, Sandeep was able to create an application that’s hyper-responsive to user commands, minimizing the chances of any lags or delays from happening. View more...What Log4j Vulnerability Means for SREsAggregated on: Mon Jan 10 2022 18:04:35 GMT+0000 (Coordinated Universal Time) If you’re an SRE, you’ve almost certainly heard all about Log4Shell, the Log4j vulnerability that some analysts are calling the worst software security flaw in decades. And you’ve also hopefully by now patched any systems you manage to fix the vulnerability (if you haven’t, go do that right away!). Even after you’ve patched Log4Shell in your environments, though, you shouldn’t put the vulnerability in the back of your mind. For SREs, there are some important lessons to glean from this fiasco. View more...Let the Oracle Database Operator for Kubernetes Do the JobAggregated on: Mon Jan 10 2022 16:49:35 GMT+0000 (Coordinated Universal Time) Hello everyone! New Year, New Life, and finally, old dreams and goals are coming out of the paper. For my first blog, at the beginning of 2022, I chose to talk about Oracle Database Kubernetes Operator, a.k.a OraOperator. In this post, I'll talk about Oracle Database Kubernetes Operator, a.k.a OraOperator, and offer a gentle introduction to Kubernetes Operator and Cloud-Native Architecture -- base for all. View more...Penetration Testing 101: A Beginner’s Guide to Ethical HackingAggregated on: Mon Jan 10 2022 16:49:35 GMT+0000 (Coordinated Universal Time) Every day, we use and generate huge amounts of data. And this data is used by different sectors like healthcare, finance, marketing, and others. However, data breaches are increasingly rampant these days. That’s why such sensitive information should be safeguarded. This is where penetration hacking comes in handy. Penetration testing or ethical hacking is used to get access to resources. Hackers carry out attacks to uncover security vulnerabilities and assess their strengths. View more...How To Use NUnit Annotations For Selenium Automation Testing [With Example]Aggregated on: Mon Jan 10 2022 16:49:35 GMT+0000 (Coordinated Universal Time) When it comes to using object-oriented programming languages for development & testing, C# is still considered a good choice by the developer community. MSTest/Visual Studio, xUnit.net, and NUnit are some of the top-most frameworks that can be used for automated browser testing. While using NUnit, you can further leverage the capabilities of NUnit Annotations to build a more robust framework. Any discussion about testing is incomplete without the mention of the Selenium framework. Selenium is a powerful test framework that can be used for automated browser testing as it is compatible with popular programming languages like C#, Python, etc. View more... |
|
|