Add "random direction" to "point towards" dropdown

Resolves
Resolves LLK/scratch-gui#1702
Sibling pull request: LLK/scratch-vm#1748
/cc @paulkaplan
Proposed Changes
Add "random direction" to dropdown menu for "point towards" (The commit message subject is a typo)
Reason for Changes
(This is not a compatibility change, for clarity)
See the original issue for discussion about wording. "Point towards random direction" is not 'good' English, but it apparently made more intuitive sense than "Point towards random position". Notice that the former and the latter have different meanings. If you're in the top-right quadrant, and you pick a random position, most likely, that position will be to your bottom left. This means it's not a 'random direction', but rather a 'weighted random direction based on position'.
This VM will have an equal chance of pointing in all directions, perhaps the wording to reflect that.
Anyway, it seems the wording was already decided upon earlier.
Test Coverage
I use Windows. I tried to set up the WSL and all, because it just wouldn't build otherwise. I used the static playground to make sure the dropdown appears. I was unable to see if this change works with the rest of the components of the editor, I'm afraid. (Manual testing only)

Sorry, but running npm run test:messages causes msg/json/en.js and msg/js/en.js to both empty themselves into empty objects. I doubt that's the desired behaviour, I'm likely doing something wrong, or my set-up is wrong.

@joker314 it's a limitation of the translation system for scratch-blocks that changes to messages.js need intervention from the scratch team. So you're not doing anything wrong. I've just pushed a commit to your branch that updates the translations with the new string. See if you can test now.


Univ3 router

Pretty simple implementation using virtual reserves interpretation of univ3 so we can reuse the constant product find arb code when possible.

May want to make an abstract constant product pool to accommodate other versions of concentrated liquidity.


chore: upgrade @nuxtjs/mdc

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This PR can be pended until next version of Content module.
Refactor custom Shiki highlighter in the example due to a breaking change in<EMAIL_ADDRESS>📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

@farnabaz Should we use https://github.com/nuxt/content/releases/v2.12.0 here now its released?

@benjamincanac PR updated


Paper link

Hi, is there project page and arxiv link? Thank you.

Hi @kwea123
Here is the paper link  https://arxiv.org/pdf/2209.08468.pdf


Service Unavailable: /api/1/gateways/choose(503)

I don't know why, is there any configuration I missed? I built through docker, this is build statement
docker build --force-rm -t tabby-web:20230228204228 -f /usr/local/tabby/tabby-web/Dockerfile .
this is my docker run
docker run -d -m 2048M --memory-swap 4096M --log-opt max-size=500M --log-opt max-file=1 \ --name tabby-web \ -e 'DATABASE_URL=mysql://tabby:tabby@<IP_ADDRESS>:10025/tabby-web' \ -e 'PORT=80' \ -e 'DEBUG=false' \ -e 'ENABLE_HOMEPAGE=true' \ -e 'APP_DIST_STORAGE=file:///app-dist' \ -e 'DOCKERIZE_ARGS="-wait tcp://<IP_ADDRESS>:10025 -timeout 60s"' \ -v /usr/local/tabby/app:/app \ -v /usr/local/tabby/app-dist:/app-dist \ -p 9090:80 \ --network tabby --ip <IP_ADDRESS> \ --restart always tabby-web:20230228204228
when I make an ssh connection

request : /api/1/gateways/choose (503 Service Unavailable)

I don't know what I did wrong. I'd like to get a hint. thanks.

+1

guess you are missing the gateway service:
Tabby Web serves the Tabby Terminal as a web application while managing multiple config files, authentication, and providing TCP connections via a separate gateway service.

https://github.com/Eugeny/tabby-web/blob/master/docker-compose.yml
None of the examples you gave mentioned this.

+1


nextInLine text needs code tags

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #9744

Description

@mnttnm

Please amend your commit and remove references to all issue nos.
Please edit the title of the pull request and update it to NOT have the issue nos.

git checkout fix/nextLine-with-code-tags
git commit --amend
Change the commit message
git push origin fix/nextLine-with-code-tags --force

Next you can edit the PR title using the edit option at the top of this page.

@raisedadead done with the suggested changes.
Thanks for the help!

:sparkles: :sparkles: LGTM :+1: :sparkles: :sparkles:
:tada: Thanks for contributing @mnttnm and congratulations on your first PR submission to FreeCodeCamp! :tada:


Implement Debug for Device

Debug is generally helpful for, well, debugging. Probably every struct should implement debug, but I particularly found myself wanting an implementation for Device. The rust docs even say: "Generally speaking, you should just derive a Debug implementation."

I agree.

It looks like Device currently has a Debug impl in master, and it should be switched over to auto-derived soon. Closing this.


Failed parse of received header containing

we are running mail from the 2-5-stable branch
seeing this. Is there any more info I can provide?
self.raw_message.received.errors
[[#<ActiveSupport::Multibyte::Chars:0x007ffbf6d82ad0 @wrapped_string="Received">, #<ActiveSupport::Multibyte::Chars:0x007ffbf6d82788 @wrapped_string="from [<IP_ADDRESS>] ([<IP_ADDRESS>]) by mx.google.com with ESMTPSA id m10sm4741360qae.12.2<IP_ADDRESS>.40.15 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 06 Aug 2013 07:40:18 -0700 (PDT)">, #<Mail::Field::ParseError: Mail::ReceivedElement can not parse |from [<IP_ADDRESS>] ([<IP_ADDRESS>]) by mx.google.com with ESMTPSA id m10sm4741360qae.12.2<IP_ADDRESS>.40.15 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 06 Aug 2013 07:40:18 -0700 (PDT)|
Reason was: Expected one of
, (, @, > at line 1, column 127 (byte 127) after from [<IP_ADDRESS>] ([<IP_ADDRESS>]) by mx.google.com with ESMTPSA id m10sm4741360qae.12.2<IP_ADDRESS>.40.15 for <multiple >]]

Confirmed, still fails on current master:
>> Mail::ReceivedField.new('from [<IP_ADDRESS>] ([<IP_ADDRESS>]) by mx.google.com with ESMTPSA id m10sm4741360qae.12.2<IP_ADDRESS>.40.15 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 06 Aug 2013 07:40:18 -0700 (PDT)')
Mail::Field::IncompleteParseError: Mail::ReceivedElement can not parse |from [<IP_ADDRESS>] ([<IP_ADDRESS>]) by mx.google.com with ESMTPSA id m10sm4741360qae.12.2<IP_ADDRESS>.40.15 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 06 Aug 2013 07:40:18 -0700 (PDT)|: Only able to parse up to "from [<IP_ADDRESS>] ([<IP_ADDRESS>]) by mx.google.com with ESMTPSA id m10sm4741360qae.12.2<IP_ADDRESS>.40.15 for <multiple "

I'm receiving a similar error as well.
[["Received","by mx0015p1iad2.sendgrid.net with SMTP id uLtTjyzRZX Fri, 08 Jan 2021 03:14:53 +0000 (UTC)","Mail::ReceivedElement can not parse |by mx0015p1iad2.sendgrid.net with SMTP id uLtTjyzRZX Fri, 08 Jan 2021 03:14:53 +0000 (UTC)|: Only able to parse up to \"by mx0015p1iad2.sendgrid.net with SMTP id uLtTjyzRZX Fri\""]]

I'm receiving a similar error as well.
[["Received","by mx0015p1iad2.sendgrid.net with SMTP id uLtTjyzRZX Fri, 08 Jan 2021 03:14:53 +0000 (UTC)","Mail::ReceivedElement can not parse |by mx0015p1iad2.sendgrid.net with SMTP id uLtTjyzRZX Fri, 08 Jan 2021 03:14:53 +0000 (UTC)|: Only able to parse up to \"by mx0015p1iad2.sendgrid.net with SMTP id uLtTjyzRZX Fri\""]]


fix spelling/typos

Very interesting project! I found some typos while poking around.

Thanks! This all looks helpful :)


Updated lib/manage_gitlab_project.py: fixed finding of gitmirror group

In particular, if you have an installation with many groups, you may not get all available groups back if you call git.groups.list().
But if you filter this list of groups by these that are owned by you, (and you own only one group) it is guaranteed that you only get the right group returned.

Sir i tired contact on twitter...so i have create github account for contact you..
Sam sir can i get uharc source code..i,m following programing diploma..i want make somthing better than 7zip..also support linux..but uharc does't have linux version..and i begging you could you gimme source code..sorry for the my bad english sir..this is my<EMAIL_ADDRESS>Please tell me can you give it to me.make opensource.don't let uharc die..make it open source..like 7zip..please sir..


use different time marshalling

Changes:

Changed time marshaling to use JSON instead of binary (binary was causing some bad utf8 characters to appear but JSON will always be valid utf8)
Changed token processing to also update name and description because previously the tokens would just keep the name and description they have when being updated which is often empty.

Hmm, something about this feels off to me. I don't understand the connection between binary marshaling and UTF-8.
time.Time.MarshalBinary serializes to 15 or 16 bytes, and then base64 encoding turns those bytes into base64 runes that are UTF-8 compatible (and even ASCII compatible). MarshalJSON will create bytes that get base64-encoded in the same way -- there will just be more of them, because we're doing text -> bytes -> base64 instead of just turning bytes -> base64.
Where are we seeing an error related to UTF-8?

I did some digging and found an answer! There's a bug in the decode step where we're accidentally reading an extra leading byte for the ID (it's actually the last byte of the timestamp getting reused). Depending on what that byte is, the resulting ID might not contain valid UTF-8 characters.
Changing the return statement in parseTime from this: return t, len(timeSlice[1 : timeLen+1]), nil
to this: return t, len(timeSlice[1 : timeLen+1]) + 1, nil
fixes the issue.

Thank you ezra for finding that!


[Editor] Provide a codelens for the attribute

This will provide a codelens for the attribute.
ONE-DCO-1.0-Signed-off-by: Seojeonguk<EMAIL_ADDRESS>

From draft #130


Bacalhau Run Failure: "unsupported protocol scheme"

To reproduce: install the bacalhau CLI and run the first example "bacalhau run" command per the documentation
Expected result: bacalhau CLI submits the job to the production network
Actual result: job submission fails with error "unsupported protocol scheme"
Potential solutions: appending "http://..."  to the URL in root.go

Ok, fixed the bug (missing protocol on the golang) but the response from the server is not working, and we're not doing any meaningful logging/catching of the error. Should probably try to fix that :)
cc @lukemarsden @binocarlos

The response from the server is not working because we have not upgraded
production to REST yet (from JSONRPC). We should have coordinated releasing
the CLI and upgrading production at the same time around the protocol
change.
I'll upgrade and test production on Monday.
On Fri, 3 Jun 2022, 17:24 David Aronchick, @.***> wrote:

Ok, fixed the bug (missing protocol on the golang) but the response from
the server is not working, and we're not doing any meaningful
logging/catching of the error. Should probably try to fix that :)
cc @lukemarsden https://github.com/lukemarsden @binocarlos
https://github.com/binocarlos
—
Reply to this email directly, view it on GitHub
https://github.com/filecoin-project/bacalhau/issues/112#issuecomment-1146151448,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACATUQUWEYPXQIGIXLG2V3VNIWUPANCNFSM5XZM6YGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Merge to live 2022-07-27

