Fix the z_sort_debug example from #1361

Fixes #1411
We do need to decide the correct solution to the issue raised in https://github.com/bevyengine/bevy/issues/1411#issuecomment-774664760
And also this shows that we need to think about testing - can we look at Godot's tests?
That being said, merging this is better than leaving that example fully broken.

Hmm back when I worked on godot there were no tests (and there was pushback when people suggested adding them). Looks like some unit tests got added very recently, but they look to be in the class of test that we already have?
This type of "render error" breakage would be hard to test for regressions. How would you propose testing for it?

Well in this case it's more that the actual value of the colour changed, rather than the actual rendering output


EdgeInsets for Vertical and Horizonal Layout Methods Are Misleading

As horizontal and vertical components of EdgeInsets are ignored when passed respectively to vertical and horizontal filling methods, we probably should consider adding VerticalEdgeInsets and HorizontalEdgeInsets types and use them as required types for these methods

I think it makes sense

Closed. Please re open it in the proper repo


redering list items does not clean the line correctly

list items and choice items are not correctly rendered.
Since version 0.0.12 scrolling is possible. When items with shorter text are rendered to a line with previous longer text, the old text stays there without erasing.

fixed in version 0.0.13

awesome! works. now used in jbang gavsearch@jbangdev :)
is there a way to set the default height of the list ?


Number of iterations

I am trying to run the code for one-shot object detection, but I am not able to complete 5000 iterations. I want to try for less number of iterations, how can I edit the number of iterations?
Thank you in advance.

Hi, I'm not sure I understand what 5000 iterations you mentioned.
The default number of iterations for training is set to 200k if I remember correctly:
https://github.com/aosokin/os2d/blob/96c488b3979c505b92245ccdab941fb01fdf99de/os2d/config.py#L142
But that number is definitely overshooting, so doing less should be fine. For V2 model (initialized not from scratch), doing much less should be fine.
Best,
Anton


Allow backticks as valid "other" in quotemark rule "avoid-escape" option

Bug Report
TSLint version: 5.7.0
TypeScript version: 2.4.2
Running TSLint via: (pick one) CLI
TypeScript code being linted
console.log(`we're loving this rule`)

with tslint.json configuration:
      "quotemark": [true, "single", "jsx-double", "avoid-escape", "avoid-template"]

Actual behavior
Error generated:
Error  (quotemark) Lint
    ` should be "

Expected behavior
Strings denoted by backticks should be accepted as a valid if they allow the avoidance of escaping.

I guess that makes sense. But only if "avoid-template" is not present.

Has anyone started work on this?

@thomasward1212 If you want to tackle this issue, go for it. It doesn't seem anyone has already started work.

@ajafff Awesome, thanks.

@ajafff I don't believe this is actually an issue. In the example provided in the Bug Report, the rule configuration includes avoid-template, and thus the behaviour is as expected. Removal of this option also removes the error.

I agree with @charles-salmon, this issue should be closed. @bportnoy a template string doesn't become one by using placeholders, the backticks itself are enough ;-) So with the option "avoid-template" the linter works just as expected.

Sounds like this can be closed from the discussion, and it's been open for a while. Closing.
If you think it should be re-opened, please do comment!


Find centre of rotation

Description
What is this PR

[x] Bug fix
[ ] Addition of a new feature
[ ] Other

Why is this PR needed?
See #12
What does this PR do?
Creates methods and pipeline to find the centre of rotation in the incremental dataset.
⚠ It does not fix the wobbling issues. The pipeline works well with simulated data but worsens the real datasets.
Pipeline
Find the centre
Find the centre of rotation using the incremental rotations datasets, in which the sample was rotated at discrete angles with 10deg intervals. Centre of rotation is found by fitting an ellipse to the brightest ROI location at each of the 10deg configurations.
New methods include:

find_center_of_rotation
get_coords_of_largest_blob
plot_blob_detection
fit_ellipse_to_points
plot_ellipse_fit_and_centers

Use the new centre
In order to use the new centre of rotation, the derotate_an_image_array_line_by_line needed to be totally rewritten. I am discarding the usage of scipy.ndimage.rotate and using classic linear algebra to rotate the matrices. With this new implementation the derotation is so much faster! 🚀
How has this PR been tested?
The performance of the de-rotation when the centre of rotation is shifted has been tested with simulated data generated by the class Rotator.
I created a stepwise array of angles to imitate the incremental rotation dataset, and a sinusoidal array as the main experimental session dataset.

I then rotated a sample image that has two blobs that imitate two ROIs (one brighter than the other).

Ellipse fit works well with a shifted centre:

And derotation works smothly. This is the proof that in principle my derotation with shifted centres works.
I added tests to cover this new functionality and the pipeline.
Is this a breaking change?
No
Checklist:

[x] The code has been tested locally
[x] Tests have been added to cover all new functionality
[ ] The documentation has been updated to reflect any changes
[x] The code has been formatted with pre-commit

https://github.com/user-attachments/assets/7c0eb4e5-c518-49f2-8750-2c9c8b3a0c17
In this video you can see de-rotated synthetic data that was generated via the Rotator + derotate_an_image_array_line_by_line. There are two circles that should represent two neurons. As you can see they wobble. I thought that this movement was due to a wrong center of rotation (CR), but here the CR is perfectly at the center of the image. So I think this is due to the combination of the two procedures (rotation and derotation). I'm unsure of which of the two cause the artifact the most.
However the wobbling seems coherent between the two circles, so I think that this can be easily resolved via registration.
Therefore I can say that the goal of this PR is not to solve the wobbling artifcat.

Two dot diff with current state of main
1,674 additions and 318 deletions

Easier to solve conflicts through a new branch and new PR -> #30


Added ability to change the online status

As far as I could tell, there was no way of changing the users status through the API so I added a few methods to accomodate users wishing to do this.

We've had a lot of duplicated API's over time for this. With status gaining rich data I think we need to combine this PR with https://github.com/bwmarrin/discordgo/pull/458/files
I would prefer we create a UpdateStatusComplex(data UpdateStatusData) which includes the rich data also.

Sorry to close this, but I think we will go with the other PR on this one, but thank you very much for bringing the status to our attention, it'll get added in https://github.com/bwmarrin/discordgo/pull/458/files


Implement create_hook_append_value

It looks like support for this flag was templated, but was never implemented. I'd like to use it in the same way we're currently using the prepending variant.

Can you please describe the use case where you want to use that new environment hook.
Also please provide corresponding PRs for other shells where needed (e.g. powershell).

Can you please describe the use case where you want to use that new environment hook.

The use case is a package which wishes to append a value to an environment variable which contains a list of paths. The behavior should resemble the mechanism which places a value at the front.

Also please provide corresponding PRs for other shells where needed.

I forgot that there were other supported shells in other colcon extensions. I'll open PRs for those.

The use case is a package which wishes to append a value to an environment variable which contains a list of paths.

Can you please describe the specific use case, which package, what environment variable.

Can you please describe the specific use case, which package, what environment variable.

I need to append /usr to CMAKE_PREFIX_PATH in a Bloom patch for ros_workspace for RHEL. The workaround is necessary because the fallback search path mechanism in CMake that relies on the PATH variable doesn't work the same on RHEL as it does on other platforms because /bin and /sbin sometimes come before /usr/bin and /usr/sbin, resulting in some FindFOO.cmake modules reporting bad include directories like /include. This needs to work for downstream RPM packages (which is why I'm also enhancing ament_package), and also local workspaces (which is why I'm enhancing colcon).
I really don't understand the strong push-back on this change - clearly it was a conceived and left unimplemented long before this use case. Whatever the reason, I hope you'll find this explanation sufficient to move forward with this clear-cut enhancement.

Also please provide corresponding PRs for other shells where needed.

I forgot that there were other supported shells in other colcon extensions. I'll open PRs for those.

Neither colcon_bash nor colcon_zsh have existing hooks for prepend, so I don't think they need hooks for appending either. I added a hook for colcon-powershell: colcon/colcon-powershell#30

I really don't understand the strong push-back on this change

My questions are not "strong push-back". Knowing the use case why a certain patch was proposed and merged not only helps in the review process but also records that information for future readers. That could e.g. be helpful if something related to this breaks in the future to trace the use case it was needed for which would be affected.

I hope you'll find this explanation sufficient to move forward with this clear-cut enhancement.

I haven't tried the patch myself but am convinced it works as desired for your use case. Thanks for the patch. Merging...

Knowing the use case why a certain patch was proposed and merged not only helps in the review process but also records that information for future readers. That could e.g. be helpful if something related to this breaks in the future to trace the use case it was needed for which would be affected.

You're right, I apologize. That was a rash accusation.

I haven't tried the patch myself but am convinced it works as desired for your use case.

I appreciate it, thanks for taking a look.


add o1-preview support

Before you submit a pull request, please make sure you have read and understood the contribution guidelines and the code of conduct.
This pull request is related to:
a new feature:  support openAI o1 model
I have checked the following:

[x] I have read and understood the contribution guidelines and the code of conduct;
[ ] I have added new tests (for bug fixes/features);
[ ] I have added/updated the documentation (for bug fixes / features).

Description:
this allows to choose "openai/o1-preview" as model
Related issues:
https://github.com/TheFireCo/genkit-plugins/issues/145

Summary by CodeRabbit

New Features

Introduced support for the new "o1-preview" model, enhancing multiturn interaction capabilities.
Updated model references to include "o1-preview" in the supported models list.

Bug Fixes

No bugs reported or fixed in this release.

Documentation

Updated documentation to reflect the addition of the "o1-preview" model.

@FriedrichWessel can you please rebase from main?


Some very popular devices are excluded by rule on Android when building an AppBundle

Steps to reproduce
I have already released several apps on the Google Play Store using Flutter.
I always build with :
flutter build appbundle --obfuscate --release --split-debug-info=/Users/foxtom/StudioProjects/myproject/build --build-name=1.0.0 --build-number=1
And when i release my app, always the same devices (more or less 30) are excluded by rule in the Device Catalog.
Since the Google Play Support told me that they can't help with this issue because it comes from my configuration, i am raising an issue here.
You can find all the details on my SO post to avoid duplicating here.
I am raising an issue here in case there is an actual Flutter bug because some of the most popular Android phones seem to not be supported by my Android app.
Note : To replicate the issue, you can simply copy past most of my manifest configuration and build.gradle files in a new project and build the obfuscated appbundle with the above command if the issue doesn't depend on dependencies.
Expected results
The devices that respects the build.gradle configuration + hardware requirements from the app's manifest file should not be excluded by rule in the Google Play Device catalog.
Actual results
Some devices that respects the build.gradle configuration + hardware requirements from the app's manifest file are excluded by rule anyway.
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0.1 24A348 darwin-x64, locale fr-FR)
    • Flutter version 3.24.3 on channel stable at /Users/foxtom/Desktop/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (6 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/foxtom/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915915-b509.11)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915915-b509.11)

[✓] VS Code (version 1.94.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • Now You See Me (mobile) • 00008020-001204401E78002E • ios            • iOS 18.0.1 22A3370
    • macOS (desktop)         • macos                     • darwin-x64     • macOS 15.0.1 24A348 darwin-x64
    • Chrome (web)            • chrome                    • web-javascript • Google Chrome 130.0.6723.70

[✓] Network resources
    • All expected network resources are available.

• No issues found!

@Tom3652
Please take a look at https://support.google.com/googleplay/android-developer/answer/7353455?hl=en to see if it helps to know as why it could be happening.

I have seen it @darshankawar and it's where i come from since i have a case with Google Play Support that was closed yesterday.
I am raising this issue because Google Play Support said the device exclusion is coming from my app's manifest and gradle configuration for release and they can't provide additional technical support.
Since i am using a very basic configuration with just 1 permission and a minSdkVersion: 23 and maxSdkVersion: 35 , there is absolutely nothing on my configuration that is excluding the Redmi Note 8 under Android 12 (SDK 31).
That's why i think there is an issue here either from Flutter's Android configuration itself or with some hidden component i am not aware of...

@Tom3652
Try this to see if it helps in your case as well or not.

Hi @darshankawar it is a very different case since :

I have no issues installing my app on any of my devices from internal testing or Google Play Store production. I have never encountered myself the message of incompatible device.

I have not one of the very popular phones that are excluded by rule to test on it.

This bug happens on my live users and not on tester accounts, they can't install the new app if they have a phone excluded by rule.q

I am really guessing there is an underlying issue, maybe not with Flutter but since Google Play Support said so indirectly as mentioned before it's worth investigating.
Note : the same 30 devices are excluded by rule on my 4 released apps on 4 different accounts and all my apps have been released in the same way using flutter for the same target range of Android SDKs.

Thanks for the update @Tom3652 and for your patience while we try to figure this out, because we haven't seen such issues earlier.
Per your SO post, I see that you have compileSdk 35 so could it be that it may be higher sdk for some of the devices ? Also, need to check if the abi arch could be conflicting with the devices such as in SO post screenshot, I see arm64-v8a but the aap bundle generated may be having different abi arch ?

Hi @darshankawar no problem, the goal is to understand what is going on here.
Please see the screenshot of my app bundle :

And the permissions / features :

I am seeing that it uses android.hardware.faketouch but i am not sure if this is the problem since it seems most of new phones today have a touch screen...

Thanks for the update, @Tom3652. I can see your app bundle included all default abi(s) per https://docs.flutter.dev/deployment/android#build-an-app-bundle.
My last question: Can you please share the list of 30 devices that are excluded here? And are you noticing this issue recently with your Flutter version 3.24.3, or has it been around for a while on previous Flutter versions?

Hi @huycozy thanks for the reply, yes indeed i have seen the documentation you show and i am using the default Flutter Behavior.
Yes indeed i am using Flutter 3.24.3 in my latest release.
Here is the list of the devices : devices_excluded_google_play.csv
Please let me add some explanations :

There are 46 devices excluded in total
There are 11 devices excluded by "No Opt-In" and when i check these devices, it is written the real reason of why they are excluded such as for example :

So there are 35 devices excluded by Rule that show no reason at all but 11 excluded because of the hardware requirements not found (which is fine).

The weirdest thing is that on the 2 first devices, i have an install base of 1 despite it is excluded :

I have received few mails from my users with the Xiaomi ginkgo telling me they have a message on the Play Store "Your device is not compatible with the app" or something like this.
Thanks for your help on this !

Thanks for sharing it. Labeling the issue for input from android team.

Hi @huycozy this issue is closed, this was entirely a Play Integrity issue despite the Google sentence :

It is wrong, when i have lowered the Play Integrity settings to "Basic integrity checks" instead of the recommended ones, it didn't exclude any devices.


[UI]Sidebar toggle

Ant has hidden this option somewhere in the middle of profile pages

Use sidebar menus instead of dropdown menus when possible.

Anyone else thinks it could still be somewhere more obvious? A nicer design option, than the toggle icon it used to be.
If not. at least, the first in that array of options. Even separated visually by an empty line. Look and layout section makes sense, but it's 'lost' there, I find it simply hard to guess even that it exists at all IMHO.

Apart from the possible changes to markup (if needed) to have css-only toggling, I didn't see anyone complaining in the last two years, so I guess this can be closed. :angel:


Bug Report Tahsin: boot up screen hang

-update dispatch login runnable to be an Observable
-remove exactly one half of one second of lag

Nice fix. :+1:


Iterative slots only projecting the first slot

Which package(s) are affected?
Lit Core (lit / lit-html / lit-element / reactive-element)
Description
When using a slot in an iterator only the first slot gets projected, all other slot values default.
Reproduction
Lit Playground - non functioning demo
Vue Playground - expected behavior
Workaround
I have not found a workaround
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
3.1.2
Browser/OS/Node environment
Google Chrome: 123.0.6312.106 (Official Build) (64-bit) (cohort: Stable)
Node: v20.11.1

I believe this issue affects all browsers (not tested)

This is how slots work.  When content is projected into the slots, it choose the first slot with the matching name.
If you want to project content into multiple slots, the slots need unique names and you need different content to put into each slot, by name. The content is not cloned into a slot, but just rendered ("projected") there, so content cannot be projected into multiple slots at once.
Here's your demo changed with content projected into each slot: https://lit.dev/playground/#gist=2f1f2ce9f3efa0462cf14f589526d899

First of all, thanks for the quick reply; I really appreciate it.

If you want to project content into multiple slots, the slots need unique names and you need different content to put into each slot, by name. The content is not cloned into a slot, but just rendered ("projected") there, so content cannot be projected into multiple slots at once.

This then makes the functionality that eg for a grid where a "grid" component does the header layout processing and then iterates over all records allowing the "caller" to dynamically define the layout for each record without having to create a record for each one?

To achieve a single content filling in multiple "slots", you can do something like a render prop.
Here's a roughly modified version of the example https://lit.dev/playground/#gist=ab808bca7f6563d76ffeff7f841f492e
Though I would not really call it renderSlot and give it a better name since that is not the behavior of platform <slot> elements.
Caveat is this is assuming all components are using Lit and you have to be careful with styling because the template will be rendered in the shadowroot of the component that it got passed to, not where it was passed from.

To achieve a single content filling in multiple "slots", you can do ...

Thanks, this is indeed the behavior I was looking for.


refactor: dimension nodes have expressions

Change dimension nodes so they must have an expression, making them more similar to transform nodes than source nodes.

Looks good.


Expose version number in get links and get content endpoints...

https://trello.com/c/GiuptR4Q/398-expose-version-in-v2-get-endpoints
Versioning is no longer a concern of the DraftContentItem, LiveContentItem or LinkSet models.
A side effect of this change is that the link set version number is no longer exposed via the get endpoints.
This version number will be used to ensure optimistic locking of these models.
This change exposes the version number on both endpoints.
I've opted to use presenters to merge the version number into the command response, to achieve this I've added some presenters specific to the Presenters::Queries module, this was a workaround to a namespace collision with the current Presenters::ContentItemPresenter which should go away with this PR: https://github.com/alphagov/publishing-api/pull/127

:+1: Some small changes/questions.

@elliotcm thanks for review, I've updated and commented where approriate.


Add WeCrossProxy chaincode test

Codecov Report

Merging #51 into dev will increase coverage by 14.79%.
The diff coverage is 70.58%.

@@              Coverage Diff              @@
##                dev      #51       +/-   ##
=============================================
+ Coverage     45.65%   60.44%   +14.79%
- Complexity      201      277       +76
=============================================
  Files            34       34
  Lines          2473     2513       +40
  Branches        171      178        +7
=============================================
+ Hits           1129     1519      +390
+ Misses         1256      876      -380
- Partials         88      118       +30

Impacted Files
Coverage Δ
Complexity Δ

...nk/wecross/stub/fabric/EndorserRequestFactory.java
90.39% <ø> (+46.74%)
17.00 <0.00> (+11.00)

...nk/wecross/stub/fabric/FabricStubConfigParser.java
74.07% <ø> (+0.92%)
9.00 <0.00> (+1.00)

...cross/stub/fabric/InstantiateChaincodeRequest.java
55.55% <42.85%> (ø)
23.00 <2.00> (ø)

...ss/stub/fabric/proxy/ProxyChaincodeDeployment.java
50.58% <60.00%> (-9.88%)
4.00 <0.00> (ø)

...ross/stub/fabric/proxy/ProxyChaincodeResource.java
65.75% <66.00%> (+65.75%)
10.00 <6.00> (+10.00)

.../webank/wecross/stub/fabric/ChaincodeResource.java
87.50% <100.00%> (+3.71%)
6.00 <0.00> (+1.00)

.../wecross/stub/fabric/ChaincodeResourceManager.java
89.53% <100.00%> (+1.29%)
24.00 <0.00> (+1.00)

...m/webank/wecross/stub/fabric/FabricConnection.java
54.70% <100.00%> (+13.80%)
38.00 <4.00> (+13.00)

...k/wecross/stub/fabric/FabricConnectionFactory.java
93.24% <100.00%> (+0.09%)
10.00 <0.00> (ø)

...fabric/FabricCustomCommand/InstantiateCommand.java
77.27% <100.00%> (ø)
2.00 <0.00> (ø)

... and 16 more

Continue to review full report at Codecov.

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


Fail to netflix login after reboot

I'm submitting a ...

[x ] bug report
[ ] feature request
[ ] support request

General infomration
Prerequisites

[x] Are you running the latest version?
YES

Description
After fresh install coreelec and netflix plugin i can nice and easy login to my netflix accout but
after reboot plugin asks me for login creditinals again, and after write them show that creditinals are wrong.
Steps to Reproduce

Fresh install coreelec and plugin from zip file from gitbub.
Login.
Reboot device.
Run netflix plugin.
Write login and pass again
Creditinals Error.

Expected behavior:
Just once login and remeber my account.
Actual behavior:
Fail to run plugin after device rebooot
Context (Environment)
Coreelec at s905 cpu box.
Installation

[x ] I installed the plugin via zip from the Releases page
[ ] I´m using the Netflix Repo
[ ] I´m using a different source (Please tell which)

Operating System

[ ] Linux (x86/x64)
[ ] OSX (x86/x64)
[ ] Windows (x86/x64)
[x ] Linux (ARM)
[ ] Android

Additional informatin on the environment
Coreelec 9.0.3
Debug log
https://pastebin.com/sqsrP3wg

I noticed that problem shows up after "update" plugin from tvaddons repo to 0.14.0 version. Afer celan install and disable autoupdate problem is fixed.

Did you guys manage to get a solution as its happening to me also.


define new filtering strategy: TraverseAll

The existing LatestGeneration strategy is ok if all you are interested in are the Leaf nodes of a hierarchy. Bu there are other scenarios whereyou would want to visit all directory nodes (which is the default behaviour of invoke-traversedirectory). So why do we a strategy for the default sceanrio? Well its because the strategy links the filtering into the traversal so in actual fact not all directories are invoked if there is an active filter. So the new strategy TraverseAllStrategy still needs to preview every visited directory to ensure that it paasses the filter.

Might have to build a PolyDriver, which is similar to PolyFilter, but for directories. But, this PolyDriver/PolyFilter thing looks like it pointing to a code smell. We should only need 1 Poly entity, that satisfies the needs of directories and files.
Perhaps we have a MultiFilter derived from FilterDriver. The MultiFilter takes a MultiHandler, which can contain multiple filters, but these filters are tied to [FilterScope]::Current.
TODO: Rename all Driver derivatives to be xxxDriver instead of xxxFilter because the latter is confusing.


Add a library filter "has duplicate chapters"

Describe your suggested feature
Just a filter for the library that shows which entries has duplicate chapters
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

No


Azure CLI 2.0 loses "table" service in generated account SAS

After having set proper AZURE_STORAGE_ACCOUNT, AZURE_STORAGE_KEY I run

az storage account generate-sas --services bt --resource-types co --permissions wucla --expiry "2018-12-31"

and it prints

"ss=b&sp=wlacu&sv=2017-04-17&sig=w7_etcetc_Y%3D&srt=co&se=2018-12-31"

Note there is no 't' in 'ss=' part and then Azure LinuxDiagnostics fails to collect metrics with this token into some JsonBlob. Major part of functionality in a major tool is broken.
I am using azure-cli (2.0.21) and the bug is still here. I have tried to put a fix PR in Azure/azure-multiapi-storage-python repo but was told to report here. My local fix solved my problem and the token has "ss=bt" and works. The problem is purely in option-parsing model.py, no server changes are needed.
I don't feel my fix totally matches with this module; while multiapi-storage makes it clear there are "cross-services", this azure.storage.common has no idea that table service exists. So it's easy to add 2 lines but hard to properly document.

Hi @vkovalchuk, I apologize for the inconvenience.
The table service was recently split-off from this SDK, and consequently we removed all references of table. I realize that we perhaps shouldn't have removed this part of the logic. I'll make sure to fix this.
Thanks for bringing this to our attention!

It is fixed and will go out with the next release. I apologize for the inconvenience.


Add missing contact flags and Z move powers

Also turned a handful of double quotes into single ones because that's what all the other strings are using.

Thanks!


Svg icons files format

With the addition for small & default icon sizes in Figma, we need to decide on how to structure the svg files we save in assets/icons.
Suggestions

Save with size as icon names in a folder name for icon?

fullscreen/

small.svg
default.svg

Save double up with an "annotation" in filename?

fullscreen.svg & fullscreen_small.svg

Save as svg sprite?

Still fullscreen.svg file but users need to specifiy size with # when using like fullscreen.svg#small. How the default fallback here? 🤔

We'll try using svg sprites first 👌


Ensure SSO High Availability

User Story

As an SSO Administrator
I want to ensure high availability for SSO services with minimal systemic disruption
So that organizational users are consistently able to access their applications.

Acceptance Criteria or Constraints

I'll see this or
The solution will conform to this or
Non-functional requirements

Acceptance Tests
Scenario 1: xxxxxx

GIVEN ...
WHEN ...
THEN ...

Scenario 2: xxxxxx

GIVEN ...
WHEN ...
THEN ...

Dependencies?
Team or ideally a ticket
Risks

Description
Impact
Strategy
Contingency Plan

If this does or doesn't occur by...
Then this will happen, costing $?
Mitigate, Transfer, Accept, Avoid
We will do this, if it occurs

Process Guidance
User Story
A short introductory section with the following structure:
As a: the person or role who will benefit from the feature;
I want: the feature;
so that: the benefit or value of the feature.
Acceptance Tests or also called Behaviour Driven Development Acceptance criteria
A description of each specific scenario of the narrative with the following structure:
Given: the initial context at the beginning of the scenario, in one or more clauses;
When: the event that triggers the scenario;
Then: the expected outcome, in one or more clauses.

a combination of realm management, operational models and defined roles should address this


[Question] How to support file renames?

I've got a writeable filesystem implemented successfully, however, I can't seem to figure out how to get file renames to work. I've implemented the rename operation, but if I try to rename a file, I get an EPERM: operation not permitted, rename error message. Just to double-check, I also set every file and directory's stat mode to include read/write/execute permissions for everyone, and I still can't seem to get rename working.
Is there a trick to getting this to work? My rename handler doesn't even appear to be getting called, so I seem to be missing something (that's probably obvious!). Any suggestions would be greatly appreciated!

If I remember correctly (and I could be wrong), there is a trick to this. Try implementing other operations if you get stuck, as usually it's because some other obscure operation is involved in the one you are trying to get to work.

@sam0x17 Thanks! I made an attempt at doing this today, but it's possible I missed one as part of the guess-and-check process :)

Just noticed your comment here: https://github.com/billziss-gh/winfsp/issues/79. I'll try out that trick.

@lostintangent haha I knew there was something about this somewhere


Register open generics in ASP.NET Core

Given the following:
public class Foo : IFoo {
  ...
}

public class FooValidator : AbstractValidator<IFoo> {
  ...
}

It would be nice to be able to resolve IValidator<Foo> from the ASP.NET Core DI Container.
I know the built-in DI container does not support open generics out of the box, so one would have to scan the assembly and explicitly register the validator for all concrete implementations of IFoo.

Seems like this would have to be implemented in the AssemblyScanner.

The simplest thing is probably just to register these types with the container directly manually rather than relying on FV's built in AssemblyScanner

Yep, made an extension method:
    public static class ServiceCollectionExtensions
    {
        public static void AddGenericValidator(this IServiceCollection services, Type genericType, Type validatorType, Assembly assembly)
        {
            var abstractValidatorType = typeof(IValidator<>);
            foreach (var implementationType in assembly.ExportedTypes.Where(type => !type.IsAbstract && !type.IsInterface && genericType.IsAssignableFrom(type)))
            {
                var genericValidatorType = abstractValidatorType.MakeGenericType(implementationType);
                services.AddTransient(genericValidatorType, validatorType);
            }
        }
    }

Always nice when this kind of stuff is built-in though; I know MediatR does some special handling to support open generics, maybe it can be reused?

Yep, can definitely look at doing that for a future version

@souzara yes if you could create a PR for me to review that'd be great.

After reviewing this I think I won't include it in the core, as I feel it's not a common scenario and it's easy enough to register these manually if desired.


Mitigate discovery race condition between clents and services

This PR introduces changes meant to reduce the impact of a race condition between clients and services.
The race condition is described in detail by this comment, but to summarize:

It is possible for the service's request DataReader to receive a request from the client, handle it, and try to write the response before the service's reply DataWriter has actually matched the client's reply DataReader. If this is the case, the response will be lost.
The data race and loss of reply message may also occur in the case of an "asymmetric discovery" between the client's reply DataReader and the service's reply DataWriter, where the latter has discovered and matched the former, but not viceversa.

The only way to fully resolve this race condition is described by the DDS-RPC 1.0 specification, section <IP_ADDRESS>:

[..] To ensure robustness, service discovery must ensure that no replies are lost due to race conditions in the discovery process of the underlying DDS entities [..]:

The client-side DataWriter (request DataWriter) shall not send out any request to a service DataReader unless the client-side DataReader (reply DataReader) has discovered and matched the corresponding service DataWriter (reply DataWriter).
The service-side DataReader (request DataReader) shall reject requests from a client DataWriter (request
DataWriter) as long as the service-side DataWriter (reply DataWriter) has not discovered and matched the
corresponding client-side DataReader (reply DataReader).

The proposed solution follows the approach implemented by rmw_fastrtps_cpp:

The client (ab)uses the `related_sample_identity" metadata field of the request message to communicate its DataReader's GUID to the service.
The service keeps track of discovered pairs of [DataReader, DataWriter] belonging to remote clients.
Before sending a reply back to the client, the service waits for the client's DataReader to be matched locally, or throws a timeout error if that doesn't happen within the configured period (read from DataWriterQos::reliability::max_blocking_time).

These changes, paired with the implementation of rmw_service_server_is_available(), provide a partial implementation of the solution prescribed by DDS-RPC, with the following limitations:

RMW_Connext_Client::::is_service_available() only verifies that for every remote subscription matched by the local request DataWriter, there is a matched remote publication with the same "GUID prefix" (i.e. belonging to the same remote DomainParticipant) on the local reply DataReader. This test may lead to false positives if a remote DomainParticipant has created two or more "services" (i.e. pairs of request DR/reply DW) with the same (topic) name, e.g. in the case of a remote process with two ROS 2 Nodes that create a service with the same name. This is a very likely case for "1-to-many" services (where a client makes a request on many services at once).
The client must use rmw_service_server_is_available() (e.g. by calling of rclcpp::wait_for_service()) before sending a request to make sure it'll (most likely) receive at least one reply from a service, but because of the false positives in RMW_Connext_Client::is_service_available(), it is still possible for the client to end up with "inconsistent" matches and no reply.
A more robust solution requires each service to communicate their endpoints' GUIDs through discovery so that clients may correctly associate each pair of discovered endpoints and then make sure they are both matched before sending a request.
This information is currently encoded by the ROS Graph, by means of an endpoint's node and topic name, but it is not easily queried and correlated with the client's matches. It also relies on the assumption that a node can't create two services with the same name (not sure if that is the case...).

Full CI:

Linux:
Linux aarch64:  (interrupted because rmw_connextdds is disabled on this platform)
Windows:

I'm trying to debug and resolve the Windows build failure in branch asorbini/service-discovery-race-windbg

Resolved the Windows build issue (it was caused by an "out of order" #include).
Running CI again:

Linux:
Linux aarch64:  (interrupted)
Windows:

CI passed with one unrelated test failure on Windows.
@clalancette is there someone that could take a look and approve the PR?

Re-running CI after resolving a deadlock caused by trying to query subscription on the DataWriter from within "matched_mutex":

Linux
Linux aarch64  (interrupted)
Windows

@clalancette Can this PR be reviewed as this has been open for a few months? We are running Connext rmw and need this fix in the release. Currently have to build this from source but would like to stop doing that.

I understand the Jazzy rmw freeze is coming up soon? Can we get this PR reviewed and merged before then? It's been sitting here for 6 months.

@bijoua29 i think this is really nice enhancement. as you noticed, RMW API freeze will be on Mon. April 8, 2024, https://docs.ros.org/en/rolling/Releases/Release-Jazzy-Jalisco.html#release-timeline
i will take a look sometime in this week, but this needs to be rebased before that.
CC: @asorbini

@bijoua29 i think this is really nice enhancement. as you noticed, RMW API freeze will be on Mon. April 8, 2024, https://docs.ros.org/en/rolling/Releases/Release-Jazzy-Jalisco.html#release-timeline
i will take a look sometime in this week, but this needs to be rebased before that.
CC: @asorbini

@fujitatomoya Thanks for reviewing this.
@asorbini Can you rebase these changes?

I've rebased it onto the latest.

Here is full CI:

Linux
Linux-aarch64
Windows

@clalancette i was going to have a review, thanks!

OK, yeah.  It looks like this PR is the cause of the regressions.  I'm going to open a PR to revert it.


Make hidden files also copied

Fixes #8
Hidden files should be included in the files copied so that Jenkins pipelines that rely on data in your .git file (such as multistage pipelines using when { branch "<BRANCH_NAME>" }).

@jgall something to note. when { branch "<BRANCH_NAME>" only works for multi-branch pipelines


what actions can be taken on each of the 28 featured apps?

hello, assume the actions one can define for each of the 28 featured apps are different depending on what API those SaaS apps make available for MCAS, is there a list of actions one can define for each of the 28 featured apps?
thank you.

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

ID: 87824868-8913-dac8-b8c0-365ccf8110c4
Version Independent ID: ce8dd4b6-0562-8f42-e30f-e5cb58a68b90
Content: Protect with Microsoft Cloud App Security Conditional Access App Control
Content Source: CloudAppSecurityDocs/proxy-intro-aad.md
Service: cloud-app-security
GitHub Login: @ShlomoSagir-MS
Microsoft Alias: ShlomoSagir-MS

@dennisxu2019 Thanks for you question.
To clarify, Conditional Access App Control uses a reverse proxy architecture. The specific actions for each app can be viewed in the "Block custom activities" session policy.
If you require any further assistance, please open a support ticket.


YakYak does not match contact to number properly for Google Voice thru Hangouts

When messages in hangouts are from a cell number (Google Voice), YakYak fails to recognize the number (xxx)-xxx-xxxx as a number and does not match the number to its contact. However, it does recognize xxxxxxxxxx as a number and correctly matches to the proper contact. I am running YakYak 1.5.1 64-bit on Windows 10 build 1803 (April 2018 Update)

Does anyone know in which section of the code this is handled? I will look and see what fixes I may have but I cannot see where this "parsing" is handled.

This defect is preventing my general adoption of YakYak over the Chrome Hangouts app

I'm very curious about this myself. The discussion in  #232 made some progress towards integrating a contacts api, but seems to have gone dry.


URL for maven repository in pom.xml no longer working

I was unable to build the war file as maven could not connect to the googlecode URL that is specified in the pom.xml. Is there an alternative URL, or do we need to download the jars manually and change the URL to a local file:// path?

I changed the geoip version from 2.8.0 to 2.8.1 and it worked...

Sounds like this was fixed in #228


Update ohai pin to avoid circular dep

/cc @schisamo @adamedx @tyler-ball @danielsdeleo

Go for it :+1:

Manhattan chefdk-build/593 is succeeding.  Merging now.


Ecto.Schema.Metadata not listed backward incompatible change

There was a backward incompatible change for Ecto.Schema.Metadata that was not listed in the changelog for Ecto 3. The source key used to return a tuple of the schema prefix and the table name {prefix, table}, and now it returns just the table name. You may want to update the Changelog to account for this issue as people who have multi tenant setups may  be relying on this behavior.

@tomciopp great catch, thank you!

Btw, it would be fantastic if you could you send a PR, otherwise I will push a fix later.

@josevalim #2779


Could not resolve dependency for Vue2

When running 'npm  install' after create project with vue2 option, there is a dependency error.
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@vue/compiler-sfc
npm ERR!   peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@vue/cli-service
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!     1 more (@vue/cli-plugin-babel)
after explore to<EMAIL_ADDRESS>it require vue3 as its dependency.
update : I found that it did not show this error if npm is version 6. It seem that npm version 7 check for conflict peerDependencies

I've seen several packages in the npm ecosystem struggling with npm7. Unfortunately, this might be one of them, and it's a bug in an upstream dependency, not in vue-sfc-rollup code. The only way I can see to fix things is to set the @vue/cli-service dependency to an earlier version that doesn't try bringing in vue 3 - not sure which one, that would take a little research. I don't think we can really install vue 3 alongside vue 2 and resolve it ourselves - npm aliases would technically let us have them both installed, but one would have to be aliased, and I don't know if that would resolve things upstream. Might be worth looking at...
The best thing to do would be to log this bug with @vue/cli-service, as that is where the peer dependency is introduced. This particular issue could appear on any project that uses npm 7, vue 2, and recent versions of @vue/cli-service

Looks like it's already been reported: https://github.com/vuejs/vue-cli/issues/6270. The workaround is to run npm i --legacy-peer-deps instead when installing things.


Adding save_kittens pack

A few days later ...
http://petapixel.com/2014/03/04/malware-makes-use-of-sunset-and-cat-images-to-steal-banking-credentials/

@armab Funny enough there's an image encoded with data as part of the story line. No malware though :D


documents show PositiveInteger values function, but it does not exist?

The documentation (https://django-configurations.readthedocs.io/en/latest/values/) shows a
PositiveIntegerValue() function
But that function does not exist.
AH! it's in the commits, but apparently not yet released.

Hi @lanshark !
Thanks for the issue.
Yes, this feature was added in #186, but package was not released since that time.
@blueyed do you think we can issue a new release somehow?

Sure, we should go probably the jazzband route: https://jazzband.co/about/releases

2.1 has been released.


catalog function finished

Signed-off-by: victorbak<EMAIL_ADDRESS>

There was an error, so closed.


enable init taskToDomain in TaskRunnerConfigurer

Enable initializing task to domain configuration in the TaskRunnerConfigurer when the client is setup.
This can still be overridden using properties if needed.

Pull Request Test Coverage Report for Build 4384

9 of 11 (81.82%)  changed or added relevant lines in 2 files are covered.
36 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.2%) to 69.174%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

client/src/main/java/com/netflix/conductor/client/automator/TaskRunnerConfigurer.java
1
3
33.33%

Files with Coverage Reduction
New Missed Lines
%

mysql-persistence/src/main/java/com/netflix/conductor/dao/mysql/MySQLBaseDAO.java
3
69.32%

postgres-persistence/src/main/java/com/netflix/conductor/dao/postgres/PostgresQueueDAO.java
4
92.11%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraEventHandlerDAO.java
8
68.42%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraMetadataDAO.java
10
55.44%

postgres-persistence/src/main/java/com/netflix/conductor/dao/postgres/PostgresMetadataDAO.java
11
80.0%

Totals

Change from base Build 4371:
-0.2%

Covered Lines:
12515

Relevant Lines:
18092

💛  - Coveralls


Query repeatedly

query /?test=test
Will become to /?test=test&test=test

Should be taken care of with bec0c0b.


Automate - Enhanced messaging for vm and service provisioning.

Modified update_provision_status method in 3 places for vm provisioning messages;
/Cloud/VM/Provisioning/StateMachines/VMProvision_VM.class/,
/Infrastructure/VM/Provisioning/StateMachines/VMProvision_Template.class/ and
/Infrastructure/VM/Provisioning/StateMachines/VMProvision_VM.class/.
Modified update_serviceprovision_status method in /Service/Provisioning/StateMachines/ServiceProvision_Template.class/
for service provisioning messages.
Sample old message:
Request completed with errors
Sample new messages:
[EVM] VM [test_billyb] Step [CheckProvisioned] Status [[Handsoap::Fault]: Handsoap::Fault { :code => ] Message [[Handsoap::Fault]: Handsoap::Fault { :code => 'ServerFaultCode', :reason => 'Permission to perform this operation was denied.' }]
[EVM] VM [test_billya] Step [CheckProvisioned] Status [State= running  raised exception: <number of retries <101> exceeded maximum of <100>>] Message [Validating New Vm]
[EVM] VM [test_billyb] Step [CheckProvisioned] Status [Creating VM] Message [Validating New Vm]Current Retry Number [94]

@tinaafitz
Please Review

Another sample message.  This is from a Service bundle.

@tinaafitz
Please Review

@tinaafitz
Please Review

@billfitzgerald0120
Looks good.
@mkanoor
Please review.

Sample old messages :

sample new and old messages :

Step in a Vm provision :

Service summary :

One of the Vm's in a service bundle :

My favorite shows what retry number in Check provisioned step you are in.  Provisioning seems to spend a lot of time here and currently you only see Validating New Vm.

@gmcculloug @billfitzgerald0120 Looks good. I tested several scenarios and the messages look great!

@billfitzgerald0120 Please see failing tests.  Looks like a trailing-whitespace issue.

@tinaafitz
Please Review

Looks good.


helpers in sinatra-extension is broken

It is not possible to use "helpers do; ...; end" with sinatra-extention mixin since it was moved to sinatra-contrib.
This gist illustrates the now missing feature: https://gist.github.com/1374505

Same goes for the before filters - gist updated with example

I'll look on it

Of course! This solves the "issue" in my example - but sadly not in my application so I've got some debugging to do. I'm closing this ticket, thank you for setting the code straight.

@ta Was this issue intentionally reopened?

Closing. Reopen with some info about the problem if it's actually not resolved. =^)

@TrevorBramble Yes, it intentionally reopened - but my post was apparently lost or not send. Well...
I am still not able to get my simplified example working with the newest sinatra. Methods defined in helpers in an extension are not available to the app.
I've added a module/namespace to the gist (https://gist.github.com/1374505) since your last review, which gives a more precise simulation of my actual app. There are also some comments in the gist to show what works and what don't.
Please let me know if you need more details, thanks

Okay, the issue seems to be fixed in >1.3.1, so no need to reopen issue.
I'll anxiously await 1.3.2 - or bundler 1.1 with support for :git when using bundler package :)


Maven: ./scripts/prepare_release.sh should probably not run tests

I just tried it, and it runs the whole integration tests. It fails because I don't define the JIB_INTEGRATION_TESTING_PROJECT project.

This is just as a safeguard measure against potentially releasing something that is not passing integration tests.

Makes sense. Not a big deal to run the tests.


Crashed: Thread: SIGABRT

We have some crashes from users, that logged on Firebase that stacktrace point to libreactnativebox2d.so

it seem happen when the component using react-native-box2d was unmounted.
react-native: 0.72.5
react-native-box2d: 0.2.5

Hey, sorry only seeing this now 👀 Are you maybe able to provide a reproduction code example? That can help in addressing this issue more quickly


Windows 8.1 - Error: libsass bindings not found. Try reinstalling node-sass?

Installation was successful and when I run node-sass on a single file it works like a charm.
But when I try to use it as part of my script it always throws the same error.
Error: `libsass` bindings not found. Try reinstalling `node-sass`?

my code is simple:
var file = sass.renderSync({file: file_path});

It works great when I run it on Ubuntu 14, only on my Windows 8.1 I have this problem.
I'm using:
Node v0.10.34
Node-sass v2.0.0-beta
Npm v1.4.28

Help me! Please.
Error: libsass bindings not found. Try reinstalling node-sass?
C:\wamp\www\laravel\test>node -v
v0.10.28
C:\wamp\www\laravel\test>npm -v
1.4.9
C:\wamp\www\laravel\test>node -p process.arch
x64
C:\wamp\www\laravel\test>node
require('node-sass')
Error: libsass bindings not found. Try reinstalling node-sass?
node_modules/node-sass/lib/index.js
not found files.
not exist files in the locate
c:\wamp\www\test\laravel\node_modules\node-sass/build/Debug/binding.node,
c:\wamp\www\test\laravel\node_modules\node-sass/build/Release/binding.node
c:\wamp\www\test\laravel\node_modules\node-sass/vendor/win32-x64-node-0.10/binding.node
function getBinding() {
var candidates = [
path.join(__dirname, '..', 'build', 'Debug', 'binding.node'),
path.join(__dirname, '..', 'build', 'Release', 'binding.node'),
path.join(__dirname, '..', 'vendor', process.sassBinaryName, 'binding.node')
];
var candidate = candidates.filter(fs.existsSync).shift();
if (!candidate) {
throw new Error('libsass bindings not found. Try reinstalling node-sass?');
}
return candidate;
}
Thanks.

+1

+1

+1ing a closed issue serves no purpose. Please open a new issue after following the TROUBLESHOOTING guide.


Edit change all Flow in All Solutions

If you edit a flow in one solution, it edit all flows in all other solutions, this cannot be right. Else, why create different solutions?

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

ID: 405a5cc9-f91f-4230-8140-4446324914b0
Version Independent ID: 8196e230-463d-5b1e-0e07-11aca8bb886b
Content: Overview of solution-aware flows - Microsoft Flow
Content Source: flow-docs/edit-solution-aware-flow.md
Service: flow
GitHub Login: @MSFTMan
Microsoft Alias: deonhe

@mowafakgabal Thanks for your feedback. The behavior you've identified is the expected behavior. We'll update the docs to reflect this behavior. Closing this issue.


No such file or directory: './data-bin/pt-data-0508/dict.txt'

Following the official documentation from fairseq, I tried to load the model with the following command:
from fairseq import checkpoint_utils
checkpoint_utils.load_model_ensemble("tupe_ckp/model.py")

And, got the following error:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/ipeas22062020/projects/LAL-Parser/src_joint/TUPE/fairseq/checkpoint_utils.py", line 156, in load_model_ensemble
    ensemble, args, _task = load_model_ensemble_and_task(filenames, arg_overrides, task)
  File "/home/ipeas22062020/projects/LAL-Parser/src_joint/TUPE/fairseq/checkpoint_utils.py", line 171, in load_model_ensemble_and_task
    task = tasks.setup_task(args)
  File "/home/ipeas22062020/projects/LAL-Parser/src_joint/TUPE/fairseq/tasks/__init__.py", line 17, in setup_task
    return TASK_REGISTRY[args.task].setup_task(args, **kwargs)
  File "/home/ipeas22062020/projects/LAL-Parser/src_joint/TUPE/fairseq/tasks/masked_lm.py", line 70, in setup_task
    dictionary = Dictionary.load(os.path.join(paths[0], 'dict.txt'))
  File "/home/ipeas22062020/projects/LAL-Parser/src_joint/TUPE/fairseq/data/dictionary.py", line 192, in load
    d.add_from_file(f, ignore_utf_errors)
  File "/home/ipeas22062020/projects/LAL-Parser/src_joint/TUPE/fairseq/data/dictionary.py", line 209, in add_from_file
    raise fnfe
  File "/home/ipeas22062020/projects/LAL-Parser/src_joint/TUPE/fairseq/data/dictionary.py", line 203, in add_from_file
    with open(f, 'r', encoding='utf-8') as fd:
FileNotFoundError: [Errno 2] No such file or directory: './data-bin/pt-data-0508/dict.txt'

This file pt-data-0508/dict.txt is different from the already provided dict.txt file?

We use different data processing pipeline (and model code) as fairseq.
you cannot use our ckp in official fairseq.

we had released dict.txt with model checkpoint: https://guolinke.blob.core.windows.net/tupe/tupe_ckp.tar.gz

Thank you for the response! I am using this repo modified version of fairseq. I was able to load the model altering where fairseq looks for dict.txt in that way:
from fairseq import checkpoint_utils
checkpoint_utils.load_model_ensemble("tupe_ckp/model.py", {"data": "tupe_ckp"})

Concerning the pre-processing, can I run the scripts already provided to perform it and use the model as I loaded it, or would it be wrong?

I guess load_model_ensemble will load args part saved in checkpoint. maybe you can try to reset args in tupe_ckp/model.pt.


How to identify similar endpoints in Apple HomeKit

Hello there,
I've a node with similar endpoints (but with different purpose), when the device is commissioned to Apple HomeKit, the endpoint were showed up randomly.
I would like to know the endpoints corresponding to the logical device types.
Let's say:
I've a presence sensor mapped with 3 zones : zone 1,2 and 3. The device showing up in Apple HomeKit is random.
How can I map?
Occupancy Sensor = Zone1
Occupancy Sensor 2 = Zone2
Occupancy Sensor 3 = Zone3

This does not sound like a core SDK issue.  Please report Apple-specific issues to Apple via Feedback Assistant, following the directions below:
Feedback assistant ticket:

File a feedback assistant ticket.
https://developer.apple.com/bug-reporting/#feedback-assistant
Click on the link below using your account:
https://feedbackassistant.apple.com/new-form-response
Choose iOS/iPadOS to file an issue
Choose the area as Home App and fill in the details of the type of issue and the description

Technical Information
Please provide the following
a) Sysdiagnose logs for iPhone / iPad with the timestamp / timeframe of the issue
b) Sysdiagnose logs for all the Home Hubs (HomePod mini / HomePod / Apple TV) with the timestamp / timeframe of the issue
c) Accessory logs with the timestamp / timeframe of the issue
d) mDNS network logs with timestamp / timeframe of the issue
e) Video or screenshot describing the issue (optional but beneficial)
Please make sure you download and install the profiles for iOS and tvOS as provided here. The instructions are also in these links.
iOS:

https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=ios&name=homekit
https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=ios&name=network
https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=ios&name=mdns

tvOS:

https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=tvos&name=homekit
https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=tvos&name=network
https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=tvos&name=mdns
For installation instructions, refer to https://developer.apple.com/bug-reporting/profiles-and-logs.
Note: Once you have the profile on the iPhone, it will ask you if you want to install it on other devices. Follow the prompts to install on the HomePod, Apple TV, etc., where you have the described issue and reproduce it.


List types

I initially considered dedicated support for list types but opted out to include them for simplicity.
But there is at least one another way to support them without changing the spec and that would be to formalize column metadata (https://github.com/flatgeobuf/flatgeobuf/blob/master/src/fbs/header.fbs#L55) to be able to say that the columns is to be treated as a list and possibly also contain the possible "domain values". By using such metadata in combination with json column type with expected content to be a json array (or possibly the string type with some separator) the GDAL implementation could be smart about that and convert to nearest possible list representation.

Yes the method I describe should work. I would recommend the JSON datatype for this instead of text, but I suppose that is just cosmetics. Of course, because there is no native list datatype this stuff will require some manual work on the client side. As stated, some standard metadata could be enough to make generic clients be able to more or less do the work for you.
I have no knowledge of geopandas but it sounds to me more or less like a bug that it converts to a short truncated string.
I will close this for now because I have no plans to add a native list datatype or metadata conventions.


Render of section failed

I wanted to run a new hugo instance and got this when doing hugo server -D:
Building sites … ERROR 2019/04/19 15:08:47 render of "section" failed: execute of template failed: template: _default/list.html:29:59: executing "main" at <.Site.Params.dateformat>: invalid value; expected string
Total in 17 ms
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:17:55: executing "main" at <.Site.Params.dateformat>: invalid value; expected string

Hugo version is 0.55.2.

hey @nklops ,
i don't understand why you facing this error, i just clone this repository and serve it on my localhost which is running on hugo version 0.55.2. and its working absolutely fine.


Decimal sep pkg

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 9 (55.56%)  changed or added relevant lines in 2 files are covered.
9 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 57.028%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/token/balance_utxo.go
5
6
83.33%

extensions/token/balance_account.go
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/token/balance_utxo.go
9
71.28%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
3911

Relevant Lines:
6858

💛  - Coveralls


chore(master): release 3.0.0

:robot: I have created a release beep boop
3.0.0 (2023-12-20)
⚠ BREAKING CHANGES

The -v option has been removed and can't be used to output the version anymore. Use the long option ---version instead.

Bug Fixes

prevent builtin options from being suggested in the wizard (a051dc7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ccntrq/git-create-jira-branch/releases/tag/v3.0.0 :sunflower:


Whats the best way to reinitialize carousel?

I am working on a case study portfolio. There are 5 case study links  and 1 carousel.
When the user clicks on the case study links it should fetch the case study images via ajax and build a new carousel on the fly.
When the case study click is happening i am unbinding all the events from the carousel with .unbind() and rebuilding the html of the carousel with javascript and then reinitializing the carousel with .carousel().  Everything works great except there is a bug. The bug happens when the case study link is clicked during the animation. The carousel stops working, it freezes up and it is no longer cycling.
When the case study on click event is happening I even pause the carousel and unbind before I rebuild. Is there a way to completely reinitialize the carousel in the onclick event?

this is best trick to get it back to start index..
.carousel(number)
Cycles the carousel to a particular frame (0 based, similar to an array).

$('.your-carousel').carousel({
    pause: true,
    interval: false
}).carousel(0);


Edited contact info (WeChat) and menu bar.(debug)

debug

👷 Deploy Preview for yunrui-zhang processing.

Name
Link

🔨 Latest commit
50d287125b801ec0e7473907f8f1a8902bb8e791

🔍 Latest deploy log
https://app.netlify.com/sites/yunrui-zhang/deploys/6524bd687004b80008bceaae


EmployeeAdmin build problem

mvn -X package command repors:

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.6:war (default-war) on project employeeadmim: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)

Have added the patch.


#2195 - Fix character encoding issue by using another API

Switched to the Pages API instead of the File API. Related to issue #2195

Remarks have been resolved

Merged manually. Thank you! 👏


Upgrade TS to 3.8.3 and simplify transition config types

This should also fix the "Type instantiation is excessively deep and possibly infinite." errors. https://github.com/microsoft/TypeScript/issues/37613

Have u maybe deleted yarn.lock and regenerated it by doing a fresh install? Changes to yarn.lock seem to be too big for what you have changed in package.jsons .


Is this still maintained?

Getting an error while starting..
Error: Cannot find module 'swig'
Followed previous advice of switching branches, still not working. Just curious as to if this is still maintained

it's not maintained for the last year. problem with swig related to migration to pug
If you want to see a working version(before changes) check some of branches: https://github.com/ChickenKyiv/stripe-recurring-membership/branches
I assume(but can be wrong) that working version is present at easymail branch

Gotcha, thanks.
Any plan on re-maintaining this?

Not sure, to be honest.
I mean I plan to use it, but right now it's not in my priority.
Main problem for me - Stripe is not available in my country.
I plan to use paddle.js for accepting payments in my country, but right now
i'm moving away from having frontend as part of expressjs. And React have
different toolset

if you want to have server + api + payment gateway, you may be interested to check Strapi: https://strapi.io/

if you want to have server + api + payment gateway, you may be interested to check Strapi: https://strapi.io/

Played with them before, unfortunately many key features that I needed were missing.
Definitely am looking forward to it once it's progressed farther along


Edited value has change when Play Scene

Godot version:

v3.1.dev.custom_build.28fa82c
OS/device including version:

Issue description:
Example:
gdscript add:
export( Rect2 ) var rect = Rect2( 0, 0, 1, 1 )

Inspector I edit value to ( 0, 5, 1, 1 )
When I press "Play Scene" button value has change to ( 5, 0, 0, 1 )
Steps to reproduce:
Minimal reproduction project:

@Mavhod I am unable to reproduce this issue. Are you still experiencing it with latest build?

Ok, It correct now.


Could I display the transitions names in the PlantUML state-machine chart ?

What I have

What I want

My ThingML code
       statechart ChatBot init start_conversation {

             state start_conversation {
                    transition -> start_new_topic
             }

             state start_new_topic{
                    transition should_start_small_talk -> small_talk
                    transition should_ask_for_category -> ask_for_category
                    transition user_wants_to_leave_conversation -> goodbye
             }

             state small_talk{
                    transition should_continue_small_talk -> small_talk
                    transition should_ask_for_category -> ask_for_category
                    transition should_continue_ingoing_conversation -> talk_about_topic
             }

             state ask_for_category{
                    transition vague_category -> start_new_topic
                    transition has_identified_category_correctly -> talk_about_topic
             }

             state talk_about_topic{
                    transition should_continue_conversation -> talk_about_topic
                    transition shouldnot_continue_conversation -> start_new_topic
                    transition user_wants_small_talk -> small_talk
                    transition user_wants_to_leave_conversation -> goodbye
             }

             state goodbye{}
       }

The rabbit
🐇

Yes, should be quite easy...

which version of ThingML are you using? The one based on EMFText, or the one based on XText (ThingML v2)?

EMFText because I followed the documentation, but I will compile the XText version very soon. So assume it's XText.

OK, should be fixed in XText branch

Some wild \n appeared.
@startuml
skinparam defaultTextAlignment left
caption Behavior of thing ChatBotSM
[*] --> ChatBot
state ChatBot{
state start_conversation{

start_conversation --> start_new_topic
}
state start_new_topic{

start_new_topic --> small_talkshould_start_small_talk\n

start_new_topic --> ask_for_categoryshould_ask_for_category\n

start_new_topic --> goodbyeuser_wants_to_leave_conversation\n
}
state small_talk{

small_talk --> small_talkshould_continue_small_talk\n

small_talk --> ask_for_categoryshould_ask_for_category\n

small_talk --> talk_about_topicshould_continue_ingoing_conversation\n
}
state ask_for_category{

ask_for_category --> start_new_topicvague_category\n

ask_for_category --> talk_about_topichas_identified_category_correctly
}
state talk_about_topic{

talk_about_topic --> talk_about_topicshould_continue_conversation\n

talk_about_topic --> start_new_topicshouldnot_continue_conversation\n

talk_about_topic --> small_talkuser_wants_small_talk\n

talk_about_topic --> goodbyeuser_wants_to_leave_conversation\n
}
state goodbye{
}
[*] --> start_conversation
}
@enduml

But when I removed them, I got something strange. I guess something is messing between the next state and the transition's name.

Hmmmm, those \n, \n, etc is quite a pain in plantUML :-) But I will try to fix that

this time, it should work :-)


docs: describe new container image

some doc, if you want to use that for the new container images:)

also one last point: you might need to change the package visibility once you're done building it. I've already had packages that were by default published as private packages.
edit: well it seems you stumbled upon something like that !
https://github.com/ahrtr/etcd-defrag/actions/runs/6393396273/job/17352549878#step:5:17

can you please verify whether you can pull the image?
docker pull ghcr.io/ahrtr/etcd-defrag:v0.4.0

🕙 16:13:31  ❯ docker run --rm ghcr.io/ahrtr/etcd-defrag:v0.4.0 --version
etcd-defrag Version: v0.4.0
Git SHA: b1e7e709ca00fa2b1c25012eedfadd58a7c3b2b9
Go Version: go1.20.8
Go OS/Arch: linux/arm64

perfect! thanks :)

thx


Queue multiple operations

When deleting/tagging/editing multiple files, it takes a lot of time to process larger numbers of files. like adding 1 tag to 400 images takes several minutes. it would be nice, if one could do multiple edits, like adding a tag to a set of images then removing a tag from another set and so on, without waiting for each operation to finish.
maybe this could work with some sort of queue system where the operations are stored in a list and then applied consecutively.
maybe another approach would be to save edits and changes in a database and then sync the database with the actual files.
this slow behaviour is unfortunately a significant hurdle for me to make use of the editing features of aves.
thanks for your awesome work!

While items are getting edited in the background, do you expect to see in your collection the items as they are (not yet edited), being edited one by one? Or you expect the collection to look like the items are all already edited?
Because if operations are asynchronous, it raises question when you chain editing on items that are filtered by the result of some edits. For example tagging some items, and then rotating all the items with that tag.

I think I would expect the items to appear as if they were already edited


support sqlalchemy connections

I'd like to be able to manage my own connections and transactions with sqlalchemy:
def foo(connection):
    pd.read_sql_query(query, con=connection)

def bar(connection, data):
    data.to_sql(name='foo', con=connection)

def main():
    with engine.connection() as conn, conn.begin():
        bar(foo(), connection=conn)
        bar(some_other_data, connection=conn)

See #7877. So closing this as a duplicate (but certainly comment there! or at the PR at once)


jf dotnet restore does not add the property:RestoreConfigFile to MSBuild command

Version 2.20 and newer of jfrog client does not add the RestoreConfigFile property to the command line during jf dotnet restore run. Because of this, the jfrog config is ignored
To Reproduce
using 2.18.2:
jf.exe c add "ToyBox .Net - Build_20220728.4_dotnet_resolver_1658969437186" --artifactory-url="https://INTERNAL_URL/artifactory" --interactive=false --access-token=ey[removed]
jf.exe c use "ToyBox .Net - Build_20220728.4_dotnet_resolver_1658969437186"
jf.exe dotnetc --server-id-resolve="ToyBox .Net - Build_20220728.4_dotnet_resolver_1658969437186" --repo-resolve="nn-nuget"
jf.exe dotnet restore full\path\to\myproject.csproj

the build command:
Build started 7/28/2022 4:38:51 PM.
     0>Process = "C:\Users\[removed]\AppData\Local\Microsoft\dotnet\dotnet.exe"
       MSBuild executable path = "C:\Users\[removed]\AppData\Local\Microsoft\dotnet\sdk\6.0.302\MSBuild.dll"
       Command line arguments = "C:\Users\[removed]\AppData\Local\Microsoft\dotnet\sdk\6.0.302\MSBuild.dll -maxcpucount -verbosity:m -nologo -target:Restore -property:RestoreConfigFile=C:\Users\[removed]\AppData\Local\Temp\jfrog.cli.temp.-1658993931-1165191040\jfrog.cli.nuget.1390796958 -verbosity:d C:\Users\[removed]\Projects\Projects\CICD\toybox-Net/src/toybox.Tests -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:\Users\[removed]\AppData\Local\Microsoft\dotnet\sdk\6.0.302\dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,C:\Users\[removed]\AppData\Local\Microsoft\dotnet\sdk\6.0.302\dotnet.dll"

using 2.20.0:
same input
build command:
Build started 7/28/2022 4:29:32 PM.
     0>Process = "C:\Users\[removed]\AppData\Local\Microsoft\dotnet\dotnet.exe"
       MSBuild executable path = "C:\Users\[removed]\AppData\Local\Microsoft\dotnet\sdk\6.0.302\MSBuild.dll"
       Command line arguments = "C:\Users\[removed]\AppData\Local\Microsoft\dotnet\sdk\6.0.302\MSBuild.dll -maxcpucount -verbosity:m -nologo -target:Restore -verbosity:d C:\Users\[removed]\Projects\Projects\CICD\toybox-Net/src/toybox.Tests -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:\Users\[removed]\AppData\Local\Microsoft\dotnet\sdk\6.0.302\dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,C:\Users\[removed]\AppData\Local\Microsoft\dotnet\sdk\6.0.302\dotnet.dll"

Expected behavior
Parameter need to be added back so the build can use the jfrog configuration
Screenshots
If applicable, add screenshots to help explain your problem.
Versions

JFrog CLI version: 2.18.2/2.20.0 (tested on latest version too)
JFrog CLI operating system: windows
Artifactory Version: 7.9

Additional context
manually adding the parameter to 2.20 works, but the solution would not work inside CICD since the config file name is random.

Any news about this issue ? is still happened on 2.25.3 version

Hi @TLaborde  @gregoryboue ,
JFrog CLI 2.25.5 was just released and includes a fix for this issue.
We'd appreciate your feedback for it.

Hi,
It's ok for me with 2.25.5 version.
Thanks you

Glad to hear that @gregoryboue, thank for the feedback.


Random "image config verification failed for digest sha256:" errors when pulling images

Output of docker version:
Client:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 15:54:52 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 15:54:52 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 165
 Running: 147
 Paused: 0
 Stopped: 18
Images: 293
Server Version: 1.10.3
Storage Driver: btrfs
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: null host bridge
Kernel Version: 4.2.0-34-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 6
Total Memory: 31.42 GiB
Name: <edited>
ID: AZNH:RYE6:EPU2:OM3H:RQGL:E6GL:3PCA:BJJP:JVQO:ILYS:G7B4:TWOZ
Username: <edited>
Registry: https://index.docker.io/v1/

Additional environment details (AWS, VirtualBox, physical, etc.):
VPS
** Registry setup **
We're running our own distribution registry, version 2.3 backed by a Swift storage backend and with a nginx reverse-proxy on two instances of the registry. (with redis cache)
Steps to reproduce the issue:

docker run
docker commit  / docker tag
docker push image:tag

Note: The layers pushed are not very large, maximum 300-400MB
On another host

docker pull image:tag

Describe the results you received:
└> sudo docker pull repo:e88527622a7d52a
[sudo] password for leo:
 e88527622a7d52a: Pulling from repo

a3ed95caeb02: Already exists
4546a4a8a29d: Already exists
a898f8c7f6ba: Already exists
706514fbad74: Already exists
979168d7ceb7: Already exists
6a953df111c8: Already exists
39cb19057166: Already exists
0d268101d605: Already exists
517ff1a63fec: Already exists
cc017fff06a9: Pulling fs layer
image config verification failed for digest sha256:9315cd9d987b2ec50be5529c18efaa64ebae17f72ae4b292525ca7ee2ab98318

Describe the results you expected:
No error
** Notes **
It happens one image among hundreds, more or less, it happens almost everyday in our production infrastructure but I can't reproduce it willingly.
What can be the cause of that ?

Also posted here: https://github.com/docker/docker/issues/21290

This looks like a Docker Engine issue, so I'm closing this one in favor of docker/docker#21290.

Based on the discussion in docker/docker#21290, this now looks like a bug in either the registry, the Swift storage driver, or Swift itself. I'm reopening this issue to move the discussion back here. Please see docker/docker#21290 for context.

Can you download one of the affected blobs and see if its sha256 hash matches the blob name?

It doesn't.
Docker logs:
time="2016-03-24T12:31:05.775091184+01:00" level=error msg="image config verification failed for digest sha256:fdd958b1ea9e36aaa37949d168490771006947d48915946933b7b489fb98cb36"

Blob:
└> swift download <container> files/docker/registry/v2/blobs/sha256/fd/fdd958b1ea9e36aaa37949d168490771006947d48915946933b7b489fb98cb36/data
ha256sum files/docker/registry/v2/blobs/sha256/fd/fdd958b1ea9e36aaa37949d168490771006947d48915946933b7b489fb98cb36/data
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  files/docker/registry/v2/blobs/sha256/fd/fdd958b1ea9e36aaa37949d168490771006947d48915946933b7b489fb98cb36/data

The SHA256 doesn't match, the config blob is really empty (SHA e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855)
So the metadata issue doesn't seem to be the problem, there are really empty blobs.

The issue now is to know if that's swift fault or the registry's fault.

Distribution error logs:
Event if the push succeeds (or sometime docker retries it), I can see quite a lot of 'blob unknown' errors in the log of 'distribution'. I assume all that can be related.
time="2016-03-25T14:41:19.494006035Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:cfc302d6d711c20ea457edceaf9ba97f32784b4b4a5608262e808a5a5dfb3c4c err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T14:44:24.435148639Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:aa04d2b7d47076f063b37849531408f2d1b30507ee1d9cf5c8b184a616139316 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T14:51:26.068232903Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:2ad365d1949f30c4564f2a7f7f7e7c4ffa136e4b4a20b39e077f8f2e9faf4f41 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T14:52:02.383534638Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:a53321f49e96122edd98a63b986c3368522fb7b9cd203d7a80d0762002e5b29e err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T15:21:10.684037265Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:1e44dcba8bf99440a83b9b12ef824465d5644f3ffa93f59830bf5f2cf84ad40d err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T15:41:16.387498673Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:927e1893f66da889d0f4582383e2a68461642e94f28e1519b48d8e4a9111cf6d err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T15:43:34.525928264Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:b704bf27036c6ca4798b49fda4dbc143b9ccedae6e3fa45dacb210cf1a77975f err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T15:50:33.561326254Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:2390d7d9517f064232fecb3910c724be8ad61e73c8fd7eb80e4f8f76f433c3ee err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T16:06:15.041207424Z" level=error msg="canonical digest does match provided digest" auth.user.name=0 canonical=sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 go.version=go1.5.3
time="2016-03-25T16:06:17.54232579Z" level=error msg="response completed with error" auth.user.name=0 err.code="digest invalid" err.detail="invalid digest for referenced layer: sha256:0c408c7fd7b37cd3c50198d4959aae1252c64b1fc44dfa2e934d8b0371b445cd, content does not match digest" err.message="provided digest did not match uploaded content" go.version=go1.5.3
time="2016-03-25T16:07:04.976135228Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:c5544c4d5f8955380c26fbc27b9e60e90d7d27a6cc1e07d7fb273a826fa82a14 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T16:10:21.014242278Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:fd7e9cade7241d069da1dc558f8ae05d5a6572459c0254d78871c73812898d3c err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T16:22:24.391260369Z" level=error msg="canonical digest does match provided digest" auth.user.name=0 canonical=sha256:fd6bfb9dcbabe67e7f5b6e196e3c5c103127872cea4a864447eb766edc9c419a go.version=go1.5.3
time="2016-03-25T16:22:26.600081066Z" level=error msg="response completed with error" auth.user.name=0 err.code="digest invalid" err.detail="invalid digest for referenced layer: sha256:0093a3d4761964ab89f0dfd79d59c45a310071aae8725c076c78733042f14c63, content does not match digest" err.message="provided digest did not match uploaded content" go.version=go1.5.3
time="2016-03-25T16:31:14.800027877Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:63930504b3a889d71d38830c1b3acfb58ed8b62b695c3268dd74f23c09189a89 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T16:43:57.647953247Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:e540934271b8465a8663a16ab4b7b333eda9bef33286fda0545d3f5dba1a0713 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T16:53:23.342084554Z" level=error msg="canonical digest does match provided digest" auth.user.name=0 canonical=sha256:ea914d1b0b7ed2b8b135e228483898963beb79e31c42e7106a974fcffce92917 go.version=go1.5.3
time="2016-03-25T16:53:56.950974199Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:ee3334ffe20e2eca9a38de9a7ee2fde979856e13b78662d6295ebf9708551a73 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T16:53:57.392023122Z" level=error msg="response completed with error" auth.user.name=0 err.code="digest invalid" err.detail="invalid digest for referenced layer: sha256:32b9ba382b8661a25687ae0bc4757abaabe47daadcc1098b1a288a96ccdc3d28, content does not match digest" err.message="provided digest did not match uploaded content" go.version=go1.5.3
time="2016-03-25T16:56:52.68266739Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:dc8df92333541ad4c0f700671b3d2f0a2ff7fa7b4a44df4abd14f88d5beeed34 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T17:08:51.960915383Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:5c3d4544e7d48ee9a996f76ac5a8cbcba78b11258c61570e4b6bab60c1d0b8f2 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T17:12:42.596144519Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:a379494c9531a2c06951f0a2767c794c0aede86a39616d2ad580734270815874 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T17:13:44.140399718Z" level=error msg="canonical digest does match provided digest" auth.user.name=0 canonical=sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 go.version=go1.5.3
time="2016-03-25T17:14:08.308216751Z" level=error msg="response completed with error" auth.user.name=0 err.code="digest invalid" err.detail="invalid digest for referenced layer: sha256:a379494c9531a2c06951f0a2767c794c0aede86a39616d2ad580734270815874, content does not match digest" err.message="provided digest did not match uploaded content" go.version=go1.5.3
time="2016-03-25T17:21:45.822660708Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:34437fb50911b643d3db747fe2621469a41433b24b917dec1c33c63353b43af1 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T17:30:39.3425842Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:4302884202f8d38ff5b3319272a4cd78118f629a84c008c192f5cb8eba502f43 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T17:43:31.417123582Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:7fa5fe9214cb1fc6683a0bdf396fef7ccd93ceaef86ab64b99e135e55cb8e017 err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T17:47:18.123396179Z" level=error msg="canonical digest does match provided digest" auth.user.name=0 canonical=sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 go.version=go1.5.3
time="2016-03-25T17:47:52.95931358Z" level=error msg="response completed with error" auth.user.name=0 err.code="digest invalid" err.detail="invalid digest for referenced layer: sha256:8971ff8c2880e3b0606b9795366279d05ab52787f377f0d78cfc1c14a6992d50, content does not match digest" err.message="provided digest did not match uploaded content" go.version=go1.5.3
time="2016-03-25T17:53:01.329074103Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:375cc4515b6b0a35824f7f3740494fba7481f6816b28ff4f78d5b768498c9e3b err.message="blob unknown to registry" go.version=go1.5.3
time="2016-03-25T17:54:51.716994618Z" level=error msg="response completed with error" auth.user.name=0 err.code=unknown err.detail="swift: HTTP Error: 503: 503 Internal Server Error" err.message="unknown error" go.version=go1.5.3 http.request.contenttype="application/vnd.docker.distribution.manifest.v2+json"
time="2016-03-25T18:02:13.274681367Z" level=error msg="response completed with error" auth.user.name=0 err.code="blob unknown" err.detail=sha256:df595fdc07ae8605e4b1500f55760e3f13cddfd727052e10eaebedae29277e6b err.message="blob unknown to registry" go.version=go1.5.3

I am facing the same issue with swift backend on OVH. I get intermittent image config verification failed for digest errors on pull and digest invalid: provided digest did not match uploaded content on push.
Also, once an image upload is corrupted it is very difficult to restore the image as consecutive pushes will not rewrite the corrupt layer.
Related issue with the swift backend: https://github.com/docker/distribution/issues/1013

Something new, sometimes the manifest is ok, but it's the binary blob of the layer which is broken:
    {
         "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
         "size": 300126448,
         "digest": "sha256:57d3648144f06c3db4eb98cba46ea03bbfae897b544e6655319dc8fa46d23a90"
      },
      {
         "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
         "size": 93529577,
         "digest": "sha256:1cfcaf2a11aa3e743d7fd7ba47e403a64634dfc4042e0c37ba045580155aa630"
      },
      {
         "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
         "digest": "sha256:7d1323de0a1ceb3f5fb9a532e3b17f213163ad30b04aaa2bf6350a769ad15b3f"
      }

I've been able to see it quickly as there is no 'size' available.
After deleting the blob 7d132..., redoing a docker push, it's working, here is the diff of manifest:
       {
          "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+         "size": 94627608,
          "digest": "sha256:7d1323de0a1ceb3f5fb9a532e3b17f213163ad30b04aaa2bf6350a769ad15b3f"
       }

The size has been added :-)
I assume in the first case the size was 0 and wasn't serialized by Go because it's a 0 value and there is an omitempty on the field, after a second upload attempt, the size has been filled, and everything is ok.

I've been speaking with OVH support so far, here is there answer, I don't know what does it worth.. I've been explaining them that some file have wrong metadata (0 byte but file is present), I'm not sure it affects this bug as here files are really empty.
Hi Mr Unbekandt,

You're right, you doesn't have the file, actually it's another problem.

To resume the situation we doesn't have support of Large files in our Public Cloud.

For this reason you can't upload a file larger than 5Go.

Your file is a manifest and its contain only informaitons of different segment of your object.

The original file do 55Mo, you don't have to split it for Large Object support.

i'm using a registry-proxy before central registry. Reproduce something alike:

pull a image
delete one of blob in proxy's storage
rmi, then pull that image again, daemon log like "filesystem layer verification failed for digest sha256:xxxxxxxxxxxx"

@depay : I do not think you are seeing the same issue.  If you are directly removing content from the storage then the registry descriptor caches will not be invalidated.  The cached content will be removed by the scheduler.

@RichardScothern i am also curious about that, but the deletion by proxy's scheduler really made the same error log..then i remove the in-memory cache config of proxy, it works normally. I'm using v2.2.1 and wondering there may be something wrong with the proxy's expire scheduler or in-memory cache.

@depay there was a bug (my fault 😿 ), which was fixed in 2.3 (I think).  We are now on version 2.5, so if you are able to upgrade that would be spiffing.

ooooops, my version is tooooo old...but i'm afraid of the compatibility between v2.3 & v2.2 with kinds of client version(1.7/1.9/1.12) about the manifest Schema 2, due to the v2.3 compatibility document.

I think I'm having a very similar problem with an S3 backend. I'm using registry 2.6.0-rc.2 and docker 1.12.6.  Could you please open a separate issue? It may be helpful to include logs from the registry when you push and pull the affected image.

Thanks, @aaronlehmann. I created a separate issue for my S3 related problem: https://github.com/docker/distribution/issues/2168

Any updates on this issue? We are seeing random filesystem layer verification failed for digest sha256 errors for our private registry using SoftLayer ObjectStore (Swift driver).

Try below steps:

Build with some options, in order to remove the cache and checksum

docker build --rm=true --no-cache --disable-content-trust=true -t image-name .
docker tag image-name <IP_ADDRESS>:5000/image-name
docker push --disable-content-trust=true <IP_ADDRESS>:5000/image-name

Try to docker pull in any server, it should be work now without any exception tips.

Use normal operation to build the image.

docker build -t image-name .
docker tag image-name <IP_ADDRESS>:5000/image-name
docker push <IP_ADDRESS>:5000/image-name

Try to docker pull in any server, it works.

Closing as wildly outdated.


[Refactor] common store for godel components

Abstract common store for godel components, simplify cache maintenance logic and enhance scalability.
We will do this in two steps:

Abstract common store interface and migrate scheduler cache.

Refactor binder cache and implement interface adaptation.

cc @yuey002


add resources to config

    Taxonomy_SQLITE_Connector.__init__(self,resources_folder=self.mantis_paths['resources'])

should come after reading config
right before:
if self.use_taxonomy:
if nogt_line:
if self.launch_taxonomy_connector():
self.set_nogt_line(nogt_line)

check reproducibility issues

there seems to be issues in consensus generation

done


Create a gitignore file

Creating a gitignore file would remove the build folder and sass cache folder on the repo, creating no garbage next time!

@vmesel I believe all of that was fixed by #2


Remove 'point-style' property from Bubble Chart docs

The docs correctly list 'point-style' as a valid property for Bubble Charts, but it doesn't have any effect on the rendered bubbles.
This seems to lead to some confusion (see this issue https://github.com/chartjs/Chart.js/issues/5428 and this SO question https://stackoverflow.com/questions/44402166/chart-js-bubble-chart-pointstyle-not-working ), so I suggest removing it from the docs.

This was reported in #4665 and fixed by #4671. Codepen sample in #5428 is using v2.4.0 and you will see the issue is solved by using v2.7.0 or later.


Entanglement Entropy of Ising Model H=-JZZ-hX

Discussed in https://github.com/QuSpin/QuSpin/discussions/711

Originally posted by hcut October  7, 2024
Entanglement entropy of  Ising model  $H=-JZZ-hX$

is given as (for $J=h=1, c=0.5$) for subsystem x, S(x) =

Which looks  like as

I am trying to reproduce the same results, but I am not getting even close to this figures, I am getting the following figure

I am calculating as follows :
 ...
 e_m,v_m=H.eigsh(k=1,which="SA",maxiter=1E4,pars=dict(h0=1.0,h1=H_x),return_eigenvectors=True)
 def get_ee(j):
        subsys=[i for i in range(j)]
        Sent_dict = ent_entropy(v_m, basis, chain_subsys=subsys, return_rdm='A')
        ee = Sent_dict['Sent_A']
       return ee
#
for n in range(L):
        ee=get_ee(n)
     #   print(ee)

It prints the subsytems as
     [0]
     [0, 1]
     [0, 1, 2]
     [0, 1, 2, 3]
     [0, 1, 2, 3, 4]
     ........

I think I am doing something wrong in defining the subsystems at each step.
I will be grateful in somebody can help me here ?

please post this Q in the discussion forum ;)
https://github.com/QuSpin/QuSpin/discussions
closing it here


Example and Next User PD Buttons - Incrementing values incorrectly

When the calculator is clear, the Example button brings up the BMR with the first User PD correctly. But on subsequent clicks, the User PD increments correctly, but the IPv4 prefix increments instead of the host, and the IPv6 Source Address also increments in the IPv4 prefix field.

Resolved. Had to fix highlight index math.
Briefly caused "Example" to crash the app when the User PD length was set too low, but that is also resolved. Example was updating the BMR parameters globally, before doing validation. Had to use test parameters for validation and only update global parameters of they passed.


css dependent fixtures

How would you apply styles to fixtures (aside from writing them inline)?  The JS library I am testing depends on some box-model related styles.  using a script tag in the fixture does not seem to work, seemingly because the fixtures are not added to the dom.

foo

@jejacks0n I'm having trouble including a fixture-specific stylesheet.
I have a file in spec/javascripts/stylesheets where I define the path to the stylesheet
how do you include a path to that fixture file in the xxx_spec.js file?

@eliotc1986 i created some helpers in my spec_helper
window.loadJs = (file) ->
  $('head').append $('


Nuxt 3 devtools integration

Not an issue - just dropping a note to inform about a simple Nuxt 3 module I've put together, integrating the Mailpit web UI in the Nuxt devtools. (In case you feel it could be mentioned somewhere.)
Repository: https://github.com/tdolsen/nuxt-mailpit
NPM package: https://www.npmjs.com/package/nuxt-mailpit
Suggestions welcome.
Looks like this:

Thanks. Can you please explain what the purpose of this module is so that people (including myself) can understand what it is used for exactly?

The purpose is to have easy access to the Mailpit web UI when developing Nuxt applications, in the framework's devtools.

Cool. At this stage I'm not going to add list of any related tools just yet, but my suggestion would be to add the mailpit topic to your project (see screenshot) - that way it'll be listed in that topic on GitHub. Users also search / view these issues too, so the fact that you have mentioned it here is great too :+1:  I'll close this as it's not really an open issue. Thanks for your input and for using Mailpit!


error_msg in chia_exporter

Environment:

OS: Windows 10
Chia: 2.1.3
chia_exporter: 0.11.0

Description: After transferring the database file, I get errors in chia_exporter:
time="2023-12-21T12:08:21+03:00" level=error msg="CreateFile C:\\Users\\User\\.chia\\mainnet\\F:\\chia\\db\\blockchain_v2_mainnet.sqlite: The filename, directory name, or volume label syntax is incorrect.\n"
time="2023-12-21T12:08:21+03:00" level=error msg="CreateFile C:\\Users\\User\\.chia\\mainnet\\F:\\chia\\db\\blockchain_v2_mainnet.sqlite-wal: The filename, directory name, or volume label syntax is incorrect.\n"
time="2023-12-21T12:08:21+03:00" level=error msg="CreateFile C:\\Users\\User\\.chia\\mainnet\\F:\\chia\\db\\blockchain_v2_mainnet.sqlite-shm: The filename, directory name, or volume label syntax is incorrect.\n"

Original settings file config.yaml:
full_node:
  database_path: db/blockchain_v2_CHALLENGE.sqlite

Modified settings file config.yaml:
full_node:
  database_path: F:/chia/db/blockchain_v2_CHALLENGE.sqlite

Thanks for the report. I have a thought on why this may be happening and will take a look.
In the meantime, the error shouldn't be preventing the rest of the metrics from scraping correctly, so you should be ok to keep using exporter without worrying about something breaking.

0.11.1 should solve this issue.


postconf: fatal: missing attribute name: ""

When postfix-main.cf contains an empty line, postfix (re)start fails with
postconf: fatal: missing attribute name: ""

Can you submit a Pull Request to fix that point?

Merged.