Grpc is adding all runtimes to build path...

Hello guys,
is it normal that after I imported the nuget package grpc.core I got ~50MB's of additional libraries copied to my build path ? my tpk file (Tizen package) has grown from 670kB to 22MB's now.

I don't believe I have to include all of these binaries in my build path, shouldnt just one binary (x64 linux) be enough ?
Why is this adding all of them by default?
Regards,

Nevermind, I've found missing libraries in other package :)
Looks like I don't need the Grpc.Core package at all... at least for now, phew :)
I've found missing libraries in: Google.Api.CommonProtos


Thorns Enchantment not going above 3

im not getting the enchantment for thorns to exceed thorns 3 even though the config shows a higher level. i have hell infusion enchanted hellshelves and able to get level 150 enchantment power.
"minecraft:thorns" {
# The max level of this enchantment. [range: 1 ~ 127, default: 14]
I:"Max Level"=14
# A function to determine the max enchanting power.  The variable "x" is level.  See: https://github.com/uklimaschewski/EvalEx#usage-examples [default: ]
S:"Max Power Function"=

# The min level of this enchantment. [range: 1 ~ 127, default: 1]
I:"Min Level"=1

# A function to determine the min enchanting power. [default: ]
S:"Min Power Function"=

}
please advise

I assume some other mod is breaking it, or the module is disabled, or something.
The enchantment system has currently been entirely redone, so hopefully it prevents mods from breaking it a bit better.


[Modules] Add 2 params for StorageAccount

Description
Adding 2 parameters for Storage Account often used to harden the Storage Account resource.
Pipeline references

For module/pipeline changes, please create and attach the status badge of your successful run.

Pipeline

Coming soon

Type of Change
Please delete options that are not relevant.

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update to documentation

Checklist

[ ] I'm sure there are no other open Pull Requests for the same update/change
[ ] My corresponding pipelines / checks run clean and green without any errors or warnings
[ ] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (readme)
[ ] I did format my code

Hey @MariusStorhaug .. Do you think its worth aligning this PR to this issue https://github.com/Azure/ResourceModules/issues/2573 (to update Storage API and add additional parameters)? Some properties like cross tenant replication is also quite useful for hardening scenarios. Thoughts?

Hey @MariusStorhaug .. Do you think its worth aligning this PR to this issue #2573 (to update Storage API and add additional parameters)? Some properties like cross tenant replication is also quite useful for hardening scenarios. Thoughts?

Hey @ahmadabdalla! Sure thing. I have self assigned the ticket. I will start just evaluating the size of this.


fix: renBTC doesn't exist on L2

@liamzebedee closing this PR as its already in dev actioned by mitch


[ODS-4692] RestAPI.Database package doesn't work with "OdsDatabaseTemplateName" as designed

@tbmeador-dlp I have added OdsDatabaseTemplateName key in appsettings

@tbmeador-dlp removed the default value. Please review.


[Bug] Hosts editor cant edit when the file is readonly

Microsoft PowerToys version
0.74.1
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
Hosts File Editor
Steps to reproduce

Make the file C:\Windows\System32\drivers\etc\hosts readonly. (In my case, the hosts file was modified by other installer program and it was changed to readonly.)
Use Hosts editor to edit any host.

✔ Expected Behavior
Edit successed.
❌ Actual Behavior
Cant edit the hosts file.
Other Software
None

Nice catch!
 Not sure if a "force write file" button is needed.

I think that the "force write file" button is needed

The work associated with this issue has been released as part of the 0.76 sprint. Please update PowerToys to the latest. https://github.com/microsoft/PowerToys/releases


Get IImage instead of control?

I was wondering if there's a way to get the IImage of the symbol instead of using it in a control/markup extension? A use case for the IImage would be to use symbols in view models to bind to MVVM driven menus/toolbar items where only IImage based properties for bindings are available.

It should be easy to get a raster image on WPF, but for vector image I only know that SkiaSharp (which Avalonia depends on) can do it.

Thanks for the reply. In my case it would be the vector image for Avalonia.

I've made some test. One major problem is that an IImage object cannot invoke InvalidateVisual() to notify its parent that its properties and appearance have been changed. There may be some solutions:

Make the implementation immutable. In this approach, the image cannot change automatically upon events like app theme changes.
Provide an event to notity that the visual has been changed; developers should handle the event on there own (possibly call InvalidateVisual() upon notified). The cons could be that this approach is not XAML-friendly.

What do you think?

Thanks for looking into it. In my particular case, it wouldn't be an issue because the IImage will be used in a control which would handle theme changes automatically (DynamicImage from Acripro). We are currently discussing possible solutions. They use IImage in a view model and bind that to a button (which hosts this DynamicImage). In general, I'm not very happy with that approach because it means my ViewModel needs to know a lot about the View (like dimensions or maybe theme variant). The preferred solution would be IDataTemplate support which allows me to put whatever control in the ContentPresenter - including SymbolIcon.
I was just curious on how to get the actual IImage from the symbol and maybe this can help in other scenarios.

The ViewModel does not need to know a lot about the view. All you need is something like image.VisualChanged += () => view.InvalidateVisual(). And in most senarios (metrics/theme changes) this should be unnecessary because the view will invalidate the render cache anyway. This should only be a problem when you bind some property (probably Symbol) to a data model which will update in background with no user interreaction with the view.

I've pushed the implementation (https://github.com/davidxuang/FluentIcons/commit/80bacfe3bcf45e5134b14900ac73cdb7ef65ea53) for reference.

This is awesome, thank you. Will definitely check it out!


chore: Merge main into feature/rds-support-preview2

Description of changes
As part of merge from main:

Resolve merge conflicts in:

packages/amplify-graphql-api-construct/package.json
packages/amplify-graphql-name-mapping-transformer/package.json
packages/amplify-graphql-schema-generator/package.json
packages/amplify-graphql-transformer-test-utils/API.md
packages/amplify-graphql-transformer-test-utils/src/test-transform.ts
packages/amplify-graphql-transformer/package.json

Updated dependencies in:

packages/amplify-graphql-sql-transformer/package.json

Regenerated:

packages/amplify-graphql-api-construct/.jsii
yarn.lock

CDK / CloudFormation Parameters Changed

Issue #, if available

Description of how you validated changes
Checklist

[x] PR description included
[x] yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Fixed RDS test:

PASS  src/tests/rds-v2.test.ts (853.436 s)


Add continuous integration

It would be good to add continuous integration to ensure future commits (by you or proposed changes by external contributors) do not break the existing functionality.
The easiest option is probably to use GitHub Actions, which provides free minutes for open-source repositories.

I believe we are in the process of doing this. It should be available soon. Thanks @Bisaloo

Sounds great, thanks for the update! Feel free let me know if you encounter any issues

Fixed by #7


Installed apps not listed

Installed on a Oneplus 7 Pro running Android 11.

Limited app selection. Not sure if there is maybe some permission issue? Otherwise, it appears to be fully functional.

Hi there, this launcher looks fantastic, however I'm having a similar problem on a Retroid Pocket 3 - I see a similar limited app collection.

I guess we REALLY need a new release, right? :)
I'll have a look today, maybe this can be done on short notice

OK.
I've just upped v1.4.0 which should adress all of the issues related to android >= 11 like missing apps.
See https://github.com/sreichholf/repola/releases for more details

Oh woah! Thanks @sreichholf  - as someone who struggles to maintain his own repos I'm deeply thankful for your turnaround here. There's a void of aesthetically pleasing android launchers, and this is one of the best I've seen for console environments. Thanks for looking at this! I'll test this later today. :)

It works great, thanks for the update!


RIN_splitter in oilcane biorefinery

Hi @yoelcortes , I noticed some weird with the RIN_splitter for the O2 configuration of the oilcane biorefinery, essentially,
>>> from biorefineries import oilcane as oc
>>> oc.load('O2')
>>> oc.sys.diagram()

You can see that the RIN_splitter in the diagram takes both ethanol and biodiesel and have four outs, but
>>> oc.RIN_splitter.diagram()

Now it only has the ins/outs for biodiesel-related streams. I'm wondering why this would be happening? Also is it intentional that ethanol and biodiesel are using the same RIN_splitter?
BTW, I'm trying to compare results for the WWT work I can now compared to about a month ago, results for some biorefineries are reasonably close, but MESP for the O2 configuration of the oilcane biorefinery is really off, so I'm trying to figure out why... Thanks!!!

Ahh, I introduced a bug for O2 while working on O6.It should be fixed now. I'm going to introduce a long barrage of tests for S1, S2, O1, O2, O3, O4, and their respective agile versions with sorghum pretty soon. These bugs are totally preventable.

wonderful! yep now the MESP looks good, having tests added would be super, thanks @yoelcortes !


Feature: JWT Sign and Verify Admin Endpoints with DID Support

This pull request introduces two new endpoints to the admin wallet API:
POST /wallet/jwt/sign: This endpoint allows for the creation of a JWS (JSON Web Signature) by providing a DID (Decentralized Identifier) or verification method along with a header and payload. The JWS is generated using the associated keys linked to the provided DID.
POST /wallet/jwt/verify: With this endpoint, you can verify a JWS by providing the JWS itself. The implementation includes a DID resolver, which leverages the JWS header to resolve a DID document. This document is then used to verify the signature of the provided JWS.
These new endpoints expand the functionality of our admin wallet API, empowering users to perform signing and verification operations conveniently. I have tested the code and ensured its compatibility with our existing system.
Signed-off-by: Adam Burdett<EMAIL_ADDRESS>Co-authored-by: Daniel Bluhm<EMAIL_ADDRESS>

Do give an idea of how we're thinking these might be used, we've found this kind of endpoint to be really helpful for things like signing governance files and other documents that we want to be able to commit to with keys associated with our public DIDs, etc.


Update scalafmt-core to 3.0.4

Updates org.scalameta:scalafmt-core from 3.0.0 to 3.0.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (3.0.0).
You might want to review and update them manually.
CHANGELOG.md
README.md
build.sbt

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-patch, old-version-remains

Superseded by #37.


Make using URI more convenient

Currently, using the URI type is a bit inconvenient due to the number of indirections required to access the underlying type.

This is done.


Limiting network traffic rate for uploading stage.

@aalexfvk, Fixed all requested changes in the last commit.


Fix broken formatting

@namazso : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@namazso : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks for the contribution, @namazso . I've merged your changes and they should be live soon.


Seeking CodeIgniter Library Advice?

Hello Thierry & Ed,
Can you offer any advice on creating a CodeIgniter 3 Library for Xajax-core?
The start I've made so far:
<?php if ( ! defined("BASEPATH")) exit("No direct script access allowed");
require (APPPATH . "../vendor/autoload.php");
use Xajax\Xajax;
use Xajax\Response\Response;

class CI_Xajax {

public $xajax;

public function __construct()
{
	$this->xajax = Xajax::getInstance();
		$this->_ci   =& get_instance();
	}
}

Currently, I've placed the line

$this->load->library(array('CI_Xajax', 'session'));

in the welcome->__construct() method, and the library loads with no errors.
However, not sure yet if this is working, since I can't figure out how to actually access the resulting $ci->ci_xajax object in my controller.

