[Bug] Sometimes get 'script-src-elem' was not explicitly set error on windows

🐞 Describe the Bug
Sometimes on our sandbox env when we try click on the Paypal button to open the modal, its get stuck in infinite loading spinner and we see this error in the console
Refused to load the script 'http://bpp.eset.com/en-US/Redirect-Switch?token=XXX' because it violates the following Content Security Policy directive: "script-src 'self' https://.paypal.com: https://*.paypalobjects.com 'unsafe-inline' 'unsafe-eval' https://apis.google.com". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

🔬 Minimal Reproduction
Hard to reproduce as it sometimes happens and after some refreshes, it suddenly works.
😕 Actual Behavior
PayPal SDK not loaded because of the above error.
🤔 Expected Behavior
PayPal SDK should load and the Paypal modal should show the regular state.
🌍 Environment

Software
Version(s)

react-paypal-js
2.0.0

Browser
Chrome

Operating System
Windows 10

Hi @RahavLussato I'm not familiar with that error. Are you using a content security policy on your site?
If possible, please share the callback you are using with createOrder

Hi @RahavLussato I'm not familiar with that error. Are you using a content security policy on your site?
If possible, please share the callback you are using with createOrder

hi @gregjopa we are not using CSP and the weird thing is that happens only on windows on OSX it works well.
here is our createOrder callback:
const createOrder = (data, actions) => {
		return actions.order.create({
			purchase_units: [
				{
					amount: {
						value: amount,
					},
					payee: {
						merchant_id: payeeMerchantId,
						email_address: payeeEmail,
					},
				},
			],
		});
	};

hi @gregjopa we are not using CSP and the weird thing is that happens only on windows on OSX it works well.
here is our createOrder callback:
const createOrder = (data, actions) => {
		return actions.order.create({
			purchase_units: [
				{
					amount: {
						value: amount,
					},
					payee: {
						merchant_id: payeeMerchantId,
						email_address: payeeEmail,
					},
				},
			],
		});
	};

Hi @RahavLussato, your createOrder callback function looks fine to me. The error seems like it's coming from the PayPal JS SDK and not from this React component. We are frequently pushing fixes to the different layers of the PayPal Checkout experience so this may have been fixed.
If you are still seeing this error please open up a bug report here in paypal-checkout-components: https://github.com/paypal/paypal-checkout-components/issues/new/choose.

Hi @RahavLussato, your createOrder callback function looks fine to me. The error seems like it's coming from the PayPal JS SDK and not from this React component. We are frequently pushing fixes to the different layers of the PayPal Checkout experience so this may have been fixed.
If you are still seeing this error please open up a bug report here in paypal-checkout-components: https://github.com/paypal/paypal-checkout-components/issues/new/choose.

thanks @gregjopa , i opened it there https://github.com/paypal/paypal-checkout-components/issues/1531

thanks @gregjopa , i opened it there https://github.com/paypal/paypal-checkout-components/issues/1531


Cleaned up fonts

Went over designs and found that we only use 5 fonts.
2x for basic:

Arial
Arial Bold

6x for smart:

Tw Cent MT/ Bold,
Avenir Next Condensed/ Bold/ Italic.

I'm in the process of making the css classes only reference the font-families that they require, but it's going to take some time.

First off, sorry for this... The nature of changes that I'm making in the css makes it difficult to branch in a sane way. So I couldn't branch off develop whilst not landing an pull-request.
Secondly, sorry that it's so many changes. The class names and organisation of the CSS file made it very difficult to reason about the styles, and get the design close to 1:1. I tore up the very large style.css file and split it up into individual files for features and sections.
We are now much closer to the original designs, and the CSS is nicely organised. The class names are still a bit of a mess and there's a lot of duplicate markup -- tomorrow's another day.
** Basic **

** Smart **

:+1: :cake:
No worries at all - when you're done with GEM, I'm looking forward to seeing you rip through our other stuff :dancers:


Wrong cell height on MultiToggle, RowAction and row highlight in sap.ui.table.Table

OpenUI5 version:1.64.0
Browser/version (+device/version): Chrome/74.0.3729.108 64 bits
Any other tested browsers/devices(OK/FAIL):FAIL
URL (minimal example if possible): https://github.com/fawcs/ui5-Table-bug-sample/tree/master
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Serve the example(I used XAMPP)
Scroll down untill on the column "Product Name" the "Multi Print" Product starts showing, do not filter anything
The rowActionTemplate column is going to be displayed with the wrong height

What is the expected result?
The row action column and the toggle column should be displayed with the same height as the other cells
What happens instead?
The row action column and the toggle column are displayed with the wrong height
Any other information? (attach screenshot if possible)
This also happens when using the sap.ui.table.RowSettings highlight property
On the github example, you can see what was changed to cause the error on this commit
two files are changed, the controller doesn't really matter, I just removed the helper component because It was giving me an error and it wasn't relevant to the issue

According to the documentation and Fiori design guideline, sap.ui.table.Table controls have limited set of supported controls:

Text, Label, ObjectStatus, Icon, Button, Input, DatePicker, Select, ComboBox, MultiComboBox, CheckBox, Link, Currency, RatingIndicator, ProgressIndicator as well as the StackedBarMicroChart, ComparisonMicroChart, and BulletMicroChart controls (of responsive or extra small size); To keep the control height always stable, the wrapping and renderWhitespace properties in the sap.m.Text control, for example, must be set to false.

Cell Level
It can contain one of the following controls to display this data point:

Text
Label
Object status
Icon
Button
Input
Date picker
Select
Combo box
The following micro charts size XS: Bullet, comparison, stacked bar
Multi-combo box
Multi-input field
Checkbox
Link
Currency
Rating Indicator
Progress indicator

While it is technically possible to also use other controls, doing so could lead to issues in regards to alignment, condensed mode, screen reader support, and keyboard support.
If you use text, use only single-line text to keep the same row height. Truncate if necessary as this prevents adverse side effects when scrolling vertically (sap.m.Text, property: wrapping, value: false). Do not wrap.

The sap.m.ObjectIdentifier in the 2nd Column is unfortunately not one of the supported controls. Replacing it with one of the supported controls (or any control that occupies only a single line) should fix the UI problem.

Right, then this could be directly on the api reference page instead of another one. I saw the link inside but the description is not intuitive, I wouldn't think of finding the supported controls on a page describing which table control I should use

@boghyon thanks
@fawcs https://experience.sap.com/fiori-design-web/grid-table/#Table(ALV)-CellContent Fiori Guidelines include also more details about controls, layouts, how it is recommended/expected to be used, and links to the documentation as well

@stephania87 Maybe this issue can be reopened as a documentation enhancement request to make it more obvious in the API reference (preferably in "Overview") that there is a limited set of controls. And/or an additional warning log if sap.ui.table.Column detects an unsupported control while rendering.

Similar issue: https://github.com/SAP/openui5/issues/320


Removal of Neo4j

The container image currently uses Neo4j as a state management tool; while this might make sense for longer term plans that include widening the indexer capability, for the purposes of indexing Kubernetes resources, it feels like it's overkill and has an operational effect of adding quite a bit of extra size to the container image (the base neo4j image is about 500Mb) and all of the packages and dependencies to manage that it comes with. It doesn't appear that it provides value as compared to it's additional overhead, so we will remove it for now and reconsider this at a later date when the design comes up to re-introduce indexers for GCP/AWS/Azure.
Update: below is the (probably mostly redundant) description from a duplicate ticket that I closed.
There are several neo4j-related issues that cause friction/bugs with the deployment of the workspace builder and runwhen local. At least for now, the use of neo4j doesn't really buy us anything since we completely reset the model state before every run of the workspace builder to maintain data isolation of the different runs. So for now it would simplify things to just store the model information in memory. It would presumably eliminate the networking-related issues some people see when deploying runwhen local and it would cut down the size of the docker image by a lot.
Eventually, if/when we have something like a product/resource graph feature, it will be desirable to maintain the model state in a database, so ideally I'll try to make this change by abstracting out the model storage layer so that it can be switched between storing in memory vs. in neo4j (or possibly some other database).

closed with 0.3.10


Give access to configurations options in the "Advanced" tab

For each chart type, it would be great to have access to the plot configuration JSON structure in the "Advanced" tab of the chart settings dialog. This would allow for instance to show the Plotly tool bar which is hidden by default:

Dear jumarock,
Thank you for this feature request. It looks valuable. We will discuss it with the product owner to put it in de backlog.
Cheers,
Andries

Hi @jumarock,
This feature has been added in version 1.2.0

Hi @edwinmp l,
Many thanks!

Hi @edwinmp ,
I am currently trying to integrate a LineChart (1.2.1) in my Mendix project (7.15.1)
What I do is basically to embed it into a listener data view because the data I want to be displayed in the chart must be changed depending on the selection done in another grid view.
All is working fine until I set some layout and configuration advanced options:
Layout options:
{
   "xaxis": {
      "fixedrange": false
   },
   "yaxis": {
      "fixedrange": false
   }
}

Configuration options:
{
   "displayModeBar": true,
   "displaylogo": false,
   "modeBarButtonsToRemove": ["hoverCompareCartesian"],
   "doubleClick": "reset+autosize"
}

The following error is displayed in the web browser:
An error occurred in a "com.mendix.widget.custom.LineChart.LineChart" widget. Check updates for the widget in the Mendix App Store or contact the widget developer.
To understand a bit more, I tried to use the same chart but with data that are not changed according any selection. The chart works perfectly and the custom options are correctly applied.
Could you give me some clue?
Also, I tried to write a "com.mendix.charts" with those settings into the "theme/widget" directory of my Mendix project. It seems that during the Mendix (7.15.1)project deployment, this directory is not merged into the "deployment\web\widgets" directory which cause the following issue at runtime:
404 - file not found for file: widgets/com.mendix.charts.json
Many thanks for your help!

