Aircraft Position on UAT 978 Enhancement

Stratux version: 1.6r1

Stratux config:
SDR

[ ] single
[X ] dual

GPS

[ ] yes
[X ] no
type:

AHRS

[X ] yes
[ ] no

power source: Battery
usb cable:

EFB app and version: Foreflight v12.5
EFB platform: IOS 13.5.1
EFB hardware: Ipad

Description of your issue:

In the United States a large portion of the general aviation community have elected to use the low cost solution of using the 978 band for ads-b. This includes me. I noticed that available aircraft positions on the 978 band are not being displayed on the stratux traffic page, thus not being sent to the EFB.
I was wondering if there are any thoughts on parsing aircraft positions on 978 making them available to display? It seems that Flightaware has done some of this work and I hoping that it could be included to improve traffic awareness in the cockpit.
Excellent product and I rely on it on every flight. It definitely has made a difference of the safety of the aviation communtiy.
If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://<IP_ADDRESS>/logs/stratux/ and http://<IP_ADDRESS>/logs/stratux.log.

Are you seeing this lack of 978 MHz UAT traffic on the ground, or in the
air?
On Wed, Jul 1, 2020 at 12:31 PM quinntm<EMAIL_ADDRESS>wrote:

Stratux version: 1.6r1
2.
Stratux config:
SDR

single

[X ] dual

GPS

yes

[X ] no
type:

AHRS

[X ] yes

no

power source: Battery
usb cable:
3.
EFB app and version: Foreflight v12.5
EFB platform: IOS 13.5.1
EFB hardware: Ipad
4.
Description of your issue:
In the United States a large portion of the general aviation community
have elected to use the low cost solution of using the 978 band for ads-b.
This includes me. I noticed that available aircraft positions on the 978
band are not being displayed on the stratux traffic page, thus not being
sent to the EFB.
I was wondering if there are any thoughts on parsing aircraft positions on
978 making them available to display? It seems that Flightaware has done
some of this work and I hoping that it could be included to improve traffic
awareness in the cockpit.
Excellent product and I rely on it on every flight. It definitely has made
a difference of the safety of the aviation communtiy.
If possible, enable "Replay Logs", reproduce the problem, and provide a
copy of the logs in http://<IP_ADDRESS>/logs/stratux/ and
http://<IP_ADDRESS>/logs/stratux.log.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cyoung/stratux/issues/813, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADJX7QHGWD4W23CHMZDRA4DRZNXFXANCNFSM4ONUMUXQ
.

Hi Kris,
I just did some further experiments and everything is all good. I just set
up my receiver by the window and just so happen to have a C152 fly over
transmitting on 978. All is well and you can cancel out the issue request.
Sorry for generating something that was already completed. Thanks for the
great product.
On Wed, Jul 1, 2020 at 1:52 PM Kris Knigga<EMAIL_ADDRESS>wrote:

Are you seeing this lack of 978 MHz UAT traffic on the ground, or in the
air?
On Wed, Jul 1, 2020 at 12:31 PM quinntm<EMAIL_ADDRESS>wrote:

Stratux version: 1.6r1
2.
Stratux config:
SDR

single
[X ] dual

GPS

yes
[X ] no
type:

AHRS

[X ] yes
no

power source: Battery
usb cable:
3.
EFB app and version: Foreflight v12.5
EFB platform: IOS 13.5.1
EFB hardware: Ipad
4.
Description of your issue:
In the United States a large portion of the general aviation community
have elected to use the low cost solution of using the 978 band for
ads-b.
This includes me. I noticed that available aircraft positions on the 978
band are not being displayed on the stratux traffic page, thus not being
sent to the EFB.
I was wondering if there are any thoughts on parsing aircraft positions
on
978 making them available to display? It seems that Flightaware has done
some of this work and I hoping that it could be included to improve
traffic
awareness in the cockpit.
Excellent product and I rely on it on every flight. It definitely has
made
a difference of the safety of the aviation communtiy.
If possible, enable "Replay Logs", reproduce the problem, and provide a
copy of the logs in http://<IP_ADDRESS>/logs/stratux/ and
http://<IP_ADDRESS>/logs/stratux.log.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cyoung/stratux/issues/813, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ADJX7QHGWD4W23CHMZDRA4DRZNXFXANCNFSM4ONUMUXQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cyoung/stratux/issues/813#issuecomment-652562061, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQERVKSVJEFA5LT4CXLOJR3RZNZVTANCNFSM4ONUMUXQ
.

--
Thanks
Tim Quinn
<EMAIL_ADDRESS>


Help: It causes the app to crash in LOLLIPOP (Version 2.2.0)

Error inflating class de.hdodenhof.circleimageview.CircleImageView
It works just fine in the later Android versions.
Can anyone help?

can you paste the stacktrace please?

As @drakkan said, this needs more details. Please reopen and attach the stack trace if still relevant.


Set correct max-height  for left-sidebar blocks.

discussion: https://chat.zulip.org/#narrow/stream/9-issues/topic/left_side_userlist.20broken

These changes are all improvements; merged. However, I think we still have a problem that at least in my testing, the left sidebar user list doesn't have a scrollbar if it's too large to fit.
There may be a tactical fix, but I think it's very possible the right design is for the user list to just be in the same scroll container with the streams, just below them; it seems like that would let us delete most of this special logic if done right. But I'm not sure if that would interact poorly with the list_render partial rendering logic.

Opened #23457 which should solve the bug!


data sems miss

thanks for your great work, when I try to download data, it seems loss

may I ask why?

you can use either the downlad script or this link:
https://drive.google.com/uc?id=1mIi83YjB-0Mfole8W6lSuJRrcy1zauSV

Thanks, I am appreciate for your great job, hope you will have more results
come up soon, I will keep following
On Mon, Jun 3, 2019 at 9:50 PM xl-sr<EMAIL_ADDRESS>wrote:

you can use either the downlad script or this link:
https://drive.google.com/uc?id=1mIi83YjB-0Mfole8W6lSuJRrcy1zauSV
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xl-sr/CAL/issues/16?email_source=notifications&email_token=AK7ZPCQ3WGO6IHIVQM4PXL3PYUOTTA5CNFSM4HSE5WQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWZOYPI#issuecomment-498265149,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK7ZPCSVN32RGQYFEKGV77LPYUOTTANCNFSM4HSE5WQQ
.


BIGTOP-4215. Upgrade ZooKeeper to 3.8.4

Description of PR
Apache ZooKeeper 3.7.X has been already EOL. And the current stable release is 3.8.X.
https://lists.apache.org/thread/l0c8w0kgxvlx3yrgmc2tdl05ldkdg56s
The latest Hadoop uses 3.8.4 so we can update to that version.
https://github.com/apache/hadoop/blob/trunk/hadoop-project/pom.xml#L106
How was this patch tested?
Built & test with Ubuntu-22.04
$ ./gradlew allclean zookeeper-pkg repo -Dbuildwithdeps=true
$ ./docker-hadoop.sh -c 1 --image bigtop/puppet:trunk-ubuntu-22.04 --docker-compose-yml docker-compose-cgroupv2.yml -dcp --memory 8g --repo file:///bigtop-home/output/apt --disable-gpg-check --stack zookeeper --smoke-tests zookeeper

For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
[x] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

We might need to include this patch https://github.com/apache/hadoop/pull/6675/files to build hadoop 3.3.6 against zookeeper 3.8.4.


new nodes buttons events loss after adding more nodes

I am not sure this is issue. When I am adding new nodes with buttons inside them, buttons event works only until more new nodes added.
var node = new Object();
node.id = data.newWordId;
node.text = ""+data.newWordName+"
$("#tree").jstree().create_node($("#"+parentId), node);
$("#"+node.id).children(".jstree-anchor").children(".buttons").children(".delete").click(function () {
deleteNode();
});
So, just after creation button works well, but after adding new node, old buttons doesn’t work.

Use event delegation (attach the handlers to the main tree container) - do not bind events to the actual DOM elements, as they will be redrawn by jstree.
Best regards,
Ivan


openapi(dm): add error_msg in task status

What problem does this PR solve?

Issue Number: ref #3583
What is changed and how it works?
as title
Check List
Tests

Unit test
Integration test

Code changes

Has exported variable/fields change

Side effects

Increased code complexity

Related changes

Need to update the documentation

Release note
`None`.

could you please take another look for this pr ? thanks 🧡🧡🧡
/cc @WizardXiao  @GMHDBJD

Codecov Report

Merging #4421 (c970aba) into master (9607554) will decrease coverage by 0.1948%.
The diff coverage is 49.5833%.

Flag
Coverage Δ

cdc
60.0846% <70.5882%> (+0.1624%)
:arrow_up:

