そんなにキツイの!? スイッチ2版『スト6』Joy-Conを振りまくる新モード、ラウンド制限時間が60秒に短縮ー「心身ともにアツくなるので」
Source link
Views: 0
Views: 0
sshの鍵をVaultに保管する機能を1Passwordが提供しています。下記の設定を~/.ssh/config
に加えるようドキュメントに記載されています。
Host *
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
Macのローカルマシン上でsshを使う限りは問題ないのですが、たとえばiPadからMacにsshでリモートログインしたあと、Macから別のサーバに接続したい場合、例えばgit pushコマンドを実行すると失敗します。
これは1Passwordが生体認証を実行しようと、ローカルデスクトップ上に1Password GUIを起動するからです。ユーザーの反応がないのでタイムアウトしてエラーになります。
iPad側のSSHクライアントアプリ(例えば、Shelly)にSSH Agentの転送機能がある場合、Mac側のssh鍵を使わなずに、iPad側の鍵情報を優先的に利用することでこの問題を回避できます。具体的には、サンプルのConfigを下記のように書き直します。
Match host * exec "[[ ! -n $SSH_CLIENT ]]"
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
Matchを使って分岐ロジックを書くのがポイントです。
Q. ~/.zshrc
にfunctionとして分岐ロジックを記述する方法は駄目なの?
A. 駄目です。中継サーバ上のシェルからさらにssh
する場合は動作しますが、git push
の場合にはzsh経由でsshが実行されるわけではないので無視されてしまいます。sshクライアントの設定で分岐を記述する必要があります。
Views: 0
皆さん、こんにちは!
Svelte Japanは、SvelteやSvelteKitの公式ドキュメントを日本語に翻訳し、Svelteに関するイベントを開催する、日本最大のSvelteコミュニティです。これから新たに、Svelteに関する最新情報や機能アップデート、コミュニティイベント、役立つリソースなどを定期的にお届けするニュースレターを始めます。
このニュースレターを通じて、皆さんがSvelteを使った開発をより楽しく、そして効率的に行えるようサポートしていきます!
それではさっそく、今月のトピックスを見ていきましょう!
新しいidPrefix
オプション: render
に新たに追加されたこのオプションにより、クライアントサイドのID生成がより信頼性の高いものになりました。これは、ページ上に複数のSvelteランタイムが存在する場合でも安心してID生成が行えるようにするものです (5.22.0, ドキュメント, PR#15428)。
Derivedステートメントの書き換えが可能に: 今回のアップデートでは、Derivedステートメントが書き換え可能になりました。これにより、状態管理がより柔軟に行えるようになり、開発者はより快適に作業できるようになります。
(5.25.0/5.25.2, ドキュメント, PR#15570 及び PR#15581)。
サンプルコード
script>
let { post, like } = $props();
let likes = $derived(post.likes);
async function onclick() {
likes += 1;
try {
await like();
} catch {
likes -= 1;
}
}
script>
button {onclick}>🧡 {likes}button>
Svelte CLIの改善: Svelte CLIもアップグレードされ、コード生成のフォーマットが改善されました。これにより、より直感的な操作が可能となり、初心者でも扱いやすくなりました (0.7.0, PR#380)。
eslint-plugin-svelte
v3のリリース: この最新のアップデートは、Svelte 5に対するサポートを改善しています。
追加されたルールのsvelte/no-unused-propsはPropsで定義されているが、コンポーネントコードでは使用されていないプロパティを教えてくれるので便利です。
その他の詳細はCHANGELOGをご覧ください。
また、今月の初めには言語ツールへの多くの修正も行われているので、プラグインは最新の状態に保つことをお勧めします!
Tailwind CSSがSvelte Playgroundに組み込まれました!
非同期rerouteの導入: reroute
が非同期で呼び出せるようになり、クッキーやリクエストコンテキストを渡す際の利便性が向上しました。これにより、より柔軟なリクエスト処理が可能となります (2.18.0/2.19.0, ドキュメント, PR#13520 及び プルリクエスト#13549)。
新しいnormalizeUrl
ヘルパー: この機能が追加されたことで、生のURLを正規化する手段が提供され、SvelteKit内部のデータを扱いやすくなります (2.18.0, ドキュメント, PR#13539)。
getRequestEvent
機能の追加: $app/server
に新しい関数が追加され、現在のRequestEvent
を取得できるようになりました。これにより、リクエストの処理がよりスムーズになります (2.20.0, ドキュメント, PR#13582)。
cloudflare-adapter
のアップデート: 最新のアップデートにより、Wrangler 4のサポートが追加され、改善された_headers
および_redirects
ファイル、Cloudflare Workers Static Assets向けの特別なビルドサポートが提供されるようになりました (5.1.0-7.0.0, CHANGELOG)。
Svelte、SvelteKit、およびそのアダプターに関するバグ修正の完全なリストは、こちらとこちらのCHANGELOGをご確認ください。
今月のSvelte Japanニュースレターはいかがでしたでしょうか?
もしご意見や質問があれば、ぜひXやDiscordでお知らせください。
次回のニュースレターもお楽しみに!
またお会いしましょう!👋🏼
Views: 0
I’ve been a bit sucked into the game Balatro lately. Seriously. Tell me your strategies. I enjoy playing it equally as much lately as unwinding watching streamers play it on YouTube. Balatro has a handful of accessibility features. Stuff like slowing down or turning off animations and the like. I’m particularly interested one of the checkboxes below though:
“High Contrast Cards” is one of the options. It’s a nice option to have, but I find it particularly notable because of it’s popularity. You know those streamers I mentioned? The all seem to have this option turned on. Interesting how an “accessibility feature” actually seems to make the game better for everybody. As in, maybe the default should be reversed or just not there at all, with the high contrast version being just how it is.
It reminds me about how half of Americans, particularly the younger generation, prefer having closed captioning on TV some or all of the time. An accessibility feature that they just prefer.
Interestingly, the high contrast mode in Balatro mostly focuses on changing colors.
If you don’t suffer from any sort of colorblindness (like me? I think?) you’ll notice the clubs above are blue, which differentiates them from the spades which remain black. The hearts and clubs are slightly differentiated with the diamonds being a bit more orange than red.
Is that enough? It’s enough for many players preferring it, likely preventing accidentally playing a flush hand with the wrong suits, for example. But I can’t vouch for if it works for people with actual low vision or a type of color blindness, which is what I’d assume would be the main point of the feature. Andy Baio wrote a memorable post about colorblindness a few years ago called Chasing rainbows. There are some great examples in that post that highlight the particular type of colorblindness Andy has. Sometimes super different colors look a lot closer together than you’d expect, but still fairly distinct. Where sometimes two colors that are a bit different actually appear identical to Andy.
So maybe the Balatro colors are enough (lemme know!) or maybe they are not. I assume that’s why a lot of “high contrast” variations do more than color, they incorporate different patterns and whatnot. Which, fair enough, the playing cards of Balatro already do.
Let’s do a few more fun CSS and color related links to round out the week:
color-mix()
is nice for a one-off where you’re trying to ensure contrast or build the perfect combo from an unknown other color, but it can also be the foundational tool for a system of colors.Views: 1
Views: 0
Views: 0
Looking for something to play this weekend without the hassle of downloading? We’ve got a selection of fresh browser games that you can jump into with just a click, this time with a focus on action games. From roguelites to bullet hells, let’s take a look at some interesting projects we’ve found:
Gun Knight is a roguelite where you play as a Knight venturing into a nearby dungeon using GUN MAGIC. Starting with a pistol, you modify your weapon by picking up gun parts. The game features pixel art graphics and a variety of gun attachments to discover.
Available for free on Windows and in browser.
In Portal to the Cosmobeat, you help Gorb become the galaxy’s best dancer. Gorb challenges dancers around the galaxy, but needs your help to succeed. This casual dancing game features 3D visuals and a lighthearted narrative.
Available for free on Windows, Linux, and in browser.
Plummet Panic is a physics-based game where you race to the bottom. Created in 5 days for the Godot Wild Jam #73, the incremental progression you keep you engaged for many rounds. Your goal is to help the main character reach the first floor by destroying floors and collecting money.
Available for free on Windows, macOS, Linux, and in browser.
EX TERRA is a PICO-8 caravan shmup where you need to reach the core and defend the Earth. This shoot ’em up has two stages that emphasize close quarters and highscoring. The game features a lock-on system, multiple weapon types, and a shield mechanic.
Available for $5 on Windows, macOS, Linux, and free in browser.
Groblin Survivors combines horde survival with tower defense. Build defenses to slay incoming enemies while dodging attacks. The game features some chunky pixel art graphics and roguelite progression.
Available for free on Windows and in browser.
Moon Watch is a Time-Stop Horde Survival Roguelite where you battle vampires on the moon. Created for the Post Jam “Jam” #9, the game lets you manipulate time to set up combos and overcome challenges. It features deck-building elements with various cards and relics to discover.
Available for free in browser.
KARASU MELTDOWN! is a bullet hell caravan shmup where you play as hell raven Utsuho Reiuji. The game features bomb mechanics that tie into both survival and scoring. It was created in three weeks for the Gunner Parade ’22 Winter League game jam.
Available for free on Windows, Linux, and in browser.
In Slime 3k: Demake, you play as a sentient blob of goo rising up against its creator, an evil AI ruling the world in the year 3000. This demake version features Game Boy-inspired graphics and roguelite gameplay.
Available for free in browser.
If you’re looking for more, check out the New & Popular Browser Games from the last 7 days on itch.io. What have you been playing? Let us know in the comments!
Views: 0
Views: 0