Reloading trusted HTML on scroll

I am trying to embed some HTML that I know is trusted (from oembeds) and use them in a loop.  They display fine, but whenever I go to scroll (by even a pixel) it reloads all the iframes on the page.  You can see this happening in this plunker:
https://plnkr.co/edit/qklbNzvDSOzoI2t0K7fA?p=preview

hi.
this is DOM behavior - here's a related description - http://stackoverflow.com/questions/14864821/jquery-ui-effect-causes-iframe-reload


Add support for bottlerocket kubernetes settings

Issue #, if available:
https://github.com/aws/eks-anywhere/issues/5070
Description of changes:
Allow users to configure the following kubernetes settings on their EKS-A bottlerocket control plane and worker nodes

allowed-unsafe-sysctls
max-pods
cluster-dns-ip

Example config
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: VSphereMachineConfig
metadata:
  name: test
spec:
  datastore: "/SDDC-Datacenter/datastore/WorkloadDatastore"
  diskGiB: 22
  folder: "/SDDC-Datacenter/vm/eksa"
  memoryMiB: 8192
  numCPUs: 2
  osFamily: bottlerocket
  resourcePool: "/SDDC-Datacenter/host/Cluster-1/Resources/Compute-ResourcePool"
  hostOSConfiguration:
    bottlerocketConfiguration:
      kubernetes:
        maxPods: 50
        clusterDNSIPs:
          - <IP_ADDRESS>
        allowedUnsafeSysctls:
          - "net.core.somaxconn"
          - "net.ipv4.ip_local_port_range"
  users:
  - name: ec2-user

Verified the config on the bottlerocket nodes using apiclient
$ apiclient get settings.kubernetes.max-pods
{
  "settings": {
    "kubernetes": {
      "max-pods": 50
    }
  }
}

$ apiclient get settings.kubernetes.allowed-unsafe-sysctls
{
  "settings": {
    "kubernetes": {
      "allowed-unsafe-sysctls": [
        "net.core.somaxconn",
        "net.ipv4.ip_local_port_range"
      ]
    }
  }
}

$ apiclient get settings.kubernetes.cluster-dns-ip
{
  "settings": {
    "kubernetes": {
      "cluster-dns-ip": "<IP_ADDRESS>"
    }
  }
}

Testing (if applicable):
Created the cluster and verified the kubernetes settings are being configured on bottlerocket propely
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/unhold

/retest

/woof

/lgtm

/approve


Info about dashboards

Description
Info about dashboards
Type of change

Documentation update

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Patch and project coverage have no change.

Comparison is base (bf1089b) 69.10% compared to head (17a8b6b) 69.10%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1066   +/-   ##
=======================================
  Coverage   69.10%   69.10%
=======================================
  Files          25       25
  Lines        3628     3628
=======================================
  Hits         2507     2507
  Misses        863      863
  Partials      258      258

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Added into different pull request -> closing this one.


When create custom image ,there is always show jenkins preparing.....

In GitLab by @sokril on Dec 5, 2017, 10:37
If you are reporting a problem, please make sure the following information are provided:

Version of board (last git commit number) , docker engine and docker-compose.
Config files of board, you can get them by packaging "board.cfg" and files in the same directory, including subdirectory.
Log files, you can get them by package the /var/log/board/.
Other necessery information.

In GitLab by @luotian-github on Nov 8, 2019, 07:42
git code 2017/12/04

In GitLab by @yhua123 on Nov 8, 2019, 07:42
need reproduce

In GitLab by @wknet123 on Nov 8, 2019, 07:42
This issue has fixed with PR #691, please checkout the latest code, and make sure to configure host_name as host IP in board.cfg correctly, then make prepare again before start.

In GitLab by @sokril on Nov 8, 2019, 08:15
closed

In GitLab by @sokril on Nov 8, 2019, 08:15
assigned to @wknet123


Vsearch 15: fixes for Hornet

Fixes are straightforward but tagging @mike-tr-adamson as reviewer for visibility on the last commit -- it cuts merge iterator advance time almost in half which is meaningful on a multi predicate query

Do we want to let this supersede https://github.com/datastax/cassandra/pull/726?


Don't stop a test on failure, instead log it and continue

What is your Test Scenario?
Currently for a test, when it encounter's an error, it fails and stops and starts running next test in the test suite
What are you suggesting?
On failure of a test, don't end that test. Instead log the failure and continue running the test until completion or until some predefined timeout
What alternatives have you considered?
I was thinking of creating an interrupt handler for test failures but not sure where to add that in testcafe code.
Also, if this is a big request, could you please let me know where in testcafe code I can make changes so it ignores stopping on test failures altogether and instead logs it?
Additional context
This feature is useful when working with a non-deterministic/randomized program where it is impossible to get rid of all errors/failures but instead the goal is to measure total number of failures seen in a given time. So, we can use this info to guide the development to reduce the total failures seen per unit time.

Hello @Akshay-Kawlay,
Thank you for your suggestion.
This task looks complex. Besides, we are not sure that many people really need this feature.
The simplest way to do it in the test is to wrap a particular step with try ... catch and log the error.

After the test fails at a certain step, your page may end up in the undetermined state, so further checks may be useless. Could you please describe in greater detail for what cases and errors you need to skip failures? This information will help us in our discussion of this feature.

Hello, sorry for the late response. I tried a custom built testcafe workaround for this by increasing the QUARANTINE_THRESHOLD and DISCONNECT_THRESHOLD to a big value like a million however testcafe still quits after like 1000 restarts with this error : ERROR The Chrome 89.0.4389.90 / Linux 0.0 browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues.
Is there something else that causes this error and forces testcafe to stop?
Thanks in advance!

duplicated in
https://github.com/DevExpress/testcafe/issues/6246
and
https://stackoverflow.com/questions/67660525/manually-setting-quarantine-threshold-and-disconnect-threshold-in-testcafe-does/67683650#67683650


Composable refactor

Change all app subclasses to inherit from the parent Composable class

@Nick-Foto there are conflicts in test_composable.py


Move lua scripts out of CT files

For better maintainability, I would recommend to move the lua scripts outside of the Cheat Tables, and just put the corresponding imports there. That way you can use whatever code editor you like, split the scripts into separate modules, and can browse the code on Github

I agree, this just went too fast too big and I didn't bother to split it. Thanks for the recommendation. Done with commit https://github.com/J-T-de/CrusaderData/commit/1618436c192106c78d879d0a49b2542b43d7ca6a.


WIP: Plot rework for the verifier-opt-plot

Adapts the b_verifier_report_opt_plot plot to the click CLI.
Merges with the f-PlotRework branch.

Currently untested due to an error in the generation of BlameVerifierOpt reports:
...benchbuild/environments/entrypoints/cli.py", line 15, in  rich.traceback.install() AttributeError: module 'rich' has no attribute 'traceback'


gitter: 4.1.0 -> 5.0.1

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gitter/versions.
meta.description for gitter is: "Where developers come to talk"
meta.homepage for gitter is: ""
meta.changelog for gitter is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 5.0.1 with grep in /nix/store/81nd5aq92zcf05pary3rvn4fpp98m4d4-gitter-5.0.1

directory tree listing: https://gist.github.com/6785ed80908cbb6a6050088b7b315307

du listing: https://gist.github.com/f68309cab2a32241070917898cf93f93

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
gitter

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/81nd5aq92zcf05pary3rvn4fpp98m4d4-gitter-5.0.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gitter https://github.com/r-ryantm/nixpkgs/archive/bc532ba9f6a873d1dc7998246c0f0a4449e61802.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/81nd5aq92zcf05pary3rvn4fpp98m4d4-gitter-5.0.1
ls -la /nix/store/81nd5aq92zcf05pary3rvn4fpp98m4d4-gitter-5.0.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:
- gitter

Maintainer pings
cc @IvanMalison for testing.

Bin fails at runtime with:
./results/gitter/bin/Gitter: error while loading shared libraries: libdrm.so.2: cannot open shared object file: No such file or directory

Updated now.


relayer ropsten network integration not working

I tried running the ropsten netwrok integration for automatic relaying process but it seems it is not working properly.The relayer is not able to connect to the deployed address showing web socket issue.I have attached screenshot for the reference

Instead of using provider wss://ropsten.infura.io/, can you attempt to start the relayer with provider wss://ropsten.infura.io/ws as described in section 'Running the relayer service' of the README?
Here's a screenshot which shows the issue reproduced, and then resolved by using the recommended provider:

Thank you for the screenshots which allowed for a quick diagnosis of this issue. Please let us know if you continue having difficulty with the relayer service.

Thank you for your quick response.Its working fine now.But i saw there is some issue with the truffle_config.js it doesnt inject the .env parameters properly.So to make things work i hard coded the parameters i.e. MNEMONIC & INFURA_PROJECT_ID into the js file directly.
And also in the below command it accepts only cosmos_recipient addresses or it can accept any other prefix addresses?
yarn peggy:lock --network ropsten [HASHED_COSMOS_RECIPIENT_ADDRESS] [TOKEN_CONTRACT_ADDRESS] [WEI_AMOUNT]

I tried doing transaction after starting automatic relayer service but facing issues.I have attached screenshot for your reference.

