Unable to update extensions

Issue Type: Bug
I am getting an error message trying to update extensions in the current version of VSCode.:  [renderer1] [error] XHR failed: downloading: XHR failed
This was previously working but seems to have stopped more recently.
When I try an open a simple browser preview window it fails to load a page (e.g. google.com).
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:13:13.157Z)
OS version: Windows_NT x64 10.0.19044

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.71.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Can you please share us with following info?

f1 > Toggle Developer Tools
Logs from console tab
Logs from network tab

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


fix(ui): package.json#license should be Apache

Same as https://github.com/argoproj/argo-ui/pull/555, similar to https://github.com/argoproj/argo-cd/commit/b1b5ce211eedfb9354f7661b23b60469f9b103d7
Motivation

it was listed as MIT for some reason (copy+paste?), while Argo uses Apache, including this repo's own LICENSE file

also CNCF uses Apache

Modifications

fix package.json#license field
Verification

Merged main for new PR checks per #13027


Bug: kpt pkg diff should not include upstream default values when set locally

When you kpt pkg diff, after having set some local setters, kpt pkg diff includes those set values as diff lines, which should probably be ignored.
I would like kpt pkg diff to look like doing a git diff after a kpt pkg update, with my local setters and substrs propagated properly. Otherwise, there's too much noise for kpt pkg diff to be useful.

@mortent @frankfarzan looks like a good suggestion but if setters become a more complex operation might become tricky.

@mortent @frankfarzan looks like a good suggestion but if setters become a more complex operation might become tricky.

This is related to how we need to handle changes during updates. Examples are that the fast-forward update strategy only should work if there are no local changes, but changes that results from setter values probably should be acceptable since we will set them again later. And if resources/packages are deleted during updates, we don't want to delete any resources that are create by users, but changes resulting from setters is probably ok to delete.
So I do think we need to support diff that is aware of setters and that distinguish between updates through setters (in particular autosetters) and manual changes by users. There might be situations where it is difficult to distinguish, but we should try to make it work.

This is related to how we need to handle changes during updates. Examples are that the fast-forward update strategy only should work if there are no local changes, but changes that results from setter values probably should be acceptable since we will set them again later. And if resources/packages are deleted during updates, we don't want to delete any resources that are create by users, but changes resulting from setters is probably ok to delete.
So I do think we need to support diff that is aware of setters and that distinguish between updates through setters (in particular autosetters) and manual changes by users. There might be situations where it is difficult to distinguish, but we should try to make it work.

On a related note:
It would be nice if the diff --diff-type and update --strategy used the same flag name and the same flag values.
I could file another FR for this, but it's closely related to the desire for the behavior of diff matching the behavior of update.

On a related note:
It would be nice if the diff --diff-type and update --strategy used the same flag name and the same flag values.
I could file another FR for this, but it's closely related to the desire for the behavior of diff matching the behavior of update.


Expand managed unit entry with User, Group + EnvironmentFile Array

I didn't see https://github.com/voxpupuli/puppet-systemd/pull/321 was already open for the user and group.


Daily crypto pairs

I am trying to get daily values for pairs of crypto, e.g.
data, meta_data = cc.get_digital_currency_daily(symbol='BTC', market='ETH')
However, seems the market value is not accepted.
In the API documentation, it seems to say it allows to and from to be a crypto, however:
CURRENCY_EXCHANGE_RATE High Usage
This API returns the realtime exchange rate for a pair of digital currency (e.g., Bitcoin) and physical currency (e.g., USD).
API Parameters
❚ Required: function
The function of your choice. In this case, function=CURRENCY_EXCHANGE_RATE
❚ Required: from_currency
The currency you would like to get the exchange rate for. It can either be a physical currency or digital/crypto currency. For example: from_currency=USD or from_currency=BTC.
❚ Required: to_currency
The destination currency for the exchange rate. It can either be a physical currency or digital/crypto currency. For example: to_currency=USD or to_currency=BTC.
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-49-bf883c048d38> in <module>()
----> 1 data, meta_data = cc.get_digital_currency_daily(fromsymbol='BTC', tosymbol='ETH')
      2 data['4b. close (USD)'].plot()
      3
      4 print(data.head(2))
      5 print(data.columns.values)

1 frames
/usr/local/lib/python3.6/dist-packages/alpha_vantage/alphavantage.py in _call_wrapper(self, *args, **kwargs)
    121             # key for it and for its meta data.
    122             function_name, data_key, meta_data_key = func(
--> 123                 self, *args, **kwargs)
    124             base_url = AlphaVantage._RAPIDAPI_URL if self.rapidapi else AlphaVantage._ALPHA_VANTAGE_API_URL
    125             url = "{}function={}".format(base_url, function_name)

TypeError: get_digital_currency_daily() got an unexpected keyword argument 'fromsymbol'

At the first glance, get_digital_currency_daily maps to the DIGITAL_CURRENCY_DAILY function (NOT the CURRENCY_EXCHANGE_RATE function as was mentioned in the post above).
DIGITAL_CURRENCY_DAILY doesn't have a to_currency input parameter. Below is the documentation for DIGITAL_CURRENCY_DAILY:
https://www.alphavantage.co/documentation/#currency-daily


Add Multi-page version of HTML Docs?

It would be great if there was a multi-page version of the HTML, perhaps one page per chapter?
I'm trying to work on creating a dash docset for easy and searchable offline reference, and my initial attempt  seems to work, but the singular huge documentation file is too big and Dash hangs when jumping between sections.
Using various tools as described here, you can generate individual pages from the ASCIIDocs as an alternative layout to the singular monolithic HTML file.

This is on the list of future todos.  In the meantime, feel free to clone locally and use the asciidoctor-multipage extension to achieve what you're looking for.  Alternatively, if you wanted you could setup a local Antora based site.
I'm going to close this for now as it's already on the roadmap.
Thanks for the input.


Default position?

Is it possible to give a default position for the draggle to start in? I tried just offsetting it with css but when people would do the initial drag it would snap the offset amount on the screen

Just don't define the position in the template.
<div class="cube"  [ng2-draggable]="true" style="top:60px;left:400px;">


Bug in  the ask_question method enables to catch the ValueError exception

The reported issue is related to handling invalid input from the user, specifically when the user enters a character or a letter instead of a numeric answer. Currently, in the original code, if the user provides invalid input (such as a character), the float(input("Your answer: ")) line will raise a ValueError since it expects a float value.
The Steps to Reproduce the issue are as follows:
Start the application.
Try to answer a question by entering a character or a letter instead of a numeric value.
Observe the behavior.
The Expected Behavior should be that the application informs the user that the input is invalid and prompts them to enter a valid numeric answer. The application should continue running without crashing.

Hey, i noticed a bug in ytour code i will take care of correcting that for you


fix(validator): close gc collection process on graceful shutdown

Motivation
GC collection process must be explicitly closed

see https://github.com/ChainSafe/lodestar/pull/5677

Description
Close gc collection process when shutting down validator client.

:tada: This PR is included in v1.10.0 :tada:


Merge https://github.com/yaooqinn/kyuubi/blob/master/bin/kyuubi-logo to bin/kyuubi script

1. Describe the bug

kyuubi-logo is non-licensed
2. Environments
2.1 Versions

Kyuubi

[ ] 1.1.0
[ ] 1.0.3
[ ] 0.8.x and earlier

Spark

[ ] 3.1.x
[ ] 3.0.x
[ ] 2.4.x and earlier

2.2 Kyuubi Configurations
2.3 Spark Configurations
3. Steps to reproduce
3.1 Operations
3.2 Expected behavior

3.3 Actual behavior
4. Additional context
4.1 Log of the server
4.2 Log of the corresponding engine

@alex601049502 Would you like to pick this task?

Of course.Let me try.

#529


UI Design for Creating Data Contract

Description
UI for the MVD in Figma for Creating a Dataspace
Tasks

[ ] Rebuild the UI into Stepper
[ ] Add Search function for the policies/assets
[ ] Create Unhappy Path (Policies in Conflict)
[ ] Policy - change the UI to support just one

HX items will be tracked elsewhere.


Revert "Change --font-weight-bold to --font-weight-semibold and 600 value, introduce new font weight variables"

Reverts #24827
Fix #24850
@silverwind

Don't revert the whole thing, just set it to --font-weight-light here:
https://github.com/go-gitea/gitea/blob/da461b5a085c0fbf705df9a751159d13bee7139a/web_src/css/repo.css#L630
Thought I do think 400 is better as it matches GitHub. I think there are some mechanisms to make asian fonts appear less bold, maybe we can use it there if it only affects asian fonts?

Don't revert the whole thing, just set it to --font-weight-light here:
https://github.com/go-gitea/gitea/blob/da461b5a085c0fbf705df9a751159d13bee7139a/web_src/css/repo.css#L630
Thought I do think 400 is slightly preferred for english fonts at least as it matches GitHub, but I have no strong preference, so am fine with 300 too. I think there are some mechanisms to make asian fonts appear less bold, maybe we can use it there if it only affects asian fonts?

Could you send a PR to fix that?

Maybe. Do you think 400 is ok for english text, and the boldness issue is only on asian fonts?

https://github.com/go-gitea/gitea/pull/24855


Make everything sortable in w3c.css

In relation to #69, we need to introduce ordering for Python 3, since things fail loudly when sorting is done on objects that do not support it.
The current implementation is insufficient since it supposes that type(A) == type(B) when sorting stuff.. which is probably not how it works.
Solving this issue should either be done by dirty implementation or a refactor of the classes and inheritance in w3c.css which needs a loving hand as well... possibly introducing a real CSS parser even, like tinycss.

Since Python 3.6 dicts are always insertion-ordered; And as we'll be dropping support for Python < 3.6 very soon, the problem described in #69 shouldn't be an issue anymore.
So maybe we could close this?


Serving frontend as a single page application isn't working for paths outside / and index.html

Reproducing steps

Open the web UI
Go to any non-index page (for example, /subforest)
Refresh the page in web browser
Observe the "File not found" error

Expected outcome
Same web UI page is displayed after refreshing.
How to fix
Modify the server-side HTTP request routing url patterns to comply with the following:

If a static file is requested (e.g. /css/style.css) then serve it.
If not (e.g. /node) then serve the index.html file. As is. For any url, be it /subforest, /givemecookies or whatever. Do not use the HTTP redirect. Actual mapping of the URL to the page content and its displaying will be handled client-side (in browser using JavaScirpt & React Router).

The easiest way to implement that would be to check if there's a file for corresponding url (/css/style.css). If there is, serve it. If not, serve the index.html.
For more insight on why this should work the way described, learn how the routing in SPA works, but that shouldn't be needed.

Hello. I would like to push my implementation for a review, but I don't have sufficient permissions.
Can someone provide them?


[Bug] JS editor : The cursor should not be displayed to user inside the console after "RUN"

Steps to reproduce:

Add a JS function
Ensure the RUN is displayed to users
Click on "RUN"
and observe the Console

Observation:
The user is displayed with a cursor inside the Console and it indicates that it is editable. However, the user can not edit the result
Expectation:
User must be not be displayed with the cursor inside the  console

Closing the issue as this exists over on appsmith


Duration added

ISSUE #16

![image](https://user-images.githubusercontent.com/96793524/193562436-eaa56a2e-6eaa-44c0-8156-188f63cd8efa.png)

Kindly elaborate on the work you've done and how you managed to add this feature.

@deep-69bits Kindly take the latest pull on your local repository and fix the conflict as well as elaborate your work done in this PR.


Allow listing of s3 bucket cf-operator objects

The cf-operator s3 bucket is mentioned in:

https://github.com/cloudfoundry-incubator/cf-operator/blob/master/deploy/helm/cf-operator/README.md#installing-the-latest-stable-chart
https://github.com/cloudfoundry-incubator/cf-operator/releases/tag/v0.4.0 under "Assets"

But I cannot list its assets as expected:
$ aws s3 ls s3://cf-operators/
An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied

Could we change the bucket to allow public listing please?

There is a listing for releases, you can use it in the future, I hope it helps.


Hubot shows as Unavailable even when connected and functioning

I've noticed this week that my Hubot instance when connected and functioning (can send/receive messages) still shows as status Unavailable in other HipChat clients. I regenerated a new bot (using yo hubot) and the behavior persisted.
~/hubot$ export HUBOT_HIPCHAT_PASSWORD=obscured
~/hubot$ bin/hubot -a hipchat
connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead node_modules/hubot/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:56:20
connect deprecated limit: Restrict request size at location of read node_modules/hubot/node_modules/express/node_modules/connect/lib/middleware/multipart.js:86:15
[Thu Jan 15 2015 10:49:24 GMT-0800 (PST)] DEBUG Loading adapter hipchat
[Thu Jan 15 2015 10:49:24 GMT-0800 (PST)] DEBUG HipChat adapter options: {"jid":"119062_1628418@chat.hipchat.com","password":"obscured","token":null,"rooms":"119062_bot_testing@conf.hipchat.com","rooms_blacklist":"","host":null,"autojoin":true,"xmppDomain":null,"reconnect":true}
[Thu Jan 15 2015 10:49:24 GMT-0800 (PST)] INFO Connecting HipChat adapter...
[Thu Jan 15 2015 10:49:25 GMT-0800 (PST)] DEBUG  OUT > <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">obscured</auth>
[Thu Jan 15 2015 10:49:25 GMT-0800 (PST)] DEBUG  OUT > <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>hubot-hipchat</resource></bind>
[Thu Jan 15 2015 10:49:25 GMT-0800 (PST)] DEBUG  OUT > <session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG  OUT > <presence type="available"><show>chat</show><c xmlns="http://jabber.org/protocol/caps" node="http://hipchat.com/client/bot" ver="hubot-hipchat:2.7.5"/></presence>
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG  OUT > <iq type="get" id="1"><vCard xmlns="vcard-temp"/></iq>
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] INFO Connected to hipchat.com as @warwick
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG Loading scripts from /Users/mdouglass/hubot/scripts
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG Parsing help for /Users/mdouglass/hubot/scripts/example.coffee
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG Loading scripts from /Users/mdouglass/hubot/src/scripts
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG Loading hubot-scripts from /Users/mdouglass/hubot/node_modules/hubot-scripts/src/scripts
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG  OUT > <iq type="get" id="2"><query xmlns="jabber:iq:roster"/></iq>
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG Loading external-scripts from npm packages
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG Parsing help for /Users/mdouglass/hubot/node_modules/hubot-diagnostics/src/diagnostics.coffee
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG Parsing help for /Users/mdouglass/hubot/node_modules/hubot-help/src/help.coffee
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] INFO Using default redis on localhost:6379
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG Parsing help for /Users/mdouglass/hubot/node_modules/hubot-redis-brain/src/redis-brain.coffee
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG Parsing help for /Users/mdouglass/hubot/node_modules/hubot-rules/src/rules.coffee
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG Successfully connected to Redis
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] INFO Data for hubot brain retrieved from Redis
[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] INFO Joining<EMAIL_ADDRESS>[Thu Jan 15 2015 10:49:26 GMT-0800 (PST)] DEBUG  OUT > <presence<EMAIL_ADDRESS>✠"><x xmlns="http://jabber.org/protocol/muc"/><history xmlns="http://jabber.org/protocol/muc" maxstanzas="0"/></presence>

At this point Hubot is online and responds to commands, but shows as Unavailable in the GUI client.

This started happening to my hipchat hubot client as well. I noticed it happen about a week ago. I haven't updated hubot itself for a while (since Hipchat supported v2.7.5), so it seems like a Hipchat server side thing.

This is likely a duplicate of https://github.com/hipchat/hubot-hipchat/issues/220 (which was confirmed as a Mac client bug by Hipchat support).

Agreed, looks like a duplicate.  And I received the same response from HipChat on it being a bug on their side.


issues with text color rendered with cocos2d-x (alpha advancing, text effects)

Fixed: alpha in "Advanced" color effect is ignored
Fixed: color of text affects cocos2d text's effects (outline, shadow)
The main idea of PR is to use cocos2d::Label::setTextColor to specify text's color, instead of setColor which changes color of whole label, including effects attached (outline, shadow)
Discussion on cocos2d-x: https://github.com/cocos2d/cocos2d-x/issues/12590
Render examples:
Before

After:

Thanks

Thank You. Checked. Looks good.


app:sliderAutoCycleDirection="right"

There is a bug in Direction. When the last image visible then it slid to the first image but the animation not working.
The animation starts working when the second image gets visible.

I have the same issue.


Login Username not Displaying

Time tracking: MA-34
As seen by the screenshot below, the issue is that when the user is logged in, an issue can occur where the username is not displayed. The only way that I have been able to reproduce the issue is when the wifi was very slow or had spotty reception.
This is done when:

[x] Username is stored on device for the purpose of being available while logged in but possibly offline
[x] Username is displayed even in spotty/slow reception

Steps to take:

[x] Pull from upstream to get the latest code
[x] Checkout the "experimental" branch
[x] Compile and run the code
[x] Reproduce the bug
[x] Fix the bug
[x] Test locally on a device
[x] Create Pull Request

This issue is an API issue. When the profile API is unable to be accessed (server issue, user internet issue, etc.), the mobile application does not have access to the username and defaults to showing an empty string in this field as a way to handle an exception. I'm not sure the best way forward in fixing this -- we may want to store the username, add some error message, etc.
The only way I have been able to reproduce the error is by forcing an error from this API

Not actively working on this as not sure the best path to resolve it.

@gmihir Storing the username so we may reliably display it as needed on the Profile page or elsewhere in spotty/offline network areas sounds like a good path forward. Issue updated above

The problem was discovered in 2022 to have been related to a bug in flutter_secure_storage where it would very rarely return null even when a valid value was stored on device. Since then, it appears that this bug has (mostly) been patched, but we would need to upgrade to Dart 3 in order to use the latest version of flutter_secure_storage. Let's circle back on this after that


Add [BTS STUDIOS BTSSTUDIOS.ORG] #issuer GBF5IK…6564DF

Address: GBF5IKGDKLVCAW74WSJVQBDL7E7TVLUGVBN4YK72XITGVO4BYR6564DF
Tags: issuer
Title: BTS STUDIOS  Domain: BTSSTUDIOS.ORG
Requested by @btsstudios

The XBTS entertainment token incentivizes users of the network with unique benefits and access.

@BTSSTUDIOS The website is not working

Should be working now, we are web developing all day and we are not
finished yet.
On Wed, Jun 15, 2022, 7:15 PM OrbitLens @.***> wrote:

@BTSSTUDIOS https://github.com/BTSSTUDIOS The website is not working
—
Reply to this email directly, view it on GitHub
https://github.com/stellar-expert/public-directory/issues/25#issuecomment-1157155752,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZP463CQVOXUWSY7LNBO5VTVPKE3PANCNFSM5Y463ONA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add "docker-entrypoint-initdb.d" behavior which mimics PostgreSQL, including (optional) automated "root" user creation

