setup.py can't find  (I run this commond in superset home folder)

Superset version
Superset 0.17.6
Expected results
# assuming $SUPERSET_HOME as the root of the repo
cd $SUPERSET_HOME/superset/assets
npm install
npm run build
cd $SUPERSET_HOME
python setup.py install

I change css style to build my own style but as guide run python setup.py install alert no sush file and I see absolute no have this py in  root directory
Actual results

I have understood this


binascii.Error: Non-hexadecimal digit found

Can someone help me out here - i installed everything according to the read me and checked the env file but once trying to run any script i receive this error -
Non-hexadecimal digit found !
Appreciate ur help thank you guys !

Hi @CBSInvest and thanks for your report!
The error is likely related to encoding differences between on Windows with respect to Unix.
Could you please include the full error stack? From the screenshot I can see only the last part of it.
Cheers,
Cocco

The issue happens when the given private key is not valid.
Are you positive your private key is correct? What happens if you try to import it in Metamask?
(Obviously, do not post your private key here 😅)

@CBSInvest You need to use the private key, not the seed phrase.
You can export the private key directly from Metamask, in the account settings.

@coccoinomane
I am since 6 years in Crypto - i feel embarassed now - i am trading on exchanges and use metamask since two years but i didnt know that Privatkey is not Seed Phrase - thank u for this HUGE LACK of Understanding -
Guess what all my teams closed mining automatically - YOU ARE A GENIUS !
Appreciate you work and will send u a direct donation to ur Wallet later - You deserve IT ! Absolutly Top !


Do not allow uploading private fields.

(Also, changes the name of "TAS" to "Tool-Assisted" replays.) #184

yeah I won't merge this until we decide whether we really want to do it

so, can we merge this now? The changes are approved

oh yeah we probably should, I've just been lazy. I'll pull in new changes and make sure it still works first, but after that I'll submit it


Update doc

Current coverage is 92.61% (diff: 100%)

Merging #220 into master will decrease coverage by 0.28%

@@             master       #220   diff @@
==========================================
  Files            71         69     -2
  Lines          4617       4439   -178
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           4289       4111   -178
  Misses          328        328
  Partials          0          0

Powered by Codecov. Last update e20a4d3...a57ea8f


[TC-429] - removes map due to license incompatibility

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/161/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/122/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-whatchanged/31/

removing code is always a good thing.


AsyncWrite

Is there an equivalence to Tokio::AsyncWrite?

yep! https://docs.rs/embedded-io-async/latest/embedded_io_async/trait.Write.html

Thank you, is there an example for usage within embassy?

Embassy implements the traits for stuff like UART, and embassy-net TCP. Here's one example of it being used in a TCP socket: https://github.com/embassy-rs/embassy/blob/60567b72fb8807bf72aa28f0e2c551953c1ef7bf/examples/rp/src/bin/wifi_tcp_server.rs#L146
you can search the repo for more https://github.com/search?q=repo%3Aembassy-rs%2Fembassy embedded_io_async&type=code

I'm considering this answered, reopen if not.


Branch link identified as non_branch_link

On Android clicking on a link with a registered custom domain opens the app but gives me data that says it is a non_branch_link and +clicked_branch_link=false.
On iOS the link does not open the app but redirects me to the default url.
link is like: https://uat-link.domain.com/W4FNlwg5oX?stats=1
plugins I am using:
    "branch-cordova-sdk": "3.1.5",
    "cc.fovea.cordova.purchase": "7.1.1",
    "cordova-android": "8.0.0",
    "cordova-android-firebase-gradle-release": "3.0.0",
    "cordova-android-play-services-gradle-release": "3.0.0",
    "cordova-android-support-gradle-release": "3.0.0",
    "cordova-clipboard": "1.2.1",
    "cordova-fabric-plugin": "1.1.14-dev",
    "cordova-ios": "4.5.5",
    "cordova-launch-review": "3.1.1",
    "cordova-plugin-add-swift-support": "2.0.2",
    "cordova-plugin-app-event": "1.2.1",
    "cordova-plugin-appminimize": "1.0.1",
    "cordova-plugin-appsflyer-sdk": "4.4.18",
    "cordova-plugin-badge": "0.8.8",
    "cordova-plugin-call-number": "1.0.1",
    "cordova-plugin-camera": "4.0.3",
    "cordova-plugin-camera-preview": "0.10.0",
    "cordova-plugin-datepicker": "0.9.3",
    "cordova-plugin-device": "2.0.2",
    "cordova-plugin-facebook4": "4.2.1",
    "cordova-plugin-file": "6.0.1",
    "cordova-plugin-firebase": "git+https://github.com/dpa99c/cordova-plugin-firebase.git#GH-1057-April-05-android-build-issue",
    "cordova-plugin-globalization": "1.11.0",
    "cordova-plugin-google-analytics": "1.8.6",
    "cordova-plugin-google-conversion-tracker": "1.0.1",
    "cordova-plugin-googleplus": "7.0.1",
    "cordova-plugin-inappbrowser": "3.0.0",
    "cordova-plugin-ionic-keyboard": "2.1.3",
    "cordova-plugin-ionic-webview": "1.1.19",
    "cordova-plugin-local-notification": "0.9.0-beta.3",
    "cordova-plugin-network-information": "2.0.1",
    "cordova-plugin-splashscreen": "5.0.2",
    "cordova-plugin-statusbar": "2.4.2",
    "cordova-plugin-whitelist": "1.3.3",
    "cordova-plugin-x-socialsharing": "5.4.4",
    "cordova-sms-plugin": "1.0.0",
    "cordova-sqlite-storage": "2.6.0",
    "pouchdb-adapter-cordova-sqlite": "2.0.5",
    "skwas-cordova-plugin-datetimepicker": "2.0.0",

My config looks like:
    <branch-config>
        <branch-key value="key_live_...." />
        <uri-scheme value="domain" />
        <link-domain value="link.domain.com" />
        <link-domain value="app.domain.com" />
        <link-domain value="uat-link.domain.com" />
        <link-domain value="demo.domain.com" />
        <ios-team-release value="..." />
    </branch-config>

Note that neither link.domain.com nor uat-link.domain.com open the app in iOS, whereas both app.domain.com and demo.covve.com do. They all open the app in Android but all register as non branch links

@masimplo did you find any solution to this problem?


Spark dependency resolution based on version

