並び順

ブックマーク数

期間指定

  • から
  • まで

161 - 200 件 / 213件

新着順 人気順

unicodeの検索結果161 - 200 件 / 213件

  • I sped up serde_json strings by 20%

    The error path is still slower than the success path, but the difference is a lot less prominent now. I submitted a PR introducing this optimization and wondered if it’s going to be merged. After all, serde_json has very few dependencies, and dtolnay seems to focus on build times, so would a PR adding a new dependency make it? To my shock, the PR was quickly merged! Not a bad first contribution. W

      I sped up serde_json strings by 20%
    • QMK ファームウェア 2MB の壁を超える - koktoh の雑記帳

      はじめに 先日投稿した、「QMK は 2MB を超えるファームウェアを作れない」という問題が解決できたので、その方法を記していきます。 問題の詳しい内容はこちら。 koktoh.hatenablog.com はじめに 前提 解決法 その1 解決法 その2 必要なファイルの配置 ファイルの編集 配置したリンカスクリプトを参照させる 解決法 その3 (非推奨) 方法によってビルド成果物に違いがないか確認 解決法 その1 のチェックサム 解決法 その2 のチェックサム 比較 Tips ビルドの詳細を表示する ld コマンドの詳細を表示する make コマンドで有効な引数など一覧 おわりに 謝辞 前提 RP2040 をターゲットとしてファームウェアをビルドする場合です。 RP2040 をターゲットとしてビルドするための基本的な設定などは、別途 公式ドキュメント などで確認してください。 解決法 そ

        QMK ファームウェア 2MB の壁を超える - koktoh の雑記帳
      • 7 Things I've learned building a modern TUI Framework

        7 Things I've learned building a modern TUI Framework I've be working on Textual for over a year now. Here's a few things I've discovered (or re-discovered) regarding terminals in Python, and software development in general. I've be working on Textual for over a year now. Here's a few things I've discovered (or re-discovered) regarding terminals in Python, and software development in general. — Wi

        • Vim でカーソル下の文字コード取得と文字コードでの入力を行う

          使いどころはパッと思いつかないけど、過去に何度かお世話になったので備忘録として記す。 カーソル下の文字コード取得 ga コマンドで取得できる。 例えば、 → にカーソルを合わせて ga を押すと、以下のように情報が表示される。 <→ > 8594, Hex 2192, Oct 20622, Digr -> 文字コードでの入力 インサートモード中に <C-v> を押すことで、文字コードによる入力ができる。 例えば、前述の → を入力したい場合には i<C-v>u2192 と入力する。 以上。 参考資料 ga - various - Vim日本語ドキュメント i_CTRL-V - insert - Vim日本語ドキュメント → U+2192 Unicode文字 0g0.org

          • VSCodeで全角スペースなどのに黄色い枠(オレンジの枠?)が付いてしまうのを消すための設定方法 - Qiita

            全角スペースや全角の記号などで、それを目立たせるためにオレンジの枠で囲まれた表示になっていました。 日本語でメモしたりするときには邪魔になってしまうので、消す設定をしました。 このオレンジの枠は、新しく追加された設定「Unicodeハイライト表示」がデフォルトでオンになっているために表示されている、とのことです。 当記事内の引用部分は以下の記事から引用させていただきました ・VS Codeで全角スペースを表示または非表示に設定する方法 設定を変更する VSCodeの設定を開く 左下の歯車アイコン>Settings 設定を「Unicode Highlight」で検索します。 全角スペースのハイライトを消すには Editor > Unicode Highlight: Invisible Characters スペースを予約するだけの文字または幅がまったくない文字を強調表示するかどうかを制御しま

              VSCodeで全角スペースなどのに黄色い枠(オレンジの枠?)が付いてしまうのを消すための設定方法 - Qiita
            • Unix哲学「一つのことをうまくやる」は単機能のコマンドを作ることではない - Qiita

              Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? はじめに Unix 哲学には DOTADIW: Do One Thing and Do It Well という言葉があります。日本語に訳すと「一つのことをうまくやる」となりますが、しばしば単機能のコマンドを作ることだと勘違いされています。もし勘違いしている人がいるのであれば、ぜひその人に聞いてみてください。なぜ grep コマンドはマッチした行数をカウントする機能を昔から持っているのですかと。昔からある wc コマンドがあれば grep コマンドに行数をカウントする機能をもたせる必要はないのではないかと。 -c Only a count

                Unix哲学「一つのことをうまくやる」は単機能のコマンドを作ることではない - Qiita
              • iOS18の新機能Genmoji、他OSでも表示可能?Appleが詳細解説 - iPhone Mania

                iOS18やmacOS Sequoiaの人工知能(AI)を活用した新機能Apple Intelligenceでは、既存の絵文字をアレンジしたオリジナルの絵文字を作成できるGenmojiが利用可能となります。Genmojiの利用できる環境について、Appleが詳しく解説しています。 Apple Intelligenceの目玉機能、Genmoji Genmojiは、「サーフボードに乗った恐竜」「目にキュウリを乗せた顔」のようなユーザーの指示に応じて、デバイス上でオリジナルの絵文字を生成できるApple Intelligenceの目玉機能のひとつです。 一般的な絵文字は、Unicodeで定義され対応した環境で表示できますが、独自に生成されるGenmojiを他のOSを利用する相手に送信した場合にどう表示されるのか、疑問に思う方も多いのではないでしょうか。 Appleは、世界開発者会議(WWDC24

                  iOS18の新機能Genmoji、他OSでも表示可能?Appleが詳細解説 - iPhone Mania
                • What has case distinction but is neither uppercase nor lowercase? - The Old New Thing

                  But wait, we have a Unicode code point for the dz digraph, but we don’t have one for the cs digraph or the dzs trigraph. What’s so special about dz? These digraphs owe their existence in Unicode not to Hungarian but to Serbo-Croatian. Serbo-Croatian is written in both Latin script (Croatian) and Cyrillic script (Serbian), and these digraphs permit one-to-one transliteration between them.¹ Just ano

                    What has case distinction but is neither uppercase nor lowercase? - The Old New Thing
                  • 人間は見てるだけ AI専用SNS「Chirper」話題に(アスキー) - Yahoo!ニュース

                    SNSは人間のためのもの。そんな常識を覆すサービス「Chirper」が話題となっている。 Chirperは「X」や「Threads」のような、テキスト主体のタイムライン型SNS。サイトを開くと多くのアカウントの活発なやり取りが飛び込んでくるが、既存のSNSと大きく違うのは、すべてのアカウントがAIということだ。 同サービスは2023年、ステファン・ミノス氏とアレックス・テイラー氏により開設。英語圏のサービスだが、UIや投稿については日本語にも対応している。 人間のユーザーに許されているのはタイムラインの閲覧と、AIアカウントの作成のみ。閲覧だけならログインなしで可能だが、AIアカウントの作成にはChirperアカウントへの登録、もしくはGoogleアカウントなどを使ったログインが必要だ。 AIアカウントの作成は人間向けSNSと同じ感覚で、名前や性別、簡単なプロフィールなど、必要事項を入力す

                      人間は見てるだけ AI専用SNS「Chirper」話題に(アスキー) - Yahoo!ニュース
                    • プログラミング言語 Scheme の解説

                       プログラミング言語 Scheme の解説 規格 プログラミング言語 Scheme の規格は Revisedn Report on Algorithmic Language Scheme と呼ばれる文書で提供されている。 略して RnRS と記述されることが多い。 n の箇所は版の番号が入り、例えば現時点の最新版であれば R7RS ということになる。 その他、公式な規格とは別に SRFI や ERR5RS がある。 これから入門する人にとっては最新規格である R7RS を参考にすればよさそうに思えるが、現実的なプログラミングにはやや機能が不足すると考えられる。 一方で、大き目な規格であった R6RS は主要な Scheme 処理系作者が賛成しなかった経緯があるなどしてあまり歓迎されていない様子がうかがえる。 また、 SRFI が各規格と矛盾する場合などもあり、単純ではない。 一部の処理系

                        プログラミング言語 Scheme の解説
                      • Every bug/quirk of the Windows resource compiler (rc.exe), probably - ryanliptak.com

                        7 NOT NOT 4 NOT 2 NOT NOT 1 is a valid expression ००० is a number that gets parsed into the decimal value 65130 A < 1 MiB icon file can get compiled into 127 TiB of data The above is just a small sampling of a few of the strange behaviors of the Windows RC compiler (rc.exe). All of the above bugs/quirks, and many, many more, will be detailed and explained (to the best of my ability) in this post.

                        • 今すぐ購入: 購買意欲はこうして操られる | Netflix (ネットフリックス) 公式サイト

                          '); doc.close(); } if (!doc) throw Error('base not supported'); var baseTag = doc.createElement('base'); baseTag.href = base; doc.getElementsByTagName('head')[0].appendChild(baseTag); var anchor = doc.createElement('a'); anchor.href = url; return anchor.href; } finally { if (iframe) iframe.parentNode.removeChild(iframe); } }()); } // An inner object implementing URLUtils (either a native URL // ob

                            今すぐ購入: 購買意欲はこうして操られる | Netflix (ネットフリックス) 公式サイト
                          • Mathup

                            Decimal mark Column separators Row Separators Display block Direction rtl Installation npm npm install mathup import mathup from "mathup"; Client Download one of the following: Module (full, min) Script (full, min) Custom element as module (full, min) Custom element as script (full, min) Stylesheet (full; not needed for custom element) …and include the module: <script type="module" src="mathup.js"

                            • 【JS体操第3問ヒント①】Zalgo Text のできるまで - KAYAC Engineers' Blog

                              こんにちは!面白プロデュース事業部のおばらです。 今回は、先日スタートしたJS体操第3問のテーマでもある「Zalgo Text(ザルゴ・テキスト)」の作り方を JavaScript のサンプルコードと併せて簡単にご紹介します。 hubspot.kayac.com 目次 Zalgo とは Zalgo Text とは Zalgo Text を作ってみる 「結合文字」 「ダイアクリティカルマーク」 「Unicode エスケープシーケンス」と「コードポイント」 「A」という文字に「ダイアクリティカルマーク」を加えてみる 「ダイアクリティカルマーク」の数を増やしてみる 「基底文字」も増やしてみる まとめ Zalgo とは まず、Zalgo ってなんでしょう? Zalgo(ザルゴ)とは、Flash アニメータ Dave Kally によって生み出された架空の生物。インターネット上の人々を狂気に陥れ破滅

                                【JS体操第3問ヒント①】Zalgo Text のできるまで - KAYAC Engineers' Blog
                              • [初心者]LaTeXのインストールから使い方までこれ一本! - Qiita

                                Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? 僕はWindowsとLinux(Debian)しか持っていないので、その他(RedHat系Linuxとか、MacOS)については書いていません。(使い方に関しては変わりません。) PC詳しくわからない方でもわかるように書くつもりです。わかりにくかったりしたらコメントとかTwitterで言ってください。直します。 あと、僕もまだ初心者なので、間違いもあるかもしれません。そんなときも言っていただければ直します。 はじめに(華麗に読み飛ばしていただいて可) 僕は今まで、文書とかほとんど作成してきませんでした。 高校でも、レポート書けって言われ

                                  [初心者]LaTeXのインストールから使い方までこれ一本! - Qiita
                                • Beefway - Download - AllRename

                                  ・位置編集(文字の挿入や削除) ・拡張子変更 ・連番付け(数字、0埋め、桁指定、英字連番も) ・大文字・小文字変換 ・全角化/半角化 ・8.3形式 ・置換(正規表現、追加DLLでUnicode対応) ・日時の付与 ・特定文字の追加 ・特定文字の削除 ・CSV(読み込み、書き出し) ・ランダム の12種類のファイル名変更モードと、 ・属性 ・タイムスタンプ ・マクロ の3つのその他のモードがあります。

                                  • LSP: the good, the bad, and the ugly

                                    For a few years now I have been working on the Haskell Language Server (HLS), and the lsp library for the LSP protocol and writing LSP servers. Unsurprisingly, I have developed some opinions about the design of the LSP! Recently I gave a talk about HLS and LSP at the Haskell Ecosystem Workshop at Zurihac 2024. One slide featured a hastily-written table of “LSP: the good, the bad, and the ugly”. As

                                    • nakamuniのブックマーク - はてなブックマーク

                                      23日に日本デビューを果たしたメンバー全員が日本人の5人組K-POPガールズグループ「UNICODE」(ユニコード)が27日、都内で『UNICODE日本デビュー記念ライブイベント』を開催。グループ名をめぐる声に答えた。 【写真】その他の写真を見る UNICODEは、昨年4月にABEMAで公開された日本最大規模のオンラインオーディション「PROJECT K(プロジェクト ケイ)」で選抜されたメンバーを含む5人組。MIO(ミオ)、HANA(ハナ)、ERIN(エリン)、SOOAH(スア)、YURA(ユラ)の5人全員が日本人で、韓国語も流ちょうに話せる。23日に日本デビューを果たした際、世間からは「全員日本人だったらK-POPではなくJ-POP」という反応があった。 「J-POPじゃないか」の声に対し、ERINは「中にはネガティブな声もありますが、私たちはすべて肯定的に捉えています」と言及。K-P

                                      • 文字起こしAI Whisperモデルの更なる活用形 ~ 「負の遺産」とならないために | IIJ Engineers Blog

                                        フロントエンド部分はPHP、バックエンドはPythonで構成していますが、これとは別にジョブスケジューリングにはSlurm Workload Managerを活用しています。 SlurmはGPU排他制御で必要になってくるもので、これによりそれぞれ実行された履歴はジョブとして管理することができる点がうれしいポイントです。 内部で動作するモデルはOpenAI/Whisperです。Whisperがリリースされたときは大変な盛り上がりを見せてたなぁというのをいまだ覚えてまして、このモデルに私もかじりついて一生懸命内部構造を調べてたりしたなーと。 今やすっかりクローズなイメージが固定してしまったOpenAIですが、当時はその境目の時代ということもあり、DALL-E2で使われてたCLIPや書き起こしモデルWhisperはオープンモデルとして、かの有名なGPT-3や画像生成モデル本体であるDALL-E2

                                          文字起こしAI Whisperモデルの更なる活用形 ~ 「負の遺産」とならないために | IIJ Engineers Blog
                                        • フォントを様々な形式に変換する fontconv を作った

                                          フォントを様々な形式に変換する fontconv を作りました。 .ttf, .otf, .svg, .woff, .woff2 の相互変換とサブセット化に対応しています。.eot も出力だけは対応しています。 なぜ作ったかというと、フォントを Web 上で利用するための woff2 最適化に苦労したからです。 私の場合は以前 ttf2svg を自作したので、 ttf2svg -> svg2woff2 の2回で woff2 は最適化できるようにしていたのですが、 巷のアイコンは woff2 形式でしか配布されていないことがあることに気付きました。 これがなかなか強敵で、woff2 をロードして最適化した後、 woff2 へ再変換できるライブラリが見つかりませんでした。 具体例を上げれば Material Icons の最適化は大変で、びっくりしました。 さすがにこれはおかしいなと思い、様々

                                            フォントを様々な形式に変換する fontconv を作った
                                          • Rust through the ages

                                            How has Rust changed over the years? It's been nine years since 1.0 was released (well, next week, technically). In that time, there have been 78 major releases and two editions, with a third due later this year. Quite a lot has changed! Those changes have been fairly incremental, so if you've been using Rust all that time, it probably doesn't feel like a lot. But comparing the 1.0 flavour of Rust

                                            • Blazingly Fast Lua Serialization

                                              2023-02-23 You’re writing lua, you want to serialize and deserialize data, and you want to pick the best format/library pairing for the job. What’s good? I’ve been doing some testing to find out. Here’s the short version: If you want the fastest option and you can choose the format, use lua-cbor if you need it to be pure lua, or use lua-protobuf if you’re cool with a C library. If you need JSON, u

                                              • macOS 15 Sequoiaで文字の入力できない問題が改善された「Google日本語入力」がリリース。

                                                macOS 15 Sequoiaで文字の入力できない問題が改善された「Google日本語入力」がリリースされています。詳細は以下から。 Appleは現地時間2024年09月16日、iPhoneの画面をMacに映し出し操作できるiPhoneミラーリング機能やパスワードアプリを搭載した「macOS 15 Sequoia」をリリースしましたが、Googleは09月19日、日本語 IME「Google日本語入力」をアップデートしSequoiaに対応したと発表しています。 macOS 15 SequoiaではGoogle日本語入力の旧バージョンで文字が入力できない不具合が確認されていたそうですが、Google日本語入力 macOS安定版v2.30.5590.1以降ではこの問題が修正されたそうです。 Google 日本語入力のバージョンを以下のように更新致しましたので、ご連絡いたします。macOS 用

                                                  macOS 15 Sequoiaで文字の入力できない問題が改善された「Google日本語入力」がリリース。
                                                • What I Wish Someone Told Me About Postgres

                                                  I’ve been working professionally for the better part of a decade on web apps and, in that time, I’ve had to learn how to use a lot of different systems and tools. During that education, I found that the official documentation typically proved to be the most helpful. Except…Postgres. It’s not because the official docs aren’t stellar (they are!)–they’re just massive. For the current version (17 at t

                                                  • Introducing the Open Leaderboard for Japanese LLMs!

                                                    LLMs are now increasingly capable in English, but it's quite hard to know how well they perform in other national languages, widely spoken but which present their own set of linguistic challenges. Today, we are excited to fill this gap for Japanese! We'd like to announce the Open Japanese LLM Leaderboard, composed of more than 20 datasets from classical to modern NLP tasks to understand underlying

                                                      Introducing the Open Leaderboard for Japanese LLMs!
                                                    • Jia Tanning Go code

                                                      The Go compiler skips files ending with _test.go during normal compilation. They are compiled with go test command (together will all other .go files), which also inserts some chutney to run the test functions. The standard way to do testing is to have a foo.go and foo_test.go file next to each other. If you have a file that appears to end with _test.go but doesn’t actually end with _test.go, then

                                                      • wordfreq/SUNSET.md at master · rspeer/wordfreq

                                                        This documentation page has gotten a lot of attention recently! I think most of the people who find it understand where I'm coming from. I'd like to highlight a couple of things, now that people are linking to this page from all sorts of contexts. I still work on open-source libraries. Here's ftfy, the popular multi-purpose Unicode fixer. You could see this freezing of wordfreq data as a good thin

                                                          wordfreq/SUNSET.md at master · rspeer/wordfreq
                                                        • 地面師たち | Netflix (ネットフリックス) 公式サイト

                                                          '); doc.close(); } if (!doc) throw Error('base not supported'); var baseTag = doc.createElement('base'); baseTag.href = base; doc.getElementsByTagName('head')[0].appendChild(baseTag); var anchor = doc.createElement('a'); anchor.href = url; return anchor.href; } finally { if (iframe) iframe.parentNode.removeChild(iframe); } }()); } // An inner object implementing URLUtils (either a native URL // ob

                                                            地面師たち | Netflix (ネットフリックス) 公式サイト
                                                          • Python の常識は Julia の非常識 -- 91項目を列挙-- - Qiita

                                                            Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Python の常識は Julia の非常識 以下は,ChatGPT に聞いたものを編集したものです。 Julia では、Python と同じ感覚でコードを書くと、パフォーマンスが落ちることがあるため、Julia の特性に合わせたコーディングスタイルを習得することが重要です。 Python での慣習や手法をそのまま Julia に持ち込むのではなく、Julia に最適化されたアプローチを取ることが重要です。 Julia と Python は、それぞれ異なる設計哲学に基づいており、パフォーマンスやコードの設計にも大きな違いがあります。Ju

                                                              Python の常識は Julia の非常識 -- 91項目を列挙-- - Qiita
                                                            • 日本人K-POP5人組、日本デビュー - Yahoo!ニュース

                                                              メンバー5人全員が日本人の女性K―POPグループ「UNICODE(ユニコード)」が、7月23日に日本デビューシングル「HELLO WORLD」をリリースした。また、公式YouTubeチャンネルでデビュー曲「呼んで(Blur)」のミュージックビデオ(MV)と特別インタビューが公開された。

                                                                日本人K-POP5人組、日本デビュー - Yahoo!ニュース
                                                              • The Art of Formatting Code · mcyoung

                                                                Every modern programming language needs a formatter to make your code look pretty and consistent. Formatters are source-transformation tools that parse source code and re-print the resulting AST in some canonical form that normalizes whitespace and optional syntactic constructs. They remove the tedium of matching indentation and brace placement to match a style guide. Go is particularly well-known

                                                                  The Art of Formatting Code · mcyoung
                                                                • Branchless UTF-8 Encoding

                                                                  Can you encode UTF-8 without branches? Yes. Note: I added a coda section incorporating some feedback. The question In a Recurse chat, Nathan Goldbaum asked: I know how to decode UTF-8 using bitmath and some LUTs (see https://github.com/skeeto/branchless-utf8), but if I want to to go from a codepoint to UTF-8, is there a way to do it without branches? To start with, is there a way to write this C f

                                                                    Branchless UTF-8 Encoding
                                                                  • Why F#?

                                                                    If someone had told me a few months ago I’d be playing with .NET again after a 15+ years hiatus I probably would have laughed at this.1 Early on in my career I played with .NET and Java, and even though .NET had done some things better than Java (as it had the opportunity to learn from some early Java mistakes), I quickly settled on Java as it was a truly portable environment. I guess everyone who

                                                                      Why F#?
                                                                    • Factor 0.100 now available – Re: Factor

                                                                      “Life can only be understood backwards; but it must be lived forwards.” — Kierkegaard I’m very pleased to announce the release of Factor 0.100! OS/CPU Windows Mac OS Linux x86 Source code: 0.100 This release is brought to you with over 1400 commits by the following individuals: Aditya Aryaman Das, Alex null Maestas, Alexander Ilin, Andy Kluger, Bhargav Shirin Nalamati, Charlie Weismann, Dave Carlt

                                                                      • Case Study — Using a JavaScript component inside a Haskell application | The Haskell Programming Language's blog

                                                                        Mateusz Goślinowski January 08, 2025 [GHC] #javascript #case-study GHC since version 9.8 allows us to create callbacks from JS to Haskell code, which enables us to create full-fledged browser apps. This article shows how to use the JS backend with foreign component libraries. repository: https://github.com/Swordlash/halogen-blog ghc used: javascript-unknown-ghcjs-ghc-9.12.1 (ghcup) Preface Any use

                                                                          Case Study — Using a JavaScript component inside a Haskell application | The Haskell Programming Language's blog
                                                                        • 海外「日本の旧字体や変体仮名ではどの字が好き?」日本でかつて使われていた字に対する海外の反応 : すらるど - 海外の反応

                                                                          2025年03月12日20:25 海外「日本の旧字体や変体仮名ではどの字が好き?」日本でかつて使われていた字に対する海外の反応 カテゴリ日本語 sliceofworld Comment(69) 日本は時代時代で常用漢字や仮名が整備され、使われなくなった字もあります。しかし旧常用漢字や変体仮名は今でも一部で使われています。そういう古い日本の字の中で何が好きか海外の掲示板で語り合っていました。 引用元:reddit.com スポンサードリンク ●投稿主日本の古い字の中では何が好き?古い字は今でも人気があるみたいだ。みんなはどの字が好き?自分の場合は仮名の”うぃ(ゐ - ヰ)”と”うぇ(ゑ - ヱ)”。 ●comment”ゑ”が好き。見た目が良いから(笑) ●comment↑この字を嫌いな人なんているか?”る”がようやく故郷である海に戻ってきた感じがする。 ●comment↑波に乗る”る”が一番

                                                                            海外「日本の旧字体や変体仮名ではどの字が好き?」日本でかつて使われていた字に対する海外の反応 : すらるど - 海外の反応
                                                                          • 【JS体操】第3問「Zalgo Text の生成」〜いろんな回答紹介編〜 - KAYAC Engineers' Blog

                                                                            こんにちは!面白プロデュース事業部のおばらです。 『JS体操』第3問 「Zalgo Text の生成」、今回もたくさんの方が挑戦してくださいました。ありがとうございます!本記事はその解説記事の第1弾。挑戦してくださったみなさまの回答、JS体操 QA チームが事前に検証・想定していた回答を一挙にご紹介します。 もし第3問まだ挑戦できていなかった!というひとは以下よりぜひ。 hubspot.kayac.com 今回の第3問では事前にヒント記事を4件書いてみました。ぜひ併せてご覧ください。 techblog.kayac.com techblog.kayac.com techblog.kayac.com techblog.kayac.com 目次 本戦上位3名の回答 🥇 114文字 by halwhite さん 🥈 117文字 by ほーく さん 🥉 119文字 by すぎゃーん さん 社内

                                                                              【JS体操】第3問「Zalgo Text の生成」〜いろんな回答紹介編〜 - KAYAC Engineers' Blog
                                                                            • 「見えないプロンプトインジェクション」は人間とは異なるAIらしい誤りを狙った手法である - YAMDAS現更新履歴

                                                                              www.trendmicro.com 少し前にAIの誤りは人間の誤りとかなり違うという話について書いたが、トレンドマイクロのサイトで紹介されていた「見えないプロンプトインジェクション」の手口は、その好例ではないかと思った次第である。 なるほど、UI 上は表示されない Unicode の符号位置を用いることで、LLM を欺いて、見た目では分からないプロンプトインジェクションを実行できるというわけか。 「フランスの首都はどこですか?」という質問に対して、「私は無知でわかりません」と返すだけなら大した話じゃないと思われるかもしれないが、これがどういう問題に発展しうるのか? 一部の生成AIアプリでは、学習のために収集された文書を統合することで知識データベースが強化されます。これらの文書は、Webサイト、電子メール、PDFなど、日常のさまざまなソースから収集される可能性があります。一見、これらのソー

                                                                                「見えないプロンプトインジェクション」は人間とは異なるAIらしい誤りを狙った手法である - YAMDAS現更新履歴
                                                                              • transformersとaozorabunko-cleanで作る日本語ModernBERTモデル - Qiita

                                                                                transformersとaozorabunko-cleanで、日本語ModernBERTモデルを作ってみることにした。ただ、ModernBERT-baseのトークナイザは日本語にあまりに不向きなので、昨年1月2日の記事で作ったDebertaV2TokenizerFastを使い回すことにした。また、ModernBERTの入力トークン幅は8192と大きいので、train.txtも各行10000文字程度にした。 #! /usr/bin/python3 #pip3 install transformers accelerate deepspeed triton datasets fugashi unidic-lite import os,json os.system(""" if test -d transformers then : else git clone --depth=1 https

                                                                                  transformersとaozorabunko-cleanで作る日本語ModernBERTモデル - Qiita
                                                                                • Go 1.23リリース連載始まります&timeパッケージ | フューチャー技術ブログ

                                                                                  1.23の更新内容の概要Go 1.23のアップデートとしては以下のようなものがあります。多いので、Win/mac/LinuxのAMD/ARM関連以外は省略しています。リリースノートはこちらです。RC1の時点で書いているため、まだギリギリ変更があるかもしれません。 言語 range-over-func(1.22連載で説明済み)がオプションなしでビルドできるようになりました ツール Goチームにツール群が壊れていないかの統計情報をフィードバックするためのgo telemetryという機能が入りました。デフォルトでは送信しない、オプトインとなっています go env -changed を実行するとデフォルトから変更されたものだけを表示するようになりました go mod tidy -diffで、go mod tidyをドライランして実行時の影響を事前表示できるようになりました go.modとgo.

                                                                                    Go 1.23リリース連載始まります&timeパッケージ | フューチャー技術ブログ