Hi @jumarock, thanks for raising this. However, I added the layout and configurations options in a LineChart playground and I couldn't replicate the error. If you could provide more detailed steps to replicate, that'd be great. Also check in the console for any errors, that'd be a great help too.
As for the theme file, you're right. I noticed recently that it's not being copied into the deployment directory. Will schedule a fix, perhaps move it into the root theme folder. Please open a separate issue for it.
Regards,
Edwin

Hi @edwinmp ,
I created an issue regarding the com.mendix.charts.json file deployment: #46
Regarding the Layout & Configuration problem, I will try to create and attache a simple Mendix projet for you to reproduce it.
Best regards,
Julien.

Hi @edwinmp ,
Here is attached a simple Mendix 7.15.1 project (please unzip the attachment).
Test_LineChart_Contextual-main.zip
By selecting a "Chart" object in the left table view, you will see that the Chart cannot be displayed. The following errors are raised:

In the web browser:

In the Mendix console:

If the "Basic" mode is selected in the chart widget, the graph is correctly rendered.
Hope this will help.
Best regards,
Julien.

Hi @jumarock,
The attachments you shared where very helpful, thank you. Have fixed the issue and plan to have it released in the next few days. In the meantime, you can find a beta version of the widget here.

Hi @edwinmp ,
Many thanks, I tried the provided beta version and it works!
Best regards,
Julien.


feat(store): implements array querying in Cosmos store

What this PR changes/adds
Adds the support for the querying arrays when using the Cosmos store. The changes has been done at dialect level of the implementation of Cosmos store.
An additional Expression has been added when translating the where condition into the Cosmos one.
If in the Criterion left operand a collection is detected via reflection of objectType class in SqlStatement the single expression is rewritten using Cosmos EXISTS expression.
Why it does that
Have the same support of Posgres store when querying arrays.
Further notes
The test CosmosContractDefinitionStoreIntegrationTest#find_queryBySelectorExpression_entireCriterion has been disabled since we do not support matching against JSON in our current implementation
Linked Issue(s)
Closes #1981
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[ ] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report
Base: 63.24% // Head: 63.39% // Increases project coverage by +0.15% :tada:

Coverage data is based on head (cc72f42) compared to base (2d40b2f).
Patch coverage: 90.62% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2003      +/-   ##
==========================================
+ Coverage   63.24%   63.39%   +0.15%
==========================================
  Files         789      792       +3
  Lines       16655    16754      +99
  Branches     1084     1097      +13
==========================================
+ Hits        10533    10622      +89
- Misses       5670     5674       +4
- Partials      452      458       +6

Impacted Files
Coverage Δ

...aceconnector/common/reflection/ReflectionUtil.java
83.75% <78.12%> (-3.75%)
:arrow_down:

...ctor/azure/cosmos/dialect/QuotedPathCollector.java
89.47% <89.47%> (ø)

...ctor/azure/cosmos/dialect/ConditionExpression.java
92.59% <92.30%> (ø)

...r/azure/cosmos/dialect/CosmosExistsExpression.java
96.66% <96.66%> (ø)

.../cosmos/dialect/CosmosPathConditionExpression.java
100.00% <100.00%> (ø)

...ceconnector/azure/cosmos/dialect/SqlStatement.java
100.00% <100.00%> (ø)

...aceconnector/azure/cosmos/dialect/WhereClause.java
96.00% <100.00%> (+0.76%)
:arrow_up:

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

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


Update and reorganize the slides and talks page

Concerns this wiki page:
https://github.com/bids-standard/bids-starter-kit/wiki/Slideshows-and-talks-about-BIDS
Not listed:
https://osf.io/yn93h/
This page should probably be turned into a table with links to the videos and slides

+1


Update teeworlds 0.6.4's checksum

A bug was occurring that the game crashes before it opens. A rebuild under the same version was made, and thus the hash had changed.
Details: https://github.com/teeworlds/teeworlds/issues/1498#event-1381991584
After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Download link found in https://www.teeworlds.com/?page=downloads seems to be downloading the newer file (https://github.com/teeworlds/teeworlds/releases/download/0.6.4-release/teeworlds-0.6.4-osx.dmg), while the one in the link we use still downloads the old, problematic file.

Closing in favour of https://github.com/caskroom/homebrew-cask/pull/41845

The URL bug is now resolved
https://github.com/teeworlds/teeworlds/issues/1498#issuecomment-351149109
This version downloads the correct file and passes now


Connection Raspberry Pi with TwinCat

Hello,
I would like to establish a connection between pyads on a Raspberry Pi and a TwinCat on my local computer.
With a python test script the connection works without any problems.
Unfortunately, the connection from the Raspberry Pi does not work.
I have followed these instructions:
https://pyads.readthedocs.io/en/latest/quickstart.html
How do I set the route and which IPs do I have to enter here?
CLIENT_NETID = " "
CLIENT_IP = " "
TARGET_IP = " "
Thank you very much!
Translated with www.DeepL.com/Translator (free version)

Hello,
Please create a route using the following:
CLIENT_IP =  IP address of Raspberry Pi
CLIENT_NETID = IP adress of raspberry pi + ".1.1"
TARGET_IP =  IP address of the TwinCat computer.
You can see that here:

the target username and password should also be that of the TwinCat computer

I'm currently also struggling with a similar issue. Could you please explain where I'd put the username and password?

Hi guys,
I was able to solve the problem in a different way.
<IP_ADDRESS>
With " plc = pyads.Connection(pyads.ads.adsGetNetIdForPLC(' IP address of the TwinCat computer'), 851, ' IP address of the TwinCat computer') " I was able to establish the connection.

The username and password will be the username and password of the target pc. In the case of a Beckhoff IPC the default is Administrator and '1'. If you are running it on a laptop or other device the username and password will be for that device. This is what you enter on the Ubuntu/pi side in the python script when adding the route.

Hi guys,
I was able to solve the problem in a different way.
With " plc = pyads.Connection(pyads.ads.adsGetNetIdForPLC(' IP address of the TwinCat computer'), 851, ' IP address of the TwinCat computer') " I was able to establish the connection.

Yes this would also work if you only know IP address and not and address. But you still need to have the route added first. Which only needs to be done once per device

Hi guys,
I was able to solve the problem in a different way.
With " plc = pyads.Connection(pyads.ads.adsGetNetIdForPLC(' IP address of the TwinCat computer'), 851, ' IP address of the TwinCat computer') " I was able to establish the connection.

Yes this would also work if you only know IP address and not and address. But you still need to have the route added first. Which only needs to be done once per device

@FDuenne if you are able to connect please can you close this issue, many thanks.

Yes sorry 👍

Hello,
I am facing a similar problem. In my case, I am using real Beckhoff CX8190 PLC to communicate with Raspberry Pi 3 B+. Using Python script I am able to communicate with PLC but it doesn't work with Raspberry Pi. I have a question that do I have to add the AMS ID of Raspberry Pi(IP address .1.1) to the Router?

I am getting this error. If you have any ideas please guide me to solve my problem.

The route is added as you can see in the picture. However, I am getting the same error(Connection closed by remote(PLC) , Connection reset by peer) as I uploaded in the previous message.
Do we need to add the route details [which we have created] in the program of Raspi?
I could not find the actual root problem of the same.
Request you to guide & if possible, can we have a call?

Thanks you very @chrisbeardy for your help. I have managed to communicate between Beckhoff PLC and raspberry pi.

What was your issue? Out of interest

I have changed the AMS ID of PLC. I make it IP address.1.1 of ethernet port where Raspberry pi is connected and it started working. Also , raspberry pi was not pinging PLC, when I connect it with internet.


TextArea with "Hide Label" still shows the label

I created a Modal Page with a region containing a Text Area item, I changed the template option to hide its label, but it still shows it. (Does not happen with text fields)

Thanks. I may look into making a smaller bug fix release for these things. Not sure yet.


Cannot upload the same file

Is it by default that I can't upload the same file again? There's no error showing. Its just not doing anything but choosing a different file will make it work again.

The reason you don't see any error is because you just replaced your file with the new upload. Take a look at the time it's been uploaded or try uploading two different files with the same name. The first should be overwritten by the second.

Got it Thanks! @ko0stik

What if i want to show error saying "You are uploading same image" or allow them to upload same image.


Applicant DOB not fetching from AXIS

Title of ticket:
Description
Analyze and fix the issue
Dependencies
Are there any dependencies?
DOD

[x] Analyze the issue
[x] Fix the issue
[x] deployment to dev
[ ] deployment to test

Confirmed working with #2184


Popover HTML content is not working 3.41

Popover content HTML is not displaying anything when the content is more complex than just two HTML tags on this specific version. This functionality was working on version 3.3.7.

https://github.com/twbs/bootstrap/issues/28290#issuecomment-464428567


Update github-privacy-statement.md

Clarifications and alignment of the language across our Terms of Service, Privacy Statement, Corporate Terms of Service, and Enterprise Subscription Agreement regarding:

notice of changes
access to private content

Mirrored language in Acceptable Use Policies to provide additional clarifying example of prohibited use of GitHub user information

Updates will go into effect after the 30-day notice and comment period, on November 16, at 5 pm PT.

Thanks for all your feedback! The policy changes are now live. You can learn more in our blog post here.


Phasing to zenith isn't an identity operation