This commit fixes #22 .
Spark 1.5.0 > has version 2.3.4-spark for com.typesafe.akka packages (http://mvnrepository.com/artifact/org.apache.spark/spark-core_2.10/1.4.0). This is what the default config is.
If you have 1.5.0 < , version 2.3.11 (http://mvnrepository.com/artifact/org.apache.spark/spark-core_2.10/1.5.0) has a conflict with other akka dependencies required for dr. elephant. You need to exclude those packages.

+1 Thanks @tglstory

yeah,but only in include Hadoop lib in Test? if we dist dr.elephant,we can't find hadoop lib in lib dir

@cjuexuan, the hadoop jars are not to be bundled with the distribution. They will be included while running Dr. Elephant on the cluster. Dr. Elephant adds everything from hadoop classpath to the app_classpath.

@akshayrai yeah,I see,so I close my pull request,because I mistakenly think should't exclude hadoop lib  in build.sbt


support SetDiff1D op

This is same op as ListDiff, since the output shape of the op is variable, and due to its
simplicity, it is implemented as an async op with cpu implementation only.
tf python api
fixes https://github.com/tensorflow/tfjs/issues/692

For repository owners only:
Please remember to apply all applicable tags to your pull request.
Tags: FEATURE, BREAKING, BUG, PERF, DEV, DOC, SECURITY
For more info see: https://github.com/tensorflow/tfjs/blob/master/DEVELOPMENT.md

This change is

async kernels turned out to be super complex so let's drop it in favor of what you're doing here (not calling the kernel for async functions). Once you fix the comments addressed and respond we can go ahead and merge this.


Escape calls for sed and awk in case someone aliased them

that someone being me

closing due to inactivity

this is a reasonable request. sorry i was to lazy to say “hi i’m too lazy to get to this forever” but let’s leave this open :)

I opened #323 for a similar problem. I used command there instead of \, but I'm not sure if there's any tangible differences. command feels a bit more explicit/descriptive to me, but not a big deal either way. I'm happy to update it to use \ if that's preferred, so that both PRs are consistent.


Don't working in 20.0-ALPHA1 (19.90.101) Git:20220125-e60e5c24bf

Runs well. However, when I run the test, only the ping is detected. There are no other visual changes. The log has the following error:
-->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'Thread' object has no attribute 'isAlive'
Traceback (most recent call last):
 File "/home/loly/.kodi/addons/script.speedtester/resources/lib/addon.py", line 658, in onClick
   self.speedtest(share=True, simple=True)
 File "/home/loly/.kodi/addons/script.speedtester/resources/lib/addon.py", line 860, in speedtest
   dlspeed = self.download_speed(urls, simple)
 File "/home/loly/.kodi/addons/script.speedtester/resources/lib/addon.py", line 752, in download_speed
   while prod_thread.isAlive():
AttributeError: 'Thread' object has no attribute 'isAlive'
-->End of Python script error report<--

https://github.com/add-ons/script.speedtester/files/7936480/fragment.log

Is it possible you are running an older version?
This has been fixed in #22

And then I noticed that we never actually release v1.1.3 :-/

Fixed in #24

Thanks for reporting !

I am facing the same issue on kodi 20a1. I installed the latest libreelec 11 nightly yesterday (now on python 3.9.x) so as to check on kodi 20a1 and I noticed that the addon does not work there, but behaves as mentioned at the start.
I know that v1.1.3 is available through github and I can download it and install it from zip, but can you please add it on the main repo too? Because, as seen below, it is still on v1.1.2 there.
https://mirrors.kodi.tv/addons/nexus/script.speedtester/
Plus, the same version is listed as the latest for kodi 18 and 19
https://mirrors.kodi.tv/addons/matrix/script.speedtester/
https://mirrors.kodi.tv/addons/leia/script.speedtester/


refactor: recaptcha demosite new UI

Updated Demosite to align with new UI.
Fixes N/A, internal project

LGTM thanks Sita!


Generate Notification Popups

When a user either publishes a note or deletes a note a popup (alert) should be created which notifies the user that the task is done successfully or there has been an error.

I think I'm having merge conflicts, do not merge branch even if issue is closed until after conflicts are resolved.


Added skip_last operator

Added skip_last operator,
please review.
Thank you,
Grigoriy

Looks good. Thanks!


Update connect-sharepoint-online.md

Clarifying that you need to install new versions for new features, as it looks like versions as recent as last spring don't  offer TLS 1.2, so almost everyone will need to update soon.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/docs-conceptual/sharepoint-online/connect-sharepoint-online.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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


Queue Testing and Quality improvement

In order to improve the test coverage of the code base of libGDX, this pull request is created.
In this pull request, the following has been done to the file utils/queue:

Added/Extended the test coverage
Removed commented code
Updated/Improved the javaDocs
Minor static analysis upgrades

The code coverage has been improved as follows

File
Class, %
Method, %
Line, %

utils/queue (old)
100%
70%
80%

utils/queue (new)
100%
100%
100%

@mgsx-dev, @yuripourre The format changes have been reverted!

Seems good to me!

@mgsx-dev thank you very much with your input,
it is my first merge request with an open source project, I am trying to adapt to the project.

Sorry to be a bit rude and i don't want to discourage you.
Your input really helps in delivering quality merge requests that fit the project.

Junits you added doesn't hurt though.
After this merge request I will mostly focus on the addition of test cases instead of refactoring the documentation.

but i think it'd be better to focus on the part of libGDX that really miss documentation and tests. And i don't think collections are at the top priority.
I understand that there is little gain in updating the text, so I am continuing with mainly improving the test coverage after this merge request. If an entire file lacks documentation I might update that as well.
Thank you so far for the input, I believe I have resolved

Do not add @Override, diamond operators, or other stylistic changes if they do not already exist in the class you are modifying.
Queue is already thoroughly javadoc'ed before this PR, at least by my own rules. Javadoc is only used when it is needed. Adding javadoc to something that is already clear is not helpful (eg "Sets the name." for a setName method). Using more words to say the same thing is not helpful.
Tests are good, especially for collections. We could merge the Queue test, but not any of the changes to Queue (unless some useful change is hidden in the noise).

@NathanSweet I reverted ALL changes to the Queue.java. Even commented code is back.


vmap can't be used with equinox module as op

Attempting to use einx.vmap with an equinox module as the op argument will crash if the module has any parameters (as jax arrays are unhashable).
This is particularly problematic, as vmapping over a module is quite common in idiomatic equinox code with things like the built-in Embedding module more or less requiring it.

After some additional investigation, a potential path towards a solution: when tracing with Jax backend, prior to hitting the cache with the input shapes and function, check if the function is a bound method. If so, check if the object it's bound to is a pytree. If so, map over the pytree replacing all tensors with their shapes, and then use this and the unbound method as the cache key instead of using the bound method. I'll try and put together a PR in the coming days if I have time.


Airlock Notifier - Change SMTP connector type

Resolves #3572
What is being addressed
After SMTP connector became GA in Azure Logic Apps, terraform deployment can now be simplified to not use plain ARM for the smtp api connection deployment
How is this addressed

Remove api connector arm json definitions
Change logic app connections.json to point at the new built in connector, configured with app settings.

/test-force-approve

/test-force-approve

/test

/test-force-approve


polling remove fatal error

@ehsandeep  @Mzack9999  closing this PR since it is already been implemented in https://github.com/projectdiscovery/interactsh/pull/531


Possibly in-house DB filter not working correctly

Describe the bug
The in-house filter behaves weirdly in one site instance. It is not reproducible. The in-house db reports the following count data:
count_hom_ref | count_het | count_hom_alt | count_hemi_ref | count_hemi_alt
            0 |         3 |             21|              0 |              0

However, the cutoff settings show the variant already at 21. It should be 24 (3+21), though.
https://github.com/bihealth/varfish-server/blob/main/variants/queries.py#L877
https://github.com/bihealth/varfish-server/blob/main/variants/queries.py#L941
To Reproduce
Not reproducible
Expected behavior
In the above case, cutoff working at 24.

The reporting site actually reported that this was caused from multiple imports of the same data and incomplete understanding of what was happening internally in VarFish.


(MCO-799) Consider string and symbol keys equivelant

This has the end effect that:
c.get_fact(:fact => "cluster")

is the same as:
c.get_fact("fact" => "cluster")

in the case where the DDL defined the input :fact for the action
:get_fact
Additionally RPC::Request will now intelligently convert request[:foo]
into fetching "foo" from such a request.  We could perhaps munge the
entire incoming request instead of this approach but this seems simpler
to implement
Long term I want to downgrade MCollective network protocols to be JSON
pure to facilitate non Ruby clients and JSON based REST gateways and
just general removal of user supplied YAML.
This changes makes it so that not everyone have to redevelop their DDLs,
Agents and Clients
The one problem case is where someone legit made a input :foo and also
one "foo" on the same action, if all we have is a string to represent
the input - "foo" - we cannot distinguish between them, such agents will
now warn on the client.  I anticipate this to be extreme edge cases as
we've been really good at recommending symbols in all docs and all our
agents

I did some additional update here so that the entire RPC::Request can function in a world of pure string based inputs - and tested this with a JSON pure client this works all the way through.
Might be worth holding off merging this one just yet as I think it wont be a huge deal to make the Client work JSON pure in a backward compat way which will help a bit with what we discussed on Slack @MikaelSmith

This fails on 1.8.7, any objections if I just remove 1.8.7 from the test matrix?

CLA signed by all contributors.

I won't get to this until late next week at the earliest. @puppetlabs/marionette-collective-maintainers

Confusion between symbols and strings for keys seems to come up frequently. This approach makes sense over converting during serialization/deserialization as it doesn't break people who might be using string keys instead of symbols.

@MikaelSmith I might take a stab at making the code a tad less horrific, but i fear there's no pretty way to do this, useful to have thoughts though, will try do that this week

@MikaelSmith I've addressed that comment, I think this is probably OK, its a big ugly but that seems par for the course with what its doing.


Update UG

Attempt to reformat sort
Fix minor issues in UG

Codecov Report

Merging #317 (c79e1a6) into master (93536f8) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #317      +/-   ##
============================================
- Coverage     62.98%   62.93%   -0.06%
+ Complexity      501      500       -1
============================================
  Files            88       88
  Lines          1713     1713
  Branches        195      195
============================================
- Hits           1079     1078       -1
- Misses          552      553       +1
  Partials         82       82

Impacted Files
Coverage Δ

src/main/java/seedu/trackermon/ui/HelpWindow.java
0.00% <ø> (ø)

...edu/trackermon/logic/parser/SortCommandParser.java
77.63% <0.00%> (-1.32%)
:arrow_down:

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 93536f8...c79e1a6. Read the comment docs.


nitrogen8mm-dwe.coffee: Switch board back to public

We do not have yet all the bits and pieces in our infrastructure to
handle this transition at this time so let's make the board public
again.
Changelog-entry: Switch nitrogen8mm-dwe back to public
Signed-off-by: Florin Sarbu<EMAIL_ADDRESS>

@balena-ci I self-certify!


Feature request : get probability distribution

I have a prompt and then i get an answer. In some part of answer is a JSON, something like this:
{
    res:"yes"
}

or this:
{
    res:"no"
}

I want to know the probability of token "yes" and "no". and use these probabilities in some algorithm.

Hi there, will merge this with https://github.com/ollama/ollama/issues/2415


Add prow lint and test scripts

Description
Changes proposed in this pull request:

prow lint script
prow test script
replace wget with curl in Dockerfile

Related issue(s)

/test pull-compass-console-build

/test pull-compass-console-build

/test pull-compass-console-build

/test pull-compass-console-build

/test pull-compass-console-build

/test pull-compass-console-build

/test pull-compass-console-build

/test pull-compass-console-build

/test pull-compass-console-build

/test pull-compass-console-build

/test pull-compass-console-build

/test pull-compass-console-build


Bash script to remove AWS resources created by init.sh

Re-running init.sh can be problematic.
This script deletes all of the AWS resources associated with the LambdAuth project.
It is useful for re-initializing all of the resources cleanly from scratch using init.sh.
cleanup.sh uses the config.json file for the REGION and BUCKET parameters.
The script also dynamically determines the CloudWatch logs that have been created that are associated with this project and deletes them as well.
The script also determines the dynamically created IdentityPoolId required to remove the pool.

Very nice :+1: but it would be an improvement to ask user whether to delete each resource?
e.g. "Do you want to delete bucket?"


Fix svelte-stories-loader in Windows

Fix #131

Note: All my instances of Storybook work with this patch, SB7.4, Webpack5 and Svelte 4.2

:rocket: PR was released in v4.0.1 :rocket:


Filter component

Description
A filter function to match and filter tags in workforms. The motivation behind this feature is to enhance the user experience by allowing more efficient categorization and organization of workforms based on their tags.
Fixes #32
Type of change

[x] New feature

How Has This Been Tested?

[x] Clicking all the tags
[x] Using a combination of searching and filtering on tags

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works

Filter ziet er goed uit en alles werkt naar behoren!
Ik heb nog even een merge uitgevoerd waarbij de main is gemerged met de Filter branch. Verder kan het component gemerged worden met de main. 🎉


Social: Add 'shout'

This is the equivalent of 'say', except that it blasts it across the area.
Because we'll want some color markdown (same for emotes), we should add a new JSON type for this:
{ type: 'SocialMessage', subtype: 'shout', message: 'blah' }

Something like this.

This is also done. HUZZAH.


Valid email address format to be used during profile updation

Describe the bug
In the profile section, the user is able to update the email without writing it in a proper format. This should be corrected.
Expected behavior
only a valid email address must be allowed to enter while updating the profile.
Screenshots

Additional context
Please assign this task to me.

Please assign this task to me.

/assign

Done #46


Fix #10185, Re-evaluate effect immediately until it doesn't re-trigger itself

This is a proposal, or at least something to think about.
The improved reactivity system now evaluates computeds lazily. This caused issues when the computed re-triggered itself (in)directly. See https://github.com/vuejs/core/issues/10185
Although I can follow the idea that direct recursive re-triggering is an antipattern, we must support this situation. Re-triggering may happen indirectly and in a not-so-obvious way to the user. Think of a sync watchers for example, which act immediately upon the change of a computed and may trigger other changes outside of the scope of the original computed. I think that we all agree that we need to support this.
The current solution leaves the computed 'dirty' after returning a value to the invoker (in the case of a recursive trigger). This value is already 'old' when it is being used. I think it would be more sane to re-evaluate the computed until it is no longer dirty, then return that value. This prevents the problems that have been found (so far), because, after executing the effect, it can never be dirty.
In the case of infinite recursion, we could detect this after X iterations mark the effect as NotDirty as normal but issue a warning.
I don't know if this is a better approach than fixing this issues one by one, as in the PR https://github.com/vuejs/core/pull/10187
The change did have impact on the unit tests, but nothing unexpected. The unit tests have been updated in this PR.
The PR may impact current deployments using vue, because recursion is handled differently and effects may be triggered in a different order. I tested it on our own application, which makes complex use of reactivity. I found that we received some warnings for infinite recursion, which are probably true positives that we should take a look at. Other than that everything seemed to work perfectly as before.
@johnsoncodehk @Doctor-wu @yyx990803 any considerations on this approach?

I think warn users when they are using reactivity in a problematic / incorrect way is a good point


DBT Docs command not supported

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3504
Originally created by @stephane.burwash on 2022-05-18 12:42:12

What is the current bug behavior?
When running the dbt docs command, we get an error stipulating that the command does not exist
What is the expected correct behavior?
It should allow us to run the command
Steps to reproduce
Run command meltano invoke dbt:docs
Relevant logs and/or screenshots
Returns: Command 'docs' could not be found. Transformer 'dbt' supports the following commands: clean, compile, deps, run, seed, snapshot, test
Possible fixes
Sorry, no idea
Further regression test
Ensure we automatically catch similar issues in the future

[ ] Write additional adequate test cases and submit test results
[ ] Test results should be reviewed by a person from the team

View 3 previous comments from the original issue on GitLab

Closing as we have this documented on the Hub https://hub.meltano.com/transformers/dbt-bigquery#command-docs-generate


[Feature] Support llava on seed-bench, mme and more multi-modal benchmarks.

描述该功能
Thank you for your awesome work. Is there a plan to support llava on seed-bench, mme and more multi-modal benchmarks?
是否希望自己实现该功能？

[ ] 我希望自己来实现这一功能，并向 OpenCompass 贡献代码！

Thanks for the insightful suggestions. We will add this feature into our backlog. Also welcome to contribute.

We have merged the evaluation of LLaVA, feel free to try it.


Modules missing from react-router-dom beta.2

Version
4.0.0-beta.2
Steps to reproduce
npm install react-router-dom@next

Expected Behavior
Able to import modules per docs.
Actual Behavior
Not all modules listed in index.js are included with the package. It appears that any of the modules that actually reside in the react-router root package aren't being bundled w/ react-router-dom. But that's an issue because react-router-dom's index.js references them like so:
var _MemoryRouter2 = require('./MemoryRouter');

We fixed this already :) https://github.com/ReactTraining/react-router/pull/4391

