NameError: name 'register' is not defined

[x] Did you use the latest version of GEF from dev branch?
[x] Is your bug specific to GEF (not GDB)? - Try to reproduce it running gdb -nx
[x] Did you search through the documentation first?
[x] Did you check issues (including
the closed ones) - and the PR?

Step 1: Describe your environment

Operating System / Distribution: Kali Linux 6.0.0-kali3-amd64
Architecture: amd64
GEF version (including the Python library version) run version in GEF.

GEF: (Standalone)
Blob Hash(/home/kali/.gef-283690ae9bfcecbb3deb80cd275d327c46b276b5.py):<PHONE_NUMBER>9c4c1130503dd0acb802fc8383aa45
SHA256(/home/kali/.gef-283690ae9bfcecbb3deb80cd275d327c46b276b5.py): a6b9698cdb06eefeb0a2b6ce9d31e706e75e151b4006be8d90cdcaf7f9afa1f1
GDB: 12.1
GDB-Python: 3.10

Step 2: Describe your problem
Steps to reproduce

Install gef-extras using wget -q -O- https://github.com/hugsy/gef/raw/main/scripts/gef-extras.sh | sh
launch gdb using gdb

Minimalist test case
No need for anything, just run gdb
Observed Results
* What happened? This could be a description, log output, etc.
GNU gdb (Debian 12.1-4) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
GEF for linux ready, type `gef' to start, `gef config' to configure
96 commands loaded for GDB 12.1 using Python engine 3.10
[+] Configuration from '/home/kali/.gef.rc' restored
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/assemble.py", line 37, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/stack.py", line 11, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/retdec.py", line 14, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/ropper.py", line 11, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/xref-telescope.py", line 10, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/skel.py", line 52, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/ida_interact.py", line 103, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/bincompare.py", line 27, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/bytearray.py", line 18, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/v8-dereference.py", line 61, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/windbg.py", line 40, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/ftrace.py", line 72, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/peekpointers.py", line 13, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/remote.py", line 51, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/visualize_heap.py", line 144, in <module>
    @register
NameError: name 'register' is not defined
Traceback (most recent call last):
  File "/home/kali/.config/gef-extras/scripts/capstone.py", line 94, in <module>
    @register
NameError: name 'register' is not defined

Expected results
No error

Do you ALSO have gef installed?

Yes, does that conflict?

Both should be installed. I think perhaps you need to update GEF as well. Please try that.

My gef is latest dev version

I am getting this error too, but it only happens on ropper.py. This is due to a common Python error of naming a file with the same name as other packages ropper (reference).
Renaming ropper.py to ropper_.py helps.

Also resolved by pip install ropper.

Also resolved by pip install ropper.

it isnt, i just got the same issue and installing ropper does not help


fix: remove deprecated methods

Coverage: 87.768% (+0.02%) from 87.747% when pulling 590e568e6bb3e34ecfb552d3963d8a06ebed4d6c on fix/remove_deprecated into df47f7a762d6ae4d8cd4fbb007e5b400f52c06cb on master.


added CI WG Meeting Event and its link

Signed-off-by: Vineet-Sharma29<EMAIL_ADDRESS>

Should I change the text from "Participate in WG CI working group" to some other text. I think some users can get confused with this text.

fixes #162

@leecalcote ok. I will refactor

Thank you, @Vineet-Sharma29. The updates that you've been making are very helpful. 💯
If you do figure this out here, there's another location that has the same need - https://meshery.layer5.io/docs/overview#community


Image Viewer should be able to run without handle

Currently, there is no way to implement lazy loading of images. The Viewer widget should be creatable without an image available.

What would be a use case for this? What do you mean by lazy loading of images? For instance, the pokedex example downloads a sprite before displaying it in an image::Viewer.

What would be a use case for this? What do you mean by lazy loading of images? For instance, the pokedex example downloads a sprite before displaying it in an image::Viewer.

Yes, in the end I've figured out what I need.
I'm coming at this from the android side, so there are expectations about widgets, which have persistent state.
Issue can be closed.

Yes, in the end I've figured out what I need.
I'm coming at this from the android side, so there are expectations about widgets, which have persistent state.
Issue can be closed.


Don't regenerate a certificate authority and a certificate everytime you deploy the helm chart

The helm chart regenerates a ca/certificate every time you deploy it. We use terraform based infra as code tools to manage our helm charts, and applying a plan with no modification still tries to replace kubed secrets because of this oversight.
Could you at least give the option to specify your own certificate ?
Thanks

Dup https://github.com/appscode/kubed/issues/371

Feel free to send a pr to fix that. I have commented how this is done in one of our chart. https://github.com/appscode/kubed/issues/371#issuecomment-573090718


Unable to auto-push newly generating scripts in the custom folder

Instead of custom-folder, the json data is still populated under allure-results
onPrepare: function () {
    var AllureReporter = require('jasmine-allure-reporter');
    jasmine.getEnv().addReporter(new AllureReporter({
          allureReport : {
              resultsDir : 'custom-folder'
          }
      }));
};

Hi!
Could you please move the issue to https://github.com/allure-framework/allure-jasmine-plugin

@baev I tried the way given in ttps://github.com/allure-framework/allure-jasmine-plugin
Anything I missed out?


Game crashes among selecting "Load Replays" in Options.

Compiled on Mac OS Mojave 10.14.5.
Current Master Build, everything works correctly, except (either) You select Load Replays, or whenever you finish a level, it doesn't matter if it is in story mode or freeplay, the console gives me
"Error : [file_open,assets/replays/replay-Tutorial-time1615805586615.12.kadeReplay]"
Turns out, that creating a replays folder in assets fixes it, currently the only reason why it crashed is because the game creates 2 folders that makes the game freak out, giving it errors because that asset folder/path is wrong.
What I'm trying to say here is that the folders named
\assets and \assets\replays Don't do anything except crash ones game, Load Replays option, on the other hand, will still crash ones game on current master build. Reasons why I still do not know.

I don't think the sys function for create directory works on macos. that's weird. I'll have to look into that.

i just run the exe in Wineskin but i guess thats kinda cheating?

cheating?? huh

mac os issue.


Peer-to-peer feedback

Add some hover effects.
Stick to the recommended design by using the same color, spaces, font, etc.

it is optional add more button


Guide for standalone inference of Deeplab2?

Hi,
Is there any chance a guide could be included for:
(a) Fastest path to clone the repo, run an inference on a regular JPEG image using a pretrained model, without converting to TFrecords? I was flip-flopping between Installation, Getting Started, Cityscapes, and Panoptic documentation pages and couldn't actually get it started, kept getting stuck at multiple places, including which CUDA version, which cuDNN version, custom ops would have compile error so I skipped it, environment variables, setting the VAL_SET directory, then now it says tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for ${INIT_CHECKPOINT} -- I have a checkpoint downloaded and not sure why it doesn't find it (not sure where it is looking?) but I'll probably have to dig through some more code to fix this.
(b) Ideally, to do the above without modifying environment variables or configurations? Or if "Installation" is required, how to install it to /usr/local/lib/ and then it would be super nice if one could do:
import deeplab2
vip = deeplab2.VIPDeeplab(path_to_ckpt_or_pb_file)
depth, semantic = vip(path_to_jpeg_file_or_numpy_image)

It was relatively easier to create something like this with the Deeplab v3+ repo but it seems much harder with the Deeplab2 repo.
Here's an example of how I deployed Deeplabv3+ before:
https://github.com/dheera/ros-semantic-segmentation/tree/master/semantic_segmentation/nodes/models/mnv2_coco2017_driving_513
It is only 3 files, a frozen model, a Python file, and a json configuration, nothing else, no dependencies other than tensorflow>=1.11, no build scripts, no installation, no environment variables, and can be run with something as simple as:
import mvn2_coco2017_driving_513
model = mvn2_coco2017_driving_513.Model()
semantic_output = model.infer([some_opencv_or_numpy_image])[0]

It would be nice if there were a guide to run Panoptic deeplab, ViP-deeplab, etc. using similarly simple code, i.e. download a .pb file and a minimal single Python file that can do the inference with a path to a .jpg or video device as a single argument. The latest results e.g. ViP-Deeplab look super promising but better documentation would be nice in this regard.

Hi,
You actually have notebooks for both. Deeplab_demo and DeepLab_VIP_demo.ipynb.
Check them out, they helped me a lot

Hi @dheera,
Thanks for opening the issue.
Unfortunately, we currently do not have any bandwidth to do that.
We would be happy to add a link to your repo if you manage to make it work.
We will be closing this issue, since it has nothing to do with the codebase/model itself.
In any case, please feel free to open a new one, if needed.
Cheers,


Minor updates for 4o and seed

Added GPT-4o 0806 model availability (public preview), added seed property where missing (python, rest), updated language for safety to cover 4, 4o, and 4o mini.

@microsoft-github-policy-service agree  company="Microsoft"
I am making Submissions in the course of work for my employer (or my
employer has intellectual property rights in my Submissions by contract or
applicable law). I have permission from my employer to make Submissions and
enter into this Agreement on behalf of my employer. By signing below, the
defined term “You” includes me and my employer.
On Thu, Sep 5, 2024, 9:50 PM microsoft-github-policy-service[bot] <
@.***> wrote:

@AliciaFrame https://github.com/AliciaFrame please read the following
Contributor License Agreement(CLA). If you agree with the CLA, please reply
with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of
intellectual property rights to my Submissions and I am not making
Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work
for my employer (or my employer has intellectual property rights in my
Submissions by contract or applicable law). I have permission from my
employer to make Submissions and enter into this Agreement on behalf of my
employer. By signing below, the defined term “You” includes me and my
employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the
party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its
affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is
effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable
or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft
and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or
distributing code or other content to any
Project, including but not limited to communication on electronic
mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf
of, the Project for the purpose of
discussing and improving that Project, but excluding communication
that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material
Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement
before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now
or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions
is entirely Your original work.
Should You wish to Submit materials that are not Your original work,
You may Submit them separately
to the Project if You (a) retain all copyright and license information
that was in the materials as You
received them, (b) in the description accompanying Your Submission,
include the phrase “Submission
containing materials of a third party:” followed by the names of the
third party and any licenses or other
restrictions of which You are aware, and (c) follow any other
instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include
Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a
contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your
employer has intellectual
property rights in Your Submission by contract or applicable law, You
must secure permission from Your
employer to make the Submission before signing this Agreement. In that
case, the term “You” in this
Agreement will refer to You and the employer collectively. If You
change employers in the future and
desire to Submit additional Submissions for the new employer, then You
agree to sign a new Agreement
and secure permission from the new employer before Submitting those
Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly
display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all
of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or
the combination of the
Submission with the Project to which it was Submitted to make, have
made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the
Project.
Other Rights Reserved. Each party reserves all rights not
expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without
limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are
legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your
original work (except as You may
have disclosed under Section 3). You represent that You have secured
permission from Your employer to
make the Submission in cases where Your Submission is made in the
course of Your work for Your
employer or Your employer has intellectual property rights in Your
Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You
represent and warrant that You
have the necessary authority to bind the listed employer to the
obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless
You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE
WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED
UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO,
ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of
any facts or circumstances of which
You later become aware that would make Your representations in this
Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to
Projects and information about
contributions may be maintained indefinitely and disclosed publicly,
including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the
laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal
courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in
which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County,
Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire
agreement between the parties, and
supersedes any and all prior agreements, understandings or
communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may
be assigned by Microsoft.

—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-ai-docs/pull/16#issuecomment-2333031962,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALQYDTORKLKO7USXJL7GCJDZVEC5DAVCNFSM6AAAAABNXT5IPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZTGAZTCOJWGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ported changes internally as contributor is a member of the PM team. Changes are merged internally and will go out in the next scheduled publish.

#please-close


Bug: UI for database Migration

@ericvicenti is this a new project you have in mind? or what is this?

we made some small message when the daemon is taking long to load. not sure if this is sufficient for now


swap the one in lms store of the 13317 deadmans chest with 24189

🚀 Feature Proposal
as title says please swap those 2 so you receive 24189 from lms shop rather than 13317
 as you see i bought a deadman's chest and then checked if i had the correct one for the item contract, it said i didn't have it. this is because the one lms store gives is wrong deadman's chest.
if you enable item id's in osrs wiki in the settings and then look at this page https://oldschool.runescape.wiki/w/Deadman's_chest#Deadman_Mode , first see the destroy spot where it mentions nigel, nigel is the guy you buy this in deadman mode worlds for 1 blood coin and if you lose it, you can reclaim it for free, you see that the one you get in deadman mode that is same as iron platebody is id 13317

and the one you buy with 160 lms points is 24189

i now realize that maybe i should had reported this as bug and not a feature request...


Cannot upgrade gem from 1.3.11 to 1.3.12

Cannot upgrade gem from 1.3.11 to 1.3.12 on macOS Sierra 10.12:
$ gem outdated
sqlite3 (1.3.11 < 1.3.12)

$ sudo -H gem update -n /usr/local/bin sqlite3
Password:
Updating installed gems
Updating sqlite3
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3:
    ERROR: Failed to build gem native extension.

    current directory: /Library/Ruby/Gems/2.0.0/gems/sqlite3-1.3.12/ext/sqlite3
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -r ./siteconf20161017-13562-1bk6ngu.rb extconf.rb
Error: Running Homebrew as root is extremely dangerous. As Homebrew does not
drop privileges on installation you are giving all build scripts full access
to your system. As a result of the macOS sandbox not handling the root user
correctly HOMEBREW_NO_SANDBOX has been set so the sandbox will not be used. If
we have not merged a pull request to add privilege dropping by November 1st
2016 running Homebrew as root will be disabled. No Homebrew maintainers plan
to work on this functionality.
checking for sqlite3.h... yes
checking for pthread_create() in -lpthread... yes
checking for sqlite3_libversion_number() in -lsqlite3... no
sqlite3 is missing. Try 'brew install sqlite3',
'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
and check your shared library search path (the
location where your sqlite3 shared library is located).
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
    --with-sqlite3-config
    --without-sqlite3-config
    --with-pkg-config
    --without-pkg-config
    --with-sqlite3-dir
    --without-sqlite3-dir
    --with-sqlite3-include
    --without-sqlite3-include=${sqlite3-dir}/include
    --with-sqlite3-lib
    --without-sqlite3-lib=${sqlite3-dir}/
    --with-pthreadlib
    --without-pthreadlib
    --with-sqlite3lib
    --without-sqlite3lib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-16/2.0.0/sqlite3-1.3.12/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/sqlite3-1.3.12 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-16/2.0.0/sqlite3-1.3.12/gem_make.out
Gems updated: sqlite3

mkmf.log
"xcrun clang -o conftest -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/universal-darwin16 -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_SYNC_BUILTINS  conftest.c  -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib -L. -L/usr/local/lib   -arch i386 -arch x86_64   -lruby.2.0.0  -lpthread -ldl -lobjc  "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

"xcrun clang -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/universal-darwin16 -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_SYNC_BUILTINS   -arch i386 -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */

"xcrun clang -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/universal-darwin16 -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_SYNC_BUILTINS  -Wno-error=unused-command-line-argument-hard-error-in-future  -arch i386 -arch x86_64  -c conftest.c"
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */

have_header: checking for iconv.h... -------------------- yes

"xcrun clang -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/universal-darwin16 -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_SYNC_BUILTINS   -arch i386 -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <iconv.h>
/* end */

--------------------

have_library: checking for gzdopen() in -lz... -------------------- yes

"xcrun clang -o conftest -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/universal-darwin16 -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_SYNC_BUILTINS  conftest.c  -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib -L. -L/usr/local/lib   -arch i386 -arch x86_64   -lruby.2.0.0 -lz  -lpthread -ldl -lobjc  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <zlib.h>
 4:
 5: /*top*/
 6: extern int t(void);
 7: int t(void) { void ((*volatile p)()); p = (void ((*)()))gzdopen; return 0; }
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     printf("%p", &t);
12:   }
13:
14:   return 0;
15: }
/* end */

--------------------

have_iconv?: checking for iconv... -------------------- yes

"xcrun clang -o conftest -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/universal-darwin16 -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_SYNC_BUILTINS  conftest.c  -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib -L. -L/usr/local/lib   -arch i386 -arch x86_64   -lruby.2.0.0  -lpthread -ldl -lobjc  "
Undefined symbols for architecture i386:
  "_iconv", referenced from:
      _main in conftest-ffa9b4.o
  "_iconv_open", referenced from:
      _main in conftest-ffa9b4.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <stdlib.h>
 4: #include <iconv.h>
 5:
 6: int main(void)
 7: {
 8:     iconv_t cd = iconv_open("", "");
 9:     iconv(cd, NULL, NULL, NULL, NULL);
10:     return EXIT_SUCCESS;
11: }
/* end */

"xcrun clang -o conftest -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/universal-darwin16 -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_SYNC_BUILTINS  conftest.c  -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib -L. -L/usr/local/lib   -arch i386 -arch x86_64   -lruby.2.0.0 -liconv -lpthread -ldl -lobjc  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <stdlib.h>
 4: #include <iconv.h>
 5:
 6: int main(void)
 7: {
 8:     iconv_t cd = iconv_open("", "");
 9:     iconv(cd, NULL, NULL, NULL, NULL);
10:     return EXIT_SUCCESS;
11: }
/* end */

--------------------

Solved this by running:
brew uninstall sqlite3; brew install sqlite3 --universal

We're working on shipping precompiled native gems as well as increasing test coverage for people who want to use system libraries. If you're curious please follow #320.


[Question] 开服 warn 告警

Question Type
Others
Description
开服后告警
[12:50:02] [main/WARN]: Registering outdated rules for settings class 'com.plusls.carpet.PcaSettings'!
This won't be supported in the future and rules won't be registered!
[12:50:02] [main/WARN]: Extension added outdated rule observer, this is deprecated and will crash in later carpet versions (way before the rest of the old settings api because of relying on log4j)!
The observer class name is 'com.plusls.carpet.PcaMod$$Lambda$3332/0x00000008014b5ab0'
服务器版本：1.19.2+fabric
fabric-api版本：0.61.0+1.19.2
carpet版本：1.19.1-1.4.83+v220727
pca版本：1.19.2-0.2.5-beta+827168a
java版本：zulu jdk 17

正常现象无视即可


Updated all required modules

Please confirm you have 0 failing Pester Tests
[x] There are 0 failing Pester tests
Changes this PR brings
Updated to most recent versions of dbatools

PS v3 support added back recently
fixed windows auth issues

Updated to most recent versions of PSFramework

PS v3 support added back recently

Updated to most recent version of Pester

because it seems like a good time to update since others are updating
it no longer says "first describe only whatever for now"

@SQLDBAWithABeard - I tested just a few things with the new pester and all seems good but it could use some additional testing.

failures due to Jaykul updating Configuration module and it not returning properties with arrays!


Add Marker To Center Of All Countries

Hi
How to calculate the center of country and add marker for all country in center of country area ?

https://github.com/mapbox/polylabel


