The description problem of proxy server

Hi Teams,
The description of "proxy server" is: Specify the proxy servers your devices will go through to reach your cloud resources. Using this server type indicates that the cloud resources you’re connecting to are enterprise resources.
The description of "internal proxy server": This list shouldn’t include any servers listed in your Proxy servers list. Proxy servers must be used only for non-WIP-protected (non-enterprise) traffic. Separate multiple resources with the ";" delimiter.
I'm not sure if it's a conflict?

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

ID: c1ad3f92-24de-5eb5-8454-c72d85737183
Version Independent ID: 900125eb-31ea-faf3-ac30-7c3d7b30f611
Content: Create a Windows Information Protection (WIP) policy with MDM using the Azure portal for Microsoft Intune (Windows 10) - Microsoft 365 Security
Content Source: windows/security/information-protection/windows-information-protection/create-wip-policy-using-intune-azure.md
Product: w10
GitHub Login: @DulceMontemayor
Microsoft Alias: dansimp

Hello BLTTEST, thank you for posting your query. Please note that there is a difference in both and that is reflected in the description of Proxy Server and Internal Proxy Server. If there is any suggestion, please feel free to let me know.
Thanks.
Imran.

Hello BLTTEST, thank you for posting your query. Please note that there is a difference in both and that is reflected in the description of Proxy Server and Internal Proxy Server. If there is any suggestion, please feel free to let me know.
Thanks.
Imran.

Hi @joinimran
I read it again. "Proxy servers" and "Internal proxy servers" are both used to indicate enterprise resources, but "proxy server" traffic won't be protected by WIP. Do I understand this correctly？
Another thing is Intune "Cloud resources" denied value format "contoso.sharepoint.com,|contoso.visualstudio.com,". Intune tips say you should use "contoso.sharepoint.com|contoso.visualstudio.com". Can you kindly confirm this?

Hi @joinimran
I read it again. "Proxy servers" and "Internal proxy servers" are both used to indicate enterprise resources, but "proxy server" traffic won't be protected by WIP. Do I understand this correctly？
Another thing is Intune "Cloud resources" denied value format "contoso.sharepoint.com,|contoso.visualstudio.com,". Intune tips say you should use "contoso.sharepoint.com|contoso.visualstudio.com". Can you kindly confirm this?

Closing via #9042
Thank you


Gas calculation info UI fixes

Closes #1858

Travis automatic deployment:
https://pr1861--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1861--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1861--safereact.review.gnosisdev.com/rinkeby/app

@alongoni
I think it was stated at some point that all texts should have 14px for font size, and the message for the fee now has 16px

mind to check with Sasha if the change in the font size is ok?

I've checked all the modals I could find
Send funds
Send collectibles
Contract Interactions
Add/Remove/Replace owners
App's tx's
Rejections
It looks good

Hey @francovenica, I was following this specs:
https://app.zeplin.io/project/5b83b4fa75f90943c86ed14f/screen/5f5b85548dc46975fe432ae7
Is Ok 16px for those texts @posthnikova?

This font is 16.


Schema registry 7.2.2

Mainly to get the schema linking feature https://docs.confluent.io/platform/current/schema-registry/schema-linking-cp.html

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: aymeric-ledizes:x: OuesFaYou have signed the CLA already but the status is still pending? Let us recheck it.


pyaml output stringified inexplicably in places

from pyaml import dumps
with open("foobar.yaml", "w") as f2:
    x = {}
    x["y"] = []
    x["y"].append("0.5.1")
    x["y"].append("0.51")
    x["y"].append("0.7.1")
    print(dumps(x, safe=True, indent=1).decode('utf-8'), file=f2)

makes...
y:
- 0.5.1
- '0.51'
- 0.7.1

But it is not clear why one of the list entries is in quotes and the others not.

It's happening because you're using "safe=True" there, which ensures that PyYAML's more robust serialization is used, and de-serialized data will be same as original, at the cost of some prettiness.
Reason why that one string is singled-out for escaping is simple - only 0.51 will be de-serialized as a number (0.51), while 0.5.1 and 0.7.1 will be interpreted as strings anyway (due to two dots in there), so no need for quotes there.
If you won't be passing safe=True, you should get desired output, but when de-serialized by any sane YAML parser, it will not match the original types, as mentioned.
Example:
% python3 -m pyaml <<< "{'y': ['0.5.1', '0.51', '0.7.1']}"
y:
  - 0.5.1
  - 0.51
  - 0.7.1

% python3 -c 'import yaml; print(yaml.safe_load("{y: [0.5.1, 0.51, 0.7.1]}"))'
{'y': ['0.5.1', 0.51, '0.7.1']}

Note missing quotes around 0.51 in the last output, indicating that it indeed was parsed as a float object instead of string.
It's an intended behavior that "unsafe" (default) serializer may produce such quirks (though hopefully not many), with human-readability preferred over correctness.
Same thing also mentioned in #20, I believe.


Extension commands scope #mycli

Editor command -
Configure PyCharm
Configure VSCode
Configure Zed

Framework: https://github.com/XiaoConstantine/mycli/pull/41


Few simplifications

Hey there! Here is the list of changes this pull request introduces:

Removed the test script as it was unused (there are no tests).
Moved FileInput's code to index.js as it was just exporting its code (boilerplate) leading to bloat (babel's transpilation plus the bundler's wrapping).
Removed object-keys as Object.keys is supported in IE9+ and React dropped support for IE8 anyway.
Removed "use strict" as it's the default behavior of ES2015's modules.
The input is no more wrapped in a div for three reasons:

Had to use a hack to fake the click on the file input and trigger it.
It's probably better to wrap it in a label (or a button?) so it's left for the browser to handle it without any extra effort (also has some accessibility benefits).
In the end, it's an implementation detail that can vary but a block element (div) cannot be inserted in an inline element (label) so <FileInput /> wasn't valid.

Removed the input's styles as hiding the input or not is a design decision. Once again, there are a few ways to hide an element and display: none can cause some issues. Since the <FileInput /> component is just a <input type="file" /> it's really easy to style it with css.

Some of those points are breaking change that are worth noting.

Thank you for taking the time to make these improvements. There are quite a few things here that I was unaware of.
IIRC the original intent behind the component was to give the user the chance to render the input field (by default) or provide children that would serve as the visual component instead (with the necessary input field being hidden). The div was necessary to wrap the other components to create a single root node.
It looks like your changes would not allow users to provide their own buttons and UI widgets to serve as the clickable component.  Do you have a suggestion that would preserve this behaviour, but fix all or most of the valid concerns you raise?

The best way to trigger the file input's behavior and select a file is to use a label, e.g:

  Upload
  <input type="file">

Or:

<input type="file" id="file">
Upload

Here is an example: jsfiddle.net/jv16w79p/
Regarding the file input's visibility, there's a great article on css-tricks about accessible ways to hide an element: Places It’s Tempting To Use Display: None; But Don’t
And some tips to customize the component from Tympanus: Styling & Customizing File Inputs the Smart Way
Let me know if that's still too much breaking changes ;)

Just so I can make sure we are on the same page here, are you arguing for wrapping the input in an label tag and still providing the user the option of passing in children that could visually replace the input tag
OR
Are you advocating providing only the ability to render the input field and encouraging the package user to style (or hide) the button using some of the linked-to tricks and wrapping it in a label tag themselves if this is indeed the behaviour they want?

Addressed in v1.0.0


Idea: contextual SystemParams

What problem does this solve or what need does it fill?
Currently SystemParam offers great flexibility in defining new kinds of injectable objects for systems. However, SystemParam is limited in one important respect, in that it can only derive results from World, and not from any narrower scope. That is, when we calculate the data that we want to inject, the only dynamic data we have to start with is World, and the only parameters we have for deciding what data gets injected are generic types. However, there are interesting use cases for a SystemParam that would have additional runtime context parameters.
Take for example, the case of an event handler such as use in bevy_eventlistener. The event object has several important pieces of context: the event itself, the target entity, and the listener entity (the object owning the handler callback). The callback function generally wants access to components and other objects that specifically relate to these entities, such as:

A specific component on the target entity.
An EntityAccess or EntityMut on the target entity.
An EntityCommands on the target entity.
A specific component on the listener entity.
An EntityAccess or EntityMut on the listener entity.
An EntityCommands on the listener entity.

Currently, the only way to access objects like this is to inject a query of all entities with the given component, and then have the handler function do the extra step of picking out from that query the one entity we're interested in. But it would be much cleaner if we could simply specify in the callback signature, "Hey, I need an EntityMut for the target entity only."
There are other possible use cases, but they all involve a one-shot system that is fired in the context of some entity that has special status for that system.
What solution would you like?
To make this work, we'd need a special kind of one-shot system that accepted an additional parameter, which is some kind of context object. The individual SystemParams would be able to read this context object when doing their injection magic, and use that to decide what data to inject. Both the SystemParam and the one-shot system would need to have matching types for the context data.
What alternative(s) have you considered?
Everything that I described is doable with the existing functionality, but more verbosely and less elegantly.
Additional context
It's an open question as to whether this is even possible, but it seems like it might be.

Would that work as an FromWorld implementation? Like, where you can achieve the Param dynamically from the world?

@pablo-lua I'm not sure how it can, since there's no way to pass the runtime parameter to FromWorld.
Let me give an example of what I mean: suppose we're writing an event handler, and we want to be able to inject the debug name of the entity that received the event (this is presuming we are using something like bevy_eventlistener, where events can be targeted at a specific entity). So we could write something like:
fn handle_event(target_name: &TargetQuery<Name>) {
    println("The target of the event was: {}", target_name.get());
}

The TargetQuery is a contextual system param that knows about event targets. Unlike a regular query, which would return all Name components for all entities in the world, TargetQuery only returns the Name component for the targeted entity.
Without this contextual feature, what you have to write is something like:
fn handle_event(event: &Listener<Event>, name_query: &Query<Name>) {
    let target_name = name_query.get(event.target);
    println("The target of the event was: {:?}", target_name.get());
}

In other words, you have to look up all of the names of every entity in the world that has a name, and pick out the one for the target entity. The target entity is accessed via a different injected param (this is how bevy_eventlistener works).

