Add USD filetype detection

This PR adds filetype recognition for USD files. USD was developed by Pixar Animation Studios but it's extremely pervasive in VFX, 3D animation, and more recently, games. I was hoping to keep this PR small for a first pass but if syntax highlighting and other features are desired please let me know and I can add them. If highlighting in particular is desired, there's an existing https://github.com/superfunc/usda-syntax repository that was released with an MIT license that we could use as a base.
About USD's file extensions, I'd like to mention something briefly.
USD has 4 standardized file extensions

.usd - This could be text or binary
.usda - This is always text
.usdc - This is always binary
.usdz - This is a gzipped archive and not text

In this PR I figured "explicit text files only is preferred" so I've included just .usda and .usd for the file type detection.
About the .usd filetype
Because it can be text or binary, I have a some personal autocmd that will, if it detects that the .usd is binary, convert it to text and set the filetype accordingly and then, on BufWritePost, convert the changes back to binary. Inspired by Vim's documentation (:help gzip-example). And I also do that for .usdc files too. If you consider that a personal configuration then I'll leave it there but wanted to mention it in case there was a desire to upstream.

This PR adds filetype recognition for USD
files. USD was developed by Pixar Animation Studios but it's extremely
pervasive in VFX, 3D animation, and more recently, games. I was hoping
to keep this PR small for a first pass but if syntax highlighting and
other features are desired please let me know and I can add them. If
highlighting in particular is desired, there's an existing
https://github.com/superfunc/usda-syntax repository that was released
with an MIT license that we could use as a base.
About USD's file extensions, I'd like to mention something briefly.
USD has 4 standardized file extensions

.usd - This could be text or binary
.usda - This is always text
.usdc - This is always binary
.usdz - This is a gzipped archive and not text

In this PR I figured "explicit text files only is preferred" so I've
included just .usda and .usd for the file type detection.

Seems OK to me.  Please add an entry in src/testdir/test_filetype.vim.

About the .usd filetype
Because it can be text or binary, I have a some personal autocmd that
will, if it detects that the .usd is binary, convert it to text and
set the filetype accordingly and then, on BufWritePost, convert the
changes back to binary. Inspired by Vim's documentation (:help gzip-example). And I also do that for .usdc files too. If you
consider that a personal configuration then I'll leave it there but
wanted to mention it in case there was a desire to upstream.

This conversion in two ways may be a bit unexpected for someone who
doesn't know this kind of file.  Making it available as a separate
plugin makes more sense, then the user intentionally wants this.
--
How To Keep A Healthy Level Of Insanity:
7. Finish all your sentences with "in accordance with the prophecy".
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

I've updated the src/testdir/test_filetype.vim. I assumed you just meant add a one-liner for the filetype. Please let me know if I can do anything else. Thank you!


Fix line endings (hopefully)

CRLF -> LF

Draft still cause I did it on Linux and --renormalize wouldn't work so I had to use a custom bash script instead.

Should be all good now


[BUG] Terminal Emacs: cursor shape unchanged under insert mode

Describe the issue
Under terminal emacs, the cursor shape is unchanged under both command and insert modes -- which leaves terminal emacs users confused at times.
The behavior is different under GUI Emacs. Even not many people use terminal Emacs, I'd think it is nice to correct the behavior.
Steps to reproduce

emacs -nw
open any file, then press i to enter insert mode
notice the cursor is unchanged.

System information

emacs   version    26.1
        features   XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LIBSYSTEMD LCMS2
        build      Feb 03, 2019
        buildopts  (--build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-26.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro)
        windowsys  nil
        daemonp    daemon
doom    version    2.0.9
        build      HEAD -> develop 2d36c0f9a 2019-10-29 11:36:46 -0400
system  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /bin/zsh
        uname      Linux 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64
        path       (/usr/local/bin /usr/local/sbin /usr/bin /bin /usr/games /usr/lib/surfraw ~/.fzf/bin ~/02-computing/linux/bin ~/.local/bin ~/.emacs.d/bin /usr/lib/emacs/26.1/x86_64-linux-gnu)
config  envfile    nil
        elc-files  0
        modules    (:completion company (ivy +fuzzy) :ui doom doom-dashboard doom-quit hl-todo modeline nav-flash ophints (popup +all +defaults) vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold (format +onsave) multiple-cursors rotate-text snippets :emacs dired electric vc :term eshell term :tools eval flycheck (lookup +docsets) magit make tmux :lang cc clojure data emacs-lisp ess javascript markdown (org +dragndrop +ipython +pandoc +present) python sh :config (default +bindings +smartparens))
        packages   (n/a)
        elpa       (n/a)

Try installing https://github.com/7696122/evil-terminal-cursor-changer:
;; ~/.doom.d/packages.el
(package! evil-terminal-cursor-changer)

;; ~/.doom.d/config.el
(use-package! evil-terminal-cursor-changer
  :unless (display-graphic-p)
  :config
  (evil-terminal-cursor-changer-activate))

Cool... it works like a charm.

Any reason this is not in doom?

Any reason this is not in doom?

@magnetophon This isn't included in Doom because the package is no longer maintained, is unreasonably buggy and lacks support for a number of terminals (like mate-terminal, xfce4-terminal) as well as tmux. Where it isn't supported, it inserts extraneous characters into the buffer on cursor change. With decisions like these, I prefer the principle of least surprise. An unchanging cursor is less surprising. What's more, the config is trivial enough for people to install themselves.

 Thanks!

Thanks, @hlissner. I will add this item in...

Just a heads up. As of 0a4841b Doom has a :os tty module. It includes clipboard integration (either xclip or clipetty -- see its docs), but it also installs evil-terminal-cursor-changer. I didn't want to add it as a core package, but as an opt-in module, I can leave it to the user to decide.
Hope that's helpful!


Swarm may cause deployment to fail during cluster joining

Swarm, used by Quantum, may cause rolling deployment to fail.
15:06:39.503 [info] [swarm on<EMAIL_ADDRESS>[tracker:cluster_wait] joining cluster..
15:06:39.503 [info] [swarm on<EMAIL_ADDRESS>[tracker:cluster_wait] found connected nodes<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>15:06:39.503 [info] [swarm on<EMAIL_ADDRESS>[tracker:cluster_wait] selected sync node<EMAIL_ADDRESS>15:06:39.504 [info] [swarm on<EMAIL_ADDRESS>[tracker:syncing] received registry from<EMAIL_ADDRESS>merging..
15:06:39.504 [info] [swarm on<EMAIL_ADDRESS>[tracker:syncing] local synchronization with<EMAIL_ADDRESS>complete!
15:06:39.504 [info] [swarm on<EMAIL_ADDRESS>[tracker:resolve_pending_sync_requests] pending sync requests cleared
15:06:49.661 [info] Application ewallet exited: EWallet.Application.start(:normal, []) returned an error: shutdown: failed to start child: EWallet.Scheduler
    ** (EXIT) exited in: :gen_statem.call(Swarm.Tracker, {:track, EWallet.Scheduler.TaskRegistry, %{mfa: {Quantum.TaskRegistry, :start_link, [%Quantum.TaskRegistry.StartOpts{name: EWallet.Scheduler.TaskRegistry}]}}}, 15000)
        ** (EXIT) time out
15:06:49.681 [error] GenStateMachine #PID<0.2599.0> terminating
** (exit) {:shutdown, :sender_died, :killed}
    (stdlib) gen_statem.erl:1158: :gen_statem.loop_event_result/9
    (ssl) tls_connection.erl:134: :tls_connection.init/1
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Kernel pid terminated (application_controller) ({application_start_failure,ewallet,{{shutdown,{failed_to_start_child,'Elixir.EWallet.Scheduler',{timeout,{gen_statem,call,['Elixir.Swarm.Tracker',{track
{"Kernel pid terminated",application_controller,"{application_start_failure,ewallet,{{shutdown,{failed_to_start_child,'Elixir.EWallet.Scheduler',{timeout,{gen_statem,call,['Elixir.Swarm.Tracker',{track,'Elixir.EWallet.Scheduler.TaskRegistry',#{mfa => {'Elixir.Quantum.TaskRegistry',start_link,[#{'__struct__' => 'Elixir.Quantum.TaskRegistry.StartOpts',name => 'Elixir.EWallet.Scheduler.TaskRegistry'}]}}},15000]}}}},{'Elixir.EWallet.Application',start,[normal,[]]}}}"}

Crash dump is being written to: erl_crash.dump...done

Guess: newer eWallet version (deployment, or whatever) tried to connect to older instance and crash.

Actually maybe this one https://github.com/quantum-elixir/quantum-core/issues/374


Clarity on Steps for Properly Configuring Customer Service Workspaces

Can these pages provide a step by step guide to configuring Customer Service Workspaces? Currently these are more feature descriptions. If one does not follow the proper order you will run into configuration problems.
Step 1 - do this first
Step 2 - do this second
Otherwise, we are left with Binging and googling other sources to figure out what the proper, safe, steps are to configure this application.

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

ID: 84b5d518-64b4-ff40-f445-c276111a3ae1
Version Independent ID: bbb02e09-1fec-d867-e39e-ddb82baabdd1
Content: Configure Dynamics 365 Customer Service
Content Source: ce/customer-service/configure-cs.md
Service: dynamics-365-customerservice
GitHub Login: @neeranelli
Microsoft Alias: nenellim

Thanks for your comment, @hammr5900. This issue has been assigned to the doc author for review.

Thank you @hammr5900 for writing to us. I agree that the information on this page is outdated. I will address it.
As you might be aware of, Customer Service is a vast offering with many features and there's no one order to configure the features. Currently, the features are organized in their own hierarchy and any dependency of another feature, or a sequence is listed in the prerequisites section of the feature configuration page. For example, to configure unified routing, some prerequisites are required, and an order needs to be followed. This information is covered in the How to set up unified routing article.
Can you please share information on the feature that was not easy to configure, and I'll see if the content needs an update in the area.
As a best practice, when you browse an article, you can also look at the Table of contents on the left navigation that helps provide the context for the information.
Best regards,
Neeraja

Hello Neeraja,
Thank you for the feedback.
The prereqs help. The challenge is then many prereqs have additional prereqs.
I understand the challenges. It is tough keeping up with all the features and changes.
Perhaps an example our two for setting up a specific channel or agent to do a specific task. Include all the pre-steps and actual steps for that scenario.
Thank you for your hard work!
Mike
From: Neeraja Nellimarla @.>
Sent: Wednesday, July 5, 2023 4:46 AM
To: MicrosoftDocs/dynamics-365-customer-engagement @.>
Cc: Michael Hammons @.>; Mention @.>
Subject: Re: [MicrosoftDocs/dynamics-365-customer-engagement] Clarity on Steps for Properly Configuring Customer Service Workspaces (Issue #3064)
Thank you @hammr5900https://github.com/hammr5900 for writing to us. I agree that the information on this page is outdated. I will address it.
As you might be aware of, Customer Service is a vast offering with many features and there's no one order to configure the features. Currently, the features are organized in their own hierarchy and any dependency of another feature, or a sequence is listed in the prerequisites section of the feature configuration page. For example, to configure unified routing, some prerequisites are required, and an order needs to be followed. This information is covered in the How to set up unified routinghttps://learn.microsoft.com/dynamics365/customer-service/set-up-routing-process article.
Can you please share information on the feature that was not easy to configure, and I'll see if the content needs an update in the area.
As a best practice, when you browse an article, you can also look at the Table of contents on the left navigation that helps provide the context for the information.
Best regards,
Neeraja
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/dynamics-365-customer-engagement/issues/3064#issuecomment-1621308833, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWRMQR5PLI4GVRXW4VHGKT3XOUSTBANCNFSM6AAAAAAZZBU6HI.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Pass username through from the service for passphrase pinentry and use it

@keybase/react-hackers @patrickxb
Prior to this PR, the only access we had to the username being asked for during secretUi.getPassphrase was inside the prompt parameter (Please enter the Keybase passphrase for cjb..).  This PR adds it to the protocol and sends it through when it's known for use during kex2.
Before:

After:

:+1:

LGTM


'package:flutter/src/widgets/widget_inspector.dart': Failed assertion: line 894 pos 16: 'index == parameters.length': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md
════════ Exception caught by Flutter framework ═════════════════════════════════
The following assertion was thrown during a service extension callback for "ext.flutter.inspector.setPubRootDirectories":
'package:flutter/src/widgets/widget_inspector.dart': Failed assertion: line 894 pos 16: 'index == parameters.length': is not true.
When the exception was thrown, this was the stack
#2      WidgetInspectorService._registerServiceExtensionVarArgs.
package:flutter/…/widgets/widget_inspector.dart:894
#3      WidgetInspectorService._registerServiceExtensionVarArgs.
package:flutter/…/widgets/widget_inspector.dart:882
#4      BindingBase.registerServiceExtension.
package:flutter/…/foundation/binding.dart:546

(elided 2 frames from class _AssertionError)
════════════════════════════════════════════════════════════════════════════════
Error handling 'serviceExtension' custom request: ext.flutter.inspector.setPubRootDirectories: (-32000) Server error
{"exception":"'package:flutter/src/widgets/widget_inspector.dart': Failed assertion: line 894 pos 16: 'index == parameters.length': is not true.","stack":"#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)\n#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)\n#2      WidgetInspectorService._registerServiceExtensionVarArgs. (package:flutter/src/widgets/widget_inspector.dart:894:16)\n#3      WidgetInspectorService._registerServiceExtensionVarArgs. (package:flutter/src/widgets/widget_inspector.dart:882:17)\n#4      BindingBase.registerServiceExtension. (package:flutter/src/foundation/binding.dart:546:32)\n\n","method":"ext.flutter.inspector.setPubRootDirectories"}

I also experienced exactly the same issue right now and still looking for the solution too.

I have a same issue. Any update?

Same here.

This is a duplicate of https://github.com/flutter/flutter/issues/68705 and was recently fixed by https://github.com/flutter/flutter/pull/68721.
The fix is currently on Flutter master channel.


fix code fence languages

WORK IN PROGRESS
some fenced code blocks did not have proper syntax hi light, due to wrong/missing language declarations.
This PR will fix this, based on https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml

ready for review


Unable to connect to EU region for New Relic provider

Guys,
I am unable to connect to the EU region account of the new relic while passing --region=EU to the terraformer cli.
terraformer import newrelic -r alert,synthetics --account-id=<account_id> --api-key=<api-key> --region=EU

Please find the error in the screenshot. Please help me on an urgent basis.

Still looking for reply from Developers.


i can‘t get library

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version:
Kafka Version:
Go Version: 1.6.3
Problem Description
when I get library：
go get -u github.com/Shopify/sarama
github.com/Shopify/sarama
/home/XX/goproc/src/github.com/Shopify/sarama/delete_records_request.go:96: undefined: sort.Slice
/home/xx/goproc/src/github.com/Shopify/sarama/delete_records_response.go:99: undefined: sort.Slice

Per the README, we currently only support back to Go 1.8, where (I believe) sort.Slice was added. You might want to try a different tagged version rather than master.


concat dependency update

Update to < 5.0.0 since current release is 4.0.1

Fixed in #58

Please release this to the forge.

Release 2.0.1 contains this fix!


Copyright format change request

Please change Copyright format of all code files into below format:
/* Copyright (c) 20xx-20yy Alibaba Cloud

Copyright (c) 2021 Intel Corporation
SPDX-License-Identifier: Apache-2.0
*/

Will use the following format:
/* Copyright (c) 2021 Intel Corporation
 * Copyright (c) 2020-2021 Alibaba Cloud
 *
 * SPDX-License-Identifier: Apache-2.0
 */

Resolved by https://github.com/alibaba/inclavare-containers/commit/6afd527bf0dbcf56d05724a7dcb27ef8a377c47a


Negative supply amount

subject: d195ca7db29f0f13a00cac7fca70426ff60bad4e1e87d3757fae848468764d494e
supply: negative
That's weird, maybe some rounding/overflow somewhere.

Wrong starting point


[Helm] Fix flawed logic in deployment env vars

PR #6149 only fixed the keys for redis but not for rabbitmq. This PR fixes this problem and additionally removed unnecessary ifs, which was already discussed in #6054.

@italvi  I just wanted to give you a heads up that the helm reviewers are currently away. I'm not sure when this PR will be reviewed.


[SPARK-37520][SQL] Add the startswith() and endswith() string functions

What changes were proposed in this pull request?
In the PR, I propose to expose the existing string expression StartsWith and EndsWith as functions to Spark SQL.
Why are the changes needed?
To make migration from other systems easier for new Spark users. The functions are popular, and broadly used in other systems. For example,
Snowflake:
https://docs.snowflake.com/en/sql-reference/functions/startswith.html
https://docs.snowflake.com/en/sql-reference/functions/endswith.html
Cosmos DB:
https://docs.microsoft.com/en-us/azure/cosmos-db/sql/sql-query-startswith
https://docs.microsoft.com/en-us/azure/cosmos-db/sql/sql-query-endswith
Does this PR introduce any user-facing change?
No
How was this patch tested?
By running new tests:
$ build/sbt "sql/testOnly *SQLQueryTestSuite -- -z string-functions.sql"
$ build/sbt "sql/test:testOnly org.apache.spark.sql.expressions.ExpressionInfoSuite"

Test build #145856 has started for PR 34782 at commit acb321d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50331/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50331/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50331/

Test build #145856 has finished for PR 34782 at commit acb321d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145856/

Test build #145862 has started for PR 34782 at commit f42b8c4.

Test build #145862 has finished for PR 34782 at commit f42b8c4.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145862/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50337/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50337/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50337/

retest this please

Merged to master.


CUDA out of memory

I set Cuda to 5
INFO:lightning:CUDA_VISIBLE_DEVICES: [5]
however, there always a small part of the memory in gpu 0, when gpu 0 has not enough memory, error is produced.

in the img you can see that two processes is running on gpu5,6 and 2 * 577M is running gpu0.
I want the processes to only use what GPU I set.

m24.py

I have this same issue as well, it happens regardless of memory pinning

I am using this as a temporary fix
if __name__ == "__main__":
    args = parse_arguments()
    os.environ['CUDA_DEVICE_ORDER'] = 'PCI_BUS_ID'
    os.environ['CUDA_VISIBLE_DEVICES'] = ','.join(map(str, args.gpus))
    args.gpus = list(range(len(args.gpus)))
    ...
    trainer = pl.Trainer(gpus=args.gpus)

you shall user batch side finder

can you try running on master? and also decrease your batch size?

can you try running on master? and also decrease your batch size?

It has no matter with the batch size, I  solved the problem with torch.cuda.set_device(6)


Dog genome alignment failure

Hi, I am running the CPU version of juicer and I am getting the following error upon running the juicer.sh script with the dog genome
***! Error! The statistics do not add up. Alignment likely failed to complete on one or more files. Run relaunch_prep.sh.
Upon running relaunch_prep.sh I get errors saying that the directory splits/* doesn't exist. I have used the same reference and fastq files for bwa alignments that work elsewhere, but I am unsure as to why its not working with juicer.

Try rerunning Juicer from the beginning. Also post your directory set up.
In general this is not a bug so you should post instead to the forum at
aidenlab.org/forum.html
On Fri, Sep 27, 2019 at 11:16 AM dhrititandon<EMAIL_ADDRESS>wrote:

Hi, I am running the CPU version of juicer and I am getting the following
error upon running the juicer.sh script with the dog genome
***! Error! The statistics do not add up. Alignment likely failed to
complete on one or more files. Run relaunch_prep.sh.
Upon running relaunch_prep.sh I get errors saying that the directory
splits/* doesn't exist. I have used the same reference and fastq files for
bwa alignments that work elsewhere, but I am unsure as to why its not
working with juicer.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aidenlab/juicer/issues/136?email_source=notifications&email_token=AAK2EWYULEJCECJ7GQ5C5WLQLYPVVA5CNFSM4I3HVJG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOF2VBQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAK2EW6XWLBGXHLRMTBCEW3QLYPVVANCNFSM4I3HVJGQ
.

--
Neva Cherniavsky Durand, Ph.D.
Staff Scientist, Aiden Lab
www.aidenlab.org


[BUG] 配置中心不更新 ConfigInterface object ?

Darwin JasoniMac.local 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar  6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64
PHP 8.0.28 (cli) (built: Feb 14 2023 15:55:13) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.28, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.28, Copyright (c), by Zend Technologies
hyperf/code-parser               v3.0.18 A code parser component for Hyperf.
hyperf/codec                     v3.0.1  A codec component for Hyperf.
hyperf/collection                v3.0.21 Hyperf Collection package which come from illuminate/collections
hyperf/conditionable             v3.0.0  Hyperf Macroable package which come from illuminate/conditionable
hyperf/config                    v3.0.20 An independent component that provides configuration container.
hyperf/config-center             v3.0.18 The abstraction component of config center
hyperf/config-etcd               v3.0.0  An etcd adapter for config center component.
hyperf/constants                 v3.0.18 A constants component for hyperf.
hyperf/context                   v3.0.18 A coroutine/application context library.
hyperf/contract                  v3.0.10 The contracts of Hyperf.
hyperf/coordinator               v3.0.18 Hyperf Coordinator
hyperf/coroutine                 v3.0.16 Hyperf Coroutine
hyperf/crontab                   v3.0.16 A crontab component for Hyperf.
hyperf/db                        v3.0.18
hyperf/di                        v3.0.18 A DI for Hyperf.
hyperf/dispatcher                v3.0.16 A HTTP Server for Hyperf.
hyperf/engine                    v2.8.1  Coroutine engine provided by swoole.
hyperf/engine-contract           v1.7.0  Contract for Coroutine Engine
hyperf/etcd                      v3.0.18 Etcd Client for Hyperf.
hyperf/event                     v3.0.0  an event manager that implements PSR-14.
hyperf/exception-handler         v3.0.18 Exception handler for hyperf
hyperf/filesystem                v3.0.18 flysystem integration for hyperf
hyperf/framework                 v3.0.18 A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and midd...
hyperf/guzzle                    v3.0.18 Swoole coroutine handler for guzzle
hyperf/http-message              v3.0.18 microservice framework base on swoole
hyperf/http-server               v3.0.21 A HTTP Server for Hyperf.
hyperf/logger                    v3.0.20 A logger component for hyperf.
hyperf/macroable                 v3.0.0  Hyperf Macroable package which come from illuminate/macroable
hyperf/pipeline                  v3.0.16 Hyperf Macroable package which come from illuminate/pipeline
hyperf/pool                      v3.0.18 An independent universal connection pool component.
hyperf/process                   v3.0.18 A process component for hyperf.
hyperf/rate-limit                v3.0.18 A rate limiter implemented for Hyperf or other coroutine framework
hyperf/redis                     v3.0.21 A redis component for hyperf.
hyperf/serializer                v3.0.0  A serializer component for Hyperf.
hyperf/server                    v3.0.20 A base server library for Hyperf.
hyperf/signal                    v3.0.18 A signal library for Hyperf.
hyperf/stringable                v3.0.18 Hyperf Stringable package which come from illuminate/support
hyperf/support                   v3.0.1  A support component for Hyperf.
hyperf/tappable                  v3.0.0  Hyperf Macroable package which come from illuminate/tappable
hyperf/task                      v3.0.18 A task library for Hyperf.
hyperf/token-bucket              v2.0.0  Implementation of the Token Bucket algorithm.
hyperf/utils                     v3.0.18 A tools package that could help developer solved the problem quickly.

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 5.0.3
Built => Apr 30 2023 21:05:44
coroutine => enabled with boost asm context
kqueue => enabled
rwlock => enabled
sockets => enabled
http2 => enabled
json => enabled
pcre => enabled
zlib => 1.2.11
brotli => E16777225/D16777225
mysqlnd => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 262144 => 262144

Description:
当etcd配置数据改变时，ConfigInterface 对象的相应数据没有更新
Steps To Reproduce:
ConfigChanged 事件被触发，在 $event->current里可以看到更新的数据，但是ConfigInterface还是旧数据
use Hyperf\Contract\ConfigInterface;
use Hyperf\Utils\ApplicationContext;
use Psr\Container\ContainerInterface;
use Hyperf\ConfigCenter\Event\ConfigChanged;
use Hyperf\Event\Contract\ListenerInterface;

class ConfigChangedListener implements ListenerInterface
{

    public function listen(): array
    {
        return [
            ConfigChanged::class
        ];
    }

    public function process(object $event): void
    {
        $container = ApplicationContext::getContainer();
        $config = $container->get(ConfigInterface::class);

        print($config->get('testkey'));

       //   /app is namespace
        print_r($event->current['/app/testkey']);
    }
}

经过测试在其他功能函数里可以正常拿到更新的配置数据，就是这个 Listener 不行
可以关闭这个Issue了


Better Docker

Improves the Docker experience by leveraging Data volumes, dropping root permissions, using a more lightweight and secure base image (node:alpine), and moving unwieldy run arguments into a docker-compose file. The net result is you can now issue a single command docker-compose up --build to have a fully-functional verdaccio instance running.

How does the change to a non-root user impact the changes made by #62?

@jmwilkinson This essentially supersedes that change. There are multiple ways to solve permissions in Docker containers, but running a container as root is never the correct one. Root in a container effectively runs the process with root privileges on the host, so if the container is compromised the underlying host OS is effectively compromised. Running a named volume (in my opinion) combines enhanced security by dropping root with low-friction deployment for stock environments. From a verdaccio user's perspective, a non-root container instance has essentially zero downsides and only provides gains in security. The same is true albeit to a lesser degree switching from an image with a Debian base to Alpine.

I couldn't make it work applying your changes locally. It's gets stuck on step Step 9/13 either using the docker-composer or the docker build. Also, I understand the benefit of docker-composer coordinating several services and so on, but, unless verdaccio needs additional external services, what's the point to use it?. Perhaps you can provide an insight about it.
macbook-j:verdaccio.master.git jpicado$ docker build -t verdaccio .
Sending build context to Docker daemon 120.1 MB
Step 1/13 : FROM node:alpine
 ---> 5e1532cfe1ea
Step 2/13 : ENV appdir /usr/local/app
 ---> Using cache
 ---> 381936c2b901
Step 3/13 : RUN mkdir -p $appdir
 ---> Using cache
 ---> 421737fdf438
Step 4/13 : WORKDIR $appdir
 ---> Using cache
 ---> a68a7219fc22
Step 5/13 : COPY . $appdir
 ---> 54f7e4a10152
Removing intermediate container ed650627717f
Step 6/13 : RUN npm install
 ---> Running in 044b079bfe1f
npm info it worked if it ends with ok
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info ok
 ---> 1b041e7e6e3f
Removing intermediate container 044b079bfe1f
Step 7/13 : RUN mkdir -p /verdaccio/storage /verdaccio/conf
 ---> Running in 6f7261a583ba
 ---> b2bbf37e972d
Removing intermediate container 6f7261a583ba
Step 8/13 : ADD conf/docker.yaml /verdaccio/conf/config.yaml
 ---> 63b444140b16
Removing intermediate container df3f53745b8f
Step 9/13 : RUN addgroup -S verdaccio && adduser -S -g verdaccio verdaccio && chown -R verdaccio:verdaccio $appdir && chown -R verdaccio:verdaccio /verdaccio
 ---> Running in be5595e7071a

Closing in relation of #181


Activation in progress status doesn't change to Active on harvesting page

WTR:
Go to harvesting page
Activate harvesting
Result: you can see that Activation in progress state doesn't change to Active
Note: integration branch

can not reproduce


Created reportportal testresults tool collector

reportportal.io is a test automation dashboard.

@gopiprasanthpotipireddy Please ping me on gitter, We would like this collector to go under Hygieia Organization.

@gopiprasanthpotipireddy we would want the collector code to go under https://github.com/Hygieia/hygieia-feature-pivotaltracker-collector. Also you would need to sign the contributors agreement, please see https://hygieia.github.io/Hygieia/contribute.html

@gopiprasanthpotipireddy Can you look at the comments and address them so that we can proceed with accepting your contribution? Thanks!

@gopiprasanthpotipireddy Can you look at the comments and address them so that we can proceed with accepting your contribution? Thanks!

@rvema can you send me the gitter link so that i can ping you there.

@gopiprasanthpotipireddy I have sent an invite for gitter. The url for the chatroom is https://gitter.im/capitalone/Hygieia. Also please review the contributor agreement at https://hygieia.github.io/Hygieia/contribute.html

@rvema can you look into this and close once the review completed.

@gopiprasanthpotipireddy Did you fill up the contributor agreement? Also since this is a test automation tool I have created a new repo for the same - https://github.com/Hygieia/hygieia-codequality-pivotaltracker-collector . Please create a pull request against the new repository.

@rvema i fill up contributor agreement. but this is not pivotal tracker collector, this is reportportal collector.

@gopiprasanthpotipireddy Does hygieia-codequality-reportportal-collector sound good?

@gopiprasanthpotipireddy Does hygieia-codequality-reportportal-collector sound good?

@rvema hygieia-testresults-reportportal-collector will be fine.

@gopiprasanthpotipireddy Test Results come under code quality hence created the repo for the same. Please close this PR and create the PR under this directory - https://github.com/Hygieia/hygieia-codequality-reportportal-collector

@rvema okay sure


When I restart the computer for a few seconds, tarskbarx does not run normally

Describe the bug
After restart, log in to the desktop, and then you can see that tarskbarx is running normally: the taskbar icon lives, and the color is transparent; but after a while, the icon still lives, but the taskbar color becomes the default color instead of transparent
To Reproduce
Steps to reproduce the behavior:

Go to 'restart'

Expected behavior
Tarskbarx can be started normally after each restart, and the display is normal
Desktop (please complete the following information):

OS: [e.g. Windows 10]
Version [e.g. 20H2]

Additional context
Add any other context about the problem here.

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤


Error when running examples with deformable bodies

Hi,
Thanks for your great work!
I came across this error when I run the examples with deformable boides (in folded_unfolded_state_demo.py and overlaid_demo.py):
AttributeError: 'ClothPrim' object has no attribute 'kinematic_only'
Would you please give any suggestions on this?
Thank you so much!

Thanks for reporting this. We have fixed this issue and will include the fix in the next public release.
Meanwhile, please add the following lines of code the cloth_prim.py as a temporary walkaround.
    @property
    def kinematic_only(self):
        """
        Returns:
            bool: Whether this object is a kinematic-only object. For ClothPrim, always return False.
        """
        return False

Let me know if this addresses this issue.

It solves this problem, but there is others function (check_smoothness() and check_projection_area_and_diagonal()) missing in folded_state_demo.py (in the tutorial):
AttributeError: 'Folded' object has no attribute 'check_projection_area_and_diagonal'
Thanks!

Hmmm folded_state_demo.py is probably outdated in the tutorial. We will update it.
For now, can you use folded_unfolded_state_demo.py? Does it work for you?
https://github.com/StanfordVL/OmniGibson/blob/main/omnigibson/examples/object_states/folded_unfolded_state_demo.py

It works, thank you again!


Add empty privacy manifest to FlutterMacOS

We've been considering privacy manifests to be an iOS-only issue so far, but while Required Reason APIs explicitly list every platform but macOS, https://developer.apple.com/support/third-party-SDK-requirements/ doesn't actually specify anything about platform, and privacy manifests are for any platform—they just don't need NSPrivacyAccessedAPITypes on macOS (per the note on that page).
In practice, https://developer.apple.com/support/third-party-SDK-requirements/ doesn't list any of our macOS plugin implementations, and it doesn't list FlutterMacOS, so it's effectively iOS-only for us right now. However, adding an empty manifest to the engine on macOS would be easy, and would future-proof us against having to do work later that would need to percolate through the release channels (or require a cherry-pick), and should be harmless even if never needed. Given that, we should consider just going ahead and doing that.
(Signing might be more complex to do? I'm not clear on that part of the pipeline.)
/cc @cbracken @jmagman

That wouldn't be too hard.

Move PrivacyInfo.xcprivacy into common, update the licenses_flutter path
Add copy_framework_privacy_manifestto the darwin/macos/BUILD.gn

There aren't any codesigning implications to just adding the xcprivacy file.
See https://github.com/flutter/engine/pull/48951
Separately, once FlutterMacOS is built as a xcframework (https://github.com/flutter/engine/pull/50300) that should be codesigned. https://github.com/flutter/flutter/issues/140934 (also pretty easy to do). cc @vashworth

I'm not sure we want to share manifests; the required reason list audit ignored macOS-only files. It would be safer to have a manifest without that key at all on macOS, rather than us making claims that may not be accurate for macOS if Apple decides to expand it to macOS in the future.

Fair enough, probably won't hurt anything, but easy enough to keep separate.

Fixed by https://github.com/flutter/engine/pull/55078


Move reconciling config to top

ref: https://issues.redhat.com/browse/ACM-7917
We need to initilize the config (set images / imagepullsecret / etc) before the real reconcilers start

/lgtm


Check how "reso" works: there are problems with some queries that take in account "reso" books

Book which has been refunded<EMAIL_ADDRESS>ISBN:<PHONE_NUMBER>883
Book code: 0466/004

Seems like I managed to fix this with https://github.com/ilmercatinodellibro/ilmercatinodellibro/commit/cda769c4f563cf03155c9a1a0c2f60d6d841fb7c


revise textual definition of hospital function

Currently, the definition reads: "A function inhering in a material entity that is realized by the material entity being the site at which inpatient and outpatient healthcare is provided to a patient population."
I think, it should be: "A function inhering in a material entity that, if realized, is realized by the material entity being the site at which inpatient and outpatient healthcare is provided to a patient population."
I overlooked this when I provided the definition, initially.

How are you using 'site' here? In the BFO sense of site
If so, then this may be better expressed something like:
"... realized by the material entity that bounds the site at which ..."

Suggestion from Selja Seppälä:
"A function inhering in a health care facility that is realized by the health care facility at which inpatient and outpatient healthcare is provided to a patient population. »
OR
"A function inhering in a health care facility at which inpatient and outpatient healthcare is provided to a patient population."

How is the following definition?
"A function inhering in a material entity that, if realized, is realized by the material entity being the bounds of a site at which inpatient and outpatient healthcare is provided to a patient population."

+1

Some say "she's at the hospital". Others say "she's in hospital" (as "in hospice").
A concern I have after looking at this more closely is that you're giving the function of being a hospital to a building (essentially). You're saying the function is realized when inpatient and outpatient healthcare is provided in the site the building bounds.
Functions (as dispositions) are intrinsic to their bearers, existing via selection and design, and can only come and go with a corresponding material change in their bearers.
Say that, a building is constructed with the intention of being a hospital. After 5 years as a functioning hospital, the organization running the hospital is merged with some giant HMO and all the staff an equipment is moved to a fancy new building co-located with a shopping mall. The old building is no longer a hospital because it doesn't bound a site where inpatient and outpatient healthcare is provided. Has it lost its function?
Conversely, what if all the staff and equipment is moved into an abandoned school where they begin to provide inpatient and outpatient healthcare services? Has the building gained a hospital function? What about the structure itself has changed?
My thought is that we're talking about roles here. A building bears a hospital role (perhaps some kind of facility role) in virtue of it being the bounds of site where inpatient and outpatient healthcare is provided. There is an organizational and fiat aspect to it being a hospital, i.e., extrinsic to the structure itself. Hospitals have to get certified and formally approved. Or, at least some minimal social act probably happens that makes it the case.
hospital role = a role inhering in a material entity by virtue of the fact it bounds a site containing an aggregate of entities, which are capable of providing both inpatient and outpatient healthcare to a patient population.
As a postscript: I am increasingly of the mind that system can be helpful in cases like this. Contained within the site a hospital facility bounds is an aggregate of casually related entities (desks, computers, x-ray machines, beds, bedpans, and so on), all bearing various roles, dispositions, and so on. These combine as a system, which bears a disposition to provide inpatient and outpatient healthcare. The building is only part of that system.

We really are talking about a function.  The modern hospital is equipped
with far more than mobile units that enable it to serve as a hospital.
There are numerous things integral to the design and construction of the
facility.  Modern building codes specifically address hospitals:
http://www.csemag.com/single-article/healthy-hospital-success-codes-and-standards/676bd90290ddae53c43239e5847640a0.html
Yes, once no longer used as a hospital, depending on how much modification
is done, it would indeed still bear the function.  It would just not be
realized.
For a makeshift hospital where a building is used for the purpose that
wasn't designed for it, we agree.  The OMRSE class 'hospital facility' does
not apply.  We were not trying to make it do so.
On Fri, Mar 25, 2016 at 6:25 PM, Mark Jensen<EMAIL_ADDRESS>wrote:

Some say "she's at the hospital". Others say "she's in hospital" (as "in
hospice").
A concern I have after looking at this more closely is that you're giving
the function of being a hospital to a building (essentially). You're
saying the function is realized when inpatient and outpatient
healthcare is provided in the site the building bounds.
Functions (as dispositions) are intrinsic to their bearers, existing via
selection and design, and can only come and go with a corresponding
material change in their bearers.
Say that, a building is constructed with the intention of being a
hospital. After 5 years as a functioning hospital, the organization running
the hospital is merged with some giant HMO and all the staff an equipment
is moved to a fancy new building co-located with a shopping mall. The old
building is no longer a hospital because it doesn't bound a site where
inpatient and outpatient healthcare is provided. Has it lost its function?
Conversely, what if all the staff and equipment is moved into an abandoned
school where they begin to provide inpatient and outpatient healthcare
services? Has the building gained a hospital function? What about the structure
itself has changed?
My thought is that we're talking about roles here. A building bears a hospital
role (perhaps some kind of facility role) in virtue of it being the
bounds of site where inpatient and outpatient healthcare is provided. There
is an organizational and fiat aspect to it being a hospital, i.e.,
extrinsic to the structure itself. Hospitals have to get certified and
formally approved. Or, at least some minimal social act probably happens
that makes it the case.
hospital role = a role inhering in a material entity by virtue of the
fact it bounds a site containing an aggregate of entities, which are
capable of providing both inpatient and outpatient healthcare to a patient
population.
As a postscript: I am increasingly of the mind that system can be helpful
in cases like this. Contained within the site a hospital facility bounds is
an aggregate of casually related entities (desks, computers, x-ray
machines, beds, bedpans, and so on), all bearing various roles,
dispositions, and so on. These combine as a system, which bears a
disposition to provide inpatient and outpatient healthcare. The building is
only part of that system.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/ufbmi/OMRSE/issues/40#issuecomment-201550988

I have changed the definition to "A function inhering in a material entity that, if realized, is realized by the material entity being the bounds of a site at which inpatient and outpatient healthcare is provided to a patient population."
Are there any objections to closing this thread?

None from me :-)
On Wed, May 4, 2016 at 4:47 PM, aellenhicks<EMAIL_ADDRESS>wrote:

I have changed the definition to "A function inhering in a material entity
that, if realized, is realized by the material entity being the bounds of a
site at which inpatient and outpatient healthcare is provided to a patient
population."
Are there any objections to closing this thread?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/ufbmi/OMRSE/issues/40#issuecomment-216997798


Backward compatibility issue between 0.8.3 and 0.9.x

We use restic for backup in Stash. Currently we are upgrading restic version from 0.8.3 to 0.9.2. As archiver code has been changed in 0.9.x,  we are facing some issue while restore a repository that has been created using 0.8.3.
How we did recover before:

Let, user took backup /home/nobody/source/data folder. So, snaphot contain /data as root level directory.
We recover the snapshot in /home/nobody/source directory. As a result recovered data would have /home/nobody/source/data structure which is same structure as original data.

What is happening now:

If the snapshot is taken by restic 0.9.x then snapshot has /home/nobody/source/data as root level directory. Now if we restore in /home/nobody/source directory, final directory structure will be /home/nobody/source/home/nobody/source/data which is not expected.
We can restore in root directory(/) which will result expected structure but if the snapshot was taken by 0.8.3 and we are recovering with 0.9.2 in root directory we will end up with /data directory structure for recovered data which is not expected.

What we can do:

Recover in root directory and forget about the snapshots created by '0.8.3'. (Not expected)
Recover in /home/nobody/source directory and check if the directory has nested /home/nobody/source. If nested directory exit then move /data few level up to fix the directory structure. (Don't think a good approach).

Is there any way to detect which snapshot is created by 0.8.3 and which by 0.9.x? And it would be great to have a --strip-components=NUMBER flag just like tar.

Indeed, the behavior has changed on purpose, and it is documented in the changelog here: https://github.com/restic/restic/blob/master/changelog/0.9.0_2018-05-21/issue-549
The old behavior was a source of endless confusion and pain, a few cases are listed in #549.

Is there any way to detect which snapshot is created by 0.8.3 and which by 0.9.x?

No, there isn't.
But I've got a better idea: you can make restic 0.9.x behave like restic 0.8.y by first changing the directory to the parent directory of the data you like to archive, then passing a relative path:
$ cd /home/nobody/source
$ restic backup source

Then the top-level directory in the snapshot will be /source again. Problem solved :)

And it would be great to have a --strip-components=NUMBER flag just like tar.

This feature request is tracked as #555. Unfortunately, it comes with its own set of problems and corner cases we need to handle :)
So, I'm closing this issue for now as I think the questions have been answered. Please feel free to add further comments!


to add cloud credentials since storage secret is git ignored

@cdoan1 1st fix to backup 'n restore

@cdoan1 Thanks!


Expose config type

Can be used to type check the configuration file.

Is this changeset-worthy? grin

yes, it's a new feature everybody should know of

yes, it's a new feature everybody should know of

Done.


album art support - folder.jpg

I'm very impressed with the look and sound of Wora so far - this could replace Tauon as my default player!
I have a couple of issues.

All albums where the album art that is embedded in the file display fine.  My library has each album in its own directory.  Many (many!) of the albums have the album art not embedded but as a file called folder.jpg in the directory.  These albums show up in Wora with just the default placeholder as the album art.  Can you please give the option to display album art from external files such as folder.jpg?
Also, the search function doesn't find either Artist or Albumartist from the embedded meta tags.

Thanks!

This is a valid issue. I have several albums which have an image in the folder but are not embedded in the song metadata itself.
Currently, Wora is just taking the album art from the song itself and assigns it to the album.
There is a better way to do this, which I have had in mind for some time. We can select any available image available in the album folder file => /\.(jpg|jpeg|png|gif)$/.test(file) & fallback to any image available in the song metadata. Also add an option in albums page to edit the cover image.
The search function not indexing the artists is a known issue and this will be fixed when artist page is added in a future update soon 🎉

Brilliant, thanks Aaryan!  Look forward to the new release.

No worries, just keeping this open till the features are implemented.

This issue has been fixed in release v0.3.3. Since artists page is planned in milestone, I am closing this issue 😄


Installed and running, but no "Settings" tab?

I followed the instructions for the install but when I login I don't have settings tab or an Inquiries tab like in the getting started guide. Did I miss a step or something?

There is no longer a settings tab and you no longer get inquiries out of the box..
I think maybe you haven't followed the updated guide?
http://refinerycms.com/guides/getting-started-with-refinery
Maybe you saw it before we updated or something? :-)


Make the ChainState APIs nicer to implement

See commit messages for details. Add some comments and make the API nicer to use.
This is a precursor to splitting the Move VM out of vm-runtime so that it can be used by third parties.

Thanks for documenting down those design choices!!

@bors-libra r=runtian-zhou

:pushpin: Commit e96fb94 has been approved by runtian-zhou

:hourglass: Testing commit e96fb94f0225c587f1d286874e7855d3d04543de with merge 2c0218e483fafe46de38f9c86bb3ff670349e020...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: runtian-zhou
Pushing 2c0218e483fafe46de38f9c86bb3ff670349e020 to master...


examples/docs: update references to point at the files rather than kontinue.io/docs/reference

Hey @cirocosta I don't think this is relevant any more, please reopen with links to code if you think there's something to do?


Add long to FieldTypeConversionUtils

As Developer or SDET
I want the (long) casting to be available in the DSL
So that I assert the expected long values

Available in v 1.3.23 onwards when released.


INIT: QIIME 2 plugin structure

Does this need a review? I'm happy to lend some eyes to it, assign to me when ready!


[vite] Internal server error: Failed to resolve import "./out/apps/elements/fullLinkJS.dest/main.js" from "main.js". Does the file exist?

hey, just saw the trailer and it looks super cool. i think i followed the install instructions correctly, but can't seem to get it running.
im on macos if that matters.
this is what the two terminals show:
terminal 1:
anand@anands-MacBook-Pro ~/.j/d/S/scala (main)> mill --watch apps.petri.fullLinkJS
Compiling /Users/anand/.julia/dev/Semagrams.jl/scala/build.sc
[50/96] core.compile
[info] compiling 41 Scala sources to /Users/anand/.julia/dev/Semagrams.jl/scala/out/core/compile.dest/classes ...
[info] done compiling
[83/96] apps.petri.compile
[info] compiling 2 Scala sources to /Users/anand/.julia/dev/Semagrams.jl/scala/out/apps/petri/compile.dest/classes ...
[warn] -- Feature Warning: /Users/anand/.julia/dev/Semagrams.jl/scala/apps/petri/src/Main.scala:34:13
[warn] 34 |implicit def applyStyle(styleA: StyleA): Mod[HtmlElement] =
[warn]    |             ^
[warn]    |Definition of implicit conversion method applyStyle should be enabled
[warn]    |by adding the import clause 'import scala.language.implicitConversions'
[warn]    |or by setting the compiler option -language:implicitConversions.
[warn]    |See the Scala docs for value scala.language.implicitConversions for a discussion
[warn]    |why the feature should be explicitly enabled.
[warn] one warning found
[info] done compiling
[96/96] apps.petri.fullLinkJS
Linker: Compute reachability: 1990134 us
Linker: Assemble LinkedClasses: 106835 us
Linker: 2143032 us
Optimizer: Batch mode: true
Optimizer: Incremental part: 410875 us
Optimizer: Optimizing 18198 methods.
Optimizer: Optimizer part: 2159254 us
Optimizer: 2612043 us
Refiner: Compute reachability: 420830 us
Refiner: Assemble LinkedClasses: 17548 us
Refiner: 447336 us
Module Splitter: Calculate Dependency Info: 2680 us
Module Splitter: Analyze Modules: 744 us
Module Splitter: Assemble Modules: 6708 us
Module Splitter: 11024 us
Emitter: Generate Classes: 1347731 us
Emitter: Write trees: 20772 us
Emitter: Class tree cache stats: reused: 0 -- invalidated: 2328
Emitter: Method tree cache stats: reused: 0 -- invalidated: 9592
Emitter: 1397266 us
BasicBackend: Write result: 632502 us
Watching for changes to 6 paths... (Enter to re-run, Ctrl-C to exit)

terminal 2
anand@anands-MacBook-Pro ~/.j/d/S/scala (main) [SIGINT]> npm run dev

><EMAIL_ADDRESS>dev
> vite

  VITE v3.0.9  ready in 213 ms

  ➜  Local:   http://<IP_ADDRESS>:5173/
  ➜  Network: use --host to expose
3:14:25 PM [vite] Internal server error: Failed to resolve import "./out/apps/elements/fullLinkJS.dest/main.js" from "main.js". Does the file exist?
  Plugin: vite:import-analysis
  File: /Users/anand/.julia/dev/Semagrams.jl/scala/main.js
  1  |  import { main } from './out/apps/elements/fullLinkJS.dest/main.js'
     |                        ^
  2  |
  3  |  main(document.getElementById("app-container"))
      at formatError (file:///Users/anand/.julia/dev/Semagrams.jl/scala/node_modules/vite/dist/node/chunks/dep-0fc8e132.js:35330:46)
      at TransformContext.error (file:///Users/anand/.julia/dev/Semagrams.jl/scala/node_modules/vite/dist/node/chunks/dep-0fc8e132.js:35326:19)
      at normalizeUrl (file:///Users/anand/.julia/dev/Semagrams.jl/scala/node_modules/vite/dist/node/chunks/dep-0fc8e132.js:40255:33)
      at async TransformContext.transform (file:///Users/anand/.julia/dev/Semagrams.jl/scala/node_modules/vite/dist/node/chunks/dep-0fc8e132.js:40389:47)
      at async Object.transform (file:///Users/anand/.julia/dev/Semagrams.jl/scala/node_modules/vite/dist/node/chunks/dep-0fc8e132.js:35579:30)
      at async loadAndTransform (file:///Users/anand/.julia/dev/Semagrams.jl/scala/node_modules/vite/dist/node/chunks/dep-0fc8e132.js:39888:29)

am i doing something wrong?

im dumb, just needed to change the import to import { main } from './out/apps/petri/fullLinkJS.dest/main.js'


Class Registration

Work in progess. Don't review/merge yet.

there's some useful stuff in here. gonna merge this in sorry not sorry :gem: :gem: :+1:


Open the terminal in the user folder when a terminal window is already open.

Open the terminal in the user folder (no the indicated folder) when a terminal window is already open.

Hi @fcojgodoy, could you explain your use case a little further?
What's the purpose of opening up the terminal in the user folder via this extension in contrast to simply opening the terminal, which should use the user folder as default directory?

Sorry, point to point:

I have a terminal opened.
I open Atom, do right click over a folder in tree view and click on "Open terminal here"
A terminal is open on /home/user

The behaviour is correct just when:

Any terminal is open.
I open Atom, do right click over a folder in tree view and click on "Open terminal here".
A terminal is open in the right folder.

Kubuntu 16.10
Konsole 16.04.3
Atom 1.10.2

Ah, sorry I misunderstood you there.
Thanks for the bug report and the environment info, I'll look into it.

Could you please execute the following in a shell (if possible not Konsole, but another desktop shell):
cd /tmp
x-terminal-emulator

Could you report back what happens in the two instances you described, once with Konsole open and once without Konsole open.
The command above (x-terminal-emulator) is exactly what get's executed on Linux by this atom package, with the given directory as context.

Case 1:

Konsole is open
In Qterminal I execute cd /tmp and x-terminal-emulator
Konsole is open in /tmp

Case 2:

Konsole is close
In Qterminal I execute cd /tmp and x-terminal-emulator
Konsole is open in /tmp

Case 3:

In Open-terminal-here settings change the command for 'qterminal'
All is OK. When qterminal is open and when it not, the opened folder is the correct!

Then, the problem is in Konsole?
(I'm sorry for my English. If you do not understand something ask it without problems)

Thanks for testing this @fcojgodoy.
And yes, unfortunately it looks like this is an issue with Konsole, seems like it ignores the context directory when already opened.

Ok, thank you.
I'll ask the guys at Konsole.


Adding main file name in package.json

Adding main file name in package.json, so require("angular-typeahead") will not throw
Error: module "angular-typeahead" not found.

@AmitThakkar Can you remove the .gitignore from the PR, as it's not really related to the issue this fixes.

But I think, we should add .gitignore file, as when I use with Browserify, unnecessary files came into @Git.

Fair enough, all done.


Updated to tip of tileson (v1.4.0), with minimal changes in raylib-ti…

…leson to accommodate.
Issue #8 is fixed in Tileson (via https://github.com/SSBMTonberry/tileson/pull/45) on the master branch. This PR takes tileson.hpp from there, and makes minimal changes to raylib-tileson.cpp to allow compilation, and a pass for the test program.

Thanks so much!


Rewrite CONTRIBUTING.md

We have to review CONTRIBUTING.md at the root of the repo with the one in bs-react-native-next bindings & adjust those to have one & up to date file.

I think what we have in https://github.com/reason-react-native/.github is ok for now


Prompt simple injector

Clean code
Now you can inject types in prompt methods

I can made controllers, and inject this modules inside Prompt

Check now the controller system.
All is ported except this (by now)
Prompt[Usability]

I will merge it, we can remove IContainer from prompt later, is only used now for create the controllers


Update 30-ownership.sh to make chown optional

Make setting file permissions optional with SKIP_FILE_OWNERSHIP environment variable.

This is so that I can use NPM in a VM that has "shared folders".

Also there is a big problem with mariadb
On logs it shows that cannot create table, but that because of file ownership, mariadb cannot access those files, that live in /var/lib/mysql
app_1  | [6/8/2024] [2:40:17 AM] [Global   ] › ✖  error     create table `migrations` (`id` int unsigned not null auto_increment primary key, `name` varchar(255), `batch` int, `migration_time` timestamp) - ER_CANT_CREATE_TABLE: Can't create table `npm`.`migrations` (errno: 13 "Permission denied")

example docker-compose.yml
  app:
    image: 'jc21/nginx-proxy-manager:2.11.2'
    ...
    environment:
      PUID: 1000
      PGID: 1000
      DB_MYSQL_HOST: "db"
      DB_MYSQL_PORT: 3306
      DB_MYSQL_USER: "npm"
      DB_MYSQL_PASSWORD: "npm"
      DB_MYSQL_NAME: "npm"
    volumes:
      - ./data:/data

  db:
    image: 'jc21/mariadb-aria:10.11.5'
    environment:
      MYSQL_ROOT_PASSWORD: 'npm'
      MYSQL_DATABASE: 'npm'
      MYSQL_USER: 'npm'
      MYSQL_PASSWORD: 'npm'
      MARIADB_AUTO_UPGRADE: '1'
    volumes:
      - ./data/mysql:/var/lib/mysql

On start application Setting ownership by envs PUID: 1000 PGID: 1000 also for ./data/mysql directory ant thats why mysql is not working anymore, because it runs as mysql user
As dirty workaround, to at least nginx proxy manager starts and works is to
# after running docker compose up need to change owner for mysql
docker exec -it nginx-proxy-manager_db_1 chown -vR mysql /var/lib/mysql/

Yeah the mysql folder should not be within the data folder for this very reason.
The documentation doesn't do this either (anymore)


Issues and PR templates added

This PR will close the #11 issue.
Let me know if any other changes needed :)

@octonawish-akcodes can you please enable issue on your fork so that we can check and test out the changes
__
  Summary: :hammer_and_wrench: This code needs a fix

@kaiwalyakoparkar Just enabled them, check them out.


testing 3.0 conda-forge

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Please don't modify the CI files directly. Just re-render to update them. Thanks.
ref: https://conda-forge.org/docs/conda_smithy.html#how-to-re-render

@jakirkham THANKS! I was looking for this!

No worries.
If you add this in a comment here, our bot will re-render for you and push a commit with the changes into your PR.


The global config object is mean

Hey, I think you have a typo in the docs;

The global config object is mean to be the single source of truth for all config options.
—Configuration, The ManimConfig class

The global config object is meant to be the single source of truth for all config options.

Good catch !
Do You mind doing a PR ?

Here's the file to be edited btw: https://github.com/ManimCommunity/manim/edit/master/docs/source/tutorials/configuration.rst

Thanks @kilacoda. Yeah I'll open a PR in a minute


update the cheatsheet

This PR add page 3 to the cheatsheet that shows the ways of using import, export, and import ... from. Also, fixes fieldNames as discussed in #815.

[x] Documentation added for any new functionality

Is there some sort of artifact on the 3rd page?

Is there some sort of artifact on the 3rd page?

Do you mean the ❌ ? Working as intended :)

Oh I see. Yes. Not used to cheat sheets showing what you can’t do!


Android runTransaction crash when doing multiple update, deletes

It is really unfortunate that the firestore Transaction is really not usable at the moment. I was trying to do some simple things as below but it crashed with "Transaction has already completed". It just do not work as expected.
  for (Item item in items) {
    final doc = Firestore.instance
        .collection(COLLECTION_CARTS)
        .document(item.id);
    await trans.delete(doc);
  }

After got stuck for a few days, I started to look into the android CloudFirestorePlugin.java and found this
  private final SparseArray<Transaction> transactions = new SparseArray<>();

  private Transaction getTransaction(Map<String, Object> arguments) {
    return transactions.get((Integer) arguments.get("transactionId"));
  }

  @Override
  public void onMethodCall(MethodCall call, final Result result) {
    ...
    case "Transaction#delete":
            {
              final Map<String, Object> arguments = call.arguments();
              final Transaction transaction = getTransaction(arguments);
              new AsyncTask<Void, Void, Void>() {
                @Override
                protected Void doInBackground(Void... voids) {
                  transaction.delete(getDocumentReference(arguments));
                  result.success(null);
                  return null;
                }
              }.execute();
              break;
        }
        ...
   }

So above code means you will be using the same transaction instance to perform all operations. But the weird part is in the core/Transaction.java

public void delete(DocumentKey key) {
    this.write(Collections.singletonList(new DeleteMutation(key, this.precondition(key))));
    this.readVersions.put(key, SnapshotVersion.NONE);
}

private void write(List<Mutation> mutations) {
    if (this.committed) {
        throw new IllegalStateException("Transaction has already completed.");
    } else {
        this.mutations.addAll(mutations);
    }
}

public Task<Void> commit() {
    ...
    this.committed = true;
    ...
}

Somehow, when you finish one operation, this.committed becomes true which means you will get this error "Transaction has already completed." every time if you perform another action with the same transaction.
I don't know why this is designed this way, but it makes transaction really not doing what it should be.  To be honest, WriteBatch and Transaction issues have been out there for quite long time, they really need someone to fix it or they should not be put out there. Really frustrating.
Logs

@PandaGeek1024 how's it while using current cloud_firestore 0.12.9+5?

Hi @PandaGeek1024
for what I can see the issue is related to a FlutterFire plugin,
please open the issue in the dedicated github.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
thank you


Option for an array of permissions to Lookup Entity

Provide an option for an array of permissions to client.permission.lookupEntity and have the response group entity IDs by permissions.

Hi @EgeAytin I was going through and thinking to pick this , possible to assign me pls ,What I am thinking is -

Update Proto PermissionLookupEntityRequest to accept as list in permission
Update Proto PermissionLookupEntityResponse and PermissionLookupEntityStreamResponse to return in format of <permission, list>  default for each key is Empty list
Update LookupEntity and lookupEntity and lookupEntityStream implemantion in lookup engine  to handle  list of permission (Need to go through more on codebase)
Update relevant test cases

Hi @ankitsheoran1, firs approach seems legit you can go to that direction. If you need any help, just let us know. Happy hacking!


Updated w_fdef to include field options

When using mapOf the field options are missing, which causes an index out of bounds error in the jsonschema_w.py / t_map_of / line 306.
JADN Schema used. Error hits [7, "step_variables", "MapOf", ["*Variable", "+Identifier".
{   "info": {     "package": "https://github.com/oasis-tcs/openc2-cacao-ext",     "title": "OpenC2 Extension for CACAO",     "description": "Extends existing CACAO elements and defines new ones to better integrate OpenC2 with CACAO playbooks.",     "exports": ["OpenC2"]   },   "types": [     ["Workflow-Step-Common-Props", "Record", [], "Base properties common to all workflow steps", [         [1, "type", "WF-Step-Type-Enum", ["[1", "]1"], "Type of workflow step being used; value MUST come from workflow-step-type-enum enumeration."],         [2, "name", "String", ["[0", "]1"], "A name for this step to display in a UI."],         [3, "description", "String", ["[0", "]1"], "More details, context, and possibly an explanation about what this step does and tries to accomplish."],         [4, "external_references", "ArrayOf", ["*External-Reference", "[0", "]1"], "A list of external references for this command."],         [5, "delay", "Integer", ["[0", "]1"], "A number that represents the amount of time in milliseconds that this step SHOULD wait before it starts processing."],         [6, "timeout", "Integer", ["[0", "]1"], "A number that represents the amount of time in milliseconds that this step MUST wait before considering the step has failed."],         [7, "step_variables", "MapOf", ["*Variable", "+Identifier", "[0", "]1"], "The variables that can be used within this workflow step or within commands, agents, and targets referenced by this workflow step."],         [8, "owner", "Identifier", ["[0", "]1"], "The entity that is assigned as the owner or responsible party for this step."],         [9, "on_completion", "Identifier", ["[0", "]1"], "The ID of the next step to be processed upon completion of the defined commands."],         [10, "on_success", "Identifier", ["[0", "]1"], "The ID of the next step to be processed if this step completes successfully."],         [11, "on_failure", "Identifier", ["[0", "]1"], "(To-Do: convert to Identifier) The ID of the next step to be processed if this step fails to complete successfully."],         [12, "step_extensions", "String", ["[0", "]1"], "(To-Do: better define the map) This property declares the extensions that are in use on this step and contains any of the properties and values that are to be used by that extension."]       ]],     ["WF-Step-Type-Enum", "Enumerated", [], "Defined list of CACAO workflow step types.", [         [1, "start", ""],         [2, "end", ""],         [3, "action", ""],         [4, "playbook-action", ""],         [5, "parallel", ""],         [6, "if-condition", ""],         [7, "while-condition", ""],         [8, "switch-condition", ""]       ]],     ["Action-Step", "Record", [], "contains the actual commands to be executed by an agent against a set of targets", [         [1, "type", "WF-Step-Type-Enum", ["[1", "]1"], "from WF-Step-Type-Enum, value must be \"action\" (3)"],         [2, "commands", "ArrayOf", ["*Command-Common-Props", "[1"], "A list of commands that are to be executed as part of this step."],         [3, "agent", "Identifier", ["[1", "]1"], "an ID reference to a CACAO agent-target object that is stored at the playbook level in the agent_definitions property"],         [4, "targets", "ArrayOf", ["*Identifier", "[0", "]0"], "list of ID references to CACAO agent-target objects that are stored at the playbook level in the target_definitions property."],         [5, "in_args", "ArrayOf", ["*String", "[0", "]0"], "list of variable names from the local step_variables dictionary or passed into this step from the global playbook_variables dictionary that are used in either an agent or one of the target(s) associated with this step."],         [6, "out_args", "ArrayOf", ["*String", "[0", "]0"], "list of variable names from the local step_variables dictionary or global playbook_variables dictionary 17 that are to be returned to this step after execution of the commands by the agent(s)"]       ]],     ["Command-Common-Props", "Record", [], "Basic properties common to all CACAO command objects", [         [1, "type", "Command-Type-OV", ["[1", "]1"], "Type of command being used; value SHOULD come from command-type-ov vocabulary."],         [2, "description", "String", ["[0", "]1"], "A description of this command."],         [3, "version", "String", ["[0", "]1"], "The version of the command type being used."],         [4, "playbook_activity", "Playbook-Activity-Type-OV", [], "A meta data description of the playbook activity that the command provides. This property SHOULD be populated.  The value for this property SHOULD come from the playbook-activity-type-ov vocabulary."],         [5, "external_references", "ArrayOf", ["*External-Reference", "[0", "]1"], "A list of external references for this command."]       ]],     ["Command-Type-OV", "Enumerated", [], "pre defines the types of commands that can be used within a CACAO workflow step but may be extended by implementers", [         [1, "manual", "represents a command that is intended to be processed by a human or a system that acts on behalf of a human."],         [2, "bash", "a bash (shell) command"],         [3, "caldera_cmd", "A caldera command that is used by an attack orchestration system to attack or simulate an attack against a target."],         [4, "elastic", "an elastic search query"],         [5, "http-api", "an http-api command"],         [6, "jupyter", "a Jupyter notebook"],         [7, "kestrel", "a kestrel command"],         [8, "openc2-http", "an OpenC2 command that uses http transport (deprecated in favor of openc2)"],         [9, "powershell", "a PowerShell command"],         [10, "sigma", "a Sigma rule (expressed in YAML)"],         [11, "ssh", "an SSH command"],         [12, "yara", "a Yara rule"],         [13, "openc2", "(OpenC2 extension) an OpenC2 command to be transmitted to an OpenC2 Consumer via an OpenC2 Transfer Protocol"]       ]],     ["Playbook-Activity-Type-OV", "Enumerated", [], "A meta data description of the playbook activity that the command provides that enables summarization at the playbook level of all activities defined within the playbook.", [         [1, "compose-content", ""],         [2, "deliver-content", ""],         [3, "identify-audience", ""],         [4, "identify-channel", ""],         [5, "scan-system", ""],         [6, "match-indicator", ""],         [7, "analyze-collected-data", ""],         [8, "identify-indicators", ""],         [9, "scan-vulnerabilities", ""],         [10, "configure-systems", ""],         [11, "restrict-access", ""],         [12, "disconnect-system", ""],         [13, "eliminate-risk", ""],         [14, "revert-system", ""],         [15, "restore-data", ""],         [16, "restore-capabilities", ""],         [17, "map-network", ""],         [18, "identify-steps", ""],         [19, "step-sequence", ""],         [20, "prepare-engagement", ""],         [21, "execute-operation", "This activity implements and deploys denial and deception activities designed for adversary engagement."],         [22, "analyze-engagement-results", ""]       ]],     ["OpenC2", "Record", [], "", [         [1, "common_props", "Command-Common-Props", ["[1", "]1"], "Common CACAO command properties; the \"type\" field MUST be set to \"openc2\" for this command type"],         [2, "b64_command", "String", ["[1", "]1"], "An OpenC2 command that is base64 encoded (see Section 4 of [RFC 4649])."]       ]],     ["Variable", "Record", [], "The variable data type captures variable information and uses the JSON object type [RFC8259] for serialization.", [         [1, "type", "Variable-Type-OV", ["[1", "]1"], "The type of variable being used. The value for this property SHOULD come from the variable-type-ov vocabulary."],         [2, "description", "String", ["[0", "]1"], "A detailed description of this variable"],         [3, "value", "String", ["[0", "]1"], "The value MUST be defined as one of the following JSON types: a string value, a number or boolean encoded as a JSON string,  an empty string \"\", the special JSON NULL value, or a JSON object."],         [4, "constant", "Boolean", ["[0", "]1"], "This property defines if this variable is immutable. If true, the variable is immutable and MUST NOT be changed.  The default value is false."],         [5, "external", "Boolean", ["[0", "]1"], "For playbook scoped variable:  if true  the variable's initial value is passed from the calling context; if false (default) "]       ]],     ["Variable-Type-OV", "Enumerated", [], "A meta data description of the playbook activity that the command provides that enables summarization at the playbook level of all activities defined within the playbook.", [         [1, "bool", ""],         [2, "dictionary", ""],         [3, "float", ""],         [4, "hexstring", ""],         [5, "integer", ""],         [6, "ipv4-addr", ""],         [7, "ipv6-addr", ""],         [8, "long", ""],         [9, "mac-addr", ""],         [10, "hash", ""],         [11, "md5-hash", ""],         [12, "sha256-hash", ""],         [13, "string", ""],         [14, "uri", ""],         [15, "uuid", ""],         [16, "topic-list", "(OpenC2 extension) Identifies publish / subscribe topics to which a message should be published"]       ]],     ["Agent-Target-Type-OV", "Enumerated", [], "Pre-defined, extensible list of CACAO agents and targets.", [         [1, "group", ""],         [2, "individual", ""],         [3, "location", ""],         [4, "organization", ""],         [5, "sector", ""],         [6, "http-api", ""],         [7, "linux", ""],         [8, "net-address", ""],         [9, "security-category", ""],         [10, "ssh", ""],         [11, "mqtt-broker", "(OpenC2 extension) A publish/subscribe message transfer agent conforming to the OASIS MQTT v5.0 protocol."],         [12, "oc2-http-api", "(OpenC2 extension) An agent capable of transfering OpenC2 commands to one or more specified endpoints per requirements of the OASIS OpenC2 HTTPS Transfer Protocol Specification."]       ]],     ["External-Reference", "Record", [], "captures the location of information represented outside of a CACAO playbook and uses the JSON object type [RFC8259] for serialization", [         [1, "name", "String", ["[1", "]1"], "The name of the author or title of the source of this external reference."],         [2, "description", "String", ["[0", "]1"], "A detailed description of this external reference."],         [3, "source", "String", ["[0", "]1"], "A textual citation of this source."],         [4, "url", "String", ["[0", "]1"], "A URL [RFC3986] for this external reference.."],         [5, "external_id", "String", ["[0", "]1"], "An identifier used by the source to reference this content."],         [6, "reference_id", "String", ["[0", "]1"], "An identifier that represents the data that this content is referring to."]       ]],     ["Identifier", "String", ["%^[a-z][a-z0-9-]+[a-z0-9]--[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"], ""]   ] }

Further updates needed to the same area, found today in order to be compliant with JSON Schema DraftValidation2020.  A new PR will be created.


Remove documentation of MMA2 key bindings

While undertaking the project of documenting v2 and v3 lighting (#497), the linter complained about the length of lines after I added official editor keybinds in 048e71693217b6887753891050d9c42104acd9f2:
$ yarn lint
./wiki/mapping/editor-keybinds.md:23:121 MD013/line-length Line length [Expected: 120; Actual: 131]
./wiki/mapping/editor-keybinds.md:25:121 MD013/line-length Line length [Expected: 120; Actual: 131]
./wiki/mapping/editor-keybinds.md:26:121 MD013/line-length Line length [Expected: 120; Actual: 131]
...
./wiki/mapping/editor-keybinds.md:37:121 MD013/line-length Line length [Expected: 120; Actual: 127]
./wiki/mapping/editor-keybinds.md:39:121 MD013/line-length Line length [Expected: 120; Actual: 127]
./wiki/mapping/editor-keybinds.md:40:121 MD013/line-length Line length [Expected: 120; Actual: 127]
./wiki/mapping/editor-keybinds.md:41:121 MD013/line-length Line length [Expected: 120; Actual: 127]
./wiki/mapping/editor-keybinds.md:44:121 MD013/line-length Line length [Expected: 120; Actual: 141]
./wiki/mapping/editor-keybinds.md:46:121 MD013/line-length Line length [Expected: 120; Actual: 141]
./wiki/mapping/editor-keybinds.md:47:121 MD013/line-length Line length [Expected: 120; Actual: 141]
...

While I temporarily worked around this by disabling MD013 for the file, I think that it might be now time to remove documentation for keybinds for Mediocre Map Assistant 2 (MMA2). MMA2 has been unmaintained since its last release about one year ago, and most users have moved on to other editors, for instance Chromapper. More discussion would be needed to decide if we should undocument MMA2 keybinds, though.
Here is a patch against #497 that does the job.

Would probably be better to move CM to the first column in the tables instead of outright removing.
New order being CM, mma2, beatmapper

New order being CM, mma2, beatmapper

What about official editor? I would like to suggest the order CM, official, mma2 and beatmapper

Leaving this open because this might be relevant later

Reopen when someone files a duplicate


[e2e]: gradle workflow_dispatch main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/8422589340
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.gradle.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.gradle.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Mon Mar 25 15:29:53 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/8424858048
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.gradle.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.gradle.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Mon Mar 25 18:13:16 UTC 2024
Tests are passing now. Closing this issue.


Floodmap geotiffs are saved in geographics projection

FloodAdapt version checks

[X] I have checked that this issue has not already been reported.
[X] I have checked that this bug exists on the latest version of FloodAdapt.

Reproducible Example
The geotiff flood depth map that is saved as a sfincs post-processing step has a geographic projection.
Current behaviour
The geotiff flood depth map that is saved as a sfincs post-processing step has a geographic projection.
Desired behaviour
Flood maps should have projected coordinates systems. The one from SFINCS should be used.
Task list

[ ] Check workflow to find where to change
[ ] Test

Additional context
No response

Important if we want to have the area clac in the beta release


Question for tracing

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion

Question

What do you want to know?

Looking at  the project demo, it looks like  that each database operation will create a span,
I'm afraid it will produce too much span and hard to tracing.
Is that a problem?
What is usually done in  db layer ?

The question should be, what do you want?

@wu-sheng
I need database layer analysis, but I don't want too much  span ,
how can I do that?
or  can I hide the db layer span ?

I don't know. At least, this is not skywalking's concern.


Link: Improve the docs - how to select a default container channel to pick entries from

Merged in #341


Using a separate Package class for resolved packages

Renamed the existing 'Package' interface to PackageJSONPackage and created a new Package class which is formed by resolving the paths using the formed extension paths, which is then used for the download and installl process

I think we need to redo some things here for a better shape. Closing this for now.


[Task]: Check if cloning is needed inside parseJSActions function

Since we are only verifying if a function is async or not, we may not need cloning.
If we decide to remove the isAsync check this issue will no longer be valid.

As mentioned above by @rimildeyjsr.
If removal of isFunctionAsync determination is picked then that would remove the cloning and hence we do not need to separately work on the above issue.


Update nf-winbase-loadpackagedlibrary.md

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

Thanks!


Add escape character backslash to Eberlein compact (P91)

In my browsers the superscript asterisk was rendering in red and with a visible backslash.

Yeah, that's a problem.  Suggesting an alternative, that we use in various other places.


Print version when determining the next one

Description
Print version when determining the next one
Test Coverage

[ ]  This change is covered by existing or additional automated tests.
[x]  Manual testing has been performed (and evidence provided) as automated testing was not feasible.
[ ]  Additional tests are not required for this change (e.g. documentation update).

Codecov Report

Merging #3 (55aef0d) into main (171e960) will decrease coverage by 68.82%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #3       +/-   ##
==========================================
- Coverage   68.82%   0.00%   -68.83%
==========================================
  Files          40      40
  Lines        2066    2081       +15
==========================================
- Hits         1422       0     -1422
- Misses        644    2081     +1437

Impacted Files
Coverage Δ

continuous_delivery_scripts/_version.py
0.00% <0.00%> (-100.00%)
:arrow_down:

continuous_delivery_scripts/assert_news.py
0.00% <ø> (-71.67%)
:arrow_down:

continuous_delivery_scripts/create_news_file.py
0.00% <ø> (-75.48%)
:arrow_down:

continuous_delivery_scripts/generate_docs.py
0.00% <ø> (-79.42%)
:arrow_down:

continuous_delivery_scripts/generate_news.py
0.00% <0.00%> (-34.62%)
:arrow_down:

continuous_delivery_scripts/get_config.py
0.00% <ø> (ø)

continuous_delivery_scripts/language_specifics.py
0.00% <ø> (-66.67%)
:arrow_down:

continuous_delivery_scripts/license_files.py
0.00% <ø> (-41.82%)
:arrow_down:

continuous_delivery_scripts/plugins/__init__.py
0.00% <ø> (-100.00%)
:arrow_down:

continuous_delivery_scripts/plugins/docker.py
0.00% <ø> (-66.67%)
:arrow_down:

... and 63 more


Some plugin menu ui options are unresponsive

2480-dev Personal Windows 10
Some work great, note that the menu option is highlighted:

Others do not work (the mouse is removed from the screen shot, but in all instances its in the spot which should cause the menu option to be selected):

In all cases, clicking on these menu entries does nothing, however I can still access their functionality via the command palette as a workaround.

 Sorry -_-

It's fine, makes our closed bug ratio better. 🤪


added wiki pages and formating

Great. Thanks again. Cheers.

@Kaspi    Will try to move the ru-russia clubs.txt listing to the "new" now official ru-russia repo later this week and remove the russia listing here (to avoid duplication) - also works the same for other country repos (e.g. at-austria, de-deutschland). Cheers.


Range across 2 books

Thank you for this amazing API. It is very intuitive. I came across 1 issue that I cannot seem to get around. I am trying to call a range that includes the last chapter from 1 book and the first chapter from the next book, but I keep getting a not found error. Is it possible to call a range across 2 books? Thanks!

Sorry, that's not possible. You can make two requests to the API though!

Sorry, that's not possible. You can make two requests to the API though!


Access to an undefined property Illuminate\Contracts\Auth\MustVerifyEmail issue

Larastan Version: 0.7.6
--level used:8
Pull request with failing test:

in verified Listener of a event i got error
code :
public function handle(Verified $event)
{
if ($event->user->role == 'student') {
Mail::to($event->user->email)->send(new WelcomeStudent($event->user->name, $event->user->email, $event->user->password));
}
}
errors :
   31    Access to an undefined property Illuminate\Contracts\Auth\MustVerifyEmail::$role.
  32     Access to an undefined property Illuminate\Contracts\Auth\MustVerifyEmail::$email.
  32     Access to an undefined property Illuminate\Contracts\Auth\MustVerifyEmail::$email.
  32     Access to an undefined property Illuminate\Contracts\Auth\MustVerifyEmail::$name.
  32     Access to an undefined property Illuminate\Contracts\Auth\MustVerifyEmail::$password.

Thank you for opening a separate issue!

Hi,
This is kind of expected. user has a type of Illuminate\Contracts\Auth\MustVerifyEmail, but in runtime actually the user model that implements this interface is passed.
So the solution would be to do this:
/** @var \App\Models\User $user`
$user = $event->user;

Then use $user instead of $event->user in the rest of the code.

@canvural I've met this 1 zillion times.
Is there a pure programmatical solution for this?

Maybe a stub for vendor/laravel/framework/src/Illuminate/Auth/Events/Verified.php?

@szepeviktor Don't use Laravel 😂
I think there is no solution for it. Ideally you should always just use the methods available on the interface.
In some cases you can try to use the methods of the interface. Like, instead of $event->user->email you can use $event->user->getEmailForVerification()

You can create your own PHPStan stubs, sure. I think it can't be in Larastan because it's just too specific. And class can implement MustVerifyEmail, so we can't just assume it's a user model.


remake of the demos app

start with impressive graphs
example group for each chart type
realtime example with lots of data
simple examples with all features in 4.2
use cardviews
fullscreen button -> change to horizontal orientation

tree view
https://github.com/bmelnychuk/AndroidTreeView

get support / support graphview

how to create stacked bar chart in android graph view


[requirements] Upgrade matplotlib to 3.3.3

superseeded by https://github.com/jstockwin/py-pdf-parser/pull/191


Allow user to login via redirection instead of popup window.

https://medium.com/ringcentral-developers/use-authorization-code-pkce-for-ringcentral-api-in-client-app-e9108f04b5f0
As mentioned in the article:
var loginUrl = rcsdk.loginUrl({ usePKCE: true });
rcsdk.loginWindow({url: loginUrl}) // will popup login window

...
However, some customer use redirection instead of popup window for login. So it doesn't work for them.
I suggest to expose the codeVerifier variable to end developer, such as rcsdk.codeVerifier so that they could make redirection work.

Confirmed that it works.


Java client cannot parse text/plain endpoints that map to enums

Java client cannot parse text/plain endpoints that map to enums
After generating the client with an endpoint that returns a content-type of text/plain (string), like a simple health endpoint, the default java client is unable to deserialize the successful response.
We have a csharp client generate and it deserializes the string fine, although it is not typed as a the HealthStatus enum like it does in java, it is just a Task<Response<string>> GetReadyHealthStatusAsync(CancellationToken cancellationToken = default).
Sample Spec File
{
  "openapi": "3.0.1",
  "info": {
    "title": "Func Testing ThisIsMyNamespace API",
    "version": "0.0.0"
  },
  "paths": {
    "/health/ready": {
      "get": {
        "tags": [
          "Health"
        ],
        "operationId": "GetReadyHealthStatus",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HealthStatus"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HealthStatus": {
        "enum": [
          "Unhealthy",
          "Degraded",
          "Healthy"
        ],
        "type": "string"
      }
    }
  }
}

Produces error when the client is used to hit the health endpoint
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.447 s <<< FAILURE! - in my.health.test.AppTest
[ERROR] healthCheck_Healthy_internal  Time elapsed: 0.445 s  <<< ERROR!
com.azure.core.exception.HttpResponseException: Deserialization Failed.
Caused by: com.fasterxml.jackson.core.JsonParseException:
Unrecognized token 'Healthy': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
 at [Source: (byte[])"Healthy"; line: 1, column: 8]

Reproduction
I've add a public git repository with a simplified version of what we are seeing. Please follow the steps in the readme if this ticket is not clear enough.

@alzimmermsft
I am not sure if this is valid. I assume we only deserialize for JSON.

Not if the endpoint says it's a "text/plain" response. The csharp client can deserialize as a string.

This is similar to what the csharp client gets generated to:
        public async Task<Response<string>> GetReadyHealthStatusAsync(CancellationToken cancellationToken = default)
        {
            using var message = CreateGetReadyHealthStatusRequest();
            await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false);
            switch (message.Response.Status)
            {
                case 200:
                case 503:
                    {
                        StreamReader streamReader = new StreamReader(message.Response.ContentStream);
                        string value = await streamReader.ReadToEndAsync().ConfigureAwait(false);
                        return Response.FromValue(value, message.Response);
                    }
                default:
                    throw await ClientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false);
            }
        }

Thanks for the comparison.
I will ping Alan again, as you can see in generated Java code, the request/response is done by the RestProxy interface.

Thanks for looking into this, could I please get an eta or status update on this? Cheers!

How do i check if this has been released or not?

Hi @ddevoogt, support for this should be available in the latest release of com.azure:azure-core which is 1.36.0. https://mvnrepository.com/artifact/com.azure/azure-core/1.36.0
This doesn't require any changes from Autorest.java, just the application having a dependency, or transitive dependency, on that version of azure-core, or later.


Anomalous credential

anomalous credential

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

anomalous credential

@MicrosoftGuyJFlo
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Not able to edit Adaptive cards css(button orientation,title color) in React.js

I'm creating a Bot application using React js and botframework-webchat. I want to change the title color and button orientation of adaptive cards. But i;m unable to do so. Every title in adaptive card is classified into a common class called p and button orientation is also not changing. Heard that i could try it using adaptive card hostconfig in npm but as i'm new to react i don't know how. How can i solve this problem.
botframework-webchat version : 4.7.1
React version : 6.14.4

Hi @thomas023
When you say button orientation, do you mean you want the buttons do display horizontally? Did you follow the instructions here? https://github.com/microsoft/BotFramework-WebChat/issues/2034
I also found a more recent post that implies that you don't need to provide a whole new host config, and it seems to work: https://stackoverflow.com/questions/59382809/adaptivecards-hostconfig-integration

Hi @v-kydela Yes I want to change the placement of button from vertical to horizontal. And change the color of the Title text.

@thomas023 - Did you follow the instructions?

Changing action orientation, https://docs.microsoft.com/en-us/adaptive-cards/rendering-cards/host-config#actionsconfig
I am unsure which host config rule to use, please look at the host config documentation to see

If there is not such rule, please file one to AC team, at https://github.com/microsoft/adaptivecards/issues

Changing action orientation