How to add metadata or header ?

https://github.com/gogo/letmegrpc/blob/master/form/form_test.go

Hi @awalterschulze , I read the CreateCustom in form.go,and still have some questions. When we setup context metadata/header in grpc context , we will not define these kind of fields explicitly.
In my way, I will prefer to add an additional field(say as context),this field name and value is also customized, the fake code will look like this:
	contextString := req.FormValue("context")
	contextStringMap := make(map[string]string)
	if len(contextString) > 0 {
		err := encoding_json.Unmarshal([]byte(contextString), &contextStringMap)
		if err != nil {
			if err != io.EOF {
				w.Write([]byte("
" + err.Error() + "
"))
				return
			}
			w.Write([]byte("
" + err.Error() + "
"))
		}
	}
	w.Write([]byte(FormClient_RPCXXXXXX))
	if !someValue {
		w.Write([]byte(Footer))
		return
	}
	for metaKey, metaValue := range contextStringMap {
              // do some meta match here
        }

I haven’t used grpc in a few years, so I fear I am missing some context ;)
sorry that is a bad joke, but I am struggling to know which problem you are
trying to solve
On Thu, 20 Dec 2018 at 08:47, scnace<EMAIL_ADDRESS>wrote:

Hi @awalterschulze https://github.com/awalterschulze , I read the
CreateCustom in form.go,and still have some questions. When we setup
context metadata/header in grpc context , we will not define these kind of
fields explicitly.
In my way, I will prefer to add an additional field(say as context),this
field name and value is also customized, the fake code will look like this:
contextString := req.FormValue("context")
contextStringMap := make(map[string]string)
if len(contextString) > 0 {
err := encoding_json.Unmarshal([]byte(contextString), &contextStringMap)
if err != nil {
if err != io.EOF {
w.Write([]byte("
" + err.Error() + ""))
return
}
w.Write([]byte("
" + err.Error() + ""))
}
}
w.Write([]byte(FormClient_RPCXXXXXX))
if !someValue {
w.Write([]byte(Footer))
return
}
for metaKey, metaValue := range contextStringMap {
// do some meta match here
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gogo/letmegrpc/issues/51#issuecomment-448892544, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABvsLV0k2--CRVB8OX4E6RaZgHm6M7J7ks5u6zKJgaJpZM4Waya4
.

Haha , you can check the grpc-go's oauth example for the grpc context metadata.

What do you want to do with context in letmegrpc?
On Fri, 21 Dec 2018 at 04:57, scnace<EMAIL_ADDRESS>wrote:

Haha , you can check the grpc-go's oauth example
https://github.com/grpc/grpc-go/blob/master/examples/oauth/server/main.go#L96
for the grpc context metadata.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gogo/letmegrpc/issues/51#issuecomment-449224534, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABvsLaBcFlRsx1jw7IgxyaruMMjpKrl3ks5u7E4MgaJpZM4Waya4
.

we will use this kind of data for auth and trace and other middleware operations

So do you want to print it out as a response or read in as input or
programmatically provide it?
On Fri, 21 Dec 2018 at 13:41, scnace<EMAIL_ADDRESS>wrote:

we will use this kind of data for auth and trace and other middleware
operations
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gogo/letmegrpc/issues/51#issuecomment-449367128, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABvsLftKYJMdSoSTeKCJFjzO5iZvnYOjks5u7Mj5gaJpZM4Waya4
.

Read it as input

yep, so I fork another letmegrpc to our private repo, and will do some special edition XD

Hmmm yeah or you show me how you make it work and contend to take over
letmegrpc :) ?
On Sat, 22 Dec 2018 at 21:02, scnace<EMAIL_ADDRESS>wrote:

yep, so I fork another letmegrpc to our private repo, and will do some
special edition XD
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gogo/letmegrpc/issues/51#issuecomment-449591305, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABvsLSU8Q4iQtTwI4buT_5__S6QeaKFDks5u7oGngaJpZM4Waya4
.

aha  still WIP


Android - Request money - App crashes when editing Amount twice

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

Issue found when executing PR https://github.com/Expensify/App/pull/24630
Action Performed:

Launch New Expensify app
Request money from other user
Tap on the IOU preview twice
Edit the amount twice

Expected Result:
App does not crash
Actual Result:
App crashes
Workaround:
Unknown
Platforms:

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

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.57-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/ddc27c05-f089-4c46-b932-8c2dace19f93
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Android - Request money - App crashes when editing Amount twice
What is the root cause of that problem?

https://github.com/Expensify/App/blob/329cac3b49fc47da8eac1b7a74a511171fe22345/src/components/ReportActionItem/ReportActionItemImage.js?#L75
due andorid stict type we shoud pass an string but here pass an number that'y its falling
this pr is causing this isse in the
'editMoneyRequest' api in optimastic data we are setting as a
https://github.com/Expensify/App/blob/329cac3b49fc47da8eac1b7a74a511171fe22345/src/libs/TransactionUtils.js?#L93
OPEN
its triggred
https://github.com/Expensify/App/blob/329cac3b49fc47da8eac1b7a74a511171fe22345/src/components/ReportActionItem/MoneyRequestView.js?#L112
What changes do you think we should make in order to solve the problem?
here in ReportActionItemImage uri does not load the react native assets image but it will load native image.
 return (
        <Image
            source={{uri: image}}
            style={[styles.w100, styles.h100]}
        />
    );

so we need 'ReportActionItemImage' one more pros if we are trying load assets image means
 return (
        <Image
            source={assets ?  assets : {uri: image}}
            style={[styles.w100, styles.h100]}
        />
    );

and this function should return getThumbnailAndImageURIs {thumbnail: null, image: null , assets: null};
and
here we neeed check pending action statement as well.
function hasReceipt(transaction) {
    return lodashGet(transaction, 'receipt.state', '') !== '';
}

Hey guys I think this bug report might have the same root cause as the one I have reported. And my report came first [here](BUG: App crashes after deleting a second money request made after a deleted request
From: @Nathan Mulugeta
Action Performed:

Open a new account on ND
Click on FAB > Request money > Enter an amount > Enter an email and confirm the request
Click on the IOU preview component twice to open the details page
Click on Merchant and change it to something else and click on save
Go back one step and delete the IOU request which was made
Go back to the chat page and click on the plus icon > request money > enter an amount and confirm the request
Click on the IOU preview component once to go to the report page
Hover over the last preview component and click on the delete icon
Expected Result: App should delete the last IOU without any crash
Actual Result: App crashes after waiting for a few seconds
Platforms: Desktop web chrome
Version Number: v1.3.57-0
Screenshots or Videos: :thread:) on slack.

@pradeepmdk I don't think I'm following your proposal. The <ReportActionItemImage /> component is only used if the transaction has a receipt, and the bug video shows that it is a cash request.
If it does have something to do with that PR, the PR has already deployed to production, so this wouldn't be a deploy blocker. @lanitochka17 could you try to reproduce the issue on production again and confirm for me if it crashes or not?

For this first point has  'receipt' editMoneyRequest should not return the when receipt.state is empty.
and for this crash part source={assets ?  assets : {uri: image}} image for blob or file  so that its should not crash is when receipt data as well.

editMoneyRequest called first time its return the receipt data so that its start occurring from second time

@amyevans fyi this will be fixed with the next auth deploy happening real soon I think  https://github.com/Expensify/Auth/pull/8562
So maybe we can just wait

@mountiny  still we have an issue with loading images from local assets getThumbnailAndImageURIs

let image = ReceiptGeneric;
Local assets should be passed to without uri

https://github.com/Expensify/Auth/pull/8562 has been deployed

I think not reproducible now as the receipt state is not updated unnecessarily when the request type is not scan.

Cool, @roryabraham mind confirming the issue is no longer reproducible? My Android build is hosed at the moment, trying to get that going again but in the meantime I can't test 😅

Confirmed, no longer reproducible.


Turn up the lints

This PR makes Clippy more restrictive in CI: https://github.com/trailofbits/siderophile/blob/1db376da1e151af34ad211b792e14b6a9d73dae9/.github/workflows/ci.yml#L28
It also includes edits so that the current code passes.

LGTM as well! I also enable -D clippy::expect_used -D clippy::unwrap_used -D clippy::panic in my own CIs, but those produce a lot of warnings for potentially safe code. I tend to explicitly annotate each of them.

LGTM as well! I also enable -D clippy::expect_used -D clippy::unwrap_used -D clippy::panic in my own CIs, but those produce a lot of warnings for potentially safe code. I tend to explicitly annotate each of them.

I took your advice, @woodruffw. Not sure if you want to take a look at b1eabd2da263ebe0bad5618f939fa91b575e2ed6.


[📝 DOCS] Create Contributing.md

We need to create Contributing.md to this project as well. This issue is pretty self-explanatory just like issue #6, we don't need much information

[x] I have checked all issues and found no duplicates of this issue
[x] I can resolve this issue by myself
[x] This documentation update request is authorized by the admins or moderators of this repository (if anyone found that you lied that this documentation update request is authorized by the admins or moderators then you will be punished)

You mean like contributor guidelines?

Yeah I'm pretty sure we made one in the old pluto repo right?

COMPLETED
Credits for source: @Maghish

Fr?


node_modules.bin\grunt in CMD and PowerShell Errors With a Syntax Error When it Shouldn't

Description
When I try to run grunt via node_modules\.bin\grunt in cmd or powershell, I get the following error:
$ node_modules\.bin\grunt
t"  was unexpected at this time.
username@pc <CURRENT_FOLDER>
)t"

However, running grunt directly using node node_modules\grunt\bin\grunt runs fine.
The cause of the issue is that line 7 of grunt.cmd has the following (at least on my computer):
)t" %*

Removing t" solves the problem. I will be able to create a simple pull request that fixes this issue on the weekend.
Environment

Grunt-CLI: 1.2.0
Grunt: 1.0.1
OS: Windows 10 Anniversary Edition x64
Node: 7.9.0 x86 (32-bit... need to use 32-bit for native DLL reasons)
NPM: 4.5.0

Node was installed through Chocolatey.

node_modules\.bin\grunt.cmd is automatically generated by npm when grunt is installed. I'm guessing it's likely an issue with your environment or an issue with the specific version of npm you have installed.

@epicstar did you figure this out? I'm seeing same problem

I have not figured it out, but I'm just calling grunt in node_modules/grunt instead of node_modules/.bin/grunt.cmd in Windows.
It's not worth my time since I only incidentally found this issue in another project we are using that is primarily built on Unix but sometimes (optionally) built in Windows.

It was closed because it is not an issue with grunt-cli. grunt-cli doesn't generate those files, npm does.
Even if somebody wanted to help investigate (although you've indicated it's not worth your time, so I'm not sure if anyone else will think it's worth their time), it would be very difficult for them as they don't have the same environment and steps that causes the issue.

This has been an intermittent issue for the Signal Desktop project on Windows for quite some time now, but today it happened four times in a row on AppVeyor:

https://ci.appveyor.com/project/Signal-Desktop/signal-desktop/build/335
https://ci.appveyor.com/project/Signal-Desktop/signal-desktop/build/334
https://ci.appveyor.com/project/Signal-Desktop/signal-desktop/build/333
https://ci.appveyor.com/project/Signal-Desktop/signal-desktop/build/332

I even updated the build to print out the current value of grunt.cmd before it starts, and sure enough, the last six characters of the script are repeated:
$ type node_modules\.bin\grunt.cmd
@IF EXIST "%~dp0\node.exe" (
  "%~dp0\node.exe"  "%~dp0\..\grunt\bin\grunt" %*
) ELSE (
  @SETLOCAL
  @SET PATHEXT=%PATHEXT:;.JS;=;%
  node  "%~dp0\..\grunt\bin\grunt" %*
)t" %*
)

Usually when this happens and I do a rebuild the issue goes away. This time it hasn't, three times in a row. I'm gonna hit rebuild, see what happens this time...


Flow builder update

Status
READY
Breaking Changes
NO
Description
This PR updates Dart max constraint to <4.0.0, updates analysis_options and example project.
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🧹 Code refactor
[x] ✅ Build configuration change
[ ] 📝 Documentation
[x] 🗑 Chore
[x] 🧪 Testing

@felangel as promised, PR opened 🚀
Also updates PR #109

Thanks so much for taking the time to do this! This has already been addressed so closing 🙏


Refactor components and stories

Describe your changes here.
Match the conventions listed in https://github.com/primer/react/blob/main/contributor-docs/adrs/adr-XXX-file-structure.md
Screenshots
Please provide before/after screenshots for any visual changes
Merge checklist

[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

This PR is too big. If anything comes of this, it would need to be in several smaller PRs.


Rename to "did-jose"

This package now contains many things related to the JOSE spec. We should modularize it to a few different (to be determined) packages.
Suggestion:

@did-jose/jws
@did-jose/jwe
@did-jose/jwt
@did-jose/jwt-vc
@did-jose/signing-*
@did-jose/encryption-*

Hey, since this is a work item of the I&D WG, if you rename it then maybe you could also update the entry in the list of Work Items, and while doing that also check the work item leads that are listed there?
Perhaps we will also ask you at some point to give a general update on the work item progress during one of the weekly I&D WG calls.

I am unclear where this label is applied. Jose has a header.  Some of what is proposed is already in that header. Perhaps all of it should be in the Jose header. Otherwise difference levels of the code would be involved. That seems wrong.

@TomCJones Are you replying to the wrong issue? :)

I agree that renaming/repackaging makes sense but I don't have a strong stance here.

@mirceanis Would love to hear your thoughts here!

Modularising this repo sounds like a good idea.
I'm not yet sure about the actual module layout.
I think the goals should be to reduce lib size (and transitive dependencies) for users that only use a subset of modules, and to allow extension of the supported algorithms using user-provided modules.

I think the goals should be to reduce lib size (and transitive dependencies) for users that only use a subset of modules, and to allow extension of the supported algorithms using user-provided modules.

Yep agreed! That was what I was aiming for above, e.g. with @did-jose/signing-* representing a specific alg.

This is not stale.


[TEST] DockerizedZkServiceDiscoverySuite - distribute lock *** FAILED ***

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

What kind of test improve?

[ ] Fix flaky tests.
[ ] Fix bug in tests.
[ ] Increase test coverage.
[ ] Other kinds of test improve.

Describe the issues of the existing tests or improvements for new tests

distribute lock *** FAILED ***
lockLatch.await(5000L, MILLISECONDS) was false (DiscoveryClientTests.scala:146)

Are you willing to submit PR?

[ ] Yes. I can submit a PR independently to improve.
[ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
[X] No. I cannot submit a PR at this time.

duplicate #3920


2 Issiues With The New Release

I can't run the game, like something interfering, disp.ini is empty when I open it, though.
After trying for 20 minutes and lots of clicking I was able to run game twice and I realized render resolution is not saved and reverting back to 512x512.

I can't run the game, like something interfering, disp.ini is empty when I open it, though.

The game always starts on first attempt for me, not sure how to debug this.

render resolution is not saved and reverting back to 512x512.

How do you exit the game? It resets disp.ini unless it was exited normally (i.e. via main menu).

It turns out it was the DPI scaling -under compatibility- preventing the game to run.  Problem solved when I untick it. Sorry, don't remember why I turned that on. It's okay now.

I'm glad to hear it's working for you.


Issue with restrictedToMinimumLevel in appsetting.json

I have issues using restrictedToMinimumLevel in the appsettings.json file.
It's working OK when bootstrapping in Program.cs, but not when using the json configuration.
Examples
Works fine:
Program.cs
Log.Logger = new LoggerConfiguration()
    .ReadFrom.Configuration(builder.Configuration)
    .CreateBootstrapLogger();
builder.Host.UseSerilog((hostingContext, loggerConfiguration) =>
{
    loggerConfiguration.ReadFrom.Configuration(hostingContext.Configuration);
    loggerConfiguration.WriteTo.OpenTelemetry((options) =>
    {
        options.Endpoint = "http://<IP_ADDRESS>:4317";
        options.Protocol = OtlpProtocol.Grpc;
        options.RestrictedToMinimumLevel = LogEventLevel.Information;
    });
});

Does not work (RestrictedToMinimumLevel is ignored, and will use default minimumlevel)
Program.cs
Log.Logger = new LoggerConfiguration()
    .ReadFrom.Configuration(builder.Configuration)
    .CreateBootstrapLogger();
builder.Host.UseSerilog((hostingContext, loggerConfiguration) =>
{
    loggerConfiguration.ReadFrom.Configuration(hostingContext.Configuration);
});

appsettings.json
"Serilog": {
    {
      "Name": "OpenTelemetry",
      "Args": {
        "endpoint": "http://<IP_ADDRESS>:4317",
        "protocol": "Grpc",
        "restrictedToMinimumLevel": "Information"
      }
    }
  ]
}

Expected: All logentries are on information level
Actual: All logentries are on minimum level (in my case debug)

Thanks for the note :+1:. Serilog sinks normally, by convention, include restrictedToMinimumLevel and levelSwitch in their configuration methods, but those args are missing from the configuration overload you're calling:
https://github.com/serilog/serilog-sinks-opentelemetry/blob/dev/src/Serilog.Sinks.OpenTelemetry/OpenTelemetryLoggerConfigurationExtensions.cs#L86
Using the same parameter names, docs, and semantics as those args on WriteTo.Console() or any other core sink should make this a reasonably straightforward change, if someone has a chance to send a PR.

Thanks for the note 👍. Serilog sinks normally, by convention, include restrictedToMinimumLevel and levelSwitch in their configuration methods, but those args are missing from the configuration overload you're calling:
https://github.com/serilog/serilog-sinks-opentelemetry/blob/dev/src/Serilog.Sinks.OpenTelemetry/OpenTelemetryLoggerConfigurationExtensions.cs#L86
Using the same parameter names, docs, and semantics as those args on WriteTo.Console() or any other core sink should make this a reasonably straightforward change, if someone has a chance to send a PR.

I tried to code for this issue, can those codes working correctly?

Hi and thanks for the bugfix on this.
I see that it has been merged and it would be really helpful to have a new release including this fix :)
Thank you very much for your help.

Glad that i could be of help! 💖

@CloudeaSoft there should be a -dev nuget? https://www.nuget.org/packages/Serilog.Sinks.OpenTelemetry/#versions-body-tab
(you can close this when you validate?)

Any news on the release?

Sorry, I'm not really sure about the version control of the nuget package.

I've just drafted the 2.0.0 release PR: https://github.com/serilog/serilog-sinks-opentelemetry/pull/135
Is anyone able to confirm that the 2.0.0-dev-* packages work as expected for them? Thanks!

Released now :+1:


expose a few zarr backend functions as semi-public api

[x] Fixes #3851
[x] Tests added
[x] Passes isort -rc . && black . && mypy . && flake8
[ ] Fully documented, including whats-new.rst for all changes and api.rst for new API

Add to api.rst?

Add to api.rst?

Personally, I'm not sure this is required for these functions. For my particular applications, just having some basic tests and doc strings is enough.

Yes I'm not sure either. Just wanted to bring it up. Perhaps  we should add it once the backends third-party interface is ready.


Error: Cannot get past 3rd validation

Prompt used:
Design a Website Interface for a Vehicle Information Database

1. Main Content Area:
    - Vehicle Card Layout: Each vehicle's information is displayed in a card format, arranged in a grid (3 cards per row). Each card has:
        - Thumbnail Image: A photo of the vehicle.
        - Vehicle Name: Displayed in bold (e.g., "2023 Toyota Corolla").
        - Real Mileage: (e.g., "45,000 miles").
        - VIN: A unique identifier for the vehicle.
        - More Details Button: Clicking this reveals a dropdown or modal with additional vehicle details.

    - Pagination Controls: Located at the bottom. Allows users to navigate between multiple pages of vehicle listings.

2. Right Sidebar:
    - Filter Section: Allows users to narrow down the vehicle listings based on certain criteria:
        - Make: Dropdown list of car brands.
        - Model: Dropdown list that populates based on the selected make.
        - Year: Slider or dropdown to select a range of years.
        - Mileage: Slider to filter based on mileage range.
        - Apply Filters Button: After selecting the desired filters, users click this to update the vehicle listings.

Here is log dump from the console of the api.js:

Error log
Server is running on http://localhost:3000
Connected to the database
{
module: 'multipass/preset',
preset: {
name: 'componentNew_description',
description: 'generate a new component from a text description'
}
}
{
module: 'multipass/run',
status: 'starting',
query: {
description: Design a Website Interface for a Vehicle Information Database: 1. Main Content Area:     - Vehicle Card Layout: Each vehicle's information is displayed in a card format, arranged in a grid (3 cards per row). Each card has:         - Thumbnail Image: A photo of the vehicle.         - Vehicle Name: Displayed in bold (e.g., "2023 Toyota Corolla").         - Real Mileage: (e.g., "45,000 miles").         - VIN: A unique identifier for the vehicle.         - More Details Button: Clicking this reveals a dropdown or modal with additional vehicle details.      - Pagination Controls: Located at the bottom. Allows users to navigate between multiple pages of vehicle listings.  2. Right Sidebar:     - Filter Section: Allows users to narrow down the vehicle listings based on certain criteria:         - Make: Dropdown list of car brands.         - Model: Dropdown list that populates based on the selected make.         - Year: Slider or dropdown to select a range of years.         - Mileage: Slider to filter based on mileage range.         - Apply Filters Button: After selecting the desired filters, users click this to update the vehicle listings.,
framework: 'react',
components: 'flowbite',
icons: 'lucide'
},
preset: {
name: 'componentNew_description',
description: 'generate a new component from a text description'
},
passes: [
'design-component-new-from-description',
'build-component-generation-context',
'generate-component-new',
'validate-check-generated-component',
'validate-fix-generated-component',
'postprocess-generated-component',
'store-component',
'export-component'
]
}

pass 0/7
init : passes/design-component-new-from-description
{
"new_component_name": "Vehicle Database Interface",
"new_component_description": "This component would be a comprehensive interface for a comprehensive vehicle information database. It will consist of two primary sections: Main Content Area and a Right Sidebar. The Main Content Area will exhibit the list of vehicles in a card layout arranged in a grid fashion with three cards per row. Each card will have thumbnail image of the vehicle, its name displayed in bold, real mileage, VIN and a button to reveal more details through a dropdown or modal. There will also be a pagination control at the bottom for easy navigation between multiple pages of vehicle listings. The Right Sidebar will serve as a filtration section that allows users to refine the vehicle listings based on certain criteria such as Make, Model, Year, and Mileage. Once the desired filters are picked, users can press the 'Apply Filters' button to update the vehicle listings.",
"new_component_icons_elements": {
"does_new_component_need_icons_elements": true,
"if_so_what_new_component_icons_elements_are_needed": ["Car brand logos"]
},
"use_library_components": [
{
"library_component_name": "Card",
"library_component_usage_reason": "Needed to organize vehicle data in a visually appealing and user-friendly format. Each vehicle's information will be displayed using a card."
},
{
"library_component_name": "Pagination",
"library_component_usage_reason": "This component will be used for bottom of the page navigation between multiple pages of vehicle listings."
},
{
"library_component_name": "Dropdown",
"library_component_usage_reason": "This will be used in the filter section for selecting a car brand or model. The model dropdown populates based on the selected make."
},
{
"library_component_name": "Modal",
"library_component_usage_reason": "This could be used to show additional vehicle details when the 'More Details' button on each card is clicked."
},
{
"library_component_name": "Sidebar",
"library_component_usage_reason": "Will be used to create the right sidebar that contains the filter section for narrowing down the vehicle listings."
},
{
"library_component_name": "Button",
"library_component_usage_reason": "Needed for the 'Apply Filters' and 'More Details' buttons."
},
{
"library_component_name": "Forms",
"library_component_usage_reason": "Will be used to receive user input for Make, Model, Year, and Mileage filters, as well as to encapsulate the 'Apply Filters' button."
}
]
}> pass 1/7
init : passes/build-component-generation-context
tokens for context entry Button : 696 (limit : 600)
tokens for context entry Card : 6525 (limit : 600)
tokens for context entry Dropdown : 605 (limit : 600)
tokens for context entry Forms : 623 (limit : 600)
tokens for context entry Modal : 886 (limit : 600)
tokens for context entry Pagination : 473 (limit : 600)
tokens for context entry Sidebar : 683 (limit : 600)
pass 2/7
init : passes/generate-component-new
{
context: [
{
role: 'system',
content: 'You are an expert at writing React components.\n' +
'Your task is to write a new React component for a web app, according to the provided task details.\n' +
'The React component you write can make use of Tailwind ...'
},
{
role: 'user',
content: 'Library components can be used while making the new React component\n' +
'\n' +
'Suggested library component (1/7) : Button - Enable user interaction with the button component to perform actions on your website a ...'
},
{
role: 'user',
content: 'Library components can be used while making the new React component\n' +
'\n' +
'Suggested library component (2/7) : Card - Get started with the card component to show content in a box such as titles, description ...'
},
{
role: 'user',
content: 'Library components can be used while making the new React component\n' +
'\n' +
'Suggested library component (3/7) : Dropdown - Use the dropdown component to trigger a list of menu items when clicking on an eleme ...'
},
{
role: 'user',
content: 'Library components can be used while making the new React component\n' +
'\n' +
'Suggested library component (4/7) : Forms - Use the forms elements from Flowbite React to start receiving user input data based on  ...'
},
{
role: 'user',
content: 'Library components can be used while making the new React component\n' +
'\n' +
'Suggested library component (5/7) : Modal - Use the modal component to show an interactive dialog to your website users that overla ...'
},
{
role: 'user',
content: 'Library components can be used while making the new React component\n' +
'\n' +
'Suggested library component (6/7) : Pagination - Get started with the pagination component to indicate the number of pages with num ...'
},
{
role: 'user',
content: 'Library components can be used while making the new React component\n' +
'\n' +
'Suggested library component (7/7) : Sidebar - Use the sidebar component to show a list of menu items including multi-level dropdown ...'
},
{
role: 'user',
content: 'Icon elements can optionally be used when making the React component.\n' +
'\n' +
'---\n' +
'\n' +
'# example: importing icons in the component (only import the ones you need) :\n' +
'\n' +
'tsx\n' +         'import { Car , CarFront , Figma , Pock ...'     },     {       role: 'user',       content: '- COMPONENT NAME : Vehicle Database Interface_WCH7X\n' +         '\n' +         '- COMPONENT DESCRIPTION :\n' +         '\n' +
'Design a Website Interface for a Vehicle Information Database: 1. Main Content Area:     - Vehicle Card Layout: Each  ...'
}
]
}
total context prompt tokens (estimate) : 6185

import React from "react";
import { Button, Card, Dropdown, Modal, Select, RangeSlider, Pagination } from 'flowbite-react';
import { Car as CarIcon } from "lucide-react";

export default function VehicleDatabaseInterface_WCH7X() {
  return (

        {Array(9).fill(
          <Card className="max-w-xs">

2023 Toyota Corolla

Mileage: 45,000 miles

VIN: 1HGCM82633A123456

            <Button>More details</Button>
            <Modal dismissible show={false} onClose={() => { }}>
              <Modal.Header>More Details</Modal.Header>
              <Modal.Body>

                  Complete vehicle details

              </Modal.Body>
            </Modal>
          </Card>
        )}
        <Pagination currentPage={1} totalPages={3} onPageChange={() => { }} />

        <Dropdown label="Make" dismissOnClick={false}>
          <Dropdown.Item>Ford</Dropdown.Item>
          <Dropdown.Item>Toyota</Dropdown.Item>
          <Dropdown.Item>Nissan</Dropdown.Item>
          <Dropdown.Item>Hyundai</Dropdown.Item>
        </Dropdown>
        <Dropdown label="Model" dismissOnClick={false}>
          <Dropdown.Item>Focus</Dropdown.Item>
          <Dropdown.Item>Corolla</Dropdown.Item>
          <Dropdown.Item>Altima</Dropdown.Item>
          <Dropdown.Item>Elantra</Dropdown.Item>
        </Dropdown>

Year

        <RangeSlider id="year-range" min={2000} max={2023} step={1} />

Mileage

        <RangeSlider id="mileage-range" min={0} max={150000} step={1000} />
        <Button className="mt-4">Apply Filters</Button>

  );
}

pass 3/7
init : passes/validate-check-generated-component
C:\Users\todor\Downloads\OpenV0\openv0\server\modules\multipass\passes\validate-check-generated-component\index.js:127
return jsxElements.filter((e) => e[0].toUpperCase() === e[0]);
^

TypeError: Cannot read properties of undefined (reading '0')
at C:\Users\todor\Downloads\OpenV0\openv0\server\modules\multipass\passes\validate-check-generated-component\index.js:127:37
at Array.filter ()
at _babel_extract_nodes (C:\Users\todor\Downloads\OpenV0\openv0\server\modules\multipass\passes\validate-check-generated-component\index.js:127:22)
at validate (C:\Users\todor\Downloads\OpenV0\openv0\server\modules\multipass\passes\validate-check-generated-component\index.js:384:32)
at Object.run (C:\Users\todor\Downloads\OpenV0\openv0\server\modules\multipass\passes\validate-check-generated-component\index.js:489:16)
at run (C:\Users\todor\Downloads\OpenV0\openv0\server\modules\multipass\index.js:31:65)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.preset (C:\Users\todor\Downloads\OpenV0\openv0\server\modules\multipass\index.js:80:10)
at async C:\Users\todor\Downloads\OpenV0\openv0\server\api.js:138:21
Node.js v18.15.0

Looks like an issue in:
 C:\Users\todor\Downloads\OpenV0\openv0\server\modules\multipass\passes\validate-check-generated-component\index.js:127
  return jsxElements.filter((e) => e[0].toUpperCase() === e[0]);
TypeError: Cannot read properties of undefined (reading '0')  <- e[0].toUppderCase()

Sorry if my issue is badly structured. I'm new to this

yes - the babel validation pass plugin needs (major) improvement. the current implementation is pretty rough

i am making multiple test cases from submitted error logs, should push a new version alongside other updates this week

in the meantime, you can skip this validation step by replacing the run function in server/modules/multipass/passes/validate-check-generated-component/index.js with the following (although results success may vary)

async function run(req) {
  console.log("> init : " + __dirname.split(path.sep).slice(-2).join(`/`));
  return {
    type: `component-validation-check`,
    success: true,
    data: {
      validation_errors: [],
      code: req.pipeline.stages["component-code"].data,
    },
  };
}

thank you @KikoTs

Amazing thank you for the update! I will test the workaround.


add line to dialog

This adds a line to the Clear Program dialog as described in PT-186974159

@bgoldowsky thanks I did actually try that but it throws the buttons off in the way the current dialog is set up. I think it would be worth it to sometime looking into making this component handle different amounts of text more flexibly. Or perhaps I am missing something in the api...


"servers" empty in https://frank2example.frankframework.org/iaf/api/webservices/openapi.json?uri=/mundo

See title

That's because it's running behind a reverse proxy, setting the property loadBalancer.url will fix this.

I saw/see the same thing (empty "servers") when running locally with the Frank!Runner. I'm quite sure I've seen it having a value locally but would need to retest.

I see this issue is closed so I added a new issue for my last comment: https://github.com/frankframework/frankframework/issues/6384

The Frank2Example shows property loadBalancer.url empty on env vars page.

A new version has been deployed.


To Add calculator  Hamming Code generator ( Encoding a message from left to right manner)

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
Add the concept of Encoding a message in Hamming Code
in encoding a message by hamming code , different results come out when data bits are in right to left / left to right manner

I would like to work on this issue

Go ahead
Deadline 10 May,2021


it seems the default is 10 seconds and not 1 minute ?

[Enter feedback here]

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

ID: 17f88dfd-aa88-e817-8884-e2fd96c15110
Version Independent ID: 7dba7648-4f99-e9a0-0c13-bf258ce92510
Content: CosmosClientOptions.RequestTimeout Property (Microsoft.Azure.Cosmos) - Azure for .NET Developers
Content Source: xml/Microsoft.Azure.Cosmos/CosmosClientOptions.xml
Service: cosmos-db
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

closing since it's related to new version


atomicity guarantees

I can't find any information about the atomicity guarantees in case of failures
Are there any?
In redis it's guaranteed to have all operation perform atomically and it's easily possible to perform "transactions" via MULTI/LUA
I use ledis as a golang package in embedded mode only

Hi @let4be
Redis is single-thread, so it can easily support atomic and execute batch commands in a single step. LedisDB is multi-thread, so it can't guarantee any atomic for batch executions.


components /  componentsRestrictions not working

Trying to limit results by county, but not working...
I want to show only result from spain first, after I wanna try only madrid.
I've tried: componentRestrictions: {country: 'es'}, component: {country: 'es'}, etc..
Any suggestions? Thank you farid and also thanks for your youtube chat video.
Merci

Hi @maurogs
See https://github.com/FaridSafi/react-native-google-places-autocomplete/issues/117


filesystem alignment for block storage

Describe the bug
Use proper mkfs.foo commands to align fs with underlying block properties.
Environment
Provide accurate information about the environment to help us reproduce the issue.

Trident version: [e.g. 20.01]
Trident installation flags used: [e.g. -d -n trident --use-custom-yaml]
Container runtime: [e.g. Docker 19.03.1-CE]
Kubernetes version: [e.g. 1.15.1]
Kubernetes orchestrator: [e.g. OpenShift v3.11, Rancher v2.3.3]
Kubernetes enabled feature gates: [e.g. CSINodeInfo]
OS: [e.g. RHEL 7.6, Ubuntu 16.04]
NetApp backend types: [ONTAP]
Other:

To Reproduce
Steps to reproduce the behavior:
Create a PVC. Observe the properties of the block device and filesystem.
[root@na01lstxwebt10 dev]# fdisk -l /dev/mapper/3600a098038303462343f464f77446761
Disk /dev/mapper/3600a098038303462343f464f77446761: 31 MB, 31457280 bytes, 61440 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 65536 bytes

[root@na01lstxwebt10 ~]# dumpe2fs -h /dev/mapper/3600a098038303462343f464f77446761
dumpe2fs 1.42.9 (28-Dec-2013)
Filesystem volume name:   <none>
Last mounted on:          /mnt/data
Filesystem UUID:          80332748-ec34-4d51-a878-6523b3014b89
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              7680
Block count:              30720
Reserved block count:     1536
Free blocks:              27990
Free inodes:              7669
First block:              1
Block size:               1024
Fragment size:            1024
Group descriptor size:    64
Reserved GDT blocks:      239
Blocks per group:         8192
Fragments per group:      8192
Inodes per group:         1920
Inode blocks per group:   240
RAID stride:              4
RAID stripe width:        64
Flex block group size:    16
Filesystem created:       Tue Apr 14 12:42:47 2020
Last mount time:          Tue Apr 14 12:42:47 2020
Last write time:          Tue Apr 14 12:42:47 2020
Mount count:              1
Maximum mount count:      -1
Last checked:             Tue Apr 14 12:42:47 2020
Check interval:           0 (<none>)
Lifetime writes:          1352 kB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	          128
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      2a9f2a8a-15d0-4572-ada3-9cd5fca4718c
Journal backup:           inode blocks
Journal features:         journal_64bit
Journal size:             1024k
Journal length:           1024
Journal sequence:         0x00000002
Journal start:            1

Expected behavior
Block size et al follow applicable best practices as described here: https://kb.netapp.com/app/answers/answer_view/a_id/1035691/~/how-to-create-aligned-partitions-in-linux-for-use-with-netapp-luns%2C-vmdks%2C-vhds
Obviously partitioning is not happening, but fs creation may be applicable.
Additional context
It may be nice to implement this as a generic parameter on the storage class(es) where additional args can be specified for the mkfs.<fsType> as appropriate.

@travisghansen thanks for doing the research on this.
ONTAP blocks are 4KB in size so overriding this to always be 4096 for ext4 and ext3 would be ideal. We'll need to verify the block size for other Trident drivers. It isn't recommended to have a block size smaller than 4KB.

@gnarl understood. xfs can be tweaked as well but looks like it defaults to 4k? I haven't tested this one yet.

https://www.thegeekdiary.com/how-to-create-an-xfs-filesystem/

It may be nice to implement this as a generic parameter on the storage class(es) where additional args can be specified for the mkfs. as appropriate.

Added with 1d5961d4fb65577857fbfdd3c3edfa05265a8559.  Trident 24.10 supports filesystem format options as config parameters for ontap-san and ontap-san-economy backends.  Other block drivers should follow.  While primarily useful for fast formatting, other options like block size are supported by the mkfs tools.


Set collision detector and solver from SDF

🎉 New feature
Requires https://github.com/ignitionrobotics/ign-physics/pull/225
Summary

This makes it possible to choose a different collision detector and solver when using DART. This way, users can choose the combination that suits their simulation best.
Test it

Try setting different options in SDF, for example:
      <dart>
        <collision_detector>bullet</collision_detector>
        <solver>
          <solver_type>pgs</solver_type>
        </solver>
      </dart>

Try the example world:
ign gazebo physics_options.sdf
See that it behaves different from rolling_shapes.sdf:

rolling_shapes.sdf
physics_options.sdf

I also made the options visible on the GUI:

Checklist

[x] Signed all commits for DCO
[x] Added tests
[x] Added example and/or tutorial
[x] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

Removed from beta, this can come in a minor release.

This is ready for review, @scpeters


Make FakeRemoteDataStore more realistic and idiomatic

Towards #1471

Codecov Report

Merging #1509 (88e43e0) into master (6772772) will increase coverage by 0.82%.
The diff coverage is n/a.

:exclamation: Current head 88e43e0 differs from pull request most recent head 922daae.  Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Yarn PnP support

I'm trying to use Vitest and I'm running into an issue with Yarn PnP:

.pnp.cjs:101340 Uncaught Error: local-pkg tried to access vite, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
Required package: vite (via "vite/package.json")
Required by: local-pkg@npm:0.4.0 (via /Users/minh/dev/project/.yarn/cache/local-pkg-npm-0.4.0-c31827f33b-46964cea4b.zip/node_modules/local-pkg/)

I believe that this package needs to support basedir (similar to resolve), and set the paths  option of require.resolve:
https://github.com/antfu/local-pkg/blob/fc9d06c5a43485d83f41ec35dfc842e1f6d45aa5/index.mjs#L51-L65

bump

This also happens with pnpm: https://github.com/vitest-dev/vitest/issues/3112.

bump


Simple heart like animation <3

I added a simple heart animation for now, just until you can do your thing


sign command to only sign images

Describe the solution you'd like
Add a signing command to enable signing images without a build. Additionally, add a --sign (or alternate named) flag to ocictl build to trigger an image metadata push

This will target v1.0.0 but may be pushed back.


chore: make notifications event properties consistent

Description
This PR makes the notification id and type consistent for the notification_impression and notification_select events. After this change, we have 3 types of notifications:

all bundled notifications (e.g. supercharge, verify phone number, backup) will have the same notificationId and notificationType
all user generated notifications (e.g. incoming / outgoing payment requests) will have the same notificationType and notificationId, except the notificationId will also contain the unique identifier of the request. The format is type/id.
all remote notifications will have notificationType = "remote_notification" and the notificationId as whatever is set in admin dashboard.

Summary of changes:

expect notification type and id as event properties for both notification_select and notification_impression
when generating the list of notifications, we were hard coding an id for all bundled and user generated notifications. This was a different value to what is used in the analytics events, and is used as the id in the impression event. e.g. the notification_impression event had properties {"notificationId":"incomingPaymentRequest"} while notification_select had {"notificationType":"incoming_tx_request","selectedAction":"pay"}. i've removed these arbitrarily hard coded id's and replaced them with the values in the notification types enum. i guess this is a breaking change for the data but i don't see how the data before was analysable anyway. i'll let Chris know about the change in id value just in case.
move the notification enums into the types file to avoid introducing new cyclical dependencies.

Test plan
Tested manually and in unit tests. Tested the events with and without the notification center.
Without notification center:

With notification center:

Related issues

Fixes RET-845

Backwards compatibility
Y

Thanks, it's great!
Please look at one little question about potentially redundant code.
Also, I wonder do we really need to send unique user-generated ids for payment requests and escrows to analytics? Wouldn't it just clutter the data?

yeah good question...i actually had to put the user generated id's there so that we have unique id's to track the impression events in the notification list https://github.com/valora-inc/wallet/blob/58869ca6a0ebe70ab332691ebd85efaa3a871860/src/home/NotificationCenter.tsx#L171
i think it looks ugly, but i thought that it's okay because we can ignore the unique id's during data analysis by querying using regex rather than exact string match. thinking more about it now, it might make mixpanel harder to use :/ i'll take another pass to see if i can think of a better solution

Thanks, it's great!
Please look at one little question about potentially redundant code.
Also, I wonder do we really need to send unique user-generated ids for payment requests and escrows to analytics? Wouldn't it just clutter the data?

yeah good question...i actually had to put the user generated id's there so that we have unique id's to track the impression events in the notification list
https://github.com/valora-inc/wallet/blob/58869ca6a0ebe70ab332691ebd85efaa3a871860/src/home/NotificationCenter.tsx#L171
i think it looks ugly, but i thought that it's okay because we can ignore the unique id's during data analysis by querying using regex rather than exact string match. thinking more about it now, it might make mixpanel harder to use :/ i'll take another pass to see if i can think of a better solution

darn, i'm torn. ideally any id should be unique, so that's why i like having the user generated id in there. but i agree, it's not helpful to send the id in analytics and probably makes it harder to analyse data using the mixpanel UI (i couldn't find an easy way to make an "OR" condition with exact + fuzzy match...)
so the 2 options we have are to have what we want in analytics in the code (i.e. accept that the id for some notifications are not unique, can't use them for react keys etc.) or keep id's unique in the code and filter out the parts we don't want before sending to analytics. i kind of prefer the latter because it's more explicit about what we are trying to achieve, but it's also more brittle because we need to remember to add this logic to every relevant new event 😮💨

It looks like we are not reusing the unique ids from the list in analytics events, but declare them separately.
What if we just skip adding unique part?

I forgot about  notification_impression: here we are reusing the id.
But since we decided to duplicate notificationType into  notificationId we could implement this in the code as well.

hey @bakoushin i've been mulling this over for a few days and think the best thing to do is leave it like this. are you fine with this?
the wallet should expect that a notification id can uniquely identify a notification. so i think it makes sense to append the user generated id to the notificationId for user generated notifications. the question would be whether we should have special logic before dispatching analytics events to remove the unique id's which don't add value for analytics. we could do this but it seems brittle to remember to do this for new events or for refactors, and i'd say it's worth the effort if passing the unique id to analytics makes data analysis very difficult. it seems like that's not the case after checking with Chris, so i'm inclined to keep the code simple. wdyt?

@kathaypacific thanks for checking that with Chris! My whole concern was about analytics being usable.
Since having unique ids makes no problem for him, having analytics ids consistent with app keys is fine!


Added in place geometry if geom isn't filled

Hey, I noticed that some tweets don’t have geometry even though they do have a location added, so I’ve got a fix here that looks for a ‘place’.

Interesting, I haven't noticed that before. I'd love to see an example tweet if you have one.
I wonder, rather than guessing at a point where the tweet came from in the bounding box, why don't you represent the bounding box itself in geojson?

Hi @edsu
Here's an example:
{"contributors": null, "truncated": false, "text": "@alexgleith @kireland_siba @philspatial It could possibly be setup using the #locate16 tag", "is_quote_status": false, "in_reply_to_status_id":<PHONE_NUMBER>33678337, "id":<PHONE_NUMBER>81702144, "favorite_count": 0, "entities": {"symbols": [], "user_mentions": [{"id": 48219656, "indices": [0, 11], "id_str": "48219656", "screen_name": "alexgleith", "name": "alex leith"}, {"id": 308316454, "indices": [12, 26], "id_str": "308316454", "screen_name": "kireland_siba", "name": "SIBA"}, {"id": 377282871, "indices": [27, 39], "id_str": "377282871", "screen_name": "philspatial", "name": "Phil Delaney"}], "hashtags": [{"indices": [77, 86], "text": "locate16"}], "urls": []}, "retweeted": false, "coordinates": null, "source": "Twitter Web Client", "in_reply_to_screen_name": "alexgleith", "in_reply_to_user_id": 48219656, "retweet_count": 0, "id_str": "717568921981702144", "favorited": false, "user": {"follow_request_sent": false, "has_extended_profile": false, "profile_use_background_image": false, "default_profile_image": false, "id": 19001296, "profile_background_image_url_https": "https://abs.twimg.com/images/themes/theme14/bg.gif", "verified": false, "profile_text_color": "333333", "profile_image_url_https": "https://pbs.twimg.com/profile_images/344981663/pinOrange_normal.png", "profile_sidebar_fill_color": "EFEFEF", "entities": {"url": {"urls": [{"url": "https://t.co/y4m7FP0zFU", "indices": [0, 23], "expanded_url": "https://www.linkedin.com/in/hughsaalmans", "display_url": "linkedin.com/in/hughsaalmans"}]}, "description": {"urls": []}}, "followers_count": 446, "profile_sidebar_border_color": "000000", "id_str": "19001296", "profile_background_color": "131516", "listed_count": 68, "is_translation_enabled": false, "utc_offset": 36000, "statuses_count": 2614, "description": "I wonder what Latitude or Longitude I've got to? (Alice had no idea what Latitude was, or Longitude either, but thought they were nice grand words to say.)", "friends_count": 255, "location": "Sydney, AU", "profile_link_color": "FA743E", "profile_image_url": "http://pbs.twimg.com/profile_images/344981663/pinOrange_normal.png", "following": true, "geo_enabled": true, "profile_banner_url": "https://pbs.twimg.com/profile_banners/19001296/1446340035", "profile_background_image_url": "http://abs.twimg.com/images/themes/theme14/bg.gif", "screen_name": "minus34", "lang": "en", "profile_background_tile": true, "favourites_count": 952, "name": "Hugh Saalmans", "notifications": false, "url": "https://t.co/y4m7FP0zFU", "created_at": "Wed Jan 14 23:21:52 +0000 2009", "contributors_enabled": false, "time_zone": "Sydney", "protected": false, "default_profile": false, "is_translator": false}, "geo": null, "in_reply_to_user_id_str": "48219656", "lang": "en", "created_at": "Wed Apr 06 04:25:37 +0000 2016", "in_reply_to_status_id_str": "717560975633678337", "place": {"full_name": "Sydney, New South Wales", "url": "https://api.twitter.com/1.1/geo/id/0073b76548e5984f.json", "country": "Australia", "place_type": "city", "bounding_box": {"type": "Polygon", "coordinates": [[[150.520928608, -34.1183470085], [151.343020992, -34.1183470085], [151.343020992, -33.578140996], [150.520928608, -33.578140996]]]}, "contained_within": [], "country_code": "AU", "attributes": {}, "id": "0073b76548e5984f", "name": "Sydney"}, "metadata": {"iso_language_code": "en", "result_type": "recent"}}
This was acquired using this query a few days ago python twarc.py "#locate16" >> tweets.json. There are a few others like this.
I didn't want to grab the bounding box simply because keeping them all points is useful for my use-case, but you might be right in that capturing either type could be good, and handling the different use-cases client side would be better. It's a trivial change and I'd be happy to make it if you'd then accepr the PR!

That's really interesting that a Place can be attached without geo or coordinates top level stanzas being set. Thanks for sharing that!
I would prefer it if the default behavior was to represent the bounding box, since that's what is in the data. But I'm open to you adding a command line option for converting the bounding box to a point if that is useful.

Ok, I've updated the PR with command line options and bounding box as a default. I also added fuzzing (adding noise) to the centroids, as I did this for my use-case and figured it might be useful. It still clusters around the centroid rather than all throughout the polygon, but it's better than having them all clumped up together, I think. I also added doco.

I had to do some cleanup and remove some duplicated code. I think I also removed an error in the way you were expressing the bounding boxe. You can see it here over on this branch. Can you give it a try?

Hi Ed
Your cleanup is great, except for the box. It's best to store this as a
valid GeoJSON Polygon.
The Twitter bbox has four coordinates representing the bounding box, but a
valid polygon has a final coordinate back at the start (so five sets of
coordinates). It also needs to be wrapped in another set of square
brackets. See here: http://geojsonlint.com/
So I'll update this and test it and add it to my PR, if you don't mind?
Regards,
Alex
On Mon, 11 Apr 2016 at 12:21 AM, Ed Summers<EMAIL_ADDRESS>wrote:

I had to do some cleanup and remove some duplicated code. I think I also
removed an error in the way you were expressing the bounding boxe. You can
see it here over on this branch
https://github.com/edsu/twarc/tree/boundingboxes. Can you give it a try?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/edsu/twarc/pull/92#issuecomment-207992698

--
Alex Leith
0419 189 050

Ah sorry, I didn't see this.
On Mon, 11 Apr 2016 at 7:36 AM, Ed Summers<EMAIL_ADDRESS>wrote:

Merged #92 https://github.com/edsu/twarc/pull/92.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/edsu/twarc/pull/92#event-621685027

--
Alex Leith
0419 189 050

Hey @edsu, I've reverted the storage of the BBOX so that it's back to the way I had it originally. https://github.com/edsu/twarc/pull/95
This also fixes an issue where the script was no longer only writing tweets with location info attached.
Here's an example of output feature:
{   "type": "FeatureCollection",    "features": [     {       "geometry": {         "type": "Polygon",          "coordinates": [           [             [<PHONE_NUMBER>16,                -43.014122643             ],              [<PHONE_NUMBER>32,                -43.014122643             ],              [<PHONE_NUMBER>32,                -42.655375527             ],              [<PHONE_NUMBER>16,                -42.655375527             ],              [<PHONE_NUMBER>16,                -43.014122643             ]           ]         ]       },        "type": "Feature",        "properties": {         "name": "alex leith",          "url": "http://twitter.com/alexgleith/status/717566966932766721",          "text": "This is a test #locate16.",          "created_at": "Wed Apr 06 04:17:51 +0000 2016",          "profile_image_url": "http://pbs.twimg.com/profile_images/3540938082/03ae11e7b0afe008984e633f9510696d_normal.jpeg",          "screen_name": "alexgleith"       }     }   ] }


Remove demo files, add redirects to new site.

@matthewdupre

but what about the user-data / Vagrant files (docs/calico-with-docker/docker-network-plugin/cloud-config and such)?
Is calico-containers/docs the right home for them?

No, which is why I moved all of them to the new projectcalico/calico site. Did I miss some?

I don't know which images are / aren't used in the docs, and don't really have the time to go searching, so can we just leave them in?

ping @matthewdupre

On cloud config files:

I gave an example above: docs/calico-with-docker/docker-network-plugin/cloud-config/*.  If you want to find the rest, what I did was ls -Rl | less and look for files with size >800 and not 4096 (i.e. unmoved documents).

As for which images are used in the docs (meaning here); surely the answer should be "None" (modulo Building.md), so we can remove all of them?

@matthewdupre
Removed remaining files / images. LGTM?


Allows Filtering the Ok and Reset Button in the Filter Dropdown of nzTable or Override Behaviour of Reset Button

What problem does this feature solve?
Some times, we do not need a reset button, and we need to disable it, or hide it so that we don't confuse the user and there isn't any way to do this customization other than using ng-deep which leeks to other components. using :host with ng-deep doesn't affect the style of the button
What does the proposed API look like?
[nzResettButton]=hide
or (onReset)="onResetBtn($event)" so that we can override default behaviour of reset button

I fully afreed with this proposal.


Crash in Composition Renderer on MacOS

I have succesfully built my application cross-platform Windows / MacOS on Avalonia.
Everything is smooth, i am making a lot of use of Skia drawing with the immediate context.
I experienced some crashes on MacOS, the problem seems to be in the mainloop of the composition renderer.
Not being able to reproduce it at the moment.
The question is: is there something i can do to catch the exception and just wait next frame?
p.s. Dan suggested to tag you @kekekeks
Exception:
System.InvalidOperationException
Collection was modified; enumeration operation may not execute.
Here is the stacktrace:
/_/src/Avalonia.Base/Rendering/Composition/Server/ServerCompositor.cs in void ServerCompositor.NotifyBatchesProcessed() at line 141:35
In App
Assembly:
Avalonia.Base
Version:
<IP_ADDRESS>
PublicKeyToken:
c8d484a7012f9a8b
/_/src/Avalonia.Base/Rendering/Composition/Server/ServerCompositor.cs in void ServerCompositor.RenderCore() at line 203:9
In App
/_/src/Avalonia.Base/Rendering/Composition/Server/ServerCompositor.cs in void ServerCompositor.Render() at line 174:9
In App
/_/src/Avalonia.Base/Media/MediaContext.Compositor.cs in void MediaContext.SyncCommit(Compositor compositor, bool waitFullRender) at line 113:5
In App
/_/src/Avalonia.Native/WindowImplBase.cs in void WindowBaseEvents.Avalonia.Native.Interop.IAvnWindowBaseEvents.Paint() at line 228:13
In App
/_/src/Avalonia.Native/Interop.Generated.cs in int __MicroComIAvnWindowBaseEventsVTable.Paint(Void* this) at line 4152:21
In App
/_/src/Avalonia.Native/DispatcherImpl.cs in void DispatcherImpl.RunLoop(CancellationToken token) at line 113:17
In App
/_/src/Avalonia.Base/Threading/DispatcherFrame.cs in void DispatcherFrame.Run(IControlledDispatcherImpl impl) at line 117:17
In App
/_/src/Avalonia.Base/Threading/Dispatcher.MainLoop.cs in void Dispatcher.PushFrame(DispatcherFrame frame) at line 53:17
In App
/_/src/Avalonia.Base/Threading/Dispatcher.MainLoop.cs in void Dispatcher.MainLoop(CancellationToken cancellationToken) at line 80:9
In App
/_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs in int ClassicDesktopStyleApplicationLifetime.Start(string[] args) at line 127:13
In App
/_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs in int ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, string[] args, ShutdownMode shutdownMode) at line 220:13
In App
void Program.Main(string[] args)

From the stack trace it seems that new batches somehow got added and processed during enumeration, so it seems to be some sort of reentrancy.
Notes to self:

make sure that batch completions are always scheduled asynchronously
prevent (and log) reentrancy in compositor right in the Render call


Quota definition create link fix

Quota definition create link fix

Why

User research flagged that the create link on the confirm create page for quota definitions is broken

What

Updates the get_url method to make sure the correct url is generated
Removes the try/except so it no longer fails silently
Adds tests

Looks like I might have jumped the gun on approving - failing test
NoReverseMatch: Reverse for 'quota_definition-ui-detail' not found. 'quota_definition-ui-detail' is not a valid view function or pattern name.


Automatic commit: Move 'aif-idoc-monitoring-interface-create' from QA…

… to Production

@MelanieCueppers I am merging. Please just fix a small thing: The "y" in "Test yourself" step name should be lowercase


Cleanup syntax case across classes to better follow Ruby style guide.

This addresses issues raised in #99.
We fix most of the case issues and mark the old ones as deprecated and for removal with v4.
v4-cleanup-required

Coverage increased (+0.06%) to 99.82% when pulling 32486888d0a4cc54fc17b94614a783c119f114cb on ju2wheels:feature/case_cleanup into bdae747c15df6807691db6692cb1ce544be88dca on softlayer:master.

Coverage remained the same at 99.76% when pulling 1b19697242b9b1db3deab053b12a1d1ca19cfaf0 on ju2wheels:feature/case_cleanup into bdae747c15df6807691db6692cb1ce544be88dca on softlayer:master.

Coverage remained the same at 99.76% when pulling 1b19697242b9b1db3deab053b12a1d1ca19cfaf0 on ju2wheels:feature/case_cleanup into bdae747c15df6807691db6692cb1ce544be88dca on softlayer:master.

Coverage remained the same at 99.76% when pulling 1b19697242b9b1db3deab053b12a1d1ca19cfaf0 on ju2wheels:feature/case_cleanup into bdae747c15df6807691db6692cb1ce544be88dca on softlayer:master.


New zh-hant.toml

Translations for Traditional Chinese

@thliang01 You have too many line breaks, check the rest of the localization files and fix it.
If you don't want to fix this, then reopen the PR to the dev branch

@thliang01 You have too many line breaks, check the rest of the localization files and fix it.
If you don't want to fix this, then reopen the PR to the dev branch

@uPagge  I fix this problem. Please check and give me some reply.

@uPagge  I fix this problem. Please check and give me some reply.

Thanks for your contribution to the project.

Thanks for your contribution to the project.


Do you provide a program for converting CSV to pickle

Do you provide a program for converting CSV to pickle

Do you provide a program for converting CSV to pickle

Sorry, I don't.

Do you provide a program for converting CSV to pickle
diy :) -should be pretty easy. Just check serde_csv


space_operators thinks -1 has an operator that needs spacing

Example code:
for x in xs by -1
  foo()

Errors with Operators must be spaced properly. -..

for x in xs by -1 then x is  in the test suite already, but I tried your exact code locally and still can't reproduce this. Make sure you're on the latest version.


executor stuck in pending status because unable to mount checkpoint directory

Hi,
I'm attempting to bring up a k8s 3 node cluster.
I'm using pvc for checkpoint volume. Driver and executor share the same pvc. The spark executor pod is stuck in pending status due to a pvc issue described below. Seems that when a spark app driver pod is on one node in the cluster, and the executor is on another node, this happens.
From kubectl describe pod nsp-anomaly-detector-app-1587138762221-exec-1
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedMount 13s (x27 over 58m) kubelet, rob-node2 (combined from similar events): Unable to attach or mount volumes: unmounted volumes=[checkpoint-volume], unattached volumes=[nsp-tls-zip application-conf-configs-vol sparklog checkpoint-volume default-token-m56sz ignite-configs-vol log4j-configs-vol spark-local-dir-1 shared-tls-volume]: timed out waiting for the condition

In one case, one of the driver & executor pods were on the same node, and I didn't see this issue.
Is there any way to get around this issue?
Thanks,
Flora

You can use spec.{driver|executor}.nodeSelector or spec.{driver|executor}.affinity to try make the driver and executor pods scheduled onto the same node. See https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/master/docs/user-guide.md#using-pod-affinity.

@liyinan926 Thank you. PodAffinity works in my case :)


[improve][build] Improve the publishing of docker image

Motivation

Right now the docker/publish.sh script always publishes the latest image, this causes the pulsar version issue: https://github.com/apache/pulsar/issues/19544
When using the custom docker.organization, the pulsar-all/Dockerfile always uses the apachepulsar/pulsar:latest as the base image, so cause https://github.com/apache/pulsar/issues/20420

Modifications

Add a prompt to confirm the publishing of the latest images in the docker/publish.sh script.
Pass the PULSAR_IMAGE to the docker/pulsar-all/Dockerfile to avoid using incorrect image.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Use apachepulsar/pulsar:${PULSAR_VERSION} instead of apachepulsar/pulsar:latest in the docker/pulsar-all/Dockerfile, I expect to be able to use the correct pulsar image.

I support this change, but the usage of apachepulsar/pulsar:latest in  docker/pulsar-all/Dockerfile wasn't the root cause that caused Pulsar 3.0.0 pulsar-all docker images to use the 2.11 image.
The default build process should have built apachepulsar/pulsar:latest locally before the pulsar-all image.
Perhaps the build dependency isn't working as expected?
https://github.com/apache/pulsar/blob/bdd1bf1fcabdfc52527d07a8f8a288930e2cb7dd/docker/pulsar-all/pom.xml#L71-L86
We might have to dig deeper.
A possible way to prevent using an old image would be to use a per-build invocation tag instead of using project.version alone.

Using the Git SHA as part of the tag and ensuring that the repository is clean before building would be a useful improvement over the changes already in this PR. The problem with project.version is that it's not unique. It's better than latest, but doesn't prevent the mistake from happening again.

Note that I didn't use the publish.sh script to build the image.
I used the following command to have cross-compilation for ARM:
mvn install -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/
-DskipTests
-Pmain,docker -Pdocker-push
-Ddocker.platforms=linux/amd64,linux/arm64
-Ddocker.organization=cbornet
-pl docker/pulsar,docker/pulsar-all
We should update the script to use this command and see why it didn't pick the correct image.

Hi, I don't think this is the root cause. The root cause is here: https://github.com/apache/pulsar/issues/20420#issuecomment-1566820505
I have pushed a PR to address the root cause： https://github.com/apache/pulsar/pull/20435

Hi @lhotari, thank you for your explanation!

Perhaps the build dependency isn't working as expected?
It seems that there is no locally built image used.

I agreed that use Git SHA, which is unique, but we can also use the project.version when building the apachepulsar/puslar-all:3.0.0 image, and we use the apachepulsar/pulsar:3.0.0 as the base image, which will does not cause version confusion unless you provide the wrong version number.

The version number doesn't address the problem since the version number doesn't uniquely identify the build product (artifact). The project.version is not much better than latest in this sense, it won't fix the issue.
@nodece  Your PR would be a good solution by simply continuing the work and making it use a tag that is for example a combination of the project.version and the git sha. I hope you could consider this.
If there's confusion, I could help by pushing the changes to this PR. It's not many extra changes.

I guess we would need to backport the solution to all maintenance branches so that maintenance release docker images don't get mixed up. The script shouldn't attempt to push the latest tag when the script is run in maintenance branches.

@nicoloboschi  PTAL

I am afraid that the publish.sh in this PR doesn't build the arm64 image.

@RobertIndie @cbornet @tisonkun Is https://pulsar.apache.org/contribute/release-process/#stage-docker-images up-to-date with this information?

Note that I didn't use the publish.sh script to build the image. I used the following command to have cross-compilation for ARM:
mvn install -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/ \
        -DskipTests \
        -Pmain,docker -Pdocker-push \
        -Ddocker.platforms=linux/amd64,linux/arm64 \
        -Ddocker.organization=cbornet \
         -pl docker/pulsar,docker/pulsar-all

We should update the script to use this command and see why it didn't pick the correct image.

@cbornet Would you mind getting the process description in https://pulsar.apache.org/contribute/release-process/#stage-docker-images up-to-date with this information? /cc @tisonkun


Not able to create Service Principal

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az ad sp create-for-rbac
Errors:
400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 654, in execute
    raise ex
cli/core/commands/__init__.py, ln 718, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 709, in _run_job
    cmd_copy.exception_handler(ex)
...
python3.6/site-packages/msrestazure/azure_active_directory.py, ln 486, in get_msi_token
    result.raise_for_status()
python3.6/site-packages/requests/models.py, ln 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az ad sp create-for-rbac

Expected Behavior
Environment Summary
Linux-4.15.0-1095-azure-x86_64-with-debian-stretch-sid (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.11.1

Extensions:
ai-examples 0.2.3

Additional Context

This is a known issue in Cloudshell #11479. To workaround it, pls run az login.

Can we close this as a dupe of https://github.com/Azure/azure-cli/issues/11749


Fetch surveys from survey repo

Right now, our surveys are hardcoded in the deliberation-empirica repo. If we are going to actually use our surveys repo, the survey json and aggregation functions should be fetched in onBatchStart and saved in the game object.

waiting for PRs in survey repo


[PROTOCOL]: Is there a way to sign arbitrary external messages?

Your Question
In the title. This is general question, since I don't see any api which would allow that.
Context
I'm making a telegram bot which should charge some amount of money from users every month depending on their subscription plan.
I've learned that V4 wallets allow doing that via plugins. I also found this example contract which does exactly that.
However the issue is that I need to send signed external message to the wallet contract. And thats my issue, I didn't find a way to sign the message.
What have you tried so far?
Maybe I'm missing something, but I've checked a lot of sources and docs before writing this issue.
All the sources I've read so far were using private key, in most cases derived directly from mnemonics which is unacceptable absurd nonsense cos nobody gonna give their private keys nor mnemonics to third parties unless these are wallets. These examples also ain't suitable for obvious reasons in my case anyway.
I also found Sign Data request which at first seemed like what I was looking for but it wasn't, because according to the documentation signature will be computed after internally transforming the data. To make it clear what I mean Sign Data will compute signature from the data transformed this way:
signature_from_sign_data = ed25519(uint32be(schema_crc) ++ uint64be(timestamp) ++ cell_hash(X))
while V4 wallet contract will check signature for the whole hashed message after signature data, which will look like this:
signature_expected_by_wallet = ed25519(cell_hash(X[64..]))
So it is obvious signature_from_sign_data won't match signature_expected_by_wallet unless there's sha512 hash collision which is used under the hood of ed25519 signing algorithm which is almost impossible scenario, means the Sign Data method is not suitable in my case.
I know my question may look silly but after doing my own research I didn't find anything suitable. I'm new to the TON blockchain and maybe missing something, but I believe there must be a way to do that cos otherwise there should be no reason to document this and state that there are bots which can do this.
Relevant Code or Commands
No response
Documentation Check

[X] Yes, I have checked the documentation.

Its alarming that there's no response on such a core problem. There is really no way to sign messages/data using tonconnect

Your Question
In the title. This is general question, since I don't see any api which would allow that.
Context
I'm making a telegram bot which should charge some amount of money from users every month depending on their subscription plan. I've learned that V4 wallets allow doing that via plugins. I also found this example contract which does exactly that. However the issue is that I need to send signed external message to the wallet contract. And thats my issue, I didn't find a way to sign the message.
What have you tried so far?
Maybe I'm missing something, but I've checked a lot of sources and docs before writing this issue. All the sources I've read so far were using private key, in most cases derived directly from mnemonics which is unacceptable absurd nonsense cos nobody gonna give their private keys nor mnemonics to third parties unless these are wallets. These examples also ain't suitable for obvious reasons in my case anyway. I also found Sign Data request which at first seemed like what I was looking for but it wasn't, because according to the documentation signature will be computed after internally transforming the data. To make it clear what I mean Sign Data will compute signature from the data transformed this way: signature_from_sign_data = ed25519(uint32be(schema_crc) ++ uint64be(timestamp) ++ cell_hash(X)) while V4 wallet contract will check signature for the whole hashed message after signature data, which will look like this: signature_expected_by_wallet = ed25519(cell_hash(X[64..])) So it is obvious signature_from_sign_data won't match signature_expected_by_wallet unless there's sha512 hash collision which is used under the hood of ed25519 signing algorithm which is almost impossible scenario, means the Sign Data method is not suitable in my case.
I know my question may look silly but after doing my own research I didn't find anything suitable. I'm new to the TON blockchain and maybe missing something, but I believe there must be a way to do that cos otherwise there should be no reason to document this and state that there are bots which can do this.
Relevant Code or Commands
No response
Documentation Check

[x]  Yes, I have checked the documentation.

Have you solved this issue? I encountered the same situation.

Have you solved this issue? I encountered the same situation. @pepeic

This is honestly terrible


Node 18 support

sls not supported yet

@sudokar Really liking this starter template; I wanted to raise an issue (as per your readme guides) for a problem - but the option isn't available!.
When following the installation steps provided in readme with NPM everything works as expected; however with yarn/berry v3 the following is a blocker
➤ YN0002: │ @nrwl/devkit@npm:15.3.3 [645a5] doesn't provide typescript (pba45f), requested by @phenomnomnominal/tsquery ➤ YN0002: │ @nrwl/devkit@npm:15.3.3 [edf7b] doesn't provide typescript (p2e1ba), requested by @phenomnomnominal/tsquery ➤ YN0002: │ @nrwl/eslint-plugin-nx@npm:15.3.3 [1572a] doesn't provide eslint (pfdec7), requested by @typescript-eslint/utils ➤ YN0002: │ @nrwl/eslint-plugin-nx@npm:15.3.3 [1572a] doesn't provide nx (pe859d), requested by @nrwl/devkit ➤ YN0002: │ @nrwl/jest@npm:15.3.3 doesn't provide nx (p5d1e7), requested by @nrwl/devkit ➤ YN0002: │ @nrwl/jest@npm:15.3.3 doesn't provide typescript (pdf17d), requested by @phenomnomnominal/tsquery ➤ YN0002: │ @nrwl/js@npm:15.3.3 doesn't provide nx (p7e01f), requested by @nrwl/devkit ➤ YN0002: │ @nrwl/linter@npm:15.3.3 [1572a] doesn't provide nx (pc1c35), requested by @nrwl/devkit ➤ YN0002: │ @nrwl/linter@npm:15.3.3 [1572a] doesn't provide typescript (p25e26), requested by @phenomnomnominal/tsquery ➤ YN0002: │ @nrwl/linter@npm:15.3.3 [5cbe4] doesn't provide nx (p2027f), requested by @nrwl/devkit ➤ YN0002: │ @nrwl/linter@npm:15.3.3 [5cbe4] doesn't provide typescript (pa8ec6), requested by @phenomnomnominal/tsquery ➤ YN0002: │ @nrwl/node@npm:15.3.3 doesn't provide nx (p97a58), requested by @nrwl/devkit ➤ YN0002: │ @nrwl/webpack@npm:15.3.3 doesn't provide @babel/core (p52aa1), requested by babel-loader ➤ YN0002: │ @nrwl/webpack@npm:15.3.3 doesn't provide @types/node (p26ece), requested by ts-node ➤ YN0002: │ @nrwl/webpack@npm:15.3.3 doesn't provide nx (pc4175), requested by @nrwl/devkit ➤ YN0002: │ @nrwl/webpack@npm:15.3.3 doesn't provide typescript (p3c8a3), requested by fork-ts-checker-webpack-plugin ➤ YN0002: │ @nrwl/webpack@npm:15.3.3 doesn't provide typescript (p978d1), requested by ts-loader ➤ YN0002: │ @nrwl/webpack@npm:15.3.3 doesn't provide typescript (p1a526), requested by ts-node ➤ YN0002: │ nx-serverless-template@workspace:. doesn't provide nx (pdf6a1), requested by @nrwl/devkit
I'm not particularly clued up on YarnV3/Berry - but I think this has something to do with peer-dependancy issues, are you able to recreate this?
`➜ node -v
v16.19.0
➜ npm -v
8.19.3
➜ yarn -v
3.3.1
`


Role / Right / AuthorizedAction

We need a decision on a term to use for the "thing" that a Trust Registry says an Entity is authorized for.
BACKGROUND
In the current generic pattern that we have in mind, we aren't prescriptive about the terms that are used for "what EntityX is authorized for". In the TRP v1 we were very prescriptive. We had:

Issuer for Type - we had a specific attribute credentialType under the /query/issuer call that limited the Role (temporary term) to "Issuer of Credential Type".
Verifier for Type - similarly, TRP v1 could limit the Verifiers of certain credential types.

While these concepts may work well in a pure verifiable credential exchange model it falls down quickly when DIDs and other constructs are used. An example is a professional using a DID to sign things, or a Public DID being listed as the main point of contact for an entity. They aren't Issuers or Verifiers.
A More Generic Approach
We are looking to simplify the model to allow for a generalized term. Some ideas include:

Role - flawed but in the current model. The term role tends to send folks in various directions that aren't generally helpful
Rights - The question becomes "does EntityX have {right}", according to the TR and EGF it is operating under.
AuthorizedActivity - the question becomes "Is EntityX authorized to conduct {AuthorizedActivity}?", according to the TR and EGF it is operating under.
other?

discussions lead to use of term Authorization to simplify things. Closing issue.


Any plan for React 16?

React 16 is compatible with React 15.x so you can update to 16 in the created app. I will also update the default template later.


fix: GetWinNum regex pattern.

Description of Changes
Closes #1408

New Version Info
Fixes the regex pattern in the GetWinNum to detect the new NERDTree buffer names correctly.

This patch is related to the #1405.


Create rectangle still not implemented?

Question
Plz,
Add support to draw rectangle in lightweight charts,
I am still waiting for it to appear in this library,
I have seen many requests to implement it,
But still didn't find any progress,
Thanks for ur great work
Code example
No response

Hey @armeya25,
Rectangle drawings will require the use of plugins which were recently added to the original Lightweight Charts library; this will require a complete rework of the JavaScript side of this library, which is why it hasnt been implemented yet and likely wont be for some time.
Anyway, closing as duplicate of #180.
Louis


[WFLY-6038] Can not deploy a @ConnectionFactoryDefinition if the RA has more

Jira: https://issues.jboss.org/browse/WFLY-6038

@jesperpedersen could you please review this? thank you.

LGTM

@gaol Could you open a JBEAP issue for this and open a PR for EAP7 please? This fix is required for https://issues.jboss.org/browse/JBEAP-624

@jmesnil done. :-)

This PR can be closed, its commit was merged in #8619

Close it according to comment above.


displacement height

Purpose
This adds the displacement height to how we call SurfaceFluxes.jl
To-do
review
Content
Adds a displacement_height function, which returns zero by default. This is appropriate for the soil and snow. The displacement height of the canopy is 0.67*h_canopy. This displacement height is then used when we compute surface fluxes.
Review checklist
I have:

followed the codebase contribution guide: https://clima.github.io/ClimateMachine.jl/latest/Contributing/
followed the style guide: https://clima.github.io/ClimateMachine.jl/latest/DevDocs/CodeStyle/
followed the documentation policy: https://github.com/CliMA/policies/wiki/Documentation-Policy
checked that this PR does not duplicate an open PR.

In the Content, I have included

relevant unit tests, and integration tests,
appropriate docstrings on all functions, structs, and modules, and included relevant documentation.

[X] I have read and checked the items on the review checklist.

bors r+


Value == bool

Number and String values can be compared, so why not Bool?

The two commits implement different approaches for implementing it; I think reusing partialeq_numeric! (second commit) is the better way to go.

This now only adds the impl PartialEq<bool> for Value.

Published in serde_yaml 0.8.10.


ORC-716: Add Java 17 to GitHub action

What changes were proposed in this pull request?
This PR aims to add Java 17 to GitHub action.
Why are the changes needed?
To improve test coverage.
How was this patch tested?
Pass the CIs.

I updated the title with ORC-716 and rebased this to main to bring the maven-assembly-plugin update. Let's see.

I rebased it.


fix: 短文本、长文本来回切换创建客户端namespace不匹配

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


ReferenceError: StripeCheckout is not defined

The component seems to work fine, but for some reason that I just can't figure out, I always need to press button twice. The first time, it opens a new tab and shows an error message saying that there was an error and that I should try another browser if the problem persists. On subsequent clicks, it opens a new tab and correctly shows the stripe form.

Just submitted a pull request to fix this issue.

@ayasin The check is not working for me, I am not sure how StripeCheckout still can give this error after the check but it does. The problem originates from the fact that componentDidUpdate is calling updateStripeHandler before script has loaded. I have a pull request that fixes this. https://github.com/azmenak/react-stripe-checkout/pull/6

Looks like #6 solves this, thanks everyone! Finally using this lib at my day job, so I'll be maintaining a lot more going forward :+1:


Added Icons to Navbar and Footer

Hello Project Admin
I Added icons to Navbar and Footer - Solved #704
Kindly Please go through this PR @thestarsahil

@thestarsahil Kindly Please go through this PR and see if the issue still exists

Pull all the lastet changes then push again
branch is updated now

Pull all the lastet changes then push again branch is updated now

yeah okkk @thestarsahil


add: full complement when R >> I when outbreaking

Related issues
This is related to #339
What was changed
When the number of recovered cases is too large when outbreaking, full complement on recovered data will be done.

Dear @Inglezos ,
Is your concern that sel_2 = subset_df[self.C].diff().diff() > 0 is week condition for subsetting? Is subset_df[self.C].diff().diff().rolling(window=14).mean() effective?

Dear @Inglezos ,
Is your concern that sel_2 = subset_df[self.C].diff().diff() > 0 is week condition for subsetting? Is subset_df[self.C].diff().diff().rolling(window=14).mean() effective?

Yes it could be proven to be kinda weak condition. For example, if the pandemic is outbreaking, then it is almost diminished for some months and then again outbreaks (as happened in some countries in the summer), then this condition would indicate full compliment and would ignore the correct actual recovered records altogether.
Yes the rolling window is more safe and more effective!

Thank you for your reply.
I added .rolling(14).mean(). I will merge this pull request after completion of tests.
Before releasing the next stable version, it will be necessary to check the list of countries where complement performed.


Request: Don't delete certain folders on update

Add something to a mod's manifest that says a certain file or folder shouldn't be deleted when the mod gets updated please and thank you.

Fixed in v0.10.0


Less chatty in logs please

Whilst tailing all my instance logs, the screen is being constantly overwritten with bosh-dns logs. Could we update/refresh/poll/etc much less regularly so as to reduce logs? Or any other ideas?
==> /var/vcap/sys/log/bosh-dns/bosh_dns.stdout.log <==
[File System] 2017/11/29 05:08:58 DEBUG - Stat '/var/vcap/instance/dns/records.json'
[File System] 2017/11/29 05:08:59 DEBUG - Stat '/var/vcap/instance/dns/records.json'
[File System] 2017/11/29 05:09:00 DEBUG - Stat '/var/vcap/instance/dns/records.json'

==> /var/vcap/sys/log/bosh-dns/bosh_dns_resolvconf.stdout.log <==
[File System] 2017/11/29 05:09:00 DEBUG - Reading file /etc/resolv.conf
[File System] 2017/11/29 05:09:00 DEBUG - Read content
********************
# This file was automatically updated by bosh-dns
nameserver <IP_ADDRESS>

nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
search us-east-2.compute.internal

********************

+1 it’s unneccessarily noisy; and has noticeably increased the resource requirements of centralized logging in my environments


Implementation question about occlusion flag calculation

Hi, @simonmeister.
Thanks for make your work publicly available.
Now, I have one question about the implementation of occlusion flag calculation in Eq.1 in the original paper.
In this repository, the calculation is implemented as below,
mag_sq = length_sq(flow_fw) + length_sq(flow_bw)

but fllowing your paper, I think this operation should use warped flow, like
mag_sq_fw = length_sq(flow_fw) + length_sq(flow_bw_warped)
# and
mag_sq_bw = length_sq(flow_bw) + length_sq(flow_fw_warped)

Is there any reason of the current implementation?, if so, I would appreciate if you tell me the reason.
Yours sincerely,
Daigo Hirooka.

Yes, you are correct. This is a mistake in the current version of the code. I am not sure if it will make a noticable difference in practice, but I have corrected it.
Thanks,
Simon

It seems that you haven't.


[Warning] Jupyter No Longer Mantained

Environment data

VS Code version: 1.31.1
Extension version (available under the Extensions sidebar): 2009.2.5433
OS and version: Windows 10 Pro 64bit
Python version (& distribution if applicable, e.g. Anaconda): 3.6.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: XXX

Expected behaviour
XXX
Actual behaviour
Jupyter is no longer mantained warning every time I open my Python Workspace. Tried uninstalling and disabling Jupyter but this extensions depends on it.
Steps to reproduce:

XXX

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
XXX

We do not own the Jupyter extension.
The Python extension does not depend on it either, but we offer an interactive window that may do what you need.

Thank you for replying. When I tried disabling it, it complained that there was an extension that depends on it. The only extension I have is the Python one.

Ohhh ok, I posted this in the wrong repository. It was supposed to be in the Python Extension Pack extension's respository. Apologizes!
https://github.com/DonJayamanne/python-extension-pack/issues/14


planck failed to install on 10.11 (maven Java build dep)

If you attempt to install planck on a fresh install of 10.11 with a freshly-installed Homebrew installation:
$ brew install planck
maven: Java is required to install this formula.
...

The formula for planck indicates a :build dependency on maven:
  depends_on "maven" => :build

This build dependency was added with the latest revision of the planck formula (for Planck 1.10), and it truly only is a build dependency.
If you brew edit planck and delete this line, then you can install from the bottle.
This appears to be a bug in Homebrew.

Likely related, I hit "Java is required to install this formula" today while installing maven. 10.10.5, Homebrew 0.9.5 (rev 245a8). I have Java 1.8 installed. As with @mfikes' experience with planck, doing brew edit maven and deleting depends_on :java caused the install to proceed successfully.

@eggsyntax that sounds like an issue with Homebrew failing to find your Java installation. Could you open a separate issue? Thanks!

NP, filed as issue 50035.

@mfikes Smells like a dependency resolution issue here.

@mikemcquaid Do you think the issue is with the Planck formula or with Homebrew?
Previously, Planck has had a dependency on Leiningen, which depends on Java, etc., via this line in the Planck formula, and that caused no issues with installing Planck from a bottle (i.e., without trying to build it on a client box):
  depends_on "leiningen" => :build

I figured the the Maven dependency (in fact, all build dependencies, as Planck also depends on Xcode for build), would be ignored when simply installing from a bottle.
Perhaps it is not an actual bug in Homebrew but somehow a bug in the Maven formula?

@mfikes With Homebrew, I suspect. Not sure, though,

If this is still broken: we'll accept PRs for this but we're not actively working on it at this time.

@MikeMcQuaid Yes, the problem still exists. To work around it, the released version of Planck has been revised to completely avoid Maven as a build dependency (and to to instead depend on published JARs) and, importantly, the Homebrew formula has been revised to not specify this build dependency.
But, Planck master exhibits the issue (Planck master is currently set up to build things instead of using published JARs), and if you attempt brew install --HEAD planck you will see the same unless you first brew edit planck. My plan is to revert back to published JARs prior to the next release of Planck as a workaround.

My plan is to revert back to published JARs prior to the next release of Planck as a workaround.

Sounds like a plan 👍


⚠ Bofrost.lu has degraded performance

In 805f569, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2051 ms

Resolved: Bofrost.lu performance has improved in 2271676 after 56 minutes.


IE11. Development mode. Object doesn't support property or method 'entries'

Bug description
<EMAIL_ADDRESS>IE11
Development mode
Object doesn't support property or method 'entries'
In 0.chunk.js
In section ./node_modules/react-dev-utils/node_modules/ansi-styles/index.js
->Object doesn't support property or method 'entries'
(see below for details)
It doesn't work despite
At the top of ./index.tsx
import "react-app-polyfill/ie11";
import "react-app-polyfill/stable";
and then:
reinstall node_modules with npm install
I found hacked, ugly solution
(see below for details)
Is there better way without hacking index.html ?
Workaround ?
Yes.
Ugly solution that works:
shell command:
curl<EMAIL_ADDRESS>-o ./public/core-js-v3.6.4-dev-polyfill.js
In ./public/index.html
<% if (process.env.NODE_ENV === 'development') { %>

<% } %>
Which terms did you search for in User Guide?
CRA react-script ie11 polyfill stable core-js/stable core-js/es
Environment
System:
OS: macOS Mojave 10.14.6
Oracle Virtual Box with IE11
Binaries:
Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v10.15.3/bin/npm
Browsers:
IE 11 on Oracle Virtual Box
Chrome: 79.0.3945.130
Firefox: 72.0.2
Safari: 13.0.5
npmPackages:
react: ^16.12.0 => 16.12.0 (16.2.0)
react-dom: ^16.12.0 => 16.12.0 (16.4.2)
react-scripts: ^3.3.1 => 3.3.1
<EMAIL_ADDRESS><EMAIL_ADDRESS>npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
npm run start
Actual behavior
In 0.chunk.js
In section ./node_modules/react-dev-utils/node_modules/ansi-styles/index.js
styles.color.gray = styles.color.blackBright;
styles.bgColor.bgGray = styles.bgColor.bgBlackBright;
styles.color.grey = styles.color.blackBright;
styles.bgColor.bgGrey = styles.bgColor.bgBlackBright;
for (var _i2 = 0, _Object$entries2 = Object.entries(styles); _i2 < _Object$entries2.length; _i2++) {
->Object doesn't support property or method 'entries'

Hello @staszekj!
There is an open issue about that problem in 3.3.1: https://github.com/facebook/create-react-app/issues/8405


Fix CONNECT_REFERENCE_COUNTED

CONNECT_REFERENCE_COUNTED requires 1 more disconnect call than connect calls. The PR fixes this behavior.
Minimal reproduction project:
TestConnect.zip
(just try to uncomment line 14)
Closes #44584.

Thanks!

Cherry-picked for 3.4.


Demo/QTV Player: Show flags and runes in player info (CTF)

Unable to determine which player that is carrying a flag.


Integrate etcd with 0-disk servers

In the orchestrator current design, we add one tlog server per vm, hence tlogserver are attached to the VM. In 0-disk current implementation, tlogservers seems to act as a cluster in top of the tlog storage cluster and is totally separated from the vm.
I'm putting the task on hold since @grimpy told me he needs to discuss if this is where we should go or not

Software Version
4a360373d205149b7cc0ede1075ce3164f1f6d40

after run etcd blueprint ,then create storage cluster and vm ,when i login inside Vm get this error :

Software version
d88cdbeec50e8f5ba4a78b62e12e49823c85f7df
vdisk request
{
  "id": "vdisk2",
  "size": 15,
  "blocksize": 4096,
  "type": "boot",
  "templatevdisk": "ardb://hub.gig.tech:16379/template:ubuntu-1604",
  "readOnly": false,
  "storagecluster": "st1"
}

Software Version
cc8f872ff3fc1dd158752b98565ed21ab2df5f21