並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 105件

新着順 人気順

readabilityの検索結果1 - 40 件 / 105件

  • 唐突に使っているChrome拡張を紹介 - laiso

    ページ閲覧 AutoPagerize chromewebstore.google.com ページネーションされたウェブページを自動で読み込み続けます。無かったら違和感あるレベルで日常になっています。 daily.dev chromewebstore.google.com 開発者向けニュースを空タブに表示します。 タブを開くときに自然に視界に入るのに加えて、検索で「過去話題になったもの」から探したりします(はてなブックマークやHacker Newsも似た用途で使います) ホームタブとは別です。ホームはperplexity.aiにしてます。 Google Scholar PDF Reader chromewebstore.google.com 標準のPDFビュワーを科学論文を読みやすく強化します。参考文献の追跡や引用、ジャンプ機能を提供します。ついでに官庁資料やクリプト系のホワイトペーパーなど

      唐突に使っているChrome拡張を紹介 - laiso
    • JSON Canvas

      An open file format for infinite canvas data. Infinite canvas tools are a way to view and organize information spatially, like a digital whiteboard. Infinite canvases encourage freedom and exploration, and have become a popular interface pattern across many apps. The JSON Canvas format was created to provide longevity, readability, interoperability, and extensibility to data created with infinite

        JSON Canvas
      • コード品質向上のテクニック:第51回 確信的な質問

        こんにちは。コミュニケーションアプリ「LINE」のモバイルクライアントを開発している石川です。 この記事は、毎週木曜の定期連載 "Weekly Report" 共有の第 51 回です。 LINEヤフー社内には、高い開発生産性を維持するための Review Committee という活動があります。ここで集まった知見を、Weekly Report と称して毎週社内に共有しており、その一部を本ブログ上でも公開しています。(Weekly Report の詳細については、過去の記事一覧を参照してください) 確信的な質問 ある開発者が、以下の関数 getOnlineUserStates のコードレビューの依頼を受けた状況を想定しましょう。 fun getOnlineUserStates(userIds: Set<UserId>): Map<UserId, UserState> { if (userI

          コード品質向上のテクニック:第51回 確信的な質問
        • Essential CLI Tools for Developers

          We, developers, spend a lot of time in our terminal. Or maybe we could spend even more, because there are so many great CLI/TUI tools that can boost the developer productivity, or just be fun to use. This article contains a categorized list of CLIs / TUIs I personally use and those widely adopted in the development community. Our sponsorMultiplayer auto-discovers, tracks, and documents your entire

            Essential CLI Tools for Developers
          • Polyfill supply chain attack hits 100K+ sites

            by Sansec Forensics Team Published in Threat Research − June 25, 2024 The new Chinese owner of the popular Polyfill JS project injects malware into more than 100 thousand sites. Update June 28th: We are flagging more domains that have been used by the same actor to spread malware since at least June 2023: bootcdn.net, bootcss.com, staticfile.net, staticfile.org, unionadjs.com, xhsbpza.com, union.m

              Polyfill supply chain attack hits 100K+ sites
            • xz-utils backdoor situation (CVE-2024-3094)

              xz-backdoor.md FAQ on the xz-utils backdoor (CVE-2024-3094) This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on. Background On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that gives developers lossless compression. This package is commonly used for c

                xz-utils backdoor situation (CVE-2024-3094)
              • Optimizing Javascript for fun and for profit

                I often feel like javascript code in general runs much slower than it could, simply because it’s not optimized properly. Here is a summary of common optimization techniques I’ve found useful. Note that the tradeoff for performance is often readability, so the question of when to go for performance versus readability is a question left to the reader. I’ll also note that talking about optimization n

                • Type-Safe Lightweight DDD with Effect Schema

                  Type-Safe Lightweight DDD with Effect Schema Yuichi Goto | JSConf JP on November 23, 2024 Who I am Yuichi Goto @_yasaichi @yasaichi.bsky.social @yasaichi Professional Background Backend Engineer since 2015 Co-author of Perfect Ruby on Rails Working at EARTHBRAIN since 2023 About EARTHBRAIN Founded in July 2021 200 employees (including 50 developers) Provides Smart Construction® solutions About Sma

                    Type-Safe Lightweight DDD with Effect Schema
                  • JavaScript Best Practices | The WebStorm Blog

                    JavaScript is undoubtedly the most used programming language in the world and is hugely influential on one of the largest technologies we have all come to rely on – the internet. With this power comes great responsibility, and the JavaScript ecosystem has been rapidly evolving, making it incredibly hard to keep up with the latest JavaScript best practices. In this blog post, we will cover several

                      JavaScript Best Practices | The WebStorm Blog
                    • 読みやすいコードの書き方 第 3 回 / Code readability: Session 3 (ver. 2, Ja)

                      第 3 回: コメント --- セッションリスト 第 1 回: 導入と原則 - https://speakerdeck.com/munetoshi/code-readability-session-1-ver-2-ja 第 2 回: 命名 - https://speake…

                        読みやすいコードの書き方 第 3 回 / Code readability: Session 3 (ver. 2, Ja)
                      • GitHub - deepseek-ai/DeepSeek-R1

                        We introduce our first-generation reasoning models, DeepSeek-R1-Zero and DeepSeek-R1. DeepSeek-R1-Zero, a model trained via large-scale reinforcement learning (RL) without supervised fine-tuning (SFT) as a preliminary step, demonstrated remarkable performance on reasoning. With RL, DeepSeek-R1-Zero naturally emerged with numerous powerful and interesting reasoning behaviors. However, DeepSeek-R1-Z

                          GitHub - deepseek-ai/DeepSeek-R1
                        • Chevy Ray | How I Created 175 Fonts Using Rust

                          In December of 2023 I launched the 175 Pixel Font Megapack, followed shortly by 42 individual packs for each font family. I created my own toolchain for generating, quality testing, and deploying these fonts... in Rust! In this post I'll walk you through the whole process. Check out the Pixel Font Megapack on itch.io! Before the MegapackBefore we talk about the new pack, let's talk about the old p

                            Chevy Ray | How I Created 175 Fonts Using Rust
                          • Stop saying Rust is Complicated

                            Stop Saying Rust Is Complicated Rust often gets labeled as “too hard” or “too complicated” because it forces you to think carefully about memory, concurrency, and error handling. But here’s the catch: those aren’t just “Rust problems.” They’re software engineering problems that show up in any sufficiently complex system. Rust’s approach may feel strict, but it’s essentially teaching you fundamenta

                            • LogLog Games

                              The article is also available in Chinese. Disclaimer: This post is a very long collection of thoughts and problems I've had over the years, and also addresses some of the arguments I've been repeatedly told. This post expresses my opinion the has been formed over using Rust for gamedev for many thousands of hours over many years, and multiple finished games. This isn't meant to brag or indicate su

                              • Llama 3.3 70BベースでGPT-4o超えの満足度を達成するAIをPerplexityが発表

                                AI企業のPerplexity AIが、自社独自モデルである「Sonar」の新しいバージョンをリリースしたことを明らかにしました。このバージョンはGPT-4o miniやClaude 3.5 Haikuのような同クラスのモデルを大幅に上回り、ユーザー満足度ではGPT-4oやClaude 3.5 Sonnetのようなフロンティアモデルを上回ることがわかっています。 Meet New Sonar https://www.perplexity.ai/ja/hub/blog/meet-new-sonar Sonarの新しいバージョンは、有料サービス「Perplexity Pro」の加入者がAI検索エンジン「Perplexity」で利用することができます。 SonarはMetaの大規模言語モデル「Llama 3.3 70B」をベースに構築されていて、Perplexityのデフォルトの検索モードにおい

                                  Llama 3.3 70BベースでGPT-4o超えの満足度を達成するAIをPerplexityが発表
                                • Prototyping in Rust | corrode Rust Consulting

                                  Programming is an iterative process - as much as we would like to come up with the perfect solution from the start, it rarely works that way. Good programs often start as quick prototypes. The bad ones stay prototypes, but the best ones evolve into production code. Whether you’re writing games, CLI tools, or designing library APIs, prototyping helps tremendously in finding the best approach before

                                    Prototyping in Rust | corrode Rust Consulting
                                  • 実践セキュリティ監視基盤構築(24): セキュリティ監視エンジニアリング

                                    この記事はアドベントカレンダー「実践セキュリティ監視基盤構築」の24日目の記事です。これまでに、セキュリティ監視基盤の構築と実装について詳しく解説してきました。今回は、視点を変えて、セキュリティ監視に関する新しい概念やアイデアについてお話しします。 情報技術に関連する多様なソフトウェア、サービス、手法が進化する中で、それに対応するための概念も進化しています。わかりやすい例としてはDevOpsやSREがありますが、セキュリティ監視においても新たな取り組みが行われています。 従来のセキュリティ監視業務と課題 新しい概念について話す前に、従来のセキュリティ監視業務を振り返ってみましょう。これらは筆者が経験したり、伝聞した内容に基づくもので、古く偏った視点である可能性があります。 アラートの検知は、SIEMやIDSで提供されるデフォルトルールを使うことが多く、チューニングはルールのON/OFF程度

                                      実践セキュリティ監視基盤構築(24): セキュリティ監視エンジニアリング
                                    • AnthropicAI Tool で Retrieval-Augmented Generation を実装してみた

                                      LangChain なんか使わなくてもシュッと作れたので記事にしておく。 RAG とは 生成AIに検索能力をもたせるやつ。 要は検索機能をこちらで提供してやって、AIにそれを読ませる。 AnthropicAI Tool OpenAI でいう Function Calling JSONSchema で関数シグネチャを与えると、それを使うDSLを生成する。実際の関数は自分で実装して、AI が生成した引数(JSONSchema に従う)を渡す。 TypeScript の Mapped Types でツールの実装部分に型をつける簡単なラッパーを書いた。 RAG の CLI を作る Google検索をするAPIを実装 Google Custom Engine API を使った 本文要約をするAPIを実装 Mozilla の実装を使った 与えられた URL を fetch して、その本文部分を抽出する

                                        AnthropicAI Tool で Retrieval-Augmented Generation を実装してみた
                                      • サーバーサイド Java / Kotlin エコシステムに潜む ThreadLocal ~ Kotlin Coroutine と ThreadLocal を安全につなぎこむ - 株式会社ヘンリー エンジニアブログ

                                        こんにちは!ヘンリーでソフトウェアエンジニアをしている @agatan です。 今日は小ネタで、サーバーサイド Java / Kotlin エコシステムで意外と使われている ThreadLocal と、それを Coroutine と安全に組み合わせる方法について紹介します! TL; DR ThreadContextElementを使おう! ThreadLocal とは java.lang.ThreadLocal<T> は、その名の通り、スレッドローカルな(= スレッドごとに独立した値を持つ)変数を定義するための機構です。 ある Thread で値を書き換えたとしても、他の Thread から見た ThreadLocal 変数の中身は書き換わらない、という性質があります。 import kotlin.concurrent.thread val tls: ThreadLocal<Int> =

                                          サーバーサイド Java / Kotlin エコシステムに潜む ThreadLocal ~ Kotlin Coroutine と ThreadLocal を安全につなぎこむ - 株式会社ヘンリー エンジニアブログ
                                        • Full Text, Full Archive RSS Feeds for any Blog

                                          RSS and ATOM feeds are problematic (for our use-cases) for two reasons; 1) lack of history, 2) contain limited post content. We built some open-source software to fix that. If you are reading this blog post via a 3rd party source it is very likely that many parts of it will not render correctly (usually, the interactive graphs). Please view the post on dogesec.com for the full interactive viewing

                                            Full Text, Full Archive RSS Feeds for any Blog
                                          • XZ Utilsのインシデントを教訓に、ソーシャルエンジニアリングによるオープンソースプロジェクトの乗っ取りに関する注意喚起。OpenSSFとOpenJS Foundationsが共同で

                                            XZ Utilsのインシデントを教訓に、ソーシャルエンジニアリングによるオープンソースプロジェクトの乗っ取りに関する注意喚起。OpenSSFとOpenJS Foundationsが共同で Open Source Security(OpenSSF)とOpen JS Foundationは、先日発生したXZ Utilsのインシデントを教訓に、ソーシャルエンジニアリングによるオープンソースプロジェクトの乗っ取りに関する注意喚起を行っています。 注意喚起の中では、オープンソースプロジェクトの乗っ取りをはかる動きは現在もいくつかのプロジェクトで起きつつある可能性があることが示され、ソーシャルエンジニアリングによる乗っ取りを防ぐためのガイドラインが紹介されています。 XZ Utilsのようなプロジェクトの乗っ取りはいまも起きている XZ Utilsのインシデントでは、正体不明の人物がメンテナとしてプロ

                                              XZ Utilsのインシデントを教訓に、ソーシャルエンジニアリングによるオープンソースプロジェクトの乗っ取りに関する注意喚起。OpenSSFとOpenJS Foundationsが共同で
                                            • AWS Lambda turns 10: A rare look at the doc that started it

                                              AWS Lambda turns 10: A rare look at the doc that started itNovember 14, 2024 • 5460 words One of our strengths at AWS has always been our ability to get primitives into the hands of our customers and observe what they do. In nearly every instance, someone uses these building blocks in interesting ways that we didn’t expect. Sometimes it’s domain-specific innovation, but other times it’s customers

                                                AWS Lambda turns 10: A rare look at the doc that started it
                                              • Leaked meta prompt, seen at https://x.com/amebagpt/status/1841177927569838519

                                                openai_meta.txt ��ʮ�U �5���U Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output. - Minimal Changes: If an existing prompt is provided, improve it only if it's simple. For complex prompts, enhance clarity and add missing elements without altering the original structure. - Reasoning Before Conclusions: Encourage reasoning steps before any conclusions

                                                  Leaked meta prompt, seen at https://x.com/amebagpt/status/1841177927569838519
                                                • 『無知の楽しさ』についての質問票 - 内田樹の研究室

                                                  韓国の出版社企画で「無知の楽しさ」という本が出た。韓国の編集者や訳者の朴東燮先生からの質問に私が答えて一冊の本になったのである。それについてのメールでのロングインタビューがあったので収録。 内田先生、こんにちは 私は韓国で、作家、そして弁護士として働いているチョン・ウジンと申します。 このような形で、内田先生とお会いできる機会が得られて、ほんとうに嬉しく思います。 先日韓国で出版された『図書館には人がいないほうがいい』を読み、内田先生のまさに「大ファン」になり、先生のご本を何冊か家に積読していて(もちろん韓国語版ですが)、一冊ずつ読んでおります。 私はそれらの本の内容からいろいろ影響を受けているのですが、その中でももっとも印象に残っているのは「本というのは、およそ死ぬまでに読み切れなくても買って積んでおくものである」というところでした。そのおかげで最近本の購入量が本当に増えてしましました。

                                                  • Documenting and explaining legacy code with GitHub Copilot: Tips and examples

                                                    Why did the developer bring a flashlight to the legacy codebase? Because every time they tried to refactor it, they found more bugs hiding in the dark corners. The thing is, working with legacy code can also be bad—worse than that joke even! Whether you’ve inherited a decades-old codebase or are revisiting your own past work, working with a legacy codebase can be a time-consuming and overwhelming

                                                      Documenting and explaining legacy code with GitHub Copilot: Tips and examples
                                                    • Write OpenAPI with TypeSpec

                                                      I've spent the last few years at Microsoft working on an API definition language called TypeSpec. It's essentially a super flexible protocol-agnostic DSL for describing API shapes. You can try it in your browser at the TypeSpec playground. Many things about it are exciting, but I want to talk about one thing in particular: why TypeSpec is the best way to write OpenAPI. OpenAPI: the good and the no

                                                      • Implementing a Game Boy emulator in Ruby

                                                        Introduction#I created a Game Boy emulator in Ruby and released it as a gem called rubyboy! (I’d be happy if you could give it a star!) And now it runs in the browser using WebAssembly! Try the demo in your browser! Screenshots#Rubyでゲームボーイのエミュレータを作りました! カラー対応やWasmでブラウザ対応もやっていきたい💪 GitHub: https://t.co/hFwmZD6FNp pic.twitter.com/qWbx8v4mef — sacckey (@sacckey) March 17, 2024 This Article#While expl

                                                          Implementing a Game Boy emulator in Ruby
                                                        • require(esm) in Node.js

                                                          Recently I landed experimental support for require()-ing synchronous ES modules in Node.js, a feature that has been long overdue. In the pull request, I commented with my understanding about why it did not happen sooner before this pull request in 2024. This post expands on that comment a bit more. The opinions in this post are my own and reflect my perception of the ESM development in Node.js as

                                                          • Pack

                                                            New List: Use --list to explore a Pack file, and it will print a list of all files.Partial Unpack: To unpack a specific file or folder in a Pack file, use --include.Pro notes: To list an specific folder, you can use --include together with --list.You can use multiple --include to unpack or list in one go. It will use an optimized algorithm to process each item just once.The --include command also

                                                              Pack
                                                            • GitHub Copilotはコード品質を向上させるか?データが語る真実

                                                              Author Jared Bauer 私たちの最新の調査結果によると、GitHub Copilot を使って書かれたコードの品質は、機能性、可読性、信頼性、保守性、簡潔性が大幅に向上しています。 GitHub Copilotが一般提供開始されてから2年間で、AIはソフトウェア開発を根本的に変えました。その間に、GitHub Copilotは開発者のコーディング速度を最大55%向上させました。また事前の調査では、85%の開発者が自分のコードに自信を持ち、88%がGitHub Copilotを使用することでよりフロー状態になれていると感じていることが示されました。 しかし、疑問が残ります。GitHub Copilot を使って書かれたコードの品質は、客観的に見て良いのでしょうか、それとも悪いのでしょうか? これに答えるため、GitHub Copilot を使って書かれたコードの機能性、読みやす

                                                                GitHub Copilotはコード品質を向上させるか?データが語る真実
                                                              • Optimizing Ruby’s JSON, Part 1

                                                                I was recently made maintainer of the json gem, and aside from fixing some old bugs, I focused quite a bit on its performance, so that it is now the fastest JSON parser and generator for Ruby on most benchmarks. Contrary to what one might think, there wasn’t any black magic or deep knowledge involved. Most of the performance patches I applied were fairly simple optimizations driven by profiling. A

                                                                • Help us invent CSS Grid Level 3, aka “Masonry” layout

                                                                  UPDATE October 2024: Since this article was published, members of the CSS Working Group have concluded that all of the grid abilities described here — variable-width tracks, explicit placement, spanning, and subgrids — are worth including in masonry layout, and are possible to implement performantly. There is now an official W3C Working Draft for CSS Grid Layout Module Level 3 documenting how it w

                                                                    Help us invent CSS Grid Level 3, aka “Masonry” layout
                                                                  • Model Spec (2024/05/08)

                                                                    May 08, 2024 Overview This is the first draft of the Model Spec, a document that specifies desired behavior for our models in the OpenAI API and ChatGPT. It includes a set of core objectives, as well as guidance on how to deal with conflicting objectives or instructions. Our intention is to use the Model Spec as guidelines for researchers and data labelers to create data as part of a technique cal

                                                                    • オーバーレイ ファクトシート

                                                                      Webアクセシビリティ オーバーレイとは何ですか?オーバーレイは、Webサイトのアクセシビリティを向上させることを目的とした技術の総称です。サードパーティのソースコード(多くはJavaScript)を読み込み、フロントエンドコードを改善します。 アクセシビリティの向上を謳うWebサイトのアドオン製品は、1990年代後半に登場したReadspeakerやBrowsealoudに遡ります。これらは、インストールされたWebサイトにテキストの読み上げ機能を追加するものでした。 その後、そのようなソフトウェアに機能を追加した類似製品が、市場に出回るようになりました。それらは、読みやすさを向上させるために、ユーザーのニーズに基づき文字サイズや色などをコントロールするものです。 最近のオーバーレイ製品のなかには、支援技術からのアクセスのしやすさを妨げる問題を修正することを目的としているものがあります。

                                                                      • Transactions blocks with endless methods

                                                                        I previously wrote a quick intro to the endless method in Ruby and now I will try to use it to name transaction blocks in Rails. This is a technique Kasper Timm Hansen shared in a reply to my previous post. I will try to refactor some examples from two open-source Rails repositories just to explore how the code looks. This open-ended exercise is a playground for experimenting with the code shape a

                                                                          Transactions blocks with endless methods
                                                                        • Data Fetching Patterns in Single-Page Applications

                                                                          When a single-page application needs to fetch data from a remote source, it needs to do so while remaining responsive and providing feedback to the user during an often slow query. Five patterns help with this. Asynchronous State Handler wraps these queries with meta-queries for the state of the query. Parallel Data Fetching minimizes wait time. Fallback Markup specifies fallback displays in marku

                                                                            Data Fetching Patterns in Single-Page Applications
                                                                          • Xᴇɴᴏɴ

                                                                            Xenon is the best way to represent information: Native support for arrays. Native support for a graph structure, elements may have multiple parents. Native support for types used in serializing program data. Unambiguous choice of data structure. Readable multiple line indented text. Terse, efficient to write by hand. Can be implemented to be blazingly fast or using a mode-less tokenizer. The xenon

                                                                            • GitHub - slevithan/regex: JS regexes + future. A template tag for readable, high-performance, native JS regexes with extended syntax, context-aware interpolation, and always-on best practices.

                                                                              Regex+ (aka regex, based on its package and tag name) is a template tag that extends JavaScript regular expressions with key features that make regexes more powerful and dramatically more readable. It returns native RegExp instances that run with native performance, and can exceed the performance of regex literals you'd write yourself. It's also lightweight, supports all ES2025 regex features, has

                                                                                GitHub - slevithan/regex: JS regexes + future. A template tag for readable, high-performance, native JS regexes with extended syntax, context-aware interpolation, and always-on best practices.
                                                                              • New Flow Language Features for React

                                                                                We have thousands of engineers committing React code every day to Meta’s largest codebases. Part of our responsibility on the Flow team is to make it as easy as possible for anyone to contribute, from design system React experts to C++ engineers making one-off internal pages to support their backend services. Over the last year, we’ve built several new language features to make it easier than ever

                                                                                  New Flow Language Features for React
                                                                                • Node.js — Node v23.4.0 (Current)

                                                                                  2024-12-10, Version 23.4.0 (Current), @aduh95 prepared by @targos Notable Changes Introducing experimental assert.partialDeepStrictEqual Sometimes, when writing test, we want to validate that some specific properties are present, and the mere presence of additional keys are not exactly relevant for that specific test. For this use case, we can now use assert.partialDeepStrictEqual, which should be

                                                                                    Node.js — Node v23.4.0 (Current)