se modifica la Rama de Pruebas

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
List any dependencies that are required for this change.
Fixes # (issue)
Is it been tested?

[ ] Development testing done

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have performed a peer-reviewed with team member(s)
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

Sorry it was an error


Make readme complete documentation

@MartinHolmPedersen,
If you wish to see rendered document please take a look here:
https://github.com/folkehelseinstituttet/Fhi.Smittestopp.Backend/blob/make-readme-complete-documentation/README.adoc

Good documentation, but why was it changed from markdown to asciidoctor ?


Fix nullable annotation of customerId in the Basket model

Re-created PR for rebase on top of 5.2.
Please see the original PR for more information: https://github.com/shopware/shopware/pull/213
Original PR text:

The userID column of the s_order_basket table is set to NOT NULL (https://github.com/shopware/shopware/blob/master/_sql/install/latest.sql#L5343) and the corresponding variable of the model should have an appropriate annotation. This change should be unproblematic, because the Basket model is not being used yet (the basket logic uses the deprecated sBasket class at the moment).

Hi,
it makes more sense to modify the database structure then the doctrine annotation and default value.
"0" is a valid identifier for doctrine and it would be bad to persist the customerId with value "0".
It would be nice if you can change your commit and write a database migration.

Thanks @cjuner
We decided to close this PR because the change is incomplete and does not fix the underlying issue. If this change is still important to you, feel free to create a new pull request or create an issue on https://issues.shopware.com.


Changed eclipse-birt-runtime to birt.

This change is

Reviewed 1 of 44 files at r1.
Review status: 1 of 44 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 43 of 44 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


pytest failed

Hi Nick,
I'm looking forward to trying out your tool. At the moment, I've just completed the MGSIM install using pip and am running pytest on the test_Reads.py
Attached is the stout from pytest.
troubleshooting.txt
Also, do you have a tutorial I could follow?
Thanks so much,
Rene

Thanks for the troubleshooting doc! However, it doesn't provide much info on why the tests are failing. I've updated the tests to print more info for failed tests, which should help.
In regards to a tutorial, the subcommand docs (e.g., MGSIM communities -h) provide a lot of info. You can also use the commands in the ./tests/test_*.py as examples


Get licenses for NuGet packages

What would you like to be added:
#726 brought initial support for generating SBOMs for NuGet packages 🎉  . One significant gap in the metadata in those SBOMs is license information. It'd be awesome if licenses for NuGet packages were included.
Why is this needed:
License information is a key value proposition for compliance-minded users who are building .NET apps with NuGet dependencies.
Additional context:

The file that project.assets.json that Syft scans for SBOM info doesn't include license information, but I wonder if it's possible to get it from somewhere else.
Here's a snippet of a SPDX SBOM generated with syft for a NuGet package:
...
  {
   "SPDXID": "SPDXRef-99c6488b6206ecc1",
   "downloadLocation": "NOASSERTION",
   "externalRefs": [
    {
     "referenceCategory": "SECURITY",
     "referenceLocator": "cpe:2.3:a:Humanizer:Humanizer:2.14.1:*:*:*:*:*:*:*",
     "referenceType": "cpe23Type"
    },
    {
     "referenceCategory": "PACKAGE_MANAGER",
     "referenceLocator"<EMAIL_ADDRESS>     "referenceType": "purl"
    }
   ],
   "filesAnalyzed": false,
   "licenseConcluded": "NONE",
   "licenseDeclared": "NONE",
   "name": "Humanizer",
   "sourceInfo": "acquired package info from dotnet project assets file: NugetBenchmarking.deps.json",
   "versionInfo": "2.14.1"
  },
...

the corresponding NuGet package, Humanizer.Core uses the MIT license.

Thanks so much for the issue @fg-j!
I also added the good first issue label since the write-up you did was so good.
If we have the bandwidth in the coming week/s we'll try and get this in, but also anyone who comes across this issue consider this fair game to attempt as a contribution.
Feel free to tag me in a draft PR if you do and I can always help with testing or cleanup!

I have the exact same issue but with Rust Crates. Here is an example output of the Toml files:
[package]
edition = "2018"
name = "actix-server"
version = "2.1.1"
authors = ["Nikolay Kim<EMAIL_ADDRESS>"fakeshadow<EMAIL_ADDRESS>"Rob Ede<EMAIL_ADDRESS>"Ali MJ Al-Nasrawy<EMAIL_ADDRESS>description = "General purpose TCP server built for the Actix ecosystem"
homepage = "https://actix.rs"
keywords = ["network", "tcp", "server", "framework", "async"]
categories = ["network-programming", "asynchronous"]
license = "MIT OR Apache-2.0"

They do include the license. Is it planned to also output them for Rust packages?

Really interested in seeing license info added for NuGet packages as well. Our organization is evaluating syft to integrate into our CI/CD processes to generate SBOM's that can be imported into Dependency-Track for analysis. Having this license data for NuGet packages would be 😎👌

I'll give it a shot, if I may...


Report Missing BaseLinkedQueue Keep Member

I encountered some debug log:
11-18 19:08:06.474 24887 24969 E AndroidRuntime: Caused by: java.lang.NoSuchFieldException: No field consumerNode in class Lrx/internal/util/unsafe/BaseLinkedQueueConsumerNodeRef; (declaration of 'rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef' appears in /data/app/XXXX/base.apk)
11-18 19:08:06.474 24887 24969 E AndroidRuntime: 	at java.lang.Class.getDeclaredField(Native Method)
11-18 19:08:06.474 24887 24969 E AndroidRuntime: 	at rx.internal.util.unsafe.UnsafeAccess.a(UnsafeAccess.java:100)
11-18 19:08:06.474 24887 24969 E AndroidRuntime: 	... 55 more

I guess
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {
   long producerNode;
   long consumerNode;
}

might be
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {
    rx.internal.util.atomic.LinkedQueueNode producerNode;
}
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef {
    rx.internal.util.atomic.LinkedQueueNode consumerNode;
}

Thanks for report! Will investigate today.

Jesus, just remembered about this issue. I'm very sorry for the delay. Looks like you're right. Will try to launch app with these rules and check how it'll work.

@chooblarin thanks again! Released <IP_ADDRESS> with fix.

@artem-zinnatullin, I think it's still incorrect.
It should be:
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {
    rx.internal.util.atomic.LinkedQueueNode producerNode;
}
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef {
    rx.internal.util.atomic.LinkedQueueNode consumerNode;
}

as @chooblarin put in the first comment. Note two different classes.

oh… I have to do #4 to check all these things
@lgawin thanks, fixing…

@lgawin released <IP_ADDRESS>, should be available in 10-30 minutes. Thanks and sorry!


Add details to wiki.

To start with, e.g. what is it, what hardware is supported and how to build/install. Eventually it would be good to document the API here.

Mostly in place. I need to fill in more sections and get some more cmake and lms7suite screenshots: http://wiki.myriadrf.org/Lime_Suite

Closing now. This is mostly what I though we needed, but there might be more. Please reopen if we need something else.


Update README.md

The demo code for serving static file not works, this PR fix it.

Thanks @cookiebody!


Include

Which version are you using?
last one
Description of problem
hi! im trying to make an include in my telegram bot with your api in PHP.
im just trying to include some variables from other php file, but when I try to do that the variable of the file included seems like doesn't exist

Hi! Do you have some code and/or shown errors you can share? That will help with pinpointing the problem.
Greetings

Closing this due to inactivity. Should you feel the need to reopen it, please do.


new_admin_note task failing in boundwith DAGS and check sunet is included

403 for PUT - e.g.

[2024-11-20, 19:53:39 UTC] {_client.py:1038} INFO - HTTP Request: PUT https://okapi-prod.stanford.edu/item-storage/items/bf47e700-8802-595c-b44b-cbbea082fe78 "HTTP/1.1 403 Forbidden"
https://sul-libsys-airflow-prod.stanford.edu/dags/add_bw_relationships/grid?run_id=manual__2024-11-21T23%3A34%3A33.472621%2B00%3A00&execution_date=2024-11-21+23%3A34%3A33.472621%2B00%3A00&tab=logs&dag_run_id=manual__2024-11-20T19%3A53%3A20.945640%2B00%3A00&task_id=new_admin_notes

We also need to verify that the SUNET id of the user is being included in the Admin Note

@ahafele the 403 error is occurring because the app_libsys user is missing the permission inventory-storage.items.item.put. I'll have a PR up soon with the sunid included in the administrative note.

inventory storage - modify item has been added to the import_export_data pset on -test, -stage, -dev, -prod


Added cokkie up ufeature

Added cookie pop up feature
https://github.com/user-attachments/assets/3787e712-e2e0-4f8d-ad0e-14c25ebae06b
plz assign me this issue @vishanurag
Example how to mark a checkbox:-

[x] My code follows the code style of this project.
-->
[x] Bug fix (non-breaking change which fixes an issue)
[x ] New feature (non-breaking change which adds functionality)
[x ] Code style update (formatting, local variables)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Checklist

[x ] My code follows the code style of this project.
[x ] I have followed the contribution guidelines
[x ] I have performed a self-review of my own code.
[ x] I have ensured my changes don't generate any new warnings or errors.
[x ] I have updated the documentation (if necessary).
[x ] I have resolved all merge conflicts.

Please resolve merge conflicts.


Release 0.5.0 contains duplicate kind:Namespace/gateway-system object definition.

I'm attempting to reference either the standard-install.yaml or experimental-install.yaml on the releases page, via a kustomization.yaml/resources: tag.  However, both of those files contain a duplicate definition of the gateway-system namespace.  This breaks when applied directly via using via helmfile/helm/kustomize pipeline.
To work around this I downloaded the files and I modified them locally, to remove the duplicate Namespace.

What do you mean by saying a duplicate definition of the gateway-system?  A re-defintion for Kubernetes namespace?

It looks like the problem is that both config/webhook/certificate_config.yaml and config/webhook/admission_webhook.yaml include the namespace definition. We concatenate those files together here: https://github.com/kubernetes-sigs/gateway-api/blob/83eac3a978a473947db595c5a1dcc79a347dcf9e/hack/build-install-yaml.sh#L42-L58.
I don't think we're suggesting anyone use the individual YAML files, so it may make sense to pull out the namespace definition to a separate 0-namespace.yaml file.

@robscott I'm interesting in contributing to gateway-api project and I think this issue is a good start, can you assign it to me? Thanks.

Thanks!
/assign @gyohuangxin

@robscott Thanks, I just created a PR, can you review it?

Opening this back up to track a cherry pick into release-0.5

@robscott I raised a PR to cherry pick it into release-0.5, please review it, thanks.

/close
Cherry pick to 0.5 in #1387 has merged.


Edge not displaying jpg images

picture element in Edge browsers does not recognize image types that are jpg and requires them to be jpeg

@willpatera - PR fix - https://github.com/pupil-labs/pupil-labs-website/pull/279

Thanks! Merged; closing 😸


Feature/add unit tests

Description
Add some minimal unit tests for decider.py, storage.py and checking that various CLI commands run without error. In doing so, I cleaned up some of the codebase as follows:

Combine all decider classes into decider.py.
Combine all storage classes into storage.py.
Define IStorage, IDecider as abstract base classes to enforce methods are defined in concrete implementations.
Fix typo referring to SNalert in __main__.py.
Add some boolean zen to checking cache messages.
Modify some imports to allow unit tests with mocking to work more seamlessly.
Clean up setup.py, setup.cfg and Makefile to use the newest versions used within the hop client.

This looks good overall @myNameIsPatrick. It's a pretty nice start for the unit test suite.

Thanks!

One item to note is that make conda-build fails since a conda recipe/ doesn't exist yet; the other make commands run as expected. Otherwise, this looks good to me.

Yeah, hopefully that'll either be fixed when a conda recipe is added or alternatively, not needed if published to conda-forge instead.


Added a sample text to team page

Team can update sections as they see fit.
We can iterate on this.
This aims to tackle issue #4

I'm changing the format, please hold off on adding your info!

Closing this PR to make way for a better version!


BUG: sklearn cross_val_predict changed, now incompatible with SlidingEstimator with predict proba

sklearn cross_val_predict has recently changed, and is now incompatible with SlidingEstimator with classification estimators, as it requires n_classes
import numpy as np
from mne.decoding import SlidingEstimator
from sklearn.linear_model import LogisticRegression, LinearRegression
from sklearn.model_selection import cross_val_predict
X = np.random.randn(100, 20, 10)
y = np.random.randint(0, 2, 100)

base_estimator = LinearRegression()
cross_val_predict(SlidingEstimator(base_estimator), X, y)  # ok

base_estimator = LogisticRegression()
cross_val_predict(SlidingEstimator(base_estimator), X, y)  # ok

base_estimator = LogisticRegression()
cross_val_predict(SlidingEstimator(base_estimator), X, y,
                             method='predict_proba')  # not ok

Three possible fixes:

Detect when base_estimator  is classifier, and add n_classes attribute to SlidingEstimator
make mne.decoding.cross_val_multipredict, similar to mne.decoding.cross_val_multiscore
add a 'method' argument to SlidingEstimator

don't we use cross_val_predict only in examples? if so why not passing
n_classes in our examples code?

I don't understand.
It's more general issue of making SlidingEstimator compatible with sklearn, not just an example issue.

what do you want to do? what code breaks and should not?

? Please read above description, and possible fixes.

you need to add this:
https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/model_selection/_search.py#L553
to our metaestimators

Ok I tried, but it's more complicated than this, because now, sklearn cross_val_predict initialize the shape of y_pred array based on the number of samples and the number of classes. However, with SlidingEstimator, y_pred is of shape (n_samples, n_times, n_classes).
This leaves us with options 2 or 3.

then we need cross_val_multipredict ...

I think I join you on the '...'
Shall I try to get this for the release, or is it better to give us some time to think?
The quick fix for now is to do e.g.
class MyClf(LogisticRegression):
    def predict(self, X):
         return self.predict_proba(X)

cross_val_predict(MyClf(), X, y))

More generally, I think cross_val_multipredict would be useful. (Not volunteering :D)

see #5394


Adds logo for Ergold

Ergold - a store of value asset powered by Ergo

Token ID: 	       e91cbc48016eb390f8f872aa2962772863e2e840708517d1ab85e57451f91bed
Date of birth:     7/11/2021
Amount:            55,000,000

Tokenomics

Total supply: 55,000,000
Ergold in circulation: 30,677,232 - distributed through ErgoFaucet
Public Allocation: 95.46%
Marketing and Promotion: 0.54%
Team Allocation: 4%

Main Goals

Become the main store of value token on the ergo blockchain
Become the most used social award token
Become the community favorite token for payments on GetBlok
Become one of the highest APR liquidity pool on ErgoDEX
Achieve as many use cases as possible

Usage
Swap and provide Liquidity in Ergold pool on the first non-custodial decentralized exchange on the ergo blockchain - ErgoDEX
Rationale
Gold has been a store of wealth for thousands of years and has outlasted the currencies of various empires and nation-states that have come and gone.
It is estimated that we have less than 55,000 tons of gold left to discover.
Gold mining is one of the most destructive industries in the world.  It pollutes water and land with mercury and cyanide, endangering the health of people and ecosystems.
Our Understanding of a Traditional Asset Has Changed.
An asset is anything of value or a resource of value that can be converted into cash. So an asset’s value will depend on the collective belief and trust of the people dealing with it.
The growth in the number of cryptocurrencies is changing all of this, and the faith placed in them by investors is driving confidence in them as an asset class. If investors continue to believe in the value of gold because others believe in it, it will remain an asset. The difference between cryptocurrencies today and gold in the past is therefore minimal.
It is not a secret that Bitcoin is the most valued and thereby attractive cryptocurrency on the market. Experts have largely credited this to its scarcity.
Scarcity increases the value of an asset, therefore the Ergold quantity issued will be capped at 55 million. The number of kilograms of gold left to be discovered.
Let's reduce the environmental impact and make its practices more sustainable with the blockchain technology.
Social links
Website
Twitter
Discord
Reddit
Thank you for merging, much ❤

I support this PR, would be nice to see the Ergold logo in my wallet 💯


Vue: Could not find a declaration file for module vs-vue3-select.

Vue: Could not find a declaration file for module vs-vue3-select.
Vue: Could not find a declaration file for module vs-vue3-select.
c:/..../node_modules/vs-vue3-select/dist/vs-vue3-select.es.js
implicitly has an any type.
There are types at
c:/..../node_modules/vs-vue3-select/index.d.ts
, but this result could not be resolved when respecting package.json exports. The vs-vue3-select library may need to update its package.json or typings.

Having same issue ther....


[de]compress_to_buffer overwrites data in Vec<u8> target buffer

Both Compressor::compress_to_buffer and Decompressor::decompress_to_buffer overwrite any pre-existing contents of the provided buffer without this being documented.
This makes it difficult to work with pre-allocated consecutive memory for more than just the (de)compression of one block and makes 0-copy use of zstd-rs in memory-sensitive workloads much more difficult.

Documentation could certainly be better for the WriteBuf trait.
Note that for Vec<u8>, the capacity is not changed when using it as a WriteBuf (this means that using Vec::new as a buffer here will never work).
Sounds like what you want is to use a Vec + offset, and only write data after this offset.
This is actually very similar to a Cursor<Vec<u8>>, so I think I may add a WriteBuf implementation for that.
It will use as buffer the space between the current cursor location and the end of the vector capacity.
fn compress(compressor: &mut Compressor, source: &[u8], target: &mut Vec<u8>) -> std::io::Result<()> {
  // Where we should start to write.
  let start = target.len();
  let mut cursor = Cursor::new(target);
  cursor.set_position(start);
  compressor.compress_to_buffer(source, &mut cursor)?;
  Ok(())
}

Note: zstd-safe now has impl WriteBuf for Cursor<T: WriteBuf> (which includes Cursor<Vec<u8>>).
It will essentially ignore data before the current position.


yq 2.11.1 fails to install

Describe the bug
yq fails to install with the latest nixpkgs and/or version.
To Reproduce
Steps to reproduce the behavior:

nix-channel --update; nix-env -iA nixpkgs.nix
nix-env -i yq

Expected behavior
Installs without error.
Additional context
I had previously happily installed yq with an older nixpkgs-unstable. Upgrading myPackages failed with yq included. So I excluded it to proceed. Attempting to re-install it individually fails with an illegal arg.
% nix-env -i yq
installing 'yq-2.11.1'
these derivations will be built:
  /nix/store/4xy8aqbbd14zf1jw6zvav0kkijzx26s6-python3.8-yq-2.11.1.drv
building '/nix/store/4xy8aqbbd14zf1jw6zvav0kkijzx26s6-python3.8-yq-2.11.1.drv'...
Sourcing python-recompile-bytecode-hook.sh
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing setuptools-check-hook
unpacking sources
unpacking source archive /nix/store/wnabq2cy7c7j6yb0jxswl4qjzdbiphp2-yq-2.11.1.tar.gz
source root is yq-2.11.1
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file yq-2.11.1/yq.egg-info/top_level.txt
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/yq
copying yq/version.py -> build/lib/yq
copying yq/compat.py -> build/lib/yq
copying yq/__init__.py -> build/lib/yq
copying yq/dumper.py -> build/lib/yq
copying yq/parser.py -> build/lib/yq
copying yq/loader.py -> build/lib/yq
copying yq/__main__.py -> build/lib/yq
running egg_info
writing yq.egg-info/PKG-INFO
writing dependency_links to yq.egg-info/dependency_links.txt
writing entry points to yq.egg-info/entry_points.txt
writing requirements to yq.egg-info/requires.txt
writing top-level names to yq.egg-info/top_level.txt
reading manifest file 'yq.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'yq.egg-info/SOURCES.txt'
installing to build/bdist.macosx-10.6-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.6-x86_64
creating build/bdist.macosx-10.6-x86_64/wheel
creating build/bdist.macosx-10.6-x86_64/wheel/yq
copying build/lib/yq/version.py -> build/bdist.macosx-10.6-x86_64/wheel/yq
copying build/lib/yq/compat.py -> build/bdist.macosx-10.6-x86_64/wheel/yq
copying build/lib/yq/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/yq
copying build/lib/yq/dumper.py -> build/bdist.macosx-10.6-x86_64/wheel/yq
copying build/lib/yq/parser.py -> build/bdist.macosx-10.6-x86_64/wheel/yq
copying build/lib/yq/loader.py -> build/bdist.macosx-10.6-x86_64/wheel/yq
copying build/lib/yq/__main__.py -> build/bdist.macosx-10.6-x86_64/wheel/yq
running install_egg_info
Copying yq.egg-info to build/bdist.macosx-10.6-x86_64/wheel/yq-2.11.1-py3.8.egg-info
running install_scripts
creating build/bdist.macosx-10.6-x86_64/wheel/yq-2.11.1.dist-info/WHEEL
creating 'dist/yq-2.11.1-py2.py3-none-any.whl' and adding 'build/bdist.macosx-10.6-x86_64/wheel' to it
adding 'yq/__init__.py'
adding 'yq/__main__.py'
adding 'yq/compat.py'
adding 'yq/dumper.py'
adding 'yq/loader.py'
adding 'yq/parser.py'
adding 'yq/version.py'
adding 'yq-2.11.1.dist-info/LICENSE'
adding 'yq-2.11.1.dist-info/METADATA'
adding 'yq-2.11.1.dist-info/WHEEL'
adding 'yq-2.11.1.dist-info/entry_points.txt'
adding 'yq-2.11.1.dist-info/top_level.txt'
adding 'yq-2.11.1.dist-info/RECORD'
removing build/bdist.macosx-10.6-x86_64/wheel
Finished executing setuptoolsBuildPhase
installing
Executing pipInstallPhase
/private/tmp/nix-build-python3.8-yq-2.11.1.drv-0/yq-2.11.1/dist /private/tmp/nix-build-python3.8-yq-2.11.1.drv-0/yq-2.11.1
Processing ./yq-2.11.1-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /nix/store/0sm4pqw3l3zc69y70bp04kjf212mmgga-python3.8-setuptools-47.3.1/lib/python3.8/site-packages (from yq==2.11.1) (47.3.1.post20201007)
Requirement already satisfied: argcomplete>=1.8.1 in /nix/store/63hxxkklws5mw2qbm4y5l1m13r0vyx2a-python3.8-argcomplete-1.12.1/lib/python3.8/site-packages (from yq==2.11.1) (1.12.1)
Requirement already satisfied: PyYAML>=3.11 in /nix/store/256sqjn9yf2rk4nmhxg2hfj70cvr791k-python3.8-PyYAML-5.3.1/lib/python3.8/site-packages (from yq==2.11.1) (5.3.1)
Requirement already satisfied: xmltodict>=0.11.0 in /nix/store/z0gbb3xf2i3s0r2jhh0g4wpkgfvn1wwl-python3.8-xmltodict-0.12.0/lib/python3.8/site-packages (from yq==2.11.1) (0.12.0)
Installing collected packages: yq
  WARNING: The scripts xq and yq are installed in '/nix/store/r39mp8gmssnlrjdxjkmvhm7kmj0yp9df-python3.8-yq-2.11.1/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed yq-2.11.1
/private/tmp/nix-build-python3.8-yq-2.11.1.drv-0/yq-2.11.1
Finished executing pipInstallPhase
post-installation fixup
strip is /nix/store/1h9ivag16gyysxjgfwq5dfk8w6g246g7-cctools-binutils-darwin-949.0.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/r39mp8gmssnlrjdxjkmvhm7kmj0yp9df-python3.8-yq-2.11.1/lib  /nix/store/r39mp8gmssnlrjdxjkmvhm7kmj0yp9df-python3.8-yq-2.11.1/bin
patching script interpreter paths in /nix/store/r39mp8gmssnlrjdxjkmvhm7kmj0yp9df-python3.8-yq-2.11.1
Rewriting #!/nix/store/65gmh01007csxmd6bbkvas8zkhlw0k7n-python3-3.8.6/bin/python3.8 to #!/nix/store/65gmh01007csxmd6bbkvas8zkhlw0k7n-python3-3.8.6
wrapping `/nix/store/r39mp8gmssnlrjdxjkmvhm7kmj0yp9df-python3.8-yq-2.11.1/bin/yq'...
Rewriting #!/nix/store/65gmh01007csxmd6bbkvas8zkhlw0k7n-python3-3.8.6/bin/python3.8 to #!/nix/store/65gmh01007csxmd6bbkvas8zkhlw0k7n-python3-3.8.6
wrapping `/nix/store/r39mp8gmssnlrjdxjkmvhm7kmj0yp9df-python3.8-yq-2.11.1/bin/xq'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
running install tests
script: illegal option -- c
usage: script [-adkpqr] [-t time] [file [command ...]]
builder for '/nix/store/4xy8aqbbd14zf1jw6zvav0kkijzx26s6-python3.8-yq-2.11.1.drv' failed with exit code 1
error: build of '/nix/store/4xy8aqbbd14zf1jw6zvav0kkijzx26s6-python3.8-yq-2.11.1.drv' failed

Notify maintainers

@womfoo
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
% nix-shell -p nix-info --run "nix-info -m"
these paths will be fetched (1.46 MiB download, 7.88 MiB unpacked):
  /nix/store/9m96g1w7kn13skqb9w65spivpxr03qyj-nix-info
  /nix/store/cbnj15q3s138lkvvybkdb2r685hbgjch-DarwinTools-1
  /nix/store/g10lh1d8nxgx4hfnl8rykfhvwlx0wzkr-bash-interactive-4.4-p23-dev
  /nix/store/kbhzdawssrc4n5y2hz8kglhrc84lfzdm-bash-interactive-4.4-p23-info
  /nix/store/kxfyjgs1zl7yr47v0wyfhyrz25rilq8b-bash-interactive-4.4-p23-doc
  /nix/store/swyww649l0lpvfz4lxi7rb3zw8wxgxmy-bash-interactive-4.4-p23
  /nix/store/v6yya46p98b5vp58cis6rsyz6kr5cw2j-bash-interactive-4.4-p23-man
  /nix/store/ydhy739bc8qab6fsfrs97n59pc6xzjx9-readline-7.0p5
copying path '/nix/store/kxfyjgs1zl7yr47v0wyfhyrz25rilq8b-bash-interactive-4.4-p23-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/cbnj15q3s138lkvvybkdb2r685hbgjch-DarwinTools-1' from 'https://cache.nixos.org'...
copying path '/nix/store/kbhzdawssrc4n5y2hz8kglhrc84lfzdm-bash-interactive-4.4-p23-info' from 'https://cache.nixos.org'...
copying path '/nix/store/v6yya46p98b5vp58cis6rsyz6kr5cw2j-bash-interactive-4.4-p23-man' from 'https://cache.nixos.org'...
copying path '/nix/store/9m96g1w7kn13skqb9w65spivpxr03qyj-nix-info' from 'https://cache.nixos.org'...
copying path '/nix/store/ydhy739bc8qab6fsfrs97n59pc6xzjx9-readline-7.0p5' from 'https://cache.nixos.org'...
copying path '/nix/store/swyww649l0lpvfz4lxi7rb3zw8wxgxmy-bash-interactive-4.4-p23' from 'https://cache.nixos.org'...
copying path '/nix/store/g10lh1d8nxgx4hfnl8rykfhvwlx0wzkr-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-darwin"`
 - host os: `Darwin 19.6.0, macOS 10.15.7`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.3.8`
 - channels(ldeck): `"nixpkgs-21.03pre250093.0da76dab4c2"`
 - nixpkgs: `/Users/ldeck/.nix-defexpr/channels/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
  yq
# a list of nixos modules affected by the problem
module:

https://github.com/NixOS/nixpkgs/pull/100717


Add dashboard

what elements u want in dashboard ? can u assign this to me??

sure, go ahead @pinak22dhir in dashboard u can add progress bar and charts of total data scrapped also timestamp with its metrics


Fix summary quantile values

Description
We are sending invalid quantile values. We allow sending quantile range from 1-100 also in addition to 0-1.0. Only 0-1.0 is valid. Changed to always use that.
Also added another layer of exception handling of JEL expression evaluation.
Type of Change

[x] Bug Fix

Bypassing approval for 23.6.0 release.


Add release notes for 0.61 release

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


Angular shaka-player.compiled.js unresolved variable polyfill and Player

Hello,
Shaka Player version 2.1.0
Custom app (angular 4.0.3, angular-cli 1.0.0-beta.28.3)
Demo app run on local web server
python -V

Python 2.7.10

java -version

java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

npm install shake-player --save
python build/all.py

fatal: No names found, cannot describe anything.
npm ERR! code 1
184 files checked, no errors found.
Scanned 3 files, no errors found (31 ms).
Checking that the build files are complete...
Checking the tests for type errors...
Compiling the library...

mycustom.component.ts in my angular project
import shaka from "shaka-player/dist/shaka-player.compiled.js";
...
@ViewChild('video') videoRef: ElementRef;
...
constructor() {
    console.log(shaka);
}
...
ngOnInit() {
    shaka.polyfill.installAll();

    // Check to see if the browser supports the basic APIs Shaka needs.
    if (shaka.Player.isBrowserSupported()) {
      // Everything looks good!
    } else {
      // This browser does not have the minimum set of APIs we need.
      console.error('Browser not supported!');
    }
  }
...

shaka.polyfill is not defined like shaka.Player
console.log(shaka); in constructor display an empty object.
Same issue with  import * as shaka from "shaka-player/dist/shaka-player.compiled.js";
With  import shaka from "shaka-player"; or import * as shaka from "shaka-player"; polyfill is recognized as variable of shaka in editor but is undefined on load and shaka.polyfill.installAll() fail.
shaka.Player still Unresolved.
Any help is welcome
Regards

@codegastudio, we don't have any experience with Angular or TypeScript, so I'm not sure how that "import" statement works.  It's likely that we don't have support for that loading mechanism in our wrapper.  See build/wrapper.template.js for the current wrapper mechanism, which supports CommonJS and AMD loaders.
I'm going to tentatively mark this as "enhancement" to support this type of import, but again, I don't know what's involved yet.

I've been looking at TypeScript a bit.  Can you try this?
import * as shaka from "./shaka-player.compiled.js"
shaka.polyfill.installAll();

This working like that
import * as shaka from "shaka-player";
...
shaka.polyfill.installAll();

I think than i had a cache problem the previous time :/
Thx @joeyparrish


Update jupyter_tools.py

Adds a missing toString function and related vtk import, and changes CQ imports for build123d.
This fixes the issues in CQ-editor described here: https://github.com/gumyr/build123d/issues/89

Thank you!  With this change can issue #89 be closed?


Remove HAVE_RAM_AVAILABLE_128K in favour of dynamic heap checking in test

Description
Ref. email discussions with @ronald-cron-arm and @gilles-peskine-arm. HAVE_RAM_AVAILABLE_128K was put in as a hasty fix, and doesn't scale that well (i.e. what about 64K? 32K?). It's definition was also pretty unclear: is it 128K total? Or 128K heap size?
Since the test system now got extended with ASSERT_ALLOC_WEAK, we can leverage that specifically for those tests which try to exercise the absolute largest key size possible. If allocating a buffer the size of the key fails, then the test is skipped, instead of requiring the user to know about a well-hidden compile-time define that needed to be commented out manually in the test files.
Status
READY
Requires Backporting
NO
Migrations
NO
Todos

[X] Tests
[X] Documentation

Steps to test or reproduce
No impact on testing. All tests should still succeed on regular targets (with large enough memory sizes). This change enables on-target testing for constrained devices with the same set of tests as otherwise run by default.

@ronald-cron-arm Since I addressed all comments, can I remove the 'needs work' label?

@ronald-cron-arm Since I addressed all comments, can I remove the 'needs work' label?

@ronald-cron-arm Since I addressed all comments, can I remove the 'needs work' label?

Yes please.

@ronald-cron-arm Since I addressed all comments, can I remove the 'needs work' label?

Yes please.

There's a merge conflict in test_suite_psa_crypto.data, and there'll be a conflict with https://github.com/ARMmbed/mbedtls/pull/4012 as well. Since #4012 is more complex, may I go first?

@gilles-peskine-arm If you think #4012 will be merged soon, then sure. I'd like to close this one out rather quickly, too.

@daverodgman and @gilles-peskine-arm I've rebased and updated the PR. Please review.
Also, I mistakenly pushed to origin instead of my fork. Sorry about that. Deleted the branch immediately after, but it still triggered the Travis 'Branch' job, which will obviously fail now that the branch is deleted. So it can be ignored safely.

Also, I mistakenly pushed to origin instead of my fork.

This is what I use in my .git/config to avoid accidental pushes:
[remote "upstream-public"]
        url = https://github.com/ARMmbed/mbedtls.git
        fetch = +refs/heads/*:refs/remotes/upstream-public/*
        fetch = +refs/pull/*/head:refs/remotes/upstream-public/pr/*
        pushurl = do not push to this remote

Rebased due to merge conflict with #3933. Please re-approve @gilles-peskine-arm and @daverodgman

@daverodgman is the latest version still ok with you ?


Shift+Enter on a file with cells always sends the entire cell even if code is selected

On a file without cells, Shift+Enter runs the current line or the selection.
On a file with cells, it should run the current cell, or the selection. It doesn't run the selection.

When I added the shift-enter re-rerouting I only dealt with the .py files with no cells. Since those were the cells that conflicted with terminal. But the with cells case the previous logic (shift-enter = run this cell) is still winning out. Run cell should only run if there is no selection.

Hello,
I'm having a similar issue where shift + enter exclusively sends to the Python terminal instead of the notebook. I've looked around to see if it's a config issue on my part and haven't found anything about VSCode's jupyter support other than just importing the notebook and pressing shift+enter.
Maybe it's a bug?

Hey @FranciscoRZ you are able to start and run the notebook normally? Our shift-enter prompt should come up if you have a valid jupyter install and ask you one time if you want to send shift-enter to our window instead of the terminal.

If you want to force this, there is a setting:
Python>Data Science: Send Selection To Interactive Window.
That way even without the popup you can get the same effect.

I never got the shift enter prompt...

It’s frustrating because I feel like I almost got the perfect Python
editor, but not quite 😭
I’ll reinstall tomorrow and let you know if that’s fixes it.
Thanks for answering!
On Fri 15 Feb 2019 at 18:05, Ian Huff<EMAIL_ADDRESS>wrote:

Hey @FranciscoRZ https://github.com/FranciscoRZ you are able to start
and run the notebook normally? Our shift-enter prompt should come up if you
have a valid jupyter install and ask you one time if you want to send
shift-enter to our window instead of the terminal.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode-python/issues/4413#issuecomment-464124905,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aipao9-RWb_t1cw-hbCTqASvkDk5Gx0Fks5vNujpgaJpZM4a8j-D
.

I’ll make sure to try it out and let you know when I get back to the office
:)
Thanks again!
On Fri 15 Feb 2019 at 18:07, Ian Huff<EMAIL_ADDRESS>wrote:

If you want to force this, there is a setting:
Python>Data Science: Send Selection To Interactive Window.
That way even without the popup you can get the same effect.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode-python/issues/4413#issuecomment-464125552,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aipao7BZzQsB-P6htZHTgNCOTmOxbmr2ks5vNulmgaJpZM4a8j-D
.

No problem, if there are still any issues with it just give me a ping back here and I'll look into it.

Also, please add more logging for webview startup.

@IanMatthewHuff, left an answer on StackOverflow. Thanks again for taking an interest! (And sorry for the delay in answering, I forgot it was Friday last week and I wasn't coming to the office on Saturday :'D)

@IanMatthewHuff, I really don't understand what's happening. I just downloaded the insiders build and still don't have the option (in Command Palette Open Settings (UI)) you spoke of, nor the pop-up.
Exact steps:

Dowload insider build
Lauch Anaconda Prompt
cd {projectFolder}/.ipynb_checkpoints
conda activate {myEnv}
code-insiders .
From Code, open {fileName}.ipynb, import Jupyter Notebook
Command Palette: >python: Show Python Interactive Window
In Untitled-1.py, write print('Hello, World') then select code and press shift+enter

Expected: sends to Python Interactive window
Actual: creates new Python terminal, deactivates conda env, reactivates same conda env, sends print('Hello, World') to created terminal

@FranciscoRZ My apologies. I led you wrong here. Very sorry about that.
This code has been added (and the setting exists) but it's not yet in the public shipping version of our extension. When you mentioned insiders builds I thought that you meant the preview / dev build of our extension. But you would not yet see this fix in VSCode or VSCode - Insiders as those would both still be using our most recent public extension.
For this fix you'd need to either wait for the February release (which should be coming along pretty soon now) or you can take a peek at our current development build here:
https://github.com/Microsoft/vscode-python/blob/master/CONTRIBUTING.md#development-build
Sorry about your time looking into that.

Thanks for the helpful answer !
I'll wait for the release to make the installation is stable.
Just out of curiosity, what's the difference between the VS Code Insiders and the development build?
I thought that's exactly what Insiders was :sweat_smile:

@FranciscoRZ Yeah, so it is a bit confusing regarding that. Basically extensions (even the Microsoft provided ones) are all separate from VSCode core. VSCode - Insiders represents a development build of VSCode core only, all the extensions that you have installed would just be the normal public version of each extension. So if you have VSCode and VSCode - Insiders installed the extensions for both will all just be the same public versions. You have to update extensions specifically if you want pre-release versions of them (and not all extensions even provide pre-release versions).

Oh right, forgot about the nuance.
Anyways, thanks for taking the time! I'm a big fan of what you guys are doing. Coming from a C# dev background to Python, I really missed the feel of coding with VS and VS Code Python really does a great job of bringing it all together, so big ups to all you guys :smiley:

How do I get rid of this? I want shift+enter to run selection on a terminal and the only way I can do this now is by pressing ctrl+shift+p and selecting that instruction. currently its trying to connect to a jupyter notebook and it fails everytime. very frustrating...
Executing code failed : Error: Failed to connect to Jupyter notebook.
http://localhost:8888/
TypeError: request to http://localhost:8888/api/contents/?1551289757156 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888

@nosisyphus 	there's a setting that determines what shift+enter does. You can use that to force it to send to the terminal.

Although it's bad that your jupyter notebook isn't running. Does it crash?

@nosisyphus Is this a file with interactive cells defined (#%%) that you are working with?

@IanMatthewHuff no, just a .py file with print("Hello world"). I made the mistake of trying this new feature and now I'm trying to go back

@rchiodo no, doesnt crash, just tries to connect everytime I hit shift+Enter, then I get that message. I was able to go back to terminal, though, thanks to you!
@IanMatthewHuff no, regular .py with 1 line, as I was trying to test the new feature.

Sorry I should have been more specific. ECONNREFUSED can happen if the jupyter server crashes. Or if you have a remote server URI specified (another setting we have).
So you'd have to check if jupyter was running still or not.


Shree: Watch boxfinity.com

Shree requests the watch of the watch_keyword boxfinity\.com. See the MS search here and the Stack Exchange search here.

!!/approve


Nturinski/feature9

Fixes #9

Should we be localizing every string, even ones that only say 'Yes'?  And it's only strings that appear on the UI, correct?

Tested with Azure App Services.  I was silly and forgot that I had changed branches after linking 😅

@nturinski Merged this so I can work on the 'Delete Function App' which is also in SiteWrapper. Feel free to make any leftover changes separately


Updated CONTRIBUTING.md

I have included a motivational quote and included a direct link to the "https://mattermost.com/contribute/" page.

Summary

Ticket Link

Hello @jakaya123,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

Hi, @jakaya123! Thanks very much for your contribution, it's much appreciated. I really like the intention behind your change. I don't know how often this file is referenced and I'm looping @hanzei into this thread for some feedback around the contribution workflow and intention. Looking forward to discussing this further! :)

I have changed it.
Plz, review.

Thank you very much, @jakaya123! I appreciate this PR. In this case I agree with @hanzei in that the motivational quote isn't exactly suited for this document so I have suggested it be removed. I do, however, see the value in it and hope to find a suitable place for it in our content. :)

Thanks for your contribution, @jakaya123! If you'd be opening to signing the CLA, your PR can be merged. :)

/check-cla

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook

Hi @jakaya123. Just wanted to follow up on this and find out whether we can assist with the CLA step in any way. :)

Hi @jakaya123. Just following up on this. Let us know if you need any guidance around the CLA. :)

Hi @jakaya123! I wanted to follow up on this to confirm whether we can assist with the CLA process so we can merge your PR. :)

sorry for my late reply
If you can please instruct me what should I do.

I have signed CLA.

/check-cla

/update-branch

Thanks for signing the CLA @jakaya123 :+1:

👍


MultiSelectFilter break on L8.x

Package
filament/tables
Package Version
v2.15.24
Laravel Version
v8.83.23
Livewire Version
No response
PHP Version
PHP 8.1
Problem description
Following the implementation of the Filter indicators MultiSelectFilter are broken when using Laravel 8.
Simple reason: Arr:join doesn't exists on Laravel 8, it's come from Laravel 9.
https://github.com/filamentphp/filament/pull/3599/files#diff-480fef5e7837495da1a3b5e620e71c32fc2067f5e2b883fa82c1c742863777ffR37
Expected behavior
Not having 500 :D
Steps to reproduce

Add a MultiSelectFilter
Filter anything
500 Method Illuminate\Support\Arr::join does not exist.

Reproduction repository
None
Relevant log output
No response

Whoops! Will fix this.

2b8703b8468911c3f56e8b661e0c2b3c0f296b16


Auto corrected by following Lint Ruby Layout/HeredocIndentation

Auto corrected by following Lint Ruby Layout/HeredocIndentation
Click here to configure it on awesomecode.io

Coverage remained the same at 80.877% when pulling df2aad4642afa625a08e8ecb73fdaaa27d187651 on awesomecode-lint-ruby-layout-heredocindentation-48350 into f66c38405d052d8c5b44ab260f71e8e09bbea9b0 on master.


[Tooltip] Tooltips in IE11 simply broken.

Bug, feature request, or proposal:
Tooltips work fine in Chrome, In IE however they fail to show up visually.
What is the expected behavior?
Tooltips should be visible in the DOM and to the user.
What is the current behavior?
Tooltips render in the DOM, but not visually, almost as if change detection isn't firing completely.  Changing a style on the tooltip while it exists in the DOM, causes it to pop in suddenly visually for the user.
What are the steps to reproduce?
Plunker works in Chrome as expected, but breaks in IE11.
http://plnkr.co/edit/Zx6laLQrd3AlgFWpImph?p=preview
What is the use-case or motivation for changing an existing behavior?
Tooltips should be supported in IE11...
Which versions of Angular, Material, OS, browsers are affected?
Angular 2.4.6
Angular Material - 2.0.0-beta.2
IE11
Is there anything else we should know?

Angular requires the web animations framework that not all browsers support natively, including IE11.
Fortunately there is a polyfill that enables web animations for all browsers. You can see more information by reading the Angular Animations guide.
Here's a working example that includes the animations polyfill: http://plnkr.co/edit/gDOx30hpVUIXkSl6mcRq?p=preview


[docs] use real path for checkpoint

What does this PR do?
I got the following error, when running the example code in quicktour docs:
ValueError: `checkpoint` should be the path to a file containing a whole state dict, or the index of a sharded checkpoint, or a folder containing a sharded checkpoint or the whole state dict, but got mistralai/Mixtral-8x7B-Instruct-v0.1.

I think using the model_id name for checkpoint in load_checkpoint_and_dispatch is a bit misleading. It is better to tell users to pass their local model folder for checkpoint.
@muellerzr

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@muellerzr can we merge this one as well? thx so much!


Do we have pure tensorflow version?

Hi,
Do we have pure tensorflow version or we just have keras+tensorflow version?
Thanks.

At the moment I've only released a keras+tensorflow version. But I don't think it's too difficult to write your own Tensorflow version by converting the logic in https://github.com/sadeepj/crfasrnn_keras/blob/master/src/crfrnn_layer.py to pure Tensorflow.


What difference global subscriptions vs subscriptions on router?

I don't understand to declare subscriptions for global and subscriptions on router?
What difference, please explan me??
FlowRouter.route('/blog/:postId', {
    subscriptions: function(params, queryParams) {
        this.register('myPost', Meteor.subscribe('blogPost', params.postId));
    }
});

FlowRouter.subsReady("myPost")
--------------------
// in client/lib/subscriptions.js
Meteor.subscribe('blogPost', params.postId)

If you register it globally, it  will run on all the routes. If not subscription only runs for the given route. When you change the route, route specific subscriptions will unsubscribe.
Do you need more clarifications?

Very thank, for your explain. So it mean that we can use all of subscriptions (on router) in template helper, event .... What difference if I use subscriptions  on template helper or events when we need it.

I think you are referring to subscription data, it thats, yes it is.
On Sat, May 23, 2015 at 9:39 AM Yuom Theara<EMAIL_ADDRESS>wrote:

Very thank, for your explain. So it mean that we can use all of
subscriptions (on router) in template helper, event .... What difference if
I use subscriptions on template helper or events when we need it.
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/flow-router/issues/119#issuecomment-104833359
.

but sometime I get undefined.

I need some sample code. It's hard to tell like this.
On Sat, May 23, 2015 at 9:41 AM Yuom Theara<EMAIL_ADDRESS>wrote:

but sometime I get undefined.
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/flow-router/issues/119#issuecomment-104833506
.

I used to use subscriptions on template events
Template.myTemplate.events(
   'click #id': function(){
      Meteor.subscribe('blogPost');
      var data = BlogPost.find();

      // doing with data

         return ..........;
      }
  }
)

but get undefined of data

OK If I user it on router, so I need to check subsReady() like:
Template.myTemplate.events(
   'click #id': function(){
      if(FlowRouter.subsReady("myPost")){
         // doing with subscriptions
         return ..........;
      }
  }
)

BlogPost.find() never won't be undefined.  In an helper you can subsReady. But for an event, you need to use subsReady() inside a Tracker.autorun(). Otherwise, it won't run again.
Template.myTemplate.events(
   'click #id': function(){
      Tracker.autorun(function(c) {
        if(FlowRouter.subsReady("myPost")){
           // do something with the data
           c.stop();
        }
      });
  }
)

We need a different feature here. To specify a callback when the subsReady. I'll add new feature request.

I added a new feature request here: #120

I'm closing this issue for now. For this feature, lets talk on #120
If this is not what you are looking for, open the issue again.


New extension: Alternate Between Scales

Description
This behavior can alternate (tween) an object's scale between two scales that are specified in the behavior properties.

How to use the extension
When this behavior is attached to an object that supports tweening, it can alternate its scale between two scales. This, for example, can make something look like a beating heart or breathing chest.
Checklist

[X] I've followed all of the best practices.
[X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.

Example
Alternate Between Scales 1.0.0 Example Project
Extension file
Alternate Between Scales 1.0.0 Extension

!merge


Updated the protocol

@p-delorme I have updated the protocol as well as the Webhook issue. This should fix #8 #9 and possibly #7

Hello @shoaibsharif,
Thanks for the MR, although I've just released a new version with a lot of updated code including Protocol.
I will be closing this MR but feel free to reopen if needed.


gen_pack: command not found

Hi, I installed git, xmllint and 7-zip as per the information and steps given in the README, and copied the latest version of gen_pack.sh in the template folder to my working directory after executing the git update-index --chmod=+x gen_pack.sh command.
I also modified gen_pack.sh gen_pack.zip as per the steps and executed command ./gen_pack.sh in git bash, but it says gen_pack: command not found.

I thought it was because the gen_pack.sh script couldn't get the location of gen_pack, so I tried both methods of placing gen-pack in my working directory and adding the directory where gen-pack is located to the system environment variable Path, but neither of them worked, the second method ended after printing these messages in the image below  (in order to make it executable, I made an extra copy of gen-pack and renamed it to gen_pack). How can I solve this problem? Thank you for your help.

Hi @DinoHaw,
Looks like you are facing multiple issues.
Given you are using the gen_pack.sh template from here:
https://github.com/Open-CMSIS-Pack/gen-pack/blob/cebe15cebe986304d826d82577c9c1c7bf67e2c7/template/gen_pack.sh#L107-L111
You can see, there are two ways the gen-pack library can be loaded. The default way is in line 110 by sourcing the bootstrap script:
https://github.com/Open-CMSIS-Pack/gen-pack/blob/cebe15cebe986304d826d82577c9c1c7bf67e2c7/bootstrap#L35-L40
This bootstrap script downloads the required version of the library and sources it. The final  gen_pack call in gen_pack.sh refers to the main function of the library.
Alternatively, you can install any version of the gen-pack library, manually. For example, cloning the repository as you did in the second try. By setting GEN_PACK_LIB_PATH to point to the repository root (where the gen-pack entry point is) makes this library to be used.
In your case, this seems to be working.  I.e., on your machine there is no LANG environment variable set. The gen-pack library relies on UTF-8 encoding (e.g., used for filenames). Any other encoding could cause weird behaviour. As a fallback, the library tries to detect the encoding itself and assumes LANG=zh_CN.UTF-8.
What looks strange is, that even when calling gen_pack.sh -h it does not print out the usage text as expected. Can you please run the script with trace? I.e., do bash -x gen_pack.sh -h 2> trace.log and attach the trace.log to your reply.


Dynomite causing huge decrease in read-write speed

I am thinking of using dynomite for geo replication of redis data. I was just benchmarking the dynomite with redis on a single node and I found it to be too slow. I have seen very good benchmarking results of dynomite with redis . I don't understand why my dynomite is too slow.
Node hardware details:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             2
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 6
Model name:            QEMU Virtual CPU version 2.0.0
Stepping:              3
CPU MHz:               2666.760
BogoMIPS:              5333.52
Virtualization:        VT-x
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              4096K
NUMA node0 CPU(s):     0-7
Flags:                 fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 ht syscall nx lm rep_good nopl eagerfpu pni vmx cx16 x2apic popcnt hypervisor lahf_lm tpr_shadow vnmi flexpriority ept vpid

I am using the the redis_single.yml conf file which is used with docker.
dyn_o_mite:
  dyn_listen: <IP_ADDRESS>:8101
  data_store: 0
  listen: <IP_ADDRESS>:8102
  dyn_seed_provider: simple_provider
  servers:
  - <IP_ADDRESS>:22122:1
  tokens: 437425602

I first ran benchmarking directly on the redis server at port 22122.
redis-benchmark -h <IP_ADDRESS> -q -t set,get -c 100 -p 22122
Result:
SET: 32071.84 requests per second
GET: 25859.84 requests per second

Then, i ran benchmarking on dynomite layer on port 8102 and got very bad results.
redis-benchmark -h <IP_ADDRESS> -q -t set,get, -c 100 -p 8102
SET: 1024.68 requests per second
GET: 978.14 requests per second

What could be the possible reason for my dynomite being too slow?

This is what I get with my virtual machine:
sbirari@ubuntu:~/Work/dynomite (dev)*$ redis-benchmark -q -t set,get -c 100 -p 8102
SET: 60532.69 requests per second
GET: 62421.97 requests per second
sbirari@ubuntu:~/Work/dynomite (dev)*$ redis-benchmark -q -t set,get -c 100 -p 22122
SET: 129701.68 requests per second
GET: 119617.22 requests per second

@shailesh33 Are you using docker to run dynomite? What could be possible reasons for so slow performance?

No we dont use docker. But I just ran in inside a VM.  Try it without a docker and see if that helps?

@shailesh33 ya, it helped. So, the problem was with the docker.
redis-benchmark -q -t set,get -c 100 -h <IP_ADDRESS> -p 22122
SET: 89206.06 requests per second
GET: 88967.98 requests per second

redis-benchmark -q -t set,get -c 100 -h <IP_ADDRESS> -p 8102
SET: 42716.79 requests per second
GET: 43066.32 requests per second

The performance drop is almost 50% with just one node. Is this much drop normal by using dynomite?

that's what I see it on my machine too. I would guess Dynomite does the same parsing etc that Redis does. Other than that, Redis does a little extra work of setting data in memory which is not significantly costly. You could get a better performance with Unix sockets. If Redis supported binary protocol too, it would perform much better.

Please feel free to reopen the issue if you have any more questions,

@shailesh33 When I compiled the  dynomite code on ubuntu, it worked fine. But I am facing problem when I am trying to run make command  on debian stretch. I followed the Dockerfile in the master repo for installing the dependencies.
apt-get install -y \
	autoconf \
	build-essential \
	dh-autoreconf \
	git \
	libssl-dev \
	libtool \
	python-software-properties \
	redis-server \
	tcl8.5

The first three commands for compiling worked fine but I got error when I ran the make command.
Makefile:621: recipe for target 'dyn_crypto.o' failed
make[3]: *** [dyn_crypto.o] Error 1
make[3]: Leaving directory '/home/admin/dynomite/src'
Makefile:668: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/admin/dynomite/src'
Makefile:483: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/admin/dynomite'
Makefile:372: recipe for target 'all' failed
make: *** [all] Error 2

I tried to look at line number 621 in the Makefile but could not make any sense of it.
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
615           if test "$$subdir" = .; then :; else \
616             $(am__make_dryrun) \
617               || test -d "$(distdir)/$$subdir" \
618               || $(MKDIR_P) "$(distdir)/$$subdir" \
619               || exit 1; \
620             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
621             $(am__relativize); \
622             new_distdir=$$reldir; \
623             dir1=$$subdir; dir2="$(top_distdir)"; \
624             $(am__relativize); \
625             new_top_distdir=$$reldir; \
626             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
627             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
628             ($(am__cd) $$subdir && \
629               $(MAKE) $(AM_MAKEFLAGS) \
630                 top_distdir="$$new_top_distdir" \
631                 distdir="$$new_distdir" \
632                 am__remove_distdir=: \
633                 am__skip_length_check=: \
634                 am__skip_mode_fix=: \
635                 distdir) \
636               || exit 1; \
637           fi; \
                                                                                637,1-8       69%
636               || exit 1; \
637           fi; \
638         done

The compile error is related to #414, change libssl-dev (OpenSSL 1.1.x) to libssl1.0-dev (OpenSSL 1.0.x).

@codophobia to speedup dynomite in docker you need decrease log level in startup.sh to 5 or below (-v11 => -v5)


Video Player Inside Recyclerview

I'm using player inside a recyclerview which has different types of items. However, I couldn't achieve to make it full screen. Is there any efficient method to make full screen my player inside recyclerview.

@orhunkupeli If you are about to use ExoPlayer 2.5+ (which also support ads), please take a look at my library here :D.