Since these contextual params dont work in regular systems you wouldn't want to implement SystemParam for them.
You'd either want to have a new trait like HandlerSystemParam, which will have a passtrough impl for all SystemParams and special case your new params
or
You have a trait HandlerSystem impl for FnMut(X, Y, Z, ..) with all possible variations and whatever trait bounds or explicit types suiting the use case
e.g. FnMut(Target, T0, T1, ...) where T0: SystemParam, ...
or a combination of them.
But you can't rly generalize this, because "scope" is so arbitrary. This has to be implemented individually.

Probably your imagined &TargetQuery would just do the same behind the scenes what you are currently doing. There is no benefit to mark a single entity as being referenced, because the ecs power lies in packed memory where you iterate over all entities with xy most of the time, anyway.

Without a pressing use case in mind, I'm going to close this out as not-planned for now. There's quite a bit of design and implementation complexity here that I don't immediately see a good way to tackle.


onNotificationOpen().suscribe doesn't work on ios

Hi guys,
I have this problem, just i send message from firebase and receive this with the plugin, when test in android device show the notification, but i trying on ios device and not do nothing.
thanks

how do you solution it?


In NextJS, client-side, there is no way to distinguish between not-yet authenticated and unauthenticated

Describe the bug
In NextJS, client-side, you cannot distinguish between not-yet authenticated and unauthenticated.
Client-side, you are using the current user and token hooks populated by FiefAuthProvider. Problem is, on page load, you get null values, that will either get populated with the user info when the request to /current-user resolves and fills in the context, or simply never be changed if the user is unauthenticated.
That causes issues as we use fief to authenticate our external api calls, and is inelegant for showing user information (Flashes log in before showing user info, instead of a loading state).
The solution I propose is simple, but can be discussed of course : have the context provide an initial value to indicate loading, and only go null when we know user is unauthenticated.
Related to :
https://github.com/orgs/fief-dev/discussions/292
To Reproduce
Steps to reproduce the behavior:

Setup a Nexjs project with fief.
Get authenticated.
Reload the page and observe current user and token, they start null, then are populated.

Expected behavior
An authenticated user first loading the page should be distinguishable from an unauthenticated user.
Configuration

JavaScript environment: Next
Fief client version: 0.13.5

Hi @SaraBMo :wave:
That's indeed a limitation we've identified. We talk about it in the following discussion: https://github.com/orgs/fief-dev/discussions/292
I've a few ideas to improve this.

@frankie567 @SaraBMo and i are working on the same project using fief-js; as you were asking for help, this is @SaraBMo contribution to make it work

Came here tonight to report the same thing 👍

I'm running into this issue as well 💀

I've started to work on this here: https://github.com/fief-dev/fief-js/pull/10
This will also be the occasion to spin up a complete example for Next.js App Router.

+1 on this issue, I'm struggling a bit to handle Fief with the app routing, as I'm unable to retrieve the access token despite being authenticated
Happy to see it's gonna be taken care of!

This should be (finally) solved with https://github.com/fief-dev/fief-js/releases/tag/v0.15.0


[$250] Expense - Incorrect Expense Count Shown after removing expense from report then adding it back

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.0-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4609521
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:
Employee - OldDot

Create a Report and Add expense
Employee - NewDot
Notice that the report that had the expenses added is shown and No expense number is shown on the Report Preview.
Employee - OldDot
Delete the expense created on step 1
Add expense on the report created on step 1
Employee - NewDot
Notice that the new expense added is shown and 2 expenses is shown on the Report Preview

Expected Result:
Expense count is not shown in the report preview when there is only 1 expense
Actual Result:
2 expenses is shown on the Report Preview when there is only one expense
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/4034c6ef-5c41-4e92-a98d-a19c53a3de5b
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~015e2755d15f45ec65
Upwork Job ID:<PHONE_NUMBER>051320282
Last Price Increase: 2024-06-28

Proposal
Please re-state the problem that we are trying to solve in this issue.
The expense in report action not reduces even if the transaction is deleted.
What is the root cause of that problem?
The transaction_ only incremental not removes after deleted.
What changes do you think we should make in order to solve the problem?
From the OpenReport API returns transactions with  "status": "Deleted", or any other flags.
Then in the file https://github.com/jp928/App/blob/main/src/libs/TransactionUtils.ts#L754-L780 modify the filter with status !== 'Deleted'
What alternative solutions did you explore? (Optional)
Before merge transaction_ in the Onyx remove all other transactions with same reportID

Proposal
Please re-state the problem that we are trying to solve in this issue.
Incorrect number of Expenses shown after removing the expense, then adding it back
What is the root cause of that problem?
When we delete the expense, the GetMissingOnyxMessages isn't being called, and then when we add a new expense, the GetMissingOnyxMessages is called and fetches some data from the Backend.
But the backend doesn't tell the Onyx to delete the transaction_{deleted_expense_id}, so the Onyx keeps the previous expense data which has been deleted.
https://github.com/Expensify/App/blob/4dc1710ea72daaa44875e24ea0f71056b33ed8ef/src/components/ReportActionItem/ReportPreview.tsx#L145
https://github.com/Expensify/App/blob/4dc1710ea72daaa44875e24ea0f71056b33ed8ef/src/components/ReportActionItem/ReportPreview.tsx#L316
I have tried to clear all data in Onyx and then log in again with the same account, and then the Onyx is showing the correct number of Expenses because it only fetches from the Backend with available data.
What changes do you think we should make in order to solve the problem?
We can use the functionality when we open the Expenses page because it shows the correct length of the expenses
https://github.com/Expensify/App/blob/4dc1710ea72daaa44875e24ea0f71056b33ed8ef/src/pages/home/report/ReportActionsList.tsx#L707
What alternative solutions did you explore? (Optional)

I think, this should be solved in BE.
When OD user creates expenses in report, ND user gets updates via GetMissingOnyxMessages and this API returns some onyx merge commands to create transaction_{new} records.
Problem is when OD user delete expenses in the report, it updates report_{reportID} and ND user gets updates via GetMissingOnyxMessage and new total money is updated in report, but still transaction_{deletedID} exists in Onyx so expenses count shows wrong number.
So simply, BE should send onyx set command to clear transaction_{deletedID} as false or null, so that FE could ignore them from active transactions.

@abdulrahuman5196 thanks for unassigning.
@s77rt fyi we have a few proposals already when you have some time to review. Thanks!

🎀 👀 🎀 Internal
After submitting a new expense we get a pusher update updating the relevant reports, report actions and adding the new transaction. However if we delete an expense we don't get any pusher event, specifically we don't get an update that clears the old transaction. Even if we open the report (OpenReport) we still don't get any instruction to clear the old transaction. This leaves us with the "deleted" transaction persisted in storage and counted.

Pusher Onyx update after adding a new expense

Thanks for the review @s77rt. I've switched to Internal and added Hot Picks so we can get an internal volunteer.

Not overdue.

Switching to weekly for now.

However if we delete an expense we don't get any pusher event, specifically we don't get an update that clears the old transaction. Even if we open the report (OpenReport) we still don't get any instruction to clear the old transaction. This leaves us with the "deleted" transaction persisted in storage and counted.

@mountiny @luacmartins I'm wondering if at some point we stopped the pusher updates from the OldDot delete action due to the fire, otherwise I'm not sure why or when this would have broken. Onyx updates from OldDot should be back on though now, I believe.

I'm wondering if at some point we stopped the pusher updates from the OldDot delete action due to the fire, otherwise I'm not sure why or when this would have broken. Onyx updates from OldDot should be back on though now, I believe.

Correct, this should be back from as of last week I believe
I am not sure if it was on when @s77rt tested, can you maybe check this out again now in case this was tested just before the updates were re-enabled?

Working! 🎉
https://github.com/Expensify/App/assets/16493223/ccaf6f70-8cab-451f-8d42-25ee061358af

Alright, so @sakluger if you want to retest yourself you can but seems like this might be resolved with onyx updates back on. 👍

We can close this @sakluger


Remove extra arguments checks

Simplify the codebase by removing unneeded checks. They were adding extra noise.
What kind of change does this PR introduce?
refactoring
Did you add tests for your changes?
no
Does this PR introduce a breaking change?
no, but it removes the errors
What needs to be documented once your changes are merged?
nothing

Thanks


Isn't there an instant way to change the hint password?

Yes, I know this isn't done all the time, but why doesn't the changePasswordHint method exist?
Why do you have to delete the password first then change to a new password then fill in the password hint

btw sorry my english is bad

You are wrong. You can provide a new hint while changing the password to a new one, or even use the same new password and change just the hint.

thanks


Adding Whiteboard, RealtimeBoard

Adding to "User Flow Tools" topic

Witeboard
RealtimeBoard

@ribadima maybe it should go to "Collaboration Section" (which we can make)?
We use RealtimeBoard for idealisation, planning, collecting insights from user interviews.
So it's not only for User Flows. Maybe even, "Design Collaboration"

Added Topic

Collaboration Tools

Fixed "-" to "—" for items description
Fixed strange visual ident for "Color Picker Tools" topic items

For the next document releases, you can use regex in GitHub search: /([ ])[-]([ ])/
(https://monosnap.com/file/yQQVrAlbgwOqN7IBlbV5QjdmYX7pvN)
Also see https://github.com/ChristophLabacher/fix-punctuation

@ribadima hey 😊

thanks for "Collaboration Tools" section and Whiteboard & RealtimeBoard in it.
thanks for fixing punctuation.
we'll make a contribution guidelines soon, that will illuminate some mistakes as well.


[DEPLOY] Deploy staging in netlify

Deployment of Staging
Static deployment of tcet-linux  staging branch to netlify
all PRs to staging should make a preview. Do add that feature!

Please add the test-Linux-website Repo to Netlify . Currently, the repository is not configured for it.

hey @JayeshVP24 ,
Published the main branch to Netlify.
Added the PR preview feature as suggested . Tested it on the following PR. Let me know if there are any changes.

Closing as issue has been resolved


Data format?

Could someone write a quick documentation of the input planes?
Here's what I think it is:
The last 8 board positions. each one 8x8x12
Current state, also 8x8x12
Side to move, 8x8 constant
Move number, 8x8 constant
I think the move number is typo-d, it's using the halfmove clock instead of 50-move rule counter (which I assume is the intention).
We also theoretically don't need the side to move because we can flip the board and invert the colors, so the side to move is always on the bottom and has king on the right. Alternatively we can augment the dataset x2 by applying this transformation, but I think the dimensionality reduction with x2 learning rate is at least equivalent (and probably better). (It doesn't work for Go because of the 7.5 komi rule)
I think we're also missing castling.
Another idea: shuffle training data to avoid overfitting to one game
How is the policy vector represented?

