text:
mvnw clean install fails on macOS

I tried to run the command "./mvnw clean install" on the root of the directory.
I have java 17 installed on the box.
I am getting the following error on macOS. any help is greatly appreciated.
DEBUG] incrementalBuildHelper#beforeRebuildExecution
[INFO] Compiling 12 source files to /Users/sdixit/Development/Building-Big-Data-Pipelines-with-Apache-Beam/util/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Building Big Data Pipelines with Apache Beam 1.0.0 . SUCCESS [  0.152 s]
[INFO] Building Big Data Pipelines with Apache Beam Utils 1.18.22 FAILURE [  1.190 s]
[INFO] Building Big Data Pipelines with Apache Beam Chapter 1 1.0.0 SKIPPED
[INFO] Building Big Data Pipelines with Apache Beam Chapter 2 1.0.0 SKIPPED
[INFO] Building Big Data Pipelines with Apache Beam Chapter 3 1.0.0 SKIPPED
[INFO] Building Big Data Pipelines with Apache Beam Chapter 4 1.0.0 SKIPPED
[INFO] Building Big Data Pipelines with Apache Beam Chapter 5 1.0.0 SKIPPED
[INFO] Building Big Data Pipelines with Apache Beam Chapter 6 1.0.0 SKIPPED
[INFO] Building Big Data Pipelines with Apache Beam Chapter 7 1.0.0 SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.460 s
[INFO] Finished at: 2022-04-17T10:09:43-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project beam-util: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x6296c184) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x6296c184 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project beam-util: Fatal error compiling
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error compiling
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1145)
at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:187)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
Caused by: org.codehaus.plexus.compiler.CompilerException: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x6296c184) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x6296c184
at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess (JavaxToolsCompiler.java:173)
at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile (JavacCompiler.java:174)
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1134)
at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:187)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
Caused by: java.lang.RuntimeException: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x6296c184) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x6296c184
at com.sun.tools.javac.api.JavacTaskImpl.invocationHelper (JavacTaskImpl.java:168)
at com.sun.tools.javac.api.JavacTaskImpl.doCall (JavacTaskImpl.java:100)
at com.sun.tools.javac.api.JavacTaskImpl.call (JavacTaskImpl.java:94)
at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess (JavaxToolsCompiler.java:126)
at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile (JavacCompiler.java:174)
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1134)
at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:187)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
Caused by: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x6296c184) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x6296c184
at lombok.javac.apt.LombokProcessor.getJavacProcessingEnvironment (LombokProcessor.java:433)
at lombok.javac.apt.LombokProcessor.init (LombokProcessor.java:92)
at lombok.core.AnnotationProcessor$JavacDescriptor.want (AnnotationProcessor.java:160)
at lombok.core.AnnotationProcessor.init (AnnotationProcessor.java:213)
at lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init (AnnotationProcessor.java:64)
at com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState. (JavacProcessingEnvironment.java:701)
at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next (JavacProcessingEnvironment.java:828)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs (JavacProcessingEnvironment.java:924)
at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run (JavacProcessingEnvironment.java:1267)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing (JavacProcessingEnvironment.java:1382)
at com.sun.tools.javac.main.JavaCompiler.processAnnotations (JavaCompiler.java:1234)
at com.sun.tools.javac.main.JavaCompiler.compile (JavaCompiler.java:916)
at com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0 (JavacTaskImpl.java:104)
at com.sun.tools.javac.api.JavacTaskImpl.invocationHelper (JavacTaskImpl.java:152)
at com.sun.tools.javac.api.JavacTaskImpl.doCall (JavacTaskImpl.java:100)
at com.sun.tools.javac.api.JavacTaskImpl.call (JavacTaskImpl.java:94)
at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess (JavaxToolsCompiler.java:126)
at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile (JavacCompiler.java:174)
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1134)
at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:187)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)

Closing this one as I realized it is because I have wrong JAVA_HOME setup.


text:
Error when running npm run build after auditing