Should I be trying to integrate Keradus/Psr4Autoloader into the CodeIgniter Xajax Library to get it to perform the loading instead of literal use statements?

Maybe a better place to discuss it is at xajax-projects in a CodeIgniter forum thread...

I've answered in the Xajax forum http://community.xajax-project.org/topic/9390/the-new-xajax-is-out-and-the-new-xajax-is-cool/


Online demo doesn't work

https://wasmerio.github.io/wai/

The specific error I'm experiencing is as follows:
Uncaught SyntaxError: The requested module './demo.js' does not provide an export named 'Config' (at main.js:10:16)


Add 'associated_groups' attribute to Spaceship::Portal::App

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Description
getAppIdDetail.action API returns the associatedApplicationGroups element.
So I added the associated_groups attribute to Spaceship::Portal::App class.
Motivation and Context
#8508

I signed it!

thx - cool PR 🚀

@yukiasai @hjanuschka 🚀

@hjanuschka @nafu thank you for reviewing 👍


Only dismiss find-in-page on navigation start

Task/Issue URL: https://app.asana.com/0/414709148257752/1202735559936001
Tech Design URL:
CC: @miasma13 @brindy
Description:
Changes Find In Page behaviour to only close on navigation start event instead of everly "loading state changed" event which may have leaded to unexpected Find In Page disappearing

Steps to test this PR:

Validate Find In Page disappears when expected (on navigation events including non-reloading navigations like Asana) and does not disappear when unexpected (like on frame loading events or loading did finish events)

Internal references:
Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

It didn't work for me. The test scenario:

Open gazeta.pl
Use find in page to search for "ko"
Start going through the results
At one point the find in page disappears

I think there was some dynamic load triggered from the page that results in the closeFindInPage being called from the url's didSet in the TabViewController. Maybe try moving this call to willSet with a check if the url actually changes?


[TEST] Test BSS within the HPE CSM pipeline to identify regressions

This is a placeholder for @mtupitsyn to add any errors he finds with running SMD at HPE.

FYI - vulnerability of level "high" is found in ghcr.io/openchami/bss:sha256-49cfc147beee3480bd99301e34016a43fbde06ed4b6d8041cd607315d1ac0331 by Snyk scan:
Testing artifactory.algol60.net/csm-docker/stable/ghcr.io/openchami/bss@sha256:d96e569bb4d54e05f9ff70d4b6db903eccb60b4ea5b1690db11205d50b8b617a...

✗ High severity vulnerability found in google.golang.org/grpc
  Description: Denial of Service (DoS)
  Info: https://security.snyk.io/vuln/SNYK-GOLANG-GOOGLEGOLANGORGGRPC-5953328
  Introduced through<EMAIL_ADDRESS>  From<EMAIL_ADDRESS>  Fixed in: 1.56.3, 1.57.1, 1.58.3

Looks like that's related to hms-hmetcd.  I've created a PR for that package at https://github.com/Cray-HPE/hms-hmetcd/pull/13 which unvendors and updates the library.  All tests pass locally with the changes.

