BBC Global News Podcastでも天安門事件を取り上げてた。それぞれの6月4日に取り上げるのかもしれない。
BBC Global News Podcastでも天安門事件を取り上げてた。それぞれの6月4日に取り上げるのかもしれない。
おいし 
daae64afab Update chewy to v8.3.0 (#39201)
ada6e1339d Exercise more of `disputes/strikes/_card` partial (#39265)
3ccda276ac Update openid_connect to version 2.5.0 (#39288)
fe4613ba32 Display collection in search results when searched by URL (#39289)
085c91bf12 Reduce timeout minutes for actions (#39205)
2b6b2fcb6f Fix ValidationError when loading many collections at once (#39286)
a19dd606e8 Fix link to profile API documentation in CHANGELOG (#39276)
e00d16474e Prevent logged out users from accessing collection & list creation routes (#39282)
ecc823fc2e Update yarn monorepo to v4.16.0 (#39247)
df27144803 Update vite to v8.0.16 (#39245)
6bdecf2e4f Update aws-sdk-s3 to v1.225.0 (#39258)
0eed603a36 Update aws-sdk-core to v3.251.0 (#39257)
a849a2d824 Update js-yaml to v4.2.0 (#39241)
8d9a7aa50b Exercise more of `tags/show.rss` view (#39269)
a6ec5ce508 Remove resize handles from inputs in Firefox (#39274)
2713f14447 New Crowdin Translations (automated) (#39259)
\Master?/
\ますたー/
Merged mastodon/mastodon at daae64afabdcbd638381f65cdd0f0ff5b135dd86.
なんか落ちたぞ…
$ bundle exec rspec
:
1) Public files when requesting service worker file returns the file with the expected headers
Failure/Error:
expect(response)
.to have_http_status(200)
expected the response to have status code 200 but it was 404
:
rspec ./spec/requests/public_files_spec.rb:9 # Public files when requesting service worker file returns the file with the expected headers
$ RAILS_ENV=test bundle exec rake assets:precompile
は効かない
spec/requests/public_files_spec.rbは去年追加されたテストで、最近、get '/sw.js'が200ではなく404を返すようになったみたい。
$ ls -l public/sw.js
lrwxrwxrwx 1 zunda zunda 11 Mar 30 09:27 public/sw.js -> packs/sw.js
$ ls -l packs/sw.js
ls: cannot access 'packs/sw.js': No such file or directory
ふむー
デプロイ先では200なのでテストの問題かしら…
$ curl -sI https://mastodon.zunda.ninja/sw.js | head -1
HTTP/2 200
あ、あれ?
$ heroku run bash
~ $ ls -l public/sw.js
lrwxrwxrwx 1 u36325 dyno 11 Jun 4 21:27 public/sw.js -> packs/sw.js
~ $ ls -l packs/sw.js
ls: cannot access 'packs/sw.js': No such file or directory
「オープンソース」の活用広げよう 6月6日に仙台で14年ぶり催し 企業・団体がブース出展 | 河北新報オンライン
https://kahoku.news/articles/20260604khn000028.html
OSCが新聞載ってたらしくてわろた
おうちUbuntu 24.04.4 LTSちゃんです
$ sudo sh -c 'apt update && apt dist-upgrade -y'
:
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils firmware-sof-signed nano
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 standard LTS security updates
:
$ cat /var/run/reboot-required*
cat: '/var/run/reboot-required*': No such file or directory
nanoも更新なの!!
RE: https://kmy.blue/@askyq/116694475132025953
sw.jsがsw.tsになったのは#39250で、同じコミット0172d819f7882db3dd4f1350c01e5d728924bc86で/vite.config.mtsも編集されてる。
@@ -224,7 +208,9 @@ export const config: UserConfigFnPromise = async ({ mode, command }) => {
};
async function findEntrypoints() {
- const entrypoints: Record<string, string> = {};
+ const entrypoints: Record<string, string> = {
+ sw: path.resolve(jsRoot, 'mastodon/service_worker/sw.ts'),
+ };
// First, JS entrypoints
const jsEntrypointsDir = path.resolve(jsRoot, 'entrypoints');
とかがあやしいのかなあ…。Viteいやだなあ…
CVS (レポジトリじゃなくて薬局)のサイトでワクチンの予約をしようとするとFirefoxではログインできなくてSafariだとログインできてむっちゃかなしい←
以前アメリカのNetflixでも見られたんだけど今は無いみたい。日本のNetflixだと見られるかも。
「dele」ちょこちょこGoのコードが登場するのも楽しみのひとつよね
$ git show 0172d819f7882db3dd4f1350c01e5d7 | patch -p1 -R
するとyarn.lockのパッチは失敗するんだけど
$ RAILS_ENV=test bundle exec rake assets:precompile
して
$ bundle exec rspec ./spec/requests/public_files_spec.rb:9
は通るようになって、それでも、
$ ls -l public/sw.js
lrwxrwxrwx 1 zunda zunda 11 Jun 4 15:04 public/sw.js -> packs/sw.js
$ ls -l packs/sw.js
ls: cannot access 'packs/sw.js': No such file or directory
あ!!
$ ls -l public/packs/sw.js
-rw-rw-r-- 1 zunda zunda 178812 Jun 4 16:03 public/packs/sw.js
こっちか!! そしてそして、
$ git reset --hard
しても
$ bundle exec rspec ./spec/requests/public_files_spec.rb:9
が通るようになっちゃったw
いや、public/packs-testとかを見るのかしら
$ mv public/packs-test public/packs-test.t
すると
$ RAILS_ENV=test bundle exec rake assets:precompile
で
Skipping vite build. Watched files have not changed since the last build at 2026-06-04 16:06:59
と言われずにビルドが実行されて、最新のコードで
$ bundle exec rspec ./spec/requests/public_files_spec.rb:9
が期待どおり失敗するようになる。
最新のコードの弊ぼっちのプロダクションだと
$ heroku run bash
~ $ ls -l public/sw.js
lrwxrwxrwx 1 u8363 dyno 11 Jun 4 21:27 public/sw.js -> packs/sw.js
~ $ ls -l public/packs/sw.js
-rw------- 1 u8363 dyno 60426 Jun 4 21:28 public/packs/sw.js
となっていて問題が起きないんだな。
$ git status
:
Untracked files:
(use "git add <file>..." to include in what will be committed)
app/javascript/mastodon/service_worker/sw.js
:
$ ls -l app/javascript/mastodon/service_worker/sw.*
-rw-r--r-- 1 zunda zunda 2346 Jun 4 16:02 app/javascript/mastodon/service_worker/sw.js
-rw-rw-r-- 1 zunda zunda 753 Jun 4 16:05 app/javascript/mastodon/service_worker/sw.ts
そこに.jsつくるんだ…
-
-X
こっちはンの無い方のマイナバードさん。なかなかこっちを向いてくれない
うっひょー、てか、複雑で理解できないし、僕は複雑で理解できないものは避けたいんだけど、
GitHubのアクセストークンが「リンクを1回クリックしただけ」で盗まれる脆弱性が報告される - GIGAZINE
https://gigazine.net/news/20260604-github-token-stealing/
この前帰省したときに実家の周囲をうろうろしたら通ってた小学校のそばの文房具屋さんがまだあったんだよねえ!店名まで覚えてないので店が変わった可能性はあるけど。立地が良いのかねえ
えーあいみたいな同僚が、えーあいに訊ねたらこう言われたんだけどって訊ねてきて、ひとつも情報増えてないから🥺 #ダークモード
RE: https://mstdn.anqou.net/@anqou/116695678543670715
Androidの端末をUSB有線で計算機につないでUSBテザリングを有効にすると計算機からは一般的なネットワークインターフェース(それもインターネットにつながってる!)に見えるらしくてライブラリとかドライバとか入れる経路として使えるかもしれません
ビールとつまみ代りのサラダと追加ポテチは枯渇したけどごはんが炊けたのでおかずの残りをあたたたたたためよう
市電にもなじんでるRubyKaigiすてき