No module named 'solcx'

im at the 3:45:00 point on the solidity guide vid and i have installed solc, and solcx and my vscode is still saying that there is no module named solcx

this is an image of my code thats having a problem

and this is an image of the terminal when i try to execute the code, i have tried uninstalling and reinstalling. i have tried googling different solutions and none worked

Hello @Bradleys04
First of all if you are using python 3.10.1 this version already has been reported to no be working good with web3 (some cython libraries and more)
Second don't forget to install https://pypi.org/project/py-solc-x/ if you already have it, remember vscode allows you to choose between different python interpreters so be sure you are using the correct one.

there might be some issue with solc-x try running this command in cmd and check wether solc-x is listed there
pip freeze
if no try running  pip install py-solc-x again

did you tryed to install it with the admin rights


Add null serialization

Have a test for this on a branch in the main repo.
Reading a null value is probably not very useful, but I added it for sake of completeness.


Disable screen from turning off while tracking

In the settings there is an option to display the app on the lock screen. It would be great if there was an option in OpenTracks settings to disable the screen from turning off (like any GPS navigation app does) while the app is running.
This would allow using OpenTracks as a replacement for a bike computer for example since it displays in real time the data. Of course it would use a little bit of juice from the battery.
A special screen setup for bike to ease the reading of information while riding would even be more awesome. For example having speed displayed in big and bold while other information in regular font.

@edern-appere I just implemented this functionality.
You now can select this option in the settings (similar to the lockscreen option).
In addition, there was a bug in lockscreen option (even when not recording it was shown without unlocking the device).
The feature will be released in v3.2.9 - should be on Fdroid before the weekend.
Thanks for the idea!


Fix missing src/draft-js/lib/ dir

git cloned the repo
npm install && npm build
went to /website
npm start
went to http://localhost:8080/draft-js/index.html :

This PR creates src/draft-js/lib/ dir as part of postintall script.

