Unable to deploy a bundle using model.deploy

Hello Team,
In my integration tests, I'm not able to deploy a bundle using ops_test.model.deploy as shown in the snippet below:
with ops_test.model_context(COS_MODEL_NAME):
    await ops_test.model.deploy(  # type: ignore[union-attr]
        entity_url="https://charmhub.io/cos-lite",
        trust=True,
    )

The error I'm getting is:
File "/actions-runner/_work/sdcore-tests/sdcore-tests/tests/integration/fixtures.py", line 90, in deploy_cos_lite
    await ops_test.model.deploy(  # type: ignore[union-attr]
  File "/actions-runner/_work/sdcore-tests/sdcore-tests/.tox/integration/lib/python3.10/site-packages/juju/model.py", line 1748, in deploy
    await handler.fetch_plan(url, charm_origin, overlays=overlays)
  File "/actions-runner/_work/sdcore-tests/sdcore-tests/.tox/integration/lib/python3.10/site-packages/juju/bundle.py", line 302, in fetch_plan
    raise JujuError(self.plan.errors)
juju.errors.JujuError: ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '']

My env is:

Juju 3.1.6
Python Juju lib 3.2.2
pytest-operator 0.29.0
Microk8s 1.27.5 (1.27-strict/stable)

Workaround is of course running deployment using ops_test.run, but I'd rather use a proper way to deploy bundles.
BR,
Bartek

agreed, this is breaking in the integration tests for this plugin itself
https://github.com/charmed-kubernetes/pytest-operator/actions/runs/6582862153?pr=118
@cderici i believe this is an issue with python-libjuju.  Do you agree?

@cderici i believe this is an issue with python-libjuju. Do you agree?

Yeah that output looks very weird. I'm not quite sure if it's the pylibjuju client in particular, but definitely something seems to be going on on the Juju side. I'll try to reproduce this today and see what might be happening 👍

@addyess looks like it might be something else, I was able to deploy with the following settings just fine:
pylibjuju master branch tip (basically the same with 3.2.2), juju 3.1.6 on microk8s 1.27.6
python -m asyncio
asyncio REPL 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Use "await" directly instead of "asyncio.run()".
Type "help", "copyright", "credits" or "license" for more information.
>>> import asyncio
>>> from juju import model;m=model.Model();await m.connect()
>>> await m.deploy(entity_url="https://charmhub.io/cos-lite", trust=True)
[<Application entity_id="alertmanager">, <Application entity_id="loki">, <Application entity_id="prometheus">, <Application entity_id="traefik">, <Application entity_id="catalogue">, <Application entity_id="grafana">]
>>>

But as I was writing this, I just realized I saw that weird error from bundles before, and sure enough, looks like I fixed it in a run-by not so long ago in https://github.com/juju/python-libjuju/pull/949, you can see a similar error message in the description.
So basically this issue will go away when we make a new latest release on libjuju, which should be pretty soon 👍


Add support for Xcelium

Need to allow xcelium and xrun as value for --simulator

are the incisive and xcelium command lines the same wrt svunit requirements?

'irun' also works in Xcelium, but issues a lot of deprecation warnings. It might be the case that the options that are renamed also issue deprecation warnings. The args SVUnit uses might have stayed the same.

I have access to Xcelium. I can do this one, but I wanted to have this issue open as a reminder.

This has already been done a while back.


Fixed some CIS issues on control plane nodes

What this PR does / why we need it:
Following reported CIS fails and warnings been fixed:

[WARN] 1.1.20 Ensure that the Kubernetes PKI certificate file permissions are set to 600 or more restrictive (Manual)
[FAIL] 1.2.5 Ensure that the --kubelet-certificate-authority argument is set as appropriate (Automated)
[FAIL] 1.2.17 Ensure that the --profiling argument is set to false (Automated)
[WARN] 1.2.22 Ensure that the --request-timeout argument is set as appropriate (Manual)
[WARN] 1.2.31 Ensure that the API Server only makes use of Strong Cryptographic Ciphers (Manual)
[WARN] 1.3.1 Ensure that the --terminated-pod-gc-threshold argument is set as appropriate (Manual)
[FAIL] 1.3.2 Ensure that the --profiling argument is set to false (Automated)
[FAIL] 1.4.1 Ensure that the --profiling argument is set to false (Automated)

Which issue(s) this PR fixes:
xref #2792
What type of PR is this?
/kind bug
Does this PR introduce a user-facing change? Then add your Release Note here:

Fixed some CIS issues on control plane nodes

Documentation:

NONE

/retest

/retest

/retest


plugin: using coverpkg when testing results in plugin version mismatch

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.9.2
Does this issue reproduce with the latest release?
yes - 1.9.2 is the latest, stable release
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/vagrant/pluginbugs"
GORACE=""
GOROOT="/usr/local/go-1.9.2"
GOTOOLDIR="/usr/local/go-1.9.2/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build917652042=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
What did you do?
https://github.com/jdef/plugins1/blob/master/README.md
What did you expect to see?

all tests pass successfully

What did you see instead?

the go test invocation using -coverpkg fails with "plugin was built with a different version of package..." message

I have also encountered this problem. Are there any solutions yet?

I encountered the same issue in go version go1.14.2 linux/amd64
Why the guy @ #17928 plan (or pretend) to fix the issue but keep locking out the original issue and the separate issue he created?
The issue has never been addressed since 2016. People who use plugin keep bringing this up.

If he thinks:

I don't think this necessarily needs to work, it is entirely possible to do the plugin work from an external test from a package p_test. But maybe we could use a more helpful error message.

I honestly question he behave as a professional programmer. You don't get paid to fix the error message and pretends everything is OK.

@rickyzhang82 Please be respectful and charitable.  This issue tracker is covered by the Go Code of Conduct at https://golang.org/conduct.  Please do not charge others with being obnoxious or not acting professionally.  Thanks.

The test case was created by @jdef in 2018. It was done professionally from community. I gave him a thumb up for that.
But there is no response from the Golang team for 2 years! People pretend the problem doesn't exist because it may be not in line with the interest of their company. Is this an open source project still driven by a community or a private one dedicated for ONE commercial company?
I don't see the intention of generating the hash for Golang plugin at link time and verifying the hash at run time when loading it from the main process. If you want to prevent dependency version mismatch between the main process and the plugin, you should leave it to the programmers to decide. Not Go compiler. Because Go compiler has no idea about the semantic nor the contract of the dependencies. Instead of solving any practical problem, the hash itself has been a trouble maker for years.
The plugin in Go runtime is being implemented without any proper documentation. There is NO Go runtime specification that I can find online nor any open discussion of what plugin should be expected to behave. One guy from Golang team patch it until he thinks it is necessary. Then the behavior changes all in sudden. This is not acceptable for any programming language.
In addition, missing the unload plugin is another problem I want to chime in. I have never seen a program invoke dlopen to load a dynamic library without dlclose to unload it. An excuse of causing race condition when unloading it is lame. Don't you think this feature is incomplete? You open the door without closing it.
Please start to write a specification of Golang runtime or at least write a plugin specification. This development style by far handicaps Golang to be a mature language.

Is this an open source project still driven by a community or a private one dedicated for ONE commercial company?

It's an open source project.
Patches welcome.


TAP reporter

I request that Catch supports the Test Anything Protocol report output format.

subscribes to receive updates +1, needed for "make check" with GNU automake

ping I'm not entirely sure how good that last commit is. I did, however, make a quick and dirty first pass which (I think) follows the basic standard... If youu think it looks good @philsquared, then I could send a pull request your way. I'm not entirely confident in my commit and C++ abilities.

@frostyfrog: did you ever put in a pull request from that branch?

Now I have >_>

I merged it to master + done some neccessary fixups (documentation pending). Any issues in the implementation should go to a new issue.


refactor: change Passkey based login flow

[x] Remove login API call from frontend for passkey
[x] Add logic to get an authentication token in the verifyAuthentication method

PR: Frontend, Backend


Inconsistent naming

Warning at starting Homebridge.

Thank you for the PR @rikoari, this has been fixed in V2 beta, just need to release it.


Extend Swarm job/deployment to include a broker and become operational

Purpose
Extend Swarm job/deployment to include a broker and become operational with CF.
Motivation
The current Swarm setup is basically only a Swarm without a broker and can't be used/integrated as such into CF, i.e. there are no means out-of-the-box to scale this bosh release horizontally by adding more Docker nodes (orchestrated by Swarm).
Proposal
Add broker support so that the swarm job/deployments can be used with CF.
Changes

Added broker and its configuration to the Swarm bosh-lite example (only)
Extensions and new properties to override defaults that need different values with Swarm
Split Docker nodes from Swarm/broker node; put Swarm and broker together on one node
Have 2 Docker nodes for demonstration purposes
Support usage of elastic IPs
Changes in monit returning only when started (broker, i.e. Unicorn and Swarm)

Note of caution
Changes were done, tested, and put to production only with our own cloud infrastructure which is neither of the supported ones. However, the bosh-lite setup was used to develop the changes and tested. If interested, details can be discussed offline about how e.g. the AWS deployment example could be tweaked. In other words, only the bosh-lite Swarm deployment example includes a broker.
CC
@frodenas @holgerkoser

Thanks @vlerenc! Instead of modifying the actual swarm examples, I have create a new ones targeted specifically to the swam+broker combo, as some users will still prefer to deploy a swarm cluster without the broker.
Commits that override this PR are https://github.com/cf-platform-eng/docker-boshrelease/commit/e1df1e60388b8cc85c0cca98c7969cd3e870cf56 & https://github.com/cf-platform-eng/docker-boshrelease/commit/14cd165c76e9c6f61d85925feeef9fa199141844.


AFHTTPRequestOperationManager times out on Xcode 7.0 Beta/iOS 9

This code prints "Success!" on Xcode 6.3.2/iOS 8.3, but prints "Failure. Error: Error Domain=NSURLErrorDomain Code=-1001 'The request timed out.'" on Xcode 7.0 Beta/ iOS 9 Beta.
NSString *url = @"https://autoconf.zylinc.com:8089/GateKeeper/Auth.getKey?format=hex";
AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
manager.responseSerializer = [[AFHTTPResponseSerializer alloc] init];
[manager GET:url parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) {
NSLog(@"Success!");
} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
NSLog(@"Failure. Error: %@", error);

}];
Here's a link to download the respective workspaces to recreate the issue:
https://www.dropbox.com/sh/3a36ec27ob2dsr5/AAC5cul6l0b2JOnAND4Au-QKa?dl=0
I've also filed a radar at Apple because I'm not sure if it's a simulator problem.
Thanks.
/Allan