Regarding the move number, I can't speak to the intention, but for what it's worth, the AlphaZero paper lists both the move number and the "no progress counter" as inputs (although I can't imagine why: the only way the move number plays any role is in tournament time controls, and times aren't inputs anyway).
In addition to castling availability (4 bits), I think we're missing en passant availability (16 bits, or just 8 bits with the color-flipping dimensionality reduction). In theory, en passant availability is derivative of the previous board state, but I suspect it's better to have it as a direct input.
Lastly, I've been trying to understand the motivation for using previous states as input. It seems like a huge additional cost for a dubious benefit. Let me make a strawman suggestion:
Network A is trained on all the inputs that AlphaZero used.
Network B is trained on current board state + castling/en passant availability and no other inputs.
Can anyone explain what's the advantage of A over B?

I don't know what goes on in NNs between the first and last layer (and I think very few people do...) so it's good to try everything.
With that being said: I think it gives the network a sort of "history heuristic" in case the inputs display some sort of temporal locality; also the last 8 positions help to encode en passant and 3-time-repetition (most of the time). I believe heuristics like this would make training faster at the beginning but the network should rule it out asymptotically (no difference in the long run). In my opinion the same goes for any feature with positive correlation but no causation.
There are a few people trying out different inputs, for example I'm using a "side to move always on bottom" representation and I think @benediamond is emulating the most recent AZ as closely as possible.

Yes, I think the main idea is drawing by 3-move repetition--though this too is strange, because each frame in the 8-state history also includes how many times that position has repeated. I sympathize with the point.


general question

Hi,
i’m a Student an I’m dealing with the google cloud.
I’ve got a Microchip IoT-Board and I would like to show the telemetry data of the board over the time.
I would like to watch the data as a real time chart.
I saw your Video on Youtube:  https://www.youtube.com/watch?v=RYaprBSDy8A. Is this the easiest way to view telemtetry data?
Or is this just a demonstration of your tools? Maybe you got a toolbox to create some charts.
I’ve created my own Project, using IoT-Core und Pub/Sub. I’m able to watch the mqtt messages incoming. But now I would like to create some charts. Do I need to use the way like you did in your video?
Iot-Core -> Pub/Sub -> Cloud Functions -> Cloud Firebase -> Anglular
I know it is possible to use instead of Cloud Functions, Cloud Dataproc or Cloud Dataflow.
But is it really necessary to use five tools to view telemetry data? Is there no tool?
Could you help me?
With best regards
Tobias

Hi Tobias, Sorry for the delay, it's been a messy time.
There's no out of the box tools to view the telemetry, no unfortunately. To look at the raw telemetry for confirming it's coming in, adding a subscription onto the Pub/Sub topic, and manually pulling the messages yourself, either using gcloud, or the console, is a way to just see them to confirm they're working.
To look at them in like, a chart format, as long as you don't need them in real time, probably the EASIEST way to do it, would be to create a Dataflow pipeline using the template, and go Pub/Sub -> BigQuery. And then use Data Studio to create the chart which has a template for using a BigQuery table as the data source.
That way doesn't require any coding at all to see the telemetry.


fix: 下钻个数为-1时应展示全部下钻数据

👀 PR includes
🐛 Bugfix

[x] Solve the issue and close #0

📝 Description
s2 通过 drillItemsNum 来约束下钻维度展示的个数，但是没有特殊判断 -1、0 等。
实际只有 drillItemsNum > 0 时，限制才会有意义。

附：清空下钻数据时，s2 也会把下钻个数重置为 -1<EMAIL_ADDRESS>
🖼 Screenshot

Before
After

❌
✅

🔗 Related issue link

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-v1.24.0-alpha.2 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v1.22.0-alpha.2 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-v1.24.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v1.22.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Cannot get Linux to detect the Coral device

Description
I am having issues with my Coral M2 dual edge TPU in that my Proxmox host won't detect it.
I am running on a Deskmini 310 with an Intel 9400 and 16 GB RAM
I have followed the setup instructions, but lspci -nn | grep 089a returns nothing.
I've googled around a lot and tried various things, but nothing seems to work.
Is there perhaps a BIOS setting, or perhaps the M2 slot on this motherboard will ONLY support Wifi and not any PCI device?
There are some errors when the machine boots up, not sure if it's related. I also included some images of the BIOS Chipset Configuration page.
Please let me know if there is any other information I can provide to help diagnose this issue.

Click to expand!
Issue Type
Support
Operating System
Linux
Coral Device
M.2 Accelerator with dual Edge TPU
Other Devices
No response
Programming Language
No response
Relevant Log Output
No response

Hello @willekind could you please uninstall and share the installation logs for PCIe driver..
sudo apt-get install gasket-dkms

Hey @hjonnala, thanks for your message and support. Please see below
root@proxmox:~# apt-get install gasket-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  dctrl-tools dkms linux-compiler-gcc-10-x86 linux-headers-5.10.0-21-amd64 linux-headers-5.10.0-21-common
  linux-headers-amd64 linux-kbuild-5.10 sudo
Suggested packages:
  debtags menu
The following NEW packages will be installed:
  dctrl-tools dkms gasket-dkms linux-compiler-gcc-10-x86 linux-headers-5.10.0-21-amd64 linux-headers-5.10.0-21-common
  linux-headers-amd64 linux-kbuild-5.10 sudo
0 upgraded, 9 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/12.8 MB of archives.
After this operation, 66.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package dctrl-tools.
(Reading database ... 49515 files and directories currently installed.)
Preparing to unpack .../0-dctrl-tools_2.24-3+b1_amd64.deb ...
Unpacking dctrl-tools (2.24-3+b1) ...
Selecting previously unselected package dkms.
Preparing to unpack .../1-dkms_2.8.4-3_all.deb ...
Unpacking dkms (2.8.4-3) ...
Selecting previously unselected package linux-headers-5.10.0-21-common.
Preparing to unpack .../2-linux-headers-5.10.0-21-common_5.10.162-1_all.deb ...
Unpacking linux-headers-5.10.0-21-common (5.10.162-1) ...
Selecting previously unselected package linux-kbuild-5.10.
Preparing to unpack .../3-linux-kbuild-5.10_5.10.162-1_amd64.deb ...
Unpacking linux-kbuild-5.10 (5.10.162-1) ...
Selecting previously unselected package linux-compiler-gcc-10-x86.
Preparing to unpack .../4-linux-compiler-gcc-10-x86_5.10.162-1_amd64.deb ...
Unpacking linux-compiler-gcc-10-x86 (5.10.162-1) ...
Selecting previously unselected package linux-headers-5.10.0-21-amd64.
Preparing to unpack .../5-linux-headers-5.10.0-21-amd64_5.10.162-1_amd64.deb ...
Unpacking linux-headers-5.10.0-21-amd64 (5.10.162-1) ...
Selecting previously unselected package linux-headers-amd64.
Preparing to unpack .../6-linux-headers-amd64_5.10.162-1_amd64.deb ...
Unpacking linux-headers-amd64 (5.10.162-1) ...
Selecting previously unselected package gasket-dkms.
Preparing to unpack .../7-gasket-dkms_1.0-18_all.deb ...
Unpacking gasket-dkms (1.0-18) ...
Selecting previously unselected package sudo.
Preparing to unpack .../8-sudo_1.9.5p2-3+deb11u1_amd64.deb ...
Unpacking sudo (1.9.5p2-3+deb11u1) ...
Setting up linux-compiler-gcc-10-x86 (5.10.162-1) ...
Setting up sudo (1.9.5p2-3+deb11u1) ...
Setting up linux-kbuild-5.10 (5.10.162-1) ...
Setting up linux-headers-5.10.0-21-common (5.10.162-1) ...
Setting up dctrl-tools (2.24-3+b1) ...
Setting up dkms (2.8.4-3) ...
Setting up linux-headers-5.10.0-21-amd64 (5.10.162-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 5.10.0-21-amd64:.
Setting up linux-headers-amd64 (5.10.162-1) ...
Setting up gasket-dkms (1.0-18) ...
Loading new gasket-1.0 DKMS files...
Building for 5.15.74-1-pve
Module build for kernel 5.15.74-1-pve was skipped since the
kernel headers for this kernel does not seem to be installed.
Processing triggers for man-db (2.9.4-2) ...
root@proxmox:~#

Module build for kernel 5.15.74-1-pve was skipped since the
kernel headers for this kernel does not seem to be installed.

Please install the kerenl headers and then try to install gasket-dkms. https://www.tecmint.com/install-kernel-headers-in-ubuntu-and-debian/

Thanks for the link @hjonnala! There seems to be a mismatch between my /usr/src folder and uname -r
uname -r returns 5.15.74-1-pve
However, ls -l /usr/src/linux-headers-$(uname -r) returns ls: cannot access '/usr/src/linux-headers-5.15.74-1-pve': No such file or directory
ls -l /usr/src returns linux-headers-5.10.0-21-amd64  linux-headers-5.10.0-21-common  linux-kbuild-5.10
When I run apt install linux-headers-$(uname -r) I get
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-5.15.74-1-pve
E: Couldn't find any package by glob 'linux-headers-5.15.74-1-pve'

This is a bog standard Proxmox VE installation. Any ideas for next steps please?

please check with proxmox community at: https://forum.proxmox.com/threads/unable-to-locate-package-linux-headers-5-0-15-1-pve.59717/

Thanks again @hjonnala! When I run apt-get install gasket-dkms, I still get the same issue as before
root@proxmox:~# apt-get install gasket-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  gasket-dkms
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/48.0 kB of archives.
After this operation, 256 kB of additional disk space will be used.
Selecting previously unselected package gasket-dkms.
(Reading database ... 92052 files and directories currently installed.)
Preparing to unpack .../gasket-dkms_1.0-18_all.deb ...
Unpacking gasket-dkms (1.0-18) ...
Setting up gasket-dkms (1.0-18) ...
Loading new gasket-1.0 DKMS files...
Building for 5.15.74-1-pve
Module build for kernel 5.15.74-1-pve was skipped since the
kernel headers for this kernel does not seem to be installed.

OK, I got apt-get install gasket-dkms to work thanks to this Reddit post. I'll let you know how I get on. Thanks again!

I have followed the guide. My issue now is when I run lspci -nn | grep 089a I get nothing back.
My output for apt-get install gasket-dkms:
root@proxmox:~# apt-get intall gasket-dkms
E: Invalid operation intall
root@proxmox:~# apt-get install gasket-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  gasket-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/48.0 kB of archives.
After this operation, 256 kB of additional disk space will be used.
Selecting previously unselected package gasket-dkms.
(Reading database ... 80669 files and directories currently installed.)
Preparing to unpack .../gasket-dkms_1.0-18_all.deb ...
Unpacking gasket-dkms (1.0-18) ...
Setting up gasket-dkms (1.0-18) ...
Loading new gasket-1.0 DKMS files...
Building for 5.15.85-1-pve
Building initial module for 5.15.85-1-pve
Done.

gasket.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.85-1-pve/updates/dkms/

apex.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.85-1-pve/updates/dkms/

depmod...............................................

Backing up initrd.img-5.15.85-1-pve to /boot/initrd.img-5.15.85-1-pve.old-dkms
Making new initrd.img-5.15.85-1-pve
(If next boot fails, revert to initrd.img-5.15.85-1-pve.old-dkms image)
update-initramfs..........................

DKMS: install completed.

My output for lspci -nnk:
root@proxmox:~# lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers [8086:3ec2] (rev 07)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation 8th Gen Core Processor Host Bridge/DRAM Registers [1849:3ec2]
        Kernel driver in use: skl_uncore
        Kernel modules: ie31200_edac
00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-S GT2 [UHD Graphics 630] [8086:3e92]
        DeviceName: Onboard - Video
        Subsystem: ASRock Incorporation UHD Graphics 630 (Desktop) [1849:3e92]
        Kernel driver in use: i915
        Kernel modules: i915
00:12.0 Signal processing controller [1180]: Intel Corporation Cannon Lake PCH Thermal Controller [8086:a379] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Cannon Lake PCH Thermal Controller [1849:a379]
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:14.0 USB controller [0c03]: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller [8086:a36d] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Cannon Lake PCH USB 3.1 xHCI Host Controller [1849:a36d]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 RAM memory [0500]: Intel Corporation Cannon Lake PCH Shared SRAM [8086:a36f] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Cannon Lake PCH Shared SRAM [1849:a36f]
00:14.5 SD Host controller [0805]: Intel Corporation Device [8086:a375] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Device [1849:a375]
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci_pci
00:16.0 Communication controller [0780]: Intel Corporation Cannon Lake PCH HECI Controller [8086:a360] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Cannon Lake PCH HECI Controller [1849:a360]
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Cannon Lake PCH SATA AHCI Controller [8086:a352] (rev 10)
        DeviceName: Onboard - SATA
        Subsystem: ASRock Incorporation Cannon Lake PCH SATA AHCI Controller [1849:a352]
        Kernel driver in use: ahci
        Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #7 [8086:a33e] (rev f0)
        Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a303] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Device [1849:a303]
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
        DeviceName: Onboard - Sound
        Subsystem: ASRock Incorporation Cannon Lake PCH cAVS [1849:2233]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_cnl