No detected changes to .json files in the root

OPS passes. This can merge.


Windows Server 2022 Update

Microsoft's Windows Server 2022 is rolling out to mainstream users
Can you update the download with Windows Server 2022-compatible drivers when you have a chance? (Assuming any work needs to be done). At the very least it seems a new 2k22 folder is warranted.

Windows 10 drivers are compatible with Windows Server 2022 drivers.

@YanVugenfirer Ok, but you should create a folder for it so everyone else knows it's ready.

@EatonZ We will update the ISO together with Installer.


Fix Pandora code for new layout (fixes #190)

Reviewed the code, it's ok. Merge. I assume it tested by @vinyldarkscratch.


Colors in burried_volume.draw_3d()

I would like to know if there is a possibility, or could be added the possibility to change the colors of atoms etc. in the PyVista 3D representation from the Burried Volume module.

Hello Robin, this is currently not possible. I would recommend the SEQCROW plugin for Chimera if you want better control of the visualization: https://github.com/QChASM/SEQCROW/wiki/Buried-Volume-Tool


Add JSON line/column information to diagnostics

This does a few things...

Work around ariadne using character indices. We build a map of byte indices to character indices to use for this. This takes up to 4x the memory of input source text. Storage could be reduced by only storing for example every 16th character and scan through char_indices() from there whenever we look up an index. that would still be easier to do than to patch ariadne.
Add a get_line_column() to diagnostics that uses ariadne to look up the line/column for a byte offset.
Add a to_json() and JSON error structures that match the spec. I'm not sure this belongs in apollo-rs, though JSON is a common output format. This would be used in the router to serialize validation errors.

Targeting main as this is intended for use very soon, likely before the router is ported to the new apollo-rs AST.

Exposing types that implement serde::Serialize makes a lot of sense, users can pick whatever Serializer they need.
The choice of serde_json::Value is a bit more opinionated: the Router uses serde_json_bytes::Value instead. BTW this is only loosely related to JSON syntax, both of these types likely work with other serializers. Rather, this is a choice of memory representation for dynamically-typed maps and arrays.
I see two possible ways forward:

Just make a choice in apollo-compiler and stick with it
Try to keep apollo-compiler agnostic regarding this choice. Execution and introspection will need a representation for variable values, but they could be kept in a separate apollo-rs crate. (apollo-execution maybe?). Meanwhile in this PR Error::extensions could be removed (it’s always empty anyway in errors created by apollo-compiler, right?) and Error::path changed to a vec of PathElement below. Or even replace the whole Error struct with separate message and path methods on ApolloDiagnostic.

#[derive(Debug, Clone, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
#[serde(untagged)] // https://serde.rs/enum-representations.html#untagged
pub enum PathElement {
    Field(Name),
    ListItem { index: usize },
}

Do you mean this current PR now takes 4x the memory when looking up in source text?

If any diagnostic refers to a 1 KB source file, there’s a new Vec<u32> (shared with Arc) that allocates ~4 KB to map each possible byte offset to a char count. It’s kind of a brute-force solution but it can be improved later.

I think I want to use extensions in the error message improvements, so we can output an error code based on the DiagnosticData enum variant. But we can see if that is worthwhile once that actually happens (if we assume GraphQLError is only meant to be created by us, then we could simply use a serializable struct with the extension properties we use).
PathElement is definitely the right call for paths

Also note to self: ariadne returns zero-indexed line/column, check if that aligns with the spec and document

https://spec.graphql.org/October2021/#sec-Errors.Error-result-format

each location is a map with the keys line and column, both positive numbers starting from 1 which describe the beginning of an associated syntax element.

It doesn’t define how columns are counted though

path is meant to be a path into the response data which is not relevant yet for us, it doesn't point into the operation. I'll just omit both path and extensions for now instead of making a decision on format that we may revisit later.


IPEX Support?

Any plans to support non-Nvidia GPUs?

暂时没有~

please try out the newest train-free, 10s inference version facechain-fact.


Restrict scale-test to macosx, avoid breaking simulators.

Small fix to restrict test in PR #5588 from running on a simulator (or anything non-macosx).
Breakage occurred in https://ci.swift.org/job/oss-swift_tools-R_stdlib-RD_test-simulator/335/
Tracking in rdar://29090287

@swift-ci please smoke test and merge

@swift-ci please smoke test linux

@swift-ci please smoke test linux


Package request: zpaq for Darwin

Actually there is a missing build for Darwin platform of zpaq.
Hopefully someone could enable the build for Darwin x86_64 and aarch64.
Thank you!
Add a :+1: reaction to issues you find important.

@raskin


destructuring statuses from an extra layer deep to fix bug in view

Do I need to add a test for this? If so, where at? There are currently only tests for the app and the models.

Thank you.


nextPageToken not found

Does this API not return nextPageToken when using the youtube API?
Want to browse through a large playlist and can't get more than 50 tracks
Thanks!

Yes it does :) You can see this in action here:
https://github.com/google/google-api-nodejs-client/blob/master/samples/youtube/search.js
If you're having trouble getting this to work, please post a code snippet!

Had a look at the code you referenced. Nowhere in the code do I see nextPageToken listed or how pagination works. Here's my snippet and it's only returning 50 results (the max).
Here's my snippet.
  const res = await youtube.playlists.list({
    part: 'snippet',
    maxResults: 50,
    mine: true,
  })

Hi,
why are U using **this.**retrieve(res.data.nextPageToken) in your recursive function ?

Hi,
why are U using **this.**retrieve(res.data.nextPageToken) in your recursive function ?

Semantics. It's personal preference when dealing with multiple classes. That way I ensure I'm speaking to the correct class. Let's say I have two classes with retrieve function along with an app scoped retrieve function. Now there are three functions, when I only want to recurse into the function that belongs to this class object.


Default theme to light

This PR addresses #11356

Coverage remained the same at 37.538% when pulling 60f6d6cf2eb4d8f44fdef4d9c26711171ff5d27e on bug/defaultLight into c7799168b0be6bd4d6f699763887632b6a410f9b on main.


UI Improvement : Displaying country name and flag.

[x] Displaying country of user.
[x] Adding country flag. Something similar to this.

Yep, I used https://flagicons.lipis.dev/ for flag image. See the recent commits. :100:

Great! But by making script a modules functions are not accessible now!

Oh ya my bad, I added the onClick listener of buttons on script itself.


[bug]: include .... {"source": ...}; [discrepancy] default value of -L path

Unfortunately, the jq specifications regarding modules are quite complex at best, so here are the relevant bits regarding the default value of the -L path:

The default search path is the search path given to the -L command-line option, else ["~/.jq", "$ORIGIN/../lib/jq", "$ORIGIN/../lib"].

where:

"For paths starting with "$ORIGIN/", the path of the jq executable is substituted for "$ORIGIN"."

To see the issues, consider this transcript:
$ cd ~/github

$ cat lib/jq/foo.jq
def foo: "This is ~/github/lib/jq/foo.jq speaking";

$ cat lib/gojq/foo.jq
def foo: "This is ~/github/lib/gojq/foo";

$ cat lib/gojq/foo.gojq
def foo: "This is ~/github/lib/gojq/foo.gojq";

jq works as advertised:
$ jqMaster/jq -nM 'include "foo"; foo'
"This is ~/github/lib/jq/foo.jq speaking"

$ jqMaster/jq -nM 'include "foo" {"search": "~/github/lib/jq"}; foo'
"This is ~/github/lib/jq/foo.jq speaking"

But ...
$ gojq/gojq -nM 'include "foo"; foo'
gojq: compile error: module not found: "foo"

$ gojq/gojq -nM 'include "foo" {"search": "~/github/lib/gojq"}; foo'
gojq: compile error: module not found: "foo"

Checking the files are still there:
$ file lib/gojq/foo.gojq
lib/gojq/foo.gojq: ASCII text

$ file lib/gojq/foo.jq
file lib/gojq/foo.jq
lib/gojq/foo.jq: ASCII text

So it looks like the "bug" regarding source is real, but maybe gojq's default search path is intentionally different?

I'm confused. jq also search from the path as if $ORIGIN points to $PWD. gojq seems to follow this behavior.

It is complex, and perhaps the varying behavior of jq over time, together with some extant bugs, makes it confusing.  Also the fact that get_jq_origin and get_prog_origin are not clearly specified does not help.
Notice, though, that in the paragraphs I quoted, there is nothing mentioned about the pwd.  Specifically:

"For paths starting with "$ORIGIN/", the path of the jq executable is substituted for "$ORIGIN".`

