Syntax highlighting wrong with single backtick

Description
When code blocks with a single back tick have syntax highlighting applied, the results can sometimes be weird, this was especially noticeable with comments/
#set raw(lang:"python")

// good
```
# comment
for i in range(10):
  print(i)```

// bad
`# comment
for i in range(10):
  print(i)`

Reproduction URL
No response
Operating system
No response
Typst version

[X] I am using the latest version of Typst

Hi, this is because content in a single-backtick pair is treated as one line, despite linebreaks in the content. I can confirm by printing the line: https://github.com/typst/typst/blob/41db766b83bad4c4671423c03c5e54f308032e7b/crates/typst/src/text/raw.rs#L386
and observeing "for i in range(10):\n  # comment\n  print(i)".
Code blocks are identified by triple-backtick pairs, not by linebreaks in the content. For another example, in the code snippet below, both # comment and print(i) are given the color of comment, because in Typst's view this is not a code block.
#set raw(lang:"python")

`for i in range(10):
  # comment
  print(i)`

Therefore, I'd say this issue is WAI.

I think I disagree. The fact that it's not block-level doesn't mean that lines shouldn't be highlighted separately.

The fact that it's not block-level doesn't mean that lines shouldn't be highlighted separately.

Hmm, but in lexer.rs raw(), only blocky_raw() does the line-splitting operation with split_newlines() (and then perform a series of ops on the individual lines) , when there are more than tree backticks. If the backticks are fewer, i.e. the raw content is not recognized as "blocky", then there is no "trimming or extra fancyness", which sounds like processing as is.
https://github.com/typst/typst/blob/41db766b83bad4c4671423c03c5e54f308032e7b/crates/typst-syntax/src/lexer.rs#L272-L279

Raw text with single backticks are not really intended to be used in a multi-line scenario as they are an inline objects. Can be seen below:
#set raw(lang: "python")

// good
alpha ```
# comment
for i in range(10):
  print(i)``` beta

// bad
alpha `# comment
for i in range(10):
  print(i)` beta

However, if they still span multiple lines, highlighting should account for that in my opninion. It's just that nobody considered this case before, so the code in the lexer doesn't handle it.


Old Nvidia driver compatibility

Feature request
Add CUDA compatibility package (https://docs.nvidia.com/deploy/cuda-compatibility/#installing-title) to docker image
Motivation
There are some cases when updating Nvidia driver is impossible or very hard (for example, in large clusters). For that cases, Nvidia developed compat package. It would be perfect If it was added to official docker image.
Your contribution
.

Sorry we're not going to do that.
This bloats the official docker image for everyone including lots of users that do not require this.
Also most actual kernels will simply not work on older cards, no matter the amount of compat.
TGI attempts to gracefully downgrade itself on older archs, but it's perfectly OK if the best possible deployments requires new cards and capacities.


page differs a lot from git content

[Enter feedback here]
Hi there, I created my files step-by-step using the given code on the page, but did not succeed. Then I cloned the git and compared it to what I did. I found my error (one file was accidently empty) but also a good number of differences - maybe worth updating the code blocks at the page here as well.. :-)
loeten

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

ID: cff30850-fbce-1c4d-8979-561e84b09c78
Version Independent ID: ad8742e7-a4c7-5b1a-1b68-dc7c14edc3ac
Content: Tutorial: Create a JavaScript single-page app that uses auth code flow - Microsoft identity platform
Content Source: articles/active-directory/develop/tutorial-v2-javascript-auth-code.md
Service: active-directory
Sub-service: develop
GitHub Login: @hahamil
Microsoft Alias: hahamil

@loeten Thank you for your feedback . We will investigate and update the thread.

@j-mantu

#reassign: @SaeedAkhter-MSFT

GitHub user hamiltonha has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

@SaeedAkhter-MSFT @EmLauber Who can take a look at this? It's over 250 days old and might no longer be an issue, but we need someone to look at it. If no one on your team can do so, let me know and I'll reassign it to someone that can. Thanks!

#reassign:@henrymbuguakiarie

Hello @loeten,
We've updated the code blocks in this article to match our sample code.
@SaeedAkhter-MSFT I updated the article to use out-of-repo snippet references in this PR https://github.com/MicrosoftDocs/azure-docs-pr/pull/193864 to fix GitHub issue #193864. Unknowingly, the fix also fixes this issue.

#please-close


Connecting Existing User Database

Hi,
I would like to use dex for a microservice based architecture. I went through the docs and also got the sample app working. Though I am still in doubt if dex would allow me to connect my existing database and authentication logic build on top of it for authenticating the users. if yes, do suggest me how can I achieve the same. Thanks.

Dex doesn't have a way to connect to user databases per say, it connects to other user management systems through protocols like LDAP, SAML, or OAuth2. If your user database implements any of these protocols dex can use it to back user login.
There's been discussion about a more general backing mechanism, but I have some concerns about some of those proposals https://github.com/coreos/dex/issues/1020
Closing since there's not a bug or proposal here.


Ignore additional keys passed to namedtuple structures

This really hacky change makes it so changes to APIs which in turn instantiate structures in structures.py don't completely fail if a key has been added to the API (which would make the constructor for the associated namedtuple fail).
It was in response to the v1 API for Ombi v4 failing for TV shows, essentially leaving the functionality broken because of a small API addition.
It works by wrapping itself around (essentially decorating) typing._make_nmtuple and removing kwargs that aren't defined in the namedtuple before creating it.
There are a host of different solutions to this, but this changes as little as possible, it really just removes keys before the object is sent to the namedtuple constructor if they would cause an error.

Unfortunately, this is a bit too hacky. I would much rather put in the changes to the Tuples. I believe that we did something with Tautulli that does not require us to add Tuples. Maybe we can look into that code and replicate the same thing.


Does not work. Bad tutorial.

Hi,
This tutorial does not work. I have followed it to the letter several times and things grind to a halt here.
I get to this point
Test the app
Run the app and append /Movies to the URL in the browser (http://localhost:port/movies).
and get a 404 Page does not exist.

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

ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
Content: Part 2, add a model
Content Source: aspnetcore/tutorials/razor-pages/model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hi @markquinnuk
We have about 50,000 customers per month telling us it does work. Are you using the right port #?

Hi,
Visual Studio chooses the port and this is randomly chosen each time the
application is run. I don't think this is the reason for the issue I am
having.
The fact that you say customers confuses me. I am talking about a free
intro tutorial to ASP.NET Core that I am following on a Microsoft site
here Tutorial:
Get started with Razor Pages in ASP.NET Core | Microsoft Docs
https://docs.microsoft.com/en-gb/aspnet/core/tutorials/razor-pages/razor-pages-start?view=aspnetcore-5.0&tabs=visual-studio
.
I have followed the guide precisely with a fresh install of Visual Studio.
Three times I have got to the same point and it has not worked. I will get
round to trying a fourth time but I am following another guide here that
actually works https://www.youtube.com/watch?v=BfEjDD8mWYg
When I go to do the scaffolding in your tutorial it fails and I restart VS
and then it works. I think the problem I am having must have something to
do with this. The app has no route for localhost:#####/movies basically. I
think I remember a long time ago there being an issue in VS where you had
to build the project before scaffolding. This other tutorial I am following
builds the CRUD by adding a controller and this works fine.
Thanks,
Mark
On Sat, 1 May 2021 at 17:52, Rick Anderson @.***> wrote:

Hi @markquinnuk https://github.com/markquinnuk
We have about 50,000 customers per month telling us it does work. Are you
using the right port #?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/AspNetCore.Docs/issues/22175#issuecomment-830660975,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3TX64HKPXPJZQTSD2AW2TTLQWU7ANCNFSM436BS3IQ
.


Use this with mocha-phantomjs

Does it make sense to use this bridge WITH another middleware like mocha-phantomjs?  Or is mocha-phantomjs another bridge as well?

I am not too familiar with mocha-phantomjs so I don't know what you would do with it.

This package is a node client. So you would write javascript code in a file. ie.
var phantom = require('phantom');

phantom.create().then(function(ph) {
  ph.createPage().then(function(page) {
    page.open('https://stackoverflow.com/').then(function(status) {
      console.log(status);
      page.property('content').then(function(content) {
        console.log(content);
        page.close();
        ph.exit();
      });
    });
  });
});

and run it with node example.js. This package is not a command line tools.

what do you mean by "node client"?  it's a bridge right?  when you run it with node example.js you are able to run mocha tests around the code above too?  and then see those tests results in the terminal?  Like can I wrap that code above into a test is what I'm asking

Yes it is a bridge in node to work with phantom. You use it with mocha or any other test framework. Again, I am not too familiar, mocha-phantomjs. If you can write js code, then you can use this.

So lets say I have the following my-spec.js:
'use strict';
var expect = require('chai').expect,
phantom = require('phantom'),
status,
page,
pageStatus;
before(function() {
phantom.create().then(function(ph) {
ph.createPage().then(function(page) {
page.open('https://stackoverflow.com/').then(function(status) {
pageStatus = status
})
});
});
})
describe('can get an instance of a phantom js page', function() {
it('should have a page to work with', function() {
// use the page instance here in my test
})
})
so how would I run this from the command-line?

I have no idea. It depends on your test framework. I think this is a question for stackoverflow.
For this project I use jasmine and gulp. You can read the source if it helps.

I am just trying to understand if anyone out there is using this like I'm trying here and why it would be failing like this? if I have your bridge in my require and using that to call commands on it, why would it fail? At the top of my spec is phantom = require('phantom')

I'm using mocha-casper now.


Migrated to Elm 0.17

and re-formatted using the latest version of elm-format

Very cool to see this working with SVGs now! I'll merge this but I think I'm going to reorganize a bit. Instead of e.g. drawCollage and drawSvg, I'd like to put each into a submodule. So we'd have something like TreeDiagram.Svg.draw and TreeDiagram.Collage.draw, etc.

That sounds good! Let me know if you need help with that :)

OK merged in some of this, reworked other parts to avoid needing to introduce the CanvasNodeDrawer/SvgNodeDrawer stuff. Just published the new package as version 2.1.0.


Add more type and mutability checks

Checks if a variable is declared mutable and if not, if its being mutated.
Checks for valid mutable borrows (but doesnt check for multiple mutable borrows yet).

Codecov Report
Attention: Patch coverage is 58.92857% with 46 lines in your changes are missing coverage. Please review.

Project coverage is 58.26%. Comparing base (dd268ff) to head (8f629c1).

Files
Patch %
Lines

crates/concrete_check/src/lib.rs
0.00%
40 Missing :warning:

crates/concrete_ir/src/lib.rs
87.50%
4 Missing :warning:

crates/concrete_ir/src/lowering.rs
95.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #124      +/-   ##
==========================================
- Coverage   58.44%   58.26%   -0.19%
==========================================
  Files          35       35
  Lines        4363     4466     +103
==========================================
+ Hits         2550     2602      +52
- Misses       1813     1864      +51

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add timeout option in the verify cmd

