ValueGenerator NextValueAsync isn't called at all

Overriding NextAsync/NextValueAsync is expected to be called and populate the value after running an async task.
However it is never called.
Steps to reproduce
My Generator
    public class MyGenerator : ValueGenerator<int>
    {
        public override bool GeneratesTemporaryValues => false;

        public override int Next(EntityEntry entry)
        {
            return 0
        }

        public override async Task<int> NextAsync(EntityEntry entry, CancellationToken token)
        {
            return await SomeAsyncTask();
        }
    }

Setup
  builder.Entity<SomeEntity>()
                .Property(r => r.EntityId)
                .HasValueGenerator<MyGenerator>();

My own research
After cloning the repository I found out that apparently nothing actually calls it. I mean there is a PropogateValueAsync That calls it, but nothing calls that.
Bottom Line
The question is what is the point of the NextAsync function, and what are the plans regarding actually making it work? because it does seem like a useful feature, since using non async method is considered a bad practice.
Further technical details
EF Core version: 2.1.1
Database Provider:  Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10 Fall Creators Update
IDE: Visual Studio 2017 15.7.6

@gilmishal It's called by AddAsync. It is only useful in very limited circumstances where generating a value needs to hit the database. Even then, most value generators never need to do this, so in most cases AddAsync just adds extra overhead and Add should be used instead.

I think I figured it out - AddAsync isn't called. The base ValueGenerator works as expected, however the Generic one doesn't.
Since the line is marked with the new keyword, instead of as an override (seems like a mistake, although understandable) it will never be called by using the base class.


Consider not using Anyhow for errors

Hi, first thanks for creating these libraries, having a good story for webrtc in Rust will be awesome.
We are in the process of using this library (rtp) in an application, however since you are using Anyhow where the error-type does not implemnt std::error::Error, it's difficult to use in application which does not itself use Anyhow.
Anyhow is awesome, but as far as I can understand it's first and foremost meant for applications. Libraries, which is meant to be used from other libraries or application should use something like thiserror (https://crates.io/crates/thiserror).
Anyhow mentions this in their README: https://github.com/dtolnay/anyhow#comparison-to-thiserror

@sindreij, thanks for bringing this issue. @algesten expressed the same concern about Anyhow usage across webrtc-rs crates.
@algesten, can I assign this task to you? You can use RTP as a starting point to migrate Anyhow to thiserror or other solution.

I'm happy to work on this.
I'll get cracking on a PR for this on Monday.

Let's close this issue in favor of https://github.com/webrtc-rs/webrtc/issues/106 – where I will track the effort across all sub-crates of the project.


Request to host new JENKINS plugin

Repository URL
https://github.com/OlegGavri/gparms
New Repository Name
global-pipeline-parameters-plugin
Description
This plugin allow any Pipeline Jobs store and read values common for all jobs. This values will be shared between all jobs in Jenkins Instance.
GitHub users to have commit permission
@reffum
Jenkins project users to have release permission
reffum
Issue tracker
Jira

Security audit, information and commands
The security team is auditing all the hosting requests, to ensure a better security by default.
This message informs you that a Jenkins Security Scan was triggered on your repository.
It takes ~10 minutes to complete.
Commands
The bot will parse all comments, and it will check if any line start with a command.
Security team only:

/audit-ok => the audit is complete, the hosting can continue :tada:.
/audit-skip => the audit is not necessary, the hosting can continue :tada:.
/audit-findings => the audit reveals some issues that require corrections :pencil2:.

Anyone:

/request-security-scan => the findings from the Jenkins Security Scan were corrected, this command will re-scan your repository :mag:.
/audit-review => the findings from the audit were corrected, this command will ping the security team to review the findings :eyes:.
	It's only applicable when the previous audit required changes.

Only one command can be requested per comment.

(automatically generated message, version: 1.28.0)

:x: Jenkins Security Scan failed.
The Security team was notified about this.

❌ Jenkins Security Scan failed.
The Security team was notified about this.

=>

[2024-03-19 12:58:04] [build-stdout] [2024-03-19 12:58:04] [autobuild] [ERROR] Failed to execute goal org.jenkins-ci.tools:maven-hpi-plugin:3.51:hpi (default-hpi) on project gparams: Missing /tmp/tmp.a3B2uGcvUx/git-clone/target/classes/index.jelly. ~Delete any  from pom.xml and~ create src/main/resources/index.jelly:
[2024-03-19 12:58:04] [build-stdout] [2024-03-19 12:58:04] [autobuild] [ERROR]
[2024-03-19 12:58:04] [build-stdout] [2024-03-19 12:58:04] [autobuild] [ERROR] <div>
[2024-03-19 12:58:04] [build-stdout] [2024-03-19 12:58:04] [autobuild] [ERROR]     The description here…
[2024-03-19 12:58:04] [build-stdout] [2024-03-19 12:58:04] [autobuild] [ERROR] </div>

In other words, the tooling expects you to have a src/main/resources/index.jelly with description about what your plugin is doing.

/hosting re-check

❌ Jenkins Security Scan failed.
The Security team was notified about this.

=>

[2024-03-19 12:58:04] [build-stdout] [2024-03-19 12:58:04] [autobuild] [ERROR] Failed to execute goal org.jenkins-ci.tools:maven-hpi-plugin:3.51:hpi (default-hpi) on project gparams: Missing /tmp/tmp.a3B2uGcvUx/git-clone/target/classes/index.jelly. ~Delete any  from pom.xml and~ create src/main/resources/index.jelly:
[2024-03-19 12:58:04] [build-stdout] [2024-03-19 12:58:04] [autobuild] [ERROR]
[2024-03-19 12:58:04] [build-stdout] [2024-03-19 12:58:04] [autobuild] [ERROR]
[2024-03-19 12:58:04] [build-stdout] [2024-03-19 12:58:04] [autobuild] [ERROR]     The description here…
[2024-03-19 12:58:04] [build-stdout] [2024-03-19 12:58:04] [autobuild] [ERROR]

In other words, the tooling expects you to have a src/main/resources/index.jelly with description about what your plugin is doing.

Fix it. Add index.jelly.

The plugin's functionality is already covered by the parameterized trigger plugin and by using shared pipelines.
The latter exists exactly for this reason.

The plugin's functionality is already covered by the parameterized trigger plugin and by using shared pipelines. The latter exists exactly for this reason.

Hello! Thank you for answer.
I know about this two possibilities. I also try to use it, but they did not suit in my case.
parameterized trigger run other job, but I don't need that. I need some values shared between some  independent jobs and available to read/write in any time from any jobs.
Shared Pipelines seems to be better for this purpose. But I can't understand how I can write value at JENKINS Server machine when Job is running on other machine?
To be precisely, in my case jobs is running on some virtual machins, but the shared value must be stored in a specific file on JENKINS Servier file with specific path. I can't understand how I make it with Shared Library.
Thank you for answer.

This looks more like https://plugins.jenkins.io/metadata/ than the others suggested above. It looks like it does something novel (AFAICT) and potentially useful.
https://github.com/OlegGavri/gparms/blob/7e93fa1d6b00c088a7bc934ed6214f87ea085487/src/main/java/io/jenkins/plugins/GParamsReadStep.java#L71-L75 seems to implement path traversal (let name be ../config.xml), and makes the lookup path dependent on the working directory. It should involve the Jenkins home directory in the path, and require alphanumeric name up to a max length.

This looks more like https://plugins.jenkins.io/metadata/ than the others suggested above. It looks like it does something novel (AFAICT) and potentially useful.
https://github.com/OlegGavri/gparms/blob/7e93fa1d6b00c088a7bc934ed6214f87ea085487/src/main/java/io/jenkins/plugins/GParamsReadStep.java#L71-L75 seems to implement path traversal (let name be ../config.xml), and makes the lookup path dependent on the working directory. It should involve the Jenkins home directory in the path, and require alphanumeric name up to a max length.

Thank you very much for your answer and for bug finding. I fix it.
Metadata is seem to be more appropriate. But in my case value should be "global", not associated with Jobs, project  and build etc. And gparams is very easy to use.

https://github.com/OlegGavri/gparms/blob/7e93fa1d6b00c088a7bc934ed6214f87ea085487/src/main/java/io/jenkins/plugins/GParamsReadStep.java#L71-L75 seems to implement path traversal (let name be ../config.xml), and makes the lookup path dependent on the working directory. It should involve the Jenkins home directory in the path, and require alphanumeric name up to a max length.

I have fixed this path traversal vulnerability

/hosting re-check

I have fixed this path traversal vulnerability

Thanks. I recommend validation be done during execution. While I expect the constructor cannot be bypassed for a Pipeline step, I am not confident about that.
https://github.com/OlegGavri/gparms/blob/8a5af9e9ee2742150840e8215bf1392c2ffee25c/src/main/java/io/jenkins/plugins/Parameters.java#L7 is wrong as there may not be a system property, use Jenkins#getRootDir instead.

I have fixed this path traversal vulnerability

Thanks. I recommend validation be done during execution. While I expect the constructor cannot be bypassed for a Pipeline step, I am not confident about that.
https://github.com/OlegGavri/gparms/blob/8a5af9e9ee2742150840e8215bf1392c2ffee25c/src/main/java/io/jenkins/plugins/Parameters.java#L7 is wrong as there may not be a system property, use Jenkins#getRootDir instead.

Thanks. I fix your recommendations.

/hosting re-check

/request-security-scan

The Jenkins Security Scan did not find anything dangerous with your plugin, congratulations! :tada:

:bulb: The Security team recommends that you are setting up the scan in your repository by following our guide.

Hey, I took a brief look at your hosting request and have some feedback for you:

You forgot to add a .mvn folder with the following files: https://github.com/jenkinsci/archetypes/tree/master/common-files/.mvn
You forgot to add a .github folder with the following files and subdirectories: https://github.com/jenkinsci/archetypes/tree/master/common-files/.github
Please add an appropriate package name to your class structure: https://github.com/OlegGavri/gparms/tree/master/src/main/java/io/jenkins/plugins
https://github.com/OlegGavri/gparms/blob/ae83e69f9929c3f6a6d462de81a02b406142c947/pom.xml#L41-L42 should match your jenkins.version specified
A JUnit test is mandatory to get a successful build after the hosting process.
https://github.com/OlegGavri/gparms/blob/ae83e69f9929c3f6a6d462de81a02b406142c947/pom.xml#L49-L52 is obsolete and should be removed
The steps added do not support the pipeline snippet generator:

Thank you very much for your notes. I try to fix everything and push to master bracnh.

/hosting host

/hosting re-check

/hosting re-check

/request-security-scan

The Jenkins Security Scan did not find anything dangerous with your plugin, congratulations! :tada:

:bulb: The Security team recommends that you are setting up the scan in your repository by following our guide.

/hosting re-check

/request-security-scan

Thank you. I wait for you decide.

/hosting host

the bom is referring to jenkins 2.426.x here while you use version 2.440.3


double-beep: Watch +237652484858

double-beep requests the watch of the watch_number +237652484858. See the MS search here and the Stack Exchange search here.

Approved by Machavity in Charcoal HQ


Incorporate HabitatSeven’s RiskProfiler WordPress into our Docker setup

Main steps (brainstorming):

[x] Remove the previous test site in the wp-app directory, and add https://github.com/OpenDRR/h7-riskprofiler as a submodule at the wp-app path
[x] Import the MySQL database dump
[x] Tinker the site directories and configurations etc. to make thesite load
[x] Create a new WordPress user with admin rights
[x] Document on our wiki pages such as:

https://github.com/OpenDRR/riskprofiler-cms/wiki/Procedure
https://github.com/OpenDRR/riskprofiler-cms/wiki/References
https://github.com/OpenDRR/riskprofiler-cms/wiki/Troubleshooting_and_HOWTOs

[x] Automate the whole procedure
[x] Look at #4 and #1

The goal to "Explore how to allow make local changes (e.g. adding content for the Training module) and pushing them back to this Git repo" has been delegated to Issue #7.


WIP: Enable cloudprovider rate limit / backoff features

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

This change is

This will be a huge boon to folks once it lands. Excited to see it get out there!

@JackQuincy @anhowe anyone can help review this PR?

Seems like you have missed your most recent make build and that tempaltes.go is going to be out of date.

unit tests are failing. Please use make ci to repro and fix the failing tests


How can I add script.js?

Usually in vanilla js I use content_script.js that will inject script.js to the page but I can't find any example related to that?
const container = document.head || document.documentElement
const scriptTag = document.createElement('script')
scriptTag.setAttribute('async', 'false')
scriptTag.src = chrome.runtime.getURL('script.js')
container.insertBefore(scriptTag, container.children[0])
container.removeChild(scriptTag)

Second question is where to place that script.ts to trigger script.js build and include it in HMR?

