Fails composer install for Laravel 9

Expected behavior
I am attempting to upgrade Laravel 8 to Laravel 9 I am unable to successfully run composer install
Observed behavior
Problem 1
- illuminate/support[v5.6.0, ..., 5.8.x-dev] require php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.2) does not satisfy that requirement.
- Root composer.json requires bugsnag/bugsnag-laravel ^v2.22.2 -> satisfiable by bugsnag/bugsnag-laravel[v2.22.2].
- Conclusion: don't install laravel/framework v9.0.0-beta.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.3 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.4 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.5 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0 (conflict analysis result)
- Root composer.json requires tightenco/ziggy ^1.4.3 -> satisfiable by tightenco/ziggy[v1.4.3].
- bugsnag/bugsnag-laravel v2.22.2 requires illuminate/support ^5.0|^6.0|^7.0|^8.0 -> satisfiable by illuminate/support[v5.0.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev].
- Only one of these can be installed: illuminate/support[v5.0.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev], laravel/framework[v9.0.0-beta.1, ..., 9.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- tightenco/ziggy v1.4.3 requires laravel/framework >=5.4@dev -> satisfiable by laravel/framework[v9.0.0-beta.1, ..., 9.x-dev].
- Conclusion: don't install laravel/framework v9.0.0-beta.1 (conflict analysis result)
Steps to reproduce
follow upgrade guide on Laravel site: https://laravel.com/docs/9.x/upgrade
Version
^v.2.0 and ^v2.22.2

Apologies, I just now looked and see the recent discussion on the previous issues.
Feel free to close the ticket if my information is redundant.

Hi @robertswes - we don't support Laravel 9 just yet, however we should be releasing an update for this shortly. As you've noted this is being tracked over at https://github.com/bugsnag/bugsnag-laravel/issues/469, so I'm going to close this issue out.


add language ID to output filename

e.g.:
arc42-template-DE.docx,
arc42-template-EN.docx

In case the versionID would be present... I wouldn't mind:
arc42-template-v70-DE.docx
arc42-template-v70-EN.docx

this is obviously WRONG here - should go to the arc42 repository...
(shame on me )


Introduce basic context.Context compatibility

This change set introduces basic context.Context compatibility.
Specifically:

Adds a ConnectContext method to Conn and defines Connect in terms of it.
Adds a CallContext method to Conn and defines Call in terms of it.
Adds a PerformCallContext function and defines PerformCall in terms of it.
Adds a DialContext method to Dialer and defines Dial in terms of it.
Adds a DialContext function and defines Dial in terms of it.

Higher level utility methods such as ManifestCreateTask are left unchanged.

 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.


translation between languages

Hi, when I convert between different languages, the results are different even if they have exact correspondence (having the same index in the word list). Why is that?
My example:

advance isolate guilt riot grow guard walk nurse pizza ecology earn erupt manage slogan horn
分 岁 晚 肃 刚 谓 剑 昌 淡 案 施 送 铜 凤 福

https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki#from-mnemonic-to-seed

To create a binary seed from the mnemonic, we use the PBKDF2 function with a mnemonic sentence (in UTF-8 NFKD) used as the password and the string "mnemonic" + passphrase (again in UTF-8 NFKD) used as the salt.

The words are hashed to get the seed. So different words give different seeds. Even if the words come from the same underlying entropy.

https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki#from-mnemonic-to-seed

To create a binary seed from the mnemonic, we use the PBKDF2 function with a mnemonic sentence (in UTF-8 NFKD) used as the password and the string "mnemonic" + passphrase (again in UTF-8 NFKD) used as the salt.

The words are hashed to get the seed. So different words give different seeds. Even if the words come from the same underlying entropy.

Thanks. So is there is no way one can convert BIP 39 from one language to another?

Unfortunately it is the words themselves and not the entropy that gets hashed. So no, there is no way.

I am shocked to learn this! So supporting chinese breaks compatibility with almost all other wallets out there?


Simplify generated names for runtime Typescript client

[ ] Uncomment openapi_naming_strategy and simple_operation_ids options in proto/buf.gen.yaml
[ ] Then re-generate OpenAPI spec and Orval-generated svelte-query client
[ ] Then refactor all impacted function and type names in web-local

Closing this as we will likely move away from the Orval-generated clients soon


Home Page Details

This should be a welcome landing page that contains:

[x] Your Name
[x] A headshot of you (or an avatar)
[x] Your brand statement
[x]  Some indication that this is your portfolio site

Done bur not really aesthetically pleasing but timescale will probably not allow for immediate improvements


Build images for darwin/arm64

M1 macs are rising in popularity, so it would be good to have native binaries available.

Release 0.3.9 just went out, so these binaries can now be downloaded from the releases page. Thanks for the request and let me know if you encounter any issues!


move styl close to their component

Coverage remained the same at 89.097% when pulling 16f54974e07056a0dc6f17c00694ad26d4e00456 on feature-160-css into 602da6359902ae5b1ea4bee1e8af6efe6d1cf0e4 on master.


Table captions are shown within the table body

Using material for mkdocs and the captions plugin (no options)
Problem:
The caption text is included within the table body.
The html source file generated by the plugin shows the caption tag to be within the table tag.

Hey, thanks for raising this issue.
I have some problems following your description.
As far as I see it, the plugin adds a caption to a table with the
 tag.
E.g. like this

Table 1: Table caption

My
Table

Has
A Caption

Which Makes
It Fancy

As far as I know, this is the right behaviour. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption
Am I missing something?

The html should be
Table 1: Table caption

(outside the the table tag)
not

Table 1: Table caption
(inside the table tag)

Where is this specified? Don't get me wrong, I am happy to change this, but I have never seen the caption tag outside of the table tag ...
The official reference states it should be inside the table tag
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption

I've done some more testing.
I was using mkdocs material theme and saw this: (caption within table)

I swapped over to readthedocs theme and now see this: (caption outside of table)

So it seems that the problem is with the material theme.
Apologies for any confusion.

I am closing this for now. If you have any other issues or question using this plugin feel free to reach out


--temp-dir flag

Closes #2163.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/6f81ac994f449b721f890fe0ae57463a23295661/

Review status: 0 of 2 files reviewed at latest revision, 4 unresolved discussions, all commit checks successful.

v2.0/start-a-node.md, line 65 at r1 (raw file):
Previously, jseldess (Jesse Seldess) wrote…
nit: The path of the given node's temporary... > The path of the node's temporary...

Done.

v2.0/start-a-node.md, line 147 at r1 (raw file):
Previously, jseldess (Jesse Seldess) wrote…
Would you mind making "backup" and "restore" link to the backup.html and restore.html?

Done.

v2.1/start-a-node.md, line 65 at r1 (raw file):
Previously, jseldess (Jesse Seldess) wrote…
Same as above.

Done.

v2.1/start-a-node.md, line 147 at r1 (raw file):
Previously, jseldess (Jesse Seldess) wrote…
Same as above.

Done.

Comments from Reviewable

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d9253f58bd0eb08511b39f3f08be3b9ad41253cf/


Parsing bugs

Looks like the markdown parser has some bugs:

[ ] Heading after a block quote is still part of the block quote
[ ] Lines containing a single | are incorrectly interpreted as a table.
[ ] Bulleted lists after preformatted text using indentation are lost.

Table bug seen with the following text:
where "-" is a pointer to the sibling node and "|" is a pointer to the first
child or parent node.

List bug seen with the following text:
The `mxmlGetType` function gets the type of a node:

    mxml_type_t
    mxmlGetType(mxml_node_t *node);

- `MXML_CUSTOM` : A custom value defined by your application,
- `MXML_ELEMENT` : An XML element, CDATA, comment, or processing instruction,
- `MXML_INTEGER` : A whitespace-delimited integer value,

Heading bug seem with the following text:
> Block quote text

# Heading

[master e3837f0] Fix some parsing bugs (Issue #7)


Better messages in Jenkins job logs

BUILD STEP:  OpenShiftScaler in perform for frontend wanting to get to replica count 0 on namespace test

Should be something like "Scaling deployment 'frontend' in namespace 'test' to 0 replicas"

BUILD STEP EXIT:  OpenShiftScaler got the scale request through

Dunno what this means :-)

BUILD STEP:  OpenShiftBuilder in perform for ruby-sample-build on namespace test

Should be "Starting build #number for 'ruby-sample-build' in namespace 'test'". Alternatively, when the deployment check is in place we can add " and waiting for deployment to succeed".

BUILD STEP:  OpenShiftDeploymentVerifier in perform checking for frontend wanting to confirm we are at least at replica count 0 on namespace test

Should be "Waiting for the 'frontend' to reach number of replicas to be 0"
...
I think we need to cleanup this :-) I think the EXIT steps are not necessary. We should try to be less verbose and don't use something like "OpenShiftDeploymentVerifier" as users (and me) have no idea what that is :-)
Also can we show links to OpenShift console so users can follow the build (to watch logs/cancel/etc)?