dm
51.5673% <38.0645%> (-0.4616%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #4421        +/-   ##
================================================
- Coverage   55.6402%   55.4454%   -0.1949%
================================================
  Files           494        499         +5
  Lines         61283      61731       +448
================================================
+ Hits          34098      34227       +129
- Misses        23750      24064       +314
- Partials       3435       3440         +5

could you please take another look for this pr ? thanks 🧡🧡🧡
@WizardXiao @okJiang

/merge

/run-verify-ci
/run-dm-integration-test

/merge


[NPM-3219] Kill server process if port is not used for test

What does this PR do?
Occasionally we will get a port conflict when allocating ports to listen for the TestReadInitialState test; when that happens we were not killing the process that was listening. This would lead to failures like https://gitlab.ddbuild.io/DataDog/datadog-agent/-/jobs/447044450, where negative testing for when a port is not supported to be in a port dump would fail. The change here kills the process for any conflicting port before proceeding with the test.
I also removed the [require|assert].EventuallyWithT loop since it is not needed here (ports should be listening by the time we run the meat of the test).
Motivation
CI failures like this
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge


Composable templates do not render properly in tests

Before you begin
Please make sure you're using the latest version of the templ CLI (go install github.com/a-h/templ/cmd/templ@latest), and have upgraded your project to use the latest version of the templ runtime (go get -u github.com/a-h/templ@latest)
Describe the bug
When using template composition, go query removes template items.
To Reproduce
A small, self-container, complete reproduction, uploaded to a Github repo, containing the minimum amount of files required to reproduce the behaviour, along with a list of commands that need to be run. Keep it simple.
Setup a reusable component:
templ TableRow() {

		{ children... }

}

Write a test to check that this table row is rendered using goquery:
// helper function that accepts a render func that will
// write your component, and manages io pipes for you
func renderTestTemplate(renderFunc func(w *io.PipeWriter)) (doc *goquery.Document, err error) {
	r, w := io.Pipe()

	go func() {
		renderFunc(w)
		defer w.Close()
	}()

	return goquery.NewDocumentFromReader(r)
}

func TestTableRow(t *testing.T) {
	doc, err := renderTestTemplate(func(w *io.PipeWriter) {
		err := components.TableRow().Render(context.Background(), w)
		require.NoError(t, err)
	})
	require.NoError(t, err)

	s, _ := doc.Html()
	fmt.println(s)
	// actual testing would be below here
}

This does not render the table row, but instead produces:
""

When actual children are present, the tags from composable components do not render.
I'm only seeing this when using go query, but based on its functionality I'm unsure if its a problem here or in goquery.
Expected behavior
I would expect to see:
"

"

Screenshots
If applicable, add screenshots or screen captures to help explain your problem.
Logs
If the issue is related to IDE support, run through the LSP troubleshooting section at https://templ.guide/commands-and-tools/ide-support/#troubleshooting-1 and include logs from templ
templ info output
Run templ info and include the output.
Desktop (please complete the following information):

OS: MacOS
templ CLI version: v0.2.747
Go version: go version go1.22.5 linux/arm64
gopls version: golang.org/x/tools/gopls v0.16.1

Additional context
Add any other context about the problem here.

This is from the std lib parser, closing


returns the string instead of groups for re_search function if there is no any group specified

It's a very common use case that extracts the number from a string, like 4.3 from 4.3 out of 5 stars.
For example, for this input ["4.3 aa", "2.6 bb"], we want to extract a result as ["4.3", "2.6"] but we don't have a quick way to do it.
re_search("([0-9.]+)")|first does not work, as first takes the first row of the output, not a list of the first group, so we will get ('4.3',)
My proposal is to return a string instead of the groups, if no any group specified, then we will get the expected result by re_search("[0-9.]+")

It may be worth allowing commas as well, both because they are decimal separators in some languages and because they are thousand separators in other languages, including English.


add access point support

what

added aws efs access point support

why
*efs supports access points within a volume

from a performance PoV using burst, you are better off to have one large EFS vol.

references

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/efs_access_point

/rebuild-readme

/test all

/terraform-fmt

/test all

Cool! Did you note this? https://github.com/cloudposse/terraform-aws-efs/pull/58/files#diff-7a370d8342e7203b805911c92454f0f4L36-R63
I was not sure about this ,but considering the TF 13.3 rls notes (https://github.com/hashicorp/terraform/releases/tag/v0.13.3) I think maybe I have disabled this as a work around to the bug.
I am going to test with and without this lifecycle stanza deleting in 13.3 and see if I get the same cycle error shortly.

Yea, so I have confirmed with TF 0.13.3 that error I was getting is now gone. So I have put that lifecycle block back.

@aknysh ready when you are

/rebuild-readme

/terraform-fmt

/test all


Revert "Add new percentage filtering doc (#106)"

Just to be safe, this removes the reduce errors by percentage doc based on @kyrylo's feedback pending his response:

I am not sure what you suggest here is a good approach. Why would anyone rely on random numbers to ignore notices? This sounds dangerous.

https://github.com/airbrake/airbrake-docs/pull/106#issuecomment-288048514

LGTM, to be on the safe side.

Thanks for the quick review @mmcdaris 👍


[Feature] Floating Action Button (FAB) Navbar

Description
A navigation bar inspired by mobile design, featuring a floating action button that expands into a radial menu when clicked. This is particularly useful for mobile-first designs.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

@sanayamahajan-23
Can u give a preview of it?

Really sorry but I need to create a code for it

Can you give me some time forit

here is its preview i took the image from internet but it would be something like that

@Rakesh9100 new addition

Go ahead @sanayamahajan-23

sir also add level whether 1,2,or 3


There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you need to fix locally.

There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.
The react-scripts package provided by Create React App requires a dependency:
"eslint": "^6.6.0"
Don't try to install it manually: your package manager does it automatically.
However, a different version of eslint was detected higher up in the tree:
/Users/hank/Documents/my-project/react-demo/node_modules/eslint (version: 7.12.1)
Manually installing incompatible versions is known to cause hard-to-debug issues.
If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That will permanently disable this message but you might encounter other issues.

remove the package-lock.json file, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.


[release-4.6] Bug 1897379: Fix the HiveTable status.partitions schema definition

Manual cherry-pick of #1443
Update the charts/metering-ansible-operator/templates/crds/hive.crd.yaml HiveTable CRD schema definition, and ensuring that the status.partitions property can be nullable.
During the effort to migrate from v1beta1 to v1 apiextensions.k8s.io CRDs in the 4.6 release, all possible properties in the HiveTable CRD need to be defined in the schema definition, else the apiserver would prune those undefined fields. The status.partitions field was defined as an array of objects, which is problematic in the case of existing HiveTable custom resources that had status.partitions: null being set. During an upgrade from a supported release to the 4.6 channel, the upgrade failed as OLM couldn't apply the new HiveTable CRD version against the existing set of HiveTable custom resources defined in the metering namespace due to the following error:
error validating existing CRs agains new CRD's schema: hivetables.metering.openshift.io: error validating custom resource against new schema &apiextensions.CustomResourceValidation{OpenAPIV3Schema:(*apiextensions.JSONSchemaProps)(0xc0058f6400)}: [].status.partitions: Invalid value: "null": status.partitions in body must be of type array: "null"

If we instead update that status field schema definition to allow that field to be nullable (e.g. nullable: true is specified) and preserve any unknown fields that get defined during a custom resource, we can retain backwards compatibility with previous version of the Metering Operator.

/bugzilla refresh

/retest

/bugzilla refresh

LAST SEEN   TYPE     REASON                OBJECT                                           MESSAGE
20m         Normal   RequirementsUnknown   clusterserviceversion/metering-operator.v4.6.0   requirements not yet checked
20m         Normal   RequirementsNotMet    clusterserviceversion/metering-operator.v4.6.0   one or more requirements couldn't be found

/retest

/retest

/retest


[BUG] updateInterval (and refresh-icon) not working on widgets of type "image"

Environment
Self-Hosted (Bare Metal)
System
latest Chrome, Ubuntu 22.04.1 LTS
Version
2.1.1
Describe the problem
I want some webcam-images be updated automatically:
    widgets:       - type: image         updateInterval: 300         options:           imagePath: https://www.gasthaus-haldenhof.de/MOBOTIX/webcam-1.jpg       - type: image         updateInterval: 60         options:           imagePath: http://pfaenderbahn.it-wms.com/big_panorama1.jpg       - type: image         updateInterval: 60         options:           imagePath: https://bachtel.it-wms.com/panorama1_raw.jpg
But it does not work. The get refreshed on load and that's it.
When I click on the refresh icon - nothing happens either.
What could be wrong?
Thank you for any hint!
Bye
Sven
Additional info
No response
Please tick the boxes

[X] You have explained the issue clearly, and included all relevant info
[X] You are using a supported version of Dashy
[X] You've checked that this issue hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

     - type: embed         updateInterval: 300               options:           html: '<img width="100%" height="auto" src="https://www.gasthaus-haldenhof.de/MOBOTIX/webcam-1.jpg" />'
As I discovered that I could render it with the "embed" widget, too, I've tried this way shown above.
Does not update either.
Thank you!

Hey Sven,
Sorry for the late reply. It looks like the way the re-fetch works, is by re-triggering the fetch request, here. Since the image, and iframe work as standard embeded content, instead of using any XHR requests, they're not being refreshed.

I'll work on this tomorrow evening :)

I'll work on this tomorrow evening :)

WOW! Really appreciate that. I thought this must be a problem in my installation "only"!!

Heya @svenniuwe, sorry for the delay
..This is now implemented in #1008, which I will merge shortly :)
Won't require any changes to your config, just update the latest version, and both the updateInterval option, as well as the "Refresh" button should now work on Image widgets.

@Lissy93 Short question - two months later: Was this already released? How can I update to get this? Thank you!!


use minimum versions for provider pinning

what
set minimum versions for providers without pinning to a specific major version
why
the current method makes it very difficult to maintain or upgrade consistent provider versions within a project
closes #46
references
https://www.terraform.io/docs/configuration/provider-requirements.html#best-practices-for-provider-versions
https://github.com/cloudposse/terraform-aws-iam-system-user/pull/33
https://github.com/cloudposse/terraform-aws-iam-s3-user/pull/19

I also need AWS 3+, so I did a similar change on my fork.
The only issue is that AWS 3 deprecated the region argument on the S3 Bucket resource, so if you try to use this module with AWS 3, it will fail.

@aknysh this has the version pinning update, but as mentioned above, users will have issues when using this with aws v3. i'm happy to remove the region argument from the module and update the minimum version, but I'm not sure what the approach is for making major version updates to these modules. what's the preferred course here?

@woz5999 Btw. there seems to be a little confusion around pinning.
From https://www.terraform.io/docs/configuration/provider-requirements.html#best-practices-for-provider-versions (what you linked):

Each module should at least declare the minimum provider version it is known to work with, using the >= version constraint syntax:
[...]
Do not use ~> (or other maximum-version constraints) for modules you intend to reuse across many configurations, even if you know the module isn't compatible with certain newer versions.

But Terraform init says:
To prevent automatic upgrades to new major versions that may contain breaking
changes, we recommend adding version constraints in a required_providers block
in your configuration, with the constraint strings suggested below.

* -/aws: version = "~> 3.5.0"

I think init is probably the more outdated thing here in terms of pinning. i think the main question is what is the desire/strategy for when/how to upgrade an individual module to aws 3.x

@aknysh can we get this merged? then i can submit a separate PR to bump to aws 3.x

/test all

/rebuild-readme

/test all

@woz5999 please fix this error
TestExamplesComplete 2020-09-08T19:31:38Z logger.go:66: Error: Computed attribute cannot be set
TestExamplesComplete 2020-09-08T19:31:38Z logger.go:66:
TestExamplesComplete 2020-09-08T19:31:38Z logger.go:66:   on ../../main.tf line 17, in resource "aws_s3_bucket" "default":
TestExamplesComplete 2020-09-08T19:31:38Z logger.go:66:   17:   region        = var.region

region is not supported anymore for S3 bucket

@aknysh changes pushed

/rebuild-readme

/test all

Also related is #63


Release v1.0.3

Updated dependenciess
Simplified option parsing for bridge/macvlan
Added support for an ipam none driver

/lgtm
/approve
/hold

/hold cancel


Provide intellisense in files attached to a connection

Right now for intellisense to work I need to create a new SQL file against an active connection. It should work on an existing SQL file attached to a connection as well.

This feels like it could be an upstream issue.

I've misdiagnosed this one too. There's some issue with my specific existing SQL file attached to a connection that's causing issues. Will open a new issue once I figure out more about the root cause.


Fix intermediate directories not created

Hello! Thanks for a very useful library!
I've encountered this behaviour, not sure if it was intended: If the destination path contains not created directories, the function would fail where otherwise it is expected to create all directories in the path.
I've added behaviour where the function will automatically created all intermediate directories in the new path.
I've also added tests, but I couldn't get them to fail first in OSX. So I assume my test is OK but I can't prove it running the test suite. Other tests for File don't seem to be running (changing an assertion doesn't make the tests fail.  Any ideas on that?

Excellent, this is definitely useful.
I don't know what's up with the tests not running though. I'll take a look when I get back on Monday.

The tests within an AssertNoThrow closure are not being run, which is not good at all. Thanks so much for discovering that. I will fix it after I have merged this.


chunking: Minor comment cleanup/clarifications

The default Rust style includes a space between the comment // and the text, so do that consistently.
Ensure that "documentation comments" are consistently associated with their function.
Expand acronyms like "hs" and "ms" etc. in many places because I find this easier to read.  (Particularly I have a strong association with "ms" as "millisecond")

@RishabhSaini can you review?

Ahh wait, because https://github.com/ostreedev/ostree-rs-ext/pull/456 wasn't rebased on main, we have a semantic conflict with the new test in https://github.com/ostreedev/ostree-rs-ext/pull/482
---- test_container_chunked stdout ----
thread 'test_container_chunked' panicked at 'called `Option::unwrap()` on a `None` value', lib/tests/it/main.rs:709:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

It looks like this is because the new packing here notices that everything is tiny?  Looking...

OK, for now pushed a change to adjust the test.


Migrate Formatting to CaptureGroup Definitions

In an effort to simplify the codebase, introduce a formatted method as a CaptureGroup protocol requirement. This'll house the formatted output, eliminating the need for separate OutputRendering definitions and switch logic.

Closing this, since it tightly couples formatting to the concrete types.


routeNeedsPermission not working on routes with arguments.

Hi I am not really sure if it is not working on routes with argument or if the argument is model binded.
I have this bind with a model
Route::model('type', 'App\Modules\itemType\ItemType');
then i try to do this:
Entrust::routeNeedsPermission( 'library/item-types/{type}/edit', 'edit_item_types', Redirect::to('/') );
it does not filter the route as expected,
I already try this on routes without arguments and is working fine,
so i just made my custom filter where i use:
Entrust::can('edit_item_types')
to achieve the filter that i want to happen.
is this a bug or i am just using the routeNeedsPermission incorrectly?

+1

I seem to be experiencing the exact same issue.


All rabbitmq_queue_messages_*_total counters always returning 0

We're using rabbit 3.6.5 with your <IP_ADDRESS> release and something seems to not be working correctly.
I'm trying to create a grafana dashboard showing publish/delivery rates and all my queue's are always showing 0 (using the standard rabbit management interface I can see there is traffic going through my queues) but the prometheus counters are always showing 0.
I added a test queue and published a bunch of messages to the queue.  I see the value show in the gauge for ready messages (and other metrics for that queue showing data)
ie:
rabbitmq_queue_messages_ready{vhost="/",queue="test"} 32
rabbitmq_queue_messages{vhost="/",queue="test"} 32
rabbitmq_queue_disk_writes{vhost="/",queue="test"} 32
But all the counters that should allow me to calculate rates are always returning zeros:
rabbitmq_queue_messages_published_total{vhost="/",queue="test"} 0
rabbitmq_queue_messages_delivered_total{vhost="/",queue="test"} 0
....
rabbitmq_queue_messages_returned_total{vhost="/",queue="test"} 0
I have no custom config in rabbitmq.conf for the prometheus_rabbitmq_exporter our enabled plugins are:
[autocluster,prometheus,prometheus_rabbitmq_exporter,rabbitmq_management]
(we're using AWS tag based autoclustering).
Thanks

Hi, is this happening on all nodes? can you share your test code?

I'll try to look into this on my end really soon. can you just confirm your test code produces expected metric values for just one standalone rabbitmq (i.e. not member of a cluster) in your environment.

Sounds good I'll do some more testing tomorrow with a single node and see if it returns stats correctly.

So one thing to note we are running with only
rabbitmq-plugins enable prometheus
rabbitmq-plugins enable prometheus_rabbitmq_exporter
Not the full set you have on the main page as they seemed to not be required.
So I did some single node tests:
metrics-single-node.txt
This was just our AMI spun up with a single node has the same results 0's
metrics-no-autocluster.txt
This I used the same instance and just disabled the autocluster plugin.  Same result 0's
metrics-no-autocluster-force-reset.txt
This I used the same instance (with autocluster disabled) and did a force_reset of the rabbit instance and checked again. Same result 0's
metrics-manual-setup.txt
This is a blank Ubuntu instance (ami-79873901) manually installing the erlang and rabbitmq packages I linked above, I then manually installed and enabled prometheus and prometheus_rabbitmq_exporter and I'm seeing the exact same behaviour.

Thank you. I will have time for debugging this tomorrow and then get back to you.

Sounds good Here's the full script I used to install/configure rabbit in that last setup:
#!/usr/bin/env bash
#update packages
apt-get -y update
DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade
Install rabbitmq with specific version
echo "Installing erlang"
wget http://packages.erlang-solutions.com/site/esl/esl-erlang/FLAVOUR_1_general/esl-erlang_19.0-1~ubuntu~xenial_amd64.deb -O esl-erlang_19.0-1~ubuntu~xenial_amd64.deb && dpkg -i esl-erlang_19.0-1~ubuntu~xenial_amd64.deb
echo 'Installing erlang dependencies'
DEBIAN_FRONTEND=noninteractive apt-get -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install
Stop auto updating when apt-get dist-upgrade is called
apt-mark hold esl-erlang
echo "Installing rabbitmq 3.6.5"
wget https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.5/rabbitmq-server_3.6.5-1_all.deb -O rabbitmq-3.6.5.deb && dpkg -i rabbitmq-3.6.5.deb
set -euf -o pipefail
Install dependencies
echo 'Installing rabbit dependencies'
DEBIAN_FRONTEND=noninteractive apt-get -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install
Stop auto updating when apt-get dist-upgrade is called
apt-mark hold rabbitmq-server
echo 'Initializing rabbit plug in manager'
rabbitmq-plugins enable rabbitmq_management
wget https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/download/rabbitmq-<IP_ADDRESS>/prometheus-3.1.0.ez
wget https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/download/rabbitmq-<IP_ADDRESS>/prometheus_rabbitmq_exporter-v<IP_ADDRESS>.ez
mv prometheus-3.1.0.ez /usr/lib/rabbitmq/lib/rabbitmq_server-3.6.5/plugins/
mv prometheus_rabbitmq_exporter-v<IP_ADDRESS>.ez /usr/lib/rabbitmq/lib/rabbitmq_server-3.6.5/plugins/
rabbitmq-plugins enable prometheus
rabbitmq-plugins enable prometheus_rabbitmq_exporter
rabbitmqctl add_user rabbitmq Password123
rabbitmqctl set_user_tags rabbitmq administrator
rabbitmqctl set_permissions rabbitmq "." "." ".*"
service rabbitmq-server restart

Please try this (do not forget to rename to .ez). Actually this is a bug that was fixed here later, starting from 3.6.8 branch. If it works I'll replace plugin in respective releases.
prometheus_rabbitmq_exporter-v<IP_ADDRESS>.zip

Hmm I put that in and got when trying to boot the cluster
=INFO REPORT==== 15-Feb-2018::14:00:34 ===
Error description:
{error,{missing_dependencies,[prometheus],
[prometheus_rabbitmq_exporter,
prometheus_rabbitmq_exporter]}}
Log files (may contain more information):
<EMAIL_ADDRESS><EMAIL_ADDRESS>Stack trace:
[{rabbit_plugins,ensure_dependencies,1,
[{file,"src/rabbit_plugins.erl"},{line,176}]},
{rabbit_plugins,prepare_plugins,1,
[{file,"src/rabbit_plugins.erl"},{line,195}]},
{rabbit,broker_start,0,[{file,"src/rabbit.erl"},{line,280}]},
{rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,403}]},
{init,start_em,1,[]},
{init,do_boot,3,[]}]
ubuntu@ip-10-31-70-30:/var/log/rabbitmq$ ls -la /usr/lib/rabbitmq/lib/rabbitmq_server-3.6.5/plugins/prometh*
-rw-rw-r-- 1 ubuntu ubuntu 193726 Feb 12 20:15 /usr/lib/rabbitmq/lib/rabbitmq_server-3.6.5/plugins/prometheus-3.1.0.ez
-rw-rw-r-- 1 ubuntu ubuntu 194256 Feb 15 12:31 /usr/lib/rabbitmq/lib/rabbitmq_server-3.6.5/plugins/prometheus_rabbitmq_exporter-v<IP_ADDRESS>.ez
So the files exist.

Ok nevermind I got it working.  And now the stats are reporting correctly.

I updated plugin on the release page. Thanks you for the help!


[FLINK-27665] Optimize event triggering on DeploymentFailedExceptions

Separated the event related logic from the DeploymentFailedExceptions
Introduced a new component type for JobManagerDeployment, reporting DeploymentFailedExceptions
Reduced the event types to Warning and Normal only see API docs

cc @wangyang0918 @Aitozi


-l,--location option not working on all msi packages

Brief description of your issue
This issue is a followup on my PR for a package mainfest.
There seem to be a lot of inconsistencyes on how to set the install location path for msi packages. The code currently sets the TARGETDIR option.
https://github.com/microsoft/winget-cli/blob/b79e4087821c993f83f7c4731bbde7aa25612c73/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp#L461
This is only one of two available options (see here) and some packages seem to require the alternative INSTALLDIR option.
I have tested the packages Oracle.JDK.17, StrawberryPerl.StrawberryPerl and ChristianHohnstadt.xca, which all currently don't work with the -l switch.
In contrast to that, the Borvid.HttpMasterExpress package works absoloutly fine as is.
One possible soloution would be to allways pass both of these options, which worked in my short testing.
Steps to reproduce
Use one of the following commands:
winget install Oracle.JDK.17 -l C:\ProgStuff\jdk
winget install Oracle.JDK.17 -l "C:\ProgStuff\jdk"
winget install Oracle.JDK.17 --override "/passive TARGETDIR=C:\ProgStuff\jdk"
The jdk is now installed into C:\Program Files\Java\jdk17 and NOT into the given location.
Only winget install Oracle.JDK.17 --override "/passive INSTALLDIR=C:\ProgStuff\jdk" works as expected.
Expected behavior
The package should be installed into the given Path.
Actual behavior
The given directory is ignored and the package is installed into the default directory.
Environment
[winget --info]
Windows Package Manager v1.1.13405
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.19043.1415
Paket: Microsoft.DesktopAppInstaller v1.16.13405.0

Protokolle: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Sooo i learned something today in https://github.com/microsoft/winget-pkgs/pull/41913#discussion_r790846573
I would bet ANY installer that does not respect -l is actually wix instead of msi 🤦♂🤦♂🤦♂
I don't know my way around this repo, but this tends to be where my searches lead me https://github.com/microsoft/winget-cli/blob/b79e4087821c993f83f7c4731bbde7aa25612c73/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp#L451-L481
And from my understand winget-cli uses the same switches for burn, wix and msi, if someone could double check the InstallerSwitches for burn and wix we over at the winget-pkgs could fix the InstallerTypes
cc @ItzLevvie @jedieaston @Trenly @denelon

Apparently they should be the same?
https://stackoverflow.com/a/44347702/9998654

It looks like WiX doesn't have a standard argument for install location, but by convention people use INSTALLLOCATION? https://stackoverflow.com/questions/24266720/how-to-define-installation-folder-from-command-line-parameter-in-wix-installer

Just my 2 cents.
WiX has always used something different than TARGETDIR. The reason is that WiX actually does it "wrong" (or at least: their advertised examples).
The MSI specs are very clear: TARGETDIR is to be used if you want the non-standard installation folder. See: https://docs.microsoft.com/en-us/windows/win32/msi/targetdir (first paragraph).
To accomplish this, a MSI should set the TARGETDIR property if and only if it is not set by the user. Something like (pseudo code):
if TARGETDIR is not set:
   set TARGETDIR = %ProgramFiles%\Vendor\Product

This is clear from https://docs.microsoft.com/en-us/windows/win32/msi/using-the-directory-table.
This can be easily accomplished in WiX as well, by a <SetProperty Id="TARGETDIR" Value="<XXX>" Before="CostInitialize">TARGETDIR == ""</SetProperty>. However, almost no one actually does this. Most WiX users go for the standard WiX MinimalUI or WiX AdvancedUI templates. Those are really old (10+ years) and not well maintained. Besides, most online examples are equally old and this keeps the "myth alive".
Most WiX examples use:
<Directory Id="TARGETDIR" Name="SourceDir">
    <Directory Id="ProgramFiles64Folder">
        <Directory Id="Vendor" />
            <Directory Id="APPLICATIONFOLDER" Name="YYY" />
        </Directory>
    </Directory>
</Directory>

The problem is that even if you override TARGETDIR, the next "child directory" (note: that is not the same as a subdirectory) immediately get set to %ProgramFiles64Folder%, as that is a predefined property. As a result, the TARGETDIR gets completely ignored and everything ends up below %ProgramFiles64Folder% again. Unless you override the very last directory in this list. In the example above that would be APPLICATIONFOLDER. That is what current WiX examples use: https://wixtoolset.org//documentation/manual/v3/wixui/dialog_reference/wixui_advanced.html. But in the past, it has been INSTALLLOCATION. And in fact, it could be anything. Even worse: if the Id of the final destination directory is not spelled in ALL-CAPPS, then you cannot even override it at all.
To be clear, the above example should read:
<SetProperty Id="TARGETDIR" Value="<enter default here>" Before="CostInitialize">NOT TARGETDIR</SetProperty>
<Directory Id="TARGETDIR" Name="SourceDir">

but (again): nobody actually does this.

How the -l and --location options work is defined by the InstallLocation field of the Installer Manifest.  As an example of how to get the -l and --location options working with WiX installers, check out the PuTTY manifest.  Specifically lines 14-15:
InstallerSwitches:
  InstallLocation: INSTALLDIR="<INSTALLPATH>"

In other words, this is not an issue with the client, but rather an issue with incomplete manifest files.

InstallLocation is actually defined automatically depending on the InstallerType in the manifest: https://github.com/microsoft/winget-cli/blob/5d63c3870e195c9b0ee1618902f6fa7aa43165d1/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp#L477-L509
^ This is the reason why all MSI / WIX manifests in the winget-pkgs repository don't have it. It's also the same with InstallerSwitches.
It does look like some installers work a bit differently—probably because of the differences between WIX and MSI which is why Python uses INSTALLDIR instead of TARGETDIR.

Some MSI files like Zeal are using INSTALL_ROOT to define the install location. Setting the value with --custom INSTALL_ROOT=path/to/dir works.
I am not sure if this is a standard property, but it seems there are more applications using it.


Made the diagrams colorful

Added a random hexadecimal generator on the Venn component to make the sets diagrams have different colors

done


Kill error handling

Because catching signals and exceptions only in debug mode felt weird. I had never before seen that "stability" alert before yesterday ;-).

I was really hoping this would get the Cube interface working again. Oh, well. :smile:


Methods on abstract implementations are lost when downcasting a mocked type

I'm using typemoq version 2.1.0 with typescript 3.4.5
I found an issue when mocking a type that implements an abstract method from a parent class.
The error seems to occur when the following are true:

a child class implements an abstract function from an abstract parent class.
the child class is downcast to the parent in some method.
the mock is set up to be an IMock of the child type.

Expected functionality: the child could mocked and still be cast to the parent type without losing implemented methods.  I don't know if this is a language limitation or not.
I don't have time to set up a working repo + test at the moment, but this is my current use case:
// model setup
abstract class Base {
  abstract myMethod(): Promise<void>;
}

class Child extends Base {
  public async myMethod(): Promise<void> {
  }

  public someCustomFunc(): void {

  }
}

class AService {
  public doStuff(model: Base): void {
    model.myMethod();
  }
}

// typemoq test verifies myMethod was called when invoking AService.doStuff.
const service: AService = new AService();

// does not work, model does not have a `myMethod` function on it when in `doStuff`. (error is thrown)
// I would expect this to work
const mockChild1: IMock<Child> = Mock.ofInstance(new Child());
service.doStuff(mockChild1);

I thought this one was working, but it looks like the function on the Child is still lost once I get into the doStuff method:
// works, has the `myMethod` function on it when in `doStuff`
const mockChild2: IMock<Base> = Mock.ofInstance(<Base>(new Child()));
service.doStuff(mockChild2);

There's something else going on.

Sorry, I was debugging one more potential fix, and I thought the function was missing in my unmocked scenarios, but I found it under the __proto__ property in the VS Code debugger.  My unmocked code works fine.


Add spellchecking to commit message textbox

If user misspells a word, underline the faulty word with a red squiggly line.
Enable this in configuration, and let user select their own dictionary.

Documentation here https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.spellcheck?view=net-5.0


Bump To Go 1.15.8

The main k/k repo was updated to Go 1.15.8 for the upcoming k8s v1.21.0
release. See below PR for reference.
https://github.com/kubernetes/release/issues/1895

CI jobs were already bumped to use 1.15.8: https://github.com/kubernetes/test-infra/pull/20808

/assign @damemi
/cc @ingvagabund

/lgtm


npm module name

@adamschwartz and I would like to publish the original chrome-tabs module on npm under the name chrome-tabs, but we noticed you are already using this name for br-chrome-tabs.
@alanshaw would you agree to rename your npm module to let @adamschwartz take over this name? We believe this would be clearer for users.
If you accept, I could contact the npm team to ask for the change. Otherwise we would publish chrome-tabs under another name.
Our full discussion: https://github.com/adamschwartz/chrome-tabs/pull/31#issuecomment-329553966
Thank you!

Yes I'd be happy to rename

Great, thank you!
I'll write an email to NPM.
@adamschwartz please send me your email address (contact at brrd dot fr) if you want to be in CC.

This is done, we'll publish it soon.
Thank you very much again @alanshaw


[bug] Autoware on Melodic. CMake Error ndt_cpuConfig.cmake: Project 'lidar_localizer' tried to find library '-lpthread'

Bug
CMake Error at Autoware/ros/install/ndt_cpu/share/ndt_cpu/cmake/ndt_cpuConfig.cmake:148 (message):
  Project 'lidar_localizer' tried to find library '-lpthread'.

Specifications

Ubuntu version: 18.04
ROS version: Melodic
Autoware branch: feature/melodic

Related to #2032
Source of the problem
Adding PCL to DEPENDS, includes -lpthread as a package when using PCL 1.8

This will be fixed on the next release of catkin
Melodic works fine using Shadow repositories.


Enhancementsupport fold constant for date_trunc()

Proposed changes
Issue Number: close #xxx

support fold constant for date_trunc()
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.37 seconds
stream load tsv:          507 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.9 seconds inserted 10000000 Rows, about 334K ops/s
storage size:<PHONE_NUMBER>4 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.17 seconds
stream load tsv:          528 seconds loaded<PHONE_NUMBER>9 Bytes, about 135 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>9 Bytes


AJAX popup inside popup.

Hi Y'all,
I'm having troubles finding a solution for opening an AJAX popup inside an AJAX popup. I'm using MFP for opening posts. I have 4 posts that shows more information when you click on it, by using AJAX functionality of MFP. Inside those popup with more information I'd like to those other posts. Nicest solution would be if it closes the first popup and re-opens the other. Does anybody have a solution for this? The code I'm using right now is very slim:
$('.js-ajax-popup').magnificPopup({ type: 'ajax', 			mainClass: 'mfp-fade', 			tLoading: 'Loading member of our team!', 			closeOnBgClick: false, 			removalDelay: 0, 		});
Thanks in advance!

Add this:
`		$(document).on('click', '.js-link', function(e) {
var url = $(this).attr('href').replace('http://your-url.com', '');
$.magnificPopup.close();
		$.magnificPopup.open({
			items: {
				src: url,
				type: 'ajax'
			}
		});

		e.preventDefault();
	});`


Add /apidocs/api-docs.json

I came across this endpoint in the wild, it was called by a Swagger UI to render the documentation for an API.
Can we add this to one of the lists? I didn't want to open a PR as I don't know which file (maybe more than 1?) would be best.
Maybe Discovery/Web-Content/quickhits.txt? or Fuzzing/fuzz-Bo0oM.txt?
The latter one already has api/swagger-ui.html, swagger-ui.html, swagger.json, etc which are related.

Feel free to make a PR!

Would be cool if we could also add /api-docs.
E.g. OWASP Juice Shop hosts a swagger documentation under this path.
SecLists/Discovery/Web-Content/swagger.txt seems to be a good file to add these entries.
@g0tmi1k Do you agree?

Sorry, I completely forgot about this issue. I've added them to Fuzzing/fuzz-Bo0oM.txt.
Discovery/Web-Content/swagger.txt has 4 lines, I don't think anyone uses that.

@NF997 - I do!


Depending on library in node_modules

I'm pretty new to Angular2+ and typescript and very new to bazel, so apologies if this is a very basic question.  How do I get bazel to "use" a library in node_modules?
I assumed adding the ag-grid related lines would add it.
filegroup(
    name = "node_modules",
    # NB: rxjs is not in this list, because we build it from sources using the
    # label @rxjs//:rxjs
    srcs = glob(["/".join([
        "node_modules",
        pkg,
        "**",
        ext,
    ]) for pkg in [
        "@angular",
        "@ngrx",
        "@types",
        "ag-grid",
        "ag-grid-angular",
        "ag-grid-enterprise",
        "protractor",
        "tsickle",
        "tsutils",
        "typescript",
    ] for ext in [
        "*.js",
        "*.json",
        "*.d.ts",
    ]]),
)

Here's the actual error:
: Can't bind to 'rowData' since it isn't a known property of 'ag-grid-angular'.
1. If 'ag-grid-angular' is an Angular component and it has 'rowData' input, then verify that it is part of this module.
2. If 'ag-grid-angular' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.

This error looks like it's coming the Angular template compiler - Have you added the correct @NgModule for ag-grid to your own @NgModule (I don't know ag-grid specifics). Perhaps these docs will help: https://angular.io/guide/ngmodules
I'm also running into issue importing external libs into our Bazel built project:
ERROR: /Users/matt/Documents/workspace/haystack/app/BUILD.bazel:17:1: Compiling Angular templates (ngc) //app:app failed (Exit 1)
: Error: Could not resolve ./clr-angular.ngfactory from<EMAIL_ADDRESS>
Have run ngc on the node_modules/@clr and added to the node_modules filegroup, but bazel doesn't link in the ngfactory.js file when running ngc in the sandbox.

