Error when building index with a large input file

I am encountering an error when attempting to execute this code with a proprietary collection of queries. The collection has 23 million lines, but the same error occurs with a reduced version containing 80 thousand lines. I am only able to execute it with 78 thousand lines or fewer.
This is the output:
80000
2023-08-14 11:48:12: building completion_trie...
2023-08-14 11:48:12: DONE
2023-08-14 11:48:12: building fc_dictionary with bucket size 16...
7.46464 characters per string
2023-08-14 11:48:12: DONE
2023-08-14 11:48:12: building inverted_index...
avg. list size = 14.4693
max_list_size = 33817
min_list_size = 1
2023-08-14 11:48:12: DONE
2023-08-14 11:48:12: building forward_index...
using 86788 words
2023-08-14 11:48:12: DONE
2023-08-14 11:48:12: building unsorted_list...
using 17 [bpi]
2023-08-14 11:48:12: DONE
2023-08-14 11:48:12: building minimal_docids...
using 17 [bpi]
2023-08-14 11:48:12: DONE
terminate called after throwing an instance of 'std::runtime_error'
what():  sequence is not sorted.
Aborted (core dumped)

This is what I am doing step by step:

Cloning the repository with "git clone --recursive https://github.com/jermp/autocomplete.git"
Adding "#define DOCTEST_CONFIG_NO_POSIX_SIGNALS" to test/test_common.hpp(An error occurs on Linux when compiling doctest.h without this flag)
Making build with:
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_SANITIZERS=Off -DUSE_INTRINSICS=On -DUSE_PDEP=On
make -j

Those warnings appears:
warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
9513 |     snprintf(path, sizeof(path), "%s/%s", opts->document_root, file_name);
|                                        ^
In file included from /usr/include/stdio.h:894,
from /home/allan/Documents/autocomplete/external/mongoose/mongoose.h:409,
from /home/allan/Documents/autocomplete/external/mongoose/mongoose.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 |                                    __glibc_objsize (__s), __fmt,
|                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 |                                    __va_arg_pack ());
|                                    ~~~~~~~~~~~~~~~~~

Go to test_data, update python to python2 in the preprocessing.sh file, create a folder named sample, place the sample.completions file inside it, and then execute "bash preprocess.sh sample/sample.completions 1000"
Go to build and try to build the index with "./build ef_type1 ../test_data/sample/sample.completions -o sample.ef_type1.bin"
Then the error occurs.

This don't happens when the collection have 78k lines or with the trec05 collection.
The minimal dataset:
sample.txt

Ok thanks, received.
I'm abroad at the moment so I cannot investigate right now, but surely will do next week.
Best,
-Giulio

Hello, how's it going? If needed, I can provide other datasets or help with troubleshooting the issue

Hi @AllanCAguiar, and sorry for not being in touch but it's a very busy period here.
I'm trying to reproduce the error. Will let you know.
Best,
-Giulio

Ok, yes, I confirm I can reproduce the error on my end. I'll do some experiments and get back to you asap.
Best,
-Giulio

Ok, found! The problem is not related to my code. You have an extra space in your completions file, here:
79352 acao trabalhista  servidor publico estadual

which causes the completions to not lexicographically sorted.
So, just remove that space and resort the completions and it works.
Here is the "clean" file: sample.clean.completions.gz.
Best,
-Giulio

Wow, thanks. I adjusted to this formatting, and now it's working with the entire dataset. I appreciate your time and attention to find the error.

One more thing, could you please remove the adjusted file in your comment?
Since it's a private dataset and cannot be left public
Em sáb., 23 de set. de 2023 às 09:58, Giulio Ermanno Pibiri <
@.***> escreveu:

Ok, found! The problem is not related to my code. You have an extra space
in your completions file, here:
79352 acao trabalhista  servidor publico estadual
which causes the completions to not lexicographically sorted.
So, just remove that space and resort the completions and it works.
Here is the "clean" file: sample.clean.completions.gz
https://github.com/jermp/autocomplete/files/12706605/sample.clean.completions.gz
.
Best,
-Giulio
—
Reply to this email directly, view it on GitHub
https://github.com/jermp/autocomplete/issues/10#issuecomment-1732324654,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAADPDXT6P3DRLCUBRS4Q3TX33TJBANCNFSM6AAAAAA4DILDPQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Wow, thanks. I adjusted to this formatting, and now it's working with the entire dataset. I appreciate your time and attention to find the error.

 If you use this codebase, please cite our SIGIR paper.

One more thing, could you please remove the adjusted file in your comment?
Since it's a private dataset and cannot be left public.

Of course, done it!
Let me know if I can further assist you.
Best,
-Giulio


Comprehensive remote GPIO documentation

The improvements in remote GPIO support have been fantastic. We just need to make sure we have solid instructions for getting everything set up if we want to see it used in schools, code clubs and such.
This means:

How to install gpiozero on Windows / Mac / Linux
How to install the pigpio Python library on Windows / Mac / Linux
How to enable remote GPIO on the Pi in raspi-config
How to run the daemon on the Pi (auto run on boot would be handy)
Different ways of how to use it (pin objects, default pin factory, mixed, etc.)

@joan2937 If pipgpio is being used in 'remote' (i.e. gpiozero on a PC being used to control the gpio pins on a pi over the network) mode in a school or code-club environment, is there any mechanism to stop one group of kids (accidentally or maliciously) controlling the GPIOs/LEDs on another group's Raspberry Pi?
(assuming they're all connected to the same Ethernet network, and we're not using USB OTG or anything)
Can two PC-clients end up controlling the same pigpiod-server?

I think that is a potential issue. Accidental or otherwise, remote GPIO could be funny/annoying/disruptive/dangerous.
I think there are options for keeping this more secure, perhaps using port-forwarding instead of just opening up remote GPIO access?

At the moment remote pigpio access is all or nothing.
It would be straightforward to add an option to the pigpio daemon to limit network connections to defined addresses, e.g. something along the lines
sudo pigpiod -npaul -ngavin -nlocalhost
could be used to allow access to that Pi's GPIO from the local Pi, and from machines paul and gavin.
If no -n options were defined access would be open as at the moment.
Would that be suitable?

@joan2937 would that work with bare IP-addresses too? I suspect that many places don't bother with full DNS resolution for all their RPis ;)
(and, although very unlikely, could the source IP that a pigpio packet comes from technically be spoofed?)

Wrote this yesterday but forgot to send:
Of course exposing your GPIO with pigpiod open to all is a risk.
AFAIK, that protocol as no authentification nor encryption and so it is not
design for it.
The easy way is to have USB OTG and NAT so that only the host sharing it's
connectivity can access the deamon via the local link.
So that is a GPIO extension of the host and the host only. Same can be made
with a back to back ethernet or wifi link
One way to limit the exposure is to only accept local connection (listening
to <IP_ADDRESS>).
Then to open access to the chosen port can be done using ssh port
forwarding.
This mean opening an ssh connection for the computer running GPIO Zero and
the Pi running pigpiod, but adding a mapping between a local port and a
remote port.
This is not really "easy" to explain in a school, even it is a very
important skill and knowledge that might be used by Mr Robot.
I would advice not to change the current protocole, at least it should not
be GpioZero job to change that.
One non intrusive way to add security would be to build an
SSL/authentication warper on top of the named pipe version of pigpiod. But
this might be overkill.
On 14 Sep 2016 02:11, "Ben Nuttall"<EMAIL_ADDRESS>wrote:

I think that is a potential issue. Accidental or otherwise, remote GPIO
could be funny/annoying/disruptive/dangerous.
I think there are options for keeping this more secure, perhaps using
port-forwarding instead of just opening up remote GPIO access?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RPi-Distro/python-gpiozero/issues/434#issuecomment-246866454,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASiRnELqEMeZ32jxrPLqjoIIlVnt66Zhks5qpzu1gaJpZM4J8Qfj
.

@lurch
Yes, I would use getaddrinfo to translate the identifier to an IP address, which works for host names and dotted number notation.
static uint32_t checkAddr(char *addrStr)
{
   int err;
   struct addrinfo hints, *res;
   struct sockaddr_in *sin;
   const char *portStr;
   uint32_t addr;

   portStr = getenv(PI_ENVPORT);

   if (!portStr) portStr = PI_DEFAULT_SOCKET_PORT_STR;

   memset (&hints, 0, sizeof (hints));

   hints.ai_family   = AF_INET;
   hints.ai_socktype = SOCK_STREAM;
   hints.ai_flags   |= AI_CANONNAME;

   err = getaddrinfo(addrStr, portStr, &hints, &res);

   if (err) return 0;

   sin = (struct sockaddr_in *)res->ai_addr;
   printf("a=%s addr=%x\n", addrStr, sin->sin_addr.s_addr);
   addr = sin->sin_addr.s_addr;

   freeaddrinfo(res);

   return addr;
}

@dglaude
I'm afraid ssh is beyond my experience apart from as a user.
I'd have thought the simple network name based access control would be sufficient for most uses.  I don't have the knowledge to be able to make the daemon "secure".