Thank you for reaching out. I am sharing an example setup that I created for one of my clients.
You can create the main injection script in content/injection folder.
(or wherever you want to structure it, crxjs and vite handle it.  see: https://github.com/crxjs/chrome-extension-tools)
And you can import it inside content/index.ts
import pageContextInject from './injection/pageContextInject?script&module';

const setupInjectPageContextScript = () => {
  const s = document.createElement('script');
  s.src = chrome.runtime.getURL(pageContextInject);
  s.type = 'module';
  document.head.appendChild(s);
  s.onload = function () {
    s.remove();
  };
};

And at the end
(async function initialize() {
  const config = await getExtensionConfig();
  if (config.enabled) {
    //setupInitialDispatch();
    setupInjectPageContextScript();
    //setupInjections();
    //setupSomeOther();
  }
})();

Hope you find it useful.

@katopz you may need to add this code to typings.d.ts to make tsc happy. see: https://www.typescriptlang.org/docs/handbook/modules.html#wildcard-module-declarations
https://vitejs.dev/guide/assets.html#importing-asset-as-url
declare module '*?script&module' {
  const src: string;
  export default src;
}

Wow that's a super fancy things to do for inject something. 😆
Thanks!


cmd/go: go.mod has non-....v2 module path error in master

What version of Go are you using (go version)?

go version devel +6bf2767cc8 Tue Jul 16 15:37:25 2019 +0000 linux/amd64
go version devel +b5df14c309 Wed Jul 17 12:57:52 2019 +0000 linux/amd64

Does this issue reproduce with the latest release?
No reproducible other than go tip
it seems introduced by https://github.com/golang/go/commit/24a6ca09d0151f2dc6a524217b8523abd33403bb
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/travis/.cache/go-build"
GOENV="/home/travis/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/travis/gopath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/travis/.gimme/versions/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/travis/.gimme/versions/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/travis/gopath/src/github.com/dutchcoders/transfer.sh/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build599295724=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Run the CI pipeline on travis-ci for github.com/dutchcoders/transfer.sh
(see https://travis-ci.org/dutchcoders/transfer.sh/jobs/559620389 and https://travis-ci.org/dutchcoders/transfer.sh/jobs/559603532)

What did you expect to see?
go get -t -u -v ./... runs with no error
What did you see instead?
go get: upgrading<EMAIL_ADDRESS><EMAIL_ADDRESS>invalid version: go.mod has non-....v2 module path "github.com/russross/blackfriday/v2" at revision v2.0.1

/cc @bcmills @jayconrod

It's unfortunate, but the error message there is not wrong.
A replace directive today means “replace the source code for module path/to/module/1 with the source code found at path/to/module/2”. It does not change the meaning of import statements, and therefore cannot reliably be used to fix incorrect import paths (see also #30831, which is similarly unfortunate).
The go.mod file in github.com/russross/blackfriday/v2 clearly declares its module path to be github.com/russross/blackfriday/v2, and if it had any internal imports you'd instead be running up against #26904.
That said, there may be something we can do for this case in the meantime.
CC @jayconrod

yes, the message is not wrong and the module path in the go.mod of github.com/russross/blackfriday is wrong as well, and that's why I needed the replace directive in the first place
I opened the issue to point out how it's working on current release and you may or may not want to break the behaviour

@aspacca, this should be fixed at head. Please let us know if you're still having trouble.

@bcmills yes, build on head is now green. thank you very much, really appreciated
(ps: I will open an issue on github.com/russross/blackfriday to see if they are going to fix the go.mod on their side anyway)


[Screengrab] Empty status bar and software buttons in screenshots

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Screengrab does not capture status bar contents or software buttons. The regions are both captured but have no contents. The contents are visible in the simulator during screengrab execution. Attached are 2 images which I have to sanitize the body contents (which were captured correctly). The first shows the output from screengrab with the empty status bar and button area. The second is a screenshot taken of the simulator during the capture process at the same point showing the status bar contents and soft buttons to illustrate expected output.
Tested and repeatable on simulators with API 22 and 23. APIs 24 and 25 can not currently run screengrab (reported in #9676).
Screengrab output

Expected output (captured by taking screenshot of simulator in computer)

Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

fastlane screengrab
/Library/Ruby/Gems/2.0.0/gems/fastimage-2.1.0/lib/fastimage.rb:67: warning: already initialized constant URI::DEFAULT_PARSER
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/common.rb:545: warning: previous definition of DEFAULT_PARSER was here
[07:46:56]: fastlane detected a Gemfile in the current directory
[07:46:56]: however it seems like you don't use bundle exec
[07:46:56]: to launch fastlane faster, please use
[07:46:56]:
[07:46:56]: $ bundle exec fastlane screengrab
[07:46:56]:
[07:46:56]: For more information, check out https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[07:46:58]: Successfully loaded 'REDACTED/fastlane/Screengrabfile' 📄
+----------------------------+-----------------------------------------------------+
|                 Detected Values from './fastlane/Screengrabfile'                 |
+----------------------------+-----------------------------------------------------+
| app_package_name           | REDACTED                    |
| use_tests_in_packages      | ["REDACTED.screenshots"]    |
| app_apk_path               | REDACTED-debug.apk             |
| tests_apk_path             | REDACTED-debug-androidTest.apk |
| locales                    | ["en-US"]                                           |
| clear_previous_screenshots | true                                                |
+----------------------------+-----------------------------------------------------+
+-----------------------------+-----------------------------------------------------+
|                           Summary for screengrab 2.50.1                           |
+-----------------------------+-----------------------------------------------------+
| app_package_name            | REDACTED                    |
| use_tests_in_packages       | ["REDACTED.screenshots"]    |
| app_apk_path                | REDACTED-debug.apk             |
| tests_apk_path              | REDACTED-debug-androidTest.apk |
| locales                     | ["en-US"]                                           |
| clear_previous_screenshots  | true                                                |
| tests_package_name          | REDACTED.test               |
| android_home                | REDACTED/Library/Android/sdk/                  |
| output_directory            | fastlane/metadata/android                           |
| skip_open_summary           | false                                               |
| test_instrumentation_runner | android.support.test.runner.AndroidJUnitRunner      |
| ending_locale               | en-US                                               |
| device_type                 | phone                                               |
| exit_on_test_failure        | true                                                |
| reinstall_app               | false                                               |
+-----------------------------+-----------------------------------------------------+
[07:46:58]: Clearing phoneScreenshots within fastlane/metadata/android
[07:46:58]: $ adb devices -l
[07:46:58]: ▸ List of devices attached
[07:46:58]: ▸ emulator-5554          device product:sdk_google_phone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64
[07:46:58]: $ adb -s emulator-5554 shell echo $EXTERNAL_STORAGE
[07:46:58]: ▸ /storage/sdcard
[07:46:58]: Cleaning screenshots on device
[07:46:58]: $ adb -s emulator-5554 shell rm -rf /storage/sdcard/REDACTED/screengrab
[07:46:58]: Validating app APK
[07:46:58]: $ REDACTED/Library/Android/sdk/build-tools/25.0.2/aapt dump permissionsREDACTED-debug.apk
[07:46:58]: ▸ package: REDACTED
[07:46:58]: ▸ uses-permission: name='android.permission.INTERNET'
[07:46:58]: ▸ uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
[07:46:58]: ▸ uses-permission: name='android.permission.ACCESS_WIFI_STATE'
[07:46:58]: ▸ uses-permission: name='android.permission.RECORD_AUDIO'
[07:46:58]: ▸ uses-permission: name='android.permission.BIND_NOTIFICATION_LISTENER_SERVICE'
[07:46:58]: ▸ uses-permission: name='android.permission.DISABLE_KEYGUARD'
[07:46:58]: ▸ uses-permission: name='android.permission.WAKE_LOCK'
[07:46:58]: ▸ uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'
[07:46:58]: ▸ uses-permission: name='android.permission.READ_EXTERNAL_STORAGE'
[07:46:58]: ▸ uses-permission: name='android.permission.CHANGE_CONFIGURATION'
[07:46:58]: Installing app APK
[07:46:58]: $ adb -s emulator-5554 install -r REDACTED-debug.apk
[07:46:59]: ▸ REDACTED-debug.apk: 1 file pushed. 27.5 MB/s (6298121 bytes in 0.218s)
[07:46:59]: ▸ pkg: /data/local/tmp/REDACTED-debug.apk
[07:47:01]: ▸ Success
[07:47:01]: Installing tests APK
[07:47:01]: $ adb -s emulator-5554 install -r REDACTED-debug-androidTest.apk
[07:47:01]: ▸ REDACTED-debug-androidTest.apk: 1 file pushed. 32.0 MB/s (1171332 bytes in 0.035s)
[07:47:02]: ▸ pkg: /data/local/tmp/REDACTED-debug-androidTest.apk
[07:47:03]: ▸ Success
[07:47:03]: Granting the permission necessary to change locales on the device
[07:47:03]: $ adb -s emulator-5554 shell pm grant REDACTED android.permission.CHANGE_CONFIGURATION
[07:47:03]: $ adb -s emulator-5554 shell getprop ro.build.version.sdk
[07:47:03]: ▸ 22
[07:47:03]: Running tests for locale: en-US
[07:47:03]: $ adb -s emulator-5554 shell am instrument --no-window-animation -w
-e testLocale en_US
-e endingLocale en_US
-e package REDACTED.screenshots
REDACTED.test/android.support.test.runner.AndroidJUnitRunner
[07:47:10]: ▸ REDACTED.screenshots.ScreenshotTest:.
[07:47:10]: ▸ Time: 6.102
[07:47:10]: ▸ OK (1 test)
[07:47:10]: Pulling captured screenshots from the device
[07:47:10]: $ adb -s emulator-5554 pull /storage/sdcard/REDACTED/screengrab /var/folders/xz/7b2ky4fx5_d393z4xm5sgmhxqwxc_b/T/d20170803-92660-vy1l88
[07:47:10]: Screenshots copied to fastlane/metadata/android/en-US/images/phoneScreenshots
[07:47:10]: Generating HTML Report
[07:47:10]: Successfully created HTML file with an overview of all the screenshots: 'REDACTED/fastlane/metadata/android/screenshots.html'
[07:47:10]: Captured 4 screenshots! 📷✨
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.6

Ruby
2.0.0

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib

OpenSSL Version
OpenSSL 0.9.8zc 19 Mar 2015

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane gems

Gem
Version
Update-Status

fastlane
2.50.1
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-demo_mode
1.0.0
✅ Up-To-Date

Loaded gems

Gem
Version

slack-notifier
1.5.1

plist
3.3.0

CFPropertyList
2.3.5

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

mime-types-data
3.2016.0521

mime-types
3.1

httpclient
2.8.3

google-api-client
0.12.0

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.14.6

json
2.1.0

excon
0.58.0

faraday
0.12.2

faraday_middleware
0.12.0

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

terminal-table
1.8.0

unicode-display_width
1.3.0

fastlane-plugin-demo_mode
1.0.0

generated on: 2017-08-02

After re-reading the screengrab page I added Screengrab.setDefaultScreenshotStrategy(new UiAutomatorScreenshotStrategy()); to the start of my screenshot test which appears to have resolved the issue.


As of most recent update, CQUI is breaking the game

It took some troubleshooting but after some painful research (including a complete deletion and re-installation of Civ 6 on steam) I've determined that, alas, the problem is with this, my all-time favorite, seemingly must-have Civilization 6 mod.
Here's what happens when it's enabled. I start the game - fine so far. But then I either load a game or create a new one, and i get a hang state. For new games, it just sits on 'please wait' forever until I have to kill the process. On loaded games, I can't access orders for any units at all, so same sad conclusion.
I have no idea what's causing it BUT I have determined that there's some sort of error with map generation when CQUI is in use. I could possibly recreate the problem and send copies of my console yelling about it but I kind of hope to avoid that. Would really love to see this issue resolved because it makes the game so much more playable when it works. Heck, I love it enough that I created a github account to mention the problem!

I too am seeing "Please Wait..." immediately after starting a new game with CQUI under Steam/Civ6/linux. No actual lua log ever generates. I literally reinstalled the game clean, removed all the steam subdirectories to get a completely clean install. The issue persists. If I disable CQUI, and begin a new game, no issue. I'll happy provide whatever I logs I have but since I literally cannot make the first nove in the new game, there don't appear to be any relevant logs generated (moddling.log exists, but lua.log does not.) Please let me know what other logs I might provide is these can help. Thanks!

Issue was caused by a case sensitivity issue. Aspyr really did a hatchet job with the port in terms of mods. The files are case sensitive on Linux, BUT they don't use the same case pattern as any other release. Why? Dunno, but it can cause issues like these sometimes. A fix should go live later today

Thank you!!! Much appreciate your help!
On Sat, Jul 8, 2017, 12:51 PM Chris<EMAIL_ADDRESS>wrote:

Issue was caused by a case sensitivity issue. Aspyr really did a hatchet
job with the port in terms of mods. The files are case sensitive on
Linux, BUT they don't use the same case pattern as any other release. Why?
Dunno, but it can cause issues like these sometimes. A fix should go live
later today
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/CQUI-Org/cqui/issues/575#issuecomment-313867505, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHu9x8TEcec_9TgpHS52_bBGp6cKhY3iks5sL7OIgaJpZM4OP6-V
.

Hi Chaorace this is still occurring even after subscribing and unsubscribing under Linux. Does the GitHub fix push to the Steam Workshop? I've tried this again with the completely new game.

@corq The workshop updates weekly. Fix is live to Steam as of 30 minutes ago

Thanks! Played several hours overnight, appears to be working great!

This is happening on OSX after steam installed Fall 2017 patch.

Yeh can confirm under Ubuntu and most recent update this behavior is definitely back.

Active development is over here now: https://github.com/Azurency/CQUI_Community-Edition

Thanks - I think I saw that the cqui bug I filed had been moved over there
already.
On Sat, Nov 18, 2017 at 12:00 AM, ProustIdee<EMAIL_ADDRESS>wrote:

Active development is over here now: https://github.com/Azurency/
CQUI_Community-Edition
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CQUI-Org/cqui/issues/575#issuecomment-345418710, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHu9x7sXZuko6LMdzfRKr2gNPPnjSi2gks5s3mR5gaJpZM4OP6-V
.

--

QTH KORL Winter Park, Florida | Icom R75 | RFSpace SDR-IQ::Pixel Loop RF-1B
| Uniden HP2
SDR Captures/loggings posted to: https://corq.co when audio quality allows.


K3s system pods not booting up on Amazon Linux 2023

Environmental Info:
K3s Version:
k3s version v1.28.2+k3s1 (6330a5b4)
go version go1.20.8

Node(s) CPU architecture, OS, and Version:
Linux ip-172-31-0-199.us-west-2.compute.internal 6.1.56-82.125.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 10 17:03:53 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Cluster Configuration:

1 server standalone
write-kubeconfig-mode: "0600"
token-file: /etc/rancher/k3s/x-token
service-cidr: <IP_ADDRESS>/16
cluster-cidr: <IP_ADDRESS>/16
default-local-storage-path: /mnt/rancher/k3s/storage
secrets-encryption: true
data-dir: /mnt/rancher/k3s
selinux: false
protect-kernel-defaults: true
disable-cloud-controller: true
disable-helm-controller: true
disable-network-policy: true
disable:
  - traefik
  - servicelb
  - helm-controller
node-label:
  - role=node
  - node-role.x.io/primary=true
kubelet-arg:
  - config=/etc/rancher/k3s/kubelet/config.yaml

Kubelet config:
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
serializeImagePulls: false
registryPullQPS: 3
registryBurst: 5
kubeAPIQPS: 20
kubeAPIBurst: 25
maxParallelImagePulls: 3
runtimeRequestTimeout: 10m
evictionHard:
memory.available:  "200Mi"

Describe the bug:
The coredns, metrics server and local-path provisioner fail to come up. Seems like an issue reaching the k8s api from within the cluster.
 k logs -n kube-system   coredns-6799fbcd5-btmpc
[WARNING] No files matching import glob pattern: /etc/coredns/custom/*.override
[WARNING] No files matching import glob pattern: /etc/coredns/custom/*.server
[INFO] plugin/ready: Still waiting on: "kubernetes"
[INFO] plugin/kubernetes: waiting for Kubernetes API before starting server
[INFO] plugin/kubernetes: waiting for Kubernetes API before starting server
[INFO] plugin/ready: Still waiting on: "kubernetes"
[INFO] plugin/kubernetes: waiting for Kubernetes API before starting server
[INFO] plugin/ready: Still waiting on: "kubernetes"
[INFO] plugin/kubernetes: waiting for Kubernetes API before starting server
[INFO] plugin/kubernetes: waiting for Kubernetes API before starting server
[INFO] plugin/kubernetes: waiting for Kubernetes API before starting server
[INFO] plugin/kubernetes: waiting for Kubernetes API before starting server
[INFO] plugin/ready: Still waiting on: "kubernetes"
[INFO] plugin/kubernetes: waiting for Kubernetes API before starting server
[INFO] plugin/kubernetes: waiting for Kubernetes API before starting server
[WARNING] plugin/kubernetes: starting server with unsynced Kubernetes API
.:53
[WARNING] No files matching import glob pattern: /etc/coredns/custom/*.override
[WARNING] No files matching import glob pattern: /etc/coredns/custom/*.server
[INFO] plugin/reload: Running configuration SHA512 = b941b080e5322f6519009bb49349462c7ddb6317425b0f6a83e5451175b720703949e3f3b454a24e77f3ffe57fd5e9c6130e528a5a1dd00d9000e4afd6c1108d
CoreDNS-1.10.1
linux/amd64, go1.20, 055b2c3
[INFO] plugin/ready: Still waiting on: "kubernetes"
[INFO] plugin/ready: Still waiting on: "kubernetes"
[INFO] plugin/ready: Still waiting on: "kubernetes"
[INFO] plugin/ready: Still waiting on: "kubernetes"

Steps To Reproduce:

Install K3s on Amazon Linux 2023

Expected behavior:
K3s install succeeds. It is possible that this issue has more to do with the Distro than k3s itself as I have seen it succeed in the past. Maybe a new update of the AMI brought in something that k3s doesn't like.
Actual behavior:
kube-system pods are in crashbackoff loop
k get po -A
NAMESPACE     NAME                                      READY   STATUS             RESTARTS      AGE
kube-system   coredns-6799fbcd5-btmpc                   0/1     Running            0             6m12s
kube-system   metrics-server-67c658944b-7p425           0/1     CrashLoopBackOff   6 (43s ago)   10m
kube-system   local-path-provisioner-84db5d44d9-r6bdg   0/1     CrashLoopBackOff   6 (38s ago)   10m

Additional context / logs:
k logs -n kube-system   metrics-server-67c658944b-7p425
Error: unable to load configmap based request-header-client-ca-file: Get "https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system/configmaps/extension-apiserver-authentication": dial tcp <IP_ADDRESS>:443: i/o timeout
Usage:
   [flags]

Metrics server flags:

      --kubeconfig string            The path to the kubeconfig used to connect to the Kubernetes API server and the Kubelets (defaults to in-cluster config)
      --metric-resolution duration   The resolution at which metrics-server will retain metrics, must set value at least 10s. (default 1m0s)
      --version                      Show version

systemctl status k3s
● k3s.service - Lightweight Kubernetes
     Loaded: loaded (/etc/systemd/system/k3s.service; enabled; preset: disabled)
     Active: active (running) since Mon 2023-10-30 23:22:44 UTC; 11min ago
       Docs: https://k3s.io
    Process: 3398 ExecStartPre=/bin/sh -xc ! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service (code=exited, status=0/SUCCESS)
    Process: 3400 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
    Process: 3401 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
   Main PID: 3402 (k3s-server)
      Tasks: 74
     Memory: 1.2G
        CPU: 45.711s
     CGroup: /system.slice/k3s.service
             ├─3402 "/usr/bin/k3s server"
             ├─3503 "containerd "
             ├─4107 /mnt/rancher/k3s/data/ab2055bc72380bad965b219e8688ac02b2e1b665cad6bdde1f8f087637aa81df/bin/containerd-shim-runc-v2 -namespace k8s.io -id cd2c4e72c78e501286b1022eda014c907dda211c9ba60d470f02dd0f9581a783 -address /run/k3s/containerd/containerd.sock
             ├─4250 /mnt/rancher/k3s/data/ab2055bc72380bad965b219e8688ac02b2e1b665cad6bdde1f8f087637aa81df/bin/containerd-shim-runc-v2 -namespace k8s.io -id 82b2daf8b184e59f48ef48a34371b547fb634df7584e86ce577e12965b2cec4f -address /run/k3s/containerd/containerd.sock
             └─5764 /mnt/rancher/k3s/data/ab2055bc72380bad965b219e8688ac02b2e1b665cad6bdde1f8f087637aa81df/bin/containerd-shim-runc-v2 -namespace k8s.io -id 0ec63cf0ba2957073030257a5022931b3470bd2a7b53682cad0c738468c9ad93 -address /run/k3s/containerd/containerd.sock

Oct 30 23:33:58 ip-172-31-0-199.us-west-2.compute.internal k3s[3402]: E1030 23:33:58.547893    3402 pod_workers.go:1300] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"metrics-server\" with CrashLoopBackOff: \"back-off 5m0s restarting failed contai>
Oct 30 23:33:58 ip-172-31-0-199.us-west-2.compute.internal k3s[3402]: I1030 23:33:58.648381    3402 garbagecollector.go:816] "failed to discover some groups" groups="<internal error: json: unsupported type: map[schema.GroupVersion]error>"
Oct 30 23:34:05 ip-172-31-0-199.us-west-2.compute.internal k3s[3402]: I1030 23:34:05.548086    3402 scope.go:117] "RemoveContainer" containerID="0a111b77152b9a490086d89a9055db34c06190433517cb1c55f5d9c88a15fd36"
Oct 30 23:34:05 ip-172-31-0-199.us-west-2.compute.internal k3s[3402]: E1030 23:34:05.548248    3402 pod_workers.go:1300] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"local-path-provisioner\" with CrashLoopBackOff: \"back-off 5m0s restarting faile>
Oct 30 23:34:09 ip-172-31-0-199.us-west-2.compute.internal k3s[3402]: I1030 23:34:09.548861    3402 scope.go:117] "RemoveContainer" containerID="05465147ab446ec88357849721547b86619a4007f89decce5b1fd21177a996c2"
Oct 30 23:34:09 ip-172-31-0-199.us-west-2.compute.internal k3s[3402]: E1030 23:34:09.549149    3402 pod_workers.go:1300] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"metrics-server\" with CrashLoopBackOff: \"back-off 5m0s restarting failed contai>
Oct 30 23:34:19 ip-172-31-0-199.us-west-2.compute.internal k3s[3402]: I1030 23:34:19.548115    3402 scope.go:117] "RemoveContainer" containerID="0a111b77152b9a490086d89a9055db34c06190433517cb1c55f5d9c88a15fd36"
Oct 30 23:34:19 ip-172-31-0-199.us-west-2.compute.internal k3s[3402]: E1030 23:34:19.548290    3402 pod_workers.go:1300] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"local-path-provisioner\" with CrashLoopBackOff: \"back-off 5m0s restarting faile>
Oct 30 23:34:21 ip-172-31-0-199.us-west-2.compute.internal k3s[3402]: I1030 23:34:21.548537    3402 scope.go:117] "RemoveContainer" containerID="05465147ab446ec88357849721547b86619a4007f89decce5b1fd21177a996c2"
Oct 30 23:34:21 ip-172-31-0-199.us-west-2.compute.internal k3s[3402]: E1030 23:34:21.548838    3402 pod_workers.go:1300] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"metrics-server\" with CrashLoopBackOff: \"back-off 5m0s restarting failed contai>
lines 1-28

Happy to provide info needed for troubleshooting this further.

Can you attach the full k3s logs from journald, not just a couple lines of truncated output from systemctl status?
It looks like kube-proxy isn't starting, or access to the in-cluster kubernete service endpoint is being blocked. If the logs show kube-proxy running, can you confirm that you have disabled any other iptables-based firewalls (such as ufw or firewalld) that might be blocking access?

Could be related to https://github.com/amazonlinux/amazon-linux-2023/issues/528

I think you're right.

Looks like this has been resolved on the amazon side.

Yes, validated on newer AMI. Closing this.
Linux ip-XXX.us-west-2.compute.internal 6.1.59-84.139.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 24 20:57:25 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux


silly mistake

Fixes a silly mistake I made in #108...apologies!

Thanks for quick review and merge!


ERROR all request and response in curly braces with no Tag menu - request chaining

Is there an existing issue for this?

[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Insomnia Version
2021.5.2
What operating system are you using?
macOS
Operating System Version
macOS Catalina 11.5.2
Installation method
download app from insomnia
Last Known Working Insomnia version
No response
Expected Behavior
{
"expr": [
"a =[Response > Body attribute]"
]
}
Actual Behavior
{
"expr": [
"a ={% jsonata_response '', '', 'never' %}"
]
}
Reproduction Steps

create request 1, it should generate results such as a login token
refer to request chaining by typing in Response > body attribute , application would return {% jsonata_response '', '', 'never' %}"
all function is undefined

Additional Information
There is no drop down menu to select attribute or map chained responses

Is it possible this was solved by https://github.com/Kong/insomnia/pull/3983 (merged just 10 hours ago)?
I just tried, and was unable to reproduce:
https://user-images.githubusercontent.com/15232461/131864612-17055763-fc2e-4f34-ac70-2c3dcb447a5c.mp4
any suggestions?

I have not fully resolved it yet, but it seems to be related to "Raw template syntax" option selected in Insomnia's preference

Does it work if you change the setting of Raw template syntax?

Hi @theundertakerjr666, the default Response -> Body Attribute raw template should be {% response 'body', '', '', 'never', 60 %}, not {% jsonata_response '', '', 'never' %} as you are experiencing.
Could you please share a gif/video to show exactly what you are experiencing?
If you disable Raw Template Syntax, {% response 'body', '', '', 'never', 60 %} should show as the following, and clicking it you can open and modify the tag.


Installation error: alot of files not found error in examples/static/{js,scss,css} on running app-setup.sh

A lot of files were not found error prompted during execution of flask assets build
like : /static/js/csv_previewer/init.js no such file error, leading to termination of bundles building process.

Tried just a second ago on Ubuntu 16.04 and seems to be working now:
$ pip install -e .[all]
$ docker run --rm -p 6379:6379 redis
$ ./run-tests.sh
$ cd examples
$ ./app-setup.sh
$ ./app-fixtures.sh
$ FLASK_APP=app.py flask run --debugger -p 5000
$ curl <IP_ADDRESS>:5000
$ ./app-teardown.sh

I'm closing the issue and reopening if needed.


where is NYP lab1?

also nyp uygulama1

They are all in my oopProjects repo.
Visa application system is 1-1 of the lab1.
And the Reservation System is a updated version of uygulama1.

Keep in mind that in exams they dont want user input. So my reservation system is not valid for exams. Check this code for uygulama1. https://drive.google.com/file/d/1O0tjAEwGkqh28Ir7BMERNML7RmPBJGE_/view

OK. then. I thought this repo was for all CS class notes and stuff.

may add more to this repo later


Optimized prerendered version of the TextField

The prerendered version is now using placeholder instead off an additional label

@cromefire is this ready? do you want this in 1.5.3? or in 2.0?

Let's do last update, maybe fix some bugs and that work towards 2.0

so u want this in 1.5.3, right?

yes


PyTorchProfiler crashes when emit_nvtx=True

🐛 Bug
When training with PyTorchProfiler(emit_nvtx=True), the training stops with the following error :
AttributeError: 'emit_nvtx' object has no attribute 'function_events'
Please reproduce using the BoringModel
-> https://colab.research.google.com/drive/1cqMxMgDVgltluaYZAkn9d2srSDmOu-1p?usp=sharing
To Reproduce
Use following BoringModel and post here

Expected behavior

Environment
Additional context

Additional docs issue :
It says here (https://pytorch-lightning.readthedocs.io/en/1.2.0/advanced/profiler.html) that you have to use nvprof to collect the profiler traces, but it is no longer supported for devices with compute capability 8.0 and higher.
I think that an exemple using nsight-compute would be great ( I can't test it right now because of the nvtx issue )

Dear @NathanGrimaud,
I opened a PR with a fix. Would you mind giving it a try ?
Best regards,
T.C

Well it works now thanks !
But I cannot get the whole report working
nvprof --profile-from-start off -o trace_name.prof -- pytest tests/trainer/test_trainer.py::test_pytorch_profiler_nested_emit_nvtx

python -c "import torch;print(torch.autograd.profiler.load_nvprof('/home/ubuntu/pytorch-lightning/trace_name.prof'))"

nvprof isn't supported on nvidia's gpus since the Turing architecture (https://docs.nvidia.com/cuda/profiler-users-guide/index.html#profiling-overview).
But this might belong to a new issue ( or even a PR if I can get it to work ^^)


Form vertical

I was thinking about best practices of UX/UI design for this Lib and based on this article and Nilsen's heuristics I think it'd be great if we had a vertical version of the credit card form.
Since one of the recommendations of a better UI is to Present fields in a single column layout.

Multiple columns interrupt the vertical momentum of moving down the form. Rather than requiring users to visually reorient themselves, keep them in the flow by sticking to a single column with a separate row for each field.

So, here's what I did:

Added a boolean horizontal flag to where True displays the form horizontally and False vertically
Created a RN example project for this new feature (on the exampleVertical/ folder)
Added Android/IOS example Gifs to README.md
Added the horizontal flag to the  REAMDE.me docs

The result is the following:

@quixote15 amazing man, thank you!

@quixote15 I've downloaded here, and your example has 58mb. please remove all gif(and upload a link) and / or another files.

@quixote15 I've downloaded here, and your example has 58mb. please remove all gif(and upload a link) and / or another files.

I'm gonna create a repo to upload the example and gif files. I'll create another PR for that.

Cool!


Benchmark Polkadex Orderbook

Context
Perform different types of load testing of Polkadex Orderbook under different scenarios and create a complete report containing multiple test conditions and outcomes.
Tool
We can use Gatling to perform different types of performance tests on our JSON-RPC based Websockets. Related resource (https://gatling.io/docs/gatling/reference/current/http/websocket/)
Scenarios

[ ] Check response time of all possible methods.

[ ] place_order,
[ ] cancel_order,
[ ] get_balance,
[ ] withdraw

[ ] Find throughput of Gateway, if multiple create order requests are send.

@Gauthamastro @haerdib If you have any scenarios which we should benchmark, please add them to Scenarios List.

Things left to be implemented :-

[ ] Run benchmark code with active Openfinex server.
[ ] Create report of remaining scenarios.

Waiting for Openware to issue license

@Gauthamastro to review


ng serve is not working with beta .24

Please provide us with the following information:

OS?

Windows 10.

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.24
node: 6.6.0
os: win32 x64
@angular/common: 2.4.1
@angular/compiler: 2.4.1
@angular/core: 2.4.1
@angular/forms: 2.4.1
@angular/http: 2.4.1
@angular/platform-browser: 2.4.1
@angular/platform-browser-dynamic: 2.4.1
@angular/router: 3.4.1
@angular/compiler-cli: 2.4.1

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
ng serve is not working

The log given by the failure.

Normally this include a stack trace and some more information.
TypeError: Cannot read property '0' of null
at new ArraySchemaTreeNode (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\json-schema\schema-tree.js:287:122)
at ObjectSchemaTreeNode.NonLeafSchemaTreeNode._createChildProperty (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\json-schema\schema-tree.js:194:24)
at new ObjectSchemaTreeNode (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\json-schema\schema-tree.js:218:45)
at ArraySchemaTreeNode.NonLeafSchemaTreeNode._createChildProperty (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\json-schema\schema-tree.js:194:24)
at new ArraySchemaTreeNode (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\json-schema\schema-tree.js:287:39)
at RootSchemaTreeNode.NonLeafSchemaTreeNode._createChildProperty (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\json-schema\schema-tree.js:194:24)
at RootSchemaTreeNode.ObjectSchemaTreeNode [as constructor] (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\json-schema\schema-tree.js:218:45)
at new RootSchemaTreeNode (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\json-schema\schema-tree.js:322:16)
at GeneratedSchemaClass.SchemaClassBase (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\json-schema\schema-class-factory.js:65:29)
at new GeneratedSchemaClass (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\json-schema\schema-class-factory.js:164:20)
at new CliConfig (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\config\config.js:24:24)
at Function.CliConfig.fromConfigPath (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\config\config.js:97:16)
at Function.CliConfig.fromProject (D:\Projects\angMat\my-project2\node_modules\angular-cli\models\config.js:45:44)
at Class.config (D:\Projects\angMat\my-project2\node_modules\angular-cli\addon\index.js:11:77)
at D:\Projects\angMat\my-project2\node_modules\angular-cli\ember-cli\lib\models\project.js:182:27
at Array.reduce (native)
at Project.getAddonsConfig (D:\Projects\angMat\my-project2\node_modules\angular-cli\ember-cli\lib\models\project.js:180:22)
at Project.config (D:\Projects\angMat\my-project2\node_modules\angular-cli\ember-cli\lib\models\project.js:162:17)
at D:\Projects\angMat\my-project2\node_modules\angular-cli\commands\serve.js:101:40
at process._tickCallback (internal/process/next_tick.js:103:7)

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

I would generate a new project and then do a diff compare of the files between the 2. ng serve works for me.

@nmongiya make sure that your global and local angular-cli versions are the same or use the npm commands with a locally installed version (you can setup a script to do builds in the local scope).
Make sure you're project is upto date with<EMAIL_ADDRESS><EMAIL_ADDRESS>zone<EMAIL_ADDRESS>a simple way to ensure your required packages are up to date without reinstalling everything is to remove the following directories: node_modules/zone.js, node_modules/rxjs, node_modules/@angular-cli, node_modules/angular-cli, node_modules/@ngtools. then re-issue npm install and it should install everything that's needed.  If you need to make sure your cli is globally updated, npm remove -g angular-cli then npm install<EMAIL_ADDRESS>will do the trick.

I think I know what this was. Seems related to https://github.com/angular/angular-cli/issues/3566, and the solution is likely the same: copy over angular-cli.json from a newly generated project.
I think something broke with the defaults. Will track resolution in that other issue though.


Some images are too large

The pictures are currently HUGE

custom html has already been written csfieldguide/utils/custom_converter_templates/image.html

cusom css has already been written as .img-container in csfieldguide/static/scss/website.scss but the images are still huge under certain circumnsances

Images scale to fill most of the width of the screen, this is not inherently a bad thing because it suits some wide but not tall images such as the substitution cipher ones here
However, on desktop screens, images (and videos) above a certain height practically fill the screen, such as the cartoons here
We need a conditional, so that only images above a certain height are scaled to a more appropriate max width
As far as I know, that can't be done in css
The image template csfieldguide/utils/custom_converter_templates/image.html is an html file but is interpreted differently, so as far as I could find it doesn't allow JS of any form

This was a topic we spent a lot of time on deciding how to solve for CS Unplugged, I can share our approaches when I return to work.

As far as I know, that can't be done in css

If I understand what you are asking for correctly, this can be done with CSS media queries.

Current solution is to scale down the source images

This task involves two steps:

[ ] Checking image size (resolution)
[ ] Checking image size (file size)

None of the images are in the MBs (like #512)
Excluding ones associated with individual interactives, I checked all the images and only the top 4 largest are above 200kb:

compression-comparison.png (540kb)
compressed-jpeg.png (ironically) (441kb)
fruit-bowl-photo-with-canny-edge-detection.png (215kb)
time-capsule.png (206kb)

Closing this issue as I believe it has been addressed. Reopen if further action is needed


Fix createPerspective/createLookAt

I don't have tests to prove accuracy, but I did use the updated functions in my repo here to render a spinning cube: https://github.com/jeffkdev/sokol-zig-examples
I used the GLM implementations as reference to the fixes. Previously these two methods did not give the same results as the identical calls to GLM (which the documentation says these are based on).
Also, I didn't update the comments, but should the comments stating [row][col] be [col][row] instead? GLM is column major, so it might make sense to be consistent?

Also, thanks for getting this repo started! Lots of good examples in here on how to use the field inspection features of Zig.

Previously these two methods did not give the same results as the identical calls to GLM (which the documentation says these are based on).

I also used the GLM implementations for reference, with OpenGL coordinate system and adopted it for my use case. What your projection matrix do is use the [-1;1] range for Z instead of [0;1]. As i want to reduce required arithmetic for shadow mapping or similar techniques, i will stay with [0;1].
This is a selectable in behaviour in GLM (look at perspectiveLH_ZO, perspectiveLH_NO, perspectiveRH_ZO and perspectiveRH_NO). I'm using the …LH_ZO-Version of the functions

Also, I didn't update the comments, but should the comments stating [row][col] be [col][row] instead? GLM is column major, so it might make sense to be consistent?

I'm using row-major matrices so i can write matrices down in the form i would write them on paper:
⎛ 1 0 0 0 ⎞
⎜ 0 1 0 0 ⎟
⎜ 0 0 1 0 ⎟
⎝ x y z 1 ⎠

will be written like
Mat4 {
    .fields = [4][4]f32{
        [4]f32{ 1, 0, 0, 0 },
        [4]f32{ 0, 1, 0, 0 },
        [4]f32{ 0, 0, 1, 0 },
        [4]f32{ x, y, z, 1 },
    },
}

But i have to check if i didn't mess up the "lookAt" function :grin:

Oh, sure enough- didn't realize the Z ranges existed. Alright, I'll close this out- sounds like you know you want for those. Looks like you are just getting started on the documentation, might be worth throwing in a little note in the function :)
And then just for my own understanding, does the math come out to be any different if these functions are thought of as "column major" with the layout of:
1 0 0 x
0 1 0 y
0 0 1 z
0 0 0 1

Came across this SO discussion: https://gamedev.stackexchange.com/questions/18901/can-someone-explain-the-reasons-for-the-implications-of-colum-vs-row-major-in/18929#18929
So it kind of seems like this library is effectively using column major notation under standard matrix convention, however if you mentally transpose the matrix then you could think of it as row major as well? I guess the important thing for developers to know is that the translation is in the 12-14 indices, rather than the row/col or col/row layout.


Patch 1

Fixes Issue

Changes proposed
I corrected some grammatical errors I readme

Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[X] My change requires changes to the documentation.
[X] I have updated the documentation accordingly.
[X] All new and existing tests passed.
[X] This PR does not contain plagiarized content.
[X] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

You don't need to close it, you can add/remove changes from your open PR. But if creating a new PR is easier for you, that is ok 👍


Add ABOUT.md documentation to describe the Java language.

I wrote a description for the Java language as specified on the language page here. The file basically contains:

OOPs it's Java
From web applications to games, the Java language is as diverse as it is portable meaning that it is     found nearly everywhere. With a very strong focus on object oriented programming, it is an ideal language in which to implement complex data structures and algorithms.

As this is really my first time contributing to exercism I tried to follow the contribution instructions as closely as possible, but I am not entirely sure if what I did was correct. Any feedback or suggestions would be greatly appreciated.

This looks great!
A few things -- it's going to show up on a page that already has a header, so we don't need the first line.
I really like the conversational tone. What do you think of adding some examples about where it's used.
This says: it is found nearly everywhere. Could we add some examples e.g. Games like Minecraft, and big corporations like banks and insurance companies--or something like that.

I have updated the file with some examples and also removed the header.
I think the examples (below) gave the best scope in terms of "popular" usage of Java without being too obscure.

Some notable examples include Minecraft, Android apps, and large parts of websites like Amazon.

I am trying to keep the description short and sweet, but do let me know if you want it fleshed out; I will happily write more.

This is great! Let's deploy it and see if other people have any further suggestions once it's in the wild. Thanks so much.


'xswm last' raises last window but doesn't focus if cursor hovered over LIBRARY in steam

Open terminal
Open steam
Hover cursor over LIBRARY such that the LIBRARY-popup-window opens
Switch to last window (the terminal) with an sxhkd-mapping which executes xswm last

--> Terminal is raised but doesn't have focus
This doesn't happen with alttab.

It does happen also with alttab but you have to switch between steam and terminal several times.


Revert "create slice with capacity, when capacity is known"

Reverts istio/istio#18504
This PR introduces a regression, and throws away results from other Pilot instances when there are multiple

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-istioio-k8s-tests_istio
737d99b6f80ba096ed7a8d5e66f391af1f0b82e2
link
/test integ-istioio-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Add ignored user for whom logging is disabled.

This PR adds the config option to add a user id for whom logging is disabled. This can for example be useful for an administrator type of user.

Thanks for your contribution, but I think ignoring certain log-calls isn't a good responsability of this package. There might be hundreds of reason why something shouldn't be logged. An mostly those reason are app specific. In your case your app should check the user before making a call to Activity::log().

I understand, but checking the user before every Activity::log() call may become cumbersome.
Would it be an option to have a reference to a handler in the config file that allows to write your own logic of why something shouldn't be logged? One could then write a custom handler that adheres to an interface (to be defined). If the handler returns true, the event is logged; if the handler returns false, the event is not logged.

I mind mind setting up handlers for this would be overkill. I think it's very easy create a function in an app like this:
function myLogger() {
   if (<your conditions>) {
      Activity::log('logging like there's no tomorrow');
   }
}
```php
so logging when some conditions are met doesn't become cumbersome. There are so many ways to go about it. You could have a function, or a class, or a service.

I'll just give it a try tomorrow to see how it would look like and update the PR to discuss further.

Ok!

I just updated the PR to a more generic implementation. The change is actually quite minimal, but it opens a lot of flexibility to enable or disable logging. I'll update the readme depending on the outcome of this discussion.

I'd like to merge this PR after these changes:

I think we could the change more generic by not using "ignore" but "before" in naming things
the default beforeHandler in the config should be null
do not use app()->make but use the contstructor for injecting
use php-cs-fixer to make sure you're using psr2 everywhere (this is an old package, so maybe there are some files that php-cs-fixer will change that you didn't modify, that's fine)

Thanks!

On it!

I just updated the PR to include your feedback. Let me know if there's anything that needs to be changed.

We're getting there :smile:
Could you update the readme with some instructions on how to use the latests changes? Then I'll merge, scrutinize it some more and tag it as a new version.

Great!
I added some instructions and an example to the readme.

Hi, I changed things a bit in the current master. The ignore-function is renamed to shouldLog. It should return true if you want thing to get logged. The function also received the text that is about to be logged and the id of the user that is going to be used (this could be a different user than the currently authenticated one.
I also went back to creating the handler out of the ioc container instead of using dep injection because that would be a breaking change (hadn't thought of that before).
Could you try the current master branch and let me know if this works for you?

Adding the text and the user that could be logged looks like a great addition. I'll try it out right away and let you know.

It looks like there's a small bug on this line: https://github.com/spatie/activitylog/blob/master/src/Spatie/Activitylog/ActivitylogSupervisor.php#L121:
$beforeHandler = $this->config('activitylog.beforeHandler');

should be
$beforeHandler = $this->config->get('activitylog.beforeHandler');

After I changed that locally everything seems to work fine. You want me to create a PR for this?

Whoops, sorry about that. It's fixed now. Going to test it out a little bit and tag it soon as a new version.
Thank you very much for your contribution!

No worries. Great doing business like this :)

I agree :smile:

This functionality is available in the newly tagged v2.2.0

Using it already :sunglasses:


Adding published_till

Have you thought about adding a published_till variant as well.
You could schedule a model to be visible only during those two dates and after consider it an "archive"?

Hi @rockfreak, thanks for using the package. I haven't thought about adding a published_till field, because I've never had a situation in which I would need this functionality. I use this package just for situations like publishing a post on a blog, where you want to have the ability to keep it unpublished until a certain date.
Adding the functionality that you mention is outside of the scope of this package. You can easily fork the repo and create your own version though :)
Regards!


Include Demo Project in the releases tab

Is your feature request related to a problem? Please describe.
In short: I'd like this repository to show newer users the demo so the FMOD code is a lot more tangible (instead of copy/pasting into unprepared/empty projects). It'd also be nice to be redirected/shown how to retrieve banks from an FMOD Studio project.
The long of it: I couldn't figure out how to get the bank files described in the lines of Basic Usage code that initialize the banks and I've been stuck for a day. I understood them as part of any project using FMOD but as an FMOD beginner I had no idea how to export/obtain banks from FMOD Studio, thinking it was a dependency like the .dlls. I just went off of what I had downloaded from the releases tab since I'm not normally a programmer who downloads unbuilt code.
Describe the solution you'd like
In the releases tab, add a separate download segment for the demo project with a description that goes over the fact that it's a Godot project with its own banks from an FMOD Studio project.
Describe alternatives you've considered
A description in the README that points out the demo and its usefulness, perhaps even a tutorial (a link or otherwise) on how to create/utilize banks in FMOD that can be used in this utility.
Additional context
Mostly personal frustration from being a new coder who's never stepped outside the usual GDScript boundaries.
I went as far as downloading VS2019, Python and Scons, cloning Godot to my hard drive, adding this module and building Godot only to realize I already had the .exe and some banks ready to go. The big "ohhhh" moment was seeing the FMOD integration demo pop up on the project list after I threw everything into one folder for the heck of it.
This is probably a fantastic tool for musicians like myself who are new to software dev (I'm already incredibly grateful to you and the contributors for giving me another option for audio) but this extra step in documentation would make it so much more approachable for people like myself.

Hi there ! Having demo project in release seems a good idea to me. We plan do it on fmod addon side when unit testing will be done. If @alexfonseka is ok, I will modify travis ci to include it in release, when it's done on our side, so both repos keeps same features.
You should be aware that we cannot make this demo project runnable without any action from yourself. We cannot include fmod librairies in it as fmod is not open source.

Ah yeah that is true, although obtaining the .dlls is already made nice and clear and seems like a fair-enough extra step to load the demo project.

Including the demo project with the release certainly sounds like a good idea, specially for newcomers. However, as @piiertho already mentioned, the project cannot be made runnable without some manual intervention. The FMOD library files should only be obtained directly from the official website (as per the terms of service).

If @alexfonseka is ok, I will modify travis ci to include it in release

@piiertho That's fine by me. Feel free to PR this later.

It'd also be nice to be redirected/shown how to retrieve banks from an FMOD Studio project.

@DeerTears Ideally we expect you to have a basic understanding of how FMOD Studio works before jumping into scripting. There's plenty of resources available on FMOD's docs pages that'll teach you the basic concepts. Here's one on building bank files.
Also, I understand the frustration. One of the goals of the project is to make FMOD Studio accessible to Godot users with a limited programming background. Working with the GDScript syntax and the various helper functions is a much pleasant experience for beginners than working with C++ 😅.
I would also like the demo project to be a bit more fledged out. So perhaps this is an area where you could chip in a contribution.


Silver State Pipeline

As a developer,
I want to implement a pipeline that transforms the datasets into silver state based on #14,
So that the dataset is ready for feature engineering consumption.
Acceptance Criteria:

[ ] Create silver state pipeline based on #14 findings
[ ] Execute pipeline and generate silver state data

Consider the following for random sampling when down-sampling the dataset:
train_df.head(n=5).with_columns(pl.Series(name='randn', values=np.random.uniform(low=0, high=1, size=train_df.head(n=5).select(pl.len()).collect().item()))).collect()


No s3-endpoint option to use Openstack Swift

Hi Team,
I tried to use yas3fs to mount Swift3 bucket locally but found no S3-endpoint option in yas3fs manual.
YAS3FS read me says this option is available. Please check and let me know if we can use S3 end-point other than AWS/GCP..
If yes, just let me know the steps.
FYI - I installed S3 middleware over Openstack Swift.
Thanks in advance.

Seems like you should be able to pass the endpoint as --s3-endpoint url. I have no way of testing this though, can you post an endpoint I can test against?

Looks like this has been solved. If not, please feel free to reopen.


Added Russian language support stage 3

Added Russian language support

The problem remains as I explained here https://github.com/migueldeicaza/gui.cs/pull/1829#issuecomment-1160180238.
Go to your fork https://github.com/ClaudiaCoord/gui.cs/tree/main and you will see that your main branch has 7 commits ahead.
It can't have commits ahead but only up to date or commits behind. So you must first pull from the main upstream, push force to your origin main branch. Then checkout your PR branch do a rebase onto to your local main branch, resolve any conflicts and push force your local PR branch to your origin PR branch.

Check if your local main branch is pointing to the https://github.com/migueldeicaza/gui.cs.git with this command:
git remote show upstream
or
git remote -v

And why these modified files are included in the branch to which one file is added.. This is beyond my understanding.

To explain to you what the differences are, see these two links:
https://github.com/migueldeicaza/gui.cs/compare/main...ClaudiaCoord:main
https://github.com/ClaudiaCoord/gui.cs/compare/main...migueldeicaza:main
Both are related with the main branch. The first link is the main branch in the migueldeicaza and the second is your fork main branch. Although the changes in the file are the same the commit aren't. In your fork you did many commit that has nothing to do with the migueldeicaza repo. It's normal not knowing all this at the beginning, I also faced these problems before. It's not a waste time but a good learning :-)


localeLocationPattern resulting in absolute path on karma

Hi, I'm having an issue when testing the my app while using the localeLocationPattern function.
I'm setting it in the module config as told to in the instructions:
tmhDynamicLocaleProvider
    .localeLocationPattern('./bower_components/angular-i18n/angular-locale_{{locale}}.js');
tmhDynamicLocaleProvider.defaultLocale('en');

Karma output:
17 05 2018 12:49:20.366:WARN [web-server]: 404: /bower_components/angular-i18n/angular-locale_en.js

As a local fix, I can set the real absolute path on the provider, but that will break when deployed:
tmhDynamicLocaleProvider
    .localeLocationPattern('/usr/$user/projects/myApp/public/bower_components/angular-i18n/angular-locale_{{locale}}.js');
tmhDynamicLocaleProvider.defaultLocale('en');

I didn't realise I should use 'base/bower_components...' when running karma. Still, I'd need different locale location patterns for prod/dev and test environments, but that's not an issue for the library itself.


Compiler detection can cause CMake warning

The new detection macro (FIPS_MSVC et al) seems to not work with some combinations - in my case, CMake 3.1.1 and MSVC 2013 Community Edition. The compiler define isn't set, and this warning is written to the console:
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.

The fix is to change this to the following, though I'm not sure how compatible this is with other OS'es and/or older CMake versions:
    # detect compiler
    if (${CMAKE_CXX_COMPILER_ID} STREQUAL Clang)
        set(FIPS_CLANG 1)
        message("C++ Compiler: Clang (FIPS_CLANG)")
    elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL GNU)
        set(FIPS_GCC 1)
        message("C++ Compiler: GCC (FIPS_GCC)")
    elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC)
        set(FIPS_MSVC 1)
        message("C++ Compiler: VStudio (FIPS_MSVC)")
    else()
        message("C++ Compiler: Unknown")
    endif()

I'll try your fix on my Windows setup with cmake 2.8.12, if it works I'll commit a fix.

Cmake is weird. This happens because MSVC itself is a pre-defined CMake variable. I changed the MSVC detection to simply check for this variable now. Tested with latest cmake on Windows and OSX, and I will also do a quick check on Linux Mint 17 (Debian based).

Also tested on Linux (but with a fairly ancient cmake version of 1.8.12)


Little adjustment for 1st timers in README

Please specify/modify for the first timers under the section Setup:
After accepting terms you will be taken back to the entered redirect URI along with a ?code= querystring value. Use the code in between '?code=' and '#'.

Thanks for the feedback! Will add this in.

Better late than never - fixed in 21bfbab.


Scrollbar issue when profile menu is opened

Most likely caused by the buggy NextUI dropdown component - try updating to react select

I have found and fixed the bug


Error when running ovos-cli-client

In a fresh install, when trying to run ovos-cli-client in ovos_cli I get the following error:
Traceback (most recent call last):
  File "/home/ovos/.venv/bin/ovos-cli-client", line 33, in <module>
      sys.exit(load_entry_point('ovos-cli-client==0.0.1', 'console_scripts', 'ovos-cli-client')())
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_cli_client/__main__.py", line 63, in main
    for f in os.listdir(log_dir):
             ^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/ovos/.local/state/mycroft'

This is solved by running mkdir -p /home/ovos/.local/state/mycroft in the ovos_cli container
Maybe it could be worth to create /home/ovos/.local/state/mycroft in https://github.com/OpenVoiceOS/ovos-docker/blob/dev/cli/Dockerfile ?

@atd I raised this issue here https://github.com/OpenVoiceOS/ovos-cli-client/issues/12 but then there is the potential "abandon" of this CLI for Neon MANA.
I guess for now we can create these folders within the image. :+1:

Let me know.

ovos@ovos_cli:~$ ls -la .local/state/mycroft/
total 8
drwxr-xr-x 2 ovos ovos 4096 May  1 22:13 .
drwxr-xr-x 3 ovos ovos 4096 May  1 22:13 ..

That was quick! I will let you know. Thank you @goldyfruit !


Add "maxlength" (and others?) to doc

I discovered that "maxlength" is supported by watching one of the videos... it would be good if it were documented on the readme, like the other templateOptions are.

maxlength isn't a bootstrap specific templateOption. The options are documented, but could probably be made a little more obvious.


710 - Add Delius Team Code to Premises

Add Delius Team code to the Premises Entity and add seed values for local+dev.
This will allow us to query the staff for that team from Delius to support fetching key workers from Delius.

 Changes to how Key Workers are handled


Adoptium Docker Java slimming scripts moved?

Question
I understand that the Java included in the docker images is "slimmed". This was certainly true for the AdoptOpenJDK versions.
The AdoptOpenJDK images were slimmed using scripts in the docker repositories, e.g. https://github.com/AdoptOpenJDK/openjdk-docker/blob/master/8/jdk/ubuntu/slim-java.sh
However, I cannot find any slimming scripts in any of the Adoptium repositories, particularly the containers repo were I would have expected it. The only reference I can find is in the dockerfile_functions.sh file, but I cannot find the source for the referenced java-slim.sh.
Can you point us to the steps taken to slim the JDK for the docker images?
Context
eclipse-temurin docker images.

We don't have support for that.  I think in the old openjdk-docker repo you'll likely find Docker images configs that are labelled slim


address aws dynamo db test taking too long to run in some Windows builds

Description of the bug
see title
To Reproduce
n/a
Additional context
Here's a run where it happened: https://dev.azure.com/spiderlightning/slight/_build/results?buildId=94&view=logs&j=8c465dcb-f145-5732-cd9e-733cf3dc7b9c&t=45966b96-b6f1-5d78-ac3a-7f0e40cc01d5

This can only be completed after #230 is closed.


[RNP Wrapper Component] Switch

Fixes #BLUI-4925 .

Changes proposed in this Pull Request:

Added Custom Switch component
Please check KitchenSink example PR IconSwitch

Screenshots / Screen Recording (if applicable)

To Test:

yarn start:showcase-android/ios

Any specific feedback you are looking for?
Please give your feedback on API and props

And for your disabled switches. Thanks for the screenshot update. One of them looks wrong. I think you should be able to notice it yourself. Would you still like me to point out to you which one it is?

Does it look correct in the dark theme?

I think you are

I closed the PR mistakenly and reopened it. Thanks

Does the switch work in RTL as well? I noticed some misalignment during other people's demo today. If it does not look nice and is hard to fix, please log an issue in our backlog to revisit.
The same goes for the dark theme. Does it look correct in the dark theme? If not, please log an issue.

I have fixed the RTL issue, now Switch is working fine in RTL mode as well.

I have two comments about your RTL implementation: the handle alignment and whether it should be on the right or the left.

Handle alignment in rtl is fixed.
I was trying to make the switch to work like you have mentioned above in RTL mode, but we need to render the switch as implemented now. It was confirmed by Joe in One on one discussion and RNP switch is also works the same. We have RNP Switch example in kitchen sink, please check.

Test case needs to update.

LTR in Dark and Light theme

RTL in Dark and Light theme

@huayunh @ektaghag-eaton I have fixed the dark mode colors issue, please check

Style looks really nice! But your Circle CI test is failing.

I was trying to make the switch to work like you have mentioned above in RTL mode, but we need to render the switch as implemented now. It was confirmed by Joe in One on one discussion and RNP switch is also works the same. We have RNP Switch example in kitchen sink, please check.

Logged an issue in #477

Thank you. I learned about react native animated today.

Changelog, JSDocs, Readme?
Can you also include the disabled state for the four switches in your showcase demo?

All requests. resolved.


Multiclass Classifcation Scenario

this could be useful for me, can you maybe implement an istance of the model that tries to predict multiple label for the same data?
What I mean is like: movie categories, which can be more than one right for the same data.


Loaded object detection

SIMICS supports loaded object detection for UEFI, kernels, and userland apps on supported OS-awareness operating systems (i.e. Clear Linux). Catching the object that is loaded when the harness is hit is required for:

Symbolic/concolic tracing (#5)
Auto-tokenization (we support with a flag, but automatic callbacks will be better)
String/memory compare interception for better cmplog, other library call interception and analysis.

We should enable loaded object detection with a callback to the module and/or fuzzer frontend when objects are loaded, with their type.

Enabled documentation of loaded object detection for platform BIOS in #42. Still need to document Kernel/userspace.


vuecli4

how can use vue-dapp with vuecli4?
thx

Hi @vivilau this is not really an issue sounds more like a question.
You just do npm install ethers vue-dapp
@chnejohnson perhaps we open the discussion tab so people can ask questions like this.

@vivilau Hey, if you have some errors when integrating vue-dapp with vuecli4, please open a new issue and post the error message. Good luck!
@re2005 Maybe we can just close this issue


[C#] Checkpoint and benchmark improvements + tests

Update FASTER.benchmark with more options for frequent checkpoints
Optimize checkpointing time by adding PreallocateLog option to LogSettings
Improve sync/async code paths in checkpoint state machine
Fixed bugs in checkpointing logic when fast-forwarding stale client sessions
Make checkpointing state machine sync-only, corralling async loop to CompleteCheckpointAsync
Added new state machine test suite to verify state machine behavior

Fix https://github.com/microsoft/FASTER/issues/295
Fix https://github.com/microsoft/FASTER/issues/296

This only partially fixes #295 , right?

There should no longer be any correctness issue. It's possible for a thread to wait on a future flush, but this PR ensures forward progress. A way to fix it better would be to re-check whether thread local state is in a cycle prior to the current global state, after reading the semaphore.

Latest check-in fixes the latency issue by preventing thread waits on future checkpoint cycles.


[HOLD Web-E#36008] Display avatars / avatar thumbnails correctly throughout App

Details

Fixed Issues
$ https://github.com/Expensify/App/issues/13555
Tests

Upload new avatar

Inspect the avatar showing in LHN, verify it's the avatar thumbnail URL

Delete avatar

Verify Onyx avatar & avatarThumbnail both point to the default avatar

Request money from someone

Verify the IOU Preview message shows your avatar thumbnail URL

Navigate to Profile page

Inspect the avatar showing in the top of the page, verify it's the avatar thumbnail URL

Open a chat with an account that has a custom avatar uploaded

Inspect the avatar (Using React dev tools -> Component -> Search for MultipleAvatars), verify it's the avatar thumbnail URL

NOT SURE IF THIS IS NEEDED SINCE APP ONLY GETS AVATAR (not thumbnail) OF CONTACTS (other personal details)

[ ] Verify that no errors appear in the JS console

Offline tests

QA Steps

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[ ] I linked the correct issue in the ### Fixed Issues section above
[ ] I wrote clear testing steps that cover the changes made in this PR

[ ] I added steps for local testing in the Tests section
[ ] I added steps for the expected offline behavior in the Offline steps section
[ ] I added steps for Staging and/or Production testing in the QA steps section
[ ] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[ ] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[ ] I included screenshots or videos for tests on all platforms
[ ] I ran the tests on all platforms & verified they passed on:

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

[ ] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[ ] I followed proper code patterns (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I followed the guidelines as stated in the Review Guidelines
[ ] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] I verified that if a function's arguments changed that all usages have also been updated correctly
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

Interesting note: On refresh, avatar gets replaced with the thumbnail url 🤔

Yikes forgot about this, closing


WIP - convert translators to lambdas

Currently WIP to monitor progress on issue #1533 .

If you run mvn clean verify javadoc:javadoc -DskipTests that will execute most of the qa checks locally.  For example the file https://github.com/apache/accumulo/pull/1676/files#diff-e09bb0e400bc6c61f3735dce25aebc78 is missing the apache licence and the RAT checker will catch that.

Closing, as this was superseded by #1802


[Retiarii] refactor of NAS doc

[x] promote Retiarii framework as default NAS framework on NNI
[x] remove documents of NNI NAS 1.0 (added reference to NNI NAS 1.0 of v2.2)
[x] make pure-python execution engine as default execution engine for Retiarii

need to update toctree in the docs/en_US/nas.rst, README.md, and docs/en_US/_templates/index.html.

some questions:

the API reference in the One-shot algorithms doc(like NAS/ENAS.rst) is NAS 1.0 API, please update them to the Retiarii API.
updated
There is a typo on the first line of the NAS/Benchmarks.rst, it should be "improve" instead of "imporve", would you mind fixing it in this pr?
updated
Shall we remove PPO Tuner and Network Morphism Tuner in the HPO part in this pr?
removed PPO, keep Network Morphism for now
I saw this comment, but I didn't find how to do that in the documentation. Did I miss some part?
replied in this issue
In multi-trial NAS, we can use various training platforms supported by NNI. Do we need to tell users how to use it in this documentation?
added

need to update toctree in the docs/en_US/nas.rst, README.md, and docs/en_US/_templates/index.html.

when updating README.md, should update docs/en_US/_templates/index.html too, which is the homepage of the readthedocs

the API reference in the One-shot algorithms doc(like NAS/ENAS.rst) is NAS 1.0 API, please update them to the Retiarii API.

not just in ENAS.rst, the API reference in DARTS.rst, SPOS.rst, Proxylessnas.rst are all outdated.

the API reference in the One-shot algorithms doc(like NAS/ENAS.rst) is NAS 1.0 API, please update them to the Retiarii API.

not just in ENAS.rst, the API reference in DARTS.rst, SPOS.rst, Proxylessnas.rst are all outdated.

updated, thanks for finding out this issue!


Improve experience when running linter

@invidian please check out this PR, that seems to fix (for me at least) all the errors I found to run the linter: https://github.com/kinvolk/lokomotive/pull/148
I think this makes sense in any case, though (the change to use origin/master is something I had locally and I'd push that or something along those lines) and running it in docker... not sure if it's worth, but no objections either :-)

@rata I changed it, so now it only adds option to run linter in Docker, which is at least some improvement. PTAL.


Replaced Underscore in example agent names.[Issue #702]

Fixed #702

Thanks @muddi900 . I triggered a test rerun on your branch with my credentials and got the following error on Test Python with Secrets:
>       process = await Machine(machine=server_loc).agent("hello_world").create_process()

It looks like there are examples in examples/tests. Could you change the test files? Thanks again for the contribution.

Hello again @muddi900 ! I'm heading out on vacation and will be back Sep 23. You'll be in good hands with Luke @LukeLalor . Feel free to reach out to him here (or better on Discord) if you have questions, which you might because we just updated the apiVersion string on all the resource files. This means your branch is going to be out of date. We're also trying to get more issues in a ready state for casual contributors, and he'd like to know how the process works for you. Thanks again! - Mary

Thanks @muddi900 . I triggered a test rerun on your branch with my credentials and got the following error on Test Python with Secrets:
>       process = await Machine(machine=server_loc).agent("hello_world").create_process()

It looks like there are examples in examples/tests. Could you change the test files? Thanks again for the contribution.

I seem to have trouble finding how to run tests in the docs. Running pytest directly gives me this error:

ImportError while loading conftest '/Users/mudassirchapra/src/eidolon/examples/tests/conftest.py'.
tests/conftest.py:6: in
import dotenv
E   ModuleNotFoundError: No module named 'dotenv'

@muddi900 @flynntsang dotenv is a library used to ingest .env files. The error you have indicates that the venv you are running with does not have the required dependencies.
We use poetry to manage venv / dependencies in the project. See their docs for more details on how to use the tool, but as a tl:dr you need to run
poetry install
poetry run pytest

from the python project's directory corresponding with the failing tests. (ie, sdk, examples, etc)


Weird unexplained bump in consumer dependency count

https://github.com/flutter/flutter/pull/33533 increased the consumer dependency count somehow.
cc @jonahwilliams

Its a bug in how pinned dependencies count in the benchmark

Ah, I wondered if that might be the case. Easy to fix, or...?

Easy to fix, pending in https://github.com/flutter/flutter/pull/33786/files since I hit an issue updating packages anyway


Make Batch.from_data_list a @classmethod instead of @staticmethod

🚀 Feature
As in the title.
Motivation
I would like to subclass Batch, in order to add some custom properties and metadata but since from_data_list (the main way of creating Batches) is implemented via @staticmethod, the following does not work:
class GraphBatch(tg.data.Batch):
    def m_nn(self):
        return torch.cat([self.m_12, self.m_21], dim=1)

...

data_loader = DataLoader(..., collate_fn=GraphBatch.from_data_list)

because GraphBatch.from_data_list is actually the same as the original tg.data.Batch. If Batch used the @classmethod annotation, it would be automatically updated to the subclass that it is actually being called from.

You are right. It makes more sense to implement that as a @classmethod. I already changed it in master.


update pip

Update pip on provision, currently from 6.01 to 9.0.1, but IMHO we can trust always the latest version.

Looks good to me - thanks @chimeno!


Refresh files

Hey @Mahmoudz,
I am running laradock with caddy to use https. However, I have a problem, that when I update files on the server (the actual files not inside docker), the files within the docker directory are not updated.
This means even if I just change a css file I need to docker-compose down, docker-compose up -d, composer install and run chmod -R 777 storage && chmod -R 777 bootstrap/cache.
Is there no better way of doing this?
I am deploying using capistrano, this means a new file is created releases/12345435 and is symlinked to current. Does this pose a problem? After re-running the above mentioned commands it is picked up fine from current.

@lukasoppermann
Try docker-compose up --force-recreate -d

@philtrep doesn't this doe the same? As in remove everything and recreate it? I would like to just update the files.

@lukasoppermann by reading your question again I think I get what you are trying to do. The problems lies in the symlink. When VOLUME loads, it copies the path the symlink points to so if you change the link location, VOLUME still points to the initial directory!
I think the easiest solution would be to create a volume for all the releases:
# docker-compose.overwrite.yml
[...]
volumes_source:
        image: tianon/true
        volumes:
            - <host path to releases>/releases/:/var/www/releases

When you've ran the container you'll want to remove the Laravel directory:
rm -rf /var/www/laravel/

Then create a symlink from within the workspace:
ln -s /var/www/releases/12345435 /var/www/laravel

When you have a new release just do:
rm /var/www/laravel
ln -s /var/www/releases/<newrelease> /var/www/laravel

That should do it!

@philtrep Thank you for your advise. I will try it out as soon as I get a chance. This sounds pretty sensible. Since capistrano automatically symlinks the latest release to current I can probably just make docker look into the current folder instead of /var/www/laravel and as long as it is all on a volume it should work as well.
However are are you sure the volume will refetch a new release from <host path to releases>/releases/:/var/www/releases? I mean, if I add a release to <host path to releases>/releases/ will it be reflected on /var/www/releases?
And would I have to run this on the docker volumen?
# on volume or on the file system?
rm /var/www/laravel
ln -s /var/www/releases/<newrelease> /var/www/laravel

@lukasopperman
Yes, VOLUME mounts a directory in the host file system, you should see the current folder being modified from within the container after the mount has taken place.
From the workspace container. However, if you are always going to be pointing to the same folder you shouldn't have to run the last command. That being said I haven't tested it out so I could be wrong.

@lukasoppermann Did my fix resolve your issue?

If the problem still exist feel free to open this issue again :)

Hey @Mahmoudz thanks. I got it solved now, thanks to @philtrep help. However for anyone trying the same, make sure to manually clean the opcache if it is activated.
Capistrano creates a symlink and opcache does not update the cache if changes happen through a symlink, so you need to clear the cache in an execute command. I recommend using https://github.com/gordalina/cachetool for this.
You also probably need to create a new symlink as capistrano creates an absolute symlink which points to the file on the server, NOT in the volume. However you can create a "relative" symlink in another execute command.
execute "cd #{fetch(:deploy_to)} && ln -sfn ./releases/#{fetch(:release_timestamp)} ./latest"

Open the composer.json file and Find this package under require : "spatie/laravel-responsecache".If you see it, remove it. and update composer using composer update command.
php artisan composer update
php artisan config:cache


IB bug fix

Coverage decreased (-0.01%) to 52.627% when pulling 17967f8958490913d5994d9ed6be7c0b12fa94c0 on yuye/drivers-debug into 83b911465ae86e95998678eff5d3f92b193c896c on master.