This appears to be a problem with your URL. It times out in both Chrome and curling it from the command line.


Add line count check to avoid out of range

IndexOutOfRangeException is thrown in StringLineGroup when calling Iterator.NextChar
https://github.com/xoofx/markdig/blob/8155a1e3d657dbe17c14e5612791b4a7d7f3da68/src/Markdig/Helpers/StringLineGroup.cs#L276
The exception occurs when trying to advance to the next line when the StringLineGroup is at capacity (capacity == line_count)
https://github.com/xoofx/markdig/blob/8155a1e3d657dbe17c14e5612791b4a7d7f3da68/src/Markdig/Helpers/StringLineGroup.cs#L339
This exception is kind of an edge case and does not happen often because LeafBlock and other parts that use the StringLineGroup provision some extra capacity in advance and when capacity is needed it is increased by a factor of 2, so it's not very common that the needed capacity matches the line count.

My bad, I didn't really run all the tests locally.
I did hit this case when I was parsing a yaml front matter which contained exactly 8 lines inside of it. Looking through the code, LeafBlock reserves 4 lines up-front:
https://github.com/xoofx/markdig/blob/8155a1e3d657dbe17c14e5612791b4a7d7f3da68/src/Markdig/Syntax/LeafBlock.cs#L82
And then the StringLineGroup increases the capacity to 8, when using the  CharIterator this bug comes up.
In my case I was building a subclass of TextReader based on the CharIterator (avoiding allocations) to use in some other frameworks.
I've added a sort of end-to-end test in TestYamlFrontMatterExtension, let me know if that is OK or should I add in the RoundTrip tests. Without the fix, the test fails with exception:

Example markdown that breaks the CharIterator:
---
key1: value1
key2: value2
key3: value3
key4: value4
key5: value5
key6: value6
key7: value7
key8: value8
---

# Content

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