This PR will cover story: https://issues.redhat.com/browse/HELM-324
If the chart contains hooks that takes more time to finish installation and test a release, timeout is implemented (with default value of 30 mins) as total time chart-verifier should wait till the chart install and test finishes.

@tisutisu
Please also update the README file to include the new option and some words about it.
Also would be good if the message said what the timeout was set to and advise user to consider increasing the default timeout by setting the new option, if more time is needed.

@tisutisu Please also update the README file to include the new option and some words about it. For example if you need to set it to higher than 30 it would be advisable to submit the report because the certification process will use the default. see: https://github.com/redhat-certification/chart-verifier/blob/main/docs/helm-chart-checks.md#procedure
Also would be good if the message said what the timeout was set to and advise user to consider increasing the default timeout by setting the new option, if more time is needed.

Updated the readme file with words about timeout option in the latest commit 1762b72.
@mmulholla Would like know more about the improvement you suggested for error messages.


Is this going to be part of DotNet Standard?

Is this going to be part of DotNet Standard? We really need system.drawing to be cross platform.

No

Add brushes and fill out the format support and we're pretty much there.
https://github.com/JimBobSquarePants/ImageProcessor


Update _setmode() to clarify Unicode mode use case

_setmode() is designed to be used only with wide print functions. You can piece this together by cross referencing what Unicode Mode implies with the wprintf page, but the purpose should be called out explicitly here.

@stwish-msft : Thanks for your contribution! The author, @, has been notified to review your proposed change.

@corob-msft : Thanks for your contribution! The author, @, has been notified to review your proposed change.


Lack of cancel handling in Android, possibly memory leaks

Hello Miguel,
I'm working on an application using this excellent plugin, and I noticed that FilePicker does not callback if I close file picker in Android.
Because of this, await FilePicker.getFilePath() function call never returns, and occurs memory leaks.
https://github.com/miguelpruivo/plugins_flutter_file_picker/blob/master/android/src/main/java/com/mr/flutter/plugin/filepicker/FilePickerPlugin.java#L50
if user closes file manager, OS calls onActivityResult() and sets resultCode to Activity.RESULT_CANCEL.

Hi. Looks like a dup of #28. This is already being done. Looking forward a new version with this and more later this week.
Thank you.

Thank you for your quick response.
I checked issue #28 and branch #Roadmap-1.3.0, but it looks like another issue.
Main cause of this issue is, program doesn't call result.success(null) when (resultCode == Activity.RESULT_CANCELED).

Ok. That's actually when you dismiss the picker and the event is not handled. This is already being handled on iOS but not on Android. I'll add it to the coming update too since it doesn't add much overhead.
Re-opening.
Thank you for the feedback.

Version 1.3.0 was deployed on dart pub and fixes this, alongside with other requested features and bug fixes. See changelog.
Make sure you clean and change your pubspec to the latest version: file_picker: ^1.3.0
Thank you for your feedback.


Removed % from being baked into json.

% is a UI related thing. Perhaps best not to bake it into the json.

Need to check with openoms and rootzoll if they need the % baked into sync_percentage. The usage of sync_behind is still in TODO.

@FeedMyTummy They gave a thumbs up.
There is no option to merge a draft, need get out of dratf form


⚠ Mobitopup has degraded performance

In aad475e, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 12931 ms

Resolved: Mobitopup performance has improved in 3e7d176 after 421 days, 10 hours, 43 minutes.


TAS: KEP update for API

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
To reflect API decision changes during implementation:

better comments
change the TopologyAssignment in workload:

use domain rather than group consistently
break nodeLabels for domains into order list of keys common for all domains, and ordered list of values. This saves a lot of space for large assignments, avoiding duplication of the keys.
included example here

Which issue(s) this PR fixes:
Part of #2724
Special notes for your reviewer:
Does this PR introduce a user-facing change?
NONE

/cc @tenzen-y @PBundyra

/cc @mwielgus @alculquicondor

/lgtm
/hold so @tenzen-y  can take a look

/lgtm

/hold cancel


[tool] allow override of default cache location

Use case
On Linux, both on desktop and CI containers, it might be useful to have a separate installation location of the Flutter tool itself and its cache. This could simplify shipping Flutter and increases security as a host can have one Flutter installation with no need of write access on its installation folder.
Proposal
I would like to propose to introduce an environment variable or a config file users may configure Flutter's cache directory with.
This could be e.g.:

FLUTTER_CACHE_DIR as variable
/etc/flutter/config or /etc/default/flutter as env file

The Flutter tool should then use the respectively configured cache location for the cache instead of /path/to/flutter/bin/cache
This could be even extended to an option like FLUTTER_CACHE_PER_USER to have the cache per user and so independent of the Flutter installation (which could be system-wide too).
Aside of easier configuration, this could also simplify automated shipment of the Flutter tool including automated updates of the installation.

Stupid question, if it is implemented for integration testing, can one somehow pretend to be in integration test in order to use a custom cache location?

I'd like to implement this as the following:

introduce an optional command line flag --cache-location
the environment variable FLUTTER_CACHE_LOCATION
as started with https://github.com/flutter/flutter/pull/107121 (some environment variables read from platform), I'd extend this to additionally source /etc/default/flutter (in case it exists) in the shell-part of Flutter on Linux

Would you be okay with this configuration hierarchy?
I think then, it's pretty easy for distributors to ship a Linux-style Flutter package having a proper configuration in /etc, the Flutter installation in /usr/share and the cache /usr/lib instead of a unified installation for each user. As a reference, I will implement this in https://github.com/frealgagu/archlinux.flutter

I'd like to implement this as the following:

introduce an optional command line flag --cache-location
the environment variable FLUTTER_CACHE_LOCATION
as started with feat: introduce environment variables for args #107121 (some environment variables read from platform), I'd extend this to additionally source /etc/default/flutter (in case it exists) in the shell-part of Flutter on Linux

Would you be okay with this configuration hierarchy?
I think then, it's pretty easy for distributors to ship a Linux-style Flutter package having a proper configuration in /etc, the Flutter installation in /usr/share and the cache /usr/lib instead of a unified installation for each user. As a reference, I will implement this in https://github.com/frealgagu/archlinux.flutter

ahh, so you are frealgagu from the AUR, nice to meet you!
This all sounds reasonable. I would suggest starting with a short design document, however: https://github.com/flutter/flutter/wiki/Design-Documents. This is not too complicated a change--however, there are some tricky aspects, which is why I haven't implemented it yet. The most important thing (similar to the #107121 proposal) is that we ensure that every reference in the codebase to the cache location is updated to a single source of truth which contains the fallback logic. I seem to recall there are a lot of places where we hardcode this.
In addition, the design doc should look at how to test this; we will likely need some kind of integration test to verify that the different methods of specifying a non-standard location, and the fallback order.
If you're still interested, I would be happy to discuss further on your design doc, and alternatively on our discord server, in the #hackers-tool channel. Thanks!

ahh, so you are frealgagu from the AUR, nice to meet you!

Unfortunately no, I'm just another contributor of the AUR package, responsible for some more recent changes.

ahh, so you are frealgagu from the AUR, nice to meet you!

Unfortunately no, I'm just another contributor of the AUR package, responsible for some more recent changes.

Ahh, I see, I read it wrong.

Of course I can write a design doc, but I don't like to use privacy-regressive, closed-source software like Google Docs. I can anyway create a corresponding, publicly commentable RFC. Same applies to usage of Discord for communication.
The tests are a difficult thing here, as I don't see Dart's test framework made for this. I anyway think it should be possible to spoof environment variables and correspondingly run the tests with several predefined sets of them each.

this change won't be able to be merged without sufficient testing.

I hope so. No tests, no merge.
The rule is easy and it would be irresponsible in regard of long-term evolution of Flutter to disrespect it.

But also, there's a simple rule: If you can implement it, you can test it. So I'm sure I'll find a way to test the cache location override.


Specify center of the map for multiple pins

I have two locations on the map and two markers are appearing in the desired location, however the automatic center point calculated to fit the two markers is not correct. Here's how it looks like

Here's how it should look like

So the center of markers are coming in the pacific ocean, but I want it to be in the atlantic ocean. I've tried the center options of google api but it had no effect.
new Maplace({
        map_div: '#map',
	locations: markersData,
	generate_controls: false,
	map_options: {
		center: new google.maps.LatLng(34.679859, -13.858490),
		zoom: 3
	}
}).Load();

As per documentation, the setting is: set_center: [<lat>, <lon>],


1809 Build 17763 SmartScreen still functions

I did some online research before posting this 'issue' so I'm fairly confident that this is new to build 17763. My prior Optimize-Offline 17134 build works as expected.
In build 17763, 'SmartScreen' (C:\windows\system32\smartscreen.exe) occasionally runs when starting an application.
My image used Optimize-Offline to successfully disabled Windows Defender and I've confirmed that all the "Removing Windows Defender Remnants" registry settings are still correctly applied.
If it turns out that I'm alone with this issue, than, please let me know so I can try and figure out if I've done something stupid.
Else, if this is a known problem, do you have a suggested solution?

Though later than anticipated, I do have an update on this.  In builds RS5+ (17763+) smartscreen.exe will silently connect to the internet using both inbound and outbound traffic.
I have been working on an optional 'New-UserSetup' automated script that can be optionally run on a live system to do some further automatic optimizations.  I will include a fix for this when I release that script.  You could also just add it new firewall rules for it:

New-NetFirewallRule -DisplayName "SmartScreen Inbound" -Action Block -Description "Prevent SmartScreen Inbound Traffic." -Direction Inbound -Name "SmartScreen" -Profile Any -Program "%SystemDrive%\Windows\System32\smartscreen.exe" -ErrorAction SilentlyContinue | Out-Null

New-NetFirewallRule -DisplayName "SmartScreen Outbound" -Action Block -Description "Prevent SmartScreen Outbound Traffic." -Direction Outbound -Name "SmartScreen" -Profile Any -Program "%SystemDrive%\Windows\System32\smartscreen.exe" -ErrorAction SilentlyContinue | Out-Null

belated thanks!


Allow to use http package instead of http2

A few months ago, we had to switch the request logic to http2 since Figma APIs need HTTP2 to support large responses from this API.
This works well on mobile, but not on web, where HTTP2 isn't surfaced (the current FigmaClient implementation can't be used with web target) and is just used under the hood when available . This means that regular http requests become in fact HTTP2 requests under the hood, depending on the web browser and requests headers.
To summarize, we have to use http2 on mobile/desktop, and http on web.

Somehow this never got into my inbox so I'm super late to this, but thanks a bunch!


BootstrapCircleThumbnail with ImageView exposed

thanks for a great library!
I'd like to load an image into a BootstrapCircleThumbnail using the Picasso library, but I can't get access to the thumbnail's ImageView which I'd need to pass to Picasso like so:
Picasso.with(inflater.getContext()).load(group.profile_picture_url).into(imgView);
Any way the library could expose the ImageView?
keep up the great work

Fixed in 2.0.0


Clip Duration Slider value changes the size of the window depending on Value Decimal