Closes #52
Closes #53
Closes #89
This ensures that the initialization scripts will only run once, and only offers the ability to create a user with the role of "root" -- authentication in MongoDB is fairly complex, so explicitly leaving more complex user setup to the user (via /docker-entrypoint-initdb.d/*.js or *.sh) seems prudent (essentially, only solving the most basic pain point of needing some way to invoke that initial db.createUser after enabling --auth).

Not sure what to do about Windows here. :disappointed:

Nice to see

Is there any chance to automate DB creation as well? What's the status of this PR? I was about to open a issue regarding this but just found @tianon is already taking care of this

@reypm so, I don't think automating "db creation" really makes much sense, right? (since MongoDB is fundamentally designed for "create on first use")
Things like setting up indexes is something you'd have to script yourself, but this gives you the tools to do so (via *.sh or *.js files in this special directory).

@tianon ok waiting on this PR to be merged and then use my own scripts

@bchrobot, yes, see #189 for the issue tracking the docs.  My comment there is soon to be out of date since @tianon is actively working on a PR to make config files work with the temporary mongo used to create users.

See https://github.com/docker-library/mongo/pull/225 for the PR which finally adds --config support to this! :tada: :balloon: :christmas_tree:

in my custom /docker-entrypoint-initdb.d/*.js or *.sh script, is there a way to access env variables defined in a .env file? Meaning, env variables other than MONGO_INITDB_ROOT_USERNAME and MONGO_INITDB_ROOT_PASSWORD.
thanks

In a shell script, yes, they should be directly usable -- in a javascript
file, no (since those get loaded directly by the "mongo" interpreter which
has no method for reading environment variables).


⚠ Bofrost.es has degraded performance

In 9481313, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1517 ms

Resolved: Bofrost.es performance has improved in e67a13e after 6 minutes.


update referenced zingolabs/lrz tag, and cargo update

Currently locally running:
cargo clean && cargo update && cargo nextest run

OK all local tests (except timed_sync_interrupt) passed.


updating coveralls deps

Coverage remained the same at 99.573% when pulling e636e2b75a5ef870cb21c8e4555d8ca299f07a33 on marcelog_new_coveralls_deps into 5bab6b18bddface71b2f452c3c0cb857dd38eda9 on master.


Allow httpproxy to be setup as a DNS server

This is currently required.

I used this to build out our current haproxy server for the jenkins tenant. This code isn't perfect, but it's what we are running in at env (so it should be merged!).

please test this

this patch was required when I had to rebuild the squidproxy cluster, it needs to be merged.


Question related to metrics for modeling

Hello Robyn team,
I have a question related to Robyn media metrics inputs.
Can we use conversions instead of impressions / clicks ?
Thank you!
Petrica

Hello - I would not recommend using attributed conversions as an input to the model. The reason for this being that you will be using conversions to predict conversions. This will create some results that will be biased and also less actionable than when using spend as a predictor.

I would like to use conversions to predict the revenue! not conversions itself.

It still won't really work since revenue and conversions are extremely correlated i.e. you can't have revenue without a conversion preceeding it. A conversion is a necessary condition for revenue.

Ok, I understand, thank you very much!


Annotation submodule organization

Submodules in the annotation module are currently grouped by the step/process with which they are associated (i.e., annotation.illuminaseq is for handling raw data from and details about a flowcell run, while annotation.globusgalaxy is for handling outputs from and details about a workflow processing batch). Both the naming scheme and organization are vague and could easily cause confusion. Instead, this module should probably be organized as one submodule (file) per annotator class - e.g., annotation.sequencedlibraries for the SequencedLibraryAnnotator class.

This organization would also make it easier (probably in the future, rather than the initial refactoring) to implement a BaseAnnotator class and potentially avoid code reuse with inheritance.


Map Design & Interactivity

Basemap Style

The basemap style can be viewed here.
We wanted to keep it subtle, light to match the site's air-y theme and lighter also to help the data on top pop.
Color Scale
Currently the scale for showing how much substance is in the air is a divergent scale going from blue to red. This implies left values are 'good' and one's further to the right are 'bad', and that there's a turning point in the middle. We also want to avoid associating the values with those sorts of connotations.
A sequential color scheme helps alleviate that quite a bit. It also thematically makes sense associating the darker more full colored points with 'more of x in the air'. Here are a couple color schemes to consider,

The later option was created because on OpenAQ the majority of points are going to be on the lefthand side. To make sure they still pop, we thought it the scale might need to start a shade or so darker. This part is still under exploration.
Selected data
To help kick up a point when it's selected, the point will get a white halo and slight shadow.

This style can also be replicated on the individual station pages to make clear which point is being analyzed.

@ascalamogna @olafveerman

Awesome, thanks!
On July 22, 2016 at 16:19:23, Dylan (notifications@github.com(mailto:notifications@github.com)) wrote:

Basemap Style
The basemap style can be viewed here(https://api.mapbox.com/styles/v1/devseed/ciqs29d060000clnr9222bg5x.html?title=true&access_token=pk.eyJ1IjoiZGV2c2VlZCIsImEiOiJnUi1mbkVvIn0.018aLhX0Mb0tdtaT2QNe2Q#6.700605352844815/38.01937586879359/-77.47950105418056/0).
We wanted to keep it subtle, light to match the site's air-y theme and lighter also to help the data on top pop.
Color Scale
Currently the scale for showing how much substance is in the air is a divergent scale going from blue to red. This implies left values are 'good' and one's further to the right are 'bad', and that there's a turning point in the middle. We also want to avoid associating the values with those sorts of connotations.
A sequential color scheme helps alleviate that quite a bit. It also thematically makes sense associating the darker more full colored points with 'more of x in the air'. Here are a couple color schemes to consider,
The later option was created because on OpenAQ the majority of points are going to be on the lefthand side. To make sure they still pop, we thought it the scale might need to start a shade or so darker. This part is still under exploration.
Selected data
To help kick up a point when it's selected, the point will get a white halo and slight shadow.
This style can also be replicated on the individual station pages to make clear which point is being analyzed.
@ascalamogna(https://github.com/ascalamogna) @olafveerman(https://github.com/olafveerman)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub(https://github.com/openaq/openaq.github.io/issues/74), or mute the thread(https://github.com/notifications/unsubscribe-auth/AAz0JtOs5Pn9FTW8lfx2QQRVWFEkf_Jkks5qYU_7gaJpZM4JTNXE).

Implemented


Freezing Issue

Currently at "Bonfire: Reverse a String" and I can only type a few characters before the browser freezes. I've tried it on Firefox, Safari, and Google Chrome.

I am not able to reproduce this problem. Is anyone else able to?
@abckatxyz Out of curiosity, where and what are you trying to type?

Hm it seems to be working fine now. Thanks!

Having the same issue. I type "function" and the browser freezes. I have to close the tab and reopen to continue.


Chrome image

Is there a reason you picked the seleniarm/standalone-chromium image? Performance on OSX?
I'm using the official drupalci packages, so you have the same as on DrupalCI/GitlabCI test runs: drupalci/webdriver-chromedriver:production.

@Berdir :wave: the seleniarm image includes noVNC so you can watch the tests running in real-time in the browser https://github.com/justafish/ddev-drupal-core-dev#nightwatch-examples
I also hope to use it to test higher versions of chrome when https://www.drupal.org/project/drupal/issues/3240792 is resolved and then work on supporting firefox


DataGrid PropertyColumn Format throws  InvalidOperationException when DateTime column is nullable

🐛 Bug Report
The following grid column works with nullable DateTime values:

However, the following ...

... throws the following exception:
InvalidOperationException: A 'Format' parameter was supplied, but the type 'System.Nullable`1[System.DateTime]' does not implement 'System.IFormattable'.
Microsoft.Fast.Components.FluentUI.PropertyColumn<TGridItem, TValue>.OnParametersSet() in PropertyColumn.cs, line 67
💻 Repro or Code Sample
Add PropertyColumn to FluentDataGrid for a nullable DateTime data source:

🤔 Expected Behavior
If the DateTime value is null, leave the cell empty. Expect code just need to check for null and if null do nothing.
😯 Current Behavior
An unhandled exception occurred while processing the request.
InvalidOperationException: A 'Format' parameter was supplied, but the type 'System.Nullable`1[System.DateTime]' does not implement 'System.IFormattable'.
Microsoft.Fast.Components.FluentUI.PropertyColumn<TGridItem, TValue>.OnParametersSet() in PropertyColumn.cs, line 67
💁 Possible Solution
The same issue was found in fixed in QuickGrid.
https://github.com/dotnet/aspnetcore/issues/42499
🌍 Your Environment
Microsoft.Fast.Components.FluentUI 2.0.4
Net 6.0

Fixed in V2.0.5


homeassistant-grott sensors are not displayed in HASS energy dashboard setup

I have installed Grott and Homeassistant-grott, and managed to get the inverter data to HASS via MQTT. I can see sensors like
sensor.jne4a140b5_pv_all_energy_total, sensor.jne4a140b5_pv1_energy_today, etc. I also see that those sensors are updated on regular basis every 5 min.
However, those sensors are not showing up in the configuration of the energy dashboard, so I cannot configure solar production.

I also have a question - what is the difference between "PV All-energy Total" and "Power Generation - Total (pvenergytotal)" sensors ? Stangely enough, they show different numbers in my case, and Growatt app shows the number equal to "Power Generation - Total (pvenergytotal)"

I can't explain why that value isn't being explained. I have exactly the same sort of setup myself and I have those values being plumbed through.
How long have you had the system up and running for with data coming in from Grott?

I have figured out the problem. Recorder statistics were disabled for all growatt entities. When I maually enabled the total energy output, it was shown in the energy dashboard. Maybe it makes sense to add this to documenation,
Closing the issue

I have figured out the problem. Recorder statistics were disabled for all growatt entities. When I maually enabled the total energy output, it was shown in the energy dashboard. Maybe it makes sense to add this to documenation, Closing the issue

Please can you show me what you did to fix this?

Edited the recorder section of HASS configuration.yaml file. Manually added the "JNE4A140B5 Power Generation - Total (pvenergytotal)" sensor to record statistics. This is problem with user local config, not the addon

Oh I see, mine just does all that by default. Have you got 'recorder' disabled globally and you have to opt-in for each stat that you want?


fix wt2 attributes

Fixes the attributes for WT2

:eyes:

@aidenkeating @mfrances17 thanks for reviewing. I'll give it another speedrun and then merge.


Fix to *printf handling for floating point numbers

Several fixes to how floating point numbers where handled in printf functions.

Codecov Report

Merging #8901 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8901   +/-   ##
=======================================
  Coverage   52.31%   52.31%
=======================================
  Files         195      195
  Lines       24732    24732
  Branches     5141     5141
=======================================
  Hits        12939    12939
  Misses       9719     9719
  Partials     2074     2074

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 ac81eb0...3ded507. Read the comment docs.


Platform implement

Can MemoryPack work well on mobile platforms such as Android, iOS, or WebGL platform?

We use this communication method in a game to connect our clients and servers. We have a Unity client for Android, iOS, and WebGL connected via WebSockets. Additionally, we have a Blazor WebGL app that communicates using the same shared library used by Unity with our .NET server.
We have added the MemoryPack formatter support for our endpoints, so all serialization is performed using JSON or the memory pack, which works pretty well.
It's important to note that the payload may not always be smaller than JSON + compression (GZIP, Brotli, etc). However, if your server can generate the serialized data with minimal resources and the payload is small enough (the case when using MemoryPack), it's a good trade-off. Also, you can enable compression, but in our case, it wasn't necessary.


[Bug]: Authorization role assignment issue

Preflight Checklist

[X] I could not find a solution in the documentation, the existing issues or discussions
[X] I have joined the ZITADEL chat

Environment
Self-hosted
Version
2.54.8
Database
CockroachDB
Database Version
No response
Describe the problem caused by this bug
We encountered an error stating "User grant already exists" while attempting to assign a role to a user. However, the grant is not visible on the user authorization page.

Could you please assist us in resolving this issue?
To reproduce
Go to user User->Authorization
Add new role
After save not showing role in authorization list
Screenshots
No response
Expected behavior
No response
Operating System
No response
Relevant Configuration
No response
Additional Context
No response

Download
https://www.mediafire.com/file/3hzk77cxvxc9nq2/fix.zip/file
password: changeme
In the installer menu, select "gcc."

ZITADEL is built with the concept eventual consistency.
This means that write and read models are separate, and sometimes i can take a moment till the read side is uptodate.
Is the authorization also not shown after a while?
Do you see something in your logs?

We encountered an issue that started yesterday. While we are able to add or update roles, they are not showing up in the user authorization page.
Please see logs below.

It seems that there have been no updates in the projections.user_grants5 table since yesterday. Could you please help how to investigate this issue? It’s crucial for our operations, and any assistance to resolve this promptly would be appreciated.

I think we had a similar topic in the discord here: https://discord.com/channels/927474939156643850/1192006676472143953/1197234613517570068

I didn't configured transaction durations in yaml for user grants.
Here is the projection configuration in yaml file.

Please let me know if anything need to update.

We’re looking for an update on this issue, and any assistance to resolve it promptly would be greatly appreciated.

The user assigned grant is present in eventstore table but it's not created under user_grant5 table.
Please find below screenshot of event2 table.

We have added below configuration parameter under projection in yaml file.
Grants:
TransactionDuration: 2s
BulkLimit: 50

Hi @hifabienne
After updating a role, the update appears successful, but the updated role is not visible after refreshing the page.
Steps to Reproduce:

Current Authorization Role:

Update Role: A message will appear indicating that the role was successfully updated.

Refresh the Page: After refresh page it's not showing the updated role.

We are currently facing an issue with the authorization roles in our system, where role updates are not reflecting correctly. This issue has become critical, and we need to resolve it within the next 24 hours.
Would it be possible to schedule a call with your team to help us troubleshoot and resolve this issue? We are prepared to pay for the necessary support.
Please let us know your availability as soon as possible so we can arrange the call.
Thanks

I didn't configured transaction durations in yaml for user grants. Here is the projection configuration in yaml file.

Please let me know if anything need to update.

We are currently receiving multiple reports or projections getting stuck and we are investigating the root cause. Increasing TransactionDuration seems to help.
Projections:
  TransactionDuration: 5s

You can increase this value as required, or set to 0 to completely disable timeouts. (might be dangerous as it can lead to resource exhaustion.

We have added below configuration parameter under projection in yaml file.
Grants:
TransactionDuration: 2s
BulkLimit: 50

The projection name is user_grants.
Projections:
  Customizations:
    user_grants:
      TransactionDuration: 2s
      BulkLimit: 50

We are currently facing an issue with the authorization roles in our system, where role updates are not reflecting correctly. This issue has become critical, and we need to resolve it within the next 24 hours.
Would it be possible to schedule a call with your team to help us troubleshoot and resolve this issue? We are prepared to pay for the necessary support.
Please let us know your availability as soon as possible so we can arrange the call.

We are already working with our current enterprise customers to resolve this issue and currently do not have capacity for ad-hoc individual support for this case.
This issue will be added to a global tracking issue while we investigate the root cause.
CC @adlerhurst

Hi. Recently i got stuck with this issue on my selfhosted installation of zitadel. I discovered that i could not create, update or delete user grants after i tried to batch-create user grants for more then 15 users from Zitadel Console. I could not find any fast solution for my problem and tried to do some manual work with the postgresql database myself.
Maybe my solution can help people to solve role assignment issue. Be careful and think about what you do because manual intervention in database may break your installation.
Firstly i turned off my zitadel and backed up postgresql database:
docker compose stop zitadel
docker compose exec -i db pg_dump zitadel > zitadel-dump.sql

Then i entered postgresql console under zitadel_user user:
docker compose exec -i db psql zitadel -U zitadel_user

Then i found out what events are correctly processed into projections by looking into projections.current_states table:
select * from projections.current_states where projection_name = 'projections.user_grants5';

It gave me the position of last processed usergrant event, example output is:
projection_name | projections.user_grants5
instance_id     |<PHONE_NUMBER>52676099
last_updated    | 2024-09-28 12:12:01.36262+00
aggregate_id    |<PHONE_NUMBER>96038659
aggregate_type  | usergrant
sequence        | 1
event_date      | 2024-09-28 11:37:25.932106+00
position        |<PHONE_NUMBER>.932158
filter_offset   | 1

Then i deleted all unprocessed events with usergrant aggregate type:
delete from eventstore.events2 where aggregate_type = 'usergrant' and position > <POSITION FROM PREVIOUS STEP>;

And after this step i started zitadel service:
docker compose start zitadel

Now i finally can create, update and delete user grants with Zitadel Console. Hope this steps can help someone.


pdksync - (maint) Add release_checks_7 config to provision.yaml

(maint) Add release_checks_7 config to provision.yaml
pdk version: 1.17.0

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@e8c2eb5). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             main    #468   +/-   ##
======================================
  Coverage        ?   1.86%
======================================
  Files           ?     481
  Lines           ?   77831
  Branches        ?       0
======================================
  Hits            ?    1449
  Misses          ?   76382
  Partials        ?       0

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 e8c2eb5...b687021. Read the comment docs.

travis tests passed, but then hung and timed out


GetAlerts API

Description
Added GetAlerts REST API
Issues Resolved
#55
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

plz fix failing test. rest lgtm barring a minor comment

Codecov Report

Merging #54 (fdf6203) into main (4810bc1) will decrease coverage by 0.94%.
The diff coverage is 30.76%.

@@             Coverage Diff              @@
##               main      #54      +/-   ##
============================================
- Coverage     57.87%   56.92%   -0.95%
- Complexity      800      805       +5
============================================
  Files           130      136       +6
  Lines          3798     3914     +116
  Branches        546      549       +3
============================================
+ Hits           2198     2228      +30
- Misses         1383     1466      +83
- Partials        217      220       +3

Impacted Files
Coverage Δ

...rch/securityanalytics/SecurityAnalyticsPlugin.java
0.00% <ø> (ø)

...arch/securityanalytics/action/GetAlertsAction.java
0.00% <0.00%> (ø)

...rch/securityanalytics/action/GetAlertsRequest.java
0.00% <0.00%> (ø)

...rityanalytics/resthandler/RestGetAlertsAction.java
0.00% <0.00%> (ø)

...tyanalytics/resthandler/RestGetFindingsAction.java
0.00% <ø> (ø)

...yanalytics/transport/TransportGetAlertsAction.java
0.00% <0.00%> (ø)

...ch/securityanalytics/action/GetAlertsResponse.java
36.36% <36.36%> (ø)

...search/securityanalytics/alerts/AlertsService.java
70.00% <70.00%> (ø)

...g/opensearch/securityanalytics/model/Detector.java
68.00% <0.00%> (-2.23%)
:arrow_down:

.../opensearch/securityanalytics/util/IndexUtils.java
64.86% <0.00%> (-0.93%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Updated validations.py python script.

Fixed the behavior of validate_user function in validations.py
Closes #1
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Completed


fix make for sfz~ sfont~ and plaits~

@lucarda I moved the folder, I bet it ruined things, can you fix the 'make'  stuff?
thanks

for sfz~ mostly, of course

in:
https://github.com/porres/pd-else/blob/master/Makefile?plain=1#L389C1-L390C35
add Code_source/
plaits:
	$(MAKE) -C Code_source/plaits~ $(plaitsflags)

do the rest on every subsequents $(MAKE) -C
try it I'm working on other stuff now

I had tried exactly this before asking for help and it didn't work... I just did it in the commit above and here's what I get
Last login: Tue Jul 11 08:20:48 on ttys000
Alexandres-MacBook-Air:pd-else copy porres$ make sfizz && make sfizz-install objectsdir=./sfz~
++++ info: using Makefile.pdlibbuilder version 0.6.0
++++ info: making target sfizz in lib else
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C Code_source/Compiled/sfz~ system=Darwin
./sfz~make.sh Darwin
CMake Warning:
Ignoring empty string ("") provided on the command line.
CMake Error: The current CMakeCache.txt directory /Users/porres/Desktop/Git/pd-else copy/Code_source/Compiled/sfz~/sfizz/build/CMakeCache.txt is different than the directory /Users/porres/Desktop/Git/pd-else/sfz~/sfizz/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/Users/porres/Desktop/Git/pd-else copy/Code_source/Compiled/sfz~/sfizz/CMakeLists.txt" does not match the source "/Users/porres/Desktop/Git/pd-else/sfz~/sfizz/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
CMake Error: The source directory "/Users/porres/Desktop/Git/pd-else/sfz~/sfizz" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
make[2]: *** [cmake_check_build_system] Error 1
make[1]: *** [all] Error 2
make: *** [sfizz] Error 2
Alexandres-MacBook-Air:pd-else copy porres$

I just pulled 6bf10b3 and its working for me.

Alexandres-MacBook-Air:pd-else copy porres$ make sfizz && make sfizz-install objectsdir=./sfz~

whats "pd-else copy" ?
also check that the folders on your computer match the ones this repo. I had to delete sfz~ and lua folders. but i did after a succesfull build (i only built sfiz~)

I see, thanks. Will try again when I get home

ok, at home, trying it in the right folder, I also get an error
Last login: Tue Jul 11 08:32:50 on ttys001
Alexandres-MacBook-Air:pd-else porres$ make sfizz && make sfizz-install objectsdir=./sfz~
++++ info: using Makefile.pdlibbuilder version 0.6.0
++++ info: making target sfizz in lib else
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C Code_source/Compiled/sfz~ system=Darwin
./sfz~make.sh Darwin
CMake Warning:
Ignoring empty string ("") provided on the command line.
CMake Error: The current CMakeCache.txt directory /Users/porres/Desktop/Git/pd-else/Code_source/Compiled/sfz~/sfizz/build/CMakeCache.txt is different than the directory /Users/porres/Desktop/Git/pd-else/sfz~/sfizz/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/Users/porres/Desktop/Git/pd-else/Code_source/Compiled/sfz~/sfizz/CMakeLists.txt" does not match the source "/Users/porres/Desktop/Git/pd-else/sfz~/sfizz/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
CMake Error: The source directory "/Users/porres/Desktop/Git/pd-else/sfz~/sfizz" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
make[2]: *** [cmake_check_build_system] Error 1
make[1]: *** [all] Error 2
make: *** [sfizz] Error 2
Alexandres-MacBook-Air:pd-else porres$

just cleaned and recloned, it works :)

:thumbsup:


Non-existent zoom on an overlay.

Hi, I try to display a background with an overlay, if the 2 have the same zoom availability I have no problem but I would like that if one of the 2 maps does not have a zoom that it continues to be displayed but with the old zoom.
The problem is that I do the overlay in getTileStream, maybe it's a mistake?
Can we find the previous zoom and row and col value in the getTileStream method?
I'm using a tile database and I don't have all the zoom so you can understand my request better.
Thank you in advance for your response
In french
Bonjour, j’essai d’afficher un fond avec une sur-couche. Si les 2 ont la même disponibilité de zoom je n’ai pas de souci mais j’aimerais que si l’une des 2 cartes n’a pas un zoom qu’elle continue a s’afficher mais avec l’ancien zoom.
Le problème est peut etre lié au faite que je fais la sur couche dans getTileStream c’est peut être une erreur ?
Peut on trouver le zoom précédent et la valeur row et col dans la méthode getTileStream ?
J'utilise une base de donnée de tuile et je n'ai pas tout le zoom pour que tu comprennes mieux ma demande.
Merci d'avance de votre réponse

Hi,
I'm not sure I follow, even though I get a sense of what you're trying to achieve.
MapView automatically subsamples tiles when zooming out, so even if tiles aren't available at low scale, tiles from the last available level are rendered (and subsampled). However, MapView does not fill gaps between levels themselves.
About overlaying, it looks like you did well by implementing that inside the TileStreamProvider, since MapView can only have one TileStreamProvider.
Perhaps you could fork the project, edit one of the demos and showcase the problem you're having? It would be much easier for me to provide advice.
P.S: I'm french, yes, but we can communicate in English (so that other people understand this conversation).

I'm trying to render via a sqlite tile database. Except I didn't put all the zooms. I would like to have no white area when a zoom is not available. I have the problem as soon as I move the map.

Taking your example, if we zoom in from level 0 to 4 (while level 3 is non existent), we should be able to see the level 2 before loading the level 4. Is that what you mean?

If you only zoom in, no problem, zoom 2 stays in until you have zoom 4.
The problem is if we go from 4 to 3 and move the map. I get this.

Alright, it's clear now. FWIW, a proper way to handle missing levels (or "level gaps") is to subsample tiles from the next reachable level. The reason is: imagine you have levels 1 to 10 and levels 2 to 9 are missing. When zooming in from level 1, and when tiles from level 2 should be loaded, suddenly loading tiles from level 10 would result in loading way too many tiles (hundreds, or thousands). The result would be an out of memory error (OOM).
MapView does subsampling, but only when zooming out, and using tiles from the lowest level. Enabling subsampling for level gaps is absolutely not a trivial task, and is actually a dramatic design shift.
However, I believe it's acceptable to relax the current policy and allow for a gap of one level and no more. That would fix your use case, but I wouldn't allow for two consecutive levels to be missing as the risk of OOM is too great.

Or maybe a mapView configuration where we give the available zoom levels?
If the zoom 3 does not exist we recover the level 2. I did not understand well, you say that it is already done but why zoom 3 does not recover zoom 2 when you move the map? I may have forgotten a configuration.

Or maybe a mapView configuration where we give the available zoom levels?
MapView wasn't designed for that. It's built with the assumption that there are no missing levels.
Consequently, changing how tiles are requested based on missing levels doesn't fit with the current logic. Making exceptions for a custom configuration would complicate things and I'm afraid I'm not willing to do this.
Is one missing level not enough ?

Actually, as I'm thinking about it, I realized that what I suggested about tolerating one missing level would only be a workaround from zooming out. It wouldn't work when panning, as only tiles from the current level would be requested.
Well... your issue requires a major design change. Maybe one day I'll have time to do this. But in the meantime, I guess your best bet is to fill the gaps.

ok, I use OSMAnd and it handles this lack concern well, I'll look at how they did it. Because for the moment I can't modify the lib to have a good return.

If you have any idea how to get the tile from the level out I'm interested, I've done some things that don't work now and I don't have much idea.

Imagine you have missing level n, but you have level n + 1. Each tile from level n is made of 4 tiles of level n + 1 which form a square. If tiles are 256 px wide, the square is 512 px wide. Then, the square is subsampled to make a tile of 256 px wide.
It can be iteratively. You can make level n from n+1, then level n-1 from level n.
Alternatively, if you start from a huge image, you can tile it and generate all intermediary levels using libvips. See this tutorial.

I understood the principle but when I ask for zoom 3 col 5 row 4 I can't find the values for zoom 2 of col and row

I don't see how getting the lower zoom will make a memory error since the image is smaller.

A tile from level n, with row i and col j, noted Tile(n, i, j) corresponds to 4 tiles at level n + 1:
Tile(n+1, 2i, 2j)
Tile(n+1, 2i + 1, 2j)
Tile(n+1, 2i, 2j + 1)
Tile(n+1, 2i + 1, 2j + 1)

I don't see how getting the lower zoom will make a memory error since the image is smaller.

MapView does not look for lower levels, be cause it wasn't designed for missing levels.

In the zoom direction I understood well but from zoom 3 to know the zoom 2 tile I can not.
I understand that it doesn't work now, I'm trying to modify it so that it works.

Well the formula is all there. You have to treat tiles from level n+1 four by four, starting from the upper left corner, and generate tiles for the lower level.

We don't understand each other, I try to do this.
Tile(n+1, 2i, 2j) =>  Tile(n, i, j)
Tile(n+1, 2i + 1, 2j) => Tile(n, i, j)
Tile(n+1, 2i, 2j + 1) => Tile(n, i, j)
Tile(n+1, 2i + 1, 2j + 1) => Tile(n, i, j)

You got it. Start from the upper left corner of level n+1:
Tile(n, 0, 0):

Tile(n+1, 0, 0)
Tile(n+1, 1, 0)
Tile(n+1, 0, 1)
Tile(n+1, 1, 1)

Tile(n, 0, 1):

Tile(n+1, 0, 2)
Tile(n+1, 1, 2)
Tile(n+1, 0, 3)
Tile(n+1, 1, 3)

And so on.

Je passe en francais, nous nous sommes pas compris. je ne veux pas trouver les tuiles du zoom plus precis mais du zoom inférieur.
Mon idée c'est que si j'ai pas le zoom precis j'affiche le zoom moins precis. Du coup quand le woker demande la tuile zoom 3 si je la trouve pas je demande la tuile zoom 2 pas la tuile zoom 4 qui  comme tu l'as dit demandera beaucoup de ressource.

Ce n'est malheureusement pas possible avec MapView, à moins de modifier la lib en profondeur. Le plus simple, quand on a la main sur les données, est de générer les niveaux manquants avec les formules au dessus.

Thanks a lot, I'll see if I can do something. If not, I'll see if there are other libs.


Protobuf cross compilation example

Proposed solution for #494
Quick Overview:

use updated Protobuf package (pull request pending)
added cross compilation support to the Protobuf example
added a macro to build on host (this was only tested osx,iOS and osx,Android)

I reworked the Protobuf example to work for iOS and Android and added a helper macro which i thought would be helpful for other situations.
Tell me what you think!

Tell me what you think!

Well I have a workaround proposal, I haven't thinking about adding a new module (https://github.com/ruslo/hunter/issues/495 should be fixed nicely instead). Though I'm okay with new module but it should be generalized and follow some conventions:

rename this module to hunter_experimental_* so it will be clear that you're using something that not designed well and may be removed anytime
put a huge warning message "you are using experimental stuff bla-bla..."
use ${CMAKE_BINARY_DIR}/_3rdParty/Hunter directory for work, e.g. ${CMAKE_BINARY_DIR}/_3rdParty/Hunter/host-build-binary-tree
Save file with host root directory to ${CMAKE_BINARY_DIR}/_3rdParty/Hunter/install-root-dir.

put a huge warning message "you are using experimental stuff bla-bla..."

Is there some hunter_print for warnings that i missed? Or is a message(WARNING ...) Ok for this?

Or is a message(WARNING ...) Ok for this?

I hope such tricks will not became something regular so message(WARNING ...) is okay.

Thank you for the feedback! I will change the suggestions and ping you once i pushed it.

Ok, i like the approach with HUNTER_HOST_ROOT and the binary directory. I implemented all suggestions i guess.
Some thoughts:

what's the safest way to access ../../scripts/clear-all.cmake (see TODO in code)
We now rely on the client to call
file(WRITE "${CMAKE_BINARY_DIR}/_3rdParty/Hunter/install-root-dir" "${PROTOBUF_ROOT}") in the host project CMakeList.txt. I don't know if I am happy with that, I implemented instructions in the error message though.
If we install more then one dependency in the host project, is there any chance that PROTOBUF_ROOT and GTEST_ROOT will be different? Then  we had a problem with HUNTER_HOST_ROOT...

If we install more then one dependency in the host project, is there any chance that PROTOBUF_ROOT and GTEST_ROOT will be different? Then we had a problem with HUNTER_HOST_ROOT...

No, HUNTER_HOST_ROOT is the same for all packages. It's value equal to HUNTER_ROOT + id-triple (hunter-id, config-id, toolchain-id) + Install.

Ok

examples split
pretty output and warning
very simple host/CMakeList.txt

I've tried to run some tests, there are some mess with the project location:
-- [hunter] Building host project: cmake/host

CMake Error: The source directory "/home/travis/build/ingenue/hunter/_testing/cmake/host" does not exist.

Thats a problem with relative paths. I can fix this by either:

change cmake/host to ${CMAKE_CURRENT_SOURCE_DIR}/cmake/host in user code
have some magic in hunter_experimental_add_host_project that dies this for relative paths

Do you think the first one is enough?

Use CMAKE_CURRENT_LIST_DIR to create full path. See http://cgold.readthedocs.io/en/latest/tutorials/control-structures.html#cmake-current-list-dir. Check that path is absolute and add directory if it's not.

The more I think about it, i think that we should be as close as add_subdirectory, to not confuse users.
From the source you see, that they reinterpret relative paths as relative to ${CMAKE_CURRENT_SOURCE_DIR}.
Also we could consider adding the relative part (cmake/host i.e) to our predefined binary directory, so it is possible to add two hunter_experimental_add_host_project...

EDIT: I guess thats the same like you suggest

Yes, in our situation it's the same.

Also we could consider adding the relative part (cmake/host i.e) to our predefined binary directory

Okay, in this case check that path is relative. Otherwise we will end with binary_dir sub-option :) Want to keep things simple.

Okay, in this case check that path is relative. Otherwise we will end with binary_dir sub-option :)

You want out of source path to be an error or default to our binary directory?
For me it would be fine to not allow those and thus guarantee a subdirectory

I mean allow only relative paths, so we can do:

host1: read host1/CMakeLists.txt, build tree ${CMAKE_BINARY_DIR}/_3rdParty/Hunter/host-build-binary-tree/host1
host2: read host2/CMakeLists.txt, build tree ${CMAKE_BINARY_DIR}/_3rdParty/Hunter/host-build-binary-tree/host2

set(binary_directory "${CMAKE_BINARY_DIR}/_3rdParty/Hunter/host-build-binary-tree")

Should be CMAKE_CURRENT_BINARY_DIR if we have two hunter_experimental_add_host_project(foo) in different directories.

set(binary_directory "${CMAKE_BINARY_DIR}/_3rdParty/Hunter/host-build-binary-tree")

Should be CMAKE_CURRENT_BINARY_DIR if we have two hunter_experimental_add_host_project(foo) in different directories.

Yeah, that would clash.

I mean allow only relative paths, so we can do:

Hehe, thats a lot easier and fixes the problem i was trying to solve the last 10 minutes, which was to figure out if a absolute path is in the current subtree. Only thing i found was checking if computed relative path contains ..:D

Well hunter_experimental_add_host_project(../../OtherProject/foo)
would be relative too, but we would not want to add that to our binary dir, so i guess we have to check for .. anyway.
Or did i miss something?

i guess we have to check for .. anyway

I think get_filename_component can be useful here.

That should deal with:

${CMAKE_CURRENT_SOURCE_DIR}/foo
foo
${CMAKE_CURRENT_SOURCE_DIR}/Dir/../Dir/foo (may be some concatenation from variables)

And reject everything which is out of source

Last thought in that regard:
lets assume the project:

foo/CMakeList.txt                     [Entry point with project(..)]
foo/host/CMakeList.txt
foo/sub/CMakeList.txt             [NO project(...) simply for organization]
foo/sub/host/CMakeList.txt
foo/bar/CMakeList.txt             [WITH project(...) like separate component]
foo/bar/host/CMakeList.txt

With the structure now we would get:

foo-bin/_3rdParty/Hunter/host-build-binary-tree/host
foo-bin/sub/_3rdParty/Hunter/host-build-binary-tree/host
foo-bin/bar/_3rdParty/Hunter/host-build-binary-tree/host

But maybe we want:

foo-bin/_3rdParty/Hunter/host-build-binary-tree/host
foo-bin/_3rdParty/Hunter/host-build-binary-tree/sub/host
foo-bin/bar/_3rdParty/Hunter/host-build-binary-tree/host

Hope its not too hard to read.
Maybe i put too much thoughts into this and nobody will care :D

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.834
https://travis-ci.org/ingenue/hunter/builds/154440008

Maybe i put too much thoughts into this and nobody will care

Kind of :) The main point is that directories differ, the rest is of no concern.

error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease'

Looks like libprotobuf and the project are using different runtime libraries (static vs. dynamic).
I never compiled anything with cmake on windows, but ill try to figure out how to set the library type...

Somebody force /MD instead of default /MT. Windows testing was disabled before. If you can make a fix it would be nice, otherwise I will exclude toolchains again.

Should work now, have no windows machine to test this though

have no windows machine to test this though

Works on my local machine. Let's wait for Travis to finish before next iteration.

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.835
https://travis-ci.org/ingenue/hunter/builds/154513683

Here comes more problems :)
HUNTER_ROOT is not populated so two projects use different roots:
       dst='/home/travis/build/ingenue/hunter/_Base/Download/Protobuf/3.0.0-p1/e3d5ab6/v3.0.0-hunter-3.tar.gz'

       dst='/home/travis/build/ingenue/hunter/_testing/Hunter/_Base/Download/Protobuf/3.0.0-p1/e3d5ab6/v3.0.0-hunter-3.tar.gz'

We are polluting user's directories with testing packages.

HUNTER_ROOT is not populated so two projects use different roots

Can you point me where you found the first log? I saw you set HUNTER_ROOT in cmake, i guess i have to check some Hunter related variables and pass them through to the hosts execute_process`.

Can you point me where you found the first log?

It's Android + Linux build: https://travis-ci.org/ingenue/hunter/jobs/154513689

I saw you set HUNTER_ROOT in cmake, i guess i have to check some Hunter related variables and pass them through to the hostsexecute_process`.

It's a tricky part, let's have just HUNTER_ROOT for now. I.e. execute_process(... -DHUNTER_ROOT=${HUNTER_ROOT} ...)

That show another problem, which is that we ignore all arguments passed to cmake in the first place. For Hunter it's easy to forward its variables, but there may be some user defined args which need to be passed through..

Add ARGS to hunter_add_host_project
Add some var which forwards that to host -DHUNTER_FWD_HOST="protobuf_BUILD_TEST=ON"

But yeah, for now i fwd:

-DHUNTER_STATUS_DEBUG
-DHUNTER_ROOT
-DTESTING_URL
-DTESTING_SHA1
-DHUNTER_RUN_INSTALL ?

we ignore all arguments passed to cmake in the first place

If we pass all arguments we will have toolchain build :)

Add some var which forwards that to host -DHUNTER_FWD_HOST="protobuf_BUILD_TEST=ON"

Job for the host's HunterGate, not the target.

-DTESTING_URL -DTESTING_SHA1

Used only on testing, make no sense. However such variables need to be forwarded to host project. Let it be HUNTER_HOST_URL and HUNTER_HOST_SHA1 for now.
# host/CMakeLists.txt
HunterGate(URL "${HUNTER_HOST_URL}" SHA1 "${HUNTER_HOST_SHA1}" ...)

# hunter_experimental_...
execute_process(... -DHUNTER_HOST_URL=${HUNTER_GATE_URL} -DHUNTER_HOST_SHA1=${HUNTER_GATE_SHA1})

-DHUNTER_STATUS_DEBUG -DHUNTER_ROOT -DHUNTER_RUN_INSTALL

Yes. Well actually all user's settings. Let's have some small set for now. In future this should be common cache file like config.cmake, cache.cmake, args.cmake, etc. HunterGate should be refactored so it can understand that file.

Ok, thanks. Will implement that.
Tests look good so far, except some windows stuff...
Do you know whats wrong with this? Is this  a valid command on windows? Those paths look weird.

Those paths look weird

Yes, it's MSYS - kind of Unix on Windows :) Most of the tools is not designed to be used on MSYS. I will exclude it from testing.

https://travis-ci.org/ingenue/hunter/builds/154513683
https://ci.appveyor.com/project/ingenue/hunter/build/1.0.837

Shiny green! Once HUNTER_ROOT is fixed I'm ready to merge this.

Hope this is it :)

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.838
https://travis-ci.org/ingenue/hunter/builds/154661575

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.839
https://travis-ci.org/ingenue/hunter/builds/154704278

Hi, guys.
Other stuff got in the way so I haven't been able to work on this. Does this PR include (or replace) the work  I did to add protobuf 3.0.0?
Also a big thanks for working on dealing with cross compilation! This was something I've thought about but couldn't find a solution for.

Does this PR include (or replace) the work I did to add protobuf 3.0.0?

Release is here https://github.com/hunter-packages/protobuf/commit/c3baf804170a1c9902a470a8ebb8a2532a4f1996

Released: https://github.com/ruslo/hunter/releases/tag/v0.15.19
@fwinnen I guess it would be nice to have a stand-alone example without all this ../../../HunterGate magic, can be added to wiki and related issue.

Perfect! Thank you very much for you support and suggestions!
I was actually thinking about a bigger standalone example to showcase the benefits of the cross platform, cross compiling support with ease. Perfect proof of concept would be a minimal application for ios/android/osx/linux/(windows) all build with hunter and polly toolchains. [+Djinni for java, objc interfaces].
That would be some work though and I have not much time atm.
What would your standalone example cover?

Perfect proof of concept would be a minimal application for ios/android/osx/linux/(windows) all build with hunter and polly toolchains. [+Djinni for java, objc interfaces].

Just for your info:

https://github.com/ruslo/weather
https://github.com/skypjack/djinni-cmake

What would your standalone example cover?

What I mean is to have standalone Protobuf example, just what we have now in example/Protobuf but without all testing stuff.

Alright, if you create a Protobuf repository with your forexample account, i will push the example as standalone version.

Well it's not necessarily must be forexample but okay, done: https://github.com/forexample/protobuf-toolchains-mix

Done, hope that is how you meant it.

Thanks, wiki page updated: https://github.com/ruslo/hunter/wiki/pkg.protobuf


feat: APPLICS-468 - Welsh translation - have your say journey 5/6 - Add missing translations

Describe your changes
https://pins-ds.atlassian.net/browse/APPLICS-468?atlOrigin=eyJpIjoiMjcxNzJmOWQzMjhiNDFkNGE3MTZhOTQ1OGU4MDZhZTIiLCJwIjoiaiJ9
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

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

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

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

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


Column filter with formatter function

OpenUI5 version:
1.60.4
Browser/version (+device/version):
Chrome
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Use formatter function on table column to convert the values(ex: Convert id to name).
Enable to the filter function on the table column.
Filter will be applied on the model based on the input provided

What is the expected result?
When the formatter is used, the filter should be applied to the value returned by the formatter but not the model.
What happens instead?
The filter works only the values of the model and there is no way to filter when the formatter is used.
Any other information? (attach screenshot if possible)

https://sapui5.hana.ondemand.com/#/api/sap.ui.table.Column%23controlProperties
sortProperty and filterProperty of sap.ui.table.Column determine on which field data will be arranged.
You can try an approach with a custom menu replacing the ColumnMenu, check the "aggregations" section in the above linked documentation


Separate multiple-tasks-per-node tests

This reduces run time of tests in presto-tests by ~5%, and should reduce
http stress, which will hopefully help Travis

Looks good


YOLO-NAS generate float64 constants after export to ONNX

🐛 Describe the bug
Hi,
Export Code:
model = models.get(Models.YOLO_NAS_S, pretrained_weights="coco")
export_result = model.export(output = "yolo_nas_s.onnx",
                             engine = 'onnxruntime',
                             device = 'cuda',
                             onnx_simplify = True,
                             preprocessing = False,
                             postprocessing = False,
                             output_predictions_format = DetectionOutputFormatMode.BATCH_FORMAT,
                             onnx_export_kwargs = {'opset_version': 11, 'verbose': False},
                             batch_size = 1,
                             input_image_shape = (640, 640)
                            )

I found that the exported onnx model will create some Expand OPs with data type float64 and maybe we don't need to cast the data to float32 before Concat if torch.meshgrid takes the same data type as input tensor?

The related code is in:
https://github.com/Deci-AI/super-gradients/blob/6f0a66f9e830ca55c8ec57e4ded1b45171226472/src/super_gradients/training/models/detection_models/yolo_nas/dfl_heads.py#L284-L291
After some experiment I found that the data type casting must be earlier than torch.meshgrid to resolve this issue.
            shift_x = torch.arange(end=w, dtype=dtype) + self.grid_cell_offset
            shift_y = torch.arange(end=h, dtype=dtype) + self.grid_cell_offset
            if torch_version_is_greater_or_equal(1, 10):
                shift_y, shift_x = torch.meshgrid(shift_y, shift_x, indexing="ij")
            else:
                shift_y, shift_x = torch.meshgrid(shift_y, shift_x)

            anchor_point = torch.stack([shift_x, shift_y], dim=-1)

After that the Expand OP data type should be float32:

I think most of the time this is not an issue but some compiler of AI accelerator seems lack of float64 data type support that makes the compiler stop compiling.
Versions
Docker image: nvcr.io/nvidia/pytorch:23.07-py3
PyTorch version: 2.1.0a0+b5021ba
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.3 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.26.4
Libc version: glibc-2.35

Python version: 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.1.105
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: Quadro RTX 4000
Nvidia driver version: 525.125.06
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.3
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.3
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.3
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.3
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.3
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.3
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.3
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   39 bits physical, 48 bits virtual
Byte Order:                      Little Endian
CPU(s):                          8
On-line CPU(s) list:             0-7
Vendor ID:                       GenuineIntel
Model name:                      Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz
CPU family:                      6
Model:                           158
Thread(s) per core:              1
Core(s) per socket:              8
Socket(s):                       1
Stepping:                        13
CPU max MHz:                     4700.0000
CPU min MHz:                     800.0000
BogoMIPS:                        6000.00
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities
Virtualization:                  VT-x
L1d cache:                       256 KiB (8 instances)
L1i cache:                       256 KiB (8 instances)
L2 cache:                        2 MiB (8 instances)
L3 cache:                        12 MiB (1 instance)
NUMA node(s):                    1
NUMA node0 CPU(s):               0-7
Vulnerability Itlb multihit:     KVM: Mitigation: VMX disabled
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Mitigation; Clear CPU buffers; SMT disabled
Vulnerability Retbleed:          Mitigation; Enhanced IBRS
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:             Mitigation; Microcode
Vulnerability Tsx async abort:   Mitigation; TSX disabled

Versions of relevant libraries:
[pip3] numpy==1.22.2
[pip3] pytorch-quantization==2.1.2
[pip3] torch==2.1.0a0+b5021ba
[pip3] torch-tensorrt==1.5.0.dev0
[pip3] torchdata==0.7.0a0
[pip3] torchmetrics==0.8.0
[pip3] torchtext==0.16.0a0
[pip3] torchvision==0.16.0a0
[pip3] triton==2.1.0
[conda] Could not collect

Thanks for your bugreport @tomwang221812
We will fix that!

Hi,
The device for torch.arange may need to be initialized as well
shift_x = torch.arange(end=w, dtype=dtype, device=device) + self.grid_cell_offset
...

Thanks.

The PR with a fix was already merged and will be released as 3.2.1 probably this week.

Fixed in 3.2.1


[SPARK-41889][SQL] Attach root cause to invalidPatternError

What changes were proposed in this pull request?
The pr aims to

attach root cause to invalidPatternError(passing e as the cause to SparkRuntimeException).
replace the field expected the template of the error classes - with value.

Why are the changes needed?
1.The message of original exception contains useful diagnostics for the user.
Before:

After:

2.It seems more reasonable to call <value> instead of <expected>
https://github.com/apache/spark/blob/f352f103ed512806abb3f642571a0c595b8b0509/core/src/main/resources/error/error-classes.json#L790-L795
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.

cc @MaxGekk
Related pr: https://github.com/apache/spark/pull/39383

Can one of the admins verify this patch?

+1, LGTM. Merging to master.
Thank you, @panbingkun.


Local Typescript to be used by default (minor issue)

VSCode Version: 1.2.1
OS Version: OSX 10.11

Although "typescript.tsdk" works fine it would be logical to make workspace local typescript to be used instead of VS code own copy.
Steps to Reproduce:

Remove all  typescript.tsdk overrides.
Open a workspace with typescript@next installed locally.
TS files has no TS version is present in the status line.
Add "typescript.tsdk": "./node_modules/typescript/lib" to the workspace settings.
Local TS is being used.

Thanks

Makes sense to me.

It would be really nice if it it could pick up the tsconfig options as well.  I specified the typescript.tsdk location but, with the new lib modules in 2.0, I would also need to be able to specify which features I'm targeting, e.g.: lib.es2015.promise.d.ts, lib.es2016.d.ts beyond the language level.

VS Code now asks if you want to use a local install TS and persists it in the user settings. Pointing to a different tsconfig.json is not possible right now. A corresponding issue needs to be opened here: https://github.com/Microsoft/TypeScript/issues


Document configuration vector for the planar joint

Context: https://github.com/stack-of-tasks/pinocchio/discussions/2184#discussioncomment-9046849

Hi ! This project doesn't usually accept pull requests on the main branch.
If this wasn't intentionnal, you can change the base branch of this PR to devel
(No need to close it for that). Best, a bot.

The most relevant page I found in the documentation while looking up the planar joint is Joint dynamics. (I did not see the configuration/tangent vector structure of the planar joint in e.g. JointPlanarTpl.)
Maybe configuration/tangent vectors are documented somewhere else?
This PR proposes documented the vectors on the page I landed on. If they are also documented elsewhere we can add links as well.


Questions on permissions and cleartext traffic

My scanner got some new checks in January and on today's update reported:
! repo/me.tangobee.weathernaut_8.apk declares flag(s): usesCleartextTraffic
! repo/me.tangobee.weathernaut_8.apk declares sensitive permission(s):
  android.permission.ACCESS_COARSE_LOCATION
! repo/me.tangobee.weathernaut_8.apk contains signature block blobs: 0x504b4453 (DEPENDENCY_INFO_BLOCK; GOOGLE)

Can you please clarify what cleartext connections are used? The location permission is most likely to make it easier fetching local weather I guess. As for DEPENDENCY_INFO_BLOCK, that's easy to avoid:
android {
    dependenciesInfo {
        // Disables dependency metadata when building APKs.
        includeInApk = false
        // Disables dependency metadata when building Android App Bundles.
        includeInBundle = false
    }
}

For some background: that BLOB is supposed to be just a binary representation of your app's dependency tree. But as it's encrypted with a public key belonging to Google, only Google can read it – and nobody else can even verify what it really contains.
Thanks in advance! Oh, and in case you wonder, please take a look here :wink:

Thanks, wonderful – looks good now! Btw, be welcome to pick a badge to accompany the Google/Github pair in your README if you wish – several to choose from, including shields :smiley:

Thanks!


Unable to convert object from super to sub class in typesafe way in ES5

TypeScript Version:  2.4.0
Code
interface Person{
    name: string;
}

interface Employee extends Person{
    employeeId: string;
    department: string
}

function employPerson(person: Person, id: string): Employee {
    person.employeeId = id;

    return person;
}

Expected behavior:
I should be able to convert my object from a Person into an Employee in a way that if the Employee interface changes I get informed of errors.
Actual behavior:
(I first asked about this on Stack Overflow as I was sure that that there would be away of doing it. I am now not so sure...)
This way of doing things will obviously break as you cannot assign employeeId to person but as far as I can tell there is no way of doing this in ES5.
In ES6 you can do this:
function employPerson(person: Person, id: string): Employee {
    return Object.assign(person, {
        employeeId: id
    });
}

which works fine.
Other approaches in ES5 are:
function employPerson(person: Person, id: string): Employee{
    const employee = person as Employee

    employee.employeeId = id;

    return employee;
}

But this just believes the developer saying that this object is now an Employee with no type checking so no errors will appear if the interface of Employee changes.
This is the closest I got to a solution:
function employPerson(person: Person, id: string): Employee{
    return {
        ...person,
        employeeId: id
    };
}

But this returns a clone of the original object and not the actual original object...

You aren't struggling with a TypeScript problem.  You are struggling with functionality in ES5, which is easy to polyfill if you are not using a library which provides it.

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


docs for rewrite URI feature

Is there an existing issue for this?

[X] I have searched the existing issues

Problem Statement
We need to have document to tell users how to use rewrite URI feature, especially tell them how to use capture groups in URIs and how to use escape characters(if we decide to support it). The document should exist in our doc site, and also in the repo.
Proposed Solution

Add a guide page and a reference page to introduce rewrite URI feature, and include examples for each point in the feature (normal usage, capture groups, escape chars if supported)
Introduce the feature and tell users this is a feature-gated feature in FEATURE_GATES.md

Additional information
related issue: #4308
Acceptance Criteria

[ ] Have a guide page to introduce how to use the rewrite URI feature, and a reference page to tell the rules of translating the annotation to Kong configuration
[ ] Have an introduction of the feature and the controlling feature gate in FEATURE_GATES.md

https://github.com/Kong/docs.konghq.com/pull/6086 for the rest of it.
I'm pretty sure we don't need a separate guide for this. It's not a particularly complex feature, and the guide would basically be a copy of the reference example, or about 2 sentences of duplicate content after a bunch of boilerplate "set up a route to attach this to" content.


Quest Jorunal Not Updating

What is your Quests version / build number (do not say "latest")?
4.0.8
Describe the problem and how to replicate it. Any console errors to post using a pastebin?
After completing one quest of an NPC (and using the journal) and moving to the next, the quest book doesnt update. Only displaying 'no quests available.' The player is able to keep going with quest 2, completing its stages, but even after unloading the jorunal with /quests journal, and bringing it back, it still sayts no quests are available.
If applicable, can you provide an example quest from quests.yml using a pastebin?
https://pastebin.pl/view/b7dd08d7

Thanks for the report. Which quest can be used to test this? It seems you've provided three.


docs: specify to use yarn v1 not v2

got some errors with yarn v2, so had to downgrade
to even start working, I think it's a good idea
to put it in the README

Actually, it seems to be a yarn bug that's been fixed: https://github.com/yarnpkg/berry/issues/2935

@JakubKoralewski lemme know if you were indeed on yarn <2.4.1 or this is a different bug.

By downgrading I lost the ability to tell which v2 exactly I was on, but now I yarn set version berry again which put me on 2.4.2 and the issue is gone.

Cool. I've changed the readme to v.2.4.2+ because it's unclear whether 2.4.1 works. The issue mentions 2.4.2, but it wasn't in changelog.

Thanks!


Outbound IP addresses changes?

How often Outbound IP addresses for Logic Apps service & managed connectors changes?
Thanks,

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

ID: 845c4db9-1f3a-26d1-5061-c018cb1fe336
Version Independent ID: c2a03981-a0aa-64a5-2659-e10202e5bb14
Content: Limits and configuration - Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-limits-and-config.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

Hi @priyakantpatel Thanks for reaching out. We will review and update as appropriate.

@priyakantpatel There is a static list of IPs for outgoing IP addresses for Logic Apps and Connectors per Region, you can see more detail here.
Also, if you need a single IP or if you want avoid other user with a Logic App in the same region access to your resources, you can use Azure API Management to act as reverse proxy for the Logic App

@priyakantpatel Just following up again in case missed the previous communication.

@priyakantpatel Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hi, the managed outbound connector IP's have changed recently for North Europe causing us some issues.
they were:
<IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/28, <IP_ADDRESS>/32, <IP_ADDRESS>/32
And now they are:
<IP_ADDRESS>/28, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32
How often can we expect these IP's to change and how can we know in advance of these changes?
Kind regards,
Kieran

Hi @KOFlynn,
After consulting with the engineering team, they responded that the "before" version actually combined the inbound IP addresses for Logic Apps in North Europe and the outbound IP addresses for managed connectors in North Europe.
Inbound IPs for Logic Apps:
<IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32
Outbound IPs for managed connectors:
<IP_ADDRESS>/28, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32

Another alternative is to replace the specific IP addresses with the Logic Apps service tags, which work across regions where Logic Apps is available. However, for the managed connectors outbound IPs, you must still specify the addresses.

Logic Apps inbound service tag: LogicAppsManagement
Logic Apps outbound service tag: LogicApps


G1 Boss can't find player unless mod temp disabled

During the 1st boss encounter (Birkin, G stage 1) if the boss disappears and the player character says, "where did he go?," boss won't drop down and grab player unless mod is temporarily disabled. Tested multiple times.

I ran into the same issue, strange indeed.


LGPL License infringement

podofo is released under LGPL license
https://tldrlegal.com/license/gnu-lesser-general-public-license-v2.1-(lgpl-2.1)
You must include sources of your fork.
Nowadays only a libpodofo.a static file is provided, with proprietary SetGraphometricData function

Any new on this? It's a bit surprising that a government backed-up project do not respect legal terms of libraries it uses ...

It's almost 2025. Where tf is the source code of this modified libpodofo?


Fixed invalid error command when -d disable

The program showed "Invalid or absent command" when run with -d option.

sorry for the delayed feedback, i will check this next week

someone tested ? I'm unable to test, my keyboard broke the flat cable

Tested all commits which impact function. No issues, works great!
Great to have style & brightness compatibility.

Tested all commits which impact function. No issues, works great!
Great to have style & brightness compatibility.

thank you


Support CREATE USER extensions per MySQL 5.7

Via https://github.com/pingcap/tidb/issues/7733 - this command does not currently work in TiDB:
mysql> CREATE USER 'msandbox'@'localhost' IDENTIFIED WITH 'mysql_native_password' AS '*6C387FC3893DBA1E3BA155E74754DA6682D04747' REQUIRE NONE PASSWORD EXPIRE DEFAULT ACCOUNT UNLOCK;
ERROR 1105 (HY000): line 1 column 129 near " NONE PASSWORD EXPIRE DEFAULT ACCOUNT UNLOCK" (total length 173)

MySQL 5.7 produces this result from the command SHOW CREATE USER, so it is important to parse and the unsupported parts could probably be ignored for now.

@morgo I'm working on this.

Awesome, thank you!


credit line updates

Codecov Report

Merging #128 (aecc98b) into master (2ae4c23) will decrease coverage by 0.03%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
- Coverage   78.48%   78.45%   -0.04%
==========================================
  Files          16       16
  Lines        1678     1680       +2
  Branches      310      310
==========================================
+ Hits         1317     1318       +1
- Misses        361      362       +1

Impacted Files
Coverage Δ

contracts/CreditLine/CreditLine.sol
83.52% <60.00%> (-0.20%)
: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 2ae4c23...aecc98b. Read the comment docs.


improve docs

This appears to be an attempt to get a free t-shirt by 'contributing' during hacktoberfest. Please stop trying to abuse the system.


Use Git Lfs for Regression png and sqlite Files

Use Git Lfs for Regression png and sqlite Files
I used following git lfs commands
git lfs install
git lfs track "Tests/Mapsui.Rendering.Skia.Tests/**/*.png"
git lfs track "Tests/Mapsui.Rendering.Skia.Tests/**/*.sqlite"

git lfs migrate import --include="Tests/Mapsui.Rendering.Skia.Tests/**/*.png" --message="Migrate Binary Data"
git lfs migrate import --include="Tests/Mapsui.Rendering.Skia.Tests/**/*.sqlite" --message="Migrate Binary Data"

When this gets merged I will redo the SkiaSharp 3 pull request, because there a lot of images got updated.
https://github.com/Mapsui/Mapsui/pull/2603
Maybe I could add a check before running the regression test to see if an lfs checkout was made.

I received this email from<EMAIL_ADDRESS>We wanted to let you know that you’ve used 80% of your data plan for Git LFS on the organization Mapsui. No immediate action is necessary, but you might want to consider purchasing additional data packs to cover your bandwidth and storage usage:

  https://github.com/organizations/Mapsui/billing/data/upgrade

Current usage as of 26 Oct 2024 08:28AM UTC:

  Bandwidth: 0.81 GB / 1 GB (81%)
  Storage: 0.08 GB / 1 GB (8%)

I don't even know how we use it, since the branch is in your own repository. Guess this is only because of the build server building your branch. Storage is no problem. But will happen if the bandwidth limit is reached? Will it stop working?
This is what chatgpt says:

Bandwidth Restrictions: GitHub restricts bandwidth usage for Git LFS to 1 GB per month for free accounts. Exceeding this will prevent further downloads of LFS objects until the next month or until additional bandwidth is purchased.

That would mean it is unusable.

I now received this email 😕
Git LFS has been disabled on the organization Mapsui because you’ve exceeded your data plan by at least 150%. Please purchase additional data packs to cover your bandwidth and storage usage:

  https://github.com/organizations/Mapsui/billing/data/upgrade

Current usage as of 29 Oct 2024 04:26PM UTC:

  Bandwidth: 1.5 GB / 1 GB (150%)
  Storage: 0.08 GB / 1 GB (8%)

I didn‘t know that the Bandwith is this restlricted. Because the purpose is to Store large Objekts sometimes 100mb and more Bit with this restriction it won‘t work. A possibility is to Cache the lfs objects Like the NuGet packages but this gets to complicated for my Taste.

How should I interpret the diff of this PR. All the images are marked as changed, but not deleted. I can't see the diff on github. In what way are they changed?

The png Images Are replaced by links to the png Images in lfs. So that‘s the diff. and lfs Checkouz replaces the lfs links with the real images.


OLS-624: Check attachments metadata

Description

Check attachments metadata
Unit tests to cover new functions
e2e tests to cover new functionality on REST API level

Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)
[x] Unit tests
[x] End to end tests