I've opened PR https://github.com/cosmos/peggy/pull/85 which addresses both issues. Once it's merged, you'll be able to send the lock transaction with the following process:

Migrate the contracts to the ropsten network with yarn migrate --network ropsten
Send lock transaction to contract with yarn peggy:lock [HASHED_COSMOS_RECIPIENT_ADDRESS] [TOKEN_CONTRACT_ADDRESS] [WEI_AMOUNT]

As the production version of the Bridge currently supports only Ethereum -> Cosmos transfers, only hashed Cosmos recipient addresses are valid. For your initial test of the system, I recommend using the testuser address from the Bridge blockchain. You can get the testuser's address in plain text with the command ebcli keys show testuser -a.


Update Ismael's weekly meetings.md

with details for meeting on 15-Sep 2020

I'll update my weekly meetings.md for next week tomorrow after the meeting, but can't commit this one at the moment, so I don't think I can update it normally!


$stateParams always returns an empty object

This is my whole controller
app.controller('ProfileController',
   function($scope, $rootScope, wsCall, $state, $stateParams) {

    wsCall.getUserProfile(11)
        .then(function(r) {
            $scope.user = r
        })

    $rootScope.$on('$stateChangeSuccess',
        function(event, toState, toParams){
            console.log(toState, toParams)
            console.log( $stateParams )

        })
})

Problem is, console.log( $stateParams ) returns an empty object, even if console.log(toState, toParams) works correctly
output:
Object {url: "/{section}", templateUrl: "parts/profile/profile-info.html", name: "home.profile.details"} Object {section: "groups"}
Object {}

I don't see any problem with the code, but $stateParams won't cooperate...
tested w/ ui-router_0.2.7 && angular 1.2.2, angular 1.2.5

@timkindberg the url you provided was invalid. please check out the new one


Add role data source

Resolves https://github.com/elastic/terraform-provider-elasticstack/issues/82
This PR adds security role data-source in reference to existing security role resource.
https://github.com/elastic/terraform-provider-elasticstack/blob/main/internal/elasticsearch/security/role.go

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Ah, I'll fix merge conflict after another PR gets merged


I need you to provide detailed information about the API

import requests
url = "http://localhost:9000/asr?task=transcribe&encode=true&output=txt&word_timestamps=false"
payload={}
files=[
('audio_file',('D:\hello.wav',open('D:\hello.wav','rb'),'audio/wav'))
]
headers = {
'Accept': 'application/json',
'User-Agent': 'Apifox/1.0.0 (https://apifox.com)',
'Content-Type': 'multipart/form-data',
'Host': 'localhost:9000',
'Connection': 'keep-alive'
}
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)
out print
{"detail":"Missing boundary in multipart."}
There is no problem with this code, right? But why is an error returned
Can anyone provide a detailed example of the correct format

help me

The asr endpoint uses POST, not GET. Please refer to the swagger docs.


Update deps

o11yphant to 1.8
galley to 1.11
weft to 1.21

All test passed but not sure why the maven still reported there is timeout or fork error. So merged this time.


Secret configuration is problematic

Obviously storing clear-text secrets in a values file is a bad idea, however generating secrets for things like SMTP/DB/Redis/etc are not viable - one side or the other has to come first. So, clearly existingSecret is the way to go.
However, there are some problems with the way the chart handles secrets:

No documentation on the data structure for the existingSecret: through trial and error, I determined that the key fields under secret.*.key control the secret keys that should exist, but it was non-obvious from looking at the default values that these objects were relevant when specifying existingSecret - the upstream docs don't help in this regard either.
2. No way to omit certain passwords: if I'm not using a feature, I shouldn't have to provide a secret for it. Attempting to omit secrets from the secret values object by setting their parent keys to null blows up the deployment.yaml during templating, and omitting secrets from the existingSecret blows up the image at run-time, due to missing secret mounts from the deployment.
SMTP does not appear to honor the enabledSecret option, resulting in my experiences trying to disable passwords via the methods above, and rendering unauthenticated SMTP non-functional.
The enabledSecret fields lack documentation, and feel a little clumsy, since they conflict with the secret.* structure. Perhaps each object under secret should have an enabled bool instead (or I guess have handling allowing them to be set to null), then people can disable the need to supply OIDC/Duo/etc secrets if they're not using them, in addition to things that take an optional secret, like Redis/SMTP.

Edited now that I've managed to generate mostly functional output, since I can see that if featuers are disabled, their secrets are also removed from the ConfigMap.

I'm looking at secret related issues at the moment, and using lookup for previous values. This is being done in #110.

No documentation on the data structure for the existingSecret: through trial and error, I determined that the key fields under secret.*.key control the secret keys that should exist, but it was non-obvious from looking at the default values that these objects were relevant when specifying existingSecret - the upstream docs don't help in this regard either.
~2. No way to omit certain passwords: if I'm not using a feature, I shouldn't have to provide a secret for it. Attempting to omit secrets from the secret values object by setting their parent keys to null blows up the deployment.yaml during templating, and omitting secrets from the existingSecret blows up the image at run-time, due to missing secret mounts from the deployment.~

This section documents the secrets: https://github.com/authelia/chartrepo/tree/master/charts/authelia#secret
Can you either provide a concrete information on what would clear this documentation up for you? Alternatively maybe making a contribution since it's easy.

2. SMTP does not appear to honor the enabledSecret option, resulting in my experiences trying to disable passwords via the methods above, and rendering unauthenticated SMTP non-functional.

Fixing this in the same PR.

3. The enabledSecret fields lack documentation, and feel a little clumsy, since they conflict with the secret.* structure. Perhaps each object under secret should have an enabled bool instead (or I guess have handling allowing them to be set to null)~, then people can disable the need to supply OIDC/Duo/etc secrets if they're not using them, in addition to things that take an optional secret, like Redis/SMTP.~

I think maybe moving away from the extra secret section is probably better, and moving that to the specific configuration sections. Though I'm not entirely sure probably better to think about this carefully.

It's been a while, so my recollectoin of the details are a little hazy, but let me try to clarify.

I think part of the confusion for me here is that the default values for key look like env vars (all-caps), which is not how you would typically name YAML keys. I was left trying to work out how these mapped to the env vars in the upstream doco, until I worked out that actually the value for key in the secret section controlled which keys would be referenced from an existingSecret. Part of this may stem from the fact that my typical workflow is to rely on the output from helm show values for documentation (when documented), but it looks like there is a disparity between the README docs, and the comments included there. Though now that I know how it's meant to work, it's harder to evaluate whether the README docs are adequate either for new users.

Having accurate docs on the values is much easier for users to find, rather than having to track down or context-switch to the README when they're working on deploying or modifying deployments. With that in mind, it might be useful to add some comments to the first set of keys in the values, in addition to expanding the block-level comment at the top of secret to include the details from the README, e.g.
  jwt:
    # The key within the secret/existingSecret that this value will be stored/referenced
    key: JWT_TOKEN
    # The value for this key. If empty and existingSecret is not specified, a random value will be generated
    value: ""
    # The filename of this secret within the mountPath
    filename: JWT_TOKEN

I think maybe moving away from the extra secret section is probably better, and moving that to the specific configuration sections. Though I'm not entirely sure probably better to think about this carefully.

Yeah, not certain what the best approach is. Having the secret data co-located with the rest of the service-specific configuration makes some logical sense though, with the only curly bit being the interaction with existingSecret. Maybe separate secrets would make sense in that case? It's a rabbit-hole for sure.

I have in values.yml:
secret:
  existingSecret: authelia

And I have specified secrets in a separate Kubernetes manifest.
This allows separating secrets from the rest.

Do we feel like this layout is more straight forward:
configMap:
  authentication_backend:
    ldap:

      ## The username of the admin user.
      user: CN=Authelia,DC=example,DC=com

      ## The password of the admin user. This is configured as a secret value.
      secret:

        ## The name of the secret. Defaults to 'authelia'.
        name: ""

        ## The name of the key in the secret where the value is.
        key: LDAP_PASSWORD

        ## The name of the file injected into the container.
        file: LDAP_PASSWORD

        ## The raw value. If provided will be added to the generated secret.
        ## If not provided here then it must be provided via an existing secret.
        value: ""

        ## Set this to true if the secret already exists and you just wish to utilize it.
        existing: false

Do we feel like this layout is more straight forward:
configMap:
  authentication_backend:
    ldap:

      ## The username of the admin user.
      user: CN=Authelia,DC=example,DC=com

      ## The password of the admin user. This is configured as a secret value.
      secret:

        ## The name of the secret. Defaults to the chart release name.
        name: ""

        ## The name of the key in the secret where the value is.
        key: LDAP_PASSWORD

        ## The name of the file injected into the container.
        file: LDAP_PASSWORD

        ## The raw value. If provided will be added to the generated secret.
        ## If not provided here then it must be provided via an existing secret.
        value: ""

        ## Set this to true if the secret already exists and you just wish to utilize it.
        existing: false

Definitely, this makes more sense to me.

Could we add here also put here keys path, templateValue, and command, which are currently used for secret storage in HashiCorp Vault. Maybe it would make sense to prefix them by vault, eg. vaultPath.
I think, that moving secrets closer to resources they are related to is generally a good idea.