48 of 49 (97.96%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 93.323%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Markdig.Tests/TestYamlFrontMatterExtension.cs
15
16
93.75%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
25978

Relevant Lines:
27233

💛  - Coveralls


React: Issues Mega menu options navigation

Detailed description
Issue: The options within the mentioned menus are navigable with tab/shift tab keys instead of Up/Down Arrow keys. This behaviour does not adhere to the aria practices.
Expected:
Either these menus should be made in adherence to ARIA standards. Or an accessible alternate should be given.
Below is the reference link for aria 1.1 examples. Note: We recommend the second approach.

Navigation Menu bar Example | WAI-ARIA Authoring Practices 1.1
https://www.w3.org/TR/wai-aria-practices/examples/menubar/menubar-1/menubar-1.html
Example Disclosure for Navigation Menus | WAI-ARIA Authoring Practices 1.1
https://www.w3.org/TR/wai-aria-practices/examples/disclosure/disclosure-navigation.html

Additional information

Looking at the second approach listed and recommended, it does seem like the up and down arrow key navigation is optional according to the aria practices link.
Example Disclosure for Navigation Menus | WAI-ARIA Authoring Practices 1.1
https://www.w3.org/TR/wai-aria-practices/examples/disclosure/disclosure-navigation.html

Right - I think we can basically choose one vs. another, and Carbon core UI shell takes the tab key approach. Another pattern is useful when there are lots of nav items in the nav group; e.g. When there are lots of radio buttons in a radio group and user wants to navigate from radio group to what comes after the radio group, having to hit multiple tab keys within radio box is cumbersome, and here is the pattern to mitigate such problem. However in mega menu case, I think user can simply hit ESC key to go out of mega menu.

After conversation with QA team, it seems what is needed is to remove the "menu" role from the megamenu


Multiple errors Module not found: Error: Can't resolve path, buffer, stream during upgrade to react-scripts 5.0.0

I am using react 17.0.2 with npm 7.14.0 and node 14.18.2 and try to upgrade to react-scripts 5.0.0.
I am using shpjs content-disposition jszip safe-buffer etc
When I run npm start after upgrading to react-scripts 5.0.0 I get:
Compiled with problems:X

ERROR in ./node_modules/content-disposition/index.js 19:15-39

Module not found: Error: Can't resolve 'path' in '/home/kboul/Documents/Apps/earthnetviewer/esa_react/node_modules/content-disposition'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
	- add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
	- install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
	resolve.fallback: { "path": false }

ERROR in ./node_modules/jszip/lib/readable-stream-browser.js 9:0-34

Module not found: Error: Can't resolve 'stream' in '/home/kboul/Documents/Apps/earthnetviewer/esa_react/node_modules/jszip/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
	- add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
	- install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
	resolve.fallback: { "stream": false }

ERROR in ./node_modules/safe-buffer/index.js 2:13-30

Module not found: Error: Can't resolve 'buffer' in '/home/kboul/Documents/Apps/earthnetviewer/esa_react/node_modules/safe-buffer'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
	- add a fallback 'resolve.fallback: { "buffer": require.resolve("buffer/") }'
	- install 'buffer'
If you don't want to include a polyfill, you can use an empty module like this:
	resolve.fallback: { "buffer": false }

ERROR in ./node_modules/shpjs/lib/binaryajax-browser.js 7:15-39

Module not found: Error: Can't resolve 'buffer' in '/home/kboul/Documents/Apps/earthnetviewer/esa_react/node_modules/shpjs/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
	- add a fallback 'resolve.fallback: { "buffer": require.resolve("buffer/") }'
	- install 'buffer'
If you don't want to include a polyfill, you can use an empty module like this:
	resolve.fallback: { "buffer": false }

ERROR in ./node_modules/shpjs/lib/binaryajax-fetch.js 7:15-39

Module not found: Error: Can't resolve 'buffer' in '/home/kboul/Documents/Apps/earthnetviewer/esa_react/node_modules/shpjs/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
	- add a fallback 'resolve.fallback: { "buffer": require.resolve("buffer/") }'
	- install 'buffer'
If you don't want to include a polyfill, you can use an empty module like this:
	resolve.fallback: { "buffer": false }

ERROR in ./node_modules/shpjs/lib/index.js 21:15-39

Module not found: Error: Can't resolve 'buffer' in '/home/kboul/Documents/Apps/earthnetviewer/esa_react/node_modules/shpjs/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
	- add a fallback 'resolve.fallback: { "buffer": require.resolve("buffer/") }'
	- install 'buffer'
If you don't want to include a polyfill, you can use an empty module like this:
	resolve.fallback: { "buffer": false }

When using react-scripts 4.0.3 I was getting no errors at all.
To resolve these errors I installed each of the above-mentioned packages individually although I do not find the reason to install external dependencies in my project that are being used from the packages I use, I mean they should be alreay available there, created a webpack.config.js and included there:
module.exports = {
  resolve: {
    fallback: { path: false, buffer: false, stream: false }
  }
};

as I did not care including pollyfils and supporting old browsers.
I also tried this in case I wanted to support them.
module.exports = {
  resolve: {
    fallback: {
      buffer: require.resolve('buffer/'),
      path: require.resolve('path-browserify'),
      stream: require.resolve('stream-browserify')
    }
  }
};

I removed package-lock.json and node_modules hit npm i, npm start and I got this:
Uncaught ReferenceError: process is not defined
    at Object../node_modules/path/path.js (bundle.js:sourcemap:674629:17)
    at Object.options.factory (bundle.js:sourcemap:1195967:31)
    at __webpack_require__ (bundle.js:sourcemap:1195348:33)
    at fn (bundle.js:sourcemap:1195638:21)
    at Object../node_modules/content-disposition/index.js (bundle.js:sourcemap:543216:17)
    at Object.options.factory (bundle.js:sourcemap:1195967:31)
    at __webpack_require__ (bundle.js:sourcemap:1195348:33)
    at fn (bundle.js:sourcemap:1195638:21)
    at Module../src/utils/files.js (bundle.js:sourcemap:235901:77)
    at Module.options.factory (bundle.js:sourcemap:1195967:31)

have tried all the possible solutions that can be found on the net but with no luck including this thread and this one
I have also installed process library and declare it in the webpack. Still the same error. How do I resolve this? Any recommendations are welcome.
Stackoverflow link: https://stackoverflow.com/questions/71144674/referenceerror-process-is-not-defined-at-object-node-modules-path-path-js-bu

with same problem

some problem here

Webpack 5 has a bunch of breaking changes, as with any major release.
One of these changes is described by that error message:
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
	- add a fallback 'resolve.fallback: { "buffer": require.resolve("buffer/") }'
	- install 'buffer'
If you don't want to include a polyfill, you can use an empty module like this:
	resolve.fallback: { "buffer": false }

So you must do as the error messages says and both configure webpack to use a polyfill for each node core module (it suggests the polyfill webpack 4 uses), and install the polyfill. Of course, you can't change the react-scripts webpack config, so you're stuck.
The best option here is for CRA to support you extending the webpack config, for so many reasons, but the probable best option (again, for CRA) is to add every polyfill and configure them all to be used, to support all the existing NPM packages.

I'm using react-app-rewired temporarily, hoping this gets sorted out. Allows extension of webpack.config without ejecting.
yarn add -D assert path https-browserify os os-browserify stream-browserify stream-http react-app-rewired process

config.overrides.js
module.exports = function override (config, env) {
  config.resolve.fallback = Object.assign(config.resolve.fallback || {}, {
    crypto: require.resolve('crypto-browserify'),
    stream: require.resolve('stream-browserify'),
    assert: require.resolve('assert'),
    http: require.resolve('stream-http'),
    https: require.resolve('https-browserify'),
    os: require.resolve('os-browserify'),
    url: require.resolve('url')
  })
  config.plugins = (config.plugins || []).concat([
    new webpack.ProvidePlugin({
      process: 'process/browser',
      Buffer: ['buffer', 'Buffer']
    })
  ])
  return config
}

What is the correct fix to this? Should it happen here or should it be a change to webpack such as adding a flag to enable the previous behavior?
If the change was going to be to cra one option for the fallbacks would be to have the webpack config look at the installed modules and add the fallbacks as needed.
If no one is working on this I am willing to put some time into fixing this, but I personally don't know which would be the best approach.

I am also facing the same issue. Any suggestions on the best way to resolve this?

I am also facing the same issue. Any suggestions on the best way to resolve this?

Using react-app-rewired works well as mentioned above works well. Before I started doing that I was using patch package to patch the webpack config. Ejecting is also an option, but I have avoided doing this personally.

@floomby
Thank you. I am using react-app-rewired and it fixes this issue.

I was running into this exact issue too. I finally figured it out.
My app was using the popular npm package jsonwebtoken. This library has dependencies on Node.js core modules. I was only using this library to decode JWT's, so I replaced it with the package npm-decode which has no dependencies. Everything seems to work now.
If you're not using the jsonwebtoken library, I recommend going through any other packages your app has installed and figuring out which one(s) are using Node.js core modules.

james-ingold Using react-app rewired is really messy and you end up with installing a ton of dependencies you do not need as well as receiving various errors such as
[eslint] Plugin "react" was conflicted between ".eslintrc" and "BaseConfig » /home/kboul/Documents/Apps/earthnetviewer/esa_react/node_modules/react-scripts/node_modules/eslint-config-react-app/base.js". I did not manage to make my app run without receiving any error. Actually it keeps crashing as it is a big app with many dependencies.
It is ridiculous that after so much time a single library contributor has not responded or giving any hint or possible solution to the problem.
The correct solution is what dcporter44 describes, however, you cannot always afford to change dozens files of code that use libraries which up until recently were playing well with webpack 4.

Easy way to overcome it:
yarn add buffer
Add the following to index.tsx
import { Buffer } from 'buffer';
global.Buffer = Buffer;

same problem here

Same issue here

Same problem here

same problem on my end


Set up travis-ci integration

Set up https://travis-ci.org/ripmeapp/ripme to replace https://travis-ci.org/4pr0n/ripme since we're moving to a new home (here).

This was done a few days ago


lava in caves not aligning.

I think it would be worth filling all caves below y=13 with lava to not have to deal with this anymore.

mmmmmm
this is not a terrible idea

https://github.com/IrisDimensions/overworld/issues/75

That's not a duplicate
One is for the cave lava and the other is for the water&lava columns. the screenshots looking alike is on accident. If you agree, reopen please.


No license file

Absence of an explicit license file causes webjar deployment script to fail. Please consider adding one.

Thanks for the report and sorry for the late answer. version 4.0.4 has landed with an added license file


What if there's no DOI?

@Guillawme - thank you for sharing (as a follow-up from
https://github.com/willsALMANJ/Zutilo/issues/129#).
My (cursory) understanding is that not all items have DOIs. So you might want something like this:
if ('DOI' in item) {
  if (item.DOI) {
        var doiLink = "https://doi.org/" + item.DOI + "\n";
        Zotero.write(doiLink);
  }
}

Very good point, thank you. I started with the very simple export translator template from the Zotero documentation, without thinking about corner cases (very few items in my Zotero library don't have a DOI).
I will fix it soon.

Related to this issue, I just saw that all item types will soon have a DOI field: https://twitter.com/zotero/status/1413209362206806017
The fix to this issue is still relevant to handle an empty DOI field though, so I won't modify the code.


Schedule Name Alt Text Expansion

Summary
Added an alt text pop up that displays the full names of schedules who's names were truncated.
Key features:

Tooltip only appears for truncated schedule names
Non-interactive tooltip that doesn't block clicking on other schedule items
200ms delay to prevent unwanted popups during quick mouse movements
Maintains existing button styling and interaction behavior

Test Plan

Create a schedule with a long name
Verify the name is truncated in the dropdown menu
Hover over the truncated name to confirm the tooltip appears showing the full name

Issues
Closes #1072

I have made the changes as requested, let me know if you need anything to be changed.
As of right now the tooltip only shows if the user hovers over the text itself and not the whole button. Not sure if this is a change you would like to see or if how it works currently is perfect.

I pushed new changes, let me know if these resolved the issues you had in mind!


I can't manage I do add a side menu icon and set an eventlistener to it

I need to finish my app til 31 of August, and at the moment my only problem is that I can't create a menu icon that opened my drawer.
I have an image (menu.png) and I want to put it no the actionbar on the left side. Like in your image.
![actionbar]
(https://github.com/ricardoalcocer/actionbarextras/raw/master/documentation/abx_01.png)
How can I do it to integrate with viezel/NappDrawer? Please I only need a quick example. Please @ricardoalcocer I really appreciate your help...

You could use NappDrawer, but the correct way would be like this: https://github.com/manumaticx/Ti.DrawerLayout-Demo-Alloy-App/blob/master/README.md

If you're also targeting iOS, you might want to consider this widget: https://github.com/FokkeZB/nl.fokkezb.drawer/blob/master/README.md

Hi @invaderhd
you could do something like this
var abx = require('com.alcoapps.actionbarextras');
var NappDrawerModule = require('dk.napp.drawer');
var win = NappDrawerModule.createDrawer({
    // ...
});

win.addEventListener('open',function(e){
  var activity = win.getActivity();
  if (activity){
    var actionbar = activity.actionBar;
    actionbar.displayHomeAsUp = true;
    actionbar.onHomeIconItemSelected = function(){ mainWindow.toggleLeftWindow(); };
    abx.setHomeAsUpIcon("/images/menu.png");
  }
});

@ricardoalcocer I'm using nl.fokkezb.drawer, when I start this project I choose the nl.fokkezb.drawer because I'm target android and iOS and I thought that will be simple to use the same module for both platforms.
@manumaticx with your code I get the icon but the onHomeIconItemSelected is never fired. I already have done this but don't manage any solution to fire a function when the home icon is tapped. Did you have other idea?

@invaderhd onHomeIconItemSelected works for. Just tested with 4.1.0.GA and the above code.

@invaderhd I hope you met your deadline ;)
Can we close this issue?

I don't manage put it to work but I use the sdk 3.5.1 to send the first version of the app then I will remake somethings and try to fix the issue


When scanning an inscription:  no such column: inscription_id

I get this when I try scanning any inscription:
Mar 08 05:06:36.530 INFO Basing ordinals evaluation on database /media/ssd/ordhook/ordhook/hord.sqlite
Inscription 3700db179a781db483487f9701c74cc333cd41798de250d07978bb9b4494d886i0 revealed at block #793345 (inscription_number 11108176, ordinal_number<PHONE_NUMBER>7)
Mar 08 05:06:36.533 WARN unable to prepare query SELECT offset, outpoint_to_watch, tx_index, block_height FROM locations WHERE inscription_id = ? ORDER BY block_height ASC, tx_index ASC: no such column: inscription_id
Mar 08 05:06:41.533 WARN unable to prepare query SELECT offset, outpoint_to_watch, tx_index, block_height FROM locations WHERE inscription_id = ? ORDER BY block_height ASC, tx_index ASC: no such column: inscription_id
Mar 08 05:06:46.533 WARN unable to prepare query SELECT offset, outpoint_to_watch, tx_index, block_height FROM locations WHERE inscription_id = ? ORDER BY block_height ASC, tx_index ASC: no such column: inscription_id

Hey @tegaget! I think the version of ordhook is outdated, you'll need to pull the latest changes and recompile ordhook, or use a more recent version of the docker image.
Feel free to re-open if the instructions above are not fixing your issues.

I have compiled the last version(2.1.0) and the version before it(2.0.1).  However, when I compile and install it always says version 2.0.0.  I have cloned the rep and sure I am compiling correct version.
How is the docker image related to this compilation?   I just compile the rep and run.
Thanks.

I viewed the snapshots on sqlite you have and those do not seem to have the column inscription id that ordhook is trying to find.  the downloaded snapshot https://archive.hiro.so/mainnet/ordhook/mainnet-ordhook-sqlite-latest
seems incorrect table structure for the ordhook.

I have same error, why this issue is closed?
@tegaget

@liushmh I have tested this setup a few times and interacted with multiple developers using this setup, everything seems functional.
I'd recommend removing your current install, recloning the repo, making sure that you're pulling the latest version of the code + make sure that you're not using this new version with outdated dbs.


[Question] How should I judge whether the HTTP request exception is caused by panic? ?

在进行错误统一处理时，无法得知 error 是否为 panic 转换而来，且没有可以注册自定义程序处理 panic 引发的异常

参考：
https://github.com/gogf/gf/blob/243fe73c57de8bfc12ae1f13266ee52206e737a6/net/ghttp/ghttp_request_middleware.go#L50
https://github.com/gogf/gf/blob/243fe73c57de8bfc12ae1f13266ee52206e737a6/util/gutil/gutil.go#L46

1. What version of Go and system type/arch are you using?

2. What version of GoFrame are you using?

3. Can this issue be re-produced with the latest release?
4. What did you do?

5. What did you expect to see?
6. What did you see instead?

r.GetError() != nil && r.Response.BufferLength() > 0 可以尝试下组合判断下.这里好像是缺少错误类型的区分.

#2860  close #2852


Add support for user-defined server routes

This PR proposes to address #131, in order that Dash for R users may be able to create and modify routes as is currently possible in Dash for Python, thanks to Flask's customizable routing. Fiery supports routing "plugins", but it can be complicated to use them, or modify routes that already exist (see below). Three new methods are proposed in Dash for R:

server_route: this method registers a new URL rule, as described by its methods, url and handler function
show_routes: this method reports all the registered user-defined routes, or displays an informational message that none currently exist
remove_routes: this method allows the user to remove one or more routes, and will produce an error if one or more of those specified do not exist

Since Dash for R lacks the support for decorator methods that Python provides, the handler argument allows matching a handler function with a URL to be routed. In brief, the server_route method registers the URL routing information via self$server$set_data("user-routes"). Upon invoking app$run_server, Dash checks whether any user-routes are defined; if one or more routes exists, a plugin is generated on the fly, to insert all the routes in the order they were defined. Finally, the plugin is attached to the running server object. This process is repeated when the server shuts down/is aborted and restarted. The routing information remains intact, as it was stored via set_data.
The proposed changes are a compromise between making the code succinct and continuing to take advantage of routr features, while making it easier for users to add/remove routes and find documentation for this feature generally.

Previous interface
... #code specifying packages, layout, callbacks omitted

plugin <- list(
  on_attach = function(server) {
    router <- server$plugins$request_routr
    route <- routr::Route$new()
    redirect_getting_started <- function(request, response, keys, ...) {
      response$status <- 301L
      response$set_header('Location', '/layout')
      TRUE
    }
    redirect_state <- function(request, response, keys, ...) {
      response$status <- 301L
      response$set_header('Location', '/basic-callbacks')
      TRUE
    }
    route$add_handler('get', '/getting-started', redirect_getting_started)
    route$add_handler('get', '/getting-started-part-2', redirect_state)
    route$add_handler('get', '/state', redirect_state)
    router$add_route(route, "redirects")
  },
  name = 'redirect_urls',
  require = 'request_routr'
)

app$server$attach(plugin)
app$run_server()

Proposed interface
... #code specifying packages, layout, callbacks omitted

redirect_getting_started <- function(request, response, keys, ...) {
  response$status <- 301L
  response$set_header('Location', '/layout')
  TRUE
}

redirect_state <- function(request, response, keys, ...) {
  response$status <- 301L
  response$set_header('Location', '/basic-callbacks')
  TRUE
}

app$server_route("/getting-started", redirect_getting_started)
app$server_route("/getting-started-part-2", redirect_state)
app$server_route("/state", redirect_state)
app$run_server()

To do:

[ ] tests to validate adding & removing routes, resulting behaviour, redirects
[ ] ensure that server_route, show_routes, remove_routes are linked via the same R help page, and that sufficient documentation and examples exist

This looks great - much nicer than the existing interface. I'm not sure about the utility of show_routes and remove_routes vs just documenting (or exposing some other way) app$server$get_data("user-routes") and letting users inspect or modify it directly.
Two other comments I already mentioned to @rpkyle on Slack:

We may want to document this using a more concise anonymous function syntax:

app$server_route("/getting-started", function(request, response, keys, ...) {
  response$status <- 301L
  response$set_header('Location', '/layout')
  TRUE
})

Redirects seem to be a primary use case here, so we may as well make them even easier:

app$redirect("/getting-started", "/layout")

I notice in dash-docs we also have some parametrized redirects - in as far as these are simply replacing the head of the path and keeping the tail intact there may be some syntax we could use like:
app$redirect("/getting-started/*", "/layout/*")

For more complex situations I could imagine a solution where the output url is a function of the input path pieces, but that might get more complicated than it's worth - at that point perhaps we just document how to do this with app$server_route.


Working with Tabluar Editor causes the creation of display folders "format string measures" within Power BI Desktop

I'm taking this bug report from the Power BI Issues site, not sure if it is a problem is within Power BI Desktop or Tabular Editor, but the problem presents itself when using the combination of both tools.
https://community.powerbi.com/t5/Issues/Working-with-tabluar-editor-cause-creation-of-display-folders/idc-p/1356549#M60640

Hello, I worked with the new function "External Tools" / "Tabluar Editor" to create calculation groups within my model - following a blog post of SQLBI . Afterwards I have in EACH table containing DAX measures a hidden display folder called "Format String Measures", which I cannot control (neither from PBI desktop nor from Tabluar Editor). The real problem is a side effect, which is, that I'm loosing the control over the measure formatting in PBI Desktop (Menu "Measure tools" / "Format" field is greyed out).
So what did I do wrong? How can I again format my measures in PBI Desktop?

FYI I'm not the original poster of the Power BI Desktop issue report, but I'm experiencing the same issue.

Same issue for me. Image below. The format cannot be modified for any measure in the model. Thanks for the great tool @otykier, first real bug for me after months of use.

Is this still an issue with the November release of Power BI Desktop?

Is this still an issue with the November release of Power BI Desktop?

I'm noticing the same issue, also within the Power BI november release. Once a measure's formatting has been changed in tabular editor, it can not again be changed in Power BI. Is this intended behaviour?

@Rickmaurinus are you talking about the display folders that appear? Please see Marco Russo's answer in that thread.
I'm closing this issue here, as in any case, setting the DisplayFolder property using any external tool should be a supported operation. In other words, this is an issue with Power BI Desktop handling of format strings assigned through external tools.

@Rickmaurinus are you talking about the display folders that appear? Please see Marco Russo's answer in that thread.
I'm closing this issue here, as in any case, setting the DisplayFolder property using any external tool should be a supported operation. In other words, this is an issue with Power BI Desktop handling of format strings assigned through external tools.

Hey @otykier ,
I'm not referring to the Display folders. I'm referring to when a measure is formatted using tabular editor, it is saved to the model. Then when one goes back to the Power BI model, ANY other measure that was not formatted by tabular editor, can not be formatted anymore using the Power BI interface. Is this expected behaviour?

Did you happen to add a calculation group to your model? This can cause ALL measures' data types to decay to "Variant" (you can check the data types of measures using Tabular Editor, see #566). Once a measure is of type "Variant", its formatting options in PBI Desktop will be very limited, because Desktop treats such a measure as text, which is a bug (in Desktop). To work around this, you can get rid of the Format annotation as shown in #566 or you can switch to the Diagram View in PBI Desktop, and change the format of the measure to something other than Text.

Did you happen to add a calculation group to your model? This can cause ALL measures' data types to decay to "Variant" (you can check the data types of measures using Tabular Editor, see #566). Once a measure is of type "Variant", its formatting options in PBI Desktop will be very limited, because Desktop treats such a measure as text, which is a bug (in Desktop). To work around this, you can get rid of the Format annotation as shown in #566 or you can switch to the Diagram View in PBI Desktop, and change the format of the measure to something other than Text.

Yep. I do have the calculation groups. Thanks for clarifying. I will try your workaround.
With regards,
Rick de Groot


Moniker schema versioning

As the languages evolve and/or exporter defects are fixed, we may end up in situations where we want to revise the schema used for monikers. LSIF exporters can trivially achieve that by appending a version number to Moniker.scheme value.
Changing the moniker schema would render old LSIF dumps incompatible (unlinkable) with newer LSIF dumps though.
Should then the moniker schema version be a high level concept that is advertised in LSIF metadata so tools can detect mismatches more effectively?
(Note that #10 discussed similar but actually different question about embedding the source code package version in the moniker.)

That is an interesting question. Would that version be semantic versioned (e.g. 1.1 still ok with 1.2 ?)

This is still something we should tackle before 1.0.


Disable request for volume sharing in Windows 10

Let's consider a simple test on Windows 10 with testcontainers-1.6.0 which looks like the following:
public class FoobarTest {

	@ClassRule
	public static GenericContainer<?> broker = new GenericContainer<>("ubuntu:latest").withExposedPorts(80);

	@Test
	public void returnsRealFoo() {
		assertTrue(true);
	}
}

Then on test execution, Docker displays a pop up and asks for granting access to disk C:.
Why? How can I disable it?

Are you really using Docker Toolbox or are you using Docker for Windows?
At least Docker for Windows will automatically ask for this permission, once the Docker daemon tries to access something on the Windows Host filesystem.
Testcontainers runs some pre-flight checks (like checking if files can be mounted), so this will lead this popup.
Here you can see how to disable the preflight checks:
https://www.testcontainers.org/usage/properties.html

The setting does not seem to activate (tried both class path - Eclipse project root - and the user home dir; there was even a file created by the plugin; adding the switch there did not work out either.)

@bsideup I think we need to tweak how the Ryuk container gets started up according to this setting. Unfortunately the mount is set up regardless of whether it's going to be tested at present:
new Bind(mountableFile.getResolvedPath(), new Volume("/dummy"), AccessMode.ro)

@rnorth yes, already on my list

Should be fixed by this PR:
https://github.com/testcontainers/testcontainers-java/pull/604

I'll try to verify this on Windows 10 (@1605200517 or would you like to check with a current jitpack snapshot release?)

go on, I am yet new to jitpack :)

@kiview  so I tried the Jitpack example but tests fail there, added another issue.
https://github.com/testcontainers/testcontainers-java-examples/issues/12

Hey @1605200517, can you please clarify? Is it working for you now or not? :wink:

yes, it works! thanks


KBS URI

As https://github.com/confidential-containers/attestation-agent/issues/128, this PR includes the following

Introduce KBS URI scheme
implement cc-kbc's API
implement sample-kbc's API
implement offline-fs-kbc's API
implement offline-sev-kbc's API
implement online-sev-kbc's API
implement eaa-kbc's API
document about the KBS URI

Please notice that all the <kbs-addr> field in a kbs uri now will be ignored, all kbc will use its own member kbs_url instead.
Also, this PR modifies the gRPC API of get_resource, as duplicated information is carried in the kbs uri

@jialez0 Thanks a lot for deep diving... I will update the keyprovider and related documents in the next PR. For sample-key provider, there might be two ways:

give the new key provider a parameter to determine whether to use the hardcoded key of sample kbc
deprecate it

I prefer way 2, some related work has already been done in image-rs https://github.com/confidential-containers/image-rs/issues/85 . And we can get rid of those encrypted images using sample-kbc then (if any). Finally we can mark sample kbc deprecated in code and give a compiling warning or directly deleted the related code

Hi @stevenhorsman @liudalibj this pr will influence the behavior of offline-kbs in resource indexing and we will need to remake some test images for kata-cc test. Please take a look if convenient to make sure I did not do anything stupid : )

Hi @fitzthum @jialez0 I've changed the name ResourceId into ResourceUri. Please take another look to make sure I didnot do anything wrong. Thanks!

Note: To be compatible with this PR, image-rs may need some updates and its existing resource acquisition format will no longer be available, right? @Xynnn007

Yes, we need to remove the hardcodes in image-rs and give a configuration.

There are some conflicts in the code for ttrpc things.. let me finish some tiny fixes and then rebase the code.

Yes, we need to remove the hardcodes in image-rs and give a configuration of image-rs for the resources needed. This work should be delayed after 0.4.0 is released. Let's perfect the system for 0.5.0 : )

@Xynnn007 Sounds great! Since the changes in this PR will affect the code availability of image-rs and sample keyprovider, we should wait for the above two adaptations are ready, then merge the PR of AA, image-rs and sample keyprovider at the same time, so that we can ensure that the existing upstream code is available as much as possible.
cc @fitzthum

@Xynnn007 In view of the fact that the KBS address part of the KBS URI is not actually consumed at present, we actually use the KBS address specified in the aa_kbc_params field in the config of kata-agent. Therefore, in the current version, I suggest that we temporarily directly set the format of the KBS URI to:
kbs:///<repository>/<type>/<tag>

This can avoid confusion for users now.

@Xynnn007 In view of the fact that the KBS address part of the KBS URI is not actually consumed at present, we actually use the KBS address specified in the aa_kbc_params field in the config of kata-agent. Therefore, in the current version, I suggest that we temporarily directly set the format of the KBS URI to:
kbs:///<repository>/<type>/<tag>

This can avoid confusion for users now.

Yea, I have no preference for either option kbs:///<repository>/<type>/<tag> or kbs://<kbs-addr>/<repository>/<type>/<tag>. I just want to say that <kbs-addr> could be used in future potentially to distinguish resources from different KBS. Nowkbs:///<repository>/<type>/<tag> presentation may in the following scenarios

Test uris in kbc_modules::tests::ResourcePath
Documents
Guide for CoCo Key Provider

Do they all need change?

Nowkbs:///// presentation may influence the following scenarios

Test uris in kbc_modules::tests::ResourcePath
Documents
Guide for CoCo Key Provider
Does it look good?

@Xynnn007 That's OK. In fact, whether we use example.org or null, they will not be actually read under the current system. I think it would be better to use null values at present, so I suggest to implement this modification.
Meanwhile, in coco keyprovider and image-rs, where example.org is used, I think null values can be used instead


Scrapland Remastered - Crash on USD Capture

Describe the bug

On attempting to capture a USD scene, Bridge crashes.  This affects scene capture but assets-only capture is unaffected.
Remix ver.: DXVK 65dab8b Debug-Optimized, Bridge 5aa73bc Debug-Optimized
GPU: Nvidia Geforce RTX 3080
Driver: Nvidia Studio 536.67
Version: GOG

Attach files!

ScraplandRTXSaves.zip

Extract the contents to User<user>\Documents\MercurySteam\Scrapland\

gameconf.zip

Includes conf files to place inside the Scrapland Remastered folder.

USDDump.zip

Dump generated on Bridge crash.

Installation instructions (to be replaced with link to repo):

Install game from GOG

Steam will work as well but that version has anti-debug protection in place.

Place the contents of gameconf.zip inside Scrapland Remastered
Place the contents of ScraplandRTXSaves.zip inside Documents/MercurySteam/Scrapland (Create if it doesn't exist)

If using the Steam version, run the game at least once then replace the contents of the subfolder with an ID string for a name
Verify that Scrap.cfg is read-only

Rename the "Video" folder
Install DXVK and Bridge Remix to Scrapland Remastered/bin
Open game (Bin/Scrap.exe) using a new shortcut with the launch arguments  -console -debug:10 -enginedebuglevel:10

When using the debug console shortcut all game info will be dumped to log.html and logAI.html.

To Reproduce
Steps to reproduce the behavior:

Click on "Single Player," then "Load Game" and load the map "Police Station" (any Load Game save will work-- see above instructions with included saves)
Allow the game to load and let the metro arrival animation finish
Open the Remix menu, go to Enhancements, disable the Enable Enhanced Assets box, and capture a USD scene
Observe Bridge Crash

Expected behavior

The USD Capture should show a progress bar, run through USD capture functions, and dump a usable USD scene file as well as USD asset files.

Similarly to my response on Issue #262 , can you please repro this issue with a release build of rtx-remix, and disabling the  -console -debug:10 -enginedebuglevel:10 arguments if possible? Thank you!

The following crash info was captured without the extra debug launch arguments (confirmed as no console opened up alongside the game window).  This ZIP contains an archive of walking around and loading a few environments before disabling all enhancements and attempting a USD capture.  Please note that unlike the original Issue, this was done using the latest RTX Remix 0.3.0 Release binaries.
USDCrash030Release.zip

Hi @anchorlightforge , since the release of 0.3, there's been a change that fixes a capture crash (https://github.com/NVIDIAGameWorks/dxvk-remix/commit/940d912094f42509731b259b9e39b3fee3498b6f) and I'm curious to see if that change impacts or improves this crash issue.
Can you please try to reproduce this crash with a build of dxvk-remix that contains that change (https://github.com/NVIDIAGameWorks/dxvk-remix/actions/runs/6592590891 or sooner)?


[graphql-request] expose operationType, allows for custom caching possibilities via middleware

Is your feature request related to a problem? Please describe.

current implementation doesn't allow graphql-request middleware to be aware of the operationType.
Having this property exposed would cause zero overhead, whilst allowing for much more custom application specific caching possibilities.
Describe the solution you'd like

I'd like for operationType to be passed to SdkFunctionWrapper.

Hi @Diizzayy,
I can see that your PR is now closed, is this subject still pending?

It is, I'm not sure why the PR was closed but the operationType can be very easily exposed without having any side effects.

Released in<EMAIL_ADDRESS>Thank you for your contribution!


bug: goreleaser workflow fails

https://github.com/NibiruChain/pricefeeder/actions/runs/5602617478/job/15177590395

Fixed in https://github.com/NibiruChain/pricefeeder/commit/f08d1e1ea464263c547d4c9439f2d06618897f6b


MongoDBAtlasVectorSearch: Make It Work with Existing MongoDB Collection (rather than having to create a new one)

Feature request
When using MongoDBAtlasVectorSearch, the user is limited to only first populate a MongoDB collection of documents using either add_document or add_text methods. Those methods create documents on the given collection using a fixed structure. What if the user already has a collection on MongoDB with custom structure (still containing the field 'embedding' which is used to measure similarity)? This is not currently supported and the user would have to implement a wrapper around MongoDBAtlasVectorSearch to achieve that.
For instance the following code won't work (docs will be empty):
from langchain.vectorstores import MongoDBAtlasVectorSearch
from langchain.embeddings import HuggingFaceEmbeddings

embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
index_name = "index_name_from_MongoDB"

docsearch = MongoDBAtlasVectorSearch(embeddings, collection=collection, index_name=index_name)

query = "What did the president say about Ketanji Brown Jackson"
docs = docsearch.similarity_search(query)

print(docs[0].page_content)

This is because the collection is not populated using any of the original methods of MongoDBAtlasVectorSearch, e.g. add_document or add_text, hence the structure of the collection might be different (containing additional fields and missing the 'text' field for example).

I was able to search in a collection with a custom structure using:
vectorstore = MongoDBAtlasVectorSearch(collection, embeddings, text_key="new_text", embedding_key="new_emb")
I also manually populated the document and the search was successful. I believe the functionality you are looking for already exists and is working as intended.


add ssim loss, fix path field

Codecov Report

Merging #46 (76a968a) into main (204dd90) will decrease coverage by 0.05%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
- Coverage   71.64%   71.58%   -0.06%
==========================================
  Files          71       71
  Lines        4786     4790       +4
  Branches     1045     1045
==========================================
  Hits         3429     3429
- Misses       1037     1040       +3
- Partials      320      321       +1

Flag
Coverage Δ

unittests
71.58% <71.42%> (-0.04%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

meddlr/evaluation/recon_evaluation.py
74.87% <50.00%> (-0.62%)
:arrow_down:

meddlr/evaluation/evaluator.py
83.16% <100.00%> (ø)

meddlr/evaluation/testing.py
60.46% <100.00%> (+0.30%)
:arrow_up:

meddlr/metrics/functional/image.py
78.57% <0.00%> (-1.30%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 204dd90...76a968a. Read the comment docs.


Keep GitHub Actions up to date with GitHub's Dependabot

Like Qiskit/qiskit#11602 to fix warnings discussed at https://github.com/Qiskit/qiskit/pull/11741#issuecomment-1932791262

Generated:

44


Setup the filter widget if no scpopes exist

This makes it possible to dynamically extend filter scopes even if no scopes exist.

This is related to our issue:
ref. https://github.com/twigphp/Twig/issues/4090
I was hoping I'd see a reference to a PR that fixed this BC break in the issue, no such luck...

Also related:
ref. https://github.com/twigphp/Twig/issues/4090

I think this is the one that restored the previous behavior:
ref. https://github.com/twigphp/Twig/commit/80c15749f9059f9e336524d0dc52e7eb728bcc74


Transaction details regarding baker are still referring to GTU instead of CCD

Bug Description
Transaction details regarding baker are still referring to GTU instead of CCD. This is the case for block rewards, baking rewards, stake amounts.
Steps to Reproduce

Create account and ID through Mobile Wallet.
Add baker through the command line tool.
Try to re-stake.
Observe rewards details as they appear.

Expected Result
Transaction details should refer to CCD amounts.
Actual Result
Transaction details are referring to GTU amounts.
Versions

Software Version: Stagenet 1.2.6
OS: Android 10
Browser
Mobile device, if applicable: Samsung Galaxy J6

Attachments:
Update baker stakes:

Block rewards:

Baker rewards:

This is a wallet-proxy/backend provided string. Fixed in this PR https://github.com/Concordium/concordium-wallet-proxy/pull/38/files

The fix was verified with Mobile Wallet 1.2.6 on stagenet and testnet. Labels that were showed in the transaction details were correct.


Machine Learning Project

I have added a Machine Learning Project i.e. a Principal Component Analysis. It deals with the basics of unsupervised learning algorithm using Principal Component Analysis.(PCA) for dimensional reducing purposes.

Hey sorry for the delay, as the repo structure is going to be changed, so just wait and hold on very soon we will be launching the new repo with a slightly different structure.
But hey I like the PCA notebook 👍


[Help request] Resolve model definition from local folder <-- Can't get this to work for Telemetry.

Describe the bug
✔ Resolve model definition from local folder <-- Can't get this to work for Telemetry.
✔ Resolve model definition from model repo
✔ Resolve public model repo
✔ Resolve from configurable model repo
❌ Resolve custom repo
🚫 Resolve from connected device is no longer supported
✔ Configure the order to resolve models
To Reproduce
Steps to reproduce the behavior:

Running a PnPBridge with the Arduino Sample. Using scha from local folder.
Can exercise Model Property Updates and Commands and general Telemetry
But the Model Telemetry does return any output

Expected behavior
Expect to see the same or similar  Telemetry .in the Model mode as per the "general Telemetry.
When change to use Model expect to see that parsed into the model
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

Widows 10 Pro

Is there some "magic" nexus between the config.json and the schema.json for the telemetry that is needed for the modelling of the received telemetry data type to work?

The schema file:

{
  "@context": "dtmi:dtdl:context;2",
  "@id": "dtmi:com:contoso:serialpnp;1",
  "@type": "Interface",
  "displayName": "Pnp Bridge Root Interface Model serialpnp",
  "description": "Arduino Serial PnP",
  "comment": "Serial PnP for Arduino",

  "contents": [
    {
      "@type": "Property",
      "displayName": "Sample Rate",
      "description": "Rate of temperature readings.",
      "name": "sample_rate",
      "schema": "integer",
      "writable": true
    },
    {
      "@type": [
      "Telemetry",
      "Temperature"
      ],
      "description": "Current temperature on the device",
      "displayName": "Temperature",
      "name": "temperature",
      "schema": "double",
      "unit": "degreeCelsius"
    },
    {
      "@type": "Command",
      "name": "calibrate",
      "description": "Calibrates the thermometer.",
      "commandType": "synchronous",
      "request": {
          "name": "input",
          "schema": "integer"
      },
      "response": {
        "name": "calibrateResponse",
        "schema": "integer"
      }
    },
    {
      "@type": "Command",
      "name": "calibration",
      "comment": "Enable-disable sampling.",
      "commandType": "synchronous" ,
      "request": {
        "name": "input",
        "schema": "integer"
      },
      "response": {
        "name": "output",
        "schema": "integer"
      }
    },
    {
      "@type": "Command",
      "name": "toggle_state",
      "comment": "Enable-disable sampling.",
      "commandType": "synchronous" ,
      "request": {
        "name": "input",
        "schema": "integer"
      },
      "response": {
        "name": "output",
        "schema": "integer"
      }
    }
  ]

}

The config.json file
Note that the schema reference at the top is to the schema as above, in a local folder.
{

    "$schema": "../../../../../../../../.././iot-plug-and-play-bridge/pnpbridge/docs/schemas/grovearduinoserialpnpModel.json",
    "pnp_bridge_connection_parameters":
    {
        "connection_type" : "connection_string",
        "connection_string" : "HostName=HubPnP3.azure-devices.net;DeviceId=PnPDev3",
        "root_interface_model_id": "dtmi:com:contoso:serialpnp;1",
        "auth_parameters":
        {
            "auth_type": "symmetric_key",
            "symmetric_key": "q+6OU6byhvpT9zU3Mbr6KhR8Ur47zEa/EFyM8fEHHMU="
        }
    },
    "pnp_bridge_debug_trace": false,
    "pnp_bridge_config_source": "local",
    "_comment_devices": "Array of devices for Azure Pnp interface should be published",
    "pnp_bridge_interface_components":
    [
        {
            "_comment": "Grove Beginner Kit for Arduino Sensors and Actuators Device Component",
            "pnp_bridge_component_name": "serialpnp",
            "pnp_bridge_adapter_id": "serial-pnp-interface",
            "pnp_bridge_adapter_config":
            {
                "com_port": "COM4",
                "_comment": "NOTE: com_port parameter will NOT be used when use_com_device_interface is set to true. In case of windows iot edition, the COMXX symbolic links are not created. Setting use_com_device_interface to false will pick the first available COM interface.",
                "use_com_device_interface": "false",
                "baud_rate": "115200"
            }
        }
    ]
}

Note at start do get the following  in the IoT Plug and Play components->DEFAULT_COMPONENT->Telemetry
.. when Model is not enabled
Fri Sep 10 2021 23:17:26 GMT+1000 (Australian Eastern Standard Time):
{
  "body": {
    "0": 123,
    "1": 34,
    "2": 77,
    "3": 111,
    "4": 100,
    "5": 117,
    "6": 108,
    "7": 101,
    "8": 83,
    "9": 116,
    "10": 97,
    "11": 116,
    "12": 101,
    "13": 34,
    "14": 58,
    "15": 80,
    "16": 110,
    "17": 112,
    "18": 66,
    "19": 114,
    "20": 105,
    "21": 100,
    "22": 103,
    "23": 101,
    "24": 32,
    "25": 99,
    "26": 111,
    "27": 110,
    "28": 102,
    "29": 105,
    "30": 103,
    "31": 117,
    "32": 114,
    "33": 97,
    "34": 116,
    "35": 105,
    "36": 111,
    "37": 110,
    "38": 32,
    "39": 99,
    "40": 111,
    "41": 109,
    "42": 112,
    "43": 108,
    "44": 101,
    "45": 116,
    "46": 101,
    "47": 125
  },
  "enqueuedTime": "Fri Sep 10 2021 23:17:26 GMT+1000 (Australian Eastern Standard Time)",
  "properties": {}
}

But get garbage when it tries to parse it  into teh modelsuch as:
{ "0": 123 }
This telemetry '0' is not in the model. You may consider modeling it.

That message above reads {"Modulestate":PnpBridge complete}

Hi @djaus2
I'd suggest to report pnp bridge related issues to https://github.com/Azure/iot-plug-and-play-bridge
Regarding IoT Explorer, can you try to reproduce your issue without the pnp bridge?
Based on the title, it's not clear what is not working, can you clarify?

I have also posted an Issue on the Bridge.
My question here, may be this should have been a request for help, rather than a bug, ...
Given that the telemetry Payload appears to be correct, why can't the Azure IoT Explorer intepret/parse it?

Hi @djaus2
You may want to check the system property of the temeletry and see if that contains the interface id. The field that we are specifically looking for is 'dt-dataschema'

First few lines are:
{
  "@context": "dtmi:dtdl:context;2",
  "@id": "dtmi:com:contoso:serialpnp;1",
  "@type": "Interface",

Suggestions ??

Hi @djaus2
Can you confirm if IoTExplorer is able to find the DTDL interface from your configured local folder?
In the IoT Plug and Play tab you can see if the model have been found in any of your configured sources

Thx @rido-min
As indicated, in IoTExplorer, it finds the model and I can see Device twinning, get/set Properties and send Commands. I can't in the property context read Telemetry. I can though in IoTExplorer read the raw Telemetry in the non PnP Modsel context..

Hi @djaus2
The telemetry messages you shared seems like a byte array rather than a UTF8 Json string. How is that telemetry produced? which SDK/Library are you using? We usually recommend to set the content type and application message properties in the message.

Hi @rido-min
Here is my Telemetry sending code:
            DeviceClient deviceClient;
	    TransportType s_transportType = TransportType.Mqtt;
            var messageString = JsonConvert.SerializeObject(Sensor);
            var message = new Message(Encoding.ASCII.GetBytes(messageString));
            deviceClient = DeviceClient.CreateFromConnectionString(s_connectionString, s_transportType);
	    deviceClient.SendEventAsync(message);

I am using the following:

Its a .NET 5 C# Console app.

Here are the message properties at runtime just before sending.

yes, from the samples:
using var message = new Message(Encoding.UTF8.GetBytes(telemetryPayload))
{
    ContentEncoding = "utf-8",
    ContentType = "application/json",
};

Thx @rido-min
My code is now:
            var messageString = JsonConvert.SerializeObject(Sensor);
            var message = new Message(Encoding.UTF8.GetBytes(messageString))
            {
                ContentEncoding = "utf-8",
                ContentType = "application/json"
            };
            await deviceClient.SendEventAsync(message);

And message properties just prior to sending are now:

Still not getting PnP Telemetry.
Raw Telemetry is
{
  "body": {
    "No": 0,
    "Id": "6513d5ed-c0f2-4346-b3fa-642c48fd66a5",
    "Value": -1,
    "environ": null,
    "State": false,
    "Values": null,
    "SensorType": 0,
    "TimeStamp":<PHONE_NUMBER>22345700,
    "DateTime": "6/11/2021 \t11:52:12 AM"
  },
  "enqueuedTime": "Sat Nov 06 2021 11:52:18 GMT+1100 (Australian Eastern Daylight Time)",
  "properties": {},
  "systemProperties": {
    "iothub-connection-device-id": "PnPDev4",
    "iothub-connection-auth-method": "{\"scope\":\"device\",\"type\":\"sas\",\"issuer\":\"iothub\",\"acceptingIpFilterRule\":null}",
    "iothub-connection-auth-generation-id": "637673059174207434",
    "iothub-enqueuedtime":<PHONE_NUMBER>774,
    "iothub-message-source": "Telemetry",
    "x-opt-sequence-number": 11854,
    "x-opt-offset": "30064930928",
    "x-opt-enqueued-time":<PHONE_NUMBER>765
  }
}

Hi,
As mentioned in my earlier reply, i don't see the dt-dataschema in the system properties, and this it why the telemetry does not show up under pnp.

@YingXue
Thanks for the follow up.
Can you indicate how/where to include that?

Hi @djaus2
I am afraid I am not an expert here. I have been using the Node sdk for pnp devices which is injecting the system property for me automatically. Please refer to this doc I've found which mentioned this property: https://docs.microsoft.com/en-us/azure/iot-develop/concepts-convention#telemetry


Issue with a suggested fix

At some point or another I lost the URL to a brew I made. Now that I want to go back and edit it, I cannot for the life of me find the thing to do so! That being said, I have a copy of the brew printed to PDF, and that made me wonder if at some point it may be possible to implement a way to upload a PDF and place the information into a brew.
I'd simply copy-paste it and reorganize it to the look it had, however that does not work well as copy pasting adds an extra character between every single letter. Would be faster to simply retype the whole thing!

In regards to your lost brew, there are many ways to recover it.

If you made any edits with an account, you can go to that account's page
Homebrewery stores the last handful of brews you've viewed or edited under the recent brews tab
Check your browser history for the edit link
If all of that fails, find the share link, open the source and copy it into a new brew.

Adding a feature of parsing a PDF would be incredibly difficult, rarely used, and often misused by users trying to upload a PDF not created by the site expecting it to work.


[engine] Kill dart/safari/chrome processes after LUCI mac task executions

Engine post-commit builders have been failing occasionally with retcode: -9.
Related issues:
https://github.com/flutter/flutter/issues/66133
More failed builds:
https://ci.chromium.org/p/flutter/builders/prod/Mac iOS Engine/7233
https://ci.chromium.org/p/flutter/builders/prod/Mac Host Engine/7241
This may be due to OOM, and this issue is to track to kill leaking processes after task execution.
Related issue:
https://github.com/flutter/flutter/issues/67934

Can we close this one?

Changes have been implemented.


Sandbox

@rajpalc7 this looks like a duplicate of #146. Can you please close this PR and push all changes to the existing one? It will be impossible to keep track of changes otherwise.


Add support for Event header.

In addition, RFC states that there MUST be exactly one event type listed
per event header.  Multiple events per message are disallowed.

Right support to Event header is to modify c_src/header_list.h so it gets parsed.


Code of Conduct link is dead

The general README.md file references an LF resource that no longer exists: https://lfprojects.org/policies/code-of-conduct/
This might be the new resource that should be referenced: https://docs.linuxfoundation.org/lfx/mentorship/mentor-guide/code-of-conduct (but the fact that it's situated in mentorship makes me wonder).
I'm sure we need to do a complete review/rewrite of this page, but this particular issue should be addressed directly.

Looks like the original link is working again.

Looks like the original link is working again.


The response of ListAsync has no link to the next page

We are using ListAsync to get job list, but the response contains 300 items at most(When we are sure the number of jobs is more than 300).
The docs of this api shows that "the response includes a link to the next page of results, if any."(https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.datalake.analytics.joboperationsextensions.listasync?view=azure-dotnet).
But the link to the next page is "null" in fact, is there any problem here?
Could you please help us find the way to get the job list with more than 300 items by the ADLA api?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7866947b-2e10-0703-2e36-2191dbf25ae7
Version Independent ID: fcea1d2a-d7b3-a25c-1188-e2b6096deee7
Content: JobOperationsExtensions.ListAsync Method (Microsoft.Azure.Batch.Protocol) - Azure for .NET Developers
Content Source: xml/Microsoft.Azure.Batch.Protocol/JobOperationsExtensions.xml
Service: batch
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Extensions:0.437985,Batch:0.08364665,Functions:0.05121505'

@sheiwangwo I could see the same behavior in my local environment and checking internally on the same.


How to fine-tune on my own dataset

Hello,
I would like to add some of my own datasets to fine-tune based on PSALM.
Is it better to fine-tune all parameters or fine-tune some parameters? What can be done specifically?
Thank you.

Hi @YYGe01
PSALM training strategy is only freezing vision tower (swin base) and training other paramethers. So may be you can follow this
:)

Hi  你好@YYGe01 PSALM training strategy is only freezing vision tower (swin base) and training other paramethers. So may be you can follow thisPSALM训练策略只是冻结视野塔（swin基地）并训练其他参数。所以也许你可以遵循这个 :)

thanks,
my dataset is very small, with possibly only a few hundred samples, and it is an uncommon dataset. Therefore, would it be better to fine-tune directly on Psalm? Moreover, since GPU resources are limited, I’m thinking if it’s possible to use techniques like LoRa for fine-tuning.

I have not tried to train PSALM in a single GPU.
May be LoRA is a potential solution


Fixes bug where we only added sampled true to context

There was a bug in both the main and test path, so hard to notice we only added "sampled" to MDC if not null.. This meant "true" ended up there regardless of if the value was true or false.
I noticed this when writing release notes and using the example app with a logging expression.

I will test all the mvc examples again prior to merge and release


feat: keep most recent versions (by config)

fixes issue #1

@jlhood is there a way to publish a new version and hide it until I'm able to test it myself in my personal account?

@jlhood is there a way to publish a new version and hide it until I'm able to test it myself in my personal account?

No. The resource policy is at the application level so it applies to all versions. However, you can use sam deploy to deploy your app for testing. If it deploys with sam deploy, it'll deploy from SAR as well (if it doesn't, please let us know!).
Please let me know if you have any feedback on this behavior. Is there a use case where testing using sam deploy is insufficient and you'd rather test through publishing to SAR?

Thanks @jlhood I hadn't thought to try sam deploy thought when it's a SAR you have to publish. It's all good now.


Lookup for STI models

First of all thanks for the great gem)
I use Single Table Inheritance in my project.
class Song < ActiveRecord::Base; end
class Pop < Song; end
class Rock < Song; end

class SongSerializer
  include FastJsonapi::ObjectSerializer
  attribute :title
end
class PopSerializer < SongSerializer
  attribute :description
end
class RockSerializer < SongSerializer
  attribute :duration
end

@songs = [PopModel, RockModel]
render json: @songs

AMS makes automatic lookup and returns JSON with items with different attributes(title, description for PopModel; title, duration for RockModel).
Do you plan to add functionality like this? Thank you.

@stelmashchuk we haven't worked on making the serializer work with heterogenous lists of models like the one you described above. It's not something we are looking into at the moment

Thanks for answer

@shishirmk Is there any progress in this, are you guys thinking about giving this functionality?

Same question. Need to serialize a bunch of STI records with different attributes inherited.


Update README.md

GITHUB_TOKEN is the needed one not the password.

 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.

Coverage remained the same at 91.713% when pulling 5dff71b38f9977d1112b11aca17167c8cafba313 on ctomc:patch-1 into 60c4302ad8e38f5c0f21d1a6c2c5d9a5134e80e5 on cla-assistant:master.

👍  Thnx!
But we need both: we use user and password for basic authentication when we write comments on PRs in name of CLA assistant user.


[BUG] b

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] My answer given in the checkbox above is a lie.

What problem did you encounter?
[Bloxstrap_20240717T124154Z.log] (https://github.com/user-attachments/files/16265803/Bloxstrap_20240717T124154Z.log)

[x] My answer given in the checkbox above is a lie.

You will not be given any help, begone. (Also not enough clarification and your problem has not been properly stated.)

https://github.com/pizzaboxer/bloxstrap/releases/latest


fix(app/settings): update link to template definition docs

Minor change, under the 'App Templates' section in settings the link to the 'how to use templates' page returns a 404, updated it to point to the same(?) section in newer docs.
Glanced through existing PRs and I don't think this has been done yet.
Closes https://github.com/portainer/portainer/issues/4832

/azp run

@pull-dog down


fix gui.py

Fixed some naming issues.

Once I check the operation and if it is working, I will merge it.


run latest black over the code base

we're getting comments from confused contributors because of the black update. This PR is just master, but with the latest version of black run over it.

I would have preferred if you had removed the trailing commas instead of letting it be split into multiple lines.

(That's how I dealt with this in EthicML.)

hmmm... ok - i can do that


Enabling ecash prefix for electrumx

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


Sometimes need to delete the recovery partition in order for this to work

in Windows, if there is a recovery partition, the instructions for "Expand the volume within the OS" won't work because there is no contiguous free space.  Please update the doc to include the step of deleting the recovery partition if it exists.  It's basically 1) list disk, 2) list partition - if a recovery partition exists then 3) select partition x, 4) delete partition override, then follow the existing instructions. thanks!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ccc58c74-7913-f1f6-8681-1823bbd8f050
Version Independent ID: c11bab28-a82a-29a1-84bf-fb3dfb9a5cb2
Content: Expand the OS drive of a Windows VM in an Azure
Content Source: articles/virtual-machines/windows/expand-os-disk.md
Service: virtual-machines-windows
Sub-service: disks
GitHub Login: @kirpasingh
Microsoft Alias: kirpas