When using the Clip Duration slider in the Remix mode, the value changes the size of the window as well as the placement of the word "duration" in relation to the word "clip" which causes a visual jittery effect.
If the value has zero, one or two decimal places (3, 1.3, 0.78), the word "duration" is next to the word "clip"

But if the value has 3 decimal places, the word "duration" moves below the word "clip" which causes all the other elements below that word to move as well (particularly the waveform).

All those elements are constantly moving up and down as you change the slider value as a result of this. Perhaps just have the slider value always read with 3 decimals regardless (1.000, 1.010, 1.100 etc)
I noticed a similar issue with the clip start slider, but that only affects the slider track moving back and forth as the decimal values change.
I would also like to suggest reducing the amount of time for the clip duration slider to allow for easier fine tuning of samples. It seems unlikely someone would want to have a 10-20 second sample when they only have 4 beats to work with. Maybe 5 seconds at most to allow for easier fine tuning with the slider. It seems more likely someone would prefer to be able to easily shave a couple decimal points off of the duration with the slider. I realize this can be done with the keyboard arrows but that may not be obvious to everyone.
Love the project!!!

Thank you for catching this!  I applied a fix for this; as you saw, the slider was automatically resizing based on the length of the decimal places.  So I applied a fixed with for both labels.
You should see the change take effect in the next 24 hours, thanks again!


version 1.0.4 fails to run on php 5.4

PHP 5.4, supported by Magento1, fails to run MEQP1 on standard version 1.0.4
You can see the problem here: https://travis-ci.org/centerax/magemonkey/jobs/170160022
The error message is: PHP Fatal error:  Call to undefined function MEQP1\Sniffs\Classes\array_column()

@centerax, thank you for reporting this issue. We opened an internal ticket to fix this bug.


Error Couldn't find a working directory

Hi, thank you for this cool extension.
I get error every time running the test.
Couldn't find a working directory.
That's all what I get in the terminal output and popup notification.
I install the extension in vscode-server a.k.a via Remote SSH, where the project directory is inside docker that can be accessed with SSH. So I try calling phpunit with SSH command to the docker container (from Remote SSH session workspace).
My config is like this:
                "phpunit.testExplorer.folderPattern": "app/code/Vendor/**/{test,tests,Test,Tests}/**/*.php",
		"phpunit.commandLine.args": [
			"-c",
			"/home/cloudpanel/htdocs/project/dev/tests/unit/phpunit.xml"
		],
		"phpunit.testExplorer.verboseTestExplorerOutput": true,
		"phpunit.execPath": "/usr/bin/ssh -t -t root@localhost \"cd /home/cloudpanel/htdocs/project; /usr/bin/php /home/cloudpanel/htdocs/project/vendor/bin/phpunit\"",
		"phpunit.testExplorer.showOutput": "always"

I've checked with different settings and it runs well now. phpunit.workingDirectory config set to "Parent" resolve this issue.
My configuration is now like this:
"phpunit.testExplorer.folderPattern": "app/code/Icube/**/{test,tests,Test,Tests}/**/*.php",
"phpunit.testExplorer.showOutput": "always",
"phpunit.testExplorer.verboseTestExplorerOutput": true,
"phpunit.commandLine.args": ["-c", "/home/cloudpanel/htdocs/project/dev/tests/unit/phpunit.xml"],
"phpunit.workingDirectory": "Parent",
"phpunit.experimental.ssh.enable": true,
"phpunit.experimental.ssh.host": "localhost",
"phpunit.experimental.ssh.user": "root",
"phpunit.experimental.ssh.paths": {
	"/home/me/projects": "/home/cloudpanel/htdocs"
},
"phpunit.experimental.ssh.args": "-t -t \"cd /home/cloudpanel/htdocs/project; /usr/bin/php /home/cloudpanel/htdocs/project/vendor/bin/phpunit\""

I don't use phpunit.experimental.useRelativePaths since it still triggers error:
Cannot open file "project/app/code/blablabla/DataTest.php".

And I try setting phpunit.configurationPath with useRelativePaths false, but still get error:
Could not read "/home/cloudpanel/htdocs/project/dev/tests/unit/phpunit.xml".

Thank you. This issue can be closed now.

Update:
Turns out that the SSH experimental config aren't functional yet. And actually my setup is not running phpunit with SSH into docker, but immediately execute the phpunit binary in the Remote SSH session.
But, it's OK enough that the setup is able to read the configuration without useRelativePaths. The latest config is:
"phpunit.testExplorer.folderPattern": "app/code/Vendor/**/{test,tests,Test,Tests}/**/*.php",
"phpunit.configurationPath": "/home/me/projects/project/dev/tests/unit/phpunit.xml",
"phpunit.testExplorer.showOutput": "always",
"phpunit.testExplorer.verboseTestExplorerOutput": true,
"phpunit.workingDirectory": "Parent",
"phpunit.execPath": "/home/me/projects/project/vendor/bin/phpunit",
"phpunit.experimental.useRelativePaths": false

The output is just as expected:
PHPUnit 9.4.4 by Sebastian Bergmann and contributors.

Warning:       Your XML configuration validates against a deprecated schema.
Suggestion:    Migrate your XML configuration using "--migrate-configuration"!

.                                                                   1 / 1 (100%)

Time: 00:00.038, Memory: 16.00 MB

OK (1 test, 1 assertion)

-------------------------------------------------------

Glad to see you got it working! I will remove the useRelativePaths as I also was never able to get it working. I will have to spend some more time looking into getting it working better with Docker and SSH, but since this is able to work with the workingDirectory addition those changes are not pressing and may take longer for me to complete.


About the relationship between custom attributes and UANodeSet Schema objects

I noticed that some objects are defined under the package com.digitalpetri.opcua.nodeset.attributes to wrap the UANodeSet.xsd object
But I did not find a one-to-one mapping relationship
I guess class ObjectNodeAttributes  is the wrapping class UAObject, But it is missing the ParentNodeId attribute.
The class Node in UANodeSet.xsd defines the following inheritance relationship
UANode-> UAInstance -> UAObject
UANode-> UAInstance -> UAVariable
This is a great project, but I am a little confused. Will this part continue to improve?

These aren't wrappers for the objects in the UANodeSet, they are just "data" classes holding the parsed attributes for Nodes of each NodeClass.
They can be used, along with the parsed reference collections, to build an AddressSpace with all the Nodes defined in a UANodeSet file.
It might be a little unclear how to use this library right now because I haven't finished building and open sourcing anything that uses it yet, but here's an example (may or may not be its final form): https://gist.github.com/kevinherron/b4268328c3daeec74343ee82b872aef0

Thank you for your reply


Support for GNOME 42

Changed syntax for GNOME 42 support based on ccat3z commit #be84012aa1a94ee4f527d7d40ec4d812f116ef6b in the Tudmotu's original repository. Removed support for GNOME 41 and 40, as I can't test, they are also removed in Tudmotu's repository (#5256a4fc1f46cac15e926fbaf11f2041c671b162).
Thank you for great work :)
P.S. This is my first pull request, if I messed something please let me know.

please merge it coz i got new issues to open


[nghttp2]: update to v1.48.0

You have modified or added at least one vcpkg.json where you should check the license field.

Done !

The git hash in the version database is wrong. Please run vcpkg x-add-version nghttp2 --overwrite-version to fix this.

Thank you!


Fix dead link in HACKTOBERFEST.md

fixes  #1238
The word "guides" was missing in the url.

Great catch!


Misleading error message on task run

Issue Description
Was playing around custom release tasks (uploaded via tfx)
And all consequent releases were failing with the error message (see "Actual behavior")
According to that message I was trying to build task binaries in a different ways (like x64 only, then AnyCPU again) and was failing again after upload and release re-run.
But then I realized that the very first sentence in the whole message can be the case.
And that's how I found that you can't have this lines in your task.json
(Actually we have a lot of "old" tasks definitions with such a lines.):
"preJobExecution":{}
"postJobExecution":{}

while in schema:
"type": "object",
      "additionalProperties": false,
      "description": "Execution options for this task (on Pre-Job stage)",
      "properties": {
        "Node10": {
          "$ref": "#/definitions/executionObject"
        },
        "Node": {
          "$ref": "#/definitions/executionObject"
        },
        "PowerShell3": {
          "$ref": "#/definitions/executionObject"
        },
        "PowerShell": {
          "$ref": "#/definitions/executionObject"
        }
      }

Expected behaviour
Some sort of failed validation error against tasks.schema
Actual behaviour
Got this error message:
##[error]A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'. Contact the task author for more details.
Steps to reproduce

Create & build any simple Powershell task
Make sure that you have line like this: "preJobExecution":{} in your task.json definition
Upload task to target ADO collection via tfx
Try to create & run new release with this only task

Hi @denis-shemenko thanks for reporting of this issue - let us take a look if we could improve message here.


How to define custom LinePatterns?

Question: (Ask your question here)
There seem to exist only four predefined line patterns (Solid, Dashed, DenselyDashed, Dotted) which is not enough for my use case. Is there any plan to extend the list or is there a recommended way to define my own line patterns?
ScottPlot Version: (What NuGet package are you using?)
5.0.39

You might want to throw support at #4275

I'm about to merge #4275, then this will work 👍
LinePattern customPattern = new([2, 2, 5, 10], 0, "Custom")

https://scottplot.net/cookbook/5.0/Scatter/ScatterLinePatterns/


inset_axes for geographic plots

Description
inset_axes doesn't work for geographic plots.
Steps to reproduce
import proplot as plot

f, axs = plot.subplots(
    ncols=2, axwidth=2.5,
    proj='robin', proj_kw={'lon_0': 180}
)
axs.format(
    suptitle='Figure with single projection',
    coast=True, latlines=30, lonlines=60
)

axi = axs.inset(
    [0, 0, 10, 10], transform='data', zoom=True,
    zoom_kw={'color': 'red3', 'lw': 2}
)