00:1f.4 SMBus [0c05]: Intel Corporation Cannon Lake PCH SMBus Controller [8086:a323] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Cannon Lake PCH SMBus Controller [1849:a323]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller [8086:a324] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Cannon Lake PCH SPI Controller [1849:a324]
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (7) I219-V [8086:15bc] (rev 10)
        DeviceName: Onboard - Ethernet
        Subsystem: ASRock Incorporation Ethernet Connection (7) I219-V [1849:15bc]
        Kernel driver in use: e1000e
        Kernel modules: e1000e

Any ideas?

can you share the output of below commands in a text file. Thanks!

dmesg
lspci -vvv
lspci -vvv|grep -i MSI-X

Sure, please see attached. There was no output for lspci -vvv|grep -i MSI-X
dmesg.txt
lspci -vvv.txt

Please try sudo lspci -vvv|grep -i MSI-X and have you restarted the machine after gaset-driver installation?

Unfortunately sudo lspci -vvv|grep -i MSI-X returns nothing, and I did restart the machine after the gasket-dkms installation.
I wonder if the port my Coral is plugged into is for WiFi modules only 😞

I wonder if the port my Coral is plugged into is for WiFi modules only

Please check with host machine hardware manaufacturer.


Error while crafting new app

[GuzzleHttp\Exception\ClientException]
Client error: GET http://goodheads.io/larathon.zip resulted in a 404 Not    Found response:

  <!--[if IE (truncated...)

Sorry about that, I'll fix that in a bit @manshu

I have updated the hackathon installer, so you can just do composer global require unicodeveloper/hackathon-installer=1.0.2 or do composer global remove unicodeveloper/hackathon-installer and then install it again by composer global require unicodeveloper/hackathon-installer

Perfect, i'll work on it tomorrow. thanks for the help.


ar state with scene viewer

As per the documentation, both ar-status attribute and event values are valid for WebXR mode only. Whereas on SceneViewer, we only get ar-status value of not-presenting. It's for sure implemented in SceneViewer as we get a prompt to move phone when the session starts. So is it possible to access these values in Scene Viewer and Quick Look modes?

The feature I'm trying to implement aims to provide feedback to users after the button press before SceneViewer or QuickLook gets launched. The issue is I'm unable to reset the loading state of the button after the user cancels the session.


Update GH access token

BOT_ACCESS_TOKEN expires Oct 1 2024
A new token must be created with repo + workflow scopes and env var to be updated with new secret.

BOT_ACCESS_TOKEN updated today.
New token expires Dec 26 2024


Can't compile as sub-dependency

Hello,
I'm not managing to compile my project, not sure it's abseil's fault.
My project depends on s2geometry, which in turn depends on abseil.
s2geometry used to include their own version of abseil, but now that they made it external I can't compile anymore.
Indeed in my CMakeLists.txt I added add_subdirectory(third-party/abseil) before add_subdirectory(third-party/s2geometry) but s2 complained that it couldn't find abslConfig.cmake so I used set(ABSL_ENABLE_INSTALL ON) to have it, but now I'm stuck on the following error:
CMake Error at build/third-party/abseil-cpp/abslConfig.cmake:32 (include):
[cmake]   include could not find load file:
[cmake]
[cmake]     [...]/build/third-party/abseil-cpp/abslTargets.cmake
[cmake] Call Stack (most recent call first):
[cmake]   third-party/s2geometry/CMakeLists.txt:71 (find_package)
The targets don't seem to be installed when add_subdirectory(third-party/abseil) finishes, when s2 launches find_package(absl REQUIRED).
Which brings me to my question: is there a way to include abseil as a sub-dependency, or am I missing something here?
Best regards,
Paul

You can try disabling find_package for Abseil after including it as as a subdirectory:
add_subdirectory(third_party/absl)

# Disable subsequent find_package(absl)
set(absl_FOUND TRUE)

add_subdirectory(third_party/s2geometry)

If that doesn't help, you might have to use ExternalProject_Add for all third-party packages.

https://github.com/google/s2geometry/pull/285
Also fixed in s2, don't think it's best solution but works for us


Sorting/Searching populated documents as well as paginate

I have an Item collection which shows details about the items gets updated very frequently with different prices.
I also have an InventoryItem collection which represents a real item which references then Item collection. It will have its assetId, who owns it, which bot its in etc.
Now I am making a store which I will stock all these InventoryItems in.
Here is the Schemas for Item and InventoryItem:
Item Schema:
var ItemSchema = new mongoose.Schema({
    item: {
        marketName: String,
        model: String,
        set: String,
        exterior: String
    },
    price: {
        currency: String,
        custom: Number,
        steam: Number
    },
    quantity: Number,
    blacklist: {
        type: Boolean,
        default: false
    },
    custom: Boolean,
    iconUrl: String
});

InventoryItem Schema:
var InventoryItemSchema = new mongoose.Schema({
    item: {
        type: mongoose.Schema.Types.ObjectId,
        ref: 'Item'
    },
    assetId: String,
    location: String,
    bot: {
        type: mongoose.Schema.Types.ObjectId,
        ref: 'Bot'
    },
    user: {
        type: mongoose.Schema.Types.ObjectId,
        ref: 'User'
    }
});

Now the problem arises when I try and search InventoryItem by name, or sort by price, because name and price is inside the Item collection.
I can't copy price from an Item into InventoryItem because as I said, the price updates frequently, and there will be multiple of the same Item.
Population is a solution, but I would need to sort/find after populating, which I do not believe is possible.
The store will have potentially thousands of items, so the data needs to be paginated. I am using mongoose-paginate to deal with that.
How would I do this? I am very stumped.

Hi,
I'm facing the same issue. Did you find a solution ?

@LiorRabin I have neve found a solution to this; this is a limitation of MongoDB I believe :(

@dolanmiu yeah...that's what I understand as well, too bad :(

@dolanmiu I having the same issue now.
Have you found any solution for this?

@crossRT nope, gave up in the end

As a former contributor to this package I strongly suggest everyone write pure Mongoose queries.
You can use two helper packages though which I wrote:

Koa: https://github.com/koajs/ctx-paginate (example here)
Express: https://github.com/expressjs/express-paginate (for an example without Mongoose paginate refer to the Koa example linked here)

@dolanmiu too bad. it's okay.. =(
@niftylettuce alright, thanks. I'll have a look at it.

I've updated the express-paginate README example to show an alternate simple solution to mongoose-paginate.
https://github.com/expressjs/express-paginate#example


remove tvOS from template

Summary
According to the 0.62 blog post, Apple TV support has moved to react-native-tvos.
The template still contains info.plist for tvOS, so I've removed them for future releases.

Changelog

[General] [Removed] - Removed tvOS related files from the template
Test Plan
run react-native init TestTemplate and remove tvOS related files and verified that iOS and Android runs on emulator.

Also template Podfile located in template/ios  should be updated:

https://github.com/facebook/react-native/blob/master/template/ios/Podfile#L26

@Simek Thanks! made/tested the change :+1:


showTimesOnWeekView problem

Hi, I have a little problem... When I use calendarConfig.showTimesOnWeekView = 'true', I can't use view day normally. When I select a range in any day, calendar creates an event on Monday of that week because calendar is always dated on Monday of that week...
Besides, I want to show events in week view but I've seen that this view shows initial date events but it doesn't  show final date of event so events look like that all are of 15 minutes.
Best regards.
Angular: 1.5.5
Calendar library: 0.28
Browser name and version: Chrome 46

I think this is a duplicate of: https://github.com/mattlewis92/angular-bootstrap-calendar/issues/536
As for the end times being ignored, this is a known caveat of using that feature (hence why it's not default). For some apps that don't use event end dates it's useful, otherwise I'd recommend sticking to the default view / building your own week view component and using it in conjunction with the day / month views with this lib.

This is an important feature indeed. You really should consider adding it. The week view is very likely the most used, and commonly showing times.

@patricksmms I don't have the capacity to do this myself, but if someone sent a high quality PR with it, i'd be happy to review and merge it. Everyone here has the source code and are developers 😄

@mattlewis92: Fair enough! I'll try to do it myself. Just came across your lib today, as I need a calendar for an angularjs app and there's nothing close to decent and free :P

That would be awesome, LMK if you need any guidance 😄

I've been actually working on this for the last few days and was going to send PR this week, as soon as I make sure it works flawlessly.

Can one of you just point me to where the height of the event is coming from, on the day view? Thanks

Off the top of my head I think it comes from a default CSS rule, you'll need to override it in the template with ng-style (like how the top, width etc are done)

On 12 Mar 2017, at 21:51, patricksmms<EMAIL_ADDRESS>wrote:
Can one of you just point me to where the height of the event is coming from, on the day view? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

That part I figured out quickly, I'm asking about where the height of the even, on the day view is coming from. I wanted to use the same method for both, if possible.

Look at lines 51-56 in angular-bootstrap-calendar/src/templates/calendarDayView.html. The controller and directive responsible for this view are in angular-bootstrap-calendar/src/directives/mwlCalendarDay.js

Ah, it comes from the getDayViewFunction in the calendar utils lib: https://github.com/mattlewis92/calendar-utils/blob/master/src/calendarUtils.ts#L367
Which you can access here:
https://github.com/mattlewis92/angular-bootstrap-calendar/blob/master/src/services/calendarHelper.js#L294

On 13 Mar 2017, at 19:55, patricksmms<EMAIL_ADDRESS>wrote:
That part I figured out quickly, I'm asking about where the height of the even, on the day view is coming from. I wanted to use the same method for both, if possible.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Apologies, I realised that I actually need a simpler user interface to display events, so I'll write my own custom. Good luck with this!

No worries! 😀

On 13 Mar 2017, at 21:57, patricksmms<EMAIL_ADDRESS>wrote:
Apologies, I realised that I actually need a simpler user interface to display events, so I'll write my own custom. Good luck with this!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Enable tests by default

Many packages use this variable to add find_package rostest in their CMakeLists.txt, are you sure that someone is providing rostest in the recipes? Because I had a problem with robot-state-publisher that nobody was actually compiling it.


Correctly handle bad responses

Bad responses were neither resolving nor rejecting.  This fix causes them to be handled correctly.

👍 please merge this

Sorry for delay... published to npm version 2.1.8
https://www.npmjs.com/package/url-metadata


feat(plugins/k8saudit): extract pod name

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area plugins

/area registry

/area build

/area documentation

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

026bffc feat(plugins/k8saudit): extract pod name

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: SKosier
Once this PR has been reviewed and has the lgtm label, please assign leogr for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 83f66944181c4a867c9feef1a93cccc59e647411

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, SKosier
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


portable?

Portable application. Just copy the software anywhere.

and what about user.config in local appdata?

I am very sorry for the delay in offering a response, but I have had this project quite forgotten and abandoned.
Responding to your question, let me tell you that the auto-generated file in the local appdata directory does not influence the portability of the program, being understood as an application that does not require installation, and can be used from, for example, a USB device.
In the "Easy Link File Viewer.exe.config" file located next to the portable executable, you can modify and set the default values of the program options:
<setting name="VisualThemeIndex" serializeAs="String">
    <value>0</value>
</setting>
<setting name="FontSize" serializeAs="String">
    <value>10</value>
</setting>

The value you specify for those options will take effect immediately the first time you start the program, as long as the auto-generated file does not exist in the local app data directory with different options.
In any case, the auto-generated file in the local app data directory is unnecessary and is something that will no longer be necessary in the next release. The methodology for saving and loading user preferences will be changed so that they are stored in the same directory of the portable executable.
This may take me some time (from few days, to some weeks) as there are several other Issues in this project that I also need to try offer solutions to. Please be patient.
Sincerely,
Elektro.

The fix has already been implemented in the new source code update. See change log. This was done using Jot.
Please wait for the new release to be published.
If you have more questions feel free to follow this debate. For now, I consider it finished.


BUG: installing celer with pip from github first fails, then succeeds

To reproduce in a newly created environement test where pip in installed:
(test) ➜  benchOpt git:(pip2conda) ✗ which pip
/home/mathurin/miniconda3/envs/test/bin/pip
(test) ➜  benchOpt git:(pip2conda) ✗ pip install git+https://github.com/mathurinm/celer.git
Collecting git+https://github.com/mathurinm/celer.git
  Cloning https://github.com/mathurinm/celer.git to /tmp/pip-req-build-wmet9675
  Running command git clone -q https://github.com/mathurinm/celer.git /tmp/pip-req-build-wmet9675
Collecting numpy>=1.12
  Using cached numpy-1.18.4-cp37-cp37m-manylinux1_x86_64.whl (20.2 MB)
Collecting seaborn>=0.7
  Using cached seaborn-0.10.1-py3-none-any.whl (215 kB)
Collecting scipy>=0.18.0
  Using cached scipy-1.4.1-cp37-cp37m-manylinux1_x86_64.whl (26.1 MB)
Collecting matplotlib>=2.0.0
  Using cached matplotlib-3.2.1-cp37-cp37m-manylinux1_x86_64.whl (12.4 MB)
Requirement already satisfied: Cython>=0.26 in /home/mathurin/miniconda3/envs/test/lib/python3.7/site-packages (from celer==0.5.dev0) (0.29.17)
Collecting scikit-learn>=0.23
  Using cached scikit_learn-0.23.0-cp37-cp37m-manylinux1_x86_64.whl (7.3 MB)
Collecting xarray
  Using cached xarray-0.15.1-py3-none-any.whl (668 kB)
Collecting download
  Using cached download-0.3.5-py3-none-any.whl (8.8 kB)
Collecting tqdm
  Using cached tqdm-4.46.0-py2.py3-none-any.whl (63 kB)
Collecting pandas>=0.22.0
  Using cached pandas-1.0.3-cp37-cp37m-manylinux1_x86_64.whl (10.0 MB)
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.2.0-cp37-cp37m-manylinux1_x86_64.whl (88 kB)
Collecting cycler>=0.10
  Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting python-dateutil>=2.1
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting threadpoolctl>=2.0.0
  Using cached threadpoolctl-2.0.0-py3-none-any.whl (34 kB)
Collecting joblib>=0.11
  Using cached joblib-0.14.1-py2.py3-none-any.whl (294 kB)
Requirement already satisfied: setuptools>=41.2 in /home/mathurin/miniconda3/envs/test/lib/python3.7/site-packages (from xarray->celer==0.5.dev0) (46.2.0.post20200511)
Collecting six
  Using cached six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting requests
  Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB)
Collecting pytz>=2017.2
  Using cached pytz-2020.1-py2.py3-none-any.whl (510 kB)
Requirement already satisfied: certifi>=2017.4.17 in /home/mathurin/miniconda3/envs/test/lib/python3.7/site-packages (from requests->download->celer==0.5.dev0) (2<IP_ADDRESS>)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.9-py2.py3-none-any.whl (58 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Building wheels for collected packages: celer
  Building wheel for celer (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/mathurin/miniconda3/envs/test/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-wmet9675/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-wmet9675/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-oygzm2ad
       cwd: /tmp/pip-req-build-wmet9675/
  Complete output (3178 lines):
  /home/mathurin/miniconda3/envs/test/lib/python3.7/site-packages/setuptools/dist.py:454: UserWarning: Normalizing '0.5dev' to '0.5.dev0'
    warnings.warn(tmpl.format(**locals()))
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/celer
  copying celer/homotopy.py -> build/lib.linux-x86_64-3.7/celer
  copying celer/__init__.py -> build/lib.linux-x86_64-3.7/celer
  copying celer/plot_utils.py -> build/lib.linux-x86_64-3.7/celer
  copying celer/dropin_sklearn.py -> build/lib.linux-x86_64-3.7/celer
  running build_ext
  cythoning celer/lasso_fast.pyx to celer/lasso_fast.cpp
  warning: celer/lasso_fast.pyx:159:37: Index should be typed for more efficient access
  cythoning celer/cython_utils.pyx to celer/cython_utils.cpp
  /home/mathurin/miniconda3/envs/test/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-req-build-wmet9675/celer/cython_utils.pxd
    tree = Parsing.p_module(s, pxd, full_module_name)

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  # License: BSD 3 clause

  cimport cython
  cimport numpy as np

  from scipy.linalg.cython_blas cimport ddot, dasum, daxpy, dnrm2, dcopy, dscal
  ^
  ------------------------------------------------------------

  celer/cython_utils.pyx:9:0: 'scipy/linalg/cython_blas.pxd' not found
## many cython errors

  celer/cython_utils.cpp:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
   #error Do not use this file, it is the result of a failed Cython compilation.
    ^~~~~
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for celer
  Running setup.py clean for celer
Failed to build celer
Installing collected packages: numpy, scipy, six, python-dateutil, pytz, pandas, kiwisolver, cycler, pyparsing, matplotlib, seaborn, threadpoolctl, joblib, scikit-learn, xarray, tqdm, urllib3, idna, chardet, requests, download, celer
    Running setup.py install for celer ... done
Successfully installed celer-0.5.dev0 chardet-3.0.4 cycler-0.10.0 download-0.3.5 idna-2.9 joblib-0.14.1 kiwisolver-1.2.0 matplotlib-3.2.1 numpy-1.18.4 pandas-1.0.3 pyparsing-2.4.7 python-dateutil-2.8.1 pytz-2020.1 requests-2.23.0 scikit-learn-0.23.0 scipy-1.4.1 seaborn-0.10.1 six-1.14.0 threadpoolctl-2.0.0 tqdm-4.46.0 urllib3-1.25.9 xarray-0.15.1

This was due to scipy not being installed in the env. In 0.5 we install requirements in the setup.py so this problems disappears.

This continued to happen in fresh envs, because cython was not installed when running setup.py, hence the .pyx files were not translated into .cpp and gcc complained that it could not find them


A+C: add Scott Kiesel

A+C: add Scott Kiesel
Please take a look.

Codecov Report

Merging #1813 (27afc8d) into master (cb02874) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1813   +/-   ##
=======================================
  Coverage   73.47%   73.47%
=======================================
  Files         528      528
  Lines       61965    61965
=======================================
+ Hits        45529    45531    +2
+ Misses      13871    13870    -1
+ Partials     2565     2564    -1

Impacted Files
Coverage Δ

graph/coloring/coloring.go
90.33% <0.00%> (+0.60%)
: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 cb02874...27afc8d. Read the comment docs.


codelldb consume a lot of memory.

OS:
yuyang@yuyang-virtual-machine:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

VSCode version:
Version: 1.82.2 (user setup)
Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
Date: 2023-09-14T05:55:25.390Z
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045

CodeLLDB version:
v1.10.0

Compiler:
cargo 1.74.0-nightly (d14c85f4e 2023-09-05)

Debuggee:
a rust binary?

codelldb consumed a lot of memory and got killed.

Verbose log

Is this binary too big??
-rwxrwxr-x 1 yuyang yuyang 469M  9-р сар 22 09:36 target/debug/deps/datasources-9e62f012ac2369fa

This extension works fine for me in recently years. just not working for me for just couple of days ago,
Is this relate to some updates??


settup razzle with redux-saga, connected-react-router

❓Question
i have a problem is use push in saga function, in a client side render, i use connected-react-router
how i can resolve my problem, please help me

This is possible. We have github discussions enabled now. Please move this there :)


add test script and fix broken carthage build

Confirmed fix to carthage.

Coverage remained the same at 97.555% when pulling e2cb24f47abf10ac3357c4358f3cce800bf32266 on fixCart into bdd930029896adf7ba59d4a058c60a8af43e4824 on master.


Unable to connect to mssql server

Info:

Docker version  19.03.5, build 633a0ea
Laradock commit 8203e5da2992db2e242a6dd9733f12f5c664842e
System info  PC:
System info disto/version:  10 pro

Issue:
PDOException::("SQLSTATE[28000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user 'sa'.")

Relevant Code:
this is the laradock config:
ADM_INSTALL_MSSQL=true
WORKSPACE_INSTALL_MSSQL=true
PHP_FPM_INSTALL_MSSQL=true
....
MSSQL_DATABASE=master
MSSQL_PASSWORD=RTGDFER453edrr4!!!
MSSQL_PORT=1433

this is that laravel config
DB_CONNECTION=sqlsrv
DB_HOST=mssql
DB_PORT=1433
DB_DATABASE=master
DB_USERNAME=sa
DB_PASSWORD=RTGDFER453edrr4!!!

I can see that the password is read correctly because I see in the error:
  PDO::__construct("sqlsrv:Server=mssql,1433;Database=master", "sa", "RTGDFER453edrr4!!!", [])
this is how I run my app:
 docker-compose up nginx mssql workspace

I am mentioning that I have temporarly changed the mssql docker image from mcr.microsoft.com/mssql/server:2017-latest-ubuntu to mcr.microsoft.com/mssql/server:2017-CU11-ubuntu
What am I doing wrong?
Thanks

I also got same problem.

Hi, late to the party but I hope this other thread and my comment there might help you: https://github.com/laradock/laradock/issues/2462#issuecomment-605516886


text2text model evaluation not working

Description
Model evaluation is not working properly to output the precision and recall
How to Reproduce?
I run the following line of code,
python3 -m pecos.apps.text2text.evaluate --pred-path ./test-prediction.txt --truth-path ./test.txt --text-item-path ./output-labels.txt

where,
--pred-path is the path of file produced during model prediction,
--truth-path is the path of test file, e.g. Out1, Out2, Out3     \t    cheap door
Out1, Out2 and Out3 are the line number in the the following output file
--text-item-path ./output-labels.txt
What have you tried to solve it?

Error message or code output
Traceback (most recent call last):
  File "/home/khalid/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/khalid/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/khalid/PECOS/pecos_venv/lib/python3.7/site-packages/pecos/apps/text2text/evaluate.py", line 130, in <module>
    do_evaluation(args)
  File "/home/khalid/PECOS/pecos_venv/lib/python3.7/site-packages/pecos/apps/text2text/evaluate.py", line 119, in do_evaluation
    Y_true = smat.csr_matrix((val_t, (row_id_t, col_id_t)), shape=(num_samples_t, len(item_dict)))
  File "/home/khalid/PECOS/pecos_venv/lib/python3.7/site-packages/scipy/sparse/compressed.py", line 55, in __init__
    dtype=dtype))
  File "/home/khalid/PECOS/pecos_venv/lib/python3.7/site-packages/scipy/sparse/coo.py", line 196, in __init__
    self._check()
  File "/home/khalid/PECOS/pecos_venv/lib/python3.7/site-packages/scipy/sparse/coo.py", line 285, in _check
    raise ValueError('column index exceeds matrix dimensions')
ValueError: column index exceeds matrix dimensions

Environment

Operating system:
Python version:
PECOS version:

(Add as much information about your environment as possible, e.g. dependencies versions.)

@Khalid-Usman , from the error message, it seems like the label_id in your ./test.txt is out of range, which is defined by your provided ./output-labels.txt.
Can you verify the label_ids in the ./test.txt is within the range of ./output-labels.txt?

I don't think so , but let me double check ...
Also instead of this i used the following command and get precision / Recall. Is that correct ?
python3 -m pecos.apps.text2text.evaluate --pred-path ./test-prediction.txt --truth-path ./test.txt

If --text-item-path is not provided, the evaluation script assume your groun truth file ./test.txt has format 1 (https://github.com/amzn/pecos/blob/mainline/pecos/apps/text2text/evaluate.py#L43). If the label IDs in './test.txt' and './train.txt' are aligned, then should be fine.

@OctoberChang I verified , there were few labels_ids in ./test.txt which are greater than the maximum index value of ./output-labels.txt file. So, I removed those labels_ids from ./test.txt file and still getting the same error.

@OctoberChang there is something wrong in the evaluation code.
I tried to debug and for ground-truth items, I found error in the following line "

column index exceed matrix dimensions

".
Y_true = smat.csr_matrix((val_t, (row_id_t, col_id_t)), shape=(num_samples_t, len(item_dict)))
I printed each variable and got,
len(item_dict) = 2580153
num_samples_t = 132715
len(val_t) = 273316
len(row_id_t) = 273316
len(col_id_t) = 273316

@Khalid-Usman , you should print the max(col_id_t) and check if max(col_id_t) < len(item_dict). If not, then this means that your label_id still out-of-scope from the pre-defined label set, as specified in your ./output-labels.txt.

@OctoberChang , yes max(col_id_t) < len(item_dict) but i found max index in ./output-labels.txt file and removed all rows from ./test.txt containing indices greater than max index of ./output-labels.txt.
So I don't think so, there exist any label_id that has no corresponding line number in ./output-labels.txt.
Thanks, please verify that.

@Khalid-Usman , can you try just evaluating the first line of your prediction ./test-prediction.txt against the first line of the ground truth ./test.txt given the pre-defined label set ./output-labels.txt?
If this still not working, you can share the first line of those two files as well as the output-labels.txt with me, and i can take a look perhaps.

@OctoberChang what is the score in ./test-prediction.txt e.g. for my query i got 20 related documents with scores sorted in descending w.r.t. scores. So these 20 retrieval documents are actually precision for top-k (top-20) ? Or this score has nothing to do with precision and we have to calculate ourselves by matching these documents with the ground truth ?

the prediction score matrix (i.e., Y_pred) from text2text models are not related to the ground truth labels.
In other word, to get precision@k (e.g., a function of Y_true and Y_pred), you also need to match Y_pred with Y_true.

I found the recall numbers output by that function to be wildly different from what i was expecting. So i did the calculation myself and got much higher numbers. If a query has 4 labels, and if the top result is in the recall set, for recall@1 do you compute that as 1.0 or 0.25?

@simonhughes22 , In your example, the Recall@1 should be 0.25. See the definition of Prec@k and Recall@k in http://manikvarma.org/downloads/XC/XMLRepository.html#metrics

Closing this issue. Feel free to reopen if you still have any questions related to the text2text evaluation module.


Learn to code

Hi Brandon,
I need help to improve my coding for my issue. Please let me know ASAP.
Thanks,
Cristobal Montesino (CrisMDesign)


Creation of MATH domain binding and addition of synonym

Hello,

Would it be possible to create  a GO term for MATH domain binding?
Reference: PMID 22621901
InterPro: https://www.ebi.ac.uk/interpro/entry/IPR002083?q=math domain

Would it be possible to add BTB domain as a synonym for GO term GO:0031208?
Reference: PMID 22621901
InterPro: http://www.ebi.ac.uk/interpro/entry/IPR000210

Thank you
Rossana

Re:2 (for reference) http://amigo.geneontology.org/amigo/term/GO:0031208
@ukemi , @paolaroncaglia , @dosumis , @mcourtot : I remember that we are not adding new 'protein family X binding terms' but are we continuing to add 'x domain binding' terms? Or are such annotations better served by using the parent 'GO:0019904 protein domain specific binding' and adding the INTERPRO domain into the annotation extension field?

I checked and a '%domain binding' term was added in Sept. 2016.  So going ahead and adding this one:
[Term]
+id: GO:0090736
+name: MATH domain binding
+namespace: molecular_function
+def: "Interacting selectively and non-covalently with a meprin and TRAF homology (MATH) domain." [InterPro:IPR002083, PMID:22621901]
+is_a: GO:0019904 ! protein domain specific binding
+created_by: tanyaberardini
+creation_date: 2017-02-06T17:08:28Z
Added synonym as requested:
+synonym: "Broad-Complex, Tramtrack and Bric a brac domain binding" EXACT []
+synonym: "BTB domain" EXACT [PMID:22621901]


Date Picker

Current Behavior
I am thinking of a lightweight date picker component
Desired Behavior
By clicking the input box, you can select a date from a popup calendar.
Screenshots / Mockups

@thekavikumar

I would like to work on this please assign it to me @thekavikumar


IExceptionFilter not being called in views

Given registered exception filter in beta6:
public class ExceptionFilter : IExceptionFilter
{
    public void OnException(ExceptionContext filterContext)
    {
    }
}

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddMvc();
        services.Configure<MvcOptions>(options => options.Filters.Add(typeof(ExceptionFilter)));
    }

    public void Configure(IApplicationBuilder app)
    {
        app.UseStaticFiles();
        app.UseMvcWithDefaultRoute();
    }
}