@rbmathis Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

I had the same issue, followed the same approach as above to delete the partition. However, I am not sure how to recreate a recovery drive (for completeness) at the end of the Drive. Please suggest If someone solved this already.

#reassign: @MicahMcKittrick-MSFT

I had the same issue, followed the same approach as above to delete the partition. However, I am not sure how to recreate a recovery drive (for completeness) at the end of the Drive. Please suggest If someone solved this already.

The reagentc.exe tool will help with that.
And there is a technet askcore article then shows how (but I cant paste links here ?)

I created a new Windows Server 2019 VM and was able to follow the instructions in this doc and it worked. I also tried it use disk management and had no issues.
I don't believe it's a good idea to remove the recovery partition. Not sure what OS you both were using but I didn't have any issues with the commands as written and in other methods.

We are currently cleaning up old issues and closing out items that are greater than 90 days old. If an issue is still present, please open a new feedback item on the document so we can prioritize correctly.
#please-close


Redeploy problematic for ASP.NET apps running on IIS (cannot overwrite native .dll)

Re-posting an issue reported by @ivannaranjo from e-mail thread.
I am trying to re-deploy apps that contain gRPC API clients on them, such as the StackDriver logging, I am seeing problems where the native .dll is in use and cannot be deleted. Because the deployment of an ASP.NET 4.x app (https://www.asp.net/) to a Windows VM requires the replacement of all files, if a file cannot be deleted that blocks the deployment.
The user can unblock themselves by shutting IIS down and deleting the files by hand, but that seems a bit too drastic.  Any ideas here? Is it just something that comes from having a native (i.e. non C#) .dll loaded in the AppDomain?
Here's the interesting tidbit from the deployment log that shows the failure, the error is a bit misleading because it shows insufficient privileges, really is that file is in use.
msdeploy.exe -verb:sync -source:contentPath="C:\Users\ivann\AppData\Local\Temp\2\5ml0urec.0w2" -dest:contentPath="Default Web Site",publishSettings="C:\Users\ivann\AppData\Local\Temp\2\tmp2A6B.tmp" -allowUntrusted
Info: Using ID 'b64e9ea2-383a-4483-97e1-d3cb82dc98e4' for connections to the remote server.
Info: Deleting file (Default Web Site\bin\grpc_csharp_ext.x64.dll).
Error Code: ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER
More Information: Unable to perform the operation ("Delete File")  for the specified directory ("C:\inetpub\wwwroot\bin\grpc_csharp_ext.x64.dll"). This can occur if the server administrator has not authorized this operation for the user credentials you are using.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER.
Error: The error code was 0x80070005.
Error: Access to the path 'C:\inetpub\wwwroot\bin\grpc_csharp_ext.x64.dll' is denied.
   at Microsoft.Web.Deployment.NativeMethods.RaiseIOExceptionFromErrorCode(Win32ErrorCode errorCode, String maybeFullPath)
   at Microsoft.Web.Deployment.FileEx.Delete(String path)
   at Microsoft.Web.Deployment.FilePathProviderBase.Delete(Boolean whatIf)
Error count: 1.
Failed to publish project AspNetClassic.

CC @ivannaranjo @jskeet @chrisdunelm

Having the same issue. It's unusable for us like that.

@jtattermusch Did you find any solution yet?

@DavidKuennen   this unfortunately boils down to the fact that on Windows you cannot delete a dll that's loaded (and deleting the directory with grpc_csharp_ext.dll is required to redeploy), and that's something we can't really change.
To avoid this for managed dlls, shadowing is used, but that's something that's not supported for native dlls.
Btw, this issues seems to be legacy ASP.NET specific and on ASP.NET core things should work fine.
Could you maybe use ASP.NET core for your app?

Happened for me as well. Any resolutions / workarounds yet.Can't migrate to ASP .NET core.

Found a workaround  - Use parameter -useChecksum with msdeploy to avoid deleting the file.Note : this will still fail if you are removing the file from the project or grpc_csharp_ext gets updated in the nuget package.

Another workaround for those not using msdeploy is to deploy to another folder then to recycle the application pool. After you can delete the dll.

Having the same issue. Is it planned to be fixed? Or at least advice us how to avoid it.
System.UnauthorizedAccessException: (5) Access is denied: [grpc_csharp_ext.x64.dll]
GRPC Version 1.20.1


Fix rotation issue when using a native picker

Some image were losing the rotation information when getting them back from the api.
This commit fixes the issue

Hey Hugo! Thank you for taking the time to create this PR!
I'm going to close it, because I've updated the code with the same approach than the PhotoRoom iOS app uses.
But thanks a lot for your suggestion, I've been able to share it with some API users 🙌


Refactor the code base

remove all unwrap (not in the main function)
remove a lot of clone
get correctly the size of chacha20poly1305::Tag
move all routes into there how folder (and namespace)
generalize the errors

The PR needs checking to see if I've broken anything


handling infinity in the optimizer

Issue Description
What did you expect to see happen?
Optimizer should either end or find a way to handle NaN outputs from the model being evaluated.  This may be a concern that should be addressed at the output collection level of the Model instead of the level of the optimizer.
What did you see instead?
Sometimes models return NaN such as "infinity" as a value for the optimization variable.  Currently, when that happens we end up with a gradient that is NaN, and step size that is NaN, and the optimization run ceases to act productively.
Do you have a suggested fix for the development team?
  Another option is to try to cut the spatial step if a NaN is received, in hope of finding a non-NaN value.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or improvement?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest stable branch? If yes, is there any issue tagged with stable (create if needed)?
[x] 5. If the issue is being closed without a merge request, has an explanation of why it is being closed been provided?

Closure checklist passed...


Fix a couple documentation typos

Giving some love to the documentation :heart: :heart:

Coverage remained the same at 99.5% when pulling 53418c7e39503d9694a8feed1b7048f561147859 on mscoutermarsh:patch-1 into 7b8a3fddcaac9c161502e4b01827ba631bdf0793 on RStankov:master.

Coverage remained the same at 99.5% when pulling 53418c7e39503d9694a8feed1b7048f561147859 on mscoutermarsh:patch-1 into 7b8a3fddcaac9c161502e4b01827ba631bdf0793 on RStankov:master.

10x :)


READ_EXTERNAL_STORAGE  is not working?

When i used READ_EXTERNAL_STORAGE, it shows Allow app to access photos and media on your device? but I want to request  Allow app to access photos,media and files on your device? How can I achieve that?

Have you solved your problem? I found it was related with MANAGE_EXTERNAL_STORAGE permission on Android SDK 30, but i can not request this permission.

You must have MANAGE_EXTERNAL_STORAGE permission in AndroidManifest.xml, but this plugin currently not supporting this permission.

yes, i am currently developing a cordova plugin to request the storage.

I made a cordova plugin which deals with this very issue. https://github.com/GAGANsinghmsitece/cordova-manage-external-storage , you may try it


Set position of input to relative

We were having issues with the text-input in rubrics creation. When we added the opt-in/out flyout, the user could not click into the text-input (the flyout has 100% height so can be fully viewed in open position). The other input components did not have this problem (textarea, button), and the difference was the relative positioning of those components. See
https://github.com/BrightspaceUI/textarea/blob/master/d2l-textarea.html#L73 and
https://github.com/BrightspaceUI/button/blob/aebdda306fe02b6ee87302e804f9eb6aac1998fd/d2l-button-icon.html#L39
Setting position of input element to relative solves this problem.
Besides rubrics, it looks like d2l-text-input is currently being used in:
d2l-content-service/app/content/features/purge/
d2l-content-service/app/content/features/search/
course-image-manager/src/course-image-manager-app/views/
But I'm not sure what these are, where to access and test them. Do you guys know?

Looks like CI tests are failing due to timeouts on Safari. Anyone know what this is about?

Was having Safari saucelabs issues as well in another repo. Re-running the build fixed it. Safari on Sauce seems flaky..

Updating https://github.com/BrightspaceUI/text-input/blob/master/wct.conf.json to use OSX 10.13 might help as well - there are some issues with 10.12 now, unfortunately.


Fixes Issue 3519: Log at trace level No signatures in memory at height X

This can happen if catching up when previously not enrolled.

Why does it continually trigger though ?

Why does it continually trigger though ?

It should only log for each block fetched during catchup until the height is for blocks in which the validator has the signatures in memory. If it logs when the validator is active then it is a bug.


Continuously recalculate blur

Is your feature request related to a problem?
When you have a non-state related change (for example a live preview of the camera), the image seems to be frozen.
Describe the solution you'd like:
Add an option to continuously recalculate the blur. Maybe add a parameter recalculationInterval that can be a number and will force an update every ms. 0 would mean "off" in this case. recalculationInterval = 16 for example would mean an update every 16ms.
Describe alternatives you've considered:
As a workaround I was thinking of adding a state that updates itself in intervals and thus forces recalculation.

Hey @Myzel394, in the new release 0.2.0, the blurring logic has been changed under the hood, so I'm closing this issue. If you still face the similar issue with the 0.2.0, please reopen this one. Thanks!


I'd like to join this project's community

Your public repo
https://github.com/schoolofcommons/gov4git-identity-public.git
Your public branch
main

approve

approve

 Follow up
On Wednesday, 25-Sep-24 19:17:36 UTC by Gov4Git dev
@schoolofcommons was added to the community.


How should this be wired?

Should it be setup similar to the debounce schematic or something else?

I usually wire a button like this and use pinMode(2, INPUT_PULLUP) to avoid having to use a resistor.


Please stop for now I’m new on this I m doing other works too,<PHONE_NUMBER>3 my phone number<PHONE_NUMBER>0 Also have whatsapp. If u scared talk over social media then do whatever u want to do?

Adding a Dataset

Name: name of the datasetTANBABU
Description: short description of the dataset (or link to social media or blog post)
Paper: link to the dataset paper if available
Data: link to the Github repository or current dataset location
Motivation: what are some good reasons to have this dataset

Instructions to add a new dataset can be found .

Give me your number and address? Other way just give raki number, don't tell I m ur brother tell her he is younger brother of manik bhai,tell her I need to meet her about some high court case to finish.please try to understand. As well tell him my brother got mad when he heard u r in london, as well tell her when I will go to see her please give me Anar juice. As well ask her did he ever saw the real life masud rana? What is real name? How he look like.I m going to sleep now next when I woke up I want to see ur reply. Where is Ahamed? I will tell him to come see me, I swear to god this time u don't marry me I will show u some magic,as well tell u very specific I m biological dad, my daughter was rescued in March till I didn't saw her, one day only I heard her voice. Until I finish this criminal will not going to do video call, she live in Phillipine I never meet her face to face. Only video call.


Code Quality: Clean up App.Filesystem phase 1

Description
I didn't know what this namespace is for. So I started working on readability refactoring first (stage 2).

Rename variables with preferred name to follow the guideline (The most likely to happen is that I rename property-backing-field from '_isHidden' to '_IsHidden')

Motivation & Context

Improved readability
Updated variables to be more accurate.

WarningPlease do not review code lines that I did not changed. I cannot make more diff. If there're more codes that are preferred to change, I will do that and mark that PR as the final one for that stage.

PR Checklist

[x] Were these changes approved in an issue or discussion with the project maintainers? In order to prevent extra work, feature requests and changes to the codebase must be approved before the pull request will be reviewed. This prevents extra work for the contributors and maintainers.
Related #12340
[x] Did you build the app and test your changes?
[ ] Did you check for accessibility? You can use Accessibility Insights for this.
[ ] Did you remove any strings from the en-us resource file?

[ ] Did you search the solution to see if the string is still being used?

[ ] Did you implement any design changes to an existing feature?

[ ] Was this change approved?

[ ] Are there any other steps that were used to validate these changes?

Screenshots
None

@0x5bfa are you going to push anything more here?

I don't think so. By the way, thank you for reviewing!

By the way, thank you for reviewing!

It's a pleasure, you can learn a lot by reading other people's code


Missing feature: head of staff garment bag

Description

In SS13, heads of staff would have a bag in their locker with an alternative clothing set and round start set inside, for example, the RD would get a tan alternative outfit, their winter coat, and their regular outfit which consists of the science beret, the RD's coat, jackboots, and black gloves (much drippier if you ask me)

loadouts

i would make this myself if i wasnt stupid :trollface:

#23183 may be a potential replacement for this issue.

We dont need this feature anymore.


Proposed updates to better support webSockets

Enable sticky sessions on routes.
Enable session affinity on services.

Signed-off-by: Wade Barnes<EMAIL_ADDRESS>

Updated haproxy.router.openshift.io/balance: source annotation deployed in dev.


Recommended MQTT client?

Hi, which MQTT client library is recommended to use with this repo?
I tried https://crates.io/crates/rumqttc but failed to compile ring. Maybe this crate has not been tested with rust-esp32-std yet.
error: failed to run custom build command for `ring v0.16.20`

Caused by:
  process didn't exit successfully: `/home/quan/Works/ESP-IDF/rust-esp32-std-demo/target/release/build/ring-d2bf2b7dc3398754/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/quan/Works/Cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/build.rs:358:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Also tried, but got this:
error: failed to run custom build command for `openssl-sys v0.9.70`

That's to be expected, because ring is not pure Rust and currently does not support neither the Xtensa, nor the Riscv32imc architectures used by the ESP32 chip family.
The road forward is as follows:

Short term: provide bindings (and a set of abstract interfaces) for the ESP-IDF embedded MQTT client, as described here. This would allow folks to use MQTT with TLS.
Long term: bind ESP-IDF's mbedTLS to to some of the Rust TLS abstraction layers, as described here. This would allow folks to use off-the-shelf pure Rust MQTT (and HTTP) clients that do support the rust-native-tls abstraction. Note that MQTT clients which are hard-wired to rusttls will never be supported, because rusttls is hard-wired to ring, which - as described above - relies on native code. That is, unless ring implements a pure-Rust code-path in future.

In the shortest term - and only if you don't need TLS with MQTT - you can try this crate. or alternatively, you can use unsafe calls to call the ESP-IDF MQTT C client directly from your code.

Thank you.


Develop

Looks good to me :)

Actually, it looks like the cookie lib is included twice, since in the next <script> there is this: js-cookie@2.2.0(js.cookie.js)
What do you think?


Environment variables to configure the valkey container

I'm trying to move over from the bitnami container to the official valkey container and I'm running into an issue where I need to configure the valkey server, but can't find valkey server configuration docs on the website. Do I use the redis docs for this?
I'd love to be able to use environment variables like the bitnami container does. This would let me shove everything in a ConfigMap like this:
apiVersion: v1
kind: ConfigMap
metadata:
  name: valkey-secret
data:
  VALKEY_PASSWORD: hunter2

Then just set those envvars on the deployment and it Just Works™.

Is this a similar issue that is being discussed in https://github.com/valkey-io/valkey-container/issues/18