I can consider adding that to the list of things. I'm also considering removal of vault from the chart entirely and replacing it with a native vault configuration solution in Authelia itself. I just need to figure out a solution that will allow mapping a value appropriately if it's not on the correct path. The advantage is then the vault
Considering the vault injector can be configured via annotations people would still be able to use it but we could remove that complexity from the chart while providing a more robust solution overall.

Native integration would be best, but I will be able cope with removal of vault injector from chart also.
Only thing it must allow is to disable usage of k8s secrets and their auto-generation.

Done in 0.9.0-beta1


Task is never executed

I fist wanted to thank you for the absolutely great work that is given to this project, it really helped us a lot.
butI have an issue when running this project in ios device. where I get that the task is registered but I never get the task is executed.
am not sure what I did wrong knowing that I ran exactly the same project. the only thing I changed is the serviceUUID constant to connect to a different bluetooth device and this should not affect the background task creation.

I tried both switching the app off and putting the app in the background, while running the bluetooth.
I have no problem connecting while the app is in the foreground.

Having the same issue! Will share a resolution here if I find one.

Same issue, did either of you (@michaeldawson @WadhahEssam) ever get to a resolution? What other approach did you end up with?


Add passport API releases notes in the documentation

Add passport API releases notes in the documentation. Let's check with Emmanuelle first.

Moved to the documentation repository.


miningcore to external wallet (private network)

Running wallet locally on pool server works fine. When trying to run it on another server and connect over private network pool shows "Waiting for daemon to connect to peers".
What exactly does that mean? What is it waiting for in regards to connections?
The wallet machine shows it is currently connected to 12 peers.
wallet config
rpcport=8766 rpcallowip=pool server private ip port=8767 rpcuser=user rpcpassword=pass rpcbind=<IP_ADDRESS> server=1 gen=0 zmqpubhashblock=tcp://<IP_ADDRESS>:15101
From wallet server:
tcp        0      0 *:15101                 *:*                     LISTEN      13689/ravend tcp        0      0 *:8766                  *:*                     LISTEN      13689/ravend tcp        0      0 *:8767                  *:*                     LISTEN      13689/ravend tcp        0      0 wallet.priv.ip:8766         pool.priv.ip:54037        ESTABLISHED 13689
If I know just waht the poolis trying to accomplish when "Waiting for daemon to connect to peers" I can fix it. As mentioned the daemon is connected to 12 peers already.
getnetworkinfo returns
"networkactive": true,   "connections": 12,

Does the wallet respond to RPC from the pool server?
Run the following on the same machine that's running MiningCore
curl --user user:pass --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://wallet.priv.ip:8766/

Seems like it should return more but the response is:
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100    71    0     0  100    71      0    284 --:--:-- --:--:-- --:--:--   284
So it does seem like is accepted.

Please use the following format to file an issue. Thank you for your cooperation.
Description
[Description of the issue]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior
[What you expect to happen]
Actual behavior
[What actually happens]
Reproduces how often
[What percentage of the time does it reproduce?]
Version
If you are using released version, please state your version.
If you are using clone from dev branch, please state commit hash of your copy.
Also, please include the OS name and version you're currently running.
Additional Information
Any additional information, log, configuration or data that might be necessary to reproduce the issue.


Test file without augmentation

For the write_structural_prior_CV_overall step, as @skinnider pointed out, we need to test model performance against a test dataset with unique smiles that hasn't been augmented. The addition of a few snakemake steps here involving test0.* files (test0 can be read as test data with 0 augmentation ...) allows this to happen.
The test0.* file is generated by the create_training_sets step (along with all the other files it was already generating) and feeds into write_structural_prior_CV_overall. Thus, to incorporate these new rules without having to run the entire pipeline:

Run entire pipeline with old workflow (The final step write_structural_prior_CV_overall can be skipped).
snakemake --configfile ... --until collapse_train_test_data --dry-run (should want to run create_training_sets/collapse_train_test_data for every enum factor, repeat without dry-run to execute for real)