Disclaimer: I am probably doing something strange here due to a lack of expertise on my part.
I first installed the samples, which gave me some warnings about vulnerabilities in the deps.
$ cd Learn-Three.js-Fourth-edition/source
$ npm install
$ npm install
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: ltjs-fourth@1.0.0
npm WARN Found: eslint@7.32.0
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.14.0" from the root project
npm WARN   5 more (eslint-config-standard, eslint-plugin-es, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from eslint-config-standard@16.0.3
npm WARN node_modules/eslint-config-standard
npm WARN   dev eslint-config-standard@"^16.0.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: ltjs-fourth@1.0.0
npm WARN Found: eslint@7.32.0
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.14.0" from the root project
npm WARN   5 more (eslint-config-standard, eslint-plugin-es, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.0.0" from eslint-plugin-promise@5.2.0
npm WARN node_modules/eslint-plugin-promise
npm WARN   dev eslint-plugin-promise@"^5.2.0" from the root project
npm WARN   1 more (eslint-config-standard)
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: ltjs-fourth@1.0.0
npm WARN Found: eslint@7.32.0
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.14.0" from the root project
npm WARN   5 more (eslint-config-standard, eslint-plugin-es, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.0.0" from eslint-plugin-promise@5.2.0
npm WARN node_modules/eslint-plugin-promise
npm WARN   dev eslint-plugin-promise@"^5.2.0" from the root project
npm WARN   1 more (eslint-config-standard)
npm WARN deprecated tween.js@16.6.0: This package has moved to @tweenjs/tween.js. Please update your dependencies.
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm WARN deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead

added 579 packages, and audited 580 packages in 29s

113 packages are looking for funding
  run `npm fund` for details

20 vulnerabilities (3 moderate, 15 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

I then ran the suggested audit (--force was required):
$ npm audit fix
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: eslint-config-standard@16.0.3
npm ERR! Found: eslint@8.57.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^8.14.0" from the root project
npm ERR!   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
npm ERR!   node_modules/@eslint-community/eslint-utils
npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from eslint@8.57.0
npm ERR!   5 more (eslint-config-prettier, eslint-plugin-es, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^7.12.1" from eslint-config-standard@16.0.3
npm ERR! node_modules/eslint-config-standard
npm ERR!   dev eslint-config-standard@"^16.0.3" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: eslint@7.32.0
npm ERR! node_modules/eslint
npm ERR!   peer eslint@"^7.12.1" from eslint-config-standard@16.0.3
npm ERR!   node_modules/eslint-config-standard
npm ERR!     dev eslint-config-standard@"^16.0.3" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /.npm/_logs/2024-08-04T14_05_20_633Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /.npm/_logs/2024-08-04T14_05_20_633Z-debug-0.log
$ npm audit fix --force
npm WARN using --force Recommended protections disabled.
npm WARN audit Updating serve to 14.2.3, which is a SemVer major change.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: eslint-config-standard@16.0.3
npm WARN Found: eslint@8.57.0
npm WARN node_modules/eslint
npm WARN   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
npm WARN   node_modules/@eslint-community/eslint-utils
npm WARN     @eslint-community/eslint-utils@"^4.2.0" from eslint@8.57.0
npm WARN   6 more (eslint-config-prettier, eslint-plugin-es, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from eslint-config-standard@16.0.3
npm WARN node_modules/eslint-config-standard
npm WARN   dev eslint-config-standard@"^16.0.3" from the root project
npm WARN
npm WARN Conflicting peer dependency: eslint@7.32.0
npm WARN node_modules/eslint
npm WARN   peer eslint@"^7.12.1" from eslint-config-standard@16.0.3
npm WARN   node_modules/eslint-config-standard
npm WARN     dev eslint-config-standard@"^16.0.3" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: eslint-plugin-promise@5.2.0
npm WARN Found: eslint@8.57.0
npm WARN node_modules/eslint
npm WARN   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
npm WARN   node_modules/@eslint-community/eslint-utils
npm WARN     @eslint-community/eslint-utils@"^4.2.0" from eslint@8.57.0
npm WARN   6 more (eslint-config-prettier, eslint-plugin-es, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.0.0" from eslint-plugin-promise@5.2.0
npm WARN node_modules/eslint-plugin-promise
npm WARN   peer eslint-plugin-promise@"^4.2.1 || ^5.0.0" from eslint-config-standard@16.0.3
npm WARN   node_modules/eslint-config-standard
npm WARN   1 more (the root project)
npm WARN
npm WARN Conflicting peer dependency: eslint@7.32.0
npm WARN node_modules/eslint
npm WARN   peer eslint@"^7.0.0" from eslint-plugin-promise@5.2.0
npm WARN   node_modules/eslint-plugin-promise
npm WARN     peer eslint-plugin-promise@"^4.2.1 || ^5.0.0" from eslint-config-standard@16.0.3
npm WARN     node_modules/eslint-config-standard
npm WARN     1 more (the root project)

added 37 packages, removed 61 packages, changed 96 packages, and audited 556 packages in 18s

119 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

I got this error when trying to build the samples:
$ npm run build
$ npm run build

> ltjs-fourth@1.0.0 build
> webpack build

390 assets
runtime modules 555 KiB 872 modules
orphan modules 251 bytes [orphan] 4 modules
cacheable modules 5.61 MiB (javascript) 1.29 MiB (webassembly)
  modules by path ./samples/ 398 KiB 220 modules
  modules by path ./node_modules/ 5.22 MiB (javascript) 1.29 MiB (webassembly)
    modules by path ./node_modules/three/ 4.47 MiB 112 modules
    modules by path ./node_modules/@dimforge/rapier3d/ 342 KiB (javascript) 1.29 MiB (webassembly) 36 modules
    modules by path ./node_modules/glsl-tokenizer/ 15.6 KiB
      modules by path ./node_modules/glsl-tokenizer/lib/*.js 8.09 KiB 5 modules
      modules by path ./node_modules/glsl-tokenizer/*.js 7.46 KiB 2 modules
    + 13 modules

ERROR in ./samples/chapters/chapter-3/light-probe.js 4:0-84
Module not found: Error: Invalid "exports" target "./examples/jsm/lights//LightProbeGenerator" defined for "./examples/jsm/*" in the package config /path/Learn-Three.js-Fourth-edition/source/node_modules/three/package.json, targets must start with "./"

I could solve this by removing the extra "/" in "//" here:
https://github.com/PacktPublishing/Learn-Three.js-Fourth-edition/blob/285b171f5515e02ea80364bdc887f77f97846f25/source/samples/chapters/chapter-3/light-probe.js#L4
The offending sample runs fine after serving.

Hi @RaulPPelaez, Thank you for your patience. The issue with the extra slash will be addressed with a fix soon. Additionally, the NPM audit warnings are due to version updates and existing package issues, and updating the packages should resolve them.
Given that the fix for the extra slash is underway, we’ll be closing this issue for now. If you encounter any further problems or have additional questions, please don’t hesitate to open a new issue.
Thanks!

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Chapter 11 - Yahoo-Finance no longer working

Wondering if your code will be updated to a new historical data gathering tool as yahoo-finance doesn't work anymore? Maybe iexfinance or Alpha Vantage. And could the predictive model use .csv files instead of .npy? Thanks! Great work!

@windowshopr thanks for filing this issue. I just executed the code once again, which is working fine. I've uploaded the updated codes (mostly tested on TensorFlow 2.0 about 3 months ago, though) as Notebook in each chapter.
But you're right sometimes Yahoo-finance doesn't work. However, I don't have have any workaround here because I'm pretty overloaded at the moment.
Please try running the corresponding Notebook file and let me know it went.

https://github.com/PacktPublishing/Predictive-Analytics-with-TensorFlow/blob/master/Chapter11/StockPricePrediction.ipynb

Thanks for the suggestion! This repository was the first one I came across in the Packt Publishing suite haha. I will give the notebook a shot and if there are any issues, I will report back. Maybe this weekend when I get some time, I'll see if I can tweak the existing code to pull the historical data from another source and make a pull request, so that both options could be available.
Thanks!

@rezacsedu The notebook worked great. I've made some modifications to convert the .npy to a .csv file and using that for the simulations, but not before running a wavelet transform to denoise the stock data (although probably not super applicable here, it is a feature that I'll want to use in future use). I will also be updating where the historical data is sourced from someday.
I've attached my edited code below here just for reference. One question I did have, could you explain the (avg, std) that gets printed at the end? Is the avg the average ending portfolio size out of all 100 simulations, and what would the std deviation depict? Just a newbie question. Thanks!
import warnings
warnings.filterwarnings("ignore")

from yahoo_finance import Share
from matplotlib import pyplot as plt
import numpy as np
import random
import tensorflow as tf
import random
import pywt
from numpy import genfromtxt

class DecisionPolicy:
    def select_action(self, current_state, step):
        pass

    def update_q(self, state, action, reward, next_state):
        pass

class RandomDecisionPolicy(DecisionPolicy):
    def __init__(self, actions):
        self.actions = actions

    def select_action(self, current_state, step):
        action = self.actions[random.randint(0, len(self.actions) - 1)]
        return action

class QLearningDecisionPolicy(DecisionPolicy):
    def __init__(self, actions, input_dim):
        self.epsilon = 0.5
        self.gamma = 0.001
        self.actions = actions
        output_dim = len(actions)
        h1_dim = 200

        self.x = tf.placeholder(tf.float32, [None, input_dim])
        self.y = tf.placeholder(tf.float32, [output_dim])
        W1 = tf.Variable(tf.random_normal([input_dim, h1_dim]))
        b1 = tf.Variable(tf.constant(0.1, shape=[h1_dim]))
        h1 = tf.nn.relu(tf.matmul(self.x, W1) + b1)
        W2 = tf.Variable(tf.random_normal([h1_dim, output_dim]))
        b2 = tf.Variable(tf.constant(0.1, shape=[output_dim]))
        self.q = tf.nn.relu(tf.matmul(h1, W2) + b2)

        loss = tf.square(self.y - self.q)
        self.train_op = tf.train.GradientDescentOptimizer(0.01).minimize(loss)
        self.sess = tf.Session()
        self.sess.run(tf.initialize_all_variables())

    def select_action(self, current_state, step):
        threshold = min(self.epsilon, step / 1000.)
        if random.random() < threshold:
            # Exploit best option with probability epsilon
            action_q_vals = self.sess.run(self.q, feed_dict={self.x: current_state})
            action_idx = np.argmax(action_q_vals)  # TODO: replace w/ tensorflow's argmax
            action = self.actions[action_idx]
        else:
            # Explore random option with probability 1 - epsilon
            action = self.actions[random.randint(0, len(self.actions) - 1)]
        return action

    def update_q(self, state, action, reward, next_state):
        action_q_vals = self.sess.run(self.q, feed_dict={self.x: state})
        next_action_q_vals = self.sess.run(self.q, feed_dict={self.x: next_state})
        next_action_idx = np.argmax(next_action_q_vals)
        action_q_vals[0, next_action_idx] = reward + self.gamma * next_action_q_vals[0, next_action_idx]
        action_q_vals = np.squeeze(np.asarray(action_q_vals))
        self.sess.run(self.train_op, feed_dict={self.x: state, self.y: action_q_vals})

def run_simulation(policy, initial_budget, initial_num_stocks, my_data, hist, debug=False):
    budget = initial_budget
    num_stocks = initial_num_stocks
    share_value = 0
    transitions = list()
    for i in range(len(my_data) - hist - 1):
        if i % 100 == 0:
            print('progress {:.2f}%'.format(float(100*i) / (len(my_data) - hist - 1)))
        current_state = np.asmatrix(np.hstack((my_data[i:i+hist], budget, num_stocks)))
        current_portfolio = budget + num_stocks * share_value
        action = policy.select_action(current_state, i)
        share_value = float(my_data[i + hist + 1])
        if action == 'Buy' and budget >= share_value:
            budget -= share_value
            num_stocks += 1
        elif action == 'Sell' and num_stocks > 0:
            budget += share_value
            num_stocks -= 1
        else:
            action = 'Hold'
        new_portfolio = budget + num_stocks * share_value
        reward = new_portfolio - current_portfolio
        next_state = np.asmatrix(np.hstack((my_data[i+1:i+hist+1], budget, num_stocks)))
        transitions.append((current_state, action, reward, next_state))
        policy.update_q(current_state, action, reward, next_state)

    portfolio = budget + num_stocks * share_value
    if debug:
        print('${}\t{} shares'.format(budget, num_stocks))
    return portfolio

def run_simulations(policy, budget, num_stocks, my_data, hist):
    num_tries = 100
    final_portfolios = list()
    for i in range(num_tries):
        final_portfolio = run_simulation(policy, budget, num_stocks, my_data, hist)
        final_portfolios.append(final_portfolio)
    avg, std = np.mean(final_portfolios), np.std(final_portfolios)
    return avg, std

def get_prices(share_symbol, start_date, end_date, cache_filename):
    try:
        stock_prices = np.load(cache_filename)
    except IOError:
        share = Share(share_symbol)
        stock_hist = share.get_historical(start_date, end_date)
        stock_prices = [stock_price['Open'] for stock_price in stock_hist]
        np.save(cache_filename, stock_prices)

    return stock_prices

def plot_prices(my_data):
    plt.title('Opening stock prices')
    plt.xlabel('day')
    plt.ylabel('price ($)')
    plt.plot(my_data)
    plt.savefig('my_data.png')

if __name__ == '__main__':
    prices = get_prices('MSFT', '2000-07-01', '2017-07-01', r'C:\Users\windowshopr\Desktop\Python Scripts\Stock Market Prediction\Predictive Analytics with TensorFlow\Chapter11\resource\stock_prices.npy')

    # Perform wavelet transform to preprocess stock data
    x = np.array(prices)
    (ca, cd) = pywt.dwt(x, "haar")
    cat = pywt.threshold(ca, np.std(ca), mode="soft")
    cdt = pywt.threshold(cd, np.std(cd), mode="soft")
    tx = pywt.idwt(cat, cdt, "haar")

    # Save data as .csv file to use for simulation
    np.savetxt('stock_prices.csv', tx, delimiter=",", fmt="%s")

    my_data = genfromtxt('stock_prices.csv', delimiter=',')
    plot_prices(my_data)

    actions = ['Buy', 'Sell', 'Hold']
    hist = 200
    policy = RandomDecisionPolicy(actions)

    budget = 1000.0
    num_stocks = 0
    avg, std = run_simulations(policy, budget, num_stocks, my_data, hist)
    print(avg, std)

authors: rezacsedu windowshopr


text:
create a localstack extension for sqs-admin

Hey there, love the project!
Have you considered packaging sqs-admin as a LocalStack extension? They are a way to hook in third-party software that starts as part of LocalStack. Basically you could run the sqs-admin UI inside the LocalStack container and expose it through something like http://sqs-admin.localhost.localstack.cloud:4566.
Here's an example of what a web UI-based LocalStack extension looks like: https://github.com/thrau/localstack-aws-log-viewer
Extensions are part of the localstack pro edition, but we have hobby plan licenses that are free for non-commercial use of LocalStack which can be used for developing this. I'd be happy to help with this!

Thanks for the hint did not know about that but sounds like it would be a good idea. I will check that out.

i have a hard time to run dev mode of localstack because i get ❌ Error: No module named 'localstack.dev' every time i set  EXTENSION_DEV_MODE=1 in localstack-cli

which version of the localstack cli are you using @PacoVK ? localstack --version

I did follow the docs for the extensions and just installed localstack-cli (3.0.2)
The installation is also documented in the repo itself
https://github.com/localstack/localstack-cli
After reading through the formula for localstack itself, it should not have been an issue, because dependencies are listed correctly

I created an issue https://github.com/localstack/localstack-cli/issues/20 for reference

authors: PacoVK thrau

repo: PacoVK/sqs-admin


text:
RuntimeError: parallel_for failed: no kernel image is available for execution on the device

GrahpSum is very intriguing, but I'm unable to test with ./scripts/predict_graphsum_local_multinews.sh.
The log/lanch.log file shows this error: RuntimeError: parallel_for failed: no kernel image is available for execution on the device
+ source ./env_local/env_local.sh
++ set -xe
+++ hostname -i
++ export iplist=127.0.1.1
++ iplist=127.0.1.1
++ unset http_proxy
++ unset https_proxy
+ source ./env_local/utils.sh
++ set -u
+ source ./model_config/graphsum_model_conf_local_multinews
++ task=GraphSum_MDS
++ VOCAB_PATH=./vocab/spm9998_3.model
++ CONFIG_PATH=./model_config/graphsum_config.json
++ TASK_DATA_PATH=/home/matt/mr/algos/GraphSum/data/MultiNews_data_tfidf_30_paddle
++ lr_scheduler=noam_decay
++ use_fp16=False
++ use_fuse=True
++ use_hierarchical_allreduce=True
++ nccl_comm_num=3
++ loss_scaling=12800
++ WARMUP_PROP=0.01
++ WARMUP_STEPS=8000
++ beta1=0.9
++ beta2=0.998
++ eps=1e-9
++ LR_RATE=2.0
++ WEIGHT_DECAY=0.01
+ export FLAGS_eager_delete_tensor_gb=1.0
+ FLAGS_eager_delete_tensor_gb=1.0
+ export FLAGS_sync_nccl_allreduce=1
+ FLAGS_sync_nccl_allreduce=1
+ export FLAGS_fraction_of_gpu_memory_to_use=0.98
+ FLAGS_fraction_of_gpu_memory_to_use=0.98
+ export CUDA_VISIBLE_DEVICES=0
+ CUDA_VISIBLE_DEVICES=0
+ python -u ./src/run.py --model_name graphsum --use_cuda true --is_distributed false --use_multi_gpu_test False --use_fast_executor true --use_fp16 False --use_dynamic_loss_scaling False --init_loss_scaling 12800 --weight_sharing true --do_train false --do_val false --do_test true --do_dec true --verbose true --batch_size 30000 --in_tokens true --stream_job '' --init_pretraining_params '' --train_set /home/matt/mr/algos/GraphSum/data/MultiNews_data_tfidf_30_paddle/train --dev_set /home/matt/mr/algos/GraphSum/data/MultiNews_data_tfidf_30_paddle/valid --test_set /home/matt/mr/algos/GraphSum/data/MultiNews_data_tfidf_30_paddle/test --vocab_path ./vocab/spm9998_3.model --config_path model_config/graphsum_config.json --checkpoints ./models/graphsum_multinews --init_checkpoint ./models/graphsum_multinews/step_42976 --decode_path ./results/graphsum_multinews --lr_scheduler noam_decay --save_steps 10000 --weight_decay 0.01 --warmup_steps 8000 --validation_steps 20000 --epoch 100 --max_para_num 30 --max_para_len 60 --max_tgt_len 300 --max_out_len 300 --min_out_len 200 --beam_size 5 --graph_type similarity --len_penalty 0.6 --block_trigram True --report_rouge True --learning_rate 2.0 --skip_steps 100 --grad_norm 2.0 --pos_win 2.0 --label_smooth_eps 0.1 --num_iteration_per_drop_scope 10 --log_file log/graphsum_multinews_test.log --random_seed 1

(graphsum) matt@DeepWhite:~/mr/algos/GraphSum $ cat log/lanch.log
-----------  Configuration Arguments -----------
batch_size: 30000
beam_size: 5
beta1: 0.9
beta2: 0.998
block_trigram: True
checkpoints: ./models/graphsum_multinews
config_path: model_config/graphsum_config.json
decode_path: ./results/graphsum_multinews
decr_every_n_nan_or_inf: 2
decr_ratio: 0.8
dev_set: /home/matt/mr/algos/GraphSum/data/MultiNews_data_tfidf_30_paddle/valid
do_dec: True
do_lower_case: True
do_test: True
do_train: False
do_val: False
encoder_json_file: roberta_config/encoder.json
epoch: 100
eps: 1e-09
ernie_config_path: ernie_config/ernie_config.json
ernie_vocab_file: ernie_config/vocab.txt
evaluate_blue: False
grad_norm: 2.0
graph_type: similarity
in_tokens: True
incr_every_n_steps: 100
incr_ratio: 2.0
init_checkpoint: ./models/graphsum_multinews/step_42976
init_loss_scaling: 12800.0
init_pretraining_params:
is_distributed: False
label_smooth_eps: 0.1
learning_rate: 2.0
len_penalty: 0.6
log_file: log/graphsum_multinews_test.log
lr_scheduler: noam_decay
max_out_len: 300
max_para_len: 60
max_para_num: 30
max_seq_len: 512
max_tgt_len: 300
metrics: True
min_out_len: 200
model_name: graphsum
num_iteration_per_drop_scope: 10
pos_win: 2.0
random_seed: 1
report_rouge: True
roberta_config_path: roberta_config/roberta_config.json
roberta_vocab_file: roberta_config/vocab.txt
save_steps: 10000
skip_steps: 100
stream_job:
test_set: /home/matt/mr/algos/GraphSum/data/MultiNews_data_tfidf_30_paddle/test
train_set: /home/matt/mr/algos/GraphSum/data/MultiNews_data_tfidf_30_paddle/train
use_cuda: True
use_dynamic_loss_scaling: False
use_fast_executor: True
use_fp16: False
use_interval: False
use_multi_gpu_test: False
validation_steps: 20000
verbose: True
vocab_bpe_file: roberta_config/vocab.bpe
vocab_path: ./vocab/spm9998_3.model
warmup_proportion: 0.1
warmup_steps: 8000
weight_decay: 0.01
weight_sharing: True
------------------------------------------------
attention_probs_dropout_prob: 0.1
dec_graph_layers: 8
dec_word_pos_embedding_name: dec_word_pos_embedding
enc_graph_layers: 2
enc_sen_pos_embedding_name: enc_sen_pos_embedding
enc_word_layers: 6
enc_word_pos_embedding_name: enc_word_pos_embedding
hidden_act: relu
hidden_dropout_prob: 0.1
hidden_size: 256
initializer_range: 0.02
max_position_embeddings: 512
num_attention_heads: 8
postprocess_command: da
preprocess_command: n
word_embedding_name: word_embedding
------------------------------------------------
[2020-10-23 10:20:10,392 INFO] {'BOS': 4, 'EOS': 5, 'PAD': 6, 'EOT': 3, 'EOP': 7, 'EOQ': 8, 'UNK': 0}
[2020-10-23 10:20:10,393 WARNING] paddle.fluid.layers.py_reader() may be deprecated in the near future. Please use paddle.fluid.io.DataLoader.from_generator() instead.
[2020-10-23 10:20:11,079 INFO] args.is_distributed: False
W1023 10:20:11.511365 3292334 device_context.cc:236] Please NOTE: device: 0, CUDA Capability: 86, Driver API Version: 11.1, Runtime API Version: 10.0
W1023 10:20:11.512548 3292334 device_context.cc:244] device: 0, cuDNN Version: 8.0.
W1023 10:20:11.862699 3292334 operator.cc:179] truncated_gaussian_random raises an exception thrust::system::system_error, parallel_for failed: no kernel image is available for execution on the device
/home/matt/anaconda3/envs/graphsum/lib/python3.6/site-packages/paddle/fluid/executor.py:779: UserWarning: The following exception is not an EOF exception.
  "The following exception is not an EOF exception.")
Traceback (most recent call last):
  File "./src/run.py", line 35, in <module>
    run_graphsum(args)
  File "/home/matt/mr/algos/Research/NLP/ACL2020-GraphSum/src/networks/graphsum/run_graphsum.py", line 219, in main
    exe.run(startup_prog)
  File "/home/matt/anaconda3/envs/graphsum/lib/python3.6/site-packages/paddle/fluid/executor.py", line 780, in run
    six.reraise(*sys.exc_info())
  File "/home/matt/anaconda3/envs/graphsum/lib/python3.6/site-packages/six.py", line 703, in reraise
    raise value
  File "/home/matt/anaconda3/envs/graphsum/lib/python3.6/site-packages/paddle/fluid/executor.py", line 775, in run
    use_program_cache=use_program_cache)
  File "/home/matt/anaconda3/envs/graphsum/lib/python3.6/site-packages/paddle/fluid/executor.py", line 822, in _run_impl
    use_program_cache=use_program_cache)
  File "/home/matt/anaconda3/envs/graphsum/lib/python3.6/site-packages/paddle/fluid/executor.py", line 899, in _run_program
    fetch_var_name)
RuntimeError: parallel_for failed: no kernel image is available for execution on the device

(graphsum) matt@DeepWhite:~/mr/algos/GraphSum $ nvidia-smi
Fri Oct 23 10:21:38 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.23.05    Driver Version: 455.23.05    CUDA Version: 11.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce RTX 3090    Off  | 00000000:21:00.0 Off |                  N/A |
| 30%   32C    P0    62W / 350W |      0MiB / 24265MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

(graphsum) matt@DeepWhite:~/mr/algos/GraphSum $ python -V
Python 3.6.9 :: Anaconda, Inc.
(graphsum) matt@DeepWhite:~/mr/algos/GraphSum $ pip list | grep nltk
nltk             3.4.5
(graphsum) matt@DeepWhite:~/mr/algos/GraphSum $ pip list | grep numpy
numpy            1.18.1
(graphsum) matt@DeepWhite:~/mr/algos/GraphSum $ pip list | grep paddlepaddle
paddlepaddle-gpu 1.6.3.post107
(graphsum) matt@DeepWhite:~/mr/algos/GraphSum $ pip list | grep pyrouge
pyrouge          0.1.3
(graphsum) matt@DeepWhite:~/mr/algos/GraphSum $ pip list | grep regex
regex            2020.2.20
(graphsum) matt@DeepWhite:~/mr/algos/GraphSum $ pip list | grep requests
requests         2.22.0
(graphsum) matt@DeepWhite:~/mr/algos/GraphSum $ pip list | grep sentencepiece
sentencepiece    0.1.85

(graphsum) matt@DeepWhite:~/mr/algos/GraphSum/log $ cat graphsum_multinews_test.log
[2020-10-23 10:16:45,647 INFO] {'BOS': 4, 'EOS': 5, 'PAD': 6, 'EOT': 3, 'EOP': 7, 'EOQ': 8, 'UNK': 0}
[2020-10-23 10:16:45,647 WARNING] paddle.fluid.layers.py_reader() may be deprecated in the near future. Please use paddle.fluid.io.DataLoader.from_generator() instead.
[2020-10-23 10:16:46,320 INFO] args.is_distributed: False
[2020-10-23 10:19:38,037 INFO] {'BOS': 4, 'EOS': 5, 'PAD': 6, 'EOT': 3, 'EOP': 7, 'EOQ': 8, 'UNK': 0}
[2020-10-23 10:19:38,037 WARNING] paddle.fluid.layers.py_reader() may be deprecated in the near future. Please use paddle.fluid.io.DataLoader.from_generator() instead.
[2020-10-23 10:19:38,740 INFO] args.is_distributed: False
[2020-10-23 10:20:10,392 INFO] {'BOS': 4, 'EOS': 5, 'PAD': 6, 'EOT': 3, 'EOP': 7, 'EOQ': 8, 'UNK': 0}
[2020-10-23 10:20:10,393 WARNING] paddle.fluid.layers.py_reader() may be deprecated in the near future. Please use paddle.fluid.io.DataLoader.from_generator() instead.
[2020-10-23 10:20:11,079 INFO] args.is_distributed: False
[2020-10-23 10:43:43,574 INFO] {'BOS': 4, 'EOS': 5, 'PAD': 6, 'EOT': 3, 'EOP': 7, 'EOQ': 8, 'UNK': 0}
[2020-10-23 10:43:43,574 WARNING] paddle.fluid.layers.py_reader() may be deprecated in the near future. Please use paddle.fluid.io.DataLoader.from_generator() instead.
[2020-10-23 10:43:44,258 INFO] args.is_distributed: False

Ah, never mind! Upgrading to paddlepaddle-gpu 1.8.5.post107 seems to have solved the issue.

repo: PaddlePaddle/Research


text:
Throw an error

ERROR Plugin load failed: hexo-generator-search
TypeError: Cannot set property 'cdata' of undefined
at Object. (O:_apps\node\work\blog\node_modules\hexo-generator-search\lib\xml_generator.js:5:19)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (O:_apps\node\work\blog\node_modules\hexo\lib\hexo\index.js:216:21)
at O:_apps\node\work\blog\node_modules\hexo-generator-search\index.js:20:40
at O:_apps\node\work\blog\node_modules\hexo\lib\hexo\index.js:232:12
at tryCatcher (O:_apps\node\work\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (O:_apps\node\work\blog\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (O:_apps\node\work\blog\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (O:_apps\node\work\blog\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (O:_apps\node\work\blog\node_modules\bluebird\js\release\promise.js:693:18)
at Promise._fulfill (O:_apps\node\work\blog\node_modules\bluebird\js\release\promise.js:638:18)
at Promise._resolveCallback (O:_apps\node\work\blog\node_modules\bluebird\js\release\promise.js:432:57)
at Promise._settlePromiseFromHandler (O:_apps\node\work\blog\node_modules\bluebird\js\release\promise.js:524:17)
at Promise._settlePromise (O:_apps\node\work\blog\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (O:_apps\node\work\blog\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (O:_apps\node\work\blog\node_modules\bluebird\js\release\promise.js:693:18)
at Promise._fulfill (O:_apps\node\work\blog\node_modules\bluebird\js\release\promise.js:638:18)

Same issue here... seems like ejs removed "filters" feature since v2.
Tried downgrading to a previous version and works fine.

The new version threw the error. I used the previous version, no error. npm install hexo-generator-search@2.1.1

@sr1canskhsia
You are right
https://github.com/mde/ejs/blob/c0ce789b3651734794933fffcf969bd46f09322f/CHANGELOG.md#v201-2015-01-02
I'll see what cdata do, may be we can remove it.

emmm, I'm first time to ejs, so.. I'm not sure about it but..
https://github.com/PaicHyperionDev/hexo-generator-search/blob/a69fcbedf22dc5ac1b226e63d5cf576750fd8659/templates/xml.ejs
It seems that you can manually add CDATA tag to those who needs it.

@sr1canskhsia Yes, the filter syntax has some changes in new version of ejs. I will release a new version to fix it.

@xiazeyu Please upgrade to hexo-generator-search@2.2.0 and see whether this problem resolved.

@wzpan
Solved, thanks.

authors: huyingjie sr1canskhsia wzpan xiazeyu

repo: PaicHyperionDev/hexo-generator-search

license: mit

license_source: bigquery


text:
🛑 API Endpoint is down

In a1942c1, API Endpoint ($API_ENDPOINT) was down:

HTTP code: 521
Response time: 162 ms

Resolved: API Endpoint is back up in 60a4a74 after 9 minutes.

repo: Paidly/upptime


text:
Check for Mbin compatibility

My scripts so far aren't relevant to Mbin at all, but make sure they don't break anything.

About the alt all content access, it WILL break things if it is allowed to run. Find out a way to detect mbin and prevent the addon from running if it's found. But something that ideally should be relatively easy with barely any overhead.

Also check if other mods are compatible with mbin too.

My naive approach so far has been to use:
const keyw = document.querySelector('meta[name="keywords"]').content.split(',')[0]
Unless something changes, this should resolve to either kbin or mbin.

Currently planned goals:

Investigate if fix-codeblocks is needed and works on kbin.run / doesn't cause any issues
If fix-codeblocks is not needed on mbin, add a corresponding comment to the mod's description
Add a check to stop the alt-all-content-access mod from executing on mbin
Add a comment to the description of all-all-content-access explaining it won't do anything on mbin

Check other mods if they're compatible too
If issues are found, add a note to their description and open an issue on the main KES Github, explaining the issue
If the fix is easy, do it directly and bypass the above approach

Then:

Keep this issue open (but move it back to Todo) if any third party mod with issues was found and not directly fixed
Mention the created issues here
Change the priority and effort to reflect the remaining work needed on making all of KES work with mbin

authors: Pamasich aclist

repo: Pamasich/kbin-kes


text:
vue-element-admin 切换tab后富文本编辑器为什么会自动隐藏？

这个页面是其中一个tab,默认显示这个tab,但是我切换tab后再切回来，编辑器就不见了，审查元素查看是被设置成了隐藏，切换tab没有绑定任何事件，请问这是怎么回事呢？

请提供一个在线可还原demo。

请提供一个在线可还原demo。

谢谢回复，我暂时强制修改其为display:block

authors: PanJiaChen woodzeng

repo: PanJiaChen/vue-admin-template


text:
怎么在自定义的customTreeTable第一列加上标题？

已经解决了~

https://github.com/PanJiaChen/vue-element-admin/pull/1587

authors: PanJiaChen kingkingkids

repo: PanJiaChen/vue-element-admin


text:
Formatting FAT32 on Mac

Sierra (at least) seems to format FAT16 by default from the DiskUtil GUI. To format FAT32, you'll need to:
sudo diskutil eraseDisk FAT32 NONAME MBRFormat <SD CARD>

You find <SD CARD> by:
diskutil list

which in my case, shows:
/dev/disk2 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *8.2 GB     disk2
   1:                 DOS_FAT_32 NONAME                  8.2 GB     disk2s1

so replace <SD CARD> with /dev/disk2.

This is awesome and very useful, perhaps should go into documentation? @migpics May be able to assist or figure out where it should live (either in hardware documentation, or with this project)

authors: robnagler techninja

repo: PancakeBot/PancakePainter


text:
🛑 SavEnergy Instagram is down

In a5ec043, SavEnergy Instagram (https://www.instagram.com/savenergy.spa/) was down:

HTTP code: 429
Response time: 451 ms

Resolved: SavEnergy Instagram is back up in 8bd624c.

repo: PanchoSavEnergy/MonitoreoPaginasWeb


text:
Retrieving cluster heads without replacing corefs

I am interested in being able to extract the cluster heads with something like doc._.coref_cluster_heads to get the cluster heads without getting the reconstituted text.  It could be a separate function that also acts as input into replace_corefs potentially.

@MikeMikeMikeMike I added this.


text:
Improve cores and claims

Currently all incorporated states are given a core from their owner. Potentially not all of these should really be cores. There should also be cores for releasables. Claims are not currently converted, as there are far too many in the Vic3 saves. A method for determining which are valid should be determined.

(INVICTUS) if you own the land and had accepted culture in EU4 you get to count it as home territory

authors: Idhrendur MichaelEbert


text:
Fix discord bot users count

For some reasons the script to send data to discord bot list dont work, duck

fixed

repo: ParadoxOrigins/FelixBot


text:
AllowFlight does not work after fast transfering.

Setting a players allowFlight status in a downstream server will break the functionality of allowFlight when using fast transfer.

Fixed as of fcf7ce39a2a536ccac2d1fb6037b7485e13e6363

repo: Paroxity/portal


text:
I am seeing issues accessing data from parse app and dashboard once I migrated the data to mlab and imported directly into mlab

Check out https://github.com/ParsePlatform/parse-server/issues/1271 for an ideal bug report. The closer your issue report is to that one, the more likely we are to be able to help, and the more likely we will be to fix the issue quickly!
Many members of the community use Stack Overflow and Server Fault to ask questions. Read through the existing questions or ask your own!

Stack Overflow: http://stackoverflow.com/questions/tagged/parse.com
Server Fault: https://serverfault.com/tags/parse

For database migration help, please file a bug report at https://parse.com/help#report
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

[ ] You've met the prerequisites: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites.

[ ] You're running the latest version of Parse Server: https://github.com/ParsePlatform/parse-server/releases

[ ] You've searched through existing issues: https://github.com/ParsePlatform/Parse-Server/issues?utf8=✓&q=is%3Aissue Chances are that your issue has been reported or resolved before.

Environment Setup

Server: parse-server version, operating system, hardware, local or remote?
Database: version, storage engine, hardware, local or remote?

Steps to reproduce

Can this issue be reproduced using the Parse Server REST API? Include curl commands when applicable.
What was the expected result? What is the actual outcome?

Logs/Trace

You can turn on additional logging by configuring VERBOSE=1 in your environment.

It looks like this issue is a straight up copy of the placeholder template. We need more information in order to solve the issue. For database migration help, please file a bug report at https://parse.com/help#report

authors: digitechbox-admin hramos

repo: ParsePlatform/parse-server


text:
PushAdapter for Urban Airship

It would be nice to have a PushAdapter for Urban Airship, since its a mainstream push management platform and has been in the space for a long time.

Now that there's a push adapter system, it should be pretty straight-forward.  OneSignal already jumped on that with #405, and would be a good example.

@jarofghosts Is UA planning on an official adapter?

We're certainly open to it @jashsayani if there is enough interest in that from the Parse community. We created this Parse Importer Tool over the last couple weeks that helps with the data side/migration: https://www.urbanairship.com/blog/announcing-urban-airships-parse-importer-tool

@mherrick66 I did not know about the Importer Tool, will check it out. I would think that a PushAdapter for UA would definitely be useful for a lot of people (in terms of getting UA users). Currently OpenSignal is the only other provider working on it, so I would expect a fair share pick UA.

@jashsayani @mherrick66 @gfosco do we want all those adapter in the core code base? Given the context in which Parse is shutting down, I believe for the moment the core code base should focus on code/feature parity and allow extensibility through 3rd party node modules as discussed in #290 an others.

Implemented here: https://github.com/flovilmart/parse-server-urban-airship

@flovilmart Thanks. I'll try it out on the weekend.

@jashsayani wonderful! Don't hesitate to post issues on the repo directly to unclutter this one.

Any guide for helping to configure UA or Onesignal as PushAdapter?
Is it simple to amend bin/parse-server file?

check the README, the bin/parse-server hasn't been updated to support push yet.

i understand the current bin/parse-server, thats why i want to make use of OneSignal.
I got this [Error]: Push adapter is not availabe (Code: 115, Version: 1.12.0) for my iPhone app. any idea to implement the PushAdapter properly?
Thanks!

I have amended bin/parse-server like below, any comment
// Make push adapter
//let pushConfig = args.push;
//let pushAdapter;
//if (pushConfig && pushConfig.adapter) {
//  pushAdapter = pushConfig.adapter;
//} else if (pushConfig) {
//  pushAdapter = new ParsePushAdapter(pushConfig)
//  }
pushAdapter = new OneSignalPushAdapter(pushConfig)

@edwardyue you should not amend the bin/parse-server but have your 'package' with your app, that use parse-server. bin/parse-server is meant to be vanilla and configured only by environment variables.

I'd recommend using the parse-server-example repo for your projects, rather than running the bin script here.. https://github.com/parseplatform/parse-server-example
Closing since the UA adapter is available: https://github.com/flovilmart/parse-server-urban-airship
Now, if we only had a nice place to discover parse-server modules...

Hi thanks!
Sorry I am new to parse.
Could u show me the steps how to make use of parse-server-example with UA
adapter for push notification?
Thanks
Fosco Marotto notifications@github.com 於 2016年2月21日星期日 寫道：

Closed #404 https://github.com/ParsePlatform/parse-server/issues/404.
—
Reply to this email directly or view it on GitHub
https://github.com/ParsePlatform/parse-server/issues/404#event-557776965
.

--
Thanks and Regards,
Edward Chan Woon Yue

authors: edwardyue flovilmart gfosco jashsayani mherrick66


text:
Add ability to pass resource/config files

I am using a python library which is initialized using a config file and uses several other resources to initialize itself. I do not see anyway to pass those config and resources directly using "sparse submit" by making them part of jar resources. That way all dependencies are at one place, instead of user pushing such resources separately to all workers.

Any updates on this? Am I missing something trivial?

The python library is doing something like an /etc/foo-library.conf lookup? In most scenarios I'd say that belongs in the realm of system configuration -- a package with a system conf file should be installed by the package/configuration manager because it's shared between multiple runs of this library.
I don't believe streamparse has any pre-submit hooks to run arbitrary fabric commands.
One option would be to symlink that conf to where the jar is unpacked, but I think that filename may be variable.
Is it possible to override the python library to specify an alternative lookup path to that file? Possibly a global or a constructor argument. You could submit that conf file in your topology and find it relative to the file being executed.

yes config file is configurable via constructor, and currently I am going to previous folder from spout location and getting that config. e.g. spout is in resources/spouts and config is in resources, I hope that will always be supported.
The main problem is that usually I won't keep config in src (security: as it contain auth details), but it will come from somewhere else during submit. We need a way to hook into jar creation so that I can point to my config/resource files
Ideally streamparse config.json should take path to such extra resources and such path should also be configurable from sparse submit

quickest workaround could be to have SPARSE_RESOURCES env variable which can point to file or folder and then can be copied to _resources in prepare_topology method

Another workaround without changing code:
Added external_resources dir , added it to .gitignore
symlink required resources to external_resources and add external_resources to project.clj
there could be different symlinks for dev, stg, prd configs, and python code can load each based on an environment.

authors: anuraguniyal codywilbourn

repo: Parsely/streamparse


text:
🛑 Improving the safety of Pilot Transfer Arrangement is down

In e93dd61, Improving the safety of Pilot Transfer Arrangement (https://tc.canada.ca/en/corporate-services/consultations/improving-safety-pilot-transfer-arrangements) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Improving the safety of Pilot Transfer Arrangement is back up in b3f8d73 after 3 hours, 43 minutes.

repo: PatLittle/Consultations-Tracker


text:
Implement zazzle style tags

zazzle will take a string of tags - space separated, compound in quotes

adding copy to clipboard buttons on all relevant items. This will include the comma separated tags. This work is done to the point of integration back into the main codebase

done


text:
Implemented, not working.

I've copied all the files in my app folder, but the PayLane menu/configuration doesn't show up anywhere...

Hi there,
Could you please double check that you have copied the plugin files into your Magento root directory, and not the /app dir? Also make sure that you flush all Magento caches and the cache storage as instructed here: http://www.magentocommerce.com/knowledge-base/entry/cache-storage-management.

I'm new to magento, i forgot that :+1:
Anyway...now it's active but when i go in my one-page-checkout i can see all the choices.
Once i select them, tho:

method "Paypal" does the order, but does not pass through PayLane or PayPal (is that how it's supposed to work?!).
method "Debit/Credit Card" gives the error "you did not enter credit/debit cardi info"...although it's impossible to give those info since there is no form to fill in.

I didn't yet try the other methods, but i definitely need those 2 to work...

Are you talking about the PayPal payment method, or the PayLane PayPal method? Magento ships with its native PayPal plugin, however to use our gateway you must use our version of the PayPal plugin. It should be at the bottom of the configuration page along with the other PayLane payment methods.

This problem appears when you use a theme other than "default". The templates needed for our plugin to work are added to the default theme only, so I assume you're using a custom theme. Please copy the paylanecreditcard and paylanedirectdebit folders from app/design/frontend/default/default/template to the relevant folder in your theme. For example, if your theme is named foobarbaz, then you should cope these two folders into app/design/frontend/foobarbaz/default/template.

As always, please remember to flush the caches.

Thank you.

yes, i'm using PayLane PayPal

Ok, Now the Credit/Debit Form is showing up. When creating an order, tho...nothing is passed into my PayLane account (i'm still on "test" and i've used "0000 0000 0000 0000" as CC number)

Nothing changed for "PayLane PayPal", so it still doesn't redirect the user to PayPal or ask for a PayPal e-mail (how is this process supposed to work?)

The PayPal plugin does not ask for a PayPal email on your Magento site. Users who choose to pay via this payment method will be redirected to PayPal's website, where they will be asked for their credentials.

When testing our API you cannot use nonexistent card numbers. Please use one of our test cards listed at http://devzone.paylane.com/integration-testing/test-card-numbers/. We also strongly encourage you to browse through our DevZone for relevant information about all the technicalities involved with our services. One thing to look out for is the Response method configuration in our Magento plugins. By default, all test and production accounts use GET redirects, please make sure to configure Magento accordingly.

the redirect doesn't really happen...and the order gets hi status updated to "Pending"

Ok, but then i wonder: why did that number validate and created the order?

Please check your plugin configuration. Make sure that you have properly configured the API login and password, as well as the hash salt values.

The transaction was rejected, please check your Magento backend. There should be a note about the transaction status.

its support magento2 ?

authors: PayLane noraitc ricricucit


text:
Uncaught (in promise) ReferenceError: $state is not defined

Im getting Uncaught (in promise) ReferenceError: $state is not defined
in console using it on nuxt

I'm so sorry I missed this issue, is this problem still exists?

repo: PeachScript/vue-infinite-loading


text:
As a developer, I want to hook up a DB to manage the website

Tasks

Add tables for managing users, inventory, orders, and roles

Figure out the schema for each table, which should be easy to find after looking at industry usage

Hook up the DB to the backend API code
Add documentation for DB if anyone wants to locally set-up the DB and query it

After some trial and error, using a cloud NoSQL DB is more worth it, due to the following reasons:

prior experience with noSQL DBs

less uncertainty

repo: PeakGlasses/e-commerce


text:
Theorem environments

Pretty much every mathematics paper has special support for a Theorem/proof environment that tracks labels. In LaTeX, one typically uses the following to set up the theorem environments
\usepackage{amsthm}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{propn}[theorem]{Proposition}
\newtheorem{conjecture}[theorem]{Hypothesis}
\newtheorem{lemma}[theorem]{Lemma}

The option describes the numbering system (not that important), and after defining these one can produce a theorem/proof like
\begin{theorem} \label{theoremlabel}
Theorem statement
\end{theorem}

\begin{proof}
...
\end{proof}

And the result is almost always like this
Theorem: Theorem statement.
Proof. ...
[right-aligned tombstone]
I would be interested to see a way to include theorems/proofs (etc) in the same way that figures are included, as separate files that can be referenced with hash labels. And then one could do something like folding/expanding proof text on demand to make a paper easer to leaf through.

Would you be able to point to a real-life example of a paper with theorems/proofs, either as a PDF or - ideally - as HTML?

The Lemma 1 of the linked paper is a good example.
For examples "in the wild" you can refer to any paper on arXiv's Computational Complexity list: http://arxiv.org/list/cs.CC/recent
The most recent one is http://arxiv.org/abs/1505.03424 and Lemma 2.2 is a prototypical example. Also in particular the ability to define environments with arbitrary names is important, because we use all kinds of words like "Fact" and "Observation" and "Proposition" and "Corollary" and "Claim" when we want to emphasize the structure of the statement we're proving.

repo: PeerJ/paper-now


text:
small suggestions after testing on MIT slurm cluster

@zhao-cy - I've tested the example on our cluster and I added a few suggestions to the documentation.
I think the most important is that some combination of the cluster settings might not work (setting temporary_disk_space leads to the error in my case). I've also specified the version of Singularity that I used for testing, since I had problem with building the singularity image from your docker image using my previously default version that was older.
Overall, I think the document looks great, the instructions are very detailed, so hopefully everyone should be able to follow!
Some additional comments/suggestions:

any reason why you sometimes use ${PWD} and sometimes $PWD?
are you sure that  Provide your OSF credentials (token) - this step is very important!?
I've noticed that you provide information how to copy properly with vim to get proper yaml file. If you want to cover this perhaps you can provide an online website to validate the yaml file

and this is the version of yaml file I was using, do you want me to add it somewhere?
singularity_run:
    --no-zipped: ""
    --dummy: "2"
    -v: ""

# Output foldername(s) to be zipped, and the BIDS App version to be included in the zip filename(s):
zip_foldernames:
    toybidsapp: "0-0-7"

# How much cluster resources it needs:
cluster_resources:
    interpreting_shell: /bin/bash
    hard_memory_limit: 2G
    number_of_cpus: 2
    hard_runtime_limit: 0:20:00
    customized_text: |
        #SBATCH -p gablab

# Necessary commands to be run first:
script_preamble: |
    module load openmind/singularity/3.9.5
    source /om2/user/djarecka/miniconda/bin/activate babs_ex

# Where to run the jobs:
job_compute_space: /om2/scratch/Fri/djarecka/babs_demo/comp

Thank you so much @djarecka ! To answer your questions:

Ah I think ${PWD} or $PWD are usually interchangable/does not matter I think; And it seems like I'll be more likely to use ${PWD} when it's part of a full dir, e.g., ria+file://${PWD}/my_BABS_project/output_ria#~data. Anyway, if users just copy and paste the commands in the walkthrough, it should be fine as it has been tested by me, you and Sydney, so I probably won't further change to make them consistent.
OSF credential: yeah I think setting that up is important. It was based on my experience or Sydney or Matt's experience, cannot remember exactly.
YAML file validator is a good idea after users add any customized commands; I might suggest users not using Reformat  mode as it will largely change the YAML file.

These are not needed for this example walkthrough, but just Dorota wanted to check if it's working or not:
    number_of_cpus: 2
    hard_runtime_limit: 0:20:00
    customized_text: |
        #SBATCH -p gablab

Only thing is to remove the --tmp command.

Hi @djarecka! Just let you know that I eventually removed temporary_disk_space from the example YAML used in the example walkthrough, as it's not necessary for this toy BIDS App (confirmed on our CUBIC SGE cluster and MSI Slurm cluster, and your tests on MIT Slurm cluster too). I also made other modifications upon your revisions in the docs too.

In this PR, @djarecka replicated the example walkthrough on their MIT OpenMind Slurm cluster. She and I made some changes in the docs:

example walkthrough:

temporary_disk_space has been removed from the example YAML used in the example walkthrough
Generated directives from Slurm cluster has been added
What if singularity build was not successful: check singularity software version.

other part of the docs:
add a note re: temporary_disk_space in the docs/source/preparation_config_yaml_file.rst

source: gharchive/pull-request

authors: djarecka zhao-cy

repo: PennLINC/babs


text:
[BUG]-ZoomRoom 5.11.0 updates

Was this bug identified in a specific build version?
Changes to ZoomRoom v5.11.0.1540 cause issues with Essentials 1.10.2 and earlier.  Appears to be caused by bugs in ZoomRoom API.  Creating this issue for tracking and visibility purposes
Describe the bug

Call/Meeting Status FB doesn't report correctly
zCommand Call Info response from ZoomRoom API is truncated.  We can't get most basic info about the meeting without this response

Additional context
Zoom Developer Forum Issue Report

@ndorin Has this been fixed?

Yes. Zoom fixed this as of 5.13

authors: jtalborough ndorin

repo: PepperDash/Essentials


text:
Add GenericIrController device

close #407
This PR adds the GenericIrController device to allow for loading and bridging ANY IR file to SIMPL. The commands for the IR file are also available as a string array for other Essentials devices to use.

Also closes #406
Adds PepperDash_Essentials_Core as a project reference for Essentials_Devices_Common & PepperDashEssentials.


text:
WebSockets with SMTP

Hello, I want to add both WebSockets and SMTP package to my project, but I keep getting this error.
"the Swift tools version specification is missing a label; consider inserting 'swift-tools-version:' between the comment marker and the version specifier"

I found the way the fixed.

repo: PerfectlySoft/Perfect-WebSockets


text:
Add event

Added other fields to addEvent and handle camera image

I noticed you had a large chunk of duplicated code, could you refactor that?

I added the if statement at the top to fix the duplicated code.


text:
Store bindings

Pull Request Template
Prerequisites

If there is no issue related to your pull request - open one and assign yourself to it. If you're proposing a solution to an already opened issue - simply assign yourself to it.

Motivation
Describe the problem you're trying to solve or the feature you're proposing in addition to a link to the related issue.
Approach
How does this change address the problem?
Pull Request status

[x] Initial implementation
[ ] Refactoring
[ ] Unit tests
[ ] Integration tests

Feel free to construct the checklist with whatever items seem most reasonable for your change. You could disassemble the Implementation part to even smaller separate checklist items if you're working on something big for example. But do make the effort to provide a checklist of some sort so that the core team as well as the community can have an idea about the progress of your Pull Request.
Third-party code
If you use third party code with your contribution such as, components, libraries, or snippets make sure to mention that.
Make sure that your contribution complies with our Contribution guidelines.
Work in Progress label
For as long as development of your Pull Request is still ongoing you MUST label it with a wip label as well as prefix the name of the PR with [WIP].
For example: [WIP] Service brokers API

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: pavelmaliy:x: drorhayunYou have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant pavelmaliy

repo: Peripli/service-manager


text:
Nostr

Added prototype commands msg-read-nostr and msg-send-nostr for sending E2EE messages over Nostr.

:tada: This PR is included in version 2.39.2 :tada:
Your semantic-release bot :package::rocket:


text:
API URL 404 Not Found

I am trying to host this panel using apache2 web server.
Tried everything but cant get API URL to work.
Getting below error

here is API production config.
{
  "server": {
    "port": 3301,
    "hostname": "http://match.kebabnation.xyz",
    "dbKey": "redacted",
    "steamAPIKey": "redacted",
    "sharedSecret": "redacted",
    "clientHome": "http://match.kebabnation.xyz",
    "useRedis": true,
    "apiURL": "http://match.kebabnation.xyz/api/",
    "uploadDemos": false
  },

here is vue config
module.exports = {
  transpileDependencies: ["vuetify"],
  devServer: {
    public: "match.kebabnation.xyz:80",
    proxy: {
      "^/api": {
        target: "http://kebabnation.xyz:3301",
        changeOrigin: true,
        pathRewrite: {
          "^/api": ""
        }
      }
    }
  }
};

Apache2 config.
<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    ServerName match.kebabnation.xyz
    DocumentRoot /var/www/G5V/dist
</VirtualHost>

If you're using apache2 that means you'll have to setup a reverse proxy.
I don't believe you need the / at the end of the apiURL so maybe remove that.
You'll most likely have to search up "Apache2 reverse proxy" for a specific url. I think it may be something like this within your VirtualHost tag?
ProxyPass /api  http://match.kebabnation.xyz
ProxyPassReverse /api http://match.kebabnation.xyz

Just make sure those directives are enabled as well. There may be some regex you'll have to do if someone provides a value like /API/test or something, but I'm not sure since I've never set this up with apache2/tomcat.

well it worked.
thank you very much.
last question is how do I set NODE_ENV to production. Right now when   I run yarn startprod throw error like
No NODE_ENV set. Please set NODE_ENV or else default is DEVELOPMENT.

migrated to nginx and everything is working as expected. thanks for your time

authors: PhlexPlexico shaikhnedab


text:
fix dependencies

https://github.com/Piasy/BigImageViewer/issues/213

Well I have to say this is a very interesting bug :)
Thank you for your contribution!

Is there a certain version of gradle or other tools this requires? If I use the current dependency lines in the readme it can't find the dependencies, but if I use the previous version it works fine.

Is there a certain version of gradle or other tools this requires? If I use the current dependency lines in the readme it can't find the dependencies, but if I use the previous version it works fine.

Sounds like some kind of bug, which version do you use?

Sounds like some kind of bug, which version do you use?

authors: Piasy g19980115 lucaspiller

repo: Piasy/BigImageViewer


text:
Upgrade dawidd6/action-download-artifact v2.28.0 -> v2.28.1

This PR contains the following updates:

Package
Type
Update
Change

dawidd6/action-download-artifact
action
patch
v2.28.0 -> v2.28.1

Release Notes

dawidd6/action-download-artifact (dawidd6/action-download-artifact)
v2.28.1
Compare Source

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade dawidd6/action-download-artifact v2.28.0 -> v2.28.1

repo: PicnicSupermarket/error-prone-support


text:
[Feature Req] WASM runtime example

We have a requirement where a compiled binary can only be trusted if it's WASM running in a runtime.
Specifically what we use for untrusted WASM binaries is Go & Wazero (https://wazero.io)
A side benefit would be having a Go demo that works on all platforms and which you can advertise as trustless.

Unfortunately supporting a new runtime is not in our backlog, so current Go/WASM support won't be extended any further.

repo: Picovoice/porcupine


text:
Great Work

Nice work guys. I will be keeping on eye one this as it progresses.. Currently I find its accuracy to be far off.. but in time i bet this project will get better and better
It is super fast!! Can't wait to see where it goes

closing for now. Let's revisit after the next release. Thanks for checking out.

authors: kenarsa oziee

repo: Picovoice/stt-benchmark


text:
I think ChromeASP is not working now

Hello. I also use headless chrome to generate PDF from HTML but I found it is not woking now. It works in command line but it does not on IIS. It adds some amount of Chrome processes but never ends and generates nothing. A tried to find solution and found your pages with your site to check the function. But now I am not able to get PDF or anything from it. Do you know about it and do you know the reason ? Thank you.

Hello @PPotera66  issue confirmed.
Changing --headless to --headless=old fixes the issue
The new headless mode needs other parameters apparently. Not sure which ones exactly. To be sorted out.

Yes, you are right. I found it 5 minutes after sending the issue. Thank you anyway.

Did you try chrome-headless-shell ?

No, I use Version 128.0.6613.114 (Official Build) (64-bit)
I also just read about such a stand alone shell version of headless chrome. Have you tried it?

I also downloaded such a headless-shell version on https://googlechromelabs.github.io/chrome-for-testing/
It does the trick. I guess other users will face the same issue now with headless=old/new. The issue started showing as from today. I use ChromeASP in various web applications.
Thanks for reporting this issue.

repo: PieterCooreman/ChromeASP


text:
Quests planting issue

Quests version 3.7.2
Made planting quests and having some issues getting them to function properly.

Seems to only work when done in order, however crafting comes after placing. So the first crafted hoe won’t work until all things are planted.

I will complete tasks on said quest and as I progress, previous progress goes down. So if I’ve already completed wheat, it will deduct even though I don’t break any.

I can’t seem to get carrots and potatoes to count. I will plant them and they don’t count. We need to figure out what the id is for these objects to create the quest correctly or if these objects aren’t supported.

Would you please provide the relevant quest from your quests.yml (using Pastebin or Hastebin)? In your seconds photo, I see the plugin refers to the item as "Wheat" in stage 1 and "Wheat Seeds" in stage 2, which shouldn't happen, but I can't replicate it.

We changed them, changing the "Block" "Place" requirement from "wheat?seeds" to "wheat" made the quest plugin recognize them being broke.  However we cannot find a different block name to call carrot and potato to make the quest plugin recognize them being placed (planted)
Sent from my iPhone

On Jun 24, 2019, at 8:55 PM, PikaMug notifications@github.com wrote:
Would you please provide the relevant quest from your quests.yml (using Pastebin or Hastebin)? In your seconds photo, I see the plugin refers to the item as "Wheat" in stage 1 and "Wheat Seeds" in stage 2, which shouldn't happen, but I can't replicate it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I think it’s CARROT_ITEM and POTATO_ITEM
Sent with GitHawk

Awesome thank you
Sent from my iPhone

On Jun 25, 2019, at 11:34 AM, PikaMug notifications@github.com wrote:
I think it’s CARROT_ITEM and POTATO_ITEM
Sent with GitHawk
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

authors: PikaMug PirateKalypso

repo: PikaMug/Quests


text:
Error after clean install

I started a new MVC project and add the Piranha NuGet Package. I was prompted to install the database and was able to log in. After that I received this exception:

Can anyone tell me how to fix this?
I use a local MS SQL database.

I installed Piranha via NuGet yesterday, I can only access the installation page (localhost:xxx/manager/install/welcome ) and manager page (localhost:xxx/manager) .
When I open a home or draft page, I receive the error message below:

I can reproduce the error described by @Bengkel. There seem to by some cache miss when the application is initialized before database install.
To resolve, just restart the application after database install. This is acheived by recompling or just saving the web.config.
Regards

Did you perform the installation @everschoor? If so, try the above solution.

Restarting did solve the issue.
Thx

Thanks @tidyui for your fast reply.
I'd try to get PiranhaCMSMvc working using VS2015 RC in my previous post, but that resulted in the error message shown above.
However, I was manage to get PiranhaCMSMvc running using VS2013 Pro using the same installation steps as described....
Just to let you know..
Regards

I haven't really tried it out in VS2015 yet @everschoor. When VS2015 is released the big job will be adapting everything to run within the new web context and to compile for cloud as the current implementation is dependent on System.Web and the singleton instances it exposes.

Referenced wrong issue

authors: Bengkel everschoor tidyui

repo: PiranhaCMS/Piranha


text:
Started on a code generator for meta data conversion language

See https://github.com/PistonDevelopers/dyon/issues/182
Currently, you have to write a lot of code to convert from meta data to native Dyon. One idea is to add a meta keyword to the language which lets you define a set of rules to transform the meta data into any Dyon structure. The same language could be used with a macro system that shares meta syntax files with meta parsing.
Finding some nice syntax for these rules might take some time, so instead of changing the language, I added a code generator which outputs a converter from the meta data of the converter language, which is described through its own meta syntax.
OK, this is getting very meta... but the point is, I don't have to change the language to experiment with the syntax.

See https://github.com/PistonDevelopers/dyon/issues/206

repo: PistonDevelopers/dyon


text:
1.20.1 can't uncraft

Forge
MCPitanlib ver. 3.1.2 1.20.1
uncrafting table ver. 1.4.3 1.20.1
Architectury ver. 9.2.14 1.20.1
I tried many versions of those mods but still i had same result: i could craft place and even open but it didn't do a thing. i could place an item there but it just didn't do a thing.

i have the same problem

authors: rawintosh ultraoffender


text:
Auto create index pages for guides

https://joshuatz.com/posts/2019/gatsby-automatic-directory-listing-pages-beginners-attempt/
related to breadcrumbs ( #52  )
For example, if we have
guides/cs-plus/stats.md
navigating to the url guides/cs-plus/
should list out all the majors
potentially

lol, related to #71  , index pages have different slugs so it makes calculating the github index page harder

after considering for 10 minutes, its not worht polluting our codebase with more complexity. there wont be that many index pages we have to make, and it will allow us to give better names and everything if we can customize them in markdown


text:
Option to disable authentication

I currently run wg-access-server in an environment that already provides basic authentication. I'd like to keep using that and completely disable any authentication wg-access-server requires.
As it stands, I'm unable to use my existing authentication as the two basic methods seem to conflict.

We used to support no-auth but i've removed it to avoid having to maintain the feature.
I recommend just using the basic auth built into wg-access-server, it's pretty easy to configure.


text:
fix: sanitise examination - have your say

Use existing Client side sanitisation and JSON fetch pattern on fields:

name
comment

:tada: This PR is included in version 2.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: AnthonyJWalsh DavidBeale


text:
Change ID space to PECO

Register PECO on OBO
Change this repo to use PECO IDs (use same numbers)
Add alt_ids PECO->EO
Create a legacy file for original EO
Work with external groups to migrate

Approved by @jaiswalp

We will wait until @DoctorBud has finished some work at the end of this week

I noticed that the EO is still browsable on the OLS, yet the links to the files are broken.
@cmungall should we get rid of that file : https://github.com/OBOFoundry/purl.obolibrary.org/blob/master/config/eo.yml ? I am assuming here that this is how the OLS is still finding EO.

authors: cmungall marieALaporte

repo: Planteome/plant-environment-ontology


text:
反向kl loss 微调

请问一下，微调时大概训练多久。我在自己训练的模型尝试加入反向kl loss微调，反而kl loss 变大，生成效果很差

可以参考 bert_vits_aishell3分支，加入反向kl loss微调时，反向kl loss的比例应该根据使用的数据去调试，比如我在AISHELL3数据上使用了0.05，冻结PosteriorEncoder,
https://github.com/PlayVoice/vits_chinese/blob/bert_vits_aishell3/train.py#L266
https://github.com/PlayVoice/vits_chinese/blob/bert_vits_aishell3/train.py#L123

请问调节时的insight是什么呢？
您之前也提到过先只用正向的数据训练，之后再加入反向loss进行调整，这样是能更快收敛是吗？
那么第一阶段应当达到什么效果再加入反向loss呢？
另外，如果有这种观察，是不是把反向kl loss的参数设置成自动增加，会比较好？

这个出至微软nature speech，在优质语料上面使用这个loss确实没什么问题；
在其他语料上面，这个loss不稳定，反而容易使得训练效果变差；
所以在不使用这个loss前，把模型训练到能训练的状态，保存状态，需要用这个状态进行后面的多次尝试；
然后设计一个权重、加入这个loss继续训练，如果效果没有改善就减小这个loss的权重，当减小到非常小的时候也没改善，建议放弃这个loss。


text:
Integration Ordering: Astro-compress + Astro-critters

Seeing that integrations are run in the order listed in the config file, what's the recommended ordering of the compress and critters integrations if we have both in our project?
Astro Docs Reference: https://docs.astro.build/en/reference/integrations-reference/#integration-ordering

Generally, it would be wise to do the compression last. I'll make a few benchmarks and get back to you.

Ok thanks. I'll test it out as well.

authors: NikolaRHristov PapiPeppers

repo: Playform/astro-compress


text:
Add API route for user bid history

We need an API route that will help us fetch all songs a user has bid on. This will help me finish up #9, which is the user profile screen and shows all bid history.

Claiming this issue. Working on it now.

Reopening to discuss outstanding questions re: filtering bid history
Asking in relation to a broader question / data design decision we need to make (unless there's a better way to query that idk about which is totally possible).
when querying the Play collection, I'm using the userId to find the bids for that user. However, if I use .find() i get all the bids for that user, the associated data in the Play object AND the other bids that are not attached to that userId since I'm not filtering deeply into the array.
E.g. response from GET /api/bid/history?userId=clb9vyqmg0007ufyxb5049st0 using .find()
[{
    _id: ObjectId("6390c04a9388e587a9be7d3d"),
    songId: '5EWPGh7jbTNO2wakv8LjUI',
    status: 'queued',
    queueTimestamp: '1670430794061',
    bids: [
      {
        userId: 'clb9vyqmg0007ufyxb5049st0',
        bidAmount: 25,
        timestamp: '1672504884943',
        rHash: 'd451f5859c0b24ef1e90363510d0c02f5a3afcd61e3b46739c6f2726ef7b307f'
      },
      {
        userId: 'clb9u0o4v0000x98fflh5ftiq',
        bidAmount: 17,
        timestamp: '1672505562332',
        rHash: '8aacd7f5d2e2af163ed232bfb62aa13e0dbd98f959e5e033814c7c96caea186a'
      }
    ],
    runningTotal: 95,
    __v: 0,
    hostId: 'nonce33jfkasjkdf',
    playId: 'clccbkbgx0001uwd83xkl5c2v'
  },
  {
    _id: ObjectId("639155119dc367a1e2bc4b46"),
    songId: '01Lr5YepbgjXAWR9iOEyH1',
    status: 'queued',
    queueTimestamp: '1670468881012',
    bids: [
      {
        userId: 'clb9vyqmg0007ufyxb5049st0',
        bidAmount: 20,
        timestamp: '1670468881012',
        rHash: 'c18e7e3e5f9c0fc3f974dae001bf4fd75f63dc53660ebf29ac0ad64f1a3d164c'
      }
    ],
    runningTotal: 20,
    __v: 0,
    hostId: 'nonce33jfkasjkdf',
    playId: 'clccbkc360002uwd8033sfhjt'
  },
  {
    _id: ObjectId("63b06635c7c1be86e50aed68"),
    songId: '5uU1uuyaUIBOiiUSQG7Wl3',
    status: 'queued',
    queueTimestamp: '1672504884943',
    bids: [
      {
        userId: 'clb9w3wm40008ufyx9553dghn',
        bidAmount: 25,
        timestamp: '1672504884943',
        rHash: 'd451f5859c0b24ef1e90363510d0c02f5a3afcd61e3b46739c6f2726ef7b307f'
      },
      {
        userId: 'clb9vyqmg0007ufyxb5049st0',
        bidAmount: 17,
        timestamp: '1672505562332',
        rHash: '8aacd7f5d2e2af163ed232bfb62aa13e0dbd98f959e5e033814c7c96caea186a'
      }
    ],
    runningTotal: 42,
    __v: 0,
    hostId: 'nonce33jfkasjkdf',
    playId: 'clccbkcfb0003uwd8d38w0wl5'
  }]

In this design, I have to use nested .filter() methods to remove bids without that userId.
const plays = await Plays.find({
            bids: { $elemMatch: { userId: req.query.userId } }
        });

const bids = plays.filter((play: Play) =>
            play.bids.filter((bid: any) => {
                return bid.userId === userId;
            })
        );

return res.status(200).json({ success: true, new: false, message: bids });

On the flip, if I use .aggregate, I can filter out the bids in each Play that do have the userId and return only those leaving out extra bids on that play by other users. However, I ONLY get back an array of bids and no Play info.
E.g. response from GET /api/bid/history?userId=clb9vyqmg0007ufyxb5049st0 using .aggregate()
[{
            "_id": "6390c04a9388e587a9be7d3d",
            "bids": [
                {
                    "userId": "clb9vyqmg0007ufyxb5049st0",
                    "bidAmount": 25,
                    "timestamp": "1672504884943",
                    "rHash": "d451f5859c0b24ef1e90363510d0c02f5a3afcd61e3b46739c6f2726ef7b307f"
                }
            ]
        },
        {
            "_id": "639155119dc367a1e2bc4b46",
            "bids": [
                {
                    "userId": "clb9vyqmg0007ufyxb5049st0",
                    "bidAmount": 20,
                    "timestamp": "1670468881012",
                    "rHash": "c18e7e3e5f9c0fc3f974dae001bf4fd75f63dc53660ebf29ac0ad64f1a3d164c"
                }
            ]
        },
        {
            "_id": "63b06635c7c1be86e50aed68",
            "bids": [
                {
                    "userId": "clb9vyqmg0007ufyxb5049st0",
                    "bidAmount": 17,
                    "timestamp": "1672505562332",
                    "rHash": "8aacd7f5d2e2af163ed232bfb62aa13e0dbd98f959e5e033814c7c96caea186a"
                }
            ]
        }]

Use first design
User is first in list
Need User object, not userId

Closed with #64
Yay @bnonni 🎉

authors: bnonni sbddesign

repo: PlebFM/PlebFM


text:
定时任务+redis实现高效功能

1、点赞，测试人数等
2、页面缓存等
目前所面对问题，数据量太少。主要是真实有效的数据很少。
下一步
1、做一个管理端用于添加心理测试栏目
2、redis有个好玩的东西模拟大数据推送的，我想试试

定时任务+redis实现高效功能

获取测试内容至缓存，后呈现至前端
接收前端测试结果response，存入数据库
定时任务更新单一测试项被访问次数、点赞次数

获取测试内容至缓存，后呈现至前端
接收前端测试结果response，存入数据库
定时任务更新单一测试项被访问次数、点赞次数

authors: DeluxeLX Plus-L

repo: Plus-L/MoodStore


text:
Wunschwelle wird falsch berechnet

Describe the bug
Wenn ich das richtig sehe wird die Wundschwelle aktuell nicht korrekt berechnet.
Ich habe einen Charakter mit KO 13, also eine Wundschwelle von 7.
Wenn dieser Spieler z. B. 4 SP bekommt, muss er trotzdem auf den Widerstand gegen Wunde würfeln.

Sobald er einen SP weniger bekommt, muss er nicht mehr auf den Widerstand würfeln.

Wenn ich nicht total falsch liege sollte der Charakter erst bei 7 SP auf Widerstand würfeln müssen.
Ich vermute, dass aktuell für die Berechnung die TP und nicht SP verwendet werden, kann das sein?

Sieht aus, als würden die TP abgefragt und nicht die SP, sprich Rüstung
ignoriert. Wenn dem so ist, müsste es korrekt rechnen wenn du die rüstung
ausziehst?
Sascha Hopstein @.***> schrieb am Fr., 16. Juli 2021,
19:47:

Describe the bug
Wenn ich das richtig sehe wird die Wundschwelle aktuell nicht korrekt
berechnet.
Ich habe einen Charakter mit KO 12, also eine Wundschwelle von 6.
Wenn dieser Spieler z. B. 4 SP bekommt, muss er trotzdem auf den
Widerstand gegen Wunde würfeln.
[image: grafik]
https://user-images.githubusercontent.com/4998682/125988297-813d9ec4-d669-4dbb-8f89-34ef2842e3d0.png
Sobald er einen SP weniger bekommt, muss er nicht mehr auf den Widerstand
würfeln.
[image: grafik]
https://user-images.githubusercontent.com/4998682/125988370-19ba8cbd-9ecc-4004-8fed-9f0cb7be5f39.png
Wenn ich nicht total falsch liege sollte der Charakter erst bei 6 SP auf
Widerstand würfeln müssen.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Plushtoast/dsa5-foundryVTT/issues/513, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO7QFH6LV44GGBFC5BBX3GDTYBWCRANCNFSM5AP7X22A
.

Ja du hast sonst zwei Buttons zusätzlich einen für TP. Du musst hier nur klicken wenn du den schaden als so also ohne Rüstung anwenden willst. Falls nicht einfach nicht würfeln

Ja du hast sonst zwei Buttons zusätzlich einen für TP. Du musst hier nur klicken wenn du den schaden als sp ,also ohne Rüstung anwenden willst. Falls nicht einfach nicht würfeln

Jo genau das wäre jetzt auch meine Lösung. Ich war nur nicht sicher ob das so gedacht war oder ob es ein versehen war, daher wollte ich es zumindest mal melden.

Jo daa ist für den Moment absichtlich so

Verbesserungsvorschläge sind aber gern gesehen.

ändert sich dann der Text auf dem Button? Also "Wunde (SP) widerstehen" und "Wunde (TP) widerstehen"?

Also wenn der Charakter keine Rüstung trägt, tauchen wie @Plushtoast sagt zwei Buttons auf... einmal "Wunde (SP) widerstehen" und "Wunde (TP) widerstehen". Mit Rüstung taucht nur ein Button auf.... "Wunde (TP) widerstehe"....

Der zweite Button würde auch auftauchen wenn die wundschwelle mit rüstung überschritten ist.

Der zweite Button würde auch auftauchen wenn die wundschwelle mit rüstung überschritten ist.

Ah ich verstehe. Danke für die Klarstellung :)

authors: Plushtoast Verdemis mckee14


text:
Replace development flag with runtime compile options

We want to evaluate Plutarch programs with tracing enabled on specific tests (for debugging purposes) without enabling it globally elsewhere (doing so would adversely affect the golden tests).
The CPP approach wouldn't work because it enables it globally.
Therefore, to solve this, I propose that compile take runtime options, deciding to enable tracing or not (these options can also eventually represent #260)
compile' :: CompileOpts -> ClosedTerm a -> Script
compile' = ...

data CompileOpts = CompileOpts
  { enableTracing :: Bool
  }

/cc @V0ldek

How do we implement it? It looks like we will end up needing #260 here.

I do not think we need #260 here. It would be a matter of Term taking an extra CompileOpts argument under the hood, so that ptrace can case on it.

Will do this ASAP along with the soundness fixes once I deal with #443

authors: L-as Saizan srid

repo: Plutonomicon/plutarch