Yep, added it to my own NgModule and can build successfully with the angular cli. Fortunately, we decided to lay off converting to bazel for now.


Can't use ODeck for OBS hotkeys if OBS isn't focused. Am I missing something?

Summary
I have ALT+SHIFT+F1 set to switch to a scene in OBS. I have configured ODeck to send that same key combo.
When OBS has focus, I tap the button on my phone and the hotkey works. If OBS is not in focus it does not.  When I do the hotkey manually on my keyboard, it works regardless of focus.
Have I missed something obvious here? This seems like a very basic use-case and I don't see an open issue for a bug like this.  On Windows 11, tried running ODeck as admin as well.

Have the same issue as well

I have the same thing as well. It's weird it seems that it actively will only send the command to the active window, instead of just sending it on a system level. Perhaps it should be configurable on the hotkey config if it should send it to system or to the focused application.


Auto complete not working as expected

Hi,
I'm a beginner developer and I've been using Brackets. I've decided to try Atom and I love it, but the auto complete isn't working the same way Brackets does. Here's what's happening:
1 - When I type for example "marg", it only shows me "margin". No margin-left, margin-right, nothing. Just margin. In Brackets it shows me all the options that contain the text "marg".
Atom 2 - https://snipboard.io/cq354w.jpg
Brackets - https://snipboard.io/IsaimZ.jpg
2 - I have an external CSS file with a class called "btn" (from Bootstrap). When I type "btn" it not only doesn't show me that option (and all the other that Bootstrap has such as btn-danger, btn-primary, etc), but it shows me other options that contain those letters, isolated, which doesn't make sense:
Atom 2 - https://snipboard.io/WMofTJ.jpg
Brackets - https://snipboard.io/Jab0n7.jpg
I'm using the latest version: 1.50.0
Mac osx 10.13.6
I have the packages that seems to be necessary (https://snipboard.io/RzEI18.jpg), but it's not working...
Can someone give me a hand? Am I missing something?
I really like Atom's workflow, themes, etc. And it seems to be faster than Brackets, so I would really love it to work.
Thanks! :)