Similar to SMD reconciliation test (https://github.com/OpenCHAMI/smd/issues/42), I've deployed CSM based version from scratch and modified deployment to run OpenCHAMI version of BSS container. Container started without errors. However, unlike SMD test, there were some test failures. I'm attaching archived logs of pods and test outputs: vshasta-bss-logs.tar.gz
Test definitions:

smoke: https://github.com/Cray-HPE/hms-bss/blob/master/test/ct/smoke/smoke.json
non-disruptive API tests: https://github.com/Cray-HPE/hms-bss/tree/master/test/ct/api/1-non-disruptive

We're going to need more than a bunch of logs and some json. We're not familiar with your testing framework.  What tests failed and what were the messages associated with each failure?

It's in a file named logs-bss/openchami-bss-test-stdout.txt in attached archive. It's too big to put it entirely in issue comment. Short info is:
=========================== short test summary info ============================
FAILED api/1-non-disruptive/test_service.negative.tavern.yaml::bssAPIServiceAPIsNegative - Verify POST, PUT, PATCH, DELETE against service endpoints[service/status]
FAILED api/1-non-disruptive/test_service.negative.tavern.yaml::bssAPIServiceAPIsNegative - Verify POST, PUT, PATCH, DELETE against service endpoints[service/etcd]
FAILED api/1-non-disruptive/test_service.negative.tavern.yaml::bssAPIServiceAPIsNegative - Verify POST, PUT, PATCH, DELETE against service endpoints[service/hsm]
FAILED api/1-non-disruptive/test_service.negative.tavern.yaml::bssAPIServiceAPIsNegative - Verify POST, PUT, PATCH, DELETE against service endpoints[service/status/all]
FAILED api/1-non-disruptive/test_service.tavern.yaml::bssAPIServiceAPIs

First 4 API tests fail on HTTP code 405 returned, where HTTP code 200 is expected. The last test got 404 at http://cray-bss/boot/v1/service/etcd while test expects 200.

Let's get your BSS SMEs involved here.
In the case of the 405 errors, I think the tests are invalid.  Why would we want to support POST,PUT, PATCH on status urls?  Given what I understand of those endpoints, they exist solely for reading health information.
The 404 on service/etcd endpoint may be a regression.  Since OpenCHAMI doesn't use etcd, I think this is a bug you can assign to an HPE SME to review and address.  I'm guessing that some of our work to switch backends may have altered the way that endpoint works and/or removed it.
Good to see that so many of your integration tests pass correctly.  That should indicate that our work on BSS hasn't disrupted BSS functinality within CSM and that you can switch upstream without issue.

In the case of the 405 errors, I think the tests are invalid. Why would we want to support POST,PUT, PATCH on status urls? Given what I understand of those endpoints, they exist solely for reading health information.

I looked into test descriptions - my bad, I misinterpreted test results. These are so called "negative tests", which expect 405 HTTP code on invalid request. So outcome should be treated as "returned HTTP code 200 where 405 is expected", not the other way around.
I'll check with Curt to see who is our BSS expert these days.


DPM-22076. bulk update/add IBM copyrights

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


kvclient(cdc): fix an out of range panic in client (#9799)

This is an automated cherry-pick of #9799
What problem does this PR solve?
Issue Number: close #9739
What is changed and how it works?
Fix an out of range panic.
Check List
Tests

Unit test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/lgtm


Unset cache in JsonFileManager after file contents are modified

When doing this:
$json = $this->jsonFileManager->loadFromFileInfo($packageComposerFileInfo);

The contents of the file are cached. If then they are modified, for instance here:
$json = $this->processSectionWithPackages($json, $packageNames, $version, ComposerJsonSection::REQUIRE_DEV);

$this->jsonFileManager->printJsonToFileInfo($json, $packageComposerFileInfo);

Then the cache for that file must be purged. Otherwise, this code fails:
// Read 1st time
$json = $this->jsonFileManager->loadFromFileInfo($packageComposerFileInfo);

// Do something ...
$json = $this->processSectionWithPackages($json, $packageNames, $version, ComposerJsonSection::REQUIRE_DEV);

// Save...
$this->jsonFileManager->printJsonToFileInfo($json, $packageComposerFileInfo);

// Read 2nd time
$json = $this->jsonFileManager->loadFromFileInfo($packageComposerFileInfo);

// ERROR: I got the contents from the cache, not the modified contents

CI failing same as https://github.com/symplify/symplify/pull/3456#issuecomment-892292685

We'll need a test case to cover this

Ok, done

Thanks :+1:


Warning about setting config_entry explicitly in Home Assistant logs

The problem
In the Home Assistant logging the following warning shows up
Logger: homeassistant.helpers.frame
Bron: helpers/frame.py:324
Eerst voorgekomen: 21:32:41 (1 gebeurtenissen)
Laatst gelogd: 21:32:41

Detected that custom integration 'afvalwijzer' sets option flow config_entry explicitly, which is deprecated at custom_components/afvalwijzer/config_flow.py, line 81: self.config_entry = config_entry. This will stop working in Home Assistant 2025.12, please create a bug report at https://github.com/xirixiz/homeassistant-afvalwijzer/issues

Related blog post https://developers.home-assistant.io/blog/2024/11/12/options-flow
Version of afvalwijzer integration having the issue?
2024.12.01
Version of Home Assistant Core having the issue?
core-2024.12.2
Anything in the logs that might be useful for us?
That is already in the description.

Additional information
No response

Hi, this is odd. Somehow I missed all open issues. I just got a new laptop and suddenly a lot of open issues are visible. I`ll have a look and come back to it asap. Thanks!

Hi, this is odd. Somehow I missed all open issues. I just got a new laptop and suddenly a lot of open issues are visible. I`ll have a look and come back to it asap. Thanks!


Bugfix AID length + bugfix reading beyond block 255 + add readClass option

Fixes #54
Enables reading beyond block 255 / 0xFF
Add readClass option to read() method to change the default/hard-coded 0xFF Class

Hi @martijnthe,
thank you very much for your PR! 👍
All the fixes are perfectly OK. 👍
I merged it into the master.
Could you just please explain what your use-case of specifying the read class is?
According to the documentation of the Class byte in the section 5.4.1 is can be used to indicate:

to what extent the command and the response comply with this part of ISO/IEC 7816
and when applicable (see table 9), the format of secure messaging and the logical channel number.

*If you were able to give some examples, it would be really helpful. 🙂 Eventually, it could be reasonable to allow specifying the class in other commands, too. (e.g. in the WRITE command).
Thanks.

Could you just please explain what your use-case of specifying the read class is?

I’m reading the NDEF records from a type 4 tag inside a device (Elsys sensor). I was looking at how another program (https://itunes.apple.com/us/app/nfc-ideas/id1245536234?mt=12) was reading the tag. It involved setting the class to zero. I don’t know why (I know very little about these protocols) but with the default 0xFF it was not working.

@martijnthe OK Thanks for explanation. I'll add the note about reading from Elsys sensors into the docs. 🙂

Hi, I have a big problem, I can't authenticate and it seems that it doesn't receive the correct KeyType, I don't know if it's because it converts it from hex to decimal or I don't know, it's a mifare classic 1k, I can read the UID but I can't authenticate for R / W on the card
I would appreciate any help, I've been with this for days

Hi @alanezze,
Thank you for posting your problem here. I think that I know what the cause is. Let me explain:
nfc-pcsc supports mainly ACR122 USB reader but other PC/SC compliant devices normally also work with nfc-pcsc (out-of-the-box). From the screenshot, you posted, it seems that you are using OMNIKEY 5422 NFC reader.
In nfc-pcsc, a new instance of Reader class is created upon the reader connection (is is done here in NFC class). If it is a known supported device, a special subclass of Reader is created, for example ACR122Reader. The subclass can modify the behavior / implement special functions in respect with the reader API docs. As I mentioned above, most PC/SC readers will work out-of-the-box via Reader class.reader
However, on OMNIKEY 5422, loading of MIFARE Classic keys into the reader memory (part of the authentication, reader.authenticate) is (just a little bit) different from the one that is used in the common Reader class (based on ACR122).
I looked into the OMNIKEY 5422 Software Developer Guide and in the section 11.1.3, there is a description for the Load Keys command.
The MIFARE Classic authentication implementation on PC/SC readers requires that a key that is used in General Authenticate command is at first loaded into the reader memory. The key can be stored either in volatile or in non-volatile memory. Usually, the key is stored only in volatile memory and thus must be reloaded upon reader reconnection. The OMNIKEY 5422 supports 32 key slots for MIFARE Classic keys and requires that MIFARE Classic keys are stored in non-volatile memory (i.e. they are persisted even after reader power off) (see section 11.2 of OMNIKEY 5422 Software Developer Guide).
The problem is, that current implementation of Load Keys command in [Reader.loadAuthenticationKey] (https://github.com/pokusew/nfc-pcsc/blob/master/src/Reader.js#L342) uses hard-coded P1 parameter 0x00 that indicates the volatile memory. Therefore, when this loadAuthenticationKey is executed (it is called internally in reader.authenticate), the Load Keys command fail with error code 27014(= 0x6986 in HEX = Volatile memory is not available error per OMNIKEY docs). Another (non fatal) problems are that the implementation in Reader class considers only 2 key slots and does not support optimized loading for persistent key slots.
Possible solutions:

improve the current implementation in Reader class and make it more abstract to support configurable loading of keys
(and/or) create a subclass of Reader class (i.e. OMNIKEY5422Reader) that implements reader.authenticate specifically for OMNIKEY 5422

Right now, I am working on PoC for 1. and will soon post instructions on how to install and test a modified version of nfc-pcsc.
Hope it helps. 🙂

PS Don't forget to star ⭐ my library, if you find it useful. 😃 Thanks.

Hi @alanezze,
I rewrote the PC/SC Authentication implementation in Reader class to be more universal (branch #universal-pcsc-authentication). 😅 Now it is fully configurable and it should work (not only) on OMNIKEY 5422.
You can find an updated MIFARE Classic example here. To test it locally, please run:
git clone https://github.com/pokusew/nfc-pcsc.git
cd nfc-pcsc
git checkout universal-pcsc-authentication
yarn # or npm install
yarn run example-mifare-classic # or npm run example-mifare-classic

Please let me know, if it works for you. 🙂

You are the genius of the Mifare, I read and write perfectly, highly
recommended, although I missed that of the authentication structure,
you are a genius
El jue, 18 feb 2021 a las 17:25, Martin Endler<EMAIL_ADDRESS>escribió:

Hi @alanezze https://github.com/alanezze,
I rewrote the PC/SC Authentication implementation in Reader class to be
more universal (branch #universal-pcsc-authentication
https://github.com/pokusew/nfc-pcsc/tree/universal-pcsc-authentication).
😅 Now it is fully configurable and it should work (not only) on OMNIKEY
5422.
You can find an updated MIFARE Classic example here
https://github.com/pokusew/nfc-pcsc/blob/universal-pcsc-authentication/examples/mifare-classic.js.
To test it locally, please run:
git clone https://github.com/pokusew/nfc-pcsc.git
cd nfc-pcsc
git checkout universal-pcsc-authentication
yarn # or npm install
yarn run example-mifare-classic # or npm run example-mifare-classic
Please let me know, if it works for you. 🙂
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pokusew/nfc-pcsc/pull/55#issuecomment-781613182, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ5MH6HVVU5727WJDJK23N3S7VZTHANCNFSM4GHHF5EQ
.

Could you just please explain what your use-case of specifying the read class is?

I’m reading the NDEF records from a type 4 tag inside a device (Elsys sensor). I was looking at how another program (https://itunes.apple.com/us/app/nfc-ideas/id1245536234?mt=12) was reading the tag. It involved setting the class to zero. I don’t know why (I know very little about these protocols) but with the default 0xFF it was not working.

@martijnthe Would you remember what your authentication key was for the sensors? I can't seem to get the key correct to try read from them

@ColinMall94 i don’t recall there being any auth involved.

@martijnthe Thanks for the response. Had a tough time getting it to return a valid response. Could be my ACR122u though...

@martijnthe  May i ask what reader you used to read the elsys sensors?

@ColinMall94 https://www.acs.com.hk/en/products/3/acr122u-usb-nfc-reader/


Json benchmarks

These are the benchmarks I was using while writing JsonBufferBuilder.
The output is not particularly stable, as you can see from the variation over three runs, full output below. But it's enough for approximate work :)
       SdkMapsJsonWireBenchmark: 1455ms, 6108907 bytes
     SdkMapsBufferWireBenchmark: 1518ms, 4409017 bytes
    SdkMapsBuilderWireBenchmark: 1359ms, 4159021 bytes
    BufferMapsJsonWireBenchmark:  883ms, 6108907 bytes
  BufferMapsBufferWireBenchmark:  369ms, 4409017 bytes
   BuilderMapsJsonWireBenchmark: 1049ms, 6108907 bytes
BuilderMapsBuilderWireBenchmark:  167ms, 1509126 bytes

     ProcessSdkMapsJsonWireBenchmark:  397ms, hash 289171379
  ProcessBufferMapsJsonWireBenchmark:  312ms, hash 289171379
 ProcessBuilderMapsJsonWireBenchmark:  311ms, hash 289171379

Deserialized output validated.

       SdkMapsJsonWireBenchmark: 1600ms, 6108907 bytes
     SdkMapsBufferWireBenchmark: 1300ms, 4409017 bytes
    SdkMapsBuilderWireBenchmark: 1216ms, 4159021 bytes
    BufferMapsJsonWireBenchmark:  843ms, 6108907 bytes
  BufferMapsBufferWireBenchmark:  354ms, 4409017 bytes
   BuilderMapsJsonWireBenchmark:  987ms, 6108907 bytes
BuilderMapsBuilderWireBenchmark:  152ms, 1509126 bytes

     ProcessSdkMapsJsonWireBenchmark:  321ms, hash 289171379
  ProcessBufferMapsJsonWireBenchmark:  302ms, hash 289171379
 ProcessBuilderMapsJsonWireBenchmark:  303ms, hash 289171379

Deserialized output validated.

       SdkMapsJsonWireBenchmark: 1260ms, 6108907 bytes
     SdkMapsBufferWireBenchmark: 1175ms, 4409017 bytes
    SdkMapsBuilderWireBenchmark: 1255ms, 4159021 bytes
    BufferMapsJsonWireBenchmark:  834ms, 6108907 bytes
  BufferMapsBufferWireBenchmark:  357ms, 4409017 bytes
   BuilderMapsJsonWireBenchmark:  954ms, 6108907 bytes
BuilderMapsBuilderWireBenchmark:  153ms, 1509126 bytes

     ProcessSdkMapsJsonWireBenchmark:  321ms, hash 289171379
  ProcessBufferMapsJsonWireBenchmark:  322ms, hash 289171379
 ProcessBuilderMapsJsonWireBenchmark:  300ms, hash 289171379

Deserialized output validated.

Thanks! Output after changes
       SdkMapsJsonWireBenchmark: 1646ms, 7177227 bytes
     SdkMapsBufferWireBenchmark: 1423ms, 5122684 bytes
    SdkMapsBuilderWireBenchmark: 1492ms, 4859868 bytes
      LazyMapsJsonWireBenchmark:  939ms, 7177227 bytes
    LazyMapsBufferWireBenchmark:  568ms, 5122684 bytes
   BuilderMapsJsonWireBenchmark: 1386ms, 7177227 bytes
BuilderMapsBuilderWireBenchmark:  360ms, 2111773 bytes

     ProcessSdkMapsJsonWireBenchmark:  379ms, hash 23186292
  ProcessLazyMapsBufferWireBenchmark:  233ms, hash 23186292
ProcessBuilderMapsBuilderWireBenchmark:  302ms, hash 23186292

Deserialized output validated.

       SdkMapsJsonWireBenchmark: 2208ms, 7177227 bytes
     SdkMapsBufferWireBenchmark: 2032ms, 5122684 bytes
    SdkMapsBuilderWireBenchmark: 2160ms, 4859868 bytes
      LazyMapsJsonWireBenchmark: 1254ms, 7177227 bytes
    LazyMapsBufferWireBenchmark:  602ms, 5122684 bytes
   BuilderMapsJsonWireBenchmark: 1493ms, 7177227 bytes
BuilderMapsBuilderWireBenchmark:  365ms, 2111773 bytes

     ProcessSdkMapsJsonWireBenchmark:  453ms, hash 23186292
  ProcessLazyMapsBufferWireBenchmark:  250ms, hash 23186292
ProcessBuilderMapsBuilderWireBenchmark:  299ms, hash 23186292

Deserialized output validated.

       SdkMapsJsonWireBenchmark: 1578ms, 7177227 bytes
     SdkMapsBufferWireBenchmark: 1527ms, 5122684 bytes
    SdkMapsBuilderWireBenchmark: 1905ms, 4859868 bytes
      LazyMapsJsonWireBenchmark: 1176ms, 7177227 bytes
    LazyMapsBufferWireBenchmark:  564ms, 5122684 bytes
   BuilderMapsJsonWireBenchmark: 1411ms, 7177227 bytes
BuilderMapsBuilderWireBenchmark:  349ms, 2111773 bytes

     ProcessSdkMapsJsonWireBenchmark:  378ms, hash 23186292
  ProcessLazyMapsBufferWireBenchmark:  246ms, hash 23186292
ProcessBuilderMapsBuilderWireBenchmark:  307ms, hash 23186292

Deserialized output validated.


make fails for RISCV Vector targets

I am getting two different errors when calling make on targets RISCV64_ZVL256B and RISCV64_ZVL128B
For RISCV64_ZVL256B it looks like a problem with finding the correct intrinsic names:
 make HOSTCC=clang CC=riscv64-unknown-linux-gnu-gcc TARGET=RISCV64_ZVL256B
...
../kernel/riscv64/strmm_kernel_16x8_zvl256b.c:1234:13: error: unknown type name 'vfloat32m1_t'
 1234 |             vfloat32m1_t result0 = __riscv_vfmul_vf_f32m1( A0, B0, gvl);
      |             ^~~~~~~~~~~~
../kernel/riscv64/strmm_kernel_16x8_zvl256b.c:1249:13: error: unknown type name 'vfloat32m1_t'
 1249 |             vfloat32m1_t c0 = __riscv_vfmul_vf_f32m1( result0, alpha, gvl );
      |             ^~~~~~~~~~~~
make[1]: *** [Makefile.L3:958: strmm_kernel_LN.o] Error 1

and for RISCV64_ZVL128B it cannot find riscv_vector.h (although it does exist in my clang lib).
make HOSTCC=clang CC=riscv64-unknown-linux-gnu-gcc TARGET=RISCV64_ZVL128B
...
make[1]: *** [Makefile.L1:736: caxpyc_k.o] Error 1
In file included from ../common.h:458,
                 from ../kernel/riscv64/dtrmm_kernel_8x4_zvl128b.c:42:
../common_riscv64.h:95:11: fatal error: riscv_vector.h: No such file or directory
   95 | # include <riscv_vector.h>
      |           ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.L1:689: casum_k.o] Error 1
make[1]: *** [Makefile.L1:866: cscal_k.o] Error 1
In file included from ../common.h:458,
                 from ../kernel/riscv64/znrm2_rvv.c:28:
../common_riscv64.h:95:11: fatal error: riscv_vector.h: No such file or directory
   95 | # include <riscv_vector.h>
      |           ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.L3:998: dtrmm_kernel_LN.o] Error 1
make[1]: *** [Makefile.L1:830: cnrm2_k.o] Error 1
In file included from ../common.h:458,
                 from ../kernel/riscv64/izamax_rvv.c:28:
../common_riscv64.h:95:11: fatal error: riscv_vector.h: No such file or directory
   95 | # include <riscv_vector.h>
      |           ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.L1:628: icamax_k.o] Error 1
In file included from ../common.h:458,
                 from ../kernel/riscv64/zrot_rvv.c:28:
../common_riscv64.h:95:11: fatal error: riscv_vector.h: No such file or directory
   95 | # include <riscv_vector.h>
      |           ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.L1:848: csrot_k.o] Error 1

which toolchain are you using - this looks like your gcc cross-compiler does not yet support the vector extension ? (and having the header somewhere in your host clang tree does not help when running a gcc toolchain)

$ riscv64-unknown-linux-gnu-gcc --version
riscv64-unknown-linux-gnu-gcc (g2ee5e430018) 12.2.0

can you point me to a toolchain that does include riscv_vector.h?

Any recent LLVM should do, or try Imaginations Catapult SDK https://developer.imaginationtech.com/catapult-sdk/ (based on LLVM) or the XuanTie gcc toolchain used in the CI jobs : https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1698113812618/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.8.0-20231018.tar.gz


Building Gramine base image fails due to failed intel-sgx-deb.key copy

While trying to build base gramine image, I am encountering build failures due to lack of key availability.
Command: ./gsc build-gramine gramine-base
Output: Step 3/9 : COPY intel-sgx-deb.key /
Failed to build a base-Gramine image gsc-gramine-base.
Config.yaml file contents are as described below.
Distro: "ubuntu:20.04"
Registry: ""
Gramine:
Repository: "https://github.com/gramineproject/gramine.git"
Branch:     "v1.2"
After having look into gsc.py, the below line was missing in "def gsc_build_gramine(args)" function.
shutil.copyfile('keys/intel-sgx-deb.key', tmp_build_path / 'intel-sgx-deb.key')
Raised PR https://github.com/gramineproject/gsc/pull/92 to address the issue.

This was fixed in #96, forgot to close this issue when merging that PR


Generate new eight-digit emergency codes for Authenticator for PAM.

From @ThomasHabets on October 10, 2014 8:6
Original issue 248 created by<EMAIL_ADDRESS>on 2013-02-08T00:05:10.000Z:
What steps will reproduce the problem?

Wish to generate new emergency codes for times when I don't have Authenticator on me.
Setting up Authenticator only gives me five codes.
I would like more.

What version of the product are you using? On what operating system?
pam_google_authenticator.so
Please provide any additional information below.
When setting up Google Authenticator for PAM, it gives me five emergency codes. I'd like to generate more as a just-in-case. Is this at all possible?
Copied from original issue: google/google-authenticator#247

Comment #1 originally posted by belotton on 2013-02-09T09:47:43.000Z:
You can change the SCRATCHCODES value (file google-authenticator.c, line 41).
Then, build and install by running "make install".
Run google-authenticator.
Is it possible to generate new emergency codes without changing the secret key ?

Comment #2 originally posted by belotton on 2013-02-09T11:01:20.000Z:
You can change the SCRATCHCODES value (file google-authenticator.c, line 41).
Then, build and install by running "make install".
Then, run google-authenticator.
I think google-authenticator should be able to generate new emergency codes without generating a new secret.

Comment #3 originally posted by belotton on 2013-02-09T13:47:28.000Z:
Here is a patch allowing you to specify the number of emergency codes (max 10) you want to generate.
Usage :
google-authenticator --emergency-code 10
google-authenticator -e 10

Hi Thomas, it seems like @Lo0k has done his patch in #60.
Is it possible for it to merged into the master branch?
Thanks!

It was already merged a year ago.


Missing file (crop_sub_images.py).

Thanks for your great work, but it seems to lack a related file (crop_sub_images.py) in this project for training. Could you upload this file? I would appreciate it.

Sorry about that. I just added it.

Thanks. But I have another problem when using distributed training.

And I have checked my data path, it is
├─ REDS
├── train_sharp_sub
├───-000_s001
├───-000_s002
And when I use the single GPU training strategy, there is another problem like,

It seems due to the dismatched batchsize dismension question between input and label, but I don't know why. The parameters in realbasicvsr_wogan_c64b20_2x30x8_lr1e-4_300k_reds.py keep same.

If the training dataset path is correct, it seems that the validation set path is incorrect. Have you downloaded the UDM10 dataset for validation?

Yes, you are right, I got a mistake with the validation set path. However, it turned to the dismatched batchsize dismension question when using both distributed training and single GPU training,  have you ever meet this problem? Thanks.

I did not encounter this error before.
I have no access to the GPU server at the moment. I will run again when I get back the access later today. For now, you can try printing out the input and output dimensions to check if there are any problems.

@sunlustar Where was the UDM10 dataset downloaded? train_sharp_sub dataset is which of REDS? thanks. I don't find.

@sunyclj You can download udm10 dataset here, https://www.terabox.com/web/share/link?surl=LMuQCVntRegfZSxn7s3hXw&path=%2Fproject%2Fpfnl

thanks.but i don't have account.i don't download it from here.
---Original---
From: @.>
Date: Tue, Jan 11, 2022 15:29 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [ckkelvinchan/RealBasicVSR] Missing file (crop_sub_images.py).(Issue #14)
@sunyclj You can download udm10 dataset here, https://www.terabox.com/web/share/link?surl=LMuQCVntRegfZSxn7s3hXw&path=%2Fproject%2Fpfnl
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

@ckkelvinchan @sunlustar  I also meet the error "ValueError: You may use too small dataset and our distributed sampler cannot pad your dataset correctly. We highly recommend you to use fewer GPUs to finish your work". How should I fix it?

And I have checked my data path, it is
├─ REDS
├── train_sharp_sub
├───-000_s001
├───-000_s002
├─ UDM10
├───-BIx4
├───---calendar
├───---city
├───---foliage
├───---walk
├───-GT
├───---calendar
├───---city
├───---foliage
├───---walk
├─ VideoLQ
am I missing something? @ckkelvinchan @sunlustar

And I have checked my data path, it is ├─ REDS ├── train_sharp_sub ├───-000_s001 ├───-000_s002 ├─ UDM10 ├───-BIx4 ├───---calendar ├───---city ├───---foliage ├───---walk ├───-GT ├───---calendar ├───---city ├───---foliage ├───---walk ├─ VideoLQ
am I missing something? @ckkelvinchan @sunlustar

It seems that the folder UDM10 is not downloaded correctly. You are using Vid4.


src/apns_connection.erl:22: Warning: undefined callback function terminate/3 (behaviour 'gen_statem')

Please help me resolve this warning. Please note I have a current prod env on OTP 18. I am trying to upgrade to apns4erl v2 without major other version upgrades like OTP 23 etc.

How serious is this warning? Can I use this module with this warning? What the side-effects of this warning.

Erlang/OTP: 19.0.7
Erlang/OTP: 19.0.7
git clone https://github.com/inaka/apns4erl.git
cd apns4erl/
wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
./rebar3 compile
===> Fetching coveralls v2.2.0
===> Fetching jsx v2.10.0
===> Analyzing applications...
===> Compiling jsx
===> Compiling coveralls
===> Verifying dependencies...
===> Fetching base64url v1.0.1
===> Fetching gun v1.3.3
===> Fetching jsx v3.0.0
===> Fetching cowlib v2.7.3
===> Analyzing applications...
===> Compiling cowlib
===> Compiling base64url
===> Compiling gun
===> Compiling jsx
===> Analyzing applications...
===> Compiling apns
**src/apns_connection.erl:22: Warning: undefined callback function terminate/3 (behaviour 'gen_statem')**

https://erlang.org/doc/man/gen_statem.html was introduced in OTP 19, so that's what the compiler is complaining about. You have to either bump your OTP version or keep apns4erl at a lower version.

@paulo-ferraz-oliveira I am on OTP 19.0.7 or apns4erl v2 will not compile.
fromrebar.config
{minimum_otp_vsn, "19"}.

Sure, sorry, I read "I have a current prod env on OTP 18" and jumped to a conclusion. Lemme check.

For your reference:
ls /usr/local/lib/erlang/
bin  erts-7.2.1  erts-8.0.5  Install  lib  misc  releases  usr

I don't get that on 19.3 (don't have 19.0 locally).

OK...let me try 19.3

According to the doc.s, not having terminate should not affect you much. I'm not sure if the callback became optional only after 19.0 was out (which is possible).

@paulo-ferraz-oliveira Thank you so much. I have another issue to be resolved.
https://github.com/inaka/apns4erl/issues/242.
I hope with this issue, that issue is also resolved. I will update both issues accordingly after OTP 19.x upgrade and testing.

This is where it became optional: https://github.com/erlang/otp/commit/913d0b52df1e029fb1728b44ba7da318f3dc49dd.
And this points to it having become so in OTP-19.3, as per Git history.

@paulo-ferraz-oliveira I was able to build and run apns4erl from master using OTP-19.3.6. However, https://github.com/inaka/apns4erl/issues/242 is still happening.
It happens after couple of days of non-use of apns_connection. For eg.
Last push notification sent:
2021-03-02 21:27:36.030 [error] <0.506.0>@my_mod_apns:sendAPNS:290 Success in request. Reason was: 200 with <<"c2ca5csdsc5b0550a74fe799asda96d9049d3502c58fd5e4b27e98ed1b97e49c2d">>
Then after couple of days:

2021-03-05 15:51:38.055 [error] <0.530.0> CRASH REPORT Process <0.530.0> with 0 neighbours crashed with reason: no function clause matching gun_http2:parse(<<>>, close) line 77
2021-03-05 15:51:38.056 [error] <0.517.0> Supervisor gun_sup had child gun started with {gun,start_link,undefined} at <0.530.0> exit with reason function_clause in context child_terminated

@jainygaurav, if the original issue is solved, "Warning: undefined callback", I think we should move the discussion to #242 and not mix that here. What do you say?

Sure...I close this issue.


Will Godot open plain text files with the script editor?

Operating system or device - Godot version:
Windows 7 and LinuxMint Debian Edition. Godot 2.1.2
Issue description:
If you try to open a plain text file in Godot script Editor, it can't. Doesn't show any error message, but if you open Godot from the terminal, it says:

ERROR: load: No loader found for resource: res://scenes/intro-game/bad_bamboo.esc
At: core/io/resource_loader.cpp:218.

Searching about the issue, I found this in the official documentation (http://docs.godotengine.org/en/stable/tutorials/making_plugins.html):

Godot is not able (yet) to open text files besides scripts, so this must be done in an external editor.

Is this going to be supported in the future?
My main problem with this is that I want to edit Escoria ESC files inside Godot, so I don't need to go to a different editor, search routes to save/open, etc... And if I'm going to work in a syntax highlighting for ESC files, putting it in the internal godot editor looks like the best option.

Duplicate of #1390.
(and to avoid 8254 type of scenarios, yes, it would be supported in the future, hopefully 3.0)

Thanks :)


multiple downloads with the same files names…

Downloading  macdows95_windows.zip  24.04 MiB
Downloading  dontgiveup_windows.zip  93.64 MiB
Downloading  magicat_windows.zip  77.83 MiB
Downloading  romansands_windows.zip  387.27 MiB

Files with the same name with always be redownloaded…

For couple of files HB provided multiple files to download on their site, but on api request they return files with the same url, but with different md5sums…
For know I manually excluded known for me files with this problem.
But in future probably some more robust version is needed. Probably checking reported size using request and comparing with that from Api and not downloading file.

e3b37b82345a75ada2b87547c5dda001713a44d3 -- this commit prevent redownloading and downloading for the first time.
The correct files should be download at first try. But user will get misleading messages in case that above check from b644feb9bf2026a8e89158900f010ac343ead6ad will be removed.


vendor: Update ruby-macho to 0.2.6.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

This brings fixes for behavior expected in #1460.
cc @MikeMcQuaid, @UniqMartin

As https://github.com/Homebrew/brew/pull/1460 was reverted could you add its changes to this PR too? Thanks!

Thanks again @woodruffw!


public/user listing studies

This solves an issue introduced in the initial listing PR, adds 2 lists with only one control set, and fixes some indentation issues in the js.

Depends on https://github.com/biocore/qiita/pull/1822, merge that one first

Ready for review, thanks!

Changes Unknown when pulling 972faefa47a18146ce18dae9fadf788c9b36e252 on antgonza:listing-studies into ** on biocore:master**.

👍

Few comments. However, the sample selection doesn't work with this branch. Unsure where the bug is, but neither the Add to analysis nor the individual Add buttons for each biom table work.

Coverage increased (+0.06%) to 83.079% when pulling 972faefa47a18146ce18dae9fadf788c9b36e252 on antgonza:listing-studies into 591ef98051b344afe2c95655f3e419168985ecd8 on biocore:master.

Coverage increased (+0.07%) to 83.095% when pulling 9437892dddef6b3bb90f9ef5f517e3110877960b on antgonza:listing-studies into 591ef98051b344afe2c95655f3e419168985ecd8 on biocore:master.

Coverage increased (+0.07%) to 83.095% when pulling 9437892dddef6b3bb90f9ef5f517e3110877960b on antgonza:listing-studies into 591ef98051b344afe2c95655f3e419168985ecd8 on biocore:master.

Changes Unknown when pulling 279ed3603d03fbe1452e6690f220ba0aec65d730 on antgonza:listing-studies into ** on biocore:master**.


Support for Laravel Blade syntax

Hi,
could you please add support for the Laravel Blade syntax? Would be much appreciated. Thanks for this amazing app. :-)
Kind regards
Manuel

Hi,
I'm sorry but CodeMirror doesn't have a Laravel mode currently.
See here
Feel free to reopen this issue if you find something.


#5 Add the MIT license to this project

Resolves #5

Please rebase your chagnes upon the updated main branch, as some of your changes relied on changes made & merged within another branch/PR.


Blankmod synchronization

The blankmod should be exactly the same as in ParadoxGameConverters/Vic2toHoI4 and kept synchronized

Maybe. At the least, Vic2ToHoI4's copy needs an extensive cleanup before this is viable. It may also be that some of it is to support features we won't want in Vic3ToHoI4. But if it can be done this would be handy.

blankMod could be extracted into its own HoI4BlankMod repository add pulled by converters as a submodule.

I was thinking about that too. Though it all depends if it's really sync-able across the different projects.


add Li TSS track(s)? PMID:25747261

We appear to have the data for promoter locations from PMID:25747261 -
ftp://ftp.pombase.org/external_datasets/HuaLiTSS/
Back in the original summary of #672, Val noted that this track wasn't visible
But the promoters FAQ strongly implies that it was visible in the now-deactivated PomBase-specific ensembl browser. (I don't think it's the only one that didn't migrate.)
Do we want to add it back? The answer will affect how I update the FAQ.

yes we want to add back at some point....

swapping open vs. closed because #736 has more information


Dispatched state change not reflecting immediately

Hi,
When i dispatch one of my state, the change doesn't get completed until the function ends. On the next function call the state (this.state.SelectedItem) reflects the data i dispatched earlier. Is there any way round it, or do i need to set a timeout for the call to complete so state is correct?
this.dispatch = state => this.vm.$dispatch(state);
handleEdit(selectedItem) {
this.dispatch({ SelectedItem: selectedItem });
let currentItem = this.state.SelectedItem;
}

Hello. Can you give code example, please?

Here item is one of the items from the collection being looped , the presenter.
handleEdit(selectedItem) {
this.props.onEdit(selectedItem);
}
<FloatingActionButton
onClick={this.handleEdit.bind(this, item)}
zDepth={0} mini={true} iconStyle={styles.buttonIconStyle}
style={{ backgroundColor: pink500 }} >

In the container,
handleEdit(selectedItem) {
this.dispatch({ SelectedItem: selectedItem });
--- want to do other action after state has been updated, basically calling another components passing updated state as props. ----
}

ignore missing tags in FloatingActionButton, as it was not appearing here in the issue, so removed it.

React setState function is asynchronous, you need to code accordingly.

Anyway i can capture when dispatch finishes specific state change?

Use the appropriate React lifecycle hook to get notified of the state change.

Sorry, correction:  vm.$dispatch only dispatches data to the back-end and does not call React setState.   If the back-end view model responds to that dispatch by setting another property value, that change will get propagated back to the client and at that time setState will get called, which in turn will cause the component to re-render.   At this time you can use the React lifecycle hook for updating to listen to the state change, or handle it inside the render method itself.

Thanks. Handling in componentWillUpdate now. Looks better.


launch error

1.install success openresty/luajit ,ln -s nginx , and ln -s luajit
2.install lor
2.user by root
sh start.sh , show error
2016/06/20 23:24:26 [error] 7939#0: [lua] config_loader.lua:21: load(): Load config file from ./orange.conf
2016/06/20 23:24:26 [error] 7939#0: [lua] file_store.lua:16: new(): load file store configurations... ./data.json
:)    thx

2016/06/20 23:24:26 [error] 7939#0: [lua] config_loader.lua:21: load(): Load config file from ./orange.conf
2016/06/20 23:24:26 [error] 7939#0: [lua] file_store.lua:16: new(): load file store configurations... ./data.json

these two lines are not errors.
this is just the "ngx.ERR" level log.


Is it available for large image notification?

i want show large image in notification . please update receivce large image notifications

@sarunkumar1990 you are not following issue submission guidelines. I'm not sure what you are asking but please read up on:
https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#images
https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#picture-messages


Change announcements

Define mechanisms to announce changes to users beyond entries in Changelog, i.e. notifications in UI, posts in Discussions, etc.

This was requested by user feedback during the GEOPHIRES workshop on 2024-07-18.

I suggest that we create a discussion post in Announcements for change announcements. Users can then subscribe to notifications when we add new comments to the discussion:


OADP-598: Improve datamover backup performance via updating the blocking condition

The VolumeSnapshotBackupBackupItemAction plugin now does not wait for the VSB to complete, its just waits for the VSR restore relevant data to be populated on the status, this improves the performance as the plugin does not wait for the VSB to complete, this blocking action is now transferred to Velero core just before the end of Backup completion.
Related Velero PR: https://github.com/openshift/velero/pull/177
Fixes: https://github.com/konveyor/volume-snapshot-mover/issues/98

Looks cool. Will test it and add approval :)

/cherry-pick konveyor-0.3


Issue opening dropdown in JavaScript

Expected Behavior
I am trying to open a dropdown by calling $('element').foundation('open');
but receiving an error instead.
Current Behavior

nevermind, it needs an anchor with the data toggle attr, even if its not a button...


canon-cups-ufr2 returns 404 when downloading driver

Describe the bug
Currently, I cannot add the printer configuration to my nixos:
  services.printing.enable = true;
  services.printing.drivers = with pkgs; [ canon-cups-ufr2 ];

The http://gdlp01.c-wss.com/gds/8/0100007658/08/linux-UFRII-drv-v370-uken-05.tar.gz returns 404.  I guess this has to be updated here: https://github.com/NixOS/nixpkgs/blob/nixos-21.05/pkgs/misc/cups/drivers/canon/default.nix#L219 on Line 15.
Steps To Reproduce
Steps to reproduce the behavior:

Add printer config with canon-cups-ufr2 to your configuration.nix
Rebuild nixos

Expected behavior
Successful rebuild of nixos
Screenshots

Additional context
building '/nix/store/76409v6mwlcm6263yzjy6a5ivv94n7mi-linux-UFRII-drv-v370-uken-05.tar.gz.drv'...

trying http://gdlp01.c-wss.com/gds/8/0100007658/08/linux-UFRII-drv-v370-uken-05.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0    10    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
error: cannot download linux-UFRII-drv-v370-uken-05.tar.gz from any mirror

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
these paths will be fetched (0.05 MiB download, 0.28 MiB unpacked):
  /nix/store/p5lnl4zr45n7mf9kz9w8yz3rqh001b5c-bash-interactive-4.4-p23-dev
copying path '/nix/store/p5lnl4zr45n7mf9kz9w8yz3rqh001b5c-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.67, NixOS, 21.05pre294818.2091b116423 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.15`
 - channels(stefan): `""`
 - channels(root): `"nixos-21.05.3339.056a3c1fae3, nixos-hardware, nixpkgs-21.05pre294818.2091b116423"`
 - nixpkgs: `/root/.nix-defexpr/channels/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: -
# a list of nixos modules affected by the problem
module: canon-cups-ufr2

it was fixed in #135142 but wasn't backported
i now added the backport label so it will be backported
btw @kylesferrazza there's a update available but it changed the structure of the package therefore i will not update it
diff --git a/pkgs/misc/cups/drivers/canon/default.nix b/pkgs/misc/cups/drivers/canon/default.nix
index 93bc1f79e25..b6b5e031193 100644
--- a/pkgs/misc/cups/drivers/canon/default.nix
+++ b/pkgs/misc/cups/drivers/canon/default.nix
@@ -17,14 +17,22 @@ let
   i686_NIX_GCC = pkgsi686Linux.callPackage ({ gcc }: gcc) { };
   i686_libxml2 = pkgsi686Linux.callPackage ({ libxml2 }: libxml2) { };

-  commonVer = "4.10";
-  version = "3.70";
-  dl = "4/0100010264/01";
+  # to get the values for these
+  # https://asia.canon/en/support/0100924010
+  # ctrl+shift+i -> ctrl+shift+c -> select the download text and copy the data-url
+  # curl -I -S "THEURL" | grep location
+  # for example curl -I -S "https://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwOTI0MDIw&cmp=ACB&lang=EN" | grep location
+
+  # save the final url with web.archive.org
+  # http://web.archive.org/web/20210928205219/http://gdlp01.c-wss.com/gds/0/0100009240/20/linux-UFRII-drv-v540-uken-21.tar.gz
+  # There is no more commonVer = "4.10";
+  version = "5.40";
+  dl = "0/0100009240/20";

   versionNoDots = builtins.replaceStrings [ "." ] [ "" ] version;
   src_canon = fetchurl {
-    url = "http://gdlp01.c-wss.com/gds/${dl}/linux-UFRII-drv-v${versionNoDots}-uken-07.tar.gz";
-    sha256 = "01nxpg3h1c64p5skxv904fg5c4sblmif486vkij2v62wwn6l65pz";
+    url = "http://gdlp01.c-wss.com/gds/${dl}/linux-UFRII-drv-v${versionNoDots}-uken-21.tar.gz";
+    sha256 = "sha256-P+Drf7hSLLoGUeWI0XIebVvxBs5DOdtRC3w8GL9YA+U=";
   };

 in
@@ -36,6 +44,7 @@ stdenv.mkDerivation {
   src = src_canon;

   postUnpack = ''
+    ls -R
     (cd $sourceRoot; tar -xzf Sources/cndrvcups-common-${commonVer}-1.tar.gz)
     (cd $sourceRoot; tar -xzf Sources/cndrvcups-lb-${version}-1.tar.gz)
   '';

it was fixed in #135142 but wasn't backported i now added the backport label so it will be backported
btw @kylesferrazza there's a update available but it changed the structure of the package therefore i will not update it

Thanks for setting up the backport, @Artturin. I no longer have a canon printer for testing this so don't want to try to update to the new structure without being sure that I didn't break anything. Feel free to give it a go yourself (and replace me as maintainer) if you'd like.

I don't have a printer
If anyone wants to update it then this will be useful https://nixos.wiki/wiki/Nixpkgs/Reviewing_changes


Attempt fix for modifier keybindings

:+1:

Changes Unknown when pulling f041797f68c6c93afdaf13d185437ae6f3d9868e on 94-keybindings into ** on master**.


pyrelic/_relic.pxd and pyrelic/_relic.pyi can be removed?

Hi, When I build this repo after I deleted pxd and pyi, it works too.  is it true?

@sebastinas

They cannot be removed. pyrelic/_relic.pxd is required to produce pyrelic/_relic.c. So if the C code needs to be regenerated, cython won't be able to do that without the pxd file. pyrelic/_relic.pyi is consumed by type checkers such as mypy. If you don't care about type annotations, then you can remove it.


Obsolete files

On a compare scan I ran I've got thousands of obsolete files.
I see the mentioned note about not having a select all button which make sense.
In my case 99 % of the files are from admin folder.
and almost all of them are from admin_folder/autoupgrade/latest
isn't that something that better have a checkbox? this test was on a shop migrated from PS and also had an autoupgrade back then with PS.
I think that thirty bees Updater module use the same location for upgrades.

The simple way to solve this is to remove these files by FTP or on the shell. Entire folder autoupgrade/ can go away.
Having checkboxes for custom cases probably won't work out in a universally handleable manner. At least I can't think of a way how code could decide what can go away and what not. Implementing a set of manually crafted places is hard to maintain and prone to errors.
During development I played with displaying a file tree for obsolete files rather than a straight list. This quickly looked messy, because it made the list much longer, like 5 or 8 lines for a single file.

Than why don't just exclude autoupgrade folder completely from the obsolete scan?
or maybe show obsolete folders in a seperate line?
if its not something that you think is doable and/or valuable feel free to close this issue/topic.

Core Updater simply doesn't make such decisions. You have this particular case, another merchant has another folder, a third merchant complains about these files not being flagged as obsolete despite them being obsolete, a fourth merchant complains about them not being automatically removed, a fifth merchant complains his folder autoupgrade being gone, despite his $1000 wedding gift was inside there.
As long as there is no idiot-proof way to do the right thing for everybody, Core Updater keeps its fingers off.


Index template cleanup

Description
We're deleting all unused templates(v2) and componentTemplates on detector DELETE
Issues Resolved
#312
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

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

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

Codecov Report

Merging #317 (40f6f7b) into main (4c160e2) will decrease coverage by 0.66%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main     #317      +/-   ##
============================================
- Coverage     36.89%   36.23%   -0.66%
  Complexity      887      887
============================================
  Files           179      180       +1
  Lines          7029     7157     +128
  Branches        857      867      +10
============================================
  Hits           2593     2593
- Misses         4199     4327     +128
  Partials        237      237

Impacted Files
Coverage Δ

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

...securityanalytics/mapper/IndexTemplateManager.java
0.00% <0.00%> (ø)

...h/securityanalytics/mapper/IndexTemplateUtils.java
0.00% <0.00%> (ø)

...search/securityanalytics/mapper/MapperService.java
4.61% <0.00%> (ø)

...ytics/transport/TransportDeleteDetectorAction.java
0.00% <0.00%> (ø)

...analytics/transport/TransportSearchRuleAction.java
0.00% <0.00%> (ø)

...ensearch/securityanalytics/util/DetectorUtils.java
0.00% <0.00%> (ø)

...earch/securityanalytics/util/RuleTopicIndices.java
0.00% <0.00%> (ø)

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

Appreciate sanitary fixes but let's not make them with bug fixes or feature PRs as it is cumbersome to track what's the actual change and what is simply an indentation fix or a sanitary change for readaiblity. plz raise such changes in different PR.


fix #392 test-provider-sample: operator is always displayed as '+'

This PR fixes #392
Result:

/assign @connor4312

thanks!


Exceptions.java:4-4: Maybe move to aliceice-lang?

The puzzle 1-707dd3a1 in core/src/main/java/de/aice/worktimer/util/Exceptions.java (lines 4-4) has to be resolved: Maybe move to aliceice-lang?
The puzzle was created by Eléna Ihde-Simon on 16-Mar-17.
Estimate: 0 minutes, role: IMP.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD.

@aliceice please pay attention to this new issue.

The puzzle 1-707dd3a1 has disappeared from the source code, that's why I closed this issue. //cc @aliceice


Fix instance metadata validation error

fixes #32498

API change check
API changes are not detected in this pull request.

Thanks for fixing this, @christothes! Any idea when there's going to be a new release that includes this fix? We're waiting for it to unblock our migration from AppAuthentication to Azure.Identity (we can't use the latest version because of this issue nor can we use previous versions since they don't have internal token caching for ManagedIdentityCredential).

Thanks for fixing this, @christothes! Any idea when there's going to be a new release that includes this fix? We're waiting for it to unblock our migration from AppAuthentication to Azure.Identity (we can't use the latest version because of this issue nor can we use previous versions since they don't have internal token caching for ManagedIdentityCredential).

Should be in January.

Seems #32498 has not been fixed completely


Bypassing validation for seed data.

In order to skip the map_user call for seed data

:+1:

Closing this since it's solved by #160


SlimTrade whisper pup-up doesn't appear!

Hi,
I just installed Slimtrade with last version of JAVA it runs ok except when i whisper to someone or vice versa the pup-up doesn't appear i have tried almost everything:

Re-install it
And can't run it as admin cuz its .jar
I have win11
My pc equipment is high performance
I also installed all the packages from win like runtime/ DirectX/ Framework
Also tried to do what in "https://github.com/zmilla93/SlimTrade/issues/39" but doesn't fix it

I can't find solution is this app still work or doesn't have support anymore? cuz i saw some ppl using it and work fine with them.
Any advice thx in advance

Well after check the forum, i see the developer who make this app he doesn't support it anymore and i thing this app didn't get update since 2021 so time to find another app, i like this app but yah i hope the guy who made this app is ok

Sorry for the delay, and thank you for the well wishes! I had taken an extended break from this project, but just put out a major update.
Try following the steps in the troubleshooting guide. This problem is usually caused by an incorrect path to the client.txt file.


Update mdoc_2.12, mdoc_2.13, sbt-mdoc to 2.2.20

Updates

org.scalameta:mdoc_2.12
org.scalameta:mdoc_2.13
org.scalameta:sbt-mdoc

from 2.2.18 to 2.2.20.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta" } ]

labels: library-update, semver-patch

Closed in favor of #379 .


Feature Request: Support defmt Formatting

Working on a an embedded project where there is the ability to log errors and structures with defmt, this does require adding a new conditional dependency and adding a conditional derive as follows. This would be particularly useful for reporting errors from JSON de-serialization.
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum Error {
...
}

I would be happy to review such a PR, and have for a few other crates, but I have used defmt yet personally (my projects all predate it), so I'm not one that can test the implementation

I did a quick little test locally and just adding it how I did with the error from JSON de-serialization helped me understand that the decoder yielded this error TrailingCharacters which quickly led me to understand I needed to properly size my slice to from_slice. Would there be anywhere else this might be useful

In general, the most useful approach I have seen is adding defmt::Format to the Error types, so for this library, it would be serde_json_core::ser::Error and serde_json_core::de::Error


[minor] Add failing test for nested and chained produce calls

Putting on hold for now, as the test looks legit but contrived, so some context on the original problem this is addressing would be needed to be able to figure this one out.

Ah, this might relate to #917, will check on top of that

Thanks for looking at this. This test is capturing the bug I described in https://github.com/immerjs/immer/issues/936, which has a bit more context as to what conditions triggered this error.

NOTE: will merge this diff, which will break main, but otherwise I have to cherrypick the test and the original attribution to @jpallen  would be lost :)


Add items that are not calculated in group height

I am using itemRenderer() to draw my items but some of them are not regular ones. Example you can see in codesandbox i provided. There are 4 item in total. 2 of them are regular (blue) and red & gray are custom sizes. As you can see in example there is way too big space on top of first blue item and it is there because  timeline thinks that gray and red items are regular too but I don't want that. I would like timeline to use space only for 2 items in that row (blue ones).
I think you could add new prop like "backgroundItem" and if it is set then that item is not calculated in group height and has the same top (css) value as first regular item.
https://codesandbox.io/s/timeline-demo-sticky-header-us44d?fontsize=14

I did a somewhat similar modification, but in my case, I needed an item to fill the whole (background) space of the group. I think I could contribute such a modification, but we should come up first with the flexible-enough API for this. Starting with the support for both your and my needs, and possible future needs of other users. I wouldn't want to contribute a code which would fit only one exact purpose, which is in your case – an item should have the same top position as the first item. In other (my) case one might need the item to have the top same as the beginning of a group, and height the same as the whole group.
It'd be great to start a discussion.

@hckr I am currently working on a feature for the package called rowRenderer. you can check out the prototype for it here
check it out and lmk


rem -> px

fixes #246

Coverage remained the same at 87.789% when pulling 5823e2dce60d87596734ec474ebd14eda15aec61 on use-px into 551f5d9dc4ff10ac006253ec6b8bb66fd77dcf31 on master.

Missed one: https://github.com/nymag/clay-kiln/blob/5823e2dce60d87596734ec474ebd14eda15aec61/styleguide/component-select.scss#L78-L78

Nice catch! Updated

+1

Coverage remained the same at 87.789% when pulling 2278c2cdeb3b84fc45b35355c1841d55938adfd8 on use-px into 551f5d9dc4ff10ac006253ec6b8bb66fd77dcf31 on master.


attaching router.deis.io/routable: "false" still makes the app routable

Given the following service and pod:
><> k --namespace=go get svc go -o yaml | grep routable
    router.deis.io/routable: "false"
><> k --namespace=go get po
NAME                      READY     STATUS    RESTARTS   AGE
go-web-1352584931-xvvl9   1/1       Running   0          3m

If I attempt to hit the router for that app, it still accepts traffic:
><> cat /etc/hosts | grep go
<IP_ADDRESS>	k8s.local deis.k8s.local deis-builder.k8s.local deis-workflow-manager.k8s.local deis-minio.k8s.local go.k8s.local foo.k8s.local bar.k8s.local car.k8s.local star.k8s.local www.k8s.local
><> curl go.k8s.local
Powered by Deis
Release v5 on go-web-1352584931-xvvl9

Is there a value I can pass to the annotation to disable routing, or do I have to completely remove the annotation from the service to drop requests?

Hmm, even if I completely remove the annotation it seems like the router doesn't pick up on this.

Are you looking at the labels or annotations? in your controller code you are using labels

Labels, sorry.

Wow... really, wow...
I can confirm this bug. I'm looking into it.

Oh wait... @bacongobbler already did.


The syntax of the command is incorrect: Creating work item with html in description

Hello,
I want to "clone" some tasks. Therefore I read a task with command
az boards work-item show --id  --org
in the returned object I got the description of the card in field "System.Description"
It seems, that every text in microsoft devops (dev.azure.com) is include into DIV tag.
So for my card with description text 'test', I got back:
"System.Description": "test"
The problem I have is, when I now try to create a new card with this description, I got the error: "The syntax of the command is incorrect"
az boards work-item create --org $org --project $proj --title 'test' --type 'Task' --description 'test'
When I insert a space between the starting DIV tag and the text 'test', then everything works fine
' test'
I suggested, that I can use the output of az  boards work-item show -> System.description field 1 to 1 for creating a new task
I run the az cli commands under Windows 10 client
az --version shows the following:
azure-cli                         2.19.1
core                              2.19.1
telemetry                          1.0.6
Extensions:
azure-devops                      0.18.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users<myuser>.azure\cliextensions'
Python (Windows) 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
to run the az cli commands, I use powershell Version 5.1.18362.1171

route to appropriate team


feat(mongodb): add findRaw, aggregateRaw and runCommandRaw

Add missing raw mongodb functions (https://www.prisma.io/docs/orm/prisma-client/using-raw-sql/raw-queries):

Findraw
AggregateRaw
RuncommandRaw

Examples: https://github.com/truanguyenvan/prisma-examples-go

Summary by CodeRabbit
Release Notes

New Features

Introduced support for MongoDB response handling with new transformation functions.
Added raw query capabilities for MongoDB operations.
New templates for generating Go code related to raw data model actions.
Implemented functionality for executing raw commands within the runtime context.

Bug Fixes

Enhanced error handling and query construction logic for better performance.

Documentation

Updated dependencies to include MongoDB driver.

These updates enhance the application's ability to handle various data sources and improve overall user experience.

Thanks for this, I will be back later next week and will take a closer look 🙏

Thank you so much for this! It would be great to have some tests in the future but for now I'll be merging this.


[Bug]: CameraSource-Error ERROR: FFmpeg exited with code 1 (No such file or directory)

NRCHKB Plugin Version
1.4.3
Node JS Version
14.18.2
NPM Version
6.14.15
Node-RED Version
2.2.0
Operating System
Raspberry bullseye (docker node-red-contrib-homekit-docker)
What happened?
node-red       | 2022-02-14T01:38:06.539Z CameraSource ffmpeg -i rtsp://<IP_ADDRESS>:554/user=free&password=***&channel=3 -map 0:0 -vcodec copy -pix_fmt yuv420p -r 15 -f rawvideo  -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 16657252 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params er1ZhH4s/12lu8zGqkODN9hLDLvqY/AR/WrOwUTW srtp://<IP_ADDRESS>:53641?rtcpport=53641&localrtcpport=53641&pkt_size=1316
node-red       | 2022-02-14T01:38:06.555Z CameraSource ffmpeg data: ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
node-red       |   built with gcc 9.3.0 (Alpine 9.3.0)
node-red       |   configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-indev=alsa --enable-outdev=alsa
node-red       |   libavutil      56. 51.100 / 56. 51.100
node-red       |   libavcodec     58. 91.100 / 58. 91.100
node-red       |   libavformat    58. 45.100 / 58. 45.100
node-red       |   libavdevice    58. 10.100 / 58. 10.100
node-red       |   libavfilter     7. 85.100 /  7. 85.100
node-red       |   libswscale      5.  7.100 /  5.  7.100
node-red       |   libswresample   3.  7.100 /  3.  7.100
node-red       |   libpostproc    55.  7.100 / 55.  7.100
node-red       | 2022-02-14T01:38:12.056Z CameraSource ffmpeg data: Input #0, rtsp, from 'rtsp://<IP_ADDRESS>:554/user=free&password=***&channel=3':
node-red       |   Metadata:
node-red       |     title           : RTSP Session
node-red       |   Duration:
node-red       | 2022-02-14T01:38:12.058Z CameraSource ffmpeg data: N/A, start: 0.260867, bitrate: N/A
node-red       |     Stream #0:0: Video: h264 (High), yuv420p(tv, progressive), 1920x1080, 23 fps, 23 tbr, 90k tbn, 46 tbc
node-red       | : No such file or directory
node-red       | 2022-02-14T01:38:12.063Z CameraSource-Error ERROR: FFmpeg exited with code 1

How to reproduce?
empty "Additional Command Line"

Expected behavior:
Describe expected behavior here, with relevant screenshots if they would help.
Additional comments?
Additional comments here, if any.
Relevant log output
No response

Bumping it over to Docker. Calling in @Shaquu .
When is the last time this camera worked?
What is the hardware (which camera)?
What is the full config of your camera service?
It seems to me like if your camera worked before, then whatever was in your "additional command line" is what made the stream work... Right?

Any parameter in "additional command line" makes the camera work (now by default), but if it is empty then ffmpeg is false

any ideas how to solve the problem?

As I understood if it is empty then it works? Or am I wrong?

yes

any ideas how to solve the problem?


chore: prep work for rc2

Purpose

Adjustments of documentation for release of RC2

Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[X] Documentation content changes
[ ] Other... Please describe:

How to Test
Check that all sources reference RC2
Other Information
n/a
Checklist for reviewer

[X] The PR is assigned to the Terraform project and a status is set (typically "in review").
[X] The PR has the matching labels assigned to it.
[X] The PR has a milestone assigned to it.
[X] If the PR closes an issue, the issue is referenced.
[X] Possible follow-up items are created and linked.

Bypassing review requirement due to docu change only without impact on fucntionality


workaround for code_string

@bennibolm This should help you with #1084. Could you please have a look at this PR? If it looks good to you, we can go ahead and merge it. Then, you can check whether everything works in #1084.
Related to #931. I didn't mark the issue as closed since the code might run but saved mesh files are not really readable when written from Jupyter notebooks because code_string still does not work correctly.

For me, this looks good. On the other hand, I just tried it locally, and it made no difference. Could this be a temporal and local error, since the change is not included in the official Trixi version yet?

For me, this looks good. On the other hand, I just tried it locally, and it made no difference. Could this be a temporal and local error, since the change is not included in the official Trixi version yet?

Did you merge this branch into yours? Or did you do something else?

Let's try


Docs on packages that already exist.

Hello, Are there kpt packages that already exist?

Yes, any configuration in git is a kpt package. For instance https://github.com/kubernetes/examples contains a number of packages.


allItems template shouldn't be available in infiniteHits

Hits allows for the allItems template which allows for greater customization of the templates, for example inside tables and so forth...
When the allItems template is used with infiniteHits, its doesn't give any error, but instead of adding the newly loaded items, it replaces everything with the new page of results.

Thanks for making an issue, feel free to read more in #2519
duplicate of 2519

When the allItems template is used with infiniteHits, its doesn't give any error, but instead of adding the newly loaded items, it replaces everything with the new page of results.

The fact that you can use the allItems is a bug :/ https://community.algolia.com/instantsearch.js/v2/widgets/infiniteHits.html#struct-InfiniteHitsTemplates

Oh that’s right, I’m sorry, I read this as a duplicate


Javascript file still in dist folder

I added your sample from the readme to my webpack config file. And the javascript is now inlined in my html (as requested)
But the javascript file also still is in my dist folder (which is no longer needed) is there a flag or so that the used javascript file is removed?
Thanks

PR's welcome

I just added webpack-clean to my config and removed the files. that seems to work just fine.
I hope that helps. I would try and PR this but I am not wise enough :)

const { CleanWebpackPlugin } = require("clean-webpack-plugin");

const config = {
  ...
  plugins: [
    new HtmlWebpackPlugin({
      inlineSource: ".(js|css)$", // embed all javascript and css inline
      inject: true,
      template: "./public/index.html"
    }),
    new HtmlWebpackInlineSourcePlugin(),
    new CleanWebpackPlugin({
      protectWebpackAssets: false,
      cleanAfterEveryBuildPatterns: ["*.js"]
    })
  ],
  ...
};


Works for cross to inner join

Which issue does this PR close?

Closes #3840
Closes  https://github.com/apache/arrow-datafusion/issues/3554.
Rationale for this change
I found that the rule has been implemented in  PR #3482 , but the guy forget to remove some codes in planners.

What changes are included in this PR?
I just keep cross join in the planner.rs and PR #3482 will do crossJoin to InnerJoin Optimize.

Are there any user-facing changes?

This changes will influence some test. Because some code still rely on it.
We need to fix them.

Thank you @yuuch 😍  -- Love the cleanup!
It looks like one of the tests is failing -- can you please update the plan?
https://github.com/apache/arrow-datafusion/actions/runs/3352036848/jobs/5558342674
---- sql::subqueries::tpch_q2_correlated stdout ----
thread 'sql::subqueries::tpch_q2_correlated' panicked at 'assertion failed: `(left == right)`
  left: `"Sort: supplier.s_acctbal DESC NULLS FIRST, nation.n_name ASC NULLS LAST, supplier.s_name ASC NULLS LAST, part.p_partkey ASC NULLS LAST\n  Projection: supplier.s_acctbal, supplier.s_name, nation.n_name, part.p_partkey, part.p_mfgr, supplier.s_address, supplier.s_phone, supplier.s_comment\n    Inner Join: part.p_partkey = __sq_1.ps_partkey, partsupp.ps_supplycost = __sq_1.__value\n      Inner Join: nation.n_regionkey = region.r_regionkey\n        Inner Join: supplier.s_nationkey = nation.n_nationkey\n          Inner Join: part.p_partkey = partsupp.ps_partkey, supplier.s_suppkey = partsupp.ps_suppkey\n            CrossJoin:\n              Filter: part.p_size = Int32(15) AND part.p_type LIKE Utf8(\"%BRASS\")\n                TableScan: part projection=[p_partkey, p_mfgr, p_type, p_size], partial_filters=[part.p_size = Int32(15), part.p_type LIKE Utf8(\"%BRASS\")]\n              TableScan: supplier projection=[s_suppkey, s_name, s_address, s_nationkey, s_phone, s_acctbal, s_comment]\n            TableScan: partsupp projection=[ps_partkey, ps_suppkey, ps_supplycost]\n          TableScan: nation projection=[n_nationkey, n_name, n_regionkey]\n        Filter: region.r_name = Utf8(\"EUROPE\")\n          TableScan: region projection=[r_regionkey, r_name], partial_filters=[region.r_name = Utf8(\"EUROPE\")]\n      Projection: partsupp.ps_partkey, MIN(partsupp.ps_supplycost) AS __value, alias=__sq_1\n        Aggregate: groupBy=[[partsupp.ps_partkey]], aggr=[[MIN(partsupp.ps_supplycost)]]\n          Inner Join: nation.n_regionkey = region.r_regionkey\n            Inner Join: supplier.s_nationkey = nation.n_nationkey\n              Inner Join: partsupp.ps_suppkey = supplier.s_suppkey\n                TableScan: partsupp projection=[ps_partkey, ps_suppkey, ps_supplycost]\n                TableScan: supplier projection=[s_suppkey, s_name, s_address, s_nationkey, s_phone, s_acctbal, s_comment]\n              TableScan: nation projection=[n_nationkey, n_name, n_regionkey]\n            Filter: region.r_name = Utf8(\"EUROPE\")\n              TableScan: region projection=[r_regionkey, r_name], partial_filters=[region.r_name = Utf8(\"EUROPE\")]"`,
 right: `"Sort: supplier.s_acctbal DESC NULLS FIRST, nation.n_name ASC NULLS LAST, supplier.s_name ASC NULLS LAST, part.p_partkey ASC NULLS LAST\n  Projection: supplier.s_acctbal, supplier.s_name, nation.n_name, part.p_partkey, part.p_mfgr, supplier.s_address, supplier.s_phone, supplier.s_comment\n    Inner Join: part.p_partkey = __sq_1.ps_partkey, partsupp.ps_supplycost = __sq_1.__value\n      Inner Join: nation.n_regionkey = region.r_regionkey\n        Inner Join: supplier.s_nationkey = nation.n_nationkey\n          Inner Join: partsupp.ps_suppkey = supplier.s_suppkey\n            Inner Join: part.p_partkey = partsupp.ps_partkey\n              Filter: part.p_size = Int32(15) AND part.p_type LIKE Utf8(\"%BRASS\")\n                TableScan: part projection=[p_partkey, p_mfgr, p_type, p_size], partial_filters=[part.p_size = Int32(15), part.p_type LIKE Utf8(\"%BRASS\")]\n              TableScan: partsupp projection=[ps_partkey, ps_suppkey, ps_supplycost]\n            TableScan: supplier projection=[s_suppkey, s_name, s_address, s_nationkey, s_phone, s_acctbal, s_comment]\n          TableScan: nation projection=[n_nationkey, n_name, n_regionkey]\n        Filter: region.r_name = Utf8(\"EUROPE\")\n          TableScan: region projection=[r_regionkey, r_name], partial_filters=[region.r_name = Utf8(\"EUROPE\")]\n      Projection: partsupp.ps_partkey, MIN(partsupp.ps_supplycost) AS __value, alias=__sq_1\n        Aggregate: groupBy=[[partsupp.ps_partkey]], aggr=[[MIN(partsupp.ps_supplycost)]]\n          Inner Join: nation.n_regionkey = region.r_regionkey\n            Inner Join: supplier.s_nationkey = nation.n_nationkey\n              Inner Join: partsupp.ps_suppkey = supplier.s_suppkey\n                TableScan: partsupp projection=[ps_partkey, ps_suppkey, ps_supplycost]\n                TableScan: supplier projection=[s_suppkey, s_name, s_address, s_nationkey, s_phone, s_acctbal, s_comment]\n              TableScan: nation projection=[n_nationkey, n_name, n_regionkey]\n            Filter: region.r_name = Utf8(\"EUROPE\")\n              TableScan: region projection=[r_regionkey, r_name], partial_filters=[region.r_name = Utf8(\"EUROPE\")]"`', datafusion/core/tests/sql/subqueries.rs:167:5

Marking as a draft to get it off the review queue -- please fix CI and mark as ready for review. If you need help let me know. I love this type of cleanup 👍

Looking great.
FYI @yuuch I am getting this updated and fix test(s).

Some more plans are also failing (as more of the plans include cross join now).
This requires some more work to update the reduce_cross_join code.

FYI @xudong963 @DhamoPS as you worked on this before

I believe the difference is: the earlier implementation looked at all of the plans in the from clause when selecting a join, while the optimization rule processes the tree in order and only replaces a cross join with an inner join when it's possible.
Some transformations from cross join to inner join however need reordering of the joins within the tree in order for this to be possible.

I think @jackwener 's implementation is more general and we should move the logic from planner to rule.
https://github.com/apache/arrow-datafusion/pull/4185


Improve internal provider api and drop usage of useId() (React v18 no longer required)

React v18 is no longer required since useId() was dropped.

@gabrieljablonski minimum supported React version dropped to v16.14 in package.json.


[Core] Eliminate parallel worker per-step task scheduling overhead

There's no need for the parallel workers to be scheduled in every step.
Using 80GB A100s, with llama-2-7b openai completion API. Single request with 5 input tokens, 2000 generated tokens. I repeated each test request multiple times, results were very consistent.

Time (sec)
Difference

TP=1
24.2
0

TP=2
24.2
0

TP=2 with this PR
20.2
-17%

TP=2 with #3466 (without Ray)
17.0
-30%

TP=2 with this PR combined with #3466 (without Ray)
16.7
-31%

Though the relative improvement from this is much smaller in the non-Ray case, it might still be helpful for multi-node with Ray.

I measured about 5% reduction in latency with this change for a single request with 5 input toks, 1000 output toks with TP=4 llama-2-70b.

@zhuohan123 Kindly ping for PR review.

Thanks for the review @zhuohan123 and great comments. I have address most of them but have couple of small follow-up questions, ptal!

One additional question, do you think it's possible to let the workers be in the model loop forever (so we don't need to call the current halt_model function)?

I'd been considering this, but I'm not sure that NCCL is intended to be used in this way, i.e. blocking indefinitely in an event loop. So we could run into unexpected issues. Apart from this, there are some consequences we'd have to address:

nccl has a timeout, but unless you run in a sub-optimal synchronous mode, it's always treated as fatal. We could possibly disable the timeout, but that might be undesirable. Or we could ensure that the driver wakes up the workers on some interval smaller than the timeout.
I think the procs are essentially frozen while in the collective op, so no other threads can run. This might be the GIL being held. So further changes might then be needed to accommodate other control plane operations, in particular add/remove loras. If we went this route we may also want to handle these via the same broadcast + gather mechanism.

Given the above, I thought the current PR changes would make more sense as a first incremental change. But I do like the idea of avoiding the secondary RPC path altogether. Perhaps gloo could be instead used for the event loop along the lines of what @youkaichao has been looking at.

@njhill FYI https://github.com/vllm-project/vllm/pull/3904 just adds a gloo backend by default. That process group is available as _CPU_WORLD_GROUP. I will create some APIs for getting the group.

@zhuohan123 I've opened #4894 to replace this, now applies to both Ray and Multiprocessing executor implementations. PTAL!


Extension methods for make serializing easier

Create extension methods to make serializing easier discoverable, as suggested by @baywet
They have been removed from the PR, in this commit. Feel free to re-use https://github.com/svrooij/ms-kiota-dotnet/commit/a4a03d81e24d3c419792b383ba0db13484832fcb
Originally posted by @baywet in https://github.com/microsoft/kiota-dotnet/pull/311#discussion_r1721782809

Hi @svrooij
Thanks for creating this issue. Let's talk about the experience first so we can later on decide on solutions.
I'm guessing we'd want the following:
IParsable myModel = new();
await myModel.SerializeAsync("mediaType", stream);
var result = await myModel.SerializeAsStringAsync("mediaType");

await myModel.SerializeToJsonAsync(stream);
var result = await myModel.SerializeToJsonAsStringAsync();

This should work for Parsable[] and IEnumerable<IParsable> as well.
To avoid any confusion, it should be in a sub-namespace.
In terms of parameters, here is what the method with the most parameters would look like, everything else will be a subset.
public static async Task SerializeAsync<T>(this T parsable, string meditaType, Stream targetStream, CancellationToken cancellationToken = default) where T : IParsable {
//
}

Did I miss anything? Also CC @andrueastman

Not to forget IEnumerable and T[]
But looks good too me

@baywet to allow discoverability I'm suggesting the following, what do you think:

Add those extension methods to the same namespace as the IParsable, this will help with discoverability (which is what we all want I guess)
Add them to a different namespace, and maybe point them to it with xml docs on the IParsable

But I would suggest to add the extension methods to the dedicated project. That means you won't have a SerializeToJsonAsStringAsync if you did not include the json package. And I guess everybody is using the json package, but we are not using the forms stuff so those are removed when we generate the kiota client. Then having a SerializeToFormUrlEncoded would be weird to have in Abstractions

Something like this?

method name
package
namespace

SerializeAsStringAsync
abstractions
Microsoft.Kiota.Serialization

SerializeToJsonAsStringAsync
serialization json
Microsoft.Kiota.Serialization.Json

???


Make dashboard chart functions more object oriented

The chart data function is currently rather long and procedural. Consider how to make the code more re-usable, for example by creating a ChartData class with several methods/parameters.
Definition of done

[x] Create chart class  for reuse throughout the system
[ ] Refactor chart logic to accept parameters for filtering data.
[ ] Remove hard coded analytics query.

I've created a class for elastic search called es with two methods:

doSearch - that basically returns the total search result
getMonthAnalytics - returns an array of values that are later used within chart on a dashboard.

The task is still in progress but this far, @apinf/developers, please review this OOP approach, probably suggest something, so I could move further with it. Here is the code comparison

So, it looks like you have the following structure:

es - top-level object

doSearch -- REST query
getMonthAnalytics -- parse the result and return an array of values

The getMonthAnalytics may still be doing more than one thing, i.e. it is parsing all results and creating an array based on an input.
What are your function arguments? What other verbs will your object know how to do (e.g. parse, filter, ...)?

Addy Osmani wrote an article called Patterns For Large-Scale JavaScript Application Architecture. Of particular relevance to this task, is the article section The Module Pattern

Ben Fry has outlined a general process for designing data visualizations, mentioned in Dashing D3.js - The Data Visualization Process chapter. Your object may have similar verbs, such as query, parse, and filter.


[WIP] HMAC-SHA256 encoding and decoding

Codecov Report

Merging #3 (c8efde1) into master (1e27808) will decrease coverage by 75.00%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##            master       #3       +/-   ##
============================================
- Coverage   100.00%   25.00%   -75.00%
============================================
  Files            1        3        +2
  Lines            1        4        +3
============================================
  Hits             1        1
- Misses           0        3        +3

Impacted Files
Coverage Δ

...main/scala/bb/webhook/hmac/SignatureVerifier.scala
0.00% <0.00%> (ø)

.../src/main/scala/bb/webhook/hmac/impl/package.scala
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a8ebb72...c8efde1. Read the comment docs.


brain-score.org submission (user:495) | (public:False)

Plugin-only changes from brain-score.org submission. Generated via Jenkins job create_github_pr, build 272. Plugins added: models: [clip]

Closing; updated version was merged in https://github.com/brain-score/vision/pull/910