test coede

Purpose or design rationale of this PR
Describe your change. Make sure to answer these three questions: What does this PR do? Why does it do it? How does it do it?
PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

[ ] build: Changes that affect the build system or external dependencies (example scopes: yarn, eslint, typescript)
[ ] ci: Changes to our CI configuration files and scripts (example scopes: vercel, github, cypress)
[ ] docs: Documentation-only changes
[ ] feat: A new feature
[ ] fix: A bug fix
[ ] perf: A code change that improves performance
[ ] refactor: A code change that doesn't fix a bug, or add a feature, or improves performance
[ ] style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
[ ] test: Adding missing tests or correcting existing tests

Deployment tag versioning
Has tag in common/version.go been updated or have you added bump-version label to this PR?

[ ] No, this PR doesn't involve a new deployment, git tag, docker image tag
[ ] Yes

Breaking change label
Does this PR have the breaking-change label?

[ ] No, this PR is not a breaking change
[ ] Yes

@coderabbitai review

@coderabbitai review

Codecov Report
Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 51.70%. Comparing base (f2a656d) to head (dbfca54).
Report is 2 commits behind head on develop.

Files with missing lines
Patch %
Lines

rollup/internal/controller/relayer/l1_relayer.go
0.00%
2 Missing and 1 partial :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1541      +/-   ##
===========================================
- Coverage    51.71%   51.70%   -0.02%
===========================================
  Files          157      157
  Lines        13054    13057       +3
===========================================
  Hits          6751     6751
- Misses        5716     5718       +2
- Partials       587      588       +1

Flag
Coverage Δ

