並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 20 件 / 20件

新着順 人気順

python try except vs try catchの検索結果1 - 20 件 / 20件

  • Announcing AWS Lambda Function URLs: Built-in HTTPS Endpoints for Single-Function Microservices | Amazon Web Services

    AWS News Blog Announcing AWS Lambda Function URLs: Built-in HTTPS Endpoints for Single-Function Microservices Organizations are adopting microservices architectures to build resilient and scalable applications using AWS Lambda. These applications are composed of multiple serverless functions that implement the business logic. Each function is mapped to API endpoints, methods, and resources using s

      Announcing AWS Lambda Function URLs: Built-in HTTPS Endpoints for Single-Function Microservices | Amazon Web Services
    • The Prompt Engineering Playbook for Programmers

      Developers are increasingly relying on AI coding assistants to accelerate our daily workflows. These tools can autocomplete functions, suggest bug fixes, and even generate entire modules or MVPs. Yet, as many of us have learned, the quality of the AI’s output depends largely on the quality of the prompt you provide. In other words, prompt engineering has become an essential skill. A poorly phrased

        The Prompt Engineering Playbook for Programmers
      • 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

        • The Ultimate Guide to Error Handling in Python

          I often come across developers who know the mechanics of Python error handling well, yet when I review their code I find it to be far from good. Exceptions in Python is one of those areas that have a surface layer that most people know, and a deeper, almost secret one that a lot of developers don't even know exists. If you want to test yourself on this topic, see if you can answer the following qu

            The Ultimate Guide to Error Handling in Python
          • A Walk with LuaJIT

            The following is a chronicle of implementing a general purpose zero-instrumentation BPF based profiler for LuaJIT. Some assumptions are made about what this entails and it may be helpful to read some of our other work in this area. One major change from prior efforts is that instead of working with the original Parca unwinder we are now working with the OpenTelemetry eBPF profiler. If you missed t

              A Walk with LuaJIT
            • The joy of building a ray tracer, for fun, in Rust. // flurries of latent creativity

              TLDR? You can find the code and a bunch of examples on GitHub at dps/rust-raytracer. Over the holiday break, I decided to learn Rust. Rust is a modern systems programming language which has a really interesting type system. The type system can catch broad classes of common programming mistakes - e.g. ensuring memory is accessed safely - at compile time while generating tight, performant machine co

                The joy of building a ray tracer, for fun, in Rust. // flurries of latent creativity
              • Blogged Answers: My Experience Modernizing Packages to ESM

                Random musings on React, Redux, and more, by Redux maintainer Mark "acemarke" Erikson This is a post in the Blogged Answers series. Details on the painful experiences and hard-earned lessons I've learned migrating the Redux packages to ESM Table of Contents 🔗︎ Introduction Redux Packages Background Packages and Configurations Issue History Early Attempts Migrating to Vitest Initial Alpha Testing

                  Blogged Answers: My Experience Modernizing Packages to ESM
                • prompts.chat - AI Prompts Community

                  --- name: skill-creator description: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations. license: Complete terms in LICENSE.txt --- # Skill Creator This skill provides guidance for creating effective skills. ## About Skills S

                    prompts.chat - AI Prompts Community
                  • AWS公式のECSハンズオンがとても良かった!! - Qiita

                    はじめに お疲れ様です。矢儀 @yuki_ink です。 こちらのAWS公式ハンズオンをやってみました。 ECSとFargate/EC2を利用した環境構築から、CI/CDパイプラインを利用したデプロイまで、一通り体験できる素晴らしいハンズオンでした。 次のようなみなさんにおすすめです。 ECSを知識として知ってはいるが、実際に触ったことがない コンテナの何が優れているのか、実感を持っては理解できない CI/CDパイプラインでコンテナをデプロイしてみたい ハンズオンで構築する環境の構成イメージはこちら。 1. VS Code Serverの構築 このハンズオンでは、開発環境として Visual Studio Code Server (VS Code Server) を利用するとのことで、まず、CloudFormationでVS Code Serverを構築していきます。 ハンズオンページの

                      AWS公式のECSハンズオンがとても良かった!! - Qiita
                    • Why We Use Julia, 10 Years Later

                      Exactly ten years ago today, we published "Why We Created Julia", introducing the Julia project to the world. At this point, we have moved well past the ambitious goals set out in the original blog post. Julia is now used by hundreds of thousands of people. It is taught at hundreds of universities and entire companies are being formed that build their software stacks on Julia. From personalized me

                        Why We Use Julia, 10 Years Later
                      • What's New in Emacs 28.1?

                        Try Mastering Emacs for free! Are you struggling with the basics? Have you mastered movement and editing yet? When you have read Mastering Emacs you will understand Emacs. It’s that time again: there’s a new major version of Emacs and, with it, a treasure trove of new features and changes. Notable features include the formal inclusion of native compilation, a technique that will greatly speed up y

                        • The AI-Native Software Engineer

                          An AI-native software engineer is one who deeply integrates AI into their daily workflow, treating it as a partner to amplify their abilities. This requires a fundamental mindset shift. Instead of thinking “AI might replace me” an AI-native engineer asks for every task: “Could AI help me do this faster, better, or differently?”. The mindset is optimistic and proactive - you see AI as a multiplier

                            The AI-Native Software Engineer
                          • April 2021 (version 1.56)

                            Join a VS Code Dev Days event near you to learn about AI-assisted development in VS Code. Update 1.56.1: The update addresses these security issues. Update 1.56.2: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the April 2021 release of Visual Studio Code. The VS Code team has been busy this month working

                              April 2021 (version 1.56)
                            • JSON is not JSON Across Languages | Dochia CLI Blog

                              Introduction: These Aren’t the JSONs You’re Looking For JSON (JavaScript Object Notation) was designed as a simple, lightweight, and human-readable data interchange format, often positioned as a more accessible alternative to XML. It has become the de facto standard for web APIs and system integration. However, while the specification itself is straightforward, different programming languages and

                                JSON is not JSON Across Languages | Dochia CLI Blog
                              • Python の常識は Julia の非常識 -- 91項目を列挙-- - Qiita

                                Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Python の常識は Julia の非常識 以下は,ChatGPT に聞いたものを編集したものです。 Julia では、Python と同じ感覚でコードを書くと、パフォーマンスが落ちることがあるため、Julia の特性に合わせたコーディングスタイルを習得することが重要です。 Python での慣習や手法をそのまま Julia に持ち込むのではなく、Julia に最適化されたアプローチを取ることが重要です。 Julia と Python は、それぞれ異なる設計哲学に基づいており、パフォーマンスやコードの設計にも大きな違いがあります。Ju

                                  Python の常識は Julia の非常識 -- 91項目を列挙-- - Qiita
                                • Debunking zswap and zram myths

                                  tl;dr: If in doubt, prefer to use zswap. Only use zram if you have a highly specific reason to. In terms of architecture: zswap sits in front of your disk swap, compresses pages in RAM, and automatically tiers cold data to disk. It integrates directly with the kernel's memory management and distributes pressure gracefully. zram is a compressed RAM block device with a hard capacity limit. When you

                                    Debunking zswap and zram myths
                                  • How to Get or Create in PostgreSQL

                                    "Get or create" is a very common operation for syncing data in the database, but implementing it correctly may be trickier than you may expect. If you ever had to implement it in a real system with real-life load, you may have overlooked potential race conditions, concurrency issues and even bloat! In this article I explore ways to "get ot create" in PostgresSQL. Illustration by Abstrakt Design Ta

                                      How to Get or Create in PostgreSQL
                                    • Python の常識は Julia の非常識 -- 91項目を列挙-- - Qiita

                                      Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Python の常識は Julia の非常識 以下は,ChatGPT に聞いたものを編集したものです。 Julia では、Python と同じ感覚でコードを書くと、パフォーマンスが落ちることがあるため、Julia の特性に合わせたコーディングスタイルを習得することが重要です。 Python での慣習や手法をそのまま Julia に持ち込むのではなく、Julia に最適化されたアプローチを取ることが重要です。 Julia と Python は、それぞれ異なる設計哲学に基づいており、パフォーマンスやコードの設計にも大きな違いがあります。Ju

                                        Python の常識は Julia の非常識 -- 91項目を列挙-- - Qiita
                                      • Sketch of a Post-ORM

                                        I’ve been writing a lot of database access code as of late. It’s frustrating that in 2023, my choices are still to either write all of the boilerplate by hand, or hand all database access over to some inscrutable “agile” ORM that will become a crippling liability in the 2-3y timescale. This post is about how I want to use databases, from the perspective of an application server developer—not a DBA

                                          Sketch of a Post-ORM
                                        • Django for Startup Founders: A better software architecture for SaaS startups and consumer apps

                                          In an ideal world, startups would be easy. We'd run our idea by some potential customers, build the product, and then immediately ride that sweet exponential growth curve off into early retirement. Of course it doesn't actually work like that. Not even a little. In real life, even startups that go on to become billion-dollar companies typically go through phases like: Having little or no growth fo

                                          1