Saved audio model incorrectly triggers ' Error: Unsupported URL scheme in metadata URL'

The following occurs with localhost and also at https://ecraft2learn.github.io/ai/teachablemachine/sound/
./my_model/metadata.json is https:// but isn't recognized as such
(index):57 Uncaught (in promise) Error: Unsupported URL scheme in metadata URL: ./my_model/metadata.json. Supported schemes are: http://, https://, and (node.js-only) file://
at speech-commands.min.js:17
at speech-commands.min.js:17
at Object.next (speech-commands.min.js:17)
at speech-commands.min.js:17
at new Promise ()
at i (speech-commands.min.js:17)
at speech-commands.min.js:17
at e. (speech-commands.min.js:17)
at speech-commands.min.js:17
at Object.next (speech-commands.min.js:17)

Tensorflow.js requires that you specify the protocol when loading a model, so you need to expand that path to the full path of where you are hosting the model file, including http / https
I can see we do introduce this issue in the snippet, will create a ticket for updating the snippet to a path that illustrates it.

Thanks. Just curious why this is required only for the audio example. The same './my_model/metadata.json' works fine for the image and posenet snippets.

Adding in @caisq.
I think this is because of this line in speech commands: throw new Error
We changed how we were handling image and pose metadata checks to account for the case of someone loading a model locally like './my_model/metadata'.

Any update on this one @HalfdanJ @irealva @caisq ?
I've changed my local model url that starts with file protocol. For e.g., file://<path to file>/tm-my-audio-model/.
Now it throws Unhandled Promise Rejection: ReferenceError: Can't find variable: require error.


Added Book Html Dasar Untuk Pemula Lengkap

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[no] Not a duplicate
[yes] Included author(s) if appropriate
[yes] Lists are in alphabetical order
[yes] Needed indications added (PDF, access notes, under construction)

Javascript Guide.pdf
Mastering Kode HTML - Full.pdf

see comments on #5155


[FLINK-35510][statebackend] Implement basic incremental checkpoint fo…

…r ForStStateBackend
What is the purpose of the change
Use low DB api implement a basic incremental checkpoint for ForStStatebackend, follow steps:

db.disableFileDeletions()
db.getLiveFiles(true)
db.entableFileDeletes(false)

Brief change log

Introduce ForStStateDataTransfer
Introduce ForStIncrementalSnapshotStrategy

Verifying this change
This change added tests and can be verified as follows:

Added test ForStStateDataTransferTest
Added test ForStIncrementalSnapshotStrategyTest

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

CI green, merging...


Init End To End test using venom

Signed-off-by: Olblak<EMAIL_ADDRESS>Add End To End tests

The goal of those tests is to better test different scenarios and to be sure that updatecli pipeline configurations is still working
Test
To test this pull request, you can run the following commands from a Linux machine:
# export VENOM_VAR_binpath=<path to you updatecli binary directory>
make build
make test-e2e

Additional Information
Tradeoff
As a first iteration, I am testing that a pipeline configuration doesn't contain ERROR or WARNING.
Considering that I would like to land this pr as soon as possible so we can add more test cases later, I am not updating obsolete examples (yet).
Potential improvement
Move obsolete examples in the e2e  directory

@dduportal End to end tests are green \o/
So I propose to merge this pull request and then migrate examples from directory "examples" to e2e in a second pullrequest.

Haven't tested extensively yet, but the checks are failing because of the venom's manifest for info


Updating reference points (anchor boxes)

I don't know why we need to update our reference once again after the transformer output is given.
or is this don't affect to the last layer's reference point (reference[-1])?
DABDETR.py
        else:
            reference_before_sigmoid = inverse_sigmoid(reference)
            outputs_coords = []
            for lvl in range(hs.shape[0]):
                tmp = self.bbox_embed[lvl](hs[lvl])
                tmp[..., :self.query_dim] += reference_before_sigmoid[lvl]
                outputs_coord = tmp.sigmoid()
                outputs_coords.append(outputs_coord)
            outputs_coord = torch.stack(outputs_coords)

Thanks in advance :)

i also want to know.


REST API for Language Identification and support for links to audio files

Is it possible to perform Language Identification without using SDK but directly through HTTP for batch mode and WS API for continuous mode? If yes a link to documentation or example is welcome.
My use case would that I hit HTTP Endpoint to which I send send link to the audio file and get detected languages in the response. STT service has such capability.

@nosalan Checked with the team and REST API for LID is not publicly available yet, however that will be released in the near future releases.


Added SharePoint Online check

Added check for SharePoint Online to use the 'Web Login' in case MFA is on, from the PnP Github:
`Or if you have Multi Factor Authentication enabled or if you are using a federated identity provider like AD FS, instead use:
Connect-PnPOnline –Url https://yoursite.sharepoint.com –UseWebLogin`

Looks good nice work Ashley


add test-mk target for manual verification against minikube, a deploy…

… without webhooks is ncessary. Fix up flaky assertion that failed in mk

minikube start
make deploy
make test-mk


BDD: Configure CI to run BDD tests

Configure CI to run BDD process (pull feature files, install Grakn, and execute the tests)

See https://github.com/Humans-of-Julia/GraknClient.jl/issues/30#issuecomment-779805189
Here's what I think would work:

Create a GitHub action to set up Grakn server
Create a GitHub action (or reuse an existing if available) to clone the BDD repo with feature files
Write a test script that execute the feature files using ExecutableSpecifications.jl

As a developer, the local environment should have Grakn server and features available already. Then, doing ] test from the REPL should just include BDD tests.

Perhaps we can use this here: https://github.com/marketplace/actions/github-action-for-bash

I created a GitHub Action here: https://github.com/Humans-of-Julia/GraknRunner
Not sure yet, if we can do it all in one, but would be ideal I think.
It can be easily included in a workflow file like:
name: Grakn BDD runner
on: [push]

jobs:
  hello_world_job:
    runs-on: ubuntu-latest
    name: A job to pull feature files, install Grakn, and execute the tests
    steps:
    - uses: actions/checkout@v2
    - id: foo
      uses<EMAIL_ADDRESS>      with:
        who-to-greet: 'Mark'
    - run: echo random-number ${{ steps.foo.outputs.random-number }}
      shell: bash

See #30 (comment)

As a developer, the local environment should have Grakn server and features available already. Then, doing ] test from the REPL should just include BDD tests.

I'm curious here, would that mean the test has to run locally? Wouldn't it be cool to let it all run in the virtual machine in the GitHub Action runner?


Hammerdb: add redis complete state for VM

Description
add redis complete state for VM
Fixes
Add completed state for the following file:
db_creation_postgres_vm.yml
db_creation_mariadb_vm.yml
db_creation_mssql_vm.yml

Can one of the admins verify this patch?

Hi,
I dont know why it was added to my PR (maybe because using existing branch
name)
My PR should contains only:
https://github.com/cloud-bulldozer/benchmark-operator/pull/629/commits/9109e61b30bb5241ae831ffdb4c52c790c759f00
Best regards,
Eli Battat.
On Thu, Aug 5, 2021 at 12:41 PM Raúl Sevilla @.***>
wrote:

@.**** commented on this pull request.
I don't understand why are we uploading so many examples of the
hammerdb benchmark. We should provide some samples of how to using the
benchmark, however it's on the final user to code and and warehouse the
CRs, this is not the right place to store all test scenarios.
In docs/hammerdb.md
https://github.com/cloud-bulldozer/benchmark-operator/pull/629#discussion_r683295644
:

An example CR might look like this

apiVersion: ripsaw.cloudbulldozer.io/v1alpha1

kind: Benchmark

metadata:

-  name: hammerdb

-  namespace: benchmark-operator

+  name: hammerdb-benchmark

+  namespace: my-ripsaw

⬇ Suggested change

-  namespace: my-ripsaw

+  namespace: benchmark-operator

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/cloud-bulldozer/benchmark-operator/pull/629#pullrequestreview-723146473>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARTWFG53KFV3FAHJURTMTTLT3JMD7ANCNFSM5BTA2DIA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.

We create a new one only with redis changes


Increase gRPC timeout for AddTrajectory

A common use case is that a gRPC server and a gRPC--ROS bridge node
are started at the same time.
Setting the timeout of the stub higher ensures that these can connect
even when the gRPC server starts up slowly.

Good point, I reduced the number of retries to 5 so it only tries for ~30 seconds.

@wally-the-cartographer merge

Merge requested by authorized user gaschler. Merge queue now has a length of 1.


[question] $200 using a cloud database (pgsql)

How to switch to a custom database
What should I do to use a locally built database, such as PostgreSQL?
Thank you in advance for your answers and suggestions.

@louis030195 Yes, I use pgSQL as my cloud database.

/bounty 200
definition of done:

can use screenpipe with cloud database like pgsql
no issue of latency etc
compatible somehow with existing sqlite stuff
should add a column in the database that identify the computer used (just in case multiple users using the same cloud database)

/attempt #793 Doing some research before building this out. I'll report back

thanks Ezra!
On Tue, Dec 3, 2024 at 12:12 PM Ezra Ellette @.***>
wrote:

/attempt #793 https://github.com/mediar-ai/screenpipe/issues/793 Doing
some research before building this out. I'll report back
Algora profile https://console.algora.io/@/EzraEllette Completed
bounties Tech Active attempts Options
@EzraEllette https://github.com/EzraEllette 13 mediar-ai bounties
Rust, TypeScript,
JavaScript & more
Cancel attempt
https://console.algora.io/api/bounties/cm433e9tv000clc03xk76hepm/cancel-attempt
—
Reply to this email directly, view it on GitHub
https://github.com/mediar-ai/screenpipe/issues/793#issuecomment-2515456944,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AY62CDHKWTQMUCS5FXTX4LT2DYGCJAVCNFSM6AAAAABSU565W6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJVGQ2TMOJUGQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

/attempt #793 Maybe I can give it a shot

Algora profile
Completed bounties
Tech
Active attempts
Options

@ToSeven
1 mediar-ai bounty
Rust, Shell, C

Cancel attempt

I'm ooo today, go for it


Track and Record GE buy/sell history

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
GE buy/sell history tracking. This would be an amazing feature to have for GE flippers, even if it was just a simple list of buy/sell orders and histories.
An expanded scope would be providing insights on that information such as margins, profits, losses, common items bought/sold...etc
Describe alternatives you've considered
OSBuddy keeps track of this information and displays a list of  historical purchases and sales on their site under your account.

It was meant to solve a somewhat separate issue, but was marked as duplicate. May work on extending to full list in future.


Color font in splash layout

Hello! I am using a splash layout for my home-page stored with GitHub. I know how to change the font color, but I cannot find where to change the color of the text that appears in front of the "splash" background. For me, it always appears white.
For example, in this splash page: https://mmistakes.github.io/minimal-mistakes/, how would it be to change the "Minimal Mistakes, A flexible layout..." text to another color and not only white?
Thanks!

Via CSS. Use your browser's web developer tools to inspect an element and determine the class selector(s) you need to modify.

I did not know about this utility, I am quite a noob with html. It worked fine :) Thank you!


Opening a non existing project crashes Monterey

Intention

I'm submitting a bug report
Environment

Project name
contact-manager-materialize
Project path:
C:\work\tests\Monterey-testing-10062016\contact-manager-materialize
NodeJS:
6.5.0
NPM:
3.10.8
Electron:
1.4.3
Chrome:
53.0.2785.113
Operating system:
win32
Project is using NPM
Package.json path:
C:\work\tests\Monterey-testing-10062016\contact-manager-materialize\package.json
Project is using Aurelia-CLI
aurelia.json path:
C:\work\tests\Monterey-testing-10062016\contact-manager-materialize\aurelia_project\aurelia.json
Monterey version:  0.4.5 (draft)

Description
Current behavior:

Started Monterey
Realized that I want to fully recreate the few hours old experience, so I closed Monterey and deleted the folder where the project (contact-manager-materialize) lives.
Started monterey again and saw a generic notice that a file cannot be found - should that be ignored or not. As this was the only running app on my machine, I am pretty sure that it was Monterey asking that question. Note that Monterey window was not visible (yet) and there was no information about what (folder I presume) was missing.

Note: I wrote this from memory so I could be confused now (I was trying to verify the new 0.4.5. draft without being sure what to test it against, so this specific issue caught me by surprise)

This could be what happened: At startup Monterey checks whether all project folders still exists, and will remove them from Monterey if this is not the case.


Improve Gradle dependency parsing to catch transitive dependencies

Previously, transitive dependencies in the Gradle dependencies output like this:
+--- org.postgresql:postgresql -> 42.3.6

would not be caught, amongst other patterns.
Improve dependency parsing by using a regular expression, which also improves readability/maintainability over the previous string indexing based parsing.

Included in 4.0.36

Hi @candrews, could you help improve the regex to handle the new rich version shown in 271?
https://github.com/CycloneDX/cdxgen/issues/271


Depthwise conv definition

https://github.com/lucidrains/vit-pytorch/blob/60b5687a7997f41c855ebc78ff77040ac5da5b61/vit_pytorch/pit.py#L92
The first layer in the depthwise conv should double the number of channels, as per fig 4 of the PiT paper; and it also makes sense to me to immediately double the channels; if not the first strided-but-equal-channel-conv will form an information bottleneck relative to the high res activation map upstream.
Not sure what that means for the groups argument. I suppose it cant go higher than the number of input channels so it stays the same; each input plane is treated independently, but produces two independent output planes then?

@EelcoHoogendoorn hmm, i do increase the channels at https://github.com/lucidrains/vit-pytorch/blob/60b5687a7997f41c855ebc78ff77040ac5da5b61/vit_pytorch/pit.py#L103

Yeah not a depthwise-conv expert by any means; infact this was the first time i dug into the construct cause I got annoyed with the PiT paper not really explaining it imo; but if there are any differences left with the intended meaning in the PiT paper, there isnt any that I can spot.


Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found

Description
npm run start Getting an error in xcode
/Users/evanzhou/Library/Developer/Xcode/DerivedData/simple_chat_demo1-ffrpssczmcoogwfnwjgoqmikcveo/Build/Intermediates.noindex/simple_chat_demo1.build/Debug-iphonesimulator/simple_chat_demo1.build/DerivedSources/simple_chat_demo1_vers.c module map file '/Users/evanzhou/Library/Developer/Xcode/DerivedData/simple_chat_demo1-ffrpssczmcoogwfnwjgoqmikcveo/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found
Version
1.0.11
Output of npx react-native info
System:
OS: macOS 13.0
CPU: (10) arm64 Apple M1 Pro
Memory: 258.64 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.4.0 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /Users/evanzhou/.rvm/gems/ruby-3.0.0/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 11.0.2 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.2 => 0.71.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

yarn
cd ios && pod install && cd ..
npm run start

Snack, code example, screenshot, or link to a repository
https://github.com/vok123/simple_chat_demo
Platform

[ ] All
[ ] Android
[X] iOS

SimulatorOrDevice

[ ] All
[X] Simulator
[ ] Device

iOSVersion

[ ] All
[ ] iOS Earlier than 8
[ ] iOS 8
[ ] iOS 9
[ ] iOS 10
[ ] iOS 11
[ ] iOS 12
[ ] iOS 13
[X] iOS 14
[ ] iOS 15
[ ] iOS 16 or above
[ ] Android Earlier than API Level 23
[ ] Android API Level 23
[ ] Android API Level 24
[ ] Android API Level 25
[ ] Android API Level 26
[ ] Android API Level 27
[ ] Android API Level 28
[ ] Android API Level 29
[ ] Android API Level 30
[ ] Android API Level 31
[ ] Android API Level 32
[ ] Android API Level 33 or above

Is it inappropriate to use yarn for dependency installation and npm for running? You are advised to use yarn.


Using Destructuring failure

const baseState = {
  foo: 'aaaa',
  bar: 'bbbb',
}
const updateData = {
  bar: 'cccc',
}
const newState = produce(baseState, draft => {
  draft = { ...draft, ...updateData }
})
console.log(newState)
// newState {foo: 'aaaa', ar: 'bbbb'}

the newState doesn't change

The problem is that you are reassigning draft, which doesn't modify the
original draft but just creates a local variable which is further not used
anywhere. You can use Object.assign(draft, updateData) though
Op za 10 feb. 2018 09:46 schreef sam<EMAIL_ADDRESS>
const baseState = {
foo: 'aaaa',
bar: 'bbbb',
}const updateData = {
bar: 'cccc',
}const newState = produce(baseState, draft => {
draft = { ...draft, ...updateData }
})console.log(newState)// newState {foo: 'aaaa', ar: 'bbbb'}
the newState doesn't change
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mweststrate/immer/issues/94, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhG0uV90stI_lcDUQ6Ovb8JczWgZ5ks5tTVdogaJpZM4SA27c
.

Thx for ur reply
I just a little bit lazy, normally we should update like below:
const baseState = {
  foo: 'aaaa',
  bar: 'bbbb',
}
const updateData = {
  bar: 'cccc',
}
const newState = produce(baseState, draft => {
  draft.bar = updateData.bar //  <---------------- mark
})

The line I marked update a single property. What if I got many properties to be updated
It must be assigned one by one

@yuanalexwu you can use Object.assign as suggested by @mweststrate
Object.assign(draft, updateData) will mutate draft by copying the enumerable properties from updateData.
Checkout this example:
const base = {a: 1, b: 2, c: 3, d: 4};
const obj = new Proxy(base, {
	set: function(obj, prop, value) {
		console.log(`current property: ${prop}`);
		obj[prop] = value;
		return true;
    }
})
const update = {a: 11, b: 22, c: 33, d: 44};
Object.assign(obj, update);

The following will be logged into console:
current property: a
current property: b
current property: c
current property: d

Also, please note thatdraft is a proxy on the baseState. Immer definesProxy  traps that will be used to build the new state based on the mutation you make on thedraft

Hey guys,
Sorry to pop on this issue but I'm not sure I'm facing a bug or I just don't understand how Immer works.
It seems like once we use Object.assign like suggested in #issuecomment-364646429 I got a read only error. You can find an example on the following codesandbox https://codesandbox.io/s/mzx4w93wx9 .
Does anyone has an idea if I'm doing something wrong there or if it's a bug?
Thanks!

Please avoid commenting on closed issues, rather open new one referring to
this
Op ma 28 mei 2018 18:49 schreef Adrien Denat<EMAIL_ADDRESS>
Hey guys,
Sorry to pop on this issue but I'm not sure I'm facing a bug or I just
don't understand how Immer works.
It seems like once we use Object.assign like suggested in
#issuecomment-364646429 I got a read only error. You can find an example
on the following codesandbox https://codesandbox.io/s/mzx4w93wx9 .
Does anyone has an idea if I'm doing something wrong there or if it's a
bug?
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mweststrate/immer/issues/94#issuecomment-392569221,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhF09FhCjUr15L69pv3qqgU5xMDyfks5t3CqOgaJpZM4SA27c
.


