Rainbows! Rack HTTP server user/dev discussion
 help / color / Atom feed
* [PATCH] doc: switch bogomips.org to yhbt.net
@ 2020-01-09  7:29 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2020-01-09  7:29 UTC (permalink / raw)
  To: rainbows-public

bogomips.org is due to expire, soon, and I'm not willing to pay
extortionists at Ethos Capital/PIR/ICANN to keep a .org.  So
it's at yhbt.net, for now...  Identity is overrated.

Tor users can use .onions and kick ICANN to the curb:

  torsocks w3m http://rainbows.ou63pmih66umazou.onion/
  torsocks git clone http://ou63pmih66umazou.onion/rainbows.git/
  torsocks w3m http://ou63pmih66umazou.onion/rainbows-public/

While we're at it, switch news.gmane.org => news.gmane.io
(but I suspect that'll need to be resynched since our mail
"List-Id:" header is changing).
---
 .olddoc.yml                   | 20 ++++++++++++--------
 Documentation/comparison.haml |  2 +-
 Documentation/rainbows.1.txt  |  6 +++---
 FAQ                           |  2 +-
 GNUmakefile                   |  2 +-
 HACKING                       |  4 ++--
 README                        | 18 ++++++++++--------
 Sandbox                       |  2 +-
 TUNING                        |  4 ++--
 archive/rfmig.rb              | 32 --------------------------------
 archive/slrnpull.conf         |  2 +-
 examples/reverse_proxy.ru     |  2 +-
 lib/rainbows.rb               |  2 +-
 lib/rainbows/configurator.rb  |  4 ++--
 lib/rainbows/epoll.rb         |  2 +-
 lib/rainbows/reverse_proxy.rb |  2 +-
 rainbows.gemspec              | 16 ++++++++--------
 vs_Unicorn                    |  2 +-
 18 files changed, 49 insertions(+), 75 deletions(-)
 delete mode 100644 archive/rfmig.rb

diff --git a/.olddoc.yml b/.olddoc.yml
index 3e776ef..a10528a 100644
--- a/.olddoc.yml
+++ b/.olddoc.yml
@@ -1,12 +1,10 @@
 ---
-cgit_url: https://bogomips.org/rainbows.git
-git_url: https://bogomips.org/rainbows.git
-rdoc_url: https://bogomips.org/rainbows/
+cgit_url: https://yhbt.net/rainbows.git/
+rdoc_url: https://yhbt.net/rainbows/
 merge_html:
   rainbows_1: Documentation/rainbows.1.html
   Summary: Documentation/comparison.html
-public_email: rainbows-public@bogomips.org
-private_email: rainbows@bogomips.org
+public_email: rainbows-public@yhbt.net
 noindex:
 - TODO
 - LATEST
@@ -15,7 +13,13 @@ noindex:
 - Unicorn::SocketHelper
 - EM
 - Revactor
-ml_url: https://bogomips.org/rainbows-public/
+ml_url:
+- https://yhbt.net/rainbows-public/
+- http://ou63pmih66umazou.onion/rainbows-public/
+source_code:
+- git clone https://yhbt.net/rainbows.git
+- torsocks git clone http://ou63pmih66umazou.onion/rainbows.git
 nntp_url:
-  - nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
-  - nntp://news.gmane.org/gmane.comp.lang.ruby.rainbows.general
+- nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
+- nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows
+- nntp://news.gmane.io/gmane.comp.lang.ruby.rainbows.general
diff --git a/Documentation/comparison.haml b/Documentation/comparison.haml
index 4fd02eb..8586a0b 100644
--- a/Documentation/comparison.haml
+++ b/Documentation/comparison.haml
@@ -153,7 +153,7 @@
     CoolioThread* and CoolioThread* requires Ruby 1.9 reasonable performance
   %li
     rack.input streaming is what makes
-    %a(href="http://upr.bogomips.org/") upload progress,
+    %a(href="http://yhbt.net/upr/") upload progress,
     and BOSH possible
   %li
     rack.input streaming is NOT compatible with current versions of nginx
