COBOL is everywhere. It handles an estimated 95% of ATM transactions in the US. Hundreds of billions of lines of COBOL run in production every day, powering critical systems in finance, airlines, and government. Despite that, the number of people who understand it shrinks every year. The developers who built these systems retired years ago, and the institutional knowledge they carried left with th
Migrate from Chalk to Node.js util styleText chalk-to-util-styletext This codemod aims to help you reduce external dependencies by transforming chalk method calls to use the native Node.js styling functionality. It will also handle automatic removal of the chalk package from the package.json. Compatible Features: Basic colors (red, green, blue, yellow, etc.) Bright colors (redBright, greenBright,
新機能・変更点情報 Ruby on Rails 7.1 リリースノート - Railsガイド Ruby on Rails 7.1の主要な新機能・機能追加・変更点 #Ruby - Qiita Rails 7.1.0 がリリースされました|TechRacho by BPS株式会社 主にCHANGELOGへのリンク Rails 7.1で個人的に気になったメソッドの変更点 Rails 7.1の注目新機能──Dockerfileの自動生成や非同期クエリ、複合主キーなど──を使いこなす! (1/2)|CodeZine(コードジン) すべて読むには会員登録が必要 Rails 7.1 の新機能が使いたくて調べてみた - Speaker Deck Rails 7.1: Active Recordのトランザクションイベントがinstrumentationで計測可能になった(翻訳)|TechRacho by B
2PC API 設計 ウォレット領域でトランザクションを開始する際には、2段階コミット(2PC)API設計を採用しています。これは、トランザクションが完了するには2つの段階を経る必要があり、中断された場合はロールバックできることを意味します。例えば、キャッシュバック決済取引には、2つのAPIを叩く必要があります。 /payment/prepare /payment/commit 取引をキャンセルする必要がある場合は、/payment/rollback API が叩かれます。 最終的な会計処理の記録、つまり加盟店のアカウントへの入金は、コミットが正常に完了した後にのみ作成されます。 導入のきっかけ ウォレット領域が過剰な負荷を抱え、チームが本質的な技術的実現や改善に集中することが目に見えて難しくなっていました。特に、ウォレット領域がPayPayの基盤コンポーネントとしての役割を担っていること
こんにちは osyoyu です。このたびワンバンクを支える本体アプリケーション、通称core-apiのデータベーススキーマ管理をRidgepole (ridgepole/ridgepole) に置き換えて、人生が便利になりました。悲願達成です。 本記事では導入にあたっての工夫をご紹介します。高速化のためにやったことも最後に書いているので、すでに宣言的ライフを送られている皆様もぜひどうぞ。 まずはワンバンクの本体アプリケーションにおける、最新の rails stats をご覧ください。 +----------------------+--------+--------+---------+---------+-----+-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | +--------------------
React Compiler can be adopted incrementally, allowing you to try it on specific parts of your codebase first. This guide shows you how to gradually roll out the compiler in existing projects. You will learn Why incremental adoption is recommended Using Babel overrides for directory-based adoption Using the “use memo” directive for opt-in compilation Using the “use no memo” directive to exclude com
At Faire, we recently completed the longest code migration in our frontend codebase’s history. We transitioned from class components and MobX classes to functional components and hooks in our largest React application. This migration enhanced our codebase’s maintainability through improved composability and access to powerful third-party libraries (TanStack Query and zustand). It also improved our