feat: merge proto column enhancement alpha [Ignore PR]

Please ignore this PR. Will close this.

This was a test PR. Hence closing this as no longer needed.


voms: 2021-05-04 -> 2022-06-14 & xrootd: 5.4.2 -> 5.4.3

Description of changes
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

cc @ShamrockLee

I'll take a look.
(Due to xrootd packaging issue #169677, xrootd might not work, and we would not be able to test its functionality. It would be great if anyone can help solve the issue.)

I added some fixes in #180527. Please take a look.


Is it correct to call bash /dev/{tcp,udp}/ being part of the /dev/ subsytem

Hi, thank you for this document - it's joyful reading through it.
I wonder if this is the right question to ask:

How to testing remote connection to port with dev subsystem?

Since I think it's not exactly part of "the" dev-filesystem, but more a feature built into some shell interpreters such as bash.
Maybe it's a good idea to rephrase the question a bit, for example into something like:

"How can you do a TCP or UDP connection without netcat?"

Hi!
Interesting suggestion, thanks. Do you know other methods of testing connections without using external tools like ping or netcat? Only using the mechanisms provided with GNU/Linux?

Thanks for great suggestions and a help me better understand this mechanism.
I completely rewrite this question, like this:
Developer reports a problem with connectivity to the remote service. Use /dev for troubleshooting.


Set WorkingDirectory so the dotnet tools install works on non-windows

There are two changes here:

Set the working directory. - dotnet tools install, on non-windows platforms, will fail if detects any other project in the working directory. Set the working directory to $(Build.SourcesDirectory)/eng/common which doesn't, and shouldn't, contain proj files.
Set nugetMultiFeedWarnLevel: 'none' so the Secure Supply Chain Analysys will pass when running in azure-sdk-for-net. While I believe this only matters for azure-sdk-for-net, it isn't going to hurt to have set for everything. I could just set the variable on the pipeline but this makes it more discoverable and obvious. Unfortunately, there's no actual way to disable this completely as the checks do not matter in the least to this pipeline.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


[make][pre-commit]Check CRD schema to avoid update issues

The new crd-schema-check make target compares the CRD schema of the patch with the schema on the tip of main and report errors on non backward compatible changes.
This make target now also run in pre-commit both locally and in CI.
This make target uses https://github.com/openshift/crd-schema-checker to do the actual checking.
Related: OSPRH-11833

this operator is no longer used. I think we can close it


ElasticSearch + S3 image

I would like to configure fluentd with ES and S3 outputplugins so that ES can be used for recent log search and S3 for longer term storage. Is is possible to build an image like that as part of this project?

Yes. Installing your wanted plugin and configure to use it in the configuration.
You can see the example in the repository like https://github.com/fluent/fluentd-kubernetes-daemonset/tree/master/docker-image/v1.4/debian-elasticsearch

@repeatedly not sure I understand completely. Are you suggesting I create a separate image build for it? I know I can, but was looking for a supported image for this common use case. In that case, will this fluent repo maintain fluentd builds each with a single output plugin?

Yes. Currently, we stop to add new images. See this issue https://github.com/fluent/fluentd-kubernetes-daemonset/issues/293

Thanks, I will do the same in that case.


[eslint-parser]: Cannot find module 'lodash/*'

Question description
I have noticed that when using ESLint and vue-vine, I encounter many error problems. After checking PlayGround, I discovered the ESLint Parser package. However, after installation, my ESLint VSCode plugin will not work due to the inability to find the module in this package.
我注意到在使用接入 eslint 并使用 vue-vine 的时候会遇到很多错误的问题，在查看 playground 以后我发现了 eslint-parser 这个包，但是安装以后我的 eslint vscode 插件会因为这个包无法找到模块而导致整个 eslint 的插件无法工作

After checking the packaging configuration, I found that the sub methods under lodash were not properly packaged. I think this is incorrect for an independent plugin because the plugin context of eslint is not always consistent with the main project
在查看打包配置以后我发现 lodash 下面的子方法没有被正确打包进去，我觉得这对一个独立的插件来讲是不正确的，因为 eslint 的插件上下文并不总是和主项目一致

If my idea is correct and the problem does exist, then I would be happy to propose a PR to fix it. :)
如果我的想法是对的，并且这个问题确实存在，那么我很乐意提出一个 pr 来修复这个问题. :)
How to reproduce
example:
https://github.com/libondev/test-vue-vine/blob/main/eslint.config.js

I have observed that a lot of packages have been externalized, and I am not sure if there may be any issues in other scenarios, but after making this modification, it can work normally. :)
我观察到有非常多的包都被 external 了，我不确定在其他场景下会不会有问题, 但是我做出这项修改以后它就能正常工作了. :)
https://github.com/libondev/vue-vine/commit/907cec61dca0afa45d42ed69135773edc1935dcc

Thanks for your research about this problem! It seems like that I indeed do something wrong with bundling lodash I'll processing it ASAP❤！


New version: Project64.Project64.Dev (version <IP_ADDRESS>30)

Checklist for Pull Requests

[Y] Have you signed the Contributor License Agreement?
[N] Is there a linked Issue?

Manifests

[Y] Have you checked that there aren't other open pull requests for the same manifest update/change?
[Y] This PR only modifies one (1) manifest
[Y] Have you validated your manifest locally with winget validate --manifest <path>?
[Y] Have you tested your manifest locally with winget install --manifest <path>?
[Y] Does your manifest conform to the 1.7 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Installer URL is correct as per previous release standard from the official website.
The URL yields the appropriate installer when used with tools such as wget, winget, etc.

Version verification

Hello @seangibbz,
The package manager bot determined that the ManifestVersion key does not match any version currently approved for release. Please verify the manifest file is compliant with the package manager 1.5 manifest specification or 1.6 manifest specification.
For details on the specific error, see the details link below in the build pipeline.
Template: msftbot/validationError/manifest/version/error

Manifest was configured to match the most updated available version in the repository (i.e. 1.7.0)

Hi @seangibbz,
It appears that support for 1.7 schema is not yet enabled:

https://github.com/microsoft/winget-pkgs/issues/165726


can this pod be use without writhing codes

can this pod be use without writhing codes. Can i use the textfield from xcode?

Yes you can. You have a plethora of options


Tensor Parallelism not working for API server

Hi
I am trying to run the API server with tensor parallelism (across either 2 or 4 GPUs). I am trying to run it with the following command:
python -m slora.server.api_server --max_total_token_num 10000 --model huggyllama/llama-7b --tokenizer_mode auto --swap --scheduler vtc_fair --no-lora --cost-func linear --max_req_input_len 4095 --max_req_total_len 4096 --tp 2 --predict-range 0 --lora tloen/alpaca-lora-7b-0 --lora tloen/alpaca-lora-7b-1 --lora tloen/alpaca-lora-7b-2 --fair-weights 1

However, the server fails to start with the following error message:
========= Remote Traceback (2) =========
Traceback (most recent call last):
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/rpyc/core/protocol.py", line 369, in _dispatch_request
    res = self._HANDLERS[handler](self, *args)
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/rpyc/core/protocol.py", line 863, in _handle_call
    return obj(*args, **dict(kwargs))
  File "<path>/slora/server/router/model_infer/model_rpc.py", line 56, in exposed_init_model
    model_cfg = get_model_config(weight_dir, dummy=input_params.dummy)
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/rpyc/core/netref.py", line 152, in __getattr__
    return syncreq(self, consts.HANDLE_GETATTR, name)
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/rpyc/core/netref.py", line 63, in syncreq
    return conn.sync_request(handler, proxy, *args)
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/rpyc/core/protocol.py", line 744, in sync_request
    return _async_res.value
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/rpyc/core/async_.py", line 111, in value
    raise self._obj
_get_exception_class.<locals>.Derived: cannot access 'dummy'

========= Remote Traceback (1) =========
Traceback (most recent call last):
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/rpyc/core/protocol.py", line 369, in _dispatch_request
    res = self._HANDLERS[handler](self, *args)
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/rpyc/core/protocol.py", line 879, in _handle_getattr
    return self._access_attr(obj, name, (), "_rpyc_getattr", "allow_getattr", getattr)
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/rpyc/core/protocol.py", line 806, in _access_attr
    name = self._check_attr(obj, name, param)
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/rpyc/core/protocol.py", line 796, in _check_attr
    raise AttributeError(f"cannot access {name!r}")
AttributeError: cannot access 'dummy'

 detoken init state: init ok
Exception ignored in: <function Socket.__del__ at 0x14d436474160>
Traceback (most recent call last):
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/zmq/sugar/socket.py", line 185, in __del__
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/zmq/_future.py", line 241, in close
TypeError: 'NoneType' object is not callable
Exception ignored in: <function Socket.__del__ at 0x14d436474160>
Traceback (most recent call last):
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/zmq/sugar/socket.py", line 185, in __del__
  File "/opt/conda/envs/ptca/lib/python3.10/site-packages/zmq/_future.py", line 241, in close
TypeError: 'NoneType' object is not callable

Is this an issue with the way I am trying to run the server or an issue with the implementation?
Any help would be appreciated :)

I noticed Issue #27 and the plan a few months back.
Has this code been tested and merged into main or do we need to work off the tp_merge branch in order to have tensor parallelism?
@Ying1123 tagging as you had replied back then, apologies if you are no longer maintaining this repo.