diff --git a/Documentation/rainbows.1.txt b/Documentation/rainbows.1.txt
index cdf7863..94adb8a 100644
--- a/Documentation/rainbows.1.txt
+++ b/Documentation/rainbows.1.txt
@@ -1,5 +1,5 @@
 % rainbows(1) Rainbows! User Manual
-% Rainbows! Hackers <rainbows-public@bogomips.org>
+% Rainbows! Hackers <rainbows-public@yhbt.net>
 % December 3, 2009
 
 # NAME
@@ -155,7 +155,7 @@ RACKUP_FILE, some frameworks do not require them.
 * [Rack RDoc][2]
 * [Rackup HowTo][3]
 
-[1]: https://bogomips.org/rainbows/
+[1]: https://yhbt.net/rainbows/
 [2]: http://rdoc.info/gems/r#/gems/rack/frames
 [3]: http://wiki.github.com/rack/rack/tutorial-rackup-howto
-[4]: https://bogomips.org/rainbows/SIGNALS.html
+[4]: https://yhbt.net/rainbows/SIGNALS.html
diff --git a/FAQ b/FAQ
index e3dd762..5f64786 100644
--- a/FAQ
+++ b/FAQ
@@ -64,7 +64,7 @@ requires a extra {patch}[http://haproxy.1wt.eu/download/patches/].
 If you don't need streaming "rack.input", then nginx is a great HTTPS
 reverse proxy.
 
-Refer to the {unicorn FAQ}[https://bogomips.org/unicorn/FAQ.html] on how
+Refer to the {unicorn FAQ}[https://yhbt.net/unicorn/FAQ.html] on how
 to ensure redirects go to "https://" URLs.
 
 
diff --git a/GNUmakefile b/GNUmakefile
index af8be80..70cc708 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,6 +1,6 @@
 # use GNU Make to run tests in parallel, and without depending on RubyGems
 all::
-RSYNC_DEST := bogomips.org:/srv/bogomips/rainbows
+RSYNC_DEST := yhbt.net:/srv/yhbt/rainbows
 rfpackage := rainbows
 PLACEHOLDERS := rainbows_1 Summary
 
diff --git a/HACKING b/HACKING
index 31f2111..b2f30e5 100644
--- a/HACKING
+++ b/HACKING
@@ -13,7 +13,7 @@ Please wrap documentation at 72 characters-per-line or less (long URLs
 are exempt) so it is comfortably readable from terminals.
 
 When referencing mailing list posts, use
-"https://bogomips.org/rainbows-public/<Message-ID>/" if possible since
+"https://yhbt.net/rainbows-public/<Message-ID>/" if possible since
 the Message-ID remains searchable even if the website becomes unavailable.
 
 == Contributing
@@ -38,7 +38,7 @@ distributed with git on on patch submission guidelines to follow.  Just
 don't email the git mailing list or maintainer with Rainbows! patches :)
 
 No subscription is required to post to the mailing list at
-rainbows-public@bogomips.org
+rainbows-public@yhbt.net
 
 Please Cc: everyone on replies, as not everyone is subscribed.
 
diff --git a/README b/README
index 178990d..5fc3a31 100644
--- a/README
+++ b/README
@@ -51,7 +51,7 @@ network concurrency.
 * Designed for {Rack}[http://rack.github.io/], the standard for
   modern Ruby HTTP applications.
 
-* Built on {unicorn}[https://bogomips.org/unicorn/], inheriting its
+* Built on {unicorn}[https://yhbt.net/unicorn/], inheriting its
   process/socket management features such as transparent upgrades and
   Ruby configuration DSL.
 
@@ -116,7 +116,7 @@ In APP_ROOT (where config.ru is located), run:
 For deployments, it can use a config file for Unicorn and
 \Rainbows!-specific options specified by the +--config-file/-c+
 command-line switch.  \Rainbows! accepts all options found in
-{Unicorn::Configurator}[https://bogomips.org/unicorn/Unicorn/Configurator.html]
+{Unicorn::Configurator}[https://yhbt.net/unicorn/Unicorn/Configurator.html]
 as well as the "\Rainbows!" block, so you can have the following in your
 config file:
 
@@ -135,13 +135,13 @@ for more details.
 You can get the latest source via git from the following locations
 (these versions may not be stable):
 
-  https://bogomips.org/rainbows.git
+  https://yhbt.net/rainbows.git
   https://repo.or.cz/rainbows.git (mirror)
 
 You may browse the code from the web and download the latest snapshot
 tarballs here:
 
-* https://bogomips.org/rainbows.git
+* https://yhbt.net/rainbows.git
 * https://repo.or.cz/rainbows.git (gitweb)
 
 Inline patches (from "git format-patch") to the mailing list are
@@ -175,8 +175,10 @@ requests) go to the mailing list.  Patches must be sent inline
 (git format-patch -M + git send-email).  No subscription is necessary
 to post on the mailing list.  No top posting.
 
-* email: mailto:rainbows-public@bogomips.org
-* subscribe: mailto:rainbows-public+subscribe@bogomips.org
-* archives: https://bogomips.org/rainbows-public/
+* email: mailto:rainbows-public@yhbt.net
+* subscribe: mailto:rainbows-public+subscribe@yhbt.net
+* archives: https://yhbt.net/rainbows-public/
+  http://ou63pmih66umazou.onion/rainbows-public/
   nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
-  nntp://news.gmane.org/gmane.comp.lang.ruby.rainbows.general
+  nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows
+  nntp://news.gmane.io/gmane.comp.lang.ruby.rainbows.general
diff --git a/Sandbox b/Sandbox
index 63c44c4..538c792 100644
--- a/Sandbox
+++ b/Sandbox
@@ -1,6 +1,6 @@
 = Tips for using \Rainbows! with Sandbox installation tools
 
-Most {tips for unicorn}[https://bogomips.org/unicorn/Sandbox.html]
+Most {tips for unicorn}[https://yhbt.net/unicorn/Sandbox.html]
 for Bundler and Isolate apply to \Rainbows! as well.
 
 == TLDR (Bundler)
diff --git a/TUNING b/TUNING
index 55a9ad4..7686624 100644
--- a/TUNING
+++ b/TUNING
@@ -1,6 +1,6 @@
 = Tuning \Rainbows!
 
-Most of the {tuning notes}[https://bogomips.org/unicorn/TUNING.html]
+Most of the {tuning notes}[https://yhbt.net/unicorn/TUNING.html]
 apply to \Rainbows! as well.  \Rainbows! is not particularly optimized
 at the moment and is designed for applications that spend large amounts
 of the time waiting on network activity.  Thus memory usage and memory
@@ -26,7 +26,7 @@ never be the primary goal of the project.
   the kernel.
 
 * If your workers do not seem to be releasing memory to the OS after
-  traffic spikes, consider the {mall}[https://bogomips.org/mall/] library
+  traffic spikes, consider the {mall}[https://yhbt.net/mall/] library
   which allows access to the mallopt(3) function from Ruby. As of
   October 2009 tcmalloc (the default allocator for Ruby Enterprise
   Edition) does not release memory back to the kernel, the best it can
diff --git a/archive/rfmig.rb b/archive/rfmig.rb
deleted file mode 100644
index a7d31e5..0000000
--- a/archive/rfmig.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env ruby
-require 'find'
-require 'fileutils'
-rfdir = 'rubyforge.org:/var/www/gforge-projects/rainbows/'
-newbase = 'https://bogomips.org/rainbows/'
-refresh = '<meta http-equiv="refresh" content="0; url=%s" />'
-old = 'rf.old'
-new = 'rf.new'
-cmd = %W(rsync -av #{rfdir} #{old}/)
-unless File.directory?(old)
-  system(*cmd) or abort "#{cmd.inspect} failed: #$?"
-end
-
-Find.find(old) do |path|
-  path =~ /\.html\z/ or next
-  data = File.read(path)
-  tmp = path.split(%r{/})
-  tmp.shift == old or abort "BUG"
-  dst = "#{new}/#{tmp.join('/')}"
-
-  tmp[-1] = '' if tmp[-1] == "index.html"
-  url = "#{newbase}#{tmp.join('/')}"
-  meta = sprintf(refresh, url)
-  data.sub!(/(<head[^>]*>)/i, "#$1#{meta}")
-  data.sub!(/(<body[^>]*>)/i,
-            "#{$1}Redirecting to <a href=\"#{url}\">#{url}</a> ...<br/>")
-  FileUtils.mkdir_p(File.dirname(dst))
-  File.open(dst, "w") { |fp| fp.write(data) }
-end
-
-print "Verify results in #{new}/, then run:\n  "
-puts %W(rsync -av #{new}/ #{rfdir}).join(' ')
diff --git a/archive/slrnpull.conf b/archive/slrnpull.conf
index 9cf80ba..480cbec 100644
--- a/archive/slrnpull.conf
+++ b/archive/slrnpull.conf
@@ -1,4 +1,4 @@
 # group_name                         max        expire     headers_only
 gmane.comp.lang.ruby.rainbows.general 1000000000 1000000000 0
 
-# usage: slrnpull -d $PWD -h news.gmane.org --no-post
+# usage: slrnpull -d $PWD -h news.gmane.io --no-post
diff --git a/examples/reverse_proxy.ru b/examples/reverse_proxy.ru
index fcb9e74..432a37f 100644
--- a/examples/reverse_proxy.ru
+++ b/examples/reverse_proxy.ru
@@ -2,7 +2,7 @@
 cfg = {
   :upstreams => [
     "/tmp/.r.sock",
-    "http://bogomips.org/",
+    "http://yhbt.net/",
     [ "http://10.6.6.6:666/", { :weight => 666 } ],
   ]
 }
diff --git a/lib/rainbows.rb b/lib/rainbows.rb
index 584c94b..9d6d103 100644
--- a/lib/rainbows.rb
+++ b/lib/rainbows.rb
@@ -4,7 +4,7 @@
 # the value passed to TCP_DEFER_ACCEPT actually matters in Linux 2.6.32+
 Unicorn::SocketHelper::DEFAULTS[:tcp_defer_accept] = 60
 
-# See https://bogomips.org/rainbows/ for documentation
+# See https://yhbt.net/rainbows/ for documentation
 module Rainbows
   # :stopdoc:
   O = {}
diff --git a/lib/rainbows/configurator.rb b/lib/rainbows/configurator.rb
index 83077cb..5eb7606 100644
--- a/lib/rainbows/configurator.rb
+++ b/lib/rainbows/configurator.rb
@@ -1,7 +1,7 @@
 # -*- encoding: binary -*-
 
 # This module adds \Rainbows! to the
-# {Unicorn::Configurator}[https://bogomips.org/unicorn/Unicorn/Configurator.html]
+# {Unicorn::Configurator}[https://yhbt.net/unicorn/Unicorn/Configurator.html]
 # \Rainbows!-specific configuration options must be inside a the Rainbows!
 # block, otherwise Unicorn::Configurator directives may be used anywhere
 # in the file.
@@ -9,7 +9,7 @@
 # Warning: The "timeout" directive in unicorn is far more dangerous
 # in Rainbows!, since ALL requests running on a process will be lost
 # on worker death, not just one.  Instead, handle application-level
-# timeouts yourself: https://bogomips.org/unicorn/Application_Timeouts.html
+# timeouts yourself: https://yhbt.net/unicorn/Application_Timeouts.html
 #
 #   Rainbows! do
 #     use :ThreadSpawn # concurrency model to use
diff --git a/lib/rainbows/epoll.rb b/lib/rainbows/epoll.rb
index 45c4d08..1e0c7a2 100644
--- a/lib/rainbows/epoll.rb
+++ b/lib/rainbows/epoll.rb
@@ -3,7 +3,7 @@
 require 'sendfile'
 
 # Edge-triggered epoll concurrency model using
-# {sleepy_penguin}[https://bogomips.org/sleepy_penguin/] for epoll.
+# {sleepy_penguin}[https://yhbt.net/sleepy_penguin/] for epoll.
 #
 # Unlike more portable options like Coolio and EventMachine, this
 # is Linux-only, but uses edge-triggering instead of level-triggering,
diff --git a/lib/rainbows/reverse_proxy.rb b/lib/rainbows/reverse_proxy.rb
index a4d8390..f844c1d 100644
--- a/lib/rainbows/reverse_proxy.rb
+++ b/lib/rainbows/reverse_proxy.rb
@@ -3,7 +3,7 @@
 require 'socket'
 require 'thread'
 require 'uri'
-require 'kcar' # https://bogomips.org/kcar/ -- gem install kcar
+require 'kcar' # https://yhbt.net/kcar/ -- gem install kcar
 
 # This is lightly tested and has an unstable configuration interface.
 # ***** Do not rely on anything under the ReverseProxy namespace! *****
diff --git a/rainbows.gemspec b/rainbows.gemspec
index 259e2ab..558799e 100644
--- a/rainbows.gemspec
+++ b/rainbows.gemspec
@@ -8,13 +8,13 @@
 
   s.authors = ['Rainbows! hackers']
   s.description = File.read('README').split("\n\n")[1]
-  s.email = %q{rainbows-public@bogomips.org}
+  s.email = %q{rainbows-public@yhbt.net}
   s.executables = %w(rainbows)
   s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
     File.exist?(f)
   end
   s.files = manifest
-  s.homepage = 'https://bogomips.org/rainbows/'
+  s.homepage = 'https://yhbt.net/rainbows/'
   s.summary = 'Rack app server for sleepy apps and slow clients'
 
   # we want a newer Rack for a valid HeaderHash#each
@@ -59,11 +59,11 @@
   ruby_1_8 = 'Nonstandard'
   s.licenses = [ 'GPL-2.0+', ruby_1_8 ]
   s.metadata = {
-    'bug_tracker_uri' => 'https://bogomips.org/rainbows/#label-Contact',
-    'changelog_uri' => 'https://bogomips.org/rainbows/NEWS.html',
-    'documentation_uri' => 'https://bogomips.org/rainbows/',
-    'homepage_uri' => 'https://bogomips.org/rainbows/',
-    'mailing_list_uri' => 'https://bogomips.org/rainbows-public/',
-    'source_code_uri' => 'https://bogomips.org/rainbows.git',
+    'bug_tracker_uri' => 'https://yhbt.net/rainbows/#label-Contact',
+    'changelog_uri' => 'https://yhbt.net/rainbows/NEWS.html',
+    'documentation_uri' => 'https://yhbt.net/rainbows/',
+    'homepage_uri' => 'https://yhbt.net/rainbows/',
+    'mailing_list_uri' => 'https://yhbt.net/rainbows-public/',
+    'source_code_uri' => 'https://yhbt.net/rainbows.git',
   }
 end
diff --git a/vs_Unicorn b/vs_Unicorn
index 1ae2db3..88f08ff 100644
--- a/vs_Unicorn
+++ b/vs_Unicorn
@@ -82,7 +82,7 @@ unicorn code), some things are not:
   to different worker processes, and if your listen() +:backlog+ is
   overflowing: to other machines in your cluster.
 
-* Accepts the same {signals}[https://bogomips.org/unicorn/SIGNALS.html]
+* Accepts the same {signals}[https://yhbt.net/unicorn/SIGNALS.html]
   for process management, so you can share scripts to manage them (and
   nginx, too).
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09  7:29 [PATCH] doc: switch bogomips.org to yhbt.net Eric Wong

Rainbows! Rack HTTP server user/dev discussion

Archives are clonable:
	git clone --mirror https://yhbt.net/rainbows-public
	git clone --mirror http://ou63pmih66umazou.onion/rainbows-public

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git