"Cannot open file /engine/darwin-x64/product_vm_isolate_snapshot.bin" when ./gradlew build

Hi, I'm adding flutter to an existing app, it works well basically, I can successfully run the hybrid app and assembleDebug/assembleRelease to generate apk files. However when I use ./gradlew build command to build the application, it fails with an exception.

Task :flutter:flutterBuildDynamicRelease
Crash report written to /Users/some_path/some_application/flutter_07.log;
please let us know at https://github.com/flutter/flutter/issues.
Task :flutter:flutterBuildDynamicRelease FAILED

The following is what the flutter_07.logsays, it's implying me that product_vm_isolate_snapshot.bin cannot be found, I browsed the folder and the file wasn't there.. I downloaded the latest flutter_macos_v0.9.4-beta.zip  and still cannot find product_vm_isolate_snapshot.bin.
What should I do?
thank you

flutter_07.log:
command
flutter build bundle --suppress-analytics --target lib/main.dart --depfile /Users/liuchang/Documents/workspace/android/translator_android/translator_flutter/.android/Flutter/build/intermediates/flutter/dynamicRelease/snapshot_blob.bin.d --asset-dir /Users/liuchang/Documents/workspace/android/translator_android/translator_flutter/.android/Flutter/build/intermediates/flutter/dynamicRelease/flutter_assets --release --dynamic

exception
FileSystemException: FileSystemException: Cannot open file, path = '/Users/some_path/flutter/bin/cache/artifacts/engine/darwin-x64/**product_vm_isolate_snapshot.bin**' (OS Error: No such file or directory, errno = 2)

#0      _File.open.<anonymous closure> (dart:io/file_impl.dart:368:9)
#1      _rootRunUnary (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:486:5)
#7      Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:516:7)
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#13     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#14     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

flutter doctor
[✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.13.4 17E199, locale en-CN)
    • Flutter version 0.9.4 at /Users/liuchang/Documents/workspace/flutter/flutter_macos_v0.7.3-beta
    • Framework revision f37c235c32 (3 weeks ago), 2018-09-25 17:45:40 -0400
    • Engine revision 74625aed32
    • Dart version 2.1.0-dev.5.0.flutter-a2eb050044

[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/liuchang/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    ✗ Android license status unknown.

[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    ✗ libimobiledevice and ideviceinstaller are not installed. To install, run:
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Connected devices (1 available)
    • SM G9500 • 988b5c394548305955 • android-arm64 • Android 8.0.0 (API 26)

! Doctor found issues in 2 categories.

Having the same issue on a new app when running ./gradlew build in task :app:flutterBuildDynamicRelease
## command

flutter build bundle --suppress-analytics --target lib/main.dart --depfile [REDACTED]/build/app/intermediates/flutter/dynamicRelease/snapshot_blob.bin.d --asset-dir [REDACTED]/build/app/intermediates/flutter/dynamicRelease/flutter_assets --release --dynamic

## exception

FileSystemException: FileSystemException: Cannot open file, path = '/usr/local/opt/flutter/bin/cache/artifacts/engine/darwin-x64/product_vm_isolate_snapshot.bin' (OS Error: No such file or directory, errno = 2)

Doctor:
[✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.13.6 17G65, locale en-US)
    • Flutter version 0.9.4 at /usr/local/opt/flutter
    • Framework revision f37c235c32 (4 weeks ago), 2018-09-25 17:45:40 -0400
    • Engine revision 74625aed32
    • Dart version 2.1.0-dev.5.0.flutter-a2eb050044

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/javier.romero/Library/Android/sdk/
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/javier.romero/Library/Android/sdk/
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.6)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656

[✓] Connected devices (1 available)
    • iPhone XR • 735A691C-0C2B-4462-A5E9-84DE318B1E9B • ios • iOS 12.0 (simulator)

Seems related to #22553

please how to fix this ? any idea ?


Change to remove the need to edit delta5node.ino for each nano

currently there is a need to manually change the address for each of the arduino units.
with the code that i have added and adding a small wire to each of the nodes you can use the code unaltered on each arduino units
by pulling one of the pins(5-8) to GND the code will assign an address for each socket on the board regardless of which nano is in place as all nanos will have the same code
by Pulling pin 4 to GND the code will assign one of the 2nd set of addresses
what do you think?
(first time i have ever submitted code to a project)

I understand the what's being done, but to ask a dumb question... why is this necessary? seems like more work on the hardware side vs. changing an address when flashing the arduinios.  Seems like a neat way to handle it though.

considering all the soldering they are currently doing 4 extra resistors or plane wires isnt going to complicate things much more and if you need to place one of the nanos you can have a spare 1 or 2 with you to just drop into place no need to worry about what code is on the nano
if your using the 'every thing is in a socket' way of building the boards which is how i plan on building the ten im about to :)

I think it'd be good if the node ino code could support either method -- specifying the node ID directly, or "auto detect."  I've got a PR posted here that makes it use a NODE_NUMBER define so a node ID can be entered as a 1 to 8 value instead of an I2C address.  I could see also supporting NODE_NUMBER=0 for "auto detect."

RotorHazard has settled on an updated specification for the feature: https://github.com/RotorHazard/RotorHazard/wiki/Specification:-Node-hardware-addressing
Alongside simpler flashing requirements (which is helpful with an automated flashing system), this also allows groups to bring a spare component to the field in case of failure. No reflashing would be needed to replace any of the existing Arduinos.


test/ffmpeg-d3d11/decode: modify ffmpeg-d3d11 test cases

There are some unsupported formats which are not supported by
ffmpeg-d3d11, now remove them.
Signed-off-by: Tong Wu<EMAIL_ADDRESS>

Can you add some comment for the format description The other guy can quickly understand why need to cleanup the format and add new format

Already add the comments, thx!

commit message does not fully represent the actual changes.  please update commit message.

Commit message only explains d3d11 format change.  But you've also changed dxva2 formats.  And you've added scc checks.  And you've deleted jpeg decode tests.  Please split changes into logical commits and explain each change.

Commit message only explains d3d11 format change. But you've also changed dxva2 formats. And you've added scc checks. And you've deleted jpeg decode tests. Please split changes into logical commits and explain each change.

ok, I will update, thanks.


Stack creatable multiselect

Closes https://github.com/ethyca/fides/issues/2603
This is pretty much a continuation of https://github.com/ethyca/fides/pull/2542/files
Code Changes

[x] Refactors the CreatableSelect component out into CreatableSelectInput which can be used for both single and multi
[x] Allows an inline and stacked variant for CustomCreatableSelect (which is now a combo of what used to be CustomCreatableSingleSelect and CustomCreatableMultiSelect

Steps to Confirm

[ ] Nothing uses these stacked components yet, but you can try them out in i.e. DescribeSystemStep.tsx

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Description Of Changes
Stacked vs inline multi creatable select
https://user-images.githubusercontent.com/24641006/219405441-3f8b053d-a0c7-406a-9f45-2a11f6764182.mov
Stacked vs inline single creatable select
https://user-images.githubusercontent.com/24641006/219405861-506455a5-f1eb-4345-afe5-284ca5b10fe3.mov
Nothing uses the single creatable select right now, though it might be useful for something like a search bar with suggestions.
There is a disableMenu prop because of https://github.com/ethyca/fides/pull/772#discussion_r901060772. I think it can be weird at times to not have the menu, but it works okay with the inputs we have so far because we really don't populate possible options yet

Failing test is unrelated to this PR


500 internal Server Error when Send from Collection.save

Thank you for this convenient module. I'm trying to write a file upload page using ReactJS & backbone,
but I keep getting 500 (Internal Server Error) when I put my form data to my backbone collection.
Like the code below, this is how I handle the <input type="file" .... > onChange event
I'm wondering is it ok to save model from collection.create?
or maybe the problem is in server side, I use multer in my route.js, to process the multipart data from post. Besides, I use mongodb to storage my uploaded file.
Client:
handleUpload: function (){
			var file_data = $(".new-file").prop("files")[0];   // Getting the properties of file from file field
			var fileName = $(".new-file").val().split('/').pop().split('\\').pop();
				if (fileName) {
				this.props.files.create({
					title: fileName,
					attachment: file_data
				},{ formData: true , wait: true});
				ReactDOM.findDOMNode(this.refs.newField).value = '';
			}

		}

server:

router.post("/collections", function(req, res){
		upload(req, res, function (err) {
		    if (err) {
		      // An error occurred when uploading
		      res.send(err);
		    }
			var newfile = new FilesModel({
				    title :req.body.title,
				    attachment: {data:req.file,contentType:''}
				  }).save(function(err,docs){
				    if(err) throw err;
				    res.send(docs);
				  });

		  })
	});

plus, in devtool (chrome) the network tab looks like that:

Is it normal about my Request Header and Request payload?

Sorry I think the problem is not in this module, so I just close it. Thank you anyway.

I found a solution in here..  so I closed it.
http://stackoverflow.com/questions/33313862/defferent-request-content-when-send-from-collection-create-and-normal-form/33315361#33315361


Fixed typo on GraphQL name

Only fixed a simple typo on GraphQL

Why:
Closes #22790

What's being changed (if available, include any code snippets, screenshots, or gifs):
From GrpahQL to GraphQL

Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

@alexis-opolka - Thanks for opening a PR to fix your issue! :sparkles:
I have edited your original message so that it will automatically link to the issue. :zap: For more information about linking issues, see "Linking a pull request to an issue".
I'll get this triaged for review! 👍

@alexis-opolka Thanks for the contribution! Your PR has been approved, however, our repo is frozen until Jan. 3rd for the holidays. We will get this merged down once the freeze has lifted ⚡


[BIOMAGE-1586] Fix the categorical embedding plot legend

Background
Link to issue
https://biomage.atlassian.net/browse/BIOMAGE-1586
Link to staging deployment URL
https://ui-martinfosco-ui577.scp-staging.biomage.net/
Links to any Pull Requests related to this
Anything else the reviewers should know about the changes here
Changes
Code changes
Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Code updates
Have best practices and ongoing refactors being observed in this PR

[ ] Migrated any selector / reducer used to the new format
[ ] Validated that current unit tests work as expected and are enough

Testing

[ ] Unit tests written
[ ] Tested locally with Inframock (with latest production data downloaded with biomage experiment pull)
[ ] Deployed to staging
[ ] Passed integration tests

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[ ] Relevant Github READMEs updated
[ ] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[ ] Photo of a cute animal attached to this PR

I checked your staging - the legend colours are now consistent when viewing different samples (good). However, the colours on the plot now change (bad). See the example screenshots below from the COVID dataset that we use for the workshops. When viewing 'All' samples or each individual sample, the cluster colours on the plot change. This should not happen. There's still something weird going on.
<img width="752" alt="Screenshot 2021-12-07 at 10 44 34" src="https://user-images.githubusercontent.com/74908153/145015012-7aee37b2-6446-4c1f-b916-b01d127fd682.png"


training time

Hi, thanks for your nice work and open code! I try to train the single video using the code, but it takes an hour using A100. Is it normal? Hoping for your answers.

This is abnormal. Can you post more information here?


tree-sitter: update grammars to fix nvim-treesitter for vim syntax

Description of changes

tree-sitter-vim is outdated and older than nvim-treesitter's queries, causing highlighting failures.
After the update, :checkhealth nvim-treesitter reports no errors and the highlighting works well.
Also add me as maintainer and update keys (can be verified via GitHub).

Result of nixpkgs-review run on x86_64-linux 1

16 packages built:

tree-sitter-grammars.tree-sitter-c-sharp
tree-sitter-grammars.tree-sitter-dart
tree-sitter-grammars.tree-sitter-elixir
tree-sitter-grammars.tree-sitter-go
tree-sitter-grammars.tree-sitter-haskell
tree-sitter-grammars.tree-sitter-html
tree-sitter-grammars.tree-sitter-java
tree-sitter-grammars.tree-sitter-latex
tree-sitter-grammars.tree-sitter-markdown
tree-sitter-grammars.tree-sitter-org-nvim
tree-sitter-grammars.tree-sitter-php
tree-sitter-grammars.tree-sitter-pug
tree-sitter-grammars.tree-sitter-ql
tree-sitter-grammars.tree-sitter-rust
tree-sitter-grammars.tree-sitter-scala
tree-sitter-grammars.tree-sitter-vim

Things done

Built on platform(s)

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

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

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

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

Tested via neovim

22.05 Release Notes (or backporting 21.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Note: Due to #165722, tree-sitter-nix is not updated here.


Add recursive-include tests * to MANIFEST.in.

Note: #1743 should be merged first. (It would be bad if this went out and not that.)

Codecov Report

Merging #1744 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master   #1744   +/-   ##
========================================
  Coverage      84.9%   84.9%
  Complexity     4495    4495
========================================
  Files           432     432
  Lines         17830   17830
  Branches       1880    1880
========================================
  Hits          15139   15139
  Misses         2032    2032
  Partials        659     659

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 8e94265...15fa8b8. Read the comment docs.


User custom shortcut with user snippet (different by extension)

Hi,
I usually like auto insert file header by file extension in sublime (with a plugin).
Since there is no a function full file-header extension in vscode market. And ide developer doesn't tend to add this feature (I am not asking for it) ,  I choose to use snippet instead.
But I find that, it is still not convenient to insert a snippet with out shortcut,
It would be nice to have a "shortcut" attribute for each snippet, like
python.json
{
    "header": {
        "prefix": "header",
        "body": [
            "# -*- coding: utf-8 -*-",
            "# @Author: mithril",
            "",
            "from __future__ import unicode_literals, print_function, absolute_import",
            ""
        ],
        "description": "python file header",
        "shortcut": "ctrl+alt+h"
    }
}

Once vscode detect current file extension is .py , then it allow to use this snippet. In this way, I can create different headers for different language with same shortcut.

You can do that, see https://code.visualstudio.com/docs/editor/userdefinedsnippets#_assign-keybindings-to-snippets.
I haven't test it but it should be like this (in keybindings.json):
{
  "key": "cmd+k 1",
  "command": "editor.action.insertSnippet",
  "when": "editorTextFocus",
  "args": { "langId": "python", "name": "header" }
}


Implement copy data store button properly

Right now, when clicking on the copy data store button, on Safari and other browsers there is no toast notification / alert that the user has added their data store to their clipboard. This should be debugged and tested across

[ ]  Safari
[ ]  Chrome
[ ]  Brave

And any other easily downloadable browsers (Firefox?)

This doesn't have to be hooked up to localStorage code yet but we should make sure we have the right copying logic so that all different types of browsers show the "data copied!" notification, or we build out a custom one.


Stacking multiple notifications, same as inbox stacking but independent

Hi,
I'm trying to do push notification similar to Financial Times app.
Here are some screenshots:

Is there a way I can reach this goal ?

@CGeorges currently the plugin does not support this type of notification. It is possible but someone will need to write the code.

Always no solution for this ?


Lab 1 step 2 it's not clear what to fill in after launching the cloudformation

There are two screens after the initial screen:
Specify Details
Options
without entering values the stack creation failes:
13:07:52 UTC-0600	ROLLBACK_COMPLETE	AWS::CloudFormation::Stack	ecs-deep-learning-stack
13:07:44 UTC-0600	ROLLBACK_IN_PROGRESS	AWS::CloudFormation::Stack	ecs-deep-learning-stack	Parameter validation failed: parameter value for parameter name KeyName does not exist. Rollback requested by user.
13:07:42 UTC-0600	CREATE_IN_PROGRESS	AWS::CloudFormation::Stack	ecs-deep-learning-stack	User Initiated

The above is due to not entering keypair. Lab 1 step 1 should mention to make sure to create the key pair in the zone Ohio (us-east-2)
Oregon (us-west-2) to match cloudeformation link provided by zone 2. Otherwise the key pair would not be available in step 2.

I put in a screenshot that tells you to make sure you put in a keypair and also create it in the same region.
Thanks!


Decide on sponsor tiers for Council of Paris 2019

Typically, we have had:

Community Tier -- a low cost tier equivalent to $1000USD worth of ETH
Video -- $3000USD
Food -- $3000 - $5000USD (can be smaller by splitting out coffee & lunch)
Venue -- depends on cost

This has all been driven by costs, plus a good 30% or so buffer.
@ethernian do you have this somewhere yet? Are you taking ownership of this? I can build this into the budget #43, please let me know.

Boris,
could you suggest more sponsors and put them into the spreadsheet?

one more question:
how do you deal with unspent sponsors money?
Is it ok to have a buffer and to raise more funds or general expectation is to meet the expected expenses exactly?

@ethernian you can look at past sponsors from the budget sheets. I don’t have a big list anywhere.
Yes, I recommend raising “more” than is needed — cost plus a buffer. Once I have the budget filled out we’ll know what we need.
We have the ETH in the donations wallet that includes previous funds we can use.

This is in progress. Due date this Friday.
Can I get the access for managing the backlog?


Add get_params() and set_params() to QKRR

Can't set "gamma" parameter when using "gaussian" outer_kernel in PQK => didn't manage to fix this
Modified FQK such that evaluate_duplicates and mit_depol_noise is also returned from get_params(deep=True) -> not sure if we really want this?
Do we want to include the regularization parameter into getters and setters?

Modified FQK such that evaluate_duplicates and mit_depol_noise is also returned from get_params(deep=True) -> not sure if we really want this?

Thanks for fixing that, forgot about that issue

Can't set "gamma" parameter when using "gaussian" outer_kernel in PQK => didn't manage to fix this

very strange, I will take a look.

Yes, exactly. I can take care of this


Handle CSV format

Sub issue of https://github.com/meilisearch/MeiliSearch/issues/1593
⚠ All the implementation details are available in this section of the specification. Please take a look before starting the implementation.

Basic behavior
When adding or updating documents (POST/PUT /indexes/:uid/documents), MeiliSearch should accept the Content-Type: text/csv and the corresponding data should be sent in CSV format.
Cf this part in the spec
The formatting rules for CSV accepted by MeiliSearch are described here in the spec.
Error handler
Also related to this issue
⚠ All the errors are sent synchronously
List of expected errors related to the behavior:

Omitted Content-Type header will lead to a 415 Unsupported Media Type - missing_content_type error code.
Sending an empty Content-Type will lead to a 415 Unsupported Media Type - invalid_content_type error code.
Sending a different Content-Type than application/json, application/x-ndjson or text/csv will lead to 415 Unsupported Media Type -  invalid_content_type error code.
Sending an empty payload will lead to a 400 Bad Request - missing_payload error code.
Sending a different payload type than the Content-Type header should return a 400 Bad Request - malformed_payload error code.
Sending a payload excessing the limit will lead to a 413 Payload Too Large - payload_too_large error code.
Sending an invalid CSV format will lead to a 400 bad_request - malformed_payload error code.

The expected implementation of the different error:
missing_content_type
HTTP Code: 415 Unsupported Media Type
{
    "message": "A Content-Type header is missing. Accepted values for the Content-Type header are: :contentTypeList",
    "code": "missing_content_type",
    "type": "invalid_request",
    "link": "https://docs.meilisearch.com/errors#missing_content_type"
}

invalid_content_type
HTTP Code: 415 Unsupported Media Type
{
    "message": "The Content-Type :contentType is invalid. Accepted values for the Content-Type header are: :contentTypeList",
    "code": "invalid_content_type",
    "type": "invalid_request",
    "link": "https://docs.meilisearch.com/errors#invalid_content_type"
}

missing_payload
HTTP Code: 400 Bad Request
{
    "message": "A :payloadType payload is missing.",
    "code": "missing_payload",
    "type": "invalid_request",
    "link": "https://docs.meilisearch.com/errors#missing_payload"
}

malformed_payload
HTTP Code: 400 Bad Request
"message": ":syntaxErrorHelper. The :payloadType payload provided is malformed.",
"code": "malformed_payload",
"type": "invalid_request",
"link": "https://docs.meilisearch.com/errors#malformed_payload"

Hello,
Is it possible to add gzip compressed csv files with Content-Encoding: gzip header to increase transfer speed ? Also we can use gzip to transfer other formats like json, ndjson etc...

Hello @ozgurhangisi 👋
This is something we want to add in the future 😇
We've added a discussion in our product repository https://github.com/meilisearch/product/discussions/227

@gmourier Thank you so much for your fast response.
It will be great feature for us to implement Meilisearch faster. Because we store our product information in aws s3 with gzipped csv format. So we have to unzip and convert the data to json each time before we transfer the product data.
So csv+gzip features give ability to transfer product data directly to meilisearch and implement faster for lots of people.

@gmourier, @curquiza I have just noticed that the error payloads are using a new umimplemented format. The actual error payloads will look like this:
{
  "message": "A Content-Type header is missing. Accepted values for the Content-Type header are: \"application/json\", \"application/x-ndjson\", \"test/csv\"",
  "errorCode": "missing_content_type",
  "errorType": "invalid_request_error",
  "errorLink": "https://docs.meilisearch.com/errors#missing_content_type"
}

@MarinPostma Yes, this format will come with https://github.com/meilisearch/specifications/pull/61 in the future. I've kept the next format for the example. This is expected to have the format you describe here for v0.23!


Tests Don't Pass on Tensorflow 0.11rc0

Testing with Python2 tensorflow 0.10.0 runs successfully.
With 0.11.0rc0, I get errors:
tests/run_all_tests.sh:
Running simple test
Running env_test.py
.E...........E.EE.EE.....
======================================================================
ERROR: testConcat (__main__.EnvTest)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "tests/env_test.py", line 165, in testConcat
    self.assertEqual(env.tf.concat(0, 5), 5)
  File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 867, in concat
    dtype=dtypes.int32).get_shape(
  File "/local/dev/imperative/imperative/__amalgam__.py", line 142, in get_shape
    shape_tensor = self.env.tf.shape(self)
  File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 137, in shape
    return shape_internal(input, name, optimize=True, out_type=out_type)
  File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 160, in shape_internal
    input_shape = input_tensor.get_shape()
  File "/local/dev/imperative/imperative/__amalgam__.py", line 142, in get_shape
    shape_tensor = self.env.tf.shape(self)
  File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 137, in shape
    return shape_internal(input, name, optimize=True, out_type=out_type)
  File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 160, in shape_internal
    input_shape = input_tensor.get_shape()
  File "/local/dev/imperative/imperative/__amalgam__.py", line 142, in get_shape
    shape_tensor = self.env.tf.shape(self)
  File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 137, in shape
    return shape_internal(input, name, optimize=True, out_type=out_type)
  File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 155, in shape_internal
    with ops.name_scope(name, "Shape", [input]) as name:
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/usr/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 4148, in name_scope
    g = _get_graph_from_inputs(values)
  File "/usr/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 3916, in _get_graph_from_inputs
    if isinstance(op_input, (Operation, Tensor, SparseTensor, IndexedSlices)):
RuntimeError: maximum recursion depth exceeded while calling a Python object

This is only the very beginning and end of a very long, repetitive error.  Some kind of recursion.

Thanks for the issue (it seems my notifications were not setup). I've indeed not tried testing with Python3, it seems useful to have it run on both so I'll make it work


update getting started for mac

Coverage remained the same at 96.838% when pulling 2e8899148646040b8c698810073598b38bd48c1c on update-docs into 1d6c9cd233634cfe9c66d0747e1839ca883aa161 on master.


I recommend @universato as the owner.

Hi NetworkX.rb developers @npochhi, @athityakumar
cc: @pjotrp, @v0dro
I am @kojix2, a member of the SciRuby and IRuby projects.
I would like to put it simply.
I recommend @universato as the one of the owners of the project. He has made many improvements to the NetworkX.rb project. Some improvements were sent as pull requests. Unfortunately, the pull request was not reviewed and was recently closed. (#21) (#23) (#25) So I created a fork on sciruby-jp and added commit rights to universato. ((sciruby-jp) is not a real organization as it has been inactive for quite some time. I had the right to create a repository in that namespace, so I simply used it.)
repo: https://github.com/sciruby-jp/networkx.rb
I did not want to do this. Because if @universato had commit rights to the SciRuby/networkx.rb repository from the beginning, this work would not have been necessary at all.
There are many OSS projects in the world. However, most of them do not get new committers. Only a few worthy projects have acquired new maintainers and committers to keep them alive. Otherwise, our libraries would disappear without being used. Therefore, it is very valuable for a project to get new committers. This way, the library becomes truly useful and the founder is honored.
Currently, sciruby-jp/NetworkX.rb is 157 commits ahead.
Please consider my proposal.
Best regards

Hey @kojix2 👋
Thanks for proposing this - and I completely agree with adding new owners/committers to the code repos so that the projects keep getting developed actively (and get an active community too).
Looks like I don't have access to provide admin/write access to anyone in this repo - but I'd be completely aligned for one of the GH repo/org admins to provide write/admin access to @universato! Thanks for this suggestion 😄

Let's discuss on matrix. Please join
https://matrix.to/#/#sciruby:matrix.org

Thank you @athityakumar for your reply and confirmation of access rights!

Looks like I don't have access to provide admin/write access to anyone in this repo

That sounds serious. If you do not have the administrative authority, then who currently has the authority? Does @npochhi have administrative privileges?  Maybe none of the currently active members can make the change...
Thank you @pjotrp
I joined sciruby:matrix.org on 2022-03-18.
However, I think there is a general consensus among the currently active members. The problem is that we don't know who has admin rights and may not be able to contact them.

I added @universato and gave @athityakumar admin rights to the repo

With your help, this problem seems to be finally solved.
@universato, please try to see if the commit right works properly.
Many thanks to you all.

@athityakumar
Hi, I'm universato.
I became a member of SciRuby.
However, I do not seem to have the right to commit and merge PR on this repository.
I have a will to maintain this repository now, which is great asset.
pjotrp-san gave you admin rights, so could you give me the rights too?
And, pjotrp-san wants to talk with you in matrix.
Can you please join matrix.

@universato - Provided you w/ the required access! 👍

@athityakumar
Thank you very much.
I can commit 🎉
I have one more request.
I and kojix2 want to update gem networkx.
Could you please add me(universato) as owner of the gem?
https://rubygems.org/gems/networkx
https://rubygems.org/gems/networkx/owners

sciruby-jp/networkx.rb has been archived .


 Also I would assume that you would want to parent everything

Yeah I fixed the wiki url
I can probably delete the extra data when I get the chance tomorrow
How do you parent things

don’t add yourself to cool dudes only moul can do that


Unpublished Drafts a user has access to are not returned via /api/user/records

Is your feature request related to a problem? Please describe.
Hi, can one get information about unpublished drafts that a user has been granted access to via the API?
Say User A creates a new draft and uses the "Share" Button on the deposit form to grant access to User B. User B wont be able to find the draft anywhere, it's only accessible if they know the exact URL. It would be great if one could get the data via /api/user/records as it is for published records from other users one has access to.
The docs state that GET /api/user/records ist "Used for interacting with the records and drafts you can edit."
-> when a user has been granted access ("Can manage" in the Share access modal of a draft) by another user to a draft of this user the draft does in fact not show up via /api/user/records.

I Think the problem is in invenio_rdm_records.services.search_params.MyDraftsParam: changing the search filter to "term", **{"is_published": False} yields the drafts to the users who have at least edit permission.


Question: How can I open ranger files in a new buffer instead of in the floating window?

I'm not sure how to debug it. It says health ok. I wil keep looking into the code.

The parent directory of pynvim should be installed in the same path as ranger. You can run eval import pynvim in ranger to check out.

I guess your open candidate is nvim.
Q: Couldn't open some special types of files by using Enter or l in Ranger.
A: Please follow the below steps to solve this issue:

The behavior of opening the file in Ranger depends on rifle.conf.
Press r to make sure that the ${VISUAL:-$EDITOR} -- "$@" is the best candidate in Ranger.
If the case 1 is false, change the code in rifle.conf like that:

# Tried launching like this
VISUAL=nvim EDITOR=nvim nvim

# With this on rifle.conf
mime ^text,  label editor         = nvim -- "$@"

rnvimr opens nvim, the problem is it does it in a floating anidated window instead of nvim itself.  The plugin https://github.com/rafaqz/ranger.vim works as expected. The issue is not of ranger but of this plugin.
Please could you tell me what ranger/pynvim/nvim versions are you running?

RTFM.

I found several other issues with the same problem. Solved with:
let g:rnvimr_vanilla = 1


Non-Colliding Tissue Block

One of the registration sets in Federated and the VCCF paper contains a "floating tissue block" (not colliding with any ASes and just floating outside the female small intestine)
https://hubmapconsortium.github.io/hra-registrations/hubmap-intestine-snyder-2023/
Here's a screenshot:

We have already fixed this non-colliding TB on the HuBMAP portal: if you click on the block and go to the portal, retrieve the JSON, and open it in the RUI, you will see a very different-looking and colliding block.
@bherr2, in my typical workflow, I replace the original JSON with the new one but since this set (hubmap-intestine-snyder-2023) has been imported from the portal and does not have the YAML/JSON structure, I cannot fix the issue on my end.

Ok, I went in and updated the specific rui location in the rui_locations.jsonld to match what was on the portal, see https://github.com/hubmapconsortium/hra-registrations/commit/4c896a31a4e690d16df5618c06f38f1f5439cba4. You will need to do the federating, but the rui location should be fixed now.


Support a system-wide edflib (fix #149)

Adds an environment variable SYSTEM_EDFLIB. When it is set empty or to 1, the bundled EDFlib sources are not compiled, and a system-wide edf library is linked instead.

Thanks for the PR, that looks interesting indeed. I'll have a look at it the coming days. As it is purely additional and does not infer with the commonly used install mode, it should be fine to merge.

I see now that the bundled EDFlib is actually a fork, with at least some added error codes and an extra size-check parameter to edfopen_file_readonly. As long as pyedflib needs to fork EDFlib, this PR isn’t actually useful.

I see now that the bundled EDFlib is actually a fork, with at least some added error codes and an extra size-check parameter to edfopen_file_readonly. As long as pyedflib needs to fork EDFlib, this PR isn’t actually useful.

Yes, that is true. However, we could think about making some of the changes optional, I don't think all of them are extremely important. On the other side, it should be no problem to recompile the source for installing the lib.


Restructure public cloud deploy section

Moved all pages related to deploying in a public cloud under a single point in the deploying section.
Minor tweaks to text to fix links and routing.

Thank you for the note. I have updated the link levels as noted in the latest commit.


[Question]: docker compose up -d failed

Describe your problem
I'm sorry to bring this up again, but after many, long attempts, I still face the same problem. First I try to start the server as follows

But I tried many times and still got the same result

Next I build from the source code

Since I am in China, I chose the CN.yml file. ragflow successfully pulled the file after many attempts, and the speed was relatively fast, but minio and redis were slow in pulling and often failed after one hour, as shown in the figure

The network I am in is a campus network with no VPN, but the docker source is set up with multiple domestic sources. Is there anything else I can try? Or is the problem just my network? Thank you

Modify docker-compose-base.yaml.
Change the image address to domestic docker hub that you can reach.

Modify docker-compose-base.yaml. Change the image address to domestic docker hub that you can reach.

I try to compose after modifying the docker source. ragflow is now complete, but the progress bar of minio doesn't make any progress (try many times), so I try to modify the image of minio. From the quay. IO/minio minio: RELEASE. The 2023-12-20 T01-00-02 z, with minio/minio, but I don't know whether this is reasonable. After modification, the compose operation is completed, and the terminal output is shown as below.

This is not the same as when I was successful before. Do you know where I went wrong? The page on port 80 also failed to load.


Added a whohas command which lists all members with the mentioned role

~whohas @role creates an embedded message which lists the information of all server members with the given role
Examples

Looks good +1


Tahoma

Hi,
Im using Tahoma in homeassistant (95.4)
but it only allows me to close, not open (the button for open is faded out)
Can anybody help me?
Regards
Mads

@mjuhldk checkout and ask your question on the Community Forums.  The issue tracker isn't the right place to be asking question like the request you have made.


fix getDaysSince comes from epochdate

and update package for google-play-scrapper for getting it works

Have you thoroughly tested the different ASO methods with gplay to make sure they work? There have been many changes since in the latest google scraper versions, I'm surprised to see there was no need to adapt the store code.

closing in favor of #19


cred brief attr values are raw; remove dead code from holder routes

Signed-off-by: sklump<EMAIL_ADDRESS>

Codecov Report

Merging #732 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #732      +/-   ##
==========================================
- Coverage   99.01%   99.01%   -0.01%
==========================================
  Files         256      256
  Lines       13922    13915       -7
==========================================
- Hits        13785    13778       -7
  Misses        137      137


Guns Out Redirect

NEED:
dosomething.org/flex and dosomething.org/gunsout
TO REDIRECT TO:
https://www.dosomething.org/us/campaigns/guns-out
By EOD Wednesday, 3/2. Thanks!!

@namimody Re-direct is in place!

THanks @sheyd!!


Windows installation using install.bat fails for v0.11.0-rc.2

Bug Report
PS C:\Users\Administrator\tce-pkg\tce-windows-amd64-v0.11.0-rc.2\tce-windows-amd64-v0.11.0-rc.2> .\install.bat
        1 file(s) copied.
A subdirectory or file C:\Users\Administrator\.config\tanzu-plugins already exists.
default-local\discovery\standalone\builder.yaml
default-local\discovery\standalone\cluster.yaml
default-local\discovery\standalone\codegen.yaml
default-local\discovery\standalone\conformance.yaml
default-local\discovery\standalone\diagnostics.yaml
default-local\discovery\standalone\kubernetes-release.yaml
default-local\discovery\standalone\login.yaml
default-local\discovery\standalone\management-cluster.yaml
default-local\discovery\standalone\package.yaml
default-local\discovery\standalone\pinniped-auth.yaml
default-local\discovery\standalone\secret.yaml
default-local\discovery\standalone\unmanaged-cluster.yaml
default-local\distribution\windows\amd64\cli\builder\v0.11.2\tanzu-builder-windows_amd64.exe
default-local\distribution\windows\amd64\cli\cluster\v0.11.2\tanzu-cluster-windows_amd64.exe
default-local\distribution\windows\amd64\cli\codegen\v0.11.2\tanzu-codegen-windows_amd64.exe
default-local\distribution\windows\amd64\cli\conformance\v0.11.0-rc.2\tanzu-conformance-windows_amd64.exe
default-local\distribution\windows\amd64\cli\diagnostics\v0.11.0-rc.2\tanzu-diagnostics-windows_amd64.exe
default-local\distribution\windows\amd64\cli\kubernetes-release\v0.11.2\tanzu-kubernetes-release-windows_amd64.exe
default-local\distribution\windows\amd64\cli\login\v0.11.2\tanzu-login-windows_amd64.exe
default-local\distribution\windows\amd64\cli\management-cluster\v0.11.2\tanzu-management-cluster-windows_amd64.exe
default-local\distribution\windows\amd64\cli\package\v0.11.2\tanzu-package-windows_amd64.exe
default-local\distribution\windows\amd64\cli\pinniped-auth\v0.11.2\tanzu-pinniped-auth-windows_amd64.exe
default-local\distribution\windows\amd64\cli\secret\v0.11.2\tanzu-secret-windows_amd64.exe
default-local\distribution\windows\amd64\cli\unmanaged-cluster\v0.11.0-rc.2\tanzu-unmanaged-cluster-windows_amd64.exe
24 File(s) copied
Installing plugin 'builder:v0.11.2'
✔  successfully installed 'builder' plugin
Installing plugin 'codegen:v0.11.2'
✔  successfully installed 'codegen' plugin
Installing plugin 'cluster:v0.11.2'
✔  successfully installed 'cluster' plugin
Installing plugin 'kubernetes-release:v0.11.2'
✔  successfully installed 'kubernetes-release' plugin
Installing plugin 'login:v0.11.2'
✔  successfully installed 'login' plugin
Installing plugin 'management-cluster:v0.11.2'
Warning: Failed to initialize plugin '"management-cluster"' after installation. Downloading TKG compatibility file from 'projects.registry.vmware.com/tkg/framework-zshippable/tkg-compatibility'
Error: unable to ensure prerequisites: unable to ensure tkg BOM file: failed to download TKG compatibility file from the registry: failed to list TKG compatibility image tags: Get "https://projects.registry.vmware.com/v2/": x509: certificate signed by unknown authority
✔  successfully installed 'management-cluster' plugin
Installing plugin 'package:v0.11.2'
✔  successfully installed 'package' plugin
Installing plugin 'pinniped-auth:v0.11.2'
✔  successfully installed 'pinniped-auth' plugin
Installing plugin 'secret:v0.11.2'
✔  successfully installed 'secret' plugin
Installing plugin 'conformance:v0.11.0-rc.2'
✔  successfully installed 'conformance' plugin
Installing plugin 'diagnostics:v0.11.0-rc.2'
✔  successfully installed 'diagnostics' plugin
Installing plugin 'unmanaged-cluster:v0.11.0-rc.2'
✔  successfully installed 'unmanaged-cluster' plugin
        1 file(s) copied.
"Installation complete!"
"Please add C:\Program Files\tanzu permanently into your system's PATH."
PS C:\Users\Administrator\tce-pkg\tce-windows-amd64-v0.11.0-rc.2\tce-windows-amd64-v0.11.0-rc.2>

Expected Behavior

v0.11.0-rc.2 should install be without errors
Steps to Reproduce the Bug

Download the zip
Extract it
Run install.bat

Screenshots or additional information and context

Environment Details

Build version (tanzu version): v0.11.0-rc.2
Deployment (Managed/Unmanaged cluster):
Infrastructure Provider (Docker/AWS/Azure/vSphere):
Operating System (client): Windows

Diagnostics and log bundle

This got missed here https://github.com/vmware-tanzu/community-edition/runs/5681928606?check_suite_focus=true#step:3:144 😅

Related / Duplicate - #1398

Verified this is the same issue, however now the plugin's init get's triggered during install so it's surfacing.

The cli is still installed correctly and users (on windows) may still need to use the following workaround:
https://github.com/vmware-tanzu/community-edition/issues/1398

I think this might be the solution to the problem... we shouldn't even be doing a tanzu init on the install in this package:
https://github.com/vmware-tanzu/community-edition/blob/main/hack/release/install.sh#L124-L126

This behavior is a dupe of https://github.com/vmware-tanzu/community-edition/issues/1398
Verified that install still succeeds but you may need to do the workaround described in https://github.com/vmware-tanzu/community-edition/issues/1398 to resolve the BoM.


Log no action at a DEBUG level

May people turn off INFO messages since messages like "no action: I am (patroni1), the leader with the lock" are emitted every HA loop run. Those are noisy and not terribly useful, as Patroni emits a different message anyway when the status quo changes.
This commit changes the default behavior by showing the "no action" message as an INFO for the first time, demoting subsequent repeated "no action" messages to DEBUG.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

5 of 6 (83.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 99.768%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

patroni/main.py
5
6
83.33%

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
13776

Relevant Lines:
13808

💛  - Coveralls


Featured image at the beginning of a post/page

I would like to be able to set a featured image in the front matter that is shown at the beginning of a post as discussed here.
Bloggers that are migrating from WordPress to Hugo expect to have the capability of setting a main image (called featured image) for a post, that will be used as a thumbnail in homepage and at the top of the post.
The most popular plugin to convert WordPress posts to markdown generates the following fields in the front matter:
title:
author:
type:
date:
url:
featureImage:
categories:
tags:
It would be nice to be able to use the featureImage field or something similar to set a main image that is shown the top a post or page.
In the Mainroad theme, If I set a thumbnail: image.jpg in the front matter, it's used as thumbnail shown at the homepage and on top of a post/page.
The PaperMod theme for the same function uses this format:
cover:
image: image.jpg
The image.jpg will be shown as a thumbnail in the homepage and at the beginning of the post/page.
I want to replicate the current design I have on my WordPress blog to migrate to Hugo. This is easy to do with some Hugo themes like Mainroad and Papermod for example.

Another example is the Clarity theme.

Article thumbnail image
thumbnail: "images/2020-04/capv-overview/thumbnail.jpg"
Article featured image
featureImage: "images/2020-04/capv-overview/featured.jpg"

There is images parameter for this already, but it MUST be an array, not a string. That is the limitation of Hugo twitter card and open graph templates.
You can change it via editor easily, take VS Code as an example(replace with regular expression):

thumbnail: (.+) to images: [$1].

As for the featured images shown on the beginning of posts, I'll handle it this weekend.

@LITUATUI FYI, I just added a new parameter for toggling this feature, default to false, so that users will not be confused after upgrading the theme, see also #473. You'll need to turn it on by setting post.featuredImage as true:
// config/_defualt/params.toml

[post]
  featuredImage = true

Sorry for the inconvenience.

Fantastic, thanks a lot!

Thanks @razonyang.
I actually prefer this new more flexible way, so everybody is happy.

Thank you for this feature. Always wanted to have it. :)


Implement Google job store (resolves #605, resolves #832)

Encryption not yet supported

@hannes-ucsc I think google tests will be skipped until the .boto file on jenkins master is distributed to the slaves

I'll do an in-depth review ASAP.

Change all inline comments to begin with upper case. Change all log messages to begin with upper case and end in period.

Two main questions:
Firstly, is there a limit on the size of a single-request upload? I've seen recommendations to use multipart or resumable uploads for files > 5MiB but I don't see a hard limit documented anywhere. Even if there isn't a hard limit we might still want to use multipart upload because it would make retries feasible. You can't really retry a 1GB upload if you have to start from scratch every time.
Second, how do you feel about the test coverage of the stats and logging code? That seems reasonably complex to me and might warrant a special, more aggressive test than what we currently have.
Last but not least, you should document the Google job store in the Sphinx doc. In yesterday's sprint planning we deemed Google and Azure support "experimental" and the documentation should clearly state that.

@hannes-ucsc when you get a chance can you move the google .boto file from slave-secrets in jenkin master to the slaves? I think thats why the google tests didn't run on this PR.
As we discussed I created #871 to track multipart uploading.
I think that if we decide to stick with the current incarnation of the stats and logging we should include a more aggressive test but following @benedictpaten's comments at the sprint demo meeting it might make more sense to lose the complexity and just live with google's eventually consistent listing. This would mean that we wouldn't be able to guarantee that we will receive the stats or worker's logs but would be much simpler and efficient.
I'm leaning towards simplifying the code - this current approach works but is noticeably slower and will likely be a pain to maintain.

+1 on the simplification. Maybe add a grace period of 10s at the end?

Do you still need .boto.prelim?

Added .boto to the slave deployment.
Jenkins, test this please.

I don't need .boto.prelim, it was a draft version of the boto file I was testing out. Sorry, I thought I deleted it.

Failed on unrelated Azure issues

Jenkins, test this please.

I've reviewed this and am happy to merge. @cket , are you happy now?

Yes, I think it's ready to merge

On May 24, 2016, at 2:36 PM, Benedict Paten<EMAIL_ADDRESS>wrote:
I've reviewed this and am happy to merge. @cket , are you happy now?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub


Feature Request: Dark Mode Export

Can we have an option to export with dark mode? Thanks!

Hi,
You can have a workaround using CSS with the @media print thing.

Hi, You can have a workaround using CSS with the @media print thing.
How so?

Hi, You can have a workaround using CSS with the @media print thing.
How so?

In short, you have a theme.css file in your .obsidian directory at the root of your vault its the file that holds the theme of your current theme. (i only have one theme, idk what happend when you have multiple ones)
Then you add a code  like :
@media print {
   h2 {
      color: red,
    }
}

and then when you export to pdf you should see the ## tests as red


Carla WeatherId

I'm using carla 0.8.2 (stable version), I modify manual_control.py (line 81=5, MidRainyNoon), and it is not raining in the simulator, see attached image.

Hi @dhernandez0! how are you? :)
So you are doing:
WeatherId=5,

and is not raining, right?
Did you changed anythig from the client? Make sure you are calling scene = self.client.load_settings(self._carla_settings) inside _on_new_episode().
Also, did you deleted self._carla_settings.randomize_weather()?
Cheers!

according to https://carla.readthedocs.io/en/latest/carla_settings/#weather-presets
5 is MidRainyNoon, then rainy is not rain? but likely to rain?
Oh! I didn't remove "self._carla_settings.randomize_weather()" that could be the problem, I'll check that

@dhernandez0 Acording to @TheNihilisticRobot, "Rainy" is a bit of rain.

It works now.was because of the "self._carla_settings.randomize_weather()" line. Thanks 👍


2.0.0-alpha.1 Some Problems!!!!

很多extension在tiptap1里用的挺好的，到2就不行了
我已经为了2把项目升级到vue3了
table里面选格子会报错，无法合并
heading也有些问题，还有其他很多没有试到的
console里面也有很多的警报
希望大佬能解决一下哦~
有啥地方可以一起讨论升级到tiptap2的问题和重构吗

This version fixes all the issues: https://github.com/okijhhyu/element-tiptap-vue3 :)

This version fixes all the issues: https://github.com/okijhhyu/element-tiptap-vue3 :)

fantastic!!!!
That solved a big problem!
I'm almost ready to fix it by myself through many many extensions~
so timely!
thx

This version fixes all the issues: https://github.com/okijhhyu/element-tiptap-vue3 :)

Fantastic!!!! That solved a big problem! I'm almost ready to fix it by myself through many many extensions~ So timely! Thx

I can relate! I spent like 4 hours yesterday trying to get an older version of Quasar's TipTap because I wanted all the cool buttons and menu bars.. even though I don't use (and don't want to use) Quasar in my app! Then I found element-tiptap but like everyone I was bummed out that the alpha was old, not working great and not being maintained. So happy I found this fork!


💡 Vocabulary Structure Proposal

Description
For the overall structure of the repository I would suggest the following:
General approach: from generic / common terms to specific (collecting most  generic terms in a kind of "top-level vocabulary") - each term should be defined, if possible, only once, and as broad as possible:

general chemistry / physics ( molecules, reactions, physical measurements, light, absorbance, ...)
catalysis (terms that are in common to all areas of catalysis (catalyst, .... )
one vocabulary for each catalytic field: heterogen. cat., homogen., biocatalysis, photocatalysis, electrocatalysis
process and process modelling vocabulary (reactors,  heat-exchange, material exchange, ...)

(I will create the corresponding sections in the config file)

We should discuss with @nmoust . - I proposed to him some guidelines how to model (in private). For example we should use broader/narrower for is_a relation put not for part_of. part_of is collection territory.

@markdoerr - #48 is the result of what @nmoust and I had worked on internally. We propose few top level concepts and give some reasons for the proposed structure.

Closing this in favor of #48. If required we can later create specific new issues later (after implementing the hierarchy changes of related to #48).


h-card classname should be u-logo

The logo at the top of the page should be (I think) u-logo and not u-photo. The former is for a logo of the person or organization, the latter for a photo.

Closed with #46


How can I customize withCredentials option in axios?

Description
It seems that withCredentials option is hard coded when using axios client.
How can I set it?

Same question, but i am using client-fetch, and don't understand, how to set withCredentions to true. Need Help

I haven't tried it yet, but I see that the generated code is exporting an object named OpenAPI. It seems like importing and directly changing it is possible.
OpenAPI.WITH_CREDENTIALS = true

@grifondopala Are you using the legacy Fetch client or the standalone package?

I am using @hey-api/client-fetch

@soonoo I believe you're right about being hard-coded. This would be addressed by a standalone Axios client

@grifondopala you can pass any Fetch API arguments to the client when you're creating it. You could even supply your own fetch instance

@mrlubos you mean, that i should write
createClient({ withCredentials: true })
?

@grifondopala no, you will want to pass the native Fetch API option which is credentials. If you play with the StackBlitz example, you can see it's autocompleted in createClient(). withCredentials is the Axios API.

@mrlubos Than you!
createClient({ credentials: "include" })
works for me

Hey @soonoo, if you're able to switch to the new Axios client, it's available there simply as passing withCredentials. More in the docs

I'm going to put a help wanted label on this as the new clients are a priority over maintaining the old ones

i wanted to use the new ones as well but the typescript of 5x is a deal breaker it breaks a lot of dependencies.

Is it @dagadbm? Because the main package has the same requirement https://github.com/hey-api/openapi-ts/blob/main/packages/openapi-ts/package.json#L70

Or do you mean you can't use the openapi-ts package at all?

I have the 0.33.2 version but I cannot update it any further because of the typescript.
I think the only thing that I can't do is mimick the axios error:
axios.interceptors.response.use(processData, processErrors);
OpenAPI.interceptors.response.use((request) => {
  if (request.status >= 200 || request.status <= 299) {
    return processData(request);
  } else {
    const error = new AxiosError<DatafoldError>(
      request.statusText,
      request.status,
      request.config,
      request.request,
      request,
    );
    return processErrors(error);
  }
});

i dont think things map out 1:1 from what I see.
But I won't take any more of your time. Its incredible how much stuff has ben evolving here.

@dagadbm I'll need to improve the Axios client, thanks for the feedback! That's a bummer about being stuck on v0.33.2, lots of good stuff since then. What kind of errors are you seeing? Any chance you know what has changed (presumably) in v0.34.0 that prevents you from upgrading?

Its the typescript requirement of 5.0
I cannot update it on my side I get a whole bunch of other conflicts with other packages.

Which version are you on?

Going to close this issue, please consider upgrading to the new clients. If anyone needs it for the legacy clients, we are open to pull requests. @dagadbm please open a separate issue if you think the TypeScript requirement should be addressed


3.0.0.RC1 generated test compares kafka header to String, though it is byte array

I am using version 3.0.0-RC1 of Spring Cloud, and I'm trying to create a test for Kafka. In it comes a header test.
So the contract says something like:
outputMessage:
  sentTo: "booked"
  headers:
    BOOK-HEADER: "foo"

But when you create a Kafka ProducerRecord it only takes headers as byte-array values, not string. So when I send a message from somewhere in the code like:
var producerRecord = new ProducerRecord<String, BookingResult>("booked", ...);
producerRecord.headers().add("BOOK-HEADER", "foo".getBytes(StandardCharsets.UTF_8));
this.kafkaTemplate.send(producerRecord);

And the generated test is:
ContractVerifierMessage response = contractVerifierMessaging.receive("booked", ...);
assertThat(response.getHeader("BOOK-HEADER").toString()).isEqualTo("foo");

It will fail with something along the line of "Expected 'foo' given '[B@58372a00'".
Something I could do is create a custom ContractVerifierMessaging bean that does this header conversion for me, but feels like it should be able to be solved in a better way?
I can understand if this is not so simple, since the contract does state a string, and that is not what is returned.
But I can't really see how this is supposed to be done properly?

It is an interesting problem because header values in Kafka are byte[] (as you have pointed out) and the content in those byte[] is application specific. There is no type information associated with them. The reasoning why that is the case can be seen in KIP-82.
Additionally, the code that builds that particular clause always calls toString() on the header value (except when number) which will always result as the memory address of the [B@58372a00'" (the header value byte[].toString()) being compared against the contract value ("foo").
It does feel like the header value must be converted in the incoming message in order to match the generated test rules. Again, because the headers can be any arbitrary object and are application specific, converting them all to String would not work in all cases.
@stmated have you poked around the sample projects for any other similar cases doing things w/ Kafka header values?
@marcingrzejszczak I am curious to what your thoughts are on this one?

Sounds good @marcingrzejszczak . I will look into that in the next 1-2 days.

Sounds good @marcingrzejszczak . I will look into that in the next 1-2 days.

The way that I solved it is some week ago is by in my test cases supplying a @TestConfiguration with this:
        @Bean
        @Primary
        public ContractVerifierMessaging<Message<?>> contractVerifierKafkaMessaging(MessageVerifier<Message<?>> exchange) {
            return new ContractVerifierMessaging<>(exchange) {

                @Override
                protected ContractVerifierMessage convert(Message<?> message) {

                    final var stringMap = new HashMap<String, Object>();
                    for (final var e : message.getHeaders().entrySet()) {
                        if (e.getValue() instanceof byte[]) {

                            final var bytes = (byte[]) e.getValue();
                            final var str = new String(bytes, StandardCharsets.UTF_8);

                            stringMap.put(e.getKey(), str);
                        } else {
                            stringMap.put(e.getKey(), e.getValue());
                        }
                    }

                    final var stringHeaders = new MessageHeaders(stringMap);

                    return new ContractVerifierMessage(message.getPayload(), stringHeaders);
                }
            };
        }

Which works, but feels bad for two reasons:

It assumes that any bytes is a string.
It assumes that string is UTF-8.

People mostly do use UTF-8 these days; but it does feel like quite the assumption, and a source of possibly hard-to-solve bugs when your contract stub runner fails with not-matching pairs of strings and you'd assume the error is on the side of the Kafka message and not the test case intermediary.
I am not sure it's the better solution, but I think I'd actually prefer a solution that changed how MessagingHeadersThen.java did its comparison. That it would recognize that it's a byte array and then do multiple attempts at matching for the first header, maybe by even going through Charset.availableCharsets() (but trying UTF-8 and ISO-8859-1 first) and seeing if any of them match, and then using that same discovered charset for the rest of the headers. This would take it as an error if you've used different charsets for different headers, which might even be a good thing.

The way that I solved it is some week ago is by in my test cases supplying a @TestConfiguration with this:
        @Bean
        @Primary
        public ContractVerifierMessaging<Message<?>> contractVerifierKafkaMessaging(MessageVerifier<Message<?>> exchange) {
            return new ContractVerifierMessaging<>(exchange) {

                @Override
                protected ContractVerifierMessage convert(Message<?> message) {

                    final var stringMap = new HashMap<String, Object>();
                    for (final var e : message.getHeaders().entrySet()) {
                        if (e.getValue() instanceof byte[]) {

                            final var bytes = (byte[]) e.getValue();
                            final var str = new String(bytes, StandardCharsets.UTF_8);

                            stringMap.put(e.getKey(), str);
                        } else {
                            stringMap.put(e.getKey(), e.getValue());
                        }
                    }

                    final var stringHeaders = new MessageHeaders(stringMap);

                    return new ContractVerifierMessage(message.getPayload(), stringHeaders);
                }
            };
        }

Which works, but feels bad for two reasons:

It assumes that any bytes is a string.
It assumes that string is UTF-8.

People mostly do use UTF-8 these days; but it does feel like quite the assumption, and a source of possibly hard-to-solve bugs when your contract stub runner fails with not-matching pairs of strings and you'd assume the error is on the side of the Kafka message and not the test case intermediary.
I am not sure it's the better solution, but I think I'd actually prefer a solution that changed how MessagingHeadersThen.java did its comparison. That it would recognize that it's a byte array and then do multiple attempts at matching for the first header, maybe by even going through Charset.availableCharsets() (but trying UTF-8 and ISO-8859-1 first) and seeing if any of them match, and then using that same discovered charset for the rest of the headers. This would take it as an error if you've used different charsets for different headers, which might even be a good thing.

I think that the best solution is to use the middleware based approach (producer: https://github.com/spring-cloud-samples/spring-cloud-contract-samples/tree/master/producer_kafka_middleware and consumer: https://github.com/spring-cloud-samples/spring-cloud-contract-samples/tree/master/consumer_kafka_middleware). I'm starting to consider to deprecate the in-memory approach for the messaging systems, really.

Sounds good @marcingrzejszczak . I will look into that in the next 1-2 days.

@marcingrzejszczak - it looks like I totally dropped the ball on this one. I forgot about it until I saw this reply. I will make sure I follow through w/ the same above comment.
I will probably implement your suggested simple fix. That way, even if embedded is deprecated, this bug gets closed.
As for the deprecation.. I ❤ testcontainers.io but am unable to use them at work due to security concerns around the docker permissions it requires. I don't agree w/ the concerns, but nonetheless we can't use it. I am curious how many other orgs are in this same boat.

I am curious how many other orgs are in this same boat.

Not same boat per se, but I'd say it generally feels very inconvenient to have to have an external dependency (Docker) installed, to be able to use functionality.

Yeah makes sense... The thing is that in this case we are actually replicating a broker functionality in a test scope :grimacing: Also it doesn't have to be docker really. You can work against a running broker system so you could just start kafka / rabbitmq before. I know that it's extremely inconvenient but I'm just thinking out loud about the best approach from maintainability perspective too.


Allow copying currently highlighted symbol to the clipboard

During analysis, it is often useful to copy the names of certain existing symbols in decompiled code, such as variable or function names. In Ghidra, clicking on a symbol does highlight the symbol, but it does not select the text, therefore using the hotkey Ctrl+C does not copy the name of the symbol to the clipboard.
I suggest that the hotkey Ctrl+C copies the name of the currently highlighted symbol to the clipboard if the user has not selected a text region.

I just noticed that the disassembly listing already behaves in this way, but the decompiler does not. It would be very useful if the decompiler had the same feature.

Currently, the Ctrl+C will only work in the Decompiler when there is a selection (not a highlight).  So, right now you will have to first select the symbol name before you can copy it.
I have updated, for 9.1, the copy action to copy the text under the cursor when there is no selection.


Major refactoring

This update decouples newtonsoft.json from the main package, allowing for users to transition to system.text.json or another system without any additional overhead. (🔥represents a breaking change)

🔥The Common part of all namespaces has been removed, this will now be called DragonFruit.Data
🔥Parameterless ApiClients no longer exist, **users should create apiclients using newtonsoft through new ApiClient<ApiJsonSerializer>()
DragonFruit.Common.Data will become a metapackage that installs both DragonFruit.Data and DragonFruit.Data.Serializers.Newtonsoft
File structure refactors
Header updates
🔥 Legacy WebServices have been removed

The publish script needs to be updated to use dotnet pack over the current publish script (Done)

also worth noting a future update will move all the remaining serializers into this project too


app crash after saving Pdf (android )

App crashes when reopening after PDF save.
https://github.com/bithyve/bitcointribe/assets/107177634/57a46b5a-57c2-4228-a6c4-522127cea4b3

Working fine...
https://github.com/bithyve/bitcointribe/assets/61345820/4d0c90c7-1098-4071-9ae6-afc414715ab9

Resolved in Version 2.3.0(620)


Mac gui not masking!

Hey I ran the min setting on CLI and on Mac GUI and the mac version is seemingly completely unperterbed compared to the CLI min setting. Also a nice way to test these is running them against pimeyes. I found that min did not work but low did on the picture. I also wonder if someday some of the masks that do general noise instead of like making my image look like i got beat up will be possibly because the final result of high is pretty terrifying haha!
thanks for building this so i didn't have to! good job!

Did you actually do a diff between the two images to check that the cloaking didn't work? The goal of the cloak is to be imperceptible to human eyes, so not being able to see it is no proof that the cloak failed.
While pimeyes is an interesting tool, it can't actually (afaik) test the efficacy of Fawkes, since it looks like you just upload photos and try pimeyes tries to match it to other photos of you. Fawkes is meant to prevent new models trained on the cloaked images from recognizing you. Fawkes isn't designed to fool existing models (like pimeyes). The fact that Fawkes can defeat pimeyes is more a commentary on the weakness of that model rather than the strength of Fawkes.
We are actively working on ways to improve Fawkes. :) Thanks!


remove some redundant file entries

What issue does this PR address?
Removes some redundant file entries after build automation changes.
Does this PR introduce a breaking change?
No
Please check if the PR fulfills these requirements

[x] The commit follows our guidelines

good catch ;) thanks!


Provisioning via YAML

Our Grafana instance is running in a Kubernetes cluster and, as such, I'm attempting to create ConfigMap resources that will import all necessary dashboards & datasources at creation. I'm running into an issue trying to import this particular datasource.
In querying the API, I was able to glean the following data when I manually added the Azure Monitor datasources:
[
    {
        "id":2,
        "orgId":1,
        "name":"<Name>",
        "type":"grafana-azure-monitor-datasource",
        "typeLogoUrl":"public/plugins/grafana-azure-monitor-datasource/img/logo.jpg",
        "access":"proxy",
        "url":"",
        "password":"",
        "user":"",
        "database":"",
        "basicAuth":false,
        "isDefault":false,
        "jsonData":
            {
                "appInsightsAppId":"",
                "clientId":"<clientId>",
                "cloudName":"azuremonitor",
                "keepCookies":[],
                "subscriptionId":"<subscriptionId>",
                "tenantId":"<tenantId>"},
                "readOnly":false
            },
    {
        "id":6,
        "orgId":1,
        "name":"<name>",
        "type":"grafana-azure-monitor-datasource",
        "typeLogoUrl":"public/plugins/grafana-azure-monitor-datasource/img/logo.jpg",
        "access":"proxy",
        "url":"",
        "password":"",
        "user":"",
        "database":"",
        "basicAuth":false,
        "isDefault":false,
        "jsonData":
            {
                "appInsightsAppId":"<appInsightsAppId>",
                "cloudName":"azuremonitor",
                "keepCookies":[]
            },
        "readOnly":false
    }
]

I used this as the guide for my datasource YAML file. Additionally, I made the assumption that the other required values (namely, clientSecret for the Azure Monitor datasource and appInsightsApiKey for the App Insights datasource) would be imported via secureJsonData. Based off that, I came up with the following data for a ConfigMap (within a Helm chart):
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ .Values.app.name }}-datasource
  labels:
    grafana_datasources: "1"
data:
  {{ .Values.app.name }}-datasource.yaml: |-
    datasources:
    - name: <name>
      type: grafana-azure-monitor-datasource
      access: proxy
      orgId: 1
      url:
      isDefault: true
      jsonData:
        cloudName: azuremonitor
        clientId: {{ .Values.azure.clientId | b64dec }}
        subscriptionId: {{ .Values.azure.subscriptionId | b64dec }}
        tenantId: {{ .Values.azure.tenantId | b64dec }}
      secureJsonData:
        clientSecret: {{ .Values.azure.clientSecret | b64dec }}
      editable: true
    - name: <name>
      type: grafana-azure-monitor-datasource
      access: proxy
      orgId: 1
      url:
      isDefault: false
      jsonData:
        cloudName: azuremonitor
        appInsightsAppId: {{ .Values.azure.appInsightsAppId | b64dec }}
      secureJsonData:
        appInsightsApiKey: {{ .Values.azure.appInsightsApiKey | b64dec }}
      editable: true

This ConfigMap gets properly created and input into my Kubernetes cluster. Additionally, the values I see in the YAML file are the approriate and expected values. However, in Grafana itself, while my datasources exist, their values are not populated. This includes both the jsonData and the secureJsonData.
Can someone offer any insight into why my values are not flowing from my YAML to my datasource? Thanks!

Hmm.  I also wanted to be able to provision this datasource and tried to reverse engineer the required fields.  The following worked for me:
apiVersion: 1

datasources:
  - name: Azure
    type: grafana-azure-monitor-datasource
    orgId: 1
    typeLogoUrl: public/plugins/grafana-azure-monitor-datasource/img/logo.jpg
    access: proxy
    url: /api/datasources/proxy/2
    isDefault: true
    jsonData:
      cloudName: azuremonitor
      subscriptionId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
      tenantId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
      clientId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
      logAnalyticsDefaultWorkspace: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
      azureLogAnalyticsSameAs: true
      keepCookies: []
    secureJsonData:
      clientSecret: LOG_ANALYTICS_CLIENT_SECRET
    editable: true

(I am using the log-analytics branch)
I don't see any major difference so I do not know why it would not work.

I guess I am trying to achieve the same. Importing Data Sources at Grafana start. Unfortunately I haven't found any documentation on providing Azure Monitor Client Secret and Application Insights API Key as well.
My JSON to import looks like the following:
{
    "id": 3,
    "orgId": 1,
    "name": "Datasource X",
    "type": "grafana-azure-monitor-datasource",
    "typeLogoUrl": "",
    "access": "proxy",
    "url": "/api/datasources/proxy/3",
    "password": "",
    "user": "",
    "database": "",
    "basicAuth": false,
    "basicAuthUser": "",
    "basicAuthPassword": "",
    "withCredentials": false,
    "isDefault": false,
    "jsonData": {
        "appInsightsAppId": "id",
        "azureLogAnalyticsSameAs": false,
        "clientId": "clientid",
        "cloudName": "azuremonitor",
        "keepCookies": [],
        "subscriptionId": "subid",
        "tenantId": "tenantid"
    },
    "secureJsonFields": {
        "appInsightsApiKey": true,
        "clientSecret": true
    },
    "version": 5,
    "readOnly": false
}

Overwriting appInsightsApiKey and clientSecret does not work, The web ui field keep being empty.

What versions of Grafana and Azure Monitor Datasource are you using?  Things seem to work fine for me with the latest versions in docker.  For example, with this Dockerfile:
FROM grafana/grafana:latest

COPY ./datasources.yaml /etc/grafana/provisioning/datasources

USER root
RUN chown -R grafana:grafana /etc/grafana/provisioning
USER grafana

and this datasources.yaml
apiVersion: 1

datasources:
  - name: Azure
    type: grafana-azure-monitor-datasource
    orgId: 1
    typeLogoUrl: public/plugins/grafana-azure-monitor-datasource/img/logo.jpg
    access: proxy
    url: /api/datasources/proxy/2
    isDefault: true
    jsonData:
      cloudName: azuremonitor
      subscriptionId: 11111111-1111-1111-1111-111111111111
      tenantId: 11111111-1111-1111-1111-111111111111
      clientId: 11111111-1111-1111-1111-111111111111
      logAnalyticsDefaultWorkspace: 11111111-1111-1111-1111-111111111111
      azureLogAnalyticsSameAs: true
      keepCookies: []
    secureJsonData:
      clientSecret: 11111111-1111-1111-1111-111111111111
    editable: true

in the same directory, I can run
docker build -t azure-monitor-test .
docker run -d -p 3000:3000 -e "GF_INSTALL_PLUGINS=grafana-azure-monitor-datasource" azure-monitor-test

Then open the Grafana instance at localhost:3000 in a browser.  I can see the a Azure datasource with information filled in:

Hopefully this helps provide some known working reference point.

@dougnd  The only difference I see in our configs is that you've explicitly set the URL, whereas I left my URL field blank. I'll be trying to explicitly set this on my next attempt and will report back.

Hi @chris-bosman & @dougnd, I stumbled upon this when I was looking for a way to do the provisioning. I was able to make it work using the following code in Kubernetes:
apiVersion: v1
kind: ConfigMap
metadata:
  name: azure-configmap
data:
  azure-datasource.json: |+
    {
      "name": "Test-Azure",
      "access": "proxy",
      "basicAuth": false,
      "type": "grafana-azure-monitor-datasource",
      "url": "/api/datasources/proxy/2",
      "isDefault": false,
      "jsonData": {
        "cloudName": "azuremonitor",
        "subscriptionId": "...",
        "tenantId": "...",
        "clientId": "...",
        "azureLogAnalyticsSameAs": true,
        "logAnalyticsDefaultWorkspace": "..."
      },
      "secureJsonData": {
        "clientSecret": "..."
      }
    }

btw,
I'm using kube-prometheus to deploy both prometheus and grafana. The grafana version in that chart is 5.0.0. I don't think it will make any difference as long as you keep the same concept that:

the config map will create a yaml in a folder that grafana is watching
the yaml file will contain json data (as in the example)

I hope this helps, let me know if you need any further assistance, I will be happy to assist

Yalm provisioning config for datasource works fine. However I've never gotten logAnalyticsDefaultWorkspace populated:


Make amp-github-apps agnostic of the amphtml main branch

This PR updates all hard-coded references to the master branch of amphtml to main. As written, this PR should be a no-op. More PRs to follow to update comments and documentation once the branch is actually renamed.
Companion PR to https://github.com/ampproject/amphtml/pull/33535
Partial fix for https://github.com/ampproject/amphtml/issues/32195

To clarify, I thought the error-monitoring changes were all fine. I was just saying the test expectation should be static, and should only change when the branch name changes for the app. I think what you did extracting the main branch name to a const was a good idea.


fix(ci): update isort to latest fix because of PyCQA/isort/issues/2077

Can you please update all the pre-commit hooks using pre-commit autoupdate instead? Also, we should add that to make upgrade.

Would you mind moving a general pre-commit update into a separate PR? This one is really to fix the build break that Poetry introduced, and which now breaks all Dependabot PRs… so I’d like to merge this ASAP.


PoC: verifiy if it is possible to access to a kubernetes cluster with a secret on 1password

We need to setup the testing infrastructure which includes setting a lot of secrets that will be read by github actions.
Since the GitHub secrets are managed by Apache infra and we need to open a ticket for each change it is impractical to keep the secrets in Github so I plan to move all the secrets to 1password and only put a service token as a secret in GitHub.
So please to this test:

put in 1password a kubernetes cluster config and an ssh key
get a service token
write a github action using this: https://github.com/marketplace/actions/load-secrets-from-1password that retrieves the secret
verify you can access to the kubernetes cluster (for example kubectl get nodes) and the ssh server (example ssh root@server uptime)

@sciabarracom  I've a working PoC here: https://github.com/d4rkstar/poc-52/blob/main/.github/workflows/publish-docker.yml


Compliance test

Write a simple compliance suite for basic testing of the API, following the refget example:
https://github.com/refgenie/refget/tree/master/test_api

Fixed in 0.5.0


Connecting to sql database on different port than 3306

Hi,
Locally I am running multiple docker containers running a mysql database.
Container A is running mysql database X on port 3306.
Container B is running mysql database Y on port 3307.
Im able to connect via my Java application to both applications. However, in Sqlectron I am not able to add a connection using 'Database Type': MySQL running on port 3307 (connecting to database X on port 3306 is perfectly fine). The error I get when connecting via Sqlectron to mysql database Y on port 3307 is: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
How could I solve this problem?

It sounds like Container B is using mysql 8? Currently, you'll have to start the container with the runtime flag of --default-authentication-plugin=mysql_native_password to allow the underlying mysql driver that sqlectron uses to connect. This should be resolved in the next version of sqlectron.

Resolved in #484 which will be part of upcoming 1.31.0 release.


Fix flaky Extensions Webhook Certificates integration tests

How to categorize this PR?

/area testing
/kind flake
What this PR does / why we need it:
This PR fixes flakes of Extensions Webhook Certificates integration test.
Which issue(s) this PR fixes:
Fixes https://github.com/gardener/gardener/issues/6932
Special notes for your reviewer:
Release note:

NONE

Thanks! Can you potentially share stress results? Also, can you explain the first commit? 👀

Thanks! Can you potentially share stress results? Also, can you explain the first commit? 👀

I have updated the description.
For the first commit cabundle is always populated in this test, In past, it was wrongly compared to nil, and cause it is using eventually it passes, cause it takes some time to get populated.

Thanks @acumino!
/lgtm
/approve


Artworks scale and zoom into weird mask, they should not

The aspect ratio of this work is portrait

But we seem to be squishing it into a square

I've already submitted a PR to fix this, actually: https://github.com/artsy/eigen/pull/1709

that's the best kind of issue, a non-issue! closing


Add option to not load default runners

Add option to not load default runners
This adds test#merge_default_runners with a default value of 1 to keep
the current behavior. It can be set to 0 to disable all default runners.
This is useful if you want to include your own runners but the default
runners end up being picked up instead.

added some documentation, although I wasn't sure where to put it.

What do you think about adding a test#enabled_runners setting instead, where you can select specific runners that you want to be included in matching (all other runners would be disabled). That way people can still select any runners they want to use. Something like this:
let g:test#enabled_runners = ['ruby#rspec', 'javascript#jasmine'] " only RSpec and Jasmine runners will be matched
let g:test#enabled_runners = ['ruby#my_custom_runner'] " disable all runners except your custom runner

This would also partially solve https://github.com/janko-m/vim-test/issues/185.

I guess your solution is fine and it solves both problems.
What I don't like is that an assignment is used to add custom runners, but later more stuff gets merged into that variable. It's a little misleading:
let g:test#runners = {'MyLanguage': ['MyRunner']}

Then test#runners will contain all runners. I would expect to override it.
On the other hand my solution also doesn't change this, and changing it would be a breaking change anyway.

Using test#enabled_runners also creates a different nomenclature. It references the function namespaces, while test#runners references the capitalized magic names.
So I'm not sure.

What I don't like is that an assignment is used to add custom runners, but later more stuff gets merged into that variable. It's a little misleading

I agree that it's a bit misleading. But I think it wouldn't be worth it to change that at this point, as it would be a big backwards incompatibility and feature-wise there would be no gain.

Using test#enabled_runners also creates a different nomenclature. It references the function namespaces, while test#runners references the capitalized magic names.

We could maybe use the same dictionary format as for test#runners instead of the one that I proposed. I think that should work equally well, what do you think?

Agreed.

@janko-m It turns out using the namespace makes the code much simpler. I'm not extremely comfortable with this solution, but it does solve my problem.

I should have opened another PR, but I'm kind of sick right now and not thinking completely well :(

Closing in favour of https://github.com/janko-m/vim-test/pull/301.


Rename PyBuda/Buda in Reportify (create new buda_track branch)

For Buda, create a buda_track branch. And for FFE use new main.

Created a MR for tt-forge-fe: https://yyz-gitlab.local.tenstorrent.com/tenstorrent/reportify/-/merge_requests/2
Created a buda_track branch for Pybuda: https://yyz-gitlab.local.tenstorrent.com/tenstorrent/reportify/-/tree/buda_track?ref_type=heads


Folder Note Naming Scheme

Hi, sorry to bother. I have all my vault organized so that my folder notes are named "_FolderName". I really don't want the folder and the note to have the same name (mainly because in this way I know which note is an index note)
Do you know if I can integrate this with your plugin?

Not at the moment, no.
However, if you remove the _, you will find that QE places that note at the top of the list in a separate section, so you always know which note the index note is.  This is also compatible with the Note Folder Autorename plugin, and most other folder note plugins will support that naming scheme as well.  (Don't know if any will put the folder note at the top of the regular file explorer, though.)


Issues trying to login to WFM due to your password including "

Describe the bug
Issues trying to login in to warframe.market if your password includes a " in it.
To Reproduce
Steps to reproduce the behavior:

Go to 'Login to WFM'
Type in your email and password (password must include a " in it)
Click login and you'll get a "Severe issue, server did not understand the request"

Expected behavior
It should just log you in since WFM does support " in passwords
Screenshots

If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: W11
.NET 4.8
v9.6.5

Additional context
The only current fix for this solution is to update your password to not include a " in it.

Don't have time to fix/test it right now, but should be caused by insufficient string escaping here


ds.interp() breaks if (non-interpolating) dimension is not numeric

What happened?
I'm running ds.interp() using multi-dimensional new coordinates, using xarray's broadcasting to expand the original dataset to new dimensions. In this case, I'm only interpolating on one dimension, but broadcasting out to others.
If the dimensions are all numeric (or, presumably, able to be forced to numeric), then this works without an issue. However, if one of the other dimensions is, e.g., populated with string indices (weather station names, model run ids, etc.), then this process fails, even if the dimension on which the interpolating is conducted is purely numeric.
What did you expect to happen?
Here is an example with only numeric dimensions that works as expected:
import xarray as xr
import numpy as np

da1 = xr.DataArray(np.reshape(np.arange(0,12),(3,4)),
                  coords = {'dim0':np.arange(0,3),
                            'dim1':np.arange(0,4)})

da2 = xr.DataArray(np.random.normal(loc=1,size=(2,4),scale=0.5),
                   coords = {'dim2':np.arange(0,2),
                             'dim1':np.arange(0,4)})

da1.interp(dim0=da2)

this produces something like:

as expected.
Minimal Complete Verifiable Example
import xarray as xr
import numpy as np

da1 = xr.DataArray(np.reshape(np.arange(0,12),(3,4)),
                  coords = {'dim0':np.arange(0,3),
                            'dim1':np.arange(0,4).astype(str)})

da2 = xr.DataArray(np.random.normal(loc=1,size=(2,4),scale=0.5),
                   coords = {'dim2':np.arange(0,2),
                             'dim1':np.arange(0,4).astype(str)})

da1.interp(dim0=da2)

MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[X] Complete example — the example is self-contained, including all data and the text of any traceback.
[X] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[X] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[48], line 9
      1 da1 = xr.DataArray(np.reshape(np.arange(0,12),(3,4)),
      2                   coords = {'dim0':np.arange(0,3),
      3                             'dim1':np.arange(0,4).astype(str)})
      5 da2 = xr.DataArray(np.random.normal(loc=1,size=(2,4),scale=0.5),
      6                    coords = {'dim2':np.arange(0,2),
      7                              'dim1':np.arange(0,4).astype(str)})
----> 9 da1.interp(dim0=da2)

File ~/.conda/envs/climate/lib/python3.10/site-packages/xarray/core/dataarray.py:2204, in DataArray.interp(self, coords, method, assume_sorted, kwargs, **coords_kwargs)
   2199 if self.dtype.kind not in "uifc":
   2200     raise TypeError(
   2201         "interp only works for a numeric type array. "
   2202         "Given {}.".format(self.dtype)
   2203     )
-> 2204 ds = self._to_temp_dataset().interp(
   2205     coords,
   2206     method=method,
   2207     kwargs=kwargs,
   2208     assume_sorted=assume_sorted,
   2209     **coords_kwargs,
   2210 )
   2211 return self._from_temp_dataset(ds)

File ~/.conda/envs/climate/lib/python3.10/site-packages/xarray/core/dataset.py:3666, in Dataset.interp(self, coords, method, assume_sorted, kwargs, method_non_numeric, **coords_kwargs)
   3664 if method in ["linear", "nearest"]:
   3665     for k, v in validated_indexers.items():
-> 3666         obj, newidx = missing._localize(obj, {k: v})
   3667         validated_indexers[k] = newidx[k]
   3669 # optimization: create dask coordinate arrays once per Dataset
   3670 # rather than once per Variable when dask.array.unify_chunks is called later
   3671 # GH4739

File ~/.conda/envs/climate/lib/python3.10/site-packages/xarray/core/missing.py:562, in _localize(var, indexes_coords)
    560 indexes = {}
    561 for dim, [x, new_x] in indexes_coords.items():
--> 562     minval = np.nanmin(new_x.values)
    563     maxval = np.nanmax(new_x.values)
    564     index = x.to_index()

File <__array_function__ internals>:5, in nanmin(*args, **kwargs)

File ~/.conda/envs/climate/lib/python3.10/site-packages/numpy/lib/nanfunctions.py:319, in nanmin(a, axis, out, keepdims)
    315     kwargs['keepdims'] = keepdims
    316 if type(a) is np.ndarray and a.dtype != np.object_:
    317     # Fast, but not safe for subclasses of ndarray, or object arrays,
    318     # which do not implement isnan (gh-9009), or fmin correctly (gh-8975)
--> 319     res = np.fmin.reduce(a, axis=axis, out=out, **kwargs)
    320     if np.isnan(res).any():
    321         warnings.warn("All-NaN slice encountered", RuntimeWarning,
    322                       stacklevel=3)

TypeError: cannot perform reduce with flexible type

Anything else we need to know?
I'm pretty sure the issue is in this optimization step.
It calls _localize() from missing.py, which calls np.nanmin() and np.nanmax() on all the coordinates, including the ones that aren't used in the interpolation, but only in the broadcasting.
Perhaps a way to fix this would be to have a test in localize for numeric indices, and then only subset the numeric dimensions? (I could see generalizing _localize() to other data types may be more trouble than it's worth, especially for unsorted string dimensions...) Or only subset the dimensions used in the interpolation itself? Or, alternatively, having a way to turn off optimizations like this?
Environment

INSTALLED VERSIONS
commit: None
python: 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:23:14) [GCC 10.4.0]
python-bits: 64
OS: Linux
OS-release: 3.10.0-1160.76.1.el7.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: (None, None)
libhdf5: 1.12.1
libnetcdf: 4.8.1
xarray: 2023.7.0
pandas: 1.4.1
numpy: 1.21.6
scipy: 1.11.1
netCDF4: 1.5.8
pydap: None
h5netcdf: None
h5py: None
Nio: 1.5.5
zarr: 2.13.2
cftime: 1.6.2
nc_time_axis: 1.4.1
PseudoNetCDF: None
iris: None
bottleneck: 1.3.7
dask: 2023.3.0
distributed: 2023.3.0
matplotlib: 3.5.1
cartopy: 0.20.2
seaborn: 0.11.2
numbagg: None
fsspec: 2022.5.0
cupy: None
pint: 0.22
sparse: 0.14.0
flox: None
numpy_groupies: None
setuptools: 68.0.0
pip: 23.2.1
conda: None
pytest: 7.0.1
mypy: None
IPython: 8.14.0
sphinx: None

works on main with latest numpy


Enable tags for resources

what
implement a map(string) variable called tags and ensure this is implemented for:

The 'aws_config_configuration_aggregator' resource with 'this' resource name
The 'aws_config_aggregate_authorization' resource with 'child' resource name
The ' aws_config_aggregate_authorization' resource with 'central' resource name

why
When we began using the repo, we found that some of the resource are yet to be tag enabled. Hence when our internal projects were calling this repo, our custom tags were not being added in AWS.
references
Done this as part of the issue raised in https://github.com/cloudposse/terraform-aws-config/issues/50

Hi @nitrocode . Hope you are doing well. I see you are one of the authors for this repo. Please can my PR be reviewed and merged (It is to enable tags for some AWS resources), thank you :)

/test all

Thank you @sandeepgopi for the contribution!


Fragment field merging

When multiple fragments define same field, fields should get merged. Currently the exception is thrown.

How to merge directives on duplicate fields?
How to validate aliased types match across different fields?