Phasing UVWs to zenith should be an identity operation, since we're phasing to the same place. However, it's not (though it's pretty close). This should be examined.

This should be fixed in pyuvdata, not here.


Catch exceptions and report as fatal instead

It is very common to comment out 4 lines in CSharpGen.cs when
debugging a crash, as we won't generate yaml needed to debug in VS
if we throw an exception during code generation.
By catching everything, and using autorest.Fatal() we still fail
builds, but also complete the yaml write out above

Are you sure this works? I've seen exceptions being reported as FATAL already.

https://github.com/Azure/autorest.csharp/blob/feature/v3/src/AutoRest.CSharp/AutoRest/Plugins/PluginProcessor.cs#L41

I did the trivial test of:

Delete entire Generated folder of a sample
.\eng\Generate.ps1 on a case where I knew it crashed

So I think it does?

Ah you are still returning true from the generator. It might cause autorest not to fail with the correct error code.

I added a return false and I'm still seeing the same write yaml out behavior.

I'm fine trying this change but it seems to be equivalent to the code we already hav.e

:shrug: - I'm not sure why it works, just that it does. I've tested before and after multiple times, and it is consistent.
I can do more digging if you'd like, I figured I'd just try it after our meeting and was surprised that it worked.

Up to you. I'm fine merging or doing more investigation.


feat: support load multiple file configs as endpoints templates

type: feat
scope: cmd

Sorry we don't plan to support multiple config files for now.
But still is a practical feature in the future, we will discuss later.


Customizing nginx:alpine default server config

Description
I'm deploying a static site using the nginx:alpine base image on Coolify. Currently, I'm unable to find an option to modify the default server configuration for nginx within the Coolify interface or documentation.
If there's a workaround or if the feature is planned for future releases, any guidance would be appreciated. If it's not included, could it be considered for addition in a future update?
Minimal Reproduction (if possible, example repository)

Deploy a static site using the nginx:alpine base image on Coolify.
Attempt to look for options to customize the default nginx server configuration.

Exception or Error
There seems to be no option available in the Coolify UI or in the official documentation that allows changes to the default nginx configuration.
Version
v4.0.0-beta.146

@deployn did you find a solution for this? i want to do the same but unable to find it either?

@deadcoder0904 I'm sorry, but I was unable to find a solution

@deadcoder0904
My temporary solution was to use a Dockerfile

Create nginx directory in project root with a nginx.conf inside
Create a .dockerignore file in project root
Create a Dockerfile in project root:

[FROM something as build
WORKDIR /app
COPY mostItems
RUN build my app
...]

FROM nginx:alpine AS runtime
COPY ./nginx/nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 8080

Use Dockerfile as Buildpack in Coolify

In the next version you can add files / directories easily from the UI.

@andrasbacsai Thanks for the work well done. However, the new persistence storage modal is not scrollable. Using it on a small screen makes it difficult to add directory mounts. Additionally, volume mounts don't seem to work for some reason.

What do you volume mounts don't seem to work for some reason? Are you using Docker Swarm?

Hello, using v4.0.0-beta.304 and added a DirectoryMount with an nixpacks deployed express app from a public github repository. So far I didnt get this to work and don't know how to debug it further


Changing fallback behaviour in PlatformKeyGestureConverter.ToPlatformString() to be more user friendly.

PlatformKeyGestureConverter.ToPlatformString() falls back to KeyGesture.ToString() rather than it's own user friendly string creation method ToString(KeyGesture gesture, string meta).  This will print Key enum values such as "OemPeriod" or "D1" rather than more userfriendly strings like "." or "1"

What does the pull request do?
Change the fallback case to use ToString(gesture, "Cmd") rather than gesture.ToString().  This will print user friendly key values for when platform specific cases aren't implemented.  Specifically Android.
What is the current behavior?
Key enum strings are printed.
What is the updated/expected behavior with this PR?
More user friendly values are printed.
How was the solution implemented (if it's not obvious)?
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation

Breaking changes
None I can think of.
Fixed issues
Fixes #15392
Other Notes:
I considered adding an Android specific path as well, but couldn't come to a decision about what the appropriate "Meta" string would be.  The 2 Android Devices I checked use 🔍 (U+1F50D) for the OS displayed shortcuts list, but in practice it depends on the actual physical keyboard.  The Logitech K480 I have for testing triggers those shortcuts with a key labeled "start | alt opt", while the actual key with a magnifying glass on it does not trigger them.  Another option I found was using "OS" for the meta label, but that seems to be ROM specific.  I'm not sure there is a good universal "Meta" string, so left it at as the fallback case with "Cmd", which is a minimal change from current behaviour.

I've done the implementation of IFormattable and opened a new pull request, #15828 using the guidelines provided by MrJul.  Please check that pull request and let me know what changes still need to be made.

@IanRawley,
Please read the following Contributor License Agreement (CLA). If you agree with the CLA, please reply with the following:
@cla-avalonia agree

Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement ( “Agreement” ) is agreed to by the party signing below ( “You” ),
and conveys certain license rights to the AvaloniaUI OÜ ( “AvaloniaUI OÜ” ) for Your contributions to
AvaloniaUI OÜ open source projects. This Agreement is effective as of the latest signature date below.
1. Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to AvaloniaUI OÜ under this Agreement.
“Project” means any of the projects owned or managed by AvaloniaUI OÜ and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
2. Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
3. Originality of Work.  You represent that each of Your Submissions is entirely Your
original work. Should You wish to Submit materials that are not Your original work,
You may Submit them separately to the Project if You (a) retain all copyright and
license information that was in the materials as you received them, (b) in the
description accompanying your Submission, include the phrase "Submission
containing materials of a third party:" followed by the names of the third party and any
licenses or other restrictions of which You are aware, and (c) follow any other
instructions in the Project's written guidelines concerning Submissions.
4. Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
5. Licenses.
a. Copyright License. You grant AvaloniaUI OÜ, and those who receive the Submission directly
or indirectly from AvaloniaUI OÜ, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable
license in the Submission to reproduce, prepare derivative works of, publicly display, publicly perform,
and distribute the Submission and such derivative works, and to sublicense any or all of the foregoing
rights to third parties.
b. Patent License. You grant AvaloniaUI OÜ, and those who receive the Submission directly or
indirectly from AvaloniaUI OÜ, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license
under Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
c. Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.
6. Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3 ). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6 , THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
7. Notice to AvaloniaUI OÜ. You agree to notify AvaloniaUI OÜ in writing of any facts or
circumstances of which You later become aware that would make Your representations in this
Agreement inaccurate in any respect.
8. Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
9. Governing Law/Jurisdiction. This Agreement is governed by the laws of the Republic of Estonia, and
the parties consent to exclusive jurisdiction and venue in the courts sitting in Talinn,
Estonia. The parties waive all defenses of lack of personal jurisdiction and forum non-conveniens.
10. Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by AvaloniaUI OÜ.
AvaloniaUI OÜ dedicates this Contribution License Agreement to the public domain according to the Creative Commons CC0 1.


Enable LPC SDIF SD host controller

Enable support for LPC SDIF host controller within Zephyr. This PR enables the host controller for the LPC55s69 SOC, and was testing using the following samples:

tests/drivers/sdhc
tests/subsys/sd/sdmmc
samples/subsys/fs/fat_fs

Support for the execute_tuning SDHC api call is not present because the LPC SDIF peripheral does not support the high speed SD modes that require clock tuning.

#45446 PR merged

@galak. Could you please re-review and remove your block if feel your comments have been addressed.

@galak DT label should be removed now, sorry for the delay

@mbolivar-nordic The first patch can be dropped, thanks for pointing that out. Fixed now.


Install RPLidar A1 at +90° with respect to x

Hi !
Is it possible to install the RPLidar A1 differently than with the motor side toward x ? (don't know if I'm clear, sorry...).
I would like to rotate it at 90°, so basically, x and y axis would be inverted if we compare with the wiki example. I need to do that because I don't have enough room otherwise.
I would use it with gmapping.

you should know more about tf.  modify your tf_tree with right transform


[composer] expand tree to show current active node

problem:
after loading a url, you can end up on a node which is not currently expanded in the tree

@zhenyasav do you have a repro of this? from what I can tell this may already be fixed

tested this - appears fixed to me


assert that closed is defined (for #157897)

Actually, if it's a defined check, shouldn't it be assert.ok(closed !== undefined)? I assume closed might still be false.

closed is a vscode.TextDocument, so how could it be false?


MatExpansionPanel don't have animation?

If you comparate MatExpansionPanel with other material design libraires (react, angular), you will see the diference.
The MatExpansionPanel just blinks in the screen, while the orders have animations on the height.
If you also use a ExpansionPanel alone inside the Accordion, you can see the there is no animation.

This would make the UX much better!

@EduVencovsky ,
We would definitely welcome any contribution that you  have to offer!


Custom 404 page has a Javascript error

https://sentry.io/meerkat-who/meerkat/issues/230934296/
ReferenceError: translator is not defined
  at get_translator (/static/js/app.js:1:4852)
  at None (/static/js/app.js:2:25416)

All priority issues have been moved to the private meerkat_issues repo.


InMemory: Set operations

Part of #16963

@smitpatel: EntityMaterializerSource.TryReadValue accepts an IPropertyBase parameter but doesn't use it, should we get rid of it?


The slack link does not work

Clicking the slack link in this section takes you to a page that gives a 502 error

Fixed!

Thanks @dospunk btw :)

No problem :)


 Changing the check to typeof Audio === 'object'. Thanks for your review.

Review, anyone?

A check has failed, otherwise it looks fine.

Looks good - the change looks reasonable. I did not deeply look into the changed regarding the pom.xml. The unittests run cleanly after restarting them.

Thanks for review and restarting the travis build. I'm going to integrate now.


Add parser/serializer for specific use case for parameters with an ex…