@joan2937 The network name (or IP address) based access control sounds like a good idea.
Thinking about what other daemons do, would it be possible to (optionally) restrict the IP addresses that pigpiod listens on, so that for example if used on a Pi3 which has both active Ethernet and Wifi interfaces, you could tell pigpiod to only respond to requests coming in over Ethernet?
As @dglaude points out, if 'stronger' security is required, that can be accomplished by the user (without having to modify pigpio) by tunnelling over SSH.

@lurch At this stage I'm reluctant to do more than the bare minimum to meet reasonable security.  There is always the risk of breakage.

Why re-implement a subset of what xinetd can already do, and more,  for you?
google:  Access Control Using xinetd

Why re-implement a subset of what xinetd can already do, and more, for you?

Probably because nobody suggested it until now? ;-)

google: Access Control Using xinetd

I had a quick look. Is it compatible with the systemd-stuff now used by Raspbian? (I've got no idea how inetd / xinetd / systemd all inter-relate, if at all)

xinetd is an improved inetd
It's available as a package for Raspbian which comes with 'older' init scripts that, on the surface, seems to be compatible with systemd.
Running system's systemctl shows:
xinetd.service        loaded active running   LSB: Starts or stops the xinetd daemon.

A standard xinetd config for pipgpio would need creating, with a default ACL of only allowing localhost TCP source addresses to talk to the pipgpio daemon.
Basic TCP Wrapper instructions, perhaps just a few lines of a template, on how to add a IP/Hostname whitelist would need adding to the docs.

I just took a stab at setting up xinet with pipgio but ran into a blocker...
pigpio would need to support reading and writing to and from stdin and stdout, rather than use the Sockets API directly, to work with xinetd.
Should that ever ever change, or on the chance other gpio daemons can operate using stdio/stdin...  here was the config:
Install:
sudo apt-get install xinetd

file:  /etc/xinetd.conf
defaults
{
        instances             = 1
        log_type               = SYSLOG authpriv
        log_on_success    = HOST PID
        log_on_failure        = HOST
}

includedir /etc/xinetd.d

file: /etc/xinetd.d/pigpio
service pigpio
{
        only_from       = localhost
        port            = 8888
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/bin/pigpiod
        log_on_failure  += USERID
        disable         = no
}

Add pigpio to /etc/services:
echo 'pigpio 8888/tcp' | sudo tee --append /etc/services > /dev/null

pigpio V56 incorporates the network permission changes.  It's the -n option to pigpiod (man pigpiod).
sudo pigpiod # allow all
sudo pigpiod -n localhost # allow localhost only
sudo pigpiod -n <IP_ADDRESS> # allow <IP_ADDRESS> only
sudo pigpiod -n localhost -n <IP_ADDRESS> # allow localhost and <IP_ADDRESS> only

Sorry, I probably should've weighed in on this a bit sooner - if you want to limit by IP you can do so for any service via iptables. No blockers as with xinetd; iptables operates at the kernel level and can quite easily block (or permit) based on IP address (along with a host of other things). It's more complex to setup than a simple command line switch (especially if mixed with other iptables rules) and given that's now available in pigpiod it's probably not worth persuing at this point.
Just as an example for anyone curious, though, here's how you'd add rules to the INPUT chain in the filter table to prevent connections to local TCP port 8888 (pigpiod's default) from addresses other than those permitted (local, <IP_ADDRESS> & .66, along with everything on the <IP_ADDRESS> subnet):
$ sudo iptables -A INPUT -p tcp --dport 8888 -m state --state ESTABLISHED -j ACCEPT
$ sudo iptables -A INPUT -p tcp --dport 8888 -m state --state NEW -s <IP_ADDRESS>/8 -j ACCEPT
$ sudo iptables -A INPUT -p tcp --dport 8888 -m state --state NEW -s <IP_ADDRESS> -j ACCEPT
$ sudo iptables -A INPUT -p tcp --dport 8888 -m state --state NEW -s <IP_ADDRESS> -j ACCEPT
$ sudo iptables -A INPUT -p tcp --dport 8888 -m state --state NEW -s <IP_ADDRESS>/24 -j ACCEPT
$ sudo iptables -A INPUT -p tcp --dport 8888 -j DROP

As for spoofing ... I'm no expert in this area (merely a dabbler) but given this is a TCP based protocol I'd assume ARP poisoning or MITM would be required if two-way communication were needed at any point (I haven't looked at pigpiod's protocol in depth yet so I've no idea if this is required). If two-way communication isn't required it's probably as trivial as it is with UDP.
On the subject of securing it "properly", SSH port forwarding is almost certainly the easiest (and most secure) route. Pi's have an SSH server as standard, so no configuration required there. The configuration on the client is also pretty trivial: forward a local port (e.g. 8888) to the remote's localhost:8888 (assuming pigpiod is only listening on the localhost interface, which is the default). With the SSH command line this would simply be:
$ ssh -L 8888:localhost:8888 pi@raspberrypi

Once the session was established you could then use pigpiod on the client machine (from another terminal, obviously) as if it were on the Pi and all communication would be strongly encrypted over the SSH tunnel. This would also be useful for securing on a per-user basis (via public key or password credentials), something that iptables has difficulty with as it's operating below the application protocol layer.

Oh, incidentally, don't go adding anything to docs just yet - as I mentioned in #459 I'm slightly tweaking what's specified for GPIOZERO_PIN_FACTORY as part of that so it's probably better to hold off on advertising this until that lands (should be tomorrow-ish - I finally got a decent pin conflict mechanism implemented today!)

Some basic instructions here: https://gist.github.com/bennuttall/572789b0aa5fc2e7c05c7ada1bdc813e

I'm now working on this


How does it compare to CirrusSearch?

Wikidata's Elasticsearch instances can be queried by the MediaWiki API using CirrusSearch, but this is entirely left out of the "Why" section of the README...
Would be interesting to see query examples one can't do with CirrusSearch.

Thanks for the comment @Abbe98. My main reason for creating this was that we need to do bulk text searches of Wikidata (i.e. not with rate limiting), and sending the dumps to our own Elasticsearch instance was easier than setting up our own Wikidata instance.
I'll look into updating the README with a link to CirrusSearch as an alternative to this repo once I've read about it.

See updated README


Signed url

Sdk functions required for uploading files with signed url, specifically tied to FLYW-744

@hkethi002 are you using an assertion library for the tests?

@edgrams Have a look at tests/0-init_test.go, I've written down some thoughts + instructions there, as well as an example test.


Added different activation types, bias, padding

Added sceanrios like different activation types, bias, padding types
stride values.

@jdduke , thanks for the comments, i have updated the code as per your suggestion, kindly check and approve.
Regards
Amit


exp/services/soroban-rpc: getEvents method (Horizon-backed)

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

Fixes #4554
What
Implement the getEvents method in soroban-rpc API. For now, backed by fetching transactions from Horizon.
Why
To get this in the hands of devs for field-testing without needing to wait for the real data backend to be complete in https://github.com/stellar/go/issues/4681
Todo

[x] Test it is usable, and not horrendously slow

[x] try it against futurenet for reference

[x] Add tests
[x] Resolve TODOs in the code
[x] Merge and use https://github.com/stellar/stellar-xdr/pull/59
[x] Handle horizon retries, rate-limiting etc. Use an exponential backoff

created a placeholder ticket for including system tests(e2e) coverage on this(orthogonal to unit/integration tests local in repo) - https://github.com/orgs/stellar/projects/37/views/3

Cosed for https://github.com/stellar/soroban-tools/pull/270


Face detection from Python

Have been looking forward to the face detection with python, but so far it is not a readily available option. Face Mesh is surely an option but I just wanted to do face detection from python.
Would really appreciate if someone could point me in the right direction on how to go about doing this?

Added in v0.8.3.
See https://google.github.io/mediapipe/solutions/face_detection#python-solution-api for details.


Tno 2828 report sort options

Rename Series to Program/Show,
Add headline sort option

Does this also work in the Editor Admin interface?

yes. I test it in editor as well.


Generate code coverage reports action (iOS)

Each project can have a different place to store these generated reports, we can push them to the repo using the default branch, but some projects don't allow direct push to the default branch, and instead, we should open PRs.
Also, some projects may need to store these reports outside the source code.
So it depends. This action will generate an HTML file for the code coverage and returns the generated file path.

UI updates:

@hadiidbouk can we rename master to main for this repo?

@hadiidbouk can we rename master to main for this repo?

Let us warn the team about this because, as I recall, some projects use the main branch instead of specifying the version


A probable crash in sha1_block_data_order on windows with sha1 ext capable CPU

By code review it looks likely that the function sha1_block_data_order
migth crash under windows when a CPU supports sha1 extension,
because of the code here:
https://github.com/openssl/openssl/blob/6afaa3f41f5b65432b6700064b077032b9e0c625/crypto/sha/asm/sha1-x86_64.pl#L374-L383
because the register rax is not initialized, here:
https://github.com/openssl/openssl/blob/6afaa3f41f5b65432b6700064b077032b9e0c625/crypto/sha/asm/sha1-x86_64.pl#L263-L273
probably something like this is missing:
diff --git a/crypto/sha/asm/sha1-x86_64.pl b/crypto/sha/asm/sha1-x86_64.pl
index 30c545cf41..85c76de3d3 100755
--- a/crypto/sha/asm/sha1-x86_64.pl
+++ b/crypto/sha/asm/sha1-x86_64.pl
@@ -375,6 +375,7 @@ _shaext_shortcut:
 .cfi_startproc
 ___
 $code.=<<___ if ($win64);
+       mov     %rsp,%rax
        lea     `-8-4*16`(%rsp),%rsp
        movaps  %xmm6,-8-4*16(%rax)
        movaps  %xmm7,-8-3*16(%rax)

but I cannot test that, and maybe there is also a reason why that cannot happen,
since I do not understand why this was never reported in the last 10 years...

but I cannot test that, and maybe there is also a reason why that cannot happen,
since I do not understand why this was never reported in the last 10 years...

Yeah, either the code is not exercised for some reason or there must be something else in play here as otherwise we would see the crashes even in the CI.

Is it possibly just good luck?  i.e. cdecl I think says that RAX gets saved by the caller, and it just so happens that all callers save the "right" value to RAX prior to the call?

Hmm, I was able to look into a native windows generated crypto/sha/sha1-x86_64.asm
sha1_block_data_order	PROC PUBLIC
	mov	QWORD PTR[8+rsp],rdi	;WIN64 prologue
	mov	QWORD PTR[16+rsp],rsi
	mov	rax,rsp
$L$SEH_begin_sha1_block_data_order::
	mov	rdi,rcx
	mov	rsi,rdx
	mov	rdx,r8

	mov	r9d,DWORD PTR[((OPENSSL_ia32cap_P+0))]
	mov	r8d,DWORD PTR[((OPENSSL_ia32cap_P+4))]
	mov	r10d,DWORD PTR[((OPENSSL_ia32cap_P+8))]
	test	r8d,512
	jz	$L$ialu
	test	r10d,536870912
	jnz	_shaext_shortcut

So out of nowhere this mov rax,rsp appears here on windows.
Well, it works, but this is what I would call a really bad hack, what's going on here...

@bernd-edlinger I don't understand why you've closed this issue. Your analysis looks sound - we are missing a mov rax,rsp and we are lucky that it's current emitted by the compiler in code just before ours. Surely we should keep this issue open until we add such a mov in?

@tom-cosgrove-arm I closed this issue because I found out that this code is emitted here:
https://github.com/openssl/openssl/blob/99548cd16e9dfd850a3958e417b9e02950f208f4/crypto/perlasm/x86_64-xlate.pl#L533-L535
So it is not by accident, but by "design"...
What remains is the bad feeling that this is kind of unmaintainable, yet a PR like #9603 which was about to
introduce a misaligned movaps could easily pass all the CIs, get approved, committed and would have caused
some very real damage.

So it is not by accident, but by "design"...

Ah, yes, and it's not likely to change:
# 8. In order to provide for structured exception handling unified
#    Win64 prologue copies %rsp value to %rax. For further details
#    see SEH paragraph at the end.


Question about overall system speed

May i ask what do you mean by this statement?
"The proposed tracker obtains state-of-the-art accuracy in comprehensive experiments of short-term and long-term visual tracking benchmarks, while the overall system speed is still far from being real-time"

The overall system speed is about 150FPS. The general definition of real-time is 25FPS.
So we claim that the overall system speed is still far from being real-time. (150 >> 25)


[Warning Fixed] HuggingFace Hub LLM Integration

This PR fixes the following warning
/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_deprecation.py:131: FutureWarning: 'InferenceApi' (from 'huggingface_hub.inference_api') is deprecated and will be removed from version '1.0'. `InferenceApi` client is deprecated in favor of the more feature-complete `InferenceClient`. Check out this guide to learn how to convert your script to use it: https://huggingface.co/docs/huggingface_hub/guides/inference#legacy-inferenceapi-client.
  warnings.warn(warning_message, FutureWarning)

Fixes made:

Replace InferenceAPI with InferenceClient
Replace max_length to max_new_tokens as per new HuggingFace docs

@hwchase17 @agola11
Attaching the screenshot of the working of max_new_tokens

whats the difference between the fix here and the fix in this pr: https://github.com/langchain-ai/langchain/pull/14406/files

merged the other pr in, so closing this


terminal isn't working

terminal section remains blank in vscode. plz tell how can i solve this......
i am beginner.learning to code

/needsMoreInfo

Not sure whether it is the same issue, but I use the bash terminal, on Windows 10.
When I create a new terminal (or just go to the terminal), I see a blank terminal. It is actually scrolled down. If I type something without scrolling up, it will process my typed command. If I first scroll up, it will ignore anything I type (the caret will not show up at all).

After scrolling up -

However, pressing Enter will fix it.
I also have an seemingly unrelated issue (but it is not so new, a few months) where the colors of the bash terminal change after some time, usually to black on black. I can copy the text to an editor to see what it written there, so the content is there, but I cannot see it in the terminal itself.

Reproduces in 1.47.1 as well.

I *think* I'm experiencing the same issue:

Occasionally when opening VS Code (I'd say about one in five times), the bottom pane (which contains the terminal) remains empty. Trying to toggle the terminal (ctrl+`) doesn't have any effect (nor trying to open anything else in the bottom panel for that matter).
Closing and reopening the window resolves the issue.
Started noticing this behaviour recently – I'd say since 1.47. Currently running 1.47.1 which also exhibits the issue.
CPUs              Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2904)
GPU Status        2d_canvas: enabled
                  flash_3d: enabled
                  flash_stage3d: enabled
                  flash_stage3d_baseline: enabled
                  gpu_compositing: enabled
                  multiple_raster_threads: enabled_on
                  oop_rasterization: disabled_off
                  protected_video_decode: enabled
                  rasterization: enabled
                  skia_renderer: disabled_off_ok
                  video_decode: enabled
                  viz_display_compositor: enabled_on
                  viz_hit_test_surface_layer: disabled_off_ok
                  webgl: enabled
                  webgl2: enabled
                  Load (avg)	undefined
                  Memory (System)	15.85GB (5.41GB free)
                  Process Argv
                  Screen Reader	no
VM                0%
--------------------------------------------------------------------------------
Remote	WSL:      Ubuntu
OS                Linux x64 4.19.104-microsoft-standard
CPUs              Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2903)
Memory (System)   7.77GB (4.60GB free)
VM                0%

Closing as OP is non-responsive.

@shivraj19 for your particular issue it's likely related to Windows 10 being out of date (<=1809, build number <= 10.0.18362)


upgrade daemon to 0.19.3 on pre-redesign (patch release)

The Issue
From Grin: Please bump the app to use 0.19.2 daemon asap. i don't think there are any changes affecting the app, but there's an important dht change in there
If we can, possibly fix the white text/spacing issues on pre-redesign: https://github.com/lbryio/lbry-app/issues/1381
System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

@seanyesmunt let's try to get this out today/tomorrow. I'll do some final testing on 0.19.3 to make sure nothing broke. If the https://github.com/lbryio/lbry-app/issues/1381 / button spacing issue is a quick fix, let's try to get that in as well.

Done, https://github.com/lbryio/lbry-app/releases/tag/v0.21.4


Maping min_child_weight of xgboost with min_sum_hessian_in_leaf of LightGBM

Hi, all
When I read both documentation of xgboost and LightGBM, I am very confused about min_child_weight parameter. Based on @trivialfis answer in #5976 , min_child_weight in xgboost represents accumulated Hessian for each leaf, which literally means number of sample for rmse objective.
However, I find that min_sum_hessian_in_leaf (alias of min_child_weight) in LightGBM is set to 1e-3 as default, while min_data_in_leaf (alias of min_child_samples) is set to 20 as default.
To me, it seems that min_child_weight in xgboost is a mapping of min_data_in_leaf instead of min_sum_hessian_in_leaf in LightGBM. May I ask is my understanding correct? Thanks so much.

@thvasilo also mentions this mapping issue at #5444 . Any thoughts?

No, the min_child_weight in XGBoost maps to min_sum_hessian_in_leaf in LightGBM. It is currently not possible to set the minimum number of samples per node in XGBoost.
For the reg:squarederror objective, the Hessian sum happens to match the number of samples, but this equality generally does not hold for other objectives.


update secrets readme

azure-keyvault-secrets/README.md
1 change :
1.  Add System.in.read() while calling Async API

Can one of the admins verify this patch?

Can one of the admins verify this patch?

sorry, i send this PR to a wrong path. please ignore it . and  i will close it .


Update README.md

Coverage remained the same at 100.0% when pulling 3daf230f39bc72f5e0e3d257e40e8202fa8b68a6 on whiskeysierra-patch-1 into deb4f197ba5fd84e258ed1e21166a7c408594d68 on master.


Please ignore

Debugging code for unmatched Mock call to CreateFile(...) in the test FileInfoTests.CopyTo_WhereSourceIsEmpty_CallsApiCorrectly

@Liryna: There we have it. :cold_sweat:
Please take a look at the diff for FileInfoTests.cs between commits 0909ece9ef6fbb0865d3902c6e59fc8b92ef0493 and 81f9a0be7cf38eaf6f31c1db7a061f6ce2d37fee for details.
For some reason only known to itself, Appveyor makes an additional call to
CreateFile[2] ("\DestinationFile.txe", [ReadData, WriteData, AppendData, ReadExtendedAttributes, WriteExtendedAttributes, ReadAttributes, WriteAttributes, Delete, ReadPermissions, ChangePermissions, Synchronize], [None], OpenOrCreate, [SequentialScan], [Normal], DokanFileInfo {<null>, False, False, False, False, ..., False, False})
after the call to
CreateFile[2] ("\DestinationFile.txe", [ReadData, WriteData, AppendData, ReadExtendedAttributes, WriteExtendedAttributes, ReadAttributes, WriteAttributes, Delete, ReadPermissions, ChangePermissions, Synchronize], [None], CreateNew, [SequentialScan], [Normal], DokanFileInfo {<null>, False, False, False, False, ..., False, False})
that is not present in local MSTest execution. :see_no_evil:
The only obvious difference is FileOpen.CreateNew instead of FileOpen.OpenOrCreate.
I am totally at a loss here. :sob: Does Appveyor run on a grossly different NTFS or OS version (I'm still on Win8.1) or what else could be wrong here?

@viciousviper Oh :( as I know they are using azure virtual machine with Windows server 2012 r2
https://www.appveyor.com/docs/installed-software
It is possible that it is Windows server that react differently.

Results from the experiments in this PR have been transferred to PR #51
--> closed this PR


added verb petal example

This also adds a generic test program for the Petal as well. Covers testing the entire pedal except for the SD Card, and encoder increments. Both of those should be added


Help me,about  session.Refresh

by once to once ,i call session.Refresh,and NHibernate.HibernateException,More than one row with the given identifier was found:xxxxxx,  why?

That's a question about NHibernate, you should ask on their mailing list


do not zip cache content as it already comes zipped

docs: remove zip step from "Creating the Cache" in README.md

Thanks for the PR!


Botkit.botframeworkbot is not a function

I'm trying to create a bot for bot-framework, but then running my code i receive the message saying the botkit has no function called botframeworkbot, and when print my variable botkit i have the following result:

C:\Users\rcborges\Downloads\botkit-middleware-master\examples\simple-bot>npm sta
rt

<EMAIL_ADDRESS>start C:\Users\rcborges\Download
s\botkit-middleware-master\examples\simple-bot
 node simple-bot-slack.js

{ core: [Function: Botkit],
  slackbot: [Function: Slackbot],
  facebookbot: [Function: Facebookbot],
  twilioipmbot: [Function: Twiliobot] }

You always have the same problem ? Wich version of Botkit you use ?

@Rhaniel looks like you are somehow running a very old version of Botkit. Make sure you get the latest version!


Give Appetize.io a try

Take a look at https://appetize.io/ and see if that would be feasible to showcase KivyMD there.

Hi Andre. Anyway why do you want to showcase KivyMD like this?

Hi @quitegreensky for the sake of doing it :smile:
Also if people can give it a try without installing, that's one way. Do you have another suggestion?
Honestly I don't think I'll find time to give it a try to do it this way.

This is a good idea to try the application without installing it but this definitely affects the performance if you run an app through the internet and makes it unfavourable. Anyway at first it's necessary to upload an apk with all exact settings and codes used to build the application for those who haven't any problem with installing it. besides you can create an YouTube channel and upload some videos around this project and KEEP IT UPDATED!  so people can see the app without installing it. I know it looks a little hard of course!

So what's up? any news? 😄

Ahah about showcasing it in Appetize? Well I haven't looked into it as I'm busy on other things. But maybe showcasing it on F-Droid (refs #11) would be a good start for now :smile:

Yeah i agree with F-Droid. I wish to see it soon 👌


how to use the demo branch?

i am a newbie, somebody can give me a detail to let it work? or an article that let me read?~
thanks all~

Hi Kazaff,
Please see our Wiki -

The demo branch deployment instructions are here. Checkout the demo branch instead of dev branch, as needed.
An easy build and deployment script is currently available on the dev branch only. Instructions are here.

We are preparing a new Wiki page which will explain how to use our pre-generated images off docker hub.
Please feel free to contact me with any issues or questions.

@edagan  thank you soooooo much~


[v6] Expose action

What is the new or updated feature that you are suggesting?
v6 router should expose the action (POP, PUSH, REPLACE).
Why should this feature be included?
I'm trying to migrate v5 logic to v6.
Part of the logic is "scroll to top" when navigating to a new page. For that to work correctly I must only scroll the page on PUSH and REPLACE actions but not on POP actions. The latter would be scroll restoration which is done by the browser.

Duplicate of ReactTraining/history#864


mastodon-streaming systemd unit templating

Describe the bug
The Mastodon module should support the systemd unit templating that's provided by upstream at:

https://github.com/mastodon/mastodon/pull/24751

...and is also described in their documentation at: https://docs.joinmastodon.org/admin/scaling/#streaming . This is also particularly important for those of us that run their web applications in separate virtual machines to our frontend webservers.
Notify maintainers
@erictapen @happy-river @Izorkin @ghuntley

Add a :+1: reaction to issues you find important.

The current setup was introducud in https://github.com/NixOS/nixpkgs/pull/251950#issuecomment-1732568492, see also the comment for why I didn't wan't to use the templating unit; I feel like on NixOS we have better tools for this.
What kind of additional benefits would you draw from the template unit over the current solution, except that it's just closer to upstream?

What kind of additional benefits would you draw from the template unit over the current solution

I separate all my applications into their own virtual machines to provide security boundaries between them - in addition to my frontend webservers - so it's impossible for me to use a Unix socket for the streaming API.

Ah yeah I see the point for scaling. Would review a PR for being able to distribute streaming instances on other servers.

@jpds are you able to work on this?


Question/support - How to separate array of string controlled via values.yaml

Output of helm version:
version.BuildInfo{Version:"v3.9.4", GitCommit:"dbc6d8e20fe1d58d50e6ed30f09a04a77e4c68db", GitTreeState:"clean", GoVersion:"go1.19"}
Output of kubectl version:
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.3", GitCommit:"ca643a4d1f7bfe34773c74f79527be4afd95bf39", GitTreeState:"clean", BuildDate:"2021-08-05T16:28:52Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.): local testing
I want to achieve something like this in my config.toml
config.toml
animals = ["lion", "cat", "tiger"]
what i did  in my config.toml
animals = [{{ .Values.wildlife }}]
and used these values.yaml
values.yaml
wildlife = "lion","cat","tiger"
but i do not see every string with "" quotes
here are the results

  animals = ["test", "foo", "bar" ]

  animals = [ lion,cat,tiger]

Assuming that .Values.wildlife is a list of strings, you could:
animals = {{ toJson .Values.wildlife }}

@joejulian  using this
animals = {{ toJson .Values.wildlife }}
it actually outputs as
+       animals = [ "lion,cat,tiger"]
rather I want it to be
animals = ["lion", "cat", "tiger"]

Well I did say, "Assuming that .Values.wildlife is a list of strings" :)
If you want to use a string and split it at some arbitrary character:
animals = {{ toJson (split "," .Values.wildlife) }}

the idea being that if you have a list of strings, toJson will create ["string1","string2","string3"] or you can always use the classical split/join combination to build your string.

@joejulian
not sure what i am doing wrong here
after using toJson I am getting
+  animals = [ {"_0":"cat","_1":"cat","_2":"tiger"} ]
I would want to remove unnecessary {} and _0...
my values.yaml
wildlife: lion,cat,tiger
help is appreciated

Assuming .Values.wildlife is a string
values.yaml
wildlife: '"lion","cat","tiger"'

tpl
config.toml:
  animals = {{ join "," (values ((split "," .Values.wildlife) | toJson | fromJson)) }}

output
config.toml:
  animals = "lion","cat","tiger"

Why am I just learning about helm-playground now? :grin:
values.yaml
wildlife: "lion,cat,tiger"

template:
config.toml:
  animals = {{ toJson (splitList "," .Values.wildlife) }}

output
config.toml:
  animals = ["lion","cat","tiger"]

https://helm-playground.com/#t=LQhQGMHsDsDMEsDmA6ALpAtgGwFygAT4CG08GRWAzvgLz4De9%2B6AUpTPgBSUAOW8qADLxKqfACIANOPzIAahQCuAU0rIA7vCwATfrGUBKfAF9joIA&v=LQhQHcEsBsBNsgMwKYC4AEByBB7AdgDQDGAhgC4FmQDmyATpkA

I am kinda facing the same problem as @harshsingh-cs
tried the suggestion by @stavros-k  but the sting is not getting enclosed within double quote ""
only difference is i am using if statements
helm diff -
+       api = [ debug,bor,admin,net,eth,web3,txpool ]
values.yaml
apiMngt: net,eth,web3,txpool,debug,bor,admin
apiMngtMasterNode: net,eth,web3,bor

config file-
api = [{{ if .Values.masternode }} {{ join "," (values ((split "," .Values.apiMngtMasterNode) | toJson | fromJson)) }} {{ else }} {{ join "," (values ((split "," .Values.apiMngt) | toJson | fromJson)) }} {{ end }}]
how would i place the list of string in double quotes

@baeyf  the SplitList @joejulian mentioned will work for you just fine (you can even skip the [] on api

I'm going to go ahead and close this as answered.


Document Server chathooks without server prefix

https://github.com/R2Northstar/NorthstarMods/pull/506
@Erlite

On it.


Webhooks broken in 0.19.2 nginx Docker Images

Rasa version:
1.1.3
Rasa X version (if used & relevant):
0.19.2
Python version:
3.6
Operating system (windows, osx, ...):
RHEL 8.6
Issue:
The rasa/nginx Docker image contains proxy_pass rules to allow a connection of [OUR-RASA-X-HOST]/core/(.... webhooks/rest/webhook) to rasa-production:5005. This is configured in /opt/bitnami/nginx/conf/conf.d/rasax.nginx
The nginx location is configured as following:
 location /core {
    proxy_set_header X-Real-IP  $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header Host $host;
    proxy_pass http://docker-stack/;
  }

Accessing [OUR-RASA-HOST]/core/webhooks results in upstream calls in this format: rasa-production:5005//webhooks . <-- Mind the double "/".
This will return an url resolution failure.
The nginx location block has to strip one / within the location matching directive.
Changed location from /core to /core/
 location /core/ {
    proxy_set_header X-Real-IP  $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header Host $host;
    proxy_pass http://docker-stack/;
  }

Best Jan

Thanks for raising this issue, @wochinge  will get back to you about it soon.

@JanThiel Thanks for digging into this, will change it in Rasa X so that it's fixed in the next version (not sure whether I'll be able to get it into the next though)

@wochinge Great to hear! Would be great if this could be shipped asap as currently we have to manually patch the container after each and every docker-compose.. You can imagine this is hell of no fun and lots of work...

Already did the pr for it :-)

PR is merged and this will be fixed in the next version 👍 You can also use rasa/nginx:latest if you want to have it asap (might take a few more minutes until the container is built)


how to remove this ui element?

i wasnt sure where to ask, but how do i remove this when using alarms? i only want the sound and text printed to the chat i dont want this ui element always on.

You can type /gbc to get a list of config options.
The option to turn it off is: /gbc window
Alternatively:

Open GatherBuddy (/gatherbuddy)
Click on 'Config'
Expand 'Interface'
Expand 'Gather Window'
You can either turn it off here, or you can select the option to only show while holding down a modifier.


platforms: add support for matching amd64 variants

AMD64 variants have been standardized in https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels and are available in modern compilers to optimize for modern machines when needed. For example, starting from 1.18 Go is adding GOAMD64 to set the minimum compatibility version. If the host doesn't support the minimum version the binary will refuse to start.
This PR makes the platformVector matcher understand these values v1-v4 as variants so they can be used in image indexes. v1 will remain the default and is normalized out so the change is not visible unless when handling images that have variants with higher value. The behavior is the same as current ARM compatibility handling: platformVector will match the highest compatible version.
This is especially important for the cases when we are building multi-platform images on a single machine and some platforms build through emulation that has a lower compatibility version. We don't want these cases to break when choosing a higher compatibility version becomes more popular.
I pushed 2 example images if someone wants to test this: https://hub.docker.com/r/tonistiigi/test/tags?page=1&name=amd64

 # docker pull --platform=linux/amd64/v3 docker.io/tonistiigi/test:amd64all
amd64all: Pulling from tonistiigi/test
Digest: sha256:5786da7ced3792f614bdb51d55390b51cfce05f7030d300d791ec127be5982cc
Status: Image is up to date for tonistiigi/test:amd64all
docker.io/tonistiigi/test:amd64all
 # docker run -it --rm docker.io/tonistiigi/test:amd64all
WARNING: The requested image's platform (linux/amd64/v3) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
This program can only be run on AMD64 processors with v3 microarchitecture support.
 #
 #
 #
 # docker pull --platform=linux/amd64/v2 docker.io/tonistiigi/test:amd64all
amd64all: Pulling from tonistiigi/test
Digest: sha256:5786da7ced3792f614bdb51d55390b51cfce05f7030d300d791ec127be5982cc
Status: Downloaded newer image for tonistiigi/test:amd64all
docker.io/tonistiigi/test:amd64all
 # docker run -it --rm docker.io/tonistiigi/test:amd64all
WARNING: The requested image's platform (linux/amd64/v2) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2022/01/19 04:27:04 This binary was built with v2 minimum compatibility
2022/01/19 04:27:04 Maximum host compatibility: linux/amd64/v2
 #
 #
 #
 # docker pull --platform=linux/amd64 docker.io/tonistiigi/test:amd64all
amd64all: Pulling from tonistiigi/test
59bf1c3509f3: Already exists
9e3aeff45a2a: Pull complete
Digest: sha256:5786da7ced3792f614bdb51d55390b51cfce05f7030d300d791ec127be5982cc
Status: Downloaded newer image for tonistiigi/test:amd64all
docker.io/tonistiigi/test:amd64all
 # docker run -it --rm docker.io/tonistiigi/test:amd64all
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2022/01/19 04:27:38 This binary was built with v1 minimum compatibility
2022/01/19 04:27:38 Maximum host compatibility: linux/amd64/v2

@AkihiroSuda @dmcgowan
Signed-off-by: Tonis Tiigi<EMAIL_ADDRESS>

SGTM, but maybe we should discuss this in image-spec repo?
https://github.com/opencontainers/image-spec/blob/main/image-index.md#platform-variants

Will this change the default platform for the host? Are most hosts expected to be able to run that v3 image?

Will this change the default platform for the host?

No. v1 remains the default and DefaultSpec will return v1 (empty because normalized out). If you want then in a follow-up I could add something like platforms.MaximumSpec using https://github.com/tonistiigi/go-archvariant . Afaics there is no direct use for it in ctr as fallbacks(or alternative platforms) don't work there atm and direct --platform value needs to be passed on pull (platforms.Only is not used).
For example, even when the user is on a v4 machine, when they do docker build or docker build --platform linux/amd64 the image being built will be v1. The intention is to build an image that is compatible with all amd64 machines by default.

Are most hosts expected to be able to run that v3 image?

Not sure what you mean here. This only applies when the user manually raises the minimum compatibility to v3. And when they do that they can also provide a different(less optimized) version for the people with older machines.

Not sure what you mean here. This only applies when the user manually raises the minimum compatibility to v3. And when they do that they can also provide a different(less optimized) version for the people with older machines.

It wasn't clear from the link. Are all newer Intel/AMD CPUs already v4 compatible?
I agree with the idea of support max spec and build min spec though.
This change LGTM, the scope is small to just add support for an existing variant. I think proposing the update in OCI makes sense but it is not a requirement to get it merged here. There is nothing ambiguous about these variant names.

Are all newer Intel/AMD CPUs already v4 compatible?

No, v4 is not that common and only on some latest (high-power) Intel atm. v2 is quite common though and even supported by qemu-user emulation (when correctly configured). On native, relatively modern hardware you will likely see either v3 or v4. But again, the intention of this PR is not to break any workflows, even if the user is on some ancient cpu.

Seems reasonable from the standpoint of adding the scaffolding to understand variants on AMD64. That code in tonistiigi/go-archvariant is 👀  😅 !  Curious if the Linux kernel will add anything that makes identification simpler over time.


add hexadecimal RGBA notation (css hex with opacity)

https://drafts.csswg.org/css-color/#hex-notation

It's already listed: http://caniuse.com/#feat=css-rrggbbaa
😄

Ahh thanks, great!

Thanks to #3160 it'll now appear for a search for rgba too.


[tool_crash] FileSystemException: Cannot open file, OS Error: The system cannot find the file specified., errno = 2

Command
flutter pub get

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot open file, OS Error: The system cannot find the file specified.
, errno = 2
#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.openSync (dart:io/file_impl.dart:479:5)
#2      _File.readAsBytesSync (dart:io/file_impl.dart:539:18)
#3      _File.readAsStringSync (dart:io/file_impl.dart:584:18)
#4      ForwardingFile.readAsStringSync (package:file/src/forwarding/forwarding_file.dart:96:16)
#5      ErrorHandlingFile.readAsStringSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:209:22)
#6      _runSync (package:flutter_tools/src/base/error_handling_io.dart:556:14)
#7      ErrorHandlingFile.readAsStringSync (package:flutter_tools/src/base/error_handling_io.dart:208:12)
#8      _DefaultPub.get (package:flutter_tools/src/dart/pub.dart:240:50)
<asynchronous suspension>
#9      PackagesGetCommand._runPubGet (package:flutter_tools/src/commands/packages.dart:130:7)
<asynchronous suspension>
#10     PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:163:5)
<asynchronous suspension>
#11     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1157:12)
<asynchronous suspension>
#12     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1009:27)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
<asynchronous suspension>
#15     CommandRunner.runCommand (package:args/command_runner.dart:197:13)
<asynchronous suspension>
#16     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:278:9)

[✓] Flutter (Channel stable, 2.0.5, on Microsoft Windows [Version 10.0.19044.1466], locale en-US)
    • Flutter version 2.0.5 at C:\src\flutter
    • Framework revision adc687823a (10 months ago), 2021-04-16 09:40:20 -0700
    • Engine )
    • Android SDK at C:\Users\Dr Aj\AppData\Local\Android\sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_321-b07)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] VS Code (version 1.63.2)
    • VS Code at C:\Users\Dr Aj\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.34.0