Can we instead add an empty website/src/draft-js/lib/.gitkeep file? (git add -f because it's ignored.) That's the ~standard way to handle this.

@spicyj yeah, makes sense. TBH I haven't used .gitkeep files.
Let me update it


Limit creation of PDmap projects to certain users or orgs

We don't necessarily want all project managers to be able to create PDmap projects.

Also these permissions: mapping of PDmap projects, validation of PDmap projects

Mapping & Validation permissions are easily managed via teams in the project creation. We just need to make sure we're clear on workflow/how to set up a project.

Would it be easier to add a new role (currently: admin, mapper, blocked) or give access based on the organization? (i.e. we create an FRA organization and then managers in that org have the option to create PD projects)


Prohibition to remove startDate in tenderPeriod and enquiryPeriod

This change is

Coverage decreased (-0.3%) to 95.463% when pulling a1184a755a2140843f3b8e50fbdf48c205968e1c on Leits:a34257899137853_delete_period_start_date into 739ffb355903ea29e6001ba7ca039159ff5679df on openprocurement:a34257899137853_delete_period_start_date.

Supersedes #28, please close it.


Minor code indentation fix

Changes
Some code here wasn't indented properly, so I've updated it to ensure it's easier to understand.
Checks
By submitting your pull request for review, you agree to the following:

[X] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
[X] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
[X] To the best of my knowledge, all proposed changes are accurate.

Awesome, thanks so much @jotslo.


C eval case

Adds some required anti-DOS checks.

Done review of 2d58ec81f4a848b7f7083e3e85ba85e78545b7b6. Looks great! Mostly just nits, except for the antiDos function which I don't understand, but fortunately is a very small part of the diff.


Week 2 Pull Request

This pull request is created because I have accidentally merged the previous commit into master which was originally meant for this pull request

Above commits contains changes made in Step 1 and Step 2 of this week's walkthrough


AttributeError: 'KerasTPUModel' object has no attribute '_ckpt_saved_epoch'

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

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Colab
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.14.0-rc1
Python version: 3.6.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Code is running in Colab and was working fine with tensorflow 1.13.1.
Colab was updated to tensorflow 1.14.0-rc1 today apparently which is causing the regression.
Running tpu_model.fit for a TPU model that was generated with tf.contrib.tpu.keras_to_tpu_model, I get:

AttributeError                            Traceback (most recent call last)
 in ()
14
15 print(datetime.now())
---> 16 history = tpu_model.fit(train_dataset_fn, epochs=nb_epochs, steps_per_epoch=total_samples // batch_size, validation_data=val_dataset_fn, validation_steps=batch_size) # , verbose=2)
17 print(datetime.now())
3 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/callbacks.py in configure_callbacks(callbacks, model, do_validation, batch_size, epochs, steps_per_epoch, samples, verbose, count_mode, mode)
118   callback_list.model.stop_training = False
119   # pylint: disable=protected-access
--> 120   if callback_list.model._ckpt_saved_epoch is not None:
121     # The attribute _ckpt_saved_epoch is supposed to be None at the start of
122     # training (it should be made None at the end of successful multi-worker
AttributeError: 'KerasTPUModel' object has no attribute '_ckpt_saved_epoch'

@ssable In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!

I tried to reproduce the issue with a minimal code snippet, but while doing that I found another bug #29798.
Once that other bug is resolved, the code provided there should raise this issue or I should be able to come up with a simple example how to reproduce.

I have the same issue. This example code should raise the error. Instead, in version 1.13.1 should work fine. I tried it in colab.
#!pip install -q tensorflow==1.13.1
import tensorflow as tf
import numpy as np
import os

print(tf.__version__)

tpu_address = 'grpc://' + os.environ['COLAB_TPU_ADDR']

randomImages = np.random.rand(128,50,50,3)
randomLabels = np.random.randint(2, size=128)

#model
inputs = tf.keras.layers.Input(shape=(50, 50, 3))
outputLayer = inputs
for i in range(0,3):
  outputLayer = tf.keras.layers.Conv2D(filters=64, kernel_size = 3, padding = 'valid')(outputLayer)
  outputLayer = tf.keras.layers.BatchNormalization()(outputLayer)
  outputLayer = tf.keras.layers.ReLU()(outputLayer)
outputLayer = tf.keras.layers.Flatten()(outputLayer)
outputLayer = tf.keras.layers.Dense(2)(outputLayer)

model = tf.keras.Model(inputs = inputs, outputs = outputLayer)

#tpu_model
tpu_model = tf.contrib.tpu.keras_to_tpu_model(
    model,
    strategy=tf.contrib.tpu.TPUDistributionStrategy(
    tf.contrib.cluster_resolver.TPUClusterResolver(tpu_address))
  )

tpu_model.compile(
    optimizer=tf.train.AdamOptimizer(learning_rate = 0.0001),
    loss=tf.keras.losses.sparse_categorical_crossentropy,
    metrics=['sparse_categorical_accuracy']
  )

tpu_model.fit(
              x = randomImages,
              y = randomLabels,
              batch_size = 64,
              epochs = 10
            )

@giovannibaratta I tried reproducing the issue on colab with Tf 1.14.1 but I am getting different error, ValueError: Variable tpu_140309960546512//kernel/0 already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope?.
Is this same error what you are getting?. Thanks!

@giovannibaratta I tried reproducing the issue on colab with Tf 1.14.1 but I am getting different error, ValueError: Variable tpu_140309960546512//kernel/0 already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope?.
Is this same error what you are getting?. Thanks!

No, I get this error :
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-1-54cc81aef34f> in <module>()
     40               y = randomLabels,
     41               batch_size = 64,
---> 42               epochs = 10
     43             )

3 frames

/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/callbacks.py in configure_callbacks(callbacks, model, do_validation, batch_size, epochs, steps_per_epoch, samples, verbose, count_mode, mode)
    118   callback_list.model.stop_training = False
    119   # pylint: disable=protected-access
--> 120   if callback_list.model._ckpt_saved_epoch is not None:
    121     # The attribute `_ckpt_saved_epoch` is supposed to be None at the start of
    122     # training (it should be made None at the end of successful multi-worker

AttributeError: 'KerasTPUModel' object has no attribute '_ckpt_saved_epoch'

There are also some warnings ("Keras support is now deprecated in support of TPU Strategy") but it's not clear to me how I should migrate to the new distribution strategy.

I get exactly the same error
%%time  history=tpu_model.fit_generator(                            train_generator(),                            steps_per_epoch = 150,                            validation_data = test_generator(),                            validation_steps = 30,                            epochs=15,                            callbacks=[cp_callback] )
`---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
 in ()
----> 1 get_ipython().run_cell_magic('time', '', 'history=tpu_model.fit_generator(\n                           train_generator(),\n                           steps_per_epoch = 150,\n                           validation_data = test_generator(),\n                           validation_steps = 30,\n                           epochs=15,\n                           callbacks=[cp_callback]\n)')
5 frames
</usr/local/lib/python3.6/dist-packages/decorator.py:decorator-gen-60> in time(self, line, cell, local_ns)
 in ()
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/callbacks.py in configure_callbacks(callbacks, model, do_validation, batch_size, epochs, steps_per_epoch, samples, verbose, count_mode, mode)
118   callback_list.model.stop_training = False
119   # pylint: disable=protected-access
--> 120   if callback_list.model._ckpt_saved_epoch is not None:
121     # The attribute _ckpt_saved_epoch is supposed to be None at the start of
122     # training (it should be made None at the end of successful multi-worker
AttributeError: 'KerasTPUModel' object has no attribute '_ckpt_saved_epoch'`

I could able to reproduce the issue on Colab with tensorflow 1.14.0-rc1. Thanks!

Following the MNIST example (https://colab.research.google.com/github/tensorflow/tpu/blob/master/tools/colab/fashion_mnist.ipynb#scrollTo=xLeZATVaNAnE) I was able to run the code in the new version.
resolver = tf.contrib.cluster_resolver.TPUClusterResolver('grpc://' + os.environ['COLAB_TPU_ADDR'])
tf.contrib.distribute.initialize_tpu_system(resolver)
strategy = tf.contrib.distribute.TPUStrategy(resolver)

with strategy.scope():
  #define model
  #compile model
  #fit model

Now, I have an other issue related to tf.keras.layers.concatenate that seems to be not implemented, or at least this is what the error says.

If I rollback to tensorflow 1.13.1 (!pip install tensorflow==1.13.1) my code (above) works in colaboratory, however it becomes very slow. In fact it is quicker to run on GPU

@javicivit I am not completely sure since I never run code on TPU, but perhaps you should install tensorflow-gpu  (!pip install tensorflow-gpu==1.13.1)?

@javicivit I am not completely sure since I never run code on TPU, but perhaps you should install tensorflow-gpu (!pip install tensorflow-gpu==1.13.1)?

Not if we are running on TPU, which is when this error arise. TPU uses tensorflow and not tensorflow-gpu

By default the training loop for distribution strategy is running on the Colab host, not the TPU host. For larger models this isn't a problem, but for small models like MNIST, the latency between the 2 hosts can dominate the model execution time.
I believe DistributionStrategy performance has improved in the upcoming TF 2.1 release as well. I'm closing this for now as I believe the original question is answered, feel free to re-open if I missed something.


Ensure translator_plugins config is honored in non-zend-mvc contexts

Per https://discourse.zendframework.com/t/validatormanager-not-calling-custom-validator-factory/109/5?u=matthew the translator_plugins config key is not honored currently unless the application is within a zend-mvc context. This is due to the fact that Zend\I18n\Module wires configuration for the Zend\ModuleManager\Listener\ServiceListener in order to push merged service configuration into the plugin during bootstrap; no similar logic is available when not in a zend-mvc context, however.
This patch fixes that situation by modifying the LoaderPluginManagerFactory to do the following:

If a ServiceListener service exists, it returns the plugin manager immediately (old behavior).
Otherwise, it checks for the config service, and, if found, a translator_plugins key with an array value. When found, it feeds that value to a Zend\ServiceManager\Config instance and uses that to configure the plugin manager before returning it.

Test failures are all on lowest, due to zend-servicemanager test expectation updates to use PHPUnit 5.7/6.0 expectException syntax within the LoaderPluginManagerCompatibilityTest, which is unrelated. When run manually against an earlier zend-servicemanager version, the new tests pass.


Proposal feedback

Hello,
Thank you for the great effort. I just have some suggestions below,
1- You are only required to do 3 functions in the package, so if you think limiting your functions to only 3 will save you time then consider that.
2- You can give the users more control over the image editing parameters. For example, giving the user the choice to enter the parameters themselves besides the option to generate a number of modified images with random parameters.
Thanks!

Selected three functions to develop
Given user controls with parameters for the number of images to generate and how much to rotate/translate them


Update getting-started.md

Removed out of date info box with confusing information about how to define the terms for specific SDE solvers

LGTM! Thank you for the fix.


keep-alive 失效

Version
3.2.26
Reproduction link
codesandbox.io
Steps to reproduce
1.点击页面 pageA pageB button  切换pageA 和pageB 页面
What is expected?
期望 pageA 和pageB 第一次加载后 以后会被缓存
What is actually happening?
实际每次切换都会被重新加载

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.
—-
You should probably remove the key attribute from the router view and only put it on the component

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.
—-
You should probably remove the key attribute from the router view and only put it on the component

thanks


Tensorflow Metal Plugin produces different results with CPU for Conv1D

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
tensorflow 2.16.1
tensorflow-metal 1.1.0
Custom code
Yes
OS platform and distribution
macOS 14.5
Mobile device
macOS 14.5
Python version
3.9.19
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
If we create Conv1D layer with 65537 layers, the results are different.
On macOS (pip install tensorflow-metal), the results are:
y_cpu: [[[ 0.00041509 -0.00370452 -0.00212137 ... -0.00374832 -0.00753052
   -0.00895449]]]
y_gpu: [[[-0.00895449 -0.00370452 -0.00212137 ... -0.00374832 -0.00753052
    0.        ]]]
Equal: False

On Linux (pip install tensorflow-gpu), the results are:
y_cpu: [[[ 0.00225602  0.01136317  0.00391667 ... -0.0028112   0.00243109
   -0.00492344]]]
y_gpu: [[[ 0.00225602  0.01136317  0.00391667 ... -0.0028112   0.00243109
   -0.00492344]]]
Equal: True

Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np

tf.random.set_seed(0)

conv = tf.keras.layers.Conv1D(filters=65537, kernel_size=3, padding='same')

x = tf.ones([1, 1, 3])

with tf.device('/CPU:0'):
    y_cpu = conv(x)

with tf.device('/GPU:0'):
    y_gpu = conv(x)

print("y_cpu:", y_cpu.numpy())
print("y_gpu:", y_gpu.numpy())
print("Equal:", np.allclose(y_cpu.numpy(), y_gpu.numpy()))

Relevant log output
No response

@hguandl,
When I tried to check in the colab which was having Linux in the background which was executed and observed that the results are also similar. Kindly find the gist of it here. I will check in Macos as well and provide more info on this. Meanwhile could you please check with tf-nightly and provide the update if you are facing the same. Thank you!

@hguandl,
Apologies for the delay. I tried to execute the mentioned code using multiple environments like windows, wsl2, linux and others as well and couldn't find the different results with the CPU for Conv1D. So please raise the issue in the Apple forum for the quick resolution. Thank you!


[Event Request] Codeunit 80 Sales Post - OnAfterWhseReceive

Hi, would it be possible to get an event OnAfterWhseReceive in codeunit 80 Sales Post, in trigger OnRun, like this :

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Week 18 Review Ticket Hacks

[x] CPT Scoring Set 2
[x] OOP Hacks
[x] Blog explaining important parts of the OOP Hacks  (note: no changes would show whenever I put the actual code into the jupyter notebook, so there are only images of the code segments).
[x] Model/Frontend View Hacks (blog, includes the first few sample coding segments for our project)
[x] Model/Frontend View Hacks (Issue)
[x] Updated Notion (another version of Scrum Board)

.95 Model
.9 View
.9 CPT


500 for homologs endpoint

Our uptime URL is currently returning a 500:
https://api.monarchinitiative.org/api/bioentity/gene/NCBIGene:3630/homologs/?homology_type=O&fetch_objects=false
An exception occurred: search_associations() got multiple values for keyword argument 'relation'
We are running on commit f1c00ed7, I can revert to an earlier version for now.

@kshefchek Thanks for reverting to an earlier commit.
I think my recent relation filter PR is messing up with a few GO specific routes.
I'll have a fix for this soon.

@kshefchek This should be closed now, right?


The QuickXorHash value on the DriveItem does not match the quickXorHash computed for .zip files downloaded.

[Enter feedback here]
public static byte[] ComputeQuickXor(string filePath)
{
using (var quickXor = new QuickXorHash())
{
using (FileStream stream = File.Open(filePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
{
return quickXor.ComputeHash(stream);
}
}
}

byte[] quickX = Helper.ComputeQuickXor(downloadfilefromonedrive);
string localHash = Convert.ToBase64String(quickX);
            if (driveItem.File.Hashes.QuickXorHash == localHash) .....

for a .ZIP file this does not match at all.
I am using - for the QuickXorHash
//https://gist.githubusercontent.com/rgregg/c07a91964300315c6c3e77f7b5b861e4/raw/eb2a9e7bc50a1521cff325d4b4524dbc8fb059bf/QuickXorHash.cs
//https://docs.microsoft.com/en-us/onedrive/developer/code-snippets/quickxorhash?view=odsp-graph-online

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

ID: 0031e667-d40f-7ca2-7cab-13c8a941f711
Version Independent ID: ff6ce5d0-08c7-58d2-d598-cba114f4c578
Content: QuickXOR Hash Sample - OneDrive - OneDrive dev center
Content Source: docs/code-snippets/quickxorhash.md
Product: onedrive
GitHub Login: @rgregg
Microsoft Alias: rgregg

Could you please provide more information about your request - is this reproducing in OneDrive Personal, OneDrive for Business, etc., and could you also provide a request-id + timestamp (UTC) for your requests?
I'll tag so our helpful bot will fill in more information about what you can provide to help us.


add-on secrets are echoed (logged?)

By code review, I stumbled upon this code in /etc/kubernetes/kube-addons.sh:
# $1 string with json or yaml.
# $2 count of tries to start the addon.
# $3 delay in seconds between two consecutive tries
# $3 name of this object to use when logging about it.
function create-resource-from-string() {
  local -r config_string=$1;
  local tries=$2;
  local -r delay=$3;
  local -r config_name=$1;
  while [ ${tries} -gt 0 ]; do
    echo "${config_string}" | ${KUBECTL} create -f - && \
        echo "== Successfully started ${config_name} at $(date -Is)" && \
        return 0;
    let tries=tries-1;
    echo "== Failed to start ${config_name} at $(date -Is). ${tries} tries remaining. =="
    sleep ${delay};
  done
  return 1;
}

It seems that it should be
  local -r config_name=$4;

Otherwise, the secrets are echoed. (I don't know if this is a problem)

Being fixed by #9128

Merged in #9128


Browser bundling regression

Bundling object-inspect with rollup doesn't work and will throw errors because it thinks the package relies on node's util module.
var inspectCustom = require('./util.inspect')

and there
module.exports = require('util').inspect;

Relevant commit where the change was made.
https://github.com/substack/object-inspect/commit/20cca7762d7e17f15b21a90793dff84acce155df

That commit explicitly added a browser entry point with the "browser" field in package.json.
Does rollup not support that community standard? Browserify and webpack don't seem to have trouble with it (I tested that explicitly prior to publishing).

I'm going to close this; please file an issue on rollup if it can't handle the "browser" field and link it here!

Sorry for the late answer @ljharb ..
Seems like there's finally a PR to add support on rollup here. https://github.com/rollup/rollup-plugin-node-resolve/pull/183


Contract Deployment Fails with: private transaction manager is not in use

We are using Web3 JS Quorum and trying to deploy a contract via a private transaction, onto the dev quickstart ledger, but it fails saying the private tx manager is not in use.
Questions:

Which transaction manager it refers to? Is it Tessera?
Is there an issue with the way the transaction is constructed (there must be I guess)
Should the isPrivate flag be used at all? I saw that there is no documentation for it, but it exists and it does modify the behavior so is it meant for internal use only or?

The Error
Returned error: private transaction manager is not in use
The code to reproduce:
(launch the quorum quickstart ledger as a pre-requisite)
const tx = {
    "value": 0,
    "data": "60c0604052600d60808190526c4361707461696e43616374757360981b60a090815261002e9160009190610041565b5034801561003b57600080fd5b506100d4565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061008257805160ff19168380011785556100af565b828001600101855582156100af579182015b828111156100af578251825591602001919060010190610094565b506100bb9291506100bf565b5090565b5b808211156100bb57600081556001016100c0565b61030f806100e36000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806317d7de7c14610046578063c47f0027146100c3578063ef5fb05b1461016b575b600080fd5b61004e610173565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610088578181015183820152602001610070565b50505050905090810190601f1680156100b55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610169600480360360208110156100d957600080fd5b8101906020810181356401000000008111156100f457600080fd5b82018360208201111561010657600080fd5b8035906020019184600183028401116401000000008311171561012857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610209945050505050565b005b61004e610220565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156101ff5780601f106101d4576101008083540402835291602001916101ff565b820191906000526020600020905b8154815290600101906020018083116101e257829003601f168201915b5050505050905090565b805161021c906000906020840190610246565b5050565b60408051808201909152600c81526b48656c6c6f20576f726c642160a01b602082015290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061028757805160ff19168380011785556102b4565b828001600101855582156102b4579182015b828111156102b4578251825591602001919060010190610299565b506102c09291506102c4565b5090565b5b808211156102c057600081556001016102c556fea2646970667358221220965216915797db694e698c024753d560e1989f2aebb14463f9225b2297003b2c64736f6c63430007020033",
    "nonce": 0,
    "from": {
        "privateKey": "0x****"
    },
    "privateKey": "****",
    "privateFrom": "BULeR8JyUWhiuuCMU/HLA0Q5pzkYT+cHII3ZKBey3Bo=",
    "privateFor": [
        "BULeR8JyUWhiuuCMU/HLA0Q5pzkYT+cHII3ZKBey3Bo=",
        "QfeDAys9MPDs2XHExtc84jKGHxZg/aj52DTh0vtA3Xc="
    ],
    "isPrivate": false,
    "gasLimit": 10000000,
    "gasPrice": 0,
    "privacyFlag": 0
};

// See https://github.com/ConsenSys/web3js-quorum
// this throws with "Returned error: private transaction manager is not in use"
const block = await this.web3JsQ.priv.generateAndSendRawTransaction(tx);

Hi @petermetz
Tessera is the PTM in question, what is the endpoint you are using for this please? If you look at the smart_contracts folder there are example scripts you can use for reference.
@macfarla anything wrong with the tx here?

Nothing obvious jumps out at me - but yes steps to reproduce your issue would be helpful. What options are you running the quickstart with - besu or quorum? have you enabled privacy?

Hi @petermetz
Could you give us steps to reproduce this issue please?
Cheers
Josh

Closing for lack of activity. @petermetz please re open if this is still an issue with steps to reproduce please


Invalid type in built-in function 'dict2inst'. Cannot convert argument 1 from Nil to Dictionary.

I'm trying to load resources dynamically. It works normally on the computer, but on android the following error occurs:
Invalid type in built-in function 'dict2inst'. Cannot convert argument 1 from Nil to Dictionary.
I'm trying to load some Curve2D exported earlier. Here is the code:
extends Node

var paths = []

const path_dir = "res://paths/"

func _ready():
    load_paths()
    pass

func random_path():
    return paths[randi() % paths.size()]

func load_paths():
    var dir = Directory.new()
    dir.change_dir(path_dir)
    dir.list_dir_begin()

    var path_file = dir.get_next()
    var path
    while path_file != "":
        if dir.current_is_dir():
            pass
        else:
            print("loading: " + path_dir + path_file)
            path = load(path_dir + path_file)
            if path && path is Curve2D: #error occours here
                paths.append(path)

        path_file = dir.get_next()

For some reason you are getting a null reference, without a full (but minimal) example will be hard to understand the problem.
Also, does it run on desktop? (not in editor)
If whatever is in "paths" was not exported, it will fail on desktop too.

Then maybe the curve resources are not being exported, export as a zip and look at the contents.

I exported as zip and the features are being exported. I also tried deleting the export setup and rebuilding, but the problem was not solved

edited OP to show better GDscript

Baixei o instalador pelo website (versão 3.0.6) e exportou para android sem problemas.
Acredito que seja algum bug da versão 3.1. Imagino que esteja relacionado ao Export Template.

I downloaded the installer through the website (version 3.0.6) and exported to android without any problems.
I think it's some version 3.1 bug. I imagine it's related to the Export Template.

That's why the issue template asks for your Godot version...
What exact Godot version are you using, and do you have matching export templates? You need to use templates built from the same commit as your editor.

I'm using 3.1 with the correspondent export template. I download by the tool.

What 3.1? 3.1 is in alpha state, it's not a stable version. There are dev snapshots published (alpha 1 and alpha 2), or nightly builds, or self-compiled builds. The templates downloaded through the templates manager are for the alpha 2 snapshot, and can only be used with alpha 2.

Ok. I clone version 3.0.6 and am using it.

@EmanuelOzorio was your issue fixed?

I recommend closing this.  Looks abandoned

Closing per @t3nk3y's comment.


ErrorFragment causes crash

Hello,
every time I click on ErrorFragment, the app crashes.  Here is the stacktrace:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.tvleanback/com.example.android.tvleanback.ui.BrowseErrorActivity}: java.lang.IllegalArgumentException: No view found for id 0x7f1000ce (com.example.android.tvleanback:id/main_frame) for fragment ErrorFragment

Please advise.

Anyway, I believe I fixed this crash in the pull request: https://github.com/googlesamples/androidtv-Leanback/pull/54

Fixed in 626f223d6d34abcf581bd7c09f225b9aba0ab3d1


test: cypress - updated regression tests for MenuButton

Added regression tests for MenuButton Widget

/ci-test-limit

/ci-test-limit

/ci-test-limit

/ok-to-test


Implement QR code templates

[ ]  Create a service to manage the pre-defined QR code templates.
[ ]  Update the controller to allow users to select a template when generating a QR code.

I have searched for a package that can style QR codes and I found this one: qr-code-styling. However, I don't want to use two packages to generate QR codes.


type '_Type' is not a subtype of type 'Widget'

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Hi @oengmengthong
can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Closing as additional information isn't provided


Doc improvement? WebC's relation to the Web Components spec/tech

Hi,
First of all: thanks for all the hard work on Eleventy and related projects such as WebC! My intention with this issue is to prevent confusion for the future users of WebC.

I'm currently getting up to speed with WebC, I was using nunchucks before. Something that confused me quite a bit is the relation between WebC and the Web Components spec/tech.
Because WebC's README uses the term "Web Components" quite regularly my (incorrect!) assumption was that WebC uses Web Components tech somehow (in the compilation step or something). But as @zachleat says in this podcast:

Host: "this has nothing to do with the web platform's Web Components ..."

@zachleat: "yeah correct, it's mostly reusing the same conventions that are used for Web Components"

So I'm sure I'm not the only one that's confused here:

WebC is named after Web Components.
The README uses, but not clearly defines, the term "Web Components".
WebC reuses a lot of the conventions of actual Web Components.

All of this leading up to WebC not actually using any tech underneath Web Components, but naming the WebC components "Web Components".

All this being said my suggestion would be to go back in time and use a different name for WebC and the components it creates, like "VCom" and "Vanilla Components" or something. But that ship (or Delorean) has probably sailed.
My actual suggestions are:

Make the exact relation between WebC and Web Components very clear in both the documentation and any communication about WebC.

Use the term "WebC Web Components" (abbreviated to WCWC?) instead of the bare "Web Components" in every introductory text where confusion may arise.

So in a couple of places write things like:

WebC is a file format that reuses some of the conventions created for Web Components. WebC allows you to create components which we'll call "WebC Web Components" or "WCWC". These WebC Web Components are not the same as the ones you can create using the Web Components standard.

I'm not sure where to "drop the confusion bomb" of:

You can use WebC to create WebC Web Components that are Web Components.

But maybe that's something that should live deep in the WebC docs.

Related to this confusion which @nielsbom summarized really well, there already is a WebC that has been around for a long while. It would have been courteous I think to be creative and come up with a new name instead of squatting on someone else's work. Like @nielsbom says, I suppose the ship has sailed.


Car Stopping way ahead for Red Light

Hi, I was able to setup Interfuser and got it running with CARLA 0.9.10 with pre-trained weights given in the evaluation section. I noticed that for a red a light, the car stops probably 50-60 meters before it. Any reason why ?

Thanks in advance

Hi!
It's because the agent has detected the red light but it misestimated the distance from the light. Then the agent decides to stop due to the red light. If we lower the threshold for detecting the red light, the agent may run more red lights.
We also found this problem but it's hard to solve it completely. To solve this prolem, the agent need to predict two distance precisely: the one is the distance to the traffic light which affects the agent, the other one is the distance to the junction.

Thanks for the response !

Hi! It's because the agent has detected the red light but it misestimated the distance from the light. Then the agent decides to stop due to the red light. If we lower the threshold for detecting the red light, the agent may run more red lights.
We also found this problem but it's hard to solve it completely. To solve this prolem, the agent need to predict two distance precisely: the one is the distance to the traffic light which affects the agent, the other one is the distance to the junction.

which is the setting file? interfuser_config.py?


Sunbird RC in action- Implementation & Possibilities

[x] Possibilities
[ ] Implementations

Prepared a list of Implementations and asked Rajeesh to give approval.

Approval Pending

Can you post this here? @manukalia29

https://rc.sunbird.org/learn/adopters


Initial version

Create initial library version with the list of core features, like parsing xml, scripting support, reactive updates and others.

https://github.com/Unix4ever/imvue/pull/1


request: Build static library via github actions (or other automated process)

Right now it's a little funny to trust a prebuilt binary blob. Building this blob in a reproducible manner and ideally by a robot would provide some confidence that malicious code hasn't made its way into that binary.

Fair point. I'll look to set this up.
Thanks for raising @tmc


(old) Unify temporal and spatial taps

Unless ReSTIR is multi-pass (e.g. #192), there is really no difference between spatial taps and the temporal tap. This PR unifies them together, which simplifies the code a bit.

Replaced by #194


Adding support for AMD GPUs

This should add support for AMD GPUs with the help of pyamdgpuinfo.
The result looks like this:

I hope there are no issues, it's not helpful but it works for me.

You should add a status for the sensor.
This is done by adding on the dictionary gpu_status, the status key.
On Nvidia, I return the model of the GPU, e.g. NVIDIA GeForce RTX 2060, so I would recommend something similar.

Sure, I will take a look

Thanks for the PR!


Standardizer is unreasonably slow for large tables

I'm pretty sure the reason for the slowdown in the current implementation is a problem with computing scitypes of large arrays - ScientificTypes #12.
The table scitype is computed both in the machine constructor (which checks compatibility of any input table with the model requirement) and in the fit method. There is no obvious workaround in the first case, but in the second we could just infer what we need from the column eltypes.

Resolved.


Error when service registration: TypeError: on_event() takes 2 positional arguments but 3 were given

I am using Docker and docker-compose and cannot register a slave service. What am I doing wrong? Api Gateway (main service) works like a charm but slave service registration fails.
I am not a FastAPI and Python master ;-)
Service main.py:
from picoapi import PicoAPI
from core.config import settings

app = PicoAPI(
	title		= settings.API_TITLE,
	description	= settings.API_DESCRIPTION,
	version		= settings.API_VERSION,
	docs_url	= settings.API_DOCS_URL,
	responses	= {404: {"description": "Not found"}},
)

@app.get("/")
async def info():
	"""
	Info about API documentation.
	"""
	return { "message": "Welcome in %s microservice, version: %s. For more information go to /docs." % ( app.title, app.version ) }

.env file:
# API config
# ==========
API_TITLE="Example Service"
API_DESCRIPTION="Simple SaaS Boilerplate Example Service"
API_VERSION="0.0.1-alpha"
API_DOCS_URL="/docs"

API_BIND="<IP_ADDRESS>"
API_HOST="example-service"
API_PORT="8001"
API_TITLE="Example FastAPI Service"
API_TAGS="slave:microservice"

# microservice registration
# =========================
API_REGISTER_PATH="http://api-gateway:8000/register"
API_HEALTH_PATH="/health"
API_HEALTH_INTERVAL="300"

Dockerfiles:
FROM python:3.8.12

ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONBUFFERED 1
ENV PYTHONPATH=/app

RUN mkdir /app
WORKDIR /app/
ADD . /app

RUN pip install --no-cache-dir --upgrade pip
RUN pip install -r requirements.dev.txt --no-cache-dir

EXPOSE 8000

docker-compose.yml
version: '3.8'

services:
  api-gateway:
    image: api_gateway:dev
    build:
      context: ./app/api_gateway
      dockerfile: Dockerfile
    env_file:
      - ./app/api_gateway/.env
    ports:
      - 8000:8000
    volumes:
      - ${PWD}/app/api_gateway/:/app
    command: sh -c "uvicorn main:app --reload --host <IP_ADDRESS>"
    networks:
      - app

  example-service:
    image: example-service:dev
    build:
      context: ./app/custom_services/example_service
      dockerfile: Dockerfile
    env_file:
      - ./app/custom_services/example_service/.env
    ports:
      - 8001:8000
    volumes:
      - ${PWD}/app/custom_services/example_service/:/app
    depends_on:
      - "api-gateway"
    command: sh -c "uvicorn main:app --reload --host <IP_ADDRESS>"
    networks:
      - app

networks:
  app:
    external: true

Error:
example-service_1  | Traceback (most recent call last):
example-service_1  |   File "/usr/local/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
example-service_1  |     self.run()
example-service_1  |   File "/usr/local/lib/python3.8/multiprocessing/process.py", line 108, in run
example-service_1  |     self._target(*self._args, **self._kwargs)
example-service_1  |   File "/usr/local/lib/python3.8/site-packages/uvicorn/subprocess.py", line 76, in subprocess_started
example-service_1  |     target(sockets=sockets)
example-service_1  |   File "/usr/local/lib/python3.8/site-packages/uvicorn/server.py", line 68, in run
example-service_1  |     return asyncio.run(self.serve(sockets=sockets))
example-service_1  |   File "/usr/local/lib/python3.8/asyncio/runners.py", line 44, in run
example-service_1  |     return loop.run_until_complete(main)
example-service_1  |   File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
example-service_1  |     return future.result()
example-service_1  |   File "/usr/local/lib/python3.8/site-packages/uvicorn/server.py", line 76, in serve
example-service_1  |     config.load()
example-service_1  |   File "/usr/local/lib/python3.8/site-packages/uvicorn/config.py", line 448, in load
example-service_1  |     self.loaded_app = import_from_string(self.app)
example-service_1  |   File "/usr/local/lib/python3.8/site-packages/uvicorn/importer.py", line 21, in import_from_string
example-service_1  |     module = importlib.import_module(module_str)
example-service_1  |   File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
example-service_1  |     return _bootstrap._gcd_import(name[level:], package, level)
example-service_1  |   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
example-service_1  |   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
example-service_1  |   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
example-service_1  |   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
example-service_1  |   File "<frozen importlib._bootstrap_external>", line 843, in exec_module
example-service_1  |   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
example-service_1  |   File "/app/./main.py", line 4, in <module>
example-service_1  |     app = PicoAPI(
example-service_1  |   File "/usr/local/lib/python3.8/site-packages/picoapi/api.py", line 85, in __init__
example-service_1  |     self.router.on_event("startup", register_uservice)
example-service_1  | TypeError: on_event() takes 2 positional arguments but 3 were given

What I was checking
When I change the slave service from PicoAPI to FastAPI and manually register with CUrl everything looks fine.
curl -X 'GET' \
  'http://api-gateway:8000/register' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Example Service",
  "tags": [
    "slave:service"
  ],
  "host": "example-service",
  "port": 8001,
  "metadata": {},
  "healthcheck": {
    "url": "/health",
    "interval": 300
  }
}'

result: null

Checking status from gateway:
curl -X 'GET' 'http://api-gateway:8000/services/status' -H 'accept: application/json'

Result:
[{"name":"Example Service","status":"unhealthy"}]

"status": "unhealthy" has no meaning as there is no /health endpoint.

I need something like PicoAPI in my project so I can take care of it. I also want to extend PicoAPI with routing to slave microservices for a more complete solution and fits to my needs, but not only mine, I think :-)


Added PHP 7.3 support - updated Travis CI configuration

+1

Also found in Fedora QA since 7.3
https://apps.fedoraproject.org/koschei/package/php-zendframework-zend-config?collection=f30


Installation class not documented

Code:
say WHAT $*REPO

Result:
(Installation)

I think this wants to be done with all the other CUR stuff, note also that it not always a CompUnit::Repository::Installation  :
[jonathan@coriolanus doc.master]$ perl6 -Ilib -e 'say $*REPO.^name'
CompUnit::Repository::FileSystem
[jonathan@coriolanus doc.master]$ perl6  -e 'say $*REPO.^name'
CompUnit::Repository::Installation

$*REPO is a linked list -- what it contains depends on where it is in the list. It has nothing to do with .git nor does it have anything to do with the directory a program is run it. At the risk of sounding harsh: nothing in the commit that closed this issue makes sense.

And what would make sense?

Some things that would make sense:

revert the offending commit.
ask what “makes sense” before commiting work that isn’t understood.

And I hate to say it but this was part of grant related work so it looks even worse.

JJ: please have a look at https://github.com/rakudo/rakudo/blob/master/docs/module_management.md
and http://niner.name/talks/A look behind the curtains - module loading in Perl 6/
"Not documented" has not been entirely accurate.

There are two broken links in the https://docs.perl6.org/type/CompUnit::Repository::Installation page:
CompUnit::Repository and CompUnits, shows 404 when clicked.

With the addition of lemmas for CompUnit::Repository and CompUnit, I think the broken links are now fixed.

$REPO and CompUnit::Repository:: have been documented, closing the bug report.

Most classes are still not documented; CompUnit::Repository is not either for the time being. Sorry, I'm reopening.

$*REPO is now documented here, but the index still points to the definition in the glossary. We need either to change indexing, or to make one point to the other.

This issue on how to set RAKULIB to different types of repositories will help (mentioned in https://github.com/ugexe/zef/issues/430 by @ugexe )


Fix 404 http error with unexpected poster value.

Fixes #1330 .

Coverage decreased (-7.04%) to 64.732% when pulling ccf5e98cd800412c16db827980a49afc0459eb1c on kslimani:fix-html5-video-poster into bff717832691dcee9313cc0dd6560697d7366232 on clappr:master.

Coverage decreased (-0.03%) to 71.741% when pulling 440adbe2d3ac8d1b556e59a5c25ccce31f127258 on kslimani:fix-html5-video-poster into bff717832691dcee9313cc0dd6560697d7366232 on clappr:master.

Coverage decreased (-0.05%) to 71.78% when pulling a271e65753039586920c5f94c40bb416b5eb3f16 on kslimani:fix-html5-video-poster into ffc52a1d568dd4c4593a2e2fadfd0728bf6455b0 on clappr:master.

Thanks @kslimani! :beers:


Push to JIRA: (pre)select JIRA configuration

Push to JIRA: (pre)select JIRA configuration
Issue Type

[ ] Bug
[X] Enhancement

Description
It is possible to select "Push to jira" upon creating or updating a finding, but it is not possible to select a JIRA configuration if more than one is available.
I'd expect to be able to select a JIRA configuration or even better to configure (pre-select) a JIRA configuration per project.
Screenshot:

Steps to Reproduce

Create a finding
Select "Push to jira" prior to submitting with the "Finished" button.

Hi @xthk This is controlled by Product creation/editing. Here is the menu:

Hi @devGregA,
if I create a new product using "/product/add" the dialog is shown. However, if I edit an existing product using e.g. "/product/1/edit" the dialog is not shown. Is this intentional or is it just a bug?
PS: I've created all products via the API, maybe this makes a difference somehow.

I've just tried it: If I create a product via the API the JIRA dialog does not show up. If I create it manually via the UI the JIRA dialog is shown.
That's how I create products (Ruby), it's a minimalistic example:
  payload = { 'name' => name.to_s,
              'description' => name.to_s,
              'prod_type' => product_type.to_s,
              'created' => timestamp.to_s }.to_json
  puts payload
  RestClient.post("#{dojo_api}/products/",
                  payload, headers = {
                    'Authorization' => "ApiKey #{dojo_user}:#{dojo_token}",
                    'content-type' => 'application/json'
                  })

@xthk will investigate.

Another (sub-)issue is, that the checkbox "push to Jira" is shown even if there is no valid configuration for a given project.

To add the missing Jira config, I'm using a small Python script as a workaround. Please note, "project_key" and "component" are placeholders at the moment. You'll need additional code for that.
#!/usr/bin/env python
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dojo.settings")
import django
django.setup()

# import DefectDojo's models
from dojo.models import JIRA_Conf
from dojo.models import JIRA_PKey
from dojo.models import Product

import pprint
pp = pprint.PrettyPrinter()

# get JIRA_Conf object
jira_conf = JIRA_Conf.objects.filter(pk=1)
pp.pprint(jira_conf.first)

products = Product.objects.all()
for product in products:
    print "-- %s --" % product
    print product.id
    jira_keys = JIRA_PKey.objects.filter(id=product.id)
    if not jira_keys:
        jira = JIRA_PKey(
            push_notes=True, project_key="FOO", push_all_issues=True,
            component="BAR", conf=jira_conf.first(), product=product
        )
        pp.pprint(jira)
        jira.save()
    else:
        print jira_keys


Documented third part containerizers support in roadmap.

Hi, @mhausenblas @guenter Is this make sense?

@haosdent can you please file a JIRA ticket for this? The roadmap doc reflects what has been committed by the project. We need to prioritize this request first and we do that via JIRA. Hope that makes sense!

@guenter Got it, thanks a lot!


Mapping keys while entering the search pattern

I like to have some remaps in insert mode:
    vim.keymap.set("i", "$", "{")

but these are not reflected when I try to do s$ .
I expect this combo to result in s{  but it does not map the $ into { while searching.
I also tried modes x o l v to no avail.
The issue is also present in flit.nvim

After searching around a bit, it looks like this is a vim limitation. For example, it seems impossible to remap the char after the standard r operation r{char}. Feel free to close issue.

:h language-mapping or :h mbyte-keymap is what you're looking for, I guess.

@Sleepful

I ended up giving up on mbyte-keymap due to complexity in different scenarios, instead I moved to a combination of binding at the terminal emulator level and at the nvim_set_keymap level.


zsh modifications

Configures zsh.com to read zshenv out of /zip/zshenv. The binary ships
with a zshenv that simply contains source /etc/zshenv, preserving the
default behavior with an extra layer of indirection. This lets users
customize their zsh.com to behave any way they desire without having to
recompile.
Also links in a couple commonly used modules: regex support and
mathfuncs. More could be linked in as well, these just seemed like the
essentials.

I see that you beat me to the punch with config_modules. Happy to switch to this approach or drop it at your preference.

It looks like you're actually maybe not using the custom config_modules anymore?
In that case maybe the only thing I'd change would be to drop /zip/zshrc - the point of zshenv is that it can reliably customize everything else about how zsh sources files (including loading zshrc out of /zip if the user wants that), so there is no need to have a second customization point.

So I found that config.modules is generated using the .mdd files in zsh-5.9/Src/Modules, and these .mdd files specify which modules should be disabled/statically built/dynamically built.
The .mdd files are very similar to Python's Modules/Setup (both are some kind of constrained shell scripts), so that makes it pretty convenient.
I think later today I will merge your PR, and use it as a starting point for figuring out the .mdd part. Thanks!


Textfield icons

Implemented both trailing & leading icons in textfields. Use trailingIcon or leadingIcon prop, passing the name of the material icon

Fixes #370

The material-components-web docs use the <i> tag, but I can definitely change it if you think we should.
https://material.io/components/web/catalog/input-controls/text-fields/#leading-and-trailing-icons

@mellogarrett doesnt <Icon> renders to <i>?

Oh sorry, I misunderstood. I'll make that change.

last thing, can you bump the version?


The volume label is incorrect

I set the volume label via the constructor before mounting the disk. Sometimes when I open Explorer the newly mounted virtual disk has the volume label "DOKAN" like in the screenshot. After that I refresh Explorer and only then the correct volume label is displayed.

This is expected but rare if the communication between the kernel and library is too slow to setup
https://github.com/dokan-dev/dokany/blob/master/sys/volume.c#L52-L74

Thank you for your reply.


specialisation: replace nesting with named configurations

nested configurations are pretty neat! But then they do this weird thing where they just get enumerated ... and that is super strange. I think adding specialisation with named configurations makes this feature very powerful and accessible.
Things done

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

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

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

Rebase? I would totally finish this or do whatever to get it merged.

conflict is this https://github.com/NixOS/nixpkgs/pull/81241

@grahamc I did @andrew-d request, rebased, and sparkled :sparkles:  the note slightly with links to options.

@GrahamcOfBorg test specialisation

It seems we have conflicting spellings for specialization or specialisation https://ell.stackexchange.com/questions/129226/what-is-the-difference-between-specialization-and-specialisation. When adding to the note I found myself tying specialization.

@GrahamcOfBorg test specialisation
(turns out the test was actually spelled the other way :grin: )

@GrahamcOfBorg test acme caddy nginx-etag nginx

@GrahamcOfBorg test specialisation
@GrahamcOfBorg test acme caddy
@GrahamcOfBorg test nginx-etag nginx

:sparkling_heart: Love this.

I'm not sure how feasible this is to implement, but it'd be very useful if nixos-rebuild switch kept the current specialization. Currently, I have to do nixos-rebuild boot and then manually switch.


windows build for r-rstan

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

WIndows with r-base3.6 builds with modified bld.bat script to properly set CXX14 variable. Windows r-base4.0 not working with unsatisfiable dependency issues.

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

@conda-forge/r ready for review

Do the added maintainers agree to be added to this feedstock?
@oblute @ndmaxar @RyanHackney

There is no conda-forge r-v8 build for windows and the defaults channel has it only for R 3.6. That is why only the win R 3.6 build works.

Do the added maintainers agree to be added to this feedstock?
@oblute @ndmaxar @RyanHackney

@oblute and @ndmaxar have agreed. i have removed @RyanHackney from maintainers, for now

ok should be good to go now


@craigspaeth: use larger image for show carousel on partner profile

fixes https://github.com/artsy/force/issues/165


Update AbstractHANADialect.java

getColumnComment must have a space as first character. Otherwise the column definition is wrong. Without space, we get something like "a_column varchar(30) not nullcomment" instead of "a_column varchar(30) not null comment". And hence, each create table statement fails when using comments.

could anybody please have a look at my pull request: when you compare the 1-liner in MySQLDialect.java and AbstractHANADialect.java it is really obvious that the empty space is missing.
Also i testet against MariaDB 10.6  and SAP HANA and my findings were confirmed.
MySQLDialect.java:
@Override
public String getColumnComment(String comment) {
return " comment '" + comment + "'";
}
AbstractHANADialect.java
@Override
public String getColumnComment(String comment) {
return "comment '" + comment + "'";
}

Was fixed via c


Fix #634 - add -merge-none and -merge-all flags

In addition to this initial change to sonalyze, naicreport must pass the -merge-none switch when performing its initial jobs enumeration.

Seems fixed now.


Openwrt 19.07

please merge

Merged, thank you!

What was this PR? something merged  from 19.07 to master ???

It was cherry picks from master into openwrt-19.07. Apparently Github is confused


Error with fine_tuning as True with mel generated from Glow-TTS

getting error - RuntimeError: stack expects each tensor to be equal size, but got [8192] at entry 0 and [8129] at entry 12
Do anyone have a solution to do it ?

some files smaller than segment size of 8192 data points, remove the files which are smaller than 1 sec.

some files are smaller than segment size of 8192 data points, remove the files which are smaller than 1 sec.

I ran into the same problem with files much larger than 1 sec, and I found out the padding of mel and audio in meldataset.py is negative in my case, I think padding with negative doesn't make any sense here. Should I change it into the max segment size with my data?


Validate an array of items

Codecov Report

Merging #3 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #3   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          22     25    +3
  Branches        5      6    +1
=====================================
+ Hits           22     25    +3

Impacted Files
Coverage Δ

src/validator.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fix blurry text in some cases (Chrome)

When "transform: translate3d" has not integer value like "-3001.5px" text is looking blurry in Chrome.
This fix it.

Looks like this PR has merge conflict that need to be resolved. In the interest of tidying up I'm going to close this, but can reopen if the merge conflicts are sorted. Thanks!


Update xbox_launcher model

Add store URL

Features

[x] Launche URL on ContextMenu when focus on tile with GameModel.

Done in 6917e037a103cd48aef54a05d8ed4d9950304bc6


Websocket support

Using package github.com/gorilla/websocket to server websocket connection.
When call upgrader.Upgrade(w, r, nil), it return an error:
2024/04/10 21:16:42 failed to upgrade websocket: websocket: response does not implement http.Hijacker

It seems that the response need to implement http.Hijacker interface.

This library is using JS API directly, so it's hard to provide http.Hijacker interface for Conn.
But WebSocket support can be implemented using Durable Object, so I want to try another approach (without providing http.Hijacker).
Thank you for submit this issue!

This library is using JS API directly, so it's hard to provide http.Hijacker interface for Conn.
But WebSocket support can be implemented using Durable Object, so I want to try another approach (without providing http.Hijacker).
Thank you for submitting this issue!

Hi @syumai! Have you made any progress with this approach? Been trying to make it work with websocket and Durable Objects but no luck so far.
Thanks!


SSL-Client-Certificate and Subject Alternative Names

I have a (Puppet-)generated SSL-certificate with a CN and several SANs. A stripped output of openssl-output looks like this:
# openssl x509 -in cert.crt -text
Certificate:
    ...
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: CN=Puppet CA: puppet.domain.com
        ...
        X509v3 extensions:
            ...
            X509v3 Subject Alternative Name:
                DNS:srv01.domain.com, DNS:srv02.domain.com, DNS:srv03.domain.com
        ...

Now when i use this certificate with requests, it always picks the CN to do the actual request. Meaning my remote always receives "puppet.domain.com" to verify the client-certificate against. Since the remote IS puppet.domain.com, and the client is srv01.domain.com, the verification always fails.
Is there any way, to have requests use any of the SANs to do its request?
Or is it my remote the actually only uses the CN to do verification?

Sorry...I'm confused. When you say "to do the actual request", what do you mean?

I meant when i do request.post(url, cert()..) that requests always picks the CN.
But i think thats not the problem here. I quite certain that the remote (apache) or maybe even the application (foreman) has to look at the SANs to actually do the verification since the client-certificate is sent as is, isnt it?

Correct: requests doesn't touch or extract any information at all from the client certificate. If the remote peer is failing to validate it, that's a configuration error with the remote peer.

Great, thx :-)


Question - help for

I have made CA Root certificate with "New-SelfSignedCertificateEx".
My problem is how to create domain/server/intermediate certificate which is slave to root?
Can you help me?
I have made CA Root Authority certificate. I use power shell instead makecert.exe command. I added into my trusted zone.
Now I want to create server CN=domain certificate which is extend CA authority.  I need to sign and deploy on my IIS. How to do that with ps1 language?
|-----"My ROOT CA"
|
|--------"My Slave" (DNS CN=domain.local)
I thing I need to set "Issued to" and "Issued by".
"My ROOT CA"
Issued to - My ROOT CA
Issued by - My ROOT CA
"My Slave"
Issued to - My ROOT CA
Issued by - domain.local
https://stackoverflow.com/posts/53214625/edit
I see that this script provides a way to create a CA cert with IsCA option, but how do I create a self-signed certificate signed by that CA cert ? I didnt see nay IsssuerCert or Signer Cert option.
Is it possible to update this script for that capability ? It would be helpful as I can trust a single CA cert in our team's local machines for development and test environments.

New-SelfSignedCertificateEx has -Issuer parameter: https://www.sysadmins.lv/projects/pspki/New-SelfSignedCertificateEx.aspx
You pass issuer certificate with private key (an instance of X509Certificate2 object) and new certificate will be signed by this issuer. When using -Issuer parameter:

Issuer field of new certificate is filled with Subject field value of issuer certificate
Authority Key Identifier extension is added to new certificate and its value matches Subject Key Identifier extension value of issuer certificate.

Note, that for better discoverability you may need to manually add Authority Information Access extension to leaf certificate. Also, for revocation purposes, you may need to add a CRL Distribution Points extension and/or add appropriate access method to Authority Information Access to provide OCSP server locations. These extensions are not added automatically.
Disclaimer: this approach is not production-ready. You MUST use standard CA software only in production. No OpenSSL, certreq, certutil, PowerShell shall be used in production. Only for basic test purposes.

Can I do with these steps?#Create Root CA CertNew-SelfSignedCertificateEx ....# Sign with Module: pkiclient and parameter -SignerNew-SelfSignedCertificate -Signer "CertCA.pfx"More info:https://docs.microsoft.com/en-us/powershell/module/pkiclient/new-selfsignedcertificate?view=win10-psNew-SelfSignedCertificate   [-SecurityDescriptor ]   [-TextExtension <String[]>]   [-Extension <X509Extension[]>]   [-HardwareKeyUsage <HardwareKeyUsage[]>]   [-KeyUsageProperty <KeyUsageProperty[]>]   [-KeyUsage <KeyUsage[]>]   [-KeyProtection <KeyProtection[]>]   [-KeyExportPolicy <KeyExportPolicy[]>]   [-KeyLength ]   [-KeyAlgorithm ]   [-SmimeCapabilities]   [-ExistingKey]   [-KeyLocation ]   [-SignerReader ]   [-Reader ]   [-SignerPin ]   [-Pin ]   [-KeyDescription ]   [-KeyFriendlyName ]   [-Container ]   [-Provider ]   [-CurveExport ]   [-KeySpec ]   [-Type ]   [-FriendlyName ]   [-NotAfter ]   [-NotBefore ]   [-SerialNumber ]   [-Subject ]   [-DnsName <String[]>]   [-SuppressOid <String[]>]   [-HashAlgorithm ]   [-AlternateSignatureAlgorithm]   [-TestRoot]   [-Signer ]   [-CloneCert ]   [-CertStoreLocation ]   [-WhatIf]   [-Confirm]   []Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Vadims Podans<EMAIL_ADDRESS>Date: 11/9/18  11:52  (GMT+02:00) To: Crypt32/PSPKI<EMAIL_ADDRESS>Cc: Sors<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Crypt32/PSPKI] Question - help for  (#57) New-SelfSignedCertificateEx has -Issuer parameter: https://www.sysadmins.lv/projects/pspki/New-SelfSignedCertificateEx.aspx
You pass issuer certificate with private key (an instance of X509Certificate2 object) and new certificate will be signed by this issuer. When using -Issuer parameter:
Issuer field of new certificate is filled with Subject field value of issuer certificate
Authority Key Identifier extension is added to new certificate and its value matches Subject Key Identifier extension value of issuer certificate.
Note, that for better discoverability you may need to manually add Authority Information Access extension to leaf certificate. Also, for revocation purposes, you may need to add a CRL Distribution Points extension and/or add appropriate access method to Authority Information Access to provide OCSP server locations. These extensions are not added automatically.
Disclaimer: this approach is not production-ready. You MUST use standard CA software only in production. No OpenSSL, certreq, certutil, PowerShell shall be used in production. Only for basic test purposes.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/Crypt32/PSPKI","title":"Crypt32/PSPKI","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/Crypt32/PSPKI"}},"updates":{"snippets":[{"icon":"PERSON","message":"@Crypt32 in #57: New-SelfSignedCertificateEx has -Issuer parameter: https://www.sysadmins.lv/projects/pspki/New-SelfSignedCertificateEx.aspx\r\n\r\nYou pass issuer certificate with private key (an instance of X509Certificate2 object) and new certificate will be signed by this issuer. When using -Issuer parameter:\r\n\r\n- Issuer field of new certificate is filled with Subject field value of issuer certificate\r\n- Authority Key Identifier extension is added to new certificate and its value matches Subject Key Identifier extension value of issuer certificate.\r\n\r\nNote, that for better discoverability you may need to manually add Authority Information Access extension to leaf certificate. Also, for revocation purposes, you may need to add a CRL Distribution Points extension and/or add appropriate access method to Authority Information Access to provide OCSP server locations. These extensions are not added automatically.\r\n\r\nDisclaimer: this approach is not production-ready. You MUST use standard CA software only in production. No OpenSSL, certreq, certutil, PowerShell shall be used in production. Only for basic test purposes."}],"action":{"name":"View Issue","url":"https://github.com/Crypt32/PSPKI/issues/57#issuecomment-437308171"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/Crypt32/PSPKI/issues/57#issuecomment-437308171",
"url": "https://github.com/Crypt32/PSPKI/issues/57#issuecomment-437308171",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [Crypt32/PSPKI] Question - help for  (#57)",
"sections": [
{
"text": "",
"activityTitle": "Vadims Podans",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@Crypt32",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueComment",\n"repositoryFullName": "Crypt32/PSPKI",\n"issueId": 57,\n"IssueComment": "{{IssueComment.value}}"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueClose",\n"repositoryFullName": "Crypt32/PSPKI",\n"issueId": 57\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/Crypt32/PSPKI/issues/57#issuecomment-437308171"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "MuteNotification",\n"threadId": 408327941\n}"
}
],
"themeColor": "26292E"
}
]

Sorry, the message is unreadable.

My bad. Please check attached image Thanks.Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Vadims Podans<EMAIL_ADDRESS>Date: 11/17/18  22:33  (GMT+02:00) To: Crypt32/PSPKI<EMAIL_ADDRESS>Cc: Sors<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Crypt32/PSPKI] Question - help for  (#57) Sorry, the message is unreadable.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/Crypt32/PSPKI","title":"Crypt32/PSPKI","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/Crypt32/PSPKI"}},"updates":{"snippets":[{"icon":"PERSON","message":"@Crypt32 in #57: Sorry, the message is unreadable."}],"action":{"name":"View Issue","url":"https://github.com/Crypt32/PSPKI/issues/57#issuecomment-439645686"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/Crypt32/PSPKI/issues/57#issuecomment-439645686",
"url": "https://github.com/Crypt32/PSPKI/issues/57#issuecomment-439645686",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [Crypt32/PSPKI] Question - help for  (#57)",
"sections": [
{
"text": "",
"activityTitle": "Vadims Podans",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@Crypt32",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueComment",\n"repositoryFullName": "Crypt32/PSPKI",\n"issueId": 57,\n"IssueComment": "{{IssueComment.value}}"\n}"
}
]
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/Crypt32/PSPKI/issues/57#issuecomment-439645686"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "MuteNotification",\n"threadId": 408327941\n}"
}
],
"themeColor": "26292E"
}
]