FIX: Unicode chars in urls

Handle unicode chars in reverse of Post and Category models, using Django path() method instead of url()
Closes #653
Description
Allow to reverse blog Post and Category models urls using the Django path method instead of url.
A bug appeared in v1.2.0 when migrating from url() to path() when resolving slugs with unicode chars as Django path converters only accepts ASCII letters or numbers, plus the hyphen and underscore characters and no unicode chars.
I suggest to use an str path instead of a slug path for urls to reverse properly.
References

The Django path converters documentation: https://docs.djangoproject.com/fr/3.1/topics/http/urls/#path-converters
An issue describing the bug: https://github.com/nephila/djangocms-blog/issues/653

Provide any github issue fixed (as in Fix #XYZ)
Checklist

[x] I have read the contribution guide
[x] Code lint checked via inv lint
[x] changes file included (see docs)
[x] Usage documentation added in case of new features
[x] Tests added

Coverage decreased (-0.02%) to 96.992% when pulling eab362ef413bf2253f239abc274b6d0cd6221972 on pierreben:bugfix/issue-653-fix-accents-path-slug into 83e76f1fe2aa531784dbe33daa152f7c1011450d on nephila:develop.

@pierreben thanks for this PR
I just gave it a quick look and it looks ok
I will check it more thoroughly shortly and

Many thanks for the approval an all the work you're doing on cms-blog !


Any more fast base network? Currently only 2 fps on GTX1080 which is really slow.

MaskRCNN has only 2 fps and need 500-600ms per img on GTX 1080ti. Does there any further action can be take to accelerate the speed of maskrcnn?

Hi,
This is related to https://github.com/facebookresearch/maskrcnn-benchmark/issues/42
I'd like to add a MobileNet backbone, which will make the models run significantly faster.
But I still need to train models with this backbone, and it might still take a few weeks before I can release something.
But contributions are more than welcome!
Let's keep the discussion in #42


Implement IntoNeighborsDirected for EdgeFiltered(#202)

Hi everyone, I've implemented the trait to address #202 and added a test as well.
Fixes #202

Thanks for this! I have a few small style issues with your impl but otherwise it looks good to me.

Thank you for your feedback. My implementation was adapted from the existing EdgeFilteredNeighbors struct, which also calls filter_map within each .next.
I've tried to manually create an instance of FilterMap up front and get EdgeFilteredNeighborsDirected to take ownership of it, but I get problems with the closure type parameter of FilterMap being unsized.

Thanks for this! I'll merge and push a micro cleanup on top of it

Will this be included in a published release soon?

We are merging breaking changes and can release 0.5 when it is done. It is basically done


Init project use Next.js

The requirements are based on Next.js. For details, please refer to:
https://github.com/lobehub/lobe-chat/tree/main
It is necessary to replace the lint related configuration with our own @yuntijs/lint. For details, please refer to:
https://github.com/kubeagi/ops-console
@Vsion

https://github.com/kubeagi/agent-portal/pull/2 @Carrotzpc


Adjusting links for use on repo and website

Based on feedback from @shashankram in https://github.com/openservicemesh/osm/pull/2636#discussion_r584001615 I'm trying a relative link style to see if it shows up correctly on both the website and the github repo.
Signed-off-by: Bridget Kromhout<EMAIL_ADDRESS>

The links now work correctly on https://github.com/bridgetkromhout/osm/blob/relative-links/docs/content/docs/patterns/observability/_index.md and on https://deploy-preview-2647--osm-docs.netlify.app/docs/patterns/observability/.

As I understand it, we have two choices for links on this sort of generated site:

absolute links to github itself
relative links without the initial /

As illustrated in the error that I'm fixing in this PR, we do not have a singular authoritative full path that covers both cases.

As I understand it, we have two choices for links on this sort of generated site:

absolute links to github itself
relative links without the initial /

As illustrated in the error that I'm fixing in this PR, we do not have a singular authoritative full path that covers both cases.

Do we need to update other references of the form /docs/xyz and /docs/content/docs/xyz?

@bridgetkromhout kindly squash before merge...

Do we need to update other references of the form /docs/xyz and /docs/content/docs/xyz?

@shashankram Yes; I've adjusted several more pages that worked on github but did not work on the generated website.

I'll squash when it's ready, but based on the error in https://deploy-preview-2647--osm-docs.netlify.app/docs/scale/images/scale/256-1.5-cpu.png I still don't have it quite right. Fixing shortly.

@flynnduism is looking into our options for paths that will work for both github and the website.


Feature Request: Move preset data into the runelite profiles/account

Currently the presets are saved in the presets folder in the runelite user directory.
This is not the same place as other plugins usually store their data.
The current implementation means any runelite client, with any runelite email login, or character login, all share the same presets. The presets also don't sync where you can use them on other devices.
For me, I play two characters with separate runelite sessions, where each one is logged into a separate runelite email. This allows me to have separate bank tags and plugin settings per character. When I use the preset plugin, presets are shared between clients. So if one client has its own plugin settings, and uses a preset, the next client that opens up even with a different profile will apply the plugin settings from the previously active preset from the other client, which doesn't want those settings.
The primary issue is presets are not bound to your runelite account, but are locally stored and apply to all runelite sessions.
Thanks!

Would love to see this as well

In the new plugin version it is possible to change the location where presets are stored with the file/cloud icon in the editor view. This toggles between the preset folder and the RuneLite configuration file (that is synced to RL accounts if logged in).
Presets saved to the config with an account should sync to all RL session with the same account similiar to screen markers etc...

This is somewhat experimental feature that could be extended in the future e.g. moving completely away from the preset folder.
Please let me know if the preset syncing works or not and if something were to be improved.


Unpacking native Node modules from your Forge app's ASAR archive

Please, research the possibility of using Auto Unpack Native Modules Plugin to reduce loading times and disk consumption on our users' machines.
Also, please check, if there is any possibility of reducing .asar file at all? If we can remove some unused Node modules from it to reduce size of the installers / shops / native files shipped with each build.

It happens that we are already using it, but we could get rid off it if needed. Modules then will be packed directly to the codebase tho, so it might be bad for performence and disk consumption.
Unfortunately after checking at this moment we have only modules we are using, so nothing to remove there.


State doesn't update when replaceReducers is called with combineReducers and one of the reducers passed to it is removed.

Do you want to request a feature or report a bug?
bug
What is the current behavior?
The combineReducers function does't detect if one of the reducers passed to it is removed(via replaceReducers) and thus returns an old state.
// Reducers
const foo = (state = { value: 'foo' } ) => state
const bar = (state = { value: 'bar' }) => state

const ACTION = { type: 'ACTION' };

const originalCompositeReducer = combineReducers({ foo, bar })
const store = createStore(originalCompositeReducer)
store.dispatch(ACTION)

const initialState = store.getState() // returns -> {
 //                                                   foo: { value: 'foo' },
 //                                                   bar: { value: 'bar' }
 //                                                }

// now remove `foo` reducer
store.replaceReducer(combineReducers({ bar }))
const nextState = store.getState() // returns -> {
//                                                 foo: { value: 'foo' },
//                                                 bar: { value: 'bar' }
//                                                }
//                      should have returned -> { bar: { value: 'bar' } }
expect(nextState).not.toBe(initialState) // --> this fails

Steps to reproduce:
Open JSFiddle Link:

Click "Dispatch action" button
-> 2 boxes gets rendered,  one of foo and other of bar.
Click "Replace Reducer: remove bar reducer" button
-> Again, 2 boxes gets rendered,  one of foo and other of bar.
Expected: Only one box should render, i.e. box of bar only.

What is the expected behavior?
The combineReducers function should detect if one or more reducers passed to it is removed(via replaceReducers) and thus should update the store with new state.
Which versions of Redux, and which browser and OS are affected by this issue? Did this work in previous versions of Redux?
Redux Version: V4.0.4
OS: MAC
Worked on previous versions: no.

Raised a PR which will fix this issue.

test
<EMAIL_ADDRESS>onClick={e=>{
      store.replaceReducer(combineReducers({ bar }))
 }}
 it didn't work！！

---------------------
<EMAIL_ADDRESS>
is
success ！

Given that #3488 has been merged, this can be closed.


Divergence from the original pytorch version's ouput

I'll go ahead with investigating this.

https://user-images.githubusercontent.com/6432677/113621789-c15e2280-9664-11eb-9080-cb99b72d7bd6.mp4
https://user-images.githubusercontent.com/6432677/113621792-c1f6b900-9664-11eb-8192-8d1e590f104c.mp4
Original FOM result:
https://user-images.githubusercontent.com/6432677/113622451-b35cd180-9665-11eb-9b01-df36cae74dac.mp4
Originally posted by @HashedViking in https://github.com/lshug/first-order-model-tf/issues/4#issuecomment-813624055

@HashedViking So far I haven't been able to reproduce this. Can you confirm that the difference isn't caused by running one of the versions with relative or adapt_movement_scale options and the other without?

@HashedViking I'm confirming that the difference was caused by running with --relative in the original and without --relative in tf version. This is the output I get when running with testlite.py with --relative.
https://user-images.githubusercontent.com/73127106/113631568-b1e9d400-967a-11eb-9046-99fd7266350e.mp4

Right, I can confirm that too


Update ddv4-ddsv4-series.md

@Styli365 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#signed-off

#sign-off


Histogram: Adding data equal to the lower bound

As described in issue https://github.com/mathnet/mathnet-numerics/issues/323, adding values that are equal to the lower bound of a histogram result in an exception. Values slightly lower than that bound, will decrease the lower bound automatically as required.
Therefore, i propose to initiate this behavior on all values equal or lower that the boundary.

Thanks!


Design a Report in Power BI Desktop Lab - Enabling Maps

The map and filled map visuals need to be enabled in Power BI Desktop as well as in Power BI Service.
The instructions should be amended to include the former.

Thank you. We will include this in the next update.

This is going live in November 2022 updates.


From bytes not str

For python3, everything is by default bytes and best practice is to use bytes for all internal representations and handling. I'd like to use the binwalk string=True option, but it does not support bytes. This becomes more important given the ambiguity of the files I'd like to binwalk being things that I do not know ahead of time their proper encoding, and so converting from bytes to str is, at best, a guessing game.
The solution for the time being is to write the file to disk using 'wb', then call binwalk as normal, but would be nice to cut out that write to disk step.

Also would be reasonable to allow a file-like object as a param, similar to how zip and company do it in core python libraries. That approach means that you wouldn't have to change any backend handling (aside from initially allowing the file like object of course), and the user could decide to open a file themselves, or use BytesIO/StringIO/etc.

The binwalk.scan method expects string arguments as they would appear from sys.argv, which is a str type in both Python2 and Python3.
Converting from a bytes to a str type can be done by decoding the bytes object as latin-1; knowing the actual encoding type is not necessary as latin-1 encoding is a direct byte-for-byte mapping:
import binwalk
data = b"some-test-data-to-scan"
binwalk.scan(data.decode('latin-1'), string=True)

The only downside to this is that if data is a str and not bytes, then it will have no decode attribute. For maximum flexibility, you can use the binwalk.core.common.bytes2str function; you can pass this function either str or bytes and it will return the data as a str type:
import binwalk
from binwalk.core.common import bytes2str
data = b"some-test-data-to-scan"
binwalk.scan(bytes2str(data), string=True)

Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/binwalk/core/module.py", line 595, in main     retval = self.run()              ^^^^^^^^^^   File "/usr/lib/python3/dist-packages/binwalk/modules/signature.py", line 192, in run     self.scan_file(fp)   File "/usr/lib/python3/dist-packages/binwalk/modules/signature.py", line 141, in scan_file     (data, dlen) = fp.read_block()                    ^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/binwalk/core/common.py", line 517, in read_block     data = self.read(self.block_read_size)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/binwalk/core/common.py", line 483, in read     data += tmp TypeError: can't concat str to bytes
I've tried this, it doesn't work. The read function starts with a b'' and attempts to concatenate data from StringFile which is str.


Tree no parentNode and childNodes saved to database

Hi, I am trying to use the tree behavior. I am including the behavior as follows:
/**
 * @ORM\Entity(repositoryClass=ExtendedPimCategoryRepository::class)
 */
class ExtendedPimCategory implements TranslatableInterface, TreeNodeInterface, TimestampableInterface
{

    use TreeNodeTrait;
    use TranslatableTrait;
    use TimestampableTrait

By doing so the property materialized path will be stored to the database. But the parentNode and childNodes properties from TreeNodePropertiesTrait are always null.
Am I missing something? How else can I quickly find the parentNode?
BR wucherpfennig

'solved' ... you just have to load the elements with the getTree function...

Hi @wucherpfennig, can you please elaborate? I have spent hours looking for the solution to this. Loading from the repository does not work as the doc says - $categoryRepositon->getTree()
Where should getTree() be placed?

@abdellahrk sorry for the late reply!
In your repository add the TreeTrait

...
use Knp\DoctrineBehaviors\ORM\Tree\TreeTrait;
...

class MyEntityWithTreeTraitRepository extends ServiceEntityRepository
{

    use TreeTrait;

   ....

In your Service etc. use the repository as follows:
....
/** @var MyEntityWithTreeTrait $tree */
$tree = $this->repository->getTree(path: $category->getRealMaterializedPath());

// eg. return !empty($tree) ? $tree : NULL;
// eg. $tree->getChildNodes()
....

Hi @wucherpfennig, thank you very much. This is so helpful I cannot thank you enough.


Improve dash app results

Summary of the discussion
Describe the findings of the discussion in the issue or meeting.
Type of change (CHANGELOG.md)
Added

Add a new class (#)

Changed

Update a definition (#)

Removed

Remove a broken link (#)

Workflow checklist
Automation
Closes #
PR-Assignee

[ ] 🐙 Follow the workflow in CONTRIBUTING.md
[ ] 📝 Update the CHANGELOG.md
[ ] 📙 Update the documentation

Reviewer

[ ] 🐙 Follow the Reviewer Guidelines
[ ] 🐙 Provided feedback and show sufficient appreciation for the work done

Replaces #37


Allow static URLs with pathPrefix config

Summary
Currently pathPrefix assumes a relative URL and attaches a prefixed forward slash. Because of our architecture, we need every asset to be prefixed with a static URL.
Basic example
Adding a static URL to pathPrefix like so:
pathPrefix: 'http://www.mysite.com/',
leads to assets being built with '/http://www.mysite.com/'
Motivation
We are using Gridsome to build the marketing pages for our application. The marketing pages live on a CDN while the application lives on the primary domain. Because of this, we need to be able to prefix our assets with a static URL.

It looks like this happens in normalizePathPrefix:
function normalizePathPrefix (pathPrefix = '') {   const segments = pathPrefix.split('/').filter(s => !!s)   return segments.length ? /${segments.join('/')} : '' }

While I would still like to see this as an option, I worked around it by adding this to the build command in package.json. Works a treat, but you will need to use 'npm run build' instead of 'gridsome build'.


Pod creation settings should allow for issuer

When creating a new pod, there is currently no way to set the issuer of the webid. The conformant CredentialExtractor, however, uses the SolidTokenVerifierFunction from identitiy-token-verifier to check the solid:oidc triples in the profile document in order validate the webid. As soon as a pod is created, there seems therefore no way to pass authentication, except from manually changing the triples in the backend itself.
We should therefore probably add an issuer field to the PodSettings.
Checked for similar issues with: issuer, oidcissuer.
This might be related to #585 though.
EDIT: Or is this somehow solved differently in the IDP branch (#455)? Did not immediately find it, but I'm not familiar with that PR. @RubenVerborgh @matthieubosquet

#665 adds both the isssue's main solid:oidc triple and @matthieubosquet's solid:oidcIssuerRegistrationToken to the template.
It does not yet change the mandatory webId parameter, so we might discuss this further here or in another issue:

I would also make the webId parameter optional and default to , maybe adding prefix: <#> at the top.

It does not yet change the mandatory webId parameter, so we might discuss this further here or in another issue:

That's the next step when the Idp branch gets merged so probably not really relevant for this.


examples: fix debug example layers on macos using "VK_LAYER_KHRONOS_validation"

On macos cargo run --bin debug will panic with LayerNotPresent as somehow with MoltenVK they have different names.

[ ] Added an entry to CHANGELOG_VULKANO.md or CHANGELOG_VK_SYS.md if knowledge of this change could be valuable to users
[ ] Updated documentation to reflect any user-facing changes - in this repository
[ ] Updated documentation to reflect any user-facing changes - PR to the guide that fixes existing documentation invalidated by this PR.
[x] Ran cargo fmt on the changes

@DaAitch Merged. Thank you!


Bug: Right clicking column view crashes app

Description
Experiencing overall stability issues. I LOVE this app, but to use it for mission critical work I need it to be way more stable.
Main issues are:
Right clicking can cause a crash 25% of the time, especially in column mode it seems.
File transfers get hung up and cancel a ton.
Opening the app always lags and will fail sometimes.
Steps To Reproduce

Switch to Column View
Right click empty space in last column

Requirements

Fix crash

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.4169
Log File
debug.log

Thanks for the report, Please update to 3.7.6 https://files.community/download and see if this is still an issue

Dude World Have change
Do Chatgpt

@dmizz thank you for your feedback, we're constantly working to improve stability and will continue to so.
I'd like to try and track down the crash you mentioned with right clicking. If you open the settings file (Settings > Advanced > Edit settings file), there should be a value under userid. If you can send the value here, I can locate the crash in Sentry and do my best to debug this issue.

When I click 'edit settings file' nothing happens
On Sat, Sep 14, 2024 at 6:01 PM Yair @.***> wrote:

@dmizz https://github.com/dmizz thank you for your feedback, we're
constantly working to improve stability and will continue to so.
I'd like to try and track down the crash you mentioned with right
clicking. If you open the settings file (Settings > Advanced > Edit
settings file), there should be a value under userid. If you send the value
here, I can locate the crash in Sentry and do my best to debug this issue.
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/16193#issuecomment-2351261026,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJD5YSCUAZVWEJI4SSI2TILZWTL6HAVCNFSM6AAAAABOGGAQUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRGI3DCMBSGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

That's odd, this could also be why Files has been acting up for you. Can you try to uninstall and reinstall Files?

I think it more likely that no programs are set to open Json files, Please try going to Files settings > About > Open log location > open settings folder > open user_settings.json

Here you go
On Mon, Sep 16, 2024 at 6:02 AM Josh65-2201 @.***>
wrote:

I think it more likely that no programs are set to open Json files, Please
try going to Files settings > About > Open log location > open settings
folder > open user_settings.json
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/16193#issuecomment-2352858839,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJD5YSBDDBSPCSVHNZQXY3DZW3JHHAVCNFSM6AAAAABOGGAQUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJSHA2TQOBTHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Email attachments don't work. You will have to click the View on GitHub link at the bottom of the email > Copy and paste or click the add attachment button to select the file > Wait until you don't see uploading in the text > Click the green comment button.

user_settings.json
k!

I located a crash related to drag & drop, can you confirm if that's the issue you were referring to?

I've had multiple crashes per day. I have
uninstalled/reinstalled/updated/tried the Preview version. The most common
crash is when I right click to make a new folder. It hangs up when the
right click menu is appearing and crashes. I have had some drag/drop
crashes as well.
On Mon, Sep 16, 2024 at 2:03 PM Yair @.***> wrote:

I located a crash related to drag & drop, can you confirm if that's the
issue you were referring to?
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/16193#issuecomment-2354029726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJD5YSGWK4ZPIMMADNF2LBTZW5BQ3AVCNFSM6AAAAABOGGAQUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJUGAZDSNZSGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Are you using v3.7.6?

<IP_ADDRESS>
On Mon, Sep 16, 2024 at 2:11 PM Yair @.***> wrote:

Are you using v3.7.6?
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/16193#issuecomment-2354042550,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJD5YSF5K7UIDSIMXJMOI6TZW5CQRAVCNFSM6AAAAABOGGAQUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJUGA2DENJVGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

If the issue doesn't show in the log file, you might get more info from Event Viewer.

I am facing exactly the same issues. Version <IP_ADDRESS>. I am running in columns view. Every second time I am trying to open the context menu, the app is crashing.
This is what I get from the event viewer:
Protokollname: Application
Quelle:        Application Error
Datum:         17.09.2024 16:48:29
Ereignis-ID:   1000
Aufgabenkategorie:Anwendungsabsturzereignisse
Ebene:         Fehler
Schlüsselwörter:
Beschreibung:
Name der fehlerhaften Anwendung: Files.exe, Version: <IP_ADDRESS>, Zeitstempel: 0x666b0000
Name des fehlerhaften Moduls: Microsoft.UI.Xaml.dll, Version: <IP_ADDRESS>, Zeitstempel: 0xcd7cc268
Ausnahmecode: 0xc000027b
Fehleroffset: 0x00000000004051c5
ID des fehlerhaften Prozesses: 0x0xEC4
Startzeit der fehlerhaften Anwendung: 0x0x1DB09048C41DD7A
Pfad der fehlerhaften Anwendung: C:\Program Files\WindowsApps\49306atecsolution.FilesUWP_<IP_ADDRESS>_x64__et10x9a9vyk8t\Files.App\Files.exe
Pfad des fehlerhaften Moduls: C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.5_5001.214.1843.0_x64__8wekyb3d8bbwe\Microsoft.UI.Xaml.dll
Berichtskennung: 1bc94954-9097-49a3-bcaf-ff231628f75f
Vollständiger Name des fehlerhaften Pakets: 49306atecsolution.FilesUWP_<IP_ADDRESS>_x64__et10x9a9vyk8t
Anwendungs-ID, die relativ zum fehlerhaften Paket ist: App
Ereignis-XML:

1000
0
2
100
0
0x8000000000000000

424249

Application

Files.exe
<IP_ADDRESS>
666b0000
Microsoft.UI.Xaml.dll
<IP_ADDRESS>
cd7cc268
c000027b
00000000004051c5
0xec4
0x1db09048c41dd7a
C:\Program Files\WindowsApps\49306atecsolution.FilesUWP_<IP_ADDRESS>_x64__et10x9a9vyk8t\Files.App\Files.exe
C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.5_5001.214.1843.0_x64__8wekyb3d8bbwe\Microsoft.UI.Xaml.dll
1bc94954-9097-49a3-bcaf-ff231628f75f
49306atecsolution.FilesUWP_<IP_ADDRESS>_x64__et10x9a9vyk8t
App

Yes I just installed Files Preview and gave it a shot. Crashed on my second right click.
debug.log

When you right click, are you right clicking in the last column? Can you also confirm if you're right clicking an empty space?

Yes and yes.
Also if I click the "+New" button below the file path to create a new
folder it has not crashed for me.
On Mon, Sep 30, 2024 at 8:42 AM Yair @.***> wrote:

When you right click, are you right clicking in the last column? Can you
also confirm if you're right clicking an empty space?
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/16193#issuecomment-2383557226,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJD5YSGZVKDZQQ4B4R5JUH3ZZFWN7AVCNFSM6AAAAABOGGAQUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBTGU2TOMRSGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

just did a clean install of W11 for other reasons and was hoping this issue would sort of fix itself. Installed the latest Preview version. Crashed on right click immediately.
debug.log

any updates? this is driving me crazy

It's on our todo list

i met the similar issue and resolved it by myself, here is the course：
Files app log looks very clean, but i found “window event reporter” have some valuable info:
错误应用程序名称: Files.exe，版本: <IP_ADDRESS>，时间戳: 0x666b0000
错误模块名称: Microsoft.UI.Xaml.dll，版本: <IP_ADDRESS>，时间戳: 0xc7b159d6
异常代码: 0xc000027b
错误偏移量: 0x0000000000405235
错误进程 ID: 0x0x5840
错误应用程序启动时间: 0x0x1DB2F2CEA2E8AED
错误应用程序路径: C:\Program Files\WindowsApps\49306atecsolution.FilesUWP_<IP_ADDRESS>_x64__et10x9a9vyk8t\Files.App\Files.exe
错误模块路径: C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.5_5001.275.500.0_x64__8wekyb3d8bbwe\Microsoft.UI.Xaml.dll
报告 ID: 7ed953b6-216e-41d9-8df2-365054e7e7ff
错误程序包全名: 49306atecsolution.FilesUWP_<IP_ADDRESS>_x64__et10x9a9vyk8t
错误程序包相对应用程序 ID: App
i search the key word "CoreMessagingXP.dll" "0xc000027b" in google, i found this error info of reason is that my machine miss .net sdk-6
.NET 6.0 SDK, so i install it, restart app, and i didn't found the similar issue
[Reference]
https://learn.microsoft.com/en-us/answers/questions/868473/faulting-module-microsoft-ui-xaml-dll
[.NET 6.0 SDK]
https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/sdk-6.0.427-windows-x64-installer

I installed .NET 6.0 SDK and the issue persists.

Same! In Columns layout, right clicking on an item or blank area crashes the app every time, no exceptions.

First, quick (& temp) fix:

Go to Settings->Actions
Change the bindings for both Open Terminal and Open Terminal as Admin to something else (use a letter/number with as many modifiers as you wish; DO NOT use ~ or any of the keys to the right of P, L, M)

Cause of the crash:
The context menu is implemented with Microsoft.UI.Xaml.Input, which uses the VirtualKey enum to specify the KeyboardAccelerator. The issue is that VirtualKey does not support Oem keys.
Concerned code:
Files.App.Data.Models.ContextMenuFlyoutItemViewModelBuilder.Build()
viewModel.KeyboardAccelerator = new Microsoft.UI.Xaml.Input.KeyboardAccelerator()
{
	Key = (VirtualKey)command.HotKeys[0].Key, // <------- This line here
	Modifiers = (VirtualKeyModifiers)command.HotKeys[0].Modifier
};
viewModel.KeyboardAcceleratorTextOverride = command.HotKeys[0].LocalizedLabel;

Same issue here. After using the workaround the app doesn't crash anymore, but the context menu flickers and doesn't appear sometimes. Also, in the Columns view there are constant unexpected scrolls to the left.

I've made a screen recording of the context menu flickering if it helps.
https://github.com/user-attachments/assets/c9dbfb9f-c185-4799-8fb9-6bf0f5601a67

If you want it not required though

A fix will be included in the next update


Renamed and updated images to reflect spawn_prims

One more on the main README: https://github.com/NVIDIA-Omniverse/kit-extension-sample-spawn-prims#spawn-primitivies-omniexamplespawnprims
These are the prints I was talking about:

print("[omni.spawn.primitives] MyExtension startup")
https://github.com/NVIDIA-Omniverse/kit-extension-sample-spawn-prims/blob/e32330debef70197d15217ca404d982ead52eb32/exts/omni.example.spawn_prims/omni/example/spawn_prims/extension.py#L33

Made edits inside of README and within the tutorial.md to match omni.example.spawn_prims

Thank you!


Create JOIN_HR

Create a new function to merge heart rate and pulse rate which are synonymous
Minor Version Update

Some studies which report both HR and PR have different results for them so a decision would have to be made on whether to average them or take highest / lowest
For now, that decision can be left with the researcher and the join function for HR and PR will be on hold


Azure Powershell Task V4 logs warnings for missing localization strings

Required Information
Type: Bug
Enter Task Name: Azure Powershell V4
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/AzurePowerShellV4
Environment

Server: Azure Pipelines
Agent: Hosted Ubuntu 1604

Issue Description
When running any Azure Powershell V4 task there are 2 warnings in the logs, about missing localisation strings for GeneratingScript and JS_FormattedCommand. These warnings clutter the log.
The keys seem to be missing from the resources files:  For example for the en-US locale.
Usages of these strings occur (at least) on:

https://github.com/microsoft/azure-pipelines-tasks/blob/15367c4a0ce66815f551a12cd9c74e076f6d3aea/Tasks/AzurePowerShellV4/azurepowershell.ts#L58
https://github.com/microsoft/azure-pipelines-tasks/blob/15367c4a0ce66815f551a12cd9c74e076f6d3aea/Tasks/AzurePowerShellV4/azurepowershell.ts#L71

Task logs
==============================================================================
Task         : Azure PowerShell
Description  : Run a PowerShell script within an Azure environment
Version      : 4.0.13
Author       : Microsoft Corporation
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=613749)
==============================================================================
##[warning]Can\'t find loc string for key: GeneratingScript
GeneratingScript
##[warning]Can\'t find loc string for key: JS_FormattedCommand
JS_FormattedCommand . '/home/vsts/work/1/s/my_script.ps1'

@joostvanwollingen  I don't see the issue happening with the latest version of the task (v4.154.4). Please check if you have this latest version. Please let us know if you have the latest version are still seeing these warnings.
Meanwhile we will see if there are any gaps here.

Still see this occurring on a hosted agent running task v4.153.3. Not sure how I can run with v4.154.4?
==============================================================================
Task         : Azure PowerShell
Description  : Run a PowerShell script within an Azure environment
Version      : 4.154.3
Author       : Microsoft Corporation
Help         : [Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613749)
==============================================================================
##[warning]Can\'t find loc string for key: GeneratingScript
GeneratingScript
##[warning]Can\'t find loc string for key: JS_FormattedCommand

Task as defined in the YAML:
- task: AzurePowerShell@4
  displayName: "Validate user input"
  inputs:
    azureSubscription: 'MySubscriptionName'
    ScriptType: 'FilePath'
    ScriptPath: 'scripts/validate_input_parameters.ps1'
    ScriptArguments: '-projectName "$(PROJECT_NAME)" -processType $(PROCESS_TYPE) -adGroup $(AD_GROUP) -accessToken $(System.AccessToken)'
    FailOnStandardError: true
    azurePowerShellVersion: 'LatestVersion'

Issue has been fixed. It will get deployed within 3-4 weeks.


add code snippet and sidenav to documentation page

Added Code snippet and sidenav to documentation Page.
Screenshots of changes made:

Live preview Link :
https://docs-page-preview.netlify.app/
Thanks for reviewing ☺

.The footer is overlapping the sidebar. Please look into it.

.The footer is overlapping the sidebar. Please look into it.

Thanks for pointing that out will fix it.


Project still brings a lot of issues

I am following a tutorial, and I am on step 3. Simple stuff but my Xcode is on fire. I think easiest is to to show you my screen.

Those should just be 0.
let restaurant = Restaurant(
    // ...
    ratingCount: 0,
    averageRating: 0
)

The codelab text has been updated. Thanks for filing!


Convert bytes directly to Data instead of UnsafePointer API

Description
Replaces an incorrect use of UnsafePointer<UInt8>(array) to initialize Data.
There is already a Data(_ elements: Sequence<UInt8>) initializer we can use directly.
Motivation and Context
Using a pointer to an array created via the UnsafePointer initializer is undefined and isn't guaranteed to be valid. In particular, we ran into this issue when our RSA key started failing on iOS 18 release builds. The data in strippedKeyBytes was valid on the line above, but data was all zeroes after being initialized with UnsafePointer.
https://github.com/Kitura/BlueRSA/blob/440f78db26d8bb073f29590f1c7bd31004da09ae/Sources/CryptorRSA/CryptorRSAUtilities.swift#L288-L290
As stated in the "Important" note in the UnsafePointer documentation:

The pointer created through implicit bridging of an instance or of an array’s elements is only valid during the execution of the called function. Escaping the pointer to use after the execution of the function is undefined behavior. In particular, do not use implicit bridging when calling an UnsafePointer initializer.

How Has This Been Tested?
I ran the existing test suite in Release mode. Before the fix there were 16/32 passes, after the fix there are 32/32 passes.
This was tested with Xcode 16.0 (16A242d).
Devices:

iPhone 13 Pro running iOS 18.0 (22A3354)
MacBook Pro 14", 2021 running macOS 14.6.1 (23G93)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This is the solution to https://github.com/Kitura/BlueRSA/issues/84
Can this get merged? The library currently does not work in Release mode on macOS 15.

Thank you @jayrhynas for the fix and detailed description.


added changes described.

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@Malind19  - please merge the commit on the copy/edit review made by JohanFreelancer9 and nenonix or make the necessary changes on the PR following the suggestions he made. Thank you.

@mypil All possible commits are merged.

@Justinha @brianlic-msft - Can you please assist to check, approve and merge the content for this PR based on issue #2590?
Thank you.

@Malind19 - please apply the recommended changes from Justinha. Thank you

@mypil Done

@Justinha  -Kindly check, approve and merge the content for this PR based on issue #2590?
Thank you.

I updated the version references to follow the standard naming ("Windows 10, version 1809" not "Windows 10 v1809"). Other than that, this is good, and I'm merging it. Thanks!


Latest image 4b2f46c13c6d of williamyeh/ansible:ubuntu14.04-onbuild causes regression in our playbook

Step 3 : RUN ansible-playbook-wrapper
---> Running in e39c3d9048c3
PLAY [<IP_ADDRESS>] ***************************************************************
skipping: no hosts matched
Previous image 35bc5a1b25d6 works for us.
Currently using  master-ubuntu14.04-onbuild as workaround.

Hi,
I couldn't reproduce the error condition you've mentioned.
Would you provide the playbook and Dockerfile which can reproduce the error?
My test seems ok: https://asciinema.org/a/83884


Epic: Add support for quota

Demo Objective

[x] Set quota in a namespace in a workspace and have the accounting only apply to content in that workspace+namespace
[x] Make sure quota works correctly for built-in types
[x] Make sure quota works correctly for normal CRs, especially when 2 different workspaces both define the same GroupResource
[x] Make sure quota works correctly for bound CRs
[x] Find a way to do quota for cluster-scoped resources e.g. namespaces

[x] https://github.com/kcp-dev/kubernetes/pull/97
[x] #1846

====================== 0.6 cut line

[X] ~APIExport owner can define quota for instances of APIResourceSchemas they own, and the quota is applied in the bound workspace~ not part of the quota implementation / not specific to quota; moving to separate issue if needed.

[X] ~A workspace owner with "cluster-admin" is not able to manipulate this quota~ not part of the quota implementation / not specific to quota; moved to #1840

Stories

[x] #1236
[x] Add support + e2e for quota for normal CRs
[x] Add support + e2e for quota for bound CRs
[x] Add support + e2e for quota for cluster-scoped resources

So I think a key thing here is that a service offering an API can define how many of a certain object is allowed per workspace. I imagine this would happen when the APIBinding is created or possibly via an initializer if it is something that needs to be done for every workspace

/assign

In addition there must be authz that stops the admin user in the workspace to tweak the quota for the APIBinding objects. We at least need a plan for that, implementation can come later.

I completely miss a discussion about cluster scoped resources. Afaik Kube cannot restrict them at all. But we will need that. OpenShift has ClusterResourceQuota.

I completely miss a discussion about cluster scoped resources. Afaik Kube cannot restrict them at all. But we will need that. OpenShift has ClusterResourceQuota.

Recording for posterity (we've chatted about this but not written it here): ClusterResourceQuota lets you quota namespace-scoped resources per cluster (e.g. "only allow 10 ConfigMaps in the entire cluster"). It does not quota cluster-scoped resources.
https://docs.google.com/document/d/15LR7fecEwh0Fupo5m3Yh3rtGy81eEGSZhh8heHqttAQ/edit is a design document for a short-term approach for quota of cluster-scoped resources.

/close

Not yet. We need new epics/issues


Update travel advice & medical safety alert docs

This updates the docs to take into account work to remove the courtesy
copies email box from the checks.
Depends on:
https://github.com/alphagov/email-alert-monitoring/pull/67
Trello:
https://trello.com/c/kfZC9tes/455-improve-drug-and-travel-advice-checks

Thanks for the review/s @kevindew, I've updated the doc as per your comment.


Sensu Client is unable to call my custom Plugin

Hi ,
I installed sensu using yum. i have created a new plugin to monitor my storm cluster. When i start the client i dont see any log line which indicates that the plugin ran. Also i dont see the output being sent to my handler. PFB the log lines of the client.
{"timestamp":"2018-03-20T14:44:59.428248+0000","level":"warn","message":"loading config file","file":"/etc/sensu/config.json"}
{"timestamp":"2018-03-20T14:44:59.428351+0000","level":"warn","message":"loading config files from directory","directory":"/etc/sensu/conf.d"}
{"timestamp":"2018-03-20T14:44:59.428387+0000","level":"warn","message":"loading config file","file":"/etc/sensu/conf.d/client.json"}
{"timestamp":"2018-03-20T14:44:59.428439+0000","level":"warn","message":"config file applied changes","file":"/etc/sensu/conf.d/client.json","changes":{"client":{"name":["###########","###########"],"subscriptions":[null,["########","#########","client:###########"]],"deregister":[null,true],"deregistration":[null,{"handler":"deregister_client"}],"app_name":[null,"########"],"application":[null,"######"],"instance_id":[null,"a5b3d19c-8400-402a-afde-f2f659c50637"],"environment":[null,"######-stage"]}}}
{"timestamp":"2018-03-20T14:44:59.428473+0000","level":"warn","message":"loading config file","file":"/etc/sensu/conf.d/check_storm.json"}
{"timestamp":"2018-03-20T14:44:59.428531+0000","level":"warn","message":"config file applied changes","file":"/etc/sensu/conf.d/check_storm.json","changes":{"checks":{"check_storm":[null,{"command":"/opt/sensu/embedded/bin/ruby /etc/sensu/plugins/sensu_storm_topo_check.rb","handlers":["shuttleio"],"shuttleio":{"########":"################","#########":"stage","description":"###### Storm Topology is not running as expected!!"},"occurrences":1,"interval":60,"subscribers":["####","######"]}]}}}
{"timestamp":"2018-03-20T14:44:59.428571+0000","level":"warn","message":"applied sensu client overrides","client":{"name":"####-stage-storm-######","address":"######","subscriptions":["#######","#####-storm","client:####-stage-storm-######"],"deregister":true,"deregistration":{"handler":"deregister_client"},"app_name":"####-storm","application":"#####","instance_id":"a5b3d19c-8400-402a-afde-f2f659c50637","environment":"#####-stage"}}
{"timestamp":"2018-03-20T14:44:59.431437+0000","level":"warn","message":"loading extension files from directory","directory":"/etc/sensu/extensions"}
{"timestamp":"2018-03-20T14:44:59.431523+0000","level":"info","message":"configuring sensu spawn","settings":{"limit":12}}
{"timestamp":"2018-03-20T14:44:59.431552+0000","level":"debug","message":"setting eventmachine threadpool size","size":22}
{"timestamp":"2018-03-20T14:44:59.431926+0000","level":"debug","message":"connecting to transport","name":"rabbitmq","settings":{"host":"########","port":#######,"vhost":"/#######","user":"############","password":"#############","heartbeat":5,"ssl":{"cert_chain_file":"/etc/sensu/ssl/cert.pem","private_key_file":"/etc/sensu/ssl/key.pem"}}}
{"timestamp":"2018-03-20T14:44:59.508356+0000","level":"debug","message":"transport connection open"}
{"timestamp":"2018-03-20T14:44:59.508497+0000","level":"debug","message":"binding client tcp and udp sockets","options":{"bind":"<IP_ADDRESS>","port":######}}
{"timestamp":"2018-03-20T14:44:59.509026+0000","level":"debug","message":"binding client http socket","options":{"bind":"<IP_ADDRESS>","port":######}}
{"timestamp":"2018-03-20T14:44:59.509114+0000","level":"debug","message":"scheduling keepalives"}
{"timestamp":"2018-03-20T14:44:59.509198+0000","level":"debug","message":"publishing keepalive","payload":{"name":"#####-stage-storm-#########","address":"#######","subscriptions":["########","#######-storm","client:#######-stage-storm-#########"],"deregister":true,"deregistration":{"handler":"deregister_client"},"app_name":"#######-storm","application":"#######","instance_id":"a5b3d19c-8400-402a-afde-f2f659c50637","environment":"#######-stage","version":"1.2.1","timestamp":1521557099}}
{"timestamp":"2018-03-20T14:44:59.509330+0000","level":"debug","message":"subscribing to client subscriptions"}
{"timestamp":"2018-03-20T14:44:59.509357+0000","level":"debug","message":"subscribing to a subscription","subscription":"########"}
{"timestamp":"2018-03-20T14:44:59.509447+0000","level":"debug","message":"subscribing to a subscription","subscription":"#######-storm"}
{"timestamp":"2018-03-20T14:44:59.509496+0000","level":"debug","message":"subscribing to a subscription","subscription":"client:######-stage-storm-########"}
{"timestamp":"2018-03-20T14:44:59.509559+0000","level":"debug","message":"scheduling standalone checks"}
{"timestamp":"2018-03-20T14:45:19.509492+0000","level":"debug","message":"publishing keepalive","payload":{"name":"######-stage-storm-########","address":"#######","subscriptions":["#######","#######-storm","client:#######-stage-storm-#######"],"deregister":true,"deregistration":{"handler":"deregister_client"},"app_name":"#######-storm","application":"#######","instance_id":"a5b3d19c-8400-402a-afde-f2f659c50637","environment":"#######-stage","version":"1.2.1","timestamp":1521557119}}
{"timestamp":"2018-03-20T14:45:39.510897+0000","level":"debug","message":"publishing keepalive","payload":{"name":"######-stage-storm-########","address":"#######","subscriptions":["#######","#######-storm","client:#######-stage-storm-#######"],"deregister":true,"deregistration":{"handler":"deregister_client"},"app_name":"#######-storm","application":"#######","instance_id":"a5b3d19c-8400-402a-afde-f2f659c50637","environment":"#######-stage","version":"1.2.1","timestamp":1521557139}}

/etc/sensu/conf.d/check_storm.json => this is the check definition
/opt/sensu/embedded/bin/ruby /etc/sensu/plugins/sensu_storm_topo_check.rb => the command. The command works fine if i run it in the shell.

It would help if you can paste client and check definition.

Here is the check definition.
{
"checks": {
"check_storm": {
"command": "/opt/sensu/embedded/bin/ruby /etc/sensu/plugins/sensu_storm_topo_check.rb",
"handlers": ["#####_custom_handler"],
"########_custom_handler": {
"###token": "VALID_TOKEN",
"#####_environment": "stage",
"description": "Storm Topology is not running as expected!!"
},
"occurrences": 1,
"interval": 60,
"subscribers": ["####", "######-storm"]
}
}
}

I doubt if the plugin "sensu_storm_topo_check.rb" is ever called.

Closing due to inactivity. Please feel free to create a new issue if this matter is not resolved.


net8.0-windows target can't be resolved

see https://github.com/dotnet/fsharp/issues/17987

in this version that has not NETFX target it works though: https://www.nuget.org/packages/Fesher/0.0.3#supportedframeworks-body-tab

fixed in 0.4.0


Docker Swarm Mode: keeping volumes for updated tasks

Continue to exploring Docker Swarm (see related issue https://github.com/docker/docker/issues/25236). Seems like scenario just has not been covered - how to persist volumes in the tasks.
Let's assume that I want to start 5 instances of DB using new service syntax (assuming that I have >5 nodes of Swarm Cluster built by new swarm mode)
docker service create --name my_db --mount 'type=volume,destination=/var/my_db_data'  --update-parallelism=1 --update-delay 60s my_db_image:v1

Each task will have dedicated volume.
Somehow I will setup replication between these nodes.
Now I want to upgrade these nodes
docker service update --image my_db_image:v2 my_db

Each updated task will get new local data volume, which will trigger whole re-replication of data, which can be huge!
Even if I will use some volume drivers, they will have names like volume1, volume2, ... volume5. How I will be able to tell docker service create that each task needs to use its own volume and when we update keep it with it.

@outcoldman We actually chose to not have -v in 1.12 on services just for this purpose :)

@cpuguy83 that is fine, but seems like service concept in this case covers only stateless applications.
It is possible that I miss something, but I just don't see how I can setup mongodb or couchbase or redis cluster using service orchestration.

@outcoldman I don't think it's impossible, but using replicas (--replicas=N or scale <service>=N) is likely not feasible.
You will probably need to have a leader service and a follower service, and assume that data will be junked on update, so set up replication and failover accordingly.
Make sure you give enough time for a new task to get data replicated to it for the update delay (docker service update --update-delay=<time string>)
It might be interesting to work out what is possible with services in 1.12 in various different database-type applications.

@cpuguy83 but I don't think any database will work in that case, I mean it might, but nobody will use it in that way, re-replicate whole database on each update can be problematic. Especially if you are building your own database (maybe your own fork of MySQL or PostgreSQL) and deploy new version every night. That mean that whole cluster will need to re-replicate everything. And if you have hundreds of GB or terabytes of data which you will need to replicate - your upgrade cycle will take minutes, even hours when it should be in around few minutes. And I am not talking about how expensive it might be for you, because you could possible pay for IO / Traffic and CPU on AWS/Azure or GC.

@outcoldman I understand.
You'll likely, for now, have to orchestrate them pseduo-manually by creating a service per instance instead of trying to scale it with swarm's scaling feature.
Probably also have to target specific nodes instead of scheduling on random ones unless you are using shared storage.

@cpuguy83 sad to hear. I thought so, but just wanted to confirm that I have not missed anything.
Hope that you will add some option for that in 1.12.x, so it will be easier to integrate new swarm mode.

It would be nice if the documentation were honest and up front about this.  It's not obvious from reading the documentation that it won't work for stateful services, but as soon as you spend a day working with it realize it won't work.  Could have saved myself a lot of time investment.

@cpuguy83 but using a separate  service per instance will break the whole concept of load balancing and mesh routing thus the whole fundamental notion of service orchestration. I think it is very important to have the option to make a volume attached to a particular task instance and if that task gets rescheduled then the volume should follow. Thanks.

@eshedly Sure.
1.13 supports templated --mount specs for this reason.


Feature/show number of available sample data

Add feature to dev

 User Story: As a PI, I want to see the number of samples for which raw sequencing data is available, so that I can save time and already start with computational analysis


Update Simplified Chinese translation

It's now complete.

Hi @FiftysixTimes7, thank you for your contribution! Could you create an issue and add a news entry thanking yourself?
Thanks!

Hi @FiftysixTimes7, thank you for your contribution! Could you create an issue and add a news entry thanking yourself?
Thanks!

Ok!


add option to set default shell in config

This PR adds an option for a config setting for a default shell. This will still default to bash but allows for more flexible terminal settings without the need to pass args.

Changes look fine

Thank you for the contribution!


docs: readme modified, image added

501

Thanks for your contribution.
However we prefer not to include it as the reference is only part of the 'About' section of the repository.