[✓] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 97.0.4692.99
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 97.0.1072.76

! Doctor found issues in 2 categories.

Flutter Application Metadata
Type: app
Version: 1.0.1+2
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 1aafb3a8b9b0c36241c5f5b34ee914770f015818
Plugins
facebook_audience_network-0.9.0
firebase_auth-0.20.1
firebase_auth_web-0.3.3
firebase_core-0.7.0
firebase_core_web-0.2.1+3
firebase_messaging-8.0.0-dev.15
firebase_messaging_web-0.1.0-dev.6
flutter_facebook_auth-1.0.2+2
flutter_inappwebview-4.0.0+4
flutter_local_notifications-4.0.1+2
flutter_native_admob-2.1.0+3
fluttertoast-7.1.8
gdpr_dialog-2.0.1
get_version-0.2.2
google_mobile_ads-0.12.1
google_sign_in-4.5.9
google_sign_in_web-0.9.2
image_gallery_saver-1.6.9
image_picker-0.6.2
import_js_library-1.0.2
in_app_review-1.0.4
package_info-0.4.3+4
path_provider-1.6.28
path_provider_linux-0.0.1+2
path_provider_macos-0.0.4+8
path_provider_windows-0.0.5
permission_handler-5.0.1+2
receive_sharing_intent-1.4.5
share-0.6.5+4
shared_preferences-0.5.12+4
shared_preferences_linux-0.0.2+4
shared_preferences_macos-0.0.1+11
shared_preferences_web-0.1.2+7
shared_preferences_windows-0.0.2+3
sqflite-2.0.0+3
url_launcher-5.7.10
url_launcher_linux-0.0.1+4
url_launcher_macos-0.0.1+9
url_launcher_web-0.1.5+3
url_launcher_windows-0.0.1+3
video_player-1.0.1
video_player_web-0.1.4+1
video_thumbnail-0.2.5+1
wakelock-0.2.1+1
wakelock_web-0.1.0+3
webview_flutter-1.0.7