There is no attachments when replying via email. Try to post via web site, not email.


Is that possible to delay the response?

Hi,
I wonder if that's possible to configure an imposter to return a response after a certain delay?
I'm trying to verify that a loading indicator appears on a screen while the request is in progress.
Thanks

Hi Misha,
Absolutely!  Check out the wait behavior here
http://www.mbtest.org/docs/api/behaviors
On Monday, July 27, 2015, Misha Moroshko<EMAIL_ADDRESS>wrote:

Hi,
I wonder if that's possible to configure an imposter to return a response
after a certain delay?
I'm trying to verify that a loading indicator appears on a screen while
the request is in progress.
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/bbyars/mountebank/issues/71.

--
Sent from Gmail Mobile

Great, thanks!!


REST Connect security scheme precedence

@mcampo , would you please confirm this small change, or delegate to someone on the Exchange team to confirm?

And @giordanolucas , thank you very much for the PR!

@wwarner-salesforce this looks fine to me. Thanks, @giordanolucas for the PR!


Create releases

If we want to include this module via composer, a release would be very helpful. I'd suggest creating a 3.0 and a 2.0 release.
@gowrizrh @aligent-lturner Thanks for your great work on this module!

I've created a new release and bumped one minor version up from the ported project. v3.2.0 and v2.6.0-beta (as I haven't tested it since). If anyone's willing to do that before I get to it we can release a stable release, if not it might be a while until I get to it.

