DwC dashboard - if possible remove params from URL

When I click on the DwC download button (e.g. from the CO filter), then the URL bar has it's params set, and when I reload the page by accident, then I fire another download creation.
Perhaps we will need to isolate the index call (likely) from the build/create call, that would make things cleaner?

@LordFlashmeow I can't replicate this, maybe you reach this in an old branch?

Closing as stale, @LordFlashmeow please reopen if necessary.


Trouble encrypting in swift and decrypting in python

I have:

trouble encrypting in swift and then decrypting the encrypted message in python.

Issue description
"/app/.heroku/python/bin/python: undefined symbol: themis_secure_cell_decrypt_seal" is the error I am getting from python. I am using the function exactly described in the python how to and the swift how to. I am using the same master key as well.
Environment info

OS: Mojave 10.14.5
Themis version: 0.11.1
Installation way:

home-brew for swift
via package manager for python

Crypto provider: I don't know

hi @dloughran295

It looks like pythemis installation issue for me. Could you please double check that you've installed Themis Core library first, then Themis python wrapper on your Heroku instance?

Please follow steps described here:
https://github.com/cossacklabs/themis/wiki/Python-Howto#installing-stable-version-from-pip
If your Heroku instance is based on Ubuntu, then you'll need to install Themis core via apt-get install first.

The easiest way to check if pythemis installation is okay is to run local function, like key generation:

➜ python3
Python 3.7.0 (default, Jul 23 2018, 20:22:55)
[Clang 9.1.0 (clang-9<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pythemis
>>> from pythemis.skeygen import GenerateKeyPair, KEY_PAIR_TYPE

# or KEY_PAIR_TYPE.RSA for RSA
obj = GenerateKeyPair(KEY_PAIR_TYPE.EC)
private_key = obj.export_private_key()
public_key = obj.export_public_key()

>>> print(public_key)
b'UEC2\x00\x00\x00-j\x8b*\x06\x03>4:\xe0\x84\xfeT \x8c\x9d\x151\xa3\xb0\xb3i\xa9\xf8C}w\xaeX\x88\xdcw#\xac\x80m\xb1\xb4'

>>>

hi @vixentael,
It appears that I have all of the right installations as I am getting the same lines being printed out as you.

@dloughran295 do you get these lines on your mac or on heroku?
Could you please write step-by-step how you installed Themis on Heroku?

@vixentael,
I am getting these lines on my mac. And the way I install pythemis was by first installing it to my computer via pip and then for heroku I put pythemis in the requirements text file for the heroku to be able to run pythemis. Is there something I should do other than that in order for heroku to run it.

@vixentael,
This is the encryption using swift:

and this is the decryption using python:

then for heroku I put pythemis in the requirements text file for the heroku to be able to run pythemis

I think you missed a step described above – to install Themis Core library on Heroku.
Please follow steps from https://github.com/cossacklabs/themis/issues/480#issuecomment-501867156.
It looks like you have installed only pythemis on Heroku. pythemis is a python wrapper around Themis core library, it won't work alone.
I also think that everything should work on your mac, because you installed Themis core library via brew, then swift themis, then pythemis via pip. So you get the whole set.

Hi @vixentael,
I have been trying to go through those steps, yet I keep getting errors about with the sudo, wget, and echo commands. I am typing each step into the heroku command line but it isn't working.

@dloughran295 , it's hard to help you without error messages and description of the environment where you do it. Heroku provides several ways of how you can deploy your app. They run your code on pre-configured OS images (https://devcenter.heroku.com/articles/stack) which may or may not have some packages. And Heroku may to not provide the ability to install something else than you already have (actually I don't know because didn't try). Also you can deploy your app as docker container where you can install all that you want.
I suggest you try to deploy your app with docker where you will have all rights to install packages or copy your logs with error here and tell us about environment/deploying scripts which you use.

@vixentael @Lagovas
I tried again going through the steps in this link: #480 comment
I got through steps 1 and 2, but when I tried to create a new *.list file, I get:
tee: cossacklabs.list: Read-only file system
It appears that heroku does not want me to create a new file in the sources.list.d directory. Any thoughts on how I can get around this?

you can try to build C library from sources - https://github.com/cossacklabs/themis/wiki/Building-and-Installing. after that place somewhere *.so files and then you should set LD_LIBRARY_PATH env variable in your code like

import os
os.environ.setdefault('LD_LIBRARY_PATH', '/path/to/libraries')
# only after setup LD_LIBRARY_PATH import pythemis
from pythemis import smessage

where your own /path/to/libraries folder must contain libthemis.so and libsoter.so. Because heroku will not allow placing these libraries to system paths where OS search shared libraries by default.
You can try to build these libraries in heroku env if it will have all needed dependencies (openssl, build-essential) or you can build it in some ubuntu 18.04 system and copy shared libraries. But here you may have some next troubles as different path to openssl .so files on heroku system and your. And you should deal with it. So it harder and sounds ugly : )
2. as I said before you can deploy your app as docker container (best choice imho) - https://devcenter.heroku.com/articles/container-registry-and-runtime . you can use heroku's base image - https://devcenter.heroku.com/articles/heroku-18-stack and build own for you app appending our commands from our documentation - https://docs.cossacklabs.com/pages/documentation-themis/#installing-themis-core
Here is our own dockerfile for another our product Acra where we build it with docker and install themis as a dependency with oneline-script which install themis - https://github.com/cossacklabs/acra/blob/master/docker/acra-build.dockerfile#L32 (lifehack for you)
Docker container better because you can setup some automated ci/cd and don't repeat all steps in case 1 if you will need to update themis libraries or heroku will change something in their environment.
because heroku is not free VPS where you can do whatever you want and they want to be safe from malicious commands from unknown users, they allow you to deploy docker containers which they can isolate from main system.

hey @dloughran295 any success with installation on Heroku?

didn't get any response from @dloughran295 :(


manager: Add last backup field to volume

It would be very informative if users can know when is the last time this volume backed up.
Brief design:
Volume's last backup field will be updated when a backup was done, along with the timestamp. It should update as the last backup indicates in the backup store for the volume, instead of setting the field to be the backup that just completed. The source of truth should be the backup store.

Related to https://github.com/rancher/longhorn/issues/83

The backend change is not ready yet.

Backend change merged.

Done.

It would be more clear to add Last Backup At field along with Created At field so users can know when is the last time this volume backed up.

@smallteeths Can you look into this? ^^

[ ] Add Last Backup At field


<EMAIL_ADDRESS>Critical security issue fixed in 5.1.3. All users should upgrade

npm WARN deprecated<EMAIL_ADDRESS>Critical security issue fixed in 5.1.3. All users should upgrade. (More info: https://github.com/feross/bittorrent-dht/issues/87)

@weems thanks for the information


add one-line install

what do you guys think of adding a one-line install for the package starter?

I like it.  I think it's complementary to #10.  It provides an abstraction of the install process, so that once #10 lands, we can just update this install.sh to run that instead.

@davidchase awesome stuff, thank you!


Add MonitorBot on JavaScript section

Add MonitorBot on JavaScript section. It is a private bot to keep track of a list of websites. Notifies status changes

Thank you!


STAR-1348 Port cndb-3889: do not drop data if cfs is invalidated with dropData=false

Co-authored-by: Zhao Yang<EMAIL_ADDRESS>

@k-rus Thank you for the review; I have addressed most of your comments/suggestions and have requested another review cycle.


USB-C drivers?

There are only updated drivers for Pro (2017) for USB-C not for Laptop?

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

ID: 586d1246-6e18-b33c-2382-52a53bb392f5
Version Independent ID: 0ec4aa1e-aac0-98dd-0a47-83e93d854086
Content: Download the latest firmware and drivers for Surface devices (Surface)
Content Source: devices/surface/deploy-the-latest-firmware-and-drivers-for-surface-devices.md
Product: w10
GitHub Login: @BRecords
Microsoft Alias: jdecker

The Surface Laptop drivers have been available for about a month. See the Surface Blog for IT Pros for more information. The latest post covers this topic.
Brandon Records
Sr. Program Manager
Corporate Online Services
Sent from mobile, apologies for brevity.
-------- Original message --------
From: hoyty76<EMAIL_ADDRESS>Date: 7/2/18 15:02 (GMT-05:00)
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: "Brandon Records (Corporate Online Services)"<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [MicrosoftDocs/windows-itpro-docs] USB-C drivers? (#1191)
There are only updated drivers for Pro (2017) for USB-C not for Laptop?

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

ID: 586d1246-6e18-b33c-2382-52a53bb392f5
Version Independent ID: 0ec4aa1e-aac0-98dd-0a47-83e93d854086
Content: Download the latest firmware and drivers for Surface devices (Surface)https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsurface%2Fdeploy-the-latest-firmware-and-drivers-for-surface-devices&data=02|01|v-brreco%40microsoft.com|db3d952e6e7543f8142508d5e04e48f6|72f988bf86f141af91ab2d7cd011db47|1|0|636661549200381851&sdata=29MJL%2FVIZa693pKSr3lv%2Br2GwXQGYQEmWJ6hhYGkSTM%3D&reserved=0
Content Source: devices/surface/deploy-the-latest-firmware-and-drivers-for-surface-devices.mdhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fblob%2Fmaster%2Fdevices%2Fsurface%2Fdeploy-the-latest-firmware-and-drivers-for-surface-devices.md&data=02|01|v-brreco%40microsoft.com|db3d952e6e7543f8142508d5e04e48f6|72f988bf86f141af91ab2d7cd011db47|1|0|636661549200391851&sdata=wha501Ms3omUj8u1DF0Ozi9%2Bq4gWSIcRlxAElj7XDis%3D&reserved=0
Product: w10
GitHub Login: @BRecordshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBRecords&data=02|01|v-brreco%40microsoft.com|db3d952e6e7543f8142508d5e04e48f6|72f988bf86f141af91ab2d7cd011db47|1|0|636661549200401859&sdata=B%2Fb5Yf%2Bk5inp8q%2BboR%2B9zdVcb9dza7kEqiuxfT1d%2BC0%3D&reserved=0
Microsoft Alias: jdecker

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fissues%2F1191&data=02|01|v-brreco%40microsoft.com|db3d952e6e7543f8142508d5e04e48f6|72f988bf86f141af91ab2d7cd011db47|1|0|636661549200401859&sdata=o82oE41T19woVcr7xbP5TP20DwSGj5zBrrpIlrARrC0%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAeYWz4yfoAOxkmKdQbeCH59czUq8RD5rks5uCm4kgaJpZM4U_yzn&data=02|01|v-brreco%40microsoft.com|db3d952e6e7543f8142508d5e04e48f6|72f988bf86f141af91ab2d7cd011db47|1|0|636661549200411876&sdata=%2FCtvWhbQmkl7gc2qOPcrkZ%2BIuSMuj0RJb%2FqjOSbyDEg%3D&reserved=0.


Ruby Gem install grpc failed on armv7

I'm using kali linux for raspberry pi 3.
I've installed metasploit and the progress was failed at grpc
root@kali:~# gem install grpc
Building native extensions.  This could take a while...
ERROR:  Error installing grpc:
	ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.3.0/gems/grpc-1.2.5/src/ruby/ext/grpc
/usr/bin/ruby2.3 -r ./siteconf20170509-2158-5yx02i.rb extconf.rb
Building internal gRPC into /var/lib/gems/2.3.0/gems/grpc-1.2.5/src/ruby/ext/grpc/libs/opt
make: Entering directory '/var/lib/gems/2.3.0/gems/grpc-1.2.5'
[C]       Compiling third_party/zlib/adler32.c
[C]       Compiling third_party/zlib/compress.c
[C]       Compiling third_party/zlib/crc32.c
[C]       Compiling third_party/zlib/deflate.c
[C]       Compiling third_party/zlib/gzclose.c
[C]       Compiling third_party/zlib/gzlib.c
[C]       Compiling third_party/zlib/gzread.c
[C]       Compiling third_party/zlib/gzwrite.c
[C]       Compiling third_party/zlib/infback.c
[C]       Compiling third_party/zlib/inffast.c
[C]       Compiling third_party/zlib/inflate.c
third_party/zlib/inflate.c: In function 'inflateMark':
third_party/zlib/inflate.c:1507:61: error: left shift of negative value [-Werror=shift-negative-value]
     if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
                                                             ^~
[C]       Compiling third_party/zlib/inftrees.c
[C]       Compiling third_party/zlib/trees.c
[C]       Compiling third_party/zlib/uncompr.c
[C]       Compiling third_party/zlib/zutil.c
[C]       Compiling src/boringssl/err_data.c
[C]       Compiling third_party/boringssl/crypto/aes/aes.c
[C]       Compiling third_party/boringssl/crypto/aes/mode_wrappers.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_bitstr.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_bool.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_d2i_fp.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_dup.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_enum.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_gentm.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_i2d_fp.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_int.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_mbstr.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_object.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_octet.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_print.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_strnid.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_time.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_type.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_utctm.c
[C]       Compiling third_party/boringssl/crypto/asn1/a_utf8.c
[C]       Compiling third_party/boringssl/crypto/asn1/asn1_lib.c
[C]       Compiling third_party/boringssl/crypto/asn1/asn1_par.c
[C]       Compiling third_party/boringssl/crypto/asn1/asn_pack.c
[C]       Compiling third_party/boringssl/crypto/asn1/f_enum.c
[C]       Compiling third_party/boringssl/crypto/asn1/f_int.c
[C]       Compiling third_party/boringssl/crypto/asn1/f_string.c
[C]       Compiling third_party/boringssl/crypto/asn1/t_bitst.c
[C]       Compiling third_party/boringssl/crypto/asn1/tasn_dec.c
cc1: all warnings being treated as errors
[C]       Compiling third_party/boringssl/crypto/asn1/tasn_enc.c
[C]       Compiling third_party/boringssl/crypto/asn1/tasn_fre.c
[C]       Compiling third_party/boringssl/crypto/asn1/tasn_new.c
Makefile:2364: recipe for target '/var/lib/gems/2.3.0/gems/grpc-1.2.5/src/ruby/ext/grpc/objs/opt/third_party/zlib/inflate.o' failed
make: *** [/var/lib/gems/2.3.0/gems/grpc-1.2.5/src/ruby/ext/grpc/objs/opt/third_party/zlib/inflate.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/var/lib/gems/2.3.0/gems/grpc-1.2.5'
*** 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=/usr/bin/$(RUBY_BASE_NAME)2.3

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.3.0/gems/grpc-1.2.5 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/arm-linux/2.3.0/grpc-1.2.5/gem_make.out

This is the ruby and gem version I am using
root@kali:~# ruby -v
ruby 2.3.3p222 (2016-11-21) [arm-linux-gnueabihf]

root@kali:~# gem -v
2.5.2

I think we've updated the version of the zlib submodule for that kind of reason in 1.3.x.

if the fix is in 1.3.x, I think there's unfortunately a complication here, since ruby 1.3 release is postponed for of an in progress bug fix to https://github.com/grpc/grpc/issues/9941.
I'm guessing that this issue will be resolved by the next grpc-ruby release.

@mrpk1906 are you able to tell if this is fixed in the latets 1.3.4 release?

Same problem on ARMv8(Pine64, Allwinner A64) with version 1.3.4...

hello,I meet the same problem,have you solved it?


"Rucăr", "Sătic" are listed in the drop-down menu

Description:
When user writes "Rucăr", "Sătic" the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Rucăr"

Expected results
The location appears in the drop-down menu as "Rucăr, Argeș (Rucăr)"

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Sătic"

Expected results
The location appears in the drop-down menu as "Sătic, Argeș (Rucăr)"


Summary of values

Signed-off-by: Marcos Iglesias<EMAIL_ADDRESS>
Summary of Changes
Include a summary of changes then remove this line
Tests
What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes, including screenshots of any UI changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes all tests documented in the developer guide

This PR s linked to JIra ticket : https://jira.lyft.net/browse/AMD-1725  .
It was started to surface distinct values correctly in Frontend UI as per [design] (https://www.figma.com/file/nZ33vuKe0D1GjJmbcOOVFp/Working-Files-[Amundsen]?node-id=1877%3A1815 )


[WIP] Added support for re-indexing all missing packages on startup.

What does this PR do?
Adds support for, on startup, to go through all packages in the store and re-adds them to the database.
Motivation
The intention is to have the option to treat the sqllite database living inside the container as a throwaway cache, since the container is rarely restarted and its one less connection to secure.
Additional Notes
Could use some more work, but I wanted some feedback on this feature and the general approach. One thing of note is that the downloads count for packages would be reset if the docker container is restarted (something we dont care about).

I like the idea of being able to use the SQLite database as a throwaway cache. However, the current implementation feels a little hacky. I wonder if we can kill two birds with one stone by implementing a "drop folder" with automatic indexing (see https://github.com/loic-sharma/BaGet/issues/3), similar to NuGet.Server's ServerPackageRepository.
For your case, the "drop folder" would be the packages folder. Any unknown packages would automatically be indexed at startup.

Agree on all points. This turned out a bit rushed and was only meant as a workaround since I couldnt get a proper database to work. It should be replaced with a proper implementation for a drop folder, but thats not something I have time for now. Should I just close this or leave it open for someone else to build upon?

Let’s leave this open as it’s 80% the way there. I’ll finish this up in the future. Thanks for starting this work!

Is there any progress on this @Mizipzor @loic-sharma we are running Baget in kubernetes backed by S3. Every time a pod gets restarted we loose the metadata in the web UI. This would be a nice feature to have.

I'm afraid I had to abandon work on this due to time constraints. It's been left here in its current state for someone else to build upon, if it would save them time. I might return to it, should the opportunity presents itself.


🐛 BUG: --experimental-local and --asset don't get along well

Which Cloudflare product(s) does this pertain to?
Wrangler
What version of Wrangler are you using?
2.9.0 and recent build 0.0.0-91de3c1b
What operating system are you using?
Mac
Describe the Bug
$ wrangler dev --experimental-local
Delegating to locally-installed<EMAIL_ADDRESS>over global<EMAIL_ADDRESS>Run `npx wrangler dev --experimental-local` to use the local version directly.

 ⛅ wrangler 0.0.0-91de3c1b
----------------------------
▲ [WARNING] Processing wrangler.toml configuration:

    - "assets" fields are experimental and may change or break at any time.

[NPXI] @miniflare/tre not available locally. Attempting to use npx to install temporarily.
[NPXI] Installing... (npx --prefer-offline -y -p<EMAIL_ADDRESS>[NPXI] Installed into /Users/iminar/.npm/_npx/f763b2efd540e32a/node_modules.
[NPXI] To skip this step in future, run: npm install --save-dev<EMAIL_ADDRESS>service core:user:changeling: Uncaught TypeError: Cannot read properties of undefined (reading 'middleware')
  at serve-static-assets.entry.js:65:31
✘ [ERROR] The Workers runtime failed to start. There is likely additional logging output above.

If I remove the assets= key from wrangler.toml --experimental-local starts without errors

Unfortunately this is still broken at head, but now with a different error (tested with today's wrangler@0.0.0-66258669):
Error: Some functionality, such as asynchronous I/O, timeouts, and generating random values, can only be performed while handling a request.
    at Object.postMessage (middleware-loader.entry.js:2486:36)
    at middleware-loader.entry.js:2504:16
    at Generator.next (<anonymous>)
    at middleware-loader.entry.js:109:67
    at new Promise (<anonymous>)
    at __async (middleware-loader.entry.js:93:16)
    at startRunningService (middleware-loader.entry.js:1850:69)
    at Object.initialize2 (middleware-loader.entry.js:1844:29)
    at middleware-loader.entry.js:3233:27 {
  stack: Error: Some functionality, such as asynchronous I/…844:29)
    at middleware-loader.entry.js:3233:27,
  message: Some functionality, such as asynchronous I/O, time…, can only be performed while handling a request.
}

It turns out that the new error is not related to --assets and middleware interaction. It's related to the lack of top level async support in workerd #2029 and wrangler unnecessarily downleveling code to es2020 #2716.


Unable to distribute build to distribution group through CLI, but works through UI

Description

I am trying to distribute existing build to distribution group. The request fails with "undefined" error.
Repro Steps
Please list the steps used to reproduce your issue.

Upload release to an App in AppCenter.
Use CLI to assign the release to a distribution group through appcenter disribute releases add-destination --release-id 3 --type group --destination "mygroup" (I have tried using group name and group ID).
Query will fail with error undefined.

Expected behavior
I expected the release to have been distributed to the distribution group.
Details

Is there a particular beacon/command that you are having trouble with?
See above.
Which version of the App Center CLI are you using?

2.8.1

Which OS version did you experience the issue on?

MacOS 10.15.7

What command line/shell are you using?

Terminal.

What version of Node.js and NPM/Yarn are you using?

Don't know.

Additionally, you can provide verbose logs of a CLI command by using DEBUG="appcenter-cli:*" before the command, for example, DEBUG="appcenter-cli:*" appcenter apps list [log.txt](https://github.com/microsoft/appcenter-cli/files/6200380/log.txt) . Include the logs here, don't forget to omit any personal/sensitive data.

I noticed I'm missing the --app argument. With it, it works. Please close.

Hi! Glad to hear that your problem was resolved.
Thanks for using App Center!


Error Installation

I try install using npm but error,  i use react-native last version

@irfanismaya20 I'm sorry to hear you're having this issue. I tried using NPM v7, and it installs ok using the --legacy-peer-deps option. To avoid --legacy-peer-deps I think we'll need to update our dependencies and investigate further.
We use styled-components which has a peer dependency on react-dom (which should probably be optional 🤔). Since we don't specify a version for react-dom, it's using the latest and causing a conflict on the dependency tree.
However, if your issue is not related to the dependency tree resolution, can you please provide more details? (error trace, NPM version, Node version, and OS)
Thanks! 🙂

@JoseLion Thank you for answer 🙏. finally i try use yarn for install and working. I want to ask, how to call action "start"
without i press button for show spotlight-tour? i try call "start" in useEffect (react hooks) but not show. Thank You

@irfanismaya20 yep, Yarn is another good option 🙂 glad to hear you solved it.
If you want to call start() imperatively I'd suggest using the reference to access the Tour methods. Then you can call it from within a useEffect for instance:
function MyComponent(): React.ReactElement {
  const tourRef = useRef<SpotlightTour>(null);

  useEffect(() => {
    tourRef.current.start();
  }, [tourRef.current]);

  return (
    <SpotlightTourProvider ref={tourRef} steps={...}>
      {/* Your component goes here */}
    </SpotlightTourProvider>
  );
}

However, this is not ideal because we should try to avoid imperative code in React. So the same thing can be achieved with the useSpotlightTour() hook if you rearrange the component a bit:
function MyComponent(): React.ReactElement {
  const { start } = useSpotlightTour();

  useEffect(() => {
    start();
  }, [start]);

  return (
    <>
      {/* Your component goes here */}
    </>
  );
};

function MyWrapper(): React.ReactElement {
  return (
    <SpotlightTourProvider steps={...}>
      <MyComponent />
    </SpotlightTourProvider>
  );
};

I hope this helps. Happy coding 🙂

@JoseLion Thank you for solution 🙏


Is the batch processing API and the  real-time API running the same classifiers ?

Looking into classifying some thermal images to filter out empty images and roughly label when there is are different objects in the pictures. Will process around 3000 images per day and need to label 3-4 different categories - empty , animal, human
Wondering if the live web API or the batch processing would be a better option?
The readme says that the web API runs species classifiers so wondering if they are the same for the batch processing
Also do you use some public discord or slack?

Thanks for your interest!  A few points...

Unfortunately I suspect that our MegaDetector model will not be very helpful for thermal images.  It has never seen any thermal images in training, and machine learning doesn't like surprises.  By all means, give it a shot, but that's likely very different than what our model is used to seeing.

99% of our users don't use either of our APIs (users typically either run MegaDetector on their own, or work with us to run large batches on the cloud), so in fact we've just deprecated both API endpoints.  The code remains open-source and we will work with users who want to deploy their own instances, but we won't be maintaining live endpoints for either API.

That said, neither API supported species classification, both just ran the same MegaDetector model that's publicly accessible.  Species classification typically requires some bespoke work for new ecosystems.

Let us know more about your scenario and we'll find out the best way to support you!  At 3000 images per day (which is not a heavy volume), you have lots of options.  We can discuss here, or you can email us.
We don't use Slack per se, but we can discuss here, by email, or - if you want lots of community input, especially if you decide to train species classification models for your ecosystem - we also hang out at the AI for Conservation Slack channel.

thanks, yes I would like to join the channel, but there is no option to register, just to login. If you can please send me an invite
<EMAIL_ADDRESS>

Done.  See you there!


Exit with non-zero in case of failure

Command should return non zero code in case of failure
From HN comment:
touch foo.txt; chmod 400 foo.txt; echo ouch > foo.txt; echo $?

The script above does print an error message and echo command doesn't even run because bash fails to open the file. You need something else, e.g. touch bar.txt; ./echo hi 1<bar.txt; echo $?.
1


Auth::user() always return null although login is successful.

Laravel Version: 5.5
Adldap2-Laravel Version:  3.0
PHP Version: 7.1

Description:
Auth::user returning null although login redirection is successful from Auth::attempt()
$user = Adldap::search()->all(); works by returning all the objects in my AD.
Using:
'provider' => Adldap\Laravel\Auth\NoDatabaseUserProvider::class,
Steps To Reproduce:

Hi @entrique,
This is incorrect usage. You're supposed to setup the auth driver and use laravel's default Auth::attempt() method:
https://github.com/Adldap2/Adldap2-Laravel/blob/master/docs/auth/installation.md

Hi Steven,
I am not using a User model for login. Any example?


CLSCor: Detail View - Corpus Details

Metadata to display in X1 header:

[x] CorpusName
[x] Acronym and other appellations
[x] corpusType
[x] Links (identified by)
[x] Languages
[x] Textcount
[x] Text count according to Corpus table
[ ] Wordcount
[x] Timespan
[x] Formats
[x] Annotations (Features)
[x] Literary Genre
[x] Licenses
[x] Comments
[x] Metadata collected by / when

[ ] Link to pre-filled knowledge graphs from other tabs, e.g. "Authors" has a button "View as Knowledgegraph" that opens an Ontodia Visualization with the matching query

[ ] Differentiate between computed and asserted text count
[ ] Differentiate between computed and asserted formats


new send command

Hi Anton,
Just see your work today and been upgrade to 3.1.
I see there's a new send command on traccar, could you inform us what device command already supported here ?
And what we can do to help send command for another device, is there any documentation to add new send command for another device ?

gps103 port 5001 , gt06 port 5023

You can find all the information about 3.1 release here (including list of supported commands and protocols):
https://www.traccar.org/blog/traccar-3-1/
There is no documentation on how to add commands, but it's pretty straight forward. Just look at the code and follow the same pattern.

Hi Anton,
Could you please point us what files need to be update, and also could you please support send command for PT502.
Thank you

To implement commands you need to update XxxProtocol.java file and add XxxProtocolEncoder.java to encode commands (where Xxx is your protocol name).

Anton , you have forecast when will the command to Suntech devices?

@marcuscarvalho6, Traccar already support commands for Suntech protocol.

If he seems to be misconfigured , or at least for some versions . When firing the command to the device by the system nothing happens , and the command summarizes engine be returning the following message: "Command engineResume is not supported in protocol suntech " .
The commands provided on the provider website are as follows:
Enable output 1
SA200CMD ; XXXX ; 02 ; Enable1
Disable Output 1
SA200CMD ; XXXX ; 02 ; Disable1
Where XXXX should be replaced by device IMEI .

In the configuration file is set as follows:
"CMD ; { % s } ; 02 ; Enable1 \ r "
"CMD ; { % s } ; 02 ; Disable1 \ n"

@marcuscarvalho6, so command format is specific to device type?

Not according to the manufacturer's own website , these are the correct commands for all devices .
There are also other commands , such as the order position.
SA200CMD;XXXXX,02;StatusReq
But this specifically command only works in versions :
207B = ST215 E / I
208B = ST215LC
249 = ST215W
212 = ST240
http://www.stdobrasil.com.br/site/suporte/

I have changed the format.

When will the version with the modifications to download the .run ?
2015-08-14 0:05 GMT-03:00 Anton Tananaev<EMAIL_ADDRESS>
I have changed the format.
—
Reply to this email directly or view it on GitHub
https://github.com/tananaev/traccar/issues/1344#issuecomment-130937669.

I can provide a new jar file if you want, but I don't plan to release a new version for at least a month.

I've been seeing on the site on how to run the traccar patir the
source code, but I think it is desatializado .
I built the project with dependencies , the case remains the same?
java -jar traccar -server- with- dependences.jar "config.xml "
When you could provide a tutorial updated to version 3.x ?
2015-08-15 5:09 GMT-03:00 Anton Tananaev<EMAIL_ADDRESS>
I can provide a new jar file if you want, but I don't plan to release a
new version for at least a month.
—
Reply to this email directly or view it on GitHub
https://github.com/tananaev/traccar/issues/1344#issuecomment-131314325.

I've been seeing on the site on how to run the traccar patir the
source code, but I think it is out of date .
I built the project with dependencies , the case remains the same?
java -jar traccar -server- with- dependences.jar "config.xml "
When you could provide a tutorial updated to version 3.x ?
2015-08-15 11:01 GMT-03:00 Vinícius Carvalho<EMAIL_ADDRESS>
I've been seeing on the site on how to run the traccar patir the source code, but I think it is desatializado .
I built the project with dependencies , the case remains the same?
java -jar traccar -server- with- dependences.jar "config.xml "
When you could provide a tutorial updated to version 3.x ?
2015-08-15 5:09 GMT-03:00 Anton Tananaev<EMAIL_ADDRESS>
I can provide a new jar file if you want, but I don't plan to release a
new version for at least a month.
—
Reply to this email directly or view it on GitHub
https://github.com/tananaev/traccar/issues/1344#issuecomment-131314325.

It hasn't changed. You can run the server manually using the command you mentioned.


Fix hydron service, update hydron and meguca

Motivation for this change
Fixes #44952
Version bump hydron, meguca
More sane defaults for hydron service
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build meguca

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: meguca
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-darwin (full log)
Attempted: meguca
Partial log (click to expand)
find: '/nix/store/1c9qibv9fq7ynza9y0gil2zglkcasflv-meguca-unstable-2018-08-13': No such file or directory
find: '/nix/store/1c9qibv9fq7ynza9y0gil2zglkcasflv-meguca-unstable-2018-08-13': No such file or directory
find: '/nix/store/1c9qibv9fq7ynza9y0gil2zglkcasflv-meguca-unstable-2018-08-13': No such file or directory
find: '/nix/store/1c9qibv9fq7ynza9y0gil2zglkcasflv-meguca-unstable-2018-08-13': No such file or directory
find: '/nix/store/1c9qibv9fq7ynza9y0gil2zglkcasflv-meguca-unstable-2018-08-13': No such file or directory
find: '/nix/store/1c9qibv9fq7ynza9y0gil2zglkcasflv-meguca-unstable-2018-08-13': No such file or directory
find: '/nix/store/1c9qibv9fq7ynza9y0gil2zglkcasflv-meguca-unstable-2018-08-13': No such file or directory
find: '/nix/store/1c9qibv9fq7ynza9y0gil2zglkcasflv-meguca-unstable-2018-08-13': No such file or directory
find: '/nix/store/1c9qibv9fq7ynza9y0gil2zglkcasflv-meguca-unstable-2018-08-13': No such file or directory
/nix/store/46rmv18smsfsf3yq6hn6pyww3zj2d961-meguca-unstable-2018-08-13-bin

Success on x86_64-linux (full log)
Attempted: meguca
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/hv32ia16csmhv1q36gp2hgzwb6z63kxx-meguca-unstable-2018-08-13-bin
shrinking /nix/store/hv32ia16csmhv1q36gp2hgzwb6z63kxx-meguca-unstable-2018-08-13-bin/bin/meguca
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hv32ia16csmhv1q36gp2hgzwb6z63kxx-meguca-unstable-2018-08-13-bin/bin
patching script interpreter paths in /nix/store/hv32ia16csmhv1q36gp2hgzwb6z63kxx-meguca-unstable-2018-08-13-bin
checking for references to /build in /nix/store/hv32ia16csmhv1q36gp2hgzwb6z63kxx-meguca-unstable-2018-08-13-bin...
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
/nix/store/hv32ia16csmhv1q36gp2hgzwb6z63kxx-meguca-unstable-2018-08-13-bin

Success on x86_64-darwin (full log)
Attempted: hydron
Partial log (click to expand)
find: '/nix/store/n4l7v6wykllmyh2kn1xymfm0rq0z6mbq-hydron-unstable-2018-08-15': No such file or directory
find: '/nix/store/n4l7v6wykllmyh2kn1xymfm0rq0z6mbq-hydron-unstable-2018-08-15': No such file or directory
find: '/nix/store/n4l7v6wykllmyh2kn1xymfm0rq0z6mbq-hydron-unstable-2018-08-15': No such file or directory
find: '/nix/store/n4l7v6wykllmyh2kn1xymfm0rq0z6mbq-hydron-unstable-2018-08-15': No such file or directory
find: '/nix/store/n4l7v6wykllmyh2kn1xymfm0rq0z6mbq-hydron-unstable-2018-08-15': No such file or directory
find: '/nix/store/n4l7v6wykllmyh2kn1xymfm0rq0z6mbq-hydron-unstable-2018-08-15': No such file or directory
find: '/nix/store/n4l7v6wykllmyh2kn1xymfm0rq0z6mbq-hydron-unstable-2018-08-15': No such file or directory
find: '/nix/store/n4l7v6wykllmyh2kn1xymfm0rq0z6mbq-hydron-unstable-2018-08-15': No such file or directory
find: '/nix/store/n4l7v6wykllmyh2kn1xymfm0rq0z6mbq-hydron-unstable-2018-08-15': No such file or directory
/nix/store/86yp6nz9zpp5sn2qsbgwh2jp41kl2al4-hydron-unstable-2018-08-15-bin

Success on aarch64-linux (full log)
Attempted: hydron
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/yvnmr5cc38309hh254nbvbp4sc8jrbzg-hydron-unstable-2018-08-15-bin
shrinking /nix/store/yvnmr5cc38309hh254nbvbp4sc8jrbzg-hydron-unstable-2018-08-15-bin/bin/hydron
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/yvnmr5cc38309hh254nbvbp4sc8jrbzg-hydron-unstable-2018-08-15-bin/bin
patching script interpreter paths in /nix/store/yvnmr5cc38309hh254nbvbp4sc8jrbzg-hydron-unstable-2018-08-15-bin
checking for references to /build in /nix/store/yvnmr5cc38309hh254nbvbp4sc8jrbzg-hydron-unstable-2018-08-15-bin...
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
/nix/store/yvnmr5cc38309hh254nbvbp4sc8jrbzg-hydron-unstable-2018-08-15-bin


S3 syncer with infrequent access storage class

Is there any specific reason for no :standard_ia in lib/backup/syncer/cloud/s3.rb

I don't think so - it just hasn't been implemented :)
It is a good idea, though.


How do i use middle click to navigate instead of select?

I found this for Visual Studio Code https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MiddleClickScroll, is this possible with Monaco Editor? Thanks

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


better recovery mechanism from missing channel in compare-versions

Currently within compare-versions, if the script fails to download the latest channel published, it automatically tries to regenerate a channel with the latest versions, which isn't exactly desirable, since they may not be compatible. (source code)
Better way to handle this:

Ensure that the error is a 404 error, and not due to other issues eg. connectivity issues
Only if the error is a 404 error, we use the published incompatible versions to get the last published one, perhaps by querying the list of versions using GitHub API and comparing. Alternatively we could also have a separate folder where we publish all past compatible versions, similar to our incompatible versions. Then we can simply take the latest versions there. The 2nd method seems to be more straightforward.

Ok


Could Creature.health and Item.integrity be unified in Entity?

After promoting Weight to an Entity field, it sort of put me in the mind of other such unifications. It might be cool to do it this way because it would enable, say, area attack spells that damage both enemies and their items. For example, a Fireball explosion damaging a wooden shield.

Currently, combat is 1x1. So this is not OK for me. Also, I am about to commit something big. It could be a problem to merge later. =(
Go to the HipChat channel.

Well, I mean, the area attack part isn't important. Any direct fire spell against an enemy should/could theoretically damage his items.

Agreed. But this would require yet another mechanism. I think it is fine the way it is now. Maybe we change it later on, OK?

Oh yes, I just wanted a place to put the thought. It's not exactly urgent.


Fix "minimum field size of 1, PutPublicAccessBlockInput.Bucket" : Cha…

Got error when disable using logging

"minimum field size of 1, PutPublicAccessBlockInput.Bucket"
The version of 'terraform-aws-s3-log-storage' must be 0.12.0

@hblab-thanhbn thank you for your contribution. This was just fixed in #89 and released in version 0.27.0


build failure: no such attribute 'exec_tools' in 'genrule' rule

Hello, I followed the instructions in README to install gematria, but the build failed for an issue: no such attribute 'exec_tools' in 'genrule' rule. Below are the details.
This is the version of bazelisk:
(env) [gematria]$ ../bazelisk-linux-amd64 version
Bazelisk version: v1.19.0
WARNING: Output base '/data/nfs_home/hrong1/.cache/bazel/_bazel_hrong1/fe3956cd0667122177c09d0692bd5c86' is on NFS. This may lead to surprising failures and undetermined behavior.
Build label: 7.1.1
Build target: @@//src/main/java/com/google/devtools/build/lib/bazel:BazelServer
Build time: Thu Mar 21 18:08:37 2024<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

And this is the build:
(env) [gematria]$ ../bazelisk-linux-amd64 build ...
WARNING: Output base '/data/nfs_home/hrong1/.cache/bazel/_bazel_hrong1/fe3956cd0667122177c09d0692bd5c86' is on NFS. This may lead to surprising failures and undetermined behavior.
Starting local Bazel server and connecting to it...
WARNING: --enable_bzlmod is set, but no MODULE.bazel file was found at the workspace root. Bazel will create an empty MODULE.bazel file. Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel. For more details, please refer to https://github.com/bazelbuild/bazel/issues/18958.
DEBUG: Rule 'com_google_protobuf' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "a74f54b724bdc2fe0bfc271f4dc0ceb159805625" and dropping ["tag"]
DEBUG: Repository com_google_protobuf instantiated at:
  /data/nfs_home/hrong1/gematria/WORKSPACE:16:15: in <toplevel>
Repository rule git_repository defined at:
  /data/nfs_home/hrong1/.cache/bazel/_bazel_hrong1/fe3956cd0667122177c09d0692bd5c86/external/bazel_tools/tools/build_defs/repo/git.bzl:189:33: in <toplevel>
ERROR: /data/nfs_home/hrong1/.cache/bazel/_bazel_hrong1/fe3956cd0667122177c09d0692bd5c86/external/com_google_protobuf/python/BUILD.bazel:123:13: @@com_google_protobuf//python:aarch64_test_genrule: no such attribute 'exec_tools' in 'genrule' rule (did you mean 'executable'?)
ERROR: /data/nfs_home/hrong1/.cache/bazel/_bazel_hrong1/fe3956cd0667122177c09d0692bd5c86/external/com_google_protobuf/python/BUILD.bazel:131:12: @@com_google_protobuf//python:x86_64_test_genrule: no such attribute 'exec_tools' in 'genrule' rule (did you mean 'executable'?)
ERROR: /data/nfs_home/hrong1/.cache/bazel/_bazel_hrong1/fe3956cd0667122177c09d0692bd5c86/external/com_google_protobuf/python/BUILD.bazel:17:11: errors encountered resolving select() keys for @@com_google_protobuf//python:protobuf_python
ERROR: Analysis of target '//gematria/proto:canonicalized_instruction_py_pb2' failed; build aborted: Analysis failed
INFO: Elapsed time: 123.120s, Critical Path: 0.03s
INFO: 1 process: 1 internal.
 Thanks!

Hello,
tl;dr: please use Bazel 6 to build the project.
longer: the attribute names of some core rules changed between Bazel 6 and Bazel 7 (and one of them is genrule() that causes the BUILD failures). We will migrate to the latest version eventually, but until then I'd recommend to install the latest version of Bazel 6.x and use that.
Hope this helps.

Thanks for the fast response, Ondrej. Let me try bazel 6.
Hongbo

I tried bazel 6.0. This time build seems to pass, but test fails:
(env) [gematria]$ ../bazel-6.0.0-pre.20221020.1-linux-x86_64 build ...
WARNING: Output base '/data/nfs_home/hrong1/.cache/bazel/_bazel_hrong1/fe3956cd0667122177c09d0692bd5c86' is on NFS. This may lead to surprising failures and undetermined behavior.
DEBUG: Rule 'com_google_pybind11_protobuf' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1686916296 +0000"
...
INFO: Build completed successfully, 6557 total actions

(env) [gematria]$ ../bazel-6.0.0-pre.20221020.1-linux-x86_64 test ...
WARNING: Output base '/data/nfs_home/hrong1/.cache/bazel/_bazel_hrong1/fe3956cd0667122177c09d0692bd5c86' is on NFS. This may lead to surprising failures and undetermined behavior.
ERROR: Skipping '...': error loading package under directory '': error loading package 'bazel-gematria/external/com_google_absl/absl/algorithm': Label '//absl:copts/configure_copts.bzl' is invalid because 'absl' is not a package; perhaps you meant to put the colon here: '//:absl/copts/configure_copts.bzl'?
ERROR: error loading package under directory '': error loading package 'bazel-gematria/external/com_google_absl/absl/algorithm': Label '//absl:copts/configure_copts.bzl' is invalid because 'absl' is not a package; perhaps you meant to put the colon here: '//:absl/copts/configure_copts.bzl'?
INFO: Elapsed time: 0.585s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (6 packages loaded)
    currently loading: bazel-gematria/external/com_google_absl/absl/algorithm ... (22 packages)
ERROR: Couldn't start the build. Unable to run tests

Any idea? Thanks!

Maybe try Bazel 6.4.0? That's what I'm using in the provided docker container, and it works as expected.

Thanks for the suggestion. I tried bazel with USE_BAZEL_VERSION=6.4.0. Build works, but test fails for a different issue this time:
bash-5.1$ env USE_BAZEL_VERSION=6.4.0 ../bazelisk-linux-amd64 test ...
WARNING: Output base '/data/nfs_home/hrong1/.cache/bazel/_bazel_hrong1/fe3956cd0667122177c09d0692bd5c86' is on NFS. This may lead to surprising failures and undetermined behavior.
ERROR: error loading package under directory '': error loading package 'bazel-gematria/external/com_github_google_benchmark/tools': Unable to find package for @tools_pip_deps//:requirements.bzl: The repository '@tools_pip_deps' could not be resolved: Repository '@tools_pip_deps' is not defined.
INFO: Elapsed time: 0.752s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (31 packages loaded)
    currently loading: bazel-gematria/external/com_github_google_benchmark/tools
ERROR: Couldn't start the build. Unable to run tests

Any idea?

Another issue happens when building TFLite:
mkdir /tmp/tflite && cd /tmp/tflite
curl https://raw.githubusercontent.com/google/ml-compiler-opt/main/buildbot/build_tflite.sh | bash
...
Call Stack (most recent call first):
  /tmp/tflite/tensorflow/src/tensorflow-build/gemmlowp/contrib/CMakeLists.txt:10 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:167 (find_library):
  Could not find PTHREADPOOL_LIB using the following names: pthreadpool

-- Configuring incomplete, errors occurred!

Based on #112 it seems like you got the Bazel build working? Mind sharing what you ended up doing to get that fixed in case others end up running into the same issue?
The CMake error that occurred while building TFLite is due to not having the libpthreadpool package installed. On Debian based distributions, you should just need to install libpthreadpool-dev in order to get everything going.

Thanks, Aiden. I'm able to build gematria and tflite with the following configuration:
OS: WSL Ubuntu 22.04.4 LTS
bazel: 6.4.0
Packages:
sudo apt-get -y install libpthreadpool0 libpthreadpool-dev
vi requirements.in:
tensorflow-probability==0.23.0
tensorflow==2.15.1; sys_platform=='linux'
Building TFLite: llvm-project needs be located outside the gematria code directory.
All tests passed except a gematria test failure (issue 112) and a llvm-cm test failure(issue 114).


Move default categories from API to providers scripts

Problem

The category field should be pre-populated for images as it is done for audio rather than assigned during ingestion as performed currently. So default categories need to be transferred here to be used in each corresponding provider API script.
Additional context

New sample data for images, containing the category column would be needed in the API. Reference to WordPress/openverse-api#357.
Implementation

[ ] 🙋 I would be interested in implementing this feature.

The category column is already a single string value (done in #243) so what remains is to populate it for images when it is possible: if the provider indicates the category in the API, or when we can ensure that all their images fall into a certain category by default.
Updating the issue accordingly.

Noting here that while working on this issue I discovered that our API categorization script does not work as we expect it.
Only images that were assigned a category by the catalog ingestion process (Stocksnap: photograph) have a non-null category in the API. To test it, try to search for 'digitized_artwork' or 'illustration' category in the API. It returns 0 results. The same happens on the front end, of course. If you select a category filter other than photograph, you will not get any results.


Prevent erased values from being passed to non-erased arguments

If a function has an erased argument and in the body of it's rules it passes that value to a function that has to use it in a non-erased position, currently we just get a misterious runtime error.
There should be a test either in compilation or in the type-checking command that makes sure that this situation does not happen

A short example:
FnErased -(n: U60) : U60
FnErased n = FnNonErased n 1

FnNonErased (a: U60) (b: U60) : U60
FnNonErased a b = (+ a b)

Main {
  FnErased 2
}

Type checks fine, but on runtime fails with
Unbound variable: `n`.
On rule: `(FnErased) = (FnNonErased n 1)`.

Fixed


change default port 5000 to something else

Port 5000 is now used by the latest Mac Monterey for some system thing or another.  So when starting up the dev version of sign-and-verify (using npm run start), which also uses port 5000, it errors out with a "port already in use".  And you can't kill the OSX process (well you can, but it just immediately restarts).
Easy enough to change the default in a cloned copy, but to make it easier for those experimenting with sign-and-verify, we should probably set a different default port.  Is there a reason why the more standard port 3000 isn't used?  Maybe for exactly this reason - to avoid a conflict?  What about port 4000?

closed with commit: 6b2e3ade959606297e56160cabc4706e3c58c8c5


Add "Refresh" button to Windows version and add "Press CTRL+R to refresh" tip somewhere

Expected behavior
The fact that you can (and have to) refresh Kitematic to see current containers running if changes has happened after starting Kitematic is impossible to know for a Windows user. On Mac there is a menu bar with the shortcut.
It should be (clearly) visible that you can and have to refresh but adding a refresh button and by adding a tip stating what the shortcut key is

Why don't you add this?


clusternator init fails for a node project

This has happened to me twice, on directorate and augury:

go to an unclusternated project
do clusternator init, defaults for all the questions except pick 'node' for 'choose a backend'

You get some errors:
info: Clusternator: Initialization Error: ENOENT: no such file or directory, open '/Users/sdavenpo/.npm/lib/node_modules/clusternator/src/api/0.1/project-fs/skeletons/Dockerfile-node-latest'
info: Error: ENOENT: no such file or directory, open '/Users/sdavenpo/.npm/lib/node_modules/clusternator/src/api/0.1/project-fs/skeletons/Dockerfile-node-latest'
    at Error (native)

Never mind: updated to clusternator 0.4.0 and it's not happening any more.


Scroll position cache not purged on update

Hi,
me and @giuseppeg stumbled over an issue in case of a chat with reverse scrolling behavior + scrollToIndex option. When a raw of a List gets updated and its height becomes bigger, RV is currently not recalculating the scroll position. Value of scrollToIndex remains the same before and after the update.

@giuseppeg can you point to the line we traced it to?

Sounds like a misunderstanding.
RV assumes new rows are appended to the end of its data source. So new rows should not impact scroll position.
If you know they do then you can tell RV to recalculate the offset using the scrollToRow method. https://github.com/bvaughn/react-virtualized/blob/master/docs/List.md#scrolltorow-index-number
Reverse lists require some extra management in application land. They're much less common.

If you know they do then you can tell RV to recalculate the offset using the scrollToRow method.

we tried, didn't work and we tracked it down to a specific line.
Basically RV receives a new array of rows, new data gets rendered, its just the problem that scrollToIndex doesn't change which is correct in case of an "update".

Pretty sure the error is in your application code. This particular functionality has been in place and tested for a long time. I'll need a repro case.

@bvaughn just to clarify our issue is with last row updates not appending.
In a list of length 3 with scollToIndex set to 2 and scrollToAlignment set to end react virtualized scrolls to the bottom as expected.
However if we update the list, specifically if we update the item at index 2 (and its height changes), then Grid (we use List) doesn't update the scroll position – I believe because scollToIndex and scrollToAlignment didn't change.
If we are not mistaken the issue could be here https://github.com/bvaughn/react-virtualized/blob/master/source/Grid/utils/CellSizeAndPositionManager.js#L53
Please let me know if this still sounds like a problem with our application code.
In that case I will try to put together a test case and try to reproduce in an isolated environment before I go back to debugging :) thank you!

Thanks for the additional details, @giuseppeg.
If the size of a row changes, you need to let react-virtualized know about it. Given that you mentioned a specific row resizing, I assume you're passing a function prop for rowHeight. In this case, there's nothing in the props passed to List that would let it know that the height of a specific row has changed; that's all internal to the function. (If you're using a fixed rowHeight number on the other hand, List would automatically handle invalidation. You can see that by going here, entering a "scroll to" index, and then changing row heights. I also just double checked when writing this to make sure I wasn't mistaken.)
With the List component, you let it know the underlying measurements have changed by calling recomputeRowHeights with the index of the row that has resized. (If you're also using CellMeasurer- I assume you are not, but in case- you would also need to call its resetMeasurementForRow  method to purge the cached measurement for that row.)
Anyway, the recomputeRowHeights method resets the _lastMeasuredIndex in CellSizeAndPositionManager so the line you linked to should not be a problem.
If you still think you're seeing a problem, I'll need either a Plnkr or a failing unit test to be submitted from you guys so that I can see it too. 😄

Thanks @bvaughn! That's very useful information.

I assume you're passing a function prop for rowHeight

correct

If you're also using CellMeasurer- I assume you are not, but in case- you would also need to call its resetMeasurementForRow method to purge the cached measurement for that row.

Yep we are using CellMeasurer. I will try to add a call to resetMeasurementForRow!

I will try to add a call to resetMeasurementForRow!

We did try that, the height gets properly recalculated for setting the inline row height, but gets ignored by the scroll position measurement.

Give me a repro case or a failing unit test pls. 😄

hi @bvaughn sorry for the delay.
I put together a test case that should reproduce our current behavior https://plnkr.co/edit/aQ27JepnpFIrtESFRJPz?p=preview
Basically I simulate an update after 2s and List doesn't update the scroll position.
In our real app we call recomputeRowHeights on componentWillReceiveProps.

Thanks for the repro. Will try to find some time to dig into it, but likely won't be too soon. Have a lot on my plate. If you get a chance to dig in first- I'd welcome the help.

No worries! I've been debugging "a bit" but I would need more time as well :) As a workaround for now we are using List's scrollToRow to force scrolling.

That's a good workaround 😁  Maybe once I get 9.0.0 shipped and give it a few days for any bug reports to trickle in, I can dig into this more

FYI I've caught this in a small unit test:
it('should update scroll position to account for changed cell sizes', () => {
  let rowHeight = 20
  const props = {
    height: 100,
    rowCount: 100,
    rowHeight: ({ index }) => index === 99 ? rowHeight : 20,
    scrollToRow: 99
  }
  const grid = render(getMarkup(props))
  const node = findDOMNode(grid)
  expect(node.scrollTop).toBe(1900)
  rowHeight = 40
  grid.recomputeGridSize({
    rowIndex: 99
  })
  expect(node.scrollTop).toBe(1920)
})

The behavior demonstrated is because of this check. The helper doesn't have enough information to detect when a cell size has changed if the size is determined by a function property.
I think the most appropriate fix is to set a flag when cell sizes are recomputed to tip the next cDU off that its scroll offset may be invalid.
Will be fixed in 9.0.1 (releasing presently)

Beautiful!

Was this issue fixed? I’m still seeing an issue where scrollHeight does not get recomputed.


Providing Form with new schema with updated property appears to have no effect in specific case.

Describe the bug
I am attempting to have a schema property start as <input type=text /> and change to <select /> after an async call is completed. I am essentially looking to achieve this effect in the gif below:

❌  Providing new schema property to <Form /> component seems to have no effect if changing a property from { type: 'string' } to { type: 'string', oneOf: [] } (<input type=text /> to <select />).
✅  If the property name changes between schema updates the UI will update.
✅  If the Form is unmounted between the schema updates the form UI will update.

To Reproduce
Please see this CodeSandbox for code that reproduces the behavior I described. In the CodeSandbox I am switching between two schemas every second, but only the <input type="text" /> is rendered. See the console for when these updates are occurring since it can kind of look like just a static page.
I have achieved the effect in the gif above by changing the property name from model to modelz (see second ✅  above).
Should this work this way or is this functioning as expected?

OK so this is interesting. We only parse the schema once at the beginning. We do this because we don't want to compare a large schema nor do we want to assume the user is passing in the same object reference.

There are ways to conditionally change the input props but this is interesting as you are doing more than that.. you are changing the actual input type! Let me think on this one 🤔

Technically a new schema is a new form. So you would lose all your state. IS your goal to keep the state and just change input type ?

Ahh ok. If that is true then I may change my strategy to just wait to build the form once all dependencies are resolved.
Yes, ideally we would be able to keep form state as inputs resolve to ones that contain list of options. I was picturing something like having initial inputs as disabled selects with a spinner on them showing that list is loading and then when finally loaded the user can actually interact with them. I can't find an example but know I have seen that somewhere.
I will go with waiting for all options to resolve before building the form for now, but will be curious to see if something like this ever gets rolled out!

Feel free to close - we can work around unless you see this as a feature you want to work to add 👍

Ok also if your curious for conditional schema stuff there may be stuff you need
here: https://teslamotors.github.io/informed/?path=/story/conditionals--conditional-props-schema


new interpolation function to get values from var files

I would like to propose the following enhancement to terragrunt.
My team and I have been using terragrunt for about a year now and we like
the value it adds on top of terraform :)
The issue I have is that when writing generic terraform modules that are re-used
by several terragrunt configurations, the names in the module are and should be generic.
However, we also like to define some variables such as account ids in a single place.
That's why we put them in a file at the top level of the tree (in vcs), but at the moment
I believe that there is no way of getting hold of those variables' values and they
have to be included the terraform.tfvars file invoked by terragrunt (or included in a file generated by another tool - which is what we are doing).
So let's assume that I have defined the following in global_vars.json:
{
  "service_account_id": "1234567890"
  "business_unit_1_account_id": "2345678901",
  "business_unit_2_account_id": "3456789012"
}

Le'st also assume we have a terraform module that requires 2 variables to be set:
source_account_id and target_account_id.
I would like a way for terragrunt to invoke the module and set the value of
source_account_id and target_account_id to the values of business_unit_1_account_id
and service_account_id for example.
So I propose adding an interpolation function get_tfvar_from_var_files(var_name) that walks
the files specifed in the -var-file argument, in the order they're specified
looking for a variable called var_name and returning its value.
If several variables with the same name are encountered, the value of the last variable is used.
If the variable is not found, an error is raised.
The terragrunt config would look like something like:
terragrunt = {

  include {
    path = "${find_in_parent_folders()}"
  }

  terraform = {
    source =<EMAIL_ADDRESS>
    extra_arguments "custom_vars" {
      commands = ["${get_terraform_commands_that_need_vars()}"]

      arguments = [
        "-var-file=${get_tfvars_dir()}/../../../global_vars.json",
        "-var-file=${get_tfvars_dir()}/../../level2.json",
        "-var-file=${get_tfvars_dir()}/../level3.json",
        "-var-file=terraform.tfvars",
        "-var", "source_account_id=${get_tfvar_from_var_files("business_unit_1_account_id")}",
        "-var", "target_account_id=${get_tfvar_from_var_files("service_account_id")}",
      ]
    }
  }
}

another_var = "my_value"

To set variable source_account_id, terragrunt would walk through files ../../../global_vars.json,
../../level2.json and ../level3.json looking for variable business_unit_1_account_id.
It would find it in ../../../global_vars.json and set its value to<PHONE_NUMBER>
This would allow for another configuration based on that module to be deployed easily,
by amending the following lines:
        "-var", "source_account_id=${get_tfvar_from_var_files("business_unit_2_account_id")}",
        "-var", "target_account_id=${get_tfvar_from_var_files("service_account_id")}",

If the ids for the account change, they can be changed in a single place and the stacks
reapplied.

@brikis98 I don't think that having business_unit_1.tfvars and business_unit_2.tfvars files would quite achieve the level of DRYness for the config I'm aiming for.
In particular, if the terraform modules don't follow the same naming conventions (for example, if they are open source modules written by different owners), e.g. if a set of modules expects a variable called service_account and another set needs a variable representing the same entity but is called svc_accnt, both variables would have to be defined with the same value. With the approach I'm proposing, a variable with an assigned value would be defined once and mapped locally in the -var stanza.
An other example of where I can't see what you're proposing achieving what I'm aiming for is the case of a layered architecture. For example, a module might have the concept of a client and service account id. And another module might have the same concept. But the actual config for the client id in the 2nd module is the same account as the service account id for the first module. client_account_id and service_account_id are in my opinion local names (within a module) that are not specific enough to be included in a more global tfvars file. Without a way of mapping variables, making variables names specific in the global vars file would force the modules being written to use those specific names, which would make them not very generic at best and would rule out using open source modules where variable names are already defined.
If you think I'm missing somethig in the solution you're proposing, then by all means please clarify. I'd love to find a better way than what I'm currently doing, which is to achieve this mapping in a little python script and including the generated tfvars file in the terragrunt config. I think that if it's somehting that other users would like to use, it would be best handled by terragrunt itself.
If you're happy it's worthy enhancement, I might be able to submit a PR for this.

Thanks for explaining the use case more! It makes sense, and I agree it can't be handled via extra_arguments and required_var_files alone. A PR for reading .tfvars files and parsing values out of them would be very welcome!

@brikis98 I've created a test repo with terraform files that I think describe the use cases we want this new interpolation function to cover.
I think that use case 1: get_tfvar_from_var_files is what we discussed.
use case 2: get_tfvar_from_var_files_with_include_1 and use case 3: get_tfvar_from_var_files_with_include_2 we didn't explicitly talk about, but I think it feels natural to read mapped values from parent terraform.tfvars files.
Finally, use case 4: get_tfvar_from_var_files_with_include_3 is similar to use case 1, but I wanted to double-check that you would expect that var files defined with -var-file in parent terraform.tfvars files would also be parsed.
Please cast your eyes on those use cases to make sure we're on the same page. Thanks!

I think that use case 1: get_tfvar_from_var_files is what we discussed.

This example contains:
arguments = [
	"-var-file=${get_tfvars_dir()}/../env1.tfvars",
	"-var", "foo=${get_tfvar_from_var_files("bar")}"  # should set foo to "bar_value"
]

How does get_tfvar_from_var_files("bar") know which file bar is defined in? I think this is the central part of the behavior that needs to be defined and what you're asking about. Some of the options include:

Searching all .tfvar files passed in via -var-file.
Searching the terraform.tfvars file and any included parent terraform.tfvars.
Searching every .tfvars file in the current and parent dirs.
Explicitly specifying the file when calling the function: get_tfvar_from_var_files("../foo.tfvars", "bar")

use case 3: get_tfvar_from_var_files_with_include_2

Terragrunt currently only supports one level of includes... This seems to be doing two?

use case 3: get_tfvar_from_var_files_with_include_2

Not sure I follow this one.

First of all regarding use case 3 and several levels of include, it isn't something I did before (I guess obviously now, since it isn't supported). I thought it was supported so was trying to be comprehensive regarding the use cases. So let's forget about that one.
So back to use case 1 and the options you have identified...

If you mean searching the dirs for .tfvars file without regards to whether or not they are included in the configuration with -var-file I don't think that would work: I think there will be edge cases where the wrong .tfvars file would provide the value for the variable, e.g. if there are .tfvars files which are region specific and the files are just loaded in disk order

I personally don't like that option much. I think it is not flexible enough. It probably just about solves the problem I have, but not in an elegant way by the caller having to explicitly understand where the variable is going to be defined

is what I had initially in mind. But as I started thinking about the implementation, more questions arose. For example:
a) should only the var files defined by -var-file=... in the extra_arguments block where get_tfvar_from_var_files is called be parsed? That actually led to the following question:
b) should the function also parse the -var-file stanzas included in the other extra_arguments blocks? Now thinking about it, I think it should. As I was creating some terraform code for that use case, I realised that for the simple example I was putting together, what I had produced was something that was not the most natural/intuitive code that could be written. That lead me to another question:
c) should the function also parse the terraform.tfvars file that is included from a child file? I think it should

So, to summarize, I think that what we should go for is a blend of option 1 and 2 where both -var-filess and parent terraform.tfvars file are parsed. All .tfvars files specified with -var-fileshould be parsed, whether specified in the current extra_arguments block (where get_tfvar_from_var_file is called from) or in any parent extra_arguments block.
Having had a look at the code, I was planning on achieving this by doing a two-pass interpolation of the terragrunt configuration.
The first pass would basically do what the current interpolation does and is required to resolve all the -var-file interpolations and the location of the parent terraform.tfvars file.
The first pass would produce an (ordered) list of .tfvars file.
The second pass would use that list as the list of files to parse for the interpolation.
I think doing it that way would make it easy to debug mapping issue (the issue of the type "where did this value come from?") because the terragrunt output shows the list of .tfvars files included when calling terraform and the interpolation function would parse the files in the same order.

You might be right. I quite liked (and still do) the thought of being able to specify the var files in one place (a parent terraform.tfvars file) instead of having to specify locations of .tfvars files in the various calls to get_tfvar_from_var_file, but I'm also concerned about how terraform 0.12 is going to react to variables defined with a value in a .tfvars file when there is no corresponding variable declaration in a .tf file. I have a feeling the new version of terraform will throw an error...
So ok, let's go for your solution of providing a get_tfvar_from_var_file function. Regarding the parameters order, I find ("../foo.tfvars", "foo") a bit counter-intuitive and would prefer the parameters the other way round, unless the order you specified is more consistent with the other functions supported by terragrunt.

@marionettist, this is not what you want, but it might help you to implement what you want in a different way: https://github.com/gruntwork-io/terragrunt/pull/670

You can now use read_terragrunt_config.


feat: basic TODO app; no bells, no whistles

I was wishing this was present when trying to learn from the examples in the repo – just a basic client-side TODO app without any server-side code or isomorphism.
I feel like this specific implementation probably stinks – I'm totally new to both Leptos and Rust, so happy to take any feedback & no hard feelings if there isn't interest in pulling an example like this into the repo. I fully appreciate my naive perspective here :)

Would Vec.retain() be a simpler way to implement delete_todo?

Would Vec.retain() be a simpler way to implement delete_todo?

Yeah, that's a definite improvement, thank you!

Maybe this could be called todo_component? I think that not everyone is familiar with the MVC pattern, and this is line-for-line akin to a todo list app that you might see taught to React developers. Nonetheless, my feelings won't be hurt if you think this doesn't fit! I think you are right that the same ideas are represented already in other examples.

@jdevries Sorry for my slow response here. Thanks for your contribution. We have created a new projects directory to house a wider variety of projects without the same maintenance burden as examples — Would you be interested in updating your PR and adding it to projects instead? I totally understand if not, it's been a while :-)

@jdevries Sorry for my slow response here. Thanks for your contribution. We have created a new projects directory to house a wider variety of projects without the same maintenance burden as examples — Would you be interested in updating your PR and adding it to projects instead? I totally understand if not, it's been a while :-)


Configuration support for IPv6

The commit that introduced creating IPv6 enabled instances was missing configuration file support. The default is deliberately changed to "enabled", because IMHO we should actively encourage deployment of IPv6.

Not sure if you've got a notification, thus updating this thread with a comment.

@else Looks good overall, we should be able to set this config using the helper, but I'd prefer to keep it to the old default of false :smile:

Done :+1:
Well, at least I tried :disappointed:

Done :+1:
Well, at least I tried :disappointed:

Done

OK, will have a look and get the tests passing my EOD tomorow. Should be able to get it merged for a 2.1.0 release soon! :smile:

Closed via #233


[Snyk] Upgrade redis from 3.1.2 to 4.6.7

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade redis from 3.1.2 to 4.6.7.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Warning: This is a major version upgrade, and may be a breaking change.

The recommended version is 36 versions ahead of your current version.
The recommended version was released 3 months ago, on 2023-05-31.

Release notes

Package name: redis

4.6.7 - 2023-05-31Enhancements

upgrade @ redis/client from 1.5.7 to 1.5.8
upgrade @ redis/serch from 1.1.2 to 1.1.3

4.6.6 - 2023-04-27Enhancements

upgrade @ redis/client from 1.5.6 to 1.5.7

4.6.5 - 2023-02-24Enhancements

upgrade @ redis/client from 1.5.5 to 1.5.6

4.6.4 - 2023-01-30

4.6.3 - 2023-01-28

4.6.2 - 2023-01-27

4.6.1 - 2023-01-26

4.6.0 - 2023-01-25

4.5.1 - 2022-11-24

4.5.0 - 2022-11-10

4.4.0 - 2022-11-01

4.3.1 - 2022-09-06

4.3.0 - 2022-08-22

4.2.0 - 2022-07-05

4.1.1 - 2022-06-30

4.1.0 - 2022-05-02

4.0.6 - 2022-03-31

4.0.5 - 2022-03-31

4.0.4 - 2022-02-22

4.0.3 - 2022-01-31

4.0.2 - 2022-01-13

4.0.1 - 2021-12-13

4.0.0 - 2021-11-25

4.0.0-rc.4 - 2021-11-16

4.0.0-rc.3 - 2021-10-11

4.0.0-rc.2 - 2021-09-23

4.0.0-rc.1 - 2021-09-06

4.0.0-rc.0 - 2021-08-27

4.0.0-next.7 - 2021-08-24

4.0.0-next.6 - 2021-08-19

4.0.0-next.5 - 2021-07-28

4.0.0-next.4 - 2021-07-01

4.0.0-next.3 - 2021-06-24

4.0.0-next.2 - 2021-06-12

4.0.0-next.1 - 2021-06-11

4.0.0-next.0 - 2021-06-11

3.1.2 - 2021-04-20

    from redis GitHub release notes

Commit messages

Package name: redis

9250fd7 upgrade subpackages
2baf5df Release<EMAIL_ADDRESS>99c7cd7 Release<EMAIL_ADDRESS>454617b Add a note about multiple Pub/Sub channel listeners (#2433)
0298c1a upgrade deps (#2517)
100a523 use `setImmediate` instead of `queueMicrotask` (to improve performance) (#2516)
e696653 Add support for `LATENCY LATEST` (#2514)
499ea85 Update search-hashes.js (#2519)
85091cd Add `count` option to `FT.CURSOR READ` (#2492)
d4f1943 `XINFO CONSUMERS` - add support for the `inactive` field (#2490)
8d37c11 Add support for `TIMEOUT` in `FT.AGGREGATE` and `FT.SEARCH` (#2488)
67d9c3c syntax (#2510)
759e837 Bump vm2 from 3.9.14 to 3.9.18 (#2509)
260a417 Auto release via drafting, step one (#2453)
3273c85 Release<EMAIL_ADDRESS>f0bd7e0 upgrade deps
e8e09a7 Release<EMAIL_ADDRESS>dc920d3 fix `isolationPool` after reconnect (#2409)
986a510 fix #2481 - fix "falsy" arguments in TS.ALTER (#2483)
ba31c8a fix #2443 - fix multiple sockets on error in socket initiator (#2480)
e1658ba fix cluster extractFirstKey skip commandOptions() passed to args (#2439)
c88dea6 Augment subpackages npm info (#2478)
9f2e27d Fixed a bug in the updateIsActive function (#2476)
d65a641 revert 1d8302c9db2a49c4875bd83d3c87fa05265d5400

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

too old


Should we rename $globals to $settings?

Hey @petealbertson @JesseG316 @brunnerjosh @cgoodling, I would love your thoughts on this...
Purely a preference thing to try and help avoid confusion.  All $globals are are settings available to any module or plugin.

@NickGlenn I would agree that calling a variable $setting would be a better idea. If I didn't already know what a $global variable was, I could see that being confusing.

$setting is clear, could be a good convention, or $global-setting vs $setting ?

Decided, renaming $global to $settings


[BugFix] Fix test_phi3v.py

The official HuggingFace example demo shows eos_token_id needs to be passed. Otherwise the HF continues to generate after eos_token_id and would cause the test to fail.
Ref: https://huggingface.co/microsoft/Phi-3-vision-128k-instruct

FILL IN THE PR DESCRIPTION HERE
FIX #xxxx (link existing issues this PR will resolve)
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

Thanks for making this PR @CatherineSue! I believe the reason why the test was limited to 8 tokens was not the absence of the eos_token. Please take a look at this thread for more details https://github.com/vllm-project/vllm/pull/4986#discussion_r1642343766

@ywang96 I wonder if we should upper the max_tokens limit after #5628 since it fixes the difference in Phi3LongRoPEScaledRotaryEmbedding.  I was able to pass the test with max_tokens=128 under my local machine.  Let's wait ModelsTest finish and see if it can pass?

cx @Isotr0py @DarkLight1337

Thanks for the fix!

I was able to pass the test with max_tokens=128 under my local machine. Let's wait ModelsTest finish and see if it can pass?

Are you sure it's not just xfailing? I can't get the test to pass in #5276.

@DarkLight1337 I believe at the time when this PR was merged, the VLM test indeed passed, later on #5772 made the ph3v test xfail.


Add single-shot measurements

Machine learning libraries allow for ops that return samples from a distribution (rather than averages/expectations). This is also a common occurance in quantum algorithms. This might be a helpful feature to add to PennyLane to expand the scope of what it can do.
Of course, these operations will not be natively differentiable (which is also the case in e.g., TensorFlow), so we will need to throw a warning when any kind of gradient is requested for such ops.

A use-case to keep in mind is where a circuit is trained in a differentiable way (using expvals), but later we want to sample the fullly trained circuit in a single-shot fashion

My thinking on this:

We actually already support single shot measurements at the device level, for instance by specifying the keyword argument shots=1. So what you could do is create two separate 'devices': one for expectation values/training, and one for single shot samples, and use them where required:
dev_train = qml.device('forest.qpu', device='Aspen-1-2Q-A', shots=1024)
dev_sample = qml.device('forest.qpu', device='Aspen-1-2Q-A', shots=1)

def circuit(..):
    ...
    return qml.expval.PauliZ(0), qml.expval.PauliZ(1)

qnode = qml.QNode(circuit, dev_train)
# training steps here...

# after training, generate samples
qnode_sample = qml.QNode(circuit, dev_sample)
qnode_sample(final_weights)

Note that qnode_sample is still 'differentiable' by the rules of PennyLane, but the gradients will be significantly error-prone due to the low number of shots.

An alternate proposal: introduce a new class of operations qml.sample, similar to qml.expval and qml.ops:
dev_train = qml.device('forest.qpu', device='Aspen-1-2Q-A', shots=1024)

@qml.qnode(dev)
def circuit(..):
    ...
    return qml.sample.PauliZ(0), qml.sample.PauliZ(1)

This has two advantages:
a. the return value for each sample command will be a list of samples, of size circuit_out*dev_shots:
>>> circuit(0.43)
[[0, 0, 1, 0, 1, ...., 1], [0, 1, 0, 0, 1, 1, ..., 0]]

b. attempting to differentiate such a qnode will result in an exception raised.

Thoughts, @mariaschuld, @co9olguy?
Option (1) already exists today, and the documentation will just have to be updated so that people know how to use it. Option (2) would require the qml.sample submodule to be added to PennyLane, the plugin API be updated, and all plugins updated.

Note: this will be implemented as a follow-up to the expval refactor #232

This is done now that #256  is merged.


try to warn about old rust

bors r+
🤖

Maybe get this from the release page or test some specific version on Travis?

Why are you getting the version from cargo instead of rustc? It is possible to mix different versions of cargo and rustc. (Though rarely done I believe)

@lnicola  I've contemplated this, but I've decided against:

I want to avoid network access (so, no release page)
syncing number in .travis.yml and main.rs seems to be strictly more work than using a single number. Though, I might fix this once we again hit a problem with travis getting stuck on the old rust version due to caches :)

@bjorn3 mostly because we need only cargo to be in path, and adding rustc to the mix might fail if it is setup via CARGO_RUSTC. That is obviously wrong

... but as this is a workning, being right in 90% of cases is good enough!

Well, I meant parsing it from travis.yml instead of keeping that constant, but it's fine either way.

bors, why have you canceled the PR?
bors r+


Update trustedCAs description for Dynakube samples (release-1.3)

Description
#3478

How can this be tested?
Documentation changes only

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.28%. Comparing base (9404250) to head (8f965bb).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##           release-1.3    #3489   +/-   ##
============================================
  Coverage        57.28%   57.28%
============================================
  Files              344      344
  Lines            19794    19794
============================================
  Hits             11339    11339
  Misses            7215     7215
  Partials          1240     1240

Flag
Coverage Δ

unittests
57.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Clarification on the inception of a new document's ID

We have implemented an encrypted data vault and we are now moving to integrate an EDV client for it as a "storage plugin" to aries-framework-go.
One of the sticking points is the ambiguity in the spec w.r.t. a new document's identifier.
To create a new document one must POST a request with an EncryptedDocument structure. This structure has an id property that the client assigns a value to. Inception of this ID is on the client side.
This example response is returning a different ID than the one sent in the example request right above it.
Request

Clarification on where the spec or the group's thinking is headed in, whether the identifier is controlled by the client or controlled by the server, and
Add normative text to the spec that clarifies this point

For us, we no longer need the ability to do range queries based on key/ID names with a prefix. We now use encrypted indexes to solve the same problem. I believe this can be closed, unless there are any further concerns.

Clarification: "we" in my previous comment referring to @llorllale and I (I was working with him in that area)


Sidebar doesn't display the 'chevron up'  to close the selected menu group

Hi @theadamparker
Which component is this still an issue? Im looking at the Sidebar component and mine seems to work fine, though it doesn't have the MENU label on top.

Hi @paboden, this applied only to the mobile breakpoint—that's when the "menu" label appears. However, we are not able to reproduce this issue exactly. It seems the the chevron is now present and functional, however the active menu item is not highlighted in blue as it should be on mobile.
Can we reframe this issue to fix the missing blue background and white chevron for the menu at the mobile breakpoint?

@theadamparker got ya. PR submitted and ready to review soon.

merged and closed

@mrelevo , please verify

verified in Dev

verified in storybook and already implemented in Drupal


Fix issues with tracker surrogate injection

Please review the release process for BrowserServicesKit here.
Required:
Task/Issue URL: https://app.asana.com/0/72649045549333/1205700249700362/f
iOS PR: -
macOS PR: -
What kind of version bump will this require?: Patch
Optional:
Tech Design URL: https://app.asana.com/0/481882893211075/1205883828810956/f
CC: @bwaresiak
Description:
Improves surrogate injection:

Removes debounce.
Remove checking of non-script elements.
Only check mutated elements in the mutation observer.

Steps to test this PR:

Visit https://test.smbco.de/privacy-protections/surrogates/ in macOS or iOS browser.
All tests (except 'Chromium only') should return 'surrogate loaded'

OS Testing:

[ ] iOS 14
[ ] iOS 15
[ ] iOS 16
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12

Internal references:
Software Engineering Expectations
Technical Design Template

This is currently failing due to a reference test which doesn't quite match what I expected the spec to be. After discussing on Asana, I've opened a PR to update that spec: https://github.com/duckduckgo/privacy-reference-tests/pull/113.


When server rendering, you must wrap your application in an

Bug report
Current Behavior
Using a Radix primitive in a server rendered environment like Next.js produced this message in the server console:
When server rendering, you must wrap your application in an <IdProvider> to ensure consistent ids are generated between the client and server.

Wrapping the app in a <IdProvider> doesn't seem to help either.
Expected behavior
Wrapping the app in a <IdProvider> should make the message disappear.
Reproducible example
GitHub repo
Your environment

Software
Name(s)
Version

Radix Package(s)
@radix-ui/react-dialog
^0.1.1

React
n/a
^17.0.2

Browser
Safari
15.1

Node
n/a
14.15.5

npm/yarn
yarn
1.22.15

Operating System
MacOS
12.0.1

Closing as duplicate of #811

how can I silence this message? i'm not able to upgrade to react 18 at the moment and this msg is adding unnecessary messages to kibana


Improve lsm_loss description and variables names

Looks great! There is a typo in "sparse coding" in line 322 and 354.

@belsten thanks for spotting! Fixed it.


[BC] Error with closing lines for slot with tangential winding

Hello all,
We found a very specific bug with the FEMM coupling, 2 layer tangential winding and some particular slots with overlapping winding/slot lines: When a slot have a double layer tangential winding and that a line perfectly overlap the opening/active zone the copy/rotate method of fast draw fails (the closing line is missing):

The reason is that FEMM selects the surface to copy rotate by selecting all the lines of the surface by selecting the closest line to the center of the line. As the slot and winding line overlap there are in fact two lines to select and if the slot line is longer that the winding line, then only the slot line is copy/rotate and the winding surface is not closed ! Ex: SlotW22 with W0 < W2*0.75
Best regards,
Pierre

[ ] Review


[Solution]   Failed to resolve  compile 'com.github.charlieAndroidDev:Instagram4Android:v0.1.11'

In case anyone facing this issue remove 'v' from " v0.1.11 " and sync.
http://prntscr.com/gb1s2k
@charlieAndroidDev please update the readme

Oh yeah, I was so happy I fixed an issue I just did the readme as quick as possible and screwed it up.  Will change it now


GLFW_SCALE_TO_MONITOR and glfwSetWindowFocusCallback not working correctly on wayland

On wayland, GLFW_SCALE_TO_MONITOR does not affect the window size, even when the global display scale is changed.
Also, glfwSetWindowFocusCallback is always called with GLFW_TRUE, even if the focus was lost (in which case the callback should be called with GLFW_FALSE).
system info
OS: Arch Linux x86_64
Kernel: 6.10.7-arch1-1
Resolution: 2560x1440
DE: Plasma 6.1.4
WM: KWin
CPU: 12th Gen Intel i9-12900K (24) @ 5.100GHz
GPU: NVIDIA GeForce RTX 3090

I don't know if this would help. I was doing an wayland raylib example and window did a scale glitch.
I am using the latest CachyOS KDE Plasma 6.2.4.
What I did to fix was go into the control panel to Display Configs; make sure monitors are 100% scale
and also Legacy X11 make sure Scale by system not by themselves.
Now the raylib wayland example works, so happy.
I thought it would be something complicated in the code itself; geez these silly problems.


[Bug] The 'Tag' does not upload in CVAT for video 1.1 annotations.

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour

Rectangle and Tag annotations were uploaded.
Current Behaviour

Rectangle annotation uploaded but Tag does not upload.
Possible Solution

Fix this bug.
Steps to Reproduce (for bugs)

1.Create task with several images.
2.Draw 'Rectangle' (track) and 'Tag' in first frame.
3.Dump CVAT for video 1.1 annotations.
4.Upload CVAT 1.1 annotations.
 No
Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 20.04
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Next steps
You may join our Gitter channel for community support.

The problem is that CVAT for Video 1.1 does not support tags for frames.
And I think, there is no particular use for support tagging each frame in a video.
But it will be useful to annotate intervals on video and this feature described in other issues: https://github.com/openvinotoolkit/cvat/issues/1228; https://github.com/openvinotoolkit/cvat/issues/2117.


Show statistics about memory and CPU usage of all containers

List of container statistics
At the moment I can only find the stats for single containers.
It would be nice to see an overview with stats of all containers on one page.
Either single values, or even historical charts like in the single container view.

this would be a basic functionality that I would expect from a tool like portainer. Why is it still not there?
as a reference, check out the tool "Yacht".
The portainer's dashboard is not a dashboard IMO, but rather just a simple list of objects...
let's enhance it


Schematic

Hi,
Can you publish the schematic diagram of the interconnects ?
Thans in advance!

Sorry, which interconnects?

Between Wemos / RS485 / LED

Sri, just found them in settings.h ... :-)


flutter_tool should check for incompatible packages in pubspec

Since we no longer depend on test, we can't rely on version solving anymore. Instead we should perform a one time check during flutter upgrade to warn users.

What are the criteria that make packages incompatible?

Essentially just any test version < 1.5.1 or any mockito version < 4.0.0. Normally we would have a pinned dependency which would cause a version solving concept. But we factored out most of the common dependencies into the test_api package. This drastically reduced the dependencies of flutter_test.
Naturally, the old versions of test and mockito don't know about test api, and since we no longer depend on them pub is happy to give us an old version of test and a new test_api, which causes a conflict when the test itself is run.


Improve the npm run start:templates fixture

What should we do?
The example should show all or most of the element templates features:

[ ] template available -> consider adding a simple template selection mechanism
[ ] template not found
[ ] update available
[ ] template applied
custom properties:

[ ] camunda:input
[ ] camunda:output
[ ] camunda:in
[ ] camunda:out
[ ] bpmn property
[ ] camunda:property

scopes:

[ ] bpmn:Error
[ ] camunda:Connector

[ ] constraints (validation)
[ ] description
[ ] label

Why should we do it?
We want to easily try out new features and bugfixes.

This is great and would make testing much easier