Here, $ORIGIN is not set by the user but by the program.
Thus it's the path of the executable which is important for establishing the defaults.  Which is why I showed these paths in the transcript.
Anyway, setting aside the issues with the default path, there's the more pressing problem regarding "source".
(By the way, for the sake of everyone's sanity, I would suggest you reconsider supporting those three get_* filters.)

$ORIGIN is the directory of the jq executable, not the path of executable, right?

I thought it's easy to prefix the absolute directory of the executable but
~/github
❯ jqMaster/jq -nM get_jq_origin
"jqMaster"

~/github
❯ jqMaster/jq -nM 'include "foo"; foo'
"This is ~/github/lib/jq/foo.jq speaking"

~/github
❯ export PATH=~/github/jqMaster:$PATH

~/github
❯ which jq
/Users/itchyny/github/jqMaster/jq

~/github
❯ jq -nM 'include "foo"; foo'
jq: error: module not found: foo

jq: 1 compile error

This confusing behavior is not worth reproduce in gojq.

@itchyny - As discussed, there are some discrepancies between jq and gojq with respect to the algorithms for locating "modules", but  as of this writing, gojq's README page does not seem to include the relevant details, either in the form of a description of gojq's intended behavior, or in the form of a description of the main discrepancies.
In my experience to date, the main areas of apparently-intended discrepancies are:
(1) the significance of "ORIGIN" with respect to the default library path (ORIGIN referring to the directory where the executable has been installed); and
(2) the algorithm for locating a module that is included or imported in a particular file in a particular directory.

The problem is, jq does not implement what it says in the document. $ORIGIN is not the path of the jq executable, but the directory the executable locates
But it uses argv[0] to get the executable location, so it only works when the executable is invoked by specifying the exact executable path
Thus the origin is the current working directory when the program is invoked by the command name only, as most user do. this behavior looks not useful, the default library path should not change. Are you really install libraries in $ORIGIN/lib?
Considering these behaviors, even if gojq fixes to use $ORIGIN as the absolute directory where the executable locates, it creates a new discrepancy. You want me to use os.Args[0] like jq does?

 % jq -n get_jq_origin
"."
 % ls ./jq
"./jq": No such file or directory (os error 2)
 % `which jq` -n get_jq_origin
"/opt/homebrew/bin"

@itchyny -
Let's start with the manual, which states:
For paths starting with "$ORIGIN/", the path of the jq executable is substituted for "$ORIGIN".
Here, "path" does not mean the same as "pathname"; it means, in effect, the path to the jq executable,
i.e. the pathname of the folder in which the jq executable exists.
In any case, what's important is that if jq ships with jq modules in a folder, then
the defaults should be such that include and import directives should be able to find them
This was the idea behind ORIGIN. Specifically, let's suppose that
$ORIGIN is the pathname of the directory in which the jq executable
exists.  Then the jq-provided modules (files) would live in
$ORIGIN/lib/ or $ORIGIN/lib/jq and the defaults should be such that
executing $ORIGIN/jq will ensure that the modules will be found when
not overridden in some way.
Apart possibly from some relatively unimportant subtleties, jqMaster actually works this way.

Considering fixing the discrepancy, should it be $ORIGIN/../lib/jq or $ORIGIN/../lib/gojq?

Logically, I think it would have to be $ORIGIN/../lib/gojq for the reason that you have
evidently already considered, namely because if jq ever has a "lib"
directory, then some package managers would probably want to put it in
$ORIGIN/../lib/jq.
This might be expected, for example, if $ORIGIN is /usr/local/bin/
Fortunately, modern package managers tend to avoid this problem,
e.g. on my machine, asdf installs the jq 1.6 executable as
~/.asdf/installs/jq/1.6/bin/jq

I have finally changed the default module paths. Thanks for patient explanation.


TypeError: only size-1 arrays can be converted to Python scalars

@theendlessriver13 @dargueso @andreazonato @matthiasdemuzere
Hi，when I use the tiff from LCZ generator, I met this problem.
My WRF is the latest version 4.3.1, I downloaded the source code here, and w2w is the latest version 0.2.0
I attached all the geo_em.d0X.nc files generated by geogrid.exe. I also put the LCZ map generated by LCZ-generator inside the .zip file.
w2w2.zip
1.`(base) [ac7a1iq56s@login07 w2w2]$ w2w -l 1 ~/w2w2 beijing4.tif geo_em.d03.nc
--> Set data, arguments and files

Seems you are using a LCZ map produced by https://lcz-generator.rub.de/
I therefor use the Gaussian filtered default 'LczFilter' layer
--> Check LCZ integrity, in terms of class labels, projection and extent
LCZ labels as expected (1 to 17)
LCZ provided as WGS84 (EPSG:4326)
LCZ domain is covering WRF domain
--> Replace WRF MODIS urban LC with surrounding natural LC
Traceback (most recent call last):
File "/public/home/ac7a1iq56s/anaconda3/bin/w2w", line 8, in
sys.exit(main())
File "/public/home/ac7a1iq56s/anaconda3/lib/python3.9/site-packages/w2w/w2w.py", line 150, in main
wrf_remove_urban(
File "/public/home/ac7a1iq56s/anaconda3/lib/python3.9/site-packages/w2w/w2w.py", line 494, in wrf_remove_urban
newlu = int(m) - 1
TypeError: only size-1 arrays can be converted to Python scalars`

2.`(base) [ac7a1iq56s@login07 w2w2]$ w2w ~/w2w2 beijing4.tif geo_em.d03.nc
--> Set data, arguments and files

Seems you are using a LCZ map produced by https://lcz-generator.rub.de/
I therefor use the Gaussian filtered default 'LczFilter' layer
--> Check LCZ integrity, in terms of class labels, projection and extent
LCZ labels as expected (1 to 17)
LCZ provided as WGS84 (EPSG:4326)
LCZ domain is covering WRF domain
--> Replace WRF MODIS urban LC with surrounding natural LC
Traceback (most recent call last):
File "/public/home/ac7a1iq56s/anaconda3/bin/w2w", line 8, in
sys.exit(main())
File "/public/home/ac7a1iq56s/anaconda3/lib/python3.9/site-packages/w2w/w2w.py", line 150, in main
wrf_remove_urban(
File "/public/home/ac7a1iq56s/anaconda3/lib/python3.9/site-packages/w2w/w2w.py", line 494, in wrf_remove_urban
newlu = int(m) - 1
TypeError: only size-1 arrays can be converted to Python scalars'

I would be very grateful if you can help solve my problem!
Best Wishes
Fei Han

@dargueso: seems to be an issue in your wrf_remove_urban() routine? Could you have a look?

It looks like if there is only one class "17" in the netcdf input file? This seems to be the issue causing the type error.

Thank you very much for your reply!
The problem does lie with land use data.
Thanks again,
Fei Han


purging of large assets

22f436f adds support for thumbnails to the landmarker for quick loading. Every time an image is opened, we grab the full texture and store it. Going back to a full texture image triggers no extra call.
This raises the problem that in long annotation sessions we may run out of memory by storing all these full size images.
Ideally, ImageSource should keep an eye on the number of full size images stored, and run a cull every now and then to stop things getting out of hand.
A similar strategy should be employed for MeshSource too.

This is still a problem as all texture information is cached and never released.

Now improved on the GPU front. Still need to check if textures are fully released or not.

this is now all fixed as of d17b3a4c053e49c1ea03530b9c8021d337cadc5b


WebUI: link to fullsize image

As camlistore is my primary backup system, I'm often using the web UI to pick out photos to share.
I'd be keen to have some way of downloading originals (rather than resized versions).
Would a sensible UX be to tick several items in the frontend then have a 'download all as zip' or similar button?

Just to be sure, do you know that you can already do that for an individual item? Select it, and click on "View original".
But a similar action is indeed missing for >1 items. I think we could have a "Share" action in the contextual menu, which could let several sub-actions unfold, one of them being "download as zip", yes.
The hard part being of course to actually implement the action, not just the UI buttons. :-)
It's one of the first things I'm interested in adding (which is why we have issue #880 open) once we have fully transitioned to gopherjs. But if you think you can beat us to it by doing it directly in javascript before, please be my guest.

https://camlistore-review.googlesource.com/9086

https://camlistore-review.googlesource.com/9526


Crash with my modpack

https://pastebin.com/rMkkSXxH

Yeah looks like some sort of compatibility issue, doesn't look like Ender Trigon is doing anything wrong. What other mods do you have installed?

Ok, I'll try to list the latest mods I added as much as I can(I have about 418 mods):
recipes library
dynamical compass
forbidden arcanus
charms
skill cloaks
epic knights
totw modded
travelers backpack
philips ruins
alchemy lib
chemy lib
aeroblender
sculkhorde
alchemistry
ancient manuscripts
recruits

I don't think I'll be able to diagnose the problem with that amount of mods lol. You'll have to go through them and figure out the culprit. I'd recommend looking for mods that may modify the Ender Dragon in any form/capacity.

Hi, so from other sources it turns out there's something genuinely wrong with Ender Trigon itself, specifically for the 1.19.4 version.
According to some other people I mentioned this problem to, it has a very breaking change to the vanilla code.
Something about it wanting to make the dragon fight creation method private when it's not because you can't reduce methods' visibility
this isn't a compatibility error

I meant to get back to you on CurseForge but I forgot, this is a more appropriate place anyway
This is the method in question:

That method is directly from the normal ender dragon, and is private. This is the mixin overwrite the mod uses:

This method copies the visiblity of the vanilla one. If I'm not mistaken I shouldn't be reducing the visiblity of the method at all
What is interesting however is the forge bot flags that method as being public, so I could very well be reducing the visibility (something could've changed on either Minecraft's end of Forge's) without my knowing

Have you tried running Ender Trigon by itself to see if the issue persists?

Ok so I tried to use Ender Trigon by itself and it did work. I then decided to put the mods from my modpack one by one until I reach a point where it doesn't work again. This log is the result, can you please figure out some stuff? Thank you.
https://pastebin.com/JTe15bG0

What was the mod that you put in that caused this crash report?

Based on my testing it seemed to be a mod called Cloud Rider, which btw is a mod that depends on Geckolib.

Interesting. I'd report the issue to them then, since there shouldn't be anything wrong on my end (unless if there is something on my end, which could totally be the case)


Support SASS 3.3 @at-root syntax

Currently I'm getting shouted at (in bright pink no-less ;)).

@WillsB3 looks like #79 fixed this:


backport patch 10294 to slack v13

Description
Apply VStreams multi cell functionality in v14 to Slack's v13 branch.
https://slack-pde.slack.com/archives/C8EJ0PTPF/p1666807543408739?thread_ts=1666804277.270249&cid=C8EJ0PTPF

 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.Priya Bibra seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

The change looks good to me. Please make sure test is clean (with reruns).


Reconcile pkg/{logs,logging}

Build has both ./pkg/logging and ./pkg/logs, which will be confusing to new contributors.

/close


bosh status does not show names of external CPI

Here is the sample output of bosh status
Director
  Name       my-bosh
  URL        https://<redacted>:25555
  Version    1.3100.0 (00000000)
  User       admin
  UUID      <redacted>
  CPI        cpi
  dns        disabled
  compiled_package_cache disabled
  snapshots  disabled

I'm using an external CPI, and the information provided by the /info endpoint boils down to  'cpi' => Config.cloud_type, which is cpi for all external ones.
Internal cpis provided their actual name (e.g. aws), which was kind of neat. Can we have that back, pls?

Story created: https://www.pivotaltracker.com/story/show/105868858
We are just planning to rename cpi jobs for now. Eventually we can have more comprehensive solution.

Fixed with openstack-cpi-release v16 and corresponding new versions of the other CPIs.


Exchange2007_SP1 for Meeting Request-Create

hi !
my code:
           ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2007_SP1);
	     ExchangeCredentials credentials = new WebCredentials(username,
				password);
		service.setCredentials(credentials);
		service.setUrl(new URI("https://"+demand+"/EWS/Exchange.asmx"));

                Appointment appointment = new  Appointment(service);

		SimpleDateFormat formatter = new  SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		Date startDate = formatter.parse("2015-06-17 18:00:00");
		Date endDate = formatter.parse("2015-06-17 19:00:00");

		appointment.setSubject("Status Meeting");
		appointment.setBody(new MessageBody("The purpose of this meeting is to discuss status."));
		appointment.setIsAllDayEvent(false);
		appointment.setStart(startDate);
		appointment.setEnd(endDate);
		appointment.setLocation("room1");
		appointment.getRequiredAttendees().add("meetingAdmin@***.com");
		appointment.getOptionalAttendees().add("z***@****.com");

                appointment.save();

    Exception：
          microsoft.exchange.webservices.data.ServiceLocalException: StartTimeZone required when setting the Start, End, IsAllDayEvent, or Recurrence properties.  You must load or assign this property before attempting to update the appointment.
	at microsoft.exchange.webservices.data.Appointment.validate(Unknown Source)
	at microsoft.exchange.webservices.data.CreateItemRequest.validate(Unknown Source)
	at microsoft.exchange.webservices.data.ServiceRequestBase.validateAndEmitRequest(Unknown Source)
	at microsoft.exchange.webservices.data.SimpleServiceRequestBase.internalExecute(Unknown Source)
	at microsoft.exchange.webservices.data.MultiResponseServiceRequest.execute(Unknown Source)
	at microsoft.exchange.webservices.data.ExchangeService.internalCreateItems(Unknown Source)
	at microsoft.exchange.webservices.data.ExchangeService.createItem(Unknown Source)
	at microsoft.exchange.webservices.data.Item.internalCreate(Unknown Source)
	at microsoft.exchange.webservices.data.Item.save(Unknown Source)
	at SendMail2.send(SendMail2.java:166)
	at SendMail2.send(SendMail2.java:173)
	at SendMail2.main(SendMail2.java:42)

If the ExchangeVersion for 2010 is no problem.

I try to do so.
Collection t = service.getServerTimeZones();
TimeZoneDefinition tf = null;
for (TimeZoneDefinition timeZoneDefinition : t) {
tf = timeZoneDefinition;
appointment.setStartTimeZone(tf);
	     try{
	    	 appointment.save();
	    	 System.out.println(tf.getId()+" : "+tf.getName());
	     }catch (Exception e) {
			// TODO: handle exception
		}
	   }

But none of them fit.
What should I do?

Hi elewyeen,
How  do you resolve timezone issue with 2007

I exchange version is 2007 not 2007 _sp1, add the following code:
service.setExchange2007CompatibilityMode(true);


Unable to use terminal.

I'm having an issue with the Terminal when I open it, which makes it unusable I would like to know if someone else has had the same issue and if there is a way to solve it, I tried to research, but I wasn't able to find anything. Thanks.
https://user-images.githubusercontent.com/24831929/233295330-8077e8e9-2e0c-4a35-afc7-24b0ff6c1dac.mov

I am also having the same issue. It works the first time but the second time.
It looks like there is an environment variable DEBUG=Warn

I can fix the terminal by using a passthrough shell bin kubectl that uset DEBUG but I cannot use the Kubernete Debug
For me it is not happen on WSL but it happens when i connect to a remote linux system using RemoteSSH

Thanks for your answer; still trying to solve the problem; at the end, I have to open the terminal from my regular terminal, not from the VS code extension, which requires more manual effort as I need to get the pod name & container name, I can't figuring out what is going wrong in my environment.

in my case , uninstall the extenstion mongodb solve the problem

Thank you, magicsong. I solved this problem with your method. Have you considered giving feedback to the mongodb plugin author?


Fix Footer URLs

URLs in the footer are pointing to the wrong category (category names are slightly different)

@xeBuz Thanks! This is great, I'll merge now.


[2152] Number types have no tostring with iformatprovider.

Fixes #2152.

@michaelcheers, please see comment https://github.com/bridgedotnet/Bridge/pull/2771#issuecomment-321916248 regarding Unit tests.


playable: should support finding split cards where only one half matches and aftermath cards where the front half matches

As the _card_cache table sounds it's tricky/impossible to work this out from the mana_cost column.

We no longer have our own search engine. We are at the mercy of Scryfall!


chore(website): improved api docs

Description
This PR adds improved API docs and exposes them on the website and remove the old API.md file.
Related issue(s)
Fixes #106

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 remained the same at 92.192%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5259

Relevant Lines:
5562

💛  - Coveralls


permit_action no longer allows extra parameters?

Apologies if this was discussed on the roadmap somewhere, but we have policy methods that accept one (but conceivably more) attributes. 2.x would handle this fine, but 3.x throws the following error:
ArgumentError: wrong number of arguments (given 2, expected 1)

  0) CvEntryPolicy as a user with user's own record
     Failure/Error: it { is_expected.to permit_action(:create_with_user, current_user) }

     ArgumentError:
       wrong number of arguments (given 2, expected 1)
     # /Users/arob/.gem/ruby/3.0.6/gems/pundit-matchers-3.1.2/lib/pundit/matchers.rb:71:in `permit_action'
     # ./spec/policies/cv_entry_policy_spec.rb:31:in `block (4 levels) in <top (required)>'

The use case is for the following policy method, invoked by https://github.com/venuu/jsonapi-authorization gem:
  def create_with_user?(user)
    return false unless user_present?
    can_perform?(:user_administrate, [user.business_unit, user.location])
  end

Hi,
I can confirm. More info here: #26

In addition to permit_action no longer supporting additional parameters in Pundit Matchers 3, the jsonapi-authorization gem that you're using is no longer supported.
I suggest looking for a modern solution that can work with additional context.

That’s a bummer, but thanks for the explanation. I think I’ll be locking to 2.x as it’s not feasible for us to completely overhaul our policies on multiple applications. FWIW, I’ve always had an issue with Pundit’s rigid position on this, but the bit on additional context is helpful. Thanks!


BUG - FE writer Worklist : Table Type is not written to the manifest

Description
Adding a table type setting option when generating a v2 based Worklist app does not get added to the manifest.
Steps to Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected results
Actual results
Screenshots
If applicable, add screenshots to help explain the problem.
Version/Components/Environment
Add any other context about the problem here
OS:

[ ] Mac OS
[ ] Windows
[ ] Other

Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}

