i-html is a drop in tag that allows for dynamically importing html, inline. It's a bit like an <iframe>, except the html gets adopted into the page. You might have used something similar before, it might seem familiar to other techniques such as hotwired turbo or similar. You might have even used an element very close to this one, for example the popular include-fragment-element by GitHub. This el
This post is for people who are familiar with JavaScript’s == operator. JavaScript’s “double equals” operator, ==, is typically discouraged. And for good reason: its behavior is tricky. Where === asks “are these the same thing?”, the double-equals operator asks a question that’s not straightforward. More specifically, == implements something called the Abstract Equality Comparison Algorithm, a 13-
The Ease of JSX with the power of SSR The developer experience of asynchronous JSX with the proven benefits of server-side rendering, resulting in a robust and streamlined web development approach. export default async function ({ request, reply }) { const id = request.query["id"]; const { name, image, ingredients } = await ( await fetch(`https://dummyjson.com/recipes/${id}`) ).json(); return ( <a
IDEs CLion DataGrip DataSpell Fleet GoLand IntelliJ IDEA PhpStorm PyCharm RustRover Rider RubyMine WebStorm Plugins & Services Big Data Tools Code With Me JetBrains Platform Scala Toolbox App Writerside JetBrains AI Grazie Junie JetBrains for Data Kineto Team Tools Datalore Space TeamCity Upsource YouTrack Hub Qodana CodeCanvas Matter .NET & Visual Studio .NET Tools ReSharper C++ Languages & Frame
base64 encoding and decoding is a common form of transforming binary content to be represented as web-safe text. It's used commonly for data URLs, such as inline images. What happens when you apply base64 encoding and decoding to strings in JavaScript? This post explores the nuances and common pitfalls to avoid. btoa() and atob() The core functions to base64 encode and decode in JavaScript are bto
JSer.info #712 - Node.js v23.0.0 (Current)がリリースされました。 Node.js — Node v23.0.0 (Current) require(esm)をデフォルトで有効化、32 bit Windowsのサポートを削除、node --runをStableに変更されています。 また、非推奨な--huge-max-old-generation-sizeを削除、node:utilパッケージから非推奨な_extend()やisBoolean()などを削除なども行われています。 Next.js v15がリリースされました。 Next.js 15 | Next.js 破壊的な変更として、fetchはデフォルトでno-storeに変更、GETルートハンドラーはデフォルトでキャッシュしないように、クライアントルーターキャッシュもデフォルトではキャッシュしないよ
概要 「アルゴリズム入門」シリーズのJavaScript対応版です。アルゴリズムは、プログラムを効率的かつ正確に実行するための重要な要素です。プログラミング技術を上達させるためには、系統的に異なるさまざまな視点でのアルゴリズム学習が効果的です。本書ではJavaScriptを用いて基本的なアルゴリズムの概念と実装方法を学び、プログラムの流れを制御するための方法を理解していきます。学習には、Webベースの開発環境“p5.jsWebエディタ”を使います。Webブラウザから掲載プログラムを入力して、すぐに動作を確認することができます。 目次 第1章 ウォーミング・アップ 1-0 アルゴリズムとは 1-1 漸化式 1-2 写像 1-3 順位付け 1-4 ランダムな順列 1-5 モンテカルロ法 1-6 ユークリッドの互除法 1-7 エラトステネスのふるい 第2章 数値計算 2-0 数値計算とは 2-1
StyleX v0.8.0 is now available with a bunch of fixes and new ESlint rules. Linting Enhancements We've been making a lot of improvements to our ESLint plugin. We've both improved our existing rules and added new ones. Thanks to Melissa Liu! Here are some of the highlights: New valid-shorthands rule This rule enforces our opinions on when and how you should use CSS shorthand properties. It disallows
We are very proud to finally announce the stable release for the new major version of Tauri. Welcome to Tauri 2.0! What is Tauri? In a Tauri application the frontend is written in your favorite web frontend stack. This runs inside the operating system WebView and communicates with the application core written mostly in Rust. When Should I Use Tauri? If you check any of the boxes below, you should
しかしCompressionStreamはその名の通りWeb Stream APIなのでどう頑張っても出力は非同期です。なので関数名と引数は同じですが戻り値はPromise<string>になります。 また、アルゴリズムが違うので互換はありません。今までlz-stringで圧縮・解凍していた箇所をいきなりCompressionStream版に置き換えても機能しませんのでご注意ください。 ちなみに、lz-stringの圧縮アルゴリズムはドキュメントでLZ-basedと書かれており、おそらく作者独自のアルゴリズムです。 CompressionStreamで選択できるアルゴリズム(語弊あり)は gzip, deflate, deflate-rawです。gzipはgzipですが、deflateはzlibでdeflate-rawが純粋なdeflateです。命名については歴史的経緯があるようです。 前
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く