@gabemontero @bparees what do you think?

@mfojtik +1
@gabemontero and I already did some light reviewing of these messages, but there is definitely more aggressive editing that can be done.

I'll add the specific message edits.  @bparees had another one he noted via a gist (though I'm not 100% sure what is wrong with what he posted, need to look again).
And I think the idea of replacing the java class name with some sort of reference to what the build step is a good one.  I'm thinking the build step display name when they select it, unless you all have another suggestion.
Apologies, but I'm not in agreement about losing the EXIT prints.  They have already served as useful debug, without the full verbose option, for customer questions, and have expedited either debug or correction to user error on several occasions already.
There is an option to dump the build output.  It currently is not real time because of some java level concerns.  The openshift-restclient-java package from the eclipse folks have real time version, but it employs the oc binary located in the jenkins image under the covers.  If you all recall, we made a conscious decision to not depend on the oc  binary (I'm assuming the reasons are self explanatory).
Links to the console ... is the login URL another env var that @mfojtik has recently added ? ... even if it is, I'm on the fence

Apologies, but I'm not in agreement about losing the EXIT prints

I'm sympathetic to that and since you're the guy who's going to bear most of the burden of debugging these issues, it should probably be left up to you.  That said, we can probably at least make them more human readable and less debug-looking.
eg "Finished xyz with result abc"

Links to the console ... is the login URL another env var that @mfojtik has recently added ? ... even if it is, I'm on the fence

it's not, which is definitely a significant challenge.  I don't know that we have a good way to know what the console url is.  I would definitely leave that as a separate wishlist item from the other cleanup.

OK cool ... got to spend some online cycles, but hope to circle back to this before EOB today.

@bparees @mfojtik - I have a preliminary sample.  Before I took the time to apply a similar pattern to all the steps, I'd like to solicit feedback.  Note, the "Starting ...Started..." is one line (in case this comment does not render it that way):
Starting the "Perform builds in OpenShift" build step with build config frontend from the project test.  Started build frontend-3 and will not wait for any subsequent deployment to succeed.
Exiting "Perform builds in OpenShift" succesfully; build frontend-3 has completed.

We should quote all the parameters, eg
Starting the "Perform builds in OpenShift" build step with build config "frontend" from the project "test".  Started build "frontend-3" and will not wait for any subsequent deployment to succeed.

Regarding the exact message...  in the case where we're not doing something (not waiting for deployment, not waiting for exact replica count, etc) i'd just not mention it, eg:

Started build foo and will wait for build completion
Started build foo and will wait for build completion followed by a new deployment

"Perform builds in OpenShift" sounds pretty wordy as a step name, and "build step" is probably redundant since everything jenkins does is a build step. (just "step" should be sufficient), so how about, pulling it all together:
Starting the "Trigger OpenShift Build" step with build config "foo" from project "test".  Started build "foo-1" and waiting for build completion..."

though you said those two things are on the same line, I think they might be better as two lines:
Starting the "Trigger OpenShift Build" step with build config "foo" from project "test".
Started build "foo-1" and waiting for build completion..."

(or if the checkbox to watch for a deployment is set):
Started build "foo-1" and waiting for build completion followed by a new deployment..."
(note also the addition of the "..." to indicate an in progress step)

For the exit message:
Exiting "Trigger OpenShift Build" successfully; build "foo-1" has completed with status: [complete|failed|error]

(I assume "successfully" would also say "unsuccessfully" if the build had failed/errored?)
Also what exit message will you give if the build completed successfully but we were waiting for a deployment to be triggered and it wasn't?

OK, I'll apply 1) through 5).  Answers to your questions embedded below.
On Wed, Feb 24, 2016 at 4:59 PM, Ben Parees<EMAIL_ADDRESS>wrote:

We should quote all the parameters, eg
Starting the "Perform builds in OpenShift" build step with build config
"frontend" from the project "test". Started build "frontend-3" and will not
wait for any subsequent deployment to succeed.

Regarding the exact message... in the case where we're not doing
something (not waiting for deployment, not waiting for exact replica count,
etc) i'd just not mention it, eg:

Started build foo and will wait for build completion
Started build foo and will wait for build completion followed by a new
deployment

"Perform builds in OpenShift" sounds pretty wordy as a step name, and
"build step" is probably redundant since everything jenkins does is a build
step. (just "step" should be sufficient), so how about, pulling it all
together:
Starting the "Trigger OpenShift Build" step with build config "foo" from
project "test". Started build "foo-1" and waiting for build completion..."

though you said those two things are on the same line, I think they
might be better as two lines:
Starting the "Trigger OpenShift Build" step with build config "foo" from
project "test".
Started build "foo-1" and waiting for build completion..."

(or if the checkbox to watch for a deployment is set):
Started build "foo-1" and waiting for build completion followed by a new
deployment..."
(note also the addition of the "..." to indicate an in progress step)

For the exit message:
Exiting "Trigger OpenShift Build" successfully; build "foo-1" has
completed with status: [complete|failed|error]

(I assume "successfully" would also say "unsuccessfully" if the build had
failed/errored?)

Yes it would.  Right now (not accounting for your above edits around step
name, etc. - I will similarly apply those comments), there are these set of
messages:
a) Exiting "%s" unsuccesfully; a build could not be started.
b)  Exiting "%s" unsuccesfully; the build pod for build %s was not found
in time.
c) Exiting "%s" unsuccesfully; the state of the build %s is %s.
d) Exiting "%s" unsuccesfully for build %s; not all deployments with
ImageChange triggers based on this build's output triggered off of the new
image.
e) Exiting "%s" unsuccesfully; the build config % could not be read.
f) Exiting "%s" unsuccesfully; a client connection to %s could not be
obtained.
for a) the REST call to start the build came back in error
for b) we failed to access the build pod via REST ... we do this to dump
the build logs
for c) either it explicitly failed, or by the end of our wait timeout, the
state of the build is something other than COMPLETE
for d) we are in verify deployment mode, and some deployments did not fire
in time
for e) we could not access the build config via the REST api
for f) we could not get a client connection

Also what exit message will you give if the build completed successfully
but we were waiting for a deployment to be triggered and it wasn't?

see above

—
Reply to this email directly or view it on GitHub
https://github.com/openshift/jenkins-plugin/issues/17#issuecomment-188471301
.

two s's in successfully/unsuccessfully, but otherwise cool, that makes sense.

OK ... some posting of updated samples for the build step.  Pending more fine tuning, will move on to next step:

Starting the "Trigger OpenShift Build" step with build config "frontend" from the project "test".
Started build "frontend-2" and waiting for build completion ...
Exiting "Trigger OpenShift Build" successfully; build "frontend-2" has completed with status:  [Complete].

Starting the "Trigger OpenShift Build" step with build config "frontend" from the project "test".
Started build "frontend-3" and waiting for build completion followed by a new deployment...
Exiting "Trigger OpenShift Build" successfully; build "frontend-3" has completed with status:  [Complete].  All deployments with ImageChange triggers based on this build's output triggered off of the new image.

A couple of samples for the new scaler messages:

Starting the "Scale OpenShift Deployment" step with deployment config "frontend" from the project "test".
Scaling to "0" replicas and verifying the replica count is reached....
Exiting "Scale OpenShift Deployment" successfully, where the deployment "frontend-5" reached "0" replicas.

Starting the "Scale OpenShift Deployment" step with deployment config "frontend" from the project "test".
Scaling to "0" replicas...
Exiting "Scale OpenShift Deployment" successfully.

they look good to me.  probably wait until @mfojtik gives it a second set of eyes before committing to making changes though.

Roger that (comment above ^^).
Some samples for the deploy verify:

