並び順

ブックマーク数

期間指定

  • から
  • まで

241 - 278 件 / 278件

新着順 人気順

codeの検索結果241 - 278 件 / 278件

  • macOS Sequoia設定メモ - Magnolia Tech

    macOS Sequoiaをインストールした時に変更したOS設定や、macOS固有の開発環境構築の記録の覚書 なるべくデフォルト設定から変えない方針だけど、それでもトラックパッドや、キーボード周りはどうしても操作性に直結するし、過去からの慣習もあるので、設定項目がそれなりに有る。環境を載せ替えたり、OSのバージョンアップ時に迷わないように、設定根拠と共に書き残しておくようにしている。 OS自体のインストール中に設定する項目(Wi-FiのSSID、iCloudのアカウントなど)はウィザードに沿って作業するので、設定忘れも無いため、ここでは割愛 Sytem Settings Trackpad MacBook内蔵のTrackPadと、外付けのMagic Trackpadの併用を前提に以下の設定を変更 Tracking speedをモニタの解像度に合わせて変更 MacBookの内蔵モニタをDefa

      macOS Sequoia設定メモ - Magnolia Tech
    • OpenTelemetry Tracing in 200 lines of code | Jeremy Morrell

      Developers tend to treat tracing as deep magic, and OpenTelemetry is no exception. OpenTelemetry may be even more mysterious given how many concepts your are exposed to even with beginning examples. [1] It also doesn’t help that as part of building a mature, battle-tested tracing library, the code itself tends to become more and more cryptic over time, contorting itself to avoid edge-cases, work a

      • Bye Bye, Try-Catch Blocks: Meet JavaScript's Safe Assignment Operator Proposal😉

        Bye Bye, Try-Catch Blocks: Meet JavaScript's Safe Assignment Operator Proposal😉 Introduction JavaScript error handling is about to get a major upgrade. The new ECMAScript Safe Assignment Operator Proposal (?=) is here to streamline your code by reducing the need for traditional try-catch blocks. Let’s explore how this proposal can simplify your error management and make your JavaScript code clean

          Bye Bye, Try-Catch Blocks: Meet JavaScript's Safe Assignment Operator Proposal😉
        • 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

          • Automattic is doing open source dirty

            Automattic demanding 8% of WP Engine's revenues because they're not "giving back enough" to WordPress is a wanton violation of general open source ideals and the specifics of the GPL license. Automattic is completely out of line, and the potential damage to the open source world extends far beyond the WordPress. Don't let the drama or its characters distract you from that threat. A key part of why

              Automattic is doing open source dirty
            • CSSnippets

              Explore a vast collection of HTML, React, CSS and Tailwind CSS code snippets for buttons, box-shadows, cards, checkboxes, dropdowns, input fields, loading spinners, radio buttons, text fields, toggle switches and many more.

              • Meta×レイバンにより生まれたスマートグラス「Ray-Ban Meta」にリアルタイム音声翻訳などの新AI機能が追加

                QuestシリーズなどのARおよびVRデバイスを開発・販売するMetaと、サングラスブランドのレイバンがコラボレーションして誕生したスマートグラス「Ray-Ban Meta」に、新しAI機能が追加されました。さらに、Metaはパートナーシップを拡大し、より多くのコンテンツが利用可能となります。 Ray-Ban | Meta Glasses Are Getting New AI Features and More Partner Integrations | Meta https://about.fb.com/news/2024/09/ray-ban-meta-glasses-new-ai-features-and-partner-integrations/ Meta updates Ray-Ban smart glasses with real-time AI video, reminde

                  Meta×レイバンにより生まれたスマートグラス「Ray-Ban Meta」にリアルタイム音声翻訳などの新AI機能が追加
                • Vertex AI Agent BuilderによるChat Botの作り方 | gihyo.jp

                  手軽にAI Agentを作れるVertex AI Agent Builder Google CloudにはVertex AI Agent Builder(以降Agent Builder)というサービスがあります。4月9日から開催されたGoogle Cloud Nextで登場しました。 Agent Builderは簡潔に言えば、生成AIを使ったAgent(以下AI Agent)をGUIで簡単に作成できるサービスです。 Agent Builderの中にはSearch、Chat、Recommendations、Agentとあり、ユースケース別にアプリケーションを作成することができます。 Searchでは、セマンティック検索などを使ったドキュメント検索により、ユーザのインプットに合ったドキュメントを検索するアプリケーションを提供します。内部では Vertex AI Vector Search など

                    Vertex AI Agent BuilderによるChat Botの作り方 | gihyo.jp
                  • GitHub Copilot now available in github.com for Copilot Individual and Copilot Business plans

                    Today, GitHub Copilot Individual and Business plans now include preview access to Copilot functionality, including GitHub Copilot Chat, in github.com. The integration with GitHub allows Copilot to leverage the rich context from repositories, pull requests, issues, actions, and more, providing you with more valuable interactions, more tailored coding assistance, and an AI-native developer experienc

                      GitHub Copilot now available in github.com for Copilot Individual and Copilot Business plans
                    • Azure OpenAI Service で GPT-4o audio が使えるようになったので試してみた - Qiita

                      Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? この記事は何? Azure OpenAI Service で GPT-4o audio のモデルが利用可能になったので、サンプルアプリの設定を行って音声でやり取りを行ってみた際の手順のメモです。 GPT-4o audio とは? GPT-4o audio のモデル (現状使えるのは GPT-4o-realtime-preview)は、GPT-4o モデル ファミリの一部であり、低遅延の「音声入力、音声出力」会話インタラクションをサポートします。 つまり、今まで音声をインターフェイスにして言語モデルと対話を行う際には、Speech to

                        Azure OpenAI Service で GPT-4o audio が使えるようになったので試してみた - Qiita
                      • Hexagonal Architecture Explained

                        Hexagonal Architecture Explained How the Ports & Adapters architecture simplifies your life, and how to implement it “Looking at the screen of my laptop, I realized that it was full of code that didn’t let me understand what it did regarding business logic. From that moment I began to search until I discovered the architecture that decouples the business logic from the frameworks: Hexagonal Archit

                          Hexagonal Architecture Explained
                        • Amazon RDS for MySQL zero-ETL integration with Amazon Redshift, now generally available, enables near real-time analytics | Amazon Web Services

                          AWS News Blog Amazon RDS for MySQL zero-ETL integration with Amazon Redshift, now generally available, enables near real-time analytics Zero-ETL integrations help unify your data across applications and data sources for holistic insights and breaking data silos. They provide a fully managed, no-code, near real-time solution for making petabytes of transactional data available in Amazon Redshift wi

                            Amazon RDS for MySQL zero-ETL integration with Amazon Redshift, now generally available, enables near real-time analytics | Amazon Web Services
                          • Solved by CSS Scroll-Driven Animations: hide a header when scrolling down, show it again when scrolling up.

                            Recording of Fabrizio’s demo By adding a long transition-delay to a CSS property under certain conditions (which you can do using a Style Query), you can persist its value after the condition no longer applies. ~ Detecting the Scroll-Direction with CSS Scroll-Driven Animations One of the demos that I built as part of the “Solved by CSS Scroll-Driven Animations: Style an element based on the active

                              Solved by CSS Scroll-Driven Animations: hide a header when scrolling down, show it again when scrolling up.
                            • 効率的なコードコンペティションの作業フロー | ho.lc

                              Kaggle の Code Competition で Jupyter Notebook 形式のコードを提出する機会が多くなってきました。開発効率を考えるとブラウザを使うことなくサブミッションを作成したり更新する作業フローが欲しくなります。ブラウザをなるべく使わない作業フローを紹介し、Kaggle に必要な機能が何かを考察します。 まとめ¶ 長いので3行でまとめると、 実装するコードは Dataset として Kaggle にアップロードする コンペに投稿する Notebook は Dataset にあるコードを呼び出すだけ Notebook も Dataset も Kaggle CLI 経由で VSCode から更新してアップロードする ということです。 モチベーションはコードベースの大規模化¶ Kaggle の solution は大規模化していくことがあります。例えば icecube

                                効率的なコードコンペティションの作業フロー | ho.lc
                              • Ruby-SAML pwned by XML signature wrapping attacks | SSOReady

                                GitLab and others are affected. The blame lies in the SAML specification, and in credulous engineers that implement it. CVE-2024-45409 was published on September 10, 2024. It’s yet another XML signature wrapping attack, this time affecting the main Ruby implementation of SAML. The vuln allows an attacker log in as any arbitrary user of the affected system. This attack keeps coming up again and aga

                                • GitHub CopilotとGitHub ModelsでOpenAI o1のプレビュー開始

                                  Author Mario Rodriguez OpenAIのo1-previewとo1-miniがVS CodeのGitHub Copilot ChatとGitHub Modelsで利用できるようになりました。 本日より、Azure上でホストされているOpenAI o1-previewとo1-miniをGitHub CopilotとGitHub Modelsの両方で開発者がテストできるプレビューを開始します。サインアップすると、GitHub Copilot ChatでVisual Studio Codeと、GitHub ModelsのプレイグラウンドでOpenAI o1を利用できるようになります。 OpenAI o1 は、高度な推論機能を備えた新しい AI モデルシリーズで、内部思考プロセスを使用して複雑なタスクを考え抜くように訓練されています。GitHub CopilotでOpenAI

                                    GitHub CopilotとGitHub ModelsでOpenAI o1のプレビュー開始
                                  • Apple、macOS 15 Sequoiaで脆弱性が修正された「OpenSSH 9.8p1」を採用。

                                    AppleがmacOS 15 Sequoiaで脆弱性が修正された「OpenSSH 9.8p1」を採用しています。詳細は以下から。 Appleは現地時間2024年09月16日、iPhoneの画面をMacに映し出し操作できるiPhoneミラーリング機能やアプリケーションウィンドウをタイル状に並べられるウィンドウマネージャー機能、パスワードアプリを搭載した「macOS 15 Sequoia」をリリースしましたが、同バージョンではOpenSSHがアップデートされています。 Impact: Multiple issues in OpenSSH Description: This is a vulnerability in open source code and Apple Software is among the affected projects. The CVE-ID was assigne

                                      Apple、macOS 15 Sequoiaで脆弱性が修正された「OpenSSH 9.8p1」を採用。
                                    • 注文を受けてから握ったすしを2段高速レーンで送り出す松屋のすし業態関西初進出店舗「すし松 江坂店」に行ってきた

                                      牛めしチェーン店・松屋のすし業態「すし松」の関西1号店が2024年9月21日(土)にオープンします。9月20日にプレオープンと内覧会でお店を見られる機会があったので、関西初進出となった「すし松 江坂店」に行ってきました。 【松屋フーズ】松屋フーズのすし業態が関西初進出! 鮨専門店「すし松江坂店」オープン 9月21日(土)午前11時~ 大阪府吹田市で開店 | 株式会社松屋フーズホールディングスのプレスリリース https://prtimes.jp/main/html/rd/p/000000655.000047538.html すし松は松屋フーズのすし業態店舗で関東に13店舗を展開しており、14店舗目が関西初進出となる江坂店です。初登場が2006年であることを考えると、関西進出がかなりゆっくりに思えますが、すし松はすしチェーンとしては後発だったため、認知度とノウハウを得るのに10年以上の時間を

                                        注文を受けてから握ったすしを2段高速レーンで送り出す松屋のすし業態関西初進出店舗「すし松 江坂店」に行ってきた
                                      • http:, ftp:, and ... dict:?

                                        I went for a spelunk0 through an ancient codebase a few weeks ago which contained a curious regex that I just couldn't grok1. {<((https?|ftp|dict|tel):[^\'">\s]+)>}i I'm familiar with HTTP and FTP. I worked in the mobile industry, so knew that tel:+44... could be used to launch a dialer. But DICT?!?!?! It turns out that, lurking on the Internet are Dictionary Servers! They exist to allow you to qu

                                          http:, ftp:, and ... dict:?
                                        • Analyzing the OpenAPI Tooling Ecosystem

                                          Welcome to a new series of posts that will take you on a visual journey through the OpenAPI Specification (OAS) and its tooling ecosystem! Why diagram the OAS ecosystem? As part of the efforts to design OAS 3.2 and 4.0 “Moonwalk”, I wanted to figure out how different sorts of tools work with the OAS. Moonwalk is an opportunity to re-think everything, and I want that re-thinking to make it easier t

                                            Analyzing the OpenAPI Tooling Ecosystem
                                          • Introduction | ell documentation

                                            ell is a lightweight prompt engineering library treating prompts as functions. After years of building and using language models at OpenAI and in the startup ecosystem, ell was designed from the following principles: Prompts are programs, not strings¶ import ell @ell.simple(model="gpt-4o-mini") def hello(world: str): """You are a helpful assistant""" # System prompt name = world.capitalize() retur

                                              Introduction | ell documentation
                                            • カバレッジテストやログ解析機能の拡充を図った「Python in Visual Studio Code」

                                              Microsoftは現地時間2024年10月5日、Python in Visual Studio Codeの10月更新を公式ブログで報告した。インストール済みの場合はVisual Studio Codeの更新機能で、未インストールの場合はVisual Studio Codeの拡張機能管理や、Visual Studio Marketplace(Python、JupyterPylance)から拡張機能を入手できる。本バージョンはカバレッジテストや、Problem Matcher機能のサポート、Pylance言語サーバーモードを整理した。 カバレッジテストの実行結果(以下、公式ブログより) 従来のVisual Studio Codeでカバレッジテストを実行するには、Coverage Guttersなどの拡張機能が必要だったが、本バージョンからは標準で実行可能になった。ただし、Pythonであれば

                                                カバレッジテストやログ解析機能の拡充を図った「Python in Visual Studio Code」
                                              • Zero

                                                Developing web applications has gotten insanely complex. You need a tall pile of tech to build a "modern" web app: client-side code, server-side code, APIs to tie them together, data fetching, state management, hydration, websockets for reactivity, and a whole lot more. And once you're done, the resulting app still isn't very good. It's time for a rethink. We’re building a general-purpose sync eng

                                                  Zero
                                                • Assistants APIのベクターストアで大規模コード解析に挑戦! - 虎の穴開発室ブログ

                                                  こんにちは。虎の穴ラボ エンジニアの古賀です! 今回は、OpenAIの『Assistants API』を業務(ソースコードの調査や工数の見積もり)に活用した事例を紹介します。 はじめに これを試してみようと思った経緯としては、業務で大量のPHPのソースコードファイルについて、PHPのバージョンアップに伴う作業工数の見積もりを行うことになりました。 すべて人手で調査をするととても時間が掛かることが予想されたので、その際にPythonのプログラムとAssistants APIのFile Searchを使って、ソースコードファイルの仕様や概算の必要工数を出力するCLIのプログラムを作成し、ソースコードリーディングや見積もりに役立てることができるかどうかを検証してみました。 本記事では最初にAssistants APIについて紹介し、その後にサンプルプログラムを紹介します。 Assistants

                                                    Assistants APIのベクターストアで大規模コード解析に挑戦! - 虎の穴開発室ブログ
                                                  • Running Clang in the browser using WebAssembly · Blog · Wasmer

                                                    Back to articlesRunning Clang in the browser using WebAssemblyDiscover how to compile C programs directly from JavaScript or any browser (Chrome, Firefox, Safari), and explore the powerful capabilities of the Wasmer JS SDK We’ve reached a major milestone in making any software run with WebAssembly. Thanks to the newest release of Wasmer (4.4) and the Wasmer JS SDK (0.8.0) you can now run clang any

                                                      Running Clang in the browser using WebAssembly · Blog · Wasmer
                                                    • Rules of ReactをベースにReactとは一体なんなのかを改めて考えてみる - RevComm Tech Blog

                                                      はじめに Rules of Reactという安全で効果的なReactアプリケーションを記述するためのルールがReact公式から公開されました。 Writing idiomatic React code can help you write well organized, safe, and composable applications. These properties make your app more resilient to changes and makes it easier to work with other developers, libraries, and tools. These rules are known as the Rules of React. https://github.com/reactjs/react.dev/blob/40d73490733a

                                                        Rules of ReactをベースにReactとは一体なんなのかを改めて考えてみる - RevComm Tech Blog
                                                      • You Don’t Know Jack about Bandwidth – Communications of the ACM

                                                        Imagine you are a company with a lot of remote employees, and they all hate the local Internet service providers (ISPs). Videoconferences are the worst: People cannot hear each other, they randomly start sounding like Darth Vader, and they occasionally just disappear from the conversation. Or you are a small ISP, and your customers say they hate you. When you talk to your ISP or supplier, they say

                                                        • Hello Hotwire

                                                          Master the art of Hotwire & Ruby on Rails with free step-by-step modules and premium build-alongs. 🤝 What this course is about? Hello Hotwire is a free course with premium build-along modules for developers looking to dive into Hotwire using Ruby on Rails with a fresh perspective. ⚡️ Why use Hotwire? The truth is, you don't need to use Hotwire. It does, however, come stock in Rails 7.1+ apps. I l

                                                            Hello Hotwire
                                                          • 【保存版】ChatGPTの機能まとめ *随時更新|ChatGPT研究所

                                                            AI界隈では、日々新しい機能が追加されたり改良が加えられたりしています。 そのため、「ChatGPTの機能、多すぎて追いきれない…!」という悩みを抱えている方も多いのではないでしょうか。 大規模なアップデートはニュースで取り上げられますが、日々の機能改善や新しい使い方については、すべてを把握するのは難しいものです。 そこで今回は、ChatGPTをこれまで使ったことがないという方に向けても、ChatGPTの全機能を網羅的に紹介し、見落としがちな便利機能や知らなかった機能を発見してもらえるような内容をお届けします。 ※また、この記事は、ChatGPTにアップデートが入るたびに随時更新していきます。 それでは早速見ていきましょう! 10/9 更新…チャット画面のUIが更新されました。 そもそもChatGPTとは?ChatGPTは、OpenAIが開発したチャットAIです。自然な会話が可能で、これま

                                                              【保存版】ChatGPTの機能まとめ *随時更新|ChatGPT研究所
                                                            • Why I like Tcl

                                                              In this blurb, I'll try to convince you that Tcl isn't just an old clunky language for contrarian weirdos and that it is in fact a hidden gem for the power-hungry hacker who wants a simple (but not barren!) glue language, like a mix of sh and Scheme. Pros §Extremely consistent and elegant syntax described in 12 rules fitting in a short man page and no reserved keyword, nearing a Lisp/Forth level o

                                                              • Group Harmony vs. Individual Competition: Japan’s Cultural Balance

                                                                If you are familiar with Japan and someone asks if Japanese society is individualistic or collectivistic, the immediate answer would be “collectivistic.” And you would not be far from the truth. Yes, Japanese society is known for group harmony and collectivism, which are the foundation stones of its cultural values, where individuals prioritize the collective good over personal ambition. However,

                                                                  Group Harmony vs. Individual Competition: Japan’s Cultural Balance
                                                                • Rust panics under the hood, and implementing them in .NET

                                                                  Rust panics under the hood, and implementing them in .NET I am currently working on a Rust to .NET compiler, rustc_codegen_clr. To get it to work, I need to implement many Rust features using .NET APIs. One of such features is panicking and unwinding. This article is the first one in a series about Rust panics, unwinding, and my implementation of them in .NET. In this part, I will look at unwindin

                                                                  • Game Programming in Prolog - Part 1

                                                                    Introduction As a fan of unconventional programming paradigms, I enjoy learning new programming languages which are drastically different from the typical object-oriented ones such as C#, Java, and the like. The most iconic of them are LISP (which is a powerful language for both functional programming as well as metalinguistic patterns in software development) and Prolog (which is one of the most

                                                                      Game Programming in Prolog - Part 1
                                                                    • 20 years later, real-time Linux makes it to the kernel - really

                                                                      20 years later, real-time Linux makes it to the kernel - really The work done on real-time Linux has benefitted the open-source OS for years, but it was only this week that Linus Torvalds admitted its last piece into the mainline kernel. Exactly what took so long? sjvnVIENNA -- After 20 years, Real-Time Linux (PREEMPT_RT) is finally -- finally -- in the mainline kernel. Linus Torvalds blessed the

                                                                        20 years later, real-time Linux makes it to the kernel - really
                                                                      • Pledging $300,000 to the Zig Software Foundation

                                                                        My wife and I have pledged $300,0001 to the Zig Software Foundation (ZSF). The ZSF has posted their own announcement which clearly explains their mission and specifically what the money will be used for. Instead, I want to talk more broadly about why we've decided to support ZSF. I've been following the Zig project since sometime in 2019. I publicly shared my excitement about the project in 2021.

                                                                        • Type-erased generic functions for C: A modest non-proposal

                                                                          Earlier this year, I read Martin Uecker's proposal N3212 to add parametric polymorphism to C. It's easy to scoff at the idea of adding generic programming to plain C, when C++ already has templates, and nearly every modern systems language has some form of generic programming support, but it got me thinking there is an opportunity to do something meaningfully and usefully different from those othe

                                                                          • What’s New In Python 3.13

                                                                            What’s New In Python 3.13¶ Editors: Adam Turner and Thomas Wouters This article explains the new features in Python 3.13, compared to 3.12. Python 3.13 was released on October 7, 2024. For full details, see the changelog. Summary – Release Highlights¶ Python 3.13 is the latest stable release of the Python programming language, with a mix of changes to the language, the implementation and the stand

                                                                              What’s New In Python 3.13
                                                                            • Serverless servers: Efficient serverless Node.js with in-function concurrency - Vercel

                                                                              Building a compute layer that is highly-optimized for interactive workloads, server-rendering, and APIs We’re sharing a first look at a new version of Vercel Functions with support for in-function concurrency that brings the best of servers to serverless functions. We’ve been testing this new version with customers and are seeing a 20%-50% reduction in compute usage and respective cost reduction w

                                                                                Serverless servers: Efficient serverless Node.js with in-function concurrency - Vercel