dupe? https://github.com/flutter/flutter/issues/97416
also @drajtechs you may want to run flutter upgrade -f

@iapicca Hi,
The one you linked has WebDevFS.update (package:flutter_tools/src/isolated/devfs_web.dart:833:57) log entry pointing to web, so it may not be dup.
This one seems to be coming from pub command _DefaultPub.get (package:flutter_tools/src/dart/pub.dart:240:50).
@drajtechs As suggested above, before we label, first try to upgrade to latest stable and run the command again to see if you still get same crash or not.


Use JupyterHub sharing when available

Is your feature request related to a problem? Please describe.
JupyterHub 5.0 will introduce the concept of sharing, so users can grant each other access to their server.
That PR includes an example javascript notebook and server configuration to grant JupyterLab permissions to make the necessary API requests.
Up to now, there have been two ways to share links to a shared server in jupyterhub:

share link with token, which always works, but spoofs authentication, bypassing all JupyterHub control (not good)
share link without credentials, which preserves jupyterhub authentication (good), but assumes the shared-with user already has access (annoying)

With the new sharing permission, (expiring) links can be generated that grant permission without leaking credentials or bypassing anything.
A link-to-this-doc URL will look like:
/hub/accept-share?code=...&next=encoded(/user/name/lab/tree/...)