Starting the "Verify OpenShift Deployment" step with deployment config "frontend" from the project "test".
Verifying deployment state...
Exiting "Verify OpenShift Deployment" successfully.

Starting the "Verify OpenShift Deployment" step with deployment config "frontend" from the project "test".
Verifying deployment state and verifying the current deployment is at "1" replica(s)....
Exiting "Verify OpenShift Deployment" successfully, where the deployment "frontend-5" is at "1" replicas.

verify deployment step messages look good to me.

@bparees @gabemontero much better now :-) looks good to me as well.

@bparees @mfojtik cool deal ... do you all want me to continue to post the updates for each build step as I compose them, or have we established enough of a pattern where it is essentially plug-n-play.
Here is the list of step names as noted in the readme, and will show up as from the pull down:

"Trigger OpenShift Build"
"Scale OpenShift Deployment"
"Trigger OpenShift Deployment"
"Verify OpenShift Service"
"Tag OpenShift Image"
"Verify OpenShift Deployment"
"Verify OpenShift Build"
"Create OpenShift Resource(s)"

The post build actions:

"Cancel OpenShift Builds"
"Cancel OpenShift Deployments"

Image stream poller:
"Monitor OpenShift ImageStreams"

yeah i think we can probably hash out any further nuances in your PR


Scala Common Enrich: add BigTable Read Enrichment

The BigTable Read Enrichment lets you perform dimension widening on a Snowplow event by reading an item from a BigTable table.

Cool, in due course update the description to have a full spec.

Migrated to https://github.com/snowplow/enrich/issues/21


query clause don't support full text search?

seems like only support key:value format to query?

You should be able to use the _all_ field for this.

So esquery don't want to support the full text string format? Can you tell me the reason or difficulty？thanks very much.

Moderate difficultly. This is the first request I've seen for this and _all allows you to do the same thing. Do you have a good case for implementing this?

Just because users like to write some literal strings like google search,
but not to remember the field: format.
2016-10-07 9:22 GMT+08:00 Kai<EMAIL_ADDRESS>
Moderate difficultly. This is the first request I've seen for this and
_all allows you to do the same thing. Do you have a good case for
implementing this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kiwiz/esquery/issues/1#issuecomment-252131411, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABKcR6ehiyNdLv8ECukSgDSsUA74smcgks5qxZ7HgaJpZM4KPBWV
.

Implemented via 315e5773e87a8826e3cc0f82f8eac4b9d1be6310.


halide: init at 2018_02_15

Motivation for this change
Halide is  a LLVM/C++ based language for image processing and computational photography.
Thanks to @ck3d for providing the derivation.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg  build halide

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: halide
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: halide
Partial log (click to expand)
./CMakeFiles/CMakeOutput.log
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/vksf91j43jzdkmxb23gl0li9ww6jb4y5-halide-2018.02.15
shrinking /nix/store/vksf91j43jzdkmxb23gl0li9ww6jb4y5-halide-2018.02.15/bin/HalideTraceViz
shrinking /nix/store/vksf91j43jzdkmxb23gl0li9ww6jb4y5-halide-2018.02.15/bin/HalideTraceDump
shrinking /nix/store/vksf91j43jzdkmxb23gl0li9ww6jb4y5-halide-2018.02.15/lib/libHalide.so
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/vksf91j43jzdkmxb23gl0li9ww6jb4y5-halide-2018.02.15/lib  /nix/store/vksf91j43jzdkmxb23gl0li9ww6jb4y5-halide-2018.02.15/bin
patching script interpreter paths in /nix/store/vksf91j43jzdkmxb23gl0li9ww6jb4y5-halide-2018.02.15
checking for references to /build in /nix/store/vksf91j43jzdkmxb23gl0li9ww6jb4y5-halide-2018.02.15...

Failure on x86_64-linux (full log)
Attempted: halide
Partial log (click to expand)
[ 95%] Linking CXX static library ../../../lib/libhalide_blas.a
[ 95%] Built target halide_blas
Scanning dependencies of target test_halide_blas
[ 95%] Building CXX object apps/linear_algebra/tests/CMakeFiles/test_halide_blas.dir/test_halide_blas.cpp.o
[ 95%] Linking CXX executable ../../../bin/test_halide_blas
[ 95%] Built target test_halide_blas
Scanning dependencies of target eigen_benchmarks
[ 95%] Building CXX object apps/linear_algebra/benchmarks/CMakeFiles/eigen_benchmarks.dir/eigen_benchmarks.cpp.o
building of '/nix/store/cy20g7x8jfpx7ln5q4id9syy0wl9bx04-halide-2018.02.15.drv' timed out after 3600 seconds
error: build of '/nix/store/cy20g7x8jfpx7ln5q4id9syy0wl9bx04-halide-2018.02.15.drv' failed

That's weird that build timed our x86_64. Build time on my local machine was 4:17 with 4 cores. Can you please retry the OfBorg build on x86_64-linux?

Fine, let's try again.
@GrahamcOfBorg build halide

Success on aarch64-linux (full log)
Attempted: halide
Partial log (click to expand)
/nix/store/vksf91j43jzdkmxb23gl0li9ww6jb4y5-halide-2018.02.15

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: halide
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: halide
Partial log (click to expand)
./CMakeFiles/CMakeOutput.log
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/29hbgskkmrgd4vnbj94xd6j2g7qr2r2z-halide-2018.02.15
shrinking /nix/store/29hbgskkmrgd4vnbj94xd6j2g7qr2r2z-halide-2018.02.15/bin/HalideTraceDump
shrinking /nix/store/29hbgskkmrgd4vnbj94xd6j2g7qr2r2z-halide-2018.02.15/bin/HalideTraceViz
shrinking /nix/store/29hbgskkmrgd4vnbj94xd6j2g7qr2r2z-halide-2018.02.15/lib/libHalide.so
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/29hbgskkmrgd4vnbj94xd6j2g7qr2r2z-halide-2018.02.15/lib  /nix/store/29hbgskkmrgd4vnbj94xd6j2g7qr2r2z-halide-2018.02.15/bin
patching script interpreter paths in /nix/store/29hbgskkmrgd4vnbj94xd6j2g7qr2r2z-halide-2018.02.15
checking for references to /build in /nix/store/29hbgskkmrgd4vnbj94xd6j2g7qr2r2z-halide-2018.02.15...

Thanks! Looks like it worked now.


FAIL:vinternal_1: can't open adapter: libpcap not loaded - MASSCAN

After trying hard to install masscan, I'm still encountering the following error:
---------------------- FUNCTION LOG ----------------------
    [-] FAIL: failed to load libpcap shared library
        [hint]: you must install libpcap or WinPcap
    FAIL:vinternal_1: can't open adapter: libpcap not loaded
    [-] if:vinternal_1:init: failed
    Error in running the command:/masscan/bin/masscan -p 80 -iL /tmp/infile -oX masscan.xml --rate=1000
----------------------------------------------------------

I added libpcap-dev to the Dockerfile, has anyone already solved this problem?

So far, lambda does not have access to the kernel, so it cannot run libpcap, which is essential for masscan to work.
Therefore, for now, issue closed.


The content directory was not created after saving

After I modify the source code, I can post the content and enter the edit page. However, when viewing, the image and video and the panorama image are not loaded. I finally found that the content directory was not created when the resource was created.
Can you help me, thanks

@zw12579 What did you change to get the code working? It seems that the latest version from djoudi is not up-to-date with the newest h5p library.

is still not work ?

yes.
It seems to be caused by this saveFile function in LaravelH5pStorage.php
this function is removed in h5p-editor official library


ESCP Business School - France

Institution/School Name
ESCP Business School (France)
Instiution/School Website
https://escp.eu/
Program that needs advanced functionality of PyCharm Professional for Data Science and Machine Learning:
https://escp.eu/programmes/specialised-masters-MScs/MSc-in-Big-Data-and-Business-Analytics
Email Users
<EMAIL_ADDRESS>Please place an x between the square brackets if yes

[X] Students
[ ] Academic/Teaching Staff
[ ] Other/Support Staff
[ ] Alumni

Education Levels
Please place an x between the square brackets if yes

[X] Post-graduate research
[X] Graduate School
[ ] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

edu.txt

@Lord-of-Deepness I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host escp.edu.eu not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


Issue with is_prime()