…plicit :list marker.
This explicit marker is used in the Python-based Zope Application Server (https://zope.org) and in Plone (https://plone.org).
Thanks!

@sindresorhus would you mind to take a look? Thanks!

You also need to update index.d.ts

You also need to update index.d.ts

Done!


Add chino.is-a.dev

Website (if applicable): https://chino.is-a.dev/
This PR is:

[x] Adding a new domain
[ ] Updating existing domain
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (darktheme.club site)
[ ] Other not listed

[x] The domain is in the correct alphabetical order
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ page, particularly the red section about inappropriate content, and I attest that this site is appropriate based on those criteria.

[x] Check to confirm

- domain: chino.is-a.dev
  url: https://chino.is-a.dev/
  method: darkonly
  last_checked: 2023-02-01

Thanks for adding your site!


Added "About Us" Page with Information about Blox AI

Added abouts us page with proper adjustment
Thank you so much @subhadeeproy3902 , for giving me this opportunity.
Related Issue
Fixes #107
Description
I have created an "About Us" page for the website. This page includes detailed information about Blox AI, such as its features, tech stack, and the creators of the AI. I am also considering changing the "About" link to "Home" for better navigation since the "About Us" page is now available.
Changes Made:
Added "About Us" Page:

Included information about Blox AI.
Listed the features of Blox AI.
Detailed the tech stack used in Blox AI.
Added a section for the creators of Blox AI.

Navigation Changes:
Proposed changing the "About" link to "Home" for better user experience.If you want then
Type of PR

[ ] Feature enhancement

Screenshots-

Checklist:

[ ] I have performed a self-review of my code
[ ] I have read and followed the Contribution Guidelines.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers, screenshots, and videos after making the changes.

Additional context:
Feel free to tell me about the changes.and if you add something in that

@Aniket-2504 Please dont delete the .env.example file.
Push it back !!.
And please do read Contributing.md file nicely

I dont delete the file just change to env.local

can I rename the env file and just push it ?

@Aniket-2504 yes good. Now list up your contribution. Read Contributing.md

still sometghing wrong what i do now ?

still sometghing wrong what i do now ?

Read Contributing.md

I added my name in list but what i do with the env file , can you plsese give me some guide?

All good now !

But how we gonna merge this PR

But how we gonna merge this PR

U cant, I will after some reviewing .... I will be commenting here and do join the whatsapp group

ok @subhadeeproy3902 , thank you bro appriciate it

@Aniket-2504 Its too much poor UI. Check more about About Us Pages in tailwind and you can take inspirations from them. But this page is too plan and simple. And do not keep the Owners because its already listed in the Contributors page


sourceLaneId equal targetLaneId?

Hi,
when implementing drag & drop behaviour it seems like the parameters sourceLaneId and targetLaneId which are given within the handleDragEnd-method are the same. In your Demo it is working correctly but when i use the code which is in your story.js it shows the beviour i just described above.

Ok let me check that. Does this happen when you move the card from one lane to another or juggling within the same lane?

When i move it between lanes so in your example when i move from planned to wip source and target are always planned

This issue should be fixed now. Refer again to this example for implementing drag-n-drop: https://github.com/rcdexta/react-trello/blob/master/stories/DragDrop.story.js
Make sure the lane id is unique for each lane since it is passed along to the handleDragEnd method. Use v1.21.4


Type safe middleware

Adds the new TypeSafeMiddleware protocol and routes for up to 3 TypeSafeMiddleware in Codable routing.
Description
TypeSafeMiddleware is a protocol for middleware where they return an instance of self instead of altering the request and response. This allows them to be used in Codable routing.
The routes have been added in a new file for Codable routing allowing a user to have up to three type safe middleware on a route by declaring them in there route signature.
Motivation and Context
type safe middleware means application gains compile-time safety and developers benefit from enhanced separation of concerns between the middleware(s) and route handlers.
It also allows middleware such as Auth and sessions them to be used in Codable routes.
How Has This Been Tested?
Has been tested manually using Sessions as a typed middleware.
Automated tests still need to be added.
Appropriate Docs also need to be added describing the new routes.

Codecov Report

Merging #1274 into master will decrease coverage by 16.26%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           master    #1274       +/-   ##
===========================================
- Coverage   88.14%   71.87%   -16.27%
===========================================
  Files          38       39        +1
  Lines        2404     2948      +544
===========================================
  Hits         2119     2119
- Misses        285      829      +544

Flag
Coverage Δ

#Kitura
71.87% <0%> (-16.27%)
:arrow_down:

Impacted Files
Coverage Δ

Sources/Kitura/CodableRouter+TypedMiddleware.swift
0% <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 91f7fb0...6976b31. Read the comment docs.

Why is one limited to three middleware? Why isn't the list of middleware an array?

@shmuelk I think the feature we really want is variadic generics but they aren't here yet unfortunately. Andrew and Dave did explore using an array, I'll let them comment on why they decided against that approach.

Type Aliases (if we want to keep them) have been moved to a kitura contracts PR This has failed though since contracts doesn't know what typeSafeMiddleware are and we don't want it to import Kitura.

Tests for all routes and documentation has now been added.
Two and Three middleware are marked as no doc so they don't show up in jazzy for clarity.


[request] option to avoid re-downloading files with unknown size

Prerequisites

[X] Did you read FAQ section?
[X] Did you test with the latest releases or commit ?

Description
Many images seem to be missing a remote file size, which results in a file size mis-compare when a local file exists. This results in a re-download of the remote image, even if it hasn't changed.
It would be nice to avoid this re-downloading.
Steps to Reproduce

set:
[DownloadControl]
alwayscheckfilesize = True

Download an image for which a remote file size is not reported (shows up as -1).

Download the image again. Note that the image is re-downloaded due to the file size comparison failing. e.g.
Getting remote filesize...
No file size information!
Remote filesize = -1 B (-1 Bytes)
Found file with different file size ==> example.jpg, removing old file (old: 2502334 vs new: -1)
[███.................] 2.39 MiB     Completed in 3.953075s (618.17 KiB/s)

Note that the two file sizes are the same.
Versions
PixivDownloader2 version 20201009-beta1, db880a2

I'm at 3f7f3cc010c8fbd516a766127a607b9200f146f9 which (per git log) has that change; I have:
[DownloadControl]
minfilesize = 0
maxfilesize = 0
overwrite = False
backupoldfile = False
daylastupdated = 1
alwayscheckfilesize = True
checkupdatedlimit = 0
useblacklisttags = False
useblacklisttitles = False
useblacklisttitlesregex = False
datediff = 0
enableinfiniteloop = False
useblacklistmembers = True
downloadresized = False
checklastmodified = True
skipunknownsize = True

and I am still seeing:
Image URL : https://i.pximg.net/img-original/img/../example.jpg
Filename  : example.jpg
Getting remote filesize...
	No file size information!
Remote filesize = -1 B (-1 Bytes)
	Found file with different file size ==> example.jpg, removing old file (old: 530011 vs new: -1)

Do I have wrong config options?

can get the latest commit and run a debug and check if this line being check?
https://github.com/Nandaka/PixivUtil2/blob/master/PixivDownloadHandler.py#L81
I cannot check as I don't have the id that will trigger remote size == -1


Net462update

As .NET 4.6.1 is no longer supported, the changes made update the project to .NET 4.6.2, and remove other references to outdated .NETCore versions.
Further reading here: https://devblogs.microsoft.com/dotnet/net-framework-4-5-2-4-6-4-6-1-will-reach-end-of-support-on-april-26-2022/

For reference, I have a similar PR at #4221

https://github.com/RicoSuter/NSwag/pull/4001 has the big cleanup

Already done in the v14 PR.


Update wkhtmltopdf to 0.12.3

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] If the sha256 changed but the version didn’t,
provide public confirmation by the developer: {{link}}

Closes #36432.

This can stay on the current stable release, thank you anyway @giannitm!


text/tabwriter: AlignRight does not pad or align right-most column

What did you do?
I wrote a few lines to a tabwriter with AlignRight and with padding:
package main

import (
        "fmt"
        "os"
        "text/tabwriter"
)

func main() {
        flags := tabwriter.AlignRight | tabwriter.Debug
        w := tabwriter.NewWriter(os.Stderr, 0, 0, 1, '.', flags)
        fmt.Fprintln(w, "a\tb\tc")
        fmt.Fprintln(w, "aa\tbb\tcc")
        w.Flush()
}

What did you expect to see?
All three columns aligned right, padded with the padding rune:
..a|..b|..c
.aa|.bb|.cc

What did you see instead?
The first two columns work, but the right-most column is left aligned and without padding:
..a|..b|c
.aa|.bb|cc

Go 1.5.3 and tip (9aa630faa868fde13af74e5b22ddba89a635d837) both exhibit this on linux/amd64.
A real-world example of output that might help show what this ends up doing:
                         codec  bytes  encode ns  append nsdecode ns
  simpleproto.SimpleProtoCodec   1255       6596       106810584

Pretty hard to read that last column.

CC @griesemer