First off, I think you should move this issue to Atom's autocomplete-plus package. Second, Atom's autocomplete is basically like Jedi for python. If you want more powerful autocomplete, look forward to TabNine or something..


Remove Generics from embassy-rp Pwm struct

This is based on the conversation on Element with @Dirbaio to the problem of being able to add different PWM stucts withing the same array.
https://matrix.to/#/!YoLPkieCYHGzdjUhOK:matrix.org/$fJxGz19y7xLRKlmtc-wOyqP-IXiaZ5IPY5OxoWwwFL4?via=matrix.org&via=tchncs.de&via=grusbv.com
Essentially:
        let mut pwm_config = Config::default();

        // Initial PWM duty cycle (bightness) - Range 0.0 (0) to 1.0 (65535)
        let duty_cycle = 0.5;
        pwm_config.compare_b = (duty_cycle * u16::MAX as f32) as u16;

        // (<LED ID>, <LED PIN>, <LED KIND>, <HANDLE>)
        let leds = [
            (
                0,
                0,
                "pwm",
                Pwm::new_output_a(slices.slice0, leds.led0, pwm_config),
            ),
            (
                1,
                6,
                "pwm",
                Pwm::new_output_a(slices.slice1, leds.led1, pwm_config),
            ),
            (
                2,
                7,
                "pwm",
                Pwm::new_output_a(slices.slice2, leds.led2, pwm_config),
            ),
            (
                3,
                8,
                "pwm",
                Pwm::new_output_a(slices.slice3, leds.led3, pwm_config),
            ),
        ];

