feat(addon/components/paper-card-title-media): migrates to tagless native class.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#16
#15  👈
#14
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @matthewhartstonge and the rest of your teammates on  Graphite


Add support for mixed precision activation quantization for UNet model

What's included:

Added a new script (activation_quantization.py) to generate mixed precision activation quantization models. The script allows users to:

generate calibration data for activation quantization
run layer-wise compression sensitivity analysis
generate quantized models based on sensitivity ordering and PSNR threshold.

Replaced Softmax implementation in attention.py to NE efficient implementation
Modified unet.py to make it fx traceable:

Added support_controlnet class property in liu of check for additional_residuals
Removed not implemented error for training time use of  CrossAttention module

Converted attention calculation into a module (Einsum) to enable selective quantization

(A reminder to clean up / squash commits before merging)


Old GCM tokens result in The credential used to authenticate this SDK does not have permission .....

whenever I try to send a notification with an old GCM token I get:
{"code":"messaging/mismatched-credential","message":"The credential used to authenticate this SDK does not have permission to send messages to the device corresponding to the provided registration token. Make sure the credential and registration token both belong to the same Firebase project."}}}
When I use a normal FCM token it works fine. So there is actually no authentication issue.
If it does not matter if i use admin.messaging().sendToDevice(.. or admin.messaging().subscribeToTopic(..  In both the same error. No error when FCM token is used.
For now i have no idea how to still support old GCM tokens.

First of admin.messaging().sendToDevice() looks like Node.js. Are you in the right place? Secondly, I don't think GCM tokens are supported in the new messaging API.

Closing since this seems to be at the wrong place.


Error during migrations while registering Validators

During the execution of the command bin/celotooljs.sh deploy initial contracts -e myenv --verbose I get this error during the last step (electing Validators):
  Registering validator group: C-Labs (9) ...
    - send funds<PHONE_NUMBER>0000000000000 to group address 0x91bE46033848E89f263DB1105A7d85B2a76f9140
    - lock gold
    - setName
    - registerValidatorGroup
  * Registering 5 validators ...
    - lockGold CLabs Validator #40 on myenv
    - lockGold CLabs Validator #41 on myenv
    - lockGold CLabs Validator #42 on myenv
    - lockGold CLabs Validator #43 on myenv
    - lockGold CLabs Validator #44 on myenv
Error: Error: Error: Returned error: insufficient funds for gas * price + value + gatewayFee
    at Object.run (/Users/jcortejoso/Projects/Celo/celo-monorepo/node_modules/truffle/build/webpack:/packages/truffle-migrate/index.js:92:1)
Truffle v5.0.20 (core: 5.0.20)
Node v10.16.3

We believe this issue is now fixed.


Install problem on ubuntu 14.04 "g++: error: unrecognized command line option ‘-mssse3’"

Thank for your share !
When I install this on Ubuntu,I can't go with "make BACKEND=LIBUVC" ,it comes an error:
"g++: error: unrecognized command line option ‘-mssse3’".
I am new learner of realsense.Can you help me solve this ? Thank you.

What is your kernel version (uname -r) and your version of GCC (g++ -v)?

The computer is not here currently,I will sent you the version information later.
I found the computer is with NVIDIA 4-Plus-1 (4-Plus-1™) ARM® Cortex-A15,not the Intel chip.
Is this the real problem?  If  so,do you know any mini-pc or embedded hardware platform(if it has to be intel product) can run realsense?
Because I really want to use the depth image on a small robot ,and it can be powered by battery.
Thank you very much.

kernel version： 3.10.40
GCC version：4.8.4(Ubuntu/Linaro 4.8.4-2ubuntu1~14.04)

Hi. The -mssse3 flag instructs GCC to enable SSSE3 x86 instructions which are required by a particular function in our library (yuy2=>RGB conversion in image.cpp). In order to compile without this flag for ARM architectures, you will need to re-write that functionality (a counterpart with NEON acceleration would be ideal, but a simple implementation would suffice).
If you would like to move to x86, there are several products that might meet your needs for small and low power:

Intel MinnowBoard Max
Kangaroo MD2B
Intel NUC
The forthcoming Intel Compute Stick 2 (available in March 2016)

Also, if you need a reference implementation for yuyv to rgb conversion, here is a good source: https://github.com/ktossell/libuvc/blob/master/src/frame.c#L158

Thank you for your time!

I try to do yuyv to rgb conversion on ARM these day,but it is too hard for me as a beginner.
Since our robot just need the depth message(get 640X480 depth info array,our robot were based on Kinect One before),can I ignore the rgb data so that I can get depth data without using ssse3?
Is that a feasible scheme? Thank you.

Yes.  You don't need to start or consume the RGB stream.

Thank you.
have you succeed in transfer it on ARM platform?
My Liunx kenral is v 3.10.40(is that suitable for librealsense?)
Currently I can't build the cpp-tutorial-1-depth.pro in qt,two errors occurs:
1.cstdio : no such file or dictionary
2.it shows no compiler,my gcc can't work (GCC version：4.8.4)


Add mgold to codeowners

Signed-off-by: mgold1234<EMAIL_ADDRESS>Description
add my user to codeowners file to start contributing

Test results are available in Ibutsu. The test run IDs are:
8cc11fb3-346e-4d45-a006-7654fa769821
9c03b5fa-9a17-4687-a4c2-61f831a55a2c


Cannot select object type from wrapping object using parameter

Bug Report
🔎 Search Terms
Deferred parameter select generic index
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about type parameters
Nightly version at time of test: v5.0.0-dev.20230123

⏯ Playground Link
Playground link with relevant code
💻 Code
type DataFetchFns = {
    Boat: {
        requiresLicense: (id: string) => boolean;
        maxGroundSpeed: (id: string) => number;
        description: (id: string) => string;
        displacement: (id: string) => number;
        name: (id: string) => string;
    };
    Plane: {
        requiresLicense: (id: string) => boolean;
        maxGroundSpeed: (id: string) => number;
        maxTakeoffWeight: (id: string) => number;
        maxCruisingAltitude: (id: string) => number;
        name: (id: string) => string;
    }
}
//Can select non-object type from wrapping object using parameter:
export type NoTypeParamBoatRequired<F extends keyof DataFetchFns['Boat']> = ReturnType<DataFetchFns['Boat'][F]>;
type TypeHardcodedAsParameterWithoutReturnType<T extends 'Boat', F extends keyof DataFetchFns[T]> = DataFetchFns[T][F];
export type allAreFunctionsAsExpected = TypeHardcodedAsParameterWithoutReturnType<'Boat', keyof DataFetchFns['Boat']>;
// Above line is as expected: ((id: string) => boolean) | ((id: string) => number) |
// ((id: string) => string) | ((id: string) => number) | ((id: string) => string)
export type returnTypeOfFunctions = ReturnType<allAreFunctionsAsExpected>; //string | number | boolean as expected
export type SucceedingCombo = ReturnType<TypeHardcodedAsParameterWithoutReturnType<'Boat', keyof DataFetchFns['Boat']>>;
//Now try putting those definitions of TypeHardcodedAsParameterWithoutReturnType & returnTypeOfFunctions together: it fails.
//Why should the below fail while the line above succeeds? Error given is
//Type 'DataFetchFns[T][F]' does not satisfy the constraint '(...args: any) => any'.
export type FailingCombo<T extends 'Boat', F extends keyof DataFetchFns[T]> = ReturnType<TypeHardcodedAsParameterWithoutReturnType<T,F>>;
export type TypeHardcodedAsParameter<T extends 'Boat', F extends keyof DataFetchFns[T]> = ReturnType<DataFetchFns[T][F]>;
type VehicleSelector<T extends keyof DataFetchFns> = DataFetchFns[T]; //workaround attempt that doesn't work
export type TypeHardcodedAsParameter2<T extends 'Boat', F extends keyof DataFetchFns[T]> = ReturnType<VehicleSelector<T>[F]>;
//Eventual goal:
export type TypeGeneric<T extends keyof DataFetchFns, F extends keyof DataFetchFns[T]> = ReturnType<DataFetchFns[T][F]>;

🙁 Actual behavior
Errors as shown, TypeScript can't figure out that the contents of ReturnType<> are function types, when a generic type parameter from the left side of a type definition is used in the right side, though it can in the definition of allAreFunctionsAsExpected.
🙂 Expected behavior
No errors in this example. All of the type definitions throwing errors should simplify to string | number | boolean in this toy example.

I'll work on it.


Reg:S3 bucket Mount server upload data AWS console

HI,
My Ambar setup is working fine and I can search any document I submit with the portal. But, my {dataPath} still remains empty. I was expecting to find here Ambar data.. I tried local volume & S3 bucket but no luck to store my { data path}.

I have checked with  s3 bucket and create text file , It's indexed and viewed our Web UI Portal.After that i loged my s3 bucket  file was not present.

I have uploaded file in Aws S3 Bucket console and checked with Ambar Web UI it's not list out also the file not present in mounted path in server.

Kindly suggest with me.

HI,
Is any updates

HI,
Is any updates

Dear Team,
Kindly suggest with me. I can upload a file S3 bucket through AWS Console but the file not replicate/reflect in Our webUI. Also file not stored in s3 bucket mounted path in server...

@itnoreplymax sorry we're currently busy on our projects. Post your docker-compose here, I'll check it in a free time

@sochix Sorry for the delay reply. I went long holidays,so i can't see your message.  Please find the attachemnt and proceed.
docker compose file.txt

Hi,
Is any updates


Error description popup too small

VSCode Version: 1.21.0
OS Version: win10

Typescript errors can get very verbose but error popup is too small to see all of it (text gets wrapped and not all lines are visible.

Any chance, that this popup can get replaced with something like a tweaked "Peek Definition" viewer?

Dup of https://github.com/Microsoft/vscode/issues/38663.


[WIP] Test repartition dask with local registry

What do these changes do?
The pr is to use the local registry of kind for repartition dask e2e test.
If the repartition e2e test passed, we can consider replacing all e2e tests here as it can resolve problems like No space left on device error on CI. Also, the pr needs to wait for the e2e tool to support for testing on a existing kubernetes cluster.

The dask CI looks work!
Could you please revise all k8s test cases to use the local registry?
Thanks!

No problem. I have added the feature testing on a existing kubernetes cluster to the e2e tool yesterday. Until it's merged, we can revise all e2e tests more smoothly.

The bugs in the failover demo are fixed here.

Done, please take another took at this. @sighingnow


CI: move static code checking to the front of the queue

The idea is get early feedback about style failures instead of waiting for half an hour.

makes sense

Thanks, merged

Great idea, thanks!


Prepare release v1.5.1

@ondrejbartas @honzasterba if you agree, I'll publish this patch release to RubyGems


Installing SDK as dependency for project(Maven, Gradle)

Hi everyone, I have a question. How can I install SDK for my maven project?

Please use forum for questions.


Fix travel advice map image on small screen sizes

The travel advice map wasn't being scaled down for small devices
and would overrun the side of the device, hiding content and causing
horizontal scrolling.
The image is scaled down slightly, but the PDF download link provides a full resolution version if more detail is needed.

Before
After

Live example reported by @amosie: https://www.gov.uk/foreign-travel-advice/egypt

👍


⚠ Bofrost.at has degraded performance

In 37a3853, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1400 ms

Resolved: Bofrost.at performance has improved in d58e4ac after 8 minutes.


Running h2o.ai in Azure ML (Installing Java is a must)

mcr.microsoft.com/azureml/base:0.2.4 is pretty flat, so tried a few steps to install Java.

Adding a custom base dockerfile

script: train.py
arguments: []
framework: Python
environment:
  python:
    userManagedDependencies: false
    interpreterPath: python
    condaDependenciesFile: train-env.yml
  docker:
    enabled: true
    baseDockerfile: Dockerfile

Returns error:

Output from dependency scanning: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Add an argument to the docker. According to this documentation and this one as well, I can add an argument to the docker command. So, tried the following.

script: train.py
arguments: []
framework: Python
environment:
  python:
    userManagedDependencies: false
    interpreterPath: python
    condaDependenciesFile: config/train-conda.yml
  docker:
    enabled: true
    baseImage: mcr.microsoft.com/azureml/base:0.2.4
    arguments: ["--run","apt-get install default-jdk"]

also arguments: "apt-get install default-jdk" like this.
As there is no documentation about it, having issues installing Java on the environment. Looking for your help.

Got this working by creating a Custom Docker Image and putting it to the ACR tied to Azure ML workspace. If the docker image is in any other ACR then it needs to be specified like following, get the admin based (basic or standard ACR) or token-based (Premium ACR) username/password.
docker:
    baseImage: youracrname.azurecr.io/imagename:v1
    baseImageRegistry: {
            "address": "youracrname.azurecr.io",
            "username": "username",
            "password": "password"
          }

Closing this as my issue is resolved. I suggest updating the documentation on docker specification for .runconfig files.


chore(main): release 1.11.4

:robot: I have created a release beep boop
1.11.4 (2023-07-17)
Bug Fixes

add gcloud auth (5d879f2)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/devoteam-se/devolunch/releases/tag/v1.11.4 :sunflower:


Spreadsheet isn't sorted

New commits are added to the bottom of the spreadsheet, usually after a few empty rows rather than being sorted with the latest commits on top. openpyxl is used fir spreadsheet operations, and does support adding sort commands to the spreadsheet, but will not actually sort on save. In order to do this, all the rows need to be read, sorted, and written back to the spreadsheet.

Sorting added in 0.5.0 #74.


[launcher, tracker] Setting to always clear query on new launch

as you can see it goes to the same window i searched before . I am not very good at explaining i hope you can get what im trying to say

that is an intentional design decision.  Run prompt does the same thing.

that is an intentional design decision. Run prompt does the same thing.
i thought it was a bug , would prefer it to return to clear search screen

we can but that would be an option for settings.  Totally fair request

we can but that would be an option for settings. Totally fair request

thank you so much for taking my request

This behaviour is so annoying IMO, I hope we can customize it on Run settings section.

If a community member wants to add in the option,
We'll try to get the config setting in .20 or .21 release time frame (2 to 3 months from now) as .19 is all about bugs, tech debt, stability and perf improvements.

Hey this looks like an interesting Issue to work on, i'll create a PR later today!

We just released 0.20 and this should be resolved there.  Please try it out.


Make repo deployable to GH pages (as submodule)

@JimAwe I removed the snowpack dependency and made the login work for out github pages location. The deployed thing can be reached here: https://autodesk-tandem.github.io/sample-emb-viewer/index.html

In order to make a new version available one simply needs to bump the submodule pointer in https://github.com/autodesk-tandem/autodesk-tandem.github.io (we can do this together next time).


Build Fail Due to "ImportError: No module named enum" (python 3.7)

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (macOS Mojave, version 10.14.6):
TensorFlow installed from (source, https://github.com/tensorflow/tensorflow.git):
TensorFlow version: 2
Python version: 3.7
Installed using pip
Bazel version (if compiling from source): 2.2.0
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the problem
Provide the exact sequence of commands / steps that you executed before running into the problem
Following the extract instruction here: https://www.tensorflow.org/install/source
Specified python 3.7 in ./configure
Run:  bazel build //tensorflow/tools/pip_package:build_pip_package --host_force_python=PY3
The build failed, saying "ImportError: No module named enum". See the detail below.
Already googled and tried  pip install --upgrade pip enum34, but still not working.
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
ERROR: /Users/leiwang/GoogleDrive/models/tensorflow/tensorflow/python/keras/api/BUILD:133:1: Executing genrule //tensorflow/python/keras/api:keras_python_api_gen_compat_v2 failed (Exit 1)
Traceback (most recent call last):
File "/private/var/tmp/_bazel_leiwang/db84a35c42355241097f16166c7580af/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/tools/api/generator/create_python_api.py", line 27, in
from tensorflow.python.tools.api.generator import doc_srcs
File "/private/var/tmp/_bazel_leiwang/db84a35c42355241097f16166c7580af/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/init.py", line 64, in
from tensorflow.python.framework.framework_lib import *  # pylint: disable=redefined-builtin
File "/private/var/tmp/_bazel_leiwang/db84a35c42355241097f16166c7580af/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/framework/framework_lib.py", line 52, in
from tensorflow.python.framework.importer import import_graph_def
File "/private/var/tmp/_bazel_leiwang/db84a35c42355241097f16166c7580af/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/framework/importer.py", line 28, in
from tensorflow.python.framework import function
File "/private/var/tmp/_bazel_leiwang/db84a35c42355241097f16166c7580af/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/framework/function.py", line 37, in
from tensorflow.python.ops import resource_variable_ops
File "/private/var/tmp/_bazel_leiwang/db84a35c42355241097f16166c7580af/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/ops/resource_variable_ops.py", line 46, in
from tensorflow.python.ops import variables
File "/private/var/tmp/_bazel_leiwang/db84a35c42355241097f16166c7580af/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/ops/variables.py", line 20, in
import enum  # pylint: disable=g-bad-import-order
ImportError: No module named enum
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /Users/leiwang/GoogleDrive/models/tensorflow/tensorflow/tools/pip_package/BUILD:65:1 Executing genrule //tensorflow/python/keras/api:keras_python_api_gen failed (Exit 1)
INFO: Elapsed time: 1.875s, Critical Path: 1.19s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

solved


Error compling version.cpp

When compliling using CMake with python-module switched on under ubuntu 14.04 I get the following error:
[ 98%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/base/Parameter.cpp.o
In file included from /home/username/source/shogun/src/shogun/base/Version.cpp:12:0:
/home/username/source/shogun/src/shogun/lib/versionstring.h:4:26: error: unable to find numeric literal operator ‘operator"" x’
 #define VERSION_REVISION 0x
                          ^
/home/username/source/shogun/src/shogun/base/Version.cpp:22:43: note: in expansion of macro ‘VERSION_REVISION’
 const int32_t Version::version_revision = VERSION_REVISION;
                                           ^
/home/username/source/shogun/src/shogun/base/Version.cpp:23:51: error: expected primary-expression before ‘;’ token
 const int32_t Version::version_year = VERSION_YEAR;
                                                   ^
/home/username/source/shogun/src/shogun/base/Version.cpp:24:53: error: expected primary-expression before ‘;’ token
 const int32_t Version::version_month = VERSION_MONTH;
                                                     ^
/home/username/source/shogun/src/shogun/base/Version.cpp:25:49: error: expected primary-expression before ‘;’ token
 const int32_t Version::version_day = VERSION_DAY;
                                                 ^
/home/username/source/shogun/src/shogun/base/Version.cpp:26:51: error: expected primary-expression before ‘;’ token
 const int32_t Version::version_hour = VERSION_HOUR;
                                                   ^
/home/username/source/shogun/src/shogun/base/Version.cpp:27:55: error: expected primary-expression before ‘;’ token
 const int32_t Version::version_minute = VERSION_MINUTE;
                                                       ^
/home/username/source/shogun/src/shogun/base/Version.cpp: In static member function ‘static int32_t shogun::Version::get_version_revision()’:
/home/username/source/shogun/src/shogun/base/Version.cpp:79:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/username/source/shogun/src/shogun/base/Version.cpp: In static member function ‘static int32_t shogun::Version::get_version_year()’:
/home/username/source/shogun/src/shogun/base/Version.cpp:84:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/username/source/shogun/src/shogun/base/Version.cpp: In static member function ‘static int32_t shogun::Version::get_version_month()’:
/home/username/source/shogun/src/shogun/base/Version.cpp:89:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/username/source/shogun/src/shogun/base/Version.cpp: In static member function ‘static int32_t shogun::Version::get_version_day()’:
/home/username/source/shogun/src/shogun/base/Version.cpp:94:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/username/source/shogun/src/shogun/base/Version.cpp: In static member function ‘static int32_t shogun::Version::get_version_hour()’:
/home/username/source/shogun/src/shogun/base/Version.cpp:99:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/username/source/shogun/src/shogun/base/Version.cpp: In static member function ‘static int32_t shogun::Version::get_version_minute()’:
/home/username/source/shogun/src/shogun/base/Version.cpp:104:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/username/source/shogun/src/shogun/base/Version.cpp: In static member function ‘static int64_t shogun::Version::get_version_in_minutes()’:
/home/username/source/shogun/src/shogun/base/Version.cpp:114:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[2]: *** [src/shogun/CMakeFiles/libshogun.dir/base/Version.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/shogun/CMakeFiles/libshogun.dir/all] Error 2
make: *** [all] Error 2

mmm this has been encountered just now by somebody else... :S looking into it, but interestingly enough travis-ci builds are done with ubuntu 14.04 docker images and have not encountered this before there :(


Confusion in documentation of < >

Entering "< >" in the search box currently lists three entries:
Postcircumfix: .< >    leads to routine/.<%20>   (currently 404 not found)
Circumfix: < >           leads to routine/<%20>
Quote: < >                leads to syntax/<%20>
I don't think there should be a "circumfix" entry, as < > is not an operator, nor is there a circumfix:«< >» function/routine.  As far as I can tell, it's purely a syntactic construct.
I suspect the same should be said for postcircumfix .< > -- as far as I know it's not a routine in its own right -- it's really syntactic sugar for .{< >} .  It's not an operator in its own right (e.g., that could be overloaded).

Right now these are some nodes like "This is not a real operator, just syntactic sugar that is turned into the { } postcircumfix operator at compile-time." for postcircumfix.< > -- do you think that a similar note for circumfix: < > will suffice?

@awwaiid I think yes.

OK, so:

Postcircumfix: .< > leads to here. It clearly says In most cases, a dot may be placed before a postfix or postcircumfix: (implies that it is not an operator on its own), but then it also says Technically this is not an operator, but syntax special-cased in the compiler. . So no problem here.
Quote: < > leads to here. Again, I don't think that there's any problem with that.

However, there's now < > in Routine category: https://docs.perl6.org/routine/$LESS-THAN_SIGN $GREATER-THAN_SIGN and it says:

The quote-words construct. Breaks up the contents on whitespace, and returns a List of the words. If a word looks like a number literal or a Pair literal, it is converted to the appropriate number.

So at this point the most appropriate title for this ticket is: < > is listed as a circumfix operator, but it is not a real operator. Is that right?

fixed with 22ddf6db07 b3dc4f2dc7 2eb85f315c


cut release 1.16.0

Feature Request
Describe the problem you need a feature to resolve.

Describe the solution you'd like.

1.16 is live, release: https://github.com/operator-framework/operator-sdk/releases/tag/v1.16.0
Thanks for showing me the ropes! @theishshah


feat: automate adding visit dates to spirits ts dates based on /traveling-spirit commnd

Is your feature request related to a problem? Please describe.
I can agree that manually updating the data every time a spirit visits can be frustrating, so add something to automate it

Nevermind, this isn't reliable


Error in large model's config

Hello. Large model trained from scratch has wrong config, resulting in errors below:
RuntimeError: Error(s) in loading state_dict for GPT2LMHeadModel: 	Missing key(s) in state_dict: "transformer.h.36.ln_1.weight", "transformer.h.36.ln_1.bias",  ... , "transformer.h.47.mlp.c_proj.weight", "transformer.h.47.mlp.c_proj.bias".
size mismatch for transformer.wte.weight: copying a param with shape torch.Size([50257, 1280]) from checkpoint, the shape in current model is torch.Size([50257, 1600]).
	size mismatch for transformer.wpe.weight: copying a param with shape torch.Size([1024, 1280]) from checkpoint, the shape in current model is torch.Size([1024, 1600]).
	size mismatch for transformer.h.0.ln_1.weight: copying a param with shape torch.Size([1280]) from checkpoint, the shape in current model is torch.Size([1600]).
	size mismatch for transformer.h.0.ln_1.bias: copying a param with shape torch.Size([1280]) from checkpoint, the shape in current model is torch.Size([1600]).
This is when loading config and then loading pkl pretrained file. Also if i change config to 1280 embeddings it works, but i get strange interactions, after some chatting model starts repeating same answer all over again. Maybe issue is in my decoding script (it's handwritten, not yours), but i keep getting mumbles

S a, u m? M.

or repeating answers such as:

My favorite color is red, red, red, red, red

or

i'm from r all.
i'm from r all.
i'm from r all.

etc

Hello. The embedding size is indeed 1280. Please check the configs/ folder for more details. About the repetitive generation problem, you can probably refer to another issue where there are some discussion about the 3rd party decoding script implementation details.


 Does this lib support native Windows builds?

@eidetic-av I don't remember compiling on msvc but I can offer the following solutions -

If you must workaround the issue immediately, you can instruct visual studio to use clang instead
Since I don't have msvc you can send me the errors and I fix them hopefully live.
You can give me the code and I try to work this out with compiler explorer

Thanks for the quick response. I didn't think of using clang -- I'll give it a go.
In the meantime, here are the errors I'm seeing:
Microsoft (R) Build Engine version 16.11.0+0538acc04 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  pointreceiver.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\chrono(2882,9): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\spdlog/tweakme.h(74,1): warning C4005: 'SPDLOG_FMT_EXTERNAL': macro redefinition [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
C:\bob\bob-pointreceiver\native\src\pointreceiver.cc : message : see previous definition of 'SPDLOG_FMT_EXTERNAL' [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(2438,39): error C2059: syntax error: 'requires' [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(3033): message : see reference to class template instantiation 'zpp::bits::in<std::vector<ByteType,std::allocator<ByteType>>>' being compiled [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
          with
          [
              ByteType=std::byte
          ]
C:\bob\bob-pointreceiver\native\src\pointreceiver.cc(20): message : see reference to function template instantiation 'auto zpp::bits::data_in_out<std::byte,>(void)' being compiled [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(2438,37): error C2789: 'zpp::bits::in<std::vector<ByteType,std::allocator<ByteType>>>::resizable': an object of const-qualified type must be initialized [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
          with
          [
              ByteType=std::byte
          ]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(2438): message : see declaration of 'zpp::bits::in<std::vector<ByteType,std::allocator<ByteType>>>::resizable' [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
          with
          [
              ByteType=std::byte
          ]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(2441,6): error C2143: syntax error: missing ';' before '{' [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(2441,6): error C2334: unexpected token(s) preceding '{'; skipping apparent function body [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(1797,39): error C2059: syntax error: 'requires' [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(2291): message : see reference to class template instantiation 'zpp::bits::basic_out<ByteView>' being compiled [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
          with
          [
              ByteView=std::vector<std::byte,std::allocator<std::byte>>
          ]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(3033): message : see reference to class template instantiation 'zpp::bits::out<std::vector<ByteType,std::allocator<ByteType>>>' being compiled [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
          with
          [
              ByteType=std::byte
          ]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(1797,37): error C2789: 'zpp::bits::basic_out<ByteView>::resizable': an object of const-qualified type must be initialized [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
          with
          [
              ByteView=std::vector<std::byte,std::allocator<std::byte>>
          ]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(1797): message : see declaration of 'zpp::bits::basic_out<ByteView>::resizable' [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
          with
          [
              ByteView=std::vector<std::byte,std::allocator<std::byte>>
          ]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(1800,6): error C2143: syntax error: missing ';' before '{' [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]
C:\bob\bob-pointreceiver\native\build\vcpkg_installed\x64-windows\include\zpp_bits.h(1800,6): error C2334: unexpected token(s) preceding '{'; skipping apparent function body [C:\bob\bob-pointreceiver\native\build\pointreceiver.vcxproj]

I got it, are you compiling with C++20 standard?

I thought specifying the CXX standard in my CMakeLists would be enough, but 'cmake --build' was defaulting to using an older VS generator.
Thanks for the sanity check... I'll close this issue.

Ok, let me know if you have any feedback about the library :)

Hey @eyalz800, I have a little update. I have since switched to using clang to build for Windows using Visual Studio 2022, and I had an error due to the zpp_bits library. This line here was causing the error expected ';' at end of declaration. Strangely, all I had to do was replace the xor with ^ and Visual Studio was happy. I don't know if Visual Studio has an issue with the full word keywords...

It's strange that this was even committed, I'll fix it, thanks

Since you are using vcpkg it looks like I'll need go also send them a pull request since they are using by default one version earlier now.


Upgrade oci-image module

https://github.com/cert-manager/makefile-modules/pull/47 needs some manual upgrade steps

/approve
/lgtm

/retest


Incorrect dependencies for some useEffect hooks used in the application

Opened a long time ago, probably fixed already.
But some functions are still not using any dependency array. Which means it's being run on every render. Have to check if that is necessary.

Opened a long time ago, probably fixed already. But some functions are still not using any dependency array. Which means it's being run on every render. Have to check if that is necessary.

I think having no dependency array means it will run only the first time the component gets loaded, whereas having an empty list as dependency array means it will run on every render.

It's the opposite.


Pass context with ingestion to data sources

Summary
:warning: DO NOT MERGE :warning:  Needs https://github.com/mindersec/minder/pull/5091 and a rebase
This PR builds on https://github.com/mindersec/minder/pull/5091 and modifies the data sources Call() signature to pass a context to the function call. This PR also modifies the data sources init to pass a context that includes the ingestion results which can now be used by all data sources drives
Provide a brief overview of the changes and the issue being addressed.
Explain the rationale and any background necessary for understanding the changes.
List dependencies required by this change, if any.
This PR breaks the work in the last three PRs (ignore the rest, they will be gone after rebasing):

fc096ea2f0ff2d81a696c831cc3ece14b4fcf4d0 modifies the data source Call() function to take a context
2663d0071371ab9d0a04de08ef9f0cce766f99f6 regenerates the mocks and updates the tests
f138147ea76114425952400df37f3c863e1fad80 initializes the data sources context and passes the ingestion results in it to the data source Call method

Fixes #5089
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[ ] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[x] Updated any affected documentation.
[x] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 55.176% (+0.05%) from 55.131%
when pulling f138147ea76114425952400df37f3c863e1fad80 on puerco:datasource-context
into<PHONE_NUMBER>76e8ac6c2da65f677bf4b19e0dd096 on mindersec:main.


Feature request: support for current Android push notification icon scheme

I was wondering if there are any plans to support the current Android push notification icon scheme. If i understood it correctly this API change was introduced in Android API Version 21 (Lollipop 5.0).
The current implementation of the plugin uses the app icon as push notification icon even when targeting Android API versions >= 21 which is most likely not the intended behavior since only the icon's alpha channel is used for rendering. So depending on the app icon in use either a white square or an outline of your app icon is shown in the status bar/the push notification preview.
It would be nice to be able to define the Android push notification icon (and background color for that matter) at initialization time of the plugin.
https://developer.android.com/guide/practices/ui_guidelines/icon_design_status_bar
https://clevertap.com/blog/fixing-notification-icon-for-android-lollipop-and-above/

@martindederer Excellent suggestion!
We've just added this in commit https://github.com/pushy-me/pushy-cordova/commit/2156cab19cb38780eca9678da0605c62c04507db and published to npm in version 1.0.20.
To start using this feature:
cordova plugin remove pushy-cordova-receiver
cordova plugin remove pushy-cordova

cordova plugin add<EMAIL_ADDRESS>cordova plugin add ./plugins/pushy-cordova/receiver/

Then, add the relevant icon image file(s) (e.g. ic_notification.png) in the following path:
platforms/android/app/src/main/res/drawable-*

Finally, in your www/js/index.js, find:
Pushy.listen();

Add below:
Pushy.setNotificationIcon('ic_notification');

Very nice! I'll give it a try.


Add dependabot updates for docusaurous

Signed-off-by: Derek Nola<EMAIL_ADDRESS>

I thought docs were updated automatically when a PR was merged. Or is this update updating something else?

This fixes dependabot to properly group updates to the documentation framework's packages, instead of trying to update them individually (which is incorrect and will break things).


[for reference] support Windows by using scapy

Hi, and thanks for the nice tool!
I made it use scapy (https://scapy.readthedocs.io/en/latest/, https://scapy.net/) to be able to use it on Windows. Scapy uses the pcap interfaces on Windows and overcomes the limitations imposed by the standard Python socket.
View this PR mostly "for reference" only, if you or anyone else is interested in further development, as it should not be considered complete.
Current state:

no tests implemented for now
not tested on Linux as I sadly have no Linux hardware with me
increased timeout to 0.5 for slow devices and networks
readme would need update

Hi, and thank you for contributing! I haven't touched this code since the initial "impulse" to have something that gives me insight into how HPAV communicates, it's good to see someone else is interested in it as well :)
I was able to test with Linux today and it works, I'm going to try and see if it works on Mac OS as well. It would be really good to have something that works on all these platforms.


Update domain for Random Scan

Source information
Random Scan 1.4.39
Source language
Portuguese (Brazil)
Source new URL
https://luratoon.com/
Other details
No response
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL is not updated yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

Dumb Bot 🤔

Duplicate of #500 anyways, which was also closed by accident.


Using colmena with ed25519-sk keys does not work with multiple hosts

Using ed25519-sk keys makes it possible to authenticate with one host, but all others fails without being given the chance to press the key:
$ colmena exec --on polly,stanley uptime
[INFO ] Using flake: git+file:///XXX
[INFO ] Enumerating nodes...
[INFO ] Selected 2 out of 8 hosts.
        ✅ 5s All done!
  polly ❌ 1s Failed: Child process exited with error code: 255
stanley ✅ 5s Succeeded
[ERROR] Failed to complete job on polly - Last 5 lines of logs:
[ERROR]  created)
[ERROR]    state) Running
[ERROR]   stderr) sign_and_send_pubkey: signing failed for ED25519-SK "XXX/.ssh/yubikey5c": device not found
[ERROR]   stderr) root@polly: Permission denied (publickey,password,keyboard-interactive).
[ERROR]  failure) Child process exited with error code: 255

Running with --parallel 1 works.
Workaround to apply a configuration to multiple hosts with parallelism: Enable ControlMaster in the ssh config and establish connections with each host before running colmena. Running colmena exec --parallel 1 true does the trick. Then it is possible to use colmena apply with parallelism.
Using too many hosts with a security key may not be practical since each require a touch but would it be possible to handle this more gracefully even with parallelism enabled? I am not sure what exactly the ideal solution would be but it could be nice if it was less suprprising? Would it be possible to touch the key sequentially for each host?

I did run this on macOS, did not check if it is the same on Linux.

As an alternative option: One can use a regular ed25519 key but age encrypted with age-yubikey-plugin. The trick is to utilize the ssh-agent to store the decrypted key in memory without letting it touch the disk:
rage --decrypt ~/.ssh/id_system_deployer.age -i ./yubikey-ident.pub | ssh-add -

This is obviously less secure than an ed25519-sk key - you also lose portability - but for me it makes for a nice compromise. Here's a full script I made that wraps colmena:
#! /usr/bin/env bash

cleanup () {
    ssh-add -d ~/.ssh/id_system_deployer.pub
    # for my own sanity, so I know the key was removed from ssh-agent
    if [ $? -ne 0 ] ; then
        >&2 echo "Error cleaning up key!"
    else
        echo "Cleaned up key"
    fi
}

interrupted () {
    # unload the key when interrupted
    cleanup
    trap - SIGINT SIGHUP SIGABRT SIGTERM SIGQUIT
    exit 1
}
# setup interrupts that will unload the key
trap interrupted SIGINT SIGHUP SIGABRT SIGTERM SIGQUIT
# 1 hour timeout just in case an interrupt isn't caught (e.g. SIGKILL)
rage --decrypt ~/.ssh/id_system_deployer.age -i ./yubikey-ident.pub | ssh-add -t 1h -
SSH_ADD_RET=$?
if [ $SSH_ADD_RET -ne 0 ] ; then
    >&2 echo "Failed to load key!"
    exit $SSH_ADD_RET
else
    echo "Loaded key"
fi
colmena "$@"
COLMENA_RET=$?
# unload the key when done
cleanup
# reset signal interrupts
trap - SIGINT SIGHUP SIGABRT SIGTERM SIGQUIT
exit $COLMENA_RET

in your programs.ssh.extraConfig you use a pubkey instead for ssh-agent:
Match user system_deployer
  IdentityFile ~/.ssh/id_system_deployer.pub
Match all

make sure services.ssh-agent.enable = true; and there aren't any other programs acting as ssh-agents (check with echo $SSH_AUTH_SOCK)


debug and fix failing upgrade test cases

The focus of current works on migrating upgrade test scripts to metal3-dev-env. Failing test cases need to be debugged and fixed.
List of failing test cases

upgrade_BMO_with_clusterctl.sh

This issue is outdated and no longer needed.


White list url for iframe

this has to be whitelisted asap: https://pixel.as/equinor/

Thanks @fernandolucchesi - looks great - approved :smile:


🌱 cache:replication:e2e: export functions for working with the cache server

Summary
This PR exports StartStandaloneCache and CacheClientRoundTrippersFor to start a standalone server and add the required RT for HTTP clients. I'll use in https://github.com/kcp-dev/kcp/pull/2256
Related issue(s)
part of https://github.com/kcp-dev/kcp/issues/342

/lgtm
/approve


feat: vyper 0.4 support

What I did
Make it so can compile on 0.4.0
How I did it
Had to use absolute paths.
How to verify it
Checklist

[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)

Is this checked against 0.3.10 and 0.4.0?

Sorry meant to make this a draft.. The tests are all pre-0.4.0, but I need to add more tests for 0.4.0 range.

i think rather than using absolute paths, you can add the "./" to the search path

i think rather than using absolute paths, you can add the "./" to the search path

I tried this but was running into other issues, I can keep trying though but I was in a tangled web of confusion.

Looks like vyper in the 0.3.0 range does not like the absolute paths

currently it fails to process .vyi files

Looks like imports don't resolve yet:

Looks like imports don't resolve yet:

Lol

WIP - still in development, please be patient.

It doesn't work yet on Snekmate: https://github.com/pcaversaccio/snekmate/actions/runs/8651807519/job/23771914522#step:8:1

i think constructing the input dict from just a directory is going to be pretty complicated, because it's hard to predict how the compiler will interact with search path (cf. for instance: vyperlang/vyper@b0ea5b6f1c8cd8d09db6f37e9857f9b3837fb386, vyperlang/vyper@d3723783caf3edfd8905fea0b221f99f18eeb27b, vyperlang/vyper@c6f457a73db40e4b113497883bd330e0dcec28d1, vyperlang/vyper@a3bc3eb50ea10788a688ea79d74d294cd9a418d6, vyperlang/vyper@5d10ea0d2a26ab0c58beab4b0b9a4a3d90c9c439).
i'm not sure what direction ape wants to take here, but maybe the best thing might be to call the compiler and recursively get its ast output (per vyperlang/vyper@9428196a0c48ec7cc02938ee4ae1a0e2fee133c8), or just use the cli and get -f combined_json or something. we could do something else too like adding -f import_graph as a compiler output option or something, i'm open to suggestions.

we could do something else too like adding -f import_graph as a compiler output option or something, i'm open to suggestions.

Having the import graph would be extremely useful, in both directions (know which code modules import which other code modules so that a downstream module change will trigger us to recompile one that hasn't because of the dependency)

@fubuloubu also check -f annotated_ast output, it contains information about the imported modules including the sha256sum of the content. https://github.com/vyperlang/vyper/pull/3891 goes further and includes the integrity hash, which is the recursive hash of the file and all its dependencies. in vyperlang/vyper#3891 we could maybe add a json output, i'm not sure if that's very helpful here (since in any case we have to run in "regular" non-json mode first to grab the import graph).
maybe the best thing is to ditch standard-json input here? because it's not trivial to construct. from CLI, everything just works since the compiler will resolve things in the filesystem automatically.
if you want to keep using standard-json and one-shot the compilation (i.e., not have to query the compiler multiple times about a file), the other way would be to bundle everything ape knows is in the environment (hypothetical example: shove contracts/, libraries/, modules/) all into json input. that provides the best chance of successful compilation, although you still might end up getting divergences between what the compiler thinks is in the environment and what ape thinks is in the environment.

@pcaversaccio I promise I will make sure snekmate compiles before we merge this.

@fubuloubu also check -f annotated_ast output, it contains information about the imported modules including the sha256sum of the content. you can use this to compute a reproducible import graph. vyperlang/vyper#3891 goes further and includes an integrity hash output, which is the recursive hash of the file and all its dependencies. in vyperlang/vyper#3891 we could maybe add a json output, i'm not sure if that's very helpful here (since in any case we have to run in "regular" non-json mode first to grab the import graph).
maybe the best thing is to ditch standard-json input here? because it's not trivial to construct. from CLI, everything just works since the compiler will resolve things in the filesystem automatically.
if you want to keep using standard-json and one-shot the compilation (i.e., not have to query the compiler multiple times about a file), the other way would be to bundle everything ape knows is in the environment (hypothetical example: shove contracts/, libraries/, modules/) all into json input. that provides the best chance of successful compilation, although you still might end up getting divergences between what the compiler thinks is in the environment and what ape thinks is in the environment.

We basically want a way to know that we don't need to even call vyper in the first place because none of the files (or their dependencies) have made an update which should change their output.
Since subprocessing out to vyper is more expensive than not, having the checksum information in Ape's project metadata helps us avoid unnecessary extra compiler invocations

Let's see if this is even a problem first as well. This is still in development, but getting closer each day. If we can handle Solidity, I think we can handle Vyper.

Let's see if this is even a problem first as well. This is still in development, but getting closer each day. If we can handle Solidity, I think we can handle Vyper.

0.4.0 made a big shift to absolute file locations from std json input, this is very different than how solidity or vyper (in the past) has handled file inputs
but yeah, calling annotated_ast (if available) sounds like it will give us the checksum information we can store in our own metadata cache. I missed the integrity hash concept, but since we only add back references for dependencies to be able to determine this, it could also help. That was non-standard in our EthPM v3 implementation

We basically want a way to know that we don't need to even call vyper in the first place because none of the files (or their dependencies) have made an update which should change their output.
Since subprocessing out to vyper is more expensive than not, having the checksum information in Ape's project metadata helps us avoid unnecessary extra compiler invocations

since dependencies can change even if imports have not changed, there are two surefire ways to do this. one is going to be to call the vyper compiler and get the integrity hash (this only runs the frontend analysis passes, which based on latest benchmarks can process roughly 1000 lines of source code per second). one thing i can do (and i was thinking about doing this anyway) is to move the compiler's import analysis into an even earlier phase, so basically the only work the compiler does to get the integrity hash is resolving imports + hashing. but it would be a bit nontrivial to implement.
the other way is to package all the project files into a single package (like standard json input) and check that nothing in the package has changed.

one thing i can do (and i was thinking about doing this anyway) is to move the compiler's import analysis into an even earlier phase, so basically the only work the compiler does to get the integrity hash is resolving imports + hashing. but it would be a bit nontrivial to implement.

we essentially do import analysis to build the graph of the project, so this would be really nice to expose. we may in the future execute multiple compiler processes in parallel if we determine (based on the graph) that there are disjoint sets within the project (allowing us to parallelize compiler invocations). an obvious first version of this would be to just parallelize invocations for vyper and solidity files within the same project

we essentially do import analysis to build the graph of the project, so this would be really nice to expose. we may in the future execute multiple compiler processes in parallel if we determine (based on the graph) that there are disjoint sets within the project (allowing us to parallelize compiler invocations). an obvious first version of this would be to just parallelize invocations for vyper and solidity files within the same project

there isn't really work-sharing between different compilation targets. like if X imports A, and Y imports A, each one will re-compile A from scratch. so you can just always parallelize compilation targets.

we essentially do import analysis to build the graph of the project, so this would be really nice to expose. we may in the future execute multiple compiler processes in parallel if we determine (based on the graph) that there are disjoint sets within the project (allowing us to parallelize compiler invocations). an obvious first version of this would be to just parallelize invocations for vyper and solidity files within the same project

there isn't really work-sharing between different compilation targets. like if X imports A, and Y imports A, each one will re-compile A from scratch. so you can just always parallelize compilation targets.

how do we know what the targets are?

we essentially do import analysis to build the graph of the project, so this would be really nice to expose. we may in the future execute multiple compiler processes in parallel if we determine (based on the graph) that there are disjoint sets within the project (allowing us to parallelize compiler invocations). an obvious first version of this would be to just parallelize invocations for vyper and solidity files within the same project

there isn't really work-sharing between different compilation targets. like if X imports A, and Y imports A, each one will re-compile A from scratch. so you can just always parallelize compilation targets.

how do we know what the targets are?

oh i missed this -- targets are whatever the user asks for. (anything in contracts/?)

we essentially do import analysis to build the graph of the project, so this would be really nice to expose. we may in the future execute multiple compiler processes in parallel if we determine (based on the graph) that there are disjoint sets within the project (allowing us to parallelize compiler invocations). an obvious first version of this would be to just parallelize invocations for vyper and solidity files within the same project

there isn't really work-sharing between different compilation targets. like if X imports A, and Y imports A, each one will re-compile A from scratch. so you can just always parallelize compilation targets.

how do we know what the targets are?

oh i missed this -- targets are whatever the user asks for. (anything in contracts/?)

we don't require the user to manually specify their targets, typically we try to identify the most efficient way to compile everything so that when the user goes and asks for a specific target (e.g. project.MyContractTarget) that target is already compiled and available for immediate use.
requiring the user to specify all of their targets strikes me as poor developer experience.

So I tested the latest commit and snekmate contracts compile: https://github.com/pcaversaccio/snekmate/pull/244.
Two notes:

When installing Ape, Ape pulls in the old Vyper 0.3.x series (example):

Collecting vyper~=0.3.7 (from ape-vyper==0.1.0b3.dev69+g6154453)
  Downloading vyper-0.3.10-py3-none-any.whl.metadata (6.7 kB)

This is unfortunate since I need to uninstall Vyper and reinstall the new Vyper later again (otherwise I have Vyper 0.3.x installed locally or in the CI). It would be great to have an option to disable this installation step (@antazoey explained to me why this is currently needed for the flattener).

@charles-cooper: in the ape-config.yaml of my PR you can see how I set contracts_folder: src/snekmate and exclude: r"(?!.*_mock\.vy$)", which can be used to isolate what is being compiled by Ape. Also, since 0.8.0, the default base path for compiling projects is now the project root instead of the contracts/ folder.

When installing Ape, Ape pulls in the old Vyper 0.3.x series (example):

Collecting vyper~=0.3.7 (from ape-vyper==0.1.0b3.dev69+g6154453)
  Downloading vyper-0.3.10-py3-none-any.whl.metadata (6.7 kB)

This is unfortunate since I need to uninstall Vyper and reinstall the new Vyper later again (otherwise I have Vyper 0.3.x installed locally or in the CI). It would be great to have an option to disable this installation step (@antazoey explained to me why this is currently needed for the flattener).

We should probably only have a lower pin for the flattener CLI, or as low a pin as we can manage
Wonder if it makes sense as an extra (and don't add flattener CLI if vyper not installed?) Spitballing here

@fubuloubu

Wonder if it makes sense as an extra (and don't add flattener CLI if vyper not installed?) Spitballing here

This was my thought as well.
Another option I was going to look into was check what was being imported from vyper and see if i can copy it in manually (provided it is the same across all versions). It would save a lot of headache and the code won't change much...
Either way, can we do this in another PR?

Either way, can we do this in another PR?

sounds good, there is a workaround for now (just re-install vyper afterwards)

Another option I was going to look into was check what was being imported from vyper and see if i can copy it in manually (provided it is the same across all versions). It would save a lot of headache and the code won't change much...

can you mark this in an issue?

can you mark this in an issue?

https://github.com/ApeWorX/ape-vyper/issues/114


Here is a list of operators for which you will need custom implementations: RandomUniform.

System information

OS Platform and Distribution (MacOS 10.15.3):
TensorFlow installed from (binary):
TensorFlow version (1.15.2):

Provide the text output from tflite_convert

Some of the operators in the model are not supported by the standard TensorFlow Lite runtime and are not recognized by TensorFlow. If you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ARG_MAX, BIDIRECTIONAL_SEQUENCE_LSTM, CAST, FULLY_CONNECTED, GATHER, GREATER_EQUAL, MUL, RESHAPE. Here is a list of operators for which you will need custom implementations: RandomUniform.
Traceback (most recent call last):
  File "/Users/lidayuan/opt/anaconda3/envs/py371/bin/toco_from_protos", line 8, in <module>
    sys.exit(main())
  File "/Users/lidayuan/opt/anaconda3/envs/py371/lib/python3.7/site-packages/tensorflow_core/lite/toco/python/toco_from_protos.py", line 89, in main
    app.run(main=execute, argv=[sys.argv[0]] + unparsed)
  File "/Users/lidayuan/opt/anaconda3/envs/py371/lib/python3.7/site-packages/tensorflow_core/python/platform/app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "/Users/lidayuan/opt/anaconda3/envs/py371/lib/python3.7/site-packages/absl/app.py", line 299, in run
    _run_main(main, args)
  File "/Users/lidayuan/opt/anaconda3/envs/py371/lib/python3.7/site-packages/absl/app.py", line 250, in _run_main
    sys.exit(main(argv))
  File "/Users/lidayuan/opt/anaconda3/envs/py371/lib/python3.7/site-packages/tensorflow_core/lite/toco/python/toco_from_protos.py", line 52, in execute
    enable_mlir_converter)
Exception: We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md
 and pasting the following:

Some of the operators in the model are not supported by the standard TensorFlow Lite runtime and are not recognized by TensorFlow. If you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ARG_MAX, BIDIRECTIONAL_SEQUENCE_LSTM, CAST, FULLY_CONNECTED, GATHER, GREATER_EQUAL, MUL, RESHAPE. Here is a list of operators for which you will need custom implementations: RandomUniform.

Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Also, please include a link to a GraphDef or the model if possible.
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem.
If including tracebacks, please include the full traceback. Large logs and files
should be attached.
converter = tf.compat.v1.lite.TFLiteConverter.from_saved_model("../model", tag_set=[tf.saved_model.tag_constants.SERVING])
converter.target_ops = [tf.lite.OpsSet.TFLITE_BUILTINS,
tf.lite.OpsSet.SELECT_TF_OPS]
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS,
tf.lite.OpsSet.SELECT_TF_OPS]
tflite_model = converter.convert()
open("./result/edison_model.tflite", "wb").write(tflite_model)

Thanks

@yuanlida,
Could you please check this comment on a similar issue and let us know if it works. Thanks!

I think I have resolve this problem.
I added an initial value to the dropout parameter:seed.
self.word_embeddings = tf.nn.dropout(word_embeddings, self.dropout_pl, seed=time.time())

This is the logs:
2020-02-24 16:00:00.602358: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 47 operators, 115 arrays (0 quantized)
2020-02-24 16:00:00.602705: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 47 operators, 115 arrays (0 quantized)
2020-02-24 16:00:00.602838: W tensorflow/lite/toco/graph_transformations/resolve_constant_random_uniform.cc:88] RandomUniform op outputting "dropout_1/random_uniform/RandomUniform" is truly random (using /dev/random system entropy). Therefore, cannot resolve as constant. Set "seed" or "seed2" attr non-zero to fix this
2020-02-24 16:00:00.603229: W tensorflow/lite/toco/graph_transformations/resolve_constant_random_uniform.cc:88] RandomUniform op outputting "bi-lstm/dropout/random_uniform/RandomUniform" is truly random (using /dev/random system entropy). Therefore, cannot resolve as constant. Set "seed" or "seed2" attr non-zero to fix this
2020-02-24 16:00:00.603455: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 1: 22 operators, 67 arrays (0 quantized)
2020-02-24 16:00:00.603598: W tensorflow/lite/toco/graph_transformations/resolve_constant_random_uniform.cc:88] RandomUniform op outputting "bi-lstm/dropout/random_uniform/RandomUniform" is truly random (using /dev/random system entropy). Therefore, cannot resolve as constant. Set "seed" or "seed2" attr non-zero to fix this
2020-02-24 16:00:00.603642: W tensorflow/lite/toco/graph_transformations/resolve_constant_random_uniform.cc:88] RandomUniform op outputting "dropout_1/random_uniform/RandomUniform" is truly random (using /dev/random system entropy). Therefore, cannot resolve as constant. Set "seed" or "seed2" attr non-zero to fix this
2020-02-24 16:00:00.603741: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 2: 21 operators, 66 arrays (0 quantized)
2020-02-24 16:00:00.603833: W tensorflow/lite/toco/graph_transformations/resolve_constant_random_uniform.cc:88] RandomUniform op outputting "dropout_1/random_uniform/RandomUniform" is truly random (using /dev/random system entropy). Therefore, cannot resolve as constant. Set "seed" or "seed2" attr non-zero to fix this
2020-02-24 16:00:00.603875: W tensorflow/lite/toco/graph_transformations/resolve_constant_random_uniform.cc:88] RandomUniform op outputting "bi-lstm/dropout/random_uniform/RandomUniform" is truly random (using /dev/random system entropy). Therefore, cannot resolve as constant. Set "seed" or "seed2" attr non-zero to fix this
2020-02-24 16:00:00.603994: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 3: 20 operators, 64 arrays (0 quantized)
2020-02-24 16:00:00.604102: W tensorflow/lite/toco/graph_transformations/resolve_constant_random_uniform.cc:88] RandomUniform op outputting "bi-lstm/dropout/random_uniform/RandomUniform" is truly random (using /dev/random system entropy). Therefore, cannot resolve as constant. Set "seed" or "seed2" attr non-zero to fix this
2020-02-24 16:00:00.604145: W tensorflow/lite/toco/graph_transformations/resolve_constant_random_uniform.cc:88] RandomUniform op outputting "dropout_1/random_uniform/RandomUniform" is truly random (using /dev/random system entropy). Therefore, cannot resolve as constant. Set "seed" or "seed2" attr non-zero to fix this
2020-02-24 16:00:00.604242: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Group bidirectional sequence lstm/rnn: 20 operators, 64 arrays (0 quantized)
2020-02-24 16:00:00.604376: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After Group bidirectional sequence lstm/rnn pass 1: 16 operators, 58 arrays (0 quantized)
2020-02-24 16:00:00.604559: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before dequantization graph transformations: 16 operators, 58 arrays (0 quantized)
2020-02-24 16:00:00.604838: I tensorflow/lite/toco/allocate_transient_arrays.cc:345] Total transient array allocated size: 537600 bytes, theoretical optimal value: 537600 bytes.
2020-02-24 16:00:00.604929: I tensorflow/lite/toco/toco_tooling.cc:439] Estimated count of arithmetic ops: 653248 ops, equivalently 326624 MACs
2020-02-24 16:00:00.604935: I tensorflow/lite/toco/toco_tooling.cc:454] Number of parameters: 3807621

Thanks.

@yuanlida,
Is this still an issue? Please feel free to close the issue if it is resolved. Thanks!


Include documentation for non-exported type

Search terms
type, export, include
Question
I have a type parameter that is not exported, which is referred to in an exported function like this. It should appear in the documentation, but it should not be exported.
type Color = 'red' | 'orange' | 'yellow';

export function favoriteColor(color: Color): void {
    console.log('Your favorite color is ' + color);
}

When I run typedoc I get the following warning.
[warning] Color, defined in ./src/tst.ts, is referenced by tst.favoriteColor.favoriteColor.color but not included in the documentation.

And as expected, Color is not documented (it is not a clickable link.)

Is it possible to achieve this without exporting Color?
Are there any @tags I can use to say "hey Typedoc, document this!"?
If not, what are the best practices for this?

Thanks!

Update: I did find this plugin, but it feels like there should be a way to achieve this directly in Typedoc without plugins.
https://github.com/tomchen/typedoc-plugin-not-exported

Yes, via plugins.
No, in addition to the plugin you found, there is typedoc-plugin-missing-exports, which doesn't require a tag, and will automatically include anything referenced.
The best practice for this is to export the type, potentially via a package/internals entry point to indicate it isn't part of semver if it's truly an implementation detail that's exported for completeness, but not intended to be stable.

The type is already accessible to your users. By not exporting it, you just make it more annoying for a user of your library to reference it:
type Color = Parameters<typeof import("lib")["favoriteColor"]>[0];

Thank you for your answers. I didn't know that users still have access to the type via parameters anyway, so you're probably right that it should just be exported. I was actually doing this anyway for the documentation. So I guess I learned a good coding practice from using TypeDoc. Who knew?


fix: Fixed encoding for all requests in Google Sheets

This PR also fixes encoding issues with all the other commands apart from the one mentioned in the issue.
Fixes #10209
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manually tested, cannot unit test since there are no mocks available

/ok-to-test sha=1088da2

/ok-to-test sha=1088da2

/ok-to-test sha=1088da2


Changes made for the Promotheus and Grafana handlers.

Signed-off-by: vijcheru<EMAIL_ADDRESS>
Description

This PR fixes #
Notes to reviewers:
Checklist

[] DCO signed.
[] Title of the PR starts with area name, e.g. meshery:, mesheryctl:, ui:.

Superseded by #830


Fix label type in validation script

Perform explicit typecast on $label variable prior to pushing it into $labels[] array.

Looks good welcome to our community @YRSLV
Feel free to reach out if you ever need help


Feature Request: More Custom Status

Please tick all applicable boxes.

[y ] I am using Python 3.5.3 or higher (run python --version on the command line)
[y ] I have followed the official guides to install the bot for my system
[y ] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[y ] The latest master version (release-260419)
[ ] The latest review version

What type of issue are you creating?

[ ] Bug
[ y] Feature request
[ ] Question

Description of issue
You should add more custom status for the Music Bot. That would be awesome if we could set to "Listening to [something]" or "Watching [something]".
Steps to reproduce

Log file

I pr'ed something like this but it was denied.

Weird, why? Seems like a good idea, I don't see why that'd get denied.

Was deemed more appropriate for a general purpose bot

That doesn't really make sense. I can't set the music bot's status to "listening" with a general purpose bot. I feel like that comparison would be valid with some sort of moderation command suggestion.

You can see for yourself #1881

we could try again?

I didn't say I didn't believe you, I'm saying why it was denied makes literally no sense.


[CI] Remove signed off IPs from the register module checker

This is temporary fix until the IP versioning discussion is completed.
As PR #965 merged, the Azure Pipeline failed on newer PRs.
Build log #L1010
Register headers not up-to-date. Regenerate them with 'make -C hw regs'.

PR #965 didn't include gpio, uart, rv_timer from the collaterals
as those IPs were signed off ( #676 #615 #652 ). The azure pipeline
checks every IPs' generated register modules.
It is good as it can catch this case, which prevents silent upgrade of
internal modules in the signed-off IPs. But it is also annoying every
PRs from now failed.
So, temporary the checker ignores signed-off IPs until better IP
versioning rule is suggested.
This is related to #975

Thanks @eunchan!


Import collection missing key property

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
Import collection has a missing key property used by react when rendering the list !
This can be fixed by adding a key prop to the div here !
.bru file to reproduce the bug
No response
Screenshots/Live demo link

Thanks for the PR @RashidUjang !
This will be released in v1.14.0
Please follow us on Discord / Twitter to stay notified on the releases.


vcpkg_from_git (SSH URL) affected by user environment

Describe the bug
The vcpkg_from_git command is affected by the user's environment. Based on the current running shell and the installed git version, installing a port might succeed or fail.
In my case, I'm running vcpkg either from cygwin, WSL or gitbash, and I don't get consistent results depending whether I have git installed or not, and which version of git.
The issue with vcpkg_from_git when using a SSH type URL, is that git must call SSH for the transport. If vcpkg detects that the system already have a suitable version of git installed (>= 2.26), it doesn't download the portableGit version and uses the system version of git. Probably due to PATH env cleanup or other env var being wiped by vcpkg execute_process call, calling git can cause errors like: ssh: No such file or directory
If my system does't have git installed or a git version too old (< 2.26) then vcpkg will automatically install portableGit and use this version, and the port will install correctly.
Environment

OS: Windows
Compiler: Doesn't matter

To Reproduce the environment issue
Steps to reproduce the behavior:

Fully wipe vcpkg (especially downloads folder)
Open a cygwin terminal with a git version >= 2.26 installed
Create a port myPort with just the following lines

	find_program(GIT NAMES git git.cmd)
	message(FATAL_ERROR "Found git: ${GIT}")

./vcpkg install myPort
Observe in the error log that the git being used is the installed one

Alternatively instead of using cygwin, you can create a temporary folder anywhere, create a git.cmd file inside that just contains this line:
echo "git version 2.29.2"

Then add this folder to your path: export PATH=pathToFolder:$PATH and run vcpkg install
To Reproduce the actual port error

Fully wipe vcpkg
Open a cygwin terminal with a git version >= 2.26 installed
Create a port myPort with just the following lines (replace placeholders with something valid)

	vcpkg_from_git(OUT_SOURCE_PATH SOURCE_PATH URL git@mygitserver:mylibrary.git REF myref)

./vcpkg install myPort
Observe in the error log: ssh: No such file or directory

Expected behavior
As vcpkg aims to not be affected at all my the user environment, I expect this to happen in all possible scenarios (cygwin, WSL, gitbash, or any other console subsystem) and be consistent. In case the user installed a corrupted or misbehaving git version, I expect vcpkg to run consistently.
I would expect vcpkg to always download and use it's own version of git, whether it found a suitable one or not in the system (that might or might not work correctly, even if it returned a suitable version from the git --version call).

Hi,
any progress on this issue?

Related to issue https://github.com/microsoft/vcpkg/issues/9109.

Well, not entirely related.
Since the ticket you linked was created, and as @dg0yt noted, the VCPKG_FORCE_SYSTEM_BINARIES variable was created to prevent vcpkg from using system binaries like cmake and ninja so cygwin won't interfere.
So I think that git should be added to the list of binaries that follow VCPKG_FORCE_SYSTEM_BINARIES rules.

I agree with @christophe-calmejane here; we should only use git from the system if we get VCPKG_FORCE_SYSTEM_BINARIES set, imo. @ras0219, you have opinions?

I think forcing our own copy of git would be ok if we do more to reduce its size

Hi,
any progress on this issue?

@ras0219 if my understanding is correct, we could use our own git iff we can shrink the download from 40MB, right?

Well, why not let the end user decide?
I would always prefer having to download 40MB once (less than 1 second), than not being able to build any port due to incompatible environment.
Having an option letting me decide is better than not working I think :)

I agree, fwiw; I would appreciate a --force-nonsystem-binaries or something.


test-A

Family Sharing

Asami is a graphic designer
Takeshi is a developer
Nosui is an alone son, but we will welcome a baby in a week or so

What is this?

What does it happen if another user post a comment?

Nosui came from a Kita in the forest from Wannsee

We are from Japan. Do you have idea what place that is?

It has many islands and surrounded by sea
A lot of manga and animations
Ninja

https://photos.app.goo.gl/3BUxUnN2mZBDBbED8


pull request for e2e test at 01/13/2017 10:15:06

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Added support for OutputItemType to CustomFileBuildStep.

This (optionally) allows for specifying to Vcxproj what the output files of a custom build step should be treated as. Useful in contexts where a custom build step generates other build inputs.
I have a use case where we generate C++ wrappers using swig, and want to compile them into the same project that generated them. It's significantly easier to do so if you can provide the OutputItemType field to the build step.

Changes made as requested. Thanks for pointing out the RemoveLineTag.

could you add your case to an existing sample ?

could you add your case to an existing sample ?

Not really, it's an incredibly specific case that comes from upgrading an old project.


my Empire agent dose not connect back to me

i start Empire
$ ./empire
$listeners
i had setup up a listener that worked yesterday
the listener is active and it had worked before i just opend it and i cant get the conncetion
i used the stager launcher
and copy paste it to cmd on target machine (this worked yesterday and today it dose not )

In order for us to help you, you need to post details..

try running ./reset.sh in the setup folder, generate a stager and run it on a box to see if it connects.

Verify that you can ping your empire server.

ok i've done that and i  got a error msg:
[!] Error starting listener on port 20000: [Errno 98] Address already in use
so i i've opened terminal and typed  netstat -plten:
output:
ctive Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode       PID/Program name
tcp        0      0 <IP_ADDRESS>:9391          <IP_ADDRESS>:*               LISTEN      0          16822       797/openvassd: Wait
tcp        0      0 <IP_ADDRESS>:9392          <IP_ADDRESS>:*               LISTEN      0          16306       693/gsad
tcp        0      0 <IP_ADDRESS>:20000           <IP_ADDRESS>:*               LISTEN      0          26872       1822/python

I recommend rebooting the box that the empire server is running on, run the reset.sh script and regenerate your listeners and stagers.

ok ill try that. back to you in 3min

nope i don't get an agent. what should i do next ?

how do i ping my server?

Please read the documentation at http://www.powershellempire.com/?page_id=110

i've read that and im seem to be blind or just missing it. where exactly is the part about pinging ur empire server?

ok i found out how to ping (im such a noob, heh)
but before that i'm gonna try rm -rf the empire folder and do a fresh install

:~/Empire/setup# ./setup_database.py
[>] Enter server negotiation password, enter for random generation: necony286
Traceback (most recent call last):
File "./setup_database.py", line 108, in
)''')
sqlite3.OperationalError: table config already exists

why did u close it i dont understand .... well that sad for me


"Next label" feature

There should be a button to select the next label as an alternative to selecting it from a dropdown. This is for tasks where the user wants to step through all the labels..

We should also have a "Previous" button when applicable.


Question: Chromium Timeout

I hoped it will changed it, but the cpu / ram cant stop the timeout errors,
so I wished to increased them. The config (not config.default) are still ignored.
Used the normal git curl.
May it would be a good idea, to increase the timeout by default to ~5 mins?
EDIT: For now I use the config.py and it works perfectly for me.

Config handling is massively improved in v0.4, see archivebox config here: https://github.com/pirate/ArchiveBox/pull/207 and on the Wiki Roadmap page.
If you still have issues with timeout errors after using v0.4 and the new config system, feel free to open a new ticket for that with a paste of your terminal output or a screenshot + config you're using.


File format of logic analyzer

I cannot open *.sr file, neither know witch app can recognize it.
Could you please tell me what branch of logic analyzer you use? or how to open the capture file 64x64_50fps.sr

in the readme i stated:
"- In this repo in the "Logic_Analyzer" directory one will find Logic Analyzer recordings of the data sent to the panels, one can open them with the open source tool PulseView. I only have a 8 channel 24Mhz Logic Analyzer so not all pins are recorded."


Hide EU referendum banner after 4pm 26 May (accounting for cache time)

Add basic home page integration test
Takes into account 15 min cache time to coincide with the 4pm cut-off for the global banner

Worth noting somewhere that this is taking into account cache time so that the banner won't show after 4pm.

But yes, 👍

👍


Create alias for property

Allows adding an alias to the property name so it will result in a graph query of companyName: CompanyName

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: JoshuaFolkerts:x: Joshua FolkertsJoshua Folkerts seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Tagging @episerver/search-navigation for review and approvals

Could you add a test in the unit test for this new parameter?

Could you add a test in the unit test for this new parameter?
It has been added


Docs Enhancements

Thanks for this useful lib, but the docs need some enhancements like getting out of the docusaurus template and maybe make it docs only w/o the landing page, and I'm ready to help! Let me know if there is a room for this enhancement and I will work on it.

Thank you for your willingness to help and for your suggestions😘! We are always open to contributions that improve our documentation. Please feel free to submit a pull request, and I will make it a priority to review it promptly. Looking forward to your contributions and making our docs even better together!

Amazing!, working on it and will submit a PR very soon.

I'm getting wired error like this

and ton of warnings like this

And it compiles with 89 errors, but that breaks the dev server after any change, tried to upgrade bunch of packages and check the files out for incorrect import statements and still the same issues, any idea how to fix them?

I'm not quite sure what caused this issue. My environment is Node 20.10 on MacOS. Generally speaking
pnpm i
cd packages/website-docusaurus
pnpm dev

should just work.

Yeah, I found out it was windows only problem, tried it on WSL and it works, thanks!.


Bug Template

Describe Issue / Current Behavior:
Steps to reproduce:
Expected Behavior:

@SashankPatel We have templates when we create tickets now. Are these still needed?

Closing out since there are templates.


quemu-use-env - use DOCKER_HUB

Please provide a description of this PR:
use Docker_HUB env variable instead

Hi @jjtischer. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@jjtischer: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
0da2229a85d5ced135128715d3b261d37dcded4c
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Add vitest

Faster tests
better DX
Start unit test's for the project

Can't use vitest sadly
please see
https://github.com/vitest-dev/vitest/issues/846
ESM first, bad compatibility with cjs modules


Add new release process + release <IP_ADDRESS>

Resolves https://github.com/brandonchinn178/persistent-mtl/issues/51

Codecov Report

Merging #60 (b261ea5) into main (c1c48a5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #60   +/-   ##
=======================================
  Coverage   83.09%   83.09%
=======================================
  Files           8        8
  Lines         343      343
  Branches        2        2
=======================================
  Hits          285      285
  Misses         58       58

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add in contributions from vlovero

C++ compatability
CMake compatability
Small fixes

Squashing and merging into a new branch - I will play around before I merge with master.


Python version limit

It looks like there is some >=Python 3.10 functionality scattered around. Starting a list here:

examples/using_galpy/phase_slice.py with pairwise from itertools

Perhaps get around by requiring Python 3.10?

Another dependency:
from tqdm import tqdm. This one seems less strictly necessary -- perhaps make optional? Or add to requirements.

It actually appears that >=Python 3.11 is required, specifically to support:

@typing.dataclass_transform(), see documentation.

itertools.pairwise is used for Backend.iter_orbit_slices, which isn't yet used by the library - however, I have re-implemented it for now using itertools.tee (copying from the itertools documentation).
typing.dataclass_transform is just a typing utility, I have removed it for Python-version backwards compatibility.
Dependencies:

astropy is used for the Coordinate classes, I have added this to the package requirements.
Although tqdm isn't strictly necessary, I will add it to the requirements for now and add a note for removing it in a later commit.
h5py and matplotlib can be made as class-specific requirements, so using ExtendImports is a reasonable solution here. I think matplotlib should still be made a requirement since a big part of the analysis package's functionality depends on it.

I've addressed all but the last point in the latest commit.

I think this is all solved now by various testing schemes and upgrades.


Add  ESP32-2432S028 board

Summary
Add new board ES32-2432S028 board (Reference : https://www.openhasp.com/0.7.0/hardware/sunton/esp32-2432s028/)
Impact
New feature
Testing
Pass CI

@halyssonJr please rebase your patch, ci broken is fixed by https://github.com/apache/nuttx/pull/10975.

@halyssonJr run ./tools/checkpatch.sh -g HEAD~...HEAD to fix the ci error:
  Normalize esp32-2432S028/nsh
8d7
< # CONFIG_ARCH_LEDS is not set
Saving the new configuration file
HEAD detached at pull/10976/merge
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   boards/xtensa/esp32/esp32-2432S028/configs/nsh/defconfig

@halyssonJr sorry, I suggest the wrong command, please try: ./tools/refresh.sh --silent esp32-2432S028/nsh.

@xiaoxiang781216 , This board uses the driver ILI9341, if you check the implementation on ESP32 (nuttx/boards/xtensa/esp32/common/src/esp32_ili9341.c), you see we don't have a config or function to turn on the backlight using GPIO.  Because of this, I need to add(esp32_gpiowrite(DISPLAY_BCKL, true))  to turn on the backlight and run the LVGL example. Do you have any suggestions I can do that?

@xiaoxiang781216 , This board uses the driver ILI9341, if you check the implementation on ESP32 (nuttx/boards/xtensa/esp32/common/src/esp32_ili9341.c), you see we don't have a config or function to turn on the backlight using GPIO. Because of this, I need to add(esp32_gpiowrite(DISPLAY_BCKL, true)) to turn on the backlight and run the LVGL example. Do you have any suggestions I can do that? Maybe create a new CONFIG?

Yes, new CONFIG is one of method. @acassis do you have better suggestion?


https://huggingface.co/LegacyAI/VT/blob/main/handler.py

This is my handler.py, I have deployed it inference endpoint huggingface. But how can I send curl request, I have three inputs, It seems it does not accept multipart/form-data.
can somebody help, I could not find any good examples too.
Initially i had an issue of requirements.txt not getting identified

https://huggingface.co/LegacyAI/VT/blob/main/handler.py

Member
Hey, Sorry, I could not find any examples where we send multiple inputs like image and voice.

its not possible you need to convert it to a base64 string and send it as json.

its not possible you need to convert it to a base64 string and send it as json.

I am already doing it {
"inputs": {
"text": "Hey how are you?",
"source_image": "data:image/png;base64,ENCODED_IMAGE_DATA",
"driven_audio": "data:audio/wav;base64,ENCODED_AUDIO_DATA",
"language": "en"
}
}
and I use
curl -X POST
-H "Authorization: Bearer YOUR_API_KEY"
-H "Content-Type: application/json"
--data @data.json
YOUR_ENDPOINT_URL
and get this error
{"error": "'text'"}
Uploading data.json…

Your error is coming from here. https://huggingface.co/LegacyAI/VT/blob/main/handler.py#L81
"text" needs to be "inputs" you are trying to pop on a dict for key "text" which looks like this.
{
"inputs": {
"text": "Hey how are you?",
"source_image": "data:image/png;base64,ENCODED_IMAGE_DATA",
"driven_audio": "data:audio/wav;base64,ENCODED_AUDIO_DATA",
"language": "en"
}
}


Request to add disable line feature

When writing graphql queries, I often have to import external gql files and use them as fragments, like so:
const withData = graphql(gql`
  query queryBooks($id: ID!) {
    book(id: $id) {
      ...BookInfo
    }
  }
  ${BOOK_INFO}
`, {
    options: (props) => {
      return {
        variables: {
          id: props.params.id
        }
      }
    }
  })

but the plugin give me '[graphql] Syntax Error: Unexpected $' error. I know it seems to be an error for the plugin, but in the real world, it works fine, so how to disable that line of linting so it would not produce errors like that?

@gaoxiaoliangz thank you for the report. The plugin shouldn't be throwing this error, as the interpolation you're doing is perfectly valid. I'm myself writing components like so:

Please make sure that you're using the latest gql library. If you get this error even after updating, then can you give me a small example project which can reproduce this error?

Actually, the plugin will throw an error as gql parser only support interpolation inside operations and fragments (relay style) not outside as in apollo.

This issue was moved to Mayank1791989/gql#28


feat(meta): persist table stats

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Persist MV/internal table stats (HashMap<table_id, TableStats>) for the latest hummock version in meta store.
pub struct TableStats {
    pub total_key_size: i64,
    pub total_value_size: i64,
    pub total_key_count: i64,
    pub stale_key_count: i64,
}

The stats is accumulated by applying changes in two cases:

commit_epoch. The stats change is collected based on added KVs. So stats values are always increased by it.
report_compact_task. The stats change is collected based on dropped KVs. So stats values are always decreased by it.

Meta store only stores a single row for the latest hummock version.

The row value is HashMap<table_id, TableStats>.
For example if there is 1k tables and size of per table stats is 100B, the row size is 1k * 100B = 100kB.
In the future if the row size becomes too large for a single row in meta store, we can store the stats in object store instead, and store its pointer in meta store.

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)
https://github.com/risingwavelabs/risingwave/issues/6074

LGTM
Can we also expose the table stats in grafana?

Sure. Will expose them via grafana and risectl in another PR.