Ah, my bad, forgot to search first. ETA on the release?

If you are eager to use the beta; you can move the missing file from node_modules/react-router to node_modules/react-router-dom, and renaming ServerRouter.js to StaticRouter.js

Published in 4.0.0-beta.3. npm install react-router-dom@next

awesome :) it's working for me.


oFocusInfo lacks documentation

OpenUI5 version: any
Browser/version (+device/version): n.a.
Any other tested browsers/devices(OK/FAIL): n.a.
URL (minimal example if possible): https://sapui5.hana.ondemand.com/#/api/sap.ui.core.Element%23methods/focus
User/password (if required and possible - do not post any confidential information here):
The focus function lacks documentation. It mensions oFocusInfo as an argument. This contains 'targetInfo' with type 'any' (?). What information or type are we supposed to provide to this function, to all these arguments?
This oFocusInfo contains different information compare to the one in, looking at the signature of the method:
https://sapui5.hana.ondemand.com/#/api/sap.ui.core.Element%23methods/applyFocusInfo
Is that a correct assumption?

Hello @jvanattedev,
Thank you for sharing this finding. I've created an internal incident DINC0098637. The status of the issue will be updated here in
GitHub.
Regards,
Teodor

Hello @jvanattedev Element#focus as a base class method defines the focus possibilities and as documented it defines "Further control-specific setting of the focus target within the control". So if want to know that its type should be or whether it should be provided or not must be documented by the controls.
e.g. sap.m.Table defines the targetInfo as
"If oFocusInfo.targetInfo is of type sap.ui.core.message.Message, the focus will be set as accurately as possible according to the information provided by sap.ui.core.message.Message."
https://sapui5.hana.ondemand.com/#/api/sap.m.Table%23methods/focus
I guess we cannot define this better.


[BUG] There are "...management cluster cache was nil" error messages is embedded Rancher logs

Describe the bug

Provision a new v1.2.0 cluster or upgrade a v1.1.2 cluster. We can see these messages in rancher pod log:
2023/09/18 08:47:09 [ERROR] rkecluster fleet-local/local: error while retrieving management cluster from cache: management cluster cache was nil
2023/09/18 08:49:09 [ERROR] rkecluster fleet-local/local: error while retrieving management cluster from cache: management cluster cache was nil
2023/09/18 08:49:37 [INFO] Downloading repo index from http://harvester-cluster-repo.cattle-system/charts/index.yaml
2023/09/18 08:49:37 [INFO] Downloading repo index from https://releases.rancher.com/server-charts/stable/index.yaml
2023/09/18 08:50:04 [ERROR] rkecluster fleet-local/local: error while retrieving management cluster from cache: management cluster cache was nil
2023/09/18 08:50:05 [ERROR] rkecluster fleet-local/local: error while retrieving management cluster from cache: management cluster cache was nil

To Reproduce
Steps to reproduce the behavior:

Provision a new v1.2.0 cluster or upgrade a v1.1.2 cluster.
Check the rancher log.

Expected behavior

No error messages are there.
Support bundle

Environment

Harvester ISO version: v1.2.0
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Consult @Oats87 and here is some reply:

To check feature flags:

NAME                                     CUSTOM VALUE   DEFAULT   DESCRIPTION
continuous-delivery                      <no value>     true      Gitops components in fleet
fleet                                    <no value>     true      Install Fleet when starting Rancher
harvester                                <no value>     true      Enable Harvester integration, with ability to import and manage Harvester clusters
harvester-baremetal-container-workload   <no value>     false     [Experimental]: Deploy container workloads to underlying harvester cluster
istio-virtual-service-ui                 <no value>     true      Exposes a UI that enables users to create, read, update and delete virtual services and destination rules, which are traffic management features of Istio.
legacy                                   <no value>     false     Enable legacy features
multi-cluster-management                 <no value>     false     Multi-cluster provisioning and management of Kubernetes clusters.
rke1-custom-node-cleanup                 <no value>     true      Enable cleanup RKE1 custom cluster nodes when they are deleted
rke2                                     <no value>     true      Enable provisioning of RKE2
token-hashing                            <no value>     false     Enable one way hashing of tokens. Once enabled token hashing can not be disabled
unsupported-storage-drivers              <no value>     false     Allows the use of types for storage providers and provisioners that are not enabled by default.

Chris kim: mcm should not be turn off while rke2 is on.

@bk201 will this impact the upgrade result?

Just confirm also found this issue in the newly installed Harvester v1.2.0 cluster:
2023/09/21 08:37:10 [ERROR] rkecluster fleet-local/local: error while retrieving management cluster from cache: management cluster cache was nil
2023/09/21 08:40:11 [ERROR] rkecluster fleet-local/local: error while retrieving management cluster from cache: management cluster cache was nil
2023/09/21 08:40:55 [INFO] Downloading repo index from http://harvester-cluster-repo.cattle-system/charts/index.yaml
2023/09/21 08:40:55 [INFO] Downloading repo index from https://releases.rancher.com/server-charts/stable/index.yaml
2023/09/21 08:43:11 [ERROR] rkecluster fleet-local/local: error while retrieving management cluster from cache: management cluster cache was nil
2023/09/21 08:45:55 [INFO] Downloading repo index from http://harvester-cluster-repo.cattle-system/charts/index.yaml
2023/09/21 08:45:55 [INFO] Downloading repo index from https://releases.rancher.com/server-charts/stable/index.yaml
2023/09/21 08:46:11 [ERROR] rkecluster fleet-local/local: error while retrieving management cluster from cache: management cluster cache was nil

Note that was a guess in the dark and not the actual root cause.
Let me look into this deeper, it is possible we (Rancher) moved the initialization of the management cache behind a feature flag that is now causing this problem.

This is a benign error, but should be suppressed based on the mcm feature flag.

begin error and seems not to affect any thing.


R4i Gold 3DS HW version D Flash backup

I have an R4i Gold 3DS HW version D (probably a clone). Flashed it with Ntrboot and works like a charm. I've kept the original flash backup and since that version is not listed on de 3dshacks site I just wanted to know if you fancy it me sharing it so you can add it. I've put the bin and a photo of the card (so you can see the HW version) inside the zip.
Zip on filetrip

thanks!


[apcupsd_exporter] add schedule workflow

Now using /commits api endpoint to grab most recent commit SHA.

echo '{merge: true}' | jq -r '.merge'


chore(deps): update common-dev-assets digest to ec92129

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
83efbc2 -> ec92129

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 2.3.1 :tada:
The release is available on:

GitHub release
v2.3.1

Your semantic-release bot :package::rocket:


Error: No valid Swagger UI releases found

Hi! First of all thank you for maintaining this project.
We'd like to report an issue that we started getting this morning (before it was working well for 2 months).
We have a step in our github workflow whichi is defined as:
      - name: Generate Swagger UI
        uses: Legion2/swagger-ui-action@v1
        with:
          spec-file: ./api.json
          output: ./api_doc

It started failing with the following error message:
##[debug]Evaluating condition for step: 'Generate Swagger UI'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Generate Swagger UI
##[debug]Loading inputs
##[debug]Loading env
Run Legion2/swagger-ui-action@v1
  with:
    spec-file: ./api.json
    output: ./api_doc
    version: ^3.0.0
  env:
    ENV: ***
    BRANCH: ***
    SSH_AUTH_SOCK: /ssh-agent.sock
/usr/bin/docker exec  e060751954ce1cb27d97366545a427f7649a79229efddcad04bede8f9ff2b5d1 sh -c "cat /etc/*release | grep ^ID"
##[debug]ID=ubuntu
##[debug]ID_LIKE=debian
##[debug]Running JavaScript Action with default external tool: node12
Error: No valid Swagger UI releases found
Error: Error: No valid Swagger UI releases found
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Generate Swagger UI

From what I see, the error is originates from this place: https://github.com/Legion2/swagger-ui-action/blob/main/src/swagger-ui-action.ts#L201
It looks like it cannot find the matching release (3.0.0), but it's there: https://github.com/swagger-api/swagger-ui/releases/tag/v3.0.0
Thank you in advance.

@indyteo can you please update the PR and use the pagination util provided by the octokit library.


Runtime support for record default values

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Fixes #40805
Fixes #40214
Fixes #37351
Fixes #40943
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Locally tested LargeMethodOptimizer by reducing the SPLIT_INSTRUCTION_COUNT_THRESHOLD and FUNCTION_INSTRUCTION_COUNT_THRESHOLD to 5, 10 to verify the BIR optimization changes.
All the unit tests were passed.

Removed two negative CLI OptionTestruntime tests testInvalidType and testInvalidUnionType as these are validated at compile time and it is not possible to have those error messages at runtime.

Please resolve the conflicts.

@chiranSachintha, the following is broken.
import ballerina/io;

public function main() {
    [int, string][] a = [
        [1, "Jo"]
    ];

    var b = from var [id, name] in a
                let record {|
                    string name;
                    int id;
                    boolean employed = true;
                    decimal salary = 1234;
                |} rec = {id, name}
                select rec;
    io:println(b);
}

Previously correct
[{"name":"Jo","id":1,"employed":true,"salary":1234}]

Now
[{"name":"Jo","id":1,"employed":false,"salary":null}]

Related to https://github.com/ballerina-platform/ballerina-lang/pull/37184#discussion_r1295789591

@chiranSachintha, please note.
Issue 2
import ballerina/io;

type Foo record {|
    int[] x = [1];
    int[] y = [];
|};

type Bar record {|
    *Foo;
    int[] & readonly x = [2];
|};

public function main() {
    Bar & readonly b1 = {};
    io:println(b1); // {"x":[2],"y":null}
    io:println(b1.y is int[]); // always true hint, but prints false
}

