Implemented Siri shortcut to send/emulate archived items via Flipper.

I've recently joined the Flipper Zero user family and I'm a very happy user.
I noticed that the app doesn't support Siri Shortcuts, so I've decide to implement a simple shortcut that allows the user to pick one of the archived items from the app and send it via the Flipper.
If the item.kind is .subghz or .infrared the Flipper will send the item for the item.duration time and then stop.
If the item.kind is of type .nfc, .rfid or .ibutton the Flipper will enter in emulation mode and will require manual interaction to stop.
I've implemented also error handling for both the "not connected" and "busy" cases so that the user has a clear understanding of what's going on during usage.
If you have an Apple watch associated with your iPhone and set the shortcut to "Show on Apple Watch" inside the Shortcuts app, it works perfectly also when recalled from the watch (I've tested this use case extensively because it's the main reason I implemented this whole thing). The reaction time is almost immediate and error handling works the same.
The small change I've made to the Dependencies object is to get rid of some Reference to class property 'shared' is not concurrency-safe because it involves shared mutable state warnings that I had while accessing the dependencies from my code. I've tested the app and I don't see any issue with this change and seems safe to merge, but my knowledge of your codebase is of course not enough to be 100% certain. This change is not really needed for the shortcuts code to work, and the dependencies are used only for reading the items and sending them through Flipper, not altering them.
Regarding copy writing I tried to be as clear as possible, but is understandable if you want to change the messages according to your UX guidelines.
Below some screenshots:

Shortcuts screen
Parameter selection
Siri confirmation
Error handling

Great work! Thank you!

Great work! Thank you!

Welcome, happy to help!
Keep up the great work with this app, is very well structured 💪🏼

Hey @MarcoPieroni.
Thanks for the great feature.
Do you know how to send a specific infrared command if a file (item) has multiple commands?


Failures on [sdk] Update String.substring to use RangeError.checkValidRange

There are new test failures on [sdk] Update String.substring to use RangeError.checkValidRange.
The tests
vm/cc/PrintJSONPrimitives Fail (expected Pass)

are failing on configurations
dartk-linux-debug-ia32-canary
dartk-linux-debug-x64-canary
dartk-linux-release-x64
dartk-strong-linux-debug-x64
dartk-strong-linux-release-x64
dartk-weak-asserts-linux-debug-x64
dartk-weak-asserts-linux-release-x64

There are new test failures on [sdk] Update String.substring to use RangeError.checkValidRange.


Standardize scripts across console and extension repos

See nunit/nunit-console#1422

:tada: This issue has been resolved in version 3.8.0 :tada:
The release is available on:

GitHub Release
NuGet Package
Chocolatey Package


Embedded map-link should open a new tab.

From the FTM-PPE cross-slack channel:
Zach Peery-Wolf: "was doing some front end testing and when I click on the "Made in collaboration with #findthemasks. Want to join the #findthemasks map? Need to update or remove info? Complete This Form" button it's opening into a frame where I can't scroll down to the bottom of the form to complete it. Can you get it to open a new tab?"
This would also resolve @linderr 's concern:
"Interesting, and there is no way to return to the embed map after someone hits "complete this form" https://theppedrive.com/ppe-drive-listing "
Including @awong-dev .

Relevant URL: https://getusppe.org/give/
This is working for me on my desktop screen, but apparently not for all users.

Hm. Working for me on mobile, too.   Will ask for clarification.

Error apparently happened on this config: "Firefox 75.0 (64-bit) Windows 10 Home. But I just cleared my cookies and that fixed it."
We should probably still go for the new-tab, just to be safe?

https://github.com/findthemasks/findthemasks/pull/571
Misses target="_blank" in ftm-add-donation-site-answer but exists in all other xx.json

closed as from the discussion on the PR this is no longer necessary


Goofy in auto start

I love goofy but i really don't like that i have to quick it every time i switch on my mac and reopen it or it won't work. Shall you fix this problem? It's really annoying

Same problem here...sometimes, after restarting my Mac, Goofy just hangs and gives a message like "Sorry Goofy is taking a long to launch. Try pressing Cmd+R"


run actions against a single machine in serial fashion but against di…

…fferent machines in parallel

This change is


Orchard admin : blogs list bug

This is due to the fact that we renamed it from modal.cshtml to ConfirmationDialog.cshtml and moved from the admin theme to the Core project. After discussion with @sfmskywalker we should revert it back and rename data-confirm attribute to data-modal instead. The idea is to provide a modal that can be used for all kind of scenarios. See https://foxythemes.net/preview/products/amaretti-v1.1.7/ui-modals.php for examples of use cases. Right now the modal use case that have been implemented is the modal confirm to replace all the javascript confirm dialogs.


x/build/cmd/coordinator: trybot never marks itself done on dev.tls branch CL

I've noticed that Trybots run on this CL forever:
https://go-review.googlesource.com/c/go/+/33776
It has Run-TryBot=+1 set on it, so every time the coordinator restarts, it starts a TryBot run for it.
Then the TryBots pass, and it tries to leave a vote on Gerrit that TryBot-Result=+1, but Gerrit says 404:
2017/12/05 05:24:29 Starting new trybot set for {go dev.tls I6052695ece9aff9e3112c2fb176596fde8aa9cb2 1df669af17dbeee3930828e0ba543582209a3a1b}
2017/12/05 05:24:29 Error getting Gerrit comments on go~dev.tls~I6052695ece9aff9e3112c2fb176596fde8aa9cb2: HTTP status 404 Not Found; Not found: go~dev.tls~I6052695ece9aff9e3112c2fb176596fde8aa9cb2

and
2017/12/05 05:33:03 Failed to call Gerrit: HTTP status 404 Not Found; Not found: go~dev.tls~I6052695ece9aff9e3112c2fb176596fde8aa9cb2

Therefore it hangs around at the top of the coordinator status page forever, since it thinks it needs to be done, but it already has one running, which has nothing to do:

I imagine the period in the branch name is bogus and confusing Gerrit?
@andybons, do you know?
From https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#change-id I see nothing special about <branch> escaping, but maybe I'm missing something.

That change's ID is go~master~I6052695ece9aff9e3112c2fb176596fde8aa9cb2 since it's on the master branch.
dev.tls doesn't seem to be messing up in the API endpoints. curl https://go-review.googlesource.com/changes/go~dev.tls~Ia1b06ae518a4b2821a584a420d99859a2666c8f0/detail does just fine.

Oh, weird. So why is the coordinator getting confused and thinking it's dev.tls?

Good question. Let me take a quick look...

The maintner corpus thinks that it’s in the refs/heads/dev.tls branch. My guess is that when Filippo switched from dev.tls to master (https://go-review.googlesource.com/c/go/+/33776#message-60a9b48d3094de83bdcf1b5f838ef2c323d56603) that it didn’t take the switch into account.

Ah, okay. Thanks. I'll look into a fix.


pfs list-commits is broken

pfs list-commits bar
rpc error: code = 2 desc = "btrfs subvolume list -a --sort -ogen /pfs/btrfs/bar: exit status 1\n\tERROR: can't access '/pfs/btrfs/bar'\n"

Given the absence of btrfs in our code base... I doubt this bug still applies. :)


Secure multi-tenant configuration management required

We have had to implement a custom-built external configuration store, as the Azure offerings do not allow fine-grained security configurations or different hierarchies of configuration management e.g. global, tenant-level, per portal, per database, per branch etc. The managed offerings in the Azure store e.g. Hashicorp Vault were also quite expensive. It was cheaper to simply build what we needed, but performant, secure, multi-tenant configuration management is an area where Azure could stand to improve. Given the fact that we have to cater for 1000's of B2B tenants, it is not viable to implement 1000's of single-tenanted deployments, therefore the multi-tenanted single component offering could do with some improvements.

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

ID: 0ac5a455-0fdc-5059-cb13-2cbc554d7804
Version Independent ID: 0ac5a455-0fdc-5059-cb13-2cbc554d7804
Content: Azure App Configuration considerations for multitenancy - Azure Architecture Center
Content Source: docs/guide/multitenant/service/app-configuration.md
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @johndowns
Microsoft Alias: jodowns

@RaynaLT
Thanks for your feedback! We will investigate and update as appropriate.

Hi @RaynaLT, thanks for sharing your experiences. I'd be interested to know a little more about how you'd ideally like to store hierarchies of configuration. Are you able to share some more details and/or examples about how you'd like to see this work, please?

@johndowns I need to support configuration settings for multiple clients who buy our software which we run on Azure on a single AD tenant. Azure assumes that 1 AD tenant = 1 business/organization, perhaps with multiple departments, whereas our actual situation is 1 AD tenant = 1000's of businesses/organizations, which means that creating 1 Azure resource for each business/organization we support is unmaintainable operationally and from a cost perspective.
The configuration hierarchies that I would look to use on a single Azure resource that supports potentially 100's (but not 1000's of organizations, as I can't see even a very large resource supporting that much traffic) are:

Global - static configuration data that all organizations we support need access to, which can then be split into publicly available vs private global data (private data can be used, but not viewed).
Organization level (config data that all Organization Instances can access/use)
Organizational Instance Level - this is a tricky one, as we have had to make this configurable due to organizational instance being either department or branches or buildings or technical instances e.g. websites or databases or a combination of all of these.

