並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 28 件 / 28件

新着順 人気順

interfaceの検索結果1 - 28 件 / 28件

  • Java の enum を使いこなせるあなたに sealed interface

    はじめに Java の enum は大変便利で非常多くのシーンで活用されています。例えば区分を表すようなオブジェクトを表現したい際にもよく使われていますね。 Java 14 で正式機能となった switch式にて網羅性検査が行えるようになり、それまで以前ではどうしても抽象メソッド等を活用する必要があった処理についても、switch式を利用する事で簡潔に表現することができるようになりました。 また、Java 17 で正式機能となった sealed classes/interfaces と Java 21 で正式機能になった Record Patterns によって、これまで必要だった区分値のような enum を必ずしも定義しなくて良い場合も出てきました。 この記事では、今まで enum を使っていたコードがこれらの機能によってどのように変わるのかを紹介し、盲目的に enum を定義するのでは

      Java の enum を使いこなせるあなたに sealed interface
    • GitHub - OpenInterpreter/open-interpreter: A natural language interface for computers

      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

        GitHub - OpenInterpreter/open-interpreter: A natural language interface for computers
      • Go言語1.21で、WebAssembly System Interface(WASI)の実験的サポートへ

        Go言語1.21で、WebAssembly System Interface(WASI)の実験的サポートへ Googleが中心となってオープンソースで開発されているGo言語の次期バージョン「Go 1.21」では、WebAssembly System Interface(WASI)が実験的にサポートされることが明らかになりました。 これによりGo言語で簡単にファイルアクセスなどOSの主要なAPIを呼び出しつつ、特定のOSに依存しないポータブルな実装のWebAssemblyアプリケーション開発の実現が期待されます。 Go 1.21 Release Candidate 3 is released! Run it in dev! Run it in prod! File bugs! https://t.co/Ul1xGhvlkf Announcement: https://t.co/5Ncs1od

          Go言語1.21で、WebAssembly System Interface(WASI)の実験的サポートへ
        • Rustで学ぶWebAssembly Interface Type入門

          TL;DR Wasmコンポーネントのインターフェースを定義する言語です パッケージという形で名前空間を提供します インポートとエキスポートの定義のことをワールド(world)と呼びます 注意:仕様策定中の技術を扱っています。仕様作成の進行によっては、内容が正しくない場合があります。 背景 Wasmモジュールにはi32、i64, f32, f64の4種類のデータ型しか存在しません。また文字列やユーザー定義型のような構造を持つデーターの表現にも標準が存在せず、データをどのようにメモリ上に配置方法はプログラミング言語の処理系、またはプログラマーが決めるものとされていました。 例えば、次のようなデータ構造と、それに対する操作があったとします。 pub struct Point { x: i32, y: u8, z: u16, } #[no_mangle] pub fn hash(point: &P

            Rustで学ぶWebAssembly Interface Type入門
          • Command-line interface tool design / PHPerKaigi 2024

            https://fortee.jp/phperkaigi-2024/proposal/39710935-b617-466a-8ceb-1677cb42fa04

              Command-line interface tool design / PHPerKaigi 2024
            • An interface is not an interface - Recent thoughts about clean coding - spacelyのブログ

              Introduction Recently I've had to work on code which seemed to be based on clean architecture, but after a while I concluded that it is probably not and it made me think about clean coding in general and the principles of clean architecture in particular. Is it about a set of rules, and we are guaranteed to achieve cleanness as long as we follow them? Or is it about abstract principles, which we c

                An interface is not an interface - Recent thoughts about clean coding - spacelyのブログ
              • Go 1.21リリース、WASI(WebAssembly System Interface)サポート、実行時プロファイルでコンパイル最適化

                Go 1.21リリース、WASI(WebAssembly System Interface)サポート、実行時プロファイルでコンパイル最適化 Googleが中心となってオープンソースで開発されているGo言語の最新バージョン「Go 1.21」が先々月(2023年8月)リリースされました。 Go 1.21では、WebAssemblyをクロスプラットフォーム対応にするWebAssembly System Interface(WASI)が実験的にサポートされました。 また、実行時のプロファイル情報を基にコンパイルを最適化する「Profile-guided optimization」が正式機能となりました。 Go 1.21.0 is released! Release notes: https://t.co/8yX6FMmTOq Download: https://t.co/AHKMZi9hp1#go

                  Go 1.21リリース、WASI(WebAssembly System Interface)サポート、実行時プロファイルでコンパイル最適化
                • GitHub - andyk/ht: headless terminal - wrap any binary with a terminal interface for easy programmatic access.

                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                    GitHub - andyk/ht: headless terminal - wrap any binary with a terminal interface for easy programmatic access.
                  • GitHub - langgenius/dify: Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to p

                    Dify Cloud · Self-hosting · Documentation · Enterprise inquiry Dify is an open-source LLM app development platform. Its intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production. Here's a list of the core features: 1. Workflow: Build and test powerful AI workflows on a visual ca

                      GitHub - langgenius/dify: Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to p
                    • 設計の考え方 - インターフェースと腐敗防止層編 #phpconfuk / Interface and Anti Corruption Layer

                      2024/06/22 開催の「PHP カンファレンス福岡 2024」(https://phpcon.fukuoka.jp/2024/ )のトーク資料です。 詳細:https://fortee.jp/phpcon-fukuoka-2024/proposal/25f1e7b5-937f-4de9-a6…

                        設計の考え方 - インターフェースと腐敗防止層編 #phpconfuk / Interface and Anti Corruption Layer
                      • grpc-kotlinの実装をinterfaceの定義によってテンプレート化する - ドワンゴ教育サービス開発者ブログ

                        はじめに grpc-kotlin の実装に必要な要素 リクエスト・レスポンスクラス サービスクラス サーバークラス 普通に実装したときの不満点 不満1: 異なる関心事の混在 不満2: 共通処理 不満3: エラーハンドリング インターフェースを定義する validateAndConvertRequest process convertResponse エラーハンドリング おわりに We are hiring! & Kotlin Fest出展のお知らせ はじめに 過去にも何度か紹介しておりますが、現在開発中の新しい教材システムでは新たにgRPC通信によるKotlinサーバーを採用して開発が進められています。 blog.nnn.dev そして、技術選定の方針としてWebアプリケーションフレームワークはなるべくシンプルで薄くすることを決めたので、Spring Boot のような別フレームワークを介

                          grpc-kotlinの実装をinterfaceの定義によってテンプレート化する - ドワンゴ教育サービス開発者ブログ
                        • WASIのフルスペルを「WebAssembly System Interface」から「WebAssembly Standard Interface」へ変更しようという提案は延期に

                          WASIのフルスペルを「WebAssembly System Interface」から「WebAssembly Standard Interface」へ変更しようという提案は延期に WebAssemblyはもともとWebブラウザ上で高速に実行可能なバイナリフォーマットとして登場しました。高い実行性能やCPUアーキテクチャに依存しないポータビリティ、高度なセキュリティなどの利点を持ちます。 この優れた利点を持つWebAssemblyをWebブラウザ上だけではなく、サーバやデスクトップ環境でも実行可能にしようと2019年4月に登場したのがWASI(WebAssembly System Interface)と呼ばれる技術です。 参考:WebAssemblyをWebブラウザ以外の実行環境へ。システムインターフェイスへのアクセスを可能にする「WASI」の策定開始。Mozillaが呼びかけNode.j

                            WASIのフルスペルを「WebAssembly System Interface」から「WebAssembly Standard Interface」へ変更しようという提案は延期に
                          • ソフトウェアエンジニアと UI デザイナーが Apple の Human Interface Guidelines を一緒に読んだら - ANDPAD Tech Blog

                            とても良い感じです。 はじめまして、アンドパッドで iOS アプリ開発を担当している西 @jrsaruo_tech です。 最初は Swift の好きなところを30個挙げる記事を書こうと思ったのですが、誰が読むんだろうと冷静になれたので猫をかぶることにしました。Swift の話はまた別の機会に。 さて、アンドパッドでは日々多種多様な社内勉強会が開催されているのですが、その中に『HIG を読む会』というものがあります。 HIG とは Apple が公開している Human Interface Guidelines のことで、Apple プラットフォーム向けのアプリをデザインするうえで必要な知識やベストプラクティスなどがまとめられています。 『HIG を読む会』では、UI デザインに興味のあるエンジニアと UI デザイナーが集まって一緒に HIG を読み、気になったことや関連するテーマでわいわ

                              ソフトウェアエンジニアと UI デザイナーが Apple の Human Interface Guidelines を一緒に読んだら - ANDPAD Tech Blog
                            • Introducing deployctl, the command line interface for Deno Deploy

                              Introducing deployctl, the command line interface for Deno Deploy Many backend engineers prefer to manage infrastructure and deployments through a command line interface, especially when building CI/CD scripts where settings and configurations can all be represented through flags and code. Managing your projects on Deno Deploy is no exception — with deployctl you can now manage the whole lifecycle

                                Introducing deployctl, the command line interface for Deno Deploy
                              • 身体で対峙する大巻伸嗣の大作。国立新美術館で見る大巻伸嗣の個展「大巻伸嗣 Interface of Being 真空のゆらぎ」

                                身体で対峙する大巻伸嗣の大作。国立新美術館で見る大巻伸嗣の個展「大巻伸嗣 Interface of Being 真空のゆらぎ」東京・六本木の国立新美術館で、鑑賞者の位相を自在に変化させるようなインスタレーションやパブリック・アートで知られている大巻伸嗣の個展「大巻伸嗣 Interface of Being 真空のゆらぎ」が開幕した。会期は12月25日まで。 文・撮影=安原真広(ウェブ版「美術手帖」副編集長) 東京・六本木の国立新美術館で大巻伸嗣の個展「大巻伸嗣 Interface of Being 真空のゆらぎ」が開幕した。会期は12月25日まで。担当学芸員は長屋光枝。 大巻は1971年岐阜県生まれ。東京藝術大学美術学部彫刻科卒業後、同大学大学院美術研究科彫刻専攻修了。空間を変容させながら、鑑賞者の位相を自在に変化させるようなインスタレーションやパブリック・アートで知られている。 大巻伸嗣

                                  身体で対峙する大巻伸嗣の大作。国立新美術館で見る大巻伸嗣の個展「大巻伸嗣 Interface of Being 真空のゆらぎ」
                                • Radicle Interface

                                  Interact with Radicle

                                    Radicle Interface
                                  • Type vs Interface: Which Should You Use?

                                    Matt PocockMatt is a well-regarded TypeScript expert known for his ability to demystify complex TypeScript concepts. #Quick Explanation You should use types by default until you need a specific feature of interfaces, like 'extends'. Interfaces can't express unions, mapped types, or conditional types. Type aliases can express any type. Interfaces can use extends, types can't. When you're working wi

                                      Type vs Interface: Which Should You Use?
                                    • GitHub - Acly/krita-ai-diffusion: Streamlined interface for generating images with AI in Krita. Inpaint and outpaint with optional text prompt, no tweaking required.

                                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                        GitHub - Acly/krita-ai-diffusion: Streamlined interface for generating images with AI in Krita. Inpaint and outpaint with optional text prompt, no tweaking required.
                                      • 📘Obsidian Memos みたいなプラグイン Mobile First Daily Interfaceを作ったワケ - Minerva

                                        📘Obsidian Memos みたいなプラグイン Mobile First Daily Interfaceを作ったワケ - Minerva

                                        • Interface Futures

                                          Documenting potential futures via innovative user interface concepts.

                                            Interface Futures
                                          • GitHub - bluesky-social/ozone: web interface for labeling content in atproto / Bluesky

                                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                              GitHub - bluesky-social/ozone: web interface for labeling content in atproto / Bluesky
                                            • What are GPT Agents? A deep dive into the AI interface of the future

                                              Image by AuthorLast week, I tweeted and asked who were people building cool products around the idea of GPT agents and was totally blown away by the response. I was also surprised that many seemed to not grasp what agents are nor why they will end up being so popular. This post is designed to take you from “I have no idea what an Autonomous GPT agent is please stop using made up words” to being in

                                                What are GPT Agents? A deep dive into the AI interface of the future
                                              • 【Go】型が特定のinterfaceを満たしているかをコンパイル時に確認させる方法 - Qiita

                                                はじめに こんにちは、kenです。お仕事ではGoを使っています。 先日、Effective Go(Goの公式が出している慣用的なコーディングスタイルと実践を記したドキュメント)を読んでいたら興味深いことが書かれていたので今日はそれについて書こうと思います。 内容は「型が特定のinterfaceを満たしているかをコンパイル時に確認させる方法について」です。 Goのinterfaceについておさらい 本題に入る前にGoのinterfaceについてざっくり説明しておきます。interfaceについてもう知っているよという方はスキップしてください。 Go言語ではinterfaceをメソッドシグネチャの集合として定義します。 そして型がinterfaceを実装する際には、interfaceの定義に使ったメソッドを型に実装するだけでよく、「その型がどのinterfaceを実装しているか」については明示

                                                  【Go】型が特定のinterfaceを満たしているかをコンパイル時に確認させる方法 - Qiita
                                                • Active exploitation of Cisco IOS XE Software Web Management User Interface vulnerabilities

                                                  Active exploitation of Cisco IOS XE Software Web Management User Interface vulnerabilities Updates Nov. 02: Identified a third version of the BadCandy implant. Added expected response from the new version of the implant against one of the HTTP requests used to check for infected device. Nov. 1: Observed increase in exploitation attempts since the publication of the proofs-of-concept (POCs) of the

                                                    Active exploitation of Cisco IOS XE Software Web Management User Interface vulnerabilities
                                                  • GitHub - dbalsom/arduino_8088: An Arduino interface for 8088 CPUs.

                                                    This project expands on the basic idea of controlling an Intel 8088 or NEC V20 CPU via GPIO pins to clock the CPU and read and write control and data signals. This can be used to validate an emulator's accuracy, but also as a general method of exploring the operation of 8088 and V20 instructions and timings. Where it differs from Raspberry Pi based projects is that it uses an Arduino DUE to supply

                                                      GitHub - dbalsom/arduino_8088: An Arduino interface for 8088 CPUs.
                                                    • GitHub - popcar2/GodotOS: A Fake Operating System Interface made in Godot!

                                                      Welcome to GodotOS, an operating system interface created entirely in Godot! Browse folders, edit text files, view images, play games, and more in one cohesive polished interface that can even be used on the web! GodotOS is more of a toy than a serious project. It's meant to push the limits on UI design in Godot while creating a desktop that is minimalist, distraction-free, and aesthetically pleas

                                                        GitHub - popcar2/GodotOS: A Fake Operating System Interface made in Godot!
                                                      • ChatGPTを使ったプログラミングを解説——CQ出版「Interface」2023年11月号発売|fabcross

                                                        特集「ChatGPTとプログラミング」では、OpenAIが提供する対話型生成AI「ChatGPT」のコード生成やプログラミング支援機能について解説する。 第1部「押さえておきたいメカニズム」では、トークンや強化学習といった技術ワードから読み解くChatGPTのメカニズムや、大規模言語モデルのベースとなっているTransformerの動作について解説。 第2部「活用テクニック」では、プロンプトの上手な書き方や指示の定型文、コード生成やレビュー/デバッグなどに応用できる活用テクニックを紹介する。 第3部「徹底実験!ChatGPTのプログラミングの実力を確かめる」では、温度センサーとRaspberry Pi Pico、ESP32を使用してクラウドサーバーに接続し、測定値を送信するプログラムや、STM32マイコンでDCブラシレスモーターを制御するプログラムなど、ChatGPTでプログラミングした事

                                                          ChatGPTを使ったプログラミングを解説——CQ出版「Interface」2023年11月号発売|fabcross
                                                        • Apple、iOS 18でサポートされるダークと淡色アイコンのテンプレートとHuman Interface Guidelinesを公開。

                                                          AppleがiOS 18でサポートされるDarkとTintedアイコン用のテンプレートとHuman Interface Guidelinesを公開しています。詳細は以下から。 Appleは現地時間2024年06月10日に開催した世界開発者会議WWDC24の基調講演の中で、次期「iOS 18」や「iPadOS 18」を発表し、その新機能の1つとしてホーム画面のアイコンでダーク(Dark)と淡色(Tinted)にカスタマイズする機能を発表しましたが、 Appleは開発者向けに提供している「Human Interface Guidelines (HIG)」をアップデートし、このダークと淡色のアイコンをデザインする上で、システムに美しくなじませるためのヒントを追記しています。 暗いアイコンと淡色のアイコンはシステムアプリのアイコンやウィジェットと並べてもなじむようなデザインにする。デフォルトのアイ

                                                            Apple、iOS 18でサポートされるダークと淡色アイコンのテンプレートとHuman Interface Guidelinesを公開。
                                                          1