Thank you! Due to a configuration error, I didn't receive and emails from GitHub, so I've just seen it now.


Please make Explorer view have a better design color pallete

Issue Type: Feature Request
Currently, navigating/searching through files and folders in Explorer view is terrible: everything is a gray color (the file/folder names, the backgroud color, even the icons of the files have gray tint).
Very visually unpleasing. Please make it as Solution Explorer in Visual Studio.
VS Code version: Code 1.48.2 (a0479759d6e9ea56afa657e454193f72aef85bd0, 2020-08-25T10:13:11.295Z)
OS version: Windows_NT x64 10.0.19041

Colors are customisable, please use a different theme, or just pick the colors you like via
workbench.colorCustomisations settings


[bug] Crash clicking on article details link

Please look at attached screenshot, this article crashes

@hkacha I am bumping up the priority since this is critical issue. Please take care of this issue first.


GitHub cypress action updates

Run scheduled-cypress-run-production on the latest release tag.

Changes will be merged into testing fixes PR.


Maintenance: adopt Dependabot multi-directory config

Summary
GitHub just announced a public beta for multi-directory configurations for Dependabot.
Today our Dependabot config has multiple entries for the same package manager, for example here and here.
This new setting allows us to specify multiple directories under the same config group.
Why is this needed?
So that the Dependabot config is simplified.
Which area does this relate to?
Automation
Solution
No response
Acknowledgment

