サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
iPhone 17
schneems.com
❶ Author of How to Open Source (.dev). A book to take you from coder to contributor. ❷ Creator of CodeTriage, a free service helping developers contribute to open source. ❸ Core committer to ruby/ruby. ❹ Rust Cloud Native Buildpack author . ❺ Married to Ruby, literally. Here’s the setup: You are a web server named Puma. You need to accept incoming connections and give them to your thread pool, but
Do you have 5 minutes? Do you want to decrease the “over the wire” size of your Rails app by 80%? Sure you do! I added Rack::Deflate to CodeTriage.com, the best way to get started in Open Source, and went from a page size of 85,523 bytes to 15,568 bytes (over the wire). You can verify with this retro looking web based compression tool. First up, what does Rack Deflate do and why do we want to use
Subscribe to my Newsletter 😻 🤠 Join thousands of developers who get new code, writing, and programming links from me delivered to their inboxes. Keep Reading 🚀 Bad Type Patterns - The Duplicate duck Why aren’t people writing more types? Perhaps it’s because the intermediate and expert developers deleted the patterns that didn’t work and left no trace for beginners to learn from. This post detai
❶ Author of How to Open Source (.dev). A book to take you from coder to contributor. ❷ Creator of CodeTriage, a free service helping developers contribute to open source. ❸ Core committer to ruby/ruby. ❹ Rust Cloud Native Buildpack author . ❺ Married to Ruby, literally. This is my third RubyKaigi and my first in Hiroshima. This is also the first time where I’m not speaking (though I am on the wait
WEBrick is the “slowest” webserver in Ruby, how could it possibly be webscale? To answer this question and explore Is Ruby Too Slow For Web-Scale?, we will compare WEBrick to a real piece of “webscale” tech: NGINX. While there might be some faster webservers on the market, is there a case where WEBrick is fast enough? Before we can dig into that question, let’s look at a real world deployment of W
❶ Author of How to Open Source (.dev). A book to take you from coder to contributor. ❷ Creator of CodeTriage, a free service helping developers contribute to open source. ❸ Core committer to ruby/ruby. ❹ Rust Cloud Native Buildpack author . ❺ Married to Ruby, literally. Database load can be a silent performance killer. I’ve been optimizing the query performance of a web app I run designed to get p
How does an asset get compiled? It’s less of a pipeline and more of a recursive ball of, well assets. To understand the process we will, start off with an asset with no directives (no require at the top). We’ll then walk through all the steps Sprockets goes through until a usable asset is loaded into memory. For this example we will use a js.erb file to see how a “complex” file (i.e. multiple exte
It’s impossible to just glance at something and know how things are interacting. You change this one method that you thought was only being used in this one part of the project, and something else breaks. For more information about how Sprockets work, I highly recommend you go to Rafael’s talk What is the solution to god objects? We can move logic over to helper classes. For example I introduced t
This weekend I made my OVER 9000 pull request to Rails, that features a demo of the functionality in GIF format. I’ve had a number of people ask the same question “what is your GIF workflow?”. For the detail oriented of you in the crowd, here it is. The Content I filmed my screen using Screen Flow, which I used to do all my work on UT on Rails, it’s not free at $99, but does editing, exporting, an
Subscribe to my Newsletter 😻 🤠 Join thousands of developers who get new code, writing, and programming links from me delivered to their inboxes. Keep Reading 🚀 Don't McBlock me “That cannot be done.” Is rarely true, but it’s a phrase I’ve heard more and more from technical people without offering any rationale or further explanation. This tendency to use absolute language when making blocking s
A Daft proc-macro trick: How to Emit Partial-Code + Errors 26 Mar 2025 Update (2025/04/02): The change I suggested below was merged in PR #64. It’s pretty neat I went from knowing nothing about this project to contributing to it in the span of a single blog post. Keep Reading Installing the sassc Ruby gem on a Mac. A debugging story 17 Mar 2025 I’m not exactly sure about the timeline, but at some
このページを最初にブックマークしてみませんか?
『Schneems - Programming Practices, Performance, and Pedantry』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く