IntelliJ IDEA では、プロジェクト出力のレイアウトはアーティファクトを介して定義
java.lang.RuntimeException: com.intellij.execution.ExecutionException: The Module Root specified is not a module according to Intellij at com.poratu.idea.plugins.tomcat.conf.TomcatCommandLineState.createJavaParameters(TomcatCommandLineState.java:153) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:865) at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61) at com.intellij.execution.configurations.JavaCommandLineState.getJavaParameters(JavaCommandLineState.java:44) at com.intellij.execution.impl.DefaultJavaProgramRunner.patchJavaCommandLineParams(DefaultJavaProgramRunner.java:137) at com.intellij.execution.impl.DefaultJavaProgramRunner.lambda$doExecute$3(DefaultJavaProgramRunner.java:127) at com.intellij.execution.runners.JavaProgramPatcher.lambda$patchJavaCommandLineParamsUnderProgress$2(JavaProgramPatcher.java:43) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:298) at com.intellij.openapi.progre
JUnit
ImmutableMapを比較
Assersions.assertEqualsでいけそう
@Testと@ParameterizedTestは一緒に書いてはダメ
怒られた。
dpkg: error processing archive /var/cache/apt/archives/opam_2.1.0~rc2-0ppa1~focal_amd64.deb (--unpack): | |
trying to overwrite '/usr/bin/opam-installer', which is also in package opam-installer 2.0.5-1ubuntu1 | |
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) | |
Errors were encountered while processing: | |
/var/cache/apt/archives/opam_2.1.0~rc2-0ppa1~focal_amd64.deb |
rustを久しぶりに触った
camtypers
自作のrustのコードを動かそうとしてすこしトラブった。
.cargo配下の依存ライブラリの不具合を修正して対応
学び
AWSをローカルで動かす
docker pull localstack/localstack
docker run --rm -p 4566:4566 -p 4571:4571 localstack/localstack
# MySQLの照合順序は要注意 | |
alter tableしてcharset指定した列はテーブルに指定した照合参照とは異なる照合順序を指定することがある | |
# VSCodeでDiffができる | |
Shift+Ctrl+P compare |
use_bpm 112 | |
live_loop :beat1 do | |
sample :drum_heavy_kick | |
sleep 1 | |
sample :drum_snare_hard | |
sleep 1 | |
sample :drum_heavy_kick | |
sleep 1 | |
sample :drum_snare_hard |
use_bpm 90 | |
use_synth :piano | |
live_loop :beat1 do | |
sample :drum_cymbal_closed, amp: 0.1 | |
sleep 0.5 | |
end | |
live_loop :beat2 do |
../cycmap.py:61: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). | |
fig = plt.figure() |