i.e. the default share link encoded in the next parameter of the accept URL.
Describe the solution you'd like
Use the jupyterhub share-codes API to generate sharing links that grant access to the server when called from within JupyterHub.
Additional context
sharing links with a token shouldn't ever be done in a JupyterHub context, so this should be able to replace the 'with credentials' links to one that preserves proper JupyterHub authentication, when available.
There are also options to specify the scopes to be shared, expiration, etc. if they should be different from the default. UI for that gets hairy.

Part of the code for link sharing has been moved to https://github.com/jupyterlab/jupyter-collaboration (see https://github.com/jupyterlab/jupyter-collaboration/pull/150, https://github.com/jupyterlab-contrib/jupyterlab-link-share/issues/59#issuecomment-1569690374). This extension was not ported to lab 4.0 (https://github.com/jupyterlab-contrib/jupyterlab-link-share/issues/59). We will need to decide whether to archive it and implement your suggestion in jupyter-collaboration, or keep it alive and implement it here. Any thoughts?

Implementing in collaboration makes sense.
I think #60 discussed some points that would be needed to archive this in favor of collaboration. But the lack of maintenance capacity makes sense to push forward on collaboration first, at least.


Advance spaces query

Hi,
Is there a way to get all spaces that apply to a more specific / advanced filter? Specifically I'd like to get all children spaces of a specific space, that applies to more than one propertyKey value (i.t. propertyKey1=x, and propertyKey2=y), and for integer be able to compare (propertyKey3>5). Is it possible to do so in one API call?
Thanks,

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

