今日(というか日付変わったから昨日だけど)の戦利品
- デスクトップPC (Xeon E3-1225v5, RAM8GB, ストレージ無, 3000円)
- PC用ディスプレイ (BenQ E2200HD, 300円)
藍ちゃんにおじさん構文でメンションを送るbot ( @ojichat_to_ai ) という何の需要もないであろうbotを動かしてました。他にも色々やってますが、詳細は外部リンクを参照してください。
今日(というか日付変わったから昨日だけど)の戦利品
- デスクトップPC (Xeon E3-1225v5, RAM8GB, ストレージ無, 3000円)
- PC用ディスプレイ (BenQ E2200HD, 300円)
This account is not set to public on notestock.
This account is not set to public on notestock.
@hilot06 私もここで出してない自我はあります。
(私の場合は鉄ヲタ以上に問題となる可能性の高い趣味なので…)
This account is not set to public on notestock.
ゆるぼ PHPで数値に序数詞を付けるのを簡単にやる方法
それっぽくfunctionを書いたのですが、もう少し楽な方法はないのでしょうか?
This account is not set to public on notestock.
This account is not set to public on notestock.
@morisoba256 最後の1桁だけ取り出して単純に判定するだけだと、十の位が1のときにすべてthとなることに対応できないんですよね…
そのため、十の位が1でないかを確認して、1ならすべてthという感じでやってます。
十の位が1でないときは、一の位が1~3のときそれぞれst, nd, rdとして、4以上もしくは0の時はthという感じです。
負の数のときは最初にnegativeが付く以外は正の数と変わらないので、$num<0?'negative ':''
という感じの条件演算子でどうにかしています。
…あと、PythonではなくPHPです。
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.
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.
MIDIはまだまだ現役な希ガス
RE: https://pawoo.net/users/mirakurun94/statuses/112465252733076312
ほとんどのMastodonとかMisskeyサーバは赤字で、だいたいみんな私財を投入しているだけなので、楽しく運営できて盛り上がれば続くし、不満が集まったり過疎ったりトラブルばかり起きれば続かないですよ。モチベーションがなくなれば終わりです。
そうした中で、たくさんのサーバが生まれ、消えていったけど、Mastodonが日本で普及し始めてから7年経った今でもなんだかんだ続いていたりします。
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.
@grapeapple Topページを見た限りは、TLは生きてるみたいですがそれ以外は動かなさそうに見えます