[X] This request meets Powertools for AWS Lambda (TypeScript) Tenets
[ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET

Future readers
Please react with 👍 and your use case to help us understand customer demand.

I would like to take this issue :)


How to add more cards underneath existing cards dynamically?

This is my need:
After swiping, when there are only 5 cards left, I need to insert/append more cards
How to achieve this?

As of swipe_cards: ^2.0.0+1, there is no direct method to handle this. But you can achieve this with the following approach.
Check addNewCards();  // Add this line on the 5th last card you add.
_swipeItems.add(SwipeItem(
          content: Content(text: _names[i], color: _colors[i]),
          likeAction: () {
            ScaffoldMessenger.of(context).showSnackBar(SnackBar(
              content: Text("Liked ${_names[i]}"),
              duration: Duration(milliseconds: 500),
            ));
            addNewCards();  // Add this line on the 5th last card you add.
          },
          nopeAction: () {
            ScaffoldMessenger.of(context).showSnackBar(SnackBar(
              content: Text("Nope ${_names[i]}"),
              duration: Duration(milliseconds: 500),
            ));
            addNewCards();  // Add this line on the 5th last card you add.
          },
          superlikeAction: () {
            ScaffoldMessenger.of(context).showSnackBar(SnackBar(
              content: Text("Superliked ${_names[i]}"),
              duration: Duration(milliseconds: 500),
            ));
            addNewCards();  // Add this line on the 5th last card you add.
          },
          onSlideUpdate: (SlideRegion? region) async {
            print("Region $region");
          }));

