There are many categories of events including user events such as 'click' and system events such as 'DOMContentLoaded'.
タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。
JavaScriptには、特定の動作が発生した際にそれに応じてコードを実行する「イベント」という仕組みが存在しています。そのイベントがDOM内でどのように伝わるのかについて、「Explore DOM Events」というウェブアプリがイベントのオプションに応じて視覚的に表示してくれるとのことなので、実際に使って分かりやすさを確かめてみました。 Explore DOM Events https://domevents.dev/ ページにアクセスすると、「親(PARENT)」「子(CHILD)」「孫(GRANDCHILD)」というDOMの親子関係が表示されており、そのうち1つめの孫(オレンジ)がイベントのターゲットに設定されていることが分かります。このまま「Dispatch」をクリックしてみると…… イベントが伝わっていく様子がアニメーションで表示されました。まだ何もイベントリスナーを追加して
単方向通信であるということと、HTTP/1.1上で動作しているのが大きな特徴です。 また、HTTP上で動作することから、通信の互換性が高く、セキュリティモデルも使いまわせるので安心です。 どんな用途と相性がいいの? 双方向通信がしたいわけでなければ、相性の幅がとても広いです。 今回の ChatGPT のような、GPT がトークンを生成するごとに送るケースはもちろん、通知の未読件数バッジの更新、ニュース速報の表示など、サーバからイベントを送りたい時ならなんでも使えます。 HTTP/1.1で動くカラクリ SSEはHTTPのレスポンスヘッダにContent-Type: text/event-streamを指定した上で動作します。 SSEが動く流れ クライアントがサーバーに HTTP/1.1 リクエストを送信し、イベントストリームに接続します。 サーバーは、Keep-Alive 接続を使用して、T
For modern real-time web applications, the ability to send events from the server to the client is indispensable. This necessity has led to the development of several methods over the years, each with its own set of advantages and drawbacks. Initially, long-polling was the only option available. It was then succeeded by WebSockets, which offered a more robust solution for bidirectional communicati
[アップデート] 全 AWS サービスが送信するイベント一式を確認できる EventBridge ドキュメント「AWS Events Reference」が登場したので確認してみた いわさです。 今朝、Amazon EventBridge に関する以下のアップデートがアナウンスされていました。 その中で「AWS Events Reference」という、全 AWS サービスがサポートするイベント一式を網羅するドキュメントが新しくリリースされていることが確認できました。 これは結構嬉しいかもしれない。 また、アナウンスのメインはこちらのようなのですが、コンソール上で利用可能なすべてのイベントソースと詳細タイプが選択できるようになったみたいです。 後者については少しわかりにくいアップデートですが、上記 2 点について確認してみたので紹介します。 AWS Events Reference ドキュ
This virtual event starter kit was used to run Next.js Conf 2020, which had almost 40,000 live attendees. It includes the following features: Multiple stages - with the ability to add multiple sessions on each stage Each stage can be configured as - An embedded YouTube stream OR A live interactive audio-video experience powered by 100ms Sponsor expo, including individual virtual booths Career Fair
小西秀和です。 「歴史・年表でみるAWS全サービス一覧 -アナウンス日、General Availability(GA)、AWSサービス概要のまとめ-」から始まったAWSサービスを歴史・年表から機能を洗い出してまとめるシリーズの第5弾です(過去、Amazon S3、AWS Systems Manager、Amazon Route 53について書きました)。 今回はAWSサービスのイベント検知、条件に応じた他のAWSサービスへのイベント連携、イベントの生成などをするAmazon EventBridge(旧Amazon CloudWatch Events)について歴史年表を作成してみました。 今回もAmazon EventBridgeの誕生から機能追加やアップデートを追いながら主要機能を現在のAmazon EventBridgeの機能一覧と概要としてまとめています。 これらが、各AWSサービス
Server-Sent Events (SSE) 目新しい技術というわけではありませんが、最近 Server-Sent Events (SSE) について言及する記事をよく見かけます。 何番煎じかはわかりませんが、個人的に興味があることと、正直触ってみたことがなかったので、コードを書きつつ調べてみました。 ※本記事で登場するサンプルコードは次のリポジトリで公開しています。 SSE とは SSE 自体を解説する記事は無数に存在するため詳細な説明は割愛しますが、簡単に言うと、サーバーからクライアントへ一方向の Push 通信を行うための仕組みです。 MDN にもページが存在するため、参考になります。 独自プロトコルを必要とせず、HTTP/1.1 でも動作するのも特徴です。 SSE の歴史 wikipedia に SSE に関するページが存在し、次のような記述があります。 SSE メカニズムは、
Hi, I’m Mark Nottingham. I usually write here about the Web, protocol design, HTTP, and Internet governance. Find out more. Comments? Let's talk on Mastodon. @mnot@techpolicy.social other HTTP posts Yet More New HTTP Specs Wednesday, 8 June 2022 A New Definition of HTTP Monday, 6 June 2022 How Multiplexing Changes Your HTTP APIs Sunday, 13 October 2019 Designing Headers for HTTP Compression Tuesda
SlackのEvents API(Event Subscription)で盛大にドハマりしてしまったので、Events APIの再送の仕様をまとめて、本来のベストプラクティスに沿った実装と妥当な落とし所をご紹介します。 どうも、もこ@札幌オフィスです。 最近Slackを利用したBotの開発をする機会がありまして、SlackのEvents API(Event Subscription)で盛大にドハマりしてしまったので、Events APIの再送の仕様をまとめて、本来のベストプラクティスに沿った実装と妥当な落とし所をご紹介します。 Slack Events APIとは? 従来のポーリング型のAPIとは違い、あらかじめ受信するURLとイベント(メッセージの送信、リアクションの追加など)を指定してあげる事で、ワークスペース上でイベントが発生した際にSlackがWebHookしてくれる物となります。
Zoomが2021年5月19日に、ライブイベント開催用の有料サービス「OnZoom」を拡張し、複数日にわたる大規模イベントなどがより簡単に行えるようにした新しいサービス「Zoom Events」を発表しました。中小企業から大企業まで幅広いニーズを視野に入れたこのサービスは、2021年夏にローンチする予定とされています。 Zoom Events - Coming Soon | Zoom https://zoom.us/docs/en-us/zoom-events.html Coming Soon: The Zoom Events Platform for Virtual Experiences - Zoom Blog https://blog.zoom.us/coming-soon-zoom-events-virtual-experiences/ Zoom Events will try t
開発本部 認証連携チームでエンジニアをしている、id:ruru8net です。 これはClassi developers Advent Calendar 2021の9日目の記事です。 昨日の記事はこちらです。 Hardening 2021 Active Fault 参加レポート - 桐生あんずです 以前のClassi Advent Calender 2019では新卒が入社半年で社内サービスをリリースしてエンジニア楽しいってなったお話を書かせていただきましたが、あれから2年の間に業務の中で様々な経験をし、さらに知識やスキルを身につけていくことができました。 今日はその中でも自分が担当しているサービスの、バッチ監視の仕組みを考えたので紹介させてください。 背景 担当チームでは毎日深夜2時にDBからデータを削除するバッチを動かしています。 他にも社内では様々なバッチが動いていますが、これらを監視
Microsoft Virtual Training Days は、各ソリューションを最大限にご活用いただくための無料オンライン トレーニングです。さまざまな技術トピックをご紹介し、皆様からのご質問にマイクロソフトのエキスパートがリアルタイムでお答えします。また、各種Microsoft認定資格受験へ向けての学習コンテンツとしてもご活用いただけます。
MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARCH 7–15 MARC
Amazon EventBridge now supports integrations with GitHub, Stripe, and Twilio via webhooks using Quicks Starts. You can subscribe to events from these SaaS applications and receive them on an Amazon EventBridge event bus for further processing. With Quick Starts, you can use AWS CloudFormation templates to create HTTP endpoints for your event bus that are configured with security best practices for
この記事は AI/ML on AWS Advent Calendar 2022 12/23、および、アクロクエスト アドベントカレンダー 12/23 の記事です。 qiita.com こんにちは、Acroquest データサイエンスチーム YAMALEX メンバーの駿です。 早いもので2022年もあと一週間と少しになってしまいました。 皆さんは年を越す準備は万端でしょうか? 私が住む社員寮では慌てて年越しそばを買ったり、餅を買ったり、ぎりぎりになってバタバタしています。 さて、今回は 2022年4月に発表された Amazon Rekognition の Streaming Video Events を使って、リアルタイムの人検知を試してみました。 エッジデバイスには Raspberry Pi を使いました。 検出結果の例 1. はじめに (1) Amazon Rekognition とは
はじめに この記事の内容の多くは、Andrew Betts が書いた Fastly のブログ Server-sent events with Fastly に基づいています。 Server-Sent Events とは? [MDN] Server-Sent Events の利用 Server-Sent Events (以降 SSE と呼ぶ) は、いわゆる "リアルタイム" イベントを サーバ -> クライアント に向けてプッシュできる技術です。 リアルタイムイベントというと、Websockets をまず頭に浮かべる人が多いかと思います。確かに Websockets は SSE に比べてより柔軟で強力な機能を持っていますが、実装の複雑さは SSE とは対象的に非常に高コストになりがちです。また大きな違いとして、Websockets では サーバ <-> クライアント_ 間での双方向のリアルタ
THE SCIENCE OF SUPERSPREADING Why preventing hot spots of transmission is key to stopping the COVID-19 pandemic By Martin Enserink, Kai Kupferschmidt, and Nirja Desai 30 October 2020 In late February, drug company Biogen held its annual conference in Boston. The United States had fewer than 20 known COVID-19 cases at the time. But one of the roughly 200 attendees must have carried the virus. It tr
libxev is a cross-platform event loop. libxev provides a unified event loop abstraction for non-blocking IO, timers, signals, events, and more that works on macOS, Windows, Linux, and WebAssembly (browser and WASI). It is written in Zig but exports a C-compatible API (which further makes it compatible with any language out there that can communicate with C APIs). Project Status: 🐲 Unstable, alpha
AWS News Blog Celebrate 15 Years of Amazon S3 with ‘Pi Week’ Livestream Events I wrote the blog post that announced Amazon Simple Storage Service (Amazon S3) fifteen years ago today. In that post, I made it clear that the service was accessed via APIs and that it was targeted at developers, outlined a few key features, and shared pricing information. Developers found that post, started to write co
To help fellow engineers wrap their head around Apache Kafka and event streaming, I wrote a 4-part series on the Confluent blog on Kafka’s core fundamentals. In the series, we explore Kafka’s storage and processing layers and how they interrelate, featuring Kafka Streams and ksqlDB. In the first part, I begin with an overview of events, streams, tables, and the stream-table duality to set the stag
LambdaとCloudWatch Eventsで好きなRSSの最新情報をSlackに通知する仕組みをサクッと作ってみました こんにちは、大前です。 Lambda で RSS リーダー的な物を作ってみましたので、ブログを書いていきます。 ちなみに、Slack には RSS リーダーのアプリケーションがあるので、自己満足的な要素が大きいです。。 RSS を Lambda で取得して、AWS 側で何か処理をさせたい時の参考などにして頂ければ幸いです。 Slack に RSS フィードを追加する 構成 大まかな処理の流れは以下です。 CloudWatch Events で Lambda 関数を 1時間毎に実行 Lambda から RSS フィードを取得 1時間以内に更新があれば Slack に通知 今回は、厚生労働省が提供している RSS を取得してみる事にしてみます。 厚生労働省 - RSSに
BikeBoston: Local bike news, events, and discussion 2025.01.09 23:03 Non-Stop_Serina ACC Government still open tomorrow despite winter weather warning ❄️ My first year of university I was sexually assaulted and that impacted me a lot. I had a really tough relationship with my parents and felt like I was burdening my friends so I kept it in so much that I got stressed to the point where I burned ou
Developers can now share test events with other developers in their AWS account. Test events provide developers the ability to define a sample event in the Lambda console, and then invoke a Lambda function using that event to test their code. Previously, test event were only available to the developers who created them. With this launch, developers can make test events available to other team memb
AWS News Blog New – Archive and Replay Events with Amazon EventBridge Event-driven architectures use events to share information between the components of one or more applications. Events tell us that “something has happened,” maybe you received an API request, a file has been uploaded to a storage platform, or a database record has been updated. Business events describe something related to your
Hono で Server-Sent Events によるストリーミングを実装する 2024.02.01 Server-Sent events(SSE)は、サーバーからクライアントに向けてイベントをストリーミングするための仕組みです。WebSocket と比較すると、サーバーからの単方向の通信、HTTP で通信するという特徴があります。この記事では Hono を使って OpenAI API を使ったテキスト生成をストリーミングする方法を紹介します。 Server-Sent Events(SSE) は、サーバーからクライアントに向けてイベントをストリーミングするための仕組みです。WebSocket と比較すると、サーバーからの単方向の通信になるという特徴があります。また HTTP で通信するため、WebSocket のように独自のプロトコルではないため、運用の負担が少ないというメリットがあり
In Japan, there are 16 annual national holidays and other annual events which are widely celebrated. Each of them has its own special meaning, origin and customs. Many people have the day off on the national holidays and spend the holiday going out with their family, joining special events, or just relaxing at home. Learning about national holidays and the annual events in Japan helps you to under
AWS Security Blog How AWS protects customers from DDoS events At Amazon Web Services (AWS), security is our top priority. Security is deeply embedded into our culture, processes, and systems; it permeates everything we do. What does this mean for you? We believe customers can benefit from learning more about what AWS is doing to prevent and mitigate customer-impacting security events. Since late A
Open Source Summit Japan is the leading conference in Japan connecting the open source ecosystem under one roof, providing a forum for technologists and open source industry leaders to collaborate and share information, learn about the latest in open source technologies and find out how to gain a competitive advantage by using innovative open solutions. Open Source Summit Japanは、日本で開催される大規模なカンファレン
困っていたこと 「日本時間(JST)の毎月末の午前5:00に処理を実行する」というCloudWatchのEventsルールをCron式で設定することは可能でしょうか? 月末という指定があるため、CloudWatch Eventsルールのワイルドカードを使用して設定しようと考えておりますが、UTC時刻が基準のため月末を指定したときに午前5:00を指定できない認識です。 月末の0時から9時は月末を指定するワイルドカード(L)を使用する必要がありますが、それではUTCの時刻の月末となってしまいます。 そのため、JSTとの時差を考慮してUTCである9時間前を指定しようとすると、月末1日前という指定になってしまうため、月末のワイルドカードが使用できません。 どう対応すればいいの? 今回の場合、「日本時間(JST)の毎月末の午前5:00に処理を実行する」必要があるため、月末1日前の20時に発火するCl
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く