並び順

ブックマーク数

期間指定

  • から
  • まで

161 - 200 件 / 320件

新着順 人気順

codeの検索結果161 - 200 件 / 320件

  • 【Python】HANTSを用いた時系列補正【時系列データ】 - LabCode

    HANTS法とは? HANTS(Harmonic ANalysis of Time Series)は、リモートセンシングデータの時系列解析に使用される手法の一つで、時系列データを周期的な成分(調和成分)に分解し、ノイズや異常値を除去しながらデータを再構築する手法です。今回はNDVIでよく利用されるZhou et al., 2015の方法をもとに、この方法の基本的な考え方と動作原理を以下に解説します。 HANTSの基本概念 1. 理論的背景 HANTS法は、フーリエ級数展開の考え方を基礎としています。フーリエ級数展開では、任意の周期関数を正弦波と余弦波の和で表現できるという原理を用います。HANTS法は、この原理を時系列データに適用し、データに含まれる様々な周期成分を抽出します。 2. 基本モデル HANTS法では、時系列データ $y(t_j)$を以下のようにモデル化します: $$ \til

      【Python】HANTSを用いた時系列補正【時系列データ】 - LabCode
    • しまむら、加賀美健さんの家族愛ユーモアが世間に受け入れられずコラボ商品を販売中止してお詫び : 市況かぶ全力2階建

      バースデイはいいぞ。可愛い服多い — たかぴー (@takahirokabuu) July 30, 2024 大手企業が売るものなのか…? pic.twitter.com/PBJhcNUMgW — Tokyo International Bank (@kanchan_en) July 30, 2024 しまむら的には家族愛の連想を意図したユーモアだってさ。 pic.twitter.com/qhYxfW9C5n — 須川鴈治🐥💥 (@mogeten) July 30, 2024 パパへの家族愛は1ミリも見えませんよね…。 — マホロバ@ただのおじさん (@TaurusAlma) July 30, 2024 現代美術作家なんだ。センスないね — ハセヲ (@hackroots_) July 30, 2024 加賀美健のユーモアわからんすぎる この人が叩かれるのはまた違うと思うけどコラボする

        しまむら、加賀美健さんの家族愛ユーモアが世間に受け入れられずコラボ商品を販売中止してお詫び : 市況かぶ全力2階建
      • Codestral Mamba

        Codestral MambaAs a tribute to Cleopatra, whose glorious destiny ended in tragic snake circumstances, we are proud to release Codestral Mamba, a Mamba2 language model specialised in code generation, available under an Apache 2.0 license. Following the publishing of the Mixtral family, Codestral Mamba is another step in our effort to study and provide new architectures. It is available for free use

        • Hono Conference 2024 - Our first step

          2024年6月22日(土)に第一回の「Hono Conference」を東京で行いました。Honoに焦点当てたトークのみで構成されるイベントとしては初の試みです。ですので、"Our first step"という副題をつけました。100人が参加し、イベントは大成功に終わりました。 この記事ではHono Conferenceについてレポートしたいと思います。 会場 会場はdocomo R&D OPEN LAB ODAIBAさんにお借りました。開放感がありとても素敵な会場でした。ありがとうございます! 参加者 以下のページで参加者を募りました。 定員90人のところ、140人の希望者がいました。人気のほどが伺えます。当日は、発表者も合わせて100人が参加しました。 Honoを以前に使ったことがあるか?という質問にほぼ全ての人が手を挙げていたのが印象的でした。 トーク イベントは午後1時から4時30

            Hono Conference 2024 - Our first step
          • 【Fortran】doループ、ファイルの入出力 - LabCode

            はじめに 前回の記事では、ソースコードをコンパイルするためのコンパイラのインストールを行い、「Hello, World!」をターミナル上に出力しましたが、これだけでは全く使い物になりません。 これからいくつかの記事に分けてFortranプログラミングを紹介していきますが、今回は、必ず知っておかなければならない繰り返し処理のための doループおよびファイルの入出力について説明します。 説明だけ見てもよくわからないと思いますので、1/4円の積分を使って円周率を求めるプログラムを例にとって説明します。

              【Fortran】doループ、ファイルの入出力 - LabCode
            • Joint Paris 2024 Boxing Unit/IOC Statement

              Every person has the right to practise sport without discrimination. All athletes participating in the boxing tournament of the Olympic Games Paris 2024 comply with the competition’s eligibility and entry regulations, as well as all applicable medical regulations set by the Paris 2024 Boxing Unit (PBU) (please find all applicable rules here). As with previous Olympic boxing competitions, the gende

                Joint Paris 2024 Boxing Unit/IOC Statement
              • GitHub Copilot for Businessの社内活用状況を大公開! - Insight Edge Tech Blog

                目次 はじめに GitHub Copilotとは 導入背景と期待効果 なぜGitHub Copilotを導入したのか 組織内の活用状況 GitHub Copilotの利用状況 利用者の声 まとめと今後の展望 まとめ 今後の展望 はじめに Insight Edgeで開発チームのLead Engineerをしている三澤です。 Insight Edgeではチームの開発効率の向上と品質の向上を狙い、さまざまなツールやサービスの検証と導入を進めています。その中で弊社内で活用しているGitHub Copilot Businessについて社内の活用状況を公開します。実際の利用統計の他、ソフトウェアエンジニア・データサイエンティストそれぞれの視点で感想を公開しますので是非ご覧ください。 GitHub Copilotとは GitHub Copilotは、GitHubが提供する開発者がコードをよりすばやく書き

                  GitHub Copilot for Businessの社内活用状況を大公開! - Insight Edge Tech Blog
                • Mastering Ruby Code Navigation: Major Ruby LSP Enhancements in the First Half of 2024

                  In the first half of 2024, Ruby LSP has seen significant enhancements, particularly in the area of code navigation, thanks to the advancement of its indexer. In this post, we’ll dive into the major code navigation enhancements that have been made to Ruby LSP. We’ll also touch on some experimental features that are on the horizon. NOTE While the Ruby LSP server (ruby-lsp gem) can be integrated with

                    Mastering Ruby Code Navigation: Major Ruby LSP Enhancements in the First Half of 2024
                  • 京急百貨店と伊勢定、ウナギを食べて元気になるどころか黄色ブドウ球菌による集団食中毒を発生させて死者まで出た件でお詫び : 市況かぶ全力2階建

                    デパ地下で買った鰻食って死ぬ人生とか嫌すぎるなあ — ピョン@鶏白湯 𝕏 🌙 (@solahatsuna) July 29, 2024 2024/07/29 京急百貨店 伊勢定京急百貨店「伊勢定」における集団食中毒についてhttps://www.keikyu.co.jp/company/news/2024/ 4000円前後のウナギ弁当を食べたら食中毒で苦しむとか一体何の罰ゲームだ・・・ — しーさいど@C104(日)東s20a&(月)東ネ16b (@SeasideExp) July 29, 2024 鰻も命がけやな。京急百貨店は一流だと思っていたのだけど… — りぷとん|●▲●| (@riputon3) July 29, 2024 黄色ブドウ球菌は怖いなあ たとえばパートさんが1人手荒れとかしてるの黙って素手作業やらするとアウトだし、この人手不足に繁忙期だと言いづらかったりあるよね…

                      京急百貨店と伊勢定、ウナギを食べて元気になるどころか黄色ブドウ球菌による集団食中毒を発生させて死者まで出た件でお詫び : 市況かぶ全力2階建
                    • Configure GitHub Artifact Attestations for secure cloud-native delivery

                      When deploying in a truly cloud-native way, we need to ensure that we can trust what we’re deploying at every step of our supply chain. We need to be certain that what we think we are deploying is what we are actually deploying. We recently made GitHub Artifact Attestations generally available, which allows you to create provenance and integrity guarantees to verify what you have built within GitH

                        Configure GitHub Artifact Attestations for secure cloud-native delivery
                      • Nostr and ATProto - Shreyan Jain

                        This post could’ve been titled “Nostr vs ATProto”, but that really isn’t what I wanted to do here. While I will be comparing and contrasting them a lot, and that’s kind of even the point of writing this, I didn’t want to really pit the two against each other at all, and especially not with the title. I also want to try avoiding commenting on the differences between the communities that have formed

                        • Rustlings Rewrite

                          Rustlings is a program with a set of small exercises to get you used to reading and writing Rust code 🦀 I have been working on version 6 of Rustlings for more than 3 months. During this time, I rewrote the whole program, extended it, improved the exercises and added idiomatic solutions. Now, I am happy to finally release it 🎉 In this blog post, I will talk a about my journey of becoming a mainta

                          • 外資系のSIerで鬱になった話|きゃべつ

                            こんばんは。きゃべつです。 noteを書くことによって自分の考えを整理できることに気づきました。今後も赴くままに記事を書いてみたいと思います。 今回は2年半ほど外資系のSIerで働き、色々と疑問に思うところがあったので記事にしてみました。(迷走してるので読みづらい) 努力とは将来への期待説私たちはなぜ、直ぐに成果を得られないものに努力をするのでしょうか。将来の成果への期待を持っているからだという話があります。正確には、予測した期待よりも大きな報酬の場合に学習するようですが、専門分野ではないので気になる方は「ドーパミンの報酬予測誤差」と調べてみてください。 ドーパミンの話を抜きにしても、自分の努力が将来への成果に結びつかないのであれば、努力を辞めてしまう(鬱になってしまう)のは当然の感覚だと思います。 私もSIerで2年半努力を重ねてきましたが、自分の仕事によって得られる成果を(どちらかとい

                              外資系のSIerで鬱になった話|きゃべつ
                            • GitHub - igrek51/wat: Deep inspection of Python objects

                              Deep inspection of Python objects. WAT is a powerful inspection tool that allows you to delve into and examine unknown objects at runtime. "Wat" is a variant of the English word "what" that is often used to express confusion or disgust If you find yourself deep within the Python console, feeling dazed and confused, wondering "WAT? What's that thing?", that's where the wat inspector comes in handy.

                                GitHub - igrek51/wat: Deep inspection of Python objects
                              • Properly Testing Concurrent Data Structures

                                Properly Testing Concurrent Data Structures Jul 5, 2024 There’s a fascinating Rust library, loom, which can be used to thoroughly test lock-free data structures. I always wanted to learn how it works. I still do! But recently I accidentally implemented a small toy which, I think, contains some of the loom’s ideas, and it seems worthwhile to write about that. The goal here isn’t to teach you what y

                                • Anthropic’s Claude 3.5 Sonnet ranks number 1 for business and finance in S&P AI Benchmarks by Kensho | Amazon Web Services

                                  AWS Machine Learning Blog Anthropic’s Claude 3.5 Sonnet ranks number 1 for business and finance in S&P AI Benchmarks by Kensho Anthropic’s Claude 3.5 Sonnet currently ranks at the top of S&P AI Benchmarks by Kensho, which assesses large language models (LLMs) for finance and business. Kensho is the AI Innovation Hub for S&P Global. Using Amazon Bedrock, Kensho was able to quickly run Anthropic’s C

                                    Anthropic’s Claude 3.5 Sonnet ranks number 1 for business and finance in S&P AI Benchmarks by Kensho | Amazon Web Services
                                  • Excel(エクセル)でバーコード・QRコードを無料作成する方法

                                    製造や小売りなどの現場の在庫管理で活用されているバーコードやQRコード(2次元コード)はExcel(エクセル)でも簡単に作成できます。実際に作成しながら手順をわかりやすく紹介します。 バーコードとは QRコードとの違い デンソーウェブの公式サイトによると、バーコードとは、バーとスペースの組合せにより、数字や文字などを機械が読み取れる形で表現したものです。バーコードには数字や記号だけでなく、以下の要素も含まれています。 クワイエットゾーン:バーコードの両端または周囲に配される余白 スタート/ストップキャラクタ:データの始まりと終わりを表す文字 チェックデジット:バーコードのデータが正しいかをチェックする バーコードの種類には用途や国によってさまざまな種類があります。たとえば、スーパーやコンビニで並び、POS管理が必要な食糧品や雑貨には、日本なら「49」と「45」から始まるJAN(Japane

                                      Excel(エクセル)でバーコード・QRコードを無料作成する方法
                                    • Use Llama 3.1 405B for synthetic data generation and distillation to fine-tune smaller models | Amazon Web Services

                                      AWS Machine Learning Blog Use Llama 3.1 405B for synthetic data generation and distillation to fine-tune smaller models Today, we are excited to announce the availability of the Llama 3.1 405B model on Amazon SageMaker JumpStart, and Amazon Bedrock in preview. The Llama 3.1 models are a collection of state-of-the-art pre-trained and instruct fine-tuned generative artificial intelligence (AI) model

                                        Use Llama 3.1 405B for synthetic data generation and distillation to fine-tune smaller models | Amazon Web Services
                                      • How it became like this? Ruby Range class

                                        Understanding the core class design and usage via its evolution Years ago, my studies into the Ruby Evolution started with the persuasion that mastering the programming language to express one’s intentions clearly and efficiently may grow significantly by understanding how it evolved and what intentions were put behind its various elements. Moving back through the history of a change of some eleme

                                          How it became like this? Ruby Range class
                                        • Actions Usage Metrics is generally available

                                          AI & MLLearn about artificial intelligence and machine learning across the GitHub ecosystem and the wider industry. Generative AILearn how to build with generative AI. GitHub CopilotChange how you work with GitHub Copilot. LLMsEverything developers need to know about LLMs. Machine learningMachine learning tips, tricks, and best practices. How AI code generation worksExplore the capabilities and be

                                            Actions Usage Metrics is generally available
                                          • Large Enough

                                            Large EnoughToday, we are announcing Mistral Large 2, the new generation of our flagship model. Compared to its predecessor, Mistral Large 2 is significantly more capable in code generation, mathematics, and reasoning. It also provides a much stronger multilingual support, and advanced function calling capabilities. This latest generation continues to push the boundaries of cost efficiency, speed,

                                              Large Enough
                                            • Apple、2024年7月のmacOS 14.6 SonomaやmacOS 13.6.8 Ventura、macOS 12.7.6 MontereyセキュリティアップデートでOpenSSHの脆弱性「regreSSHion (CVE-2024-6387)」を修正。

                                              Appleが2024年7月のmacOS 14.6 SonomaやmacOS 13.6.8 Ventura、macOS 12.7.6 MontereyセキュリティアップデートでOpenSSHの脆弱性「regreSSHion (CVE-2024-6387)」を修正しています。詳細は以下から。 Appleは現地時間2024年07月29日、最新のmacOS Sonomaに「macOS 14.6 Sonoma」アップデートをリリースするとともに、現在もサポートを続けているmacOS VenturaとMontereyに対しても、重要なセキュリティ修正を含んだ「macOS 13.6.8 Ventura」と「macOS 12.7.6 Monterey」を公開しましたが、 このアップデートには重要なセキュリティ修正が含まれ、すべてのユーザに推奨されます。 macOS Monterey 12.7.6より Ap

                                                Apple、2024年7月のmacOS 14.6 SonomaやmacOS 13.6.8 Ventura、macOS 12.7.6 MontereyセキュリティアップデートでOpenSSHの脆弱性「regreSSHion (CVE-2024-6387)」を修正。
                                              • Using Agents for Amazon Bedrock to interactively generate infrastructure as code | Amazon Web Services

                                                AWS Machine Learning Blog Using Agents for Amazon Bedrock to interactively generate infrastructure as code In the diverse toolkit available for deploying cloud infrastructure, Agents for Amazon Bedrock offers a practical and innovative option for teams looking to enhance their infrastructure as code (IaC) processes. Agents for Amazon Bedrock automates the prompt engineering and orchestration of us

                                                  Using Agents for Amazon Bedrock to interactively generate infrastructure as code | Amazon Web Services
                                                • Making a Linux-managed network switch

                                                  Network switches are simple devices, packets go in, packets go out. Luckily people have figured out how to make it complicated instead and invented managed switches. Usually this is done by adding a web-interface for configuring the settings and see things like port status. If you have more expensive switches then you'd even get access to some alternate interfaces like telnet and serial console po

                                                    Making a Linux-managed network switch
                                                  • Build your own SQLite, Part 1: Listing tables

                                                    As developers, we use databases all the time. But how do they work? In this series, we'll try to answer that question by building our own SQLite-compatible database from scratch. Source code examples will be provided in Rust, but you are encouraged to follow along using your language of choice, as we won't be relying on many language-specific features or libraries. As an introduction, we'll implem

                                                      Build your own SQLite, Part 1: Listing tables
                                                    • Dataflow with Python practical setup guide - LegalOn Technologies Engineering Blog

                                                      こんにちは、LegalOn Technologies検索・推薦チームの志水です。 私たちのチームでは Elasticsearch へのデータのインデキシングをCloud PubSub を queue として挟んで非同期にしており、その処理にDataflowを活用しています。Dataflow(=Google managed Apache Beam) はサーバーレスでスケーラブルなデータ処理を得意としています。 Python を用いたDataflowの活用については、例えばこちらの記事が網羅的です。 この記事では似たような観点に加え、Docker上で動かす工夫やintegration testの工夫も合わせて書いていければと思います。 全体像 パッケージ構成 pyproject.toml (Poetry) Pipeline Integration test DoFnのテスト DirectRun

                                                        Dataflow with Python practical setup guide - LegalOn Technologies Engineering Blog
                                                      • UXデザイナーがClaude3.5で生成したReactアプリをエンジニアが修正し2時間でリリース!両者の作業と感想を語ります - Qiita

                                                        UXデザイナーがClaude3.5で生成したReactアプリをエンジニアが修正し2時間でリリース!両者の作業と感想を語りますチーム開発React感想文生成AIclaude こんにちは。KDDIアジャイル開発センターのサービスデザイナー よねみちです。 生成AIを用いたto Bプロダクトのスクラム開発や、お客様のDX・新規事業創出のきっかけとなるデザインスプリント支援などを行っています。 はじめに Claude3.5 SonnetおよびArtifact機能の公開から約半月が経ちましたが、皆さま触ってみましたでしょうか? AIが生成したアプリやフロー図などのプレビューが見えて動かせちゃうあれです。今日時点は無料で使えますのでぜひ。 エックス等で様々なインフルエンサーが取り上げていますのでご存知の方は多いと思います。 「アプリが3分で完成!!」「エンジニア不要!!」なんて暴論は置いておくとして、

                                                          UXデザイナーがClaude3.5で生成したReactアプリをエンジニアが修正し2時間でリリース!両者の作業と感想を語ります - Qiita
                                                        • Tailwind CSS 独自のプロパティ名覚えるの大変だな → Master CSS にしようかな - Qiita

                                                          import React from 'react' import ReactDOM from 'react-dom/client' import App from './App.tsx' import './index.css' + import '@master/css' ReactDOM.createRoot(document.getElementById('root')!).render( <React.StrictMode> <App /> </React.StrictMode>, ) import { useState } from 'react' import reactLogo from './assets/react.svg' import viteLogo from '/vite.svg' import './App.css' function App() { const

                                                            Tailwind CSS 独自のプロパティ名覚えるの大変だな → Master CSS にしようかな - Qiita
                                                          • Exploring the Advanced RAG (Retrieval Augmented Generation) Service

                                                            In the ever-evolving landscape of AI, LLM + RAG (Retrieval Augmented Generation) is a typical use scenario. Retrieving accurate related chunked data from complicated docs and then improving LLM response quality becomes challenge. There is no a silver bullet RAG can address all requirements so far. Developers need to verify different advanced RAG techs to find out which is a proper one for their sc

                                                              Exploring the Advanced RAG (Retrieval Augmented Generation) Service
                                                            • 開発生産性とSecurity Shift Left

                                                              Developer Productivity室の @uncle__ko です。 サイバー攻撃のニュースなどが盛り上がり、セキュリティについて取り沙汰されることが多い昨今。 開発生産性においてもセキュリティ対策はとても重要です。 今回は開発生産性とSecurity Shift Leftについてまとめようかと思います。 DORAの定義するCapabilitiesにおけるSecurityFourkeysなどを提唱しているDORA(DevOps Research and Assessment)が、組織がソフトウェアの提供と組織のパフォーマンスの向上を促進するためにもつべきものを定義していたりします DORA | CapabilitiesDORA is a long running research program that seeks to understand the capabilities

                                                                開発生産性とSecurity Shift Left
                                                              • GitHub Actionsを利用したE2E自動化テストの実現 ~ Achieving E2E Automated Testing with GitHub Actions ~ 利用GitHub Actions实现E2E自动化测试 - スタディサプリ Product Team Blog

                                                                こんにちは。スタディサプリのQAチームです。 今回のBlogではスタディサプリで実施している自動化テストの一部の取り組みについて紹介させていただきます。 なお、スタディサプリQAチームの特性を活かし、本記事については日英中3言語で記載します。より多くのオーディエンスに読んで頂ければ嬉しいです。 自動化する動機 まず、なぜ自動化テストを導入するのでしょうか。 1. 新規機能が追加される度に、既存機能への影響を確認するための回帰テストをしなければなりません。 2. 繰り返し同じテストを手動実行することにより、テストコストが増加します。 3. 人間が実施すると、人為的ミスによる不具合の検出漏れが発生してしまう可能性が否定できません。 そのため、品質を担保した上でより早くリリースすることを目的とし自動化を導入しました。 現在の開発およびテストフロー QAが回帰テストの自動化テストスクリプトをGit

                                                                  GitHub Actionsを利用したE2E自動化テストの実現 ~ Achieving E2E Automated Testing with GitHub Actions ~ 利用GitHub Actions实现E2E自动化测试 - スタディサプリ Product Team Blog
                                                                • Python has too many package managers

                                                                  Python is a wonderful programming language. I’ve used it to build webapps, deep learning models, games, and do numerical computation. However there is one aspect of Python that has been an inexcusable pain-in-the ass over many years. That would be the fragmented Python package and environment management ecosystem, succinctly represented by the following XKCD comic: You see, a lot of other programm

                                                                  • 「SAPはオンプレユーザーを置いてきぼりにしている」 パートナーシップ、新機能の発表から考える

                                                                    SAPは、「ビジネスAI」というコンセプトを基にしたパートナーシップおよび新機能を相次いで発表した。ビジネスAIとは、SAPのデータが特定の業界におけるAIの具体的な活用にどう役立つかを示すものだ。 しかし、一部のアナリストは「AIへの注力は野心的だがオンプレミスの利用を続ける顧客を見落としている」「SAPはAIに少しばかり重点を置きすぎている」と指摘した。SAPのAIに関する取り組みとアナリストの意見を届ける。 オンプレユーザーはついていけない? AIとクラウドに注力するSAP 2024年6月3日(現地時間)の週に開催されたカンファレンス「SAP Sapphire」において、顧客やパートナー向けの新たな取り組みが強調された。取り組みの多くに、2023年の秋に発表されたSAPの生成AIアシスタントである「Joule」が関係している。Jouleは、コード生成やデジタルツインの構築、在庫レベル

                                                                      「SAPはオンプレユーザーを置いてきぼりにしている」 パートナーシップ、新機能の発表から考える
                                                                    • ゲーム感覚でプログラミングが学べる!|コードモンスター大図鑑 プログラミングでゲットだぜ!

                                                                      paizaスキルチェックで公開中のコラボ問題に挑戦し、結果をXで投稿してください。 Xアカウントをお持ちでない方はアカウントを作成してからご参加ください。 ゲーム内のシェアボタンからハッシュタグ「#コードモンスター大図鑑」をつけてXで投稿してください。 Xアカウントをお持ちでない方はアカウントを作成してからご参加ください。 シェアボタン設置ページ トップページ、マイページ、ガチャコンプリートシート、ガチャ結果、ストーリーページ X(旧Twitter)で「@paiza_official」をフォローし、「#コードモンスター大図鑑」のついた指定の投稿をリポストしてください。 Xアカウントをお持ちでない方はアカウントを作成してからご参加ください。 STEP1 paiza公式Xアカウントをフォロー 「コードモンスター大図鑑 プログラミングでゲットだぜ!」(以下「本ゲーム」といいます。)をプレイする方

                                                                        ゲーム感覚でプログラミングが学べる!|コードモンスター大図鑑 プログラミングでゲットだぜ!
                                                                      • Where Should Visual Programming Go? @ tonsky.me

                                                                        Where Should Visual Programming Go? There’s a wonderful article by Sebastian Bensusan: “We need visual programming. No, not like that.” (the dot is part of the title ¯\_(ツ)_/¯). In it, Sebastian argues that we shouldn’t try to replace all code with visual programming but instead only add graphics where it makes sense: Most visual programming environments fail to get any usage. Why? They try to rep

                                                                          Where Should Visual Programming Go? @ tonsky.me
                                                                        • Ladybird

                                                                          Announcement | July 1st 2024 Announcing the Ladybird Browser Initiative Hello friends! Today I want to share with you our plans for the next chapter of Ladybird, the truly independent, open source web browser we’ve been developing from scratch for the past few years. Ladybird uses a brand new engine based on web standards, without borrowing any code from other browsers. It started as a humble HTML

                                                                          • C# Source Generator 開発チュートリアル

                                                                            こんにちは、そして、お久しぶりです。 Aiming の土井です。 今年はファミリーベーシック40周年だそうです。小学生の頃に触れて、ゲームのプログラムを書く仕事を志したという思い出があり感慨深いですね。年齢は秘密です! 今回は「C# Source Generator の作り方」について書いていきます。 ソースジェネレーターとは ソース ジェネレーターとは、.NET Compiler Platform (“Roslyn”) SDK で提供される、「コンパイル時コード生成機能」です。自動生成されたソースコードは、裏側に隠れ、生成コードを使用していることを意識せず、動的なコード生成による柔軟な実装を行うことができるようになります。 ソースジェネレーターは、アセンブリ単位毎に、コードに変更が入ったタイミングで動作し、任意のコード生成処理を実装することができます。 ユースケース 外部 DLL を参照

                                                                              C# Source Generator 開発チュートリアル
                                                                            • DjangoでWebアプリを作成したあとに振り返って考えてみた「Webアプリとは何か」 - Qiita

                                                                              Webアプリはどんな処理をするのか 処理1:ブラウザからWebアプリに処理をリクエストする 処理2:Webサーバーで処理する 静的コンテンツの要求であれば、処理4のようにWebサーバーからレスポンスデータをブラウザに返す 動的に作らなければならないコンテンツならAPサーバーに処理を依頼する。 処理3:APサーバーで処理する 必要であればデータベースからデータを取得し、レスポンスデータを作成する レスポンスデータをWebサーバーに返す 処理4:Webサーバーからレスポンスデータをブラウザに返す Webアプリはどうやって構築するのか DjangoでWebアプリを作成したときに利用したソフトウェアやサービスです。その機能と役割を一つひとつ見ていきたいと思います。 Python Pythonとは何か Pythonは、シンプルで読みやすいコードが特徴のプログラミング言語です。多くの用途に対応できる汎

                                                                                DjangoでWebアプリを作成したあとに振り返って考えてみた「Webアプリとは何か」 - Qiita
                                                                              • ravixUI がアクセシビリティ対応の参考になりそう

                                                                                まえがき Astro のブログではコミュニティ発のライブラリも紹介されているのですが、What's new in Astro - June 2024 で An open-source, accessibility-focused component starter kit built with Tailwind CSS and optimized for Astro と紹介されていた ravixUI がアクセシビリティに配慮したマークアップの参考になりそうだったので紹介します。 ravixUI とは Tailwind CSS によってスタイリングされ、特に Astro 用に最適化された、アクセシビリティ重視のコンポーネントスターターキットです。 なお HTML 版と Astro 版が提供されているため、Astro を使っていない人でも使えます。 (Astro コンポーネントを書いたことがあ

                                                                                  ravixUI がアクセシビリティ対応の参考になりそう
                                                                                • その try-catch、意味がありますか?NestJSにおける例外処理の戦略 | TrustHub テックブログ

                                                                                  弊社(トラストハブ)では、バックエンドのプログラミング言語として TypeScript、ウェブフレームワークとしてNestJSを採用しています。本記事では、NestJSの特長を生かした、実際に弊社で採用されている例外処理の戦略について述べます。 その try-catch、意味がありますか? TypeScriptのコードにおいて、try-catch が使われている場面をたびたび見かけます。 try-catch で囲う意図としては以下のようなものがあると思います。 例外をハンドリングすることで処理を継続したい。 例外の型によって処理を分岐したい。 例外の内容をログに出力したい。 例外をハンドリングする必要がありますか 例外は、例外的な状態なので例外なのです。 例外が発生した多くの場合、書かれたコードでは処理を継続できない状況が発生します。処理を継続できない状況において、例外を catch して

                                                                                    その try-catch、意味がありますか?NestJSにおける例外処理の戦略 | TrustHub テックブログ