And throwing exception in a view
@{
    throw new Exception();
}

results in
ExceptionFilter.OnException(ExceptionContext filterContext) not being called, even though it is called then exception is thrown from the controller. MVC5's ExceptionFilter works in both controller and the view.
Repro
https://github.com/Muchiachio/NoExceptionFilterInViews

@rynowak do you remember if this was a deliberate design change?

@Eilon - yes this was intended. Rationale was that exceptions in a 'result' are rarely recoverable because headers have likely been sent.

Oh, okay, as long as it's intended.


Faqs-Q2

Faqs-Q2
Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: Added few FAQs

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[X] Successful preview build.

Hi @kartikeya2609 please check the build fail details and fix the issues. Then we can review. Thanks.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: kartikeya2609:x: krishi0408You have signed the CLA already but the status is still pending? Let us recheck it.

This pull request has been automatically closed due to 30 days of inactivity. If you believe this was done in error, please feel free to reopen the PR or reach out to the BT team for further assistance. Thank you for your contributions!


some obs can be private but show 0,0 coordinates

http://www.inaturalist.org/observations/2647745

Obs has private coordinates.

Not happening any more for this observation. I guess I'll close this until we have another example. I tried looking in the DB for various combinations of "private" and other fields, and didn't find any more like this in the short time investigating.


