need global too

i'd like to be able to setup my imports like:
ipfs/<hash>/pkgname
gx/<hash>/pkgname

so that there's one global location for stuff. and symlink to that.
(of course, we do need to handle the case where things are vendored locally too. but the global case is really nice to have)

I'd like to see us support this like npm does (an env var specifying where your global path is, but defaulting to local vendoring).

I want this to be a 'known location' based on the language. There is a global flag right now, and for go it installs packages into $GOPATH/src. For other languages, we will want to do the right thing for each language


Sensor pod crashed

Hello,
I am using Stackrox in k8s approx 1-2 weeks. Today Sensos pod crashed (CrashLoopBackoff). Logs give me the following. Please help
No certificates found in /usr/local/share/ca-certificates
No certificates found in /etc/pki/injected-ca-trust
main: 2022/05/10 11:38:35.261465 main.go:28: Info: Running StackRox Version: 3.69.x-569-g769804636a
kubernetes/sensor: 2022/05/10 11:38:35.265931 sensor.go:73: Info: Loaded Helm cluster configuration with fingerprint "fb12e0e60b6db042d0d52966999774256e7eb3c88aea8bc1af00694346927bae"
kubernetes/sensor: 2022/05/10 11:38:35.296520 sensor.go:91: Info: Determined deployment identification: {
"systemNamespaceId": "3582c397-0ae3-11ea-8402-067ff35c4130",
"defaultNamespaceId": "36b49dc0-0ae3-11ea-8402-067ff35c4130",
"appNamespace": "stackrox",
"appNamespaceId": "21cc6be0-3b8f-45d7-a6d8-a40360aa0db8",
"appServiceaccountId": "fb6f0e86-3634-48f4-9437-f2e8a864496b",

Hey @Turgut202,
is this the whole log? To me it looks like there is something missing after "appServiceaccountId": "fb6f0e86-3634-48f4-9437-f2e8a864496b",.

For completeness, there is also discussion on this issue happening over in the CNCF StackRox channel.
The solution there was to reinstall using a different script. Current status of that thread: Waiting for result of recommended path.

Problem solved, i used another way of installation

That is great to hear, thanks for reporting back! :tada:


dnSpy vs dnSpyEx

dnSpy is archived and unmaintained.
https://github.com/dnSpy/dnSpy/
I see that there is another project, dnSpyEx, that aims to continue maintenance and release new versions.
https://github.com/dnSpyEx/dnSpy
Do Pulsar modders use one or the other?  Are there any reasons to prefer one or the other, perhaps because dnSpyEx removed an important feature, or because dnSpy already does everything you need and so there is no reason to upgrade?

The old repository has been functional, so there hasn't been a need to move over. I wasn't aware of dnSpyEx until you mentioned it, so I'll take a look to see what's new.

Having used dnSpyEx for a little bit, it's nice but doesn't have any noteworthy features over the original. I believe it does have a number of improvements, but for now I'll leave the original dnSpy link. Should someone feel they need something newer, they can test the waters for themselves.
TL:DR; No major reasons to upgrade.


Skipping containerization because packaging is 'pom'.

Hi,
I have the following use case for jib:
There is an application that have different distributions. Each distribution is defined by a set of spring configuration files and a set of additional dependencies. The actual application code is the same in each distribution.
For this use case it would be great to be able to define, for each distribution, a maven project with packaging pom that defines only the additional dependencies and contains the configuration resources. This way it will be easy to handle the different distribution.
I understand that jib was not design in principle for this type of use case. Normally, the application is directly package as a container and that gives you a lot of nice features and testing capabilities for your application in addition to the containerization.
It would be great, if jib could also support this other "use case" for containerization of "distributions"
As a work around, I guess that instead of using the packaging pom i could use packaging jar and create a proxy main that starts the application in each distribution but it would be great if no hack where needed to get jib to work in this case.

It seems like you could use maven profiles for this? or maven executions?
It's not really clear what you are trying to do without an example.

Thanks for the quick response. I will try to be more precise. Although it is difficult to explain.
I have a maven project "processingApp". This app is a pretty dummy main file, that will load most of the actual processing based on a Spring configuration.
When the "processingApp" is going to be deployed in a site for processing "apples" it has to be delivered with and additional dependency to an "apple-processor". The "processingApp.jar" + the additional dependency "apple-processor.jar" and the spring config to load an implementation of the appleProcessor.class. All this elements together is what I called before a distribution. In this particular example it would be called the apples distribution.
In another site instead of "apples" they will process  "oranges" and in that case it should have an additional dependency to "orange-processor" and a new distribution should be created for the orange processing.
The processingApp is totally decoupled from the libraries/jars/dependencies that provide the processing implementation. The spring configuration defines which is the actual processing to be done.
This means that I do not know which dependencies may be needed in the "processingApp" maven project, so I can not use maven profiles or maven executions for this in the "processingApp" maven project
Currently I use maven-assembly-plugin and also and rpm plugin to package each distribution.
For that I would create a specific maven project per distribution with packaging pom that gathers all the dependencies and spring configuration and generates the assemblies.zip and rpm files for each one.
Now I would like to also be able to deliver each distribution also as a docker image and I am struggling to see how to use jib for this without using a workaround that looks a lot like a hack.
I hope, this clarifies a bit more what I meant earlier

I think we need to understand your current process, it currently seems like to me that you're trying to get jib to do something it's not designed to do (but maybe I'm wrong), so a few more questions:

You're using packaging pom, because no other packaging makes sense in maven? But you're not actually using the POM itself here?
How do you plan on using the assemblies.zip and rpm in a docker image?

What exactly does a dockerfile look like in this case? That would help us define what a jib build could (if possible) look like.

What can't this just be done with multiple modules, each module creating a new distribution:

- common-module : used by both apples/oranges, but no container created
- apples -> produces a container
- oranges -> produces a container

That is correct. In the pom I define the dependencies and the project only contains some configuration files.

I am not trying to use assemblies or rpms together with jib. Sorry, if that was misleading. I am trying to use jib to generate a container like I am using maven-assembly-plugin to package the distribution as an assembly.

I thing I see what you mean but I am afraid the would not fit the this case. In my previous example I had simplified the dependencies to just one but it actually could be more than one dependency. I will try to expand my previous example with a more detail description and comments:

Application code is in one maven project

processingApp: maven project containing the class with the Main

Processing implementation dependencies for apple distribution are somewhere else

apple-processor1: first dependency needed for apple distribution
apple-processor2: second dependency needed for apple distribution

Then maven projects to create/package distributions automatically are defined as needed and are totally decouple from the previous maven projects. This way the distributions can be delivered in many different ways depending on the needs:

apple-dist-config1.jib: would generate a docker image using processingApp, apple-processor1 and apple-processor2 as dependencies and include as external files some specific configuration files in the project. The entry point would be to run a class in the processingApp that contains the main. All of this in a maven project with packaging pom because no other packaging makes sense so to say.

-apple-dist-config2.jib: like the previous one but with a different configuration.
-apple-golden-dist-config1.jib: Provides a distribution specific to golden apples that needs an additional golden-apple-verifier dependency.

I think this is what you can do as a workaround.

apple-dist-config1 setup

$ mkdir apple-dist-config1 && cd apple-dist-config1
$ # Jib resists to run if there are no `.class` files, so create a bogus source.
$ mkdir -p src/main/java/com/example
$ cat > src/main/java/com/example/Bogus.java <<<'package com.example; public class Bogus {}'

pom.xml:

<!-- Doesn't matter. Jib doesn't use JAR anyway -->
<packaging>jar</packaging> <!-- Or just omit it, because jar is the default. -->

<dependencies>
  <dependency>
    ...
    <artifactId>processingApp</artifactId>
  </dependency>
  <dependency>
    ...
    <artifactId>apple-processor1</artifactId>
  </dependency>
</dependencies>

    <!-- Jib configuration -->
    <configuration>
      <container>
       <mainClass>main.class.in.processing.app.Main</mainClass>
      </container>
    </configuration>

Then $ mvn compile jib:build (or jib:dockerBuild) should work and running the container should run the main class from "processingApp". Jib will place both processingApp.jar and apple-processor1 (along with all transitive dependencies from them) into /app/libs in the image.
It's harmless to have Bogus.class in the built image, but if you don't like putting it, then you can possibly remove it using the Jib Layer Filter Extension.

I have been playing around a bit and the final workaround I will be using is to use the packaging jar and then put the configuration files that should not be persistent in the src/main/resources. This way maven does not complain, jib can build the image and no bogus files need to be created.
The persistent configurations are added using the extraDirectories configuration.
With this everything works like a charm, although it would be nice to be able to use packaging pom instead of jar. Even better would be to have a specific packaging for jib, like other other maven plugins do (i.e. tycho, or maven-bundle-plugin).
In any case, it works great as it is, once you get your head around it. :) The comments I made are just nice to have things.

I would like to add a couple of configs that I have added that keep things cleaner on the maven side.
Just in case it may be useful for some other people:
<!-- skip the jar generation. -->
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jar-plugin</artifactId>
    <executions>
        <execution>
		<id>default-jar</id>
		<phase>none</phase>
	</execution>
    </executions>
</plugin>

<!-- skip installing docker images or anything else. -->
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-install-plugin</artifactId>
  <configuration>
	<skip>true</skip>
  </configuration>
</plugin>

<!-- skip deploying docker images or anything else. -->
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-deploy-plugin</artifactId>
  <configuration>
	<skip>true</skip>
  </configuration>
</plugin>

Thanks for the update and the tips!

no bogus files need to be created.

Oh, and you were right. I realized Jib just requires the directory target/classes to exist, so it is enough to have an empty directory src/main/resources.

I will close this issue. This is not really the use case for which Jib is designed, and we don't think we will support this scenario unless more people asks for this. However, it's good to have a potential workaround and tips documented, so @xavipen thanks for bring this up!


*: run basic functional-tester cases

Fix https://github.com/coreos/etcd/issues/8126.
Changed Semaphore command

RELEASE_TEST=y INTEGRATION=y PASSES="build unit release integration_e2e functional" ./test 2>&1 | tee test.log

Result: https://semaphoreci.com/coreos/etcd/branches/pull-request-8128/builds/12

@heyitsanthony PTAL. Thanks.

@heyitsanthony The gopath trick didn't work in semphore
cmd/tools/functional-tester/etcd-agent/agent.go:24:2: cannot find package "github.com/coreos/etcd/pkg/fileutil" in any of:
	/usr/local/golang/1.8.1/go/src/github.com/coreos/etcd/pkg/fileutil (from $GOROOT)
	/home/runner/go/src/github.com/coreos/etcd/pkg/fileutil (from $GOPATH)
cmd/tools/functional-tester/etcd-agent/agent.go:25:2: cannot find package "github.com/coreos/etcd/pkg/netutil" in any of:
	/usr/local/golang/1.8.1/go/src/github.com/coreos/etcd/pkg/netutil (from $GOROOT)
	/home/runner/go/src/github.com/coreos/etcd/pkg/netutil (from $GOPATH)
cmd/tools/functional-tester/etcd-agent/agent.go:26:2: cannot find package "github.com/coreos/etcd/tools/functional-tester/etcd-agent/client" in any of:

Since we don't vendor internal packages

ok do the build up front like before, I guess, but have some comment about why it can't be in the pass

@heyitsanthony PTAL. It works now. Thanks.
rror while dialing dial tcp <IP_ADDRESS>:12379: getsockopt: connection refused"; Reconnecting to {<IP_ADDRESS>:12379 <nil>}
ETCD_TESTER_EXIT_CODE: 0
Waiting for processes to exit
./test: line 117:  2631 Terminated              ./bin/etcd-agent -etcd-path ./bin/etcd -etcd-log-dir "./agent-$a" -port ":${a}9027" -use-root=false
./test: line 117:  2633 Terminated              ./bin/etcd-agent -etcd-path ./bin/etcd -etcd-log-dir "./agent-$a" -port ":${a}9027" -use-root=false
./test: line 117:  2642 Terminated              ./bin/etcd-agent -etcd-path ./bin/etcd -etcd-log-dir "./agent-$a" -port ":${a}9027" -use-root=false
Success


Include empty resources in summary stats

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 92.164%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
2717

Relevant Lines:
2948

💛  - Coveralls


ARROW-18183: [C++] cpp-micro benchmarks are failing on mac arm machine

Thanks Weston, tested okay locally.

@ursabot please benchmark lang=C++

test-mac-arm job succeeded.


chore(master): release 1.1.3

:robot: I have created a release beep boop
1.1.3 (2023-03-22)
Miscellaneous

deps: update dependency phpunit/phpunit to v10.0.18 (5a804e3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/php-cs-fixer-config/releases/tag/v1.1.3 :sunflower:


Update web-app link for searching prior art in README.md

current url (https://projectpq.ai/search) given in README/web-app section is redirecting to unwanted page, and it needs to be replaced with https://search.projectpq.ai/.

Done, @shkamboj. Thanks.


Runtime panic encoding a guest component utilizing wasi-http

WebAssembly components currently cannot utilize https://github.com/WebAssembly/wasi-http on commit 53e2d258ae3008d254bda79ec958355ded8751a9 with:

wit-bingen 0.4.0
wit-component 0.7.4
wasi_snapshot_preview1 47b30fdad11553841bbee4c5632101bbd645854b

Encoding a component constructed using this toolset produces a runtime panic in wit-component at https://github.com/bytecodealliance/wasm-tools/blob/1e0052974277b3cce6c3703386e4e90291da2b24/crates/wit-component/src/encoding.rs#L518
'IndexMap: key not found'

The index being looked for as a fallback is missing in the imported instance map
The failure can be reproduced via cargo test or cargo run (which takes a WASI adapter as an optional parameter and prints the resulting component to stdout on success) in this repository https://github.com/rvolosatovs/wasi-http-guest-repro
Note, that I have added a test case to both https://github.com/bytecodealliance/wit-bindgen and wit-component (updating the existing wasi-http interface and adding a new one importing it as a dependency). I will open PR(s) shortly after. All the tests pass :thinking:

The problem is that we're not merging worlds between the component being produced and any adapters, so if you import any name that the adapter also imports, wit-component will become confused as it needs to encoding two imports of the same name.
The real fix here is to properly merge worlds between the world of the component and any adapters so that there's a single imported instance of that interface that can be referenced from both the adapter and the component.
If you're using cargo-component for this, you can work around it by disabling the automatic adaptation from preview 1 by passing --target wasm32-unknown-unknown (obviously you'd then not be able to use the stdlib for WASI).

I'm running out of time today to work on this, but I am actively pursuing a fix to this which is exactly what @peterhuene outlined. I think I've got a good grasp on the problem now and I've got small reproductions and what I think is a way forward. I hope to have a PR for this next week, as it's a nontrivial feature to implement.


Feat/triple inner meta service

What is the purpose of the change
Add a built-in metadata service in the triple protocol to provide peer-to-peer access to metadata between consumers and providers.
related to #11940
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

At present, I still need to improve the documentation, unit testing and waiting for community feedback. What functions need to be added and what defects need to be filled.

@EarthChen @AlbumenJ PTAL

Do I need to package all the exposed functions of MetadataService?

Follow up on this pr after completing some things in the future.


Splash gamepad detection

@flukeout I'm not suuuuuper happy with the visuals, but it's functional!

Sweet, ill merge this and update the styling. I was thinking of just putting these next to the P1 / P2 buttons

This works really well! Maybe we could add a little keys overlay somehwere


Tiles Offline Regions do not display while offline

Describe the bug
The offline regions do not display in offline mode, even if the style is the same.
To Reproduce
Steps to reproduce the behavior:

Create an offline region definition of a style that contains a wms source and layer,
download it
set the map in offline mode
go to the map that has the same style

Expected behavior
The tiles should show even if the map is in offline mode or the phone disconnected from the network
Screenshots
It's actually a black map since there is no tiles load
Platform information (please complete the following information):

OS: Android
Platform: Android
Version: org.maplibre.gl:android-sdk:9.6.0

Additional context
I checked the internal database and it is populated nicely with all the tiles needed.
I insist on WMS style because I suspect a problem with the saving of raster tiles

anyonehas the same problem with raster tiles ?

If tiles are invalidated they're never used, even if the device is offline and there isn't a way to validate them.
mustRevalidate is a flag thats stored in the tiles table in the database, and can be set by calling the invalidate api method, OR from the server using cache-control header (can't remember the exact details).
Maybe your tiles were invalidated?
There is a feature request to add the ability to ignore mustRevalidate if the device is offline, but it doesn't have much traction.

@JRWilding The offline tiles work only when used with TMS (only {x}, {y} and {z}) for some reason.
I think this is due to a problem in the main maplibre repo since I analyzed the code carefully and nothing seems wrong now.
If you really need to use a WMS server, i suggest you to create an isolate with a proxy that convert TMS to WMS requests (I have done it in a project).

So yeah, for the follow up of this issue, there is a problem with offline regions and {bbox-epsg-3857}

Anyone have solution for using offline map in Maplibre 9.6.0 SDK. or how to apply the offline downloaded style on map. If you have any running example for same please let me know.


⚠ Bofrost.de has degraded performance

In e6f7bb0, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1076 ms

Resolved: Bofrost.de performance has improved in 7f7b08a after 6 minutes.


Add foreign_key option for belongs_to association

Added foreign_key option.
Example:
class User
  include Dynamoid::Document

  belongs_to :department, foreign_key: :office_id
end

By default foreign key (of belongs_to association) is stored in "{name}_ids" field as array of one element
foreign_key option allows to specify field name and store id of associated document as scalar (string/number/etc) value
Related issues: https://github.com/Dynamoid/Dynamoid/issues/129, https://github.com/Dynamoid/Dynamoid/issues/114

Coverage increased (+0.1%) to 97.331% when pulling 55dea30bc70cc7e953dd81c1620d24a51a74d984 on andrykonchin:add-foreign-key-option-4-2 into 769a76a69311ad3111a50e17eaf2c47ade3a5511 on Dynamoid:master.

Coverage increased (+0.08%) to 97.319% when pulling a35cf2344e1d4a9ee008e2c7b829ff24280b47a3 on andrykonchin:add-foreign-key-option-4-2 into 769a76a69311ad3111a50e17eaf2c47ade3a5511 on Dynamoid:master.

@richardhsu Done

Coverage increased (+0.08%) to 97.318% when pulling 15e4467fa9a84ef1c94cfb665a22616824386ada on andrykonchin:add-foreign-key-option-4-2 into 769a76a69311ad3111a50e17eaf2c47ade3a5511 on Dynamoid:master.


Replace scriptnum_test's normative ScriptNum implementation

https://github.com/bitcoin/bitcoin/pull/7095

utACK


Too strict TypeScript type for second argument of Mesh constructor

Expected Behavior
The following code works, and is based on https://pixijs.io/examples/#/mesh-and-shaders/triangle.js
this.shader = pixi.Shader.from(vert, frag, uniforms)
this.quad = new pixi.Mesh(this.geometry, this.shader)

Current Behavior
TypeScript complains that
TS2345: Argument of type 'Shader' is not assignable to parameter of type 'MeshMaterial'.
  Type 'Shader' is missing the following properties from type 'MeshMaterial': uvMatrix, batchable, pluginName, _tintRGB, and 7 more.

Possible Solution
Seems like the type of the second argument should be relaxed. It currently accepts MeshMaterial, but a Shader works as well, at least according to the demo.
Workaround
As usual, just do a cast.
this.quad = new pixi.Mesh(this.geometry, this.shader as MeshMaterial)
// or
this.quad = new pixi.Mesh(this.geometry, this.shader as any)

Environment

pixi.js version: 6.0.0-rc.2 (using separate packages, not pixi.js)
Browser & Version: irrelevant
OS & Version: irrelevant
Running Example: can't create a proper reproduction anywhere because of TypeScript, I can create a repository if needed but it should be trivial to reproduce

Fix was merged for this. Should be in rc.3 now.


Migrate all test scripts to Python v3

Hello,
Currently, test scripts uses syntax and libraries from Python 2 but most GNU/Linux
distributions has remove Python 2 from their repository, making it harder
to get a Py2 binary unless compiling it from source. It'd be nice if you or
an individual migrate them to use Python 3. I'm more than happy to help if needed!
Thanks!

Hi @rilysh
I agree that would be nice. I don't have much time for FOSS contributions at the moment, but if you are willing to make some efforts I would be happy to accept the help.
If you're willing to undertake the migration effort, I suggest doing it somewhat like this:

Open a branch (e.g. called ´python3-supportor similar) and make the work there That makes it easy to compare against themain`-branch.
You can make all work on a single branch or make branches for each major change (not sure that makes a lot of sense here)
When you think you're finished, open a PR and let me review the changes.
I assume the changes will be mostly mechanical and minor, as it's just a change from v2 -> v3 and not a rewrite of the functionality.
I would also be willing to discuss the proposed changes in one or more issues before you implement them. Your choice.

Apologies beforehand if I'm a bit slow to react. I have a many irons in the fire 🔥🐝

Finally found time to do this :sweat_smile:


dotnet react template & office fabric UI - Invariant Violation: addComponentAsRefTo(...)

Hello everyone,
when I try use office fabric ui in my project and import component for example panel I have this error https://i.stack.imgur.com/YofNd.png. I also recorded this behavior https://giphy.com/gifs/3ohjV6gZTxE8TiqVfa
Steps:

I created project by dotnet new react
I install office by npm --save install office-ui-fabric-react
I import Fabric component to boot.tsx and I use it.
I import Panel component to Layout.tsx and I use it.
When I clicked button to activate, in console appear error Exception in Layer.componentDidUpdate(): Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's render method, or you have multiple copies of React loaded

I put my code on repo https://bitbucket.org/vaalgrindalone/dotnet-react-template-office-fabric-ui-issue/src
I try make alias react in webpack by resolve.alias but nothing happen. I also try put react to external and import it from cdn in html file, bo this is not good solution. I think that my configuration is incorrect.
Cheers.

+1 same issue here

Since this is a client-side problem about the usage of a package not in this repo, it's not something we can control. It sound like you're not using those React components correctly, but that's outside the scope of this repo and this issue tracker. Can you please report your issue to whoever provides the specific React components you're having trouble with?
Note that, if it is a matter of Webpack config, you'll probably find things easier with our newer create-react-app-based template, because that pretty much eliminates any possibility of a custom webpack config interfering with anything: https://docs.microsoft.com/en-us/aspnet/core/spa/react?tabs=visual-studio


[add]: Added Faculty Register Page

Didn't have a addFaculty action or controller so haven't done yet

Add some ss here

Done

Functionality is pending you'll have to look into that as I don't have experience with mongoose.

okk

Add student module registration page

Yeah, I'll do that by the afternoon I've got some errands to do

Can you adjust the home button

In the bottom right corner of the registration page

Instead of having it outside we can have the back to home button to the right of register. What do you think?

Fine


Layout improvements

This addresses a couple things that were bugging me about the layout:

Gives the mobile nav a z-index so it’s fully above the content (some of the interactive NFT content was showing through).
Styles the new li text the same way as paragraphs.
Adds a small pure-CSS transition to the mobile nav opening and closing:

https://user-images.githubusercontent.com/30215449/171918968-c50d46a9-d0ad-473a-a86e-abe0b6aa8c5d.mp4

I’m working on a freshened up design, so I’ll incorporate these changes in that PR and these are no longer so relevant.


Alt-Svc: add the ability to fully specify  (not only the port)

Currently the Alt-Svc header only contains the port (eg h3=":443"; ma=2592000):
https://github.com/quic-go/quic-go/blob/05db808f72b9183653cfce97d6c235108bb18ee6/http3/server.go#L368
It would be nice to be able to specify a host as well.
Usecase: I want to have an http3 server listening only on IPv6 (while http2 is served on IPv6, with an IPv4 fallback using snid): h3="[::1]:443"; ma=2592000
Possible implementation: add an optional AltAuthority string field (and deprecate the Port field) on the Server struct.

That seems like a pretty niche use case. Why do you want to do that?
In most deployment, the Alt-Svc solution is being replaced by signaling these capabilities in DNS. Would that work for your use case?

Why do you want to do that?

I want to host multiple services on a single machine. Each service gets a unique IPv6 (so they can listen to all the ports they want), but have to share the IPv4 (where snid is forwarding the traffic to the right service). I guess this can only work for TCP connections.

Alt-Svc solution is being replaced by signaling these capabilities in DNS

I didn't know about that, thanks for pointing it out!
Finding how widely it is supported in quite confusing, however:

the links of https://serverfault.com/a/1075524 appear stalled (Chrome 2021 "I will be updating this thread with a heads up before any significant experiment rollout steps." - Firefox "Depends on other issues")
according to https://github.com/Fyrd/caniuse/issues/6091#issuecomment-982898862 it was shipped in Chrome 96 and Firefox 92

The HTTPS record is not supported by my DNS provider…
Anyway witting the AltSvc myself is not hard to write myself (especially since I only intend to support h3), so I am closing this issue.
FYI curl does not support my usecase as well https://github.com/curl/curl/issues/11737


Uncaught Error: The specified module could not be found./?~\AppData\Local\atom\app-1.45.0\res...

[Enter steps to reproduce:]

...
...

Atom: 1.45.0 x64
Electron: 4.2.7
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: The specified module could not be found.
\?\C:\Users\USER\AppData\Local\atom\app-1.45.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
At ELECTRON_ASAR.js:160

Error: The specified module could not be found.
\\?\C:\Users\USER\AppData\Local\atom\app-1.45.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:722:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:1:721712)
    at get_KeyboardLayoutManager (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:14:2784203)
    at get_manager (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:14:2784305)
    at Object.getCurrentKeyboardLayout (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:14:2784431)
    at e.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:14:1083896)
    at KeymapManager.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:1251844)
    at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:1249829)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:284496)

Commands
     -5:53.1.0 core:select-all (input.hidden-input)

Non-Core Packages
atom-terminal 0.8.0
japanese-menu 1.14.0
language-latex 1.2.0
language-latexsimple 0.12.1
latexer 0.3.0
linter 2.3.1
linter-gcc 0.9.0
linter-ruby 1.3.1
pdf-view 0.72.0
platformio-ide-terminal 2.10.0
project-manager 3.3.8

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way 😀


Access to the resource is forbidden

Hello again,
I was working with your script and all of a sudden I am getting "Access to the resource is forbidden." I tried clearing the permissions and relogging in but it does not seem to make a difference.
I am able to get to Load the Source

But when I do the Navigation to Videos it throws this error "Expression.Error: Access to the resource is forbidden".

Any advice would be appreciated.

I just tried reinstalling the connector and starting in a new window and it is giving me the same error.

truly Bizzard as it works for Channel info and Countries

Hey!
Unfortunately, I don't have an app running to test things at the moment or for the next few months.
My best suggestion would be to check what response you're getting from the API with something like Fiddler to see if there's something at your application level that's preventing you from accessing those endpoints. The error that you're getting is always related to unauthorized access, in other words, you don't have the right access to get that data somehow and the only place that defines what data you can gain access to is the application. The application only defines what scopes to use in order to get the data from the API (which is stated as a requirement by the API).
You can check the scopes used in this custom connector from these lines of code:
https://github.com/migueesc123/YoutubeAnalytics/blob/c32e1380097cf1dcbc0b739ce20579628ef88791/YoutubeAnalytics/YoutubeAnalytics.pq#L27-L31
I'll leave this issue open for a few days just to check if anyone else is having the same issue.

It appears like it was a permission issue, not really sure what it was but I managed to fix the issue by disabling the 3 YouTube APIs in YouTube Console, ran the connector (it crashed as predicted, 403 errors). I then re-enabled the YouTube APIs in YouTube Console and voila, it worked.


Same-Account snapshot copies

It doesn't look like same-account snapshot copying is available. Am I missing something? Is there a way to do this? Thanks!

It's not possible at the moment, but it's not too difficult to add as a feature. I'll probably get that done in the next couple of weeks

I'm merging it to MASTER. Closing issue


A pile of modernization

1 change per commit. Move to custom resources, install the gem automatically, extend auth options, improve error logging, add support for debian/ubuntu.

Thank you! Let me go over this. Appreciate the breakdown of the commits.

1 more incoming to add Debian/Ubuntu support

@swalberg any feedback on this?

Hi, I got about half way though the commits before I had to move on to something else. On my list of things to finish this week. Thanks, and sorry for how long it's taking.

No need to apologize. Everyone gets busy

Thanks for putting this together. I learned a lot about modern Chef style. The gem loading thing is clever and will save time, too. Going to merge this and cut a release.


Move to xenial for travis builds

xenial is ubuntu 16.04 and we need this version for installing azure cli for testing the azure integration. Also, travis is removing support for trusty by the end of the year, so this is as a good time as any. Will try out bionic which is ubuntu 18.04 later as that is the travis VM used by gatk.

Codecov Report

Merging #70 into develop will decrease coverage by 0.31%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop      #70      +/-   ##
===========================================
- Coverage    61.22%   60.91%   -0.32%
===========================================
  Files           50       50
  Lines        13804    16388    +2584
===========================================
+ Hits          8451     9982    +1531
- Misses        5353     6406    +1053

Impacted Files
Coverage Δ

core/src/storage_manager/storage_hdfs.cc
62.46% <0.00%> (-10.98%)
:arrow_down:

core/src/storage_manager/storage_gcs.cc
77.41% <0.00%> (-9.86%)
:arrow_down:

core/src/storage_manager/storage_manager_config.cc
74.57% <0.00%> (-2.79%)
:arrow_down:

core/src/fragment/book_keeping.cc
62.30% <0.00%> (-2.73%)
:arrow_down:

core/src/misc/url.cc
98.11% <0.00%> (-1.89%)
:arrow_down:

core/src/codec/codec_rle.cc
1.29% <0.00%> (-1.48%)
:arrow_down:

core/src/misc/utils.cc
70.75% <0.00%> (-1.17%)
:arrow_down:

core/src/fragment/write_state.cc
65.60% <0.00%> (-0.83%)
:arrow_down:

core/src/codec/codec.cc
73.68% <0.00%> (-0.81%)
:arrow_down:

core/src/array/array_sorted_read_state.cc
49.22% <0.00%> (-0.65%)
:arrow_down:

... and 27 more

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 2bf04f6...0375351. Read the comment docs.

@mlathara, not sure what CodeCov is complaining about, there were no changes to source code :-)


Work In Progress: Configure SSL for the production docker images

Signed-off-by: Gary O'Neall<EMAIL_ADDRESS>Sets up SSL using certbot and lets-encrypt

This has not yet been tested.  The changes are based on the article Nginx and Let’s Encrypt with Docker in Less Than 5 Minutes.
It is currently configured to encrypt and proxy to the old implementation.  Once we have tested the new production instance, I'll reconfigure to not use staging for the certificates and proxy to the new docker production image instead of the old service.


Reattempting to add MySQL client using the Pure Python MySQL client

This successfully adds the MySQL client for Python 2.6.9 , 2.7 and 3.4.

@tom-de-smedt @hayd  Although Travis CI shows that that job fails for Python 2.7 and Python 3.4 but it successfully installs the MySQL client for both these versions of Python. The job fails due to a Unicode error in Python 3.4. For Python 2.7 it is due to Incorrect Headers in files in the Test folders.
As for Python 2.6, I suggest we remove it entirely as Tempora (a library which is being installed during the python setup.py install --quiet ) does not exist for Python 2.6. Removing Python 2.6.9 will also result in using Pillow 4.0.0 instead of 3.4.2 (Python 2.6 does not support 4.0.0)


remove the external search button displayed on the top right of the site

overview
the search button provided by Google AdSense was appearing in the upper right corner of the website
(it might have been set by default or configured manually by yourself)
I cannot distinguish it from the site's header internal search, and it's unnecessary, so I want to remove it
reference information

external search button

disabled Enable search with auto ads of Google AdSence and set not to display the search button

disable Enable search with auto ads in Google AdSence > Active Labs

Google AdSence > 有効な Labs の自動広告付き検索を有効にしましょうを無効にする


Authentication section is broken

On the perses.dev website under the section Docs -> Perses -> v0.47.0 -> Design-Docs -> Auhtentication below "Login from external OIDC or OAuth2.0 provider with interactive flow, through WEB UI. " title, there is a bunch of text that is seemingly gibberish and most likely formatted wrong. If this is the expected output, I apologize for wasting your time.

yes there is an issue with the generation of these schemas. I had to deactivate it because it prevents the website to start. It's perhaps related to this issue: https://kroki.zulipchat.com/#narrow/stream/232085-users/topic/kroki.2Eio.20returns.20400.20on.20Mermaid.20diagrams

fix with the new website


updating the code for _sql_accounts_base and sql_grants views to chec…

…k whether the mysql.user.password column exists or not, and use the authentication_string column in its place if password does not exist

Hi @ikewalker ,
a simpler solution is to just wrap the CREATE within a try-catch. This is what I do for the Percona views and for the TokuDB views.
See:

https://github.com/shlomi-noach/common_schema/blob/master/build.xml#L152-L161
https://github.com/shlomi-noach/common_schema/blob/master/build_data/tokudb_component.sql

or see the complete common_schema....sql file to see how ant generates and wraps the try-catch.
The reason I like this way better is that I don't need to check for conditions. I just try it brute force, and if it works, it works. If not, it fails silently and continues deployment.

@ikewalker any progress on this?


Create Morse-Coder.md

📝 Description
An AI that converts the sentences user enters into morse codes. You enter the sentence you want to convert and this AI agent will convert the entered data into morse code with a detailed explanation.
💣 Is this a breaking change (Yes/No):

[ ] Yes
[x] No

🚧 How to migrate?
Don't need.
📝 Additional Information
Hacktober2023

dont know why but i found this to be too much fun
reference : i was referring to his mothers healt but oh well chatgpt had other plans 🤣


HADOOP-18655. Upgrade Kerby to 2.0.3

Description of PR
How was this patch tested?
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
6m 42s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+0 :ok:
shelldocs
0m  0s

Shelldocs was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-3.3 Compile Tests _

+0 :ok:
mvndep
15m 43s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m 56s

branch-3.3 passed

+1 :green_heart:
compile
17m 45s

branch-3.3 passed

+1 :green_heart:
mvnsite
25m 14s

branch-3.3 passed

+1 :green_heart:
javadoc
7m  0s

branch-3.3 passed

+1 :green_heart:
shadedclient
29m 28s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 49s

Maven dependency ordering for patch

-1 :x:
mvninstall
21m 41s
/patch-mvninstall-root.txt
root in the patch failed.

+1 :green_heart:
compile
17m 23s

the patch passed

+1 :green_heart:
javac
17m 23s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
20m 41s

the patch passed

+1 :green_heart:
shellcheck
0m  0s

No new issues.

+1 :green_heart:
javadoc
6m 45s

the patch passed

+1 :green_heart:
shadedclient
30m 20s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
689m 54s
/patch-unit-root.txt
root in the patch passed.

+1 :green_heart:
asflicense
1m 33s

The patch does not generate ASF License warnings.

904m 15s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.datanode.TestDataNodeRollingUpgrade

hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes

hadoop.hdfs.server.mover.TestMover

hadoop.yarn.sls.appmaster.TestAMSimulator

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5484/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5484

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint shellcheck shelldocs

uname
Linux 071a2de9f1d1 4.15.0-206-generic #217-Ubuntu SMP Fri Feb 3 19:10:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / a3ce05a228d38e27d4db6a7dc2650b9c7fabc618

Default Java
Private Build-1.8.0_362-8u362-ga-0ubuntu1~18.04.1-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5484/1/testReport/

Max. process+thread count
3159 (vs. ulimit of 5500)

modules
C: hadoop-project . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5484/1/console

versions
git=2.17.1 maven=3.6.0 shellcheck=0.4.6

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

not resolving without a solr update first. either we abandon this patch or whatever solr update went in is backported. That's more intimate with YARN and so they'll need to get involved for their opinions
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (depcheck) @ hadoop-yarn-applications-catalog-webapp ---
[WARNING]
Dependency convergence error for org.apache.kerby:kerb-util:1.0.1 paths to dependency are:
+-org.apache.hadoop:hadoop-yarn-applications-catalog-webapp:3.3.9-SNAPSHOT
  +-org.apache.solr:solr-core:8.8.2
    +-org.apache.kerby:kerb-util:1.0.1
and
+-org.apache.hadoop:hadoop-yarn-applications-catalog-webapp:3.3.9-SNAPSHOT
  +-org.apache.solr:solr-test-framework:8.8.2
    +-org.apache.kerby:kerb-util:1.0.1
and
+-org.apache.hadoop:hadoop-yarn-applications-catalog-webapp:3.3.9-SNAPSHOT
  +-org.apache.hadoop:hadoop-auth:3.3.9-SNAPSHOT
    +-org.apache.kerby:kerb-simplekdc:2.0.3
      +-org.apache.kerby:kerb-client:2.0.3
        +-org.apache.kerby:kerb-util:2.0.3
and
+-org.apache.hadoop:hadoop-yarn-applications-catalog-webapp:3.3.9-SNAPSHOT
  +-org.apache.hadoop:hadoop-auth:3.3.9-SNAPSHOT
    +-org.apache.kerby:kerb-simplekdc:2.0.3
      +-org.apache.kerby:kerb-admin:2.0.3
        +-org.apache.kerby:kerb-util:2.0.3

[WARNING]
Dependency convergence error for org.apache.kerby:kerby-pkix:1.0.1 paths to dependency are:
+-org.apache.hadoop:hadoop-yarn-applications-catalog-webapp:3.3.9-SNAPSHOT
  +-org.apache.solr:solr-core:8.8.2
    +-org.apache.kerby:kerby-pkix:1.0.1
and
+-org.apache.hadoop:hadoop-yarn-applications-catalog-webapp:3.3.9-SNAPSHOT
  +-org.apache.solr:solr-test-framework:8.8.2
    +-org.apache.kerby:kerby-pkix:1.0.1
and
+-org.apache.hadoop:hadoop-yarn-applications-catalog-webapp:3.3.9-SNAPSHOT
  +-org.apache.hadoop:hadoop-common:3.3.9-SNAPSHOT
    +-org.apache.kerby:kerb-core:2.0.3
      +-org.apache.kerby:kerby-pkix:2.0.3

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability. See above detailed error message.
[INFO]

The solr version is the same in branch-3.3 and trunk. So we would need to do the same for trunk.
We could possible update Solr to 9.x. Looks like Solr 9 does not depend on Kerby.


Person: tighten up mapping / table

Optional:

user-principal-name
department-name
manager
title
office phone
mobile-phone

Add non-null constraint:

email
displayname
employee-id
kind

Ensure Dao uses ofNullable


feature: 插件包描述文件支持定义配置模板填写参数 (closed #654)

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


Changed source of name for target

It was grabbing an invalid value, now it follows how the
main command name is retrieved.
This fixes issue 164: https://github.com/noseglid/atom-build/issues/164

Closing, as per discussion in #164.


chatty: 0.6.0 -> 0.6.1

Motivation for this change
https://source.puri.sm/Librem5/chatty/-/blob/v0.6.1/NEWS
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Do we know why https://ryantm.github.io/nixpkgs-update/r-ryantm/#r-ryantm doesn't propose updates for this package? I cannot see any logs in https://r.ryantm.com/log/repology/ for Chatty.

nix-update failed for me (https://github.com/Mic92/nix-update/issues/80) but I don't know if that's related.

Do we know why https://ryantm.github.io/nixpkgs-update/r-ryantm/#r-ryantm doesn't propose updates for this package?

I asked r-ryantm and he said the issue is likely to be now fixed.


Bug? Using Power Commander login (Connect-Keeper) and Secret Manager Powershell Plugin

Replication

Powershell: Version 7.2
Install Power Commander in the Windows Powershell Module
Install Secrets Manager Powershell

Store the username and password in keeper.
If you have the line codes to pull the username and password from secrets manager, if you do the "connect-keeper" script to login into powercommander after using the secrets manager code (different framework), it errors out. But if you do it before the code, it works. Which means you can't utilize secrets manager to pull the login information for powercommander to login with.
In sense it seems to be a compatibility issue with using secrets manager with the connect-keeper function. Connect-keeper works before using any secrets manager function but not after.
New-Object: C:\Program Files\WindowsPowerShell\Modules\PowerCommander\AuthCommands.ps1:359
Line |
359 |  … $endpoint = New-Object KeeperSecurity.Authentication.KeeperEndpoint($ …
|                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling ".ctor" with "2" argument(s): "Could not load file or assembly 'BouncyCastle.Crypto,
| Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=*******'. Could not find or load a specific
| file. (0x80131621)"
InvalidOperation: C:\Program Files\WindowsPowerShell\Modules\PowerCommander\AuthCommands.ps1:360
Line |
360 |      $endpoint.DeviceName = 'PowerShell Commander'
|      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The property 'DeviceName' cannot be found on this object. Verify that the property exists and can be
| set.
InvalidOperation: C:\Program Files\WindowsPowerShell\Modules\PowerCommander\AuthCommands.ps1:361
Line |
361 |      $endpoint.ClientVersion = 'c16.1.0'
|      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The property 'ClientVersion' cannot be found on this object. Verify that the property exists and can
| be set.
New-Object: C:\Program Files\WindowsPowerShell\Modules\PowerCommander\AuthCommands.ps1:362
Line |
362 |  … $authFlow = New-Object KeeperSecurity.Authentication.Sync.AuthSync($s …
|                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling ".ctor" with "2" argument(s): "Could not load file or assembly 'BouncyCastle.Crypto,
| Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=******. Could not find or load a specific
| file. (0x80131621)"
InvalidOperation: C:\Program Files\WindowsPowerShell\Modules\PowerCommander\AuthCommands.ps1:364
Line |
364 |      $authFlow.ResumeSession = $true
|      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The property 'ResumeSession' cannot be found on this object. Verify that the property exists and can
| be set.
InvalidOperation: C:\Program Files\WindowsPowerShell\Modules\PowerCommander\AuthCommands.ps1:365
Line |
365 |      $authFlow.AlternatePassword = $SsoPassword.IsPresent
|      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The property 'AlternatePassword' cannot be found on this object. Verify that the property exists and
| can be set.
Keeper Username:  *****

InvalidOperation: C:\Program Files\WindowsPowerShell\Modules\PowerCommander\AuthCommands.ps1:397
Line |
397 |          $authFlow.Login($Username, $passwords).GetAwaiter().GetResult …
|          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| You cannot call a method on a null-valued expression.
InvalidOperation: C:\Program Files\WindowsPowerShell\Modules\PowerCommander\AuthCommands.ps1:52
Line |
52 |      $prompt = "`nUnsupported ($($auth.step.State.ToString()))"
|                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| You cannot call a method on a null-valued expression.

So in sense can't seem to use "Connect-keeper" command after using get-secret command but you can if you use it before.

PowerCommander targets .Net Framework
Secrets-Manager targets .Net Core
Both use BouncyCastle encryption library.
PowerCommander cannot load .Net BouncyCastle library if .Net Core version of this library is already loaded.
We'll probably need to provide .Net Core version of PowerCommander that works with Secrets Manager for Powershell

PowerCommander and SecretManager scripts reference different versions of BouncyCastle.Crypto.dll library: 1.9.0 and 1.8.10 accordingly.
This version conflict can be resolved by replacing BouncyCastle.Crypto.dll in PowerCommander with the same file from the SecretsManager.
PowerShell 7.0 installs SecretsManager module in %HOME%\Documents\PowerShell\Modules\SecretManagement.Keeper... folder

Perfect, that was exactly it and resolved it. Thank you.

SecretsManager Powershell module has been upgraded to match shared library dependencies.
When updated to Keeper SecretsManager 16.3.3 please revert BouncyCastle.Crypto.dll file in PowerCommander module
otherwise SecretsManager will stop working after launching PowerCommander.
I seems that there is no easy solution to this issue other than making sure shared libraries use the same version.


Fix false state transition riak_cs_gc_batch to waiting_workers without any more tasks [RCS-291]

Before this commit, batch completion is verified before
maybe_start_workers call and maybe_start_workers always
make transitions to waiting_workers state.
When the count of gc keys is just multiple of gc_batch_size,
continuation indicates there (maybe) more results but
no more tasks actually. The riak_cs_gc_batch process is in
waiting_workers but no workers who triggers event transition.
This commit only changes the order of maybe_start_workers and
has_batch_finished.

Steps to reproduce:

Set gc.batch_size and gc.max_workers to 1
Put one object to riak cs and delete it, wait 1 sec.
Execute riak-cs-admin gc batch 1 and wait.
GC does not finish at least several minutes.

The patch looks good, although I couldn't reproduce in my MacOS with your steps.

Repro'd. You'll also need gc.max_workers=1 in riak-cs.conf.

Thanks! Updated the description.

I've successfully reproduced this via eqc test; will follow up with it.

@borshop merge


添加好友成功的通知

作者你好。我的业务里面有个需求：当同意添加对方为好友时，业务系统需要执行一定的逻辑。这个IM怎么修改，通知到业务系统。能简单说一些吗？

In simple words, there are many ways to implement the feature according to your business requirements.

The simplest way: For clients, you can use notificationService.addNotificationListener to listen to any notifications and then implement your business logic. e.g.:

notificationService.addNotificationListener {
    notification ->
    if (!notification.relayedRequest.hasUpdateFriendRequestRequest()) {
        return@addNotificationListener
    }
    val updateFriendRequestRequest = notification.relayedRequest.updateFriendRequestRequest
    when (updateFriendRequestRequest.responseAction) {
        ResponseAction.ACCEPT -> {
            // do something when the recipient accepts the friend requests sent by the current user.
        }
        ResponseAction.DECLINE -> {
            // do something
        }
        ResponseAction.IGNORE ->  {
            // do something
        }
        ResponseAction.UNRECOGNIZED -> {
            throw IllegalArgumentException("Unrecognized response action: ${updateFriendRequestRequest.responseAction}")
        }
    }
}

Write a plugin to implement the interface im.turms.service.infra.plugin.extension.ClientRequestHandler for turms-service, and then you can do anything you want to view/modify the client request and response/notification in the plugin as you can control the code, you can control anything.

Almost all proto models include a field customAttributes, which is designed for developers to send any arbitrary data between the Turms clients and servers to implement your business logic.

这个是对于客户端的监听。我是想 IM服务端 通知给 业务服务端，


request for findOneDoc -- just like findOne, but for documents

Not a big deal, but I just found myself writing this code:
    let masterDocs = await table.findDocAsync( { meta : { type: masterDocType } } );
    let masterDoc = masterDocs[0];

Which is a bit silly... so might be nice to have findOneDoc.
(please note -- above includes by async wrapper using typescript)... but you get my point.

I do believe the options work on this one if you pass {single: true}

Just added documentation and a testcase proving it, but yes, single works in 2.2.0.


Add Docker

I've dockerized your tool.
This is the first PR I've ever done so please help educate me on how this goes!
This tool is very useful to use in a CI pipeline, so I wanted to contribute back!

Hello, and welcome to the world of github!
General comments:

I haven't drunk the Docker kool-aid, but I'm not opposed to adding some files if it makes others lives easier (e.g. in another project I accepted some TypeScript definitions even though I'm not a TypeScript user).

Comments on the commits:

f88a849a762dede76accb194454e8ca2e30a9a73

this one is OK

cb01ec39a825d6ba36de672a1eb900e92efb9569

I'd prefer not to add badges. They can be used by 3rd parties to track who's viewing the documentation, and I'm not in control of the images being displayed (the badge host could get bought/sold and start showing spam).

c06f3526622f6bdb3881d4866596d6d33f9b053c

I don't know anything about docker files but this doesn't seem harmful, so I'm OK with this one.

26b2ede23bac323cd797d869cb752e75a01529fd and c8d12d1a7add2ead9c6c209fd8218678d0af8134

when you have a commit and then one that fixes it, generally you'd want to squash these two commits before doing a pull request.
I'd rather not include docker in the CI run. I think it would add some overhead to the test run, and I don't know enough about docker to debug it if it ever mysteriously stopped working.

Summary:
Thanks for submitting the pull request. I'm happy to accept f88a849a762dede76accb194454e8ca2e30a9a73 and c06f3526622f6bdb3881d4866596d6d33f9b053c. Can you update the pull request with just those two commits? If you're unsure, let me know and I can cherry pick those two commits myself.


"Can't afford because of this resource" UI is inconsistently bold or strikethrough (make always bold?)

It is actually consistent, it's just if something isn't currently generating power then it's striked through, I think


Update Builder.php

Fixed $boolean parameter being ignored by "where" function, when the $column parameter is an array.
In detail: the following code should produce a query with "or" conditions:
..->where(["col1"=>"val1","col2"=>"val2"],null,null,"or");
But, it produced the query with "and" conditions - ignoring the last parameter "or" and taking it as "and" (default value)

FYI: This change caused very strange behaviour in our application as some part of a query flipped from (a = a and b = b) or (c = c and d = d) to (a = a and b = b) or (c = c or d = d). Even though this probably was a programming bug on our side, I can imagine this PR can introduce a hard-to-spot bug in many applications and perhaps a test was missing?

I tested the change with a straightforward usage of the "where" function.
The parameter that you expected to be handled, was just skipped and
considered default.
Can you please post your code with the query builder, which produced that
query?
On Wed, Aug 23, 2017 at 1:09 PM, Jarno van Leeuwen<EMAIL_ADDRESS>
wrote:

FYI: This change caused very strange behaviour in our application as some
part of a query flipped from (a = a and b = b) or (c = c and d = d) to (a
= a and b = b) or (c = c or d = d). Even though this probably was a
programming bug on our side, I can imagine this PR can introduce a
hard-to-spot bug in many applications and perhaps a test was missing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/laravel/framework/pull/20553#issuecomment-324284316,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKABLPrvTPrS0zIGCF-gy7hek-pzMMoeks5sa_pjgaJpZM4O2GkQ
.

Yeah, your PR is probably correct, but applications that relied on the previous orWhere behaviour might break.
Example:
$query->where(['a' => 'a'])->orWhere(['b' => 'b', 'c' => 'c'])

I see.
Honestly it's my first PR ever, so I don't know exactly what to do in such
cases - one side is that the code of the function is more correct now, but
on the other side it changes behavior of other functions that are relying
on it.
As for your use case, I didn't find the good solution for this so far. All
solutions I saw require further changes in the code that might cause more
problems.
So, if it is what has to be done I'm ready to revert my changes.
Taylor, what do you think?
On Wed, Aug 23, 2017 at 2:01 PM, Jarno van Leeuwen<EMAIL_ADDRESS>
wrote:

Yeah, your PR is probably correct, but applications that relied on the
previous orWhere behaviour might break.
Example:
$query->where(['a' => 'a'])->orWhere(['b' => 'b', 'c' => 'c'])
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/laravel/framework/pull/20553#issuecomment-324295324,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKABLBy_whYWvEibmBOgADmWPfUzmtxFks5sbAZugaJpZM4O2GkQ
.

Oh, it is actually very easy to modify the code to work with this change.
Simply pass a closure to the orWhere method.
I was wondering if this should be treated as a breaking change and thus
should be scheduled for the Laravel 5.5 release instead.
Op wo 23 aug. 2017 om 17:42 schreef yosef-boaelite<EMAIL_ADDRESS>

I see.
Honestly it's my first PR ever, so I don't know exactly what to do in such
cases - one side is that the code of the function is more correct now, but
on the other side it changes behavior of other functions that are relying
on it.
As for your use case, I didn't find the good solution for this so far. All
solutions I saw require further changes in the code that might cause more
problems.
So, if it is what has to be done I'm ready to revert my changes.
Taylor, what do you think?
On Wed, Aug 23, 2017 at 2:01 PM, Jarno van Leeuwen <
<EMAIL_ADDRESS>
wrote:

Yeah, your PR is probably correct, but applications that relied on the
previous orWhere behaviour might break.
Example:
$query->where(['a' => 'a'])->orWhere(['b' => 'b', 'c' => 'c'])
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/laravel/framework/pull/20553#issuecomment-324295324
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AKABLBy_whYWvEibmBOgADmWPfUzmtxFks5sbAZugaJpZM4O2GkQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/laravel/framework/pull/20553#issuecomment-324376487,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABS8laQUKVEUyid3cH_6V-gH49SHf_Fqks5sbEhegaJpZM4O2GkQ
.

Thanks for advice. I saw the solution with a Closure, but thought it's not
good enough, because still requires changes of user code.
To schedule to the next version sounds good. So... how to do it? I didn't
find the branch 5.5 on the repo. The last one is 5.4.
On Wed, Aug 23, 2017 at 9:05 PM, Jarno van Leeuwen<EMAIL_ADDRESS>
wrote:

Oh, it is actually very easy to modify the code to work with this change.
Simply pass a closure to the orWhere method.
I was wondering if this should be treated as a breaking change and thus
should be scheduled for the Laravel 5.5 release instead.
Op wo 23 aug. 2017 om 17:42 schreef yosef-boaelite <
<EMAIL_ADDRESS>

I see.
Honestly it's my first PR ever, so I don't know exactly what to do in
such
cases - one side is that the code of the function is more correct now,
but
on the other side it changes behavior of other functions that are relying
on it.
As for your use case, I didn't find the good solution for this so far.
All
solutions I saw require further changes in the code that might cause more
problems.
So, if it is what has to be done I'm ready to revert my changes.
Taylor, what do you think?
On Wed, Aug 23, 2017 at 2:01 PM, Jarno van Leeuwen <
<EMAIL_ADDRESS>
wrote:

Yeah, your PR is probably correct, but applications that relied on the
previous orWhere behaviour might break.
Example:
$query->where(['a' => 'a'])->orWhere(['b' => 'b', 'c' => 'c'])
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/laravel/framework/pull/20553#
issuecomment-324295324
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AKABLBy_
whYWvEibmBOgADmWPfUzmtxFks5sbAZugaJpZM4O2GkQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/laravel/framework/pull/20553#issuecomment-324376487
,
or mute the thread
<https://github.com/notifications/unsubscribe-
auth/ABS8laQUKVEUyid3cH_6V-gH49SHf_Fqks5sbEhegaJpZM4O2GkQ>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/laravel/framework/pull/20553#issuecomment-324415991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKABLAEuAT5Pub0zPBOk2PFIvtTsWBhFks5sbGnugaJpZM4O2GkQ
.


[Spark Dataset runner] Avoid copying outputs for most cases in ParDo translation

A minor improvement following up on #24711.
This avoids copying outputs for most cases (when removing obsolete, unconsumed outputs) in ParDo translation.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@aromanenko-dev

@mosche Why it was closed?

I'll reopen once the other PR is merged, fixing the spellings there will require a rebase here


More complete implementation of extvars, topvars

Still needs ext-code, tla-code, etc.

(I wrote 41c5f01 and totally thought it didn't work, because I was looking at go-jsonnet rather than jsonnet_cgo. Happy surprise when it compiled)

Cool. What's the release schedule look like? I use your binaries in our
integration tests (path of least resistance); Looking forward to making use
of these.
On Jun 29, 2017 18:14, "Angus Lees"<EMAIL_ADDRESS>wrote:

Merged #44 https://github.com/ksonnet/kubecfg/pull/44.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ksonnet/kubecfg/pull/44#event-1145234934, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAL3FeUHAgpG9CE6IOoLHdPoetbE5yoCks5sJEwFgaJpZM4OI6EK
.

v0.3.0 has been released with this (and your other) PRs :-)
Thanks again for the contributions.


[Bug Report] Audio wont play

Describe the bug
it happens when one song ends and after complete end of song add other we cant here anything (bot has admin permission )
it only solves when i go to another server and play a song there then i can hear the song still others need to reconnect to hear the voice of bot again
To Reproduce
Steps to reproduce the behavior:

play a song p.play
wait for song to end (song length is <2 min
p.play
cant here anything (not happens often but happens mostly)

Expected behavior
Start playing song(actually plays but we can here happened for 2 people at a time same bug)
Screenshots
If applicable, add screenshots to help explain your problem.
Version Info (please complete the following information):

Operating System: Herkou (1 dyno )
JMusicBot Version: 0.2.5

Additional context
Bot has admin permission everyone has dj role

thats a discord client bug usually restarting the client / rejoining the vc / changing server regions fix that

rejoining wont work ,changing server region wont work too (restarting bot only works)

This is a Discord bug, so nothing can be done about this until they fix the issue. Also, Heroku is not a supported host and I recommend against using it for this bot; please do not report bugs that arise on unsupported hosts.


[RemoteAST] Fix typo in existential payload calculation.

This only shows up in lldb, so I'm adding a test there and
test the two commits together.
(cherry picked from commit b25953e0ea0fc0140e2253928a00695809bdf947)

https://github.com/apple/swift-lldb/pull/1033
@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 0c7d60177b647e3a095f91191193dde2d05ddadf

apple/swift-lldb#1033
@swift-ci test linux

Build failed
Swift Test Linux Platform
Git Sha - 0c7d60177b647e3a095f91191193dde2d05ddadf


MUMUP-2148

update uw-frame, rename "samples" to "dynamicFeeds" and all corresponding files in uw-frame

Rename to staticFeeds like in angularjs-portal


injectGlobal and friends should support dynamic expressions.

emotion version:
react version:

Relevant code.
const test = css`
  background: aquamarine;
`

injectGlobal`
  body > div:first-of-type,
  #app,
  #__next,
  #__next > div {
    display: flex;
    flex: 1;
    height: 100%;
    ${test};
  }
`

What you did:
What happened:
All styles in the block do not work.
Suggested solution:
Specified elements should have an aquamarine background.

Just a note - my styles were actually applied by using this format, but I still got warning errors for injected styles in the console (even if just one was dynamic:
injectGlobal`
  :root {
    --colors_blue_dark: ${__UT__ ? '#324980' : '#3b5998'};
    ...
  }
`

Interesting use case @heaversm. That looks like a bug.


update-report: don't try to report Homebrew/core if not needed

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Follow-up to https://github.com/Homebrew/brew/pull/11715
Auto updates with HOMEBREW_DEVELOPER set will throw an error because HOMEBREW_UPDATE_BEFORE_HOMEBREW_CORE and HOMEBREW_UPDATE_AFTER_HOMEBREW_CORE are unset. This error is ignored unless HMEBREW_DEVELOPER is set so I didn't notice it during my testing.

Review period skipped due to critical label.

Review period skipped due to critical label.


Preserve  and

Gutenberg WordPress wraps images in <figure> by default. My concern was that most people probably just want the image and not the extra markup noise that comes with <figure>.
So I preserve <figure> only when there is a <figcaption> within.
That way folks purposefully using <figure> + <figcaption> will have their markup preserved. Others will get the simple image markdown.
If there is demand for more nuance/control, then adding a flag to settings.js can be considered.

Fixes https://github.com/lonekorean/wordpress-export-to-markdown/issues/94


Add HoloViews/Bokeh examples to pythonplot website

The Python Plotting for EDA website has examples of how to build various fairly simple plots using different Python plotting packages.  It's coming from an R background, so it seems to focus primarily on the sorts of plots that are well-supported by ggplots and related tools, and less on things that are better supported in Python.  Still, I think it would be useful to submit HoloViews-based plots to that website, showing that Bokeh plots can be constructed using HoloViews about as easily as for the ggplot-based versions.  We could then also submit some examples of things that would be much more difficult or unnatural to do in ggplot, to make the comparison a bit fairer.

I've made a start on this here. I've covered most things but I think we should address some of the issues I brought up there and wait until we've covered some of the remaining statistical operations.


Article is inaccurate for Skype for Business Online customers

Article is inaccurate for Skype for Business Online customers, SfBO does not allow you to edit all of these settings. TN previously had two versions of this article, one for on-prem and another for SfBO (showing only those values that could be edited in online). We need to bring this differenciation back to allow IT Pros to understand what they can edit in online and what not.

Hi Martin - there is now one article per cmdlet name. There is an Applies To at both the article (top of article) and for each parameter. Which cmdlet are you referencing?

Just to close this out, discussed with Martin and we do have the applies to, see screenshots. Happy to accept a pull request to add more details to description or call out any particular parameters for online. Closing this issue.


Upkie revision 2

This issue follows Upkie number two as we build it, so that it may capture some of the action stream. Hopefully all of that makes it to the wiki :wink:

Closing this issue as the beast was assembled and balanced itself successfully :smiley:


[Bikeshed] Rename cirq.channel_matrix?

Is your design idea/issue related to a use case or problem? Please describe.
@Strilanc pointed out that the term "channel matrix" can be given a fairly broad interpretation. This makes it fairly ambiguous, potentially confusing and invites name collisions. Filing the issue to record a discussion and suggestions for a better name.
The term "channel matrix" is intended for one of the matrix representations of quantum channels. Consider a linear map E: L(H1) -> L(H2) from the space L(H1) of linear operators on the Hilbert space H1 to the space L(H2) of linear operators on the Hilbert space H2 (N.B. this two-tier structure is why E is sometimes called a "superoperator"). Note that L(H1) and L(H2) are both vector spaces. They do have more structure than that since their elements are linear operators themselves, but suppose we disregard that additional structure and just treat L(H1) and L(H2) as vector spaces. Then E is simply a linear operator and has a matrix representation M(E). This is what "channel matrix" refers to. In John Watrous' book "The Theory of Quantum Information" M(E) is referred to as "the natural representation".
Note that M(E) is distinct from the Choi matrix J(E) of E. In particular, if dim H1 = d1 and dim H2 = d2 then M(E) is a (d1^2)x(d2^2) matrix while J(E) is a (d1*d2)x(d1*d2) matrix.
Also note that cirq.channel_matrix has not yet been introduced into cirq. All we have is a function to compute it from Kraus operators, see #4146. Down the road cirq.channel_matrix or an alternative name proposed here will refer to a protocol that will use the utility introduced in #4146 to compute the matrix of channels that do not know their matrix.
Describe your design idea/issue
Some alternatives:

cirq.channel_matrix since this is literally the matrix of a channel, viewed as a linear operator that it is,
cirq.natural_representation following John Watrous' terminology, though it is a bit long.

Related names worth keeping in mind that refer to other representations of quantum channels that already exist or may be introduced in future:

cirq.kraus,
cirq.choi,
cirq.stinespring.

@95-martin-orion @dabacon @balint @mpharrigan @Strilanc

If Watrous' description of the "natural representation" of channels is original, I would suggest using cirq.watrous or cirq.watrous_natural to specify this representation. Watrous' book is conveniently available on the UWaterloo website, and it comes up as the first hit when Googling Watrous quantum channel. In my mind, this makes using "Watrous" preferable to the other options listed, which are somewhat more difficult to find clear definitions for online.

Check what qiskit calls it.

Check what qiskit calls it.

https://qiskit.org/documentation/_modules/qiskit/quantum_info/operators/channel/superop.html

From @dabacon: Liouville-superoperator (ref https://arxiv.org/abs/1111.6950)

For reference: I didn't really know what y'all were talking about until I figured out it's what I call the superoperator representation. I think we follow the Chris Wood paper in the rest of the qis package, so Liouville-superoperator sounds ideal to me

SGTM. We still need to decide how to turn that term into a python name. Below is the full and updated list of options for ease of comparison:

cirq.channel_matrix
cirq.natural_representation
cirq.watrous
cirq.liouville
cirq.liouville_matrix
cirq.liouville_superoperator
cirq.superoperator
cirq.superoperator_matrix

The list is now probably long enough to commence voting...

To make absolutely sure we are all on the same page about which representation we're discussing, here is a fun fact about it: the natural (or whatever you wanna call it) representation of a unitary channel with unitary U is
$$U \otimes \overline{U}$$
(were overline denotes complex conjugation (no transpose!)). Proof is left as an exercise for the reader. This fact is fun because it leads to interesting observations:

the representation isn't a state (unlike normalized Choi),
you probably don't want to store channels in this representation (so redundant),
channels naturally compose in this representation by matrix multiplication (this is unlike the Choi representation and also happens without the exponential blow up that plagues the Kraus representation (the complaint from #3248)),
there is a simple connection to entanglement fidelity (guessing which is another exercise!).

Vote results:
cirq.channel_matrix			:A
cirq.natural_representation	:
cirq.watrous				:
cirq.watrous_matrix			:
cirq.liouville				:BCVAOP
cirq.liouville_matrix			:C
cirq.liouville_superoperator	:OM
cirq.superoperator			:BVOMPЭY
cirq.superoperator_matrix		:B

Will go with cirq.superoperator.


chore: disable owlbot

In this PR:

Disable Owlbot and remove related files, please see go/disable-owlbot-java for more info.

CodeQL failed due to deletion of owlbot.py.
/opt/hostedtoolcache/CodeQL/2.18.4/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14576 /home/runner/work/_temp/codeql_databases/python
  CodeQL detected code written in Java/Kotlin, but not any written in Python. Confirm that there is some source code for Python in the project. For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build .
  Error: Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.18.4/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14576 /home/runner/work/_temp/codeql_databases/python". Exit code was 32 and last log line was: CodeQL detected code written in Java/Kotlin, but not any written in Python. Confirm that there is some source code for Python in the project. For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.


Adding PNG Type

Hey,
I am requesting you allow the use of PNG Image Type, it would be very useful.
Thanks,
Cody

Png's are supported. Could you please clarify your question? Are you getting an error?

When I upload png's they are formatted to jpgs. Is there a flag I am missing to make sure it doesn't automatically save it out as a jpg?

I've made it a bit more clear in the readme that you can use Glide's fm-option.
By default the derived images will be stored as jpg's. If you want another image format you can specify pngor gif using the fm-key in an an imageprofile. For example:
//in your news model
public static function getImageProfileProperties()
{
    return [
        'list'=> ['w'=>200, 'h'=>200, 'shouldBeQueued' => false, 'fm' => 'png'],
        'detail'=> ['w'=>1600, 'h'=>800, 'shouldBeQueued' => false, 'fm' => 'png'],
    ];
}


⚠ Bofrost.fr has degraded performance

In 0d77fba, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1203 ms

Resolved: Bofrost.fr performance has improved in 2754c5a after 15 minutes.


"import numpy" in setup.py breaks in 3.10 and 3.11

Hi,
It seems that importing numpy during the setup is not allowed in python 3.10 and 3.11. I've added the lines:
setup_requires=["numpy"],
and
try:     import numpy     INCLUDE_DIRS = [numpy.get_include()] except ImportError:     INCLUDE_DIRS = []
...
include_dirs=INCLUDE_DIRS,
I tested the pip install for this change in 3.9, 3.10, and 3.11.
Best, Alex

Many thanks, was not aware of this issue!


Bug: dep-scan picking up findings from CMakeLists.txt files

Expected Behavior
I have started using dep-scan on a number of projects across a number of languages. I noticed I was getting strange malicious findings when running it on a C++ project. From what I can tell in the documentation, etc., C++ support only mentions Conan files (e.g., conanfile.txt).
Actual Behavior
dep-scan seems to be using CMakeLists.txt files in some way as reporting on findings as a result
Steps to Reproduce

Create a directory for this new dummy project
Within that directory, create a Test sub-directory
Within the Test sub-directory, create a CMakeLists.txt file with the following contents:

project(Test)

Run dep-scan this way:

depscan --src . --reports-dir ./dep-scan-reports --no-banner --explain --debug --type cpp

Get malicious findings in the output

Note that adding a Conan file (e.g., conanfile.txt) does not seem to change anything.
Additional Information
I am on depscan 5.4.1

@gcatto Could you kindly retest with 5.4.3? We fixed https://github.com/owasp-dep-scan/dep-scan/issues/320 recently which appears to be similar issue.

That does seem to help. Thanks kindly for your prompt response, @prabhu !

@prabhu follow-up question, if you don't mind. When I run the command like this locally on my development machine (where I have cdxgen and depscan installed), I don't get any findings:
depscan --src . --reports-dir ./dep-scan-reports --no-banner --explain --debug --type cpp

When I run the same command as part of my CI process, where it is running within a container, it reports a bunch of container/OS findings. Is there any way to suppress those, since I have type set to cpp? Thanks!

@gcatto No idea. Can you share the sbom generated in the CI? Or run cdxgen separately with the environment variable CDXGEN_DEBUG_MODE=true and share the output.

@prabhu is it okay if I email them to you, instead of posting here? Is your email address on https://github.com/prabhu okay to use?

Sent! Hopefully the files make it through. Thank you!


Evaluating Eagle on HumanEval, GSM8K, Alpaca, CNN/DM, and Natural Questions Datasets

Hello!
Thank you for your work!
I’ve been reviewing your code and noticed that the published evaluation currently supports only the MTBench dataset. However, in the paper, you reported speedup and $\tau$ for the HumanEval, GSM8K, Alpaca, CNN/DM, and Natural Questions datasets as well(Table 1 in the EAGLE-2 paper). Could you please provide scripts for evaluating Eagle with these datasets?

You can use --bench-name to specify the dataset, such as humaneval.

Hi,
Thanks for your work !
Could you please let us know why have you used only 80 samples from all datasets in the eval set. Are the shared .jsonl just randomly sampled set of 80 questions from eval set or is it that the numbers reported in the paper are also on these 80 samples.

Testing with the full dataset is too expensive, so selecting 80 data points is a common practice, as seen in Medusa, Spec-bench, etc.

Thank you so much!


Adding GitHub Statement Against Modern Slavery and Child Labor - 2018

We are adding GitHub's 2018 Statement Against Modern Slavery and Child Labor to our open-sourced policies. We update this statement each year, and submit it to our Board of Directors for approval. So we won't make any changes to this document in this cycle, but we'll consider comments or feedback in our preparation of the 2019 statement.

The public comment period has ended. This version is being merged into master.


Improvements/bugs with wanted albums

I'm not sure if you're aware of this issues. If so, then it is just a reminder;)
The dash wanted albums module should only be as large as there are wanted albums. If no wanted albums exist, the module should be of only one row (the one that says 'no wanted albums'). If there are three wanted albums, only three rows. The sabnzbd and sickrage module are working correct. This is not related to a certain browser. Examples:

Bug with IE and wanted albums:

Maybe, it's an idea to just change the way HTPC-Manager shows the wanted albums? Make it the same way as Next Aired? Just a table with artist - album - release date. That would probably fix the IE bug, and make the wanted albums dash more consistend with the other 'wanted' dash modules. Furthermore, I'm having many 'stretched' and 'ugly' album covers for my wanted albums module that would be fixed as well.

I have no interest is rewriting it as I don't use it :p, I will accept
A pr tho. As for the error handler you can probably fix that your self. (Only need so edit some HTML in the error handler)
The images are really tricky as we have to choose between a cropped or stretched image.

Will give it a try!

Fixed in a unpushed branch.

I think your comment is just a reminder for yourself? If you're referring to a branche in my repo: that one is far from fixed;). I'm trying to get a bit more familiar with the sublime text editor and the javascript language. I can give it a shot tomorrow.
If you're pointing to a branche of yourself: what branche exactly? So I can test it.

Ah sorry, it was fixed in the lastest update :P

Thanks!


Add: NBTV-1

Channel Name
NBTV-1
Alternative Names (optional)
新闻综合频道
Network (optional)
No response
Owners (optional)
No response
Country
CN
Subdivision (optional)
No response
City (optional)
Ningbo
Broadcast Area
c/CN
Languages
zho
Categories (optional)
news
NSFW
FALSE
Launched (optional)
2013-11-11
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://www.ncmc.nbtv.cn/gbds/folder8458/NBTV1/index.shtml
Logo
https://www.tvchinese.net/uploads/tv/nbtv1.jpg
Notes
No response

Already in the database: https://iptv-org.github.io/channel?id=NBTV1.cn


[CLI] When run sweep on my python code, entity and project is not loaded from config

Description
When I wanted to run sweep on my Python code, wandb.sweep() didn't parse both entity and project values neither in my yaml file nor in config dictionary. And finally, its project became uncategorized.
The document said that we can set entity and project in a configuration, so wandb.sweep() method also should parse the values.
Wandb features
wandb.sweep()
How to reproduce
https://github.com/Shunpoco/wandb-reproduce-sweep
Environment

OS: Ubuntu 20.04
Environment: Local (Both using Python directory and Poetry)
Python Version: 3.9.0

Hi @Shunpoco , my apologies that the docs are bit confusing. You need to also set the entity and project kwargs for wandb.agent()
https://docs.wandb.ai/ref/python/agent

Hi @aidanjdonohue ,
Thank you for your quick response!
Now I understand that wandb.sweep() has entity and project as kwargs and I also understand that wandb.agent() also has them.
However, when I tried to run sweep through CLI command (e.g., $ wandb sweep sweep_config.yaml), the command can parse both entity and project in the config file. So if we set the values in our config files, we don't have to use options --project and --entity. I think it is better that the ways to fetch the values both on wandb sweep and on wandb.sweep() are synchronized as much as possible for easy to understand and easy to use.
So in my opinion, wandb.sweep() should parse entity and project in its config dictionary.
If you have enough time, I want to know your opinion.

Hi @Shunpoco , I agree with you in principle. I believe the redundant behaviour was implemented to account for the different challenges in launching sweeps from the command line and from code from both scripts and notebook environments. Let me chat with some other folks on the client team and see if this is something that we could clean up moving forward.

Thanks! I will wait for your discussion!

Hi @Shunpoco , my apologies for the delay. The reason why we have this implemented the way that we do is actually to keep wandb related configurations separate from hyper parameter tuning configs. We can definitely be more clear about this in our documentation but this is likely a practice that we will keep in place.


missing border on warning message

There should be a left and right border on the warning message.

@bonustrack https://github.com/snapshot-labs/snapshot/pull/3856#issuecomment-1530708641


Default schema for the migrations table

Currently the public schema is the default for creating the migrations table, there doesnt seem to be a way to create it elsewhere.
I'd be tempted to say it is a bad idea because:

you may have another migrations table inside that public schema and it leaves you no options.
running execute on a schema where there is no migrations table will fail

What do you think of this: asyncpg-trek creates its own schema to handle migrations, and uses a migrations table inside it, low chances of conflicts, and you are able to run migrations on others schema, asyncpg-trek always knows where to find its migrations table

What do you think of this: asyncpg-trek creates its own schema to handle migrations

One huge issue: you're not always allowed to create your own schemas on certain hosted Postgres offerings. I think it should be an option but not the default.

oh I didn't know that, how people can live without ?
but yeah so optional makes more sense in that case you're right.

PR welcome 😄


Add Dockerfiles and update build files for additional Windows versions

What does this PR do?
Add support for Windows containers versions 1903 and 1909.
Motivation
Windows is more particular about its versioning and how it handles virtualization for containers. By having up-to-date container versions for traefik, this allows users to be able to use the traefik container images with more efficient virtualization in Windows environments.
More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes
First PR to traefik - please don't be shy with comments!

Closing as it looks like AppVeyor isn't able to support building different Windows versions.


Nesting Custom Callouts: the setting "No Admonition Title by Default" seems to be ignored when using the native Obsidian Callouts syntax

Hi there again 😊 !
I'm trying to create nested custom callouts (i.e.: admonitions used with the native Obsidian Callouts Syntax) but, for some reasons,  the setting No Admonition Title by Default seems to be ignored for the nested custom callout which therefore, renders the type/title of the custom callout even with No Admonition Title by Default toggled ON...
Test Environment

Mac (Big Sur 11.6.5)
Obsidian v0.14.2
Admonition 8.2.3
No Community Theme

Custom Callouts settings
1. > [!nav]
(the setting Admonition Title is empty)

2. > [!ephemeris]
(the setting Admonition Title is also empty)

Test 1: Used one after the other in a note
> [!nav]
> Here's the `[!nav]` custom callout

> [!ephemeris]
> Here's the `[!ephemeris]` custom callout

🟢 Result
They are rendered in LP and Reading as desired (no icon, type/title) as I didn't precise any title and didn't make them collapsable...

Test 2: Nesting [!ephemeris] within [!nav]
> [!nav]
> Here's the `[!nav]` custom callout
>
> And another "Custom Callout"
> > [!ephemeris]
> > Here's the `[!ephemeris]` custom callout
>
> Back to `[!nav]` ...

🟠 Result
The toggled ON setting for No Admonition Title by Default of [!ephemeris] seems to be ignored but it still works for the 1st level custom callout [!nav].

Expected result
Nesting [!ephemeris] within [!nav] using the native Obsidian callout syntax, I was hoping to get the same result I can get in Reading when nesting them using the Admonition code block syntax 😊 .

I don't know if this would be feasible but maybe there could be a way to force the No Admonition Title by Default for the nested custom callouts to be taken into account by Obsidian ? 🤔
Couldn't this setting be added to the Admonition CSS snippet so it potentially overrides the Obsidian callout CSS ? 😇
I have no idea how to do that 😅 ... hence why I'm here 😊...
I'm sorry for the length 😇 ... But I thank you very much in advance for any help 😁 !

I don't know if this would be feasible but maybe there could be a way to force the No Admonition Title by Default for the nested custom callouts to be taken into account by Obsidian ?

Same issue for me, and same wish :)

I have this problem too.


Bonfire: Meet Bonefire - Unable to run code to submit

Tried on multiple Chrome browsers, neither clicking run code nor hitting CTRL + Enter on the keyboard do anything.
Edit: This seems to occur with any bonfire. Is linking github as my login a cause of this?
Edit 2: Running code for the same pages works in FF: Developer's Edition

The code is running but it's just slow. We're working on this now!


get token error

when i try to add setting for LG account Login
i get this error

more detail please, share plugin config, your account country

i found the issue i select Canada and it work fine  thanks


Add color constants

We already had a few constants and all web colors as string. Asked ChatGPT to generate all the constants.

We started with our own colors in the Silverlight days but I assume that these days we could use System.Drawing.Color in all platforms. Perhaps not yet in .netstandard2.0 yet. In Mapsui 5.0 we should perhaps make the switch to System.Drawing.Color.