Error
Traceback (most recent call last):
  File "test_del.py", line 16, in <module>
    zoom_kw={'color': 'red3', 'lw': 2}
  File "/yin_raid/xin/miniconda3/envs/python37/lib/python3.7/site-packages/proplot/subplots.py", line 217, in _iterator
    ret.append(func(*args, **kwargs))
  File "/yin_raid/xin/miniconda3/envs/python37/lib/python3.7/site-packages/proplot/axes.py", line 1334, in inset_axes
    bb = locator(None, None)
  File "/yin_raid/xin/miniconda3/envs/python37/lib/python3.7/site-packages/proplot/axes.py", line 348, in inset_locator
    bb = mtransforms.TransformedBbox(bbox, trans)
  File "/yin_raid/xin/miniconda3/envs/python37/lib/python3.7/site-packages/matplotlib/transforms.py", line 1005, in __init__
    raise ValueError("'transform' must be an instance of "
ValueError: 'transform' must be an instance of 'matplotlib.transform.Transform'

Proplot version
0.5.0

This is actually not an advertised feature but it's on my to-do list under the category "make XYAxes features work with rectangular projections like Mercator and Plate Carrée". See #131 for details.
Will leave this issue open as a feature request for now. As a workaround you can probably make your own inset axes using e.g.
import cartopy.crs as ccrs
ax = fig.add_axes([x0, x1, y0, y1], projection=ccrs.PlateCarree())
ax.set_extent([lon0, lon1, lat0, lat1])
<plotting_code_here>

@lukelbd
I tried this feature again:
import proplot as pplt
import cartopy.crs as ccrs

pplt.rc.reso = 'med'
fig, axs = pplt.subplots(proj='pcarree')
axs.scatter(120, 30)

bounds = (1, 1, 1, 1)
# bounds = (118, 28, 4, 4)

axs.inset(bounds, proj='pcarree',
          zoom=True,
         zoom_kw={'color': 'red3', 'lw': 2, 'ls': '--'}
         )

axs.format(coast=True, lonlim=(100, 130), latlim=(15, 40))

The bounds are relative to axis, is it possible to use lon and lat?
If I set transform='data', I got this error:
~/new/miniconda3/envs/pyresample_min/lib/python3.8/site-packages/matplotlib/cbook/__init__.py in _check_isinstance(_types, **kwargs)
   2244     for k, v in kwargs.items():
   2245         if not isinstance(v, types):
-> 2246             raise TypeError(
   2247                 "{!r} must be an instance of {}, not a {}".format(
   2248                     k,

TypeError: 'transform' must be an instance of matplotlib.transforms.Transform, not a cartopy.crs.PlateCarree

In v0.7 I try to translate transform='data' into transform=ccrs.PlateCarree() so that you can position with longitude-latitude bounds rather than map projection bounds... but I guess matplotlib's axes positioning system can't handle cartopy transforms like it's plotting commands can.
You can use transform=ax.transData instead for now

@lukelbd  Thanks, here's the example:
import proplot as pplt
import cartopy.crs as ccrs

pplt.rc.reso = 'med'
fig, axs = pplt.subplots(proj='pcarree')
axs.scatter(120, 30)

bounds = (120, 18, 10, 10)

iax = axs.inset(bounds, proj='pcarree',
                transform=axs.transData,
                zoom=True,
                zoom_kw={'color': 'red3', 'lw': 2, 'ls': '--'}
               )

iax.format(lonlim=(118, 122), latlim=(28, 32), labels=True, dms=False)

axs.format(coast=True, lonlim=(100, 130), latlim=(15, 40))

However, the scatter is missing, labels are wrong and no "zoom in" lines are plotted:

This seems to work pretty well for Plate Carree projections in the latest version. Have to set manually set the left/bottom spaces or else the result is wrong... but not too much effort.
import proplot as pplt
import cartopy.crs as ccrs
pplt.rc.reso = 'med'
fig, axs = pplt.subplots(
    proj='pcarree', coast=True, tight=True, bottom=7, left=1
)
fig.format(lonlim=(0, 180), latlim=(0, 90))
axs.scatter(120, 30)
bounds = (0.8, -0.6, 0.8, 0.8)
iax = axs.inset(bounds, proj='pcarree', zoom=True, zoom_kw={'ec': 'red', 'lw': 2})
iax.format(coast=True, rivers=True, lonlim=(100, 130), latlim=(15, 40))
fig.show()

Non-Plate Carree are a different story thought. Again matplotlib isn't supplying the correct source:
import proplot as pplt
import cartopy.crs as ccrs

pplt.rc.reso = 'med'
fig, axs = pplt.subplots(
    proj='robin', coast=True, tight=True, bottom=7, left=1
)
fig.format(lonlim=(0, 180), latlim=(0, 90))
axs.scatter(120, 30)
bounds = (0.8, -0.6, 0.8, 0.8)
iax = axs.inset(bounds, proj='pcarree', zoom=True, zoom_kw={'ec': 'red', 'lw': 2})
iax.format(coast=True, rivers=True, lonlim=(100, 130), latlim=(15, 40))

Since the issue with using the wrong "transform" is fixed I'll change this back to "feature".


HOME and END stop working after using fzf

Like the title says, HOME and END keys stop working for me after I've started and exited fzf.
This only happens for one command, though, so after I abort or perform the command, HOME and END start working again.
I'm on Ubuntu 14.10 with fzf 0.9.13. This happens for me in the terminals Sakura, and Gnome terminal, but not in Terminator.

I don't have a linux desktop environment so I can't be of help on this at the moment. Maybe if you could provide a Vagrantfile or something for the environment, that would be helpful. Anyway I wonder if other users also experience the problem.

Nope, never seen anything like this

Some additional clarificaiton: I'm using Zsh, and HOME produces \eOH before invoking fzf, and \e[H afterwards. I just tested in Bash, and I can't reproduce the error there. Might be something in my Zsh config.

I am having the same issue but I'm running fzf on OS X (10.11.4) under iTerm (2/3 tried both). I'm also running zsh.

I have a probably related issue: HOME, END and all the F* keys do not work and insert a ~ instead. The problem doesn't persist after exiting fzf though. I'm using zsh and urxvt.

Hmm, I still can find a way to reproduce the problem. Note that it's normal that the function keys from F5 give ~ as they are currently not supported. And as a workaround you can use CTRL-A and CTRL-E instead of HOME and END.

Ok. So HOME and END are supposed to be supported?

Yeah, I use OS X and they work in iTerm2, Terminal.app and Neovim terminal buffer. But I just confirmed that they don't work correctly in urxvt as you reported. I'll look into it when I get some time, but I don't use urxvt, so any help is appreciated. A quick googling points me to the following link, might be relevant:
https://wiki.archlinux.org/index.php/Home_and_End_keys_not_working#URxvt.2FRxvt

@junegunn Thanks for the link. This fixed it. Not sure why I've never seen that in any other application though ^^. Sorry for the noise.

Quick update: the fix @junegunn gave me made HOME and END work in fzf but now they don't work in neovim.
I added a comment at the end of this issue: neovim/neovim#4308
Basically, if I add to Xdefaults:
urxvt*keysym.Home: \033[1~
urxvt*keysym.End: \033[4~
urxvt*keysym.KP_Home: \033[1~
urxvt*keysym.KP_End:  \033[4~

then HOME and END work in fzf but not in neovim, and if I remove that, it works in neovim but not in fzf. In both cases, both neovim and fzf work in tmux.
So I'm at a loss as to how to debug that. Any tips would be appreciated.

@guiniol Did you also do the terminfo steps at  https://wiki.archlinux.org/index.php/Home_and_End_keys_not_working#URxvt.2FRxvt ?
If Xdefaults is sending sequences that don't match terminfo, neovim (and other apps that respect terminfo) won't interpret them correctly.

That fixed it, thanks.
I don't understand why urxvt would do something so not default, and how this issue has never arisen in all the years I've been using it.

Reading https://github.com/junegunn/fzf/blob/3e1d6a7bcf2a47a494d602389fda415d8fad8e03/src/curses/curses.go#L495 it seems that fzf is not reading the terminfo and assuming the values for the various escape codes. It would be better to read these values from the terminfo. I have no idea if that's a lot of work, or if there is a library or anything. If this issue is still there when I get around to it, I'll take a look.

This issue seems to arise because, after using the fzf Zsh widget, the terminal will not be in application mode anymore. As a result, the terminfo sequences won’t be valid anymore, and will cease to work for people how bound Home and End using these sequences.
I don’t know why exactly the widgets switch away from application mode. Either something in the widget processing will cause zle-line-finish to be called (which switches off application mode in my setup), or curses does this (which seems probable).
Since the fzf widgets alter the terminal settings (by calling a curses application), one would probably expect that they restore the original terminal state; so, a fix for this issue would probably go there. I’m not sure which way to go about it best, though. Some options:

switch back into application mode at the end of each widget unconditionally - this resolves this issue for me, but I’m not sure if there are any drawbacks for folks who don’t set the terminal into application mode in their setup

detect whether the terminal is in application mode and restore it conditionally

I went for a slightly different solution. Since I couldn’t find a way to query whether we are currently in application mode, so that it can be conditionally restored, we simply run the special hook zle-line-init when widgets are finished. In setups using this hook to set the terminal into application mode, this will do the right thing and fix the issue.

@eigengrau Great, thanks for the patch! Seems to make sense. Can you post a simple configuration file or script that reproduces the problem we're discussing here? I'd like to locally reproduce the problem on my vanilla zsh and confirm that the patch fixes the issue before merging it.

I'd like to locally reproduce the problem on my vanilla zsh and confirm that the patch fixes the issue before merging it.

Sure. Actually I made a reproducer config while researching the cause.

So here’s the gist.


Can't install winston due to some missing dependency flatmap-stream@0.1.0??

Please tell us about your environment:

winston version?

[x] winston@3
[ ] winston@2

_node -v outputs: v8.11.4
_Operating System? Windows
Language? (all | TypeScript X.X | ES6/7 | ES5 | Dart)

What is the problem?

I am unable to install winston. Every time I try to install it i get the following error and the installation fails.
npm ERR! code E404
npm ERR! 404 Not Found<EMAIL_ADDRESS>

I am still getting the error.
> npm i --save<EMAIL_ADDRESS>npm WARN tar ENOENT: no such file or directory, open 'F:\dev\proj-mustang.api\node_modules\.staging\fsevents-f6d04cf9\node_modules\node-pre-gyp\lib\util\nw-pre-gyp\index.html'
npm WARN tar ENOENT: no such file or directory, open 'F:\dev\proj-mustang.api\node_modules\.staging\fsevents-f6d04cf9\node_modules\node-pre-gyp\lib\util\nw-pre-gyp\package.json'
npm WARN tar ENOENT: no such file or directory, open 'F:\dev\proj-mustang.api\node_modules\.staging\fsevents-f6d04cf9\node_modules\node-pre-gyp\lib\util\s3_setup.js'
npm WARN tar ENOENT: no such file or directory, open 'F:\dev\proj-mustang.api\node_modules\.staging\fsevents-f6d04cf9\node_modules\node-pre-gyp\lib\util\versioning.js'
npm ERR! code E404
npm ERR! 404 Not Found<EMAIL_ADDRESS>

@DABH globally installing<EMAIL_ADDRESS>is working (npm i -g<EMAIL_ADDRESS>but locally installing the package is giving the aforementioned error. Please help me with a solution as this is very important to me.

@DABH flatmap-stream  is precisely the malware package that was injected into event-stream as a dependency by the hacker who was given commit rights and npm access to event-stream. The malware/event-stream dependency has now been removed from npm, which is why it's erroring out for recent event-stream versions.
In principle, reverting back to<EMAIL_ADDRESS>should take care of the problem since you can't modify existing npm packages, but personally I'd remove the event-stream dependency altogether if it were my package and find or write a similar library.
If you must keep the event-stream dependency, I'd remove it from packages.json and vendor the exact version (3.3.4) needed into the package via the event-stream git repo. I wouldn't trust npm for safe access to the package since the event-streams npm owner is/was compromised.

I fix my issue by removing my package-lock.json and nodes_modules and reinstall everything.
But as @esbullington said, i will thinking about removing this dependency in my projet.

It seems flatmap has been taken off npm, so when's the tentative date for a fix or is there an alternative way of installing winston?

This is unrelated to winston – I suspect it is from perhaps an old package-lock.json or potentially a transient dependency removing event-stream.
For further clarity: winston does not take any dependency on event-stream – and it never directly took any such dependency. There may have been a transient dependency that did (which has since removed it following the issue report – but I cannot speak to that).
 If you believe the above is in error – please reach out to me directly on Twitter. My DMs are open @indexzero.

Friendly npm protip. When in doubt:
rm -rf node_modules package-lock.json npm-shrinkwrap.json
npm install

If that still doesn't work you can:
rm -rf node_modules package-lock.json npm-shrinkwrap.json
npm install --prefer-online

If that still doesn't work you can:
npm cache clean --force
npm install


Do some Magic trickery and allow determination of an item in PlayerPicksUpItem event

Do some magic trickery.
@Morphan1 suggested this could be done with event.getItem().setItemStack(ItemStack); (changing the item the entity holds), which I can agree with being plausible. Will test soon and fill in the blanks.

I've been unable to get event.getItem().setItemStack(ItemStack) to work...
@Morphan1 maybe


Editor crashes when importing meshes without a material

Godot version
4.0 alpha 9
System information
Windows 10, Vulkan, NVIDIA GTX 850M
Issue description
Importing a GLTF scene containing a mesh without a material consistently crashes the editor when clicking the material in the Material tab or trying to extract materials.
Steps to reproduce
Bring the attached GLB to the file system (it is just a simple scene with a box mesh and no material assigned to it, exported from Blender 3.1), double click it to open the advanced import menu, go to the Material tab and click the empty material slot (or go to Actions... > Extract Materials and choose any folder)
The editor should crash.
Minimal reproduction project
GLB Scene: box.zip

editor/import/scene_import_settings.cpp:722:34: runtime error: member call on null pointer of type 'struct TreeItem'
editor/import/scene_import_settings.cpp:722:34: runtime error: member access within null pointer of type 'struct TreeItem'

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.alpha.custom_build (1baee2189c21ae36c852ddff10f769b1134509ca)
Dumping the backtrace.
-- END OF BACKTRACE --
================================================================

Probably fixed by https://github.com/godotengine/godot/pull/61678. Same function.

Fixed by #59834.


I recommend combining timing and timing management, Display timed expressions in the workflow definition list

In the current version, after adding a timer, you need to enter the timing management page to go online .
The  timing expression for the online timing  that needs to be viewed again on the timing management page. If there are multiple timings, you need to enter the timing management page one by one. This is not intuitive

I recommend combining timing and timing management into one, and the workflow definition list shows timing expressions.
Do you have any comments or ideas to discuss!
1.当前版本，新增定时后，需要再次进入定时管理页面上线定时，操作比较繁琐
2.上线的定时表达式需要再次进入定时管理页面查看，如果有多个定时，每个都需要进入定时管理页面查看，感觉不是很直观。
我建议将定时和定时管理合并成一个，且工作流定义列表显示定时表达式。
大家有什么意见或想法都可以提出来探讨一下！

very good, I have the same idea.
@break60 can do this as xingchun said.

This has been discussed with Xingchun earlier. Personally, I recommend clicking the timing management button to display the timing edit box, adding a run cancel timing button, and adding a crontab field to the list.
@qiaozhanwei Please confirm this function
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2020年1月1日(星期三) 晚上9:21
收件人<EMAIL_ADDRESS>抄送: "数码港"<790061044<EMAIL_ADDRESS>主题: Re: [apache/incubator-dolphinscheduler] I recommend combining timing and timing management, Display timed expressions in the workflow definition list (#1659)
very good, I have the same idea.
@break60 can do this as xingchun said.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

my suggestion:

i think the timing button should be shown on every definitions, user can operate timing easily.
there should have online/offline function on the scheduler edit page.
the scheduler management button display on the process definition page independently, such as after the import/export buttons, or somewhere else.

+1

In each workflow definition, show timing button when adding, show timing editing button when editing
Click the timing button to pop up a new timing pop-up box, save the timing and directly jump to the timing editing page, you can go online / offline, edit, delete. At the same time, the timing button on the workflow definition page becomes a timing edit button
Click the timer edit button to enter the timer edit page

The timing management page only displays the "timing" information of all workflows that have "timing added" under "this item", adding a selection box before each row of data and adding a full selection in the header
Timing management page can search timing information according to "workflow name";
Only when the workflow status is online and the timing status is offline, can the batches be scheduled online.
Only when the workflow status is online or offline and the timing status is online, can the batch be scheduled offline.
The timing status is offline, so you can delete timings in batches.

1.定时管理页面只显示“该项目”下“已添加定时”的所有工作流的“定时”信息，每行数据前增加选择框，表头增加全选；
2.定时管理页面可以根据"工作流名称"搜索定时信息;
2.工作流状态是上线且定时状态为下线，才能批量定时上线；
3.工作流状态为上线或下线且定时状态为上线，才能批量定时下线；
4.定时状态为下线，才可批量删除定时。

+1

+1

+++++1

+1

+1

定时管理页面建议加上定时的“上线时间”/"下线时间"，清晰管理定时上线/下线记录


General commitments

This PR add support for !(:commit …) and !(:open …) commands from the clutch REPL. It incidentally also renames the function map and related types/directories in fcomm to be more general, since there was not actually anything function-specific (apart from the names) about them. NOTE: this does mean that any local committed functions will no longer be findable unless migrated manually.
Two-arg !(:commit …) adds a secret, but somewhat counter-intuitively reverses the args from what .lurk.hide does. Maybe we should add !(:hide …). Likewise, a one-arg commit command that produces a random secret (like in fcomm). We could also just mirror fcomm, with no default 0 secret… and with the one-arg version giving the random secret.
See example below. The REPL is closed and reopened between commitment and opening.
clutch git:(general-commitments) ✗ bin/clutch
    Finished release [optimized] target(s) in 0.13s
     Running `/Users/clwk/fil/lurk-rs/target/release/clutch`
Lurk REPL welcomes you.
> !(:commit "Now for something completely different.")
(comm 0x25acba3a8f7d7925bdc099e2ded42942fe0fbf5847279686cadc9f785315035b)
>
Exiting...
➜  clutch git:(general-commitments) ✗ bin/clutch
    Finished release [optimized] target(s) in 0.13s
     Running `/Users/clwk/fil/lurk-rs/target/release/clutch`
Lurk REPL welcomes you.
> !(:open 0x25acba3a8f7d7925bdc099e2ded42942fe0fbf5847279686cadc9f785315035b)
"Now for something completely different."
>

NOTE: this does mean that any local committed functions will no longer be findable unless migrated manually.

Do we have files for committed functions somewhere? We could use snapshot testing to detect that sort of issue, rather than depend on developer warnings.

I don't fully understand the question. fcomm currently stores committed values in the file system; but it's not something we would encourage anyone to treat as reliable. I think the default location just got changed from /tmp/ to /var/tmp in #196, for example.

fcomm currently stores committed values in the file system; but it's not something we would encourage anyone to treat as reliable.

Yes. My point is that we can detect the unreliability, and fail a test when that changes, along with regenerating the file output (aka snapshot testing).

fcomm currently stores committed values in the file system; but it's not something we would encourage anyone to treat as reliable.

Yes. My point is that we can detect the unreliability, and fail a test when that changes, along with regenerating the file output (aka snapshot testing).

Okay, but can you keep spelling it out for me? What library would you recommend?
The scenario to detect is:

I used a previous version of fcomm. When doing that, I created a commitment, resulting in some opaque value (say DEADBEEF789).
Now I am using a new version, and I try to open the commitment.
Whoops, it doesn't work.

I think you're suggesting we have an elaborate set of integration tests that exercise some workflow and save copies of the resulting filesystem such that we can detect failure. Even so, it's not going to help with the migration.
I'm not against something more robust in principle. But in this case, I was literally just saying, "Hey, if you're not treating this data as ephemeral and you read these words, you'll want to move it manually."
Up until #196 (last night), this data was ephemeral by contract (located in /tmp/) so I doubt anyone accumulated much in the meantime anyway.


Update PTR Task version to 2.165.2

Updated PTR Task version from 11361326 to 11463043
https://mseng.visualstudio.com/AzureDevOps/_build/results?buildId=11463043&view=results
https://dev.azure.com/mseng/AzureDevOps/_releaseProgress?_a=release-environment-logs&releaseId=13958390&environmentId=161250044

Changes look good to me.


QiskitDevice.probabilities() changed to QiskitDevice.probability() to…

… restore compatibility with pennylane python package

Hi @rafaelha, thank you so much for your pull request! :confetti_ball:
Adjusting the name of the QiskitDevice.probabilities method is a change that is upcoming in this plugin as we are porting to the use of QubitDevice from PennyLane.
I'd be curious, was there perhaps a bug or any problems that you have faced while using QiskitDevice.probabilities?

Hi @rafaelha, thank you so much for your pull request! 🎊
Adjusting the name of the QiskitDevice.probabilities method is a change that is upcoming in this plugin as we are porting to the use of QubitDevice from PennyLane.
I'd be curious, was there perhaps a bug or any problems that you have faced while using QiskitDevice.probabilities?

Hi, yes, running a qnode on a qiskit device that returns qml.probs raises NotImplementedError: Returning probability not currently supported by qiskit.ibmq. This seems to be because pennylane  calls the function Device.probability (https://github.com/XanaduAI/pennylane/blob/a776dbecfb0c1d32bb04012a69ee0e559d58c3b5/pennylane/_device.py) instead of QiskitDevice.probabilities. Renaming QiskitDevice.probabilities to QiskitDevice.probability fixed that error for me. Cheers!

I see that makes sense! Thank you so much once again for your addition! :blush:
The tests are failing due to the test suite pulling the newest version (0.18) of Qiskit. We are investigating this right now and creating a fitting solution.

Thanks for catching that @josh146!
@rafaelha, could you please modify the CHANGELOG.md file such that it includes:

a one-sentence description of this PR (for example in the Bugfix section);
yourself as a contributor in the list of contributors for the current release (# Release 0.9.0-dev).

Thanks! :blush:


[Java] Block filter has high fpp

I noticed the com.github.jbapple.libfilter.TaffyBlockFilter has a high fpp (100% at some point). Likely there is a simple bug:
private void MakeMask(long hash, int[] result) {
    // The loops are done individually for easier auto-vectorization by the JIT
    for (int i = 0; i < 8; ++i) {
      result[0] = (int) hash * INTERNAL_HASH_SEEDS[i]; <== BUG HERE
    }
    for (int i = 0; i < 8; ++i) {
      result[i] = result[i] >>> (32 - 5);
    }
    for (int i = 0; i < 8; ++i) {
      result[i] = 1 << result[i];
    }
  }

To me it looks like it should be result[i] instead of result[0].

Thank you for the bug report and diagnosis! Fixed now.


(logging): greengrass core logs not JSON-formatted even though configurated as such

Describe the bug
Greengrass Core logs in /greengrass/v2/logs/greengrass.log are not JSON-formatted, even though my configuration specifies the JSON log format.
To Reproduce

Install aws.greengrass.Nucleus version 2.3.0.
Specify configuration/logging/format == "JSON"
Run sudo tail -f /greengrass/v2/logs/greengrass.log

Expected behavior
I expect the logs to be JSON formatted.
Actual behavior
The logs you see are text formatted.
Environment

OS: Ubuntu 18.04 (Tegra Linux)
JDK version: 11.0.11 2021-04-20
Nucleus version: 2.3.0
CLI version: 2.3.0

Additional context
Nucleus configuration:
---
componentType: "NUCLEUS"
configuration:
  awsRegion: "us-east-1"
  componentStoreMaxSizeBytes: "10000000000"
  deploymentPollingFrequency: "15"
  deploymentPollingFrequencySeconds: 15
  envStage: "prod"
  fleetStatus:
    periodicStatusPublishIntervalSeconds: 86400
  greengrassDataPlanePort: "8443"
  iotCredEndpoint: "c1kj80aqxwkeoh.credentials.iot.us-east-1.amazonaws.com"
  iotDataEndpoint: "a2kf5unhpbglxb-ats.iot.us-east-1.amazonaws.com"
  iotRoleAlias: "MyGreengrassCoreTokenExchangeRoleAlias"
  jvmOptions: "-Dlog.store=FILE"
  logging:
    format: "JSON"
  mqtt:
    spooler: {}
  networkProxy:
    proxy: {}
  platformOverride: {}
  runWithDefault:
    posixShell: "sh"
    posixUser: "ggc_user:ggc_group"
  telemetry: {}
dependencies: []
lifecycle:
  bootstrap:
    requiresPrivilege: "true"
    script: "\nset -eu\nKERNEL_ROOT=\"/greengrass/v2\"\nUNPACK_DIR=\"/greengrass/v2/packages/artifacts-unarchived/aws.greengrass.Nucleus/2.3.0/aws.greengrass.nucleus\"\
      \nrm -r \"$KERNEL_ROOT\"/alts/current/*\necho \"-Dlog.store=FILE\" > \"$KERNEL_ROOT/alts/current/launch.params\"\
      \nln -sf \"$UNPACK_DIR\" \"$KERNEL_ROOT/alts/current/distro\"\nexit 100"
previousVersion: "2.3.0"
version: "2.3.0"

My output of tail -f /greengrass/v2/logs/greengrass.log
2021-07-05T19:56:51.701Z [INFO] (pool-2-thread-35) com.aws.greengrass.deployment.DeploymentConfigMerger: merge-config. Removing services. {service-to-remove=[]}
2021-07-05T19:56:51.701Z [INFO] (pool-2-thread-35) com.aws.greengrass.deployment.activator.DeploymentActivator: merge-config. All services updated. {deploymentId=7bd1cce7-ce4b-4b20-a37f-278b48e7798f}
2021-07-05T19:56:51.701Z [INFO] (pool-2-thread-35) com.aws.greengrass.lifecyclemanager.UpdateSystemPolicyService: service-update-finish. {serviceName=UpdateSystemPolicyService, currentState=RUNNING}
2021-07-05T19:56:51.701Z [INFO] (pool-2-thread-34) com.aws.greengrass.deployment.DeploymentService: deployment-task-execution. Finished deployment task. {deploymentId=7bd1cce7-ce4b-4b20-a37f-278b48e7798f, serviceName=DeploymentService, currentState=RUNNING}
2021-07-05T19:56:58.733Z [INFO] (pool-2-thread-16) com.aws.greengrass.deployment.DeploymentService: Current deployment finished. {DeploymentId=arn:aws:greengrass:us-east-1:128868293117:configuration:thing/SamPhilNano:88, serviceName=DeploymentService, currentState=RUNNING}
2021-07-05T19:56:59.031Z [INFO] (pool-2-thread-16) com.aws.greengrass.deployment.DeploymentStatusKeeper: Stored deployment status. {DeploymentId=arn:aws:greengrass:us-east-1:128868293117:configuration:thing/SamPhilNano:88, DeploymentStatus=SUCCEEDED}
2021-07-05T19:56:59.033Z [INFO] (pool-2-thread-16) com.aws.greengrass.deployment.ShadowDeploymentListener: Updated reported state for deployment. {CONFIGURATION_ARN=arn:aws:greengrass:us-east-1:128868293117:configuration:thing/SamPhilNano:88, status=SUCCEEDED}
2021-07-05T19:56:59.038Z [INFO] (pool-2-thread-16) com.aws.greengrass.status.FleetStatusService: fss-status-update-published. Status update published to FSS. {serviceName=FleetStatusService, currentState=RUNNING}
2021-07-05T19:56:59.039Z [INFO] (pool-2-thread-16) com.aws.greengrass.deployment.DeploymentDirectoryManager: Persist link to last deployment. {link=/greengrass/v2/deployments/previous-success}
2021-07-05T19:56:59.039Z [INFO] (pool-2-thread-16) com.aws.greengrass.deployment.DeploymentDirectoryManager: Clean up link to earlier deployment. {link=/greengrass/v2/deployments/previous-success}

Hi Philippe, thank you for reporting this! Can you provide more details to help us better understand the issue?

How did you specify the logging config? Did you make a deployment from console/CLI or in some other way?

I deployed from the console. I upgraded Nucleus from 2.1.0. My previous config (with 2.1.0) already had the logging/format: "JSON" config, which the console pre-filled for me when I upgraded.

Please look at /greengrass/v2/alts/current/launch.params and provide the values in that file.

I found the issue and have a pull request to fix it. As a work around, you may add -Dlog.fmt=JSON (separated from other entries by spaces) into the jvmOptions configuration, this will force us to use JSON mode logs.


{CI} Log each extension recording test time

Description

Before building a extension regression test pipeline, we need to know how long each extension takes to run recording tests.
This PR aims to get a result of extension recording test time using PR's CI pipeline.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

CI

/azp run


Optional search caching

Status: Not ready. Sorry went too fast
Feature
Fix this https://github.com/orchidjs/tom-select/discussions/113
Allow to always re-fetch by ajax instead of caching the search results
Behaviors
Added a new settings key cacheSearch which defaults to true to ensure the behavior stays unchanged to everyone.
Thank you for merging ! :)

Found a better workaround. https://github.com/orchidjs/tom-select/discussions/113


Windows Update / Microsoft Store denying Updates, Affecting some Windows Store Games aswell

Issue Description:
Problem faced up around 1 or 2 months ago and started with problems getting Windows Updates to work on fresh installed computers aswell as on already existing ones. Affected was everytime Windows 10 Update Service aswell as Windows Store Updates.
At a later time, Forza Horizon 4 ( uses Windows Store to update) gave Error Messages ingame that Updates cannot be  pulled and denied Online Play mode, after switching DNS Off and a quick Windows Update / Windows Store Update the Game was able to start and Windows Update / Windows Store / Game was able to start even with DNS Redirect on again.


docker-example directory

the docker-compose file link the nonexistent docker-example directory for the configuration files
In instructions is write that is needed copy the example directory as docker-example.... If both directories are examples why can't jump this step and link directly the example directory?

We cannot use the example directory since we WANT that each user have to customize the example OTHERWISE will end with user that uses the cryptographic private keys for their system in production


Use resources label

use resources label as much as possible. Some places are still using data (see by find heron/ -name "BUILD" -exec grep -RIn "data = " {} +), but I think using data makes loading easier.
resolves #1668

@billonahill comments addressed.

@billonahill any more feedback?


Feature/redesign dataset

WIP of: https://vizzuality.atlassian.net/browse/ORC-567?atlOrigin=eyJpIjoiYWNiNDQ3M2ZiNmM5NDVjYjhmYjI0OTRiOTJjOThlMGUiLCJwIjoiaiJ9
Missing:

[ ]  Correct placement of filters sidebar (It should show along with the whole datasets div not on top of it)
[ ]  Finish styling Calendars - They should have no outside border. Maybe talk with Lidia about more specs as I couldn't find the new styles for this.
[ ] Fix labels of the calendar so the Calendar opens when we click on them
[ ] Add the sort button and functionality (It should sort by the Dataset titles)

There are some items of your list that I did not implement:

I left the sidebar on top of the content because this is the way it will be shown on mobile. I believe it should stay as it is on desktop as well.
I didn't add the sort button because it was not previously present. We're only working on a redesign, not adding new features.


Sensors detected, but Homekit Accessories not added

When starting up homebridge, my sensors are being detected (as I see Added sensor Back Door in the logs).  However, this is always followed by a Warning: Sensor with unknown state 0.  Subsequently, an accessory is not created for the sensor.
Upon investigating the code, I believe the issue lies here https://github.com/mkormendy/homebridge-node-alarm-dot-com/blob/master/index.js#L250 where the getSensorType returns an unknown type.
I am not sure if this is also related, but I noticed on my alarm.com portal I currently do not have the options to turn sensor activity monitoring on/off.

Amit, please join me on Slack and lets work through this.
https://join.slack.com/t/homebridge-nodeadc/shared_invite/enQtNDI5ODA3Njg2Mjk0LTI1NWMxMTc5ZGFkMjUxYjMyNmI0YmVjMWRhMTBiNWI5NmVmMjBmNDE2MTVmZjkwODNhZmY5NmQyN2UwNDAxNzQ

@Amit Gandhi go to the history on your mobile app and see if you have any entries that have any Motion Activated/Restored messages in your list. If you don’t, than your account isn’t set up for sensor activity monitoring and you’ll need to speak with your installer/provider about changing that on your account.

I wonder if I can check the alarm systems to see what package-type is applied, and if there's a package code on the system, then I can provide some logic to avoid attempting to add accessories, and also provide a help message, noting this in the logs.

@amitgandhinz have you upgraded your package? If not I would like to see if we can do some interactive testing of the output from Alarm.com.

Im in the process of having it upgraded (called them yesterday since my contract period just ended/renewed).  It doesn't look like they have processed the upgrade yet though.

@amitgandhinz if I could ask, how many options did you have for the different packages they were offering you to upgrade to?

In terms of packages, there’s basic and interactive.  Here’s a good comparison from another company of the two levels: https://suretydiy.com/product/monthly-alarm-monitoring/

Yeah there's a slight delay, as expected, since there's no real push-notification system in place to have real-time updates.
Thanks for the package examples. I've got some other users with setups that are also having some problems with the sensors.
I'm hoping to find some time to work on cleaning up and taking a stab at speeding things up somehow.

@amitgandhinz and @kcharwood I have added a new option that allows you to hide/ignore accessories on a per item basis. After doing some more research, it's been difficult to determine the type of package that a user may have on their account. This is likely due to the way that they sell their services through different proxy-providers like ADT, FrontPoint, etc.  This should help hide the unusable devices from Homekit. Beyond this feature, any further granularity is out of scope of a public-ready feature set and I recommend crafting your own personal iteration of it for your own selective use.


Tradfri groups iteration TypeError with async

Home Assistant release (hass --version):
0.55.0
Python release (python3 --version):
3.5.3
Component/platform:
Tradfri
Description of problem:
Upgrading to 0.55 with new async code results in TypeError on tradfri light init:
Oct 09 13:21:18 spirit hass[8169]: Traceback (most recent call last):
Oct 09 13:21:18 spirit hass[8169]:   File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
Oct 09 13:21:18 spirit hass[8169]:     SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
Oct 09 13:21:18 spirit hass[8169]:   File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
Oct 09 13:21:18 spirit hass[8169]:     return fut.result()
Oct 09 13:21:18 spirit hass[8169]:   File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
Oct 09 13:21:18 spirit hass[8169]:     raise self._exception
Oct 09 13:21:18 spirit hass[8169]:   File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
Oct 09 13:21:18 spirit hass[8169]:     result = coro.send(None)
Oct 09 13:21:18 spirit hass[8169]:   File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/light/tradfri.py", line 54, in async_setup_platform
Oct 09 13:21:18 spirit hass[8169]:     async_add_devices(TradfriGroup(group, api) for group in groups)
Oct 09 13:21:18 spirit hass[8169]: TypeError: 'Group' object is not iterable

Expected:
Group iteration should not result in a TypeError with the new async code introduced in https://github.com/home-assistant/home-assistant/commit/8db4641455ea1115e5f81591430f33296bb3ad74#diff-459bd622c1c30fd9674062a6d7b78a99
Theoretical workaround is to set allow_tradfri_groups: False, but cannot test due to new error:
Oct 09 13:34:36 spirit hass[8169]: 2017-10-09 13:34:36 ERROR (Dummy-46) [coap] Exception RuntimeError('Event loop is closed',) can not be represented as errno, setting -1.
Oct 09 13:34:36 spirit hass[8169]: 2017-10-09 13:34:36 WARNING (Dummy-46) [coap] Error received in UDP connection under DTLS: [Errno 9] Bad file descriptor

Problem-relevant configuration.yaml entries and steps to reproduce:
tradfri:
        host: <IP_ADDRESS>
        api_key: !secret tradfri_api_key

Install new aiocoap libs
(Re)start HASS
See error in log

Traceback (if applicable):
See above
Additional info:

CC @lwis

I think this will be solved by ggravlingen/pytradfri#61, once I find some time to polish it off.
I'm not sure what's causing your Bad file descriptor error.

I spent a bit of time testing aiocoap standalone and reproduced the file descriptor error; link to aiocoap issue report above.

Can you try to test against https://pypi.python.org/pypi/DTLSSocket/0.1.3 instead?

@lwis runtime error still persists on 0.1.3, e.g.
./aiocoap-client -v coaps://<IP_ADDRESS>:5684/.well-known/core
decrypt_verify(): found 24 bytes cleartext
decrypt_verify(): found 770 bytes cleartext
<//15001/65536>;ct=0;obs,<//15001/65540>;ct=0;obs,<//15001/65538>;ct=0;obs,<//15001/65537>;ct=0;obs,<//15001/65541>;ct=0;obs,<//15001/65539>;ct=0;obs,<//15001/65542>;ct=0;obs,<//15004/138319>;ct=0;obs,<//15005/138319>;ct=0;obs,<//15005/138319/200548>;ct=0;obs,<//15005/138319/201928>;ct=0;obs,<//15005/138319/210846>;ct=0;obs,<//15005/138319/196836>;ct=0;obs,<//15005/138319/228499>;ct=0;obs,<//15005/138319/207315>;ct=0;obs,<//15005/138319/228341>;ct=0;obs,<//15001>;ct=0;obs,<//15001/reset>;ct=0,<//status>;ct=0;obs,<//15005>;ct=0;obs,<//15004>;ct=0;obs,<//15004/add>;ct=0,<//15004/remove>;ct=0,<//15006>;ct=0;obs,<//15011/15012>;ct=0;obs,<//15011/9034>;ct=0,<//15011/9030>;ct=0,<//15011/9031>;ct=0,<//15011/9063>;ct=0,<//15011/9033>;ct=0,<//15010>;ct=0;obs
(No newline at end of message)
ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<DTLSClientConnection._run() running at /usr/src/aiocoap/aiocoap/transports/tinydtls.py:160> wait_for=<Future pending cb=[Task._wakeup()]>>
ERROR:coap:Exception RuntimeError('Event loop is closed',) can not be represented as errno, setting -1.
WARNING:coap:Error received in UDP connection under DTLS: [Errno 9] Bad file descriptor
Exception ignored in: <generator object DTLSClientConnection._run at 0x7f54889d1200>
Traceback (most recent call last):
  File "/usr/src/aiocoap/aiocoap/transports/tinydtls.py", line 180, in _run
  File "/usr/lib/python3.5/asyncio/selector_events.py", line 622, in close
  File "/usr/lib/python3.5/asyncio/base_events.py", line 572, in call_soon
  File "/usr/lib/python3.5/asyncio/base_events.py", line 357, in _check_closed
RuntimeError: Event loop is closed

and that seems to be the same error HASS is throwing

I have (what I think is) a similar problem after upgrading to HASS 0.55, however I am less competent in HASS and Python to isolate the error any further. I get the following error when I start HASS:
2017-10-11 17:41:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/home/homeassistant/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 388, in async_add_entities
    yield from asyncio.wait(tasks, loop=self.component.hass.loop)
  File "/usr/lib/python3.5/asyncio/tasks.py", line 346, in wait
    raise ValueError('Set of coroutines/Futures is empty.')
ValueError: Set of coroutines/Futures is empty.

Same Python and HASS versions as above. My configure is similar but I do not import groups from the Trådfri GW (adding that option does not change the error though). I cannot see anything in particular when I use debug-output to the log file.


refactor(components): remove redundant empty interfaces from Input, Command, and Textarea components

Simplified props handling by removing redundant empty interfaces (InputProps, CommandProps, TextareaProps). Each component now directly extends native HTML/lib attributes (React.InputHTMLAttributes, DialogProps, etc.), improving code clarity and maintainability.

The main motivation behind this change is to address the @typescript-eslint/no-empty-object-type rule violation, as seen in the screenshot provided. This rule flags empty interfaces that are equivalent to their supertypes, resulting in type errors during build time. By eliminating these redundant interfaces, the components comply with ESLint rules, prevent type errors, and ensure a smoother build process.
Key changes:

Updated Command, Input, and Textarea components to directly use native HTML/lib attribute types.
Removed redundant interfaces, reducing unnecessary complexity in the codebase.
Improved maintainability and streamlined props management for future modifications.

This refactor enhances the overall quality of the code and prevents similar ESLint issues from occurring, ensuring consistent type safety without altering any functionality.

@shadcn am I missing something in the contribution guide? I am not seeing the updates to the components in docs after pnpm build:registry

fixes in part https://github.com/shadcn-ui/ui/issues/5214

@shadcn This one's had a couple of duplicate PRs. Any thoughts on merging? Let me know if you need any adjustments, like converting to types instead of interfaces as an alternative solution.
Thanks!

@Jacksonmills Thanks for working on this fix. Looks good.
Could we move to React.ComponentProps instead of React.InputHTMLAttributes please? This is what I've been using moving forward.
eg. React.ComponentProps<"input"> instead of React.InputHTMLAttributes<HTMLInputElement>

Thanks for the review! Should be all good now 🫡


⚠ Bofrost.es has degraded performance

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

HTTP code: 200
Response time: 1634 ms

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


Fix readme doc issues of jca

As title.

Link with https://github.com/Azure/azure-sdk-for-java/issues/27329, finding doc errors why addressing the issue.

@chenrujun please help review this PR.


docs: generally available

Resolves: #65

@scsmithr - we will hold off on merging this branch until things are set and released. But I still wanted to request review as I can always re-request as more commits get added.


Make SensorFilter platform agnostic and move it the input meta-module

This compiles so I don't think anything should break with a rename-refactor?


zrythm: 1.0.0-alpha.28.1.3 -> 1.0.0-beta.3.4.1

Description of changes
zrythm: 1.0.0-alpha.28.1.3 -> 1.0.0-beta.3.4.1
(in contrast to the other previous PRs, this has the gnome branch as base, which makes it easier to deal with as it already can rely on the latest GTK4 libraries, including libadwaita v1.2 and libpanel v1.0.alpha1, see also #182618, which should be merged before this can be merged)
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

@jtojnar @magnetophon this PR shouldn't have the disadvantages of the previous ones, it makes the dependency on bleeding-edge gnome clear, and should also be "standalone" usable in Nix flakes as separate input.

(now I just hope this compiles, lol)

GTK 4 picked to #190222.

nixpkgs-review on x86_64-linux:
1 package added:

zix (init at 2022-09-08)

1 package updated:

zrythm (1.0.0-alpha.28.1.3 → 1.0.0-beta.3.4.1)

(compilation in progess, 81/119)

Backporting this onto master would require:

[ ] GTK-4.8 (#190222)
[ ] LibAdwaita-1.2
[ ] LibPanel-1.0.alpha*

ok, doesn't work.
zrythm-Message: 11:46:03.242: (zrythm_app_startup:955): Starting up...
zrythm-Message: 11:46:03.250: (localization_init:278): preferred lang: 'Deutsch' (de)
zrythm-Message: 11:46:03.265: (localization_init:303): setting locale to de_AT.utf8 (found de_AT.utf8)
zrythm-Message: 11:46:03.270: (plugin_settings_new:654): Plugin settings file at /home/zseri/.local/share/zrythm/plugin-settings.yaml does not exist
zrythm-Message: 11:46:03.270: (user_shortcuts_new:75): User shortcuts file at /home/zseri/.local/share/zrythm/shortcuts.yaml does not exist
zrythm-Message: 11:46:03.270: (object_utils_new:180): object_utils_new: Creating object utils...
zrythm-Message: 11:46:04.089: (create_and_load_lilv_word:191): Creating Lilv World...
Segmentation fault (core dumped)

ok, mismatching function signatures and symbol clashes explain why this happens lol...
[1/11] Compiling C object libsord-0.so.0.16.13.p/src_sord.c.o
FAILED: libsord-0.so.0.16.13.p/src_sord.c.o
gcc -Ilibsord-0.so.0.16.13.p -I. -I.. -I../include -I../src -I/nix/store/fzw65wi6rx7vmq97n9dk17w3a5d8ngnc-serd-0.30.10/include/serd-0 -I/nix/store/hhnykv9sawn4g6kwi658ypwg24z8xs2b-zix-unstable-2022-09-08-dev/include/zix-0 -fvisibility=hid>
../src/sord.c: In function 'sord_node_hash':
../src/sord.c:156:26: warning: implicit declaration of function 'zix_digest_start' [-Wimplicit-function-declaration]
  156 |   uint32_t        hash = zix_digest_start();
      |                          ^~~~~~~~~~~~~~~~
../src/sord.c:157:10: warning: implicit declaration of function 'zix_digest_add' [-Wimplicit-function-declaration]
  157 |   hash = zix_digest_add(hash, node->node.buf, node->node.n_bytes);
      |          ^~~~~~~~~~~~~~
../src/sord.c: In function 'sord_world_new':
../src/sord.c:204:18: warning: passing argument 1 of 'zix_hash_new' from incompatible pointer type [-Wincompatible-pointer-types]
  204 |     zix_hash_new(sord_node_hash, sord_node_hash_equal, sizeof(SordNode));
      |                  ^~~~~~~~~~~~~~
      |                  |
      |                  uint32_t (*)(const void *) {aka unsigned int (*)(const void *)}
In file included from ../src/sord.c:12:
/nix/store/hhnykv9sawn4g6kwi658ypwg24z8xs2b-zix-unstable-2022-09-08-dev/include/zix-0/zix/hash.h:124:42: note: expected 'ZixAllocator *' {aka 'struct ZixAllocatorImpl *'} but argument is of type 'uint32_t (*)(const void *)' {aka 'unsigned>
  124 | zix_hash_new(ZixAllocator* ZIX_NULLABLE  allocator,
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
../src/sord.c:204:34: warning: passing argument 2 of 'zix_hash_new' from incompatible pointer type [-Wincompatible-pointer-types]
  204 |     zix_hash_new(sord_node_hash, sord_node_hash_equal, sizeof(SordNode));
      |                                  ^~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  _Bool (*)(const void *, const void *)
In file included from ../src/sord.c:12:
/nix/store/hhnykv9sawn4g6kwi658ypwg24z8xs2b-zix-unstable-2022-09-08-dev/include/zix-0/zix/hash.h:125:42: note: expected 'ZixKeyFunc' {aka 'const void * (*)(const void *)'} but argument is of type '_Bool (*)(const void *, const void *)'
  125 |              ZixKeyFunc ZIX_NONNULL      key_func,
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../src/sord.c:204:56: warning: passing argument 3 of 'zix_hash_new' makes pointer from integer without a cast [-Wint-conversion]
  204 |     zix_hash_new(sord_node_hash, sord_node_hash_equal, sizeof(SordNode));
      |                                                        ^~~~~~~~~~~~~~~~
      |                                                        |
      |                                                        long unsigned int
In file included from ../src/sord.c:12:
/nix/store/hhnykv9sawn4g6kwi658ypwg24z8xs2b-zix-unstable-2022-09-08-dev/include/zix-0/zix/hash.h:126:42: note: expected 'ZixHashFunc' {aka 'long unsigned int (*)(const void *)'} but argument is of type 'long unsigned int'
  126 |              ZixHashFunc ZIX_NONNULL     hash_func,
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
../src/sord.c:204:5: error: too few arguments to function 'zix_hash_new'
  204 |     zix_hash_new(sord_node_hash, sord_node_hash_equal, sizeof(SordNode));
      |     ^~~~~~~~~~~~
In file included from ../src/sord.c:12:
/nix/store/hhnykv9sawn4g6kwi658ypwg24z8xs2b-zix-unstable-2022-09-08-dev/include/zix-0/zix/hash.h:124:1: note: declared here
  124 | zix_hash_new(ZixAllocator* ZIX_NULLABLE  allocator,
      | ^~~~~~~~~~~~
../src/sord.c: In function 'sord_world_free':
../src/sord.c:222:3: warning: implicit declaration of function 'zix_hash_foreach'; did you mean 'zix_hash_free'? [-Wimplicit-function-declaration]
  222 |   zix_hash_foreach(world->nodes, free_node_entry, world);
      |   ^~~~~~~~~~~~~~~~
      |   zix_hash_free
../src/sord.c: In function 'sord_iter_forward':
../src/sord.c:350:38: error: incompatible type for argument 1 of 'zix_btree_iter_is_end'
  350 |     return zix_btree_iter_is_end(iter->cur);
      |                                  ~~~~^~~~~
      |                                      |
      |                                      ZixBTreeIter *
In file included from ../src/sord.c:10:
/nix/store/hhnykv9sawn4g6kwi658ypwg24z8xs2b-zix-unstable-2022-09-08-dev/include/zix-0/zix/btree.h:189:42: note: expected 'ZixBTreeIter' but argument is of type 'ZixBTreeIter *'
  189 | zix_btree_iter_is_end(const ZixBTreeIter i)
      |                       ~~~~~~~~~~~~~~~~~~~^
../src/sord.c:353:58: error: incompatible type for argument 1 of 'zix_btree_get'
  353 |   SordNode**     key     = (SordNode**)zix_btree_get(iter->cur);
      |                                                      ~~~~^~~~~
      |                                                          |
      |                                                          ZixBTreeIter *

Thanks for this PR.
I've taken myself off the reviewers list since it is still WIP, IIUC.
Would you mind adding me back once everything is working?

Should I put the sord bump into a separate PR?

I'd say yes.


build: break out package building into its own script

Problem
Building doesn't work very well
Solution
Separate out package building from runtime building
Testing
TODO
Docs Update
https://github.com/kinode-dao/kinode-book/pull/252
Notes

[x] Update docker image to use new script
[x] Update docs
[x] Test importing .zipfor Windows build
[x] Update how FEs are built (?)
[x] Hashing system for packages.zip & embed/expose hash in runtime (?)

Ready to merge :rocket:


[Bug] [Connector-Http] Can't set request param

Search before asking

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

What happened
It can not set request param
SeaTunnel Version
dev branch
SeaTunnel Config
there is no error exception

Running Command
there is no error exception

Error Exception
there is no error exception

Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots

Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Good catch, waiting your PR.

Waiting for your hotfix.


The link of words input doesn't support Chinese characters.

Say a link like "挑战程序设计竞赛.html":
words = [{ text: "挑战程序设计竞赛", link: "挑战程序设计竞赛.html", ... }, ...]
$('#test').jQCloud(words, ...)

Then the link is incorrectly rendered as %E6%8C%91%E6%88%98%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E7%AB%9E%E8%B5%9B.html  in the generated cloud, pointing to an invalid place rather the the original place.

$('#test').jQCloud(words,{ encodeURI:false})


Fix issue building DM-RMC-4KZ-100-C & DM-TX-4KZ-202-C

I removed the subscription to _rmc.HdmiOutput.ConnectedDevice.DeviceInformationChange and am now populating the EDID feedback based on Hot Plug Detect.
Also fixed an issue with AudioSource on the DM-TX-4KZ-202-C & DM-TX-4KZ-302-C causing issues due to these devices not support breakaway audio routing.

@ndorin Need your approval again after fixing merge conflicts


Complex expression in channeling constraints

I’m new to CP-SAT Solver and CP concept and trying to implement one complex expression in the channeling constraint in my model.
I have the following variables:
z, x, b - boolean
d, a - integer
which form the constraint:
(z = 0 /\ x = 1 /\ d >= a) => b = 1
I’m programming in Python and checked the examples of how to link expressions like x < 5 => y = 10 - x through intermediate boolean variable, but can’t figure out how to model my constraint.
Could you please give some hints/suggestions?

Hi, you should ask modeling questions at the mailing list: https://groups.google.com/forum/#!forum/or-tools-discuss
That said, this should work:
tmp = model.NewBoolVar("d >= a")
model.Add(d >= a).OnlyEnforceIf(tmp)
model.Add(d < a).OnlyEnforceIf(tmp.Not())

model.Add(b == 1).OnlyEnforceIf([z.Not(), x, tmp])


Finalize Busola Extensibility API

Description
It's time to finalise the Busola Extensibility by configuration api.
Acceptance criteraia

[ ] All Fields in the configmap are revisited and evaluated if they are needed or not or need to be rename or modifiy
[x] Not needed fields in the configmap are removed ( eg schema )
[ ] Example folder and documentation is adjusted
[x] a first version is established with beta tag
[x] the Create View is adjusted so it creates a valid configmap
[x] Components in docs are sorted
[x] Remove unnecessary components (e.g. ControlledByKind is a dupe of ControlledBy)
[x] Align usage of resource references - relations don't need to specify group for core resources (just like Resource widget does).

Attachments

Note: If there are fields that are similar, they should have the same format.

To discuss - should we use yaml by default instead of json in configmap sections?

Another idea - I don't particularly like keeping the version as a standalone field in configmap data. Maybe put the version into the labels or add a data field named metadata (an object), where version would be just one of many fields? That would be easier to change, if we are to add more metadata.

From Vasko: it's a little bit inconsistent how we use the children property in details and list, but we cannot use them on the form.
 { "path": "spec.toppings", "widget": "GenericList", "simple": true},
 { "path": "spec.toppings[].name", "simple": true},
 { "path": "spec.toppings[].price", "simple": true},
 { "path": "spec.toppings[].quantity", "simple": true},

Would be nicer to have it like:
 { "path": "spec.toppings", "widget": "GenericList", "simple": true,
	"children": [
		{"path": "name"}
		...
	]

 },

relations -> dataSources

Closed since all the subtasks are already created. More info on Mural - https://app.mural.co/t/sappm1454/m/sappm1454/1659423961015/4ef68d23fc46b1e3a4597db6136a7272860fdee2?wid=0-1659426885250&sender=piotrwawrzynczyk1858


Version Changelog?

Since the readme still says to use version 1.2.2 I'm wondering what the risks are of using the latest version in NuGet (1.5.4)? I took a brief look at the commit history, but just thought it would be good to know and wondered if maybe the docs were out-of-date?
Thanks

You can always use the latest version. If something breaks, report it here.


Revert "csi: disable fencing in Rook"

This reverts commit 4e761bd53c25e86690088a8bfb41910b5624e4da.

Checklist:

[ ] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
[ ] Reviewed the developer guide on Submitting a Pull Request
[ ] Pending release notes updated with breaking and/or notable changes for the next minor release.
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[ ] Integration tests have been added, if necessary.

@sp98 PTAL we need to revert the fix and move to next patch release as previous patch release was cve only

@sp98 PTAL we need to revert the fix and move to next patch release as previous patch release was cve only

@subhamkrai Why are you enabling it again? Please add more details about this. Also, the CI is failing.

@sp98 PTAL we need to revert the fix and move to next patch release as previous patch release was cve only

@subhamkrai Why are you enabling it again? Please add more details about this. Also, the CI is failing.

CI failure is kind of not related, CI is failing at the cluster creation stage which is due to the old version.
We are reverting the changes as it merged in CVE only patch

@subhamkrai is there a bug for this? please do add

@subhamkrai is there a bug for this? please do add

@agarwal-mudit bug is to disable the networkFence but since the changes were merged in CVE only patch we need to revert the change for now and fix in right version. So, technically no bug for this PR as it is reverting the changes only

We need a bug for every change in z-stream (unless its test only change), please create one and reach out to Sunil/Karthick for approvals

We need a bug for every change in z-stream (unless its test only change), please create one and reach out to Sunil/Karthick for approvals

okay 👍🏽

/jira refresh

/jira refresh

/jira refresh