All primes after 2 and 3 are under 6x +1 and 6x - 1, but not all of those values are primes, resulting in multiple false positives. It would require a rewrite, but you also need to check if the value is divisible by each of the previous primes as well to get the correct result for display_primes().

As an example, if you were to run display_primes(50), you would get the following:
2, 3, 5, 7, 11, 13, 17, 19, 23, 25, 29, 31, 35, 37, 41, 43, 47, 49
In this set, 25 is a false positive as it is divisible by 5, 35 is also divisible by 5, and 49 is divisible by 7. Checking if the candidate for being a prime is equal to previous primes will eliminate these false positives as you can see, all three of those false positives are divisible by previous primes.

ok I figured out what was going on I was checking those primes but I was returning true instead of false for some reason here is the new output of display_primes(50) 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47


Add example custom command for Sequel Ace or Sequel Pro (macOS)

The Problem/Issue/Bug:
We'd like to support either Sequel Ace or Sequel Pro for Mac users to connect directly to the db container visually.  This example custom command does that, assuming the apps are installed in the default location (/Applications/)
This might be a better solution than #2370.
How this PR Solves The Problem:
Adds a custom command example file sequel.example to .ddev/commands/host
Manual Testing Instructions:

Rename sequel.example to sequel and run ddev sequel.

If Sequel Ace is installed, it is preferred.  If neither is installed, the command should just print an error message.
Automated Testing Overview:
n/a
Related Issue Link(s):
#2369
Release/Deployment notes:
Might possibly want to update the docs to note this.

Closing this in favor of #2452, which brings this in, and only shows the commands where the app exists. It supports both Sequel Ace and Sequel Pro, depending on which may be installed. Thanks for all the good work here.


Right angled brackets seems to break highlighting

https://i.imgur.com/VtpNaAH.png
Seems like using brackets on a line like that breaks the highlighting for text.
{
    std::stringstream ss;
    ss << "IS NOT HIGHLIGHTED" << MyTemplate<int>{1,2,3} << "THIS IS HIGHLIGHTED";

    //or with broken code
    int var = 1;
    ss << "IS NOT HIGHLIGHTED" << var-> << "THIS IS HIGHLIGHTED"

};

Seems like it's related to #30 as disabling experimental seems to fix this


2.1 preview 1 - Unable to set up cascade delete when using TPH

Using TPH have 2 entity types. Want to set up relationship with parent table as cascade delete. Get error when apply migration. Works as expected using 2.0 resulting in one foreign key with cascade delete.
Commenting out one or the other of the cascade deletes "solves" the issue - but we also end up with an extra foreign key relationship set up to parent type. One with the cascade delete and one without.
Trying to set up one cascade delete using base type doesnt compile either as neither navigation property is of type BaseEntity
System.Data.SqlClient.SqlException (0x80131904): Introducing FOREIGN KEY constraint 'FK_BaseEntity_Parent_ParentId1' on table 'BaseEntity' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.

Steps to reproduce
public class BaseEntity
{
	...

	public int ParentId { get; set; }
	public Parent Parent { get; set; }
}

public class DerivedTypeA : BaseEntity
{
	...
}

public class DerivedTypeB : BaseEntity
{
	...
}

public class Parent
{
	...
	public ICollection<DerivedTypeA> DerivedTypeAs { get; set; }
	public ICollection<DerivedTypeB> DerivedTypeBs { get; set; }
}

modelBuilder.Entity<BaseEntity>()
	.ToTable("BaseEntity");

modelBuilder.Entity<DerivedTypeA>()
   .HasOne(p => p.Parent)
   .WithMany(b => b.DerivedTypeAs)
   .OnDelete(DeleteBehavior.Cascade);

modelBuilder.Entity<DerivedTypeB>()
   .HasOne(p => p.Parent)
   .WithMany(b => b.DerivedTypeBs)
   .OnDelete(DeleteBehavior.Cascade);

Further technical details
EF Core version: 2.1.0-preview1-final
Database Provider: Microsoft.EntityFrameworkCore.SqlServer

This is caused by https://github.com/aspnet/EntityFrameworkCore/issues/10329 - now we uniquify foreign key names generated by convention
@slubowsky As a workaround you can call .HasName with the same value on both relationships:
modelBuilder.Entity<DerivedTypeA>()
   .HasOne(p => p.Parent)
   .WithMany(b => b.DerivedTypeAs)
   .OnDelete(DeleteBehavior.Cascade)
   .HasName("FK_BaseEntity_Parent_ParentId");

modelBuilder.Entity<DerivedTypeB>()
   .HasOne(p => p.Parent)
   .WithMany(b => b.DerivedTypeBs)
   .OnDelete(DeleteBehavior.Cascade)
   .HasName("FK_BaseEntity_Parent_ParentId");

@AndriySvyryd Thanks, that worked. You meant HasConstraintName though, not HasName

Keeping this open to discuss whether this is a breaking change we want to revert.

Notes from triage: We will attempt to unify into one database constraint for the case where the navigation/fk are defined on the parent type.


[bug] MacOS Keyboard Shortcuts ignored in Tauri 1.2.0

Describe the bug
Using default keyboard shortcuts for Tauri apps (such as ⌘Q or ⌘W) result in the mouse disappearing until moved again and the window not changing.
Clicking on the option in the menu dropdown works correctly, only the keyboard shortcuts do not work as intended.

Reproduction

Update to latest Tauri version
Run app on MacOS
Use keyboard shortcuts such as ⌘Q, ⌘W, ⌘H, or ⌘M...

Expected behavior
App should respond to keyboard shortcut accordingly and run appropriate action.
Platform and versions
Environment
  › OS: Mac OS 13.0.0 X64
  › Node.js: 18.0.0
  › npm: 8.6.0
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.1
  › rustc: 1.65.0
  › cargo: 1.65.0
  › Rust toolchain: stable-aarch64-apple-darwin

Packages
  › @tauri-apps/cli [NPM]: 1.2.0
  › @tauri-apps/api [NPM]: 1.2.0
  › tauri [RUST]: 1.2.0,
  › tauri-build [RUST]: 1.2.0,
  › tao [RUST]: 0.15.2,
  › wry [RUST]: 0.22.0,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../build
  › devPath: http://localhost:3000/
  › framework: Svelte

App directory structure
  ├─ Misc
  ├─ node_modules
  ├─ static
  ├─ .github
  ├─ src-tauri
  ├─ .svelte-kit
  ├─ build
  ├─ .git
  ├─ .vscode
  └─ src

Stack trace
No response
Additional context
Correctly runs in Tauri 1.1.1
Previous platform information (this runs as intended):
Environment
  › OS: Mac OS 13.0.0 X64
  › Node.js: 18.0.0
  › npm: 8.6.0
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.1
  › rustc: 1.65.0
  › cargo: 1.65.0
  › Rust toolchain: stable-aarch64-apple-darwin

Packages
  › @tauri-apps/cli [NPM]: 1.1.1
  › @tauri-apps/api [NPM]: 1.1.0
  › tauri [RUST]: 1.1.1,
  › tauri-build [RUST]: 1.1.1,
  › tao [RUST]: 0.14.0,
  › wry [RUST]: 0.21.1,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../build
  › devPath: http://localhost:3000/
  › framework: Svelte

App directory structure
  ├─ Misc
  ├─ node_modules
  ├─ static
  ├─ .github
  ├─ src-tauri
  ├─ .svelte-kit
  ├─ build
  ├─ .git
  ├─ .vscode
  └─ src

Fixed in tao v0.15.3. Please run cargo update in the src-tauri folder.

when i run npm run tauri build -- --target universal-apple-darwin, the bug still exists.
but when i run npm run tauri build -- --target x86_64-apple-darwin and m1 is ok
and npm run dev is ok

when i run npm run tauri build -- --target universal-apple-darwin, the bug still exists.
but when i run npm run tauri build -- --target x86_64-apple-darwin and m1 is ok
and npm run dev is ok

Please don't spam please plus these issues are closed, so if you're experiencing a bug please file a new issue referencing these existing ones instead.


mergeQuery: add support for "$and" and "$or"