As of swipe_cards: ^2.0.0+1, there is no direct method to handle this. But you can achieve this with the following approach.
Check addNewCards(); // Add this line on the 5th last card you add.
_swipeItems.add(SwipeItem(
          content: Content(text: _names[i], color: _colors[i]),
          likeAction: () {
            ScaffoldMessenger.of(context).showSnackBar(SnackBar(
              content: Text("Liked ${_names[i]}"),
              duration: Duration(milliseconds: 500),
            ));
            addNewCards();  // Add this line on the 5th last card you add.
          },
          nopeAction: () {
            ScaffoldMessenger.of(context).showSnackBar(SnackBar(
              content: Text("Nope ${_names[i]}"),
              duration: Duration(milliseconds: 500),
            ));
            addNewCards();  // Add this line on the 5th last card you add.
          },
          superlikeAction: () {
            ScaffoldMessenger.of(context).showSnackBar(SnackBar(
              content: Text("Superliked ${_names[i]}"),
              duration: Duration(milliseconds: 500),
            ));
            addNewCards();  // Add this line on the 5th last card you add.
          },
          onSlideUpdate: (SlideRegion? region) async {
            print("Region $region");
          }));

Thank you.
But what does the addNewCards() function looks like?
Is it just adding new items to _swipeItems list variable?
Should we recreate the MatchEngine?
Can you give more complete example?