This is not tested, I'm not really sure how to test it in the scope of this project. Also, please add any feedback! I kind of struggled through this using various resources to explain things like ChatGPT, so I'm not fully confident in this!

Thanks for the PR, looks good overall!
For testing I would suggest running some examples, such as this one, and check that it works. It'll also check the code builds (it doesn't right now). Or you can try it with your project where you originally found the issue with the generics.
Also you'll have to rustfmt the code to get CI to pass. You can do this with rustup install nightly and cargo +nightly fmt in the embassy-rp directory.

wow, you are awesome. I honestly gave up on it. Thank you!


Add runtime sub module

@felipecsl @martijnwalraven pls take a look
Resolves #19

Adding
licenses:
    - android-sdk-license-c81a61d9

or android-sdk-license-.+ under android in travis should fix the build.
Other than that LGTM.

@marwanad tried different combinations, still failing

Looked at the travis logs and found this:
Error: Ignoring unknown package filter 'build-tools-24.0.2'
Warning: The package filter removed all packages. There is nothing to install.
         Please consider trying to update again without a package filter.

Apparently, it's trying to fetch those from https://dl-ssl.google.com/android/repository/repository-10.xml while it should be using repository-11.xml.
This works for me:
android:
  components:
    - tools
    - platform-tools
    - build-tools-24.0.2
    - android-24
  licenses:
    - 'android-sdk-license-.+'

I assume this would always install the latest build tools.

@sav007 I've never really seen that licenses thing added to travis.yml before. Did you try without it?

@felipecsl I tried first time and it failed but will try again later

@felipecsl @marwanad finally fixed travis, so this PR is ready to go pls review again


Backport "Adjust the API name entry for nested classes" to LTS

Backports #20279 to the LTS branch.
PR submitted by the release tooling.

No regressions detected in the community build up to lts-20279.
Reference


Comments displaying multiple times, but only one remains after page reload

i'm having a problem with the comments showing multiple when submitted, but the duplicates (sometimes there is more than just one extra) disappear when the page is reloaded. i'm not initializing the JS twice in the application.js - just once for thecomments and once for thecomments_manage. any help appreciated. i recently added the jquery cookie js if that has any known implications. oh and added activeadmin as well.
Screenshot below:
https://www.dropbox.com/s/5r5lpmxvh1r7nds/Screenshot 2015-03-02 17.32.26.png?dl=0

Can we debug it together with skype or hangouts video conference? It's interesting problem, but I have to deep into comtext to find a solution

@jakeatwork
I saw into your application.js
//= require the_comments
...
//= require_tree .
You copied the_comments.js from gem and I think now it required twice
try to remove //= require the_comments

ok...so i'll mark this as closed.
was going back through old commits looking for timing and clues. found a commit where i added:
https://github.com/kossnocorp/jquery.turbolinks

i just removed, recompiled assets, reloaded server…and commented 8 times without a single duplication.
there is a troubleshooting guide on the jquery turbolinks page specifically for this issue.
apologies for the trouble, but really appreciate your help and attention.


Add contains function to Storage

Just adds a slightly easier and better way to check for the existence of a component on an entity.

This change is

@torkleyy I personally feel like that digs a bit too deep into how specs works internally.  More likely to confuse users than educate them on how to use the function imo.

That entities can be dead is far from an internal, users have to check livenes as soon as they store an entity somewhere.

@torkleyy I figured out a way to say it briefly, so I added the note.

bors r+


Refactor TwoPhaseFlow App

[ ] rewrite parun as pro using argparse
[ ] replace app option as subcommand and move over app-specific options to subcommand
[ ] split off some phases as subcommands (e.g. mesh)
[ ] move _p,_n,_so modules into single file using p/n/so object-based approach
[ ] move petsc options files into same single python file and set through petsc4py
[ ] create subdirectory for apps
[ ] refactor or remove fastarchive option if not needed
[ ] move static docs into doc directory
[ ] move examples into tests and enable travis on them--don't want any untested code in the repo

Sorry for the stuff about fast archiving. I was having some troubles when outputting big files here at Kaust so I introduced that to speed up the process but I was not intending to get that into master. And, by the way, it didn't help much.

No problem. Good to know the story behind it. The archiving needs a good cleaning soon, so I'd be interested it any performance information. We could probably add some options to selectively disable archiving for some fields.

@tridelat and @manuel-quezada  here is a simple example of object-based physics and numerics in a single-file problem description: https://github.com/erdc/proteus/blob/master/proteus/tests/periodic/duct.py
The basic idea is to just walk through the needed models setting up a default object and then overriding the options, then set up the global system parameters. e.g.
from proteus.defaults import (Physics_base, Numerics_base)
# Navier-Stokes physics
nse_p = Physics_base()
nse_p.LevelModel = RANS3PF.LevelModel.
...
# Navier-Stokes numerics
nse_n = Numerics_base()
nse_n =  LinearSolver.KSP_Petsc4py
...
# CLSVOF physics
clsvof_p = Physics_base()
...
# CLSVOF_numerics
clsvof_n = Numerics_base()
...
# global system
from proteus.default_so import *
pnList=[(nse_p, nse_n),
             (clsvof_p, clsvof_n)]
...

This avoids the necessity of doing from proteus.default_p import *, etc. and the dangers that involves due to the fact that Python modules are singleton. I would like to get rid of that last from proteus.default_so import *, but I have thought through the best way to do that yet. We could just have parun check for the existence of a single so object that could be initialized in the same manner.

It's not clear to me what the goal for TwoPhaseFlow is. With it's current capabilities, it looks like it's the interface which most users should be building cases in Proteus since it can handle domain generation, mesh generation, and analysis specification in a single file.
The initialization function of TwoPhaseFlowProblem assumes that the user is using some combination of a flow model and interface tracking models. Should it be allowed to handle single phase problems or should that be some other app like OnePhaseFlowProblem? As of now, it isn't very clean in terms of adding additional models like body dynamics.
For example, in the 2D floating body example, there's a need to specify the indices of the models:
https://github.com/erdc/proteus_tutorial/blob/master/2d/floating2D_chrono.py#L228-L233
In the dambreak case, there's no need to specify those indices because they're automatically defined via TwoPhaseFlow:
https://github.com/erdc/proteus_tutorial/blob/master/2d/dambreak.py