New Crowdin translations

Enjoy!

Codecov Report

Merging #153 into master will increase coverage by 0.41%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #153      +/-   ##
=========================================
+ Coverage    8.95%   9.36%   +0.41%
=========================================
  Files         191     191
  Lines        7530    7530
=========================================
+ Hits          674     705      +31
+ Misses       6856    6825      -31

Impacted Files
Coverage Δ

...htning/Certificates/PinnedURLSessionDelegate.swift
81.66% <0%> (+51.66%)
:arrow_up:

Continue to review full report at Codecov.

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

The Norwegian translation is pretty much finalized now. I've gone over it twice and I'll go over it again at a later time, but I think it should be fine now.

@ts95 thanks a lot! will put this in the next release! 🙌


CSRF exempt for WebhookView when authenticate via user/pass

I think this bug was introduced at https://github.com/rtfd/readthedocs.org/commit/f95cae35bafbd8f7b80027199bf64e94e048dd70
Closes #4986

I'm waffling on this PR.
Removing this would likely(?) be opening ourselves up to CSRF attacks that use a logged in user's session to perform actions on our API. Without a CSRF token from RTD, a malicious site could use JS to interact with our API on behalf of the logged in user. We can mitigate this by requiring a CSRF token from RTD, in much the same way that we protect our dashboard forms against malicious JS. But i agree that this is extra burden on the user that makes for a worse UX.
This is one of the reasons why I lean towards divorcing user sessions/auth and API auth, though I suppose that offering token auth for a case like this removes the burden of CSRF tokens and session auth on API requests.

I agree with all you said here.

Removing this would likely(?) be opening ourselves up to CSRF attacks that use a logged in user's session to perform actions on our API

I'm exempting only the API view for the Webhooks not all the API endpoints. It's still "dangerous" because a malicious JS could trigger a crazy amount of builds, but it won't be able to change anything in the project.
On the other hand, if we are going to not allow this, we need to update our docs at
https://docs.readthedocs.io/en/latest/webhooks.html#authentication
and reply to @ianw at #4986.

This is one of the reasons why I lean towards divorcing user sessions/auth and API auth, though I suppose that offering token auth for a case like this removes the burden of CSRF tokens and session auth on API requests.

This is the solution to me as well, and APIv3 will behave in this way.

Team, please, review this patch. Thank you very much.

Upgrade the PR to solve conflicts. Ready to merge once tests pass.

I guess we can close this one. Problem fixed in https://github.com/rtfd/readthedocs.org/pull/5311


MultiEnv causes dependsOn data in amplify-meta.json to be lost.

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum

Describe the bug
Using Amplify's env checkout, pull or add command loses dependsOn array items.
Consider the use case where your Lambda function needs some information about your Cognito deployment, for this example I picked UserPoolId.
To achieve this you add Cognito's UserPoolId to your Lambda's dependsOn property in amplify-meta.json, and then you reference that in your Lambda's CloudFormation template file as an environment variable so that you can access it in your Lambda function.
Everything works well until you checkout, add or pull an environment which removes your dependsOn item from amplify-meta.json and causes reference errors when pushing:
UPDATE_ROLLBACK_IN_PROGRESS dependsonbug-20190403155855  AWS::CloudFormation::Stack Wed Apr 03 2019 17:33:02 GMT+1100 (Australian Eastern Daylight Time) The following resource(s) failed to update: [functiondependsonbuge1b198d9].
UPDATE_FAILED               functiondependsonbuge1b198d9 AWS::CloudFormation::Stack Wed Apr 03 2019 17:33:00 GMT+1100 (Australian Eastern Daylight Time) Parameters: [authcognitoa6fe1306UserPoolId] do not exist in the template

To Reproduce
Steps to reproduce the behavior:
Losing data to env add:

Run command 'amplify env add test'
Observe missing dependsOn data

Losing data to pull:

Run command 'amplify env pull test'
Observe missing dependsOn data

Losing data to checkout:

Run command 'amplify env checkout test'
Observe missing dependsOn data

Expected behavior
Changes to dependsOn for resources inside amplify-meta.json should be saved to the environment when 'amplify push' is used on that environment.
OR
There should be a way to configure dependencies between CloudFormation template files that MultiEnv supports
Desktop (please complete the following information):

OS: OSX
Browser N/A
CLI version 1.5.0

Steps taken to create the test workspace for reproducing the bug
==== Make a new amplify environment ====
amplify init
? Enter a name for the project dependsOnBug
? Enter a name for the environment test
? Choose your default editor: Visual Studio Code
? Choose the type of app that you're building javascript
? What javascript framework are you using react-native
? Source Directory Path:  src
? Distribution Directory Path: dist
? Build Command:  npm run-script build
? Start Command: npm run-script start
==== Add an Cognito ====
amplify add auth
Using service: Cognito, provided by: awscloudformation
The current configured provider is Amazon Cognito.
Do you want to use the default authentication and security configuration? Yes, use the default configuration.
==== Add an API & Storage ====
amplify add api
? Please select from one of the below mentioned services REST
? Provide a friendly name for your resource to be used as a label for this category in the project: apicaed5a58
? Provide a path (e.g., /items) /items
? Choose a Lambda source Create a new Lambda function
? Provide a friendly name for your resource to be used as a label for this category in the project: dependsonbuge1b198d9
? Provide the AWS Lambda function name: dependsonbuge1b198d9
? Choose the function template that you want to use: CRUD function for Amazon DynamoDB table (Integration with Amazon API Gateway and Amazon DynamoDB)
? Please provide a friendly name for your resource that will be used to label this category in the project: dynamo542a04ca
? Please provide table name: dynamo542a04ca
? What would you like to name this column: test
? Please choose the data type: string
? Would you like to add another column? No
? Please choose partition key for the table: test
? Do you want to add global secondary indexes to your table? No
? Do you want to edit the local lambda function now? No
? Restrict API access No
? Do you want to add another path? No
==== Add some parameters for testing ====
Set dependsonbuge1b198d9-cloudformation-template.json Parameters to
"Parameters": {
		"env": {
			"Type": "String"
		},
		"storagedynamo542a04caName": {
			"Type": "String",
			"Default": "storagedynamo542a04caName"
		},
		"storagedynamo542a04caArn": {
			"Type": "String",
			"Default": "storagedynamo542a04caArn"
		},
		"authcognitoa6fe1306UserPoolId": {
			"Type": "String",
			"Default": "authcognitoa6fe1306UserPoolId"
		}
}

Set dependsonbuge1b198d9-cloudformation-template.json Resources.LambdaFunction.Properties.Environment to
"Environment": {
	"Variables": {
		"ENV": {
			"Ref": "env"
		},
		"UserPoolId": {
			Ref": "authcognitoa6fe1306UserPoolId"
		}
	}
}

Set amplify-meta.json function.dependsonbuge1b198d9.dependsOn[] to
"dependsOn": [
    {
        "category": "storage",
        "resourceName": "dynamo542a04ca",
        "attributes": [
            "Name",
            "Arn"
        ]
    },
    {
        "category": "auth",
        "resourceName": "cognitoa6fe1306",
        "attributes": [
            "UserPoolId"
        ]
    }
]

==== Push to test environment ====
amplify push

@luisvsm You would have to also modify your amplify/backend-config.json file to persist this dependsOn relations to be persisted across multiple environments.

Thanks @kaustavghosh06, just tested and that's sorted my issue.


Possible issue with CWL workflow with ".json" ending?

Description
Maybe due to ".json" file extension?
Expected Behavior
Workflow rendered
Actual Behavior
Workflow or git commit could not be found
Possible Fix

Steps to Reproduce
Visualize
https://github.com/m-gall/registry-website/blob/master/database-build/qimr-somatic.json
→ https://view.commonwl.org/workflows/github.com/m-gall/registry-website/blob/master/database-build/qimr-somatic.json

I'm trying to understand this issue I have used this link "https://github.com/m-gall/registry-website/blob/master/database-build/qimr-somatic.json" to see if the workflow is being generated or not right? All of these workflow links are present on "https://view.commonwl.org/workflows". When I'm searching for this workflow I'm not getting it.

I'm trying to understand this issue I have used this link "https://github.com/m-gall/registry-website/blob/master/database-build/qimr-somatic.json" to see if the workflow is being generated or not right? All of these workflow links are present on "https://view.commonwl.org/workflows". When I'm searching for this workflow I'm not getting it.

If we enter the example URL https://github.com/m-gall/registry-website/blob/master/database-build/qimr-somatic.json in at https://view.commonwl.org/ under "URL to workflow" we get the error message "Workflow or git commit could not be found". It does not work at all. The point of this feature request is add the ability to accept a direct link to a CWL workflow in the "URL to the workflow" box.

I tried understating this and the only thing that I could understand was we need a ".cwl" file for the workflow to get rendered. I checked few more links form I could see there was the path of ".cwl" file was provided. While for this one https://github.com/m-gall/registry-website/blob/master/database-build/qimr-somatic.json it's missing.

I think the example URL I used was confusing, so I have copied the file to a new location.
Accessing  https://people.debian.org/~crusoe/qimr-somatic.json gives you the raw CWL description.
Normally with view.commonwl.org we do not provide a raw URL, but a GitHub/GitLab repository HTTP(S) URL or a git URI. For example: https://github.com/common-workflow-language/workflows/tree/lobstr-v1/workflows/lobSTR/lobSTR-workflow.cwl
That link, if you visit it directly with wget or curl give you an HTML rendering of the GitHub interface and includes the contents of the lobSTR-workflow.cwl file.
As opposed to our earlier example where the URL was directly the CWL description, no HTML interface.
Does this make more sense?

Sorry, I'm still not able to understand. I could understand we have to provide the  GitHub/GitLab repository HTTP(S) URL in order to get the workflow generated. Is the .json file is still acceptable to generate the workflow? I mean this one https://github.com/m-gall/registry-website/blob/master/database-build/qimr-somatic.json

@mr-c I am also confused.
It seems like there are two things being discussed here.
The first one is giving it a github link to a JSON file.  It apparently won't recognize the JSON as CWL even though it could be valid CWL.  I assume cwlviewer has special pattern matching for github and gitlab URLs, and it clones the repository instead of expecting to fetch the CWL text over plain http URL.
The second is the ability to take a plain http URL and resolve the workflow from starting from the starting file.
Do we need to split this into two tickets?

@tetron Sorry for the confusion, you are correct. I was confusing this issue with https://github.com/common-workflow-language/cwlviewer/issues/210

Strictly speaking #210 isn't the same either, that is about accepting packed workflows, I'm talking about resolving a workflow over HTTP using relative URLs.

about accepting packed workflows,

that are not hosted on git, on plain HTTP

resolving a workflow over HTTP using relative URLs

Sure, that would be the next step after accepting workflows via HTTP instead of Git
(resolving a workflow via Git using relative URLs already works)

@mr-c I am also confused.
It seems like there are two things being discussed here.
The first one is giving it a github link to a JSON file. It apparently won't recognize the JSON as CWL even though it could be valid CWL. I assume cwlviewer has special pattern matching for github and gitlab URLs, and it clones the repository instead of expecting to fetch the CWL text over plain http URL.
The second is the ability to take a plain http URL and resolve the workflow from starting from the starting file.
Do we need to split this into two tickets?

How do I go about solving this issue? Can you please direct?

As .json is not rendering the workflow there might be a reason that validation is only not happening. I could see from here: https://github.com/common-workflow-language/cwlviewer/blob/4ce34ded7bbfd3c4c86cb914dc76b6ad2e2facd1/src/main/java/org/commonwl/view/workflow/WorkflowFormValidator.java#L41
there is no URL validation happening for URLs ending with ".json" can this be a reason that workflow is not generating?
I'm still understanding where exactly the fix is required.

@Anushka-shukla yes, I think that is right, it is enforcing that the file ends in .cwl.  You probably either want to change it to (\\.cwl|\\.json) or remove \\.cwl from the regular expression entirely so it does not enforce a particular file extension.

Okay, I'll start working on this one. Thanks for confirming.


Lab Update: Support to Protocol 19

Protocol 19 introduces new preconditions and signed payload signers (CAP-21 and CAP-40). This is a proposal for how the laboratory interface can be updated to accommodate these needs.

Mockups for signed payload signer (Figma)
Mockups for preconditions (Figma)

Notes:

In the Figma file, yellow notes explain the changes in more detail
Part of the copy and helper messages are still placeholders

Hi @brunomuler, maybe the user should be able to parse the signed payload signer via the laboratory?

Thank you @overcat, I've changed the mockups to include your suggestion. Does it make sense?

Thanks @brunomuler, it's great.


Fix formatting of .github/workflows/*.yaml files

This is not completed yet. See comment: https://github.com/hiero-ledger/hiero-gradle-conventions/blob/cf4c33d2c9a73fef6454221342646feb412970c0/src/main/kotlin/org.hiero.gradle.check.spotless-yaml.gradle.kts#L7-L15
Independent of that, it does not seem to run at all right now. The corresponding spotless tasks are UP-TO-DATE despite changes to the files.

Problem is that some files have the extension yml and not yaml. 🤦

Finding yml is fixed in 0.1.1.
Using prettier() will be added in a later release.


AWS PostToConnection Websocket.

Confirm by changing [ ] to [x] below:

[x] I've gone though Developer Guide and API reference
[x] I've searched for previous similar issues and didn't find any solution

Platform/OS/Hardware/Device
What are you running the sdk on?
Ubuntu 20.04
Describe the question
I want to send data to a client connection id on aws api websocket. For now i am sending it through libcurl
int postToConnection(string connectionId, string action, string data)
{
    CURL *curl = curl_easy_init();

    curl_easy_setopt(curl, CURLOPT_URL, "https://***************.execute-api.us-east-1.amazonaws.com/prod/@connection/VlRUYfOFoAMCKhw=");
    curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "{\"hi\" : \"there\"}");

    curl_easy_perform(curl);
    return 0;
}

I went through and found out that in apigatewaymanagement, there is PostToConnection feature. But what I can't figure out is that how can I set the URI? I cannot seem to understand and there is no document or example related to it. Also, if I want to send the data to specific action, do i need to set it in the setBody function? any help will be highly appreciated.

got it. Just change the endpoint in client configuration. closing it.


Roll Flutter Engine from 17decdf12557 to fecb03c8edd4 (1 revision)

https://github.com/flutter/engine/compare/17decdf12557...fecb03c8edd4
2024-05-17<EMAIL_ADDRESS>Issue anERROR instead of an INFO for a non-working API. (flutter/engine#52892)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


GetGDCMSeriesFileNames could not find Series after set useSeriesDetails to True.

Hello,when I set useSeriesDetails to False, series could be found with the following code:
series_file_names = series_reader.GetGDCMSeriesFileNames(self._dcm_dir, series_IDs[i])
however, it returns
WARNING: In /tmp/SimpleITK-build/ITK/Modules/IO/GDCM/src/itkGDCMSeriesFileNames.cxx, line 136 GDCMSeriesFileNames (0x557f56e295e0): No Series were found
when I use
series_reader.GetGDCMSeriesFileNames(self,_dcm_dir, series_IDs[i],useSeriesDetails=True).
How could this be?BTW, the intention of using useSeriesDetails is that there are multi-series with the same seriesID.

Hello @blacksino,
Thanks for the bug report. Was able to reproduce. This looks like a bug in the underlying ITK or GDCM layers. Will investigate further and update.

After a bit of digging it appears this is a "feature" in ITK and not a bug. In SimpleITK this is a missing feature which is addressed by this PR. The useSeriesDetails flag has to have the same value for the calls to GetGDCMSeriesIDs and GetGDCMSeriesFileNames.
Code illustrating usage:
import SimpleITK as sitk

dcm_dir = "data/"

use_series_details = True
series_IDs = series_reader.GetGDCMSeriesIDs(dcm_dir, use_series_details)
series_file_names = series_reader.GetGDCMSeriesFileNames(dcm_dir, series_IDs[0], use_series_details)

PR merged, resolving the issue.


Update PHP version requirement in composer.json

Looking a bit at the code base I noticed that readonly classes are being used, as far as I know that is available only from php 8.2.

Thanks! Missed that one :)


[firestore-semantic-search] the function must be called with one argument query containing the query text

[READ] Step 1: Are you in the right place?
Yes
[REQUIRED] Step 2: Describe your configuration

Extension name: Semantic Search with Vertex AI
Extension version: 0.1.4
Configuration values (redact info where appropriate):
N/A

[REQUIRED] Step 3: Describe the problem
I have installed the extension successfully
Steps to reproduce:

Call the function ext-firestore-semantic-search-queryIndex
The body is

{
    "data": {
        "query": [
            "What is your name"
        ]
    }
}

The service responds

{
    "error": {
        "message": "The function must be called with one argument \"query\" containing the query text.",
        "status": "INVALID_ARGUMENT"
    }
}

Expected result
successfully
Actual result
{
    "error": {
        "message": "The function must be called with one argument \"query\" containing the query text.",
        "status": "INVALID_ARGUMENT"
    }
}

Thanks for reporting, I can reproduce.
We will publish a new version with a fix soon.


Updates for 0.10.2 are available

At the fork / branch "update-0.10.2" you will find updates of all chapters to latest 0.10.2.
Commits overview: https://github.com/sectore/purescript-book/commits/update-0.10.2
P.S. purescript-book does not accept any pull request , right?
-Jens

Thanks for this. I appreciate the work, but I'm going through and updating the code and book text now, to make sure everything is in sync with the text. I'll leave this open for any readers looking for working code for 0.10.2 until those changes get merged though.


Colored cards

I've fixed the default color handling. Now it returns an empty string "", which results in an uncoloured card

I already handled the issue.


Fix/Auto Scaling

这个 PR 实现什么功能/修复什么问题:

Use UserCred's session but AdminSession to request monitor
Change ScalingPolicy as VirtualResource

是否需要 backport 到之前的 release 分支:

release/3.2

NONE

/area region
/cc @zexi
/hold

Codecov Report

Merging #5978 into master will increase coverage by 0.00%.
The diff coverage is 7.69%.

@@           Coverage Diff           @@
##           master    #5978   +/-   ##
=======================================
  Coverage    7.03%    7.03%
=======================================
  Files         643      643
  Lines      110278   110258   -20
=======================================
  Hits         7756     7756
+ Misses     101923   101903   -20
  Partials      599      599

Flag
Coverage Δ

#aFlag
7.03% <7.69%> (+<0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/models/scaling_trigger.go
14.83% <0.00%> (+0.04%)
:arrow_up:

pkg/compute/models/scaling_policy.go
2.99% <11.11%> (+0.17%)
:arrow_up:

Continue to review full report at Codecov.

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

/hold cancel


Structured (json) output for the test command

fix #1172
todo:

[ ] docs

Please do not review this ATM

Sorry, I had to force-push because of the pylint version incompatibility between the branch and the CI


ESC cancels scroll-back and is sent to shell (?)

When a Windows Terminal shell pane is scrolled back, ESC cancels the scroll-back AND is also sent to the shell. For all my Windows shells, that wipes out any command line in progress.  Is that as desired?
Consider the scenario in which I'l composing a command and I want to see something from earlier in the session, so I scroll back.  Maybe I don't remember where I left off (so I don't want to just start typing), or the command line is not ready for pasting something I might have copied from the history.  It'd be nice to be able to get back to the command line with it intact.  ESC is my go-to key for such things.  Must ESC also go to the shell when it cancels scroll-back?  Is there another (harmless in all shells) keystroke I could use?

You can already do this with Ctrl+Shift+End to  scroll to the bottom. We've noticed that this behavior is consistent with Gnome Terminal and XTerm.
Aside from that, potential ideas include:

scrollToBottom action can be bound to ESC. We would need to add some functionality where if you're already at the bottom, the key chord gets passed through (i.e. "esc" passes to the shell when you're already at the bottom)
snapToInput is a profile setting. We could modify that to include this kind of functionality? That seems like the wrong direction though.
None really sound enticing, tbh. Closing as by design.


Internal help page not working

Just a small bug.
Tools -> KeeAnywhere Settings -> Click "I have no idea, help me choose"
It goes to https://localhost/AccountStorageLocation.md which doesn't show anything.

Duplicate to #19


add license title

It's not strictly required, but it's useful metadata, and part of the recommended license template text (see http://choosealicense.com/licenses/isc/ and https://opensource.org/licenses/isc-license)

This again?

@internalfx sorry for the noise. I am indeed working towards making the usage of the ISC license more explicit in github's most popular repositories, which helps in many ways, if only in giving more visibility to the license (which I assume you'd approve of, since you chose it for your projects). Cheers!

@internalfx would you mind also editing the license file in the mailcap repo? I can send a PR if you prefer.

PR me if you can, makes it easy on me.  :smile:

cool :) I'm being careful not to spam people, since some have complained elsewhere.


Windows fixes

This PR addresses the problems in #98

Merged the PR now. I wont be publishing a new version as this should only effect development in the git checkouts :-) Let me know if I am missing why it's relevant to publish


feat(benchmark): 0.1.0 agentless

@nkraemer-sysdig after merging benchmark, we saw that module was failing, so had to comment it on main branch.
Have prepared this branch with the refactor of root module/examples refactoring ( (#14, not merged to main yet) so you can test it easily.
Find /examples/single-account-benchmark the use-case testing
 Error: Error creating IAM Role SysdigCloudBench: MalformedPolicyDocument: Invalid principal in policy: "AWS":""arn:aws:iam::273107874544:role/us-east-1-staging-secure-assume-role"

We tested it on staging, if that helps

extra " on ARN causing problems.
fix proposal on https://github.com/sysdiglabs/terraform-provider-sysdig/pull/116
clossing PR; will merge single-account-benchmark example back into #14


Compatible with On-Premise 8.2

Hi Scott,
Is it possible to use dataverse-ify, specifically dataverse-gen, with Dynamics 365 v8.2 On-Premise using AD authentication?

Hi @kschepperly - dataverse-gen and dataverse-ify only work with Power Apps online.
I have no plans to implement back support for V8.2 On-Premise.


Is there an 'weekview' in this library?

Right now I'm using the Android Week View library to show things in the calendar. That library isn't optimized very well, and it's lagging on my device.
Does this library contain an 'mode' to only show one week (or x number of days) at a time?
If yes, I'll try to implement this library into my project.
Thanks!
Tim

This library only displays month views, and I don't see other 'modes' being implemented. The goal is to be a mix of the platform CalendarView and the new Material date pickers, all backported to Android 4.0. I'm sorry we can't help you.


Mac oui remedial changes

Changes made to the mac_oui test that now makes the test download the list of mac devices and manufacturers from the internet during a build of daq

@ewRedstone @pisuke I'm closing this series of PRs that have already been merged into arupiot. I'll reopen them all from branches off specific commits of arupiot today


Switch from Travis CI to GitHub Actions

The reason needs no introduction at this point...
Questions/comments:

There is a problem with building the docs that should be fixed separately:

Traceback (most recent call last):
  File "/home/eric/.pyenv/versions/miniforge3-4.10.1-3/envs/qcsk/lib/python3.7/site-packages/sphinx/config.py", line 327, in eval_config_file
    exec(code, namespace)
  File "/home/eric/development/json/MolSSI_QC_JSON_Schema/docs/source/conf.py", line 26, in <module>
    import gen_schema_docs
  File "/home/eric/development/json/MolSSI_QC_JSON_Schema/docs/source/gen_schema_docs.py", line 14, in <module>
    scf_props = qcschema.dev.properties.scf_properties.scf_properties
AttributeError: module 'qcschema.dev' has no attribute 'properties'

Do you have codecov set up?
The schema files are not actually installed without

diff --git a/setup.py b/setup.py
index 742f1b1..4c27433 100644
--- a/setup.py
+++ b/setup.py
@@ -9,6 +9,7 @@ if __name__ == "__main__":
         url="https://github.com/MolSSI/QCSchema",
         license='',
         packages=setuptools.find_packages(),
+        package_data={"": ["*.schema"]},
         install_requires=[
             'jsonschema',
             'pathlib2; python_version < "3.5"',  # redundant with jsonschema

which also needs to be fixed and tested.

Poke for this and #81 (they should be considered together). Without it, we effectively cannot use this repo as a package.


Check env vars

This allows for check enable/disable settings with environment variables.

thanks @integrii !!! this should finally close out #111 :)

So if I'm understanding correctly, flags override environment variables?

yes


Merge storefront-branch into develop

This pr merges the storefront branch into the develop branch.

/azp run storefront-redesign


Add Closed instance for Tagged

Fixes #61.

👍 Thanks! Presumably this lets us use Grates as Folds then?


Pull image failed

Actual behavior
Windows 10 64bit, Click create with an image, it started downloading and then in the middle it stopped.
Information about the Issue
(HTTP code 500) server error - Get https://registry-1.docker.io/v2/jupyter/all-spark-notebook/manifests/latest: Get https://auth.docker.io/token?account=dontsan&scope=repository%3Ajupyter%2Fall-spark-notebook%3Apull&service=registry.docker.io: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

https://github.com/docker/kitematic/issues/4354#issuecomment-444500478


Fill in blank homepage in gemspec.

Fix homepage in gemspec

Also could you please also add some metadata information of this gem in this page https://rubygems.org/gems/notiffany/edit :pray::
Here are some I know:

URL
VALUE

Source Code URL
https://github.com/guard/notiffany

Documentation URL
http://www.rubydoc.info/gems/notiffany

Bug Tracker URL
https://github.com/guard/notiffany/issues

Wiki URL
https://github.com/guard/notiffany/wiki

Thank you!

Thanks! And thanks for letting me know!

My plesure :smile:.


docs(connector-iroha): add test case link to support matrix

Codecov Report

Merging #1284 (afc4790) into main (4745df0) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head afc4790 differs from pull request most recent head 247db26. Consider uploading reports for the commit 247db26 to get more accurate results

@@           Coverage Diff           @@
##             main    #1284   +/-   ##
=======================================
  Coverage   71.69%   71.69%
=======================================
  Files         292      292
  Lines       10525    10525
  Branches     1282     1282
=======================================
  Hits         7546     7546
  Misses       2302     2302
  Partials      677      677

Continue to review full report at Codecov.

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


Svelte Rollup waiting for changes forever

I have added the fowerSveltePreprocess in rollup.config.js, but svelte goes to the waiting mode [ waiting for changes... ] and doesn't respond. I am using:
"@fower/svelte-preprocess": "^1.66.0" and  "svelte": "^3.0.0"
plugins: [
svelte({
compilerOptions: {
// enable run-time checks when not in production
dev: !production,
},
preprocess: fowerSveltePreprocess(),
}),

Sorry, I am not a svelte user and not familiar with svelte, I will handle this problem when I am not busy, and welcome to some PR for svelte related bugs


Reloader option to exclude watch paths

Seems like the server gets reloaded when gen_py caching files (created by the win32com module) are written or modified (in a temporary directory):
 * Detected change in 'C:\\Users\\X\\AppData\\Local\\Temp\\gen_py\\3.6\\C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4\\__pycache__\\SpVoice.cpython-36.pyc', reloading
 * Detected change in 'C:\\Users\\X\\AppData\\Local\\Temp\\gen_py\\3.6\\C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4\\__pycache__\\_ISpeechVoiceEvents.cpython-36.pyc', reloading

This seems to happen quite often. Any way for this to be prevented?
(Using Python 3.6, Flask 1.0.2, Werkzeug 0.14.1 on Win10 64bit. FLASK_ENV=debug, FLASK_DEBUG=1)
Edit: this also causes occasional cache corruptions (causing runtime errors and requiring wiping the gen_py directory to resolve) since it abruptly cuts out the process while it is writing (usually several files) to disk.

set this environment variable: PYTHONDONTWRITEBYTECODE=1

Thanks for the advice. I wiped the temporary gen_py directory and I tried it. Seems like .pyc files aren't written, however there are still .py files being written there. Causing the server to reload:
 * Detected change in 'C:\\Users\\X\\AppData\\Local\\Temp\\gen_py\\3.6\\C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4\\ISpeechObjectTokens.py', reloading
 * Detected change in 'C:\\Users\\X\\AppData\\Local\\Temp\\gen_py\\3.6\\C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4\\SpObjectToken.py', reloading
 * Detected change in 'C:\\Users\\X\\AppData\\Local\\Temp\\gen_py\\3.6\\C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4\\ISpeechObjectToken.py', reloading
 * Detected change in 'C:\\Users\\X\\AppData\\Local\\Temp\\gen_py\\3.6\\C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4\\SpMemoryStream.py', reloading
 * Detected change in 'C:\\Users\\X\\AppData\\Local\\Temp\\gen_py\\3.6\\C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4\\ISpeechMemoryStream.py', reloading
 * Detected change in 'C:\\Users\\X\\AppData\\Local\\Temp\\gen_py\\3.6\\C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4\\SpAudioFormat.py', reloading
 * Detected change in 'C:\\Users\\X\\AppData\\Local\\Temp\\gen_py\\3.6\\C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4\\ISpeechAudioFormat.py', reloading

Does your app successfully reload after seeing those lines above?

@angadkalra The app reloads (although there is no practical need for it to). Though since the win32com module is writing multiple files to disk and is abruptly terminated by the reloader, there's occasionally of a cache corruption (some files successfully written, some don't or only partially). Next time it loads it may sometimes encounter a runtime error of the sort Can't load COM module ... since the cache has been corrupted and only wiping out the gen_py dir would seem to resolve.
The goal is not to have the server reload when files (including .py) are written to cache or temporary directories. It seems reasonable there's already a way to do but I'm not sure how to achieve it.

I realized this will break the reloader if the virtualenv itself is in the temp folder. None of the tools I commonly use do that by default (pew temp envs, tox, nox), and I don't think Pipenv or Poetry do, but there are a lot of other tools and workflows out there.
Instead, let's allow passing a list of exclude_paths like the extra_files. I'm not sure of the exact semantics for this. I know there's a difference between the stat and watchdog reloaders about watching paths. I'm not sure what order extra and exclude should be considered in.

#1861


json_pointer construction bug

Hi,
I think i hit a bug in json_pointer construction with nlohmann::json 3.7.0.
When i call json.contains with "/objects/account/actions/select"_json_pointer it works perfect, but calling it with already constructed json_pointer gives false result.
Here is how to reproduce:
#include "json.hpp"
#include <iostream>

int main() {
  nlohmann::json test;
  test["objects"]["account"]["actions"]["select"]=65;
  std::string jsonp="/objects/account/actions/select";
  nlohmann::json::json_pointer jp(jsonp);
  std::cout << test << std::endl;
  std::cout << "Is it found with "<< jp<< " : " <<  test.contains(jp) << std::endl;
  std::cout << "Is it found now: " <<  test.contains("/objects/account/actions/select"_json_pointer) << std::endl;
  return 0;
}

Output of this is:
{"objects":{"account":{"actions":{"select":65}}}}
Is it found with "/objects/account/actions/select" : 0
Is it found now: 1

This seems to be a duplicate of #1727 which is fixed in the develop version and will be released as version 3.7.1 some time soon. Running with that code, I get the output
Is it found with "/objects/account/actions/select" : 1
Is it found now: 1


Istio Operator is missing the permissions to update Service Monitors

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities/
To ask questions about how to use Istio, please visit https://discuss.istio.io
)
Bug description
Istio Operator is missing the permissions to update Service Monitors
Affected product area (please put an X in all that apply)
[ ] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
 root  DESKTOP-7JUP8RO  mnt  c  …  Git  ccoe-landing-zone  k8s   master  119✎  1+  #    k version
Client Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.6-beta.0", GitCommit:"e7f962ba86f4ce7033828210ca3556393c377bcc", GitTreeState:"clean", BuildDate:"2020-01-15T08:26:26Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.11-gke.5", GitCommit:"baccd25d44f1a0d06ad3190eb508784efbb990a5", GitTreeState:"clean", BuildDate:"2020-06-25T22:55:26Z", GoVersion:"go1.13.9b4", Compiler:"gc", Platform:"linux/amd64"}

istio v1.7
How was Istio installed?
via Operator
Environment where bug was observed (cloud vendor, OS, etc)
GKE
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.
## Istio Config
---
apiVersion: v1
kind: Namespace
metadata:
  name: istio-system
---
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
  name: controlplane
spec:
  profile: demo
  addonComponents:
    grafana:
      enabled: false
    prometheus:
      enabled: false
    prometheusOperator:
      enabled: true
    kiali:
      enabled: true
  values:
    prometheusOperator:
      createPrometheusResource: false
  components:
    ingressGateways:
      - name: istio-ingressgateway
        enabled: true
      - name: cluster-local-gateway
        enabled: true
        label:
          istio: cluster-local-gateway
          app: cluster-local-gateway
        k8s:
          service:
            type: ClusterIP
            ports:
            - port: 15020
              name: status-port
            - port: 80
              name: http
            - port: 443
              name: https

 root  DESKTOP-7JUP8RO  mnt  c  …  Git  ccoe-landing-zone  k8s   master  119✎  1+  ERROR  #    k describe istiooperator controlplane
Name:         controlplane
Namespace:    istio-system
Labels:       <none>
Annotations:  kubectl.kubernetes.io/last-applied-configuration:
                {"apiVersion":"install.istio.io/v1alpha1","kind":"IstioOperator","metadata":{"annotations":{},"name":"controlplane","namespace":"istio-sys...
API Version:  install.istio.io/v1alpha1
Kind:         IstioOperator
Metadata:
  Creation Timestamp:  2020-08-28T15:54:29Z
  Finalizers:
    istio-finalizer.install.istio.io
  Generation:        5
  Resource Version:  17173538
  Self Link:         /apis/install.istio.io/v1alpha1/namespaces/istio-system/istiooperators/controlplane
  UID:               6234d533-345b-47de-b0ae-40fca32daf00
Spec:
  Addon Components:
    Grafana:
      Enabled:  false
    Kiali:
      Enabled:  true
    Prometheus:
      Enabled:  false
    Prometheus Operator:
      Enabled:  true
  Components:
    Ingress Gateways:
      Enabled:  true
      Name:     istio-ingressgateway
      Enabled:  true
      k8s:
        Service:
          Ports:
            Name:  status-port
            Port:  15020
            Name:  http
            Port:  80
            Name:  https
            Port:  443
          Type:    ClusterIP
      Label:
        App:    cluster-local-gateway
        Istio:  cluster-local-gateway
      Name:     cluster-local-gateway
  Profile:      demo
  Values:
    Prometheus Operator:
      Create Prometheus Resource:  false
Status:
  Component Status:
    Addon Components:
      Error:   servicemonitors.monitoring.coreos.com "envoy-stats-monitor" is forbidden: User "system:serviceaccount:istio-operator:istio-operator" cannot update resource "servicemonitors" in API group "monitoring.coreos.com" in the namespace "istio-system", servicemonitors.monitoring.coreos.com "istio-component-monitor" is forbidden: User "system:serviceaccount:istio-operator:istio-operator" cannot update resource "servicemonitors" in API group "monitoring.coreos.com" in the namespace "istio-system", servicemonitors.monitoring.coreos.com "istio-mesh-monitor" is forbidden: User "system:serviceaccount:istio-operator:istio-operator" cannot update resource "servicemonitors" in API group "monitoring.coreos.com" in the namespace "istio-system", servicemonitors.monitoring.coreos.com "kubelet" is forbidden: User "system:serviceaccount:istio-operator:istio-operator" cannot update resource "servicemonitors" in API group "monitoring.coreos.com" in the namespace "istio-system", servicemonitors.monitoring.coreos.com "kubernetes-pods-monitor" is forbidden: User "system:serviceaccount:istio-operator:istio-operator" cannot update resource "servicemonitors" in API group "monitoring.coreos.com" in the namespace "istio-system", servicemonitors.monitoring.coreos.com "kubernetes-pods-secure-monitor" is forbidden: User "system:serviceaccount:istio-operator:istio-operator" cannot update resource "servicemonitors" in API group "monitoring.coreos.com" in the namespace "istio-system", servicemonitors.monitoring.coreos.com "kubernetes-services-monitor" is forbidden: User "system:serviceaccount:istio-operator:istio-operator" cannot update resource "servicemonitors" in API group "monitoring.coreos.com" in the namespace "istio-system", servicemonitors.monitoring.coreos.com "kubernetes-services-secure-monitor"
is forbidden: User "system:serviceaccount:istio-operator:istio-operator" cannot update resource "servicemonitors" in API group "monitoring.coreos.com" in the namespace "istio-system"
      Status:  ERROR
    Base:
      Status:  HEALTHY
    Egress Gateways:
      Status:  HEALTHY
    Ingress Gateways:
      Status:  HEALTHY
    Pilot:
      Status:  HEALTHY
  Status:      ERROR
Events:        <none>

I ran istioctl operator dump and the cluster role is missing the update verbs for servicemonitors.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  creationTimestamp: null
  name: istio-operator
rules:
# istio groups
- apiGroups:
  - authentication.istio.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - config.istio.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - install.istio.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - networking.istio.io
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - security.istio.io
  resources:
  - '*'
  verbs:
  - '*'
# k8s groups
- apiGroups:
  - admissionregistration.k8s.io
  resources:
  - mutatingwebhookconfigurations
  - validatingwebhookconfigurations
  verbs:
  - '*'
- apiGroups:
  - apiextensions.k8s.io
  resources:
  - customresourcedefinitions.apiextensions.k8s.io
  - customresourcedefinitions
  verbs:
  - '*'
- apiGroups:
  - apps
  - extensions
  resources:
  - daemonsets
  - deployments
  - deployments/finalizers
  - ingresses
  - replicasets
  - statefulsets
  verbs:
  - '*'
- apiGroups:
  - autoscaling
  resources:
  - horizontalpodautoscalers
  verbs:
  - '*'
- apiGroups:
  - monitoring.coreos.com
  resources:
  - servicemonitors
  verbs:
  - get
  - create
- apiGroups:
  - policy
  resources:
  - poddisruptionbudgets
  verbs:
  - '*'
- apiGroups:
  - rbac.authorization.k8s.io
  resources:
  - clusterrolebindings
  - clusterroles
  - roles
  - rolebindings
  verbs:
  - '*'
- apiGroups:
  - ""
  resources:
  - configmaps
  - endpoints
  - events
  - namespaces
  - pods
  - persistentvolumeclaims
  - secrets
  - services
  - serviceaccounts
  verbs:
  - '*'
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: istio-operator
subjects:
- kind: ServiceAccount
  name: istio-operator
  namespace: istio-operator
roleRef:
  kind: ClusterRole
  name: istio-operator
  apiGroup: rbac.authorization.k8s.io
---

---
apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: istio-operator
  name: istio-operator
spec:
  replicas: 1
  selector:
    matchLabels:
      name: istio-operator
  template:
    metadata:
      labels:
        name: istio-operator
    spec:
      serviceAccountName: istio-operator
      containers:
        - name: istio-operator
          image: docker.io/istio/operator:1.7.0
          command:
          - operator
          - server
          securityContext:
            allowPrivilegeEscalation: false
            capabilities:
              drop:
              - ALL
            privileged: false
            readOnlyRootFilesystem: true
            runAsGroup: 1337
            runAsUser: 1337
            runAsNonRoot: true
          imagePullPolicy: IfNotPresent
          resources:
            limits:
              cpu: 200m
              memory: 256Mi
            requests:
              cpu: 50m
              memory: 128Mi
          env:
            - name: WATCH_NAMESPACE
              value:
            - name: LEADER_ELECTION_NAMESPACE
              value: "istio-operator"
            - name: POD_NAME
              valueFrom:
                fieldRef:
                  fieldPath: metadata.name
            - name: OPERATOR_NAME
              value: "istio-operator"
            - name: WAIT_FOR_RESOURCES_TIMEOUT
              value: "300s"
            - name: REVISION
              value: ""
---
apiVersion: v1
kind: Namespace
metadata:
  name: istio-operator
  labels:
    istio-operator-managed: Reconcile
    istio-injection: disabled
---
apiVersion: v1
kind: Service
metadata:
  namespace: istio-operator
  labels:
    name: istio-operator
  name: istio-operator
spec:
  ports:
  - name: http-metrics
    port: 8383
    targetPort: 8383
  selector:
    name: istio-operator
---
apiVersion: v1
kind: ServiceAccount
metadata:
  namespace: istio-operator
  name: istio-operator
---
# SYNC WITH manifests/charts/base/files
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: istiooperators.install.istio.io
  labels:
    release: istio
spec:
  group: install.istio.io
  names:
    kind: IstioOperator
    plural: istiooperators
    singular: istiooperator
    shortNames:
      - iop
  scope: Namespaced
  versions:
    - additionalPrinterColumns:
        - description: Istio control plane revision
          jsonPath: .spec.revision
          name: Revision
          type: string
        - description: IOP current state
          jsonPath: .status.status
          type: string
          name: Status
        - jsonPath: .metadata.creationTimestamp
          description:
            "CreationTimestamp is a timestamp representing the server time when
            this object was created. It is not guaranteed to be set in happens-before order
            across separate operations. Clients may not set this value. It is represented
            in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
            lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
          name: Age
          type: date
      name: v1alpha1
      schema:
        openAPIV3Schema:
          properties:
            apiVersion:
              description:
                "APIVersion defines the versioned schema of this representation
                of an object. Servers should convert recognized schemas to the latest
                internal value, and may reject unrecognized values.
                More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#resources"
              type: string
            kind:
              description:
                "Kind is a string value representing the REST resource this
                object represents. Servers may infer this from the endpoint the client
                submits requests to. Cannot be updated. In CamelCase.
                More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
              type: string
            spec:
              description:
                "Specification of the desired state of the istio control plane resource.
                More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
              x-kubernetes-preserve-unknown-fields: true
              type: object
            status:
              description:
                "Status describes each of istio control plane component status at the current time.
                0 means NONE, 1 means UPDATING, 2 means HEALTHY, 3 means ERROR, 4 means RECONCILING.
                More info: https://github.com/istio/api/blob/master/operator/v1alpha1/istio.operator.v1alpha1.pb.html &
                https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
              x-kubernetes-preserve-unknown-fields: true
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}
---

This should just happen on istio<=1.7.x, for future release, istio removed the bundled addon installations from istioctl and the operator. Istio will not install components that are not delivered by the Istio project.

@morvencao is there any configuration/documentation for using Istio 1.7.x with Prometheus Operator?

All you need to do is enable the Operator to generate the Istio Service Monitors. Have a look at values I have for the IstioOperator in the main issue body.
I think the API spec of Istio Operator could be simplified so that a top level field with the name of createServiceMonitors that can toggle the creation of Istio Service Monitors.

@IbraheemAlSaady see: https://istio.io/latest/blog/2020/addon-rework/

@morvencao thanks for sharing this. I only found the mention of Prometheus but not Prometheus Operator. I have created some ServiceMonitor objects myself, but not all metrics were there. I reused ServiceMonitor objects from the 1.6.8 manifest, but still, I wouldn't rely on that. I have though tried prometheus install, it worked out of the box actually. But I'd like to see a Prometheus Operator configuration as well

@IbraheemAlSaady For prometheus operator, make sure you install prometheus operator from https://github.com/coreos/prometheus-operator and then run kubectl apply -f samples/addons/extras/prometheus-operator.yaml -n istio-system to create ServiceMonitors to monitor the Istio control plane and Envoy proxies.

I'm hit by this issue too.


Authenticating with K8s auth

I would like to authenticate with kubernetesLogin method in the way that I could specify:

endpoint (https://myendpoint)
namespace (mynamespace)
mountpoint (mymountpoint)
role (myrole)
jwt token (mytoken)

So that the request would be sent to the following URL:

<endpoint>/v1/<namespace>/auth/<mountpoint>/login for example: https://myendpoint/v1/mynamespace/auth/mymountpoint/login and send the token and role in the json body of the request.

Based on the example here: https://github.com/kr1sp1n/node-vault/blob/master/example/auth_kubernetes.js I tried to authenticate in the following way:
import Vault from 'node-vault';
const token = fs.readFileSync('/var/run/secrets/kubernetes.io/serviceaccount/token', 'utf8');

var options = {
  apiVersion: 'v1',
  endpoint: 'https://myendpoint',
  namespace: 'mynamespace',
  token
};

const vault = Vault(options);

var option2 = {
  mount_point: 'mymountpoint',
  type: 'kubernetes',
  description: 'Kubernetes auth',
};

vault.enableAuth(option2).then(() => vault.kubernetesLogin({ role: "myrole", jwt: token })).then(console.log).catch((err) => console.error(err.message));

This authentication is unsuccessful, when I debug the URL that is generated by the library, I see that it passes the following request object:
headers: {X-Vault-Token: "mytoken", X-Vault-Namespace: "mynamespace"}
json: {mount_point: "mymountpoint", type: "kubernetes", description: "Kubernetes auth"}
method: "POST"
path: "/sys/auth/mymountpoint"
uri: "https://myendpoint/v1/sys/auth/mymountpoint"

Again, I was expecting the uri in this format: https://myendpoint/v1/mynamespace/auth/mymountpoint/login.
Could someone provide an example of how to correctly authenticate to k8s?

https://github.com/kr1sp1n/node-vault/blob/master/example/auth_kubernetes.js

Having the same issue. Unfortunately the example provided is not really helping much here.


[main] Upgrade to latest dependencies

hack updates for release -benmoss
/cc knative-sandbox/api-core-wg-leads
/assign knative-sandbox/api-core-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/hack/schema b96d65a...11d193b:
  > 11d193b 1.0 Backports (# 99)
bumping knative.dev/hack b96d65a...11d193b:
  > 11d193b 1.0 Backports (# 99)

/lgtm
/approve

/approve
/lgtm
😭


Running Actual in a subdirectory

Verified issue does not already exist?

[X] I have searched and found no existing issue

What happened?
I am trying to run Actual with a reverse proxy in a subdirectory. In other words, I'm trying to reverse proxy https://example.com/actual/ to the Actual server running in a Docker container at http://localhost:5006.
Unfortunately all the links in the frontend (including CSS and JS) are absolute links, so they point to https://example.com/foobar instead of https://example.com/actual/foobar, which results in it being completely broken.
Usually apps that use absolute URLs in this way provide a base URL variable that can be used for this setup, but I couldn't find that for Actual. Is there a way to support this?

Ah, my apologies, I didn't find that issue when I searched for it.


No more workaround

Passing the type T through the parametric type annotation should be fine.

Thanks! I've manually solve the commit and push it to my wip branch.


add a dummy value for address

enables things like account registration and email with a placeholder
(the real solution is to accept environment variables for easy
configuration)

I think this is fine but I'd like to see more docs; both in the readme and ideally in an in-line comment as well


Build size info

Would it be useful to try and give a breakdown of the build size when you build? Sometimes I include a few libraries and the bundle size balloons out and I'm not too sure why, and with create-react-app wrapping webpack it's a bit cumbersome to run these tools eg webpack-bundle-size-analyzer.
Is it worth looking into some way of displaying this when npm run build is used, similar to how gzip size is shown now?

Seems source-map-explorer is a more accurate way of seeing built module size.
The data looks like this (from the visual tool).

Example build output
File sizes after gzip:

  134.87 KB  build/static/js/main.195ff791.js
  1.4 KB     build/static/css/main.3a26db49.css

Dependencies

  32% (30 KB) moment-js
  21% (25 KB) react-js
  ...

I had also some similar proposal, see here #798.

Ah, missed that. Seems analysing the js map wasn't mentioned though, it seems like a more accurate way of determining the sizes over the pre-webpack build sizes.

@tbillington This sounds reasonable! I’ll close in favor of #798 but you are welcome to submit a pull request implementing what you suggested.


Review all test suites

We should review all the test packages, and remove any tests that are no longer needed. Additionally, consider how to reorganize the test suites.

See also #1673

Here is a plan for reorganization that is slowly being implemented: #3623


Add repair database option

Add --repair option to the last argument to fix database.
Change db option max_background_jobs to 6 from 2.
Fix clippy error with rust 1.73.

Codecov Report
Attention: 22 lines in your changes are missing coverage. Please review.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

src/ingest.rs
65.90% <100.00%> (ø)

src/publish.rs
52.94% <100.00%> (ø)

src/storage.rs
63.71% <66.66%> (+0.11%)
:arrow_up:

src/peer.rs
47.94% <60.00%> (ø)

src/main.rs
5.51% <0.00%> (-0.37%)
:arrow_down:

:loudspeaker: Thoughts on this report? Let us know!.


Changes for setting number of threads used in OpenMP for HOST functions

Added another parameter numThreads in handle structure
Updated batchsize to numThreads for OpenMP to all tensor HOST functions and batchpd crop and CMN fuctions

Closed this PR as issued new PR for same changes
https://github.com/r-abishek/rpp/pull/120


[branch-2.0](fe ut) fix unstable ut TabletRepairAndBalanceTest (#27044)

pick: #27044
java.lang.AssertionError: expected:<90> but was:<91>  at org.apache.doris.clone.TabletRepairAndBalanceTest.test(TabletRepairAndBalanceTest.java:303)------- Stdout: -------fe/mocked/TabletRepairAndBalanceTest/a7919f90-ace1-4f01-b9bd-c92328dde8e2/mocked frontend running in dir: /root/doris/fe/mocked/TabletRepairAndBalanceTest/a7919f90-ace1-4f01-b9bd-c92328dde8e2/

when doing normal tablet balance, the total replicas size will increase.
Also this ut only test tablet repair and colocate relocate,  so we stop sched balance.
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run feut


🧼 Dashboard empty gallery header spacing

The heading on the empty dashboard gallery screen needs more spacing.
Screenshot

Closed by #664


Allow Escaping "Split" Tokens - fixes #15

Allow using "special" characters by escaping them with ""

Hi @chezwicker,
I don't see a reason for passing the same '\' on each call. In best case we can have a constant.

Hi @jaime-olivares,
I agree I should just have used a default parameter value instead of passing from each caller. It might be nice being able to override with a different escape character if there's ever a sub-diagram that uses the \ extensively, don't you think?


Issue 14486 - delete on classes ignores @nogc

https://issues.dlang.org/show_bug.cgi?id=14486
Also fixes:

#4555 did not add nothrow check for the allocator calls. Fix it.
Improve diagnostic message to print function kind - function/constructor/destructor/postblit/allocator/deallocator.

Ready for ddmd.

Fixed build failure.

This is OK. :+1:

This is OK.

Can I toggle on auto-merge? If no, ping: @WalterBright , @yebblies or others.

Can I toggle on auto-merge?

No.  I will raise a bug report for the scope class workaround, I just wanted to make sure it wasn't forgotten.  I think there's two things going on that need to be dealt with, I'll have to check though.

OK, let's do this for now.  Though I feel quite torn by what's going on with the change of the scope class test.  I'm not convinced that the lowering done by the compiler is valid.

Auto-merge toggled on

@ibuclaw Thanks.


[Feat]: Add resources for Movies & Coding platform

What feature?
One of the renowned coding platform coding ninjas can be added under coding platform along with that free movies and series are available on pikashow which can be added as one of the resource under movies and series.
Add screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Can there be a separate section for free API in navbar?


Refresh preferences screen after settings import

As reported by @cmeis in chat, when the new "import settings" feature is used, the preferences screen should be updated/re-rendered to reflect the new settings

Solved in https://github.com/binwiederhier/ntfy-android/commit/fbf2a75e0d8a3f8dd37e065c7ddc3b2a291beb4d


When I use rabbitmq as binding, I got an Error:Exception (501) Reason: "EOF"

When I use rabbitmq as binding, I got an Error:Exception (501) Reason: "EOF"
the binding yaml is
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: RabbitBinding
spec:
  type: bindings.rabbitmq
  metadata:
  - name: host
    value: amqp://localhost:5672
  - name: queueName
    value: rabbitmq-worker-input

and the Error is
time="2021-09-27T16:16:52.1035207+08:00" level=error msg="failed to init output binding RabbitBinding (bindings.rabbitmq/v1): Exception (501) Reason: \"EOF\"" app_id=frontend instance=chesterchen-lap scope=dapr.runtime type=log ver=1.4.0
time="2021-09-27T16:16:52.1035207+08:00" level=error msg="failed to init output bindings: Exception (501) Reason: \"EOF\"" app_id=frontend instance=chesterchen-lap scope=dapr.runtime type=log ver=1.4.0

This seems an error from rabbitmq, have you checked the rabbitmq server logs?


Added a bundled version

Created using Bun

There is a little bit of a problem lol... fixing now

fixed (:


Update README, version # (1.0!)

thanks! can you mention 1.0 in the CHANGELOG, too?

Oops, sure.

Done.

lgtm
Thank you!


Cleaning up the flow transformation passes by splitting out input transformation.

This will make it easier to eject the input transformation in the future (particularly HLO, TOSA is probably fine to keep as it's upstream). This also starts the work to fix up SIP to remove our compiler dep on runtime code, remove our runtime dep on abseil, and prevent SIP from always running unconditionally even if not desired (such as when producing tflite bindings).

Github brainfart? This merged, but is not showing as merged:
https://github.com/google/iree/commit/1ef76ba0c8fc93f50e14aa50dc988a7356feffb1

Github brainfart? This merged, but is not showing as merged:
https://github.com/google/iree/commit/1ef76ba0c8fc93f50e14aa50dc988a7356feffb1


"pf2e-dorako-ux.hiding.no-effects-panel" is not a registered game setting

FoundryVTT: 12.328
PF2e: 6.0.4
Dorako UI: 3.5.8
This might be associated with an ENORMOUS amount of lag observed in FoundryVTT (with Doraku UI/UX disabled, Foundry is smooth as butter).

^^


Create "opinionated" branch

Create branch with more opinionated setup:

prettier config & format on commit w/ husky
commitlint setup for config-conventional
semantic-release or standard-version setup

Include instructions on how to clone this branch & what it configures.

I ended up adding a lot of this directly in master. This repo is ultimately for my use case, and I always want to set up these tools.


Store MMR leaf data in DB

While keeping hashes in AppendOnlyFile.
Fixes issue #15.

This looks great @hectorchu! I have a few comments that need addressing, then I think we should be ready to get this merged in.


change FROM centos:7.5.1804 to centos:7 (fixes #172)

See #172 why I think it might be not so a good idea to switch to a moving tag (in short, I believe for being able to reproduce our versioned images, we should stay with pinned images and update the version just before we release)

Abandoning this idea, based on discussion in #172.


Exceptions fix

Add the error message to the WindowsAPIError text.
This facilitates debugging CreateProcess() failures.

Codecov Report

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

Looks good merging, thanks!


RHTAP multi-ci WIP

Draft WIP. This is not nice, since it's basically copy/pasting a bunch of code, not once but twice.
I'm sure there's a better way to do it - please share your ideas!
Ref: https://issues.redhat.com/browse/EC-990
Ref: https://issues.redhat.com/browse/EC-991

To unblock RHTAP testing, I'm thinking to merge this as-is and improve it later.
To that end I removed the invocation id check which is jenkins specific from the two new packages.
It leaves on a "attestation of expected build type found" check, but I think that is a reasonable MVP, and it will allow the RHTAP gitops pipeline to pass.


Set a text value for a metric

Hello,
Is it possible to send a text as a metric value (for a set for exemple) ?

no，must be int、float or double type

Thank you

Hi, @pihomeserver as you might already have gathered statsd does not do this currenty. However, I was wondering if you'd like to share your use case as this might be a useful feature to develop in future versions of statsd.

I do not have a lot of examples. I collect data to display them in a dashboard framework. Then most of my data are numerical but i have an option to store a text information based on a date like the ephemeris for example (today it's the day for Theodore, Teddy, Dorine). Storing text with stastd could help sometimes to not store the information in a different way than other statistics.
A real example in my project is about financial operations. Each time a transaction is validated by a banking back end system, i would like to store the instrument type. I can have shares, bonds, swaps, options, warrants, funds transfer, position transfer, etc.
Currently I should have one series per instrument but the consolidation would be more complex and i would also need to maintain somewhere the list of available series to do the consolidation based on time.
Well i have that in mind : all timestamped data should not be only numerical. But not sure it makes sense for statsd team or that my approach is correct.

all timestamped data should not be only numerical. But not sure it makes sense for statsd team or that my approach is correct.

I'm all for experimentation. I think text sets could provide some non-traditional statsd usage for things like language processing. Just for reference, what backend were you looking to sync this data to?

Currently i test influxdb because it's a time series database that i like but in near futur i plan to use MSSQL also because it's more "famous" in companies world

Thanks @pihomeserver, that's some good information. Please note, I am not sure if there is a statsd backend plugin for MSSQL. Unless my google-fu is failing me, it is likely that one will need to be written. Thanks for chatting.