並び順

ブックマーク数

期間指定

  • から
  • まで

281 - 320 件 / 3061件

新着順 人気順

migrationsの検索結果281 - 320 件 / 3061件

  • Welcome to Wildebeest: the Fediverse on Cloudflare

    Welcome to Wildebeest: the Fediverse on Cloudflare2023-02-08 The Fediverse has been a hot topic of discussion lately, with thousands, if not millions, of new users creating accounts on platforms like Mastodon to either move entirely to "the other side" or experiment and learn about this new social network. Today we're introducing Wildebeest, an open-source, easy-to-deploy ActivityPub and Mastodon-

      Welcome to Wildebeest: the Fediverse on Cloudflare
    • Software engineering practices

      1st October 2022 Gergely Orosz started a Twitter conversation asking about recommended “software engineering practices” for development teams. (I really like his rejection of the term “best practices” here: I always feel it’s prescriptive and misguiding to announce something as “best”.) I decided to flesh some of my replies out into a longer post. Documentation in the same repo as the code Mechani

        Software engineering practices
      • Is Prisma ORM an ORM? | What is an ORM? | Prisma Documentation

        To answer the question briefly: Yes, Prisma ORM is a new kind of ORM that fundamentally differs from traditional ORMs and doesn't suffer from many of the problems commonly associated with these. Traditional ORMs provide an object-oriented way for working with relational databases by mapping tables to model classes in your programming language. This approach leads to many problems that are caused b

          Is Prisma ORM an ORM? | What is an ORM? | Prisma Documentation
        • Migrating millions of lines of code to TypeScript

          On Sunday March 6, we migrated Stripe’s largest JavaScript codebase (powering the Stripe Dashboard) from Flow to TypeScript. In a single pull request, we converted more than 3.7 million lines of code. The next day, hundreds of engineers came in to start writing TypeScript for their projects. Seriously unreal. I remember a short time ago laughing at the idea of typescript ever landing at Stripe, an

            Migrating millions of lines of code to TypeScript
          • golang-migrateでDBマイグレーション | DevelopersIO

            golang-migrateとは? Go言語で作成されたDBマイグレーションツールで、GO言語のライブラリとしてだけではなく、CLIからも利用できます。そのためJavaで開発されているprismatixというサービスでも利用することができます。 JavaのマイグレーションツールにFlywayやliquibaseといったものがあります。その中でこのツールの特徴は、マイグレーションを定義しているファイルをGitHubやAWS S3などから直接参照することができることです。(もちろんローカルのファイルシステムにも対応しています) また対応しているデータベースエンジンも多く、MySQLやPostgreSQL以外にもMongoDBなどにも対応しているなど、様々な場面で使うことができるツールだと思います。 環境構築 今回は手軽に試すためにdocker上で、golang-migrateとPostgreS

              golang-migrateでDBマイグレーション | DevelopersIO
            • ASCIIcasts - Recent Episodes

              415 Upgrading to Rails 4 Other translations: With the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here we walk you through the steps to upgrade a Rails 3.2 application to Rails 4. Tags: rails-40 412 Fast Rails Commands Other translations: Rails commands, such as generators, migrations, and tests, have a tendency to be slow because they need to load the Rails app each ti

              • 秘伝のredash v1.0.3 から redash v8.0.0 on ECSになるまで - KAYAC engineers' blog

                この記事はTech KAYAC Advent Calendar 2019 Update/MigrationTrack 3日目の記事です。 昨年のAdvent Calendarで闇のredash の記事を書いていたゲームコミュニティ(Lobi)事業部の自称データエンジニアの池田です。今回も、redashについて記事を書いていきたいと思います。 redashは様々な種類のデータソースにアクセスできる、OSSの素晴らしいダッシュボードツールです。 2017-01-31にv1.0.0-rc.1のリリースされて以来開発が続けられており、この前の2019-10-27にv8.0.0 がリリースされました。 今後もビジネスインテリジェンスの現場でのダッシュボードツールの選択肢として利用され続けることでしょう。 ゲームコミュニティ事業部でのRedashの課題 私の所属するゲームコミュニティ事業部でも、以前本

                  秘伝のredash v1.0.3 から redash v8.0.0 on ECSになるまで - KAYAC engineers' blog
                • Kubernetes made my latency 10x higher

                  Update: it looks this post has gotten way more attention than I anticipated. I’ve seen / received feedback that the title is misleading and some people get dissapointed. I see why, so at the risk of spoiling the surprise, let me clarify what this is about before starting. As we migrate teams over to Kubernetes, I’m observing that every time someone has an issue, like “latency went up after migrati

                  • デプロイツールCapistranoいいよー - webネタ

                    正月だし書き溜めてある記事を除々に投下していく(。´ω`。) デプロイについて 開発環境で作ったものを本番環境にUPするときデプロイとか言いますが、色々な方法があります。 優劣的には、WinSCP <<< rsync <<<<<<<<<<<<<<<<< Capistrano です。 rsyncだけとかもうツライです。 Capistranoのインストール 簡単インストール sudo gem update --system sudo gem install capistrano sudo gem install capistrano_colors sudo gem install capistrano-ext sudo gem install capistrano_rsync_with_remote_cache デプロイ先の設定ファイルを生成 mkdir ~/deploy cd ~/deplo

                      デプロイツールCapistranoいいよー - webネタ
                    • hiromi2424の日記

                      訳 CakePHPコアチームはCakePHP2.0.5*1と1.3.14*2を素早くリリースできたことを誇りに思います。 2.0.4から合計で、90以上のコミットがあり、40以上の問題が解決されました。変更の完全なリストは変更ログページ*3で見ることができますが、以下に2.0.5で成された変更の簡単なまとめを挙げます: Cacheにおける返り値が正しく直されました。ドキュメントにあるように、falseが常に失敗を指し示します。 foreignKeyのないhasOneアソシエーションによる連鎖削除(cascading deletes)が正しく動作するようになりました。 SQLiteのために、キャッシュファイルのファイル名に「"」*4を含まないようになりました。 テーマのアセットファイルのファイル名が空白文字を含む場合でも、ディスパッチャーを通して正しく配信されるようになりました。 ViewT

                        hiromi2424の日記
                      • SELECT ’Hello, World’ - Neon

                        SELECT ’Hello, World’Serverless Postgres built for the cloud We have just launched Neon to provide you with the best Postgres experience in the cloud. You can sign up to our waitlist right now and experience serverless Postgres enabled by the separation of storage and compute. The service is still gated by the waitlist as we are onboarding more and more users every day, and we expect to open it up

                          SELECT ’Hello, World’ - Neon
                        • DevTools architecture refresh: migrating to JavaScript modules  |  Blog  |  Chrome for Developers

                          As you might know, Chrome DevTools is a web application written using HTML, CSS and JavaScript. Over the years, DevTools has gotten more feature-rich, smarter and knowledgeable about the broader web platform. While DevTools has expanded over the years, its architecture largely resembles the original architecture when it was still part of WebKit. This post is part of a series of blog posts describi

                          • Dark Side of DevOps

                            Transcript Protsenko: My name is Mykyta. I work at Netflix. My job is basically making sure that other developers don't have to stay at work late. I call it a win when they can leave at 5 p.m., and still be productive. I work in the platform organization, namely in productivity engineering, where we try to abstract toil away for the rest of engineers. Where we try to make sure that the engineers c

                              Dark Side of DevOps
                            • Rails初学者に向けたマイグレーションの仕組みと実践方法 | 株式会社divx(ディブエックス)

                              目次[非表示] 1.はじめに 2.実施環境 3.マイグレーションとは 4.up・downについて 5.修正方法2つ 5.1.修正したマイグレーションファイルの追加 5.2.ロールバック 5.3.changeについて 6.NO FILEと表示された時の対処法 6.1.そもそもなぜこのようなエラーが起こるか 6.2.解決方法 7.終わりに 8.お悩みご相談ください はじめにエンジニアのみなさん、こんにちは。 入社してから1年が過ぎ、日々知識を吸収しながら業務にあたっています。 最近Ruby on Rails(以下、Rails)での開発案件にアサインされました。 Rails自体は過去に一度触ったことがありますが、その時にはバックのロジックを修正しただけで、データベース(以下、DB)設計などはしたことがありませんでした。 実際に業務を進めていく中でDB設計をすることとなり、「マイグレーション」とい

                                Rails初学者に向けたマイグレーションの仕組みと実践方法 | 株式会社divx(ディブエックス)
                              • Migrationsプラグインの実践的運用 - 24時間CakePHP

                                CakePHP Advent Calendar 2011 CakePHP Advent Calendar 2011 : ATND 20日目の記事です。 19日目:akiyanさんCakePHPの「OrderdBehavior」と「TreeBehavior」はマジで使うべき : akiyan.com イントロダクション CakeDCが提供しているMigrationsプラグインは、データベースのインクリメンタルなバージョン管理を行うプラグインで、githubでホストされています。 RoR(Ruby on Rails)のMigrationsをリスペクトしているのは間違いなさそう(どこにも書いてないけど)ですが、中身はそれなりに違います。 Migrationsプラグインの詳細な説明は CakePHP Migrations plugin: easily version and deploy whol

                                  Migrationsプラグインの実践的運用 - 24時間CakePHP
                                • Introducing new features for the aws-sdk-rails gem | Amazon Web Services

                                  AWS Developer Tools Blog Introducing new features for the aws-sdk-rails gem The Ruby SDK team is happy to announce that we’ve added new features and consolidated existing gems into the aws-sdk-rails gem to make developing Rails applications using AWS easier than ever. Features supported Amazon Simple Queue Service (SQS) queue adapter for ActiveJob (new) ActiveSupport::Notification instrumentation

                                    Introducing new features for the aws-sdk-rails gem | Amazon Web Services
                                  • Migrating from v1 to v2 - webpack

                                    The following sections describe the major changes from webpack 1 to 2. Note that there were far fewer changes between 2 and 3, so that migration shouldn't be too bad. If you are running into issues, please see the changelog for details. This content may be moved to the blog post in the near future as version 2 has been out for a while. On top of that, version 3 was recently released and version 4

                                    • GitLab 6.0をインストールする - shoya.io

                                      GitLabとはGitHubクローンのひとつで、ソースコードの管理やコードレビュー、複数人でのプロジェクト開発を円滑にするツールです。GitHubとの違いは、無料でプライベート(非公開の)リポジトリをいくつでも作ることができる点と、社外・学外のサーバーに機密情報を含むデータを預ける必要がない点にあります。(GitHub Enterpriseとの比較は割愛) 今回は大学の計算機にGit/GitLab環境を構築したので、その手順メモを記しました。インストールガイドを参考に、redisの起動など足りないところを補完してあります。 GitLabのインストール方法はバージョンによって少しずつ異なります。6.1, 6.2はsidekiqの立ち上げに問題があるので、2013年11月現在は6.0を導入するのが最善かと思われます。 setup 環境 Debian 6.0.8 GitLab 6.0 git 1

                                      • DNS History: Exploring Your Domain's Past by inspecting DNS trails

                                        DNS History: Exploring Your Domain's Past by inspecting DNS trails What insights can DNS history reveal about domain names? As the term suggests, this record tracks all modifications to a domain’s DNS settings over time, offering invaluable information for both security and strategy. That’s why today we will explore the concept of DNS history, the type of DNS records involved, and the various tool

                                          DNS History: Exploring Your Domain's Past by inspecting DNS trails
                                        • Sinatra(Ruby製軽量フレームワーク)の使い道を本気で検証してみた - ANDPAD Tech Blog

                                          この記事は ANDPAD Advent Calendar 2022の 20 日目の記事です。 こんにちは、アンドパッドに今年の 9 月に入社しました、 田上(shuntagami)です。アンドパッドでは図面チームに所属していて、主にサーバーサイドを担当しています。Ruby と Rails を使うことが多く、Go や TypeScript を書くこともあります。 本記事の概要 以下のようなケース 将来的に規模が大きくなることも想定されるアプリケーションの API サーバーを 0 から開発する際のメインフレームワークとして 既存の大きく成長した Rails アプリケーションの一部をマイクロサービスとして切り出したいケース において Ruby 製の軽量フレームワーク Sinatraを採用することが生産性高く開発を行う上で最適解のひとつになるのではと考え技術検証してみた、という記事です。経緯として

                                            Sinatra(Ruby製軽量フレームワーク)の使い道を本気で検証してみた - ANDPAD Tech Blog
                                          • 自分をコピーするbotを作る - AnyType

                                            自分のTwitterアカウントをコピーするbotを簡単に作れるmirror botというものを作りました。@naoty_botはこれを使って作りました。 @naoty_k なんでわざわざ大金払って太ろうとしてるの?バカなの?— なおてぃー(bot) (@naoty_bot) 2014, 11月 10 コピーbotを作る手順 1. bot用のアカウントを作ります。 2. 人間とbotそれぞれのアカウントでTwitterアプリケーションを作ります。ここから作れます。そして、人間とbotの両方のアカウント用の「Consumer Key」「Consumer Secret」「Access Token」「Access Token Secret」を取得します(下のスクショのモザイクかかってるところです)。 追記: bot用のアプリケーションを作成する際、権限をRead and Writeにする必要があり

                                              自分をコピーするbotを作る - AnyType
                                            • Laravelのデバッグツール、Laravel Telescopeを試した - Innovator Japan Engineers’ Blog

                                              先日、Laravel Telescope のBetaがリリースされました。 これを書いている時点でのstableは0.1.3ですが、1.0ブランチが進行中です。 Laravel TelescopeはLaravelオーガニゼーション謹製のデバッグツールで、リクエストや例外、ログ、DBクエリなど多くのものを監視して表示することができます。 Laravelのデバッグツールといえば Laravel Debugbar ですが、これを置き換えるものになるかもしれないので試しました。 導入 readmeのとおりに進めます。 readmeにも書いてあるとおり、 Laravel 5.7.7 以上 が必要です 私の環境では bcmath拡張モジュールの導入 が必要でした デバッグを試す関係上、現在稼働中システムの開発環境に導入していますので、まっさらの環境だと他にも導入が必要かもしれません 準備ができたら以下

                                                Laravelのデバッグツール、Laravel Telescopeを試した - Innovator Japan Engineers’ Blog
                                              • 大コンテナ時代における.gitを使うワークフローの難点を解決するためにGitHubDDLを作った - ぱいぱいにっき

                                                こんにちは、この記事はPerl Advent Calendar 2021の4日目の記事です。 3日目は@yoku0825さんのPerlで作られたMySQL用の何かについてでした。日々お世話になっている、pt-query-digestがPerlで作られているのは知っていたのですが、他にもいろいろPerl製ツールがあるんですね。 さて、最近仕事で発生した課題を解決するためにGitHubDDLというCPANモジュールを作ったので紹介させていただきます。 TL;DR コンテナ環境において、プロジェクトの.gitをコンテナイメージに焼いたり、volume mountを行うのはいくつかの面で望ましくない 仕事ではDBスキーママイグレーションに.gitを用いるGitDDLを使用していた 以上のために、ECSでEFSマウントで.gitをマウントして構成が複雑になったり、.gitをイメージに焼いてpullが

                                                  大コンテナ時代における.gitを使うワークフローの難点を解決するためにGitHubDDLを作った - ぱいぱいにっき
                                                • Javaのデータベースマイグレーションツール「Flyway」 #JJUG : ryu22eBlog跡地

                                                  2012年12月07日 Javaのデータベースマイグレーションツール「Flyway」 #JJUG Java Advent Calendar 2012 7日目です。 昨日は@megascusさんの「Java Bug Database 参照していますか?」でした。 先日、弊社サービスにJavaのデータベースマイグレーションツール「Flyway」を導入してみたところ、なかなか便利だったので紹介します。 事前準備 まず、マイグレーションの対象になるデータベースを用意します。 このエントリーでは、MySQL 5.5.28を使っています。 CREATE DATABASE flywayexample DEFAULT CHARACTER SET UTF8; Flywayをプロジェクトに組み込む ドキュメントによるとFlywayを利用するには以下の3つの手段があるようです。 Maven Plugin Com

                                                    Javaのデータベースマイグレーションツール「Flyway」 #JJUG : ryu22eBlog跡地
                                                  • Using Rails for API-only Applications — Ruby on Rails Guides

                                                    In this guide you will learn: What Rails provides for API-only applications How to configure Rails to start without any browser features How to decide which middleware you will want to include How to decide which modules to use in your controller 1 What is an API Application?Traditionally, when people said that they used Rails as an "API", they meant providing a programmatically accessible API alo

                                                      Using Rails for API-only Applications — Ruby on Rails Guides
                                                    • CakePHP 2.0 のリリース(訳) - 24時間CakePHP

                                                      訳 CakePHPコアチームはメジャーなバージョン番号のジャンプをアナウンスすることに興奮を覚えています。 CakePHP 2.0 安定版が出ました! 私たちはこのリリースに永久の時を注ぎ込み、このバージョンのフレームワークに素晴らしいアイデアの数々を成すことができました。 これは2.0が意味するものの応急な概要です: PHP4のサポートを打ち切り、全てのコードをPHP5.2以上に厳密に尊守するように書き直しました。 例外、PDO、SPL、json_encodeなどなどのネイティブな機能の使用。 ファイル命名へPSR-0を取り入れました。あらゆるクラスは同じ名前を用いてファイルにマッピングされます。覚えることが少なくなりました! 新しいエラーと例外のハンドラーは簡易な設定や、ページが見つからないエラー、承認エラーなどのエラーとの楽な協調、など数多くのものを提供します。 マルチリンガルな開発

                                                        CakePHP 2.0 のリリース(訳) - 24時間CakePHP
                                                      • Using DBDesigner to generate Rails files | Bill Katz

                                                        An occasionally updated repository of thoughts, past work, and links. Topics include programming, web ventures, and writing. dbmodel is a tool to generate Rails files (models, scaffolds) from a free graphic database design tool, DBDesigner 4. You can create tables in DBDesigner, specify table relations, synchronize the model with a MySQL database, and then use dbmodel to automatically generate cod

                                                        • Bignumの10進文字列化を速くしよう - なるせにっき

                                                          んー、花粉症がひどいし、ここはぱーっとRubyでも高速化して景気づけしたいですね。 先日の日記 でRubyとCしか読めないこの日記の読者の皆さんも、アセンブラに親しみが持てるようになったのではないかと思います。せっかくなので、引き続きこの方向で頑張ってみましょう。 さて、3年前、akrさんが一度はマージしながらも断念した、Use 128 bit integer type in Bignumという案件があります。今日はここから始めます。同時期に公開された資料に「プログラミング言語 Ruby に GMP を組み込む」というものがあります。読むとakrさんの思想の一端が垣間見え、それはしばしばRubyの仕様に影響を与えたりしなくもないのですが、それはまた別の話。どうも1000bitあたりの基数変換(2進→10進 文字列化) が遅かったみたいですね。 しかし、冷静になって考えてみましょう。32bi

                                                            Bignumの10進文字列化を速くしよう - なるせにっき
                                                          • Extend AWS IAM roles to workloads outside of AWS with IAM Roles Anywhere | Amazon Web Services

                                                            AWS Security Blog Extend AWS IAM roles to workloads outside of AWS with IAM Roles Anywhere AWS Identity and Access Management (IAM) has now made it easier for you to use IAM roles for your workloads that are running outside of AWS, with the release of IAM Roles Anywhere. This feature extends the capabilities of IAM roles to workloads outside of AWS. You can use IAM Roles Anywhere to provide a secu

                                                              Extend AWS IAM roles to workloads outside of AWS with IAM Roles Anywhere | Amazon Web Services
                                                            • Automating MySQL schema migrations with GitHub Actions and more

                                                              EngineeringOpen SourceAutomating MySQL schema migrations with GitHub Actions and moreIn this deep dive, we cover how our daily schema migrations amounted to a significant toil on the database infrastructure team, and how we searched for a solution to automate the manual parts of the process. In the past year, GitHub engineers shipped GitHub Packages, Actions, Sponsors, Mobile, security advisories

                                                                Automating MySQL schema migrations with GitHub Actions and more
                                                              • The Little Book of Python Anti-Patterns — Python Anti-Patterns documentation

                                                                Welcome, fellow Pythoneer! This is a small book of Python anti-patterns and worst practices. Learning about these anti-patterns will help you to avoid them in your own code and make you a better programmer (hopefully). Each pattern comes with a small description, examples and possible solutions. You can check many of them for free against your project at QuantifiedCode. Why did we write this?¶ Sho

                                                                  The Little Book of Python Anti-Patterns — Python Anti-Patterns documentation
                                                                • CakePHP3にも採用されているマイグレーションツール「Phinx」を使ってみた | 東北ギーク

                                                                  こんにちは。リスペクトの木村です。 以前に書いた記事、「Vagrant環境で実現するお手軽DBマイグレーション」の中で、「Flyway」というJavaで動作するマイグレーションツールをご紹介しました。 Flywayは言語やアプリケーションを問わず使えたり、生のSQLクエリで記述するので汎用性が高い点が良かったのですが、別途Javaが必要であるとか、up(マイグレーション)はできてもdown(ロールバック)が出来ないという難点がありました。 サイトのリニューアルにあたりマイグレーション周りを整備する必要があったため、難点が解消できるツールを探した所、「Phinx」というマイグレーションツールがありました。 使ってみた所非常に良い感じでしたので、今回はそちらをご紹介します。 今回の環境 CentOS 7 PHP 5.6.14 MySQL 5.7.9 Phinx 0.4.6 What’s Phi

                                                                  • Ruby on Rails 3.1 Release Notes — Ruby on Rails Guides

                                                                    Highlights in Rails 3.1: Streaming Reversible Migrations Assets Pipeline jQuery as the default JavaScript library These release notes cover only the major changes. To learn about various bug fixes and changes, please refer to the changelogs or check out the list of commits in the main Rails repository on GitHub. 1 Upgrading to Rails 3.1If you're upgrading an existing application, it's a great idea

                                                                      Ruby on Rails 3.1 Release Notes — Ruby on Rails Guides
                                                                    • inside looking out » What You Need To Know About Amazon SimpleDB

                                                                      Well after being under NDA for so long, I’m glad to be able to say that Amazon SimpleDB has gone into limited beta. Congratulations to everyone on the SDS / SimpleDB team; their several years of work on SimpleDB (formerly called SDS) is a brilliant piece of engineering. What’s cool about SimpleDB Really large data sets Really Fast Highly Available – It’s Amazon. Running Erlang. Whoa. On demand sca

                                                                      • レガシーPHP改善日記 シーズン1 エピソード3 - komagataのブログ

                                                                        Migrations Pluginの導入cakeディレクトリがcake_core/cakeという感じで置かれていて色々設定しないとcakeコマンドが動かないのでデフォルトの位置に戻した。おそらくcakeコマンドによるgenerateは使ってなかったんだろう。generateを使わないとCakePHPのレールから大幅に外れることになりがち。cakeコマンドが動いたことによってようやくmigrations pluginを導入できた。現状のDBの状態をmigrationファイルに変換できたが、そもそも初期データはどうあるべきなのかがわからないので困った。テーブルが50ぐらいあるDBの初期データを手で作っていたら日が暮れてしまう。相談したところ、初期化に使っているSQLがあるとのことでそれを頂いた。とても助かった。 一番手っ取り早いテストseleniumでテストを書いている。とにかく「このページ開

                                                                        • 週刊Railsウォッチ(20181015)Rails初心者と一発でバレる書き方、次のVue.js構想、RubyのOpenStruct、Twilioほか

                                                                          2018.10.15 週刊Railsウォッチ(20181015)Rails初心者と一発でバレる書き方、次のVue.js構想、RubyのOpenStruct、Twilioほか こんにちは、hachi8833です。Pixel 3がちょい気になっています。 各記事冒頭には⚓でパーマリンクを置いてあります: 社内やTwitterでの議論などにどうぞ 「つっつきボイス」はRailsウォッチ公開前ドラフトを社内有志でつっついたときの会話です👄 つっつきボイス:「お、Pixel 3か、値段の割にストレージが少ないんですよね📱: 今の自分のiPhoneも、いつか見るつもりのNetFlix動画やら音楽やらであっというまにストレージ埋まっちゃうし」「私はWikipedia(日と英)がまるっと入ればいいかな...」「Pixelを見てると、ちゃんとしたスマホを作れば結局このぐらいの値段になるよなって思いますね

                                                                            週刊Railsウォッチ(20181015)Rails初心者と一発でバレる書き方、次のVue.js構想、RubyのOpenStruct、Twilioほか
                                                                          • Koichi Sasada: Compiling Ruby scripts (RubyKaigi 2015)

                                                                            Compiling Ruby scripts Koichi Sasada ko1@heroku.com Today’s talk • Making ruby script serializer and deserializer • Well known technique and tools such as JVM class file • No special technique is needed. Just implemented it. • Introduction of how to use • Evaluation result Koichi Sasada A programmer living in Japan Koichi is a Programmer •MRI committer since 2007/01 • Original YARV developer since

                                                                            • 駆け出しインフラエンジニヤが capistrano を使って感動したのでメモ(1) - ようへいの日々精進XP

                                                                              はじめに 今更ながら capistrano に感動したのでインフラエンジヤなりの視点で触ってみて使い方をまとめてみる。 capistrano とは 以下は自分が抱く capistrano へのイメージ。 複数のノードに対して並列してコマンドを実行出来る!(うれしポイント) コマンドを task という単位で纏めて自動化出来る!(うれしポイント) Ruby 製のデプロイツール!(やや、うれしポイント*1) これだけ「うれしポイント」があれば複数台のサーバーにログインして色々とやんなきゃいけないインフラエンジヤが使わない理由が無いでしょ!ということで早速使ってみよー。 ちなみに今までは以下のようなイメージ。 メンテナンス作業等に capistrano を常用するようになってからのイメージ。 ということで、本来の capistrano の利用目的とは逸れてしまうかもしれないが、インフラエンジニヤ

                                                                                駆け出しインフラエンジニヤが capistrano を使って感動したのでメモ(1) - ようへいの日々精進XP
                                                                              • Webフレームワークに依存しない、PHP製のシンプルなSQL マイグレーションツール「Mig」を作った。 - ゆーじのろぐ

                                                                                タイトル通り、特定のWebフレームワークに依存しないPHP製のシンプルなSQLマイグレーションツール「Mig」を作りました。 なぜ作ったのか 大体Webフレームワークにはこの手マイグレーションツールはついていますが、DSLを書かされたり、プログラミング言語の中にSQLを文字列として渡して実行するものが多いです。DSLだと抽象化されている分DB特有の機能が使えなかったり、文字列としてSQLを渡すのはエディタのシンタックスハイライトが使えないのも不便だと考えていました。 そのためマイグレーション用のSQLファイル生成の管理、マイグレーションとロールバックの管理のみを行い、マイグレーションのSQLも直接SQLファイルに書くことができるツールを作りました。 使い方 インストール composer でglobal installします。 $ composer global require araka

                                                                                  Webフレームワークに依存しない、PHP製のシンプルなSQL マイグレーションツール「Mig」を作った。 - ゆーじのろぐ
                                                                                • Migration Complete – Amazon’s Consumer Business Just Turned off its Final Oracle Database | Amazon Web Services

                                                                                  AWS News Blog Migration Complete – Amazon’s Consumer Business Just Turned off its Final Oracle Database Over my 17 years at Amazon, I have seen that my colleagues on the engineering team are never content to leave good-enough alone. They routinely re-evaluate every internal system to make sure that it is as scalable, efficient, performant, and secure as possible. When they find an avenue for impro

                                                                                    Migration Complete – Amazon’s Consumer Business Just Turned off its Final Oracle Database | Amazon Web Services