iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
💕

Productivity Weekly (Issue 2021-05-19)

に公開

Hello. I'm Hiraki-ba from the Productivity Improvement Team at Cybozu, Inc.

Our Productivity Improvement Team holds a weekly internal meeting every Wednesday called "Productivity Weekly," where we share topics discovered during the week related to improving developer productivity.
This article is a compilation of the topics from that session.

This is the 26th edition. You can find past articles here.

news 📺

Introducing AWS App Runner | Amazon Web Services Blog

https://aws.amazon.com/jp/blogs/news/introducing-aws-app-runner/

AWS has released AWS App Runner, a service for easily building containerized web applications. If you provide a container, App Runner handles all the resources necessary for operation and publication (such as endpoints and certificates). It also seems to handle scaling automatically. For container images, you can use an image retrieved from ECR or an image built[1] from code uploaded to GitHub.

Classmethod (Kura-meso) quickly published several articles about it. They introduce not only how to launch from the console but also how to launch using AWS Copilot.

When you want to deploy an application, you need to prepare not just the application itself but various other things required for operation and publication. If you want fine-grained tuning, it's better to do everything yourself, but otherwise, it's a hassle. Using AWS App Runner is great because it allows you to focus on developing the containerized application.

GitHub Artifact Exporter open source release | The GitHub Blog

https://github.blog/2021-05-18-github-artifact-exporter-open-source-release/

GitHub has released "GitHub Artifact Exporter," a tool that allows you to retrieve information from GitHub (commits, milestones, projects, pull requests, releases). While GitHub provides a powerful API, they released this tool to make it easier for people who are not used to hitting APIs, such as non-engineers, to easily retrieve data from GitHub.

I actually tried it out.

Trying out GitHub Artifact Exporter
https://zenn.dev/korosuke613/scraps/dcc883e4ab8625

My impression after trying it was that it still feels like it's in the middle of development (the most tedious part was that no GUI binary was provided, so I had to build it locally to use it). Also, I felt that those who are used to hitting APIs don't really need to go out of their way to use this tool.

However, it's definitely true that for those not accustomed to using APIs, it makes fetching data easy. It's good that anyone can retrieve data effortlessly.

GitHub OCTO | Flat Data

https://octo.github.com/projects/flat-data

GitHub OCTO[2] has announced Flat Data, a project to make it easier to work with data in Git and GitHub. Using Flat Data, you can easily pull datasets into a repository and visualize them. Flat Data consists of three solutions: "Flat Editor: Create workflows using Flat Action via a GUI," "Flat Action: Fetch and post-process data, then register it to a GitHub repository," and "Flat Viewer: Visualize data and make sharing easy."

I actually tried it and visualized my own number of contributions using Flat Viewer.

https://zenn.dev/korosuke613/scraps/0eef7641bcd48f

https://twitter.com/Shitimi_613/status/1395066290172174339

It takes some getting used to when you actually try to do it, but since convenient libraries for post-processing are provided and you can easily visualize data just by preparing it, it seems quite useful when you want to visualize and share data quickly.

know-how 🎓

The do’s and don’ts of integration testing | syrett.blog

https://syrett.blog/the-dos-and-donts-of-integration-testing/

A list of do's and don'ts for achieving stable and reliable integration testing. The do's and don'ts, along with their details and reasons, are described concisely. It could also be used as a kind of cheat sheet.

It is written in English, but since the amount of text is not very large, it is not that difficult to read, making it easy to browse. This is a recommended article for anyone involved in testing.

Serverless UI testing using Selenium, AWS Lambda, AWS Fargate, and AWS Developer Tools | Amazon Web Services Blog

https://aws.amazon.com/jp/blogs/news/serverless-ui-testing-using-selenium-aws-lambda-aws-fargate-and-aws-developer-tools/

This article introduces methods for performing serverless UI testing using Selenium, AWS Lambda, AWS Fargate, and AWS Developer Tools.

By using AWS Fargate and AWS Step Functions, you can perform UI tests in parallel on multiple Lambdas, enabling high-speed execution of UI tests. This article explains in detail how to achieve this. Additionally, a CloudFormation template is available for setting up the described configuration, so you can try it out in your own environment.

Setting up test environments and parallel execution for automated UI testing is often quite challenging. While using cloud services for CI/CD can make it relatively easy to set up, there may be limits on the number of parallel executions, or it might take time for jobs to start depending on the service's status. By using the method described in this article, it seems possible to run UI tests quickly without being bound by such restrictions.

tool 🔨

Slidev

https://sli.dev/

This is a tool for creating slides using Markdown. Since it has just been released, it is currently provided as a public beta. As the name Slidev suggests, it claims to be a developer-friendly tool.

The article below introduces how to use Slidev and its characteristic features.
https://zenn.dev/ryo_kawamata/articles/introduce-slidev

You can easily apply syntax highlighting. It can be exported as an SPA (Single Page Application), allowing you to display a list of slides or toggle dark mode while presenting. Personally, I found the ability to present with the built-in camera shown on the slide and the recording function interesting. It seems to be designed with remote presentations in mind, fitting the current global situation.

When creating slides, thinking about the style is often a hassle, so this kind of tool is much appreciated. Since it's aimed at developers, I'd like to try using it the next time I need to create a presentation.

koneta 🍘

This is a section where I want to introduce all the topics that came up in Productivity Weekly, but I don't have the stamina, or for topics that don't have much to say, I'll just write a quick word about them.

Afterword

Recently, if there's a topic I'm interested in, I try it out once before writing the Productivity Weekly article (like GitHub Artifact Exporter and Flat Data this time). As a result, the publication of the article gets delayed a bit. A while ago, I felt like "I have to put out the article immediately!", but lately, I've come to think that readers probably won't be that troubled even if it's delayed by 2 or 3 days, so I've started writing as early as possible on a best-effort basis. It's just right and easier on the mind.

The Productivity Improvement Team holds these sharing sessions every week. If you're interested in such a team, click the link below!
https://blog.cybozu.io/entry/2020/08/31/080000

omake

This is this week's bonus.

Date Science | Osaka Institute of Technology

https://www.oit.ac.jp/japanese/juken/date_science/

"Date Science is the most familiar form of Data Science." That's what it says. It's a site that introduces various numbers related to romance. Overall, it's stylish. It's a play on words between "Data Science" and "Date."

When you go to the page, dialogue flows as follows:

When you click on a dialogue you're interested in, an emotional-looking photo and an episode (explanation related to the associated numbers) are displayed like the one below.

It was interesting, so I clicked on various dialogues, and bittersweet stories unfolded, which really hits you in a certain way. It brought back many memories from my student days.

On a serious note, it's good because you can learn about various numbers, making it educational.

When I wondered what this site was all about, I found out it's a promotional site for the opening of the Data Science department at Osaka Institute of Technology. Interesting.

脚注
  1. It seems it's not exactly building from a Dockerfile, but rather containerizing applications created with Python 3 or Node.js v12. ↩︎

  2. Short for GitHub's Office of the CTO; it seems to be an organization like the CTO's office at GitHub. Was it created recently? ↩︎

GitHubで編集を提案

Discussion