You can just add new items to _swipeItems and call setState()


support for pwd-protected registry and content trust

@kcsraju this is the umbrella/vague issue I mentioned.
For registry auth we probably need to add an imagePullSecret field in the kdapp role (and likely a top-level defaut too). That would then get stuffed into the pod template of the corresponding statefulset.


target type: none -> sourceLibrary ?

trying to import and catched this:
Error: module simple_future is in file 'simple_future.d' which cannot be read

dub.sdl was misconfigured - pushed a fix


[RELEASE-1.12] GO-2024-2611: Bump google.golang.org/protobuf to v1.33.0

What this PR does / why we need it:

https://pkg.go.dev/vuln/GO-2024-2611

Which issue(s) this PR fixes:
JIRA: https://issues.redhat.com/browse/SRVCOM-2997
Does this PR needs for other branches:
No, 1.14 and up are fine.
Does this PR (patch) needs to update/drop in the future?:
No

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.84%. Comparing base (73029be) to head (0f48ead).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@                Coverage Diff                @@
##           release-v1.12      #83      +/-   ##
=================================================
+ Coverage          79.73%   81.84%   +2.11%
=================================================
  Files                 26       26
  Lines               1944     1548     -396
=================================================
- Hits                1550     1267     -283
+ Misses               301      188     -113
  Partials              93       93

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


Issue #862 solution without webpack 2