Issue 1

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/40579/commits/1d2bf2db52da71b4bee47e6d1b161575c5376a7d

Issue 2
Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/40579/commits/61b745576d639b0f962f34aea534c4e3a6ee064a

@HindujaB This PR seems not following best practices of PR titles and commit messages.
Use the imperative mood in the subject line.
Use the imperative mood in the subject line. A properly formed Git commit subject line should always be able to complete the following sentence:
If applied, this commit will `<your subject line here>`

ack. Changed the title.

@chiranSachintha @HindujaB can y'all please resolve the conflicts?

Incorrect behaviour for
import ballerina/io;

type Foo record {|
    int[] x = getX();
    int[] & readonly y = getY();
|};

isolated function getX() returns int[] {
    io:println("getX");
    return [1];
}

isolated function getY() returns int[] & readonly {
    io:println("getY");
    return [2];
}

public function main() {
    map<anydata> m = {y: <readonly> [3]};
    Foo & readonly n = checkpanic m.cloneWithType();
    io:println(n);
}

getY
getX
getY
getX
error: {ballerina/lang.value}ConversionError {"message":"invalid value for record field 'x': expected value of type '(int[] & readonly)', found 'int[]'"}
        at ballerina.lang.value.0:cloneWithType(value.bal:114)
           temp:main(temp.bal:20)

Crashes
import ballerina/io;

public function main() {
    [int, string][] a = [
        [1, "default"],
        [2, "main"]
    ];

    var b = from var [id, name] in a
                let record {|
                    string name;
                    int id;
                    decimal[] values = [12, 13];
                |} rec = <readonly> {id, name}
                select rec;
    io:println(b);
}

[2023-09-12 17:58:44,645] SEVERE {b7a.log.crash} - Cannot read field "kind" because "moveIns.rhsOp.variableDcl" is null
java.lang.NullPointerException: Cannot read field "kind" because "moveIns.rhsOp.variableDcl" is null
        at org.wso2.ballerinalang.compiler.bir.optimizer.BIROptimizer$RHSTempVarOptimizer.visit(BIROptimizer.java:166)
        at org.wso2.ballerinalang.compiler.bir.model.BIRNode$BIRBasicBlock.accept(BIRNode.java:485)
        at org.wso2.ballerinalang.compiler.bir.optimizer.BIROptimizer$RHSTempVarOptimizer.lambda$visit$3(BIROptimizer.java:128)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        ...

Incorrect behaviour for
import ballerina/io;

type Foo record {|
    int[] x = getX();
    int[] & readonly y = getY();
|};

isolated function getX() returns int[] {
    io:println("getX");
    return [1];
}

isolated function getY() returns int[] & readonly {
    io:println("getY");
    return [2];
}

public function main() {
    map<anydata> m = {y: <readonly> [3]};
    Foo & readonly n = checkpanic m.cloneWithType();
    io:println(n);
}

getY
getX
getY
getX
error: {ballerina/lang.value}ConversionError {"message":"invalid value for record field 'x': expected value of type '(int[] & readonly)', found 'int[]'"}
        at ballerina.lang.value.0:cloneWithType(value.bal:114)
           temp:main(temp.bal:20)

Fixed in commit https://github.com/ballerina-platform/ballerina-lang/pull/40579/commits/fd09345bc9c29a95c93d56360309d771e57d14a6

import ballerina/io;

type Foo record {|
    int[] x = getX();
    int[] & readonly y = getY();
|};

isolated function getX() returns int[] {
    io:println("getX");
    return [1];
}

isolated function getY() returns int[] & readonly {
    io:println("getY");
    return [2];
}

public function main() {
    map<anydata> m = {y: <readonly> [3]};
    Foo & readonly n = checkpanic m.cloneWithType();
    io:println(n);
}

Now fails with
getX
getX
error: {ballerina/lang.value}ConversionError {"message":"invalid value for record field 'x': expected value of type '(int[] & readonly)', found 'int[]'"}
        at ballerina.lang.value.0:cloneWithType(value.bal:114)
           temp:main(temp.bal:20)

import ballerina/io;

type Foo record {|
    int[] x = getX();
    int[] & readonly y = getY();
|};

isolated function getX() returns int[] {
    io:println("getX");
    return [1];
}

isolated function getY() returns int[] & readonly {
    io:println("getY");
    return [2];
}

public function main() {
    map<anydata> m = {y: <readonly> [3]};
    Foo & readonly n = checkpanic m.cloneWithType();
    io:println(n);
}

Now fails with
getX
getX
error: {ballerina/lang.value}ConversionError {"message":"invalid value for record field 'x': expected value of type '(int[] & readonly)', found 'int[]'"}
        at ballerina.lang.value.0:cloneWithType(value.bal:114)
           temp:main(temp.bal:20)

This returns the following for me.
getX
error: {ballerina/lang.value}ConversionError {"message":"invalid value for record field 'x': expected value of type '(int[] & readonly)', found 'int[]'"}
        at ballerina.lang.value.0:cloneWithType(value.bal:114)
           hinduja.record_std_lib.0:main(temp.bal:75)

@MaryamZi Isn't it the correct behavior as we create record for Foo & readonly?

import ballerina/io;

type Foo record {|
    int[] x = getX();
    int[] & readonly y = getY();
|};

isolated function getX() returns int[] {
    io:println("getX");
    return [1];
}

isolated function getY() returns int[] & readonly {
    io:println("getY");
    return [2];
}

public function main() {
    map<anydata> m = {y: <readonly> [3]};
    Foo & readonly n = checkpanic m.cloneWithType();
    io:println(n);
}

Now fails with
getX
getX
error: {ballerina/lang.value}ConversionError {"message":"invalid value for record field 'x': expected value of type '(int[] & readonly)', found 'int[]'"}
        at ballerina.lang.value.0:cloneWithType(value.bal:114)
           temp:main(temp.bal:20)

This returns the following for me.
getX
error: {ballerina/lang.value}ConversionError {"message":"invalid value for record field 'x': expected value of type '(int[] & readonly)', found 'int[]'"}
        at ballerina.lang.value.0:cloneWithType(value.bal:114)
           hinduja.record_std_lib.0:main(temp.bal:75)

@MaryamZi Isn't it the correct behavior as we create record for Foo & readonly?

The parallel to cloneWithType is like creating the value with a constructor at compile-time, right? IMO, the behaviour should be the same. So calling getX once and wrapping it in cloneReadOnly.
Foo & readonly f = {y: <readonly> [3]};
io:println(f);

getX
{"x":[1],"y":[3]}

The parallel to cloneWithType is like creating the value with a constructor at compile-time, right? IMO, the behavior should be the same. So calling getX once and wrapping it in cloneReadOnly.

Agreed. This seems like a cloneWithType bug. The same behavior can be seen in the 2201.7.2.
Created a separate issue https://github.com/ballerina-platform/ballerina-lang/issues/41378 to track.

The parallel to cloneWithType is like creating the value with a constructor at compile-time, right? IMO, the behavior should be the same. So calling getX once and wrapping it in cloneReadOnly.

Agreed. This seems like a cloneWithType bug. The same behavior can be seen in the 2201.7.2. Created a separate issue #41378 to track.

No, on U7 (without this change) what is mentioned in that issue is the expected behaviour.
Foo & readonly _ = {y: <readonly> [3]};

This also failed with
error: {ballerina/lang.map}InherentTypeViolation {"message":"invalid value for record field 'x': expected value of type '(int[] & readonly)', found 'int[]'"}
        at Foo:Foo$gen$.<init>(sample.bal:4)
           sample:main(sample.bal:17)

Only with the fix for https://github.com/ballerina-platform/ballerina-lang/issues/38558 this works. So we need to fix this at runtime too.

Crashes
import ballerina/io;

public function main() {
    [int, string][] a = [
        [1, "default"],
        [2, "main"]
    ];

    var b = from var [id, name] in a
                let record {|
                    string name;
                    int id;
                    decimal[] values = [12, 13];
                |} rec = <readonly> {id, name}
                select rec;
    io:println(b);
}

Fixed  With https://github.com/ballerina-platform/ballerina-lang/pull/40579/commits/212b8e9f0d9b6c9ed553e57b23055be7fde8520e

Only with the fix for #38558 this works. So we need to fix this at runtime too.

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/40579/commits/10c4b143b5b4374ee9b35800633f6223fe4cecac

import ballerina/io;

type Foo record {|
    int[] x = [1];
    int[] y = [12, 1234];
|};

public function main() {
    var fn = function () returns readonly & record {| *Foo; int[] & readonly x = [2]; |} {
        return {};
    };

    var list = [fn()];
    list[0] = {x: [321]};
    io:println(list);
}

This crashes.

import ballerina/io;

type Foo record {|
    int[] x = [1];
    int[] y = [12, 1234];
|};

public function main() {
    var fn = function () returns readonly & record {| *Foo; int[] & readonly x = [2]; |} {
        return {};
    };

    var list = [fn()];
    list[0] = {x: [321]};
    io:println(list);
}

This crashes.

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/40579/commits/6f835e9a510a40ac1fad5933c199319bc4823db0


Table Filter Features

Borrow
default tab: Available, descending

[x] Collateral, alphabetic, default: a-z
[x] LTV, pct, default: decrease
[x] Interest, pct, default: decrease
[x] Available, number, default: decrease
[x] Maturity, number/timestamp, default, decrease

My Positions - Positions
default tab: ?

[x] Collateral,
[x] Liq Price, collateralization ratio
[x] Minted
[x] State, group state, alphabetic, default: a-z

My Positions - Challenges
default tab: ?

[x] Remaining Size, number, decrease
[x] Current Price, number, increase
[ ] State
[ ] Time Left, number/timestamp?, increase

Monitoring
default tab: sorted by collateralization.

[x]  Collateral: decreasing order (biggest first by market value)
[x]  Collateralization: increasing order (lowest first)
[x]  Expiration: increasing order (soonest first)
[x]  Challenges: decreasing order (highest first)

Auctions
default tab: Phase: Zero Price, Declining Price, Fixed Price, <->

[x] Available, Market Value, default: decrease
[x] Price, number, default: decrease
[ ] Phase, ... see default tab
[ ] Ends in, number/timestamp, default increase

testing and considered done.


Preview doesn't display with HDMI monitor

Hello,
I have tried to begin with the picamera module and i started with simple scripts such as :
`from time import sleep
import picamera
camera = picamera.PiCamera()
camera.start_preview()
camera.start_recording('/home/pi/Desktop/video.h264')
sleep(5)
camera.stop_recording()
camera.stop_preview()`
The video is well registered and the script doesn't output anykind of error. The problem is that the method start_preview doesn't display anything on my screen. Is there any common explanation for this?

Have you enabled the full GL driver? Check for "dtoverlay=vc4-kms-v3d" in /boot/config.txt.
DRM/KMS does not allow multiple rendering clients, and is also totally controller by the Linux kernel, therefore the GPU can not add an extra overlay layer for the preview.