Emulate running of steps by touching these files in order:
3. touch data/0/prior/models/*
4. touch data/0/prior/samples/*
5. touch data/0/prior/structural_prior/*
6. Repeat 3,4,5 for all enum_factors (maintain order of steps)

snakemake --configfile ... --forcerun write_structural_prior_CV_overall --dry-run (should want to run write_structural_prior_CV_overall for every enum factor, repeat without dry-run to execute for real)

The above makes intuitive sense to me and I've verified this is correct on our truncated dataset, but maybe you'll want to think it through and make sure I haven't missed a step here.

I didn't try running the code, but I read through it and it seems right to me.
It may also be worth doing the comparison in write_structural_prior_CV on the basis of (string comparison of) InChI keys, rather than of (what are assumed to be) canonical SMILES.
The code that I sent Anushka (inner-canonicalize-molecules.py) calculates inchikeys for all generated molecules, and offers the option to aggregate molecules on the basis of inchikeys rather than canonical SMILES. I guess a separate preprocessing script may be needed to add inchikeys to the training set (plus PubChem and AddCarbon). The rank of the correct molecule can then be found analogously to how it's currently done on the basis of SMILES comparison:
    # get the rank of the correct molecule
    rank = matches[matches['target_inchi'] ==
                   row.inchi][['target_size', 'target_rank', 'target_smiles']]


Ticket stats entry for tickets with unique emails is missing

We had such an entry for EP2018 and it was useful to at least estimate the total number of attendees, given that we have two ticket types (training and conference, with some overlap):
https://ep2018.europython.eu/admin/conference/conference/ep2018/stats/

Looks like the changes from https://github.com/EuroPython/epcon/pull/787/files might have been merged into ep2018 and did not make it to the dev/ep2019 branch - going to restore them.

Could be, thanks for checking.
On 07.06.2019 10:48, umgelurgel wrote:

Looks like the changes from
https://github.com/EuroPython/epcon/pull/787/files might have been
merged into ep2018 and did not make it to the dev/ep2019 branch - going
to restore them.

--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Experts (#1, Jun 07 2019)

Python Projects, Coaching and Consulting ...  http://www.egenix.com/
Python Database Interfaces ...           http://products.egenix.com/
Plone/Zope Database Interfaces ...           http://zope.egenix.com/

::: We implement business ideas - efficiently in both time and costs :::
eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/
http://www.malemburg.com/


WebSocket Error 1002

NodeRed running on node v12
NodeRed Module locks up and needs "Flow Re-Deploy" to work again.
Stops at (WebSocket.js Here)
Im not sure what the real issue is as the logging only states WS 1002.
This happens after the system has been running for a while OR sometimes on UDMP reboot while NodeRed WS is connected.
If I get more info ill update here, or if I find fix.

@TestUser0000000001 can you try again?
This time run node-red with DEBUG=UniFi* env variable
Also try our latest version 0.3.0

How often are you seeing these? And which endpoint are you using?
When you set debug, note it is case sensitive UniFi*
To figure out where to set it, we need to know how you run nodered...
-if docker, you set debug somewhere in the docker config
-if running manually, you add it to your node-red start command
-if running using systemd script, you add the debug to part of the systemd script

@TestUser0000000001 @schwickster

Please try the latest dev version https://www.npmjs.com/package/node-red-contrib-unifi-os/v/0.7.0-dev.4
For debug run node-red with DEBUG=UniFi* environment variable. Example DEBUG=UniFi* node-red


Adjust spaces and sizes on sidebar

Addressing the changes discussed over skype  with @QuincyLarson, @SaintPeter and @bugron to fix #6564, as well as an unpredicted issue coming with #6584 (required for this PR) in which the absence of said button will create awkward empty spaces over the map's first content superblock.
Took the chance to improve the spacing even further — gained some additional vertical real state.

Bonus: changed the colour for the navbar hover status (brown -> darkgreen)

Closing in lieu of the combined change #6592


Filter out null parameters

Fixes NPE.
In case the test is created with a data provider providing null as a parameter, the TextReporter#logResults method will fail with NPE.
This Report is run by the surefire plugin out of the box.
java.lang.NullPointerException 	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) 	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) 	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) 	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) 	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:545) 	at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) 	at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:438) 	at org.testng.internal.Utils.extractParameterTypes(Utils.java:612) 	at org.testng.reporters.TextReporter.logResult(TextReporter.java:140) 	at org.testng.reporters.TextReporter.logResults(TextReporter.java:74) 	at org.testng.reporters.TextReporter.onFinish(TextReporter.java:34) 	at org.testng.TestRunner.fireEvent(TestRunner.java:923)

@baflQA
Your PR stands merged. Thanks for taking the time to raise this PR.

If this tiny fix will be merged, can we count on some patch version release?

We may perhaps want to accommodate a few more issues before going through with a release.


Release ngrok-operator-0.13.3 helm-0.16.0

What
Describe what the change is solving
Enable release workflows for ngrok/ngrok-operator
Update versions
make helm-update-snapshots
Update releaseing.md guide
How
Describe the solution
Breaking Changes
Are there any breaking changes in this PR?

#505  👈
main

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

Join @hjkatz and the rest of your teammates on  Graphite


Fix for custom $primaryKey

On a Model with a custom $primaryKey set, I get the following error on its index page:
Illuminate\Routing\Exceptions\UrlGenerationException Missing required parameter for [Route: statamic.cp.runway.edit] [URI: cp/runway/{model}/{record}] [Missing parameter: record]. (View: vendor/doublethreedigital/runway/resources/views/index.blade.php)
Changing to getRouteKeyName() instead of getRouteKey() fixes the error for me.

Thanks! I'll look over this after work, this evening!

Merged and tagged as part of v1.0.10


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 08:57:29 on 2023.05.04
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 4, errors out: 0
Original problem ID: 20275
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=20275

Problem has been resolved in 9m 0s at 09:06:29 on 2023.05.04
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 20275


(GH-569) Hide download count if not available

Related to #569 #564
Should I create two PRs or is this ok?

@DamianMaslanka5 thank you so much for taking the time to do this!  I have merged this into the develop branch here: https://github.com/chocolatey/ChocolateyGUI/commit/5352ec14b3689f7a5ee62bd9d35e34059d4ef548


[WIP/backport/1.23] Branch cleanups

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

merged with #25510


"Run" should always execute main project .py

Problem Description
When you have a project open, choosing "Run" (from the menu, shortcut key, or big green button) ought to execute the top-level .py file in the project.
For example, in my current project, I usually have 3 files open in the editor - my main file ("video83.py") and two library files the main file imports ("nerdlib.py" and "nerdlib_video.py")
See the screenshot below.

Right now, if I click "Run", whichever file is currently in the foreground of the editor executes.
That's fine, and expected behavior if I don't have a project open.
But if I do have a project open, I should be able to specify in the project which file will execute when I click "Run".
Because executing the wrong file (forgot to click correct editor tab before hitting "Run") wastes a lot of time while a new kernel loads and executes.
(It would be fine to also have an additional menu option "Run file being edited" that would perform the current behavior.)
What steps reproduce the problem?

Setup a project
Open multiple .py files in editor
Click run

What is the expected output? What do you see instead?
I expect that my main project .py file will run.
Instead, whichever file is in the foreground of the editor runs.
Versions

Spyder version: 3.3.1
Python version: 3.7
Operating System name/version: Win10 Pro x64

Thanks for reporting. This is a known issue and we'll fix it in Spyder 4.


Adjust labels params

depends on #271
And the last one doing the same for labels params, but also gets rid of all unused functions and adjusted docstrings for the public api.

Codecov Report
Attention: Patch coverage is 90.54441% with 33 lines in your changes are missing coverage. Please review.

Project coverage is 79.51%. Comparing base (8d13c48) to head (9b9567c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #272      +/-   ##
==========================================
+ Coverage   77.17%   79.51%   +2.33%
==========================================
  Files          12       11       -1
  Lines        1827     1635     -192
==========================================
- Hits         1410     1300     -110
+ Misses        417      335      -82

Files
Coverage Δ

src/spatialdata_plot/pl/basic.py
91.66% <100.00%> (+0.08%)
:arrow_up:

src/spatialdata_plot/pl/render_params.py
100.00% <100.00%> (ø)

src/spatialdata_plot/pl/render.py
94.57% <94.95%> (+0.30%)
:arrow_up:

src/spatialdata_plot/pl/utils.py
69.93% <86.01%> (+3.26%)
:arrow_up:


Support scorpio call/score.

Summary:

What: Copy all pangolin csv output data so we can surface it via our API if necessary, and send back scorpio info.
Ticket: sc191869
Env: <rdev link>

Notes:
This updates our pangolin job to write all of the (non-empty) pangolin output fields to our DB so we can do what we want with them later. It also adds scorpio_call and scorpio_support fields to our sample lineage API responses.
Checklist:

[x] I merged latest <base branch>
[x] I manually verified the change
[x] I added labels to my PR
[ ] I tested in multiple browsers
[ ] I added relevant unit tests
[ ] I have notified others of changes they need to make locally (migrations, jobs, package updates, etc)

The ticket also wants to add qc_status as well. Is that part of these same changes?


Virtus + Factory Girl = trouble

I'm using Virtus and it works great for what I need, but it somehow interferes with FactoryGirl when creating objects for rspecs..
Simply including Virtus.model into a model and trying to create an instance of it using FactoryGirl.create crashes spectacularly..
Here's the full stacktrace:
←[K  1) V1::ShopsController Example test Should work
     Failure/Error: @shop = create(:shop)
     NoMethodError:
       undefined method `delete' for nil:NilClass
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/attribute_methods/write.rb:37:in `write_attribute'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/attribute_methods/dirty.rb:70:in `write_attribute'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/attribute_methods/write.rb:19:in `__temp__e616d656='
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/attribute_methods.rb:126:in `method_missing'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/attribute_assigner.rb:16:in `block (2 levels) in object'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/attribute_assigner.rb:15:in `each'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/attribute_assigner.rb:15:in `block in object'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/attribute_assigner.rb:14:in `tap'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/attribute_assigner.rb:14:in `object'
     # H:in `object'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/strategy/create.rb:9:in `result'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/factory.rb:42:in `run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/factory_runner.rb:23:in `block in run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications.rb:161:in `instrument'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/factory_runner.rb:22:in `run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/factory_girl-4.3.0/lib/factory_girl/strategy_syntax_method_registrar.rb:20:in `block in define_singular_strategy_m
ethod'
     # ./spec/controllers/v1/shops_controller_spec.rb:187:in `block (3 levels) in <top (required)>'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:237:in `instance_eval'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:237:in `instance_eval'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:21:in `run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `block in run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `each'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:345:in `run_before_each_hooks'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:294:in `run_before_each'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:113:in `block in run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:108:in `call'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:108:in `run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
     # H:/_work/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'

From what I could glean by browsing through the source code of ActiveRecord (4.0), the @attributes_cache hash isn't initialized.. the initialization happens in a method called init_internals (in file core.rb of AR), which in turn is called in initialize (and some other places)..
For whatever reason, when including Virtus.model, this "process" is skipped and that hash (and some others) are nil, therefore leading to this error.
Once again, this works fine when calling from a controller, it's creating with FactoryGirl that causes the issue.
Any idea about this behavior? Been pulling my hairs for the past few days over this..
Let me know if you need other details!
Thanks a lot in advance!

@solnic fyi I ran into the same issue  but for a different reason.  I think this could be avoided by making the guidance in README under Embedded Value more explicit. I (now) assume the only objects that can be embedded are either

ruby core classes: Hash, Array, String,...
Virtus classes
but not AR or Mongoid classes

class AssignmentSummary
  include Virtus.model
  attribute :date,           Date, default: nil
  attribute :league,         Organization, default: nil # a Mongoid class

The above seemed to work fine and I liked that the contract was explicitly stated. The issue arose only with FactoryGirl instantiating an entirely different class Venue(Mongoid) that did not utilize either AssignmentSummary(Virtus) or Organization(Mongoid). The fact that this issue arose in an entirely different, seemingly unrelated class was most curious.
My solution was:
class AssignmentSummary
  include Virtus.model
  attribute :date,           Date, default: nil
  attribute :league,         Object, default: nil
  def valid?
    league.kind_of? League
  end

I probably could have created a Virtus class wrapping League, but this was my simple solution.

Fyi for anyone having issues with factory_girl and virtus, #271 is related.


No longer needing a forked ros_control

This should solve the long-lasting issue of needing a forked version of ros_control for using the SoftHand in simulation within Gazebo.
A local, specialized transmission is used instead to handle the adaptive case.
IMPORTANT: although everything has been ported, the BlackBoxTest.IdentityMap is NOT passing (and probably wasn't passing even before). This should be addressed later on.
I tested this in simulation with one or two hands, and with or without a Kuka LWR 4+ arm, and everything seems to work fine.
I will wait for testing this with the real robot: in the meanwhile every comment / suggestion is welcome.
/cc @carlosjoserg @arocchi

Didn't think I'd see the day.. it looks good!
About the test, yep, probably didn't work before either.

Everything tested on the robot, working fine on two different set-ups. Will proceed with updating the communication libraries, and vito robot.


[GHSA-fmrf-p77g-vv5c] MediaWiki Cross-site Scripting vulnerability

Updates

Affected products
Source code location

Comments
This is a vulnerability in the Wikibase extension, not in MediaWiki core.

Oh right, I was looking for mediawiki/base so I did not find on Packagist.
wikibase/wikibase seems to be the correct package.


orchestrate runner error

We've been using this plugin for its runner functionality for more than a year now.
Recently and after updating our salt master to latest stable release (2016.11.05), we have the following error:
salt/run/20170522113306534023/ret       {
    "_stamp": "2017-05-22T11:33:10.191089",
    "fun": "runner.state.orchestrate",
    "fun_args": [
        {
            "expr_form": "",
            "mods": "orchestrate.do-something",
            "pillar": "",
            "tgt": ""
        }
    ],
    "jid": "20170522113306534023",
    "return": "Exception occurred in runner state.orchestrate: Traceback (most recent call last):\n  File \"/usr/lib/python2.6/site-packages/salt/client/mixins.py\", line 395, in _low\n    data['return'] = self.functions[fun](*args, **kwargs)\nTypeError: orchestrate() got an unexpected keyword argument 'expr_form'\n",
    "success": false,
    "user": "jenkins"
}

Plugin configuration follows:

Any suggestions?

Fixed in #93

If you are able, please try out this beta release incorporating this fix as well as corrections from #87 (fix for jenkins killing off pipeline job after 5 minutes).

This was corrected in release 3.1. Should be available on the mirrors in the next 24 hours.


TCP reset generation is not quite correct

From RFC 793:

If the incoming segment has an ACK field, the reset takes its
sequence number from the ACK field of the segment, otherwise the
reset has sequence number zero and the ACK field is set to the sum
of the sequence number and segment length of the incoming segment.

We take small liberties with ACK handling but we shouldn't.

Fixed.


Train an initial seq2seq model for recitation2text using the v1 dataset.

Implement a simple Keras architecture
Overfit on a small training set of ~100 recordings (#13)
Benchmark model performance on entire training set

Initial models trained for fatihah and Juz Amma by @fdalvi.

@fdalvi please push those commits when you get a chance and update/close this issue with your commit shas.

In the mean time, I'm closing this issue.


Add test and fix resolving included resources

Included resources were not resolved correctly. Even if included in the JSON object, the properties would not be mapped. This meant that the post's author in the test data would not get the correct firstname and lastname, neither would the comments be assigned correctly. I also added a test confirming the bug as well as the fix.
The issue was JSONAPIResourceParser (and few lines later) used the Class returned by resourceType as a key to access the included resources. However the key in the dictionary is in fact the type string returned by the descriptor.
Furthermore the value was set using set:withDictionary: (1, 2) which fails because the included resource is already parsed by that point, hence needs to be set as a value.

@christianklotz Thank you for the contribution! :dollar: :moneybag: Sorry it took so long to get merged in :snail:


Intermitent failure in CI join_with_hash_collision

The CI is failing intermittently with
thread 'physical_plan::hash_join::tests::join_with_hash_collision' panicked at 'internal error: entered unreachable code: Hash should not be vacant', datafusion\src\physical_plan\hash_join.rs:1400:18

Additional context
See e.g. https://github.com/apache/arrow-datafusion/runs/2474850425?check_suite_focus=true

Thanks @jorgecarleitao I think the test should be improved / should set the RandomState explicitly or set hashes instead of values to make it deterministic.


Git issue: git reset --hard  -> fatal: Could not parse object

Hi,
I have issues with git reset --hard . I  just cloned the project with the following command:
$git clone https://github.com/alibaba/fastjson
$git reset --hard 57d0434ab01c55e719bb52f3ec96bf12cad0e46c
fatal: Could not parse object '57d0434ab01c55e719bb52f3ec96bf12cad0e46c'.

I have no experience of getting that error message before.
I also tried doing git checkout.
$ git checkout 57d0434ab01c55e719bb52f3ec96bf12cad0e46c
fatal: reference is not a tree: 57d0434ab01c55e719bb52f3ec96bf12cad0e46c

I keep getting these issues. Is there something wrong with this particular repository that does not allow me to go to that commit? Any help is much appreciated.

It looks like 57d0434 have been replaced with e05e9c5e. Problem solved. Don't know exactly how but maybe with commit --amend or a rebase.
https://github.com/alibaba/fastjson/commit/e05e9c5e4be580691cc55a59f3256595393203a1
https://github.com/alibaba/fastjson/commit/57d0434ab01c55e719bb52f3ec96bf12cad0e46c


Mocha loggin "NaN passing" and "NaN failing" when running tests

The title says it all, I guess.
I run mocha in the root of my project and then I get the output like usual, except for the number of tests passing/failing.
Some class
    ......
    .....

  NaN passing (36ms)
  NaN failing

@CGavrila can you provide more info such as the tests themselves, your command line args and/or mocha.opts

Are you running the latest version of mocha? And a small reproduce-case would be appreciated! :)

Sorry, forgot to provide some stuff:
$ uname -a
Linux Jmen 3.16.0-43-generic #58~14.04.1-Ubuntu SMP Mon Jun 22 10:21:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

$ mocha -V
2.2.5

$ node -v
v0.12.5

I do not run mocha with any arguments.
Anyway, I think I found what the problem is. I am using a module called better-log in order to enhance my console.logs. Commenting it out of my requires seems to do the trick. It's a bit strange that it manifests itself this way, but there we go.
I guess this can be closed.


The example doesn't work as expected.

I following the steps to run this python example for azure confidential ledger. It is partially work for me.

create the ledger works, but I can only create one ledger, after that I got the error message saying  exceed the quata ...
myledger = confidential_ledger_mgmt.ledger.get(rg, ledger_name) work, I can get the created ledge.
it failed when I call append: ( I paste the log and exception below)
Here are the details of your newly created ledger:

Name: chen-ledger-2
Location: eastus
ID: /subscriptions/c30c5479-173d-4aaa-956d-6132f9dfadf6/resourceGroups/azure_ledger_test/providers/Microsoft.ConfidentialLedger/Ledgers/chen-ledger-2
url: https://identity.accledger.azure.com
ready for append ...............................
Traceback (most recent call last):
File ".\example.py", line 89, in
append_result = ledger_client.append_to_ledger(entry_contents="Hello world from Chen!")
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\tracing\decorator.py", line 83, in wrapper_use_tracer
return func(*args, **kwargs)
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\confidentialledger_client.py", line 97, in append_to_ledger
**kwargs
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\confidentialledger_generated_generated_ledger\v0_1_preview\operations_confidential_ledger_operations.py", line 356, in post_ledger_entry
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline_base.py", line 211, in run
return first_node.send(pipeline_request)  # type: ignore
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline_base.py", line 71, in send
response = self.next.send(request)
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline_base.py", line 71, in send
response = self.next.send(request)
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline_base.py", line 71, in send
response = self.next.send(request)
[Previous line repeated 2 more times]
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline\policies_redirect.py", line 158, in send
response = self.next.send(request)
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline\policies_retry.py", line 467, in send
raise err
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline\policies_retry.py", line 445, in send
response = self.next.send(request)
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline\policies_authentication.py", line 119, in send
response = self.next.send(request)
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline_base.py", line 71, in send
response = self.next.send(request)
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline_base.py", line 71, in send
response = self.next.send(request)
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline_base.py", line 71, in send
response = self.next.send(request)
[Previous line repeated 1 more time]
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline_base.py", line 103, in send
self._sender.send(request.http_request, **request.context.options),
File "C:\Users\clin4\AppData\Local\Programs\Python\Python36\lib\site-packages\azure\core\pipeline\transport_requests_basic.py", line 298, in send
raise error
azure.core.exceptions.ServiceRequestError: <urllib3.connection.HTTPSConnection object at 0x000001437EB35A90>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

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

ID: ffba32ba-d527-419f-ae4f-7984625843e5
Version Independent ID: eb3c659d-380f-579e-1b83-8913e03e81af
Content: Quickstart – Microsoft Azure Confidential Ledger Python client library
Content Source: articles/confidential-ledger/quickstart-python.md
Service: confidential-ledger
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@clin4 Thanks for the feedback. I have assigned the issue to the content author to evaluate and update as appropriate.

@BharathNimmala-MSFT @msmbaldwin Is there any update from this issue?

Closing old issues. Please feel free to reopen is this remains a problem. #please-close


[Proposal] Separation of a "core" set of classes from the "standard library"

Arguably, we can have a "core" set of classes.  This core is defined as part of the language, understood by the compiler, and is hence available in macros.  Others can be moved into the standard library.
Core classes are available at compile-time and at run-time.  Classes in the standard library are available at run-time, but not at compile-time.
Core classes are self-contained; at worst, they can depend on other core classes.  Standard library classes can depend on core classes; they can, of course, depend on other standard library classes too.
Does this make sense?

Yes, it does, and it already exists. The corelib is what is required by src/prelude.cr and the stdlib is everything else. There already is a spec/std folder too, but no matching src/std.
Having src/compiler, src/core and src/std could be nice.

+1

This same question was asked in Google Groups and Reddit. This is my answer:
https://www.reddit.com/r/crystal_programming/comments/3p1juq/crystal_090_released/cw7sgoo

A quick search for "elixir json" yields three projects:
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=elixir json
This doesn't look like a problem at first: in my project I use the JSON library of my convenience. The problem is when you build a library and you have to choose one, and then your project requires multiple libraries that depend on different implementation.
For things so standard and ubiquitous as HTTP, XML, YAML and JSON, I think the best is to have good and efficient implementations in the standard library, to improve compatibility between different libraries.

Also @waj's reply to a different issue applies here too.
In short: yes, we can have different repositories for these libraries, but we'd like the standard library to come with them and to avoid having many incompatible implementations of the same feature.

The standard library should definitely come along with the compiler - afaic it's just a clarification of putting core-libs in specific dirs, not intermixing with the others, file-wise. Or did I miss something in this issue? That was my intention anyway.

I understand this the same as you @ozra , this is more about distinguishing more easily what's part of the corelib (ie. automatically required) and the stdlib (manually required) upfront. Either by looking at files in the source code, or in the documentation.

What's a specific proposal to do this? Something that will make it clear, either in the docs or the API, that some classes are automatically included in every program.

Closing stale proposal. There has been no comment activity for nearly five years.
I don't think this is a problem. Core features just work out of the box. Non-core features need an explicit require and the documentation makes sure to show that at least in the examples. Maybe this could be showed more explicitly in the API docs. But lack of interest in this issue suggests it does not pose a problem in practice.


Parameter escape allows running arbitrary commands and commands fail with valid strings

There appears to be an issue validating some strings in various commands for example when passing the string !#$%&calc as an argument. Any string ending in < also causes issues in commands.
These issues only appear to happen in a Powershell shell, I am unable to reproduce in a cmd shell. I discovered this after one of our passwords for sql db import resulted in a The system cannot find the file specified error so we have had to change the password for now to work around the issue, but this definitely doesn't seem like correct behaviour to me.
To Reproduce:

Open Powershell prompt (5.1)
az sql db import -p "!#$%&calc"
Calculator opens
az webapp get --name "!#$%&calc"
Calculator opens
az webapp get --name "xxxxx^<"
The syntax of the command is incorrect.
C:\Users\matt>  "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\\..\python.exe" -IBm azure.cli webapp get --name xxxxx<

Expected Behavior

Calculator does not open
Commands do not fail

Environment Summary
Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.75

Additional Context

cc @AzureAppServiceCLI @antcp

This is not specific for Webapps command please see description to see that this happens with az sql as well. The issue is CLI is being used in PowerShell . please use a BASH window. Removing App service label.

Thanks for elaborating the symptom. You are hitting a known issue in PowerShell which we have doc'ed at: https://github.com/Azure/azure-cli/blob/dev/doc/use_cli_effectively.md#quoting-issues
PowerShell strips double quotes and causes the command to be parsed by CMD as:
az sql db import -p "!#$%&calc" -> az sql db import -p !#$% & calc
where & stands for a command separator.
Same for
az webapp get --name "xxxxx^<" -> az webapp get --name xxxxx^ <
where < stands for stdin redirection.
Please use --% to bypass the bug in PowerShell.
> az --% sql db import -p "!#$%&calc" --debug
Command arguments: ['sql', 'db', 'import', '-p', '!#$%&calc', '--debug']

> az --% webapp get --name "xxxxx^<" --debug
Command arguments: ['webapp', 'get', '--name', 'xxxxx^<', '--debug']


Backport unicode fix from piotr1212@17e23ef

Backport unicode fix from https://github.com/piotr1212/graphite-web/c…ommit/17e23efecb6cb40059264fabd3ea36718065176e
Fixing #2641

Still need to test is it really fix #2641

Yes, it's helping with #2641, if UTF8_METRICS is enabled ofc. Merging.


feat: add bucket/path to datasource

What type of PR is this?

What this PR does / why we need it
Which issue(s) this PR fixes

Fixes #146
Special notes for your reviewer

@zqq454224016   I refactored the CRD Datasource. Please see this pr for more details


adding non-breaking spaces

Reasons for making this change:
making it compatible with this plugin http://www.vim.org/scripts/script.php?script_id=2557 and in general to avoid breaking space issues
Links to documentation supporting these rule changes:
https://en.wikipedia.org/wiki/Non-breaking_space

@suszczynski conflicts, apologies! :cry:

Closing this out due to conflicts that I cannot resolve. @suszczynski if you're able to reopen a fresh PR I'd love to see if we can get this landed.


Add myself to compiler group

This is what puts me back into the highfive auto-rotation, right?

Yep, should be enough I think.


Allow template prompt using "AskAsync"

Currently, the prompt sent to the LLM is decorated in the SearchClient.cs. This method is suitable for OpenAI or Azure OpenAI, but not for local models. Each local model may require modifying the prompt to obtain the desired response.
For example, if we use the document source:
In physics, mass–energy equivalence is the relationship between mass and energy in a system's rest frame, where the two quantities differ only by a multiplicative constant and the units of measurement. The principle is described by the physicist Albert Einstein's formula: E = m*c^2
Then ask OpenAI "Where was Albert Einstein born?" We get the response that the result was not found.
If we ask a local LLM and if the local LLM was trained on the data it will get an answer.
The intent here is to only allow responses from the Facts found in memory. This will require tweaking the prompt.

Looking at the code looks like there is a provider will play around with it.


sqladmin + jinja templates conflict index.html

Checklist

[X] The bug is reproducible against the latest release or master.
[X] There are no similar issues or pull requests to fix it yet.

Describe the bug
for html static files jinja use folder "templates" , but if i create index.html  sqladmin redirect to this page  (Strange behavior)
Steps to reproduce the bug
1)Create new project
2) pip install fastapi uvicorn sqladmin
3) create basic main.py with sqladmin
4) create folder templates/index.html   (this file used for main pages not admin panels)
5) open http://<IP_ADDRESS>:8000/admin    ->  redirect to index.html
Expected behavior
don't use index.html for admin page.   maybe change to admin.html
Actual behavior
No response
Debugging material
No response
Environment
windows python venv fasapi uvicorn sqladmin pycharm
Additional context
No response

I believe SQLAdmin could use a file structure for templates similar to Flask Admin and Flask AppBuilder.
Meaning, move every template that SQLAdmin use to templates/sqladmin/ from templates/.
This will remove the conflict.
Or you can just rename your index.html

@hasansezertasan I think that's a reasonable approach, feel free to submit the PR if you like.

@hasansezertasan I think that's a reasonable approach, feel free to submit the PR if you like.

I'll work on it, thanks 😇.


[Requests] bookmarks

Hi, great program! Thanks.
A small request. A bookmarking/favorites feature would be great. It would be great if I didn't have to type out and/or remember all the subreddits I've found or care to browse. Just a simple text file (e.g., .bookmarks) would work great. Anyhow, thanks again!

Thanks! What you're describing sounds a lot like "subscriptions" to me, only they're managed by reddit instead of saved locally. Have you tried that feature out?

I'd like to throw in a +1 for something like this feature.   Generally commandline apps allow for a greater depth of configuration. Custom shortcuts, and all sorts of functionality that a user can personally tailor to their needs.  It would be nice to have this feature in the app. Hitting "/" to autofill a users most beloved subreddits would also be wicked useful!

Thanks so much for your replay, @michael-lazar. I should have been perhaps more clear with my request. I am aware of the subscription feature but I think there are good use cases for bookmarks that are distinct from one's reddit profile. E.g., (2) one might only subscribe to sub-reddits in which they are an active member but might want to remember an obscure reddit; (2) would be useful for those with multiple profiles (and configs) but a master bookmark list; or (3) for users who don't wish always to be logged in to a profile for privacy or other reasons. Hope that better clarifies. And thanks again!

Ok cool, thanks for clarifying. It sounds like what you're asking for is similar to this https://github.com/michael-lazar/rtv/issues/203. Since this seems to be a feature that multiple people are asking for, I think it's worthwhile to add it.


python310Packages.pyswitchbot: 0.18.7 -> 0.18.10

Description of changes
https://github.com/Danielhiversen/pySwitchbot/releases/tag/0.18.10

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 186828 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.switchbot
python310Packages.pyswitchbot
python39Packages.pyswitchbot


[FEATURE REQ] Enhance Error Handling in Middleware

Library name
Azure.Storage.Blobs
Please describe the feature.
Add a try-catch block around asynchronous operations in the EnsureUserIdAndContainer middleware to handle potential exceptions and log errors, ensuring that the application can manage issues during user-specific container creation.

Hi @bhavya2021245, would you mind clarifying what the ask here is? I could not find EnsureUserIdAndContainer anywhere within the Azure.Storage.Blobs library.
If you are asking about BlobContainerClient.CreateIfNotExistAsync() this method does seem to have try-catch and logging.

I suggest to add  a try-catch block to handle errors gracefully after line 84

If the attempt to create the container fails, catch the exception, log it, and respond with an appropriate error status code .
Sample code
try
{
await serviceClient.GetBlobContainerClient(userId).CreateIfNotExistsAsync();
}
catch (Exception ex)
{
Console.Error.WriteLine($"Failed to create blob container: {ex.Message}");
ctx.Response.StatusCode = StatusCodes.Status500InternalServerError;
return;
}
It can now handle the error smoothly and returns a meaningful response to the user or client.

Hi @bhavya2021245

Can you link to me where the above screenshotted code comes from? Because I don't believe this resides in the Azure Storage SDK.
CreateIfNotExistsAsync() already has try-catch and logging as shown here. You do not need an extra layer of try-catch but if you want to you are welcome to do so in your own code.

Closing the issue now since no response. If you have further questions/concerns, please open another issue. Thanks


Removing numpy version req

Trying to sort out what may have changed in #10

It seems that this has already been sorted out by @WardBrian, closing.


Optimize pool

Global pool contains vectors only with capacity
Thread pool contains vectors from global pool (with capacity) OR without capacity
Vectors are returned to the global pool only if they have capacity
For the reason from p.3, the REUSABLE flag is not needed.
Also added the stub method - which allows not to access to the pool if we do not use attributes (events, impl Log, etc)

compare/fastrace/1      time:   [304.18 ns 305.64 ns 307.36 ns]
                        change: [-20.521% -19.831% -19.062%] (p = 0.00 < 0.05)
                        Performance has improved.

compare/fastrace/10     time:   [772.85 ns 778.27 ns 784.07 ns]
                        change: [-17.300% -16.547% -15.815%] (p = 0.00 < 0.05)
                        Performance has improved.

Vec::with_capacity/object-pool/1
                        time:   [2.4597 ns 2.4679 ns 2.4767 ns]
                        change: [-20.663% -20.296% -19.938%] (p = 0.00 < 0.05)
                        Performance has improved.
Vec::with_capacity/alloc/1
                        time:   [6.4638 ns 6.5043 ns 6.5405 ns]
                        change: [+3.4161% +4.4540% +5.4969%] (p = 0.00 < 0.05)
                        Performance has regressed.

Vec::with_capacity/object-pool/10
                        time:   [2.4700 ns 2.4789 ns 2.4874 ns]
                        change: [-21.023% -20.561% -20.111%] (p = 0.00 < 0.05)
                        Performance has improved.

Vec::with_capacity/object-pool/100
                        time:   [2.4590 ns 2.4682 ns 2.4777 ns]
                        change: [-19.639% -19.239% -18.845%] (p = 0.00 < 0.05)
                        Performance has improved.

Vec::with_capacity/alloc/100
                        time:   [23.783 ns 23.911 ns 24.035 ns]
                        change: [+2.1886% +2.8602% +3.5167%] (p = 0.00 < 0.05)
                        Performance has regressed.

Vec::with_capacity/object-pool/1000
                        time:   [2.5000 ns 2.5112 ns 2.5226 ns]
                        change: [-22.018% -21.560% -21.106%] (p = 0.00 < 0.05)
                        Performance has improved.

Vec::with_capacity/object-pool/10000
                        time:   [2.4538 ns 2.4601 ns 2.4668 ns]
                        change: [-19.391% -19.038% -18.683%] (p = 0.00 < 0.05)
                        Performance has improved.

Vec::with_capacity/alloc/10000
                        time:   [28.905 ns 29.037 ns 29.179 ns]
                        change: [-2.5027% -2.0210% -1.5147%] (p = 0.00 < 0.05)
                        Performance has improved.

trace_wide_raw/10       time:   [1.1964 µs 1.2004 µs 1.2051 µs]
                        change: [-15.850% -15.476% -15.088%] (p = 0.00 < 0.05)
                        Performance has improved.

trace_wide_raw/100      time:   [11.310 µs 11.360 µs 11.408 µs]
                        change: [-7.1389% -6.7624% -6.3728%] (p = 0.00 < 0.05)
                        Performance has improved.

trace_wide_raw/1000     time:   [112.11 µs 112.49 µs 112.91 µs]
                        change: [-7.0186% -6.4420% -5.8764%] (p = 0.00 < 0.05)
                        Performance has improved.

When the Reuseable is dropped in foreground thread, it should not be reused because of the synchronization overhead.

Since we now have vectors with capacity in the global pool, we start to choose between a small overhead on the mutex or an overhead on allocations/reallocations.
I see #224 and foyer-rs/foyer#571, the main problem that was - when the thread does not use attributes, we spend a lot of time on synchronization. But now such threads will work as with the REUSABLE flag, because having zero capacity they will not synchronize.

thread pool can be the same as global pool: only with capacity

Yes, but attributes must be  withOption, and main problem - current implementation does not require TrustedLen in API.

Instead of ReusableVec::stub(), I recommend to create a Vec::new() which is zero-overhead and wrap it in Reusable.

stub do that.

thread pool can be the same as global pool: only with capacity

If the global pool is empty, every time we take from the local pool, we will have to try take from the global pool (with mutex synchronise)
impl<T> LocalVecPool<T> {
    pub fn take(&mut self) -> ReusableVec<T> {
        if self.storage.is_empty() {
            if self
                .global_pool
                .fill_empty_local(self.capacity, &mut self.storage)
            {
                return ReusableVec::new(self.global_pool, self.storage.pop().expect("not empty"));
            }
        }

        ReusableVec::new(self.global_pool, Vec::new())
    }
}

we start to choose between a small overhead on the mutex or an overhead on allocations/reallocations

I don't have a number on the overhead of the mutex when it's in heavy conflict situation, and it may cause long tail on worst case. On the contrary, dropping the vector without reuse is rare, and reallocating large vector when collecting large amount of spans is acceptable and will not cause long tail.

I see #224 and https://github.com/foyer-rs/foyer/pull/571, the main problem that was - when the thread does not use attributes, we spend a lot of time on synchronization. But now such threads will work as with the REUSABLE flag, because having zero capacity they will not synchronize.

It's not totally correct. The real case is that, when LocalParentGuard drops, it drops the Reusable and causes synchronization. In the new version, LocalParentGuard always submit the Reusable to global collector so that the vectors are reused in the global collector thread -- result in no synchronization overhead.
In short, with REUSABLE flag, the sync should never happen. Reuse should only take place in the global collector thread.
Did this PR resolve this problem in the other way?

Will reopen if any progress is made on this thread.


Millions of logs being spit out to the console caused by the airgap.js SDK

%cConsent Manager%c The following properties are not allowed and will be ignored: partitioned

if you update the consent manager to latest version, this error will go away!


[Feature Request] Possibility to scale the model

Hi, first of all, thank you for this tool ! Currently, most of my models are way too big (maybe this tool, or my alignment) but my scans are one or two order of magnitude too big.
Would it be possible to show a grid that would show scale (like the grid can be 200cm by default but maybe editable via slider)

Something like that could be useful :

That way I move the scene center and set scale more easily.

Hi @softyoda,
We've added uniform scene scale in #31. Not exactly sure when a grid will be added, but we'll keep open this issue so we don't forget about it.
Thanks!

done in #64


Please fill out survey: aka.ms/rust_survey

Are you a Rust developer deploying your Rust code to the cloud? If so, Microsoft wants to talk to you! Take this short survey to register for a compensated user-experience study on cloud software development with Rust: https://aka.ms/rust_survey
@rustlang
#rustlang #Microsoft

Twitter:
https://twitter.com/_marioguerra_/status/1518676297349742597?s=20&t=8rK1HiutiFY1PHqyiNDt0g
LinkedIn:
https://www.linkedin.com/posts/mario-guerra_help-shape-the-azure-sdk-for-rust-activity-6924443184907399169-ZtV6?utm_source=linkedin_share&utm_medium=member_desktop_web

"Always in motion the future is." We're looking for Rust developers to help shape the future of the #AzureSDK. Sign up with our partner URI to participate in paid research opportunities.  https://app.uriux.com/studies/123?referrer=microsoft&channel=stevenclarke-rustdevs #MayTheFourthBeWithYou #Rustlang

https://twitter.com/AzureSDK/status/1521916819233144832


Check whether app already exist before running fastlane produce

Discussed in https://github.com/fastlane/fastlane/discussions/20121

Originally posted by mal3k March 25, 2022
fastlane produce will create a new app on the AppStore, if the app already exist it will return a warning. I would like to avoid this by checking if the app already exist on the App Store before running the produce action in order to save time.
What approach do you recommend ? any pre-check action available?

fastlane produce will create a new app on the AppStore, if the app already exist it will return a warning. I would like to avoid this by checking if the app already exist on the App Store before running the produce action in order to save time.
What approach do you recommend ? any pre-check action available?


Metadata update

Hello,
Your dataset was added to CoronaWhy (https://www.coronawhy.org/) Data Lake on Dataverse as a piece of common COVID-19 data frame  http://datasets.coronawhy.org/dataset.xhtml?persistentId=doi:10.5072/FK2/Y9KPMA
Would you be willing to help with the maintenance of your dataset in Dataverse, e.g. adding the relevant metadata and keeping the dataset up-to-date? That will help to make the dataset findable and accessible for the medical science community.

Hello,
Thanks a lot, Actually I have an automatic process to run the ETL into the Pipeline, this process is running over GitHub repository.
I could help with the maintenance of the repo datasets.
Do you need a specific metadata format?

Hello, @k-goncharova I did create my user in CoronaWhy Dataverse, my username is sebaxtian the same GitHub username.
What about the next steps, please let me know additional information to continue.
Thanks.

Thank you, @sebaxtian. I've just given you the necessary permissions for editing your dataset. Please add description and keywords to it, and maybe any other metadata that you might find useful for future users of your dataset (select Edit -> Metadata). You might see this dataset as an example https://datasets.coronawhy.org/dataset.xhtml?persistentId=doi:10.5072/FK2/TZMOTL

Hello @sebaxtian. I just wanted to check if you might need any help. I see the draft version of your updated dataset in Dataverse. Do you have any questions on metadata or on the process of publishing updates?

Thank you, @sebaxtian. I've just given you the necessary permissions for editing your dataset. Please add description and keywords to it, and maybe any other metadata that you might find useful for future users of your dataset (select Edit -> Metadata). You might see this dataset as an example https://datasets.coronawhy.org/dataset.xhtml?persistentId=doi:10.5072/FK2/TZMOTL

Thanks, I going to add a description, keywords, and metadata in my dataset:
https://datasets.coronawhy.org/dataset.xhtml?persistentId=doi:10.5072/FK2/Y9KPMA


Make GDNative DLLs work on UWP

The DLL file isn't included in the export for some reason, but apparently this is broken for all platforms.

Can you do Win32/64 too?

Can you do Win32/64 too?

Don't know what you mean, for Windows Desktop it should be working already.

Thought this fix was for https://github.com/godotengine/godot/issues/15183 .


Nav update, project columns, SVG fix

A bundle of changes in this one:

Fixed SVG issue for in the news #80
Fixed search bar not displaying correctly when nav is static #81
Changed Project column size on mobile (I probably won't copy this to CNCF. There are too many projects there for singular column mobile view, and as the logos are smaller the spacing should look nicer)
Prevent search button submitting when no search term was entered
Removed iOS styling (rounded corners / webkit) on desktop search input in header nav
Moved throttle function to JS globals (used for nav and tab container)
Updated the nav so it works well regardless of browser/window resize

Continuing on from #80 I've spent some time on the news and blog featured images, mostly the media logos plus a bit of refactoring and tidying up. I felt that as the media coverage excerpts where often quite long, it seemed to look better when the logo was aligned to the top. Let me know your thoughts.

Continuing on from #80 I've spent some time on the news and blog featured images, mostly the media logos plus a bit of refactoring and tidying up. I felt that as the media coverage excerpts where often quite long, it seemed to look better when the logo was aligned to the top. Let me know your thoughts.

I agree and had the same thought at one point.

The first time I click the search magnifying glass nothing happens.  I always have to click it twice to get the bar to drop down.  It seems that $( '.search-bar:visible' ).length starts out as 1 when it should be 0.

Note for myself: will need to regenerate thumbnails again.

The first time I click the search magnifying glass nothing happens.  I always have to click it twice to get the bar to drop down.

Ah. That is now fixed.


Fixes a bug in PR 491

Sorry for breaking master...

I believe its failing because of runtime... will investigate


UTM Qemu VM: cannot set subnet, invalid parameter net

Describe the issue
Unable to start QEMU when setting a specific Guest Network subnet (VM settings -> devices -> Network -> Shared Network -> advanced settings)
I am able to successfully change the settings, but when I try to start QEMU afterwards, I get an error message that QEMU was stopped because of the invalid parameter 'net'.

I don't know if I misconfigured something in the settings, so please inform me about what I did wrong and close this issue in case I did something wrong. I also took a look in the official documentation https://docs.getutm.app/settings-qemu/devices/network/network/ but did not find any information where I could have done a mistake.
Basically what I want to achieve is that my VM(s) always have the same subnet and that this does not randomly switch, as currently they do randomly from <IP_ADDRESS>/24 to <IP_ADDRESS>/24 and I hoped that I could prevent UTM from doing that using these settings...
Configuration

UTM Version: 4.1.6 (75)
macOS Version: 13.2.1
Mac Chip (Intel, M1, ...): M2 Max

Crash log
No crash and therefore no crash log
Debug log
debug.log
Upload VM
config.plist.zip

I have the same problem when trying to specify a non-default subnet for a host-only interface.
Configuration:

UTM Version: 4.1.6 (75)
macOS Version: 13.2.1 (22D68)
Mac Chip: M1 Max

** Debug log**
debug.log
Upload VM
config.plist.zip

So far I've figured out that the subnet is anyhow defined in /Library/Preferences/SystemConfiguration/com.apple.vmnet.plist
My workaround is to change the subnet there manually, but this is not a permanent solution for this problem. Actually I'm not even sure if this problem is caused by UTM itself or caused by Apple's Virtualization.Framework itself, but I hope that on clever developer who is familiar to UTM could find a solution or fix for this :)

Main issue is the syntax for the vmnet-shared netdev changed during its development and UTM just needs an update to the new ones - example QEMU arguments:
-netdev vmnet-shared,start-address=<IP_ADDRESS>,end-address=<IP_ADDRESS>,subnet-mask=<IP_ADDRESS>
With that fix wired up to the UI, specifying alternate subnets and etc will work as expected

This topic should be treated as a bug since the UI needs an update to properly set the netdev. It is clear that the QEMU command line interface has changed between the updates and UTM needs to respect the adjusted settings.
As a workaround I played around a bit with the settings and tried to add these parameters manually to the QEMU command - which did not work, since the id is missing (first complainment) and second there is already a netdev passed to QEMU via UTM - so I removed it and it seemed to work, since it fired up my VM and I saw on my host that the network bridge was created with the correct inet address (in my test scenario it was <IP_ADDRESS>).


Streams Documentation #1871

Description 📜
This documentation covers basic functionalities of streams. This would help a java developer to get started with streams.
Fixes #1871

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ ] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev (Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Congratulations your pr is merged


vue3+vite reports Uncaught ReferenceError: Buffer is not defined

Describe the bug
version：
"vue": "^3.2.16",
"vite": "^2.6.4"
Buffer is used for data conversion in the vue3+vite project, and the running project reports Uncaught ReferenceError: Buffer is not defined
Reproduction
The project git repository is: https://github.com/LQS5858/newmall-vue3-vite
System Info
System:
    OS: macOS 11.6
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 351.83 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.15.4 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.15 - /usr/local/bin/npm
  Browsers:
    Safari: 14.1.2

Used Package Manager
npm
Logs
No response

buffer is not used in vue
if you need to use node global builtins for browser you need to polyfill them

Hello @LQS5858. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 3 days.

Hello，The project git repository is: https://github.com/LQS5858/newmall-vue3-vite

can't access repo

can't access repo

Can you check this repo instead? I've tried to fix it by following this answer
It worked well on development but not production build
Reproduce steps:

yarn build
yarn preview
Open http://localhost:5000/ & check the console

@8bu there's no link to any repository

@Niputi sorry my bad
https://github.com/8bu/vue-vite-web3

I can take a look tomorrow evening. gotta sleep
do you use 2 github accounts? 8bu and LQS5858?

I can take a look tomorrow evening. gotta sleep
do you use 2 github accounts? 8bu and LQS5858?

No I just got the same issue with @LQS5858

@Niputi sorry my bad https://github.com/8bu/vue-vite-web3

Maybe it's a problem with web3, you can try this in vite.config.ts:
resolve: {     alias: {       web3: path.resolve(__dirname, './node_modules/web3/dist/web3.min.js')     },   }

@Niputi sorry my bad https://github.com/8bu/vue-vite-web3

Maybe it's a problem with web3, you can try this in vite.config.ts: resolve: { alias: { web3: path.resolve(__dirname, './node_modules/web3/dist/web3.min.js') }, }

hmm thank u. I totally forgot about the prebuilt version. Lemme try it

@javastation thank u it worked https://unruffled-jepsen-863a3f.netlify.app/

Sorry, now the warehouse has been modified to open

@8bu there's no link to any repository

Sorry, now the warehouse has been modified to open

I can take a look tomorrow evening. gotta sleep do you use 2 github accounts? 8bu and LQS5858?

Sorry, now the warehouse has been modified to open;
Warehouse address: https://github.com/LQS5858/newmall-vue3-vite

@LQS5858
Check my config
https://github.com/8bu/vue-vite-web3/blob/f17d434e3eaeda9ebce633f126645f5d8aa1cd01/vite.config.ts#L26-L34
https://github.com/8bu/vue-vite-web3/blob/f17d434e3eaeda9ebce633f126645f5d8aa1cd01/index.html#L9-L20
https://github.com/8bu/vue-vite-web3/blob/f17d434e3eaeda9ebce633f126645f5d8aa1cd01/package.json#L10-L20

@LQS5858 Check my config https://github.com/8bu/vue-vite-web3/blob/f17d434e3eaeda9ebce633f126645f5d8aa1cd01/vite.config.ts#L26-L34 https://github.com/8bu/vue-vite-web3/blob/f17d434e3eaeda9ebce633f126645f5d8aa1cd01/index.html#L9-L20 https://github.com/8bu/vue-vite-web3/blob/f17d434e3eaeda9ebce633f126645f5d8aa1cd01/package.json#L10-L20

Thank you,The error has been resolved


feat(worker): Allow fetching config variables (e.g. in cloud) and imp…

…roved expression capabilities (https://github.com/zeebe-io/zeebe-http-worker/issues/5)

I applied some small changes.


fix: remove nile-agent, pulumi package for self-contained events example

This change addresses some good customer feedback and restores the events-example to a more self-contained package.
Some of the recent talking points that this change is based on:

The nile binary is not intended to be a client library exclusively (i.e. just a wrapper around the generated OpenAPI code); we want other helpful features included. To that end, I moved the static connect() method onto the NileApi as a shortcut for creating and connecting to our API.
The concept of an "agent" may be a bit confusing, especially as a separate utility or library. Thus the removal of the short-lived nile-agent binary as a deployed artifact.
The events-example should be entirely self-contained, with minimal external dependencies. The abstractions that were generalized in nile-agent lib and pulumi package added complexity that we don't currently (and may never) need. I've moved most of the functionality in those packages back into the events-example.

Steps for running the example remain the same.

im not in favor of getting rid of the new agent stuff, but am in favor of getting the old stuff back

@scottydawg also there are four mentions of agent in the README. I'm not 100% clear from the description on what term we've landed on, but maybe worth reviewing the text there just to make sure it's intentional.