- http://www.rubydoc.info/github/rest-client/rest-client/RestClient/Exception
- http://www.rubydoc.info/github/rest-client/rest-client/RestClient/SSLCertificateNotVerified
- http://www.rubydoc.info/github/rest-client/rest-client/RestClient/ServerBrokeConnection
- http://www.rubydoc.info/github/rest-client/rest-client/RestClient/Exceptions/Timeout
- http://www.rubydoc.info/github/rest-client/rest-client/RestClient/ExceptionWithResponse
- http://www.rubydoc.info/github/rest-client/rest-client/RestClient/RequestFailed
- An exception per HTTP status:
- http://www.rubydoc.info/github/rest-client/rest-client/RestClient/RequestFailed
beni@beni580 ~> tclsh | |
% set n 42 | |
42 | |
% tcl::unsupported::representation $n | |
value is a pure string with a refcount of 4, object pointer at 0x5604d811de00, string representation "42" | |
% expr {$n + 1} | |
43 | |
% tcl::unsupported::representation $n | |
value is a int with a refcount of 4, object pointer at 0x5604d811de00, internal representation 0x2a:(nil), string representation "42" | |
% |
;; use on top of cua-mode. | |
;; Extreme CUA - kill buffers with C-w like browser tabs. | |
;; I still have motor memory for cutting with C-w :-(, hopefully this will help. | |
(defun kill-buffer-unless-selection () | |
(interactive) | |
(if (region-active-p) | |
(progn | |
(beep) | |
(message "Use C-x for cutting, lest you kill the buffer you're working on.")) |
inuse_space: flamegraph, graph
alloc_space: flamegraph, graph
Appendix to https://softwareengineering.stackexchange.com/a/418149/61264: Postfix stack languages
Point-free style is the default in "concatenative" programming languages like FORTH and PostScript. And, since they use postfix order, with function argument coming before the function, simulating "let" should be easy, right?
Funnily, there are no named-arg lambdas in most of these languages*. Not even the modern Factor (supports named arguments for named functions, but not in anonymous "quotations").
But FORTH and PostScript do have ways to simulate local variables. So we can show the equivalence the other way around: implement "let", then implement "lambda" in terms of "let" 😁.
- EDIT: I'm wrong, Factor has
[| var | body ]
lambdas as well as mid-quotation bindings[ ... value :> var ... ]
. It seems[let
is just same as[
except it immediately executes the quotation! https://docs.factorcode.org/content/article-locals-examples.html
FROM fedora:31 | |
MAINTAINER sd-mp-devel@redhat.com | |
# TODO: how to use prebuilt rubygem-nokogiri? Compiling it is heavy and brittle. | |
# That's what tools/hack_bundle.rb tries to achieve, but still compiles it. | |
# Fedora's rubygem-bundler is patched (as opposed to upstream `gem install bundler`) | |
# but no luck, both compile it. See also https://github.com/rubygems/bundler/issues/1964 | |
RUN dnf install -y ruby ruby-devel rubygem-bundler rubygem-nokogiri gcc-c++ make redhat-rpm-config git dnf-plugins-core | |
RUN dnf builddep -y rubygem-nokogiri |
{ | |
"list": [ | |
{ | |
"name": "Desktop", | |
"list": [ | |
{ | |
"name": "PC", | |
"list": [ | |
{ | |
"name": "Operating System", |
[attaching this to a CloudFlare survey why I left them (for DNSimple)]
I was a free user using CloudFlare only for DNS, chiefly because it can simulate CNAME at an apex domain. The apex domains mathdown.net,mathdown.com point to mathdown-cben.rhcloud.com. Cloudflare "CNAME-flattening" nicely returns an A record; unfortunately it's served with a huge TTL of 7 days(!), which causes a long outage when the underlying IP changes.
I asked support how I can lower the TTL (BTW it's great that you provide free support at all) and was told [https://support.cloudflare.com/hc/en-us/requests/522551, emphasis mine]:
This is based on the TTL of your authoritative provider for mathdown-cben.rhcloud.com: