StatServer config doesnt accept password

providing a password for stats server block is unrecognized. Related to:
https://github.com/LittlePeng/redis-monitor/issues/7

See PR above on how I resolved the issue. Feel free to patch accordingly and close if you do not want the scripts executable.

👍

Still getting more NOAUTH errors:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/tornado/web.py", line 954, in _execute
        getattr(self, self.request.method.lower())(*args, **kwargs)
      File "/root/redis-monitor/src/api/controller/InfoController.py", line 15, in get
        redis_info = self.getStatsPerServer(server)
      File "/root/redis-monitor/src/api/controller/BaseController.py", line 14, in getStatsPerServer
        info = connection.info()
      File "/usr/lib/python2.7/site-packages/redis/client.py", line 760, in info
        return self.execute_command('INFO')
      File "/usr/lib/python2.7/site-packages/redis/client.py", line 668, in execute_command
        return self.parse_response(connection, command_name, **options)
      File "/usr/lib/python2.7/site-packages/redis/client.py", line 680, in parse_response
        response = connection.read_response()
      File "/usr/lib/python2.7/site-packages/redis/connection.py", line 629, in read_response
        raise response
    ResponseError: NOAUTH Authentication required.


Add Props and State type arguments to class components

Flow throws the error:

flow says identifier Component: Too few type arguments. Expected at least 1

if class components don't have "<Props>" and/or "<State>" type arguments after the Component keyword and before the opening curly brace. Type arguments are added to the respective class components to resolve this issue.

props: Props lines inside components are useless if we already have defined Component<Props>. I'll merge it since it's dev branch


TextInputEditText  missing

Support Libraries Version: Xamarin.Android.Support.Design <IP_ADDRESS>
Describe your Issue:
Assembly Xamarin.Android.Support.Design is missing the TextInputEditText class. Had to rollback to 25.3.1 to use the class.

@Redth I made the fix for this one. Could I make a pull request?

@kanvuduc definitely appreciate the offer, but master is tracking with fixes for this right now already.

Just created a pull request. Hope it will help.

This should be fixed in <IP_ADDRESS>


shift+tab or tab doesnt seem to work in confirm dialog on MacOS

From twitter:
"@code When I close a workspace, a prompt asks me if I'd like to save it. I can hit esc to cancel or enter to save. Why can't I hit shift+tab or tab to highlight and then select "don't save"? This is on MacOS. I ❤ VS Code by the way! You guys are doing great work."
https://twitter.com/LoganHoup/status/979072735283433472

Hi there! That's my tweet. Please let me know if you need any additional information.

I think those buttons are typically not tabbable on MacOS right? I see the same thing on some other dialogs.

Wow. I can't believe I've never noticed that. After triggering similar dialogs elsewhere in MacOS, I don't think that's natively supported. That's unfortunate. Aside from that event, I can do almost everything without reaching for a mouse in VS Code.

You can use cmd+d to trigger "don't save" (weird shortcut but works on all similar dialogs on MacOS)


Make it possible to disable leader election support via configuration

It was decided that this is not needed for now.


Cleanup xDebug documentation

Currently, there is a lot of documentation written on getting xDebug to work. Also, there is a guide, there are screenshots, there is a php-fpm CLI script and it's built for both the php-fpm and workspace container. Configuring xDebug is far from easy to understand at the moment, which is discussed in #393 and #733. Also, it may differ when using different operating systems.
Would like to see outdated, wrong and confusing information removed from the docs and have a single, clearly written tutorial on how to enable xDebug.

Solution: #893

This isn't a simple task to completely research and write proper documentation for. I don't have the time to research this one for now, I'll unassign it for now. Feel free to pick it up if anyone has the time. I'll drop a comment here when I can find the time again.

@winfried-van-loon I am willing to take on this task, but don't want to waste time if some work has already been done.  If you (or anybody for that matter) have produced a working solution, please feel free to share with me.  I will create a clean organized version accordingly.

@winfried-van-loon  There are follow step to ensure xdebug work well,

Check you .env file
PHP_FPM_INSTALL_XDEBUG=true
DOCKER_HOST_IP=<IP_ADDRESS>
PHP_IDE_CONFIG=serverName=laradock

laradock is your server_name, and must set same in phpstorm,
Setting > Languages & Frameworks > PHP > Servers
press "+" to add one
Name -> laradock            make sure same with PHP_IDE_CONFIG=serverName=laradock
Host -> localhost   Port->80
Check Use path mappings
File/Directory             Absolution path on server
D:\opt\www\public     /var/www/public

Check you xdebug.ini
laradock
/php-fpm/xdebug.ini

xdebug.remote_enable=1

xdebug.remote_port=9000
xdebug.remote_host

=dockerhost
xdebug.idekey=PHPSTORM

xdebug.remote_enable must be set  to 1
3.rebuild your images
docker-compose build php-fpm

try xdebug

docker-compose up php-fpm nginx

Open phpstorm and create new file index.php to www dir
such as
$a = 'hello ';
$b = 'world';

echo $a . $b;

make break
point to line $b = 'world'; and set phpstorm to listen debug connection

Thank you! I'll give it a try soon and add it to the docs if it works

@winfried-van-loon
maybe you should visit the url like this http://localhost/index.php?XDEBUG_SESSION_START=1, add arg XDEBUG_SESSION_START
or add xdebug.remote_autostart=1 to xdebug.ini

@winfried-van-loon I have started on verbose documentation on this very subject.  If you want to take it, that is fine by me, no sense in doubling the effort.

Environment: Windows 10
Docker: Version 18.03.0-ce-win59 (16762) Linux Containers
I have to access the Server via IP <IP_ADDRESS> to get x_debug working in PHP Storm
If you add xdebug.remote_connect_back = 1 to xdebug.ini xdebug.remote_host will be ignored (See Doc )


Handle undefined returns from $beforeValidate()

This simple PR detects the return of undefined from $beforeValidate() and uses the default jsonSchema in this case. The handler can return null if it explicitly wants to disable the use of a schema.

Coverage increased (+0.002%) to 95.797% when pulling e7238e807afea794eabd0f79d37a6b123343bbfb on lehni:feature/before-validate-returns-undefined into f9c7307581726c7e8080953104d44cdbea1a401a on Vincit:master.


[Vault Manager] Unable to list kv v2 secrets

Extension
https://raycast.com/fonimus/vault-manager
Description
Error:
Error: no handler for route "secret/metadata/". route entry not found.
    at p (/Users/sy/.config/raycast/extensions/ae0b3588-18b8-45b8-801a-e236beebbd5e/vault.js:78:26447)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async E0 (/Users/sy/.config/raycast/extensions/ae0b3588-18b8-45b8-801a-e236beebbd5e/vault.js:117:222)
    at async Object.<anonymous> (/Users/sy/.config/raycast/extensions/ae0b3588-18b8-45b8-801a-e236beebbd5e/vault.js:125:8582)

Steps To Reproduce
We only have one kv Secret engine called my-secrets in our vault. Vault Manager is unable to list the secrets under it.
It would be great if we can support it and specify the secret path to like /my-secrets
Current Behaviour
No response
Expected Behaviour
No response

Hello @shaoye, if I understand well, your request is to be able to specify a different "root" path than / ?
Can you give me steps to reproduce it and especially test it in development mode ?
(docker image or something)
Thanks

Yes, it's very easy to reproduce, just start the vault docker in development mode and create a new kv engine
 docker run --cap-add=IPC_LOCK -p 8200:8200  --name=dev-vault hashicorp/vault

Closing as merged, feel free to comment if it's not working out 🙂


Add support for languages (work towards Accept-Language)

So I need good support for Accept-Language in a project I'm working on. I figured I'd give it a crack.
I haven't implemented the header itself just yet. The implementation should be straightforward enough, there is plenty of prior work to draw from. Where I have some uncertainty and would love some feedback and guidance is with the languages inside the header should be represented.
Is there any current thoughts on how languages should be represented? My PR is laughably naive - how conformant should it be to following RFC 4647? Should it implemented outside this crate like mime?
On this topic, from my searching there currently seems to be two crates that handle the RFC: locale_config and fluent-langneg, neither which seem suitable as dependencies. Maybe a new one has to be created?

Thanks so much for opening this! Matching on language ranges was something we've wanted for a long time, but never quite made it to the front of the list. I really appreciate you taking this work on, and am excited for us to have this functionality!

Is there any current thoughts on how languages should be represented? My PR is laughably naive - how conformant should it be to following RFC 4647? Should it implemented outside this crate like mime?

That's a good question! Our mime types are actually implemented inside the crate, and ideally we'd do the same for language negotiation support as well. The closer we can stay to RFC4647, likely the better. That way we can implement the parsing /encoding once, and then only revisit it to fix bugs.
What do you think? - Do you reckon we could take that direction?

I didn't realize the internal mime support is different than the mime crate. Okay, in that case, this I think might be a good plan:
Study the mime code and try to implement an equivalent parser/data structure. Start with just RFC 4647's language-range. Should be straightforward enough. Try to get that in, and then implement helpers for Accept-Language and Content-Language on top of that.
And with that, looking at the mime code - is it Cow based just for the convenience for mime::constants?

And with that, looking at the mime code - is it Cow based just for the convenience for mime::constants?

Yeah, it indeed exists to allow mime types to be defined as constants. Though the motivation was more for performance, and less for convenience. We used to use Strings before, which meant having an extra N allocations per request.

I've put up a new LanguageRange implementation. I wouldn't mind checking in now to see if I'm on the right track.

I validate the makeup and length of subtags. I'm in favour of strict conformance for parsing, but I don't know if that's aligned with this project's goals. Too much? (Error messages not final)
Sub-tags are case compared case insensitive. Should I preserve case or should I downcase to normalize? I lean towards preserve.

 ---- trace::server_timing::parse::test::decode_headers stdout ----
thread 'trace::server_timing::parse::test::decode_headers' panicked at 'assertion failed: `(left == right)`
  left: `Some(52.999999ms)`,
 right: `Some(53ms)`', src/trace/server_timing/parse.rs:162:9

Oh that looks like a bug.

@vodik fixed the issue you reported in https://github.com/http-rs/http-types/pull/393 - hopefullly this unblocks you to make progress on this (:

I think this is reasonable.
I'm going to glue it into my package and see how well I can glue LanguageRanges into fluent / unic_locale


Unsupported metadata version found! We support 24-29, got 31

Hi, i tried to run Cpp2IL to reverse an Android apk but i always get this error: Unsupported metadata version found! We support 24-29, got 31.

Full log
===Cpp2IL by Samboy063===
A Tool to Reverse Unity's "il2cpp" Build Process.
[Info] [Program] Running on Unix
[Info] [APK] Attempting to extract required files from APK ../game/game.apk
[Info] [APK] Extracting APK/lib/arm64-v8a/libil2cpp.so to /tmp/tmpIAe9iK.tmp
[Info] [APK] Extracting APK/assets/bin/Data/Managed/Metadata/global-metadata.dat to /tmp/tmpfdToYX.tmp
[Info] [APK] Reading data.unity3d to determine unity version...
[Info] [APK] Determined game's unity version to be 2022.3.34
[Info] [Library] Initializing Metadata...
[Fail] [Program]
Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL!
---> System.FormatException: Unsupported metadata version found! We support 24-29, got 31
at LibCpp2IL.Metadata.Il2CppMetadata.ReadFrom(Byte[] bytes, Int32[] unityVer)
at LibCpp2IL.LibCpp2IlMain.Initialize(Byte[] binaryBytes, Byte[] metadataBytes, Int32[] unityVersion)
at LibCpp2IL.LibCpp2IlMain.LoadFromFile(String pePath, String metadataPath, Int32[] unityVersion)
at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, Int32[] unityVersion, Boolean allowUserToInputAddresses)
--- End of inner exception stack trace ---
at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, Int32[] unityVersion, Boolean allowUserToInputAddresses)
at Cpp2IL.Program.MainWithArgs(Cpp2IlRuntimeArgs runtimeArgs)
at Cpp2IL.Program.Main(String[] args)
Waiting for you to press enter - feel free to copy the error...

Which game? I'm suspecting encrypted. 2022.3 does not use metadata v31. In fact no unity version that is released uses 31.

Actually, stand by. It would appear unity HAVE bumped to version 31 for completely incomprehensible reasons. Looking into it

Ok, latest github actions builds should work


farms dialog

Description
move farm dialog to farms to ensure consistent closing, delete unnecessary farms dialog component
Changes

moved farms dialog into farms.vue
deleted farms dialog component

Related Issues
#1307
https://www.loom.com/share/38e5beea9efb4f0c82dc978fd9668253?sid=9a6c1f8f-f87c-4caf-b03c-f8d134df66ee

@zaelgohary close button was made to be consistent with nodes dialog below

Now the two headers background is a bit too much. Maybe we can reduce the toolbar's header height and change its color to match the background of the toolbar itself?


Feature/add nip 58 support in eventbuilder

Description
This PR adds convenience functions to the EventBuilder for creating a new badge and awarding a badge to a set of pubkeys.
Notes to the reviewers
I'd love to get a second look at the functions to verify that it makes sense as is.
I didn't add a function for setting profile badges (the last operation in NIP-58) because I simply couldn't figure out a good way to structure the function inputs so that we ensure a consecutive order in the a and e tags.
Changelog notice

# Added
- EventBuilder for defining a badge
- EventBuilder for awarding a badge

Checklists
All Submissions:

[ ] I've signed all my commits
[x] I followed the contribution guidelines
[x] I ran make precommit before committing

Example of usage can be found here: https://github.com/0xtrr/nostr-tool/pull/52

Thanks!
Have you checked the nip58 module?
Probably it can be possible to move some things, like BadgeDefinitionBuilder, in EventBuilder (remove BadgeDefinitionBuilder and use your define_badge method).
If you have not time, let me know that I'll try to merge these two implementations of nip58.

Thanks!
Have you checked the nip58 module?
Probably it can be possible to move some things, like BadgeDefinitionBuilder, in EventBuilder (remove BadgeDefinitionBuilder and use your define_badge method).
If you have not time, let me know that I'll try to merge these two implementations of nip58.

Ohh lol, forgot to theck the nip modules. I'll close this PR then as the nip58 module contains what I need and seems like a much better overall implementation!

Probably it can be possible to move some things, like BadgeDefinitionBuilder, in EventBuilder (remove BadgeDefinitionBuilder and use your define_badge method).

Well.. maybe that's not a bad idea. The structs specifically related to the NIP will belong inside the module, then we can expose a builder of such event in the event builder. I think that makes more sense, but I'm not sure what you intend the NIP modules to be. Do you want each NIP-specific module to take care of everything related to that specific NIP (i.e. data structures as well as building the events) or should they contain related datastructures and operations only and then building the event can be exposed through the EventBuilder interface?

Until now the event composition was done with EventBuilder. Everything else related to the NIP is inside the dedicated nipXX module.
The only one struct that build an event outside the event::builder module, seems to be the BadgeDefinitionBuilder.
I prefer to keep the code organized in the same way for all modules, so in this case we can:
A) move the BadgeDefinitionBuilder code and inside a method in EventBuilder
B) keep the BadgeDefinitionBuilder but do the same for other NIPs (the EventBuiler will be like a "proxy")
If we opt for Option B, I think that BadgeDefinitionBuilder should return the EventBuilder instead of the Event.

I'd vote for option A as that makes the most sense for me. I can refactor this PR to fit option A, then you can see if you like it or not.

Let me know when the PR is ready to be reviewed

Let me know when the PR is ready to be reviewed

I will! I'm implementing this in nostr-tool to verify that it works as expected but I'm currently having some problems with the get_events_of() function where I always get 0 events back when querying for the badge definition event I created. Need some more time to figure out why that happens.

This PR is ready for review @yukibtc. I want to say that I'm not an Rust expert(still learning) and these changes are fairly technical for me so please take a good look over the code to ensure that I'm not introducing any newbie mistakes here. The code in the event builder is mostly from the old nip58 functions.
Example implementation can be found in this PR: https://github.com/0xtrr/nostr-tool/pull/54

Before merge, can you squash the commits together?
So will remain a single commit, like: "nostr: add NIP58 support in EventBuilder"


A C# code file generated from the Northwind database.

When I try to run this command from a VS Command Prompt as administrator, I get this error: "Error : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)".

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

ID: 1d26089c-984a-4e94-8bcb-819ed330eee5
Version Independent ID: aaa90971-a4a7-bcc2-bcc4-63c4716cd3cb
Content: Walkthrough: Manipulating Data (C#)
Content Source: docs/framework/data/adonet/sql/linq/walkthrough-manipulating-data-csharp.md
Product: dotnet-framework
GitHub Login: @douglaslMS
Microsoft Alias: douglasl

I was able to create the file by using "sqlmetal /server:myservername /code:"c:\linqtest6\northwind.cs" /language:csharp "C:\linqtest6\northwnd.mdf" /pluralize".

Now when I run the program, I get an exception at this line in the code: "foreach (var c in db.Customers.Where(cust => cust.CustomerID.Contains("CA")))". The exception is "instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)'".


Added CopyFile task.

Task just copies a file of a given name to a file of the same or another name. Current CopyFiles task copies many files to a path but doesn't accomodate the situation where we need a different name. This can also be used as a "poor man's" rename task.

Hi @dsoprea, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Note that tasks in this repo are for our in the box tasks.  We won't have two copy tasks.  You're free to write your own extension and share it in the gallery though.

general tasks like this should also be cross platform (written in typescript)

That second comment is fair. I'm not necessarily concerned whether we add a second copy task, or not. However, I am very concerned about the gap in basic file-management functionality that appears to be present, though, of course, I could be wrong. What is the suggested method to copy a file to a different name or to rename a file?


Use ptlslog as a replacement for USDT probes

This PR adds a new JSON log (a.k.a. "ptlslog") as USDT alternative. See https://github.com/h2o/h2o/issues/3059 for the motivation.
Other noticeable changes:

all the changes in quicly-probes.d have been made to match them with source's type.
quictrace_* are ignored because they are obsolete

TODOs

[x] Cover all the USDT probes
[x] Make sure qlog-adapter.py can handle the new style logs

new-style logs uses snake_case instead of kebab-case, but I feel snake_case is more natural because qlog uses snake_case for identifiers

[x] Add -j=$file to the cli to set ptlslog_fd

Refs

picotls part: https://github.com/h2o/picotls/pull/406

Cherry-picked https://github.com/h2o/quicly/pull/526

Cherry-picked https://github.com/h2o/quicly/pull/526


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
3154a9b -> 540953e

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.26.1 -> v1.26.2

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.26.2
Compare Source
Bug Fixes

deps: update module github.com/go-openapi/strfmt to v0.22.0 (#731) (4aa1e01)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline


do not work with RM5

after installing - RM fails.
Try to migrate (do not know did it need
redmine@redmine5:~/plugins$ RAILS_ENV=production bundle exec rake redmine:plugins:migrate (in /opt/redmine) rake aborted! LoadError: cannot load such file -- disable_auther_notification/issue_model_patch /opt/redmine/vendor/bundle/ruby/2.7.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/kernel.rb:38:in require'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/dependencies/zeitwerk_integration.rb:51:in require_dependency' /opt/redmine/plugins/redmine_disable_auther_notification_plugin/init.rb:2:in <top (required)>'
/opt/redmine/lib/redmine/plugin_loader.rb:31:in load' /opt/redmine/lib/redmine/plugin_loader.rb:31:in run_initializer'
/opt/redmine/lib/redmine/plugin_loader.rb:108:in each' /opt/redmine/lib/redmine/plugin_loader.rb:108:in block in load'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:427:in instance_exec' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:427:in block in make_lambda'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:198:in block (2 levels) in halting' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:604:in block (2 levels) in default_terminator'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:603:in catch' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:603:in block in default_terminator'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:199:in block in halting' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:512:in block in invoke_before'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:512:in each' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:512:in invoke_before'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:105:in run_callbacks' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/reloader.rb:88:in prepare!'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/application/finisher.rb:124:in block in <module:Finisher>' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/initializable.rb:32:in instance_exec'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/initializable.rb:32:in run' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/initializable.rb:61:in block in run_initializers'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/initializable.rb:60:in run_initializers' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/application.rb:391:in initialize!'
/opt/redmine/config/environment.rb:16:in <top (required)>' /opt/redmine/plugins/issue_recurring/lib/tasks/issue_recurring.rake:8:in require_relative'
/opt/redmine/plugins/issue_recurring/lib/tasks/issue_recurring.rake:8:in <top (required)>' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:326:in load'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:326:in block in load' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:299:in load_dependency'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:326:in load' /opt/redmine/lib/tasks/redmine.rake:218:in block in <top (required)>'
/opt/redmine/lib/tasks/redmine.rake:218:in each' /opt/redmine/lib/tasks/redmine.rake:218:in <top (required)>'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:326:in load' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:326:in block in load'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:299:in load_dependency' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:326:in load'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/engine.rb:675:in block in run_tasks_blocks' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/engine.rb:675:in each'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/engine.rb:675:in run_tasks_blocks' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/application.rb:528:in run_tasks_blocks'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/engine.rb:464:in load_tasks' /opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/railtie.rb:207:in public_send'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/railties-6.1.7/lib/rails/railtie.rb:207:in method_missing' /opt/redmine/Rakefile:7:in <top (required)>'
/opt/redmine/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/exe/rake:27:in <top (required)>' (See full trace by running task with --trace)

@qawsed55
I will check the issue.


Fix Permission levels

You kinda broke the point of the command with your last fix for permission levels.
I re-fixed it so that it does not show the information you don't want shown, but still allows the command to be used, and still provides some useful information.
If you have permission to add people to a membership level, you can see the people in that membership level. If you don't have permission, it just shows how many people are in that level.

Alright this is acceptable.  In the future pls stop making 6+ commits for one change.  It pollutes the git history.  Make sure it works before submitting.  I'm not much better but its better to get it in early.
is this tested?

Sorry, that is a result of me submitting like 12 commits to my personal git. I don't know how to compress them down.
But yea, I tested it. Its good to go.

But... the commit history gets Rourked all the time!
Reset 6 commits: git reset --soft HEAD~6
Re-add files: git add -u :/
Re-commit: git commit
Force update your github: git push -f origin master
Just be sure to add that --soft to git reset or you'll be cursing. Heck, make a backup branch first. git checkout -b backup1

Code Review

You switched to using string builder.  This is a good thing.
You do appear to be checking permissions before listing members.  This is a good thing.
You misspelled output - see like 84: outputBuilder.append(" : [OWNDERS]");  Please fix.
Unless I am misunderstanding the code, it appears that you are still leaking improper information Clone.  If someone does not have permission to see membership of a given group, your change will still expose the number of players in that hidden group.  I don't see how this could result in exploitable data but its still exposing information to someone without the access level to see it.  I disagree with that inclusion.  Please fix.

From all accounts, this change is much better than the previous one.  Good job.  With exception of noted items, good change.


Reproducibility fixes

Addresses #1236 and fixes some instances where running the same population multiple times produces different results
Issues identified and fixed so far:

The ordering of allergy reactions
DocumentReference content and Insurance plan selection

(Essentially both of these are the result of using Sets where order is not guaranteed. The current fix is not ideal, it does some extra sorting at the end, so there may be a more "root" fix further upstream. Note that I was not able to reproduce this second issue when running with only a single thread, which also suggests to me further analysis is required)

Resource UUIDs are occasionally different
This is because the UUIDs are generated using the same random number generator as used during generation. When the simulation is re-run with a different end date, the generation process may tick up an extra time stamp and roll a few extra random numbers. The fix here is to essentially remove all randomness from the FhirR4 exporter, done in two ways:
A) Select UUIDs during the generation process, by assigning them to every HealthRecord.Entry at creation time
B) For FHIR resources that don't align 1:1 with a synthea model class, use a new method ExportHelper.buildUUID to consistently create a UUID based on the Person, time, and a "key" for uniqueness. A few examples are the Provenance added to the end of each Bundle, DiagnosticRequests and DocumentReferences created for clinical notes, and ExplanationOfBenefits.

DICOM UIDs are occasionally different
This is because the Series object and the Instances it contains are being unintentionally leaked between patients. (Also doesn't occur when running with only a single thread.) I've put in a fix to ensure objects are always cloned, but I suspect there might be a more minimal fix possible. The "cleanest" would be an extra bit in ImagingStudy.clone() to match, for example, ObservationGroup.clone() where the observations in a list are individually cloned, but that's tougher in this case because we want certain instances to have a different/random number of objects in the list.

Differences across OSes
Observed on MacOS vs a Linux Docker image, likely to occur across other combinations as well. Patients with the same config were producing wildly different results. This was because in a couple places we were selecting a random index based on a HashMap, where sort order is not guaranteed. Seems like order is consistent for a given OS but still we shouldn't even bank on that. I replaced instances of HashMap with TreeMap for a minimal change that should ensure a consistent order.

Not currently implemented as part of this PR, I suggest we implement these separately:

FHIR 2 & 3 updates to match R4
CSV exporter to use the existing UUIDs
Update any other exporter that generates UUIDs
(Do we want these to be part of this PR?)

For posterity, I used this little script to assist in testing
#!/bin/bash

rm -rf output/fhir output/fhir_* log_*.txt

for s in 1 2 3
do
  echo running $s

  ./run_synthea -s<PHONE_NUMBER>331 -cs<PHONE_NUMBER>331 -r 20230101 -p 83 Florida > log_${s}.txt

  mv output/fhir output/fhir_${s}

done

cd output

for file in `ls fhir_1`; do echo $file; diff fhir_1/$file fhir_2/$file ; done

Again for posterity, some more tidbits I used to help debug the native vs Docker differences:
Dockerfile
FROM gradle:jdk19

ENV PLATFORM="docker"
ENV TZ="America/New_York"
COPY . /home/gradle/source
COPY ./cacerts /opt/java/openjdk/lib/security/cacerts
WORKDIR /home/gradle/source
CMD ./reproducibility_test.sh

reproducibility_test.sh
#!/bin/bash

if [ "$PLATFORM" = "docker" ]; then
    TARGET=persist
    echo running in docker
else
    TARGET=output
    echo running natively
fi

rm -rf log_*.txt ${TARGET}/*

for s in 1 # 2 # 3 4
do
  echo running $s

  ./run_synthea -s<PHONE_NUMBER>331 -cs<PHONE_NUMBER>331 -r 20230101 -e 2023011${s} -p 83 Florida > log_${s}.txt

  # ./run_synthea -s 1 -cs 1 -r 20230101 -e 2023011${s} -p 1 Florida > log_${s}.txt

  mv output/fhir ${TARGET}/fhir_${s}
  mv log_${s}.txt ${TARGET}/
done

cd ${TARGET}

for file in `ls fhir_1`; do echo $file; diff fhir_1/$file fhir_2/$file ; done

Then run both with
docker build -t syntheadockertest . && docker run --memory=8g --mount type=bind,source="$(pwd)"/persist,target=/home/gradle/source/persist syntheadockertest  ; ./reproducibility_test.sh

FHIR generated by the native run will be in ./output, FHIR generated by the docker run will be in ./persist


Apply math to number in dynamic badges

:clipboard: Description
Some APIs (looking at you Bing Maps) provide data in less than ideal formats (i.e. seconds). It would be great if we could apply simple math operators (in this case divide by 60 to get minutes). jq allows this e.g. echo '{ "aaa": 120 }' | jq .aaa/60 displays 2.

Interesting. How would you imagine providing the desired operation (via additional query params, etc.)?

It could be as part of the path parameter ($..somethingThatResolvesTonNumericValue) /60 or a separate query string parameter that uses the value as a token. &formula={{result}}/60

This isn't possible with jsonpath. I looked into doing this with jq which indeed has a lot more power; however we'd have to invoke a subprocess for each request. (I even dug into the codebase to see about porting it to JavaScript, and as fun as that sounds, that looks like a really complicated job.)
Rather than create our own programming language 😁or use eval, my preference would be to handle cases like this using a custom endpoint: #2473.
This could be combined with an endpoint on RunKit: https://runkit.com/melnikow/version-from-requirements-txt
That example is relative a relatively complicated, though the concept could be applied to something much simpler.

I'm trying to avoid running an intermediary server at all and just use the remote API -> badge. Would a js library like https://github.com/FGRibreau/jq.node be helpful here?

You don't have to run the intermediary server; something like RunKit could do it for you.
Ooh, jq.node looks neat!  So I imagine it would need adaptation to be used as an expression language on our server.

I took a look at Runkit endpoints - I hadn't seen that before, thanks! It did what I needed it to and seems to be the cleanest way to offload custom porcessing/formatting. Thanks for your help!


Merge two interfaces into one

Part of #11914

Codecov Report

Merging #12453 (555697e) into main (9827e0c) will increase coverage by 0%.
The diff coverage is 94%.

@@          Coverage Diff           @@
##            main   #12453   +/-   ##
======================================
  Coverage     69%      69%
======================================
  Files        496      495    -1
  Lines      31134    31115   -19
  Branches    4900     4900
======================================
- Hits       21771    21760   -11
+ Misses      7519     7512    -7
+ Partials    1844     1843    -1

Impacted Files
Coverage Δ

src/notebooks/controllers/serviceRegistry.node.ts
100% <ø> (ø)

src/notebooks/controllers/types.ts
100% <ø> (ø)

src/standalone/import-export/exportCommands.ts
46% <50%> (ø)

src/notebooks/controllers/liveKernelSwitcher.ts
61% <66%> (-1%)
:arrow_down:

src/notebooks/debugger/debuggingManagerBase.ts
65% <66%> (ø)

...one/intellisense/notebookPythonPathService.node.ts
40% <66%> (ø)

...active-window/debugger/jupyter/debuggingManager.ts
70% <100%> (ø)

...rc/interactive-window/generatedCodeStoreManager.ts
100% <100%> (ø)

src/interactive-window/interactiveWindow.ts
68% <100%> (-1%)
:arrow_down:

...otebooks/controllers/controllerPreferredService.ts
70% <100%> (-1%)
:arrow_down:

... and 18 more


Build Error in Production

First of all, thank you for the awesome package.
I`ve got a problem only when im using yarn production:
ERROR in build.js from UglifyJs
Unexpected token: name (context) [./~/vue-table-component/dist/index.js:35069,0][build.js:95786,12] error Command failed with exit code 2
Everthing works perfectly if im using yarn dev.
I`m using vue cli with webpack-simple template.
Thank you in advance for your help.

Yea, I have also been getting this issue. Console output:

Log file mentioned in the above screenshot with the server domain as REDACTED
cat /home/forge/.npm/_logs/2017-08-08T12_40_54_115Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'run', 'production' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'preproduction', 'production', 'postproduction' ]
5 info lifecycle @~preproduction: @
6 silly lifecycle @~preproduction: no script for preproduction, continuing
7 info lifecycle @~production: @
8 verbose lifecycle @~production: unsafe-perm in lifecycle true
9 verbose lifecycle @~production: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/forge/REDACTED/node_modules/.bin:/usr/lib/node_modules/npm/bin/node-gyp-bin:/home/forge/REDACTED/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
10 verbose lifecycle @~production: CWD: /home/forge/REDACTED
11 silly lifecycle @~production: Args: [ '-c',
11 silly lifecycle   'cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js' ]
12 silly lifecycle @~production: Returned: code: 2  signal: null
13 info lifecycle @~production: Failed to exec production script
14 verbose stack Error: @ production: `cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
14 verbose stack Exit status 2
14 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:283:16)
14 verbose stack     at emitTwo (events.js:125:13)
14 verbose stack     at EventEmitter.emit (events.js:213:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:125:13)
14 verbose stack     at ChildProcess.emit (events.js:213:7)
14 verbose stack     at maybeClose (internal/child_process.js:897:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:208:5)
15 verbose pkgid @
16 verbose cwd /home/forge/REDACTED
17 verbose Linux 4.4.0-87-generic
18 verbose argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "production"
19 verbose node v8.1.2
20 verbose npm  v5.0.3
21 error code ELIFECYCLE
22 error errno 2
23 error @ production: `cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
23 error Exit status 2
24 error Failed at the @ production script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 2, true ]

Having it too, gonna look into this as soon as I have some time for it

Fixed in 1.4.0-rc.8, gonna tag a stable release soon!

Freak'in awesome.

thank you very much


BUILD TARGET flutter_webview_plugin OF PROJECT Pods WITH CONFIGURATION Debug

=== #BUILD TARGET flutter_webview_plugin OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:59:
75: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    _result([FlutterError errorWithCode:[NSString stringWithFormat:@"%d", error.code]
                                                                     ~~   ^~~~~~~~~~
                                                                     %ld  (long)
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:91:
115: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    NSLog(@"search#searchReGeocode ios端参数: point -> %@, radius -> %f, latLonType -> %d", pointJson, radius, latLonType);
                                                                                ~~                      ^~~~~~~~~~
                                                                                %ld                     (long)
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:10:
81: note: expanded from macro 'NSLog'
#define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
                                                                                ^~~~~~~~~~~
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:118
:75: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    _result([FlutterError errorWithCode:[NSString stringWithFormat:@"%d", error.code]
                                                                     ~~   ^~~~~~~~~~
                                                                     %ld  (long)
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:164
:75: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    _result([FlutterError errorWithCode:[NSString stringWithFormat:@"%d", error.code]
                                                                     ~~   ^~~~~~~~~~
                                                                     %ld  (long)
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:209
:75: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    _result([FlutterError errorWithCode:[NSString stringWithFormat:@"%d", error.code]
                                                                     ~~   ^~~~~~~~~~
                                                                     %ld  (long)
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:252
:75: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    _result([FlutterError errorWithCode:[NSString stringWithFormat:@"%d", error.code]
                                                                     ~~   ^~~~~~~~~~
                                                                     %ld  (long)
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:297
:75: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    _result([FlutterError errorWithCode:[NSString stringWithFormat:@"%d", error.code]
                                                                     ~~   ^~~~~~~~~~
                                                                     %ld  (long)
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:343
:75: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    _result([FlutterError errorWithCode:[NSString stringWithFormat:@"%d", error.code]
                                                                     ~~   ^~~~~~~~~~
                                                                     %ld  (long)
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:389
:75: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    _result([FlutterError errorWithCode:[NSString stringWithFormat:@"%d", error.code]
                                                                     ~~   ^~~~~~~~~~
                                                                     %ld  (long)
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:430
:30: warning: incompatible pointer types assigning to 'NSArray<AMapGeoPolygon *> *' from 'NSArray<NSArray<AMapGeoPoint *> *> *'
[-Wincompatible-pointer-types]
    routeQuery.avoidpolygons = _routePlanParam.avoidPolygons;
                             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:554
:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    NSLog([response mj_JSONString]);
          ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:10:
71: note: expanded from macro 'NSLog'
#define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
                                                                      ^~~~~~
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:554
:11: note: treat the string as an argument to avoid this
    NSLog([response mj_JSONString]);
          ^
          @"%@",
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:10:
71: note: expanded from macro 'NSLog'
#define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
                                                                      ^
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/amap_base-0.3.5/ios/Classes/search/SearchHandlers.m:560
:75: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
    _result([FlutterError errorWithCode:[NSString stringWithFormat:@"%d", error.code]
                                                                     ~~   ^~~~~~~~~~
                                                                     %ld  (long)
12 warnings generated.
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/contacts_service-0.2.8/ios/Classes/ContactsServicePlugi
n.m:4:17: error: definition of 'ContactsServicePlugin' must be imported from module 'contacts_service.ContactsServicePlugin'
before it is required
@implementation ContactsServicePlugin
                ^
In module 'contacts_service' imported from
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/contacts_service-0.2.8/ios/Classes/ContactsServicePlugi
n.m:2:
/Users/administrator/VSCodeProjects/kiss_you_5g/build/ios/Debug-iphonesimulator/contacts_service/contacts_service.framework/Header
s/ContactsServicePlugin.h:3:12: note: previous definition is here
@interface ContactsServicePlugin : NSObject<FlutterPlugin>
           ^
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/contacts_service-0.2.8/ios/Classes/ContactsServicePlugi
n.m:6:4: warning: 'SwiftContactsServicePlugin' is only available on iOS 9.0 or newer [-Wunguarded-availability]
  [SwiftContactsServicePlugin registerWithRegistrar:registrar];
   ^~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'contacts_service' imported from
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/contacts_service-0.2.8/ios/Classes/ContactsServicePlugi
n.m:2:
/Users/administrator/VSCodeProjects/kiss_you_5g/build/ios/Debug-iphonesimulator/contacts_service/contacts_service.framework/Header
s/contacts_service-Swift.h:189:12: note: 'SwiftContactsServicePlugin' has been explicitly marked partial here
@interface SwiftContactsServicePlugin : NSObject <FlutterPlugin>
           ^
/Users/administrator/Downloads/flutter/.pub-cache/hosted/pub.flutter-io.cn/contacts_service-0.2.8/ios/Classes/ContactsServicePlugi
n.m:6:4: note: enclose 'SwiftContactsServicePlugin' in an @available check to silence this warning
  [SwiftContactsServicePlugin registerWithRegistrar:registrar];
   ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.

Could not build the application for the simulator.
Error launching application on iPhone XR.

Hey @jishaofeng89 sorry to hear you're running into trouble. Without seeing your code, it's difficult to debug. Did you follow the example instructions for importing the plugin?
pubspec.yaml file:
dependencies:
    contacts_service: ^0.2.8

In your code:
// Import package
import 'package:contacts_service/contacts_service.dart';

Please submit issues and PR's to https://github.com/lukasgit/flutter_contacts


Unable to add to excluded list, version 1.9.2

Describe the bug

Using the latest version (1.9.2), CLI (maestral[gui] fails on PyQt6 install) when I attempt to add an excluded folder. I get the following error:
Traceback (most recent call last):
  File "/home/stone-ext4/logan/miniconda3/envs/maestral-venv/bin/maestral", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/stone-ext4/logan/miniconda3/envs/maestral-venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/stone-ext4/logan/miniconda3/envs/maestral-venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/stone-ext4/logan/miniconda3/envs/maestral-venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/stone-ext4/logan/miniconda3/envs/maestral-venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/stone-ext4/logan/miniconda3/envs/maestral-venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/stone-ext4/logan/miniconda3/envs/maestral-venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/stone-ext4/logan/miniconda3/envs/maestral-venv/lib/python3.11/site-packages/maestral/cli/common.py", line 110, in wrapper
    return ctx.invoke(f, proxy, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/stone-ext4/logan/miniconda3/envs/maestral-venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/stone-ext4/logan/miniconda3/envs/maestral-venv/lib/python3.11/site-packages/maestral/cli/common.py", line 35, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
TypeError: excluded_add() got an unexpected keyword argument 'dropbox_path'

To Reproduce

A single maestral excluded add Areas/some_data_folder/ produced this error. Trying a single folder (i.e. no subfolder) did the same
Expected behaviour

Adding the subfolder to the list of excluded sync items.
System:

Maestral version: 1.9.2
Python version: 3.11.8
OS: [e.g. Ubuntu]: Ubuntu 14.04.6
Desktop environment: Xfce
PyQt version (for Linux GUI): 5.15.9

Maestral is running in a conda environment created specifically for this purpose.
Additional context

Downgrading to 1.8.0 may have fixed the problem, but I will have to wait, as I no longer get the above error but instead Cannot exclude item. Please try again when idle.
Update - 1.8.0 works perfectly - identical command produces the "Excluded XXX output". Only thing I did to "resolve" the issue was pip install maestral==1.8.0 (after pausing and stopping maestral).

Thanks for the report! This is indeed yet another regression. While test coverage for the core sync functionality is excellent, especially the CLI and GUI could use improved test coverage to prevent such regressions.
Until a fix is submitted, you can spin up a Python interpreter directly and add / remove excluded items as follows:
from maestral.daemon import MaestralProxy

m = MaestralProxy()
m.exclude_items("/item1", "/item2", ...)
m.include_items("/item3", "/item4", ...)

Note that MaestralProxy will connect to an existing sync daemon, so you'll need to have Maestral running already for this to work.


fix(helpers): use "__unkeyed" prefix instead of "@" in toLuaObject

so that neovim (treesitter) highlight groups can start with "@".
this may break existing configs which use "@" for key-less table entries.
i'm open to other solutions or a different prefix name :)
closes #627

Thank you for your proposition !
I think that this change is possible.
Could you look at the occurences of @-prefixed keys in the nixvim repo please ?
They would need to be fixed in the same PR.

on it! o7

done 😎


Aspire Dashboard: Could not authenticate user with requested resource with group role assignment

This issue is a: (mark with an x)

[x] bug report -> please search issues before submitting

Issue description
I'm following the guidance here (https://learn.microsoft.com/en-us/azure/container-apps/aspire-dashboard) to set up an aspire dashboard in a container apps environment.  I've granted myself - via a group assignment - contributor to the container apps environment.  My expectation is that either a direct role assignment to an individual or a group assignment should be sufficient to access the aspire dashboard.
Steps to reproduce

Create a container apps environment.
Grant a group (that you are in) in entra the contributor role.
Attempt to access the aspire dashboard.

Expected behavior [What you expected to happen.]
I can access the dashboard.
Actual behavior [What actually happened.]
I get an error message: "Could not authenticate user with requested resource."
Additional context
I believe this is related to https://github.com/microsoft/azure-container-apps/issues/1231
I have also validated that if I make no changes other than assigning myself Contributor directly, I can access the dashboard.
All infrastructure I have tested with is deployed via bicep templates.  Below is a very abbreviated example of a module:
param location string

var cappEnvName = 'test-capp-env'

resource environment 'Microsoft.App/managedEnvironments@2024-03-01' = {
  name: cappEnvName
  location: location
  properties: {
    appLogsConfiguration: {
      // ...
    }
    workloadProfiles: [
      {
        name: 'Consumption'
        workloadProfileType: 'Consumption'
      }
    ]
  }
}

resource aspireDashboard 'Microsoft.App/managedEnvironments/dotNetComponents@2024-02-02-preview' = {
  parent: environment
  name: 'aspiredashboard'
  properties: {
    componentType: 'AspireDashboard'
  }
}

resource contributorRoleDefinition 'Microsoft.Authorization/roleDefinitions@2022-04-01' existing = {
  scope: subscription()
  name: 'b24988ac-6180-42a0-ab88-20f7382dd24c'
}

var group = {
  name: 'groupName'
  id: 'ffba7f76-96db-4b0b-9666-b60020cd4077' // not a real guid, replace with yours
}

resource contributorRoleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  scope: environment
  name: guid('${environment.name}${group.name}${contributorRoleDefinition.id}')
  properties: {
    roleDefinitionId: contributorRoleDefinition.id
    principalId: group.id
    principalType: 'Group'
  }
}

@TripleBrass, thanks for reaching out. This might actually be fixed now. Can you please try again, and report back?

@simonjj , I have the same issue here? Any update on when this might be fixed?


IC-40: Add online challenge creation

Resolves #70

Missing posting challenge to backend and waiting for challenge screen.


Unable to use custom EventSubscriberInterface in depfile since 2.0 as those are prefixed in the phar

I tried upgrading our customized deptrac setup to 2.0 (we have custom baseline implementation) and found that you started prefixing some extension points like EventSubscriberInterface, I believe this only complicates extendability of this library.
app@5fa22c221664:/app$ vendor/bin/deptrac

In RegisterListenersPass.php line 103:

  [DEPTRAC_202404\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
  Service "baselineViolationHandler" must implement interface "DEPTRAC_202404\Symfony\Component\EventDispatcher\EventSubscriberInterface".

Exception trace:
  at /app/vendor/qossmic/deptrac/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php:103
 DEPTRAC_202404\Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass->process() at /app/vendor/qossmic/deptrac/vendor/symfony/dependency-injection/Compiler/Compiler.php:70
 DEPTRAC_202404\Symfony\Component\DependencyInjection\Compiler\Compiler->compile() at /app/vendor/qossmic/deptrac/vendor/symfony/dependency-injection/ContainerBuilder.php:652
 DEPTRAC_202404\Symfony\Component\DependencyInjection\ContainerBuilder->compile() at /app/vendor/qossmic/deptrac/src/Supportive/DependencyInjection/ServiceContainerBuilder.php:84
 Qossmic\Deptrac\Supportive\DependencyInjection\ServiceContainerBuilder->build() at /app/vendor/qossmic/deptrac/src/Supportive/Console/Application.php:64
 Qossmic\Deptrac\Supportive\Console\Application->doRun() at /app/vendor/qossmic/deptrac/vendor/symfony/console/Application.php:162
 DEPTRAC_202404\Symfony\Component\Console\Application->run() at /app/vendor/qossmic/deptrac/bin/deptrac:24
 include() at /app/vendor/bin/deptrac:120

Defined as
services:
  baselineViolationHandler:
    class: ShipMonk\Rules\Deptrac\EventHandler\BaselineViolationHandler
    arguments:
      $baseline: '@baseline'
    tags:
      - { name: kernel.event_subscriber }

class BaselineViolationHandler implements \Symfony\Component\EventDispatcher\EventSubscriberInterface {
    // ...
}

I understand. I just think that Deptrac was very nicely customizable and extendable thanks to its event-driven design and the fact you have access to its DIC. That allowed us some neat customizations we needed. And now it got a bit worse :)

With using the Symfony event from Deptrac your project adds a dependency. And if Deptracs decides to drop the Symfony stuff your code will break.
long story short: Deptrac should define extension points and document them. Maybe that’s already the case @patrickkusebauch ?

By the way, with the new release model, I can release new version quicker! And I will try do release Deptrac more often!
My next goal is to figure out how we deploy the documentation 😅.

Yeah, I know the risk and I'm willing to take it. Obviously I'm doing non-standard thing, I just wanna let you know that there are deptrac users that utilize its internal stuff.

I think a nice middle ground would be to have a static prefix for the Symfony Event Dispatcher, something like Deptrac\Symfony\Component\EventDispatcher\EventSubscriberInterface. That way the users can depend on a consistent name to extend that would not break between releases.
@janedbal do you think that would be good enough for your use case?

I’ve merged ‘Deptrac_Internal’ as the namespace prefix for Deptrac a dependencies.

If you insist on prefixing, then static one is definitelly better. Thank you


Token error: Problem requesting variable: Timed out

Token error: Problem requesting variable: Timed out

Is this a normal timeout error due to a device being offline, or is this something else?
This occurs for only one Photon on our account, and the device name is correct.
Our query is to get a variable which definitely exists
particle get <deviceName> swVersion

This command works for other online Photons.

That appears to be a misleading error message. It has nothing to do with the token. Timed out is the real error.

OK, great! Just thought I'd bring it to your attention, as I wondered why the word token appeared in this at all. Sounds like only the error message needs to be changed. Thanks!


Update protocols and add httpVersion field

This PR:

adds the DNS over QUIC protocol
a new field to contain the HTTP version used when using DNS over HTTPx

I think this can be merged (as we merged the changes on the main pdns repo)


feat: add (gzip) compression

Codecov Report
Patch coverage: 74.19% and project coverage change: +1.43 :tada:

Comparison is base (81fcaf4) 60.92% compared to head (33f307e) 62.35%.

:exclamation: Current head 33f307e differs from pull request most recent head e571561. Consider uploading reports for the commit e571561 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
+ Coverage   60.92%   62.35%   +1.43%
==========================================
  Files           6        8       +2
  Lines         302      356      +54
==========================================
+ Hits          184      222      +38
- Misses         86       95       +9
- Partials       32       39       +7

Impacted Files
Coverage Δ

compressor_gzip.go
68.42% <68.42%> (ø)

cryptfs.go
69.23% <77.77%> (-2.20%)
:arrow_down:

compressor.go
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Trails fail after window resize

@angieskazka can you reproduce this? Is our labelling correct?

Could only reproduce on 0.8.6 with "follow bubbles with zoom" option ON
then could not reproduce on 0.8.7 and 0.8.8. assume it's fixed


chore: Add portal contract option to deploy subcommand of aztec-cli

Please provide a paragraph or two giving a summary of the change, including relevant motivation and context.
mirror of :
https://github.com/AztecProtocol/aztec-packages/pull/3032
This PR adds a portal contract option to the 'deploy' subcommand' of aztec-cli.

Benchmark results
Metrics with a significant change:

circuit_simulation_time_in_ms (base-rollup): 2,427 (+16%)
circuit_simulation_time_in_ms (merge-rollup): 1.12 (+34%)
node_history_sync_time_in_ms (5): 28,873 (+16%)
node_history_sync_time_in_ms (10): 56,671 (+17%)
note_history_successful_decrypting_time_in_ms (5): 2,410 (+23%)
note_history_successful_decrypting_time_in_ms (10): 4,694 (+25%)
l2_block_building_time_in_ms (8): 17,327 (+18%)
l2_block_building_time_in_ms (32): 69,058 (+19%)
l2_block_building_time_in_ms (128): 275,503 (+19%)
l2_block_rollup_simulation_time_in_ms (8): 15,767 (+18%)
l2_block_rollup_simulation_time_in_ms (32): 62,850 (+19%)
l2_block_rollup_simulation_time_in_ms (128): 250,416 (+19%)
l2_block_public_tx_process_time_in_ms (8): 1,511 (+16%)
l2_block_public_tx_process_time_in_ms (32): 6,060 (+18%)
l2_block_public_tx_process_time_in_ms (128): 24,542 (+19%)
l2_block_processing_time_in_ms (8): 2,701 (+18%)
l2_block_processing_time_in_ms (32): 10,249 (+17%)
l2_block_processing_time_in_ms (128): 39,954 (+16%)
note_successful_decrypting_time_in_ms (8): 350 (+22%)
note_successful_decrypting_time_in_ms (32): 1,020 (+23%)
note_successful_decrypting_time_in_ms (128): 3,805 (+26%)
note_trial_decrypting_time_in_ms (8): 53.0 (-39%)
note_trial_decrypting_time_in_ms (32): 109 (+95%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit f4913623 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,876
868,172
3,447,920

l1_rollup_execution_gas
841,963
3,595,280
22,203,289

l2_block_processing_time_in_ms
:warning: 2,701 (+18%)
:warning: 10,249 (+17%)
:warning: 39,954 (+16%)

note_successful_decrypting_time_in_ms
:warning: 350 (+22%)
:warning: 1,020 (+23%)
:warning: 3,805 (+26%)

note_trial_decrypting_time_in_ms
:warning: 53.0 (-39%)
:warning: 109 (+95%)
145 (+7%)

l2_block_building_time_in_ms
:warning: 17,327 (+18%)
:warning: 69,058 (+19%)
:warning: 275,503 (+19%)

l2_block_rollup_simulation_time_in_ms
:warning: 15,767 (+18%)
:warning: 62,850 (+19%)
:warning: 250,416 (+19%)

l2_block_public_tx_process_time_in_ms
:warning: 1,511 (+16%)
:warning: 6,060 (+18%)
:warning: 24,542 (+19%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
:warning: 28,873 (+16%)
:warning: 56,671 (+17%)

note_history_successful_decrypting_time_in_ms
:warning: 2,410 (+23%)
:warning: 4,694 (+25%)

note_history_trial_decrypting_time_in_ms
126 (+3%)
155 (+7%)

node_database_size_in_bytes
1,632,089
1,098,986

pxe_database_size_in_bytes
27,188
54,187

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
96.3 (+16%)
61,697
18,841

private-kernel-ordering
59.4 (+17%)
24,233
8,089

base-rollup
:warning: 2,427 (+16%)
656,309
811

root-rollup
108 (+18%)
4,072
1,097

private-kernel-inner
69.9 (+18%)
81,504
18,841

public-kernel-private-input
54.9 (+18%)
41,455
18,841

public-kernel-non-first-iteration
34.4 (+19%)
41,497
18,841

merge-rollup
:warning: 1.12 (+34%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
8,723
27,240


[zh-cn]  Localize API reference NetworkPolicy-v1

@tengqm thanks for the detailed review suggestions. I have committed all the review suggestion in a batch commit and verified that it works at my local test site. Also, resolved all comment conversation.

Please squash your PR into a single commit.

/label tide/merge-method-squash
/approve

Remove some unchanged languages.
/remove-language en es id

@Sea-n thanks for reviewing. Can you give some examples of remove-language?

Please squash your PR into a single commit.

@tengqm commits squashed.

/lgtm


reflect (not yet) supported Playbooks in API spec

What happened?

Playbooks is not yet supported as mentioned in the documentation
The API should be patched :
https://github.com/crossplane-contrib/provider-ansible/blob/main/apis/v1alpha1/ansibleRun_types.go#L61
How can we reproduce it?

What environment did it happen in?
Crossplane  Ansible version:  v0.4.1  && main

closed by https://github.com/crossplane-contrib/provider-ansible/pull/205


No tests match regular expression "        test & exit /B 0".

Hi
vscode is having a problem running tests with a multi-line string description.
How to reproduce:
This will pass:
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('''test''', (tester) async {});
}

This will not pass:
import 'package:flutter_test/flutter_test.dart';

void main() {

    testWidgets('''
        test
        ''', (tester) async {});

}

keep in mind that the later test will pass if run through void main.
[√] VS Code (version 1.67.2)
    • VS Code at C:\Users\m_ben\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.42.0

I verified this by running in Android Studio and it passes as below:

If this is specific to VSCode, please report it in dedicated repo: https://github.com/Dart-Code/Dart-Code/issues
Closing from here.


matter onboardingcodes none ouput information is incorrect. (CON-473)

I have flashed the binary for the factory data partition, but the output onboarding payload information is incorrect.
> matter onboardingcodes none
QRCode:            I (32688) chip[SVR]: *** Using default EXAMPLE passcode 20202021 ***
MT:Y.K9061901KA0648G00
QRCodeUrl:         I (32688) chip[SVR]: *** Using default EXAMPLE passcode 20202021 ***
https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3AY.K9061901KA0648G00
ManualPairingCode: I (32708) chip[SVR]: *** Using default EXAMPLE passcode 20202021 ***
34970112332
Done

Can you specify which vendor Id, product ID and discriminator you are using for generating factory partition?
Can you check if you have these config options are enabled if you are using values different than default values:
CONFIG_FACTORY_PARTITION_DAC_PROVIDER=y
CONFIG_ENABLE_ESP32_FACTORY_DATA_PROVIDER=y
CONFIG_ENABLE_ESP32_DEVICE_INSTANCE_INFO_PROVIDER=y

I'm sure that I have specified the VID, PID, and discriminator parameters. I can commission the device using the PNG file generated by the mfg_tool.
This is my sdkconfig.
CONFIG_ENABLE_ESP32_FACTORY_DATA_PROVIDER=y
# CONFIG_ENABLE_ESP32_DEVICE_INSTANCE_INFO_PROVIDER is not set
CONFIG_ENABLE_ESP32_DEVICE_INFO_PROVIDER=y
CONFIG_EXAMPLE_DAC_PROVIDER=y
# CONFIG_FACTORY_PARTITION_DAC_PROVIDER is not set
# CONFIG_SEC_CERT_DAC_PROVIDER is not set

@yurenlee While creating a factory partition, it does not include the pincode, this is done to respect the security considerations in Matter Specifications.
For generation of onboarding codes, we required pincode along with other details. So, whatever is generated from the console command is incorrect, and not expected to use that.
Please continue using the qrcode text/image generated using mfg_tool.py

Thanks.I understand. However, in the generic_switch example's README.md, it is noted that the 20202020_3841.bin file is flashed from the mfg_binaries directory. Nevertheless, no QR code is provided.

You can use this QR code for above configurations: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT:634J0CEK01KA0648G00
If you want to generate the QRCode with your own custom values, you can do it using chip-tool command for example in this case this command can be used:
./out/debug/chip-tool payload generate-qrcode --existing-payload MT:Y.K9042C00KA0648G00 --discriminator 3841 --setup-pin-code 20202021 --vendor-id 65522 --product-id 32769 --commissioning-mode 0 --rendezvous 2

and then QRCode can be generated here: https://project-chip.github.io/connectedhomeip/qrcode.html

Thank you very much, now I understand. However, the generic_switch example is confusing because there is no QR code provided and the matter onboadingcodes none command generates an incorrect QR code. This incorrect QR code causes the device to not be discovered in Apple Home and to fail PASE in Google Home.

You can use this QR code for above configurations: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT:634J0CEK01KA0648G00
If you want to generate the QRCode with your own custom values, you can do it using chip-tool command for example in this case this command can be used:
./out/debug/chip-tool payload generate-qrcode --existing-payload MT:Y.K9042C00KA0648G00 --discriminator 3841 --setup-pin-code 20202021 --vendor-id 65522 --product-id 32769 --commissioning-mode 0 --rendezvous 2

and then QRCode can be generated here: https://project-chip.github.io/connectedhomeip/qrcode.html
@PSONALl
Thank you very much, now I understand. However, the generic_switch example is confusing because there is no QR code provided and the matter onboadingcodes none command generates an incorrect QR code. This incorrect QR code causes the device to not be discovered in Apple Home and to fail PASE in Google Home.

@yurenlee While creating a factory partition, it does not include the pincode, this is done to respect the security considerations in Matter Specifications.
For generation of onboarding codes, we required pincode along with other details. So, whatever is generated from the console command is incorrect, and not expected to use that.
Please continue using the qrcode text/image generated using mfg_tool.py

@shubhamdp
Thanks.I understand. However, in the generic_switch example's README.md, it is noted that the 20202020_3841.bin file is flashed from the mfg_binaries directory. Nevertheless, no QR code is provided.

@yurenlee Thanks for pointing it out, will add the onboarding codes and qrcode to that example.

Hi @shubhamdp , I would like to ask if is it possible to retrieve the QR payload (MT:) from the device itself?


edk2 container build for edk2-stable202008 fails

From ci build
[31.9s] | error: Server does not allow request for unadvertised object 1cc9cde3448cdd2e000886a26acf1caac2db7cf1
[31.9s] | Fetched in submodule path 'UnitTestFrameworkPkg/Library/CmockaLib/cmocka', but it did not contain 1cc9cde3448cdd2e000886a26acf1caac2db7cf1. Direct fetching of that commit failed.
INFO: HTTP Request: POST http://<IP_ADDRESS>:35991/query "HTTP/1.1 200 OK"
ERROR: Dagger query error, try this: https://archive.docs.dagger.io/0.9/235290/troubleshooting/#dagger-pipeline-is-unable-to-resolve-host-names-after-network-configuration-changes

fixed by #392


Fix typos found by codespell

[ ] Closes #xxxx
[ ] Tests added / passed
[ ] Passes pre-commit run --all-files

Can one of the admins verify this patch?
Admins can comment ok to test to allow this one PR to run or add to allowlist to allow all future PRs from the same author to run.


Algo Linear Search in Java

can you please assign me this issue?

can you please assign me this issue?

Assigned

can you please let me know is issue will be included in hacktoberfest?

Once your PR merged, you can check check it in the hacktoberfest.com


PDF generation creates footnotes from hyperlinks

During PDF generation all hyprlinks from the text (e.g. http://www.google.com[Google]) are added as footnotes. This should not be happening.

This is default behaviour. You are free to change docbook configurations in /conf folder

Never saw this before. Neither ascidoc-pdf, nor the Mobi or ePub generators  generate footnotes from links

We migrated PDF module from https://github.com/asciidoctor/asciidoctor-fopub. I think this is a choice. You can change docbook PDF generation configurations as you need. Of course, you can make a pull request for that also. We are ready to think changing default behaviours.

Hello @yfain . Do you think this issue is resolved?

I need to reopen this issue: which setting should I turn off in the fo-pdf.xsl config file to suppress footnotes for links?


GROUP BY and SUM made results totally crazy in last RC 0.9rc29

For example, if you doing a query like this
SELECT SUM(test1) as test,test2 WHERE time>'2015-05-09 00:00:00' GROUP BY time(1h),test2
results are totally crazy and did not return expected results
Note that in 0.8, there are no issue on that

@dtouzeau can you provide more information about the results and what you expected?

I have a serie like this
![pic1](http://articatech.net/img/influx/09-05-2015 00-52-52.png)
For example, i have 2 sum in one query, the expected result is ok

If you add a field in group by with no calculation, no data is displayed

@dtouzeau in your example the MAC is a string that cannot be aggregated. Since you are using a GROUP BY in the query all results returned are aggregations. That's why the example with two SUMs works as expected: both are aggregations.
Even if you made the clause GROUP BY MAC,time(10m) you would not get buckets grouped by MAC and then by 10 minute intervals. In the current InfluxDB time() is always the primary GROUP BY parameter. I've made a note to make the docs more explicit on that point.

Very disappointed on this limitation.
Worked on 0.8...
So to have expected results we must dump rows from Influx -> Insert rows into MySQL -> query MySQL with group by strings method ...

@dtouzeau If this is something you query frequently and the time ranges are uniform you could use continuous queries to replicate the functionality. You would likely need one per MAC address, though, so it could easily get out of hand.
The data structure changed significantly between 0.8 and 0.9, meaning some features are easier/faster and some are harder/slower/not possible. This is a feature that might return eventually but not in the short term.


custom macros not executed in YAML

Describe the issue
Given Architect 6.0.28, a custom macro, and a arc.yaml file, the macro is not invoked
Steps to reproduce
Steps to reproduce the behavior:

Create a arc.yaml with something like
macros:
- test-macro

Create the macro in src/macros/test-macro.js

The macro code for reproduction purposes can just be
module.exports = function testMacro (arc, cloudformation, stage) {
  console.log('test macro')
  return cloudformation
}

Run arc deploy

Expected behavior
I would expect to see test macro in stdout when running arc deploy. This does not happen with a YAML config, only with a .arc style config.

Sorry accidentally closed (on my phone travelling rn)
Will have a look today/ think the 2.x parser fixes both these issues but haven't integrated fully yet

FYI: as of last weekend I certified Parser 2.1 for production release; Architect will be rolling this out in the next week (as soon as I can find the time to update all our packages).

Confirmed this is fixed in 6.2.5!


Notification not showing on Android 13 and higher

A notification will be shown when the task is running, it is not possible to start the service without it. The notification will only be visible in Android.

this is no longer true for Android 13 and higher when using React Native 0.73 or higher (I think or maybe all versions)
Think it has to do with the target sdk bump.
For some reason the backround task is still running in background for me without a notification which I thought was required.
Though maybe it will get killed eventually because of this?
This is how I solved it but maybe this should be in docs? and maybe in implementation?
useEffect(() => {
    const askForPermissionsAndStartBackgroundService = async () => {
        const notificationsAllowed = await askForPostNotificationsPermission();
        if (!notificationsAllowed) return;
        await BackgroundService.start(
            ...config,
        );
    };
    askForPermissionsAndStartBackgroundService();
}, []);

export async function askForPostNotificationsPermission(): Promise<boolean> {
    if (Platform.OS !== 'android') return false;
    if (Platform.Version < 33) return false; // Only request for Android versions 13 and above

    try {
        const granted = await PermissionsAndroid.request(PermissionsAndroid.PERMISSIONS.POST_NOTIFICATIONS, {
            title: 'Notification Permission',
            message: 'We need your permission to show you notifications',
            buttonNeutral: 'Ask Me Later',
            buttonNegative: 'Cancel',
            buttonPositive: 'OK',
        });
        if (granted === PermissionsAndroid.RESULTS.GRANTED) {
            console.log('Permission Granted. You can now receive notifications.');
            return true;
        } else if (granted === PermissionsAndroid.RESULTS.DENIED) {
            console.log('Permission Denied. Notification permission is required.');
        } else if (granted === PermissionsAndroid.RESULTS.NEVER_ASK_AGAIN) {
            console.log('Permission Blocked. Notification permission has been blocked.');
            Alert.alert('Notification has not been granted!', 'Please long press on app icon, select App Info, select Notifications and enable all notifications.');
        }
    } catch (e) {
        console.warn('requestPostNotificationsPermission error', e);
    }
    return false;
}

I tried asking for permission POST_NOTIFICATIONS on Android 13, but application crashes


Do not allow deleting an Account if it's referenced by one or more Affiliations, Program Enrollments, or Course Enrollments

It'll be in its own TDTM class so those that don't want this restriction can disable it.

Included in beta release version 1.7 (Beta 4) and higher

Included in production release version 1.7


How do we install this?

sorry for the newbie question, but i tried uploading it, and didn't work. also i tried placing it under Plugins, and didn't show up in the Extensions->plugins page
feeling dumb
croogo 2.2.3

This is for cake 2.x, so it goes under APP/View/Themed/AdminExtras.
Then activate it by running
cd $APP
Console/cake settings.settings write Site.admin_theme AdminExtras


Dragoon Auto Rotation

I dont know if Im doing something wrong or not, but the Dragoon Rotation only goes through one of the Combos.
It currently only goes through the Chaotic Spring/Chaos Thrust Combo. When that combo is over it should progress into the Heavens' Thrust Combo set so Lance Charge can be used with Heavans' Thrust for Optimal Damage Output.

DRG is not supported at cap yet.

Outdated


hyperparameter_search.py script giving error: TypeError: 'NoneType' object is not callable

I slightly modified the hyperparameter search script so it can be used without using docker. I tried to run random search with different optimizers. My script works fine when using Adam as update_fn.
However, when using adadelta, it shows the following error:
OMP_NUM_THREADS=10 python hyperparam_search_test.py ./   /home/ydw529/DEEPLEARNING/code/deepsur_dneg/DeepSurv/hyperparam_search/box_constraints.0.json  50  --num_epochs 500 --update_fn "adadelta"
File "/home/ydw529/.conda/envs/theano/lib/python3.8/site-packages/deepsurv/deep_surv.py", line 211, in _get_loss_updates     updates = update_fn( TypeError: 'NoneType' object is not callable
I am wondering if anyone had the same issue before? If so, how did you solve it? Much appreciated!

Are you still facing the issue?
This is because the 'adadelta' updater isn't implemented in the utils function: here. So the function is returning "None".
If you can update the  utils function with the correct code and send a PR, I would be happy to merge it!


fix(designer): Default to off on content transfer chunking in stateless workflows

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bugfix: https://github.com/Azure/LogicAppsUX/issues/2922
Also adds a stateful/stateless into our workflow store
What is the current behavior? (You can also link to an open issue here)
When adding an action that has chunking, ex HTTP, it automatically set the setting as on, which will error when saving
What is the new behavior (if this is a feature change)?
When adding an action that has chunking, it will be off by default
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Will require a change in Portal
Please Include Screenshots or Videos of the intended change:

also i wasn't sure if there was a use case where we would need this setting in a stateless workflow; so for now I've just kept it like old designer and didn't turn off the isSupported flag

Fixes https://github.com/Azure/LogicAppsUX/issues/2701 as well


Skipping Nan's (or Empty Data)?

How would I allow the code to continue running after running into no data for one of the month intervals in the following?
The code I am referring to here can also be found in the GitHubIssues(CleanVersion) file as Issue 5!
Basically I have created a for loop and function to plot the CTD information of ARGO floats with a certain time bound, and am also trying to split those graphs into a month-by-month pattern. But not every float has data for a given month interval, and I was wondering how I would determine how those missing variables are stored (whether they are turned into NAN's or read some other way) and how I could tell the computer to just move on instead of getting stuck on an error.
Again, this code is a little bit long and I do not believe it would be useful to post an image here (and I am currently having some issues with my own computer in finding my own screenshots), but let me know if a picture would be helpful.
Thanks!

I'm not able to reproduce the error you're seeing in the notebook. But I can share strategies for testing for nan.
In your code, the error is happening on this statement:
max_lat = sliced_data.LATITUDE.max().values

I would test for nan before executing that statement, and move on to the next for-loop iteration if nan is found. Something like this:
for i, sliced_data in enumerate(sliced_data_list):
    # The condition below will be True if all LATITUDE values are nan
    # "continue" means that the rest of the code in the for loop is skipped,
    # and the next loop iteration is started
    if np.all(np.isnan(sliced_data.LATITUDE)):
        continue

    max_lat = sliced_data.LATITUDE.max().values
    ...

The test for all-nan is not intuitive if you're not very comfortable with numpy!

Hey Emilio!
I should have written it down, but we’re we doing an online meeting today?

On Aug 4, 2023, at 1:07 PM, Emilio Mayorga @.***> wrote:

I'm not able to reproduce the error you're seeing in the notebook. But I can share strategies for testing for nan.
In your code, the error is happening on this statement:
max_lat = sliced_data.LATITUDE.max().values
I would test for nan before executing that statement, and move on to the next for-loop iteration if nan is found. Something like this:
for i, sliced_data in enumerate(sliced_data_list):
# The condition below will be True if all LATITUDE values are nan
# "continue" means that the rest of the code in the for loop is skipped,
# and the next loop iteration is started
if np.all(np.isnan(sliced_data.LATITUDE)):
continue
max_lat = sliced_data.LATITUDE.max().values
...

The test for all-nan is not intuitive if you're not very comfortable with numpy!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


⚠ HawkeUno has degraded performance

In baeead4, HawkeUno ($UNO) experienced degraded performance:

HTTP code: 403
Response time: 2129 ms

Resolved: HawkeUno performance has improved in fe6b8b9 after 7 minutes.


[semver:patch] fix stack name property

I'd kinda like to see this support multiple stacks? WDYT?

It already does, it should work as a space separated list.


Update diagnosticMessages.json

Fixes #8996

Hi @AppShipIt, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

Forgot tests…

you also need to change the error message ids used in the code. e.g.

src/compiler/checker.ts(16217,62): error TS2339: Property 'Import_assignment_cannot_be_used_when_targeting_ECMAScript_6_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead' does not exist on type '{ Unterminated_string_literal: { code: number; category: DiagnosticCategory; key: string; message...'.

since now the ID is Import_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead
after that, do:

jake runtests
jake baseline-accept

and this should update all the failed test baselines

closing for now. please resubmit with the missing files.


Test and Document Testing the Persona Method

[x] Read through method
[ ] Create persona(s)
[ ] Document all the steps in photos and blog about it.
[ ] Share and identify areas where you are bumping - and recommendations for how to tweak the method.

hey @mjchamplin - have you gotten around to starting this yet?

Hey @iamjessklein for some reason I stopped getting notifications from this repo.
I'm working on this this week, hoping to have the blog post up next week. Since I'm getting married the following weekend, let's go ahead and assume it'll be on the next milestone.

Also the method mentions Persona templates but the links 404. Do those exist, or will they need to be created?

@iamjessklein I was coming back to this but need the previous question answered first. Please let me know!


SEO Testing - Verify Title Tag

Description: Verify that the homepage has a title tag with appropriate content.
Preconditions: The website https://oportunitatisicariere.ro/ is live and accessible.

Step 1: Open the browser's developer tools (F12).
Expected Result: The  tag should be present and contain a meaningful title relevant to the homepage content.

Step 2: Navigate to https://oportunitatisicariere.ro/).
Expected Result: The  tag should be present and contain a meaningful title relevant to the homepage content.

Step 3: Check the  tag in the  section of the page.
Expected Result: The  tag should be present and contain a meaningful title relevant to the homepage content.


Update for pixi.js 4

Probably not compatible with pixi.js < 4.

You could check PIXI.VERSION and make sure it works for both 3 and 4 - I'd happy to merge it then

Just checked it with 3.  Does not work so I guess not yet.

You could check the current PIXI version and switch between both approaches. Even if PIXI v4 would be released we will have to maintain backwards compatibility to v3 anyway.

Good point.  Updated it, works with both 3 and 4 now.

@dan335 thanks for doing this!

Thanks for making it!  Made things much easer.

release as https://github.com/Gamevy/pixi-packer-parser/tree/v1.2.0


SHACL shapes and controlled vocabularies

The mobilityDCAT-AP SHACL shape seems to contain a reference to not existing controlled vocabularies
https://github.com/mobilityDCAT-AP/mobilityDCAT-AP/blob/c7249d844ac711b5d9ff0294ca1f50f27fa3d1cf/drafts/1.0.1-draft-0.1/mobilitydcatap_shacl_shapes_v1.0.0.ttl#L607
like https://w3id.org/mobilitydcat-ap/data-content-category and https://w3id.org/mobilitydcat-ap/service-category.
I think this is an oversight due to the previous naming of the vocabularies. It does not seem to me that these vocabularies are referenced in the ReSpec page. The updated list of vocabularies is documented here.

I updated the references to the controlled vocabularies with those specified here. This update applies to the latest draft version and the release version.


KeyCastr - Getting to the preferences screen

I just installed KeyCastr and I have a problem when trying to go to Keycastr's preferences window.

Clicking on the dock icon only shows me these options:

I don't see the app's icon on the menu bar on top.

I also don't see the app icon in the app switcher (When I press Cmd + Tab)

How Can I get to the preferences window ?

You can open it from the KeyCastr menu item when the app is in the foreground, or with cmd-,


Lazy::whenLoaded has not any method that indicate is relation loaded or not?

✏ Describe the bug
Lazy::whenLoaded has not any method that indicate is relation loaded or not?
In addition at Spatie\LaravelData\Support\Lazy\RelationLazy  in resolve method :
php
return $this->model->{$this->relation} !== null ? ($this->value)() : null;
$this->model->{$this->relation} cause load the model relation i think you must change it to $this->model->relationLoaded($this->relation) ?  ($this->value)() : null;
✅ Expected behavior
I expected have any method which returns boolean for checking is a field with Lazy type load the defined relation or not for example
if i declare public readonly Lazy|TaskData  $task   and in
fromModel method:
self::fron([
.....,
'task' => Lazy::whenLoaded('task', $userTask, fn() => $userTask->task->getData())
]);
i want to findout load status of relation like this :
if($userTaskData->task->isLoaded()) do something
🖥 Versions
Laravel: 11.9
Laravel Data: 4
PHP: 8.2

Lazy properties are only useful in outputting a data object as an array, response, json, ... so normally you wouldn't call any method on it. You can use the shouldBeIncluded method since that's basically what data does.


Integration test

sidecar with vault initialization:    https://github.com/raffaelespazzoli/vault-config-operator/blob/artifactory/config/local-development/vault-values.yaml

sidecar with vault initialization: https://github.com/raffaelespazzoli/vault-config-operator/blob/artifactory/config/local-development/vault-values.yaml

This is implemented.


Add github test workflow

Run tests on pushes and pull requests
We use tox 1 to drive the tests since this takes care of creating a
virtual environment, installing the package into it, and running
tests. Running in a clean virtual environment helps catch problems
like missing dependencies.

Thanks for this @larsks !


pass handlers option through to mdast-util-to-hast

This enables support for overriding handlers in mdast-util-to-hast as added in https://github.com/syntax-tree/mdast-util-to-hast/pull/10

Cheers @sethvincent!


Add a shortcut to the project detail page

Motivation
Add a shortcut to the project detail page (on the navbar).
Modification

Add chakra react select

chakra-react-select https://github.com/csandman/chakra-react-select is a wrapper of react-select
react-select https://github.com/jedwatson/react-select
alternative https://github.com/koolamusic/chakra-ui-autocomplete but this one is using downshift, which looks more complex than react-select

Add some fake data using fakerjs https://fakerjs.dev/
Remove router from useEffect dependencies (causing infinite loop).
Combine chakra's link with next link https://github.com/line/centraldogma/pull/766#discussion_r1040993677
Update mock apis to use dynamic routes.

Result
Follow these instructions to view the result locally.

npm i
npm run mock
Use the navbar to navigate to any projects.

Note: A page is redirected to the root page. We may need to handle it in the following work.

Found the issue. 😅  Will include the fix in the next PR.


Trying to use Emojics with Turbolinks but it isn't executing returned script

Hello, I'm having a problem to use emojics, I was using this with Google Tag Management, but since it wasn't working I tried a direct approach. The problem now is, it just loads when I go directly to the target page, it doesn't load if I change from a page to another one using turbo links.
When I go direct to the page that emojics are on:

When I go from another page:

This is the Emojics code that goes on the body of the erb page.

So, this code inserts a script tag with the emojics source, this script will make a request, the return of this will be a script that will execute using my "widget" and get the images, emojis and will put this on my page.
I already tried to use turbolinks events and other things. I think what is happening is the return of the emojics scripts is not being executed?. Also, I think that the same problem was happening with GTM.
I don't know if this is the case but I tried to do a direct request and got this error:

Hello @kostadriano
Integrating third-party libraries and widgets can pose some problems, particularly when the installation only involves adding a script tag and some markup. With this set up, it can be difficult to figure out how it works and what's going wrong.
If there is a way to manually initialise the library (on turbolinks:load and perhaps tear it down on turbolinks:before-cache), then I'd recommend that route if possible.


As a preservation administrator, I would like the ASpace “title” field for an archival object to be placed in the dcterms.title field in the Archivematica metadata.csv on a line for that object.

@librarycard How is this different from #44 ?

Transferred to Trello.