# figure out the full path to where the frost.sh script is stored SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located done DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
# change to the frost.jar directory, in case the user executed frost.sh from somewhere else # this ensures that all relative paths in Frost work (such as the "downloads/" directory) cd "${DIR}"
# you may need to uncomment this if you are using the old "Beryl" window manager for Linux #export AWT_TOOLKIT="MToolkit"
# add some special Apple flags if this is being launched on OS X if [ "$(uname)" = "Darwin" ]; then ADDFLAGS='-Dapple.laf.useScreenMenuBar=true -Xdock:name=Frost' else ADDFLAGS='' fi
・原文: Creating a Custom Linux Distro for WSL ・訳文: WSL用のカスタムLinuxディストリビューションの作成 0435login:Penguin2019/05/03(金) 21:04:35.17ID:NIVDKjRK 今さらだけど、wslttyの設定ファイルって %APPDATA%/wsltty/config だと知った。
ここに IMECursorColour=255,0,0 の行を追加すると、IMEがONのときカーソルが赤くなる。 Cygwinユーザにはおなじみの設定がやっと使えるようになったよ。 0436login:Penguin2019/05/03(金) 23:01:38.81ID:jrsEQoYe MS の機械翻訳は、Google 翻訳だろ?
The criticism is not correct because machine translation is more about machine learning than rule based. >> 434 "Mirai Translate". It's not perfect, but it's almost unsatisfactory. The company is affiliated with NTT and has a technology partnership with NICT.
と返しているから、さらに精度が悪いな。あと日本語が微妙。 「It's not perfect, but it's almost unsatisfactory」の文言は難しいのかねぇ 0447login:Penguin2019/05/04(土) 22:35:19.26ID:bWNSFR0E 副詞の位置や扱いによるみたいですね。(みらい翻訳)
完璧ではないが不満はほぼないだろう。 It's not perfect, but you'll have almost no complaints. 完璧ではないが不満はほとんどないだろう。 It's not perfect, but you'll have few complaints. 完璧ではないがほとんど不満はないだろう。 It's not perfect, but there's little to complain about.
>Microsoft will be shipping a Linux kernel with Windows 0454login:Penguin2019/05/07(火) 05:48:23.51ID:XQLUvAph 結局VMで動かすのね 0455login:Penguin2019/05/07(火) 06:42:21.07ID:3i8bsIKD .tar.gzの展開で20倍、git cloneやnpm installで5倍程度早くなるってことで、 I/Oは他のVMと同等になりそうだね
lightweightなVMがどこまでリソース消費を抑えるのかわからないけど、 hyper-vの雑なリソース管理も改善してほしいわ 6月のinsiderからということは、一般向けは1年後かね 0456login:Penguin2019/05/07(火) 07:23:25.64ID:DhoJT5pj A quick explanation of the architectural changes in WSL 2 の項目で書いてある通り、完全なVMじゃないんだろう VMWareみたいに汎用的である必要が無いから WSL2のカーネルの上っ面が必要に応じてホスト(Win10側)に要求投げるって感じか ハイブリッドカーネルっぽい感じでホストに投げる必要がなきゃVM内だけで処理すると 0457login:Penguin2019/05/07(火) 07:32:32.01ID:YGXDLKZ9 これまではLinuxカーネル互換レイヤーだった(=動作環境に至るまでLinuxカーネルは介在しなかった)けど、 WSL2ではカーネルごと取り込んで、最小限のVM上に実装することにしたのか。 Hyper-Vや他のVM環境と併存できるなら実装はどういう形でも構わないけど、それらと排他って事になるとちょっと面倒だな。
近い将来、WindowsにLinuxカーネルがバンドルされる方向であることが、マイクロソフトの 「Windows Command Line Tools For Developers」ブログに投稿された記事「Shipping a Linux Kernel with Windows」で明らかになりました。
Windows 10には、Linux互換機能を実現する「Windows Subsystem for Linux」(WSL)が 搭載されています。これまで、WSLを機能させるにはユーザーがWSL上にLinuxを導入する 必要がありました。