Thanks for your thoughts! And thanks for your well explained issue! 😃
My initial issue with this was slightly another thing, that you sketched out.
I mostly use mergeQuery for feathers-casl, where I have added this to<EMAIL_ADDRESS>I needed a logic to combine $and and $or, if it exists in both queries with handle: 'intersect'. I have added this functionality to<EMAIL_ADDRESS>so this issue, as I thought about it, could be closed.
Before we maybe could work a way out for your issue, let me point out a thing and let me ask a question:
Disclaimer: feathers-utils is mostly intended to be my own library, where I source out some code I need regularly. Having said this, my motivation to add support for a variety of use cases that eventually exist, is limited. If it does not overlap with my use case, there is a good chance that I need support to fix this issue.
Question: In which context do you use mergeQuery or feathers-utils at all? Is it in a custom casl hook or is it with feathers-casl?

oh, sorry, just feathers-casl
on the npm page for feathers-casl the repo is listed as this repo, which must be incorrect. I clicked on that and came here to post the issue without giving it much thought.
I'll re-post this in that repo >.<


bug: grpc.RpcError: chain errors are expected in JSON format but they are returned as strings.

Regression is coming from this commit: https://github.com/NibiruChain/py-sdk/commit/67745c94fc963223147723ce1fdd1bdca5672ee3#diff-1a2df94eabb4ad224bb6f46a1f2af79b1b236e61f506b118ea8eaa8844084384R112
except grpc.RpcError as err:
      return json.loads(err._state.debug_error_string)["grpc_message"], False

Try opening position with insufficient funds:
err._state.debug_error_string =
'UNKNOWN:Error received from peer ipv6:%5B::1%5D:9090 {grpc_message:"failed to execute message; message index: 0: 0unusd is smaller than 10unusd: insufficient funds", grpc_status:2, created_time:"2022-08-15T17:56:51.182382+04:00"}'

This is not json and instead of a regular message I'm getting another exception:
 JSONDecodeError("Expecting value", s, err.value) from None
 json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@matthiasmatt @Unique-Divine - please take a look. If GRPC errors are expected to be JSON formatted - please fix the chain, otherwise remove parsing json.

Can we hack this? Something like:

def force_json(value: str) -> dict:
    return json.loads(value[value.index("{"):len(value)-value[::-1].index("}")])


Update node-sass to 4.0.0

This shouldn't be breaking according to the release notes

I was just about to create a pull request for this same change! Tests all passed for me as well, and was working fine when I integrated with a project.

/cc @jhnns

Thx. Shipped with 4.1.0

Nice one, thanks! 😀

On 14 Dec 2016, at 18:13, Johannes Ewald<EMAIL_ADDRESS>wrote:
Thx. Shipped with 4.1.0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Unfortunely the node-sass 4.0 is not a backward compatible release as it declared :-(

https://github.com/sass/node-sass/issues/1831
https://github.com/sass/libsass/issues/2245

Nice example of how "fixing a bug can be a breaking change".


iOS app crash

If you leave the app in background some time, when back to be active the app crashes and restarts.

This only happens in the iOS release version, not in debugging.
I have the heartbeatInterval in 15 seconds.
I tried to disconnect meteor when the app goes into background and reconnect when it returns to the foreground, but it doesn't work all the time...

Hi @gabdsg , just wanted to check if this issue was resolved?

No... I have to disconnect it when it goes into the background

@gabdsg Is it possible to share a snippet of the code where you're handling the network connectivity with Meteor?

I have the Meteor.connect before runApp then i have this
  Timer statusChangeTimer;      void didChangeAppLifecycleState(AppLifecycleState state) {         appState = state;         if (state == AppLifecycleState.paused) {           statusChangeTimer = Timer(const Duration(seconds: 15), () {             Meteor.disconnect();             statusChangeTimer.cancel();             statusChangeTimer = null;           });         } else if (state == AppLifecycleState.resumed) {           statusChangeTimer?.cancel();             Meteor.reconnect();         }       }

Is there any specific reason why you're using Meteor.connect before the runApp()?

Not really, why?

Not sure about how you're handling the state.
However, have you tried listening to connection updates?


Move complete bazel cache handling for e2e tests to CI

What this PR does / why we need it:
With https://github.com/kubevirt/project-infra/pull/894 we can now control for e2e test executions the cache from CI completely.
We have to remove the cache settings from this file to not override the CI settings.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Needs to be merged together with https://github.com/kubevirt/project-infra/pull/835.
The PR is a draft to not yet trigger CI.
Release note:

NONE

/test all

/cc @dhiller
/cc @fgimenez

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/hold cancel

/retest

/test pull-kubevirt-e2e-k8s-1.19

/close
Obsoleted by https://github.com/kubevirt/kubevirt/pull/5214


Adding some linux screenshot

as mentioned on #100 I added some linux screenshots

Ok looks good. Thanks!

Area they somehow referenced / shown in the docs?

@mischnic no, not yet.
I think you will need to add as well screenshots in other OS too before referencing them there.


Update golangci-lint (and indirect deps)

This is mainly to get an updated version of an indirect dependency,
github.com/denis-tingajkin/go-header, to get rid of some suspicious
unicode characters in its README to avoid getting flagged for
CVE-2021-42574, CVE-2021-42694. See
https://access.redhat.com/security/vulnerabilities/RHSB-2021-007 for
more on those.

/assign @joelddiaz


Feature/336 posts events

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Screenshots
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

Any progress on this @koechkevin?

Is this up for review @koechkevin or are you still working on it?

It is now ready @kilemensi

One thing I forgot in my review @koechkevin: Fellowships and Grants need apply link (similar to register link on Events).


capistrano-sneakers

Sorry I disturb you here, but can't find another way to reach you. I use capistrano-sneakers and contribute constantly. If I understand correctly you are not interested or don't have the time right now to maintain it. Is it possible to pass it's ownership at rubygems to me, so I could easily release new versions? 🙇

@dvandersluis , any luck regarding my question? I don't want to pollute this repo with non-relevant stuff, so it would be nice if you give me some convenient contact for you, please 🙇


Add the option to open the effect's sheet directly from the Effects Panel

A new clicking option is added to the Effects Panel tooltips allowing to open the effect sheet using Shift + Left Click

There's a part of me that's thinking that perhaps shift+click to open and then a [Send To Chat] on the title bar on the opened item sheet might be better. But I'd wait until other people agree with me before committing to that.

This is quite idiosyncratic and doesn't map to any other keyboard shortcut in the system. Maybe a separate button could be there, but the effects panel was never intended to be single buttons with four different operations depending on which modifier keys are held.

Separate button could work. Some way of opening up the effect to make any tweaks might be useful, but I don't know about a unique modifier key (though I'm not opposed to it either). However if we have that, we could use a send to chat for all items anyways, so that would save us having to add a button/hotkey for it.

I'm guessing most of us are in agreement for a "send to chat" button at the titlebar of the item sheet (I was unsure at first but I've been convinced). I think between that and extempore effects you should be able to have the featureset you want. Go ahead and do that if you're down for it.

This is originally a module i made for my players because we are very new to the game and always forget what conditions do, so the send to chat was helpful for us but i do agree that it may be out of place here.
I really like the idea of being able to open an effect/condition and think that it was a missing feature, having to open an actor sheet and go into the effects tab to then edit it was quite annoying and not being able to interact with the effect button for that felt counter-intuitive.

Late response, but I think we're both ok with open item sheet, just disagree on the how or why.
I think shift + click to open sheet (and only that) would be fine, as it is the reverse of check dialog rolls (or exactly the same as check dialog rolls if the default for show dialog is flipped). But that's just me.

Alright, i made the changes:

I removed the Send to Chat option.
I changed the bind for the Open Sheet option to be Shift + Click

Superseded by #7037


semgrep: Broaden select_related() and prefetch_related() rules

https://github.com/zulip/zulip/pull/29409#pullrequestreview-1955495637

Makes sense -- thanks, @andersk!


