並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 20 件 / 20件

新着順 人気順

javascript array multiply valuesの検索結果1 - 20 件 / 20件

  • Inkbase: Programmable Ink

    With pen and paper, anyone can write a journal entry, draw a diagram, perform a calculation, or sketch a cartoon. Digital tablets like the iPad or reMarkable can adapt pen and paper into the world of digital media. In doing so, they trade away some of paper’s advantages like cheapness and tangibility. In exchange, we get new computational powers like nondestructive editing and ease of transmission

      Inkbase: Programmable Ink
    • AST vs. Bytecode: Interpreters in the Age of Meta-Compilation

      233 AST vs. Bytecode: Interpreters in the Age of Meta-Compilation OCTAVE LAROSE, University of Kent, UK SOPHIE KALEBA, University of Kent, UK HUMPHREY BURCHELL, University of Kent, UK STEFAN MARR, University of Kent, UK Thanks to partial evaluation and meta-tracing, it became practical to build language implementations that reach state-of-the-art peak performance by implementing only an interprete

      • Font with Built-In Syntax Highlighting

        Syntax Highlighting in Hand-Coded Websites The problem I have been trying to identify practical reasons why hand-coding websites with HTML and CSS is so hard (by hand-coding, I mean not relying on frameworks, generators or 3rd party scripts that modify the DOM). Let's say, I want to make a blog. What are the actual things that prevent me from making—and maintaining—it by hand? What would it take t

        • Introduction to Spherical Harmonics for Graphics Programmers

          This post requires JavaScript to properly render mathematics (like $\int f(x) dx$, $Y_\ell^m$). It's not likely to work in your browser's "reader mode". On your computer graphics journey, you will eventually run into some paper or code mentioning spherical harmonic functions. They are indeed a very useful tool: with just a few coefficients, they allow us to approximate a given function defined on

          • syntaxdesign

            One of the most recognizable features of a languages is its syntax. What are some of the things about syntax that matter? What questions might you ask if you were creating a syntax for your own language? Motivation A programming language gives us a way structure our thoughts. Each program, has a kind of internal structure, for example: How can we capture this structure? One way is directly, via pi

            • Beyond Functional Programming: The Verse Programming Language

              Simon Peyton Jones, Tim Sweeney Lennart Augustsson, Koen Claessen, Ranjit Jhala, Olin Shivers Epic Games December 2022 Tim’s vision of the metaverse  Social interaction in a shared real-time 3D simulation  An open economy with rules but no corporate overlord  A creation platform open to all programmers, artists, and designers, not a walled garden  Much more than a collection of separately comp

              • HTML: The Programming Language

                Introduction HTML, the programming language, is a practical, turing-complete[1], stack-based programming language based on HTML, the markup language. It uses elements defined in HTML, the markup language, in order to do computations. To give you a sense of what HTML, the programming langauge, looks like, below is a sample program that prints the values from 1 to 10 to standard out (console.log) A

                • How video games use LUTs and how you can too

                  Look-up-tables, more commonly referred to as LUTs, are as old as Mathematics itself. The act of precalculating things into a row or table is nothing new. But in the realm of graphics programming, this simple act unlocks some incredibly creative techniques, which both artists and programmers found when faced with tough technical hurdles. We’ll embark on a small journey, which will take us from simp

                    How video games use LUTs and how you can too
                  • research!rsc: Floating-Point Printing and Parsing Can Be Simple And Fast (Floating Point Formatting, Part 3)

                    Introduction A floating point number f has the form f=m·2e where m is called the mantissa and e is a signed integer exponent. We like to read numbers scaled by powers of ten, not two, so computers need algorithms to convert binary floating-point to and from decimal text. My 2011 post “Floating Point to Decimal Conversion is Easy” argued that these conversions can be simple as long as you don’t car

                    • bytecode interpreters for tiny computers ⁑ Dercuano

                      Introduction: Density Is King (With a Tiny VM) I've previously come to the conclusion that there's little reason for using bytecode in the modern world, except in order to get more compact code, for which it can be very effective. So, what kind of a bytecode engine will give you more compact code? Suppose I want a bytecode interpreter for a very small programming environment, specifically to minim

                      • Large Text Compression Benchmark

                         Large Text Compression Benchmark Matt Mahoney Last update: Mar. 25, 2026. history This competition ranks lossless data compression programs by the compressed size (including the size of the decompression program) of the first 109 bytes of the XML text dump of the English version of Wikipedia on Mar. 3, 2006. About the test data. The goal of this benchmark is not to find the best overall compress

                        • I'm Building a Browser for Reverse Engineers

                          Preamble In the expanding world of AI my heart still lies in AST transforms, browser fingerprinting, and anti-bot circumvention. In fact, that's the majority of this blog's content. But my workflow always felt... primitive. I was still manually sifting through page scripts, pasting suspicious snippets into an editor, and writing bespoke deobfuscators by hand. Tools like Webcrack and deobfuscate.io

                          • You Can Now Make PS2 Games in JavaScript

                            I recently discovered that you could make PS2 games in JavaScript. I’m not even kidding, it’s actually possible. I was working on a project and had my phone near my desk when I received a notification. Upon further inspection, it came from itch.io which was a platform where I usually published most of my web games. Under my relatively popular Sonic infinite runner game which was made in JavaScript

                              You Can Now Make PS2 Games in JavaScript
                            • Wasmtime and Cranelift in 2023

                              It’s that time of year: time to start winding down for the winter holiday season, time to reflect on the past year, and time to think about what we can accomplish together in 2024. The Wasmtime and Cranelift projects are no exception. This article recounts Wasmtime and Cranelift progress in 2023 and explores what we might do in 2024. Wasmtime is a standalone WebAssembly runtime. It is fast, secure

                                Wasmtime and Cranelift in 2023
                              • Why APL is a language worth knowing

                                “A language that doesn't affect the way you think about programming, is not worth knowing.”, by Alan J. Perlis. Why APL is a language worth knowing Alan Perlis, the computer scientist recipient of the first Turing award, wrote “A language that doesn't affect the way you think about programming, is not worth knowing.” ― Alan J. Perlis, 1982. Special feature: Epigrams on programming. ACM Sigplan Not

                                  Why APL is a language worth knowing
                                • Bullshit Jobs

                                  Notes: ISBN 978-1-5011-4331-1, ISBN 978-1-5011-4334-2 (ebook); Most names and many identifying characteristics have been changed.; Interior design by Carly Loman; Jacket design by David L Itman To anyone who would rather be doing something useful with themselves. Preface: On the Phenomenon of Bullshit Jobs In the spring of 2013, I unwittingly set off a very minor international sensation. It all be

                                    Bullshit Jobs
                                  • GitHub - ComfyUI-Workflow/awesome-comfyui: A collection of awesome custom nodes for ComfyUI

                                    ComfyUI-Gemini_Flash_2.0_Exp (⭐+172): A ComfyUI custom node that integrates Google's Gemini Flash 2.0 Experimental model, enabling multimodal analysis of text, images, video frames, and audio directly within ComfyUI workflows. ComfyUI-ACE_Plus (⭐+115): Custom nodes for various visual generation and editing tasks using ACE_Plus FFT Model. ComfyUI-Manager (⭐+113): ComfyUI-Manager itself is also a cu

                                      GitHub - ComfyUI-Workflow/awesome-comfyui: A collection of awesome custom nodes for ComfyUI
                                    • Building a Simple Artificial Neural Network in JavaScript

                                      This article will discuss building a simple neural network using JavaScript. However, let’s first check what deep neural networks and artificial neural networks are. Deep Neural Network and Artificial Neural NetworkArtificial Neural Networks (ANNs) and Deep Neural Networks (DNNs) are related concepts, but they are different. The inspiration behind these artificial neural networks for machine learn

                                        Building a Simple Artificial Neural Network in JavaScript
                                      • 本書いたら数学愛好者の中級レベルのプログラマーからマウンティングを試みられた話 - stq2050’s blog

                                        関数型プログラミングが『銀の弾丸』であるという非常識な常識2022 をUPしました。長編です。 実労働時間ではけしてないですが、トライ&エラーを繰り返しながら足掛け2年ほどかかりました。 はてなブックマークで、一時期トップページに掲載されて、 その効果もあってか大変衆目を浴びた著作なのですが、副作用もあって、 福岡IT講師殺害事件のきっかけとなったのは、まさにこの「はてな村」であり、住民(の一部)は非常に筋が悪く治安が悪いのです。 実際に、 b.hatena.ne.jp においては、多数の誹謗中傷コメントがなされており、はてなの利用規約違反ですから、はてな運営が要求する法的に有効な正式なフォーマットをもって抗議し、照会、削除要請をしています。 すでに、 関数型プログラミングが『銀の弾丸』であるという非常識な常識2022 2021/12/10 に岡部氏の蔑称を使いコメントしたことで不快な思い

                                          本書いたら数学愛好者の中級レベルのプログラマーからマウンティングを試みられた話 - stq2050’s blog
                                        • jax-js: an ML library for the web

                                          I’m excited to release jax-js, a machine learning library for the web. You can think of it as a reimplementation of Google DeepMind’s JAX framework (similar to PyTorch) in pure JavaScript. jax-js runs completely in the browser by generating fast WebGPU and Wasm kernels. Numerical computing on the webStarting in February this year, I spent nights and weekends working on a new ML library for the bro

                                            jax-js: an ML library for the web
                                          1