On a separate note, I think the initialization function can be condensed from
def __init__(self,
                 ns_model=0, #0: rans2p, 1: rans3p
                 ls_model=1, #0: vof+ncls+rdls+mcorr, 1: clsvof
                 nd=2,
                 # TIME STEPPING #
                 cfl=0.33,
                 outputStepping=None,
                 # DOMAIN AND MESH #
                 structured=False,
                 he=None,
                 nnx=None,
                 nny=None,
                 nnz=None,
                 domain=None,
                 triangleFlag=0,
                 # INITIAL CONDITIONS #
                 initialConditions=None,
                 # BOUNDARY CONDITIONS #
                 boundaryConditions=None,
                 # AUXILIARY VARIABLES #
                 auxVariables=None,
                 # OTHERS #
                 useSuperlu=True,
                 fastArchive=False)

to
def __init__(self,
                   domain = domain,
                   models = modelList,
                   other = otherOptions)

The boundary and initial conditions need to be attached to their respective models within Proteus anyway, so it's better to just have the user be directly responsible for adding it in after the TwoPhaseFlowProblem instantiation. Several of the other flags such as nd and he can be attributes of the domain object.
The modelList could be a user-defined list of model objects that defines the ordering of the staggered solve and allows users to easily incorporate body dynamics or any other model. To avoid new-user confusion, we could define a default_modelList = [rans2p_model,vof_model,ls_model,rd_model,mc_model].

My understanding is that  https://github.com/erdc/proteus/blob/master/proteus/TwoPhaseFlow/utils/petsc.options.asm is not a needed file anymore because of
https://github.com/erdc/proteus/blob/master/proteus/TwoPhaseFlow/utils/Parameters.py#L1483
from PR #954


Always get unauthorized access when setting up an openid authentication

Expected Behavior
Authentication using openId should work properly
Actual Behavior
it always returns 401, no matter if the authority exists or not
Steps to Reproduce the Problem
my ConfigureServices is:
services.AddAuthentication(options => {
                options.DefaultSignInScheme = CookieAuthenticationDefaults.AuthenticationScheme;
                options.DefaultChallengeScheme = "OrchardOpenId";
            })
                .AddCookie()
                .AddOpenIdConnect("OrchardOpenId", options =>
                {
                    options.Authority = "https://localhost:3000";
                    options.ClientId = "web-api";
                    options.ClientSecret = "38624481a0e34f56bfbb5d9557b38937";
                    options.ResponseType = OpenIdConnectResponseType.Code;
                    options.Scope.Add("openid");
                });
            services.AddOcelot();

the authentication is working fine if I'm not using ocelot
I am suspecting the cookie authentication is the source of the unauthorized error

Specifications

Version: 14.x.x
Platform: Windows
Subsystem:

I got a similar question.
when I pass bearer token  on the header.
the ocelot does not validate the token if the url do not need authorize.
I want the ocelot go check it ,when I pass the token.        if I do not pass it ,do nothing is ok
[14:58:25 DBG] AuthenticationScheme: Bearer was not authenticated.
[14:58:25 DBG] requestId: 0HLVIAG4VSOF8:00000001, previousRequestId: no previous request id, message: ocelot pipeline started
[14:58:25 DBG] requestId: 0HLVIAG4VSOF8:00000001, previousRequestId: no previous request id, message: Upstream url path is /api/ContentManager/article/all
[14:58:25 DBG] requestId: 0HLVIAG4VSOF8:00000001, previousRequestId: no previous request id, message: downstream templates are /api/ContentManager/{everything}
[14:58:25 INF] requestId: 0HLVIAG4VSOF8:00000001, previousRequestId: no previous request id, message: EndpointRateLimiting is not enabled for /api/ContentManager/{everything}
[14:58:25 INF] requestId: 0HLVIAG4VSOF8:00000001, previousRequestId: no previous request id, message: No authentication needed for /api/ContentManager/article/all
[14:58:25 INF] requestId: 0HLVIAG4VSOF8:00000001, previousRequestId: no previous request id, message: /api/ContentManager/{everything} route does not require user to be authorised
[14:58:26 DBG] requestId: 0HLVIAG4VSOF8:00000001, previousRequestId: no previous request id, message: Downstream url is http://localhost:55565/api/ContentManager/article/all
[14:58:26 DBG] requestId: 0HLVIAG4VSOF8:00000001, previousRequestId: no previous request id, message: setting http response message
[14:58:26 DBG] requestId: 0HLVIAG4VSOF8:00000001, previousRequestId: no previous request id, message: no pipeline errors, setting and returning completed response
[14:58:26 DBG] requestId: 0HLVIAG4VSOF8:00000001, previousRequestId: no previous request id, message: ocelot pipeline finished

We are not a consulting firm!
But I will explain...
You tried to register 2 auth providers but you hadn't shown us JSON config. This is the First mistake!
Your deafult scheme is CookieAuthenticationDefaults.AuthenticationScheme. I assume this provider affected your 2nd one.
That is why you had strange behavior.
Finally, I would say you used multiple auth schemes scenario! That was the root cause.
Multiple Authentication Schemes feature was implemented in version 23.0.0 only :))))


cherry toast not working in web

i m trying web not working why

@Refaydeen can you provide more details ?

I have the same issue:
This does not work
  void showError(String error) {
    CherryToast.error(
      title: const Text("Something went wrong!"),
      description: Text(error),
    ).show(context);
  }

@vanlooverenkoen can you provide the output of flutter doctor and also the exception thrown you have ?

No exception, flutter 3.16.5

Okay I will check it


[Feature Request] Real-time Collaborative Jupyter notebooks

Is your feature request related to a problem? Please describe.
Our team wants real time collaboration to share Jupyter notebooks with people who are both internal and external to SWB.
Describe the solution you'd like
Do you have any other recommendations to enable Jupyter notebook sharing or collaborative sessions without having to log in to AWS console?
Describe alternatives you've considered

We tested this Jupyter extension https://jupyterlab-realtime-collaboration.readthedocs.io/en/latest/
with two users on SWB with IP whitelisted in admin settings however the sharable link redirects to the AWS console login.
We also considered asynchronous sharing through GitHub repositories however would like to also protect the data (e.g. disable pushes to public repositories, disabled Jupyter file downloads to local machines).
When will the latest version of JupyterLab 4 be on the roadmap for SWB?

Thank you for reaching out. Your request has been added to our backlog for research computing solutions. Our
team curates these requests for fit with our solutions vision on a regular basis. Please watch this space for new
updates. If you require immediate assistance, please reach out to your AWS account team. Please note that
security issues should be reported directly to AWS Security at<EMAIL_ADDRESS>


Add Radiohead rebus

Add Radiohead rebus

Pull Request Test Coverage Report for Build 232

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

Totals

Change from base Build 227:
0.0%

Covered Lines:
113

Relevant Lines:
125

💛  - Coveralls

Awesome, thanks!


On macOS the global hook works only on the main thread

It appears that on macOS the global hook doesn't work correctly if started on any thread other than main - it will output some events, but after a short while it stops outputting anything. I have no idea how to fix this and whether this is a libuiohook issue or not.
This means that existing IGlobalHook and IReactiveGlobalHook implementations are unusable on macOS.

Ok, turns out that this is only an issue when the main thread doesn't run a message loop (e.g. in console apps). I've just tried to run a global hook on a separate thread in an Avalonia application on macOS and it worked without problems. I'm still going to mention it in the docs of version 2.0.0, but this issue can be closed.


support register array creation

add "type": "RegisterArray"

Hi!
This is frequently requested feature that eventually is going to be done. There is also quite similar issue for this #66, if you are interested.

thanks


Is the generation code unique?

Why are you asking? It's quite possible you'll generate the same code again with higher chances the shorter the code is.


Light Novels Translations

Source name
Light Novels Translations
Source link
http://www.lightnovelstranslations.com
Language
English
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Duplicate of #266


Use more compact encoding for NUMERIC with leading group(s) of 0

Diesel is not using the most compact possible encoding for NUMERIC values that end with at least one group of "0000" in their decimal representation.
For example, the value '100000000'::numeric can be encoded two ways using the Postgres binary protocol:
1/ weight==2 scale==0 sign==0 digits==[1, 0, 0]
2/ weight==2 scale==0 sign==0 digits==[1]
The Postgres server accepts both encodings, but the second one should be preferred since it is more compact on the wire (it is also the encoding used by the official libpq client library).
We discovered this because some other Postgres-compatible servers (CockroachDB in our case) handle the first form (used by Diesel) incorrectly, leading to data corruption issues. To be fair, this is a problem on their side, and not a sufficient reason to change Diesel's behaviour, but as this PR demonstrates, producing the compact format actually makes the Diesel code simpler AND more efficient.
This PR has been tested on both PostgreSQL 10 and CockroackDB 2.1.5, and works in both cases.

Sorry for being late. When I re-ran travis, this may require to rebase.

Rebased on latest master.

CI tests seem to be failing for an unrelated reason. Should I try to fix those here even though it's unrelated?

@mguillemot-tel Nightly pipelines are sometimes failed regardless of the PR. I want to check stable pipelines and Travis mainly.

The CI passes on other PR's so I don't see any reason why it shouldn't pass here.

Hmm, the log seems unrelated
error: variable does not need to be mutable
   --> diesel_cli/src/main.rs:430:17
    |
430 |             let mut file = fs::File::create(path)?;
    |                 ----^^^^
    |                 |
    |                 help: remove this `mut`
    |
note: lint level defined here
   --> diesel_cli/src/main.rs:2:9
    |
2   | #![deny(warnings, missing_copy_implementations)]
    |         ^^^^^^^^
    = note: #[deny(unused_mut)] implied by #[deny(warnings)]

error: aborting due to previous error

We should fix this but I think to separate pull-requests.

Sorry for the bump, is there a plan to merge this PR since it seems to be ok for everyone?

Is there any official documentation available for this?

Are there still plans to merge this? If so, what can I do to help push it over the edge? Is adding those explicit test cases a blocker?

@mwilliammyers This seems fine for me, I've probably just missed it back then. As there was no merge conflict I've merged it now.


Code explanation

Hi, there. Your work is appealing to me and I am trying to understand your code.
Could you kindly explain how you calculate the social welfare?
In particular,  why is the self.SW updated like this?
self.last_rewards_buffer += rewards
if any(dones):
for i, d in enumerate(dones):
if d:
self.last_rewards[i] = self.last_rewards_buffer[i].copy()
self.last_rewards_buffer[i] *= 0
                SW = (self.last_rewards * assignment_mask.detach().numpy()).sum().item()

                self.SW = 0.99 * self.SW + 0.01 * SW