KOGITO-7055: Sandbox for Serverless Workflow and Dashbuilder

In this PR
JIRA: https://issues.redhat.com/browse/KOGITO-7055
This PR introduces the Serverless Logic Sandbox, which is heavily based on our KIE Sandbox but adapted for Serverless Workflows and Dashboards needs.
It is a collaboration effort. Thanks a lot, @thiagoelg and @jesuino! ❤
Any issues, suggestions, or questions, please don't hesitate to reach out to us.
Goal
Web-based getting started experience to allow developers to try and author Serverless Workflow quickly and DashBuilder files and projects with seamless integration with VS Code, GitHub, Service Registry, and OpenShift.
Running version
An updated version of the sandbox can be found at [1].
Features that integrate with external services require the configuration of KIE Sandbox Extended Services, either locally or remote. You can follow the wizard in the sandbox to set this up locally or simply use this deployed version:

Host: https://kie-sandbox-extended-services-kie-sandbox.rhba-cluster-0ad6762cc85bcef5745bb684498c2436-0000.us-south.containers.appdomain.cloud
Port: leave it empty

Note: I will keep [1] up to date in case of new commits during the review.
[1] https://caponetto.dev/poc/serverless-logic-sandbox

The (build) kie-tools-stunner-editors check has failed. Please check the logs.

