朝なのに okire9
本日作成した手順です。ご査収ください
1 仰向けに寝る
2 Roostに載せたラップトップを胸の上に置く
3 キーボードを腰の上に置く
4 寝たきりで仕事をする
ハイエースに車が入る https://youtu.be/yWzwWlIPSEE
もうこのとおりとしか言えない
自分だけレポジトリは家内サーバのsshの向こうにいます。よく見るとCVSROOTもあるよw
@fujii_yuji それなら某ヘ社でもw (GitHubからWebhookが来るので受け側の作り込みでどこでもできますねー
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
GitLab 私 VPS に立ててますが、メモリ 1GB で動いてます(ただし swap は食う)
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
みんなこれ見てみてw
$ dig +short gitlab.com | xargs whois | grep ^Organization
usage: git request-pull [options] start url [end]
request-pullにはremote要るのねー
$ cd /tmp/git
$ git clone --bare ~/local/src/test
$ cd ~/local/src/test
$ git remote add origin /tmp/git/test.git
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
昨夜は突然 https://mastodon.zunda.ninja/@zundan/100151492530022618 へのリクエストがいろいろなIPアドレスから送られてきてキューがたんまりたまりました。みんなだじゃれ好きなんだな。
macOSで錬成されたbin/setupの#!が/bin/shなのにbashの機能を使ってるのでLinuxで走らせると怒られるのしょぼん
This account is not set to public on notestock.
@localadms Mastodonのpgheroはpumaがサーバになってるように見えます。/sidekiqも。
This account is not set to public on notestock.
$ ruby -ve 'p Math.cbrt(1.0-2**-52)'
ruby 2.0.0p648 (2015-12-16 revision 53162) [x86_64-netbsd]
0.9999999999999999
ほうほう
$ ruby23 -ve 'p Math.cbrt(1.0-2**-52)'
ruby 2.3.6p384 (2017-12-14 revision 61254) [x86_64-netbsd]
0.9999999999999999
ふむふむ
$ ruby -ve 'p Math.cbrt(1.0-2**-52)'
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
1.0000000000000002
はにゃはにゃ
$ ruby -ve 'p Math.cbrt(1.0-2**-52)'
ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
0.9999999999999999
かぼー
This account is not set to public on notestock.
@nagachika 小飼さんのツイート https://twitter.com/dankogai/status/1004180513228124161 でMath.cbrt(1.0-2**-52)がLinuxのRubyだと正答の0.9999999999999998ではなく1.0000000000000002が返ってくるとあって試してみました。
下記は正答:
ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
ruby 2.3.6p384 (2017-12-14 revision 61254) [x86_64-netbsd]
ruby 2.0.0p648 (2015-12-16 revision 53162) [x86_64-netbsd]
下記は誤答でした
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
@nagachika 全タイムライン的にそのようです。https://twitter.com/anohana/status/1004192539379884033 によるとLinuxではCのcbrt()が1を超えちゃうとか。
@nagachika Apple LLVM version 9.1.0 (clang-902.0.39.2)だと-O0から-O3までどれでも0.99999999999999989になりますねー(出先でglibcとgccが手元にない)
@nagachika ですねー。NetBSD 8.0_RC1 amd64でgcc (nb2 20150115) 4.8.4だと-O0から-O3まで正答でした。
$ ldd a.out
a.out:
-lm.0 => /usr/lib/libm.so.0
-lgcc_s.1 => /usr/lib/libgcc_s.so.1
-lc.12 => /usr/lib/libc.so.12
$ ls -l /usr/lib/libc.so.12
lrwxr-xr-x 1 root wheel 26 Sep 24 2015 /usr/lib/libc.so.12@ -> ../../lib/libc.so.12.193.1
(ライブラリのバージョンのみかたがわからにゃい)
@nagachika 見るべきはlibmですね
ls -l /usr/lib/libm.so.0
lrwxr-xr-x 1 root wheel 22 Sep 24 2015 /usr/lib/libm.so.0@ -> ../../lib/libm.so.0.11
@nagachika コンパイル時に計算定数は正答だけどcbrt()じたいは誤答のようです https://twitter.com/anohana/status/1004195971322994688
This account is not set to public on notestock.
This account is not set to public on notestock.
$ cat package main
import (
"fmt"
"math"
)
func main() {
x := 1.0 - math.Pow(2.0, -52)
y := math.Cbrt(x)
fmt.Printf("%20.17f %20.17f\n", x, y)
}
$ go version
go version go1.8.3 linux/amd64
$ go run main.go
0.99999999999999978 0.99999999999999989
さすが独自実装
This account is not set to public on notestock.
手元でいろいろ更新するようになるとこのレポジトリはどこでmergeするべきだったっけーとかまじわからなくなるねー
\masterに/ \追随しますたー/
Merged tootsuite/mastodon at 158cd7ee7483353fb2dfc88a826bb739ff6b79ef
This account is not set to public on notestock.
This account is not set to public on notestock.
mergeしたあとメトリクス眺めるのまじ好きなんだけどそういえばDatadogのビルドパックが壊れてるのに気づいてはずしてからそのままにしてたのを思い出したのでした
むーん
-----> Updating apt caches for Datadog Agent
:
Get:2 http://apt.datadoghq.com stable Release [4,525 B]
Get:3 http://apt.datadoghq.com stable Release.gpg [819 B]
:
Reading package lists...
W: GPG error: http://apt.datadoghq.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4B4593018387EEAF
E: The repository 'http://apt.datadoghq.com stable Release' is not signed.
connect to smtp.gmail.com[2607:f8b0:400e:c04::6c]:587: Network is unreachable
むーん
GMailのセキュリティがだんだん厳しくなってきてでーもんさんからメールを出しにくくなった結果サーバ1台ずつにアカウント1つずつ作ってあげる結果に。
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
grub2のシリアルコンソール見えないなーと思ったんけどまずは起動したOSの上で遊んでみるべきよねー
お仕事デスクトップ、16.04.xなのに気づいた。更新するの、18.04.1が出てからでいいよねー
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
デフラグ画面かと思ったw>BT https://don.tacostea.net/@tacostea/100172947208296474
Rack::Deflaterはruby-2.6.0preview2でも空のレスポンスボディを返してくるのだった
https://gist.github.com/zunda/471d8aaf099d13bdcb928324346a946f
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
あれは正確には「ブラウザにScheme積もうとしたら上司から(当時流行りの)Javaみたいな言語にしろって言われた」みたいな話
This account is not set to public on notestock.
This account is not set to public on notestock.
\ますたー/ \ますたー/
Merged tootsuite/mastodon at 35ae9601228fcc91eadcea6f486097eea4275873
This account is not set to public on notestock.
This account is not set to public on notestock.