Of course, to manage the above securely on a single Azure resource will require advanced security options so that the multiple Organizations cannot ever access each others configuration data and to protect the Organizational Instances from accessing each others data (but allowing them to access each other's data if required, since they belong to the same organization).
It's a pretty tricky requirement and it goes against the grain for how Azure seems to flow naturally. We started looking at Hashicorp Vault, but ended up using a combination of Azure resources + custom code to achieve what we needed.

Thanks for the extra information, @RaynaLT.
I think going with a custom approach here does sound like the right way to go, especially with the multiple layers of configuration that can potentially be overridden by more specific layers, in addition to the custom security requirements. In principle I can imagine writing some code to do this with App Configuration, but if it's working for you already then I'm sure there's no reason to change!
One side comment is that Azure AD tenants might be a red herring here. It's very common for SaaS providers who host resources on behalf of their customers to use a single Azure AD tenant, and to keep all of their resources in subscriptions linked to that tenant. In fact, we even published some guidance on how to do this. You might have different requirements, of course, but I just want to make sure there's no confusion - Azure definitely doesn't mandate that you keep each of your tenants' data in a separate Azure AD tenant or Azure subscription. Within that, you can also create either shared or tenant-specific App Configuration stores, but each approach has tradeoffs and it sounds like for your scenario neither fits quite right.
Thanks again for the extra information. I'll close this thread now but let me know if you have additional questions related to the article.
#please-close


[8.x] Add return type to console generation stub

benefit to end users
This change strengthens the type safety of the generated code.
reasons it does not break any existing features
The return parameter "int" is compatible with PHP 7.3, 7.4 and PHP 8. It affects only new commands.

I think this is a better change to make for Laravel 9, than for 8.

@taylorotwell Do you agree with him, or why did you close this without comment?


File Access Permission Not working on Android

Requesting file permission is not working on Android too.
AndroidManifest.xml
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
   <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
   <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>

log:
Unhandled Exception: MissingPluginException(No implementation found for method requestFilesAccessPermission on channel myapp/channel).

Does anyone have a solution to this problem?

Use permission handler as workaround. You most likely will need it anyway.
https://pub.dev/packages/permission_handler
import 'package:permission_handler/permission_handler.dart';
await Permission.manageExternalStorage.isGranted;
await Permission.manageExternalStorage.request();

Use permission handler as workaround. You most likely will need it anyway. https://pub.dev/packages/permission_handler
import 'package:permission_handler/permission_handler.dart';
await Permission.manageExternalStorage.isGranted; await Permission.manageExternalStorage.request();
It's true, but they should make it work like that the package will be independent and not require any other packages .

FileSystemException: Directory listing failed, path = '/storage/emulated/0/' (OS Error: Permission denied, errno = 13)

same issue i facing

set targetSdkVersion 29
if targetSdkVersion>=30 wrong


python3Packages.asyncua: 1.0.0 -> 1.0.1

Description of changes
Fixes tests for python 3.11 https://github.com/FreeOpcUa/opcua-asyncio/pull/1103. There is unfortunately no good changelog related to the update since it only belongs to a git tag and not an actual release.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 217514 run on x86_64-linux 1

2 packages built:

python310Packages.asyncua
python311Packages.asyncua


Move AMD's MP0_C2P_MSG_37 to registers folder and add it to marshaller

Fix PSP->PSB, PSB stands for Platform secure boot

Not approving, because fixing the typo will require re-approve. I'll try to approve as soon as the typo is fixed.


Frigate backend is falling over due to event requests from v5 card

I got this again after updating Frigate (server and card) to latest. Before I migrate, my retention is 60. I change it to 50 days but still an error.
This is the issue before but it was resolved so I change back to 60 days of retention >> https://github.com/dermotduffy/frigate-hass-card/issues/911

Frigate log:

This is what I got in Home assistant log

Just like #911 , the issue is your Frigate backend appears to be falling over. There's only so much the card can do, so I think you're going to have to take this for discussion to the backend repo.
First though, lets make the smallest possible replication case and make sure the card is not spamming the backend inappropriately. Can you get this to happen on initial load? It will be easier if so.
Temporarily add this to your card config:
debug:
  logging: true

Then open your Javascript console (F12 in Chrome), then reload. You'll see a bunch of debugging statements from the Frigate card. For the lines labeled "CameraManager request" expand the little arrow next to the "Queries" so it shows what the query is:

[In this example, you can see my card is making two event queries -- one for timeline, one for thumbnails -- and one recording segments query]
Screenshot what you see and paste it back here. If the card was spamming your backend, we'd see the requests show up here.

Thank you. The frigate card does not get any more retrieve errors for more than 10 hours after I restart my system, the unraid server. I don't want to restart anymore the Frigate server by adding the code you gave. I will, however, test that and add the code when it happens again.

I don't want to restart anymore the Frigate docker container by adding the code you gave.

The yaml provided is for the card, not the server.
As a side note if you only see this behavior when you restart Frigate, that's actually completely normal & expected.

I will, however, test that and add the code when it happens again.

For now, I'll close this bug as I don't think this is anything related to the card (but rather either underpowered hardware, or something on the backend side). Next time this happens, if you discover evidence that the card is the issue (e.g. spamming the backend), definitely re-open it here -- otherwise reopen it on the Frigate repo side.
Thanks and good luck!

Hi! I was following this issue because it's happening something similar since last week. The card was working perfect (great job, thanks!) for months, but now I'm facing this error:

The error ends with an invalid keys message. I've add the debug part to a dashboard containing only 1 card, I didn't see the CameraManager request part in the javascript console, this is my output:

I'm not sure if it's the same error, I'll like to getting this back to work. Maybe you can shed some light on this.
Thanks!

Just in case this is how I've added the debug part on the dashboard. I've fixed the 404 error I had (an old resource I've deleted), but the frigate card throws the same.

@raelbsd This is definitely not the same issue. Lets keep it one topic per issue, so I've opened a new one and we can discuss there. Thanks!


Register global project metadata

fix #70
This PR collects project-wide metadata that is merged with the displayed values on the Metadata page.
To accommodate this feature most effectively, several changes were made to the save file format—so old pipelines will not load properly.
It's worth noting that changes to the project-wide metadata will not update after loading the Metadata page, as there's currently no way to disentangle whether a value was set from the project metadata, the resolved values from neuroconv, or by an NWB GUIDE user's interactions.

To accommodate this feature most effectively, several changes were made to the save file format—so old pipelines will not load properly.

Thanks for letting me know lol

(c) also include experiment description and protocol on the global metadata side
(d) ignore source script and source script file name, neither is relevant here

(e) Maybe include keywords as well at the global level

Hmmmm

Looks like I had a few of the entries on the wrong level of the JSON Schema so they never showed up. Pushed an update for that.
c-e should be fixed. Can you confirm?
Additionally, the Age description is rendering properly on the current version for me. How about you? It may have just needed to be parsed as HTML.

Final product looks great for everything I set once at the outer level

Age text box is still a problem for me but I'll just raise it as a separate lower priority issue to get this through


No thalleous sword crafting recipe?

Im trying to get the thalleous sword on my world but there is no crafting recipe and even when i use rei (roughly enough items) there is no crfting recipe? Is that a bug or is that meant to be like that?

That is intentionally :)
If you play with the adventurez mod, the void shadow has a chance to drop this weapon


remove sys

sys has been deprecated and it is also is not used

Also fixed in https://github.com/mcavage/node-asn1/pull/21

@pfmooney can this PR be merged?

@peecky : Any update?

Doesn't seem like there's been any movement on this. Just checking in to see if we can get an update on this.

I have seen there is little progress on this project over the past few years.  My project, the net-snmp project, depends on this project, so I have cloned it and migrated (i.e. copied) all the outstanding issues and pull requests.
I will be releasing a new version of my version of this project under the asn1-ber namespace on npmjs.org by the end of the week which should address this particular item (I've already pushed the current code to this namespace to reserve it).
I am now tracking all changes under my own copy at asn1-ber.  Note that this is not a "fork" but a clone and fresh commit to a new repository.  I have of course retained all copyrights and attributed back the original author.
There are quite a few projects dependant on this project, and I want to make sure there is momentum on the issues and feature requests reported.

This issue has been addressed in my version of this project which has now been published to npm:
https://www.npmjs.com/package/asn1-ber

Fixed in #33.


Change key derivation path to be correct for Dogecoin

Needs tests updated and needs to handle pre-1.14.4 wallets having the wrong derivation path.

It looks like Bitcoin Core hard coded every path to mainnet (didn't understand testnet derivation), so already contains the derivation path in the wallet.dat. Basically consider this an issue raised for me to dig through.

Certainly interesting information to add to the documentation.
Was looking once how to retrieve keys from mnemonic phrase, this information was needed. Could be useful for some situation :+1:

Fixed with #2977


Failed to initialize MIDI sequencer

Hello,
I'm getting an error when starting up maestro. Maestro v2.3.0

Failed to initialize MIDI sequencer.
The program will now exit.
Error details:
A device ID has been used that is out of range for your system.

Yeah, me too. It just happened after my latest win 10 update. I tried a system restore (from when it was still working) which failed, so I uninstalled/reinstalled Maestro and got the same message. Updated Java with no luck. Guess I'll have to try restore to an earlier date.

That is indicating that Java can't get your system MIDI sequencer. Make sure you have all system updates installed via Windows Update, and that you have the correct drivers installed for your sound card.
You can also try searching online for "A device ID has been used that is out of range for your system." or "MidiUnavailableException" to see if there are other things you can try.


Thermometer encoding usage

Hi, I'm attempting to use the thermometer encoding preprocessing defence, but I'm confused about the usage procedure of it and I didn't see an example/notebook with that particular defence.
Here's a minimal example:
import numpy as np
from PIL import Image
from tensorflow.keras.applications.xception import Xception
from art.classifiers import TensorFlowV2Classifier
from art.defences.preprocessor import ThermometerEncoding

target_image = Image.open('dragonfly.jpg')
target_image = target_image.resize((299, 299), resample=Image.LANCZOS)
target_image = np.array(target_image, dtype=np.float64)

model = Xception(weights='imagenet')
target_image = target_image / 255
defence = ThermometerEncoding(clip_values=(0, 1))
art_model = TensorFlowV2Classifier(model=model, nb_classes=1000, input_shape=(299, 299, 3), clip_values=(0, 1),
                                   preprocessing=(0.5, 0.5), preprocessing_defences=defence)
art_model.predict(np.array([target_image]))

Any image will do in place of dragonfly.jpg, so I'm not attaching it here.
I would expect to still be able to use the wrapped model normally, i.e. like this art_model.predict(np.array([target_image])) but instead I get the following traceback:
WARNING:tensorflow:Model was constructed with shape (None, 299, 299, 3) for input Tensor("input_1:0", shape=(None, 299, 299, 3), dtype=float32), but it was called on an input with incompatible shape (1, 299, 299, 30).
Traceback (most recent call last):
  File "...\Python\Python38\lib\contextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "...\Python\Python38\lib\site-packages\tensorflow\python\keras\engine\base_layer_utils.py", line 443, in enter
    yield
  File "...\Python\Python38\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 968, in __call__
    outputs = self.call(cast_inputs, *args, **kwargs)
  File "...\Python\Python38\lib\site-packages\tensorflow\python\keras\engine\network.py", line 717, in call
    return self._run_internal_graph(
  File "...\Python\Python38\lib\site-packages\tensorflow\python\keras\engine\network.py", line 888, in _run_internal_graph
    output_tensors = layer(computed_tensors, **kwargs)
  File "...\Python\Python38\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 968, in __call__
    outputs = self.call(cast_inputs, *args, **kwargs)
  File "...\Python\Python38\lib\site-packages\tensorflow\python\keras\layers\convolutional.py", line 195, in call
    self._convolution_op = nn_ops.Convolution(
  File "...\Python\Python38\lib\site-packages\tensorflow\python\ops\nn_ops.py", line 1060, in __init__
    raise ValueError(
ValueError: number of input channels does not match corresponding dimension of filter, 30 != 3

OS Windows 10
Python version 3.8.1
ART version dev_1.3.0
TensorFlow 2.2.0

Please note that I am using the dev version currently, which I switched to due to #436, but I have also tested it with 1.2.0 and get the same output.

Oh, after taking a closer look, I assume the model has to have an input channel of channels * num_space, i.e. (299, 299, 3 * 10), where num_space is the parameter in the thermometer encoder. Is this correct?

@maliwin Thank you for raising this question! Yes, ThermometerEncoding is a defence that has to be applied during fit and predict, which means you have to first train your model on encoded data because the encoding changes the image shape (https://openreview.net/pdf?id=S18Su--CW, section 3).

Thank you again @beat-buesser for such a quick response. I guess I should've paid more attention to what the defence actually did before opening up an issue, sorry! 😅
Consider the question answered.

@maliwin No worries! Please open a new issue whenever you think there is something strange with ART, we are very interested to learn about it. For this issue for example we see that we should add a better error message that explains that the provided model is not compatible with the defence. I made a note to fix this.

Hi @maliwin , we have identified and fixed two bugs in the thermometer encoding, please check out PR #467. Using the fix with the example that you provided seems to work - could you also try please?

Hi @mathsinn, thank you for providing a fix this quickly. I currently have 3 models trained without the fix (for different epochs). I took a look at the fix and it seems like those models will not be compatible with the new version anymore.
I will train 3 new models and compare them to the 3 old ones, and I will see if it fixes the original problem of using thermometer encoding with FGSM/PGD attacks.

@mathsinn It does seem to work now with both FGSM and PGD.


Support custom OAuth2AuthenticationEntryPoint

Support custom OAuth2AuthenticationEntryPoint when accessing "/oauth/token"

This function is used to customize the handling of exceptions in password mode

How to use
    @Override
    public void configure(AuthorizationServerSecurityConfigurer security) throws Exception {

        // Customize OAuth2AuthenticationEntryPoint
        OAuth2AuthenticationEntryPoint authenticationEntryPoint = new TokenOAuth2AuthenticationEntryPoint();

        // Set OAuth2AuthenticationEntryPoint
        security.setOauth2AuthenticationEntryPoint(authenticationEntryPoint);

        security.allowFormAuthenticationForClients();

    }

@xuxiaowei-com-cn This project has reached it's end-of-life. Please see latest announcement.


Bump to latest garage-sign.

Closed in favor of yet-newer version: https://github.com/advancedtelematic/meta-updater/pull/207


Upload not working in IE 11 error: Object doesn't support property or method 'set'

HTML:
<input id="singleFile" type="file" [fileUploadInputFor]= "fileUploadQueue"/>
<mat-file-upload-queue #fileUploadQueue
[fileAlias]="'file'"
[httpUrl]="'http://localhost:8080/api'">-->
<mat-file-upload [file]="file" [id]="i" *ngFor="let file of fileUploadQueue.files; let i = index">

This is working fine in Chrome but when I try this in IE 11 the upload icon and Upload All button both throw error:
ERROR TypeError: Object doesn't support property or method 'set'
ERROR CONTEXT [object Object]

Figured this one out. Error: Object doesn't support property or method 'set' is coming because IE 11 doesnot support formData.set() so changed it to formData.append() in all the files of angular-material-fileupload and it satrted working.

bro @Ruchi-Sinha  thanks for this you saved me a lot of time with this one.

bro @Ruchi-Sinha thanks for this you saved me a lot of time with this one.

hoi


Add ability to rotate matrix vertically

Add option to flip the entire matrix display vertically (i.e. with a --vertical/--landscape option)

--vertical is already used by the vertically wired matrix option added in #86.
A similar feature is proposed to flip the matrix horizontally in #87 with a --mirror flag. What if we did something like --mirror-vertical and --mirror-horizontal for vertical and horizontal flips?


Design the notion of the "schema"

Some operations will inevitably require a schema. This means the server will be able to deserialize user provided data (provided the encoding is also known). For example, this would allow the server to rebuild lost metadata from a collection based on just the collection.
We will need 2 things:

[ ] Design how the client and server will transfer the schema (#11)
[ ] Design how we will handle the schema in memory, so we can decode saved data once we also know the encoding (#12)

After a design meeting it was decided we don't want this.


Audio missing in web version on iPhones?

Apparently audio doesn't work on iPhone, need to investigate:
https://mastodon.gamedev.place/@zeux/112503477142573770

Apparently it's missing when the iPhone is set to silent.


id_token["aud"] may be a single item list

MojeID provider returns 'aud': ['single-id'] which was by mistake taken as multiple audiences without 'azp'.
Added MojeID as a tested provider.

@e3rd released https://pypi.org/project/flask-oidc-ext/


[FEATURE]: Remove unnecessary modifications to MAVROS and source build

Feature Type
Changing existing functionality in the BlueROV2 driver
Problem Description
The Dockerfile currently makes a few manual changes to the mavros_extras/CMakelists.txt file to address some linking errors to yaml-cpp. A PR was recently merged to address this issue (and subsequently updated in mavros!1994).
Feature Description
Remove stale changes in the Dockerfile.
Alternative Solutions
N/A
Additional Context
No response

I've started an MR on this, but am seeing some unrelated (?) issues due to ... upstream API changes?
15.35 /home/ubuntu/ws_blue/src/auv_controllers/velocity_controllers/src/integral_sliding_mode_controller.cpp: In member function ‘virtual controller_interface::return_type v
elocity_controllers::IntegralSlidingModeController::update_and_write_commands(const rclcpp::Time&, const rclcpp::Duration&)’:
15.35 /home/ubuntu/ws_blue/src/auv_controllers/velocity_controllers/src/integral_sliding_mode_controller.cpp:345:15: error: ‘struct hydrodynamics::Inertia’ has no member nam
ed ‘getMassMatrix’; did you mean ‘mass_matrix’?
15.35   345 |     inertia_->getMassMatrix() * (proportional_gain_ * velocity_error) +
15.35       |               ^~~~~~~~~~~~~
15.35       |               mass_matrix
15.35 /home/ubuntu/ws_blue/src/auv_controllers/velocity_controllers/src/integral_sliding_mode_controller.cpp:346:16: error: ‘struct hydrodynamics::Coriolis’ has no member na
med ‘calculateCoriolisMatrix’; did you mean ‘calculate_coriolis_matrix’?
15.35   346 |     coriolis_->calculateCoriolisMatrix(velocity_state) * velocity_state +
15.35       |                ^~~~~~~~~~~~~~~~~~~~~~~
15.35       |                calculate_coriolis_matrix
15.35 /home/ubuntu/ws_blue/src/auv_controllers/velocity_controllers/src/integral_sliding_mode_controller.cpp:347:15: error: ‘struct hydrodynamics::Damping’ has no member nam
ed ‘calculateDampingMatrix’; did you mean ‘calculate_damping_matrix’?
15.35   347 |     damping_->calculateDampingMatrix(velocity_state) * velocity_state +
15.35       |               ^~~~~~~~~~~~~~~~~~~~~~
15.35       |               calculate_damping_matrix
15.35 /home/ubuntu/ws_blue/src/auv_controllers/velocity_controllers/src/integral_sliding_mode_controller.cpp:348:24: error: ‘struct hydrodynamics::RestoringForces’ has no me
mber named ‘calculateRestoringForcesVector’; did you mean ‘calculate_restoring_forces_vector’?
15.35   348 |     restoring_forces_->calculateRestoringForcesVector(system_rotation_.readFromRT()->toRotationMatrix());
15.35       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15.35       |                        calculate_restoring_forces_vector

I can beat on it a bit.
Also, I am ... confused by the <pkg>-gbp-release process.   What's required to use a more modern mavlink and eliminate the matching monkey-patching to that package?

unrelated (?) issues due to ... upstream API changes?

Yeah, I made some changes to that package and haven't merged auv_controllers!41 to resolve that yet. I was going to work through your PR there first.

Also, I am ... confused by the -gbp-release process. What's required to use a more modern mavlink and eliminate the matching monkey-patching to that package?

I'm probably going to submit a PR soon to fix this. I think the only change needed there is to update the mavros/dependencies.rosinstall file to a version that includes that fix.

I'm probably going to submit a PR soon to fix this. I think the only change needed there is to update the mavros/dependencies.rosinstall file to a version that includes that fix.

Again, not an expert, so I may be misreading it, but it looks like all of the release versions in that repo are quite old (and don't have that fix) e.g. the "rolling" release:
https://github.com/mavlink/mavlink-gbp-release/blob/release/rolling/mavlink/pymavlink/generator/mavgen.py
Will this repo get forward-ported (automatically?) with a new release of mavros?

auv_controllers should be updated and working for Rolling, Jazzy, Iron, and Humble now.

Will this repo get forward-ported (automatically?) with a new release of mavros?

I think that Vladimir has to do that manually... not sure though - I need to ask

Here is the relevant MAVROS issue that I've submitted: mavros!1995


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 3.0.18 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Results of zero-shot counting

In your paper, Table.1 presents the results of zero-shot counting:

However, this is different from Table.2:

So which is the right results?

Sorry I just realized that I made a severe problem. The reuslt of Table.2 is correct, i.e. the correct performance of CounTR in zero-shot should be D0, not D1.
I will fix this problem in a new arxiv version of the paper. Thanks for pointing this problem out.

Thanks for your reply.


preview/pid1

make sure rails is pid1
refactor how the app starts up
don't use entrypoint

@ajkiessl  -- an interesting read on why we'd use exec instead of a sub process https://about.gitlab.com/blog/2022/05/17/how-we-removed-all-502-errors-by-caring-about-pid-1-in-kubernetes/


Move jscodeshift to be peerDependency

The yarn lock file changed because I ran:
yarn remove jscodeshift
yarn add --peer jscodeshift

Is this fine, or is it safe to move it in package.json without changing the yarn.lock?

why is this necessary? js-codemod isn't a repo that should be installed.

Whoops, I changed the wrong package.

I meant to change the jscodeshift-imports package at extensions/imports. PR updated.


updated board layout

finished (first pass at) routing the PCB

This is awesome, Maya. I love the BPS logo on the back. I made a few minor changes - I cleaned up some routing, added test points, and added labels to the connectors on the silkscreen for ease of use.

ALSO - I added more pins to the AUDIO connector for the speaker amp. purposes.


Use kotlin-test-junit

Kotlin test junit contains the kotlin.test.Test typealias to org.junit.Test.
This change allows you to write a MPP test without explicit junit Test annotation:
import kotlin.test.*

class Testing
  @Test fun testing() {
    assertTrue(true)
  }
}

Hi, thank you. I suppose we need a test for it :) Just some code snippet to make sure we don't lose such behavior.


feat(segmentation_user_layer): add individual segment color picker tool

replaces https://github.com/google/neuroglancer/pull/378
has a white border when widget has a set value, right click unsets the value

I still need to add the build time option to enable this feature

I still need to add the build time option to enable this feature

This seems like a generally useful feature... can it be enabled by default?


Add License file

I think we need to add the license file for this project first, so people can come and help without worry about the law issue. I suggest we can use the MIT License and if you are think it's a good idea, I can add it up.

I'm going to work on this one and upload the license file


Add Guard.Correct pattern

It's a straightforward improvement I believe.
https://github.com/nopara73/MagicalCryptoWallet/blob/b268cb3236718c462a027617cc65ed8757675258/MagicalCryptoWallet/Services/WalletService.cs#L178-L201

Pushed directly because it is a trivial change. commit 612e6aa7d951dfca3cda2787536ad3355ce0f234


pressing  in normal mode behaves like  and joins lines.

Basically, when I press ctrl+j in normal mode, it joins lines, instead of doing what I have it nmaped to.
Any ideas why? No problem in plain Neovim.

try to check in vscode keybindings if something eats <c-j> and unset it:

Ah, thanks. :pray:   Indeed there's a default binding for that.


texlive: add new tlpdb parser [WIP]

Motivation for this change
With apologies for dropping this completely out of the blue...
So I upgraded tl2nix.sed to a perl script that exposes all the details about hyphenation patterns, formats and font maps, and in principle metadata (disabled as it cannot be used with combine.nix). I have added a lot of error checking if something uncovered appears in texlive.tlpdb. The new pkgs.nix (now texlive-snapshot.tlpdb.json) is slightly larger, but not by a lot.
It is also a start towards supporting other repositories https://github.com/NixOS/nixpkgs/issues/99592#issuecomment-706809876.
This is just an idea, and certainly it is not as concise as tl2nix.sed.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I checked that the packages come out with the same fixed hashes.

I think this is in a good state. I have chosen to follow json-formats.txt with minimal changes to be unopinionated, but I can make it an extension of the previous pkgs.nix and minimize the diff.
At any rate, there is enough information to generate the correct fmtutil.cnf and fix #101405, generate language.dat.lua which is currently missing, and replace the hyphen.sed hack with a proper solution.
I was wondering: since the JSON file is deterministically generated with a derivation (we can even add a fixed hash), can we import it from the store path, instead of having it in nixpkgs? I gather there would be issues with pure evaluation, but maybe there is an escape hatch with fetchurl and the likes?

@veprbl I believe this is converging to something usable. Using json-formats.txt (so the same as tlmgr dump-tlpdb --json) seems like a sensible replacement for the adhoc pkgs.nix. I have used the metadata to speed up the handling of the hyphenation patterns.
But maybe the PR was not a good place to start – what is the best way to propose ideas for texlive?

@xworld21 I don't have too much time to review this right now. This is a big change, and I'm not clear on why we are worse off without this. Also, it makes me wonder if interpreting json from nix causes any regression in cpu/memory needed to evaluate the texlive packages. Another concern that I have is that this is written elegantly but still in Perl, and it might be harder for people in the community to maintain/review this if they don't know Perl.

The sed script is now powerful enough to extract virtually all the required information, no need to keep this around.


Updgrade?

So how to update my project with the latest SuperModular?

If you have created a new project based on SuperModular you should check the commit messages for changes and make them to you code also. A diff tool would be also an option where you will use it and compare you code base with the master branch of supermodular.


Prepare repo for prow onboarding

Related Issue:  open-cluster-management/backlog#10511
Description of changes

Add Dockerfile.prow
Add Makefile.prow
Add DCO
Update node to version 14

Verified the PR image in my cluster. Merging.


Deye SUN600-G3/EU230 FW:2.32 - Too many connection

Describe the bug
I attached the mandatory relay box to my inverter and had to update my firmware to 2.32. I manually updated to version using the inverter UI. After also updating the docker container and switching to AT mode I am facing too many connection errors. Before with older FW 1.57 and no relay it worked flawlessly. Please help identifying the issue.
To Reproduce
Steps to reproduce the behavior:

Connect using 1.57 FW
Observe that it works
Attach Deye-SUN-MI-RELAY-01
Update FW to 2.32
See too many connection warning in the log

Expected behavior
Should be able to read inverter data also with attached relay.
Hardware (please complete the following information):

Inverter model: Deye SUN600G3/EU230

Software (please complete the following information):

Logger firmware version: 2.57
deye-inverter-mqtt version: latest
config.env (remove passwords before pasting):
Not using config.env but docker-compose envs:

DEYE_LOGGER_IP_ADDRESS={IP of inverter}
DEYE_LOGGER_PORT=8899
DEYE_LOGGER_SERIAL_NUMBER={serial of inverter}
MQTT_HOST={BROKER_IP}
MQTT_PORT=1883
#- MQTT_USERNAME=user
#- MQTT_PASSWORD=password
MQTT_TOPIC_PREFIX=deye
LOG_LEVEL=DEBUG
DEYE_DATA_READ_INTERVAL=60
DEYE_METRIC_GROUPS=string
DEYE_LOGGER_PROTOCOL=at

Additional context
2023-09-17 13:30:42,922 - DeyeDaemon - INFO - Please help me build the list of compatible inverters. https://github.com/kbialek/deye-inverter-mqtt/issues/41
2023-09-17 13:30:42,922 - DeyeConnectorFactory - INFO - Creating Modbus/AT Logger connector
2023-09-17 13:30:43,007 - paho.mqtt.client - DEBUG - Sending CONNECT (u0, p0, wr1, wq1, wf1, c1, k60) client_id=b'deye-inverter-3902349006'
2023-09-17 13:30:43,010 - paho.mqtt.client - DEBUG - Received CONNACK (0, 0)
2023-09-17 13:30:43,021 - paho.mqtt.client - DEBUG - Sending PUBLISH (d0, q1, r1, m1), 'b'deye/status'', ... (6 bytes)
2023-09-17 13:30:43,021 - DeyeMqttClient - INFO - Successfully connected to MQTT Broker located at {BROKER_IP}:1883
2023-09-17 13:30:43,021 - DeyeDaemon - INFO - Feature "Report metrics over MQTT": enabled
2023-09-17 13:30:43,021 - DeyeDaemon - INFO - Feature "Set inverter time once online": disabled
2023-09-17 13:30:43,022 - DeyeDaemon - DEBUG - Start to execute the daemon at intervals of 60 seconds
2023-09-17 13:30:43,023 - DeyeDaemon - INFO - Reading start
2023-09-17 13:30:43,024 - DeyeDaemon - INFO - Reading registers [metrics group: string, range: 003c-0074]
2023-09-17 13:30:43,024 - DeyeAtConnector - DEBUG - Sending AT command: b'WIFIKIT-214028-READ'
2023-09-17 13:30:43,029 - paho.mqtt.client - DEBUG - Received PUBACK (Mid: 1)
2023-09-17 13:30:44,130 - DeyeAtConnector - DEBUG - Connection response timeout
2023-09-17 13:30:45,131 - DeyeAtConnector - DEBUG - Connection response timeout
2023-09-17 13:30:46,134 - DeyeAtConnector - DEBUG - Connection response timeout
2023-09-17 13:30:47,143 - DeyeAtConnector - DEBUG - Connection response timeout
2023-09-17 13:30:48,144 - DeyeAtConnector - DEBUG - Connection response timeout
2023-09-17 13:30:48,144 - DeyeAtConnector - WARNING - Too many connection timeouts
2023-09-17 13:30:48,144 - DeyeAtConnector - DEBUG - Sending AT command: b'+ok'
2023-09-17 13:30:48,245 - DeyeAtConnector - DEBUG - Sending AT command: b'AT+INVDATA=8,0103003c003945d4\n'
2023-09-17 13:30:50,347 - DeyeAtConnector - DEBUG - Connection response timeout
2023-09-17 13:30:51,348 - DeyeAtConnector - DEBUG - Connection response timeout
2023-09-17 13:30:52,349 - DeyeAtConnector - DEBUG - Connection response timeout
2023-09-17 13:30:53,350 - DeyeAtConnector - DEBUG - Connection response timeout
2023-09-17 13:30:54,352 - DeyeAtConnector - DEBUG - Connection response timeout
2023-09-17 13:30:54,352 - DeyeAtConnector - WARNING - Too many connection timeouts
2023-09-17 13:30:54,352 - DeyeMqttClient - DEBUG - Publishing message. topic: 'deye/logger_status', value: 'offline'
2023-09-17 13:30:54,353 - paho.mqtt.client - DEBUG - Sending PUBLISH (d0, q1, r0, m2), 'b'deye/logger_status'', ... (7 bytes)
2023-09-17 13:30:54,356 - paho.mqtt.client - DEBUG - Received PUBACK (Mid: 2)
2023-09-17 13:30:54,357 - DeyeMqttClient - INFO - Logger is offline
2023-09-17 13:30:54,357 - DeyeDaemon - INFO - Reading completed

Remove DEYE_LOGGER_PORT from the config. Read the release notes of the latest release https://github.com/kbialek/deye-inverter-mqtt/releases/tag/2023.09.1

Worked! Thank you so much for helping. This is somehow confusing though, as telnet worked on that port. So I didn’t really assume any issue in that direction. Sorry for not reading the release notes.


Fix into_raw_fd

The mearning of into_raw_fd is returning the raw underlying file descriptor
without closing it, so we should avoid the destructor running.
Signed-off-by: Tim Zhang<EMAIL_ADDRESS>

Hi @dpeckett ,
How are things going? Can I take you some time to review this pr ?
Thank you
Tim

@dpeckett Is there any progress?

@shanecurran Please help to review this pr, thank you

@shanecurran Please help to review this pr, thank you

+1, into_raw_fd() is unusable atm.
Your fix looks good to me.
@fsyncd @dpeckett
thanks

+1, into_raw_fd() is unusable atm.
Your fix looks good to me.
@fsyncd @dpeckett
thanks


Signing test

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1165

Relevant Lines:
4703

💛  - Coveralls


test=api_guides_pool

修改 池化 中英文文档
中文页面：http://<IP_ADDRESS>:8089/documentation/docs/zh/api_guides/low_level/layers/pooling.html
英文页面：https://www.paddlepaddle.org.cn/documentation/docs/en/api_guides/low_level/layers/pooling_en.html

 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.suying02 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


browser.privatebrowsing.autostart: means no "normal" mode right?

If you start FF in "normal" mode, any new private windows will display a badge/icon in the top right (a mask image). (Side note: themes do not load either)
If you start FF in PB mode, there is no PB mode icon shown anywhere. If you then open a new "normal" window, there is no difference to that visually from the PB mode window (I have never started in PB mode so I would like to clarify this).
I have tested this with multiple vanilla FF52s. To me, this either a bit of a failure and/or ambiguous. @fmarier
==
below are three concurrent profiles (vanilla FF52), all with Options>Privacy>History>Firefox will use custom settings, starting in "normal" mode (i.e "always use PB mode" is unchecked), with spawned PB windows (just reusing the image from the wiki to show the PB mode badge and loss of theme)

And here is a browser.privatebrowsing.autostart->true. If you spawn a "new window" or a "new private window", they are indistinguishable

==
So am I missing something here?

The wording in options is "ALWAYS use PB mode", which at face value means that if you start in PB you can only spawn PB mode windows - regardless of the command (new window or new private window).
^^ Is this correct? @fmarier
If this is true (start PB mode = ONLY PB mode windows), then why even allow the command "new window". This is misleading. It should be disabled IMO or (to keep the ctrl-n which people use) the icon changed to the same as "new private window" - whatever, also needs to cover context menus/menus/hamburger buttons/key-combos?. It needs to be clear.
Also, why is the PB mode badge missing. This should, IMO, be enforced. See this from mozilla support: "Private Browsing windows have a purple mask at the top", but also "When Firefox is set to Never remember history you won't see a purple mask at the top of each window, even though you are effectively in Private Browsing mode". Who dreamed that up?
While people should be responsible for their own tweaks etc, what if an addon or script changed the start mode back to normal. An end-user wouldn't pick up on it.

I do not start in PB mode myself (never have until now), but read/assumed that you could spawn a "normal" window (because the menu item/key-combo/hamburger buttons/context menus are all there) - indeed I have suggested this to others to test if the cause of an issue was PB mode (recently it was containers not working, then SDC addons not working - and both times the reply was, yes, that's it - not 100% sure if that means they followed my advice exactly - I'm guessing not)
So which is it: PB start mode->new window-> is this a normal window or a private window?

I'll assume the PB mode icon can only be 100% enforced in default themes - and this is why "always use PB mode" doesn't show it so people can enjoy themes, and why normal mode's "new private window" ignores themes.
Maybe this will change with XUL deprecation.

If you start FF in PB mode, there is no PB mode icon shown anywhere. If you then open a new "normal" window, there is no difference to that visually from the PB mode window (I have never started in PB mode so I would like to clarify this).

Because all windows are private windows it doesn't make sense to display an icon only in "new PB window". It would be confusing if it did.
Idk why themes are not available in PB windows when that mode is off. Maybe to make the PB windows visually different additionally to the PB mask icon.

Because all windows are private windows

I get that (now) because of the wording in options and behavior of UI - but it is NOT obvious. First time I've bothered to start in PB mode and it surprised me. File>New Window is misleading. The purple PB mode mask should be should for ANY PB window regardless of start settings IMO. But now it's cleared up and we have a patch and then at least it's covered.

https://github.com/ghacksuserjs/ghacks-user.js/commit/5397d2a39a7a013c58e59eeb2296f42c5686ab30


Fix +vterm-toggle not changing directory to project root

Fixes #4834
Before this change, +vterm/toggle would toggle a vterm window and change directory to the directory of the current buffer.  Now it oppens the root of the current project when it does't get an universal argument.
The comments of the function indicate this should be the appropriate behavior.  +vterm/here behaves in a similar way.
Before:

After:

LGTM. I'll look into mirroring this behavior to the other term modules. Anyhow, thanks for the help!


version requirements are pretty strict

Hello,
It looks to me like the version requirements you impose:
Jinja2==3.1.2
Markdown==3.4.1
protobuf==4.21.6
lunr==0.6.2

are pretty strict, in that they only allow for a single version to be used instead of a >= range.  Also, are you convinced that it will only run on python 3.11 or should 3.10 work?
I ask because I try to use fpm https://github.com/jordansissel/fpm to generate .deb files of pypi packages as an alternative installation method, and that isn't working out for me very well just yet.

Hi @gmabey,
Thanks for the comment!
This is the first Python package I maintain, so I wasn't sure what the usual pattern is.
Is it more typical to specify package ranges? I guess I could change all of these to enforce only the major version.
For the Python version, there is one specific reason for needing at least 3.11, and that's the usage of tomllib, because that was added to the base library in 3.11.


Add BeanResolver to SpELAction and SpELCondition

Hi
I would like to be able to reference spring managed beans from SpEL actions/conditions. Something like this:
@myBean.myMethod(#myFact, 1234)
I know I could add the bean to the facts and then use it like this.
#myBean.myMethod(#myFact, 1234)
But that means that I have to add all the beans I need to the facts every time I create a rule. If we are talking about dozens of beans this is clearly not the best way to do it. It would be better to allow to pass the BeanResolver in the constructor then set it in the context created in the evaluate and execute methods.
Thanks

Hi @elitacco ,
Thank you for opening this issue. This makes sense. I added the ability to provide a bean resolver to SpEL conditions and actions at construction time (See fcfb2ad). This is useful when using the RuleBuilder and creating the condition/actions manually.
If you use the SpELRuleFactory to create rules, then you can pass the bean resolver to the factory at construction time as well.
I deployed these changes in v4.0.0-SNAPSHOT. Can you give it a try and share your feedback?
Thank you upfront!

That's exactly what I had envisioned!
I ran some test and it works as expected.
Any ETA for v.4.0.0?
Thanks again

Perfect! Thank you for taking the time to test and give your feedback.

Any ETA for v.4.0.0?

Not really, with all these hard times.. But my main focus is on easy rules now, so keep tuned on project updates.


Configuration option request: don't reindent comments

There are cases where personal comment placement style might differ from the rustfmt style, and it'd be nice to be able to choose, but I don't see an option about aligning/reindenting/moving comments around or not.
I don't know that my issues here are bugs necessarily, because I could see what rustfmt is doing being the right thing in other situations. 🤷♀
This might be a duplicate of https://github.com/rust-lang/rustfmt/issues/763 but this comment says comments are skipped by default, but that's not what I'm seeing...? Perhaps that issue means something different than I do by "formatting comments".
Examples:
rustfmt 1.4.11-nightly (2019-12-03 1838235)
fn main() {
    {              // I would like to talk about this scope
        let x = 3; // and continue the comment here
    }              // and even down here
    // but here is a different topic that I don't want aligned
}

rustfmt changes this into:
fn main() {
    {
        // I would like to talk about this scope
        let x = 3; // and continue the comment here
    } // and even down here
      // but here is a different topic that I don't want aligned
}

Possibly related issues that might not be bugs that could instead be dealt with by turning off comment moving/formatting:

https://github.com/rust-lang/rustfmt/issues/3255
https://github.com/rust-lang/rustfmt/issues/4014
https://github.com/rust-lang/rustfmt/issues/3979

Seconding the issue. With Rust 1.45 and cargo +stable fmt
rustfmt produces nonsensical indentation like this:
+            }

-//          eprintln!("ClientOpts: invoking client using opts=[{:?}] ⇒ argv=[{:?}]",
-//                    self, argv);
+            //          eprintln!("ClientOpts: invoking client using opts=[{:?}] ⇒ argv=[{:?}]",
+            //                    self, argv);

             Client::run_with_argv(&argv, &prefix)

and damages comments like this:
 /** A status code used with all API functions. Further results
-    have to be transported as out parameters. */
+have to be transported as out parameters. */
 #[repr(C)]
 #[allow(non_camel_case_types)]
 #[derive(PartialEq, Debug, Clone, Copy)]
 pub enum APX_status {

Adorning all comments with skip attributes isn’t a workable solution.
It would be great if there was at least a way to indicate to rustfmt that it
should leave comments alone. Even better if it were possible to teach it the
commenting style of a given project.

#4108 is similar, and points out that this is inconsistent with rustfmt's apparent decision to stick to block based indentation.
This is annoying for me mostly because of the interaction with version control. For example, adding one value to an enum can cause the entire declaration to become part of a diff.

Closing this as a duplicate of #1264


Having multiple formsets on a page leads to all of them using the same Management Form

I need two Formsets on the same page
FORM = [("2", (
             ("a", FormsetA),
             ("b", FormsetB),
         ))]

I had to explicitly do the following to avoid ManagmentForm errors
{{ wizard.forms.0.management_form }}
{{ wizard.forms.1.management_form }}

But they both generate the exact same sort of Management Form hidden field. Whenever I manipulated the TOTAL-FIELDS with Javascript, both forms get updated, which is clearly not what I wanted. After digging through the code I extended the get_form_prefix method to look like this
    def get_form_prefix(self, step=None, form=None):
        if step is None:
            step = self.steps.current
        if isinstance(form, str):
            step = step + "-" + form
        return str(step)

And that gave me the right results, which I think should be how it works

Wrong github project https://github.com/vikingco/django-formtools-addons


docs: new mkdocs tree

Use the following mkdocs project tree
docs/
├── mkdocs.yml <- one core mkdocs config
├── docs_src
      ├── ... <- examples to import
└── docs/
      ├── en/
         ├── ....
         └── index.md
      ├── ru/
         ├── ....
         └── index.md

Allows to hide top-level docs_src directory, create some extra mkdos directories inside docs/ one and use the one shared mkdocs.yml for all translations

./scripts/build_docs.sh is not working

We managed to fix it in separate branch and merge it with https://github.com/airtai/fastkafka/pull/559


Has someone implemented boundaries yet?

It would be great if we can limit the area where camera can be panned. Example: For interior scenes where the camera passes through walls at the moment.

we do that within a three js scene and a custom camera controller.
You can get fancy if you like and also add physics and invisible walls as collider objects.

Right, I've been working with Navmeshes currently within a threejs scene. Thinking on the same lines as you.

Hello, @MIMNSI
I am also trying to implement boundaries as you.
Hope to ask that you implement boundaries. :)
Can you help me?

Hi,
Just a couple of ideas:

Use the cameras.json path (COLMAP) as camera boundaries
Raytracing to find intersecting splats and remove from scene (texture mod)


test_stale_learner failed

Bug Report
https://internal.pingcap.net/idc-jenkins/blue/rest/organizations/jenkins/pipelines/tikv_ghpr_test/runs/747/nodes/114/steps/680/log/?start=0

Newer issue https://github.com/tikv/tikv/issues/8272 existed.


Adding TypeScript article and examples

Updated README with TypeScript article and example:
https://github.com/go-automate/awesome-k6/tree/update/k6-typescript

Thank you for your contribution! 🎉


v1.3 Updates

Aseprite v1.3 will bring some changes to the Aseprite file specification. This includes a few new types of data:

Cel types
User data chunks, one per tag
Tileset chunks

Thanks for the link to the spec. I'll take a look.

I opened a draft PR in #2 to start working on some of the changes. I'll keep pushing commits there.


Resize precision issue.

Hello, when converting a image to float type and calling Resize operation, we found that it is different with the result by only using cv.imread(). Then, we find that
# in imgaug/augmentors/size.py line: 373
 if not isinstance(images, list):
     all_same_size = (len(set([image.shape for image in result])) == 1)
     if all_same_size:
         result = np.array(result, dtype=np.uint8)

if the input is not list, it will make a numpy array and convert to uint8. The opeartion will result in the inconsistent with our expectation.
While, we could pass the parameters with (images=[image]) to solve the problem, but I'm not sure the intention to do that.
Best,
KJ

This is now fixed in master.

@aleju  thx~

@aleju thx very much.


Make version warning more explicit.

Can this be done on the Python side as well? That's the warning users typically see.

Better?

Thanks!


How to handle relations in query resolvers

Hello there!
I have a prisma schema with relations, similar to this one
model User {
  id              String      @id @default(cuid())
  username        String      @unique

  projects        Project[]
}

model Project {
  id              String   @id @default(cuid())
  owner           User?    @relation(fields: [userId], references: [id])
  userId          String?
  name            String
}

with the following resolver function (via gqlgen):
func (r *queryResolver) Users(ctx context.Context, after *model.UserWhereUniqueInput, before *model.UserWhereUniqueInput, first *int, last *int) ([]*model.User, error) {
	users, err := r.Client.User.FindMany().Exec(ctx)

	if err != nil {
		return nil, err
	}

	retUsers := make([]*model.User, len(users))

	for i, user := range users {
		retUsers[i] = &model.User{
			ID:        user.ID,
			Username:  user.Username,,
			Projects:  user.Projects,
		}
	}

	return retUsers, err
}

The Problem is that Projects and user.Projects are of different types ( []*model.Project and []db.ProjectModel ).
Do I have to iterate again over all projects in the user loop and make a client request/exec each time or can i bundle all of the requests/exec's?

To summarise, I think there are three issues:

map model.Project to db.ProjectModel in gqlgen, see https://github.com/prisma/prisma-client-go/issues/73#issuecomment-625393779
map a slice to a raw slice, see https://github.com/prisma/prisma-client-go/issues/171 (WIP)
use []struct instead of []*struct: set omit_slice_element_pointers: false in gqlgen's yaml config

Do we even have to fetch the projects from the db at this point?
I think that projects should come from another resolver which is called from gqlgen when needed.

Ah yes, the relations should be usually fetched in another resolve which gqlgen should generate.

@steebchen Thanks for the response! Yes,  2) would be nice to have

@steebchen

use []struct instead of []*struct: set omit_slice_element_pointers: false in gqlgen's yaml config

What is the advantage here on using objects instead of pointers?

What is the advantage of using pointers over objects?

Memory efficiency for instance.
My question was more related to this specific issue because I don't see how the 3. point you mentioned is relevant here.
Maybe you can enlighten me :)

It's just how Prisma decides to return structs, and setting that option in gqlgen makes it compatible with Prisma.

Memory efficiency for instance.

First, that's not a goal unless explicitly needed or benchmarked. Second, I also believe this is not true. Internally, a slice acts as a reference, and will thus be copied just like another value would.

It depends on your application of course. I thought your question was meant in a more generic context :)
Anyway, thanks for your answer!


newsboat: 2.19 -> 2.20.1

Motivation for this change
2.20
2.20.1
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Darwin was failing before: https://hydra.nixos.org/build/123133092


module and class naming

any reason you sticked to the old "refget" naming scheme? Should we rename modules and the main class to correspond with "seqcol"?

I haven't updated the seqcol package with the new vision yet. I produced a separate refget package that isolates the refget functionality; this package will need to evolve, with new names like you suggest, and probably should rely on that package.


Import failed in iTerm

Downloaded Snazzy.itermcolors today and got an error when I opened the file in iTerm:
The selected file could not be read or did not contain a valid color scheme.

macOS Sierra 10.12.4
iTerm2 Build 3.0.15

nevermind, figured it out :(

@mattbanks How'd you figure it out?

@alexpareto right clicking and downloading the file from the github page saved an entire HTML page of it for me. I had to go into the Raw output file and save that, which worked better.
I might do a PR to the readme to link to the raw output to download that. @sindresorhus

doh, the readme does link to the raw file! I was right clicking on the file in the file list instead of the link in the readme

Thanks!


Timer doesn't reset when user is disabled

Steps to recreate:

Pause timer on one person
Disable that person, automatically switches to next person
Timer doesn't reset

Going to try and tackle this. I know nothing about Electron apps so I might give up shortly.

I'm not sure how far you got on this @TravisBumgarner , but since it sounded like you were unsure about it and I had some time, I went ahead and created the above PR to fix the issue.


Add a missing initialization in Patch::from_buffers.

Closes #491

Can a release be made with this fix please?

Sure thing, pushed up as https://github.com/rust-lang/git2-rs/pull/496


Android Studio 2.0 Instant Run causes problems

The new instant run feature of Android Studio 2.0 causes some issues with the initial database creation code.
For me in version 1.5 of Sugar, the problem lies in ReflectionUtil.java at line 299 - MultiDexHelper.getAllClasses(context);
MultiDexHelper.getAllClasses(context) now only returns just a handful of classes which all appear to be some sort of wrapper/runtime around your real app which deals with the code hotswapping. None of your own classes are returned by this method anymore so none of your entity classes get detected and the corresponding SQL tables never get created.
The short term workaround is to disable the hot swap feature (at least for the initial deployment of your app, I guess it should work fine for subsequent runs).

fixed with this PR https://github.com/satyan/sugar/pull/564
use master version please


legal-and-compliance/overview.md

overview.md
@jacobsmith928 please complete this document as mentioned in the Products Outline doc earlier.

this is done, but not rendering meta. https://github.com/packethost/docs/blob/master/products/06-sales-and-support/02-legal-compliance/01-overview.md
@zalkar-z or maybe someone else can tell me why this is?

fixed the metadata issue–rendering on the staging now.


Notification component

Description
The notification component displays important messages that are relevant to the user. These messages may be triggered while the user is in the App, or whilst they are away.
Component classification
Is this component an atom, molecule or organism?

[ ] Atom
[ ] Molecule
[x] Organism

Details / user needs
We need some way of highlighting to users that there are important messages they should attend to, but without being highly intrusive in the interface,
Some design considerations:

The trigger element should indicate whether there is a notification present, and the number of notifications
The component should include a trigger element, such as an icon or button
The layout of notifications themselves should be flexible. Each Application is likely to have very different needs
Each notification should contain a brief description, and a call-to-action, or ability to dismiss
Notifications need to be positioned prominently on the page so users don't miss them

Used in 2x exemplar projects
Questions

How will the user access long list of notifications (10+)?
How will the user access an archive of notifications - do we need an archive? This mighr be application specific.

Definition of done

[ ] The Sketch file is updated with the component
[ ] There are screenshots of all component variations in this ticket
[ ] All states are included if applicable (default, hover, active, focus)
[ ] A design documentation PR is linked from this ticket
[ ] All questions laid out in this ticket have been resolved
[ ] A pull request for a component must contain a fully tested, documented and finished component in a state it can be shared with partner developers

Notification Sheet

Answers to questions

How will the user access long list of notifications (10+)?
The notification sheet is not the notification page. That is a separate page that contains all the notifications, included expanded descriptions.
How will the user access an archive of notifications
See above.

Abstract Link
https://share.goabstract.com/e13d7d86-745f-4c19-bc04-d57542754099?sha=c7226d3e551d7d83470dbb287d92cbc868ae406d

@hxltrhuxze the scope of this component is unclear from the screenshots and description - happy with the simple bell icon, but to what extent with the notification sheet be standardised?

@09txzS1qs In my mind, the notification sheet should be standardised into having:

Icon (either avatar, or appropriate action icon)
Title
Date
Description (optional)

This component is intended to work much like the Facebook notification sheet - it provides a brief overview of an event has happened.
Maybe @antictor can weigh in on this - I know we briefly discussed the notification sheet yesterday.

The avatar should be made optional and some stuff should be optional too and the rest like title and description mandatory so this will be doable that way

In addition to the 4 things listed in this comment, would we not expect for there to be at least one action on the notification (dismiss)? This line in the original ticket made me think of it...

Each notification should contain a brief description, and a call-to-action, or ability to dismiss

Otherwise this looks good.


Allow library to be used with frozen-string-literals enabled.

These changes ensure that all string literals can be frozen (as per the optional feature in MRI 2.3 and onwards).
I would recommend adding the following to your .travis.yml file to ensure regressions aren't introduced:
before_script:
- if (ruby -e "exit RUBY_VERSION.to_f >= 2.4"); then export RUBYOPT="--enable-frozen-string-literal"; fi; echo $RUBYOPT

This will add the flag when the tests are run on MRI 2.4 or newer (while the feature was introduced in 2.3, it doesn't seem to work reliably until 2.4). However, at this point in time for the tests to pass, you'll need to use the latest RSpec commits, along with submitted patches to simplecov-html, test-unit, and parser (for rubocop):

https://github.com/colszowka/simplecov-html/pull/56
https://github.com/test-unit/test-unit/pull/149
https://github.com/whitequark/parser/pull/354

Hullo @PragTob 👋 - and yes, I guess I have been busy patching all of the things! It's great to see that the latest test-unit is now frozen-string-literal friendly, so that's one dependency sorted :) Fingers crossed parser can get fixed up too and a new gem released - it's not possible to use it via a git repo due to Ragel-generated Ruby files.

Thanks a bunch @pat !


.onLoad (md): [TypeError: Object # has no method 'parse']

Occurred in this CI build but not on my machine.

closing since this issues has been fixed. please reopen if this specific error is still happening


Encoding problem on Unpacking text content

When unpacking a resource, if the content in UTF-8 a UnicodeDecodeError exception is raised. Exception occurs on unpack.py on line 99:
content = _text_wrapper(tarFile.extractfile(contentMember)).read()

I was able to fix it using the encoding argument:
_text_wrapper(tarFile.extractfile(contentMember), encoding='utf8').read()

Can you please add this to the code?

Hi,
I've added the code with some tests and sent a PR.

Fixed in #171


fn_repl_hash_binary is not available in SQL 2005

fn_repl_hash_binary is used to generate a query hash, however it is isn't available on SQL 2005..... wonder how we'll beat this one Enrico! :)

I don't fully understand what the fn_repl_hash_binary does, other than creating a hash that you stores.
Did you guys look into fn_varbintohexstr?
Look at the results from the below commands. Both resolves on SQL 2005 and 2008.

We've chosen the current hashing functionality over the HASH BYTES function because the HASH BYTES can only limit a fixed amount of characters. Sadly this option is not available in 2005.
The reason we need the hashing is to uniquely identify execution plans that are related to a query statement. Through the hashing we are able to identify different plans for the same query and thus allowing an easy method to identify multiple plan usage for a single query.
We had to resort to this method because the built-in plan hashes used in the DMVs are not trustable enough (the hash gets reused frequently). So what we basically do is shred the plan XML in the relops node that displays the operator structure of the plan. If hashes of the relop node are identical we detect an identical plan for a query, if they are different we have a new plan for the same query.
Current way of thinking is to create a custom function that performs the hashing so we can use it from 2005 and later. If there is a built-in in function that can perform the same function for a large amount of characters (4000) and is inside 2005 to 2014 we love to hear it :-).
Thanks!

I don't believe that we can find a built in function / feature that supports what you are looking for.
The best suggestion is:
http://www.databasejournal.com/features/mssql/getting-started-with-hashing-in-sql-server.html
I would argue that we should implement the recursive approach in SQL 2005 only and keep the rest of the solution it running with the current implementation.
We can use other methods / functions with the same concept of splitting the binary data into chunks and do some kind of hashing.
Here is a nvarchar(max) using CTE:
https://sqlzealots.com/2017/07/14/hashbytes-for-a-large-string-in-sql-server/

This request appears to be obsolete as of changes made on Jan 29, 2018 by @Evdlaar . As you can see in that particular commit, line 147:
SUBSTRING( [master].[sys].[fn_repl_hash_binary]( CONVERT( varbinary (MAX), [n].[query]( '.' ))), 1, 32 ),

was changed to:
(qs.query_hash+qs.query_plan_hash),

So, if OQS does not support SQL Server 2005, then it isn't due to the absence of fn_repl_hash_binary. If it was, then an easy solution would be to check for the SQL Server version, and if 2005, then use a different function. For example, there is the SQL# library (which I created) that contains a function, Util_HashBinary, that does the same thing (well, Util_HashBinary actually allows you to specify any of the hash algorithms available in .NET, not just MD5 which is all that fn_repl_hash_binary does). And yes, it is in the Free version. People wanting that functionality in SQL Server 2005 (or to do HASHBYTES without the 8000 byte limit on versions prior to SQL Server 2016), might have no issues with using SQLCLR. After all, it is available on all platforms except Azure SQL Database (even if SAFE assemblies only on Linux and Azure Managed Instances).
I realize that it is preferred (for this project) to not use SQLCLR, but it's the same solution that Microsoft came up with, given that fn_repl_hash_binary is, in fact, SQLCLR:
SELECT [type_desc] FROM sys.all_objects WHERE [name] = N'fn_repl_hash_binary';
-- CLR_SCALAR_FUNCTION


Add HTML template for upload example

Add a HTML page for upload example, It makes example use easier!

Thanks!😄


Chaining multiple ipwhitelist middlewares (and others?) does not work as expected

Do you want to request a feature or report a bug?
Bug
What did you do?
I have several ipwhitelists for different IPs and IP ranges. I want to combine some whitelists for some containers. For that reason I added two whitelist middlewares to a docker label list. This resulted in all IPs being blacklisted.
Then I tried to use a Chain, but that had the same result. I assume because that just does the same thing, but less verbose.
What did you expect to see?
I expected to have the ip sourceranges combined to whitelist all defined addresses.
What did you see instead?
Instead, everything is blacklisted. Not even the first or last entry is whitelisted. Even though the debug logs (see below) state that both whitelists have been created. No errors or anything peculiar.
Also the dashboard happily reports that both whitelists exist and are successful.
Output of traefik version: (What version of Traefik are you using?)

Docker version 19.03.8, build afacb8b7f0
traefik.yaml
entryPoints:
  http:
    address: ":80"
  https:
    address: ":443"

providers:
  docker:
    endpoint: "unix:///var/run/docker.sock"
    exposedByDefault: false
    network: proxy
file:
    filename: /etc/traefik/traefikfile.yaml

traefikfile.yaml
http:
  middlewares:
    https-redirect:
      redirectScheme:
        scheme: "https"
        permanent: true
  routers:
    redirect-http:
      entryPoints: ["http"]
      rule: "hostregexp(`{host:.+}`)"
      middlewares: ["https-redirect"]
      service: "dummy"
  services:
    dummy:
      loadBalancer:
        servers:
        - url: ""

tls:
  certResolver: default
  options:
    default:
      minVersion: "VersionTLS12"
      cipherSuites:
        - "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
        - "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
        - "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
        - "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
      sniStrict: true

Labels on container
    labels:
      - traefik.enable=true
      - traefik.http.routers.container.rule=Host(`a.fancy.site`)
      - traefik.http.routers.container.tls=true
      - traefik.http.routers.container.middlewares=a-whitelist,b-whitelist

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
time="2020-04-11T18:05:56+02:00" level=debug msg="Creating middleware" entryPointName=http routerName=container@docker middlewareName=a-whitelist@docker middlewareType=IPWhiteLister
time="2020-04-11T18:05:56+02:00" level=debug msg="Setting up IPWhiteLister with sourceRange: [<IP_ADDRESS>]" middlewareName=a-whitelist@docker middlewareType=IPWhiteLister entryPointName=http routerName=container@docker
time="2020-04-11T18:05:56+02:00" level=debug msg="Adding tracing to middleware" entryPointName=http routerName=container@docker middlewareName=a-whitelist@docker
time="2020-04-11T18:05:56+02:00" level=debug msg="Creating middleware" routerName=container@docker middlewareType=IPWhiteLister middlewareName=b-whitelist@docker entryPointName=http
time="2020-04-11T18:05:56+02:00" level=debug msg="Setting up IPWhiteLister with sourceRange: [<IP_ADDRESS>]" entryPointName=http routerName=container@docker middlewareType=IPWhiteLister middlewareName=b-whitelist@docker
time="2020-04-11T18:05:56+02:00" level=debug msg="Adding tracing to middleware" routerName=container@docker middlewareName=b-whitelist@docker entryPointName=http

This is similar to #5538 yet that issue only addresses headers. Perhaps the Chain or Middlewares page could use a list of middleware types that can used multiple times for the same router, if any.

I think this is a duplicate of #5538.

Duplicate of #6007


docs: README

Modify documents in a README file.

@ms76 I've modifed the README file that contains changes about https://github.com/otaku-coin/vault-plugin-secrets-ethsign/pull/4#pullrequestreview-1266989094.
I was just hoping that you can give me your feedback on something if you have the time.

@ms76 Thank you for your coding reviews!
I've removed a part of the ALC example. How is this?

@ms76 Thank you for your cooperations!


Extension cannot be published to Saas

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
We have a CD Pipeline that publishes our new build artifacts to a Saas Sandbox using BCContainerHelper. The pipeline takes our build artifacts, compares the versions against the ones on the Sandbox and publishes the apps if newer. This has been working fine quite a while but since this week this process occasionally fails with the following error:
"De extensie Dynavision Cloud POS Light by Dynavision <IP_ADDRESS>55 kan niet worden geïnstalleerd omdat er al een een nieuwere versie, <IP_ADDRESS>28, is geïnstalleerd."
(The error indicates  a new version is already installed.
As you can see in the output below, 2 apps (Trade 21.0.5.XXXX/POS 21.0.5.XXXX) need to be published. Weirdly, the code fails on a version 21.0.2 (we already had a version 21.0.3.XXXX and 21.0.4.XXXX installed in the past, so why it fails on 21.0.2.XXXX is just strange).

The apps are published as a folder using the Publish-BcContainerApp cmdlet.  Before publishing we print a summary of all the apps in the folder:

(Please note each app is printed twice in the output due to a copy-past mistake)
As you can see only 2 apps are being published, there's no version Dynavision Cloud POS Light version 21.0.2.XXX app in our folder.
When we re-run the pipeline, the app is published succesfully...
Any idea what's wrong here?
Scripts used to create container and cause the issue

Full output of scripts
2023-03-30T11:04:22.8522899Z ##[section]Starting: Publish to Environment
2023-03-30T11:04:22.8621568Z ==============================================================================
2023-03-30T11:04:22.8621837Z Task         : PowerShell
2023-03-30T11:04:22.8622067Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2023-03-30T11:04:22.8622278Z Version      : 2.212.0
2023-03-30T11:04:22.8622456Z Author       : Microsoft Corporation
2023-03-30T11:04:22.8622731Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-03-30T11:04:22.8623039Z ==============================================================================
2023-03-30T11:04:23.7088930Z Generating script.
2023-03-30T11:04:23.7388125Z ========================== Starting Command Output ===========================
2023-03-30T11:04:23.7574673Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'F:\Build Agents\BUILD-SERVER 2_1\_work\_temp\5c6935d6-94b6-4c03-a41f-6cdd67a4c8d1.ps1'"
2023-03-30T11:04:27.1287068Z BcContainerHelper version 4.0.14
2023-03-30T11:04:27.2971124Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-03-30T11:04:28.6538939Z WARNING: The names of some imported commands from the module 'BCContainerHelper' include unapproved verbs that might
2023-03-30T11:04:28.6539602Z make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the
2023-03-30T11:04:28.6540044Z Verbose parameter. For a list of approved verbs, type Get-Verb.
2023-03-30T11:04:28.6554070Z Sorting Apps
2023-03-30T11:04:38.5954861Z Retrieving Authentication Context
2023-03-30T11:04:38.6326885Z Attempting authentication to https://api.businesscentral.dynamics.com/user_impersonation offline_access using refresh token...
2023-03-30T11:04:38.7885134Z Authenticated using refresh token as user ***
2023-03-30T11:04:38.7931938Z Authenticated to common, using tenant id ***
2023-03-30T11:04:39.2251005Z App Dynavision Core with version <IP_ADDRESS>92 for publisher Dynavision already installed
2023-03-30T11:04:39.2274026Z App Dynavision Advanced Finance with version <IP_ADDRESS>22 for publisher Dynavision already installed
2023-03-30T11:04:39.2294926Z App Dynavision Advanced Finance BE with version <IP_ADDRESS>27 for publisher Dynavision already installed
2023-03-30T11:04:39.2315943Z App Dynavision Advanced Pricing & Discounts with version <IP_ADDRESS>75 for publisher Dynavision already installed
2023-03-30T11:04:39.2336108Z App Dynavision Advanced Promotions with version <IP_ADDRESS>01 for publisher Dynavision already installed
2023-03-30T11:04:39.2356038Z App Dynavision Advanced Units with version <IP_ADDRESS>63 for publisher Dynavision already installed
2023-03-30T11:04:39.2378663Z App Dynavision Connect with version <IP_ADDRESS>13 for publisher Dynavision already installed
2023-03-30T11:04:39.2398445Z App Dynavision Contributions and Declarations with version <IP_ADDRESS>58 for publisher Dynavision already installed
2023-03-30T11:04:39.2419567Z App Dynavision Cross-Selling with version <IP_ADDRESS>37 for publisher Dynavision already installed
2023-03-30T11:04:39.2439519Z App Dynavision Drinkmaster 365 with version <IP_ADDRESS>87 for publisher Dynavision already installed
2023-03-30T11:04:39.2459981Z App Dynavision Excise Duties with version <IP_ADDRESS>78 for publisher Dynavision already installed
2023-03-30T11:04:39.2554434Z App Dynavision Graydon with version <IP_ADDRESS>54 for publisher Dynavision already installed
2023-03-30T11:04:39.2574901Z App Dynavision Advanced Item & Price Import with version <IP_ADDRESS>32 for publisher Dynavision already installed
2023-03-30T11:04:39.2595047Z App Dynavision Layouts with version <IP_ADDRESS>98 for publisher Dynavision already installed
2023-03-30T11:04:39.2615759Z App Dynavision Planning And Dispatch with version <IP_ADDRESS>03 for publisher Dynavision already installed
2023-03-30T11:04:39.2636043Z App Dynavision Reusable Packaging with version <IP_ADDRESS>05 for publisher Dynavision already installed
2023-03-30T11:04:39.2669533Z App Dynavision Purchasing and Procurement Center with version <IP_ADDRESS>97 for publisher Dynavision already installed
2023-03-30T11:04:39.2689481Z App Dynavision Rental And Consumption with version <IP_ADDRESS>62 for publisher Dynavision already installed
2023-03-30T11:04:39.2709272Z App Dynavision Robinson 365 with version <IP_ADDRESS>88 for publisher Dynavision already installed
2023-03-30T11:04:39.2728417Z App Dynavision Sync with version <IP_ADDRESS>97 for publisher Dynavision already installed
2023-03-30T11:04:39.2748527Z App Dynavision Test with version <IP_ADDRESS>05 for publisher Dynavision already installed
2023-03-30T11:04:39.2768749Z The following Apps will be published:
2023-03-30T11:04:39.2878917Z Dynavision_Dynavision Cloud POS Light_<IP_ADDRESS>32_sandbox_21.3_w1.app
2023-03-30T11:04:39.2879999Z Dynavision_Dynavision Trade_<IP_ADDRESS>30_sandbox_21.3_w1.app
2023-03-30T11:04:39.2997167Z Dynavision_Dynavision Cloud POS Light_<IP_ADDRESS>32_sandbox_21.3_w1.app.Name (found in directory 'F:\Build Agents\BUILD-SERVER 2_1\_work\r3\a\Dynavision POS\Apps')
2023-03-30T11:04:39.3005983Z Dynavision_Dynavision Trade_<IP_ADDRESS>30_sandbox_21.3_w1.app.Name (found in directory 'F:\Build Agents\BUILD-SERVER 2_1\_work\r3\a\Dynavision Trade\Apps')
2023-03-30T11:04:39.3013815Z Installing Apps
2023-03-30T11:04:40.5049733Z Publishing Dynavision_Dynavision Trade_<IP_ADDRESS>30_sandbox_21.3_w1.app to https://api.businesscentral.dynamics.com/v2.0/DynavisionTest/dev/apps?SchemaUpdateMode=forcesync&dependencyPublishingOption=ignore
2023-03-30T11:06:44.9947825Z Publish-BcContainerApp Telemetry Correlation Id: d16b8f1f-25a1-436b-a9df-13d7cf0d5c34
2023-03-30T11:06:45.0400098Z Status Code 422 : Unprocessable Entity
2023-03-30T11:06:45.0401190Z De extensie Dynavision Cloud POS Light by Dynavision <IP_ADDRESS>55 kan niet worden geïnstalleerd omdat er al een
2023-03-30T11:06:45.0401997Z nieuwere versie, <IP_ADDRESS>28, is geïnstalleerd.
2023-03-30T11:06:45.0402809Z At C:\Program Files\WindowsPowerShell\Modules\BCContainerHelper\4.0.14\AppHandling\Publish-NavContainerApp.ps1:275
2023-03-30T11:06:45.0403427Z char:25
2023-03-30T11:06:45.0403753Z +                         throw $message
2023-03-30T11:06:45.0403991Z +                         ~~~~~~~~~~~~~~
2023-03-30T11:06:45.0404302Z     + CategoryInfo          : OperationStopped: (Status Code 422...eïnstalleerd.
2023-03-30T11:06:45.0404807Z :String) [], RuntimeException
2023-03-30T11:06:45.0405117Z     + FullyQualifiedErrorId : Status Code 422 : Unprocessable Entity
2023-03-30T11:06:45.0405893Z     De extensie Dynavision Cloud POS Light by Dynavision <IP_ADDRESS>55 kan niet worden geïnstalleerd omdat er al een nie
2023-03-30T11:06:45.0406371Z    uwere versie, <IP_ADDRESS>28, is geïnstalleerd.
2023-03-30T11:06:45.0407540Z
2023-03-30T11:06:45.1075023Z ##[error]PowerShell exited with code '1'.
2023-03-30T11:06:45.1348666Z ##[section]Finishing: Publish to Environment

...

Screenshots
(See above)

I think we need to make the default default - and not ignore.


[ignore] input-time: visual-diff: remove flake

Ignore for now. Opening as draft to experiment/see if this solves the issue

Closing because this was not helpful.


Add support for Elixir syntax highlighting

see https://github.com/mattermost/mattermost-webapp/pull/2056
Summary
This PR attempts to add support for syntax highlighting of Elixir code and supports https://github.com/mattermost/mattermost-webapp/pull/2056
Ticket Link
N/A
Checklist

[ ] Added or updated unit tests (required for all new features) <- no matching/similar tests found

Device Information
N/A
Screenshots
N/A

@hmhealey do we have a ticket to add syntax highlight on the code screen?

I think so, but I'll double check


sponsored_products Reports BUG

Describe the bug
1-bug: reports.py-41  kwargs.pop('body')  is error,Nofound body in kwargs.
2-bug: client.py-239   Content-type is incorrect, resulting in a return status of 400/422, params should not use the passed data.In general there are multiple errors here
sponsored_products Reports  post_report
Not submitting the request with the Content-type will result 422/400 status_code。
To Reproduce
Steps to reproduce the behavior:

call sponsored_products.Reports(credentials=my_credentials, marketplace=Marketplaces.NA, debug=True).post_report(
recordType="campaigns",
metrics='impressions',
reportDate="20220729"
)

Additional context
I'll submit new code when I'm done, if you're willing to accept。 grateful！

Check the help:
https://python-amazon-ad-api.readthedocs.io/en/latest/sp/reports.html
You are using wrong you need to pass your values as a dictionary:
from ad_api.api.sp.reports import Reports
file = open("ad_groups.json")
data = file.read()
file.close()
record_type = 'adGroups'
result = Reports().post_report(
recordType=record_type,
body=data
)
payload = result.payload
report_id = payload.get('reportId')
While the dictionary should look like this:
{
"stateFilter": "enabled",
"reportDate": "20210917",
"metrics": "campaignName,campaignId,adGroupName,adGroupId,impressions,clicks,attributedConversions30d"
}


add test for fs.appendFile to check when symbolic link does not exist

OK, @shreenaathia, go for it.  One tip: separate your Issue Title and the longer Description when you file a bug like this.


[Bug]: file already exists when copy public dir to dist

Version
System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 AMD Ryzen 7 5800X 8-Core Processor
    Memory: 73.34 GB / 95.91 GB
  Browsers:
    Edge: Chromium (127.0.2651.8)
    Internet Explorer: 11.0.19041.4355
  npmPackages:
    rspress: ^1.38.0 => 1.38.0

Details
🔥 Rspress v1.38.0

node:internal/fs/promises:858
  return await PromisePrototypeThen(
         ^

Error: Copy public dir (V:\githubs\docs\rspress\docs\dr\docs\public) to dist failed:
EEXIST: file already exists, mkdir 'V:\githubs\docs\rspress\docs\dr\local_build'
    at async mkdir (node:internal/fs/promises:858:10)
    at async mkDirAndCopy (node:internal/fs/cp/cp:308:3)
    at async Promise.all (index 0)
    at async file:///V:/githubs/docs/rspress/node_modules/.pnpm/@rsbuild+core@1.1.11/node_modules/@rsbuild/core/dist/index.js:4548:25
    at async Object.call (file:///V:/githubs/docs/rspress/node_modules/.pnpm/@rsbuild+core@1.1.11/node_modules/@rsbuild/core/dist/index.js:2402:30)
    at async beforeCompile (file:///V:/githubs/docs/rspress/node_modules/.pnpm/@rsbuild+core@1.1.11/node_modules/@rsbuild/core/dist/index.js:2465:34) {
  errno: -4075,
  code: 'EEXIST',
  syscall: 'mkdir',
  path: 'V:\\githubs\\docs\\rspress\\docs\\dr\\local_build'
}

Node.js v23.2.0
 ELIFECYCLE  Command failed with exit code 1.
 ELIFECYCLE  Command failed with exit code 1.

Reproduce link
https://github.com/shenjackyuanjie/DR-docs
Reproduce Steps
pnpm build

duplicate with #1684

Fixed by Rsbuild: https://github.com/web-infra-dev/rsbuild/releases/tag/v1.1.12


Implemented tests and fixed onScroll

As I proposed, this is a pull request for you. I've implemented some tests (of course not full coverage, but more than simple smoke tests) for all library classes.
As I said I have noticed a bug when you try to test in sample activity fling detecting. But in this morning, when I tried to prepare my pull request, I noticed your last changes, where everything with fling was fixed. Thank you for that. But I noticed another problem with scrolling, since new directions was added and I fixed it in this pull request, too.
Hope everything is clear and readable. :)

Thank you for the pull request @programmerr47 . I have merged your code. There were a few discrepancies  which I fixed and have also released the new version 1.3.0 to maven central. As soon as that is available I will update the Wiki too.
Thank you for your contribution 👍


GDI+ Access violation caused by PrivateFontCollection in TextStyle.cs

When using netDXF to read a DXF file that includes TextStyle information in Unity, the application crashes due to an Access Violation in GdiPlus.dll GdipDeleteFontFamily().  This occurs in the built version of the Unity executable, but not when running in the editor.  This appears to be caused by the use of PrivateFontCollection within TestStyle.cs TrueTypeFontFamilyName. Commenting out the section of code (lines 375 to 382) using PrivateFontCollection prevents the crash.  I tried calling Dispose() on the PrivateFontCollection but this did not help.

I guess your problem is related with this. This is a user pull request merged to the master branch sometime ago, but still not included in the latest release.

Yes, it's the same bit of code, but the try-catch doesn't help in this case because the CLR won't catch 'corrupted state exceptions' like access violations by default.  One 'solution' would be to use the HandleProcessCorruptedStateExceptions attribute to force it to handle them, but this might still leave memory in a corrupted state, so probably not a good idea.  A better fix might be to extract the font names from the TTF files directly without using PrivateFontCollection.

Well, if that was not your problem, I cannot help, I dont have dont use Unity.

With the latest commit [2019/05/21] I removed the need to use the PrivateFontCollection class from the constructor of the TextStyle. See this post.

@pnjeffries  Hello, I am also using this library in unity, but I don't know how to draw the model, can you refer to your project? I need some ideas.Thank you so much