What problem does this feature solve?
Issue #862 fix a problem on lazy load with webpack 2 ,
but I just use the RequireJS  VueJs 2.0   ES5 .
How can I fix this problem ?
Did this has any other solutions ?
(PS: Problem description the same as Issue #1074)
What does the proposed API look like?
I hope the problem doesn't just be fix on the Third plugin .
I wish it be fixed in vue-router .
That's all thanks .

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.

I'm sorry, I haven't used requirejs in a very long time, but it sholud work as long as you return a promise, check https://router.vuejs.org/en/advanced/lazy-loading.html


asyncio syntax error

While following the asyncio tutorial I am getting a syntax error.  I am using the"QT Py Haxpress" uf2.
async def read_color(curent_color): <------  SyntaxError: invalid syntax
while True:
r, g, b, c = apds.color_data
print("Red: {0}, Green: {1}, Blue: {2}, Clear: {3}".format(r, g, b, c))
curent_color.value = (r, g, b)
await asyncio.sleep(0.2)
in the REPL:

'>>>' import asyncio
Traceback (most recent call last):
File "", line 1, in
File "asyncio/init.py", line 14, in
File "asyncio/core.py", line 15, in
ImportError: no module named 'select'
code_py.zip

The QT Py SAMD21 board, and all SAMD21 boards, do not have enough firmware space for async/await support. Sorry! Do you have another board, like an RP2040?

Totally do.  I will try them out.  Thought I would be safe with the attached flash chip.

Works like a charm on the QTPY RP2040. Thanks for the help!!!!


Expense - Leave option doesn't appear on invitee to a IOU thread

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.38-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4986423
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

In a 1:1 conversation between 2 users - Send 2 IOUs
In the report conversation mention a external user (invitee)
In the actionable whisper, select to invite the user
Copy the report URL and send it to the Invitee
Login as the invitee
Navigate to the report URL and open the header

Expected Result:
The options to share, pin/unpin, and leave are displayed in the conversation details
Actual Result:
The option to leave is only displayed after leaving a message to one of the threads and only on the IOU
Workaround:
Unknown
Platforms:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/b9119bf2-40ae-4606-8c94-e32e24859dcf

View all open jobs on GitHub

@joekaufmanexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Proposal
Please re-state the problem that we are trying to solve in this issue.
Leave option doesn't appear on invitee to a IOU thread
What is the root cause of that problem?
BE sets notification preference to CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN. This causes the ReportUtils.canLeaveChat function to return false.
https://github.com/Expensify/App/blob/d009d8ed4830c7d0562c524c991b8a688e2b4869/src/pages/ReportDetailsPage.tsx#L249
https://github.com/Expensify/App/blob/d009d8ed4830c7d0562c524c991b8a688e2b4869/src/libs/ReportUtils.ts#L7547-L7549
What changes do you think we should make in order to solve the problem?
Add true as an argument to the getReportNotificationPreference function. It will use CONST.REPORT.NOTIFICATION_PREFERENCE.ALWAYS as a default value
https://github.com/Expensify/App/blob/d009d8ed4830c7d0562c524c991b8a688e2b4869/src/libs/ReportUtils.ts#L7547-L7549
-    if (getReportNotificationPreference(report) === CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN) {
+    if (getReportNotificationPreference(report, true) === CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN) {

Proposal
Please re-state the problem that we are trying to solve in this issue.
Leave option doesn't appear on invitee to a IOU thread
What is the root cause of that problem?
BE sets notification preference to CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN. This causes the ReportUtils.canLeaveChat function to return false.
https://github.com/Expensify/App/blob/d009d8ed4830c7d0562c524c991b8a688e2b4869/src/pages/ReportDetailsPage.tsx#L249
https://github.com/Expensify/App/blob/d009d8ed4830c7d0562c524c991b8a688e2b4869/src/libs/ReportUtils.ts#L7547-L7549
What changes do you think we should make in order to solve the problem?
Pass false to the shouldDefaltToHidden parameter in the getReportNotificationPreference function. It will use CONST.REPORT.NOTIFICATION_PREFERENCE.ALWAYS as a default value
https://github.com/Expensify/App/blob/d009d8ed4830c7d0562c524c991b8a688e2b4869/src/libs/ReportUtils.ts#L7547-L7549
-    if (getReportNotificationPreference(report) === CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN) {
+    if (getReportNotificationPreference(report, false) === CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN) {

https://github.com/Expensify/App/blob/d009d8ed4830c7d0562c524c991b8a688e2b4869/src/libs/ReportUtils.ts#L1172-L1177

Proposal
Please re-state the problem that we are trying to solve in this issue.
Leave option doesn't appear on invitee to a IOU thread
What is the root cause of that problem?
The BE sets the notification preference to CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN, which causes the ReportUtils.canLeaveChat function to return false.
https://github.com/Expensify/App/blob/d009d8ed4830c7d0562c524c991b8a688e2b4869/src/pages/ReportDetailsPage.tsx#L249
https://github.com/Expensify/App/blob/d009d8ed4830c7d0562c524c991b8a688e2b4869/src/libs/ReportUtils.ts#L7547-L7549
This check was accidentally added in https://github.com/Expensify/App/pull/40529. Prior to this PR, the notification preference was not being checked: https://github.com/Expensify/App/pull/40529/files#diff-a85e40561837eb28d893b4b0087cb33a3f772ff4b3e082036ac882d74c545452L160-L162
After: https://github.com/Expensify/App/pull/40529/files#diff-577fcc5f3a5e4930916ff310e61c38edfa093792fe3ab55b9a30d2aecd8811dbR6480-R6482
What changes do you think we should make in order to solve the problem?
Remove the following lines
https://github.com/Expensify/App/blob/d009d8ed4830c7d0562c524c991b8a688e2b4869/src/libs/ReportUtils.ts#L7547-L7549

@IuliiaHerets could you share why you think this is a bug? It doesn't seem like one to me. Before you send a reply on the IOU thread, it's just a message in the parent chat room (rather than a thread in its own right that you can join/leave). So it makes sense to me that we add the leave button once the IOU message has a reply, as that's when it becomes a thread of it's own.

Closing for now as I think this is expected behavior.


Public Holiday in Australia is only for Northern Territory (First Monday in August)

Which country is affected? AUSTRALIA

The "IsPublicHoliday" is returning true for Australia for the 1st Monday in August (in this case, the 5th of August 2019).
This is not an Australian public holiday, but a regional one only for Northern Territory.
However, using the "IsOfficialPublicHolidayByCounty" does not recognise this.
Console.WriteLine("All Australia (5th August): " + DateSystem.IsPublicHoliday(new DateTime(2019, 08, 05), CountryCode.AU).ToString());
Console.WriteLine("Northern Territory (5th August): " + DateSystem.IsOfficialPublicHolidayByCounty(new DateTime(2019, 8, 5), CountryCode.AU, "AU-NT").ToString());
Console.WriteLine("Western Australia (5th August): " + DateSystem.IsOfficialPublicHolidayByCounty(new DateTime(2019, 8, 5), CountryCode.AU, "AU-WA").ToString());

Should return;

All Australia (5th August): False
Northern Territory (5th August): True
Western Australia (5th August): False

But actually returns;

All Australia (5th August): True
Northern Territory (5th August): False
Western Australia (5th August): False

You are use the wrong countyCode AUS-NT


Allow firewall rules to use Mustache file includes

Mustache provides the concept of including partials:
base.mustache:

Names

{{#names}}
  {{> user}}
{{/names}}

user.mustache:
{{name}}

We have a lot of firewall rules so it would be useful to be able to include them from other files to keep things easy to read and change.
It looks like this would require changes to vcloud-core, specifically Vcloud::Core::ConfigLoader.load_config.

Thank you for your interest in this project but we now consider it
both feature complete for our own usage and in maintenance mode.
While we will not be investing any more development time in this
project we may still include pull requests.


Add fuzzer to integrate Filament with OSS-fuzz

This PR adds a build script to integrate Filament with OSS-fuzz.
I will shortly be setting up the integration on the OSS-fuzz side which will use the build file in this PR.
The build script builds the existing libFuzzer fuzzers and their corpora. Having Filament being fuzzed by OSS-fuzz will allow contributors to OSS-fuzz to work on Filaments fuzzing suite, and it will allow more resources to run the fuzzers.
I will be happy to both work on more fuzzers for the Filament project as well as gradually integrate the oss-fuzz build into Filaments build system.
Signed-off-by: AdamKorcz<EMAIL_ADDRESS>

Thanks for this PR but could you explain the point of it? That build file is added to a third party dependency (spirv) but build what seems to be random parts of our build tree. This doesn't seem to be the right location for this build script at all. Also this seems like it should be part of the build system itself? Last but not least this seems to fuzz our 3p libraries; is the goal to test those libraries? If so this is definitely outside of the scope of our repository.

I apologize for the confusion in the original PR message.
Fuzzing is a way of testing software applications whereby pseudo-random data is passed to a target application with the goal of finding bugs and vulnerabilities. OSS-fuzz is a project by Google that offers free resources and infrastructure for critical open-source projects.
The goal of integrating into OSS-fuzz is to allow continuous fuzzing of Filaments existing fuzzers as well as future fuzzers. This will allow Google to run the fuzzers continuously and notify maintainers if/when bugs are found.
Looking forward, more fuzzers should be added to the project to test other parts of the code, and including these in the OSS-fuzz integration will allow them to run for longer time and look for harder-to-find bugs.
In that context, I will be happy to provide answers to your specific questions.

That build file is added to a third party dependency (spirv) but build what seems to be random parts of our build tree.

oss_fuzz_build.sh builds the parts of Filament that are required for the existing fuzzers. Some parts are left out as they will not build in the OSS-fuzz environment. oss_fuzz_build.sh is meant to be used to build the fuzzers on the OSS-fuzz platform. I have set up a draft of the files on the OSS-fuzz side, and in the Dockerfile (https://github.com/google/oss-fuzz/pull/4896/files#) oss_fuzz_build.sh is used to build the fuzzers.

This doesn't seem to be the right location for this build script at all

The location of the build script is a suggestion. If it does not fit into the structure of the project I am happy to relocate it. Let me know whereto.

this seems like it should be part of the build system itself?

Absolutely! Integration into the build system can be a large project in itself, and my preference is to begin with a build script as it is in this PR and then move on to integrating this process into the build system. I will be happy to commit to this after Filament has integrated with OSS-fuzz.

Last but not least this seems to fuzz our 3p libraries; is the goal to test those libraries?

The build script builds all the libFuzzer fuzzers in the Filament repository except for the fuzzer at third_party/cgltf/fuzz/main.c which I will be happy to add. The existing fuzzers like you mention target third party libraries.
The reason that fuzzers for third party libraries are not only hosted in Filaments repository but also run through Chromium fuzzing (based on the existing BUILD.gn file) I cannot comment on. I am merely providing the script that also includes those fuzzers in the build process. The Spirv-tools fuzzers were integrated by @bejado.
If it is not important to run the Spirv-tools fuzzers continuously, I will be happy to remove those from the build script.
Finally, I will be happy to write more fuzzers for the Filament project progressively.

Thanks for the context. I know what fuzzing is about but it wasn’t clear what the intentions were in the context of Filament. I don’t think we should build any 3p fuzzer. It’s not Filament’s responsibility and we certainly don’t want to become a point of contact for issues in 3p libraries that already have their own fuzzers. Having fuzzers that are specific to Filament would make more sense (where it’s relevant of course since filament only processes data in a few places, mostly in offline tools).

Sounds fair to me.
Are you open to progressing with OSS-fuzz integration with the build script as it is now as a first step? If so, then I suggest that I add a fuzzer that targets a core part of Filament so we get Filament up and running through OSS-fuzz.
This may be a matter for a separate issue but would you like a PR that removes the existing 3p fuzzers?

I have now removed the build script and added a fuzzer for the material parser. For now we can host the build script for the fuzzers on the OSS-fuzz repository. I have added a build script on the OSS-fuzz side for the fuzzer in this PR: https://github.com/google/oss-fuzz/pull/4896.
Once the fuzzer here is merged, the fuzzer in this PR will be able to run continuously through OSS-fuzz.
I will be happy to progressively add more fuzzers to Filament. There are a few targets that seem ideal to fuzz, but I do need a bit more time to study the codebase.

@romainguy Kind reminder. Let me know if there is anything I can do from my side for landing this.

Thanks for your submission but this is not something we want to take on at this point. I love the idea of fuzzing our code but I don't want to maintain builds in another context than ours.

I don't want to maintain builds in another context than ours

The build for these fuzzers can be integrated into Filaments CMake build system. I will be happy to do this, if it means that Filament can be fuzzed continuously.


Change to OpenFunction

Signed-off-by: Benjamin Huo<EMAIL_ADDRESS>

Hold on merging this because I'm still updating

Tests done for this PR, merge it into master


Trying to load openapi 3.0 file produces error

When trying to import this file to the openapi parser, I get
Cannot invoke: "String.equals(Object)" because the return value of "java.net.URI.getSchreme()" is null.

I have the same issue with a non-public openapi definition.

Finally found time to take a look at this ticket. I can confirm that this is not a bug, your file is not getting parsed by design. Indeed, your API spec lacks a scheme field as clearly stated in the error message, this is a valid OpenAPI v3 scheme in YAML:
servers:
  - url: http://petstore.swagger.io/v1

As mentioned, many times already, OpenAPI parser is very strict when it comes to the syntax and closely follows the OpenAPI standard. Therefore, you need to provide all the mandatory fields.
See the following for a working YAML example:

https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml

The above example works just fine with OpenAPI Parser.
Hope this help, I am now closing this ticket.


Ensure MySQL driver disconnect on failure

Fixes #173

SQLite driver is vulnerable to the same thing...
Would be great to have a unit test for this. E.g. ensure that cursor.commit throws an exception, then try to use the connection again.

SQLite driver is vulnerable to the same thing

I'll include that, too then.

Would be great to have a unit test for this. E.g. ensure that cursor.commit throws an exception, then try to use the connection again.

I'll do that in a new issue / pr.

Too slow 😎
#175


TILA-2038 | Include REQUIRES_HANDLING to going_to_occur qs method

Change log

REQUIRES_HANDLING to ReservationQueryset.going_to_occur

Long notes
In reservations queryset we have util queryset function to get reservations that are going to occur e.g not cancelled or denied. The method is used in various places and it was lacking the REQUIRES_HANDLING state which also means that the reservation is going to occur.
This adds REQUIRES_HANDLING state to going_to_occur method.
Refs TILA-2038

yes, oneliners, they often need biggest explanations 😅