And so how do we solve the problem?

And so how do we solve the problem?

You get the OP to answer the question of whether they enabled the full GL driver (in which case you solve it by disabling it to use FKMS or legacy mode), or otherwise provide some diagnostics.

I have dtoverlay=vc4-kms-v3d what should it be? @6by9 isn't very clear in remediation, please advise.

Remove dtoverlay=vc4-kms-v3d, or replace it with dtoverlay=vc4-fkms-v3d (note the 'f').
Picamera relies on the GPU firmware to be able to add overlays. vc4-kms-v3d switches all control of the rendering pipeline (and 3D) to the Linux kernel via the DRM/KMS APIs, so the GPU is no longer able to do that.
vc4-fkms-v3d is a hybrid that emulates the DRM/KMS APIs on top of the firmware controlled rendering pipeline.

thanks, that worked for me


switch to spring boot 2.0

The Milestome release 2.0.0-M1 is supposed to get out on 2.5.17. We should use the latest version from release 3.0 on.

Copied to https://app.camunda.com/jira/browse/CAM-8292


strategy: fixed is broken if its parent has will-change

CodeSandbox
https://codesandbox.io/s/misty-resonance-n18pt
Steps to reproduce the problem

Open CodeSandbox
A tooltip is positioned inside container

What is the expected behavior?
The same positioning as without will-change.
What went wrong?
Disabling of gpuAcceleration will not work 😭
Any ideas why it happens? How it can be fixed?

Thanks for the report! Most likely the logic we use to detect offset parents is not taking in account the new render context generated by the will-change: transform property.
https://github.com/popperjs/popper-core/blob/master/src/dom-utils/getOffsetParent.js

Maybe this code as well, since it only affects thefixed strategy (and scrolling is not correct)?
https://github.com/popperjs/popper-core/blob/be548db65912e1126581a44faa7f758ff004680a/src/dom-utils/getCompositeRect.js#L23-L35

It seems like the offsetParent is always null for fixed elements, but in this case, the will-change property (or perspective etc. properties as well) makes it an offsetParent? Is it a browser bug?
@FezVrasta it reminds me of these tweets you made: https://twitter.com/FezVrasta/status/1197515785289252864

As I understand this is related: https://bugs.chromium.org/p/chromium/issues/detail?id=20574&desc=2
This is very optimistic:

It looks that transform also affects it.
without

transform: translateZ(0);

Since it's a browser bug, I guess the only solution is to move the popper outside of the container element.

But, it means that all positioned elements should be rendered in document.body to safely avoid container issues. If so, it will be an accessibility issue in half cases, for example MenuButton:
https://www.w3.org/TR/2016/WD-wai-aria-practices-1.1-20161214/examples/menu-button/menu-button-1/menu-button-1.html

  <button aria-haspopup="true" aria-expanded="false" aria-controls="menu1">
    Actions
  </button>

      Action 1

      Action 2

Why not:

Don't use "fixed" strategy unless the reference element is actually fixed
Don't use those properties, or if it's absolutely required, only append it outside as an escape hatch with a focus management solution in those cases

@atomiks thank you for participating in this discussion, really appreciate 👍

Don't use "fixed" strategy unless the reference element is actually fixed

Do you have any suggestions how I can avoid strategy: fixed (i.e. position: fixed) in this example?

https://fluentsite.z22.web.core.windows.net/components/chat/definition?showCode=false&showRtl=false&showTransparent=false&showVariables=false#usage-in-scrollable

The flip modifier is meant to solve that issue when it encounters a clipping boundary. Is there a problem with letting it flip to the bottom in that case to avoid getting clipped?

Is there a problem with letting it flip to the bottom in that case to avoid getting clipped?

Yep, design requirement 😨
In our case it's not really clipping boundary and it should not flip to bottom ever.
See this screenshot as an example:

Elements that use Popper should be positioned inside whole viewport.