ID: 15e6c9b8-3a4a-7bd0-408c-84e17cd43f8b
Version Independent ID: 78cd1ec1-1150-724c-af4a-cd75debefd12
Content: Azure Digital Twins common query patterns
Content Source: articles/digital-twins/how-to-query-common-apis.md
Service: digital-twins
GitHub Login: @KingdomOfEnds
Microsoft Alias: v-adgera

@obrookstein Thanks for your comment. We are actively investigating and will get back to you shortly.

Adding author @KingdomOfEnds for further help. Adam, please check and provide your suggestions.

Hi @obrookstein - Great question! It is possible to do all of the following in a single API query:

Call back all child nodes of parent space.
Call back all child nodes exhibiting two specific properties (having those properties and specific values for them).
Call back all child nodes exhibiting a specific property below a threshold.

Starting with the following Spaces:
```JSON
[
    {
        "id": "ad604988-5297-4c24-a14d-2fb8fdb73fc3",
        "name": "Floor 1",
        "typeId": 14,
        "parentSpaceId": "f026414e-b4b2-4346-9819-fa5e81f2c598",
        "subtypeId": 13,
        "statusId": 12
    },
    {
        "id": "597271f1-031a-4e3f-ba58-5da7ce339ed6",
        "name": "Area A",
        "typeId": 14,
        "parentSpaceId": "ad604988-5297-4c24-a14d-2fb8fdb73fc3",
        "subtypeId": 13,
        "statusId": 12
    },
    {
        "id": "2a39e652-5835-46c4-8a6e-68002743a1f3",
        "name": "Conference Room 11",
        "typeId": 14,
        "parentSpaceId": "ad604988-5297-4c24-a14d-2fb8fdb73fc3",
        "subtypeId": 13,
        "statusId": 12
    },
    {
        "id": "9d835f45-9a33-49ca-84cb-ac5c8bea809e",
        "name": "Focus Room A1",
        "typeId": 14,
        "parentSpaceId": "ad604988-5297-4c24-a14d-2fb8fdb73fc3",
        "subtypeId": 13,
        "statusId": 12
    },
    {
        "id": "f026414e-b4b2-4346-9819-fa5e81f2c598",
        "name": "Quickstart Building",
        "typeId": 14,
        "subtypeId": 13,
        "statusId": 12
    }
]
```

To bring back all descendants: ?spaceId=ad604988-5297-4c24-a14d-2fb8fdb73fc3&traverse=Down.
&$filter=TypeId eq 14&$filter=SubtypeId eq 13 requires two values for two specific properties.
&$filter=StatusId le 12 does a comparison for some value.

All can be combined like so:
 https://<<YOUR_URL>>.azuresmartspaces.net/management/api/v1.0/spaces?spaceId=ad604988-5297-4c24-a14d-2fb8fdb73fc3&traverse=Down&$filter=TypeId eq 14&$filter=SubtypeId eq 13&$filter=StatusId le 12

Hey @KingdomOfEnds,
Thanks for the detailed answer - that's exactly what I was looking for. Only tow things I'm missing are -

Does this work for Custom PropertyKeys using the exact same syntax? i.e. "&$filter=propertyKeyName eq value"?
Where can I find documentation with all operators? not-equal, larger than etc.

Thanks,

@obrookstein - Glad to help. Ah, let' see:

I think this is one of the most helpful documents to see a list of all supported syntax operators. While it applies to Azure Search, it provides a complete list of all OData comparison operators that are available. Those operators can be used in any DT queries as well.
Yep! You can concatenate specific property keys and values propertyKey=AreaInSqMeters&propertyValue=30 in the same way as filters above. Slightly different syntax (my apologies there) but the overall query should look fairly similar. You can substitute in the propertyKey clauses for the filter clauses.

Thanks,
Yes - I also found that the graph api uses the same syntax.
So, if the syntax for propertyKeys is different, can I do that -
PropertyKey=AreaInSqMeters&propertyValue=30&PropertyKey=Temperature&propertyValue=25?
Does the API takes into consideration the order of the parameters and “bind” the value to the right property? usually the order of the parameters doesn’t affect the call. Also, using this syntax how do I use other operators than just ‘=‘?

That's my mistake. For any customized properties, you must use Extended Property Keys (which do not attach to the underlying OData schema) - for other property or attribute-like entities some additional filtering options are available (attributes attached directly to the OData schema for example).
(Extended) Property Keys are created in two ways:

Through the API of the entity you want to create them for (e.g. - /api/v1.0/spaces/{{ID}}/properties).
Through the PropertyKey API (/api/v1.0/propertykeys/) itself.

To assign a value to your Property Keys, you'd want to use PUT /api/v1.0/spaces/{{ID}}/properties.

However, I'm getting an error when Creating or Updating a PropertyKey. I unfortunately do not maintain the Swagger document nor the API itself (I just returned to the Digital Twins team).
To spec, you should be able to query:
 https://<<YOUR_URL>>.azuresmartspaces.net/management/api/v1.0/spaces?spaceId=ad604988-5297-4c24-a14d-2fb8fdb73fc3&traverse=Down&propertyKey=propKey1&propertyValue=propValue1&propertyKey=propKey2&propertyValue=propValue2

I don't believe filtering using comparison operators is possible through Extended Property Keys alone (however you may query to return a value and execute a second call based on the result).

I've also reached out to the engineering team to provide some clarification about filtering, ordering, and status of the Swagger document.

Hi @obrookstein unfortunately what you're trying to achieve isn't currently supported in one single API call, but you are able to retrieve up to 1000 space nodes with properties and do the property value filtering client side. On your Management API swagger page you'll find a section on OData. You can also view the sample swagger here. What you're aiming for in terms of $filter=properties/any(c: c/ ge '') is not supported, but you can at present retrieve all child spaces including their properties with spaces/?includes=childspacesproperties,childspaces
On the swagger page if you select a request and click "Try it out" you'll be able to view all of the possible includes values for that request.

@KingdomOfEnds , @lyrana ,
Thank you both for the detailed answers. I'll do the filtering on the client side as suggested, after polling all child spaces, and their properties.
Thanks!

@obrookstein  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Issue templates

Add issue templates for bug reports and feature requests.
Re-used from https://github.com/census-instrumentation/opencensus-node/tree/master/.github/ISSUE_TEMPLATE

@rochdev @vmarchaud @hekike @bg451 Please review.


[Bug][Azure Devops] Azure Devops plugin incorrectly calculating pipeline duration

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Setup devlake connection to Azure Pipelines.
Pipelines successfully imported with correct start and end dates.
Mean pipeline duration is less than 1 minute, when most pipelines ran for over 30 minutes.
Looking in the database, all pipelines are showing in seconds rather than the actual duration.
What do you expect to happen
Expect for the correct duration to be set based on the start and end time.
How to reproduce
Setup a pipeline in azure devops that runs for a few minutes (could just create a powershell task that sleeps for a bit)
Run the pipeline a few times
Setup devlake to connect to azure pipelines and collect data.
Check imported data in database.
Observe the duration is always in seconds, while the actual duration (end date - start date) is longer.
Anything else
Digging through code, looks like this line is the perpetrator:
https://github.com/apache/incubator-devlake/blob/b3ab61d22e3affc5b39edf266f8de7b93c1988ee/backend/python/plugins/azuredevops/azuredevops/streams/builds.py#L70
duration_sec = abs(b.finish_time.second - b.start_time.second) should be duration_sec = abs((b.finish_time - b.start_time).seconds)
Version
v0.20.beta6
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Could you take a look at the problem when you find time, thanks. 🙏

I can confirm this bug. As a quick fix I have removed /60 from the corresponding query in grafana.

Looks like https://github.com/apache/incubator-devlake/pull/6548 already fixed this problem. It'll have to be cherry-picked back to v0.20.x. FYI @klesh
I tested and the newest code on the main branch works correctly here.


[MNEDC] Interrupt Signal Processing

How about moving MNEDC interrupt signal processing logics( server, client ) to sigmgr?

@ayush-kr @suresh-lc Please take a look at the proposal above. Seems that we have a dedicated manager sigmgr for taking care of all the signal processing logics.


servermaster(engine): add backoff config, fix timeout in chaos test

What problem does this PR solve?

Issue Number: close #7005
What is changed and how it works?

Add job backoff config at server level
Use small interval of backoff configs in integration test

Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/run-engine-integration-test

/run-engine-integration-test

/run-engine-integration-test

/run-engine-integration-test

/run-engine-integration-test

/run-engine-integration-test

/run-engine-integration-test

/run-engine-integration-test

chaos test passed. https://github.com/pingcap/tiflow/actions/runs/3014351764

/run-engine-integration-test

Codecov Report

Merging #7019 (5721262) into master (9398176) will decrease coverage by 0.0226%.
The diff coverage is 59.6491%.

Additional details and impacted files

Flag
Coverage Δ

cdc
67.1583% <59.5794%> (-0.0376%)
:arrow_down:

dm
51.8577% <50.0000%> (-0.0902%)
:arrow_down:

engine
62.3773% <60.1547%> (+0.1151%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #7019        +/-   ##
================================================
- Coverage   59.8253%   59.8027%   -0.0227%
================================================
  Files           791        792         +1
  Lines         90221      90623       +402
================================================
+ Hits          53975      54195       +220
- Misses        31498      31654       +156
- Partials       4748       4774        +26

/merge

/run-verify


Tips here

https://github.com/herrbischoff/awesome-osx-command-line
Got to go through that and add to my code the stuff I like. :+1:

Also see functions: https://github.com/herrbischoff/awesome-osx-command-line/blob/master/functions.md

This too: https://github.com/herrbischoff/awesome-command-line-apps


Add some performance-oriented testing

It would be neat to take some of the connection interfaces, and the Protocol and PrimitiveArray implementations, and come up with some benchmark tests to keep track of how well they perform over time.
For an interesting end-to-end test, we could test the echo connections (in isolated ConnectionArbiter instances) for some specified amount of time and just see how many bytes were transmitted and received by both ends.
You could just send 1024-byte payloads or something.
It will also be interesting to compare performance on the different platforms.

I think we need https://github.com/vkottler/runtimepy/issues/70 for this

We could wire up Echo connections of each type for 5 seconds and check the stats or something..

Can essentially do this with: https://github.com/vkottler/conntextual.

I've been using this script to stress test performance: https://github.com/vkottler/runtimepy/blob/master/perf_test.sh.
We'll need a way to sample / collect data with the program running and then store it on disk somewhere for later analysis (stream telemetry protocol)

I wonder if the server command with -l / --loopback would make building something like this easier (https://github.com/vkottler/runtimepy/pull/156).

full end-to-end HITL performance tracking would be more worthwhile than benchmarking style testing


'Reveal in Side Bar' confused by case-sensitive FileSystemProvider

Issue Type: Bug

Clone https://github.com/microsoft/vscode-extension-samples.git

Open fsprovider-sample folder

Run the 'Launch Extension' configuration

When the Extension Development Host window opens, use its Command Palette to run MemFS: Setup Workspace followed by MemFS: Create Files

In Explorer expand xyz folder and its def subfolder.

Doubleclick on each of these four files in sequence:

Working from left to right along the four tabs, use context menu on each in turn to invoke 'Reveal in Side Bar'

:bug: fails to locate upper.txt in the tree. The first three work correctly.

VS Code version: Code - Insiders 1.45.0-insider (6e9a34c0de4181a99f11e106733ee3e8c9db79f1, 2020-04-16T05:45:56.832Z)
OS version: Windows_NT x64 10.0.18363

I have seen similar problems when my case-sensitive filesystemprovider provides a tree with two sibling folders whose names only differ in their case.

@gjsjohnmurray thanks for filling this.
My guess would be that we have some assumptions about the platform we are on when we search for FileStats.
Looking at the code I see that we take the FileSystemProvide case sensitive capability into account, so not sure what is missing. Code pointer https://github.com/microsoft/vscode/blob/aecef14e24b4c3643bb6025c75819be4a608be1f/src/vs/workbench/contrib/files/common/explorerModel.ts#L378
@gjsjohnmurray would you maybe put a breakpoint there and check what happens when you trigger a reveal.
I can also look into ti next week if you are busy. Thanks!


Not need to parse key coder for user states

In portable mode, the key coder for user states is always ByteStringCoder so that the key coder information here is not in use for user states. This RP is intended for refactoring the codes to make the logic more clear.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@xinyuiscool Please help take a look, thanks.

Run Java PreCommit


Gitlab API support for owners check

Description
For owners checks using your CLI, it'd be great if we can specify whether it is for a gitlab or github repository. I'd like to get a validator for checks mentioned in your repo -
1. Check if the owner's definition is valid (is either a GitHub user name, an organization team name or an email address).

2. Check if a GitHub owner has a GitHub account

3. Check if a GitHub owner is in a given organization

4. Check if an organization team exists

Reasons

There's no good gitlab alternative like this package
Efforts wise it should not be hard to integrate a gitlab client like gitbeaker

Hi @udayrajMT
The idea sounds interesting. I will try to investigate if the GitHub CODEOWNERS and the Gitlab ones have the same syntax expression as currently, the codeowners-validator validates a few things which are tightly connected with GitHub :)

@mszostok the codeowners files in both do follow the same syntax:
Github ref

A CODEOWNERS file uses a pattern that follows the same rules used in gitignore files. The pattern is followed by one or more GitHub usernames or team names using the standard @username or @org/team-name format. You can also refer to a user by an email address that has been added to their GitHub account, for example<EMAIL_ADDRESS>
Gitlab ref

Files can be specified using the same kind of patterns you would use in the .gitignore file followed by one or more of:
A user’s @username.
A user’s email address.
The @name of one or more groups that should be owners of the file.


Update RemoteException.java

2502

 Quality gate: Passed
 Everything looks good
Details

 Quality gate: Passed
 Everything looks good
Details


this is an amazing project !!

thanks for bringing it to life!
I got better results then all other projects like RIFE, DAIN, CAIN, etc.
please keep up the amazing work.

Thank You.


testConfiguration.json should not be empty?

I'm trying the framework for use in our Logic Apps Standards solution and according to the wiki the testConfiguration.json can be empty.
However, while testing I got the "The test configuration could not be loaded" exception, although the file was there and I copied the {} value as mentioned in the wiki.
Copying over the contents from the repo it started to work right away.
The same result when I empty the testConfiguration.json in the example from the repo.
Thanks for building and maintaining this framework!

Hi @jeanpaulsmit , thank you for raising this issue. I'm sure the framework used to work with a testConfiguration.json file containing nothing but {}, but as you say, it now throws an error and it should not.
All of the test configuration settings have default values and therefore there is no reason why a test configuration file containing {} should break. Additionally, there is no real reason why a developer must have a testConfiguration.json file - in both cases the test framework should simply use the default values for all settings.
I'll fix this in the next version so that (i) the testConfiguration.json file is optional and (ii) a file containing {} does not break things. In both cases, default settings will be used.

@jeanpaulsmit , thanks for providing your PR contribution and feedback, it is always good to see how people are using the framework. Please give a star for the framework, and raise an issue for any other issues or improvements you would like to see.

I have released version 1.9.0 of LogicAppUnit which treats the test configuration file as optional. Additionally, a file containing an empty JSON document ({ }) is permitted. In both cases, the default configuration values will be used.
This new behaviour is documented in the wiki.


Solved issue: if linalg.pinvh internal error when using MDS

Just upgrade the scipy package to the latest version. Hope it's helpful.

Thanks for the information! Just curious, how did you install OpenOOD when you saw this error? Did you install via pip?

@zjysteven I installed through python3 -m pip install -e . for better exploration usage.


Issue on React App deployment

Error: postcss-svgo: TypeError: Cannot set property 'multipassCount' of undefined

Having the same issue. Looks like v1.3.1 is breaking builds.
CC @GreLI  ^

Temp fix: Just rollback to  "svgo": "1.3.0" (add to package.json file)

Related:
https://github.com/svg/svgo/issues/1174

Related:
#1174

@jsphstls  This is issue #1174 --- did you mean to link to a different issue?

Issue's stemming from https://github.com/svg/svgo/blob/58232a323adc03450211f5e6b5aed025af72224b/lib/svgo.js#L41.
Adding info = {} sticky plaster seems to solve the error.

Issue's stemming from
https://github.com/svg/svgo/blob/58232a323adc03450211f5e6b5aed025af72224b/lib/svgo.js#L41
Adding info = {} sticky plaster seems to solve the error.

// info.multipassCount = counter;                 info = {}
This fix does resolve my issue but I am using this as a build-in Create React App feature. As soon as i yarn install, this issue will come back. It's a temporary fix.

Issue's stemming from
https://github.com/svg/svgo/blob/58232a323adc03450211f5e6b5aed025af72224b/lib/svgo.js#L41
Adding info = {} sticky plaster seems to solve the error.

// info.multipassCount = counter; info = {}
This fix does resolve my issue but I am using this as a build-in Create React App feature. As soon as i yarn install, this issue will come back. It's a temporary fix.

you need to pin a specific version ... try
yarn remove svgo
yarn add<EMAIL_ADDRESS>
or just manually edit your yarn.lock or package.json file

Can anyone confirm that this fix works? Tried @BrianHVB 's solution
yarn remove svgo
yarn add<EMAIL_ADDRESS>
But still getting same error.

@johndevedu I'm still getting the issue -- even with pegging the version to 1.3.0. Looking in node_modules/svgo.js where multipass is referenced, I don't see how this is still generating the error.

Same problem while using gulp-svgmin

Yeah @dshanley looking at the commit for 1.3.0, all that's changed is the README.md and other package dependencies. Thanks for confirming.

But with 1.3.0 everything is fine

For people using yarn add this to your package.json
"resolutions": { 	  "svgo": "1.3.0"   }

For people using yarn add this to your package.json
"resolutions": { "svgo": "1.3.0" }

This resolved my issue. Using CRA. Thanks

Had to do this with eslint not too long ago. The solution above works thanks!

react-svg-loader package is also affected, temporary adding "svgo": "1.30" to the package.json works fine

Also seeing this over at https://github.com/gatsbyjs/gatsby

For people using yarn add this to your package.json
"resolutions": { "svgo": "1.3.0" }

This resolved my issue. Using CRA. Thanks

Not using yarn, but worked fine for with npm
https://github.com/rogeriochaves/npm-force-resolutions

Seeing this error in Vue / Nuxt.js deployments as well due to CSSNano package using SVGO

To get nuxt builds to work I used the "resolutions" fix from above.  However, instead of using a global version of nuxt, I had to add nuxt as a dependency and run it via yarn so that it too would follow the resolutions and use the older version of svgo
yarn nuxt build

I've submitted a PR at https://github.com/svg/svgo/pull/1176 which resolves this issue.
Until this is merged and released, as others have said, simply pin svgo to 1.3.0 or earlier.

Seeing this at NextJS too.

For people using yarn add this to your package.json
"resolutions": { "svgo": "1.3.0" }

This solved the issue though.

remove svgo and reinstall<EMAIL_ADDRESS>not solved my problem

The new version<EMAIL_ADDRESS>which released few hours ago cause this problem. Just need to rollback to 1.3.0 and your trouble will be gone.

"resolutions": { "svgo": "1.3.0" }

Add this line in package.json, then rm -rf node_modules, rm -rf yarn.lock, then yarn to reinstall everything.

"resolutions": { "svgo": "1.3.0" }

Add this line in package.json, then rm -rf node_modules, rm -rf yarn.lock, then yarn to reinstall everything.

I am using gatsby and met this problem.
The version of "svgo" is 1.3.0 and works well in my local environment but can't build when deploy to remote server (Cloud Foundry).

Now not only this error happens during React deployment but also happens Vue deployment. Same error message. This is how I solved this issue.

Add<EMAIL_ADDRESS>in dependencies, package.json
"dependencies": {
  ...
  "svgo": "1.3.0"
},

Add following statement in package.json
"resolutions": {
  "svgo": "1.3.0"
}

Done.

Hope this will help you guys who facing this issue as well. 😁

"resolutions": {   "svgo": "1.3.0" }
done

better fix, donot use svgo anymore

using pnpm, the fix is not a fix,
so i found a better solution: do not use svgo

Oops! What's a nightmare you did guys 😭
But fixed...😄!
I am DevOps release engineer designing CI/CD of a lot projects.
Happy it works and thanks for https://github.com/svg/svgo/issues/1174#issuecomment-547658450

For Nuxt 2:
pushing svgo down to 1.3.0 via resolutions doesn't result in a build.
Now getting:
Error: Cannot find module 'css-tree'
instead.

@SecondeJK you don't have to revert svgo to 1.3.0 anymore - your error is probably unrelated

@jantimon thanks - realised it's because I last pulled node modules when it was still a problem. Deleted lock, reinstalled, Nuxt happy with building.

https://icetutor.com/question/postcss-svgo-typeerror-cannot-set-property-multipasscount-of-undefined-gatsby/

"resolutions": { "svgo": "1.3.0" }
Add the above to your “package.json” and then rm -rf node_modules to remove “node_modules” and then reinstall “node_modules” again.
This will resolve issue. This issue is related to latest version of postcss-svgo
Full Answer With source code and example at here


Remove version: Balsamiq.Wireframes version 4.7.2

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://builds.balsamiq.com/bwd/Balsamiq_Wireframes_4.7.2_x64_Setup.exe
Status code: 200
(Automated message - build 609)


unbound-checkconf: validate new conf before use

I managed to quietly break my unbound because of the merge order of
stubs; so add some validation now.
Signed-off-by: Robin H. Johnson<EMAIL_ADDRESS>

i like the general idea, but we still have a global ordering that says:
concat { $config_file:
  notify => Service[$service_name],
}

i'd prefer those two commits to be merged.

Squashed as requested.
If we wanted to require the checkconf passes, we could also add Exec['checkconf'] to the service require if $checkconf_enable is true.

If we made this check as default, we would be able to get rid of the notify that igalic pointed to.  I'ld almost be in favor of that, since it would mean that we check the state of the config before every service reload, which I think I'd prefer as a user anyway.

Closing in favor of https://github.com/xaque208/puppet-unbound/pull/84


create separate requests for rule management

Problem
Single POST request for multiple use case (create rule, delete rule by ID, delete rule by value) is confusing.
Solution
Create separate request for each use case.

Problem
Single POST request for multiple use case (create rule, delete rule by ID, delete rule by value) is confusing.
Solution
Create separate request for each use case.

@richblood1942fl python for reach - [ ] engagement follows likes