Note the documentation in the tabwriter package:
A Writer is a filter that inserts padding around tab-delimited columns in its input to align them in the output. (https://golang.org/pkg/text/tabwriter/)
If you delimit (rather than separate) the colums with tabs it does what you want:
package main

import (
        "fmt"
        "os"
        "text/tabwriter"
)

func main() {
        flags := tabwriter.AlignRight | tabwriter.Debug
        w := tabwriter.NewWriter(os.Stderr, 0, 0, 1, '.', flags)
        fmt.Fprintln(w, "a\tb\tc\t")     // <<<<<< delimiting tab at end
        fmt.Fprintln(w, "aa\tbb\tcc\t")  // <<<<<< delimiting tab at end
        w.Flush()
}

And the output is:
..a|..b|..c|
.aa|.bb|.cc|

This is working as intended. Closing.

@griesemer, thank you for clarifying. Perhaps this needs a documentation update, since the tabwriter documentation says this:

The Writer treats incoming bytes as UTF-8 encoded text consisting of cells terminated by (horizontal or vertical) tabs or line breaks (newline or formfeed characters). Cells in adjacent lines constitute a column.

Cells can be terminated by line breaks; I'd think that the line breaks after the right-most column in my example code would have led tabwriter to interpret that last column as align-able.
Should the documentation be updated to say that the cells can only be terminated by horizontal or vertical tabs? I might still be misinterpreting.

@spenczar Fair enough. But then read further:
Note that cells are tab-terminated, not tab-separated: trailing non-tab text at the end of a line does not form a column cell.

This is emphasized twice. That said, I agree that this does appear to contradict the former sentence. I'll update the doc.

Thank you - I really appreciate the work on docs, boring as it may be. The examples make this sparklingly clear now.


Mint burn API only, stubbed implementation

Issue Number
ADP-346
ADP-862
Overview
This PR modifies the cardano-wallet API to support minting and burning. Minting and burning are not actually implemented, just stubbed. This was done to minimize the amount of context the reviewer needs to keep in mind when reviewing - we are just reviewing the form of the new minting and burning endpoints.

Add a new "mint" endpoint under the "assets" API group.
Add a number of new API types to represent the data the user must submit with a mint/burn request, and the data they receive back.
Adjust swagger specification to match new API types.
Adds Arbitrary instances for API types for property tests.
Adds a stub for the minting and burning implementation.

Believe test failures are flaky tests.

I think we originally saw two primary use cases for this feature:

To add minting and burning to our cardano-wallet test suite
To allow users to mint and burn using the cardano-wallet abstraction

The first use case is largely undefined, so for now all we will say is that it is beneficial to have minting and burning present in our test suites.
Regarding the second use case, minting and burning is currently achieved using the cardano-cli. A detailed example of minting an asset using cardano-cli can be found here.
Simplified, the important points are:

Assets are minted and burned under a "policy"

For example, the simplest policy is: "only transactions signed by this
key" may mint or burn tokens.

The typical process for minting/burning is:

Generate keys for the minting policy.
Create a policy script that allows only those keys to mint/burn assets.
Build a transaction that mints an asset under that policy script, with an
asset name.
Sign the transaction with the policy script and the minting keys.
Submit the transaction.

A user of cardano-wallet typically wants to make use of HD wallets and so doesn't want to manually create keys for minting and burning, we have formed this API to meet that expectation.
The user doesn't refer to an asset via it's policy script, instead we ask the user for an index into a key derivation path (the monetary policy index), from this index we derive the keys for the policy, create a policy script from those keys, then build and submit the minting or burning transaction.
We do not try and support more complex policy scripts at this time (for example, the user could create a policy script that's can only mint after a given slot), which simplifies the requirements of this API.
I imagine a typical use-case of this API would be to mint a token to sell as an NFT:
export ASSET_NAME=$(echo my-nft | basenc --base16)
export RECV_ADDR="one of my addresses"

POST wallets/{walletID}/assets/mint
  { "mint_burn": {
      "asset_name": "$ASSET_NAME",
      "monetary_policy_index": "0",
      "operations": [
        {
          "mint": {
            "amount": {
              "quantity": 1,
              "unit": "assets"
            }
            , "receiving_address": "$RECV_ADDR"
          }
        }
      ],
      "passphrase": "..."
    }
 }

One of the first things a user would want to do with their NFT is add metadata for it using offchain-metadata-tools:
export SUBJECT=$(resp from prev post | jq .subject)
export POLICY=$(resp from prev post | jq .policy)
token-metadata-creator entry $SUBJECT \
  --name "Quid" \
  --description "The un-offical currency of Great Britain." \
jq '.policy = "$POLICY"' $SUBJECT.json.draft

Next the user will need to attest to the metadata properties:
token-metadata-creator entry $SUBJECT -a policy/policy.skey

Unfortunately, this use case will fail here, we don't have access to the policy keys! They were abstracted away by cardano-wallet. So at this stage the usefulness of this API to the user is questionable.
Perhaps this could be handled in some way by modifying offchain-metadata-tools and/or cardano-wallet.

I imagine a typical use-case of this API would be to mint a token to sell as an NFT:
...
Unfortunately, this use case will fail here, we don't have access to the policy keys! They were abstracted away by cardano-wallet. So at this stage the usefulness of this API to the user is questionable.

I believe that despite not being able to put token metadata in the metadata server, it is still possible to use this feature as to mint NFTs. AFAIK NFT creators are adding some metadata on-chain to a minting transaction. There is a standard that's being discussed -> https://github.com/Berry-Pool/CIPs/blob/master/CIP-NFTMetadataStandard.md. In any case I think it would be good to state that limitation into release notes and swagger. I've added a note into swagger in f2bef0c.

I added some minor rework, squashed, and rebased.
bors r+

bors r+

bors r+


GPU Memory usage

Every call to hipMalloc allocates aligned to a page, which is 4 kB. This is a lot for the variable allocations. We should consider tightening this up.

It looks like variables have a guaranteed alignment along 256 bytes. It seems it may be the case for some devices that virtual pointers are aligned to 4kB, but since they are virtual, the rest of the 4kB may actually be used by another process. I’m going to look into this more.


Provide more examples

Hi, the lib is very cool! But I find it lacks of usage/example about how to use the encodeMultipartMessage method.
Could you please provide more code examples on how to encode multipart messages, and convert the resulting ReadableStream into a utf-8 renderable string?
Thanks!

Hi @ShookLyngs!
Thanks for opening this issue. We will look into adding some more documentation, including examples.
In the meantime, you can find examples in the tests/ directory. A quick (but not necessarily the most efficient) way of converting a ReadableStream to an Uint8Array is through the Response class:
import { encodeMultipartMessage } from '@exact-realty/multipart-parser';

const ABtoU8 = new TransformStream({
	start() {},
	transform(chunk, controller) {
		controller.enqueue(new Uint8Array(chunk));
	},
});
encodeMultipartMessage('boundary', [
	{
		headers: new Headers({ 'test-header': 'example-value' }),
		body: new TextEncoder().encode('sample body'),
	},
]).pipeThrough(ABtoU8);
new Response(ABtoU8.readable)
	.arrayBuffer()
	.then((msg) => new Uint8Array(msg))
	.then(console.log); // This is the resulting Uint8Array

I say it's not the most efficient because this is converting between Uint8Array and ArrayBuffer multiple times, at ABtoU8, then at Response and then at .arrayBuffer().
A better way would be something like:
import { encodeMultipartMessage } from '@exact-realty/multipart-parser';

const reader = encodeMultipartMessage('boundary', [
	{
		headers: new Headers({ 'test-header': 'example-value' }),
		body: new TextEncoder().encode('sample body'),
	},
]).getReader();

const chunks = [];
for (;;) {
	const { done, value } = await reader.read();
	if (done) break;
	chunks.push(chunk);
}

let position = 0;
const size = chunks.reduce((acc, cv) => acc + cv.byteLength, 0);
const buffer = new ArrayBuffer(size);
const combined = new Uint8Array(buffer);

for (let chunk of chunks) {
    combined.set(new Uint8Array(chunk), position);
    position += chunk.byteLength;
}

// Result is in `combined`


Release v0.2.3 ready

This PR for release v0.2.3.

@platfowner Thanks for the quick review! I am merging it!


Fix upgrade failure when flux enabled

Issue #, if available:
#3091
In EKS-A v0.10.0 release, during upgrade we pause the eks-a and flux reconciliation before core components upgrade to reduce upgrade side affect. Related PR: #2761. During Flux version upgrade,flux bootstrap preflight will fail when flux is already suspended, which causes the entire upgrade command fails when GitOps is enabled.
Description of changes:
Instead of suspending the entire Flux Kustomization, we add annotations to let Flux ignore EKS-A resources during the upgrade process. For example, below annotation is added to EKS-A cluster, provider datacenter and provider machineconfigs before components upgrade:
kustomize.toolkit.fluxcd.io/reconcile: disabled

Reference: https://fluxcd.io/docs/components/kustomize/kustomization/#reconciliation
Testing (if applicable):
Unit tests. Also manually tested Flux enabled cluster upgrade from 0.10 to latest.
Will add e2e in a separate PR.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

If flux-system kustomization is suspended, the flux bootstrap will fail, I tested this by running the bootstrap command standalone while flux-system was suspended.

/lgtm

/cherrypick release-0.11


[Fix][Broker] Fix race condition between timeout and completion  in OpAddEntry

Motivation
In #4455 and #10740, The OpAddEntry try to using opAddEntry.addOpCount to ensure the opAddEntry we got is what we want.(avoid recycle cause race condition)
It seems exists a case causing another race condition. consider the case as follow:
Precondition

We have an OpAddEntry that name is A.
We got two threads: a timeout check thread and another is a write thread that wants to complete and recycle this OpAddEntry.
Relative code is as follow(timeout check logic):

https://github.com/apache/pulsar/blob/caf7648653c140c9f922e86425585ab7b5ed3ed6/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java#L3825-L3840
Race condition process

When the timeout checker thread gets OpAddEntry A and continues to run until line 3835.
At the same time, the writing thread also gets OpAddEntryA, completes and recycles.
After step 2, OpAddEntryA is taken out of the recycling pool by other threads as OpAddEntryB. But the timeout thread has passed the timeout check(line 3834), and addOpCount is also obtained from OpAddEntry B, which will cause the compareAndSet check to pass.

Affect

The timeout checker will make a new OpAddEntry complete timeout.

Modifications

Record opAddCount before timeout judgment.

Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[x] no-need-doc

Good catch!
btw. previous revisit to the solution was in #10740

@lhotari this pull must be ported to branch-2.10 also, thanks


Copy & paste is not working.

I want copy one highlight on the PDF in zotero reader, and paste it to other apps, but the Copy & paste function is not working.
If I turn off the BBT plugin, I can do the copy and paste. Normally, the copy text is the text + link format like:
“one on their own”: they do not represent the shared goal and hence disregard the partner’s sub-goal, and this impairs the performance when mutual adj” (Sacheli et al., 2015, p. 4) (pdf)
so I can quickly jump and locates the highlight in other app.
zotero version: 6.0-beta.10+b1d11bf7d
BBT version: v6.2.14

I need you to reproduce the problem and send a support log as per point 2.


Failed to create fix for UnnecessaryComprehensionAnyAll: Expected Expression::ListComp

Ruff 0.0.285
ruff  *.py --select ALL

file content:
any(x.id for x in bar)
any({x.id for x in bar})

error:
error: Failed to create fix for UnnecessaryComprehensionAnyAll: Expected Expression::ListComp
PY_FILE_TEST_51040573.py:1:1: D100 Missing docstring in public module

PY_FILE_TEST_51040573.py.zip

It seems that neither flake8-comprehension or flake8-pie raises a violation when set comprehensions are used. \cc @charliermarsh any idea why this was added in https://github.com/astral-sh/ruff/pull/3824?
Sets are unordered so we might not know when any stops and if it benefits or not. Depending on the reason for the PR, the fix would be either to not flag it for set comprehensions or update the autofix to account for that.

@dhruvmanila - It still makes sense to avoid allocating the set IMO. We should update the autofix, I think.


Compatibility Issue with pydantic and annotated-types in pyiceberg 0.8.1

Apache Iceberg version
0.8.1 (latest release)
Please describe the bug 🐞
I am encountering an error when using pyiceberg 0.8.1 with pydantic 2.10.3 and annotated-types 0.7.0 in a Python virtual environment. The error message is:
File "\site-packages\pydantic\types.py", line 898, in conlist
return Annotated[List[item_type], annotated_types.Len(min_length or 0, max_length)]
TypeError: Len() takes no arguments
Environment:
OS: Windows 10
Python Version: 3.10
pyiceberg Version: 0.8.1
pydantic Version: 2.10.3
annotated-types Version: 0.7.0
Additional Notes:
I have ensured the latest versions of pydantic and annotated-types are installed, and the error still persists.
Cleaning the environment and reinstalling dependencies did not resolve the issue.

Willingness to contribute

[ ] I can contribute a fix for this bug independently
[ ] I would be willing to contribute a fix for this bug with guidance from the Iceberg community
[X] I cannot contribute a fix for this bug at this time

got this error too
ImportError: cannot import name 'RootModel' from 'pydantic' (/home/trusted-service-user/jupyter-env/python3.11/lib/python3.11/site-packages/pydantic/__init__.cpython-311-x86_64-linux-gnu.so)

@djouallah do you know which version of Pydantic you're using? You can easily check it using:
Python 3.10.14 (main, Mar 19 2024, 21:46:16) [Clang 15.0.0 (clang-15<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydantic
>>> pydantic.__version__
'2.10.3'

@djouallah do you know which version of Pydantic you're using? You can easily check it using:
Python 3.10.14 (main, Mar 19 2024, 21:46:16) [Clang 15.0.0 (clang-15<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydantic
>>> pydantic.__version__
'2.10.3'

sorry, my notebook did not properly restarted, everything is fine

can anyone help with original issue that was reported regarding "Apache Iceberg version"

Hi @pawansanz, I've also encountered this issue before. In my case, it was due to the different library versions on my laptop.
A way to debug is to ensure that the python,poetry, and pydantic all refer to the same python virtual environment.
Could you try recreating the python virtual environment and see if the issue persists?


Add membership section

I updated the info regarding CytoData Symposium 2021 and added a new membership section to the website.

I tried to make a local build of the site but that did not work. I needed to remove Markdownify in  {{ .Content | markdownify }} in themes\hugo-simpledoc-theme\layouts\index.html

Well done. Maybe the Membership disclaimer could sound a bit less dry? Maybe simply turn it around and First Say Who we are and what we do and that one can subscribe and Refer to the Legal status below, more as a footnote.

@wagenrace This is the netlify built deployed version: https://deploy-preview-23--cytods.netlify.app/

this can be merged I believe?

@lopaavol I think this PR can be discarded right?

Yes. I will check if anything needed for the new site from these modifications.

The site was changed to multi-page before merging this pull request.


Staff account permissions appear modified even when cancelling

Description
When updating the permissions for a staff account, if you cancel the "updated" permissions will stay unless you refresh the page. They don't actually get saved in the backend put in the frontend they appear to have changed for the user.
Steps to reproduce

Log in as an admin account
Go to dealership and select one
Select a user to modify
Click on "Edit account details"
Modify the permissions by either changing the role or toggling on/off specific permissions
Click Cancel
You'll see the modified permissions list appear in the user details instead of the old ones.

Priority
Medium
Related Jira User Story
[AP-37] As an administrator, I would like to edit user permissions and roles

Fixed in the following commit


SPARKC-233 use executeAsync when joining with C* table

This ought to speed up joining with C* table by using executeAsync
(instead of execute) and prematerializing C* ResultSets during join
operation. Concurrent querying is controlled by parameter
spark.cassandra.input.join.concurrent.reads
It specifies maximum number of ongoing executeAsync calls and thus
limits maximum number of prematerialized ResultSets.
Basically we buy some time for the cost of memory.
This also adds performance module with jmh plugin. Within module
there is a simple macrobenchmark that was used to generate following results:
before:

Benchmark
Mode
Cnt
Score
Error
Units

measureOneElementPerPartitionsJoin
ss
15
19252.805
± 390.205
ms/op

measureSmallPartitionsJoin
ss
15
20034.163
± 1515.168
ms/op

measureModeratePartitionsJoin
ss
15
20278.329
± 1689.112
ms/op

measureBigPartitionsJoin
ss
15
17515.329
± 1420.479
ms/op

after:

Benchmark
Mode
Cnt
Score
Error
Units

measureOneElementPerPartitionsJoin
ss
15
8378.778
± 665.592
ms/op

measureSmallPartitionsJoin
ss
15
8468.695
± 891.526
ms/op

measureModeratePartitionsJoin
ss
15
8689.495
± 924.087
ms/op

measureBigPartitionsJoin
ss
15
8891.763
± 1208.863
ms/op

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with failure

Build against Scala 2.11 finished with success

Build against Scala 2.11 finished with success

Build against Scala 2.11 finished with success

@RussellSpitzer , below there is a comparison of original implementation and current (based on your suggestion). As one can imagine this is most beneficial for small and oneElement partitions.
Results look ok, indeed there is a speedup, but materializing this eagerly doesn't seem right. This solution is only ok when this is true:

If the next operation is a shuffle the whole block will have to be materialized anyway.

I have not found the confirmation yet. I'll dig deeper but maybe you already know where to look and could point me to a right class?

Benchmark
Mode
Cnt
Score
Error
Units

measureBigPartitionsJoin_old
ss
10
1519.481
± 254.452
ms/op

measureBigPartitionsJoin_new
ss
10
1351.666
± 318.551
ms/op

measureModeratePartitionsJoin_old
ss
10
1830.509
± 236.377
ms/op

measureModeratePartitionsJoin_new
ss
10
778.343
± 194.493
ms/op

measureSmallPartitionsJoin_old
ss
10
9076.712
± 200.409
ms/op

measureSmallPartitionsJoin_new
ss
10
1790.086
± 205.705
ms/op

measureOneElementPerPartitionsJoin_old
ss
10
74703.597
± 708.829
ms/op

measureOneElementPerPartitionsJoin_new
ss
10
12936.777
± 384.309
ms/op

Build against Scala 2.10 finished with failure

Build against Scala 2.10 finished with success

Build against Scala 2.10 finished with success

The materialization thing comes from spark need to serialize the entire partition before it can shuffle it. It doesn't move single elements from a partition during a shuffle. Since it's sending an entire block over the wire the whole partition must be in memory.  This is why you basically always need numCores * maxPartitionSize  Heap on your executors for reliable spark execution. You can sometimes spill during shuffles but it is sad times.
I wanted to up the throughput mostly because my mental model for C* is, 2ms a query but can handle roughly 20~30k queries per second. The only way to hit the throughput limit is to never block waiting for a response. Even at 5 queries in flight at a time we can only do 5 X 500 ~ 2500 (assuming perfect always 5 queries in flight) queries a second (given my imaginary latency). Anyway i'm mostly worried here about max throughput.
If you look at the CassandraTableScanCode you'll see that it's actually materializing "fetchSize" rows at a time which is ~1000 by default. (guessing didn't check). So even when it looks like it's only doing one at a time the driver under the hood is pulling 1000 rows down.
Maybe we should just match the "fetchSize" input param. We'll obviously be underestimating for very wide partitions but it will be great for narrow partitions.

Thanks Russ.
I added a column with throughput called 'Queries/sec' for each entry in the latest results table. Each case has 200k rows to pull so the number of queries is derived from partitions size: big, moderate, small, oneElement which is (rows per partition): 5000, 500, 10, 1. Intuitively, this fix works better for cases with smaller partitions/bigger number of queries - for oneElement per partition we are around 15k/sec on my laptop.
It makes me think that we should give users a way to throttle this, WDYT?

So in other words, my proposal is to go with current implementation (materialize everything with one go) but give users the ability to slow down the process. RateLimiter class could nicely cut down the materialization process rate to desired queries/second value. The default could be not set.

I like that idea, I think it's a good balance.

squashed and rebased on current master

Build against Scala 2.10 finished with success

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with failure

Build against Scala 2.11 finished with failure

retest this please

Build against Scala 2.10 finished with failure

Build against Scala 2.11 finished with failure

Build against Scala 2.11 finished with failure

Build against Scala 2.10 finished with failure

+1

Build against Scala 2.11 finished with failure

Build against Scala 2.10 finished with failure


feat: mvi search and fetch vectors

Adds searchAndFetchVectors method to both web and Node.js clients, including:

method definitions
response types (+SearchAndFetchVectorsHit)
integration tests

For the integration tests I parameterized the existing search tests to work on both search and searchAndFetchVectors.

LGTM. The python sdk keeps SearchHit separate from the search vector. Do we want to change that to combine them like you do here?

I'm not sure what you mean?

Ignore me. That was a poor reading of the python search hit.


@vx/text width prop breaks w/ SSR

(I'm not actually sure if this has anything to do with SSR, but the problem presents only on fresh page loads in my nextjs project, so that's normally the culprit.)
I'm calling the component like so:
 <Text
    scaleToFit
    width={25}
    x={9}
    textAnchor={'middle'}
    y={18}
    angle={-90}
 >
Some label
</Text>

On page load, however, the rendered styles on the <text> element are broken. specifically, the transform value is: matrix(Infinity, 0, 0, Infinity, -Infinity, -Infinity) rotate(-90, 9, 18)
The practical implication of this bad transform in my case is that text I'm trying to render vertically shows up w/ a horizontal orientation.
e.g. instead of this:

it renders this:

When hot reloading updates the bundle, however, the transform prop gets updated to a valid value, and the text renders as it ought to:
matrix(0.7368114063658365, 0, 0, 0.7368114063658365, 2.3686973427074713, 4.737394685414943) rotate(-90, 9, 18)

I thought maybe it was the memoization (i think?) pattern you've got going on in componentWillReceiveProps, so I tried shorting that by creating / passing a new style object on render, but no such luck.

Is it possible that there is not getBoundingClientRect in the SSR env?
@vx/text needs this to measure word widths.
On Sun, Apr 8, 2018, 7:53 PM brandon<EMAIL_ADDRESS>wrote:

(I'm not actually sure if this has anything to do with SSR, but the
problem presents only on fresh page loads in my nextjs project, so that's
normally the culprit.)
I'm calling the component like so:
<Text
scaleToFit
width={25}
x={9}
textAnchor={'middle'}
y={18}
angle={-90}

Some label

On page load, however, the rendered styles on the  element are
broken. specifically, the transform value is: matrix(Infinity, 0, 0,
Infinity, -Infinity, -Infinity) rotate(-90, 9, 18)
The practical implication of this bad transform in my case is that text
I'm trying to render vertically shows up w/ a horizontal orientation.
e.g. instead of this:
[image: image]
https://user-images.githubusercontent.com/14139991/38473972-0da8d69c-3b66-11e8-908c-86f3317d399c.png
it renders this:
[image: image]
https://user-images.githubusercontent.com/14139991/38473978-158213ce-3b66-11e8-90d5-d54c655351b1.png
When hot reloading updates the bundle, however, the transform prop gets
updated to a valid value, and the text renders as it ought to:
matrix(0.7368114063658365, 0, 0, 0.7368114063658365, 2.3686973427074713, 4.737394685414943) rotate(-90, 9, 18)
I thought maybe it was the memoization (i think?) pattern you've got going
on in componentWillReceiveProps
https://github.com/hshoff/vx/blob/master/packages/vx-text/src/Text.js,
so I tried shorting that by creating / passing a new style object on
render, but no such luck.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hshoff/vx/issues/266, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAK1RFI96o57BX-Bn0XohEBrm_WCKCK9ks5tmqMQgaJpZM4TLxFn
.

hmm that's odd. I'm not seeing any errors when loading https://vx-demo.now.sh/text which uses nextjs...even tried making <Text /> with all the props in your example above.
To help me reproduce this problem, which version of next are you using?

@hshoff  I'm using<EMAIL_ADDRESS>I just threw in regular <text> elems for now & they're working fine, so I'm assuming it's something in the calcs in @vx/text
The docs look like they're referencing an old version maybe? the component in the docs is <TextOutline>, which i assume is diff't from the <Text> component. Either way, it doesn't look like the example is using scaleToFit, and since that's the prop that results in the matrix transform being added, I figure that's why the bad transform isn't presenting in docs.
@techniq  I think you're right. It looks like getStringWidth is called in Text.componentWillMount, which fires on the server.
Normally when document gets referenced on the server, it throws, but it looks like getStringWidth is wrapped in a try/catch & just silently returning null. I think it's those null values that are resulting in the Infinitys making their way into the matrix transform, thus breaking shit

i  was able to reproduce it in the docs by modifying text.js to this:
import React, { Component } from 'react';
import { Text } from '@vx/text';

export default () => (
    <div
        style={{
            display: 'flex',
            width: '90vw',
            height: '90vh',
            justifyContent: 'center',
            alignItems: 'center'
        }}
    >
        <svg width={500} height={200}>
            <Text
                scaleToFit
                width={25}
                x={250}
                textAnchor={'middle'}
                y={18}
                angle={-90}
            >
                This should be vertical
            </Text>
        </svg>
        <svg width={100} height={200}>
            <Text width={25} x={15} textAnchor={'middle'} y={25} angle={-90}>
                This is vertical
            </Text>
        </svg>
    </div>
);

here's a live demo

Recharts (where I originally submitted this component too) has a SSR check before calculating the word widths that we should do as well.  I haven't used SSR much myself so I've never ran into this.  I'm guessing if we don't run this on the server, it should run the calculations during the client render.

I'm also less familiar with SSR, can this be fixed with the SSR check + moving it to componentDidMount to compute upon client render?

@williaster we need to recalculate the word widths any time the children (i.e. text) or styles change so it needs to happen anytime the props change (although this will need to be changed to getDerivedStateFromProps in the future).

@techniq  is it good enough to just put a ballpark value based on string length for SSR, then calc the real value when the component mounts?
it's admittedly a 'good enough' solution, but i've used similar approaches in a few cases working around SSR constraints.
so, e.g., where getStringWidth.js returns null on the server:
...
function getStringWidth(str, style) {
  try {
  } catch (e) {
    return null;
  }

you could simply do
...
function getStringWidth(str, style) {
  try {
  } catch (e) {
    return (str || '').width * 3; // 3 being an arbitrary 'pixel width per char' number
  }

Could also add a pixelsPerCharacter prop to the component to let lib users adjust to their needs. eg:
...
function getStringWidth(str, style, pxPerChar = 3) {
  try {
  } catch (e) {
    return (str || '').width * pxPerChar;
  }

also: the typical way i see ssr checked is typeof window === 'undefined'. i like the try/catch approach, but maybe a more explicit check is better here

@brandonmp seems reasonable.  I'm not very familiar with SSR and how state is reconstituted on the client.  Would want to make sure another calculation occurred on the client to correct the values.
Also, seems like matching how recharts handles this would work.   Changing this to
if ((props.width || props.scaleToFit) && typeof window !== 'undefined') {

was there any alignment on the desired approach here? simply adding the line @techniq called out?
if ((props.width || props.scaleToFit) && typeof window !== 'undefined') {

I've not used SSR enough to give a definitive answer.
On Tue, Jun 26, 2018, 2:34 PM Chris Williams<EMAIL_ADDRESS>wrote:

was there any alignment on the desired approach here? simply adding the
line @techniq https://github.com/techniq called out?
if ((props.width || props.scaleToFit) && typeof window !== 'undefined') {
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hshoff/vx/issues/266#issuecomment-400418723, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAK1RFaUeucuETbJbf0cA61FQD-bgCC-ks5uAn7AgaJpZM4TLxFn
.


Djinn

Hi, are you working on djinn to integrate with lucida? can you explain me how to link djinn with lucida?

Yes! We are currently working on this @haoyifan could you post your updates/progress?

I'm still trying to set up djinn in my machine. There are a lot more dependency libraries and prerequisites than I expected(nvcc, BLAS, openCV, hdf5 etc.) Currently I'm reinstalling BLAS libraries since the compilation of caffe will terminate without certain BLAS libraries. I'll let you know when I make more progress.

Hi Johann. I just install djinn in my linux successfully. My PC broke down when I tried to install BLAS. But I finally get the executable in my service directory. I think you need to add some instructions on setting up the dependencies. I had tons of dependency errors even if I installed all of the libraries correctly. The users need to modify some bash file and export several environment variables to let the compiler know where to find the right libraries.
However, when I tried to run djinn as a server, it says segmentation fault. Have you encountered such problem before?

I'm closing this because this issue is not related to this project. This issue can be carried out on  #2


Extend metric types and insight into rippled operation/state

Currently rippled exposes metrics and/or information about its current operation via:

the server_state/server_info RPC call (and a few other ones, such as counters or print)
the /crawl endpoint
a statsd style push-based metrics implementation (via the lfkabbVF [library formerly known as beast by Vinne Falco])
the "normal" log (with various logging levels) and the perf log

I'd like to suggest to add 2 more methods of exposing information to this, maybe eventually replacing some of them (statsd + maybe the perf log + maybe the /crawl endpoint):

OpenMetrics (essentially the metrics format for https://prometheus.io standardized) for metrics data. Having data available in this format would really help in monitoring rippled instances, since statsd is push based and modern metrics/monitoring platforms are often pull based.
OpenTelemetry (a merger of OpenTracing and OpenCensus) - OpenTracing support would help in analyzing requests being processed by rippled (take a look at https://www.jaegertracing.io/ for example and imagine you'd be able to trace a request from your external load balancer back to your RocksDB call(s) of the rippled cluster node and back!), OpenCensus is a library that helps with collecting metrics and supplying various (fast!) primitives. These then could be exposed in OpenMetrics format.

@intelliot @kennyzlei Would be really interested in taking this feature up for fun. I'm actually an intern at Ripple working on the data platform team and just finishing up my last two weeks.
I was working on a feature with Databricks that involved aggregating Apache Spark's Prometheus metrics with an OTEL collector and pushing to Grafana across our data platform for cost observability. It's real-time, nearly seamless to integrate with Grafana, and has helped A TON with our observability.
Would be really interested in doing something similar to what Spark does but for rippled's metrics . I think we could do it by simply converting all the existing metrics into a prometheus time-series format and exposing it on some endpoint for easy pull/push-based real-time scraping.
Having this feature would be really useful to integrate with modern observability stacks involving things like OTEL collector and Grafana.
Is there anyone I can work with to implement this? Also, would this qualify for a grant?

@jerryzhou196 thank you for your interest!   For the Clio project, native prometheus support was added recently by @kuznetsss https://github.com/XRPLF/clio/blob/develop/docs/metrics-and-static-analysis.md  I think he may be a good person to reach out to for insights on how this could be applied to rippled.
In terms of grants, I believe this typically applies to individuals and organizations outside Ripple


Can't connect to Material UI library

Hey there, I just encountered the following error with Alva when trying to connect to the Material UI library:
The "path" argument must be of type string. Received type object

Stack Trace
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object
    at assertPath (path.js:39:11)
    at Object.dirname (path.js:1268:5)
    at Object.analyze (/Applications/Alva Canary.app/Contents/Resources/app.asar/index.js:206125:47)
    at /Applications/Alva Canary.app/Contents/Resources/app.asar/index.js:82376:47
    at process._tickCallback (internal/process/next_tick.js:68:7)

Hey @hustlelikeaboss we are still working on properly implementing the material library. Thanks for your feedback!
Cheers
Yuri

Hey @hustlelikeaboss!
Can you share your Alva version with us? Did you try to install the library locally or via the Library Store?
Thanks!

Hey @hustlelikeaboss connecting material UI should be working by know. Does it work for you? Thank you for your feedback!
Yuri


[sdf5] Changelog links to BitBucket backup

Signed-off-by: Louise Poubel<EMAIL_ADDRESS>

I wouldn't bother changing this branch since it is EOL


Add Tenants REST API test and partial fix #4166

Description
Added Tenants REST API test
Issues Resolved
partial fix #4166
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] 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.

Sorry by mistake delete branch in the fork repo :-). Have to re-open PR

Oppps wrong branch. Im closing it one more time


[PATCH] Fix gcc warning: format '%p' expects argument of type 'void*'

What steps will reproduce the problem?

1. Compile some code using sparsetable
2. Get warnings along the following lines:

warning: format '%p' expects argument of type 'void*', but argument 4 has type
'google::sparsegroup<nest::Node*, 48u,
google::libc_allocator_with_realloc<nest::Node*>
>::alloc_impl<google::libc_allocator_with_realloc<nest::Node*> >::pointer {aka
nest::Node**}' [-Wformat]

What is the expected output? What do you see instead?

No warnings.

What version of the product are you using? On what operating system?

Latest SVN.

Please provide any additional information below.

According to the standard, the format specifier '%p' expects a 'void*' pointer,
however, as far as I understand, giving an argument of a different type is an
undefined behavior, even though an implicit conversion can be safely performed,
which is why gcc emits a warning.

The solution is to perform the conversion explicitly; I have chosen 'const
void*', because I've seen it used in gcc itself, so I would assume that it's a
good style:

http://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/iq2000/iq2000.c?r1=192717&r2=192
716&pathrev=192717

Please see the attached patch, which fixes this problem for me.

Original issue reported on code.google.com by yury.v.zaytsev on 14 Aug 2013 at 8:05
Attachments:

0001-Fix-format-p-expects-argument-of-type-void-warnings-.patch

I have no recollection of seeing this warning.
Feel free to comment again if it pops up.


[Question]: Is it possible to use the publish symbols task in a release pipeline?

Task name
PublishSymbols@v2
Task version
2.214.0
Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
windows-latest
Question
Hello,
I have a release pipeline that generates packages and publishes them to some nuget feeds. I'm adding the publish symbols task to save the PDBs in the artifacts and I'm facing the following issue:
2023-03-07T19:17:13.2872748Z ##[error]Unable to process command '##vso[artifact.associate artifacttype=SymbolRequest;artifactname=SOME_LINK]#LINK_TO_AZUREDEVOPS' successfully. Please reference documentation (http://go.microsoft.com/fwlink/?LinkId=817296)
2023-03-07T19:17:13.2970023Z ##[error]Value cannot be null. (Parameter 'buildId')

I also tried to supply some variables such as:
Build.BuildId = $(Release.ReleaseId)
buildId = $(Release.ReleaseId)
How can I publish using a release pipeline?
Thank you!

Tagging @carl-tanner @fadnavistanmay @b-barthel @kunalkaroth as the owners from CODEOWNERS file

The publish symbols task is only supported in builds, not release pipelines.


[SPARK-45267][PS][FOLLOWUP] Remove duplicated test

What changes were proposed in this pull request?
This PR is followup for https://github.com/apache/spark/pull/43043.
Why are the changes needed?
To remove duplicated test during local testing.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
The existing CI should pass.
Was this patch authored or co-authored using generative AI tooling?
No.

+1, LGTM because FrameComputeMixin has it. Merged to master.

Thanks for the review!


Business case of stakeholder cooperation unrealistic when considering input

It seems to me that something goes wrong in my business case. The part I'm focussing up now is the stakeholder cooperation, which has one PV plant.
The other part of the business case is less relevant now as I'm still tuning the load, and not all stakeholders have been defined properly.
Summary
I have initial investment of 7 million euro, O&M of 10,000 euro. My business case gives yearly spend money is 14 million euro.
Link
LES
Details
My PV plant, on end node owned by cooperation, is specified as follows:
One panel with total capacity -6000 kW, initial investment 7,000,000, O&M 10,000, technical lifetime 25 years.

My market model includes a cooperation which receives 0.065 euro/kWh produced (line 7).

The resulting business case gives

in 455,332 euro (seems reasonable, but I would expect something slightly different: 867 flh * 6e10^3 kW * 0,065 euro/kWh = 338,000 euro)
out 14,558,137 euro (unrealistic, I would expect (7,000,000 euro / 25 years ) + 10,000 euro/year = 290,000

cc: @dennisschoenmakers

@antw can you pik this up with priority?

out 14,558,137 euro (unrealistic, I would expect (7,000,000 euro / 25 years ) + 10,000 euro/year = 290,000

This happens because all the gas infrastructure is assigned to the co-operation. In a local copy of the LES I reassigned the infrastructure to the "aggregator", and then the co-operation costs drop to the expected €290k.

in 455,332 euro (seems reasonable, but I would expect something slightly different: 867 flh * 6e10^3 kW * 0,065 euro/kWh = 338,000 euro)

I'm not entirely sure from where that FLH comes. The average value of the solar_pv_zwolle curve is 0.13327.
0.1332783562416742   # Average
x 8760               # Hours    = 1167.518400677066 (FLH)
x 6000               # Capacity = 7005060.0 (kWh)
x 0.065              # Price per kWh

=<PHONE_NUMBER>640558  # Total price

I'm not entirely sure from where that FLH comes.

I think that the FLHs come from ETEngine. Perhaps we should base the FLHs on the profile that the user specifies. This would make this more consistent.

This happens because all the gas infrastructure is assigned to the co-operation.

This is related to https://github.com/quintel/etmoses/issues/1229


Platform error sensor.climacell - Integration 'climacell' not found

After copying the files to homeassistant/custom_components/climacell and then saving the example setup into my configuration.yaml file,
I get an error when restarting HomeAssistant.  The only way I can get it to restart is to delete the climacell configuration out of my configuration.yaml file.
yaml configuration:
sensor:
  - platform: time_date
    display_options:
      - 'time'
      - 'date'
      - 'date_time'
      - 'date_time_utc'
      - 'date_time_iso'
      - 'time_date'
      - 'time_utc'
      - 'beat'
# Weather climatecell.co
  - platform: climacell
    api_key: "redacted"
    name: climacell
    latitude: "redacted"
    longitude: "redacted"
    units: us
    timelines:
      - name: "RR" #Realtime
        timestep: "1m"
        forecast_observations: 1
        fields:
          - temperatureMax
          - feels_like
          - humidity
          - wind_speed
          - wind_direction
          - wind_gust
          - pressure
          - precipitationIntensity
          - precipitation_type
          - visibility
          - cloud_cover
          - weather_condition
          - pm25
          - pm10
          - o3
          - no2
          - co
          - so2
          - epa_aqi
          - epa_health_concern
          - pollen_tree
          - pollen_weed
          - pollen_grass
          - fire_index
        update: auto
        scan_interval:
          # At least one of these must be specified:
          days: 0
          hours: 1
          minutes: 0
          seconds: 0
          milliseconds: 0
        exclude_interval:
          1:
            - "00:00"
            - "07:00"
      - name: "" #Daily
        timestep: "1d"
        forecast_observations: 5
        fields:
          - temperature
          - temperatureMin
          - temperatureMax
          - precipitationIntensityMin
          - precipitationIntensityMax
          - precipitation_probability
          - weather_condition
        scan_interval:
          # At least one of these must be specified:
          days: 0
          hours: 4
          minutes: 0
          seconds: 0
          milliseconds: 0
        exclude_interval:
          1:
            - "23:00"
            - "06:30"

Error:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:230
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 8:28:29 PM (1 occurrences)
Last logged: 8:28:29 PM

[140199916173888] The system cannot restart because the configuration is not valid: Platform error sensor.climacell - Integration 'climacell' not found.
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 230, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 986, in admin_handler
    await result
  File "/usr/src/homeassistant/homeassistant/components/homeassistant/__init__.py", line 191, in async_handle_core_service
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Platform error sensor.climacell - Integration 'climacell' not found.

Same error on my HA instance.
I see in integrations list Climacell integration but unable to add it from integrations tab, i need to do it in text.
When i add it in text in config yaml i get error on reboot attempt
Platform error sensor.climacell - Integration 'climacell' not found.


How can I use it with cloudscribe.Web.Localization?

I want the text to show the resource in the resx file

this project doesn't currently have support for localizing menu items from resx files. It "might" come later to be able to specify an IStringLocalizer of T to use from xml in the tree builder, but not sure when I would get to work on that.
However, in use with cloudscribe Core multi-tenancy I have done projects with a tenant used per language and a separate navigation.xml file for each site with the menu text localized to the language of the site.
With cloudscribe Core the way it works is that normally all sites would use navigation.xml file and therefore the same menu would be used for all sites. But it is possible to create a file named with the tenant id guid like navigation.[tenantguid].xml and if that file exists then it will be used for the tenant that has that id. So this makes it possible to use a different file for each tenant and the file for the tenant can be localized to the language of the tenant site.

Thank you, this might be the solution I'm looking for
I will try it out