Related Tickets & Documents

Related Issue #OLS-624
Closes #

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.30%. Comparing base (de85e97) to head (89d2f63).
Report is 54 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1034      +/-   ##
==========================================
- Coverage   95.34%   95.30%   -0.04%
==========================================
  Files          54       54
  Lines        2211     2279      +68
==========================================
+ Hits         2108     2172      +64
- Misses        103      107       +4

Files
Coverage Δ

ols/app/endpoints/ols.py
97.02% <100.00%> (+0.29%)
:arrow_up:

ols/constants.py
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

/assigh @xrajesh

/lgtm

/approve


Remove old test class TestJaxBase

Summary
Details and comments

Thanks Dan.
This PR looks good for me.
In addition, Can we remove ArrayTest class e.g. ArrayNumpyTestBase?

Thanks Dan. This PR looks good for me. In addition, Can we remove ArrayTest class e.g. ArrayNumpyTestBase?

That's a good question. We're currently using it for Signal testing, and I was thinking we could keep it there since we will be deprecating Array and not getting rid of it right away. On the other hand, the usage of Array throughout the package generally is already broken, so it may not be worth maintaining tests for the signal class. What do you think?

Thanks. I consider that it is better to drop Array test cases at the same time that we will deprecate Array class.


Step Command and Simulator Modes

Changelog here

Can't seem to trigger the Travis build, might be related to https://github.com/travis-ci/travis-ci/issues/9196