The (build) kie-tools-stunner-editors check has failed. Please check the logs.

Thanks a lot, @tomasdavidorg!
Let me comment on the issues:

The samples are taken from kogito-examples repository. We will probably revisit all the samples and replace them with others. Anyway, these are simple fixes that we can do in a separate PR to not block this one.
We already have a JIRA for the eye button issue: https://issues.redhat.com/browse/KOGITO-7450.

Regarding the inline comments:
Most of the files are copied from the KIE Sandbox (online-editor package).
We wanted to change only the minimum because we will probably create a common package that both sandboxes use. That's why you found comments, TODOs, old year in the header, etc.
Anyway, we can create JIRAs for all of them.
Thanks again for the thorough review of the files.


fix(module-index): Ensure that we download from the production module-index

If the local module index returns a 404 then we should pull the builtin from the production module-index

testing this now

bors r+


Redis connection fix

Summary: Fixes the exception 'Nonetype object has no attribute disconnect'. The issue happens when the health check runs before execution of a command and during that time the master node shuts down. Since the master went down disconnect is already initiated and the connection is gone. We need to do null check and should not initiate a disconnect if the connection is null.
Fixes: https://jira.team.affirm.com/browse/ONSERV-516

Hi @teles7
First i must say that this PR will not be merged due to that this package has been EOL ever since redis-py merged this code into their main code line at 4.1.0 (Dec 26, 2021). After this i said i would only accept critical security fixes if ever found, otherwise any new changes should be ported up to redis-py them self instead. Including these fixes, because i do like the jitter solution, but i am not sure they them self have this problem after all code changes and refactoring they have done by now.
A few general things tho when submitting back code from internal/closed source code repos is that your JIRA link do not work from the outside world. Those things are internal to you and not the rest of the community.
Secondly this PR would not be accepted in the current state anyway. At least it might be squashed before merge to avoid unnecessary merge commits.
Thirdly i don't get why you would update all the versioning to your affirm suffix? It would never ever be merged like that.
If you'r company is of the need for this feature inside redis-py-cluster right now you will have to make a fork of this code and to maintain these changes your self either internally or under a new name on PyPi as you can't use my package name there.
Do consider however to send this jitter fix only upstream to redis-py and see if they have a need for it.

Hi @Grokzen , I missed on changing the base branch, sorry. This fix was not meant for redis-py-cluster but for the internal fork that we had.


Testing Github Private Repo OnWebhook with Github APPS integration on pac-e2e-ns-2kzsx

Add a new PR for testing

Pipelines as Code CI/git-clone-private has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
git-clone-from-catalog


Fix bugzilla link for :focus-visible

The old link always forced you to login, the fixed link works anonymously.

Thanks!


In cube configuration file, update isDoubled booleans for letters that should have double letter score.

Need to research which letters on which cubes should be doubled


v0.2.0 docs

Pull Request Test Coverage Report for Build 776d6eeaef1a9d144a9fd1ace67d80d752bd488b-PR-42

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.67%

Totals

Change from base Build 1275a7d54698edcc1829325949fe7161472a27fe:
0.0%

Covered Lines:
302

Relevant Lines:
303

💛  - Coveralls


rename engine from cockroach.django to django_cockroach

fixes #88

Or we can go with django_cockroachdb as suggested by Jordan.


PINOCCHIO: Avoid 'PLC count overshooted' error

In pinocchio the tasks accumulate halos that are written to the past lightcone file. Once all tasks have reached a certain redshift, the halos are written to the disk and the memory is reset. With pinocchio 4.1.3, we had the problem that if there were many box replications from which the halos are accumulated, the memory might be saturated before the output redshift is reached. Thus, some halos will be missing in the lightcone file, resulting in the error warning PLC count overshooted in our job.

To avoid this problem, we can increase the frequency with which we write the accumulated halos to the disk by increasing the DeltaF_PLC parameter in build_groups.c line 123.
So far we did this hard-coded by setting DeltaF_PLC = 0.98 instead of 0.9 for our half-sky pinocchio run from redshift 0.77-1.03, but it would also be nice to include this parameter as an additional choice in the parameter file, e.g. such that it is set to 0.9 by default but the user could change it.

Here are the parameter and outputs file for the run.
pinocchio_params.conf.txt
outputs.txt

DeltaF_PLC can now be given as a parameter through the parameter file.
Pinocchio is installable like always via conda:
conda install -c i4ds -c conda-forge pinocchio
Here is the new layout of the parameter file:
pinocchio_params.txt
This is the default file for pinocchio which uses the test inputs from the author and can be found after the conda installation under:
~/miniconda3/envs/CONDA_ENV_NAME/etc/pinocchio_params.conf


Rebuilding on 'ng serve'. Removed css-resource:src (build-angular:application)

Command
serve
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
We have a large project that takes longer than a minute to start. We upgraded from version 16 to version 17.1.0 and switched to 'build-angular:application.' Every time we start, we get the message: 'Changes detected. Rebuilding...' and the entire project is  rebuilded, taking a long time again. In verbose mode, I see that all CSS images are in the "removed" array. They are displayed, but rebuilding on serve is frustrating.
Minimal Reproduction

generate new project (ng new, SCSS)
apend new class to styles.scss
.test-resource {   display: inline-block;   min-width: 3em;   min-height: 3em;   background-image: url(./assets/icon.png);   background-size: contain;   background-position: 50%;   background-repeat: no-repeat; }
add some icon.png to src/assets
add new element to app.component.html

start app: ng serve --verbose
Changes detected. Rebuilding... { "added": [], "modified": [], "removed": [   "...\\css-resource:src\\assets\\icon.png" ] No output file changes.

Exception or Error
No response
Your Environment
Angular CLI: 17.1.0
Node: 18.17.1
Package Manager: npm 10.3.0
OS: win32 x64

Angular: 17.1.0
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1701.0
@angular-devkit/build-angular   17.1.0
@angular-devkit/core            17.1.0
@angular-devkit/schematics      17.1.0
@schematics/angular             17.1.0
rxjs                            7.8.1
typescript                      5.3.3
zone.js                         0.14.3

Anything else relevant?
No response

Thank you for the quick fix :) We have many css resources (pictures/fonts) from other folders (thirdparty). I hope this path fixes them too.
<EMAIL_ADDRESS>...\\css-resource:vendor\\flags\\svg\\...