Fixed with https://github.com/SAP/open-ux-tools/pull/1871


Swagger-UI Unexpected Token u in JSON at position 0

I configured swagger2 with my spring-boot application. It is a RESTful application which is not an MVC application. I can see all my endpoints on http://localhost:8080/v2/api-docs, but http://localhost:8080/swagger-ui.html shows an error when I inspect element.
Uncaught SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.onSuccess [as success] (springfox.js:75)
    at f (jquery-1.8.0.min.js:1)
    at Object.fireWith [as resolveWith] (jquery-1.8.0.min.js:1)
    at r (jquery-1.8.0.min.js:3)
    at XMLHttpRequest.r (jquery-1.8.0.min.js:3)

Since my application has OAuth2 security, I ignore related URLs from OAuth2
WebSecurityConfig:
@Override
public void configure(WebSecurity web) throws Exception {

        web
                .ignoring()
                .antMatchers("/v2/api-docs")
                .antMatchers("/swagger/**")
                .antMatchers("/swagger-ui.html")
                .antMatchers("/swagger-resources/**")
                .antMatchers("/webjars/**")
                ;
}

SwaggerConfig:
@EnableSwagger2
@Configuration
public class SwaggerConfig extends WebMvcConfigurationSupport {

    public Docket api(){
        return new Docket(DocumentationType.SWAGGER_2)
                .select()
                .apis(RequestHandlerSelectors.any())
                .paths(PathSelectors.any())
                .build();

    }

    @Override
    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry.addResourceHandler("swagger-ui.html")
                .addResourceLocations("classpath:/META-INF/resources/");

        registry.addResourceHandler("/webjars/**")
                .addResourceLocations("classpath:/META-INF/resources/webjars/");
    }
}

I have only one class which contains all my endpoints.
@RestController
@RequestMapping("/v1")
@Api(value="Endpoints", description = "All endpoints")
public class AllEndpoints {
........
}

I can see that swagger is loaded in the logs.
2018-03-29 15:42:54.859  INFO 32817 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/swagger-resources/configuration/ui]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.UiConfiguration> springfox.documentation.swagger.web.ApiResourceController.uiConfiguration()
2018-03-29 15:42:54.860  INFO 32817 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/swagger-resources/configuration/security]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.SecurityConfiguration> springfox.documentation.swagger.web.ApiResourceController.securityConfiguration()
2018-03-29 15:42:54.861  INFO 32817 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/swagger-resources]}" onto public org.springframework.http.ResponseEntity<java.util.List<springfox.documentation.swagger.web.SwaggerResource>> springfox.documentation.swagger.web.ApiResourceController.swaggerResources()
2018-03-29 15:42:55.376  INFO 32817 --- [  restartedMain] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)]

jars are also loaded:
/var/javaApp/.gradle/caches/modules-2/files-2.1/io.springfox/springfox-swagger2/2.7.0/dd28b7ce26af1209d6ef19f5f24a8c23b41ca6fc/springfox-swagger2-2.7.0.jar:/var/javaApp/.gradle/caches/modules-2/files-2.1/io.springfox/springfox-swagger-ui/2.7.0/92608eb6c2056810b4e3189196b4e8cce645d6de/springfox-swagger-ui-2.7.0.jar

