並び順

ブックマーク数

期間指定

  • から
  • まで

41 - 80 件 / 369件

新着順 人気順

interfaceの検索結果41 - 80 件 / 369件

  • CloudShell VPC environment から VPC内のEC2インスタンスやRDS DBインスタンスに接続してみた | DevelopersIO

    CloudShell VPC environment から VPC内のEC2インスタンスやRDS DBインスタンスに接続してみた もっと簡単にVPC内のリソースにアクセスしたい こんにちは、のんピ(@non____97)です。 皆さんはもっと簡単にVPC内のリソースにアクセスしたいと思ったことはありますか? 私はあります。 VPC上のRDS DBインスタンスやRedisクラスターなどのリソースに接続したい場合、Site-to-Site VPNやClient VPN、Direct Connectがなければ踏み台が必要になります。 踏み台へのアクセス方法は以下のようなものがあります。 直接SSH SSMセッションマネージャー EC2 Instance Connect SSMセッションマネージャーとEC2 Instance Connectについては以下記事をご覧ください。 しかし、上述のいずれの

      CloudShell VPC environment から VPC内のEC2インスタンスやRDS DBインスタンスに接続してみた | DevelopersIO
    • Niantic、Web上で3D/XRコンテンツを制作できるビジュアルエディター「Niantic Studio」パブリックベータ版を無料リリース。3Dスキャンアプリ「Scaniverse」も更新|ゲームメーカーズ

      Niantic、ビジュアルエディター「Niantic Studio」パブリックベータ版をリリース Web上で3DやXRコンテンツを手軽に編集でき、ゲームエンジンとしての機能も搭載する また、3Dスキャンアプリ「Scaniverse」はアップデートされ、ガウススプラッティングを活用してスキャンできるようになった Nianticは、『Nianticにおける次世代マップの構築』と題した記事を公開しました。 🚀Today, we’re excited to announce Niantic Studio! Our new visual interface for @the8thWall developers offers an entirely new way to build immersive 3D and XR experiences or casual web games in real

        Niantic、Web上で3D/XRコンテンツを制作できるビジュアルエディター「Niantic Studio」パブリックベータ版を無料リリース。3Dスキャンアプリ「Scaniverse」も更新|ゲームメーカーズ
      • CUIとは? - CUI は誤用(和製英語) だって知っていますか? - Qiita

        はじめに CUI は英語圏では通用しないようです。CLI という正しい用語を使いましょう。というか CUI のことしか書いていない初心者向け記事、量産させすぎ😡 ❌ CUI (キャラクターユーザーインターフェース)なんて言葉は英語にはありません 🟢 CLI (コマンドラインインターフェース)が正しい用語です 🟢 GUI (グラフィカルユーザーインターフェース)も正しい用語です なんども繰り返されている話題ですが、ふと書きたくなったので書きます。 CLI (コマンドラインインターフェース)ってなに? CLI とはその名の通り、コマンドラインを使ったインターフェースのことです。つまり一般的にはシェルを使うユーザーインターフェースです。よく見るコレ↓です。 $ ls bin dev home lib64 mnt proc run srv tmp var boot etc lib media

          CUIとは? - CUI は誤用(和製英語) だって知っていますか? - Qiita
        • RISC-V で自作OS - 借り初めのひみつきち

          じだいは RISC-V です。 github.com RISC-V とは Windows でよく使われている x86 は 40 年以上前から基本的に互換性を持ったまま拡張を続けた結果、現代ではほとんど必要ない機能との互換性のためにかなり複雑な仕様になっています。 また、 Arm に比べると高価で発熱が多く構成の自由度が低いので Windows 以外の用途ではあまり使われません。 Windows 以外でメジャーな Arm は組み込みからサーバーまで幅広い用途に使われますが、ライセンスやロイヤリティの関係でベンダーの自由度が制限されていて離れるベンダーが増えてきています。 ある程度の性能が必要なコンピュータは今までは x86 か Arm の実質2択でしたが、最近はシンプルで自由な RISC-V が注目されています。 RISC-V の命令セット RISC-V の命令セットは、32bit 基本命令

            RISC-V で自作OS - 借り初めのひみつきち
          • 著者の一言:Web API設計実践入門──API仕様ファーストによるテスト駆動開発

            1978年4月に九州工業大学情報工学科に入学して初めてコンピュータに触れてから,さまざまなソフトウェア開発に従事してきました。しかし,大学・大学院での6年間や社会人になってからも,ソフトウェア開発におけるAPI(Application Programming Interface)設計とは何かを教えてもらったことはなく,試行錯誤してきました。今から思えば,最初のころはかなりひどいAPI設計を行っていたのではないかと思います。 たとえば,C言語で実装を隠ぺいするAPI設計の方法を覚えたのは,社会人となってから7,8年が過ぎたころでした。防御的プログラミングを始めたのは,社会人になってから15年もすぎたころでした。当然,それまでに設計したさまざまなソフトウェアでは,そのAPI仕様に防御的プログラミングを反映したような仕様は書いていなかったことになります。 防御的プログラミングを反映して,かなりき

              著者の一言:Web API設計実践入門──API仕様ファーストによるテスト駆動開発
            • Memory sealing for the GNU C Library [LWN.net]

              Please consider subscribing to LWNSubscriptions are the lifeblood of LWN.net. If you appreciate this content and would like to see more of it, your subscription will help to ensure that LWN continues to thrive. Please visit this page to join up and keep LWN on the net. The mseal() system call allows a process to prevent any future changes to portions of its address space (thus "sealing" them); it

              • CEL(Common Expression Language) - Carpe Diem

                概要 CEL(Common Expression Language)とは、Google によって開発された軽量で高速な式評価言語です。 そのシンプルさと効率性から、セキュリティポリシー、リソースフィルタリング、データ検証などに使われます。 例えばプロダクションでは以下のような利用例があります。 IAM Conditionsとして Kubernetesのセキュリティポリシー定義として 今回はCELの説明と簡単な使い方を紹介します。 環境 go v1.22.1 cel-go v0.20.1 CELとは CELは以下の特徴を持ちます。 非チューリング完全言語 軽量 静的型付けを採用しており、コンパイル時にエラーを検出できる 多数の組み込み関数をサポート ユーザー定義関数やカスタム型を使って拡張できる 具体的には次のようなことができます。 // リソース名がグループ名で始まっているかどうかをチェッ

                  CEL(Common Expression Language) - Carpe Diem
                • An Experienced (Neo)Vimmer's Workflow

                  I know people will ask, so here they are: SeniorMars’ Dotfiles. Moreover, I will be assuming you are using Neovim 0.10! Improving the (Neo)Vim Experience Although, I stated this was not for beginners, I still need to point out the fundamentals. Without these, I would not consider neovim to even approach the basics of a PDE. If you think this is too basic, then you can skip this section – I promise

                  • Build enterprise-grade applications with natural language using AWS App Studio (preview) | Amazon Web Services

                    AWS News Blog Build enterprise-grade applications with natural language using AWS App Studio (preview) Organizations often struggle to solve their business problems in areas like claims processing, inventory tracking, and project approvals. Custom business applications could provide a solution to solve these problems and help an organization work more effectively, but have historically required a

                      Build enterprise-grade applications with natural language using AWS App Studio (preview) | Amazon Web Services
                    • A Mini Monitor for a Pi

                      This post outlines how I used a small 2 inch display as a monitor for my pi. Where it can display tty terminals and X desktops and applications as if it was a normal screen connected over hdmi. My overall goal is to have a sort of handheld “console” that I can connect a keyboard to and use as a normal computer. This post implements the display functionality needed to fulfill part of the goal. I la

                        A Mini Monitor for a Pi
                      • Interop 2024 mid-year update  |  Blog  |  web.dev

                        Interop 2024 mid-year update Stay organized with collections Save and categorize content based on your preferences. As we head into the second half of the year, it's a great time to look at how Interop 2024 has improved web interoperability this year. Where we started At the beginning of the year, Chrome had an experimental browser support score of 83. Today that score is 90, with a score for stab

                          Interop 2024 mid-year update  |  Blog  |  web.dev
                        • Bytecode Breakdown: Unraveling Factorio's Lua Security Flaws

                          Dynamic languages are safe from memory corruptions bugs, right? 29/06/2024 Research Pwn Lua Some months ago I exploited a vulnerability in the Lua implementation of Factorio that allowed a malicious server to obtain arbitrary execution on clients. As the vulnerability has been patched for months already (Factorio versions below 1.1.101 are affected), is time to share the details with the community

                            Bytecode Breakdown: Unraveling Factorio's Lua Security Flaws
                          • Unification in Elixir

                            Pattern matching is a pervasive and powerful tool in Elixir. This isn't too surprising if you know a little about the history of Elixir's parent language, Erlang. Erlang was originally inspired by and written in Prolog, a logic programming language where pattern matching has first-class support. In Elixir, you might see an expression like this: [x, [2, y]] = [1, [2, 3]]When this expression is eval

                              Unification in Elixir
                            • Cloudflare Workers AIを使って画像生成機能を製品の機能として組んだ時に考えたこと

                              Cloudflareには色々な機能がありますが、昨今はAIにも力を入れており色々なモデルがCloudflare Workersで動かすことができます。 その中で今回は画像生成(その中でもimage to image)を使って製品の機能として組み込んでみたのでその時に考えたことを軽いTIPS的な記事として書いておきます。 導入経緯(前提条件) 私はGoens(ゴエンズ)というサービスを運用しています。 平たく言うと高齢者向けのマッチングアプリだと思ってもらって結構です。(有名どころのマッチングアプリより緩い感じですが) その中で様々な課題があるんですが、AIよる画像生成機能を入れた理由は以下です。 年配の方向けなので、どうしても若い人よりプロフィール画像の重要性という点に意識が少し低い方がいらっしゃる 自分自身をどう撮るとうまく撮れるかがあまりわかっていない方もいらっしゃる 異性のプロフィー

                                Cloudflare Workers AIを使って画像生成機能を製品の機能として組んだ時に考えたこと
                              • TSのType, Interface, Classから秒でテストデータ作成するnpm-pkg公開(Rust製)

                                はじめまして🙋 タイトルの通りTypescriptのType, Interface, Classから秒でテストデータ作成するツールを公開しました👏👏👏 boostestと言います🚀🚀🚀 boostestとは? npmでインストールするコマンドです。 日本語のREADMEには利用方法の動画もあります✨✨ ざっくりいうと下記のようなツールでして... typescriptのtypeやinterface, classから瞬時にテストデータ作成できる📝 typeやinterfaceはテストデータを部分的に上書き可能🏗️ テストデータは実際のコードとして出力されるため、ユーザーのアセットになる💸 下記のようにインストールできます。

                                  TSのType, Interface, Classから秒でテストデータ作成するnpm-pkg公開(Rust製)
                                • How We Made the Deno Language Server Ten Times Faster

                                  Programming should be simple, which is why we built Deno to be “batteries included” with all-in-one tooling, native TypeScript support, and web standards APIs. (You can get started with TypeScript just by naming a file with a .ts extension.) One major way Deno boosts productivity is through our language server, which offers auto-completion, tooltips, linting, code formatting, and more. Recently, a

                                    How We Made the Deno Language Server Ten Times Faster
                                  • Generative AI–powered, low-code application builder – AWS App Studio – AWS

                                    AWS App Studio (Preview) The fastest and easiest way to build enterprise-grade applications AWS App Studio is a generative AI-powered service that uses natural language to build enterprise-grade applications, empowering a new set of builders to create applications in minutes. With App Studio, technical professionals without deep software development skills, such as IT project managers, data engine

                                      Generative AI–powered, low-code application builder – AWS App Studio – AWS
                                    • 「tvOS 18」にタッチディスプレイ搭載HomePodのヒント - こぼねみ

                                      最新の「tvOS 18」beta 3からタッチスクリーン対応の新しいインターフェースを発見したとして9to5Macが伝えています。 そこからタッチ画面を備えた新しいHomePodのために用意されていると予想されています。 新しいHomePodのイメージ新しいtvOSインターフェイス(システムシェル)は、内部的には「PlasterBoard」と呼ばれています。iOSのシステムシェルであるSpringBoardに類似しており、システムのコアとなるインターフェイス要素を提供しています。たとえば、PlasterBoardインターフェイスは、iPhoneやiPadのものと非常に類似したパスコードキーパッド付きのロック画面を備えています。 tvOS 18: パスコードキーを備えたロック画面それら発見されたコードやインターフェイスの動作は、通常のテレビ用ではなく、タッチスクリーン用に作られたことが示唆さ

                                        「tvOS 18」にタッチディスプレイ搭載HomePodのヒント - こぼねみ
                                      • Visual Studio Code June 2024

                                        Version 1.91 is now available! Read about the new features and fixes from June. June 2024 (version 1.91) Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the June 2024 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highlights include: Preview: Incoming/Outgoing changes graph -

                                          Visual Studio Code June 2024
                                        • 特殊な外科処置と「本人の神経系と接続して動かせる義足」を組み合わせることで脚を失った人でも自然な歩行が可能になる

                                          事故や病気で脚を切断した人にとって、自然に立ったり歩いたりできる義足は生活の質を左右する重要なものです。新たにマサチューセッツ工科大学(MIT)の研究チームが、特殊な外科処置と「自分の神経系で動かすことができ、神経フィードバックも得られる義足」を組み合わせることで、患者が従来の義足よりも自然に歩けるようになったと報告しています。 Continuous neural control of a bionic limb restores biomimetic gait after amputation | Nature Medicine https://www.nature.com/articles/s41591-024-02994-9 A prosthesis driven by the nervous system helps people with amputation walk natu

                                            特殊な外科処置と「本人の神経系と接続して動かせる義足」を組み合わせることで脚を失った人でも自然な歩行が可能になる
                                          • [アップデード]IAM Access Analyzerのカスタムポリシーチェックでパブリックアクセスと重要リソースアクセスのチェックが追加されました! #AWSreInforce | DevelopersIO

                                            [アップデード]IAM Access Analyzerのカスタムポリシーチェックでパブリックアクセスと重要リソースアクセスのチェックが追加されました! #AWSreInforce IAM Access Analyzerの自動推論を利用したチェックが強化されました!単純なdiffが難しいポリシーの設定で間違いないかという担保を得るために活用しましょう! こんにちは、臼田です。 みなさん、アクセス権限のチェックしてますか?(挨拶 今回はAWS re:Infore 2024にてIAM Access Analyzerのカスタムポリシーチェックが拡張されたので解説します。 AWS IAM Access Analyzer now offers policy checks for public and critical resource access - AWS IAM Access Analyzer

                                              [アップデード]IAM Access Analyzerのカスタムポリシーチェックでパブリックアクセスと重要リソースアクセスのチェックが追加されました! #AWSreInforce | DevelopersIO
                                            • エフェクトとジェネレーターと - Object.create(null)

                                              2 年前に作って放置していたライブラリを最近ちょっと整理したのでその話. エフェクト プログラム中に登場する関数のことを考えてみましょう. 関数は引数を与えるとなんらかの計算を行い, 戻り値を返してくれます. もし関数が純粋な (数学的な意味での) 関数であれば, 関数の入出力は引数と戻り値だけです. つまり, 引数以外の入力 (例えば時刻) によって出力が変わることもなければ, 戻り値以外の出力 (例えば光や音) が得られることもありません. 一方で実用的な価値のあるプログラムというのは時刻に応じて光や音を発生させるようなものであり, これらは純粋な関数だけを組み合わせていては作ることができません. ここで登場する純粋でない関数は, 計算の過程でなんらかのエフェクトを発生させて, 引数と戻り値以外の入出力 (副作用) を行います. エフェクトの明示と副作用の分離 関数が発生させるエフェク

                                                エフェクトとジェネレーターと - Object.create(null)
                                              • Announcing Ditto | Soapbox

                                                It's finally here. After a year of work, I'm pleased to announce the first release of Ditto! 🎉 Ditto is a Nostr community server. It has a built-in Nostr relay, a web UI, and it implements Mastodon's REST API. It has moderation. It has spam filters. It has NIP-05 self-service. It has quote posts, emoji reactions, and zaps. ⚡ The scope of this project is absolutely huge. It aims to take everything

                                                  Announcing Ditto | Soapbox
                                                • PHP のオートロードはいつ実行されるか - Shin x Blog

                                                  下記エントリを書いたところ、ではいつオートローダによって PHP ファイルが読み込まれるのかという質問をいただきました。 blog.shin1x1.com このエントリでは、オートロードの仕組みを交えて、どのようなケースでオートローダが実行されるかをまとめました。 なお、このエントリではクラスの名称をクラス名としていますが、これはインターフェイス、トレイト、enumの名称も含んでいます。 オートローダが実行される条件 オートロード関数の登録 オートローダが実行される PHP コード オートローダが実行されない PHP コード 引数によってオートローダが実行される関数 オートローダ実行の仕組み zend_lookup_class_ex() spl_perform_autoload() 型検査 さいごに オートローダが実行される条件 オートローダは以下の条件を満たした時に実行されます。 spl

                                                    PHP のオートロードはいつ実行されるか - Shin x Blog
                                                  • Figma to Vue: Convert Designs to Clean Vue Code in a Click

                                                    Imagine a world where designers could concentrate solely on creating beautiful designs without worrying about the final product’s pixel-perfect implementation. Developers could focus on enhancing core functionalities and adding new features rather than converting designs into functional code. And businesses could consistently meet project deadlines without the usual delays and additional work. At

                                                      Figma to Vue: Convert Designs to Clean Vue Code in a Click
                                                    • The sad state of property-based testing libraries

                                                      The sad state of property-based testing libraries Posted on Jul 2, 2024 Property-based testing is a rare example of academic research that has made it to the mainstream in less than 30 years. Under the slogan “don’t write tests, generate them” property-based testing has gained support from a diverse group of programming language communities. In fact, the Wikipedia page of the original property-bas

                                                      • AWS VPC接続方法によるレイテンシ(VPC Peering vs TGW)

                                                        TL;DR VPC間を接続した際のレイテンシはTGW > VPC Peering TGWでVPC間を接続すると、VPC PeeringでVPC間を接続した場合と比較して、レイテンシが10倍以上!! はじめに いきなりですが、皆さんは以下のような2つのVPC間を接続する際、どの様な方法で接続するでしょうか?(オレンジ矢印部分) 前提や要件により様々な接続方法が考えられますが、AWS公式:Amazon VPC-to-Amazon VPC connectivity optionsには、VPC間を接続する際の選択肢については以下5つが挙げられています。 VPC Peering Transit Gateway(TGW) AWS PrivateLink Software VPN Software VPN-to-AWS Site-to-Site VPN AWS公式ドキュメントには選択肢として記載されてい

                                                          AWS VPC接続方法によるレイテンシ(VPC Peering vs TGW)
                                                        • オリジナルのZendeskアプリ開発でCS生産性を向上させる - inSmartBank

                                                          こんにちは、おはようございます、こんばんは、スマートバンクでCREをしている佐藤(@tmnbst)です。 弊社ではお問い合わせの対応にZendeskを利用しています。Zendeskには、アプリマーケットプレイスがあり、Zendeskの機能を拡張するためのアプリを追加することができます。これにより、標準のZendeskにはない機能を追加することができます。また、アプリはユーザー自身で開発することもでき、自社のCS業務に合わせたアプリを開発することができます。 今回は、オリジナルのZendeskアプリを開発して、CS生産性を向上させた事例を紹介したいと思います。 開発のきっかけ 日々、CSチームが行っている作業の中で、問い合わせユーザーの状況を社内管理画面で確認するプロセスがあります。 このプロセスは、以下の手順で行われていました。 Zendeskのチケットページからお問い合わせを確認 チケッ

                                                            オリジナルのZendeskアプリ開発でCS生産性を向上させる - inSmartBank
                                                          • Heuristics - The Tester's Guidestick

                                                            This is a search field with an auto-suggest feature attached. Today is your first day of switching to a new project. You have been testing your previous application for almost a year and you are not an expert but an advocate of the application. However, today you are going to be an apprentice in this new project. The first thing you would do is explore the application to get an insight into how it

                                                              Heuristics - The Tester's Guidestick
                                                            • 生成AIを悪用するワームの脅威

                                                              生成AI(Artificial Intelligence、人工知能)*1を搭載したシステムを狙って情報を窃取し、生成AIを悪用して自らを拡散するワーム*2が今後登場する恐れがある。セキュリティー研究者が2024年3月、実際にそのようなワームを開発したとの論文を発表した。生成AIにシステム権限を与え過ぎないといった対処が必要になる。 プロンプトで自身を複製する 生成AIを悪用するワーム「Morris II」を開発して、機密データの窃取やマルウエアの拡散を可能にしたとの論文*3を発表したのは、米コーネル大学やイスラエル工科大学などの研究者である。Morris IIは「生成AIエージェント」に対して攻撃を仕掛ける。生成AIエージェントとは、「ChatGPT」や「Gemini」といった生成AIモデル(基盤モデルや大規模言語モデルなどとも呼ばれる)と連係し、人間に代わって自律的にタスクを処理するシス

                                                                生成AIを悪用するワームの脅威
                                                              • Release v0.22.0 · evanw/esbuild

                                                                This release deliberately contains backwards-incompatible changes. To avoid automatically picking up releases like this, you should either be pinning the exact version of esbuild in your package.json file (recommended) or be using a version range syntax that only accepts patch upgrades such as ^0.21.0 or ~0.21.0. See npm's documentation about semver for more information. Omit packages from bundles

                                                                  Release v0.22.0 · evanw/esbuild
                                                                • Using Nix as a Yocto Alternative

                                                                  Building system images for embedded devices from the ground up is a very complex process, that involves many different kinds of requirements for the build tooling around it. Traditionally, the most popular build systems used in this context are the Yocto project and buildroot. These build systems make it easy to set up toolchains for cross-compilation to the embedded target architecture, so that t

                                                                  • uMap project

                                                                    “A tool to put between all hands, full-featured, you can smoothly go into advanced mode. A wonderful tool.” “In fine, uMap is really easy to get started with, reactive and doesn’t require any account. It allows interesting collaborative work with students.” “Thank you for creating this tool! It’s really useful to me and super simple to use :)” “With uMap, no need to code, you create your interacti

                                                                    • ソフトウェア設計における依存関係の挿入について理解する

                                                                      上記の例で提供されているスクリプトは、Java と JavaScript の両方における依存関係注入の概念を示しています。 Java の例では、まず、 interface 呼ばれた Service たった一つの方法で execute()。の ServiceImpl クラスはこのインターフェイスを実装し、実際の実装を提供します。 execute() 方法。の @Override アノテーションは、このメソッドがメソッドをオーバーライドしていることを示します。 Service インターフェース。次に、 Client に依存するクラス Service インターフェース。の Client クラスは、の具体的な実装から独立するように設計されています。 Service インターフェースを変更することなく、実装を簡単に切り替えることができます。 Client クラス自体。これは、 Service に反対

                                                                        ソフトウェア設計における依存関係の挿入について理解する
                                                                      • [保存版]デザイン×AI リソース・ケーススタディ(2024/6/16更新)|しょーてぃー/ Experience Designer

                                                                        こんにちは、Experience Designerのしょーてぃーです。 生成AI×体験デザインについて考えるのって大変ですよね。 ということで、自分が保存しているAI×UX /AI×UI /ML×UX…リソースリストの一部を開放します。 今後も増やしていきます。 次回更新はAIエージェントの体験設計についてを想定(6/16) UI / インタラクションデザイン編Aiverse.design 最新のAI-UXインタラクションのライブラリ。 最新のAI-UXインタラクションのライブラリ。企業がAIをどのようにデザインに取り入れているのか、最新のAI機能は何かを知ることができる、現在120以上のAI-UXインタラクション事例を掲載。会話型、アシスト型、インビジブル型、アンビエント型に分類されている。 🔗https://t.co/sLuiYP6loY pic.twitter.com/eeoF59

                                                                          [保存版]デザイン×AI リソース・ケーススタディ(2024/6/16更新)|しょーてぃー/ Experience Designer
                                                                        • How To Make A Strong Case For Accessibility — Smashing Magazine

                                                                          Gaining buy-in for accessibility can be challenging due to common myths and misunderstandings. For many, accessibility remains a big mystery. Here are some practical techniques for winning stakeholder support. Part of Smart Interface Design Patterns by yours truly. Getting support for accessibility efforts isn’t easy. There are many accessibility myths, wrong assumptions, and expectations that mak

                                                                            How To Make A Strong Case For Accessibility — Smashing Magazine
                                                                          • 【SOLID原則】オープンクローズドの原則とは - Qiita

                                                                            はじめに 社内で設計の勉強会を行った際に、前提であるSOLID原則 特にオープンクローズドの原則について理解が必要だと再確認したので、今回記事にまとめます。 分かりやすいように具体例とコードを交えて説明します。 オープンクローズの原則とは SOLID原則の1つのOpen Closed Principleのことである。 ソフトウェアの構成要素は拡張に対して開かれていて、修正に対して閉じていなければならないという原則です。 拡張に対して開かれている 機能の拡張 新たなコードを追加することで機能を拡張することができる 修正に対して閉じている 修正は機能を拡張するための既存コードの修正 拡張によって既存コードが修正されない つまり...ソフトウェアのふるまいは既存の成果物を変更せずに、 拡張できるようにするべきということです。 ただ、これだけでは具体的なイメージが湧きにくいので、 具体例を挙げます

                                                                              【SOLID原則】オープンクローズドの原則とは - Qiita
                                                                            • AKS on Azure Stack HCI 用の Azure Kubernetes Service (AKS) ベースライン アーキテクチャ - Azure Example Scenarios

                                                                              このシナリオでは、Azure Stack HCI で実行される Microsoft Azure Kubernetes Service (AKS) のベースライン アーキテクチャを設計して実装する方法について説明します。 この記事には、組織のビジネス要件に基づいたクラスターのネットワーク、セキュリティ、ID、管理、監視に関する推奨事項が記載されています。 これは、2 つの記事で構成されるアーキテクチャ ベースライン ガイダンス セットの一部です。 ネットワーク設計に関する推奨事項については、こちらを参照してください。 Architecture 次の図は、Azure Stack HCI または Windows Server 2019/2022 Datacenter フェールオーバー クラスターの Azure Kubernetes Service のベースライン アーキテクチャを示しています。

                                                                                AKS on Azure Stack HCI 用の Azure Kubernetes Service (AKS) ベースライン アーキテクチャ - Azure Example Scenarios
                                                                              • 【React】useState 地獄を脱するために - Qiita

                                                                                背景 お試しでreactを触ってみたところ、入力フォームで、各フォーム毎に State を管理すると大変だと思うことがありました。 ここら辺スッキリ書けるといいなと思って調べてみて、いくつか方法あったので学習がてらメモで残します。 簡単なデモ シンプルなタスク管理アプリを想定します。 タスクのタイトル、担当者、内容を入力して、list化するだけの簡単なアプリです。 画像荒くてごめんなさい useState地獄 この簡単なタスクの仕様でも、タイトル、担当者、内容についてステートを管理しないといけないのが目に見えています。 useState で管理したコードが以下になります。 上流のコンポーネントから受け取ったaddTodoを使用してタスクを追加します。 import React, { useState } from "react"; import { Todo } from "../type

                                                                                  【React】useState 地獄を脱するために - Qiita
                                                                                • Optimizing Large-Scale OpenStreetMap Data with SQLite

                                                                                  Over the past year or two, I’ve worked on a project to convert a massive dataset into an SQLite database. The original data was in a compressed binary format known as OSMPBF, which stands for OpenStreetMap Protocol Buffer Format. This format is highly compact and compressed, making it difficult to search. The goal of converting it into an SQLite database was to leverage SQLite’s search functionali