rollup
55.25% <0.00%> (-0.04%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


xilem calc: Use Unicode minus sign.

This lets it get read out correctly by VoiceOver in accessibility code rather than read as a hyphen or dash.

@mwcampbell When you did the demo in this week's office hours, I heard it read out the minus sign incorrectly, so this is for you!


How to control button actions inside content view?

Hi;
I was using KGModal before. I was showing popup with the view controller, so buttons inside the popup view was working.
But with KLCPopup, I couldn't succeed. What is the best way to do this?

Block will help you.

@fdddf can you please explain a little? I think there are more than a few people facing this same issue...


option to disables strict schema during matchSchema

option to disables strict schema during matchSchema by setting schemaCheckEnabled as False
df.write
.format("com.microsoft.sqlserver.jdbc.spark")
.mode("overwrite")
..
.option("truncate", True)
.option("schemaCheckEnabled", False)
.save()

@luxu1-ms  please review.
@rajmera3 FYI on option addition.

regression test pass on BDC


503 retries, istio vs application source

I have a question regarding all the work that's been done recently with istio retries behind the scenes.  My question at a high level is will istio differentiate between a 503 returned by envoy, and a 503 returned by an application?
It's my understanding (cc @nmittler) that the transparent retries behind the scenes will do connection errors etc, but also, 502/503.
Now what is to happen if the service is up and available, but decides to return a 503 in response to a request?  The reason I ask is I have stumbled across a couple of our services that return 503 under certain scenarios and we wouldn't want them to be retried, and I am concerned that they will be.
I could get them to change what response code they use, but it raised the thought above with me and that is I think istio should really only be transparently retrying mesh related errors, and if it gets a response from the app, even if it is a status code we don't want, it should never retry that?

@Stono Our retry logic by default will retry 503s returned by the application (but not 502s). I don't believe we have a way of differentiating between a 503 generated by Envoy and a 503 from the application.
In all of the following cases below, envoyA will retry:
appA->envoyA->envoyB->appB(returns 503)

appA->envoyA->envoyB-> (failed connection)

appA->envoyA-> (failed connection)

In all of these cases, the retry logic is nestled within envoyA and it only has the ability to determine whether the immediate request failed because of a 503 returned from the server or a broken connection.
If we disable retries for 503, the following will not retry:
appA->envoyA->envoyB->appB(returns 503)

appA->envoyA->envoyB-> (failed connection)

appA->envoyA->envoyB->appB->envoyB->envoyC->appC(returns 503)

The following will still retry:
appA->envoyA-> (failed connection)

appA->envoyA->envoyB->appB->envoyB-> (failed connection)

We may be fine leaving out 503 from the default, but I'm not sure if there are cases I'm not considering. One that comes to mind is that we lose retries if the app Envoy is up but the app is down.
@knrc @costinm @rshriram thoughts?

OK so been chatting about this more.  We've discovered that a lot of the http client libraries that are used in our java apps us http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/DefaultServiceUnavailableRetryStrategy.html - so they default retry 503's.
So what we'd end up with is:
app 1 -> app 2:
   envoy: retry xN (whatever is configured transparently)
 app 1 retry N (whatever the client library is configured to do:
   envoy: retry xN (whatever is configured transparently)

It feels like perhaps the mesh should only retry totally transparent things (such as connection errors), and if a status code is returned, that should be left to the application?
No solution seems perfect here!

the solution is to stop using computers and go back to abacus

@Stono I'm not completely against excluding retryOn 503 by default.  In fact @rshriram was pushing for this in my PR.
The one case that comes to mind is where the Envoy is up but the application behind it is down. By default this would cause a 503, but application readiness probes should be the solution here. I suspect there may be other edge cases as well.
Maybe something to consider for 1.1.x?
@louiscryan @duderino @costinm @rshriram

Envoy is up but the application behind it is down - yes application ready probes should stop that traffic getting to the envoy however, if an application goes unready from a previously ready state, that EDS update takes some time to propagate to the sending envoy so there will be a window == the duration of the EDS update in which traffic will get to that envoy.
Also our envoys never shut down before the app, always the other way round (we have a pre-stop hook in istio-proxy which ensures it doesn't quit until after the app quits, to work around the issue where the app could still be making outbound requests as part of its shutdown process).
It's all a little bit "racey", doesn't feel deterministic at all.

Closing this in favour of https://github.com/istio/istio/issues/13851
There have been many following conversations about how 503 is too broad, and what the ideal retry strategy should actually be (cc @duderino)


Asserting error responses

I'm trying to understand if it is possible to use this library to assert on error responses from a resolver. My use case is:

I have a resolver which calls an upstream process, if that process throws an error, then my resolver throws an ApolloError. I want to be able to test that an ApolloError has been thrown under the correct conditions.

The problem I have at the moment is that this library throws it's own error because the response is not in a shape it expects for a successful response, e.g.
Expected Iterable, but did not find one for field "Query.fieldName".

Having had a look through the code, it appears that if the subgraph response includes the errors property, then this library throws its own error which masks the underlying error thrown by the subgraph. Making it impossible to test the errors thrown by a subgraph.
I'm happy to submit a PR if you would consider it?


Incorrect county FIPS code for Bedford, VA

Describe the bug
The addfips package is labeling Bedford, VA as '51515', which is the code for Bedford City. It should actually be '51019' (Bedford County). See their list of FIPS codes.
Bug Severity
How badly is this bug affecting you?
Medium: I was able to identify and fix the bug in my own workflow but it might affect other people.
To Reproduce
I found the error in the core_eia861__yearly_service_territory table. Census population files do not have the FIPS code 51515.

https://github.com/fitnr/addfips/issues/8
It looks like this particular issue was flagged by @TrentonBush almost a year ago, and addressed in the underlying package but not released. So perhaps we just need to bug them to cut a new release.

Update just got pushed! Should be a simple matter of updating dependencies, I'll throw this issue into this sprint.

addfips exists to do one job and it fails to do it. Considering the whole package is like 300 lines and the maintainer doesn't maintain it, I think we should replace it. One option is to simply vendor it, another would be to replace it with something like Google's geocoder, which is much more powerful. I have used Google geocoder in a client project for years with good results.

By Google's geocoder, you mean https://geocoder.readthedocs.io/index.html? Just poking around it seems like you'd need a TAMU key to pull FIPS codes out of county names. But it also seems like there's some federal APIs we could hit to get the FIPS codes?

I meant Google Maps Platform's Geocoding API. IMO the primary advantages are that:

they already implemented fuzzy matching (good for manually entered data with misspellings)
it can handle any granularity from street address or lat/lon up to country name.

The disadvantages I am aware of are:

I don't think you can select a historical map to reference
it will update the reference maps on its schedule, not yours
if you're running it on every automated build, you'll need to make a caching layer or suffer network latency and per-call costs.

I use a cache layer and my usage always fits in the (generous) free tier. Occasionally cache invalidation issues cause minor annoyance, but it is easy to fix with a refresh.

Ah sweet! What do you do for a caching layer?
I also just spent a few minutes poking around at the documentation and couldn't see where FIPS code would get returned - unless that gets returned as the short_name of an administrative_level_2 address component. Has that been your experience?

Ah ya I use this as a cleaning/standardization function to convert dirty inputs to the official county names. Then you can do a simple join against the official Census data to get FIPS codes. But you need both!
Also I now realize the work I was referencing is actually public, so I'll just link to it. Sorry in advance for the data scientist quality code 😇

geocoder API calls and response parsing, with memory cache at the row level.
disk cache (via joblib) applied at the dataframe level. The main API function is the next one down.

The row-level memory cache saves duplicate API calls per session (eg looking up the same county 1000 times), and the dataframe-level disk cache saves duplicate calls between runs (when a source dataset is unchanged).
I didn't automate the cache invalidation, I just do it manually because updates are infrequent. But the free tier resets each month, so a monthly clear would make sense.

Migrating this discussion over to #3884 to discuss options for fixing this!


Arduino I2S PCM Example Request!

At the moment, the examples provided of picovoice for arduino are for PDM microphone. Do you have any example that uses I2S (PCM)? Thanks

We don't and it's best to ask this on Arduino forums. Picovoice focus is really on the voice recognition engine not how to read audio and different peripherals.


Anyway this package can be lazy loaded?

Is your feature request related to a problem? Please describe.
When running the performance option within Chrome's Lighthouse, one of the warnings that may be thrown notes: 'Some third-party resources can be lazy loaded with a facade'

After some googling, the solution notes one should delay the loading of the third-party embeds and replace them with static elements until the user interacts with the component, in this case, an Intercom button.
Now assuming the Intercom button boots on the initial render of the application, can we replace the element with something static until the user clicks the Intercom element?

Hi, thank you for this issue.
Intercom provides some official docs to "lazy load" the scripts, see https://www.intercom.com/help/en/articles/5053693-can-i-delay-loading-intercom-on-my-site-to-reduce-the-js-load and https://forum.intercom.com/s/question/0D52G00004WxWLs/can-i-delay-loading-intercom-on-my-site-to-reduce-the-js-load.
To use it with react-use-intercom, see initializeDelay in https://github.com/devrnt/react-use-intercom#intercomprovider. You can find the PR of functionality here

I'll close this issue for now. Feel free to re-open this if you want to discuss this further


Very slow when first invoke file upload

Almost cost 1 min when first call file upload, but faster next time before exit my program

I'm encountering the same problem - did you find a solution?

I got a solution,

Specify the region the same as your Bucket can make it faster


DROP ROLE statements are rolled back at startup

Spotted while reading the code:
In handle_role_deletions (https://github.com/neondatabase/neon/blob/main/compute_tools/src/spec.rs#L213), we create a transaction and run DROP ROLE IF EXISTS statements, but but the transaction is never committed. Which means that it is always implicitly rolled back.

Fixed by https://github.com/neondatabase/neon/commit/df42213dbb5958a50cb6a80743b69d9b50836507


Fix tuple parameter unpacking in lambda according to PEP-3113

Fixes tuple unpacking in lambda

I went for a closure, hope you don't mind… Thank you! 0.2.8 is up on PyPI.

No problem as long as it fixes the problem. Great tool. Thank you!


chore(front): adds ui theme vars and applies initial dark theme

closes #592
closes #662

Some tests with 'continue-on-error: true' have failed:

🙈 BaclstpJS

Created by continue-on-error-comment

Passing failures:

🙈 BaclstpJS

😱

Passing failures:

🙈 BaclstpJS

Failing Tests

😱

Passing failures:

🙈 BaclstpJS

Failing Tests

😱

🙈 BackstopJS found some visual changes:

Passing failures:

Errors

😱

🙈 BackstopJS found some visual changes:
directly accessed outputs

via env
$BODY

Passing failures:

Errors

😱

Passing failures:

Errors $BODY

😱

Passing failures:

env.COMMENT_BODY

😱

Passing failures:

🤖

😱

Passing failures:

🤖

😱


Flag inappropriate content

This is not a technical issue, but more of a question. The App Store now has these guidelines in place regarding apps that display user-generated content:

14.3: Apps that display user generated content must include a method for filtering objectionable material, a mechanism for users to flag offensive content, and the ability to block abusive users from the service .

It is necessary that you put all of the following precautions in place:

Require that users agree to terms (EULA) and these terms must make it clear that there is no tolerance for objectionable content

Use moderators to flag and remove inappropriate content and offensive users
Users need a mechanism to flag objectionable content and report users generating this content
Developer must act on objectionable content reports within 24 hours by removing the content and ejecting the user who provided the offending content
Developer needs a method for ejecting users who violate the terms of the EULA

As far as I can tell, the Instagram API does not support flagging content. Can you (or anyone) think of a way to achieve this? If they're going to start rejecting apps for this reason, it's not great news for InstagramKit! It would be great to have some sort of workaround...

Hi @ExoticObjects,
a. Apps using InstagramKit do not 'generate' user content on Instagram. At best, they can pass media to the Instagram iOS App with it's hooks, which makes the Instagram App the creator of content.
b. Even if it could, as long as the Instagram API does not have endpoints to flag content, there is no way InstagramKit can achieve this.
c. This requirement was introduced by Apple in September 2014. Apps using InstagramKit continue to be approved as of today, April 2015.

I agree with everything you said. But our app was rejected last week. We
made all of the arguments you just made. Nonetheless, they are forcing us
to add a "flag inappropriate content" feature.
It makes no sense, of course. We even lost the appeal.
On Tue, Apr 28, 2015 at 10:31 AM Shyam Bhat<EMAIL_ADDRESS>wrote:

Closed #100 https://github.com/shyambhat/InstagramKit/issues/100.
—
Reply to this email directly or view it on GitHub
https://github.com/shyambhat/InstagramKit/issues/100#event-292034390.

@ExoticObjects I looked up more on this and it's hard to imagine Apple enforcing server-side infrastructure for every user content based App out there -- especially for those only displaying external content.
How do you intend to fix this?
Although I'm afraid InstagramKit can do little to mitigate this, I'll keep the issue open for anyone who's experienced something similar.

We found it hard to imagine as well. But it happened! I wish I was making
it up...
This is not Instagram's or InstagramKit's problem - it's yet another
strange decision from Apple.
We're fixing it by creating a service where users can flag content from
within the app and hide it.
On Tue, Apr 28, 2015 at 11:49 AM Shyam Bhat<EMAIL_ADDRESS>wrote:

@ExoticObjects https://github.com/ExoticObjects I looked up more on
this and it's hard to imagine Apple enforcing server-side infrastructure
for every user content based App out there -- especially for those only
displaying external content.
How do you intend to fix this?
Although I'm afraid InstagramKit can do little to mitigate this, I'll keep
the issue open for anyone who's experienced something similar.
—
Reply to this email directly or view it on GitHub
https://github.com/shyambhat/InstagramKit/issues/100#issuecomment-97112222
.

@ExoticObjects Hey, @shyambhat and I discussed this yesterday. I had ran into a similar issue with Apple, but for another service's API. That API didn't expose flagging content either. So I simply stated that to Apple, and they approved it. You could try that.

I did, of course, but thanks!
On Wed, Apr 29, 2015 at 3:43 AM Nikhil Nigade<EMAIL_ADDRESS>wrote:

@ExoticObjects https://github.com/ExoticObjects Hey, @shyambhat
https://github.com/shyambhat and I discussed this yesterday. I had ran
into a similar issue with Apple, but for another service's API. That API
didn't expose flagging content either. So I simply stated that to Apple,
and they approved it. You could try that.
—
Reply to this email directly or view it on GitHub
https://github.com/shyambhat/InstagramKit/issues/100#issuecomment-97335711
.

HI.....
i ask them that about but they say you have to block these images & videos

I was also just rejected for this. I've contacted a friend to see about getting flagging added to the API, but that will obviously take a while.

I've now been rejected for this as well. I naively thought it'd be quite simple to explain that it's just pulling the data from Instagram, but the responses are phrased like they've never heard of Instagram.
They want me to add an EULA to make it clear there's no tolerance for 'objectional content', employ moderators to flag and remove inappropriate content and users(!), allow users to flag objections content, allow users to block other users, and I've got to be able to 'act on' reports of objectional content within 24 hours by blocking content and removing the user, and be able to eject users who violate the EULA I've got to make up.
 I only made a very simple app for browsing photos. :-(

Same here. My app got rejected as well. Apple doesn't care what you said. I explained that the api does not provide a way to flag/remove inappropriate contents (they do on their end but it is not exposed to users) and even cited similar apps which are currently on app store that uses the same api WITHOUT any of the 14.3 items they mentioned. I bet they didn't even read my explanation. Every time they replied, they just re-pasted the 14.3 items and that's it. My app doesn't even allow users to sign up. It is sign in only. How does it make sense to prompt EULA on a sign-in only app? Totally absurd.

Same problem. Guys if someone resolve this, please write!

If you are allowing users to upload content:

When launching the app, make the user agree to an EULA which can be presented in a textview saying they agree not to post offensive stuff.
Have an algorithm which analyzes the pixels of each picture and calculates the probability of something being NSFW and the text comment to detect "Offensive" words like "Fuck" etc.
Also mention to apple that when posted through your app, the content goes to instagram and instagram provides a "Report" and Block button within the app.

These resolved my issues. I used the expedited review option to fasten things up.


[ISSUE #158]Translate Chinese comments in the Zookeeper module to English

close #158

Translate Chinese comments in the Zookeeper module to English

LGTM


Create how to on custom local components

Also made the install page more explicit about python installation after a good talk with @Hoxbro.
Also included some minor fixes like syntax highlighting and a couple of links

Codecov Report

Merging #343 (2db1e4a) into master (95b3e7d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #343   +/-   ##
=======================================
  Coverage   67.22%   67.22%
=======================================
  Files          71       71
  Lines        7340     7340
=======================================
  Hits         4934     4934
  Misses       2406     2406

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Maybe this is still WIP but shouldn't this How-to actually describe how to write the code of a custom compoment? I.e. you have to create a class that inherits from a base class, you have to define transform_type to define the name by which you will be referring to that component in the spec, you have to implement the apply method with this signature and returning that type of object, create Parameters, specify _field_params, etc.

@maximlt, according to the plan by @philippjfr , there are separate how-to guides planned for

Build a Custom Source
Build a Custom Filter
Build a Custom Transform
Build a Custom View

This PR is much simpler and is intended just to cover how to use those components, once created.

Yeah, let's keep that separate. However one thing that wasn't documented elsewhere and should be here is that you can import a component by its module path, e.g. you can do my_library.some_module.MyTransform>

@philippjfr can we merge this now?


Fix #386 missing a $ sign, my bad.

Embarassing fix.


Request for aircraft type only to be included in a search field not just a subfleet search with company attached

Is your feature request related to a problem? Please describe.
Currently only way to search aircraft is via sub fleet with a company attached i.e. Airbus A320-232/ANZ
Request code be written for pilots to be able to search for aircraft types only as per previous versions. I.E. A320/B737.
This will enable pilots to see what aircraft types are available to fly from said airport. At the moment pilots are forced to scroll through pages of flights to see if their aircraft is included or go through each sub fleet company available which is time consuming and not user friendly.
Describe alternatives you've considered
Nil available.
Additional context
This was discussed in PHPVMS discord a few days ago with a few ideas included.  Another member also identified the need. See here - https://discord.com/channels/332920618729340929/1126591018997911633/1261052633729470545
Added feature request here so it didn't get lost in discord.
This would be a huge advantage to our pilots if able to be completed.
Thank you.
Current search

How a new search would look (older version of PHP VMS)

Even though I do understand the need and idea, which is good to have, please do not try to compare v7 with v5 😄
v7's fleet/flight relationship logic is totally different from what you are used to use for years.

You are right, it does not matter for the people doing stuff behind the scenes 'cause we do not base v7's internals according to v2/v5 series, it only affetcs (or can affect) your expectations and thoughts.
Enjoy your day 😺


WFLY-8588 Tests in the same module should not use different base pack…

…ages

Retest this please

Retest this please

I tried pulling this down and rebasing to test an Arquillian issue and it seems to have some issues. There are several compile errors it seems.

Maybe time to revisit and instead of renaming the tests split them into their own module.

Closing for now, but I want to discuss test suite changes in Brno

+1 We do need to revisit the testsuite structure again, the current changes don't really reflect our last discussion.


CIFAR100 Pre-trained model

Hello! Do you plan to release your pre-trained model for CIFAR100 with additional data? Thanks.

no
btw, "additional data" is a mistake of sotabench, someone keeps editing the table.
"additional data"  should mean pretrain with more than imagenet (like JFT, 300M images).
we used only imagenet pretrain, so we didn't use "additional data"


35 include binary in release

Here is the documentation that I followed.
https://httgp.com/building-single-binaries-for-your-node-js-apps/

Then let's test it with the next release.

Merging the pull request because it has been approved by the reviewer, its test will be conducted during the next release, i.e. 01.06.2022


Animated overlay

[x ] Question
I would like to add to my app an animated overlay of the wind like this one: https://www.windy.com
I do have all the wind data but I am not sure as to how the animation should be done.
Do you have any suggestion or idea?
Thanks

that's pretty wild. the examples i've seen in the wild using osmdroid, such as radar now, appear to use an animated gif that is overlaid on top of the map, possibly as an overlay itself. There's a few examples for animated markers and whatnot but nothing as fancy as that web site.
Deconstructing their site, it looks like it loads the data via json then renders the animation using javascript. You'd probably have to do the same thing or something similar by having a layer. One issue you'll have is that layers only draw when the map moves, so you'll need some thread that handles rendering a bitmap, then forcing the overlay to redraw

It may have something to do with #809 (work in progress): drawing a polyline (potentially invisible) with bitmaps on top at regular pixel distance. And animate it just by refreshing the mapview display every 10th of second and setting an incremental offset to the bitmap.
@sailgrib What exactly would you like to display? Something like a color gradient, like 10 pixels dark blue, 10 pixels blue, 10 pixels light blue, 30 pixels invisible, and so on?

hmm in order to support this, we may have to add lifecycle methods to the overlay class. I might as well do that now to make this easier in the future

https://community.windy.com/topic/5039/conditions-to-use-windy-api
Usage in mobile apps
It is prohibited to use, bundle, or include Windy API client, data or any part of our intellectual property as a part of iOS or Android application without our prior written permission. This behavior will be treated as serious breach of our conditions and the app will be removed from Google Play or App Store as we have already done it few times before. Permission to use Windy API as a part of native mobile apps could be obtained, after consensual agreement of placing buttons to download native Windy app inside user's native app.

also, they apparently have an app already.

@sailgrib What about #1089? Like in the milestones demo (More Samples / Data / 10K race in Paris).

@sailgrib ping

I animate bitmaps.  I download them, flip (replace) the layers, invalidate the map (and delay).


allow ldflags to overwrite k8s version

ldflags must be vars of type string
fixes #10324, #10367

in favor of #10370


verus should check for overflow on bitshift operations

Rust has overflow checks for bit-shift operators, so we should add checks for those, similar to our arithmetic overflow checks.

fixed


Attribute types inconsistent

Attribute types inconsistent.
E.g. Activity Class has:

ACTIVITY IDENTIFIER Enumeration - ACTIVITY IDENTIFIER (Attribute)
PDS PATIENT CARE PROVISION TYPE Enumeration - PDS PATIENT CARE PROVISION TYPE (Attribute)
CONTRACT MONITORING ACTUAL ACTIVITY Default String

ACTIVITY DURATION Default StringCare Activity has:

FEMALE GENITAL MUTILATION IDENTIFICATION METHOD CODE Enumeration - FEMALE GENITAL MUTILATION IDENTIFICATION METHOD CODE (Attribute)
RESTRICTIVE INTERVENTION POST-INCIDENT REVIEW HELD INDICATOR Enumeration - RESTRICTIVE INTERVENTION POST-INCIDENT REVIEW HELD INDICATOR (Attribute)

Service has:

SERVICE TYPE Enumeration - SERVICE TYPE (Attribute)
SERVICE IDENTIFIER Default String
Clarification would be helpful
How does a user know what the Key is?

Need to understand what is needed and by whom...

Workshop - remove column for 3+
We will revisit between 3+ and 3++

May need priority increasing

The Enumeration tags have been removed, issue closed.


How to comment out or remove cta button for the resume

In order to remove elements in the navigation and the footer I was able to remove the label text in the settings.json file.
However, the when removing the text "Resume" from the ctaButton designed for the resume button, the border remains. I tried commenting out the cta button but got the following error:
ERROR #11321  PLUGIN
"gatsby-transformer-json" threw an error while running the onCreateNode lifecycle:
Unable to parse JSON: file C:/Users/...settings.json
80 |   } catch {
81 |     const hint = node.absolutePath ? file ${node.absolutePath} : in node ${node.id};

82 |     throw new Error(Unable to parse JSON: ${hint});
|           ^
83 |   }
84 |
85 |   if (_.isArray(parsedContent)) {

File: node_modules\gatsby-transformer-json\gatsby-node.js:82:11
Error: Unable to parse JSON: file C:/Users/...settings.json

gatsby-node.js:82 Object.onCreateNode
[mysite]/[gatsby-transformer-json]/gatsby-node.js:82:11

api-runner-node.js:487 runAPI
[mysite]/[gatsby]/src/utils/api-runner-node.js:487:16

update. I tried shadowing both as:
{project root}\src\gatsby-theme-portfolio-minimal\content\settings.example.json
{project root}\src\gatsby-theme-portfolio-minimal\content\settings.json
Each time, I removed:
"ctaButton": { "openNewTab": true, "label": "Resume", "url": "/resume.pdf" },
That didn't cause errors. But each time I removed or commented out the ctaButton section from:
{project root}\src\content\settings.json
the same error occurred.
thanks in advance. Just figuring out the mechanics. It's otherwise a beautiful portfolio theme.

Hey @will-sherman! Thanks for opening this. Just to make sure I understood it correctly: You want to remove the CTA button entirely so that the navigation bar starts at the very right? I think this doesn't work out of the box but shouldn't be too hard to implement/adjust.

thank you @konstantinmuenster and forgive my late reply. Yes that's correct. I would like just to remove that button.

@will-sherman Alright, no problem. This will need some adjustments. I try to fix it soon - if you or someone else like to do it, feel free to open a PR for it 😊

Hi @konstantinmuenster Thanks for this awesome theme. I was playing around with it for my project and wanted to remove the Resume CTA altogether. Will you be looking into this issue any time soon? 🙏

Hi, I created a pull request here.

Hey @will-sherman, @renishya7! Thanks to @tahunic for adding this. I will release a new theme version later 👏


Dynamically create multiple alias'

Hey, I am interested in creating multiple alias' dynamically . Here is my query:
fragment ActivityFragment on ActivityType {
  id
  name
}

query GetActivity($activityId: ID!) {
  Activity(id: $activityId) {
      ...ActivityFragment
  }
}

The issue I have right now is I can only retrieve 1 activity at a time, this is my query building code:
    ApolloClient apolloClient = ApolloClient.builder()
            .serverUrl("....")
            .okHttpClient(httpClient)
            .build();
    apolloClient.query(GetActivity.builder().activityId("1234").build());

I looked up ways to batch queries but apollo-android doesn't support batching yet. I have also read about fetching multiple nodes: https://www.graph.cool/docs/reference/graphql-api/query-api-nia9nushae#fetch-multiple-nodes
This is what I am trying to avoid:
fragment ActivityFragment on ActivityType {
  id
  name
}

query GetActivity {
  ActivityOne(id: "1") {
      ...ActivityFragment
  }
  ActivityTwo(id: "2") {
      ...ActivityFragment
  }
  ActivityThree(id: "3") {
      ...ActivityFragment
  }
.
.
.
}

I don't know how many activities there will be so this wouldn't work for me, even if I added variables.
I could pass in an array of id's but I don't how to iterate over the id's, I have heard of filtering (https://www.howtographql.com/graphql-js/8-filtering-pagination-and-sorting/) but that would need to be added to the api and I am unable to modify the api.
Here is an array example:
fragment ActivityFragment on ActivityType {
  id
  name
}

query GetActivity($activityId: [ID!]!) {
  Activity(id: $activityId) {
      ...ActivityFragment
  }
}

A friend was able to help out and mentioned I can use the search query to get what I needed
fragment ActivityFragment on ActivityType {
  id
  name
}

query GetActivity($activityIds: [ID!]!) {
  search(
    resource: ACTIVITY_ID
    page: 1
    pageSize: 100
    query: {
      must: {
        match: {
          operator: IN
          attr: "id"
          valueList: $activityIds
        }
      }
    }
  ) {
    count
    results {
      ...ActivityFragment
    }
  }
}


Included constraint abstract and manager

This PR includes two classes:

constraint abstract: it allows us to derived constraint models and datas
constraint manager: it allows us to manage a number of single constraints (similarly to cost sum)

I have also created Python bindings of both classes. However, there is no yet unittest code.
To do this latter thing, I will need to integrate many different constraint models which I will handle in another PR.
@PepMS has a look of this PR. Let me know if you would like to discuss about it. You could also add your comments in this PR.

@PepMS I will merge this PR since I need want to rebase the branches.
Do not hesitate to add your comments if it is needed.


in_array (Line 49)

I keep getting this error on line 49 of the navwalker....
navwalker.php on line 49
Warning
: in_array() expects parameter 2 to be array, string given in

Following. Can't seem to figure this one out

What it worked for me is be very cautious with the menu name. I mean:
require_once('navwalker.php'); register_nav_menus( array(     'primary' => __( 'Primary Menu', 'menuname' ), // This name has to be the same that the one here *1 ) );
wp_nav_menu( array(         'theme_location'    => 'primary', // *1         'depth'             => 2,         'container'         => false,         // 'items_wrap'        => 'div',         'menu_class'        => 'navbar-menu',         'menu_id'           => 'primary-menu',         'after'             => "</div>",         'walker'            => new Navwalker())     );``
I was getting that error because I had registered the menu in other line with a different name.

Having the same problem .....  Any solution ?

FIxed the issue. Check https://github.com/shahalpk/Bulma-Navwalker

I changed the theme_location and it is working better, still need to do some adjustments but the error was gone.
wp_nav_menu( array(
        'theme_location'    => 'primary',
        'depth'             => 2,
        ...

<- changed to ->

wp_nav_menu( array(
        'theme_location'    => 'menu-1',
        'depth'             => 2,
        ...

FIxed the issue. Check https://github.com/shahalpk/Bulma-Navwalker

Can I pull request not be made for this fix?

Finally got back to programming. I've successfully reproduced the problem and have come up with a solution, which is by updating the readme as I've skipped a step last time I did this. Doing the first step should fix the problem. Update me otherwise.


service: powerbrain.enter_rfid

Version of the custom_component
0.5.0

Configuration
Configuration via config flow. Values Fromm Wallbox are shown correctly.
Describe the bug
Home Assistant service throws errors in debug log and does nothing.
Debug log
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant
Source: custom_components/powerbrain/powerbrain.py:64
Integration: cFos Powerbrain (documentation, issues)
First occurred: 08:49:08 (1 occurrences)
Last logged: 08:49:08

Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/local/lib/python3.10/http/client.py", line 1374, in getresponse
    response.begin()
  File "/usr/local/lib/python3.10/http/client.py", line 318, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.10/http/client.py", line 279, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/local/lib/python3.10/socket.py", line 705, in readinto
    return self._sock.recv_into(b)
TimeoutError: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 550, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise
    raise value
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 451, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 340, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/powerbrain/powerbrain.py", line 64, in enter_rfid
    requests.get(self.host + API_GET_ENTER_RFID + rfid + dev_id, timeout=5)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 578, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Read timed out. (read timeout=5)

Hi,
did you specify a powerbrain_host parameter with your service call? If yes, which format is it?
If you have only one powerbrain charging manager, you do not need that parameter. Please try if it works without specifying this parameter

It now works, although I have not made any changes in the configuration. I suspect a connection error.
Thank you very much!


ReplicaSet connection does not close

Hi,
I'm experiencing an issue where the mongodb connection does not close when querying against a replicaSet. I'm not entirely sure if this is a bug or if I'm missing something else.
Here's an example of my test:
var MongoClient = require('mongodb').MongoClient,
    assert = require('assert');
var url = 'mongodb://admin:admin@xxx:27017,xxx:27018,xxx:27019/test?authSource=admin&replicaSet=rs';

MongoClient.connect(url, function (err, db) {
    assert.ifError(err);

    db.collection('test').find({ 'name': 'tom' }, function (err, docs) {
        assert.ifError(err);
        console.log(docs);
        db.close();
    });
});

In this example, the callback gets called but node does not exit.
Another interesting note is when using the count function, the callback is never called.
For example:
    db.collection('test').count({ 'name': 'tom' }, function (err, count) {
        assert.ifError(err);
        console.log(count);
        db.close();
    });

However if doing a find then count, the callback is called (but again node does not exit.)
For Example:
    db.collection('test').find({ 'name': 'tom' }).count(function (err, count) {
        assert.ifError(err);
        console.log(count);
        db.close();
    });

This appears to be related to changes made in commit 5711f7a87434fe18b9f18c831864994ac0858ad1
If I revert to<EMAIL_ADDRESS>then it works as expect again.
Environment:
node: v5.9.1
MongoDB: v3.0
mongodb package: v2.2.21
mongodb-core package: v2.1.6

Moved to https://jira.mongodb.org/browse/NODE-919

@christkv Thanks for spending your time on this. Please let me know if I can help in any way. I probably can't since I'm still a noob at this, but the offer is still open. 😅

I think I've figured out what was wrong and it should be in the next release. It does eventually close with 2.2.21 but it takes 10 seconds.


link to "execute as modal " is dead

Issue in /src/pages/ps_reference/classes/document.md
the link to "execute as modal" on the above page points to https://developer.adobe.com/photoshop/uxp/2022/ps_reference/classes/media/executeAsModal
which is dead.
the correct link https://developer.adobe.com/photoshop/uxp/2022/ps_reference/media/executeasmodal/
need to remove "classes" from the wrong link

thanks @shi-yan this is fixed in 85e197c71b222e0438805db44edf82a97de821a1 and successfully tested here on gh-pages


URL in Article not working

The last line in the article contains a Link which no longer works, it currently links towards: https://support.microsoft.com/kb/2655102 which no longer exists.
"For a list of other URLs you may need to add to unblock, see Internet accessible URLs required for Microsoft Dynamics CRM Online"

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

ID: 61ad60e7-0308-31f9-8e05-31020e3d4b67
Version Independent ID: 30cbae86-6165-5c35-45af-a5b21ac32247
Content: Troubleshooting: Unblock required URLs - Power Platform
Content Source: power-platform/admin/troubleshooting-unblock-urls-required.md
Service: power-platform
GitHub Login: @jimholtz
Microsoft Alias: jimholtz

@fvanrijt
The link appears to work now:
https://support.microsoft.com/help/2655102/internet-accessible-urls-required-for-connectivity-to-microsoft-dynami


Add logging solution

Closes #25
r? @alexander-yu

Codecov Report

Merging #29 into master will decrease coverage by 3.86%.
The diff coverage is 46.66%.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
- Coverage    87.5%   83.63%   -3.87%
==========================================
  Files           4        6       +2
  Lines         152      165      +13
==========================================
+ Hits          133      138       +5
- Misses         19       27       +8

Impacted Files
Coverage Δ

nycodex/logging.py
0% <0%> (ø)

nycodex/config.py
100% <100%> (ø)

nycodex/db.py
100% <100%> (ø)
:arrow_up:

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 1c50994...c1e73bb. Read the comment docs.

Eh -- I'm not really concerned with testing any of the logging stuff (I was never a 100% code-coverage kind of person). I'm just going to merge this in now.


submodule seems to cause fail

Using a submodule:
In the submodule directory, a command-line "git" will correctly parse the file .git to determine git version from HEAD.
However, using this tool seems to fail to interpret the .git of the submodule
So steps for repo:

make one git repo a submodule of another git repo, below called "myparentproj" as parent and "mysubmoduleproj" as the submodule, such that

myparentproj
    src
         mysubmoduleproj

is a directory structure.

cd into the location of that submodule, e.g. cd src/mysubmoduleproj
use the command line tool for git functions (those commands work)
use a gradle build.gradle script in the submodule dir to get the version from HEAD, e.g. some usage like

jar {
    def grgit = org.ajoberstar.grgit.Grgit.open(project.projectDir)

    baseName = 'mymainproj'
    version = '0.2.0'
    classifier = grgit.head().getAbbreviatedId()
}

yields an error like
* What went wrong:
A problem occurred evaluating root project 'mysubmoduleproj'.
> repository not found: /Users/me/workspace/myparentproj/src/mysubmoduleproj

Not sure if you want to open it from within the project dir in that case. You probably need to use the currentDir option to Grgit.open. That will look up to the root one. But then you may have to deal with submodule stuff a little more. Explicit support in Grgit is pretty minimal, and there have already been a few issues reported that are actually JGit limitations. Hard for me to say whether what you're looking for will work at this point or not.


Specify python executable for unit tests

Is there a way to specify the executable to be used with unit tests? For example, in my setup I would like to use python3 as the executable for unit tests instead of python. Is there a easy way to do that?

https://github.com/janko/vim-test/blob/master/README.md#executable

Hi , would this be the setting?
let g:test#python#unittest#executable = 'python3'
Cheer

Hi , would this be the setting?
let g:test#python#unittest#executable = 'python3'
Cheer

So, since we're using pyunit for unittest the setting is
let g:test#python#pyunit#executable = 'python3 -m unittest'

So, since we're using pyunit for unittest the setting is
let g:test#python#pyunit#executable = 'python3 -m unittest'


Not works with arrays

For
[1, 5, "aaa"]

Output:
PARSED = PARSED;0;PARSED_0;1;PARSED_1;2;PARSED_2
0 =
PARSED_0 = 1
1 =
PARSED_1 = 5
2 =
PARSED_2 = aaa

Hello
You are right. The parser does not support unnamed values.
The workaround is to use named value
set(jsonTest [=[ "a" : [1, 5, "aaa"] ]=])
sbeParseJson(example jsonTest)

# Now you can use parsed variables.
foreach(var ${example})
    message("${var} = ${${var}}")
endforeach()

Then output is
example.a = 0;1;2
example.a_0 = 1
example.a_1 = 5
example.a_2 = aaa

Is it suitable workaround for you?

Actually I don't use json-cmake due very low speed with big json file. I wanted to use json-cmake to parse compile_commands.json. But wrote minimum c application for this purposes in my PCHLinkTarget
project.


code crashes in DAVE_Init()

hi,
my code always crashes and jumps to the result as below
Default_Handler:
    b .
    .size Default_Handler, . - Default_Handler

     Insert_ExceptionHandler NMI_Handler
     Insert_ExceptionHandler HardFault_Handler
     Insert_ExceptionHandler MemManage_Handler
     Insert_ExceptionHandler BusFault_Handler
     Insert_ExceptionHandler UsageFault_Handler
     Insert_ExceptionHandler SVC_Handler
 ...

by tracing the code, it always occurs in the following function
  if (init_status == DAVE_STATUS_SUCCESS)
  {
	 /**  Initialization of INTERRUPT APP instance random_timer_intr */
	 init_status = (DAVE_STATUS_t)INTERRUPT_Init(&random_timer_intr);
   }

i am using the OPTIGA Trust X evaluation kit with DAVE 4.4.2.
its only happens with this project.
for the get_started project its runs perfectly.
could anyone help me with this issue?
thanks a lot.

Just checked out the fresh repo and repeated all the steps on the same board. Works without crashes.
Hardware:

https://www.infineon.com/cms/en/product/evaluation-boards/optiga-trust-x-eval-kit/
Software:
Fresh repository with all submodules (--recurse-submodules optoin shoul dbe given at clone time)
Debug Configuration for the build
You should see a similar setup prior building the project

Can you please check this setup?
regarding your log, if you don't use an optimization (for Debug configuration it's disabled by default) you can Step Into the function and check exactly the place where it hangs.

2.Fresh repository with all submodules (--recurse-submodules optoin should be given at clone time)
it works!
thank you very much!


Added Motorola 68K Grammar

This commit adds Motorola 68K assembly support to linguist.
Checklist:

[ ] I am associating a language with a new file extension.

[ ] The new extension is used in hundreds of repositories on GitHub.com

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3AX68+NOT+nothack

[ ] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

[x] I am adding a new language.

[x] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3AX68+NOT+nothack

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[x] I have included a syntax highlighting grammar: https://github-lightshow.herokuapp.com/?utf8=✓&scope=from-url&grammar_format=auto&grammar_url=https%3A%2F%2Fraw.githubusercontent.com%2Fzerkman%2Flanguage-m68k%2Fmaster%2Fgrammars%2Fm68k.cson&grammar_text=&code_source=from-url&code_url=https%3A%2F%2Fraw.githubusercontent.com%2Fjoshumax%2Flinguist%2Fc1168f82b4f5d6d6bb1a8b1581a17b2717b037af%2Fsamples%2FMotorola%252068K%2520Assembly%2Fbasic.X68&code=
[x] I have updated the heuristics to distinguish my language from others using the same extension.

[ ] I am fixing a misclassified language

[ ] I have included a new sample for the misclassified language:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

[ ] I am changing the source of a syntax highlighting grammar

Old: https://github-lightshow.herokuapp.com/
New: https://github-lightshow.herokuapp.com/

[ ] I am updating a grammar submodule

[ ] I am adding new or changing current functionality

[ ] I have added or updated the tests for the new or changed functionality.

@pchaigngo Thank you for your feedback! These problems have been fixed.

@joshumax can you please resolve the merge conflict.

@lildude @pchaigno The merge conflict has been resolved.

Thanks. The test failure needs to be addressed now:
  1) Failure:
TestGrammars#test_readme_file_is_in_sync [/home/travis/build/github/linguist/test/test_grammars.rb:42]:
Grammar list is out-of-date. Run `script/list-grammars`.
--- expected
+++ actual
@@ -242,11 +242,6 @@
 - **Monkey:** [gingerbeardman/monkey.tmbundle](https://github.com/gingerbeardman/monkey.tmbundle)
 - **MoonScript:** [leafo/moonscript-tmbundle](https://github.com/leafo/moonscript-tmbundle)
 - **Motorola 68K Assembly:** [zerkman/language-m68k](https://github.com/zerkman/language-m68k)
-- **MQL4:** [mqsoft/MQL5-sublime](https://github.com/mqsoft/MQL5-sublime)
-- **MQL5:** [mqsoft/MQL5-sublime](https://github.com/mqsoft/MQL5-sublime)
-- **MTML:** [atom/language-html](https://github.com/atom/language-html)
-- **mupad:** [ccreutzig/sublime-MuPAD](https://github.com/ccreutzig/sublime-MuPAD)
-- **nanorc:** [Alhadis/language-etc](https://github.com/Alhadis/language-etc)
 - **NCL:** [rpavlick/language-ncl](https://github.com/rpavlick/language-ncl)
 - **NSIS:** [github-linguist/NSIS](https://github.com/github-linguist/NSIS)
 - **Nearley:** [Hardmath123/sublime-nearley](https://github.com/Hardmath123/sublime-nearley)

@joshumax nudge

@lildude Whoops, looks like I missed the few messages above and it went stale. I'll push it up!

@joshumax Just run script/list-grammars locally to regenerate the grammars list.


grid repeat doesn't work with minmax

Describe the bug

grid-cols-[repeat(4,minmax(100px,1fr))]

Doesn't generate any styles,
However, using repeat only or minmax only works as expected.
grid-cols-[repeat(4,1fr)]
grid-cols-[minmax(100px,1fr)]

Minimal Reproductions

Hi

stackblitz (npm run dev)
Versions

vite-plugin-windicss: 1.2.7
vite: 2.4.4
framework(vue/react/svelte/etc): n/a.

Additonal Context
I tried reproducing in windicss.org/play but the styles generated just fine,
So I suspect it's a problem related to the vite plugin.

Fixed with 89577dbb3491e9398afc86681503536b4573e92b


Fix scroll events with leaflet==1.7.1

fix scroll events not working in leaflet 1.7.1 as per issue https://github.com/jieter/leaflet.layerscontrol-minimap/issues/14

@n-a-m-e thanks!


Updating dns name on PublicIPAddress has no effect

...and no error. Looks like an issue with the REST API, since the call gets set up properly AFAICS. No complaints from Azure, but no change either.

Should be fixed. Please pull master and verify.


No fullscreen crashes LibZ

When using
Settings.fullscreen = false;
The game doesn’t launch.

This will be fixed in the next release

Fixed in v1.3


Is it possible to simulate forces in multiple directions, such as forces applied in the horizontal direction?

The examples given only have trajectories moving in the vertical direction. Can you simulate movement in the horizontal direction? For example, rolling and colliding on a plane?

Hi, you can modify the initial (linear or angular) velocity in the configuration files (e.g., here) to create an effect that the object was thrown in the horizontal direction.


rewrite traffic to global stats client

The cardinality of our metrics is insane. This change
removes the host/worker cardinality from our inbound
and outbound stats.
r: @rf @shannili @robskillington

lgtm


Discord link broken

Title self explanatory

Oops. I knew I missed one somewhere. I didn't realize that Discord links expire after 7 days unless you specify otherwise. What a weird feature. Thanks for the heads up! Fixed.


spirv-opt put OpLine between OpLoopMerge and OpBranchConditional

This issue is related to a DXC issue.
After we run spirv-opt on the attached SPIR-V code, it has a validation error from spirv-val
fatal error: generated SPIR-V is invalid: OpLoopMerge must immediately precede either an OpBranch or OpBranchConditional instruction. OpLoopMerge must be the second-to-last instruction in its block.
OpLoopMerge %24 %25 None

a.noopt.spv.txt

Can you please include the full spirv-opt command line (or spirv-opt passes) that cause the problem?

After running the following passes of -O option
--wrap-opkill
--eliminate-dead-branches
--merge-return
--inline-entry-points-exhaustive
--eliminate-dead-code-aggressive
--private-to-local
--eliminate-local-single-block
--eliminate-local-single-store
--eliminate-dead-code-aggressive
--scalar-replacement=100
--convert-local-access-chains
--eliminate-local-single-block
--eliminate-local-single-store
--eliminate-dead-code-aggressive
--ssa-rewrite
--eliminate-dead-code-aggressive
--ccp
--eliminate-dead-code-aggressive
--redundancy-elimination
--combine-access-chains
--simplify-instructions
--vector-dce
--eliminate-dead-inserts
--eliminate-dead-branches
--simplify-instructions
--if-conversion
--copy-propagate-arrays
--reduce-load-size
--eliminate-dead-code-aggressive

The --merge-blocks pass causes this issue.
We can simply reproduce it by running --merge-blocks pass on merge.txt.


Decode Prismic images URL

Since few days Prismic API started to give images URL with an encoded character (%2F), for example https://satispay-website.cdn.prismic.io/satispay-website%2Fc359fb8c-88d3-45ec-9018-1abcf5e53869_kpi-04.svg, giving problems with the Gatsby cache.
This fix simply decodes the URL bringing it to its original state, for example: https://satispay-website.cdn.prismic.io/satispay-website/c359fb8c-88d3-45ec-9018-1abcf5e53869_kpi-04.svg.

Thanks, looks good!


Create missing webforms

Right now, there's a lot of places users have to go through the database to manage things. We need to add webforms for managing these things:

[ ] Students Table
[ ] Late Days Exceptions
[ ] Users Table
[ ] Sections Table
[ ] Academic Integrity (still needed?)

These are ordered in priority of completion

Make sure that the late days exceptions table is clear about for which homework the extension is granted.  (The homework number/name usually matches the rubric id number... but may not!  If a homework rubric was deleted and recreated the numbers get "off")

The DB foreign constraint rules dictate that the Students table is dependent on the Sections table.  Therefore, Sections may have to be addressed before Students.  But from labstaff support perspective -- Late Day Exceptions may be more important than Sections.
Creating branch Issue_122 to begin work.

This is true and I support the decision to focus on Late Day Exceptions right now as this is also more "mission critical" for instructors (as the other web forms would really only be used at the beginning of the semester and then not again).
I also removed the "Late Days Table" as I'm not sure what exactly that references as this is all contained in the students table really.

Remaining items covered by other issues.


Component - Work in Progress

Description
Most of this will be discarded. It's probably not even worth reading. Just tracking work in progress.
Fixes # (issue)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Chore (documentation addition or typo, file relocation)

Testing

[ ] New tests were added with this PR that prove my fix is effective or that my feature works (describe below this bullet)
[ ] This change requires no testing (i.e. documentation update)

Documentation

[ ] All added public packages, funcs, and types have been documented with doc comments
[ ] I have commented my code, particularly in hard-to-understand areas

Final Checklist:

[ ] I followed standard GitHub flow guidelines
[ ] I have performed a self-review of my own code
[ ] My changes generate no new warnings

Additional Information (omit if empty)
Please include anything else relevant to this PR that may be useful to know.

No longer needed.


SateDefinition is not model specific

Due to the definition of SateDefinition enum in the DynamicModel class not enough flexibility is provided.
Create a State class for each derived model that contains a SateDefinition.

Has been implemented by using enums for the state position definition.


You ask for a language which accounts for rotation, but you really want a language that erases both rotation and reflection.

You need a language in which writing down any point requires you to also write down every point which could correspond to that under taxicab rotation/reflection. This means every time you write down a point, you also write down eleven other points (in three dimensions). Testing whether any two points are equal is equivalent to a set comparison (the two sets contain all the same points). Testing whether any sets of points are equal extends from this.
There's your maximal language of k-ominoes. Enjoy.

Happy to answer any questions.

Worth mentioning it doesn't actually matter that the point sets are contiguous. Equivalences of (contiguous) k-ominoes is are special cases of equivalences of point sets.


Crash when pressing back to exit app

Steps to reproduce
It's a bit difficult to reproduce but I have it happen quite often
First the app needs to be launched normally.
Then leave the app without force closing it so that it's in the background.
Then the app needs to be removed from memory normally by the OS
Then when you open the app, it will resume but first it will show the splash screen, but definitely resumed from a cached state seemingly.
Then when you press back, the app crashes.
Expected behavior
Should just exit normally
Actual behavior
Crashes instead
Crash logs
App version: 0.16.2 (standard, 222e111, 3, 2024-01-27T18:31Z)
Android version: 13 (SDK 33; build T1SSIS33.1-75-7-3)
Device brand: motorola
Device manufacturer: motorola
Device name: rhodei (rhodei_g)
Device model: moto g62 5G
WebView: Android System WebView 120.0.6099.230
--------- beginning of main
01-29 23:57:30.175 25464 25464 E app.mihon: Not starting debugger since process cannot load the jdwp agent.
01-29 23:57:30.276 25464 25497 E SQLiteLog: (5) statement aborts at 2: [PRAGMA journal_mode=TRUNCATE] database is locked
01-29 23:57:30.353 25464 25522 E chromium: [ERROR:variations_seed_loader.cc(37)] Seed missing signature.
01-29 23:57:30.904 25464 25498 E SQLiteLog: (284) automatic index on C(manga_id)
01-29 23:57:30.904 25464 25498 E SQLiteLog: (284) automatic index on mangas_categories(manga_id)
Mihon version
0.16.2
Android version
13
Device
Moto G62
Other details
I've had this issue since Tachiyomi 0.15.3. AFAIK 0.15.2 and prior versions did not have it.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 0.16.2.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

I was about to open a new issue as this exact problem is also happening to me.
Here's my crash log, if it helps.
mihon_crash_logs.txt

Thanks for providing a backdoor cuz my crashlog is broken.
It takes a bit of effort for me to reproduce it manually cuz phones these days have way too much RAM, so I couldn't regenerate the log.

@matheuscsoares Thanks for providing a log cuz my crashlog is broken.
It takes a bit of effort for me to reproduce it manually cuz phones these days have way too much RAM, so I couldn't regenerate the log.

Managed to reproduce it so I could get the error screen.

Sorry about the mention above in issue #287, didn't know this opened, the closed is self close for being dumb dumb…

I watched the app behavior before the crash. Able to know how to reproduce this reliably. But it require the app to be suspended by the OS.
Before the crash when exiting, when you enter the app, the app will freeze for a moment. That is when you have high chance to crash the app

To me it just seems like it's trying to move back to an activity that does not exist.
As an aside, if you move to another tab, like the Updates tab, and then back, it will not crash.

In #436 it was suggested that this could have something to do with edge-swipe gestures. However I see regular navigation buttons in screenshots on this ticket, so that idea is probably a red herring.

mihon_crash_logs.txt
Adding my own crash log as it doesn't seem to match the others.

Here's my crash log, I use swipe gestures, only happens when I try to exit the app using the back gesture.
mihon_crash_logs.txt

Here's my crash log, I use swipe gestures, only happens when I try to exit the app using the back gesture. mihon_crash_logs.txt

This log does not contain anything actionable nor any sort of crash data.

This log does not contain anything actionable nor any sort of crash data.

I pressed share crash logs from the crash screen, and chose Google drive, that was what it saved.
The crash was something about currentTab used multiple times

This log does not contain anything actionable nor any sort of crash data.

I pressed share crash logs from the crash screen, and chose Google drive, that was what it saved.
The crash was something about currentTab used multiple times

It's sadly a known problem where the "actual" crash doesn't make it to the log file sometimes (not any user's fault) - there is a fix for this in the works but may be some time before it's released in Mihon stable.
The currentTab key issue is well-known and currently without a fix or workaround.

mihon_crash_logs.txt
Finally found the appropriate issue.  This one conveniently has a stack trace already included. Never used swipe gestures so that has to be a dead end.


Snippets not working

Okay, I'm finally tired of copy/pasting my existing code and the T10 snippets aren't working.
Proof I've got the extension installed... Is there anything else I need to do? How can I validate the snippets are installed or manually install them?

Ah, I found the snippets in the repo, as well as InstallSnippets.cmd.. running that manually installed the snippets. Is that the correct process? I'll be happy to update the wiki with instructions if so.

Thank you for offering, please do. It would be a help.


Add to Grape projects

Add to https://github.com/ruby-grape/ruby-grape.github.io/blob/master/projects/index.md, please!

@dblock i think this one can be closed, thanks!

@apaganobeleno: Are all these functionalities present already in the gem?

@kuldeepaggarwal all that we mention in our Readme.md


Add: TV Osaka

Channel Name
TV Osaka
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
JP
Subdivision (optional)
No response
City (optional)
Osaka
Broadcast Area
JP
Languages
jpn
Categories (optional)
No response
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
No response
Logo
https://asianwiki.com/images/e/e1/TV_Osaka-p1.png
Notes
No response

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


fix result is not stable for test_show_statistic_proc

Proposed changes
Issue Number: close #xxx
If there are databases create or drop, between result1 and result2, then this case will failed.
make this case nonConcurrent to fix. (Master and Branch-2.0 both have this problem)
    def result1 = connect(user = 'test_show_statistic_proc_user1', password = '12345', url = context.config.jdbcUrl) {
        sql """ show proc '/statistic' """
    }
    def result2 = connect(user = 'test_show_statistic_proc_user1', password = '12345', url = context.config.jdbcUrl) {
        sql """ show databases """
    }

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


mgmt/mcumgr/lib:  RFC: Connection/SMP-mcumgr parameters negotiation

Is your feature request related to a problem? Please describe.
There are many parameters that affect Connection or mcumgr SMP behavior like buffer size, count, MTU (tx/rx), flash page size, flash alignment, and so on that are currently hardcoded on device side and there is no way for client software to get information on them except for knowing it in advance, for example because vendor know how application for device have been compiled. Some of above parameters should not also be possible to query but also to set and tune, which means that there should be ranges returned for them and a method to set them back.
Describe the solution you'd like
The solution needs to take into account that it is not possible, or not really practical, to exchange parameters or set them via CBOR payload as such exchange, when there are a lot of negotiable parameters, may require more CBOR buffer than a device allows.
Describe alternatives you've considered
No alternative known yet.
Additional context
TBD

FYI @MarekPieta

FYI @carlescufi @philips77

Do you envision these commands being part of a new group or an existing group?

Parameters for groups like fs, image management and so on, should be attached groups.
A problem would be with MTU which are general.

Done with https://github.com/zephyrproject-rtos/zephyr/pull/44643


Unusual IP access alert generating issue.

Description:

There are a few flows in the execution plan related to unusual IP access alert script.

30 days time period is defined as 302460*60 which is not correct.
When updating last access time, there is a check associated with it. it would not be necessary.
Caching is enabled for IP access summary table.

Above 3 causes result in generating unnecessary alerts and it would affect the end user experience.
Suggested Labels:

unusualIPaccess, alert, 2.1.0, 2.0.0
Suggested Assignees:

Affected Product Version:
2.1.0,2.0.0
OS, DB, other environment details and versions:
Steps to reproduce:
Generate an unusual IP access alert.

At first it would produce as new IP detected which is correct.
If you keep sending requests, it will generate alerts (old IP is detected) continuously(which is not the expected behavior)

Related Issues:

Fixed with above PR


Correctly indent completion options

Fixes: https://github.com/github/vscode-github-actions/issues/124
https://github.com/actions/languageservices/assets/2201819/428223c2-5c70-4634-ba91-362ff78f1228

Validated these changes. Looks like they fixed the problem.
https://github.com/actions/languageservices/assets/7937889/a16500a7-c1ec-4ccf-9ac8-1c438bfa9424


Checklist data filters for indicators

This issue describes how data will be filtered to get to the data frame described in #17. Some of these will be tackled in the unified checklist.
Filters:

Specific checklists
Distribution in Belgium
occurrenceStatus = present
establishmentMeans = introduced
Linked to taxonomic backbone. This removes valid taxa, but is necessary for higher classification
Remove genera and above (i.e. no species info, is the case for RINSE)
Group by accepted taxon?? So we don’t count synonyms of same species.
Group by species?? So we don’t count infraspecific taxa

About 3rd filter:

occurrenceStatus = present

@timadriaens and @qgroom : should we filter by occurrenceStatus = present as @peterdesmet wrote or should we also consider occurrenceStatus == doubtful? For example, in Manual of Alien Plants in Belgium there are 31 taxa with occurrenceStatus == doubtful from 28 different species:

species

Elatine alsinastrum

Myricaria germanica

Centaurea alba

Pilosella brachiata

Potentilla argentea x inclinata

Prunus fruticans

Linaria simplex

Triticum monococcum

Triticum turgidum

Triticum aestivum

Sporobolus virginicus

Hornungia procumbens

Chenopodium preissmannii

Amsinckia intermedia

Epilobium novae-civitatis

Epilobium interjectum

Picea abies

Pinus sylvestris

Pinus rigida

Pinus pinaster

Galium rubioides

Verbascum interjectum

Hemerocallis lilioasphodelus

Symphoricarpos microphyllus x orbiculatus

Cerastium arvense subsp. arvense x tomentosum

Cherleria laricifolia

Narcissus pseudonarcissus

Narcissus incomparabilis

Or do we go even more relaxed on this constraint by taking into account all taxa with occurrenceStatus != absent (not absent)? Click here to know more about the meaning of this terms. By the way, up to now I have encountered only taxa with status present or doubtful.

Another consideration about 7th point:
there are 363 synonyms in the checklists Manual of Alien Plants, alien macroinvertebrates and non-native freshwater fishes, whose 353 only in the Manual of the Alien Plants. After filtering only the IAS in Belgium, as explained above, 359 are left. It would be not a problem at all if their accepted (and relative  acceptedKey) point to taxa not present in these checklists. However, there is a group of 27 taxa whose acceptedKey is present as key: this means that these species could be count twice. It is a small group, but we should tackle this problem. Probably a specific (little?) function is needed.

Some of your doubtful species are certainly present e.g. Pinus sylvestris, Narcissus pseudonarcissus, so perhaps it is doubtful that they are naturalized. For P. sylvestris the checklist says it is doubtful only for Brussels. He must mean it is doubtfully naturalized, but cause I'm 100% sure it is present.
Picea abies, Pinus rigida and Pinus pinaster are probably similar cases. They are planted, but it  is doubtful if they are escaping.
For N. pseudonarcissus the checklist is only refering to Narcissus pseudonarcissus L. subsp. major . Not N. pseudonarcissus in general. It is an important distinction as N. pseudonarcissus is a native species, but not this subspecies.
The rest are probably genuinely doubtful species. That is they are doubtfully present.

I would not filter on species for which the occurrenceStatus = doubtful and only integrate species for which we are certain they are present to calculate your indicator, this makes your indicator less prone to error. One way to integrate the information on doubtful species is to integrate them as potential noise (by integrating them as error bars, just thinking out loud)?

@damianooldoni regarding synonyms for which the accepted taxon is ALSO in the checklist, we'll have to take the following approach in building the unified checklist:

Do we accept the accepted taxon suggested by GBIF? => Indicate in verifiedKey
Merge all information with the same verifiedKey

Merging that information is no different than merging information for the same (accepted) taxon appearing on two checklists... we just haven't decided yet HOW we will merge that info. 😄


Added documentation for chunked PCA

Was playing around with an incremental PCA earlier and saw the arguments were undocumented. Figured I could document it while I was waiting for it to run.
I think I got all the style right, let me know if not.

Thank you, great!


Send an email when a requests for a change is done in PAF

@abhiXII We want to send an email to the lead or to all staff(staff_compliance)? Because anyone from the staff can resubmit a PAF.


Deberta to Stablehlo

shark_tank/chi-nod/deberta/stablehlo_debug

deberta_stablehlo.py
➜  deberta git:(torch2mhlo) ✗ python deberta_stablehlo.py
2023-06-05 13:52:53.808593: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-06-05 13:52:56.264374: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2023-06-05 13:52:56.264391: I tensorflow/compiler/xla/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2023-06-05 13:53:02.275401: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory
2023-06-05 13:53:02.275947: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory
2023-06-05 13:53:02.276027: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Some weights of the model checkpoint at microsoft/deberta-v3-base were not used when initializing DebertaV2ForSequenceClassification: ['mask_predictions.LayerNorm.weight', 'lm_predictions.lm_head.dense.weight', 'mask_predictions.classifier.weight', 'mask_predictions.dense.weight', 'lm_predictions.lm_head.bias', 'mask_predictions.classifier.bias', 'lm_predictions.lm_head.dense.bias', 'lm_predictions.lm_head.LayerNorm.weight', 'mask_predictions.LayerNorm.bias', 'lm_predictions.lm_head.LayerNorm.bias', 'mask_predictions.dense.bias']
- This IS expected if you are initializing DebertaV2ForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing DebertaV2ForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Some weights of DebertaV2ForSequenceClassification were not initialized from the model checkpoint at microsoft/deberta-v3-base and are newly initialized: ['pooler.dense.weight', 'classifier.bias', 'classifier.weight', 'pooler.dense.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
model(test_input):
tensor([[-0.1478, -0.0481]], grad_fn=<AddmmBackward0>)
/home/chi/src/ubuntu20/shark/SHARK/shark.venv/lib/python3.10/site-packages/torch/jit/_check.py:172: UserWarning: The TorchScript type system doesn't support instance-level annotations on empty non-base types in `__init__`. Instead, either 1) use a type annotation in the class body, or 2) wrap the type in `torch.jit.Attribute`.
  warnings.warn("The TorchScript type system doesn't support "
python3.10: /home/chi/src/ubuntu20/shark/torch-mlir/include/torch-mlir/Dialect/Torch/IR/TorchTypes.h:61: ArrayRef<int64_t> mlir::torch::Torch::BaseTensorType::getSizes() const: Assertion `hasSizes() && "must have sizes"' failed.
[1]    2670123 IOT instruction (core dumped)  python3.10 deberta_stablehlo.py

after debugging it turned out that the issue is that the IR contains an op aten.sign(https://pytorch.org/docs/stable/generated/torch.sign.html) for which the lowering is not present in Torch-MLIR. You need to add the lowering for this op in Torch-MLIR. Here's the gist of the IR: https://gist.github.com/vivekkhandelwal1/ab88338e5f2655425a392f587cb97c41.
This function does the following: https://help.perforce.com/pv-wave/12.0/PVWAVE_Online_Help/pvwave.html#page/Foundation/sgn.html

Add aten.sign op to stablehlo https://github.com/llvm/torch-mlir/pull/2214

   %902 = torch.aten.masked_fill.Tensor %873, %899, %901 : !torch.vtensor<[1,12,128,128],f32>, !torch.vtensor<[1,1,128,128],i1>, !torch.vtensor<[],f32> -> !torch.vtensor<[1,12,128,128],f32>

%902 = torch.aten.masked_fill.Tensor %873, %899, %901 : !torch.vtensor<[1,12,128,128],f32>, !torch.vtensor<[1,1,128,128],i1>, !torch.vtensor<[],f32> -> !torch.vtensor<[1,12,128,128],f32>

%0 = torch.aten.masked_fill.Scalar %arg0, %arg1, %int0 : !torch.vtensor<[1,12,128,128],f32>, !torch.vtensor<[1,1,128,128],i1>, !torch.int -> !torch.vtensor<[1,12,128,128],f32>

masked_fill.scalar/tensor to tosa https://github.com/llvm/torch-mlir/pull/1735
We will need this stablehlo ops:
https://github.com/openxla/stablehlo/blob/main/docs/spec.md#broadcast_in_dim
https://github.com/openxla/stablehlo/blob/main/docs/spec.md#select

How to use the broadcast_in_dim :
Value bcastVal =
    hlo::promoteAndBroadcast(rewriter, indexTensor, bcastIndexType);

https://github.com/llvm/torch-mlir/blob/27a3d099175dfcf6048e1476521c8438933b0caf/lib/Conversion/TorchToStablehlo/StablehloLegalizeUtils.cpp#L201
https://github.com/llvm/torch-mlir/blob/27a3d099175dfcf6048e1476521c8438933b0caf/lib/Conversion/TorchToStablehlo/GatherScatter.cpp#L470


IntelliSense is not working after latest update

Environment data

VS Code version: 1.51.1
Extension version (available under the Extensions sidebar): 2020.11.371526539
OS and version: Darwin x64 19.6.0
Python version (& distribution if applicable, e.g. Anaconda): 3.8.2
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A
Relevant/affected Python-related VS Code extensions and their versions: N/A
Value of the python.languageServer setting: Microsoft

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
IntelliSense to show suggestions
Actual behaviour

Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Create new document
Set language to Python
enter the following code:

import os
os.

Press ctrl+space

@luabud Thanks for the tip with Pylance. I had an issue with the latest update that marked all imports as "unresolved import". After installing the extension it works.


[Request] azd package writes output folder to an env variable

Azd package is quickly becoming one of my favorite tools to easily and reliably create the app package build before provisioning and deployment.  It's useful for automation and diagnostics.
That said, to better enable pipelines and tools, I request the output path for *this package gets written to an environment variable or something that can be looked up in scripts/code/pipelines.  Another alternative I suppose is a flag that enables reliable output to a known folder.
@jongio @ellismg @savannahostrowski

IMO, this seems like a reasonable ask and could be very useful. @ellismg for his thoughts here but at a glance, I can't see any reason we shouldn't do this.


pull request for e2e test at 01/14/2017 05:26:12

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Vague error detail

Python version 3.6.5
Connexion Version 2.2.0
OpenAPI 3 Spec.
I'm trying to do simple requestBody Validation, it does not give proper error detail.
{
  "detail": "None is not of type 'object'", // When sending an empty json body.
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}

Also the error messages are very vague at property level too, it does not give the exact property name, any idea why?
{
  "detail": "'' is too short'", // The property name is 'xyz' type string and length is 3
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}

Is this a regression?

@dtkav any thoughts on this?

Hey @peek4y
Please attach a spec, and a curl command that reproduces the issue.
I'm unable to reproduce the issue with the information you have provided.

The spec config.
openapi: 3.0.0
info:
  title: Sample
  version: "1.0"
paths:
  /users:
    post:
      summary: Adds a new user
      operationId: app.postUser
      requestBody:
        required: true
        content:
          application/json: # Media type
            schema: # Request body contents
              $ref: "#/components/schemas/User" # Reference to an object
            example: # Child of media type because we use $ref above
              # Properties of a referenced object
              id: 10
              name: Jessica Smith
      responses:
        "200":
          description: OK

components:
  schemas:
    User: # Schema name
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1 # Property example
        name:
          type: string
          minLength: 3
          example: New order
      required:
        - id
        - name

Validating empty body:

curl: curl -X POST "http://localhost:8080/users" -H "accept: */*" -H "Content-Type: application/json"
result: { "detail": "None is not of type 'object'", "status": 400, "title": "Bad Request", "type": "about:blank" }
expected: Probably tell how the body passed is not valid, instead of the above message.

Validating type:

curl: curl -X POST "http://localhost:8080/users" -H "accept: */*" -H "Content-Type: application/json" -d "{\"id\":\"1\",\"name\":\"Evee\"}"
result: { "detail": "'1' is not of type 'integer'", "status": 400, "title": "Bad Request", "type": "about:blank" }
expected: It should mention what property failed validation.
more samples:

curl -X POST "http://localhost:8080/users" -H "accept: */*" -H "Content-Type: application/json" -d "{\"id\":1,\"name\":\"Ee\"}"
result: { "detail": "'Ee' is too short", "status": 400, "title": "Bad Request", "type": "about:blank" }

@dtkav hey, just wondering if you got a chance to look at this, were you able to reproduce it?

Regarding the empty body, the message is exactly what I would expect it to be.
You have specified that the type of the body must be an object but you have passed null.
Regarding the property validation, I agree it would be nice if the field was mentioned.
Reading through the jsonschema docs, this should be relatively straightforward.
There's a PR that was started to address this issue: https://github.com/zalando/connexion/pull/816
Unfortunately, it needs a bit more work before it's ready to be merged.
I'd encourage you to pick it up and run with it if you have available bandwidth.
I'd be happy to review a pr, and recommend it for merge by folks at zalando once it's up to standards.

@dtkav
Regarding the null / empty body part, I agree with your point, but then I would still expect a readable message, IMO, maybe it's a nice to have?
Sure, I will take a shot at it, soon, and go through the PR as well.
Thanks a lot for the response!

I think it would be good to clean this up.  The "None is not of type 'object'" may be clear to a server developer, but it doesn't make much sense to someone who's writing an API client.  Connexion should either treat an empty request body the same way as {}, or return an error message that tells the client that the request body is required.

Connexion should either treat an empty request body the same way as {}

We definitely do not want to to this. A null body, and an empty json object are entirely different things.
Perhaps fixing #878 (support requestBody: required) will also address this concern.
That way, if we mark the request body as required, then the error message would be something like "requestBody is required".

Yep, that would work.  Thanks for following up on this!  I didn't know about the required field on requestBody until today.

We had a similar problem - this might help.
Creating a validators.py module that looks like this.
"""
This module contains custom validators
that override the default connexion behaviour.
"""

import logging

from connexion.problem import problem
from connexion import decorators
from jsonschema import ValidationError

logger = logging.getLogger("connexion.decorators.validation")

class RequestBodyValidator(decorators.validation.RequestBodyValidator):
    """
    This class overrides the default connexion RequestBodyValidator
    so that it returns the complete string representation of the
    error, rather than just returning the error message.

    For more information:
        - https://github.com/zalando/connexion/issues/558
        - https://connexion.readthedocs.io/en/latest/request.html
    """

    def validate_schema(self, data, url):
        if self.is_null_value_valid and is_null(data):
            return None

        try:
            self.validator.validate(data)
        except ValidationError as exception:
            logger.error(
                "{url} validation error: {error}".format(url=url, error=exception),
                extra={"validator": "body"},
            )
            return problem(400, "Bad Request", str(exception))

        return None

In your app.py overwrite the default RequestBodyValidator as follows:
from validators import RequestBodyValidator

# ...

app.add_api(
    "app.yml",
    validator_map={"body": RequestBodyValidator},
)

jajagusch, thanks for the correct implementation of a validator with an error message that actually makes sense.
I had this same problem with vague error message, but in my case the strict is turned on and I had a few properties in my json with a null instead of empty objects, so I had to go in a treasure hunt to understand what was wrong.
example post body
{
  "account": {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "Lucas Coppio"
  },
  "payload": {
    "name": {
      "localized_strings": {
        "en": "Soja"
      }
    },
    "classification": {
      "class_1": null,
      "class_2": null,
      "class_3": null,
      "class_4": null,
      "class_5": null
    },
    "technical_name": "Soybean",
    "type": "VARIETY",
    "vendor_id": "f1d8fa5f-dd63-4fc7-be7a-cd4d2422ab43",
    "unit_of_measure": "SACK",
    "cohese": true,
    "id": "99f49118-b42e-4d41-8ccf-0fcac6febf1d"
  }
}

I wont post the swagger because it is 210 lines, but you can imagine those class_1, 2, 3, 4 and 5 are all complex objects.
Well... the validator simply says
2020-03-21 12:33:07,826 ERROR --- validation:176 @@@ http://.../api/v1/products validation error: None is not of type 'object'

So I am left with a vague and nearly useless message that says absolutely nothing about the problem.
To fix it I just changed the nulls no empty objects and it accepted, but again, absolutelly no information on what is wrong.

Not sure if this may help somebody out there but in my case, I had to compare the request that Swagger was sending (it was working fine) against my actual request (postman) and I noticed one difference was the content-type, I was sending "multipart/form-data" but when change it to "application/json" everything else worked fine.

Fixed by #1063


feat(plugins): rainbow delimiters

Add highlight group for HiPhish/rainbow-delimiters.nvim.
Using same colors as for MiniIcons*.

Figured out that rainbow-delimiters plugin uses term colors by default, so the same result could be achieved by setting correct terminal theme.
It's up to @rebelot to close this PR as not required. But for somebody explicit definition could be useful.


[add] event agents nodes search index monthly map

Coverage decreased (-0.08%) to 84.454% when pulling 4641abfa3ccf93707f94a17c266f33ef0d43fd41 on pr-event-search-monthly-map into 1e6777df380fde236f822cbfb5a703101e133397 on master.


refactor: update supported frameworks

Update frameworks in preparation to support nunit v4:

Update .NET Framework 4.6.1 to .NET Framework 4.6.2
Remove no longer supported version .NET 5
Remove .NET Core 3.1 from test project

Related to #1058
BREAKING CHANGE: .NET Framework 4.6.1 and .NET 5 targets are not available anymore because they are out of support.

I bump the version to 20.0 and added the breaking change trailer to the description.


Aggregate UUID must be a string

Ensure that the field on a command to uniquely identify the aggregate instance is a string.
Use inspect to convert the given identity field, from a command, to a string.

done in https://github.com/slashdotdash/commanded/pull/7


Settings schemas cleanup

Description
Modifying schemas of settings schema usage that are not used or invalid. Most of these are discovered during preparing script of converting pype-config -> settings.
Changes

renamed "path-widget" type to "path"
"path" entity's widget have ability to have set use_label_wrap
Ftrack removed items for additional paths to user/server actions/events from project settings

PR modified as all issues (removed from description) will have separate PR.


Replace window.require usage with import

Based on @ChiaMineJP's findings from https://github.com/Chia-Network/chia-blockchain/pull/12523

LGTM


Fixing functional tests.

The failure to build SplitCompoundWordsFilter seems to be a Rust nighly bug, i.e. it does build using stable and the type AhoCorasick is still definitely Send + Sync in the current stable version of that crate. I reported this upstream at https://github.com/rust-lang/rust/issues/117602

ah thanks @adamreichold !


Wrong number of arguments error incorrectly says functions take zero arguments

Using just 1.30.0.  If a function takes a fixed non-zero number of arguments, but is called with the wrong number of arguments, the error message claims the function takes zero arguments, regardless of the actual correct number.
Example invalid justfile -
foo := datetime()

$ just --evaluate
error: Function `datetime` called with 0 arguments but takes 0
 ——▶ justfile:1:8
  │
1 │ foo := datetime()
  │        ^^^^^^^^

Same issue with too many arguments -
foo := env_var('FOO', 'invalid')

$ just --evaluate
error: Function `env_var` called with 2 arguments but takes 0
 ——▶ justfile:1:8
  │
1 │ foo := env_var('FOO', 'invalid')
  │        ^^^^^^^

Seems to only affect functions that take a single fixed number of arguments.  Functions that can take different numbers of arguments give the expected error message here.

Nice catch! Appreciate the report. I think this has been broken for a long time, at least it predates just 1.30.0. I was using exclusive ranges in a somewhat nonsensical way. Fixed in #2231.

Released 1.30.1 with the fix. It's not a big bug, but I think it's confusing enough to be worth fixing in a patch release.


Fixing BlElement id api call

@labordep

There are some problems related to Bloc evolution (id management modification), I'm going to fix them.


Skip store token m1

This is simple switch to change whether to store a token because storing the token appears to create problems for "arm" mac processors.
See:
https://github.com/spacetelescope/jwst_mast_query/issues/6#issuecomment-1031659307

Closing this in favor of #13, which makes it so that the token is never stored.


Cluster dots in the key are very small when there are many clusters in the tSNE

With experiments that have lots of clusters, the dot before the cluster name is very small and the colour of the cluster cannot be easily appreciated:

https://wwwdev.ebi.ac.uk/gxa/sc/experiments/E-MTAB-6946/results/tsne
macOS / Chrome

Fixed.


Add support to exclude the optional bootstrap theme

Coverage remained the same at 100.0% when pulling e53bdc98690b85e05496681e9989974b3c826164 on optional_theme into 6e425b5a6847bbaf1e480a7a7c9fbe104cad65b6 on master.


Support for extend-exclude

I was trying to use this plugin, but it seems like the extend-exclude option in a pyproject.toml file is not honored. When I run black from the command line, it is honored, so it seems like it's just that the plugin doesn't handle the option? Any chance that could be added?

Actually, I think maybe the option that needs to be supported is force-exclude since running on save would pass the name of the file to black, per this post https://stackoverflow.com/a/73296261. When I use force-exclude, the toml behaves as expected when using VSCode, but I prefer Sublime so hoping to get support for this

Adding this feature requires changing quite a lot of code. If you are interested in submitting a pull request, it may get done faster. Otherwise it may take many days to complete in my spare time.


add first unit tests

Hello! It's me again. 😅
Notice that also header and content order is fixed in src/MasonryList.js (sorry. My fault).

Nice thanks! Eventually what would be nice is port some of the tests that are in the react-native repo for FlatList.

@janicduplessis Interesting. I'm gonna take a look!