fix: Refresh does not always work with class components (#199)

fix for #199

Hey thanks for this PR. I'll look at it and play with it to be sure it doesn't lead to stale module but it looks good!

Ok, thank you!


[BUG] pin_memory() raises an error when using pipeline parallelism

Describe the bug
when I use pipeline parallelism and ZeRo-1 offload at the same time, there will be an error:
│ /mnt/petrelfs/zhangshuo/miniconda3/envs/dl/lib/python3.9/site-packages/deepspeed/runtime/zero/st │
│ age_1_and_2.py:485 in __init__                                                                   │
│                                                                                │
│    482 │   │   self.dynamic_loss_scale = self.loss_scaler.dynamic                                │
│    483 │   │                                                                                │
│    484 │   │   see_memory_usage("Before initializing optimizer states", force=True)              │
│ ❱  485 │   │   self.initialize_optimizer_states()                                                │
│    486 │   │   see_memory_usage("After initializing optimizer states", force=True)               │
│    487 │   │                                                                                │
│    488 │   │   if dist.get_rank() == 0:                                                          │
│                                                                                │
│ /mnt/petrelfs/zhangshuo/miniconda3/envs/dl/lib/python3.9/site-packages/deepspeed/runtime/zero/st │
│ age_1_and_2.py:615 in initialize_optimizer_states                                                │
│                                                                                │
│    612 │   │   │   print(single_grad_partition.dtype)                                            │
│    613 │   │   │   print(single_grad_partition.device)                                           │
│    614 │   │   │   print(single_grad_partition.shape)                                            │
│ ❱  615 │   │   │   self.single_partition_of_fp32_groups[i].grad = get_accelerator().pin_memory(  │
│    616 │   │   │   │   single_grad_partition) if self.cpu_offload else single_grad_partition     │
│    617 │   │                                                                                │
│    618 │   │   self.optimizer.step()                                                             │
│                                                                                │
│ /mnt/petrelfs/zhangshuo/miniconda3/envs/dl/lib/python3.9/site-packages/deepspeed/accelerator/cud │
│ a_accelerator.py:217 in pin_memory                                                               │
│                                                                                │
│   214 │   │   return torch.cuda.LongTensor                                                       │
│   215 │                                                                                │
│   216 │   def pin_memory(self, tensor):                                                          │
│ ❱ 217 │   │   return tensor.pin_memory()                                                         │
│   218 │                                                                                │
│   219 │   def on_accelerator(self, tensor):                                                      │
│   220 │   │   device_str = str(tensor.device)                                                    │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
RuntimeError: CUDA error: OS call failed or operation not supported on this OS
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

And this error only happens when my model is really large (maybe 7 billion parameters).
To Reproduce
My code:
# model2.py
import torch
import torch.nn as nn
from torch.utils.data import Dataset

import deepspeed
from deepspeed.pipe import LayerSpec
from deepspeed.pipe import PipelineModule
from deepspeed.runtime.pipe.topology import PipeModelDataParallelTopology

class Layer1(nn.Module):
    def __init__(self) -> None:
        super().__init__()
        self.linear = nn.Linear(1,<PHONE_NUMBER>)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.linear(x)

class Layer2(nn.Module):
    def __init__(self) -> None:
        super().__init__()
        self.linear = nn.Linear(1000000000, 1)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.linear(x)

class DummyDataset(Dataset):
    def __init__(self):
        pass

    def __len__(self):
        return 100

    def __getitem__(self, idx):
        return torch.tensor([idx]).float(), torch.tensor([idx]).float()

deepspeed.init_distributed(dist_backend='nccl', init_method="env://")
model = PipelineModule(
    layers=[LayerSpec(Layer1), LayerSpec(Layer2)],
    num_stages=2,
    topology=PipeModelDataParallelTopology(num_pp=2, num_dp=1, num_mp=1),
    loss_fn=lambda x, y: (print(x), x.sum())[1]
)
dataset = DummyDataset()
engine, optimizer, training_dataloader, _ = deepspeed.initialize(
        model=model,
        model_parameters=[p for p in model.parameters() if p.requires_grad],
        training_data=dataset,
        config={
            "train_micro_batch_size_per_gpu": 1,
            "train_batch_size": 1,
            "gradient_accumulation_steps": 1,
            "optimizer": {
                "type": "Adam",
                "params": {
                "lr": 0.001,
                "betas": [
                    0.8,
                    0.999
                ],
                "eps": 1e-8,
                "weight_decay": 3e-7
                }
            },
            "zero_optimization": {
                "stage": 1,
                "offload_optimizer": {
                    "device": "cpu"
                },
                "contiguous_gradients": True,
                "overlap_comm": True,
                "sub_group_size": 1e12,
                "reduce_bucket_size": "auto"
            }
        }
    )
print(engine.train_batch())

My command:
CUDA_VISIBLE_DEVICES=0,1 torchrun --standalone --nproc_per_node=2 model2.py

Maybe a fix?
I find that this error is caused by the function pin_memory() in deepspeed/runtime/zero/stage_1_and_2.py:426 and deepspeed/runtime/zero/stage_1_and_2.py:611. I also find that if I keep executing this function, it has a chance of succeeding. So I changed the code to make it keep trying:
# deepspeed/runtime/zero/stage_1_and_2.py:611
while True:
                try:
                    self.single_partition_of_fp32_groups[i].grad = get_accelerator().pin_memory(
                        single_grad_partition) if self.cpu_offload else single_grad_partition
                    break
                except RuntimeError as e:
                    continue

This did fix my problem, but I'm concerned that there may be some additional side effects.

I also encountered the same problem, I think it should be a problem of insufficient RAM, can you tell me how big your RAM is? My 30G RAM can only train a model with 1B parameters, and I want to know how much RAM is required for a model with a size of 7B

I also encountered the same problem, I think it should be a problem of insufficient RAM, can you tell me how big your RAM is? My 30G RAM can only train a model with 1B parameters, and I want to know how much RAM is required for a model with a size of 7B

Sorry, it should not be a RAM problem. I also encountered this problem on a 128GRAM machine. Your solution works, thanks

@tjruwase My devices is 8*A100 (80G) and 1024G of RAM. I successfully ran llama-7b with the method above, but met the same error with llama-65B (infinite loop).
I think the problem is the RAM.

@00INDEX, apologies for the delayed response. The underlying problem is that cpu_offload was originally developed for zero-stage-2, and is better tested for that scenario. Did you try using zero-stage-2?

@xiaotingyun, are you still having this problem?

@tjruwase I can run through the method of 00INDEX. However, But if I don't modify the source code, as long as offload is turned on, whether it is zero-2 or zero-3, there is a high probability that running a 1.3B model will report an error.

I found out that when the model is very large, the pinned tensor will be very large too (contains billions of elements). Seems that pinning this too-large tensor caused this error.
@tjruwase

@x54-729, yes, memory pinning can incur high memory consumption and cause system instability. Additionally, as @00INDEX previously observed, there is a bug where the ds_config of pin_memory: false is ignored in DeepSpeed. We will fix this asap.

Is your AMD? I find that AMD causes this problem.

@00INDEX, @x54-729, @xiaotingyun, @XChen-Zero please try linked PR if needed.


IntelliSense which is modified manually does not work after restart the VS.

Environment

Situation1
Steps to Reproduce

Add folder to search path
Module1.py file prepared with below code copied to c:\test folder

		def summizing(title: str, mock: bool):
		    pass

		def addcross(a: int, b: int):
		    a = a+1
		    b = b+1
		    return a * b

Right-click Search Paths Node in SE and select Add folder to Search Path
The contents are scanned and made available to intelliSense. Type from module1 import * to make sure it works
Restart the VS

Additional context and screenshots
Search Paths does not work after restart the VS. The "Module1" could not be resolved.

Even though create a new project, repeat to add the folder to Search Path. IntelliSense does not work.
Situation2
Steps to Reproduce

Create a solution with 2 Python application projects: ProjectA, ProjectB
Add some python files to each project

From ProjectA, right click Add Reference and select ProjectB.
Verify that ProjectA search paths was automatically updated with a path to ProjectB
Check that in ProjectA you get intellisense against modules in ProjectB

Additional context and screenshots
No intellisense in ProjectB.

This issue is not reproduced on the latest build

So I closed this issue.

This issue reproduce on today's build, so I reopen this issue.
Between python applications

Between Python Application and C++ project

We will try to repro this and take a look.

This issue reproduced on today's build.

I can repro in today's build 17.2.0 Preview 3.0 [32328.412.main].
After start debugging（F5）, the intellisense is missing.

This issue reproduced on today's build.
IntelliSense does not work when import folder outside the workspace after restart VS

In today's latest build:17.6.0 Preview 3.0 [33508.333.main], Python package:17.0.23065.2
the ProjectB's path in ProjectA's Search Paths is missing

In today's latest build:17.6.0 Preview 3.0 [33521.512.main], Python package:17.0.23068.1
No IntelliSense when add folder to Search Path and no IntelliSense when add Zip Archive to Search Path

This issue repro on today's build

looks like it is a dup of https://github.com/microsoft/PTVS/issues/7828 ? how do you think @AdamYoblick ?

another potential dup - https://github.com/microsoft/PTVS/issues/6639


Campaign Selector | Campaign progress desync

Is it possible to add a selector to pick the campaign being farmed, or a priority list for the campaigns to pick the ones you like the most first?
+ I've noticed some weird behavior with it picking a streamer and grinding for a campaign but since that streamer has his own campaign it'd count the time to the wrong one and it causes it to de-sync. The refresh button does nothing to fix it, so perhaps a check to see which campaign gets affected after a few minutes to show the proper one.
Loving the app so far, amazing work!

You can see on the app it shows that the trophy is at 53% progress

But in reality since TwitchRivals Has their own campaign the progress goes to that rather than the generic one

I'm not sure what to make out of this issue. Is this an enhancement suggestion, or a bug report? It looks like a bug report, so I'm treating it as one. If you'd like to suggest anything, please do so in a separate issue.

The progress can differ between the miner and website, per #301. This makes it a duplicate of that issue.


add image scanning on pull_request

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/area security

/anonymous-retest

/anonymous-retest


Add recurrence tests [Not complete]

fixes #113
tests added so far

Recurrence
ModelManager
ModuleBook
UniqueTaskList
JsonAdaptedTask

Codecov Report

Merging #245 (c6582cf) into master (5e88dde) will increase coverage by 0.55%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #245      +/-   ##
============================================
+ Coverage     69.58%   70.14%   +0.55%
- Complexity      653      661       +8
============================================
  Files            96       96
  Lines          2144     2144
  Branches        271      271
============================================
+ Hits           1492     1504      +12
+ Misses          555      545      -10
+ Partials         97       95       -2

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/seedu/module/model/task/Task.java
69.69% <0.00%> (+0.75%)
44.00% <0.00%> (+1.00%)

src/main/java/seedu/module/model/ModelManager.java
90.47% <0.00%> (+3.17%)
28.00% <0.00%> (+1.00%)

...n/java/seedu/module/model/task/UniqueTaskList.java
93.33% <0.00%> (+4.44%)
22.00% <0.00%> (+1.00%)

src/main/java/seedu/module/model/ModuleBook.java
77.27% <0.00%> (+4.54%)
17.00% <0.00%> (+1.00%)

.../main/java/seedu/module/model/task/Recurrence.java
90.90% <0.00%> (+22.72%)
9.00% <0.00%> (+4.00%)

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 5e88dde...c6582cf. Read the comment docs.


[SP-1831][PDI-11014] - Error Fields not passed from Select Values step (...

...when error handling is enabled)

pass field's name to the error row
add a test
apply formatting

@mattcasters, @brosander, @mattyb149 Could you review and merge this backport for https://github.com/pentaho/pentaho-kettle/pull/1226

@mattyb149, @brosander, review it please

@deinspanjer could you review it, please?


'width' and 'height' arguments must be passed to the constructor of the widget, not the place method

This doesnt seem to be working, i get the following error.
chart_1 = tkchart.LineChart(master=root

File "C:\ProgramData\Anaconda3\lib\site-packages\tkchart\LineChart.py", line 64, in init
self.configure_chart_geomatry()
File "C:\ProgramData\Anaconda3\lib\site-packages\tkchart\LineChart.py", line 74, in configure_chart_geomatry
self.chart_values_backgroud.place(width=self.left_space, y=self.top_space + self.y_space + self.horizontal_bar_size,
File "C:\ProgramData\Anaconda3\lib\site-packages\customtkinter\windows\widgets\core_widget_classes\ctk_base_class.py", line 272, in place
raise ValueError("'width' and 'height' arguments must be passed to the constructor of the widget, not the place method")
ValueError: 'width' and 'height' arguments must be passed to the constructor of the widget, not the place method

This problem is caused by customtkinter package.The package has been updated and some keywords arguments  have been changed. I will fix this error. Thanks for letting me know

https://pypi.org/project/tkchart/0.0.4/
updated version


How can we test location gathering via the plugins / bookmarklet?

Just use it, it will try to get location. I can add something to the
request page UI so that as admin you can see if location was received or
not. Is that good enough?
On 16 Oct 2016 14:55, "Joseph McArthur"<EMAIL_ADDRESS>wrote:

Assigned #289 https://github.com/OAButton/backend/issues/289 to
@markmacgillivray https://github.com/markmacgillivray.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OAButton/backend/issues/289#event-825111492, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAuXCPRrnyDY2oj-4LnjGPZoIWUHb4NWks5q0izegaJpZM4KX-fT
.

That would be fantastic. Doesn't need to sexy, just something where we can
test if it worked.
On Sun, 16 Oct 2016 at 15:09 markmacgillivray<EMAIL_ADDRESS>wrote:

Just use it, it will try to get location. I can add something to the
request page UI so that as admin you can see if location was received or
not. Is that good enough?
On 16 Oct 2016 14:55, "Joseph McArthur"<EMAIL_ADDRESS>wrote:

Assigned #289 https://github.com/OAButton/backend/issues/289 to
@markmacgillivray https://github.com/markmacgillivray.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OAButton/backend/issues/289#event-825111492, or
mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AAuXCPRrnyDY2oj-4LnjGPZoIWUHb4NWks5q0izegaJpZM4KX-fT
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OAButton/backend/issues/289#issuecomment-254049138,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEuWZ1jjdBBxqi5YAoAR5ebRmKdaK3nsks5q0jAagaJpZM4KX-fT
.

Oh, and can you make megan / chealsye / me / natalia admins on the test
system?
On Sun, 16 Oct 2016 at 15:15 Joseph Mcarthur<EMAIL_ADDRESS>wrote:

That would be fantastic. Doesn't need to sexy, just something where we can
test if it worked.
On Sun, 16 Oct 2016 at 15:09 markmacgillivray<EMAIL_ADDRESS>wrote:
Just use it, it will try to get location. I can add something to the
request page UI so that as admin you can see if location was received or
not. Is that good enough?
On 16 Oct 2016 14:55, "Joseph McArthur"<EMAIL_ADDRESS>wrote:

Assigned #289 https://github.com/OAButton/backend/issues/289 to
@markmacgillivray https://github.com/markmacgillivray.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OAButton/backend/issues/289#event-825111492, or
mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AAuXCPRrnyDY2oj-4LnjGPZoIWUHb4NWks5q0izegaJpZM4KX-fT
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OAButton/backend/issues/289#issuecomment-254049138,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEuWZ1jjdBBxqi5YAoAR5ebRmKdaK3nsks5q0jAagaJpZM4KX-fT
.

I'm an admin now, and can make others admins. Can see how to test location too (via request pages, if we have it it'll show in the admin section).


Editing label with no plot selected throws exception (DUPLICATE)

Dear Sir,
The same error noticed in <IP_ADDRESS> still occur in <IP_ADDRESS>
Please refer previous post
GOBI.K

Will discuss in #187

Thank you so much sir. I will try this new version and give you the feedback.

New latest release is working fine sir.


Proxy connect

This pull request added proxy support. The proxy info is from the system configuration. PAC is supported.
Proxy protocol supported include HTTPS (via CONNECT method) and SOCKS

Style is inconsistent. Should probably be using type inference.

Hi,
Could you be more specific?
Did you mean I should use delegate, not block? But the ProxyConnect is
used only  once at the connection time, block is perfect for this situation.
Thanks,
Dong
On 6/4/16 10:33 AM, Erik Little wrote:

Style is inconsistent. Should probably be using type inference.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/daltoniam/Starscream/pull/202#issuecomment-223758805,
or mute the thread
https://github.com/notifications/unsubscribe/AHRzfJe45_FF_Ea6hpRitGKq71CHyDFtks5qIYyvgaJpZM4IuEmH.

Thanks for this. There is quite a bit of code in here so it is going to take a bit to get through it all. At first glance there appears to be a tad bit of repeated code in the proxy class. Also I noticed you renamed a few of the method names in the main WebSocket class. I will hopefully give some more detail feedback in the coming days. Thanks again!

Thanks for the explanation. I appreciate knowing the history and can see the port of the SocketRocket implementation. A few high level things I would like to see:

Design to be more inline with Starscream current architecture. I understand the use case of the separate class for proxy connections, but this feels a lot like it is a port of the SocketRocket code vs being designed with Starscream's architecture. SocketRocket and Starscream are designed and function differently and I would like to keep the current architecture intact. I understand your point with needing to open a connection to the proxy server then to the WebSocket server, but I think it would be a relatively minor change to add the proxy support into the current handshake process instead of having to move half of the logic into the proxy class. It seems strange that the proxy class is partially responsible for checking a proxy request regardless if a proxy is being used or not.

Idiomatic Swift. Not to be overly stylistic or harp on the objective-c port, but this has a couple of style things I would like to see changes, such as a few unneeded semi colons, remove the logging, a few properties that might be able to use a guard or unwrapped optionals instead of the explicit unwrapping.

This doesn't have anything to do with the code, but we will need to test that it still passes the autobahn tests with both a proxy and not a proxy. If you have any recommendations on a good test proxy, please share.

I want to stress again I appreciate the Pull Request and for you taking the time to put this together. Any questions please let me know.

Hi,
I submitted pull request to the socket.io-client-swift and they tell me
to submit pull request to you.
In that pull request, the proxy handling is actually done in the
WebSocket.swift class. Here is the link,
https://github.com/oldshuren/socket.io-client-swift/blob/proxy-connect/Source/WebSocket.swift
Do you think it is better this way? I can clean it up on the style part.
Thanks,
Dong
On 6/11/16 9:39 PM, Dalton wrote:

Thanks for the explanation. I appreciate knowing the history and can
see the port of the SocketRocket implementation. A few high level
things I would like to see:

Design to be more inline with Starscream current architecture. I
understand the use case of the separate class for proxy
connections, but this feels a lot like it is a port of the
SocketRocket code vs being designed with Starscream's
architecture. SocketRocket and Starscream are designed and
function differently and I would like to keep the current
architecture intact. I understand your point with needing to open
a connection to the proxy server then to the WebSocket server, but
I think it would be a relatively minor change to add the proxy
support into the current handshake process instead of having to
move half of the logic into the proxy class. It seems strange that
the proxy class is partially responsible for checking a proxy
request regardless if a proxy is being used or not.

Idiomatic Swift. Not to be overly stylistic or harp on the
objective-c port, but this has a couple of style things I would
like to see changes, such as a few unneeded semi colons, remove
the logging, a few properties that might be able to use a |guard|
or unwrapped optionals instead of the explicit unwrapping.

This doesn't have anything to do with the code, but we will need
to test that it still passes the autobahn tests with both a proxy
and not a proxy. If you have any recommendations on a good test
proxy, please share.

I want to stress again I appreciate the Pull Request and for you
taking the time to put this together. Any questions please let me know.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/daltoniam/Starscream/pull/202#issuecomment-225404408,
or mute the thread
https://github.com/notifications/unsubscribe/AHRzfGLo1ENEq_xHjCHIXdXsxm3IaBeaks5qK2NlgaJpZM4IuEmH.

Thanks for the reference. Yes, this appears to be more inline with the design structure.

I merged the proxy code back to WebSocket.swift now.
Dong
On 6/24/16 10:39 PM, Dalton wrote:

Thanks for the reference. Yes, this appears to be more inline with the
design structure.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/daltoniam/Starscream/pull/202#issuecomment-228503482,
or mute the thread
https://github.com/notifications/unsubscribe/AHRzfJlOd5yP6vk6Xw-pDhLt2_Ms35zeks5qPJTdgaJpZM4IuEmH.

Did a quick glance I like this structure much better. I will try and give a more feedback soon. Thanks again!

Is there any further progress on this matter? It'd be fantastic for proxy support to be added.

I'm also interested in an update from @daltoniam.

This one has taken me a while due to personal time restraints and the size of changes. It also requires testing with and without a proxy server behind an autobahn server which is a fair amount of setup for a test. I am hoping to look at this weekend (along with a proper Swift 3 and Swift 2.3 tagged releases).

Is this going any further? It would be great to get proxy support added. I have a requirement to support proxy settings, and I'd assume this is fairly common in enterprise environments.

@daltoniam is anything happening with this? I'm really looking forward to this change...

Is there any possibility of getting this functional and merged? Testing our product would be significantly easier if we could proxy the connections through Charles and see the content.

Yes, I still would like to see proxy support add to Starscream, but I still just haven't had the time or willpower to do this. If anyone else wants to take what is here and address said comments in a PR it would amazing. You would also have my undying appreciation 😄.

What is the said comments that needs to be addressed? 1 seems to be addressed? And maybe 2, too?

Hello,
First of all tnx a lot for such library.
Proxy support is kind a very important to inspect the traffic. And in my current project not having proxy support is really crippling me. If there is anything i can do please explain more in detail so i can put my best to help.
Best regards

I am also waiting for this to be merged. Will be glad to help if you say what do you need.

This is a key feature, anyone to merge this ?

I would like to see this get merged, but all 3 of the initial points still stand.

This needs to be update for the 3.0.0 refactor. It might be easier to have a less intrusive proxy design into the WebSocket handling then previously.
the style needs to be stylish swift (bunch of unnecessary semi colons, etc).
This is just a testing angle, but an important one since this change will require a way to have a proxy server and an autobahn server. The Starscream autobahn test project will have to be updated to support testing this new case.

Hi,
on ios platform we need https to call rest webservices, and websockets are served via wss.
 Squid for example is an http/https proxy but doesn't support socks.
wss is an upgrade of https connections and usually comes with https protocol.
Starscream supports socks but not https tunneled proxy connection, I need it for a project.
I see these feature, what do you need to implement it? Can I use it in my code anyway?
Thank you very much
Regards

Awesome library, please merge this pull request

In my case, if I run the following code (CFNetworkCopyProxiesForURL) taken from the @oldshuren pull request I don't see any proxies.
In the list there is only one element [kCFProxyTypeKey: kCFProxyTypeNone]
        if let proxySettings: NSDictionary = CFNetworkCopySystemProxySettings()?.takeRetainedValue() {
            let url = "wss://endpoint.socket.io"
            let nsURL = NSURL(string: url)!
            let proxies: NSArray = CFNetworkCopyProxiesForURL(nsURL as CFURL, proxySettings).takeRetainedValue()
            print(proxies)
        }

I did notice that going directly to the machine without proxies I get the response:
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Otherwise if I go through the ELB and HAProxy I get:
HTTP/1.0 404 Not Found
Cache-Control: no-cache
Connection: close
Content-Type: text/html
404 Not Found

It seems that the websocket are connecting, but for some reason, the response to the Get request that is sent is resolved or not.

Hi,
this is the problem: if you ask any os (android or ios) how to reach wss://something it tells you DIRECT.
I think because wss protocol isn't recognized by os api.
You have to ask for https://something (for wss), then use an https proxy with connect, but with this version of starscream won't work via https proxy.

I am trying to get the proxy list with https in the urls and even with that CFNetworkCopyProxiesForURL doesn't notice any proxy. If this function doesn't get any proxy no configuration is going to be applied to the socket connections.

But did you configure your wifi connection to use proxy?
Because it works for me...

Yes, if I route the traffic to the charles proxy I can see the proxy in the list. But in my case the proxy is behind the domain.

mmm... I don't know, I think you have a configuration problem, because CFNetworkCopyProxiesForURL  is not starscream related, is Core Foundation function.

CFNetworkCopyProxiesForURL is used by the proxy-connect pull request in order to get the possible proxy types. These can be kCFProxyTypeAutoConfigurationURL or kCFProxyTypeAutoConfigurationJavaScript.
In the first case is going to get the PAC proxy configuration file and read the proxies of the PAC file. In the second case, it just reads the proxies of the PAC file.
Then when reading the proxy settings it gets the httpProxyHost and httpProxyPort if the proxy type is HTTP/HTTPS or the socksProxyHost, socksProxyPort, socksProxyUsername and the socksProxyPassword if the proxy type is SOCKS.
Then inits the read and write streams with the configurations of the proxies.
Maybe I should try to configure the PAC file in the proxy and then check if the CFNetworkCopyProxiesForURL notices it.

Issue fixed for me, there was a problem in the haproxy config.

The codebase has actually under gone a major refactor which has Network.framework support. Since that is able to handle proxy connections transparently, I'm going to close this for now. Feel free to check it out here #653.