As long as you don't have position: relative on the container or parents of the popper, it won't be clipped inside a scrollable container. When you put position on a parent, it creates a clipping context and you need to move the popper out of the DOM hierarchy or use fixed (but there's a browser/spec bug with it as evidenced by that report). In this case your only solution is to move it outside and manage focus manually.

Should the issue be closed since it's actually a browser bug, or can we do something to mitigate or workaround the issue?

To summarize, the browser reports fixedElement.offsetParent === null, even in this case where a transform/perspective/will-change container actually becomes an offsetParent of the fixed element according to the spec.
I think this means the only way to detect the actual offsetParent would be to either (unless there is a different technique):

Allow the user to manually specify an offsetParent in this edge case (bad ergonomics)
Traverse all ancestors to check for those properties (bad for performance)

Both aren't good so I think the only reasonable solution is for the user to change their DOM structure to workaround the issue...

Isn’t enough for the user to set a position: relative to the bugged offset parent? That should fix the detection and not affect the layout

No, as fixed elements don't have an offsetParent (always null even with relative property), but will-change creates one that the browser doesn't report

Ok then I can't think of anything we could do to address this problem, I'd say we can close this.

@atomiks I noticed that Firefox correctly reports the "transform parent" when you read popperElement.offsetParent. Do you think we could fix this bug at least on Firefox?

According to #1111:

Which means:
For element with position: fixed containing block may be nearest element that has eg. transform: translate(0) (according to point 4). Also according to point 4. - offsetParent is not always the same as containing block.
Maybe you should consider something what mezr library can do:
https://github.com/bpceee/bpceee.github.io/issues/10

The problem is that only Firefox reports the correct offsetParent, and doing as mezr does is going to kill performance.

I opened an issue on the Chromium bug tracker
https://bugs.chromium.org/p/chromium/issues/detail?id=1086125

Strategy fixed also is not working properly in FF:
https://codesandbox.io/embed/dazzling-leftpad-cszp1?fontsize=14&hidenavigation=1&theme=dark
Also in FF offsetParent for fixed element inside transformed element will be not transformed element, but body:

This means that there is also something wrong with popper. Also I'm not sure if reported by you bug in chromium is correct, cause you need offsetParent to be containing block but this is not always true.

In my test case, Firefox reports the correct parent.
https://codepen.io/FezVrasta/pen/dyYLXLZ

So why example https://codesandbox.io/embed/dazzling-leftpad-cszp1?fontsize=14&hidenavigation=1&theme=dark is not working properly? What's wrong with the example?

In Popper we manually handle the position: fixed case and we always return null to make the behavior consistent across browsers and fix some problems that otherwise arise.

So if you manually broke behaviour to make it consistent across browsers, then I think you should at least add option for user to calculate containing block on popper side. This don't need to be default "on", but if somebody needs better behaviour in strategy fixed then should be able to do this. As i described - either option "on"/"off" for containing block calculation or some getter function which can be modified by developers who use popper.
Please consider this, as for now in our use cases popper@1 behavior is better at this time.
Also due to regression in popper@2 in this behaviour - popper@1 should not be marked as deprecated in npm registry.

From our tests, even popper@1 is broken for this use case.

No, it is not broken:
Again: https://codesandbox.io/s/dazzling-leftpad-cszp1?fontsize=14&hidenavigation=1&theme=dark
Popper 1:

Popper 2:

Probably it works better for popper@1 because of this function: https://github.com/popperjs/popper-core/blob/v1.x/packages/popper/src/utils/getFixedPositionOffsetParent.js
Why it has been removed in popper@2 and why there are no option to calculate parent on developer side?

And also please reopen this issue due to bug which is still in popper@2, you closed issue but you shouldn't due to not working popper@2

Your tone is over the top, let's close this here.


feat: Camera countdown view

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Feature

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

This PR adds a new /countdown/:studioId/camera views that allows looking at a condensed view of the currently active rundown. One can use studioLabels and sourceLayerIds URL query params to select what Pieces and Parts should be displayed in the view.

Other information:

Status

[ ] Code documentation for the relevant parts in the code have been added/updated by the PR author
[ ] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Codecov Report
Patch coverage has no change and project coverage change: +17.72 :tada:

Comparison is base (b83c489) 58.05% compared to head (efd8a8d) 75.78%.

:exclamation: Current head efd8a8d differs from pull request most recent head 31bdb4b. Consider uploading reports for the commit 31bdb4b to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@              Coverage Diff               @@
##           release49     #885       +/-   ##
==============================================
+ Coverage      58.05%   75.78%   +17.72%
==============================================
  Files            468       26      -442
  Lines          72599     5277    -67322
  Branches        3619      519     -3100
==============================================
- Hits           42145     3999    -38146
+ Misses         30402     1276    -29126
+ Partials          52        2       -50

see 442 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Added variables for upload max filesize

Thanks for this! Could you make the same change for the 7.1 images too?

Sure, added them.


Can't try calenderkit

Command
/usr/local/bin/pod try CalendarKit

Report

What did you do?
using terminal to run calenderkit with command above
What did you expect to happen?
I can try CalenderKit
What happened instead?
Error when try

Stack
   CocoaPods : 1.8.4
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
    RubyGems : 3.0.3
        Host : Mac OS X 10.15.1 (19B88)
       Xcode : 11.1 (11A1027)
         Git : git version 2.18.0
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : master - git - https://github.com/CocoaPods/Specs.git @ de223eab84be5859f6c923fda85aa56b7c2f340c
               trunk - CDN - https://cdn.cocoapods.org/

Plugins
cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.1.0
cocoapods-trunk       : 1.4.1
cocoapods-try         : 1.1.0

Error
NoMethodError - undefined method `root' for false:FalseClass
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/pod_source_installer.rb:179:in `root_spec'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/pod_source_installer.rb:192:in `predownloaded?'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/pod_source_installer.rb:69:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.1.0/lib/pod/command/try.rb:139:in `install_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.1.0/lib/pod/command/try.rb:50:in `block in run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:118:in `title'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.1.0/lib/pod/command/try.rb:49:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

Hi, it’s a known CocoaPods bug, try running ‘pod try Hero’, for example: you’ll get the same error.
Sent with GitHawk

Closing, as it's issue not related to the CalendarKit


Take charge of the auto indentation feature area

This issue is about taking responsibility of the feature area auto indentation and start solving the bugs in the feature area. This issue is filed for the purpose of linking it to the iteration plan.

I have assigned auto indentation issues to myself, added tests for different languages and started fixing some bugs. This issue will be closed.

Issue reopened since it is referenced in the iteration plan.

So great to see this area getting some love. Would be great if you could look at #182934 and #201421 as part of this.

This issue will be closed as it was opened mainly for the purpose of being put into the iteration plan


One process to rule them all

⚠ targets #14825 ⚠
Summary
In the days of old, the windows were sundered, each with its own process, like the scattered stars in the sky. But a new age hath dawned, for all windows now reside within a single process, like the bright gems of a single crown.
And lo, there came the WindowEmperor, a new lord to rule over the global state, wielding the power of hotkeys and the beacon of the notification icon. The WindowManager was cast aside, no longer needed to seek out other processes or determine the Monarch.
Should the WindowEmperor determine that a new window shall be raised, it shall set forth a new thread, born from the ether, to govern this new realm. On the main thread shall reside a message loop, charged with the weighty task of preserving the global state, guarded by hotkeys and the beacon of the notification icon.
Each window doth live on its own thread, each guarded by the new WindowThread, a knightly champion to hold the TerminalWindow, AppHost, and IslandWindow in its grasp. And so the windows shall run free, no longer burdened by their former ways.
All windows are now in a single process, rather than in one process per window. We'll add a new WindowEmperor class to manage global state such as hotkeys and the notification icon. The WindowManager has been streamlined and no longer needs to connect to other processes or determine a new Monarch. Each window will run on its own thread, using the new WindowThread class to encapsulate the thread and manage the TerminalWindow, AppHost, and IslandWindow.

Related to #5000
Related to #1256

Windows Terminal Process Model 3.0
Everything is now one process. All the windows for a single Terminal instance live in a singular Terminal process. When a new terminal process launches, it will still attempt to communicate with an existing one. If it finds one, it'll pass the commandline to that process and exit. Otherwise, it'll become the "monarch" and create a new window.
We'll introduce a new abstraction here, called the WindowEmperor. Monarch & Peasant will still remain, for facilitating cross-window communication. The Emperor will allow us to have a single dedicated class for all global state, and will now always represent the "monarch" (rather than our previously established non-deterministic monarchy to elevate a random peasant to the role of monarch).
WindowManager takes the most changes here. It had a ton of logic to redundantly attempt to connect to other monarchs of other processes, or elect a new one. It doesn't need to do any of that anymore, which is a pretty dramatic change to that class.
This creates the opportunity to move some lifetime management around. We've played silly games in the past trying to have individual windows determine if they're the singular monarch for global state. IslandWindows no longer need to track things like global hotkeys or the notification icon. The emperor can do that - there's only ever one emperor. It can also own a singular copy of the settings model, and hand out references to each other thread.
Each window lives on separate threads. We'll need to separately initialize XAML islands for each thread. This is totally fine, and actually supported these days. We'll use a new class called WindowThread to encapsulate one of these threads. It'll be responsible for owning the TerminalWindow, AppHost and IslandWindow for a single thread.
This introduces new classes of bugs we'll need to worry about. It's now easier than ever to have "wrong thread" bugs when interacting with any XAML object from another thread. A good case in point - we used to stash a static Brush in Pane, for the color of the borders. We can't do that anymore! The first window will end up stashing a brush from its thread. So now when a second window starts, the app explodes, because the panes of that window try to draw their borders using a brush from the wrong thread.
Another fun change: The keybinding labels of the command palette. TerminalPage is the thing that ends up expanding iterable Commands. It does this largely with copies - it makes a new map, a new vector, copies the Commands over, and does the work there before setting up the cmdpal.
Except, it's not making a copy of the Commands, it's making a copy of the vector, with winrt objects all pointing at the Command objects that are ultimately owned by CascadiaSettings.
This doesn't matter if there's only one TerminalPage - we'll only ever do that once. However, now there are many Pages, on different threads. That causes one TerminalPage to end up expanding the subcommands of a Command while another TerminalPage is ALSO iterating on those subcommands.
Emperor message window: The Emperor will have its own HWND, that's entirely unrelated to any terminal window. This window is a HWND_MESSAGE window, which specifically cannot be visible, but is useful for getting messages. We'll use that to handle the notification icon and global hotkeys. This alleviates the need for the IslandWindow to raise events for the tray icon up to the AppHost to handle them. Less plumbing=more good.
TODO!s

[ ] I consistently get a DX object leaking when the last window closes. That's not great, but I need help to figure it out.
[ ] There's something a ilttle fishy with startup actions and window persistence. I figured that could be done after opening the PR.
[ ] Make sure the tests all still pass.

Managed to finally get a debugger on the terminal at the point of teardown. The leaks look like they are atlas engines after all.


LISENCE.txt file does not exist.

Could you please add the LISENCE.txt.

why?

I would like to customize and redistribute this project. But I can not find the license information. The GitHub official guide says "As a best practice, we encourage you to include the license file with your project."
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository

done in https://github.com/khaledosman/angular-realworld-example-app/commit/8a7313b42f3c86c0274322e2499a35d6e2790056


Insomina Environments with Projects Diappear after Laptop restart

Insomnia Version: _6.5.3
Operating System: _Windows 10

Details
I created an environment called REL_Test and added multiple JSON POST Service requests.
Created subfolder as EMP within the above environment folder and moved all the files from the parent REL_Test folder to the child folder
Created one more new parent project as STAGE and created a child folder as EMP and added JSON POST requests .
Restarted my laptop and started the Insomina, all my Folder and Sub-Folder disappear.
Any help to troubleshoot/restore the same will be highly appreciated.

Can you clarify how you're using the terms "Environment" and "Project"? I assume you mean to say Workspace instead of Environment. Do you also mean Workspace when you say Project?

Sounds like the same problem I'm having. All workspace stuff is inaccessible now after the update.

Sounds like the same problem I'm having. All workspace stuff is inaccessible now after the update. I'm on OSX Mojave.

So... potential user error, seems I just needed to hit CMD+\ to bring it back.

Tried the above, it does not work for me in Windows.
I am moving on.


GM Menu: receive payment

Describe the bug
With the GM Menu, the option "Receive payment" even applied tor a selection of players makes a button to appear in the chat. Then all the other players can click and collect money on their own.
Expected behavior
Make appear in the chat only a text message confirming payment to the selected players. Without button.
Screenshots

Honestly I don't want to invest time in things just because players have to click on everything everywhere all the time.
Do you not talk with your players? Can they not control their impulses?

The implications for this feature are too big for such a small improvement.


Asset request: safe following distance box/dots

Something to indicate that this is the safe following distance between a lead vehicle and Ego. So maybe a box or dotted lines or something.

@greenmustard Now in the Roadway section of the library!


Batch seeds for GetElementsHandler for the Parquet Store

Currently the GetElementsHandler reads all the seeds into memory which will OOM if the iterable is large. It should be changed to query for the seeds in batches.

We are not supporting parquet in v2.0, so this will not be done.


added today's wireframese

I am so, so, so into the way these are shaping up. Super clear and straightforward flows! Very excited to watch these continue to develop.


confusing ExecutionConfig & FallbackConfig MaxConcurrentRequests behavior in NewCircuitFromConfig

I suppose this is more user feeback than a bug, but I wanted to share some confusion I experienced w.r.t. the titular settings
NewCircuitFromConfig merges in defaultCommandProperties, but doesn't document such.  When configuring,  my intuition told me that if MaxConcurrentRequests is zero, then it wouldn't be enforced.
I was very surprised to see that it was enforced.  When investigating, I had initially thought that the circuit was using >= when > would be correct -- if the value is zero, then it will decline all commands.
https://github.com/cep21/circuit/blob/master/v3/circuit.go#L245
https://github.com/cep21/circuit/blob/master/v3/circuit.go#L406
I was confused, because my tests passed -- so surely they weren't all being declined, just over some level.  It took me a debugging session to walk through the config setup to find that the defaults are merged in.
So I was getting the default of 10 concurrent commands, which I suppose is documented as part of the netflix/hystrix
Again, I don't think that the library did anything wrong here -- it did what it advertised -- perhaps the documentation could have been more explicit about defaults, and where they get applied.
If you consider a v4, I suggest perhaps breaking away a bit from the hystrix conventions to allow for more idiomatic go.  In this case, I'd suggest exposing a DefaultConfiguration variable that can be explicitly used, and allowing the circuit to check if MaxConcurrentRequests > 0.
Thanks for reading & your work on the project -- I'm sure it's challenging to write & maintain a robust and flexible circuit breaking library.  If there are any changes you would consider as a result of this report, I could definitely see about finding some time to contribute.

Hi!
This is good feedback.  I have thought a lot about a v4 version.  Now that go modules are supported in all major versions of Go, it should be possible to make a v4 without breaking people that are using versions of Go that don't support modules.
I agree, in a v4 breaking from hystrix defaults would be worth doing.  I think I'll make a v4 ticket to track possible V4 changes.

Will close as wontfix since we cannot change v3.  But will open this up for discussion in v4 here: #115


Packaging

RPM/Zuul configuration to package this project as an RPM
Depends-On: https://softwarefactory-project.io/r/c/dci-jobs/+/29071

@fredericlepied PTAL, also not sure if zuul would pick the configuration up now or until after it's been merged

are you going to adapt the zuul job as it will not work like this?

are you going to adapt the zuul job as it will not work like this?

The zuul job only looks at the .spec file and sources listed in the root dir, the rpm directory is only for you/me to try building the RPM

Depends-On: https://softwarefactory-project.io/r/c/dci-jobs/+/29071

recheck

recheck

recheck


Review if a package description is required for these packages

Options\src\Microsoft.Framework.OptionsModel

Provides strongly typed way of specifying and accessing settings using dependency injection.

b4d4ba65732079a90dddf04281fa2c6161761543


Document macros used in the datapath

We use a lot of different macros in the datapath, to define config. values and enable/disable features. It might be a good idea to document all those in e.g. a bpf/README.md. Hopefully, some quick script can help us keep the list up-to-date. The option names are often not enough to clarify the semantics/intents (e.g., IPV4_LOOPBACK or SECCTX_FROM_IPCACHE). Macros defined in the code (i.e., constants) should already have comments and may not need to be part of the list.
Doing so would likely uncover a couple inconsistencies and stale macros.

[ ] List macros in a bpf/README.md with short descriptions and other relevant information.
[ ] Write a CI script to check the list is up-to-date with the actual macros being used in the datapath code.
[ ] File issue or fix any inconsistencies found.

Ah, thanks for filing this issue. :)

WIP list of macros used in the datapath:
Click to show.
Macros

Macro
Values
Description

ACTION_UNKNOWN_ICMP6_NS
int
BPF action to apply for unknown ICMPv6 NS messages.

BPF_ENV_MNT
string
Name of the environment variable holding the bpffs location.

CALLS_MAP
string
Name of the program array for internal tail calls.

CAPTURE4_RULES
string
Name of the hashmap with IPv4 filters for packet captures.

CAPTURE4_SIZE
u32
Size of the hashmap with IPv4 filters for packet captures.

CAPTURE6_RULES
string
Name of the hashmap with IPv6 filters for packet captures.

CAPTURE6_SIZE
u32
Size of the hashmap with IPv6 filters for packet captures.

CIDR4_FILTER
undef, 1
Compile in IPv4 prefilter feature in bpf_xdp.

CIDR4_HMAP_ELEMS
u32
Size of the IPv4 and IPv6 hashmaps holding CIDRs for the prefilter feature.

CIDR4_HMAP_NAME
string
Name of the hashmap holding IPv4 CIDRs for the prefilter feature.

CIDR4_LMAP_ELEMS
u32
Size of the IPv4 and IPv6 LPM tries holding CIDRs for the prefilter feature.

CIDR4_LMAP_NAME
string
Name of the LPM trie holding IPv4 CIDRs for the prefilter feature.

CIDR4_LPM_PREFILTER
undef, 1
Use the IPv4 LPM trie for the prefilter feature.

CIDR6_FILTER
undef, 1
Compile in IPv6 prefilter feature in bpf_xdp.

CIDR6_HMAP_NAME
string
Name of the hashmap holding IPv6 CIDRs for the prefilter feature.

CIDR6_LMAP_NAME
string
Name of the LPM trie holding IPv6 CIDRs for the prefilter feature.

CIDR6_LPM_PREFILTER
undef, 1
Use the IPv6 LPM trie for the prefilter feature.

CILIUM_IFINDEX
u32
Index of the cilium_host interface on the host.

CILIUM_IPV4_FRAG_MAP_MAX_ENTRIES
u32
Size of the fragment tracking map.

CILIUM_LB_MAP_MAX_ENTRIES
u32
Size of the LB maps (backends, afffinity, health checks, reverse NAT, etc.).

CILIUM_NET_MAC
union macaddr
MAC address for the cilium_net interface.

CONNTRACK
undef, 1
Compile in connection tracking.

CONNTRACK_ACCOUNTING
undef, 1
Compile in conntrack counter updates.

CT_CLOSE_TIMEOUT

CT_CONNECTION_LIFETIME_NONTCP

CT_CONNECTION_LIFETIME_TCP

CT_MAP_ANY4
string
Name of the hashmap to track IPv4 non-TCP communications.

CT_MAP_ANY6
string
Name of the hashmap to track IPv6 non-TCP communications.

CT_MAP_SIZE_ANY
u32
Size of the hashmaps to track non-TCP communications.

CT_MAP_SIZE_TCP
u32
Size of the hashmaps to track TCP connections.

CT_MAP_TCP4
string
Name of the hashmap to track IPv4 TCP connections.

CT_MAP_TCP6
string
Name of the hashmap to track IPv6 TCP connections.

CT_REPORT_INTERVAL

CT_SERVICE_LIFETIME_NONTCP

CT_SERVICE_LIFETIME_TCP

CT_SYN_TIMEOUT

CTX_ACT_OK
0, 2
Return code to pass the packet to the stack from either tc (0) or XDP (2).

CUSTOM_CALLS_MAP
string
Name of the program array for custom hooks.

DEBUG
undef, 1
Compile in the collection of cilium_dbg messages to userspace.

DIRECT_ROUTING_DEV_IFINDEX
u32
Index of the interface used to connect nodes in the cluster.

DISABLE_LOOPBACK_LB
undef, 1
Compile out SNATing for the loopback load-balancing case.

DROP_NOTIFY
undef, 1
Compile in packet drop notifications.

EGRESS_MAP_SIZE
u32
Size of the egress gateway map.

ENABLE_ARP_PASSTHROUGH
undef, 1
Let ARP packets through to the Linux stack.

ENABLE_ARP_RESPONDER
undef, 1
Compile in ARP responder at lxc devices for traffic from the containers.

ENABLE_BANDWIDTH_MANAGER
undef, 1
Compile in egress bandwidth rate limiting.

ENABLE_CUSTOM_CALLS
undef, 1
Compile in hooks for the custom calls.

ENABLE_DSR
undef, 1

ENABLE_EGRESS_GATEWAY
undef, 1
Compile in the egress gateway redirection and SNATing.

ENABLE_EXTERNAL_IP
undef, 1

ENABLE_EXTRA_HOST_DEV
undef, 1

ENABLE_HEALTH_CHECK
undef, 1
Compile in handling of health-probe traffic for L4LB.

ENABLE_HOST_FIREWALL
undef, 1
Compile in the host firewall and enforce host policies.

ENABLE_HOST_SERVICES_FULL
undef, 1
Compile out the per-packet service translation in bpf_lxc.

ENABLE_HOST_SERVICES_PEER
undef, 1

ENABLE_HOST_SERVICES_TCP
undef, 1

ENABLE_HOST_SERVICES_UDP
undef, 1

ENABLE_IDENTITY_MARK
undef, 1
Encode the identity in the packet mark when leaving bpf_lxc for the stack.

ENABLE_IPSEC
undef, 1
Compile in IPsec-handling code.

ENABLE_IPV4
undef, 1
Compile in IPv4 code paths.

ENABLE_IPV6
undef, 1
Compile in IPv6 code paths.

ENABLE_NAT46
undef, 1
Compile in NAT46 and NAT64 translations.

ENABLE_NODEPORT
undef, 1

ENABLE_NODEPORT_ACCELERATION
undef, 1
Compile in the XDP-level load-balancing logic.

ENABLE_PREFILTER
undef, 1
Compile in the XDP prefilter feature.

ENABLE_REDIRECT_FAST
undef, 1
Compile in bypass of most of the stack using bpf_redirect_{peer,neigh}.

ENABLE_ROUTING
undef, 1

ENABLE_SRC_RANGE_CHECK
undef, 1
Compile in checks of allowed source CIDRs for the service handling.

ENABLE_WIREGUARD
undef, 1
Compile in WireGuard-handling code.

ENCAP_GENEVE
-
Unused

ENCAP_VXLAN
-
Unused

ENCAP_IFINDEX
u32
Index of the overlay interface on the host.

ENCAP4_IFINDEX
u32
Index of the cilium_ipip4 interface for IPv4 IPIP encapsulation.

ENCAP6_IFINDEX
u32
Index of the cilium_ipip6 interface for IPv6 IPIP encapsulation.

ENCRYPT_MAP
string
Name of the map holding the IPsec SPI (keyID) currently used by the agent.

ENCRYPT_OR_PROXY_MAGIC
u32
Index of the skb->cb slot holding the IPsec and proxy markers.

ENDPOINTS_MAP
string
Name of the hashmap with local endpoints.

ENDPOINTS_MAP_SIZE
u32
Size of the hashmap with local endpoints.

EPHEMERAL_MIN
u16
Minimum number for ephemeral ports on Linux, used in the NAT logic.

EP_POLICY_MAP
string
Name of the hash of maps to link endpoints to their cilium_policy hashmaps.

EVENTS_MAP
string
Name of the ring buffer to send events to the agent.

EVENT_SOURCE
u32
Cilium identifier of the endpoint at the source of events sent to the agent.

HASH_INIT4_SEED
u32
Seed for Maglev's IPv4 hash algorithm.

HASH_INIT6_SEED
u32
Seed for Maglev's IPv6 hash algorithm.

HEALTH_ID
4
Identifier for the health entity.

HOST_EP_ID
u32
Local Cilium identifier for the host endpoint.

HOST_ID
1
Identifier for the host entity.

HOST_IFINDEX
u32
Index of the cilium_net interface on the host

HOST_IFINDEX_MAC
union macaddr
MAC address for the cilium_host interface.

INIT_ID
5
Identifier for the init entity.

IPCACHE4_PREFIXES
array
IPv4 prefixes to use for the ipcache lookup when LPM maps are unsupported.

IPCACHE6_PREFIXES
array
IPv6 prefixes to use for the ipcache lookup when LPM maps are unsupported.

IPCACHE_MAP
string
Name of the ipcache hashmap.

IPCACHE_MAP_SIZE
u32
Size of the ipcache hashmap.

IP_POOLS

IPV4_FRAG_DATAGRAMS_MAP
string
Name of the fragment tracking map.

IPV4_GATEWAY
u32
Cilium internal IPv4 node address and gateway for endpoints.

IPV4_LOOPBACK
u32
IPv4 address used for service loopback SNAT.

IPV4_MASK
u32
IPv4 mask used on the destination IP before the lookup in the tunnel map.

IS_BPF_HOST
undef, 1
The code was included by bpf_host.c.

IS_BPF_OVERLAY
undef, 1
The code was included by bpf_overlay.c.

IS_L3_DEV
macro
Macro to check if an interface has a MAC address from its index.

KERNEL_HZ
u64
HZ rate the kernel is operating in.

LB4_AFFINITY_MAP
string
Name of the hashmap to associate IPv4 clients to their affinity session.

LB4_BACKEND_MAP
string
Name of the hashmap with the addresses of IPv4 service backends.

LB4_HEALTH_MAP
string
Name of the hashmap with IPv4 backends for each L4LB health-probe sockets.

LB4_MAGLEV_MAP_INNER
string
Name of the per-service one-item lookup table for IPv4 backend selection.

LB4_MAGLEV_MAP_OUTER
string
Name of the hashmap pointing to the one-item lookup table for IPv4 services.

LB4_REVERSE_NAT_MAP
string
Name of the hashmap with original IPv4 and port for the per-packet rev-NAT.

LB4_REVERSE_NAT_SK_MAP
string
Name of the hashmap with original IPv4 and port for the rev-NAT at socket.

LB4_REVERSE_NAT_SK_MAP_SIZE
u32
Size of the hashmap with original IPv4 and port for the rev-NAT at socket.

LB4_SERVICES_MAP_V2
string
Name of the hashmap to lookup IPv4 services and their backends.

LB4_SRC_RANGE_MAP
string
Name of the LPM trie with the allowed IPv4 source CIDRs for services.

LB4_SRC_RANGE_MAP_SIZE
u32
Size of the LPM trie with the allowed IPv4 source CIDRs for services.

LB6_AFFINITY_MAP
string
Name of the hashmap to associate IPv6 clients to their affinity session.

LB6_BACKEND_MAP
string
Name of the hashmap with the addresses of IPv6 service backends.

LB6_HEALTH_MAP
string
Name of the hashmap with IPv6 backends for each L4LB health-probe sockets.

LB6_MAGLEV_MAP_INNER
string
Name of the per-service one-item lookup table for IPv6 backend selection.

LB6_MAGLEV_MAP_OUTER
string
Name of the hashmap pointing to the one-item lookup table for IPv6 services.

LB6_REVERSE_NAT_MAP
string
Name of the hashmap with original IPv6 and port for the per-packet rev-NAT.

LB6_REVERSE_NAT_SK_MAP
string
Name of the hashmap with original IPv6 and port for the rev-NAT at socket.

LB6_REVERSE_NAT_SK_MAP_SIZE
u32
Name of the hashmap with original IPv6 and port for the rev-NAT at socket.

LB6_SERVICES_MAP_V2
string
Name of the hashmap to lookup IPv6 services and their backends.

LB6_SRC_RANGE_MAP
string
Name of the LPM trie with the allowed IPv6 source CIDRs for services.

LB6_SRC_RANGE_MAP_SIZE
u32
Size of the LPM trie with the allowed IPv6 source CIDRs for services.

LB_AFFINITY_MATCH_MAP
string
Name of the hashmap holding valid (service, backend) for session affinity.

LB_DEBUG
undef, 1
Compile in the collection of additional debug messages for LB.

LB_DST_MAC
-
Unused

LB_MAGLEV_LUT_SIZE
u32
Size of the backend table per service ("M" parameter).

LB_REDIRECT
-
Unused

LOCAL_DELIVERY_METRICS
undef, 1
Compile in counter updates for all traffic forwarded on the node.

LOCAL_NODE_ID
6
Alias for REMOTE_NODE_ID when sending HOST_ID traffic through the tunnel.

LXC_ID
u32
Endpoint ID for the program's endpoint.

LXC_IPV4
u32
IPv4 address of the program's endpoint.

METRICS_MAP
string
Name of the map for datapath metrics.

METRICS_MAP_SIZE
u32
Size of the map for datapath metrics.

MONITOR_AGGREGATION
0, 1, 3
Monitor aggregation level. 0 disables aggregation.

MTU
u32
Generic MTU detected by the agent.

NAT46_PREFIX
union v6addr
IPv6 prefix to represent NATed IPv4 addresses.

NATIVE_DEV_MAC_BY_IFINDEX
macro
Macro to get the MAC address of an interface from its index.

NODE_MAC

NODEPORT_NEIGH4
string
Name of the IPv4 neighbor map.

NODEPORT_NEIGH4_SIZE
u32
Size of the IPv4 neighbor map.

NODEPORT_NEIGH6
string
Name of the IPv6 neighbor map.

NODEPORT_NEIGH6_SIZE
u32
Size of the IPv6 neighbor map.

NODEPORT_PORT_MAX
u32
Minimum port to consider for NodePort requests.

NODEPORT_PORT_MAX_NAT
u32
Lower bound of the port range used for SNAT when needed.

NODEPORT_PORT_MIN
u32
Maximum port to consider for NodePort requests

NODEPORT_PORT_MIN_NAT
u32
Upper bound of the port range used for SNAT when needed.

NO_REDIRECT
undef, 1
Skip the bpf_redirect from bpf_host to the lxc devices.

POD_ENDPOINT
-
Unused

POLICY_CALL_MAP
string
Name of the program array mapping endpoint IDs to their BPF program.

POLICY_MAP
string
Name of the hashmap holding the policy rules for the program's endpoint.

POLICY_MAP_SIZE
u32
Size of the hashmap holding the policy rules for the program's endpoint.

POLICY_PROG_MAP_SIZE
u32
Size of the program array mapping endpoint IDs to their BPF program.

POLICY_VERDICT_LOG_FILTER
u32
Bitmask to indicate which policy verdicts to send to userspace.

POLICY_VERDICT_NOTIFY
undef, 1
Compile in policy verdict notifications.

REMOTE_NODE_ID
6
Identifier for remote node entities.

REQUIRES_CAN_ACCESS
-
Unused

SECLABEL
u32
Security identity for the program's endpoint.

SECLABEL_NB
u32
Security identity for the program's endpoint, in network byte order.

SIGNAL_MAP
string
Name of the perf event map used to signal filled up maps to the agent.

SKIP_CALLS_MAP
undef, 1
Compile out the program array for internal tail calls.

SKIP_ICMPV6_ECHO_HANDLING
undef, 1
Compile out the ICMPv6 echo handling code.

SKIP_ICMPV6_HOPLIMIT_HANDLING
undef, 1
Compile out the ICMPv6 HopLimit handling code.

SKIP_ICMPV6_NS_HANDLING
undef, 1
Compile out the ICMPv6 NS handling code.

SKIP_POLICY_MAP
undef, 1
Compile out the program array for tail calls between endpoints.

SKIP_UNDEF_LPM_LOOKUP_FN
undef, 1
Compile out the surrogate, hashmap-based function for ipcache lookups.

SNAT_MAPPING_IPV4
string
Name of the hashmap with translations for (rev-)SNAT of an IPv4 connection.

SNAT_MAPPING_IPV4_SIZE
u32
Size of the hashmap with translations for (rev-)SNAT of an IPv4 connection.

SNAT_MAPPING_IPV6
string
Name of the hashmap with translations for (rev-)SNAT of an IPv6 connection.

SNAT_MAPPING_IPV6_SIZE
u32
Size of the hashmap with translations for (rev-)SNAT of an IPv6 connection.

SOCK_OPS_MAP
string
Name of the sockmap for fast socket-level redirects.

SOCKOPS_MAP_SIZE
u32
Size of the sockmap for fast socket-level redirects.

SYS_PROCEED
1
Allow the system call to proceed.

SYS_REJECT
0
Deny the system call.

TEMPLATE_HOST_EP_ID
0xffff
Placeholder host endpoint ID for the template file.

THROTTLE_MAP
string
Name of the hashmap with the information to rate-limit egress traffic.

THROTTLE_MAP_SIZE
u32
Size of the hashmap with the information to rate-limit egress traffic.

TRACE_NOTIFY
undef, 1
Compile in packet trace event collection (to-network, from-host, etc.).

TUNNEL_ENDPOINT_MAP_SIZE
u32
Size of the hashmap mapping destination IPs to their tunnel endpoint IPs.

TUNNEL_MAP
string
Name of the hashmap mapping destination IPs to their tunnel endpoint IPs.

UNMANAGED_ID
3
Identifier for unmanaged entity.

WORLD_ID
2
Identifier for world entity.


[DOC] Add documentation for more resource handlers

PR improves jsdoc comments for the following already documented resource handlers:

pc.ModelHandler
pc.ScriptHandler
pc.BundleHandler (still private)

PR also adds jsdoc comments for the following currently undocumented resource handlers:

pc.AnimationHandler
pc.AudioHandler
pc.CubemapHandler
pc.FontHandler
pc.MaterialHandler
pc.SceneHandler
pc.SpriteHandler
pc.TextureAtlasHandler
pc.TextureHandler

I confirm I have signed the Contributor License Agreement.

Interesting that two handlers are public API and the others aren't. There is an argument that we make pc.ScriptHandler and pc.ModelHandler private rather than making the other 9 public. Adding 9 will (IMHO) just pollute the API ref with stuff that developers will never actually directly use or need to refer to. @daredevildave, what's your opinion?

I haven't documented these just for kicks :)
And if you look at old 3rd-party documentation others have done (by hand), we're not alone in needing declarations for these resource handlers.
Besides, you have already publicly documented the function that registers custom handlers, pc.ResourceLoader.html#addHandler
Begin able to extend and wrap resource handlers is a key feature for us that we need type info for.

Yeah, but all existing handlers are registered in the pc.Application constructor. The user can't edit/modify that code. The only use for pc.ResourceLoader.html#addHandler is to add your own handler types.

We extend the existing handlers by wrapping them in our own handlers (which we register), without having to re-implement all the functionality.


Why was the latest block generated 15 seconds ago?

The block time is 6 seconds, but why was the latest block generated 15 seconds ago?

Hello?

hello. i don't contribute to this repo but somehow it emailed me so will reply. difficulties can have swings, what was the issue with it being 17 seconds what is the block time?

It is because of the RPC server's latency. The timestamp of a block is the time it gets packed. After that, it needs to be broadcasted, voted, and executed, before a PRC server has the block's record.
Still, it needs more time for your browser to get the block from the RPC server.

I think my RPC server has received the latest blocks, but the block height in the interface is not the latest, is this correct?

The block height in the interface: which interface? Are you using smartscan.cash to connect to your own rpc server?

eth_blockNumber

I tested all the public rpc services, and all had the same problem, so I run a fullnode and found the same thing. The fullnode log shows the block height, which is 2 blocks higher than the block height of the rpc interface.

We also tested it. The RPC is one block later than the log, which is what we expected.
Because of EBP (you can check our whitepaper to know that is EBP), after block #N commit, it takes another block interval to execute it before it is ready for RPC query. And the execution of block #N is in parallel with the voting process of block #N+1 .


2D Filters / Blend Mode : Blur, Color Matrix

Hello,
I didn’t find anything for doing this with PlayCanvas. I would like to have on UI and Sprites :

filters : blur, color matrix, pixelate, outline…
blend mode : additive, multiplicative etc.

Something similar to what PixiJS offers https://pixijs.io/examples/#/filters-basic/blur.js
Being able to blur/outline sprite or UI is often a must have.
Would it be easy to add this using UI/Sprite materials?

#3308


F#'s linked list are not like you say in Rust

More like:
#[derive(Debug)]
enum FSharpList<T> {
    Cons(T, Box<FSharpList<T>>),
    Nil,
}

impl<T> FSharpList<T> {
    fn new<I: IntoIterator<Item = T>>(input: I) -> Self {
        let mut iter = input.into_iter();
        match iter.next() {
            Some(item) => Self::Cons(item, Box::new(Self::new(iter))),
            None => Self::Nil,
        }
    }
}

fn main() {
    let fsharp_list = FSharpList::new(0..=10);
    println!("{:#?}", fsharp_list);
}

Printing:
Cons(
    0,
    Cons(
        1,
        Cons(
            2,
            Cons(
                3,
                Cons(
                    4,
                    Cons(
                        5,
                        Cons(
                            6,
                            Cons(
                                7,
                                Cons(
                                    8,
                                    Cons(
                                        9,
                                        Cons(
                                            10,
                                            Nil,
                                        ),
                                    ),
                                ),
                            ),
                        ),
                    ),
                ),
            ),
        ),
    ),
)

({:#?} pretty-print Debug representation, in case you didn't know.)

This looks more like just the Cons list from the Book, no? An F# list is always of type head and tail (int, list or however it's written) and allows for easy access to the head value.
Not that my imagined implementation is anything outstanding (and I was hoping for someone to come along and improve it) but I don't see anything for easy access to the head of the list.

but I don't see anything for easy access to the head of the list.

In yours or mine?


Replenish addons classes with context - #202

Change log:

Put back ES6 classes with babel compilation during development time

Details:
After changing the ES6 classes to regular JS object, the context of this was lost through usage of static properties.
To keep the encapsulation, best to keep the functionality as the ES6 classes but to eliminate these classes from docker build time. Hence this PR.

@maxsibilla @libpitt this branch libpitt/202-babel is based off libpitt/189-bulk-edit, so please merge and test on SenNet DEV then release if you think all looks good. No need to wait on the HuBMAP side.
I'll deploy on DEV with the bulk editing feature disabled, for now, until we have the back-end ingest-api updates in place.


Update nf-shlwapi-pathisfilespecw.md

Escape a couple of instances of \ as the character itself is an escape character and is not rendered without escaping.

@compnerd : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Optimizing tests in test_loss.py

Description
Changing some parameters in test_loss to reduce the running time of tests
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] Changes are complete

Changes

[ ] Updated test_bce_loss_with_pos_weight and test_ctc_loss_train. Reduces the run time of each test from >2 seconds to less than 1.3 seconds locally. Tests pass with multiple seeds (>30).

Comments

There are multiple opportunities for reducing the running time of tests by tuning some parameters like iterations, learning rate, etc.
For these changes, I verified that the tests still pass with multiple seeds
Would you guys be interested in such optimizations? If yes, I can help contribute more and look at optimizing other more expensive tests in the test suite. Please let me know if you have any other suggestions or any necessary checks that I should do on these tests.

Thanks!

Sure, I can check that. Does this check the test with different seeds? Also, what is the expected output for this?

@sleepy-owl thanks. It will run repeatedly with different seeds for 10000 times. The expected result is that the test passes successfully.

@sleepy-owl did you get a chance to verify the change?