Thank you very much.

Hi Luise,
self.SW is just used for logging (in the .log() method). It is estimated as a moving average of returns in the episode; the return itself is a sum of rewards in the episode over all agents w.r.t. their assignments to policies (eg in the EM algorithm, each agent is fully assigned to one policy).
Let me know if any other questions remain, I'll be happy to help.

I see. Could you explain where the weight 0.99 come from? Many thanks!

The weight doesn't really matter, it just smoothes the social welfare metric when logging.


clipboard: error invoking xclip: Error: Can't open display: <IP_ADDRESS>:0

After pressing the "" key I have about 1 minute of nothing happening. Then I get a message
clipboard: error invoking xclip: Error: Can't open display: <IP_ADDRESS>:0

and peekup window is open.

With set clipboard+=unnamed the issue is still there.
Actually, I can just get rid of $DISPLAY since I don't use it right now.
Just want to understand what is going on.
Please correct me:

:h clipboard says NVIM is using xclip if there is  $DISPLAY env variable.
xclip is supposed to be connected to some x11 server.
If there is no x11 server that ~1 min interval is some sort of timeout interval for this connection?

Ok. Thank you.


How to select current user?

Hi Team,
I am doing laraadmin project, While insert a new job how to select current user?
Means i want to insert current user in new module field.
Attached screenshot please help.

When you go to the template, look for the
@la_input(, '<field_name>', Auth::user()->id)
Add the third parameter

Thanks. It's working


Issue 53

Adds Floors to Libraries.  Basic CRUD only... interface updates necessary for better usability.

@sdellis generally you shouldn't merge your own PRs. Next time you have a PR that's ready to go, could you alert us so we can review and merge? All of these commits really should have been squashed into a single one.


[AzCopyV10][Perf] Set tier directly at time of upload (instead of a separate set tier call)

Setting access tier at the time of Upload, instead of invoking SetTier() method separately, will improve the performance.
Note 1: block-blob-tier flag is used to set access tier of block blob. Valid tiers are - Hot/Cool/Archive
Note 2: page-blob-tier flag is used to set access tier of page blob. Valid tiers are - P10/P15/P20/P30/P4/P40/P50/P6/P60/P70/P80.
e.g. "cp" "https://[accountName].blob.core.windows.net/[sourceContainerName]/[blobname]?[SASQuery]" "https://[accountName].blob.core.windows.net/[destinationContainerName]/[blobname]?[SASQuery]" --block-blob-tier="[valid-tier]"
For more information on access tiers, refer this.

The new error handling may need some analysis:

If the user specified a tier, and we weren't able to persist it, we should fail the transfer

To answer your first question, I am setting default blob tier in case I'm unable to set tier specified by user. This is totally because I think it would be bad customer experience to fail the AzCopy request after user has invested his network & time in uploading the blocks using Put Block call. If Put Block requests have succeeded but Put Block List fails, data uploaded by Put Block calls would be rendered useless. Earlier, we used to do Set Tier call separately which means even if the call fails the upload was successful.
For example: Suppose the customer is trying to upload 10GB blob. We first do Put Block calls and upload the data. Next we validate the tier but fails the request because we couldn't validate the tier. Data uploaded by Put Block calls would be rendered useless.
What do you think?

@mohsha-msft to be clear, we need to be extra careful when making a breaking change, since existing users would have made assumptions that we would fail the transfer if some part of the transfer wasn't done correctly.
Here is my question: how does the user notice that their tier wasn't set properly?


Variable date in file path?

Is there any way to use today's date as a variable in a source url?
I have a dataset that is updated weekly but the url path changes for each new release using the release date so it will immediately break after a week.
example URL:
https://grafws.kadastrs.lv/atom/ad/20241021/Address.gml.zip
Is it possible to do something like this?
https://grafws.kadastrs.lv/atom/ad/${today}/Address.gml.zip

There isn't. That'd be interesting, though. I'm not sure how we would implement that ... maybe templatized URLs?


fix: capture kusama spec id for native runtime version

Signed-off-by: Gregory Hill<EMAIL_ADDRESS>

Closing in favor of https://github.com/interlay/interbtc/pull/585


Create pipeline.groovy

Initial pipeline config file

/morph build

/morph build

/morph test

Build : PENDING
Build number : 6
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/3/


Jlama: support tools/functions in streaming mode

Tools/functions should be supported in streaming mode. Currently, they work only in sync mode.

Hi @tjake, does Jlama supports tools in streaming mode?

No, but I'm going to add it see https://github.com/tjake/Jlama/issues/94
I need to look at how localai does it since you don't want to stream the actual json call inputs


Added optionals

I added a small library that had been requested on this thread: http://forum.nim-lang.org/t/323.
I'm aware of the similar optional_t package, but...

My package uses casting and {.noInit.} to avoid overhead. This is important for implementing efficient generic source/sink operations, like D's range library, and sped up many of my benchmarks by over a factor of 5 (making them equivalent to raw loops, performance-wise).
My package is designed with naming/API conventions that are consistent with a much larger project I'm working on, as well as with the standard library (when to use typedesc vs explicit generic parameters, when to use adjectives vs. verbs vs. nouns, etc.) It may be a minor point, but my project is aimed at new developers, so every little bit of usability counts.

The documentation lives here.

Your GIT url is incorrect. It should point to the repo of the package.

Good catch; thanks! It was pretty late when I wrote this. It's fixed now.


NBS-4684: [Disk Manager] use proxy overlay disks in relocation if possible

need to use proxy overlay disk in relocation
now data path looks like
snapshot -> nbs control -> host with volume tablet -> nbs control -> snapshot
after this optimization it will be
snapshot -> nbs control -> snapshot

тут надо large тесты прогнать

тут надо large тесты прогнать

все ок
https://github.com/ydb-platform/nbs/actions/runs/7813679154


Pre-compiled packages do not install on Debian 11

Pre-compiled packages cannot be installed on the latest Debian release ("Bullseye") and probably other Debian derivatives. For instance, after installing the .deb package and running voice2json, it complains with:
ImportError: libffi.so.6: cannot open shared object file: No such file or directory

libffi6 is available for Buster, but not Bullseye, where it is instead libffi7.
Perhaps the Dockerfile can be updated and new pre-compiled packages released?

Hi @hendursaga
I've had the same problem, and could solve it with this thread from stackoverflow.
Hope it's useful for you.

@clarriu97, sadly that's a somewhat risky workaround, it would be good for at least the next release to use Debian 11. Unfortunately I can't seem to get the Docker build scripts to work on my system, so I can't do that for myself just yet.

I'm having the same problem. It would be great to upgrade the dependencies accordingly, I can't try voice2json for that reason.

@raphaelyancey  this worked in Ubuntu 2204: https://github.com/synesthesiam/voice2json/issues/66 sudo ln -s /usr/lib/aarch64-linux-gnu/libffi.so.7 /usr/lib/aarch64-linux-gnu/libffi.so.6


Redirecting / causes infinite loop

Issue Summary
Uploading a redirects.yaml containing
302:
  # temp landing page
  /: /welcome

causes site frontpage to redirect to an infinite loop of /welcome/welcome/welcome/etc.
Steps to Reproduce

Create redirects.yaml containing:

302:
  # temp landing page
  /: /welcome

Upload to Redirects in /ghost/#/settings Labs.
Visit site root domain.

Ghost Version
5.70.2+moya
Node.js Version
Ghost(Pro) Stable
How did you install Ghost?
Hosted on Ghost(Pro)
Database type
MySQL 5.7
Browser & OS version
Safari 17.1 on macOS 14.1
Relevant log / error output
Browser error: too many redirects (eventually)

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Use case: we are trying to put up a temporary landing page (/welcome/) directing visitors to a Kickstarter before we launch and start regular posts.

Not a bug.  You need to start the left part with ^, to indicate that it's the start of the path.

Aha! Didn't know it was RegEx—will try. Thanks!

Thanks for the suggestion @cathysarisky! 🙂
We have some docs here that mention some use-cases: https://ghost.org/tutorials/implementing-redirects/. Given there's a workaround for the root page, I'm going to close this issue 🙂


Add custom stage feature to the roadmap

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/approve


Use IClientAssertionCertificate instead

After my testing, there is issue in ClientAssertionCertificate to sign certificate. https://github.com/Azure/azure-libraries-for-net/pull/1041
I want to use the IdentityModel.Clients.ActiveDirectory.ClientAssertionCertificate, so I change the parameter to IClientAssertionCertificate instead

@ChenTanyi Any detail of the problem on ClientAssertionCertificate? It might help auth sdk fix that class.
I didn't find source code from Microsoft.IdentityModel.Clients.ActiveDirectory.ClientAssertionCertificate

https://github.com/Azure/azure-sdk-for-net/blob/45cdad6bc3f20b36220d303a44f99895bdba28b7/sdk/mgmtcommon/Auth/Az.Auth/Az.Authentication/ClientAssertionCertificate.cs#L44
https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/blob/68d7dea3643e075be85abbca1ab88ba614465541/src/Microsoft.IdentityModel.Clients.ActiveDirectory/Features/CertificateAssertion/ClientAssertionCertificate.cs#L101
This two signature algorithm is different. One is successful for the sendx5c certificate and the other is failed after my testing. I don't know the reason.
The error in oauth is
AADSTS700027: Client assertion contains an invalid signature. [Reason - The key was not found., Thumbprint of key used by client: '***', Please visit 'https://developer.microsoft.com/en-us/graph/graph-explorer' and query for 'https://graph.microsoft.com/beta/applications/***' to see configured keys]


Incognito cannot access URL

Looks like in incognito mode we need to open the image in a non-incognito window.
Maybe a result of changing from window.open to chrome.tabs.create?
https://github.com/mrcoles/full-page-screen-capture-chrome-extension/commit/ca5b989146f84089746054e75a716738e480937a#diff-d8c11c63dfd474a75f05fbbdba0889f8R268
Doesn’t appear to be an option to open a tab in a non-incognito window? https://developer.chrome.com/extensions/tabs#method-create
Potentially might have to identify incognito mode and tell the user to open the URL in a non-incognito window? (ugh…)

Fixed in https://github.com/mrcoles/full-page-screen-capture-chrome-extension/commit/8bf9f52633c117fecc36dab25b768a1266b20728 and released in v1.0.1


North Bay, Ontario

emailed:
beverley.hillier@cityofnorthbay.ca,peter.carello@cityofnorthbay.ca,Don.Norman<EMAIL_ADDRESS>

Hi Justin – Thank you for contacting the City.
May I ask what GIS data you are requesting and what the GIS data would be used for if our City policies would allow it to be shared?
Regards,
Tim Price
GIS Coordinator
City of North Bay
705 474 0626 x2117


