並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 23 件 / 23件

新着順 人気順

expectの検索結果1 - 23 件 / 23件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

expectに関するエントリは23件あります。 TypeScripttestツール などが関連タグです。 人気エントリには 『Zulipはいいぞ - Empowered by expect』などがあります。
  • Zulipはいいぞ - Empowered by expect

    tl;dr Slackとここが違って良いです ・スレッドに名前を付けて個別に選択できる ・"すべてのメッセージ"画面でひとつのTLとして読める チャット系ツールとしてZulipを長いこと使っています。「Zulipはいいぞ」と一言つぶやいてばかりなのも生産的ではないので一度まとめておきます。 概要 Zulipはひとことで言うとSlack競合のチャットツールです。 github.com zulip.com オープンソースでGitHub上に公開されていてセルフホストが可能です。またSaaSサービスも提供されています。 元々はステルス段階のスタートアップだったのををDropboxが買収し、オープンソース公開したりスピンオフで再分離したりを経て現在はKandra Labsを中心に開発とサービスが行われています。 お気に入りのツールなのであらためてご紹介いたします。 昔話 私は2016年にそれまで使っ

      Zulipはいいぞ - Empowered by expect
    • TypeScript Compiler API を使って ts-expect-error を一括挿入する - ドワンゴ教育サービス開発者ブログ

      こんにちは。N 予備校 Webフロントエンド開発チームの中村です。 TypeScriptを使用しているプロジェクトでコンパイラの設定を変更したら既存のソースコードがコンパイルに通らなくなった……という経験はないでしょうか。 先日あるリポジトリでnoUncheckedIndexedAccessというコンパイラオプション(TypeScript4.1以降で使用可能)を有効化した1ところ、既存ソースコードの200箇所以上がコンパイルエラーになりました。これを全て手作業で直すのは大変ですし、その間にも直さないといけないコードは増えていくかもしれません。 そこでTypeScriptのCompiler APIを使用し、コンパイラから得られるコンパイル時のエラー情報を利用して@ts-expect-error2を挿入するスクリプトを作成しました。その過程と結果を書きましたので、次のような方々の参考になれば幸

        TypeScript Compiler API を使って ts-expect-error を一括挿入する - ドワンゴ教育サービス開発者ブログ
      • @ts-expect-errorを自動追加!suppress-ts-errorsの紹介

        TypeScript の型チェックを厳格化したいが既存の型エラーが多すぎて、やむなく緩い型チェックにしている方へ改善の助けになりそうなツールを作ったので紹介です。 🔧 作ったもの プロジェクトのコードベースを走査して、型エラーがあるコードすべてに@ts-expect-error or @ts-ignoreのコメントを追加する suppress-ts-errors という CLI ツールを作りました。 以下の GIF のように npx 経由で簡単に利用できます。 さらに、ts、tsx だけでなくVue SFC のスクリプト部分へのコメント追加にも対応しています。 コードはこちらです。⭐ を貰えると泣いて喜びます。 なぜ作った? 現職のプロジェクトにて型チェックを厳格化できていない(strict: trueにできていない)という状況を改善したいと思ったからです。 型チェックのルールを修正する

          @ts-expect-errorを自動追加!suppress-ts-errorsの紹介
        • Rails 8: strong parametersの新しいparams.expectの使い方(翻訳)|TechRacho by BPS株式会社

          概要 原著者の許諾を得て翻訳・公開いたします。 英語記事: How to: Rails params.expect - Martin Emde 原文公開日: 2024/10/22 原著者: Martin Emde -- RubyGems.orgとbundlerのメンテナーです。 日本語タイトルは内容に即したものにしました。 参考: 4.6 Strong Parameters -- Action Controller の概要 - Railsガイド 参考: Rails 8.0 API expect -- ActionController::Parameters -- APIドキュメントでも、従来のpermitとrequireよりexpectが望ましいと書かれています。 参考: 8.0 Changelogのexpect -- ここにも詳しく書かれています。 以下の記事もどうぞ。 Rails 8:

            Rails 8: strong parametersの新しいparams.expectの使い方(翻訳)|TechRacho by BPS株式会社
          • Crystal 1.0 - What to expect

            Ary Borenzweig Brian J. Cardiff Juan Wajnerman +450 more The release of the first major release of Crystal arrives after many years of hard work. With thousands of contributions from people worldwide, it was finally possible to find consensus for what truly mattered for 1.0 and what could wait for future releases. Getting here wasn’t an easy journey, filled with enriching, controversial, delightfu

              Crystal 1.0 - What to expect
            • Emacs 29 is nigh! What can we expect?

              Some random rambling by a linguistics nerd about Emacs, Linux, and conlanging It was announced a couple of hours ago, Emacs 29’s branch is now cut from the master branch! This means the emacs-29 branch will from now no longer receive any new feature, but only bug fixes. So, what’s new with this new major release? I skimmed over the NEWS file, and here are the changes which I find interesting and e

              • Elon Musk told Twitter staff to expect 80-hour work weeks and fewer office perks, report says

                Twitter's new owner earlier rolled back the company's work-from-home policy in an email sent to staff at 2:39 a.m. Musk said: "Everyone is required to be in the office for a minimum of 40 hours per week" unless they were "physically unable" to travel to an office. Musk's "minimum" requirement could more than double given his latest statement. While working on the controversial new $8 verification

                  Elon Musk told Twitter staff to expect 80-hour work weeks and fewer office perks, report says
                • Jestのexpect(matcher)を完全に理解する

                  本記事は estie Advent Calendar 2021 9日目の記事です。 概要 なんとなくJestを使ってしまっている人が 基本的なexpectメソッドを「完全に理解」し よいテストコードを書けるようになる ことを目的とし、公式ドキュメントを基にした整理・解説をおこないます。 記事の構成については目次をご覧下さい。それではいってみよう! 等価判定メソッドの基礎 まず最初に、Jestの最も基本的な等価判定メソッドである toBe, toEqual, toStrictEqualの仕様を理解し、適切に使い分けましょう。 他の高機能なマッチャの仕様のベースになっているので、これさえわかれば当分困りません。 結論から言うと、以下のような使い分けが妥当と考えています。 - toBe - プリミティブ値の比較 - オブジェクトの参照先の比較 - toEqual - オブジェクトの値の比較 -

                    Jestのexpect(matcher)を完全に理解する
                  • Memcached vs Redis - More Different Than You Would Expect | Insights from the Kablamo Team.

                    Table of Contents Important Note Everything that follows should be only considered accurate at time of publishing. Both projects are not considered finished, and so changes that follow publication could invalidate some or all of the information below. Redis vs Memcached Redis vs Memcached. Another entry to the list of software holy wars with Emacs vs. Vi, Tabs vs. Spaces, IDE vs. Editor. I have he

                    • Erdogan tells Sweden not to expect Nato bid support

                      President Recep Tayyip Erdogan of Turkey, which has not yet approved Sweden's bid to join Nato Sweden should not expect Turkey to back its Nato membership bid, Turkish president Tayyip Erdogan said on Monday, days after a copy of the Quran was burned in a Stockholm protest. Sweden applied to join Nato after Russia invaded Ukraine - but needs Turkey, already a member, to approve.

                        Erdogan tells Sweden not to expect Nato bid support
                      • Vitest 4の新機能 expect.schemaMatching とHonoとZodでスキーマ駆動でテストをやる

                        はじめに こんにちは、株式会社アサインでエンジニアをしているうちほり(@showichiro0123)です。 2025年10月22日にリリースされたVitest 4には、テスト駆動開発やスキーマ駆動開発を加速させる新機能が多数追加されました。中でも私の目を引いたのは、Zodなどのスキーマライブラリと統合できるexpect.schemaMatchingです。 本記事では、Vitest 4の新機能を概観しつつ、expect.schemaMatchingを使ったスキーマ駆動テストの実践方法を、Honoを使ったWeb APIの開発例を交えて紹介します。 Vitest 4の主要な新機能 まず、Vitest 4で追加された主要な新機能を見ていきましょう。 1. Browser Modeの正式版化 これまで実験的機能だったBrowser Modeが正式版になりました。Playwright、Webdriv

                          Vitest 4の新機能 expect.schemaMatching とHonoとZodでスキーマ駆動でテストをやる
                        • Why Rust should only have provided `expect` for turning errors into panics, and not also provided `unwrap`

                          UPDATE 2: I have made the title longer because people seem to be insisting on misunderstanding me, giving examples where the only reasonable thing to do is to escalate an Err into a panic. Indeed, such situations exist. I am not advocating for panic-free code. I am advocating that expect should be used for those functions, and if a function is particularly prone to being called like that (e.g. Mut

                          • GitHub - sismics/docs: Lightweight document management system packed with all the features you can expect from big expensive solutions

                            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 - sismics/docs: Lightweight document management system packed with all the features you can expect from big expensive solutions
                            • SSVCのDecision Tableを雑に実装してみる~DecisionRules.io編~ - Empowered by expect

                              概要 タイトルの通りです。インポート用のExcelファイルを置いておきます。 https://github.com/w4yh/SSVC-decision-tree ファイル: SSVC_Handling_SupplierTable_0.0.2.xlsx 概要 経緯 DecisionRules概要 Excelからのインポートでテーブルを作成する 実行 振り返り エクスカーション DecisionRules良かったです テーブルが力業 decisionのカタカナ表記 経緯 TwitterでSSVCのことを知りました。 📝CVSSにとって代わるかもしれない 脆弱性の管理方法 SSVC のすばらしいまとめ。CISAもSSVC推しだしhttps://t.co/VdVt6SrOKI— Yurika (@EurekaBerry) 2022年8月10日 元となるブログ記事やその引用記事などを読んで、これ

                                SSVCのDecision Tableを雑に実装してみる~DecisionRules.io編~ - Empowered by expect
                              • Linux x86 32-bit Is Vulnerable To Retbleed But Don't Expect It To Get Fixed - Phoronix

                                Linux x86 32-bit Is Vulnerable To Retbleed But Don't Expect It To Get Fixed Written by Michael Larabel in Linux Security on 24 July 2022 at 12:00 AM EDT. 24 Comments While relevant Intel and AMD processors have been mitigated for the recent Retbleed security vulnerability affecting older generations of processors, those mitigations currently just work for x86_64 kernels and will not work if runnin

                                  Linux x86 32-bit Is Vulnerable To Retbleed But Don't Expect It To Get Fixed - Phoronix
                                • Rails 8: strong parametersにexpectと二重配列構文が追加された|TechRacho by BPS株式会社

                                  こんにちは、hachi8833です。Rails 8で追加されたStrong Parametersのexpectと二重配列構文について自分でもまとめてみました。 🔗 概要 Rails 8では、以下のプルリクでParameters#expectメソッドが新しく追加されました。 PR: Add Parameters#expect to safely filter and require params by martinemde · Pull Request #51674 · rails/rails これにより、従来はActionController::Parametersのrequireとpermitの2本立てで記述していたstrong parametersを、expectでまとめて書けるようになります。 # 従来 params.require(:user).permit(:name, :ag

                                    Rails 8: strong parametersにexpectと二重配列構文が追加された|TechRacho by BPS株式会社
                                  • GitHub - pashak09/ts-expect-error-validator: Command-line tool to validate expected TypeScript errors

                                    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 - pashak09/ts-expect-error-validator: Command-line tool to validate expected TypeScript errors
                                    • GitHub - cashapp/licensee: Gradle plugin which validates the licenses of your dependency graph match what you expect

                                      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 - cashapp/licensee: Gradle plugin which validates the licenses of your dependency graph match what you expect
                                      • GitHub - kawamataryo/suppress-ts-errors: CLI tool to add @ts-expect-errors to typescript type errors

                                        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 - kawamataryo/suppress-ts-errors: CLI tool to add @ts-expect-errors to typescript type errors
                                        • Allow arbitrary URLs, expect arbitrary code execution | Positive Security

                                          Allow arbitrary URLs, expect arbitrary code execution -- MARKDOWN -- - We found and reported 1-click code execution vulnerabilities in popular software including **Telegram**, **Nextcloud**, **VLC**, **Libre-/OpenOffice**, **Bitcoin/Dogecoin Wallets**, **Wireshark** and **Mumble** - Desktop applications which pass user supplied URLs to be opened by the operating system are frequently vulnerable to

                                            Allow arbitrary URLs, expect arbitrary code execution | Positive Security
                                          • 8 Features and Changes to Expect in iOS 16

                                            Every year, Apple releases shiny new updates for its entire product range. macOS, iOS, iPadOS, watchOS, tvOS, HomePods, AirTags, and more all get brand-new software. And 2022 is no different. We're expecting new updates to all.Since the iPhone is Apple's most popular product, perhaps the most anticipated new update of 2022 is iOS 16 (and its iPadOS counterpart). Here, we'll take a look at eight fe

                                              8 Features and Changes to Expect in iOS 16
                                            • GitHub - mmkal/expect-type: Compile-time tests for types. Useful to make sure types don't regress into being overly-permissive as changes go in over time.

                                              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 - mmkal/expect-type: Compile-time tests for types. Useful to make sure types don't regress into being overly-permissive as changes go in over time.
                                              • 「予想する」を使い分ける②~expect, anticipate, predict~ | Be Global Leaders!

                                                ※「ニュアンスの違いを知ってより細かに思いを伝えよう」「大きな違いがないことを知って怖がることなくどんどん言葉を使おう」をコンセプトにしています。正しく正確な言葉の遣い方だけを推進するものではありません。 expect は「結果を待つだけのものに対して予想する」 think or believe something will happen, or someone will arrive Cambridge Dictionary “expect” は「予想する、期待する」と訳され、ポジティブ・ネガティブ両方の文脈で使われます。特徴として、結果を待つだけのもの・結果に対して何もできないものに対して使用される傾向があります。 例文 He expected to pass the test because he studied very hard. (彼はとても一生懸命に勉強をしたので、試験に通る

                                                  「予想する」を使い分ける②~expect, anticipate, predict~ | Be Global Leaders!
                                                1

                                                新着記事