dependencies: (I also tried 2.6.1 and nothing was changed)
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.7.0'
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.7.0'

What can be the reason that I cannot use /swagger-ui.html? Is there something I miss?
This error occurs on versions 2.7.0, 2.6.1, 2.6.0 and 2.5.0.
versions 2.8.0 and <2.5.0 are showing "Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (>= 4.0.0)."
slack:
"Error: Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (>= 4.0.0).
    at new a (http://localhost:8080/webjars/springfox-swagger-ui/lib/handlebars-2.0.0.js:27:1350)
    at Object.d [as checkRevision] (http://localhost:8080/webjars/springfox-swagger-ui/lib/handlebars-2.0.0.js:27:4728)
    at Object.e [as template] (http://localhost:8080/webjars/springfox-swagger-ui/lib/handlebars-2.0.0.js:27:5023)
    at a.template (http://localhost:8080/webjars/springfox-swagger-ui/lib/handlebars-2.0.0.js:27:7380)
    at http://localhost:8080/webjars/springfox-swagger-ui/swagger-ui.min.js:1:244
    at http://localhost:8080/webjars/springfox-swagger-ui/swagger-ui.min.js:2:15204
    at http://localhost:8080/webjars/springfox-swagger-ui/swagger-ui.min.js:15:577"

Well, tons of errors are revealed
Schema error should NOT have additional properties
additionalProperty: data
Jump to line 0
Schema error should have required property 'swagger'
missingProperty: swagger
Jump to line 0
Schema error should have required property 'info'
missingProperty: info
Jump to line 0
Schema error should have required property 'paths'
missingProperty: paths
Jump to line 0
Semantic error at data.paths./error.get.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 44
Semantic error at data.paths./error.head.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 64
Semantic error at data.paths./error.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 84
Semantic error at data.paths./error.put.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 106
Semantic error at data.paths./error.delete.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 126
Semantic error at data.paths./error.options.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 146
Semantic error at data.paths./error.patch.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 166
Semantic error at data.paths./oauth/authorize.get.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 199
Semantic error at data.paths./oauth/authorize.head.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 233
Semantic error at data.paths./oauth/authorize.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 267
Semantic error at data.paths./oauth/authorize.put.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 303
Semantic error at data.paths./oauth/authorize.delete.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 337
Semantic error at data.paths./oauth/authorize.options.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 371
Semantic error at data.paths./oauth/authorize.patch.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 405
Semantic error at data.paths./oauth/confirm_access.get.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 613
Semantic error at data.paths./oauth/confirm_access.head.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 639
Semantic error at data.paths./oauth/confirm_access.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 665
Semantic error at data.paths./oauth/confirm_access.put.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 693
Semantic error at data.paths./oauth/confirm_access.delete.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 719
Semantic error at data.paths./oauth/confirm_access.options.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 745
Semantic error at data.paths./oauth/confirm_access.patch.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 771
Semantic error at data.paths./oauth/error.get.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 790
Semantic error at data.paths./oauth/error.head.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 810
Semantic error at data.paths./oauth/error.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 830
Semantic error at data.paths./oauth/error.put.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 852
Semantic error at data.paths./oauth/error.delete.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 872
Semantic error at data.paths./oauth/error.options.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 892
Semantic error at data.paths./oauth/error.patch.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 912
Semantic error at data.paths./v1/oauth/token.get.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 961
Semantic error at data.paths./v1/oauth/token.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 990
Semantic error at data.paths./v1/organizations.get.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1024
Semantic error at data.paths./v1/organizations.post.parameters.0.schema.$ref
$refs must reference a valid location in the document
Jump to line 1046
Semantic error at data.paths./v1/organizations.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1051
Semantic error at data.paths./v1/organizations/{key}.get.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1078
Semantic error at data.paths./v1/organizations/{key}.put.parameters.1.schema.$ref
$refs must reference a valid location in the document
Jump to line 1105
Semantic error at data.paths./v1/organizations/{key}.put.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1110
Semantic error at data.paths./v1/organizations/{key}.delete.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1136
Semantic error at data.paths./v1/privileges.get.responses.200.schema.items.$ref
$refs must reference a valid location in the document
Jump to line 1157
Semantic error at data.paths./v1/privileges.post.parameters.0.schema.$ref
$refs must reference a valid location in the document
Jump to line 1179
Semantic error at data.paths./v1/privileges.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1184
Semantic error at data.paths./v1/privileges/{key}.delete.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1211
Semantic error at data.paths./v1/profilefields.get.responses.200.schema.items.$ref
$refs must reference a valid location in the document
Jump to line 1238
Semantic error at data.paths./v1/profilefields.post.parameters.0.schema.$ref
$refs must reference a valid location in the document
Jump to line 1260
Semantic error at data.paths./v1/profilefields.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1265
Semantic error at data.paths./v1/roles.post.parameters.0.schema.$ref
$refs must reference a valid location in the document
Jump to line 1310
Semantic error at data.paths./v1/roles.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1315
Semantic error at data.paths./v1/users.post.parameters.0.schema.$ref
$refs must reference a valid location in the document
Jump to line 1340
Semantic error at data.paths./v1/users.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1350
Semantic error at data.paths./v1/users/{id}.get.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1377
Semantic error at data.paths./v1/users/{id}/email.post.parameters.1.schema.$ref
$refs must reference a valid location in the document
Jump to line 1405
Semantic error at data.paths./v1/users/{id}/email.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1410
Semantic error at data.paths./v1/users/{id}/email/verification.post.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1444
Semantic error at data.paths./v1/users/{id}/roles.get.responses.200.schema.items.$ref
$refs must reference a valid location in the document
Jump to line 1473
Semantic error at data.paths./v1/users/{id}/roles.put.parameters.1.schema.items.$ref
$refs must reference a valid location in the document
Jump to line 1502
Semantic error at data.paths./v1/users/{id}/roles.put.responses.200.schema.$ref
$refs must reference a valid location in the document
Jump to line 1507
Semantic error at data.paths./v1/verification/receipt.post.parameters.0.schema.$ref
$refs must reference a valid location in the document
Jump to line 1532
Semantic error at data.paths./v1/verification/token.post.parameters.0.schema.$ref
$refs must reference a valid location in the document
Jump to line 1564
Semantic error at data.definitions.ModelAndView.properties.view.$ref
$refs must reference a valid location in the document
Jump to line 1662
Semantic error at data.definitions.OAuth2AccessToken.properties.refreshToken.$ref
$refs must reference a valid location in the document
Jump to line 1680
Semantic error at data.definitions.Pageable.properties.sort.$ref
$refs must reference a valid location in the document
Jump to line 1734
Semantic error at data.definitions.Page«Organization».properties.content.items.$ref
$refs must reference a valid location in the document
Jump to line 1744
Semantic error at data.definitions.Page«Organization».properties.pageable.$ref
$refs must reference a valid location in the document
Jump to line 1756
Semantic error at data.definitions.Page«Organization».properties.sort.$ref
$refs must reference a valid location in the document
Jump to line 1761
Semantic error at data.definitions.ProfileField.properties.parent.$ref
$refs must reference a valid location in the document
Jump to line 1800
Semantic error at data.definitions.ProfileField.properties.parents.items.$ref
$refs must reference a valid location in the document
Jump to line 1804
Semantic error at data.definitions.ProfileField.properties.profileFieldDescriptors.items.$ref
$refs must reference a valid location in the document
Jump to line 1808
Semantic error at data.definitions.ProfileFieldDescriptor.properties.profileField.$ref
$refs must reference a valid location in the document
Jump to line 1832

Thats a bug thats been fixed thankfully in 2.8.1-SNAPSHOT via #2203

Its a different snapshot repository http://oss.jfrog.org/artifactory/oss-snapshot-local jfrog-oss swagger2

I imported springfox-swagger2-2.8.1-20180328.022723-32.jar  from the given URL.
I removed compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.8.0' from gradle and changed swagger-ui version to 2.8.0. compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.8.0'.
A new error occured:
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.myproject.configuration.SwaggerConfig]; nested exception is java.io.FileNotFoundException: class path resource [springfox/documentation/swagger/configuration/SwaggerCommonConfiguration.class] cannot be opened because it does not exist

Did you follow instructions on how to import snapshot dependencies from here => (http://springfox.github.io/springfox/docs/current/#dependencies). Just dropping the jar isnt going to work as it would if you import it from the maven repository.

I managed to import the jars.
compile "io.springfox:springfox-swagger2:2.8.1-SNAPSHOT"
compile "io.springfox:springfox-swagger-ui:2.8.1-SNAPSHOT"

Nothing changed. Those errors are still showing up even I cleared browser cache.
Also I tried http://localhost:8080/swagger-ui.html and this is the result:

Seems like spring security is preventing your resources from being loaded.

I only this part to handle resources in SwaggerConfig
@Override
    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry.addResourceHandler("swagger-ui.html")
                .addResourceLocations("classpath:/META-INF/resources/");

        registry.addResourceHandler("swagger-ui.html/**")
                .addResourceLocations("classpath:/META-INF/resources/");

        registry.addResourceHandler("/webjars/**")
                .addResourceLocations("classpath:/META-INF/resources/webjars/");
    }

I also excluded few URLs from spring security as I pasted above.

@AlicanBalik I didnt notice the the urls closely. Looks like your base url should be http://localhost:8080/ and not http://localhost:8080/swagger-ui.html

@dilipkrish It is the same. If I type http://localhost:8080/ it shows 401 to following URLs:
http://localhost:8080//swagger-resources
http://localhost:8080//swagger-resources/configuration/ui
http://localhost:8080//swagger-resources/configuration/security

If I type http://localhost:8080 it shows 401 to following URLs:
http://localhost:8080/swagger-resources
http://localhost:8080/swagger-resources/configuration/ui
http://localhost:8080/swagger-resources/configuration/security

swagger_version = 1.5.22
springfox_version = 3.3.0
I have also got right /swagger-resources & /v2/api-docs.
But /swagger-ui.html page 403 error so I replaced the libarar(io.springfox:springfox-swagger-ui) with io.springfox.ui:springfox-swagger-ui-rfc6570..
And then I can see the page(swagger-ui.html) but it is empty page only with url prompt box.
I have inserted http://localhost:8080/ but the page is same and chrome debugger said that JSON.parse error like following:
 element.style { } html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {     margin: 0;     padding: 0;     border: 0;     font-size: 100%;     font: inherit;     vertical-align: baseline; } user agent stylesheet html {     display: block; } border-bottom-color:rgb(0, 0, 0); border-bottom-style:none; border-bottom-width:0px; border-image-outset:0; border-image-repeat:stretch; border-image-slice:100%; border-image-source:none; border-image-width:1; border-left-color:rgb(0, 0, 0); border-left-style:none; border-left-width:0px; border-right-color:rgb(0, 0, 0); border-right-style:none; border-right-width:0px; border-top-color:rgb(0, 0, 0); border-top-style:none; border-top-width:0px; display:block; font-family:"Apple SD Gothic Neo"; font-size:16px; font-stretch:100%; font-style:normal; font-variant-caps:normal; font-variant-east-asian:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-weight:400; height:90.9609px; line-height:normal; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; padding-bottom:0px; padding-left:0px; padding-right:0px; padding-top:0px; vertical-align:baseline; width:1272px;  swagger-ui.html:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0     at JSON.parse (<anonymous>)     at springfox.js:43     at Object.success (springfox.js:14)     at k (jquery-1.8.0.min.js:2)     at Object.fireWith [as resolveWith] (jquery-1.8.0.min.js:2)     at y (jquery-1.8.0.min.js:2)     at XMLHttpRequest.d (jquery-1.8.0.min.js:2)

swagger-resources isn't compatible with older versions of springfox-swagger-ui. If you're using the boot starter you shouldnt have to mess with springfox-swagger-ui at all. What are you trying to do?

I just want to get auto generated swagger-ui.html for api-test but I didn't finish yet;;;
swagger_version = 1.5.22 -> 1.6.x version generate the json not work on swagger editor.
springfox_version = 3.3.0
I am using this versions and What dependencies should I import and remove ?
//    implementation("io.springfox:springfox-boot-starter:$springfox_version")
implementation("io.springfox:springfox-swagger2:$springfox_version")
implementation("io.springfox:springfox-spring-web:$springfox_version")
implementation("io.springfox:springfox-swagger-ui:$springfox_version")
//    implementation("io.springfox.ui:springfox-swagger-ui-rfc6570:1.0.0") //https://github.com/springfox/springfox-swagger-ui-rfc6570
//    implementation("io.springfox:springfox-data-rest:$springfox_version")
//    implementation("io.springfox:springfox-swagger-common:$springfox_version")
implementation("io.swagger:swagger-core:$swagger_version")

implementation("io.springfox:springfox-boot-starter:3.0.0 : This dependency resolve the above issue all.
We don't need springfox-swagger2 and springfotx-ui any more.
https://springfox.github.io/springfox/docs/current/
Springfox 3.0 need only springfox-boot-starter library.


feat: reset

Current dependencies on/for this PR:

#146  👈
main

This stack of pull requests is managed by Graphite.


(PDB-4000) Upgrade to clj-parent 2.1.0

Test PASSed

CLA signed by all contributors.

Test PASSed


Unable to encode the output with cp1252 encoding. Unsupported characters are discarded.

Describe the bug
I don't know if this is specific to the command that I am about to reference, but whenever I run the command
az ad sp list --all

in a powershell console, the console window will return the message "Unable to encode the output with cp1252 encoding. Unsupported characters are discarded" to the console before processing the command.  To be more specific, the message does NOT appear if I run the command as displayed about and just output the result to the console.  The error occurs when I attempt to integrate it with powershell in some way.  For example, the error will display if I attempt to assign the output to a variable:
$output = az ad sp list --all

Another example is if I attempt to pipe the output from the command to the "Convertfrom-Json" cmdlet (since the output is a json string):
az ad sp list --all | Convertfrom-json

Just so that we are 100% clear here, it does not appear that the command is failing in its entirety.  It does return output when I run the above two commands, but, as the error itself states, I don't know if what I am seeing is the entire return.  And if it is, then the error message shouldn't give that impression by being displayed in the first place.

To Reproduce

login to azure using az login in a powershell console
Run either of these commands

$output = az ad sp list --all

az ad sp list --all | Convertfrom-json

Expected behavior
The azure cli should not be returning an error indicating that certain characters might have been dropped from the results of a command just because it was run in a powershell console.  And if no characters were dropped, then the azure cli should not display the error in the first place.
Environment summary
Running on a windows 10 pro computer and installed using the msi installer downloaded from Microsoft's website

add to S174

Workaround until issue is fixed (https://github.com/microsoft/knack/pull/178):
Control Panel > Region > Administrative > Change system local -> Check the 'Beta: Use Unicode UTF-8 for worldwide language support' option

The link (https://github.com/microsoft/knack/pull/178) given by @kwill-MSFT is exactly how this warning is introduced.
This is more of a legacy Windows + PowerShell issue where UTF-8 string can't be handled as a variable.
The solution is any of

Remove invalid characters under the current locale from the service principals
Use a locale that supports those special characters
Check Beta: Use Unicode UTF-8 for worldwide language support

The returned content is complete. It's only that the string containing invalid characters are discarded. If you are fine with contents being discarded, you may use--only-show-errors to mute the "Unable to decode ..." warning.

@jiasli Could you shed some more light on:

This is more of a legacy Windows + PowerShell issue where UTF-8 string can't be handled as a variable.

I tried calling az directly from C# without involving powershell (or even cmd, by calling %AZCLI%\python.exe -IBm azure.cli ad signed-in-user show --output=json [split into filename and args respectively]) and still getting this warning (and a character in my last name č is skipped). Do you know if this windows, python or knack issue?

I think this is a Windows issue, could you try to enable UTC-8 support as shown in https://github.com/microsoft/knack/pull/178 ? This is the reason why this option is introduced in Windows. :)

I don't have this option (corporate update policy, but as workaround I az config set core.only_show_errors=true). I wonder how Powershell does it - if only for displaying (without doing | ConvertFrom-Json) it shows correct name. I was hoping to do the same by creating process myself (will have to check Win32 maybe something's there).

This seems to be an issue when doing something as simple as:
$Test = az account list
If you have a subscription with a hyphen in it (like Visual Studio Subscription - MPN), it will replace it with a foreign character.

@cgtheflash, it is very likely that your hyphen is not a real ASCII hyphen-minus -:
002D - HYPHEN-MINUS
= hyphen or minus sign
• used for either hyphen or minus sign
→ 2010 ‐  hyphen
→ 2011   non-breaking hyphen
→ 2012 ‒  figure dash
→ 2013 –  en dash
→ 2043 ⁃  hyphen bullet
→ 2212 −  minus sign
→ 10191 𐆑  roman uncia sign

It could be a hyphen ‐, a minus sign −, or an en dash – in the the subscription name.
Please make sure you only use ASCII hyphen-minus -. Otherwise, you need to enable UTF-8 support following https://github.com/microsoft/knack/pull/178.

Thanks for the information. This is the default name given for a Visual Studio Azure subscription. That's interesting that by default it's not setting a real hyphen. I've also tested by adding additional Visual Studio subscriptions and it happens on all of them.
You're right though, I renamed a subscription with a hyphen and don't have that problem.

@cgtheflash glad to know it works for you. Using non-ASCII hyphen-minus - (002D) is definitely a problem for downstream tools running on systems with no UTC-8 support.
It seems you are using Visual Studio subscriptions offered to partners in the Microsoft Partner Network (MPN). I don't have MPN subscription so can't repro this issue or provide further information about my subscription.
Could you open the above link and click Feedback -> This product to open the Visual Studio feedback website:

Then report a problem following How to report a problem for Visual Studio and Visual Studio Installer.
Then you may paste the link here. I will follow up with this issue and provide available information from Azure CLI side. Thanks for your help.


It appears that this challenge is not properly accessing the test methods

Challenge shopping-list has an issue.
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 8872.76.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.105 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

var myList = [["Chocolate Bar", 15],["Pretzels", 10],["Bananas", 8],["Bread", 2],["Milk", 15]];

@strongdan thanks for the issue. What browser are you using? I was unable to reproduce this error in both Chrome and Firebox.

@erictleung The user agent looks like Chrome 55 on Chrome OS. Also, I couldn't reproduce neither.

I was able to get this to pass on Chrome Canary on Windows 7. Previously failed on Chrome on a Chromebook. Not sure what the problem was.


Add support for filtering builds by branch

Add support for filtering the build information to a specific branch. Also supports queuing a build for the specified branch.
The SourceBranch property is optional and if left blank will retain the existing functionality.

Tested and worked really well.
I will shorten and reformat the description text, because it won't fit into textbox now:


Can not create a new user

Hi there,
I just  upgraded from 3.6 to 3.15 and i can't create a new natural user in mango pay sandbox.
Here is my object :
object(MangoPay\UserNatural)#1687 (20) {
["FirstName"]=>
string(6) "hello"
["LastName"]=>
string(6) "you"
["Address"]=>
NULL
["Birthday"]=>
int(1656672943)
["Nationality"]=>
string(2) "FR"
["CountryOfResidence"]=>
string(2) "FR"
["Occupation"]=>
string(14) "Administrateur"
["IncomeRange"]=>
int(3)
["ProofOfIdentity"]=>
NULL
["ProofOfAddress"]=>
NULL
["Capacity"]=>
NULL
["PersonType"]=>
string(7) "NATURAL"
["Email"]=>
string(24<EMAIL_ADDRESS>["KYCLevel"]=>
NULL
["TermsAndConditionsAccepted"]=>
NULL
["TermsAndConditionsAcceptedDate"]=>
NULL
["UserCategory"]=>
NULL
["Id"]=>
NULL
["Tag"]=>
string(17) "Utilisateur #3161"
["CreationDate"]=>
NULL
}
I checked again sdk documentation, and i don't see anything invalid or missing.
When i try to create it, i get a 400 exception.
Any clues ?

Hello @d4rk0snet,
Do you still have the issue?


Startup error after 'meteor add raix:push'

After "meteor add raix:push", I type "meteor" and get the error below (followed by a long stack trace):
Error: Version string must look like semver (eg '1.2.3'), not 'https://github.com/raix/PushPlugin/tarball/c4e3aa69c66bde45472e81ac303a9e39020c9cc7'.
This seems to be coming from the Cordova.depends definition in package.js, and I'm not sure why it is throwing this error because it looks like the tarball is being referenced in exactly the way specified by Meteor docs.
I'm using latest Meteor <IP_ADDRESS>.  Any suggestions?

Please disregard - this error was the result of me declaring Cordova.depends for 'com.phonegap.plugins.PushPlugin' in 2 places without realizing it.


Wrong area measurement with version 0.0.6

Hi @jdsantos
It seems that in version 0.0.6 it was introduced an error in area measurement.
Here is the sample demo: https://codepen.io/PedroNGV/pen/GRBvpKX

With version 0.0.5

With version 0.0.6

Apparently, the conversion from m2 to km2 is being done dividing by 1.000 instead of dividing by 1.000.000.

Hi there @PedroVenancio!
First of all, thanks for noticing that! I'm using this plugin to convert units: https://github.com/convert-units/convert-units and I trusted it could handle m2 and mi2 without a fuss.
I'll work on a fix right away.
Cheers,
Jorge

Thank you very much @jdsantos !
That's perfect now!


spec: Clarify assignability of channels

The documentation for Assignability is stating:
A value x is assignable to a variable of type T ("x is assignable to T") if one of the following conditions applies:

x is a bidirectional channel value, T is a channel type, x's type V and T have identical element types, and at least one of V or T is not a defined type.

I suppose, the section stating at least one of V or T is not a defined type can be omitted as it's already stating that T is a channel type.
If T is a channel type, that would inherently fulfil the last condition.

cc @griesemer

In the spec, when we talk about a specific type (e.g. a "channel type") we may still have a defined channel type. For instance
type T chan int

declares the defined type T but T (i.e., its underlying type) also happens to be a channel type. Because usually (for operations other than methods) we care about the underlying type, we are not always explicitly mentioning the underlying type.
So this is correct as is.
(I agree that it could be more formally correct, but there's a thin line between making it reasonably easy to read at the cost of some formal precision, and making it formally precise at the cost of making it harder to read. We may not have always struck the perfect balance, but that's ok.)


Update google-cloud-pubsub to 1.129.4

About this PR
📦 Updates com.google.cloud:google-cloud-pubsub from 1.107.0 to 1.129.4
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-pubsub" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.google.cloud", artifactId = "google-cloud-pubsub" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #403.


Add a "Restart Required" notification

Certain customization options, mainly those that update the client scheme, require the game to be restarted for the change to take effect. Some users may not know this after applying their changes.
A notification (colored label will suffice) should be displayed when the client scheme is updated or a control with a "Restart" flag is set to true.
Note: check that the game is running before displaying the notification. No point in displaying it if the game isn't launched yet.

Added a restart notification for controls that have a "Restart" flag set to true in the schema file. The notification will pop up when making changes to affected controls while the game is running. aca952ca535ccc82f359ebf47847c063708f89ff


Add parameter "match case" and "match exact words" to search function

As a user, I would like to search for username using their exact case and exact words persona name.

Might require a separate query in the store/search.js file to handle this.

Would it work if you allow more parameter to the search function? Something like: https://api.opendota.com/api/search?q=whatever&sml=1
Because I saw the sml is hardcoded to 0.4, so allowing the user to specify how accurate they want the result could be better.
Disclaimer: I've no experience on backend, so feel free to ignore this message if you think my suggestion is crap :)

that might work, perhaps a sml of 1.0 would force exact matches (I don't think casing is considered)


Change session/cluster initialization to happen in the background CSHARP-916

Currently cluster.Connect() starts the initialization task of the control connection, then creates the session, then initializes the session.
This PR changes this behavior so that cluster.Connect()  creates the session object and returns it to the user immediately. The session initialization task is started in the background which will start the cluster initialization if it's not initialized yet.
If a user attempts to do something with the session or cluster that requires the initialization to be finished, the method will await/block until the initialization task is complete.
Several API changes are required in order for this to be a good experience for the user.
Cluster.Metadata already blocked before but it will be more problematic now that cluster.Connect/cluster.ConnectAsync doesn't wait for the initialization to be done. An async alternative is needed and we should recommend users to use that async method instead.
ILoadBalancingPolicy.Initialize is called by the initialization method but a ICluster instance is passed to that method which means that if the user attempts to access Metadata it will deadlock because it requires the initialization task to be finished. We can provide a Metadata instance instead to fix this (Metadata and ControlConnection will be fully initialized at this point).
A lot of methods from ICluster and ISession are moved to Metadata. This simplifies the driver's API because otherwise we would have to introduce several async methods just because of the initialization task. Besides these methods and properties are related to metadata anyway.

This PR doesn't unify Session and Cluster yet but a lot of these changes were made with the unification in mind which will come in a following PR.
I'm opening this PR before fixing the test code in order to allow for an earlier review of the API changes/design @jorgebay


How to convert mesh to bounding box?

I used this package, it's very good.
But now I want to draw only 1 bounding box instead of mesh as it is
See the following picture for more details:

how do i do it?

I think I have to replace ModelComponent with another Type but I haven't found it yet.


S3 Bucket Issue

Hello @nsonaniya2010
SubDomainizer is not parsing amazon bucket from url as the source is like

It just fetch urls from js.
I will add  tag and  tag to fetch data from them also.
Thanks for your contribution.

Fixed man, Download new version and let me know feedback.

Hello @nsonaniya2010 ,
Its working :100:

Thanks for confirmation :)


Build tip 100k grounding doesn't make sense as error cause

In Step 14 of the Controleo3 build guide, there's a Tip  "in some cases static builds up on the thermocouple so the MAX31856 IC reports an over/under voltage error and Controleo3 won't display the oven's temperature. Touching the tip of the thermocouple with your finger removes the static and the error for the duration of the reflow session. [...] However, grounding the thermocouple fixes this as explained here [link to NI explanation]. "
But I don't think this makes sense.  The NI document focuses on a thermocouple connected to differential inputs of an opamp or differential amplifier, which are very high impedance, but source or sink some bias current, and thereby might charge the thermocouple assembly.
But the Controleo3 uses MAX31856 that provides a bias terminal to deliberately set a common-mode voltage on the thermocouple wires. (And the PCB does use that bias terminal.)  So static charge cannot build up on the thermocouple per se, in the manner discussed by the NI document.
Even if static could build up on the thermocouple as described in the NI doc (ie: not applicable to the MAX31856), then providing a path from the Controleo3 ground to the chassis ground wouldn't cure it, because that would not drain charge from the thermocouple.
So, if an error condition is indeed detected and reported by the Controleo3 (is this an established fact?), it seems to me it's not related to the thermocouple acquiring a static charge per se.
But if could be due to some aspect of the entire Controleo3 floating relative to the oven chassis.  It would be good to elucidate what exactly is going on there, and determine whether the Controleo3's ground rail should be:

Not grounded, or
Provided with a high-resistance path to chassis ground, or
Grounded direct to chassis ground.

I would expect that option 3, which puts Controleo3 ground at the same potential as the chassis, would make best use of the chassis to shield against possible noise pickup by Controleo3 (or the thermocouple wiring). However, I don't know whether there's some other obtuse mechanism at work here, given that inside the oven, signal wires might be routed near the AC wiring for the heaters.

Thanks for the detailed write-up.  This doesn't happen very often, so troubleshooting has proven to be difficult.  We had one oven exhibiting the problem, and we tested #1, #2 and #3 above.  #1 gave a "thermocouple under/over voltage error".  #3 made the thermocouple read 20C too high.  For #2 we first tried a 10k resistor to chassis ground.  This fixed the under/over voltage problem but again caused a high reading.  We found the best was a 100k resistor to chassis ground - and this is what the guide recommends.
Our sample size is "one", and some customers who experienced the problem reported that a resistor fixed their issue.  I agree it would be good to understand exactly what is causing the problem, but in the mean time the fix appears to be solid.  Also, it is good to frame this issue as affecting around 1% of builds.


Command: workbench.view.explorer is broken when Activity Bar Position Hidden

Steps to Reproduce:

Select the Activity Bar Position as Hidden
Call Command: workbench.view.explorer

Then:

Tips:
Before version 1.84.0, workbench.view.explorer already broken when use Remote SSH connect to a remote machine.
But now it's completely corrupted even when opening the local folder
Version: 1.84.0
Commit: d037ac076cee195194f93ce6fe2bdfe2969cc82d
Date: 2023-11-01T11:29:04.398Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.84.0 Chrome/114.0.5735.289 Electron/25.9.2 Safari/537.36

Probably #197169

/duplicate

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Effort.Exceptions.EffortException : Database has not been initialized - after non commited update?

Effort.Exceptions.EffortException : Database has not been initialized.
Is this a bug?
public void TestEF()
{
   var factory = new InMemoryMyApplicationDbContextFactory();

   using (var db = factory.CreateDbContext())
   {
      //uncomment this line to prevent exception - why????
      //db.Orders.Count();

      db.Orders.Add(new Order{ Id = Guid.NewGuid() });

      // intentionally do not call db.SaveChanges()
   }

   using (var db = factory.CreateDbContext())
   {
      // throws an exception if no read was performed above
      db.Orders.Count();
   }
}

Full Exception:
Effort.Exceptions.EffortException : Database has not been initialized.

If using CodeFirst try to add the following line:
   context.Database.CreateIfNotExists()
 at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
 at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
 at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
 at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5()
 at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
 at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
 at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
 at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)

Cross posted on stack overflow:  https://stackoverflow.com/q/46135973/1224069

Hello,
This issue will be closed since none provided information.
We understand this issue has been created long ago, but since that's a free library, we want to make sure to work on an issue that is still active since we cannot make them all.
Feel free to reopen if you can provide further information.
Best Regards,
Jonathan


[GHSA-h423-w6qv-2wj3] parse-server crashes when receiving file download request with invalid byte range

Updates

References

Comments
Adding the patch link for:
v4.10.17: https://github.com/parse-community/parse-server/commit/3d7a61ecd5231638f01ff1a965b6313043c594a7
v5.2.8: https://github.com/parse-community/parse-server/commit/066f29673ab4030b6b5b90c0c0326f7d3fe7612a
The commit message mentions fixing the GHSA-ID (GHSA-h423-w6qv-2wj3):
"fix: server crashes when receiving file download request with invalid byte range; this fixes a security vulnerability that allows an attacker to impact the availability of the server instance; the fix improves parsing of the range parameter to properly handle invalid range requests GHSA-h423-w6qv-2wj3 (8235)"

Hi there @mtrezza! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


AI Consistency Testing

Testing that an AI provides the correct response on a given prompt is difficult.
We should develop some system of unit-testing which applies to a stochastic system where the output is never a guarantee.
One idea could be setting the temperature parameter to 0 and seeing how often a given response yields certain properties.
Since we are also paying per request, this also becomes a costly endeavor.

This would be solved by fine-tuning a model rather than trying to test for consistency


fix: check nils in ingressClass.Parameters

What this PR does / why we need it:

fix panics when some field is nil in ingressClass.spec.parameters
Which issue this PR fixes:

fixes #2958.
Special notes for your reviewer:

PR Readiness Checklist:
Complete these before marking the PR as ready to review:

[ ] the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

Initial failures in integration-tests-dbless were for UDPRoute and TLSRoute:
UDPRoute failed because the listener had no valid Kong port to associate with. Somehow this port was present on the deployment, but was TCP instead of UDP. Not sure how KTF would have that temporarily, but the code there does look at least partially incorrect. UDP stream listens should live in a different config section because of LoadBalancer inability to handle mixed TCP/UDP services:
09:51:05-0700 esenin $ grep -r 9999
pkg/clusters/addons/kong/vars.go:	DefaultUDPServicePort = 9999
09:51:08-0700 esenin $ grep -r DefaultUDPServicePort
pkg/clusters/addons/kong/vars.go:	// DefaultUDPServicePort indicates the default open port to be found on the Kong proxy's UDP service.
pkg/clusters/addons/kong/vars.go:	DefaultUDPServicePort = 9999
pkg/clusters/addons/kong/addon.go:	return urlForService(ctx, cluster, types.NamespacedName{Namespace: a.namespace, Name: DefaultUDPServiceName}, DefaultUDPServicePort)
pkg/clusters/addons/kong/addon.go:		"--set", fmt.Sprintf("proxy.stream[1].containerPort=%d", DefaultUDPServicePort),
pkg/clusters/addons/kong/addon.go:		"--set", fmt.Sprintf("proxy.stream[1].servicePort=%d", DefaultUDPServicePort),
pkg/clusters/addons/kong/addon.go:		Port:     DefaultUDPServicePort,

However, elsewhere it tries to set the udp parameter manually, so that should satisfy what Gateway wants to check:
 562 func exposePortsDefault() []string {
  563     return []string{
  564         "--set", fmt.Sprintf("proxy.stream[0].containerPort=%d", DefaultTCPServicePort),
  565         "--set", fmt.Sprintf("proxy.stream[0].servicePort=%d", DefaultTCPServicePort),
  566         "--set", fmt.Sprintf("proxy.stream[1].containerPort=%d", DefaultUDPServicePort),
  567         "--set", fmt.Sprintf("proxy.stream[1].servicePort=%d", DefaultUDPServicePort),
  568         "--set", "proxy.stream[1].parameters[0]=udp",
  569         "--set", "proxy.stream[1].parameters[1]=reuseport",
  570         "--set", fmt.Sprintf("proxy.stream[2].containerPort=%d", DefaultTLSServicePort),
  571         "--set", fmt.Sprintf("proxy.stream[2].servicePort=%d", DefaultTLSServicePort),
  572         "--set", "proxy.stream[2].parameters[0]=ssl",
  573         "--set", "proxy.stream[2].parameters[1]=reuseport",
  574     }
  575 }

TLSRoute unsure. Its listener is fine, but the route itself has no status and was apparently never acknowledged. Controller logs appear to simply not see it.


Chore bump golang version

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/retest

I am closing this in favour of https://github.com/kyma-project/eventing-auth-manager/pull/129


Set up CI

We should probably set up CI to build/lint/check the Sphinx docs. Potentially also render them to readthedocs (but that will only be visible after merging PRs, so not that useful for PR iteration).

Actually, we can preview PR docs builds. I've started working on setting up RTD CI for this repo.


Unable to pass "Predicate" argument to wait for keywords

Describe the bug
I cannot pass in input of Wait For Response a predicate matcher, it is always considered as a url.
Documentation states

matcher Request URL string, JavaScript regex or JavaScript function to match request by. By default (with empty string) matches first available request.

But there are no example on how to pass a predicate
To Reproduce
Steps to reproduce the behavior:
Wait For Response  matcher=request => request.url() === 'https://example.com' && request.method() === 'GET'

Expected behavior
Wait for the request with given url and method
Desktop (please complete the following information):

OS: MacOS
Browser: Chromium
Version: robotframework-browser==9.0.2

Additional context
Note that my need behind is to be able to wait for a specific request method (sometimes I am polluted with the OPTIONS requests, so I want to filter them out)

I recall seeing this bug in the node side, it did had something to do with how we handle the arguments.

@allcontributors please add @Leemur89 for bugs.

Desktop (please complete the following information):
OS: MacOS 11.6
Browser: Chromium
Version: robotframework-browser==10.0.3
I also ran into this issue, but with a POST request:
Test Data
${response}    Wait For Response    (resp) => resp.url().includes('jsonplaceholder');

Log Output
TimeoutError: page.waitForResponse: Timeout while waiting for event "response"
=========================== logs ===========================
waiting for response /.*(resp) => resp.url().includes('jsonplaceholder')…/
============================================================

Next, if I use a simple string for the matcher, then I get a different error:
Test Data
${res}    Wait For Response    matcher=jsonplaceholder

Log Output
Error: response.text: Protocol error (Network.getResponseBody): No resource with given identifier found

Using a string with a GET request works as expected.
Curiously, waitForRequest and waitForResponse do different things; I'm not sure if it's related:
waitForResponse
export async function waitForResponse(request: pb.Request.HttpCapture, page: Page): Promise<pb.Response.Json> {
    const urlOrPredicate = new RegExp(`.*${request.getUrlorpredicate()}`);
    ...
    ...
}

waitForRequst
export async function waitForRequest(request: pb.Request.HttpCapture, page: Page): Promise<pb.Response.String> {
    const urlOrPredicate = request.getUrlorpredicate();
    ...
    ...
}

I patched this locally, and it worked as expected. I can't seem to get inv atest or inv utest to completely pass, though, and I had to modify tasks.py to build the node dependencies for the Apple M1 chip , so I'm reluctant to open a PR.
export function deserializeUrlOrPredicate(request: pb.Request.HttpCapture): RegExp | Function {
    let urlOrPredicate = request.getUrlorpredicate();

    if (/^function.*{.*}$/.test(urlOrPredicate)) {
        // eval() needs an expression in order to return a function,
        // so if it's not an arrow expression, it must be wrapped in parens
        urlOrPredicate = `(${urlOrPredicate})`;
    }

    // Possibly an arrow function or a parens-wrapped function from above
    if (urlOrPredicate.startsWith('(')) {
        const fn = eval(urlOrPredicate);
        if (typeof fn === 'function' || Object.prototype.toString.call(fn) === '[object Function]') {
            return fn;
        }
    }

    return new RegExp(`.*${urlOrPredicate}`);
}

Please send a PR, we have few rand

This should be resolved with PR#1533. I wasn't sure how to associate it with this issue.


#460

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #576 (815cd0d) into master (227b833) will increase coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #576      +/-   ##
============================================
+ Coverage     24.91%   24.97%   +0.05%
- Complexity      416      419       +3
============================================
  Files           197      198       +1
  Lines          4656     4669      +13
  Branches        496      497       +1
============================================
+ Hits           1160     1166       +6
- Misses         3376     3382       +6
- Partials        120      121       +1

Impacted Files
Coverage Δ
Complexity Δ

...org/dromara/soul/plugin/rewrite/RewritePlugin.java
46.15% <0.00%> (ø)
3.00% <0.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 227b833...815cd0d. Read the comment docs.


Setup proper benchmark suite

[x] Setup benches folder to run - https://doc.rust-lang.org/1.12.1/book/benchmark-tests.html
[ ] Split the example/benchmarks.rs file to separate benchmarks
[ ] Use criterion to run benchmarks locally
[x] Run benches in CI
[x] In pull requests, report benchmark results (compared to current main)
[ ] Add all benchmarks to the CI benchmarks
[ ] fix bot not always able to comment on the PR

Seems the failing comment is due to the fact that as I'm opening the PR the used token is the one of my fork that does not have write permissions.
It seems that one way to fix this would be to use
on:
  pull_request_target:
    branches: [ main ]

But then it seems this creates security issues as the code is built on your behalf... (cf. https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target)
Apparently the right way to handle that is to combine several workflows with different access rights as explained there: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ (didn't read carefully, I will have a more in depth read tomorrow)


Update MLX setup instructions for KF 1.5

Update the MLX installation instructions for Kubeflow 1.5
Tested Kubernetes providers:

IBM Cloud Kubernetes service
IBM Cloud OpenShift
IBM Fyre OpenShift

Related:

https://github.com/IBM/manifests/pull/41
https://github.com/IBM/manifests/pull/44

/cc @Tomcli @yhwang @jbusche @rafvasq

Thanks @Tomcli -- I updated the supported Kubernetes version

/lgtm
/approve


Cmdlet Needs More Options

Specifying the team by GroupId is cumbersome.  We need to be able to specify by alias.

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

ID: da0c53f2-1c62-14f6-6371-f54bf86b0c24
Version Independent ID: aac162db-a9c0-fbfb-dd40-526e94d3bef8
Content: Add-TeamUser (teams)
Content Source: teams/teams-ps/teams/Add-TeamUser.md
Service: teams-powershell
GitHub Login: @kenwith
Microsoft Alias: kenwith

@jenlg   Thank you very much for your kind feedback. Considering your valuable feedback, we have logged this issue as a User Voice. Concerning team will evaluate and take the appropriate action, as per their schedule. Thanks again for taking out some time and sharing your feedback.
User Voice Link:  https://microsoftteams.uservoice.com/forums/555103-public/suggestions/36710527-add-teamuser-should-not-require-a-guid-but-the-fri


refactored stats report code to use lists instead of arrays

The reference to null object still exists for some reason ill try again and fix tomorrow