Fixes use of NSError** in deleteDatastoreNamed:error method.

Checks NSError** before assigning value and uses a NSError*
localError object to pass into TD_Database methods.

@gadamc looks fine to me +1

Looks good, +1. This is a few days old, might need to rebase on master before merging.

Merging.


Pin Jinja2==3.0.3

Jinja2==3.0.3 for docs

Coverage increased (+0.03%) to 93.782% when pulling 5927e6f694615dadae71f29a8ee1b6daf1e00bb1 on Jinja2==3.0.3 into 97bbfbdd13c5dafabcd834d88dea2b004424f526 on master.


#ownership-transfer Various updates of Polidea ownership information to dotintent

Various replaces of Polidea info to Intent.
All places where MultiPlatformBleAdapter repo is mentioned where left intentionally as it probably needs to be synchronised with main repository of MultiPlatformBleAdapter upgrade.
Reference links in documenation needs to upgraded after sync with marketing team.
Android package name changed to: com.polidea.reactnativeble" but probably it needs to be checked if it's not causing any issues.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: Milosz Milewski:x: krzysztofwasilewskiMilosz Milewski seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


support document outlines

Could you please elaborate this a bit more?

PDFs can have document outlines built into them, e.g. open up https://manuals.info.apple.com/MANUALS/1000/MA1902/en_US/apple-platform-security-guide.pdf in Chrome or Firefox, and there should be clickable outlines available in the PDF viewer UI


STDERR isn't handled properly

Issue: When the program prints to stderr there are many rubbish information in before field.
Reproduce:
p = wexpect.spawn('cmd')
p.expect('>')
p.before
p.sendline('asd')
p.expect('>')
p.before

tests.test_constructor.TestCaseConstructor.test_constructor testcase fails due to this issue.

Same as #6. 89001c1 has fixed.


RFC: In-memory engine

Tracking issue: https://github.com/tikv/tikv/issues/16141
rendered

@afeinberg @tonyxuqqi PTAL


Create Prototyping Compliance Blueprints

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/compliance/index.md
:white_check_mark:Succeeded
View

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

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/compliance/uk-official.md
:warning:Warning
View
Details

docs/compliance/index.md
:white_check_mark:Succeeded
View

docs/compliance/uk-official.md

Line 31: [Warning] Invalid file link:(~/compliance/images/diagram.png?raw=true).
Line 432: [Warning] Invalid file link:(~/compliance/images/create-official-aads-rg.JPG?raw=true).
Line 455: [Warning] Invalid file link:(~/compliance/images/create-official-workload-rg.JPG?raw=true).

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

This was a test.


Unit tests for multiple options selected in select element

Test for #284 - Added unit tests for multiple values of select initially selected

@Svjard thank you :) this is great stuff!


Update key vault keys to enable live testing in sovereign clouds for multiple services

These changes enable key vault keys to run live tests against Public, UsGov and China.
Fix https://github.com/Azure/azure-sdk-for-js/issues/18414
Update file: keyvault-keys/tests.yml
Update to manage HSM tests in sovereign clouds

Pipeline results:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1167620&view=results
@benbp, @ramya-rao-a, @AlexGhiondea, @maorleger for notification.

Thanks @zzhxiaofeng!


RemoveFromNavigation Keeps Page and PageModel Alive

If you remove a page from the navigation stack by calling:
CoreMethods.RemoveFromNavigation<PageModelHere>();
The PageModel is kept alive because the next PageModel in the stack still holds a reference to it in PreviousPageModel. The Page is also kept alive because the PageModel has a reference to it.
This isn't a problem if you are removing the previous Page from the navigation, as in:
Page A > Page B
inside Page B's PageModel you would do:
CoreMethods.RemoveFromNavigation<ExtendedSplashPageModel>(true);
PreviousPageModel = null;

Now Page A and Page A's PageModel are cleared from memory.
In my case I was just removing the previous page from the navigation stack, so it was simple to fix my little leak. If you have a complex navigation stack, I imagine it can get a little tricky to find the right PageModel to remove the PreviousPageModel from.

Are you sure with that? did you profile it? i have this usage also very often and i am seeing that pages are removed without from the stack. because when I click back button i am not page A. i never needed PreviousPageModel = null; How did you come to that conclusion?

if you theory is correct, it will be enough to extend

        /// <summary>
        /// Removes current page/pagemodel from navigation
        /// </summary>
        public void RemoveFromNavigation ()
        {
            this._currentPageModel.PreviousPageModel = null;
            this._currentPageModel.RaisePageWasPopped ();
            this._currentPage.Navigation.RemovePage (_currentPage);
        }

But how should we handle in case we have navigation like below
A->B->C->D
you want to remove B and C when you are on D.
I guess if you remove C successfully without having any reference on D. B should be also removed.

CoreMethods.RemoveFromNavigation<CPageModel>(true);
CoreMethods.RemoveFromNavigation<BPageModel>(true);

Depends how you want to do it. If you have A->B->C->D and you remove B and C, you could update Ds PreviousPageModel to A or just null it. In my app it starts and I show an ExtendedSplashPage on Android and UWP. The ExtendedSplashPage just does some loading and initializing then pushes the Home Page. I only do it this way because when setting MainPage in Xamarin Forms it causes a brief flicker. So I just set the MainPage to my NavigationContainer and then remove the ExtendedSplashPage because its only needed briefly in the beginning and then never again.


Sizing of the panels

Propose and develop the solution so that the sizing of the panel is nice
Like, we want size and color to be of a certain min-size and max-size
While we want find to be a different, a larger max-size, because of the long list. let it expand height while the others would stay small.
If the dialogs don't fit in their min-size, then let the lowest dialog behave like a any other button that is not in buttons_expand, so let it collapse. The rest would resize to fill the space as long as their max-size would allow

I couldn't see it working (Mac + Chrome)
in this case it would be reasonable to let the list in "Find" dialog fill the space, rather than to have it blank
you need a generic solution to distribute free space between dialogs height based on their "needs". Size and Axes need fixed height, Color and Stack need minimum, some stretching if it has a scrollable list in it, and maximum, find needs minimum and then as much as possible. Sometimes color, find and stack come together and they need to share it smart!

SOLUTION
This can be easily done with flexbox.

Checkout the prototypical code I wrote here:
http://codepen.io/arthurcamara1/pen/yYogZz
How does it work?
The expanded sidebar is styled as:
display: flex

All sidebar dialogs and buttons container have the following:
flex-grow: 0

The Find dialog (or others that expand) are styled as:
flex-grow: 1;
overflow: auto; //to allow scrolling

We should add a property to control which dialogs grow or not here: https://github.com/Gapminder/vizabi/blob/develop/src/components/buttonlist/buttonlist.js#L46 . That will add a class to the dialog to be styled like the Find example above

@Rathunter

HI @Rathunter :) Any progress on this? Need help?

I have tried what you have suggested. Applying dispay:flex to the parent and flex-grow to children has worked on the top level as you could see from the code that was merged in by Angie. This does position the little buttons on the bottom and grows the panel that holds the expanded dialogs to 100% of what height is left.
The issue I am having now is how to position the dialogs inside the panel as the HTML structure is this way:
 (style = {display:flex, flex-direction: column;})
    (style = {flex-grow: 1;})

  (style = {flex-grow: 0;})

How do I make the dialog1, dialog2, dialog3 flex-grow or not grow within the dialogs container?
Do I need to make the dialogs and buttons on the same level (in html)?

@Rathunter aha, I see. You can solve that by applying another layer of flex-box, in the dialog itself. We could apply flex-grow to the containe, along with another display:flex; flex-direction:column in each dialog wrapper, and apply flex-grow to the divs inside the dialog.
Let me try to draw it to make it clear:

Notice the flex-grow: 1 both in the outter div (dialog) and in the inner panel of "Find" (the one that will actually fill up the space).
Of course, this is generic with any dialog (not necessarily "Find", but the ones we define was "growable")
IN PRACTICE, THE SOLUTION IS
Container .vzb-dialog-side: flex-grow: 1 or flex-grow: 0 depending on whether it grows or not.
Dialog wrapper .vzb-dialog-modal: display: flex; flex-direction: column
Dialog title .vzb-dialog-title: flex-grow: 0
Dialog contents .vzb-dialog-content: flex-grow: 1 or flex-grow: 0 depending on whether it grows or not.
Let me know if you run into trouble :+1:

Also, make sure the compiled final version contains the correct prefixes. It's supposed to be included automatically by autoprefixer. But if it's not, you might have to add them yourself. I would assume it's added automatically.
Useful reference: https://css-tricks.com/using-flexbox/

I tried what you have suggested. Not getting the desired results.

looks like done, but i can't test on my small screens yet


Can't make install on osx

I am trying to make install but I am getting the below error for all utils. I've tried on stable(1.17.0) and nightly(1.19.0).
.../coreutils/target/release/deps/yes: No such file or directory

when I look in target/release/deps, yes and others are there but with an identifier on the end.
yes-b02caf29803c0e4b

Sorry for the lack of response.  The Makefile hasn't really been kept up-to-date, so the best way to install atm is probably through Cargo.  I'll try to update the Makefile when I have time.

This should be fixed now, but let me know if there's still an issue.


Installation requires Browserify module

gulp-coffeelint 0.4.0 is used, which depends on CoffeeLint.
With CoffeeLint 1.11.1 everything builds fine, but now that 1.12.0 is released, npm install in my project fails, as it requires Browserify as the error output below shows.
><EMAIL_ADDRESS>install /home/app/node_modules/gulp-coffeelint/node_modules/coffeelint
> cake install

module.js:340
    throw err;
          ^
Error: Cannot find module 'browserify'
  at Function.Module._resolveFilename (module.js:338:15)
  at Function.Module._load (module.js:280:25)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object.<anonymous> (/home/app/node_modules/gulp-coffeelint/node_modules/coffeelint/Cakefile:10:16)
  at Object.<anonymous> (/home/app/node_modules/gulp-coffeelint/node_modules/coffeelint/Cakefile:90:4)
  at Module._compile (module.js:456:26)

It looks like this is similar to issue #385.

@swang the problem here is that prepublish didn't run. I have no idea why npm just doesn't bother to run it sometimes. I just got in the habit of running npm run prepublish before npm publish.

https://github.com/clutchski/coffeelint/issues/385#issuecomment-75477031

Sorry for causing trouble. I just don't have a better solution yet that satisfies:

Must be able to install from GIT
Must be able to install from npm
Must NOT ship browserify/coffeeify when installing pre-compiled from npm

OK I just pushed 1.12.1, hopefully that should fix this.

@AsaAyers, @swang: Thank you very much for the quick responses and the release of 1.12.1!