@p3t3r5, yes the fix handles all those.


Simplify connecting new dataset from an archive

The various readers now provide the client with whatever metadata is available on the server. This simplifies the data entry in the reader connection form. In particular:

isce2 and nisar are able to autodetect the product type in a variety of scenarios
isce2 can autofill most fields when a dataset has a companion XML file
isce2 and native can assist with filling out the shape once the dataset cell type is determined

Might not be ready for prime time.  Lots of crashing on various clicks.  i like the the autodetect highlights


Add Medium social media platform

See github issue: https://github.com/WhichBrowser/Parser-PHP/issues/505
Link: https://medium.com/

Coverage increased (+0.02%) to 99.97% when pulling 21521b5ece316ae40d6116273eef2280b0694671 on ayumi-cloud:medium into 880b9fa797401d14b28956442944c3daa70240ff on WhichBrowser:master.

@NielsLeenheer Please can you merge this pr.

Fixed in 541b82d8b55fe9d3f94cb4073adca3b28087766e

Fixed in 541b82d8b55fe9d3f94cb4073adca3b28087766e


Ammo isn't using masks for collision checking

Blaster shots disappear noticeably earlier than they are supposed to especially when shooting against a slope.

Same with Toaster, really.

These are currently all screwed up, really. On top of that, a new collision checking function is needed especially for Toaster (pixel perfect sprite + pixel perfect terrain – currently there is only PPS + PPS, hitbox + PPT, hitbox + hitbox and coordinates + quick is-fully-solid terrain test).


Performance

Hi, does it make sense to create namespaces with less utilities? Will it be more performant than x? Sorry if this has been already asked, haven't found

Hello @Reckvy, not it will no be more performant. However it will be lighter since you will include less utilities in your bundle.

I should mention it in the docs.

@gregberge thanks!


File size exceeds server limit (2M)

hello i devellop a blog on laravel laravel 8 and i use file-manager last version everything was working until i put my app on digital server ocean that run on unbuntu now i can't upload images because apparently file size exceeds server limit(2M)
i change the php ini config :
post_max_size = 30M
upload_max_filesize = 30M
i change the nginx.conf :
client_max_body_Size 2000M;
client_body_buffer_size 128k;
i restart both but i still have the same error  the file size exceed server limit and i don't understands how to fix it

Have you looked at the config file?

@fsociety
/*
|--------------------------------------------------------------------------
| Folder Names
|--------------------------------------------------------------------------
*/
'folder_categories'        => [
    'file'  => [
        'folder_name'  => 'files',
        'startup_view' => 'list',
        'max_size'     => 50000, // size in KB
        'thumb' => true,
        'thumb_width' => 80,
        'thumb_height' => 80,
        'valid_mime'   => [
            'image/jpeg',
            'image/pjpeg',
            'image/png',
            'image/gif',
            'application/pdf',
            'text/plain',
        ],
    ],
    'image' => [
        'folder_name'  => 'assets',
        'startup_view' => 'grid',
        'max_size'     => 50000, // size in KB
        'thumb' => true,
        'thumb_width' => 80,
        'thumb_height' => 80,
        'valid_mime'   => [
            'image/jpeg',
            'image/pjpeg',
            'image/png',
            'image/gif',
        ],
    ],
],

I'm encountering the same problem and need assistance in resolving it as soon as possible. Additionally, I have a file named 'valid_mime' that is not compatible with the upload process. How can I address these issues?
Need to answer ASAP.

For anyone encountered this issue:
If you see the exact error message "File size exceeds server limit (2M)", this is usually related to php.ini configuration. The 2M is the default value for post_max_size and upload_max_filesize.
To debug if php.ini is set properly, you can use the following line somewhere in your view or controller:
dd(ini_get('post_max_size'), ini_get('upload_max_filesize'));

If both values are 2M, please check if php.ini configuration is in the right place.


Remove backend/apps/owasp/templates/search  files

Resolves #267
This PR removes unused template files which are no longer required after migrating to the new FE
backend/apps/owasp/templates/search/chapter.html
backend/apps/owasp/templates/search/committee.html
backend/apps/owasp/templates/search/issue.html
backend/apps/owasp/templates/search/project.html

Hey @bhagyashree980, you haven't modified the urls.py file, like it is still pointing to those templates, and throwing TemplateDoesNotExist Error, because we have a redirection rule towards the projects/,
Please check this.

Hii @ShashaankS ,thank you for pointing this out! I apologize for the oversight. I’ll review the urls.py and ensure all references to the old templates are removed or updated.
I’ll make the necessary changes and test the redirection to ensure everything is functioning correctly.


how to control the number of threads for execution

The parallel attribute on the  tag can take a  value: https://testng.org/doc/documentation-main.html#parallel-suites


Conventional routing: Endpoint matching

Finished with https://github.com/aspnet/Mvc/pull/7928
Will open individual issues for additional fixes/features/work


Pre-trained models for fine-tuning on similar data sets?

Would it be possible to release the pre-trained models used for the examples in the ReadMe (And possibly other models), so that individuals can fine tune them on similar data sets?
Training a model completely from scratch is not practical for everyone that wants to experiment with GANs, because of the time and computing resources required. Being able to fine tune models would help those who are limited to cloud computing solutions, those who have weaker hardware, etc..., be able to experiment with creating higher resolution outputs.

That's a good idea.  We want to release models, but they aren't quite ready yet.  Once we increase the quality and usefulness of the models we plan to release as much as we can.

Is there a plan to release any pre-trained models in the near future yet?


Google Mobile-Friendly Test Failing for Gatsby with no CSS via styled-components

I am using Gatsby + styled-components for my new VSCode course site. Everything looks fine on Desktop/Mobile but Google Mobile-Friendly test is failing miserably. Which is costing me SEO and more.
I am out of options, searched about it and didn't find anything. I think I added the webfontloader plugin since then I started having this issue. But not sure. I've since removed it. Any help would be appreciated.

This is what I see on Google's Mobile-friendly test.

Steps to reproduce
Here's the HTML in case you need it to test. I opened this HTML up and yes, there is actually no CSS to be found. Click this raw file, it's huge so not adding it here.
Expected result
CSS should be loaded by Google Mobile-Friendly test it is not at the moment. I am out of options so creating this issue to get some pointers on what to do. This is what the site should look like.

Actual result
CSS is not loaded :(

Even if I try loading this HTML that I got from Google Mobile-friendly test, this is exactly what I see. No CSS.

Environment
 System:
    OS: macOS High Sierra 10.13.5
    CPU: x64 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.11.0 - ~/.asdf/shims/node
    Yarn: 1.10.1 - /usr/local/bin/yarn
    npm: 6.4.1 - ~/.asdf/shims/npm
  Browsers:
    Chrome: 70.0.3538.110
    Firefox: 57.0.1
    Safari: 11.1.1
  npmPackages:
    gatsby: ^2.0.44 => 2.0.44
    gatsby-cli: ^2.4.6 => 2.4.6
    gatsby-image: ^2.0.20 => 2.0.20
    gatsby-plugin-google-analytics: ^2.0.7 => 2.0.7
    gatsby-plugin-manifest: ^2.0.8 => 2.0.8
    gatsby-plugin-offline: ^2.0.13 => 2.0.13
    gatsby-plugin-react-helmet: ^3.0.1 => 3.0.1
    gatsby-plugin-sharp: ^2.0.12 => 2.0.12
    gatsby-plugin-sitemap: ^2.0.3 => 2.0.3
    gatsby-plugin-styled-components: ^3.0.1 => 3.0.1
    gatsby-source-filesystem: ^2.0.8 => 2.0.8
    gatsby-transformer-sharp: ^2.1.8 => 2.1.8
  npmGlobalPackages:
    gatsby-cli: 2.4.3

Looking forward, peace! ✌

I'm really not sure—that sounds like an issue with the Gatsby plugin!

Thanks anyways. Tracking it here #10277

@ahmadawais  @mxstbr I am running into the same issue, using a base create-react-app. I am not convinced that it isn't styled components. Because I ran a similar set up for a client using a scss set up and the styles populated correctly.
@mxstbr  as is my understanding nextjs is an SSR evolution on react no?

I wanted to follow this up, because I think its important to understand what is important in the google crawler. It does not matter that the page is styled correctly, but that the content appears and is parsable. With that said a work around would be to allow for a small css file to be crawlable by google (via a robots.txt) + include a small css file that will quickly load at run time and then is overridden by styled component styles.


Do not require the Xcode version to be appended to osx_sdk cache name in .ci.yaml

To work around https://github.com/flutter/flutter/issues/99429, the osx_sdk cache was renamed to osx_sdk_13a233.  However that means there are two spots to update the Xcode version which need to stay in sync.  Can the different osx_sdk cache names instead be enforced on the recipe side? Or if the Xcode version and osx_sdk now need to stay in sync, can they be combined?

As an FYI, I'm drafting a one pager to have the ci.yaml logic generate the caches based on the passed dependencies.
I'll update this issue once that's complete (ETA end of today)

I wrote go/automatic-swarming-caches to address this. It's open to RFC internally before sending the few CLs to enable it.

@CaseyHillers is this complete?


PooledByteBuf.capacity(...) not enforces maxCapacity()

Motivation:
PooledByteBuf.capacity(...) miss to enforce maxCapacity() and so its possible to increase the capacity of the buffer even if it will be bigger then maxCapacity().
Modifications:

Correctly enforce maxCapacity()
Add unit tests for capacity(...) calls.

Result:
Correctly enforce maxCapacity().

Fixing all the bugs FTW 👍

thanks for taking care of this @normanmaurer !

Cherry-picked into 4.1 (66b17310418230d12c21f1f91287c22022d8d847) and 4.0 (66b17310418230d12c21f1f91287c22022d8d847)


Uploaded DecimalToBinary CPP

Followed all instructions!! @zahinekbal

i m getting while running your code
xy.C++:1:1: error: 'def' does not name a type
xy.C++:4:9: error: expected unqualified-id before 'if'
xy.C++:6:9: error: expected unqualified-id before 'else'
xy.C++:8:1: error: 'n' does not name a type
xy.C++:9:12: error: expected constructor, destructor, or type conversion before '(' token