MM-32241 Detox/E2E: Sample iOS E2E for upload and fast image api client requests

Summary

Added e2e for upload and fast image api client requests

example/detox/e2e/test/fast_image/fast_image_cookie_token_api_client_request.e2e.js
example/detox/e2e/test/fast_image/fast_image_header_token_api_client_request.e2e.js
example/detox/e2e/test/fast_image/fast_image_regular_api_client_request.e2e.js
example/detox/e2e/test/upload/upload_api_client_request.e2e.js

Added new detox screens and components

example/detox/e2e/support/ui/component/progressive_file_upload.js
example/detox/e2e/support/ui/screen/api_client_fast_image.js
example/detox/e2e/support/ui/screen/api_client_upload.js

Added react-native-fs on both iOS and Android example app in order to create files for testing to be used for upload (selecting images/files from native won't work with detox); added file contents to be used to generate the actual files

example/src/utils/files/SampleImage.tsx
example/src/utils/files/SampleText.tsx

Added a simple file server for retrieving static files and stream uploading files

example/servers/file_server.js

Added doc for file server; although file servers are automatically spawned, some may want to run them manually, so I added a short guide

example/FILESERVER.md

Note: There will be a separate PR for Android for making sure the new e2e run against it properly after the known issues are resolved and the PR for Android upload is merged.
Ticket Link
JIRA: https://mattermost.atlassian.net/browse/MM-32241

@migbot Per our discussion, file server is now returning token: value as part of response headers. Also added scenarios for
Header token: client requests with header Authorization: Bearer xyz

display image when header token is available
do not display when it isn't

Cookie token: client gets token --> client requests with cookie

display image when cookie token is available
do not display when it isn't

For the /protected path where token validation happens, when token is valid, request is passed through, otherwise 401 (unauthorized)

@migbot I noticed that the fast image network calls do not pass the additional headers set in the client. Is that intended?

@migbot Thanks! Let me know what you find out. At least on my local testing (I've added logging on the file server for the request headers) and it doesn't seem to be passing the additional headers I've setup.

@migbot Thanks for fixing! I tested locally and the additional headers are now being passed through. I'll pull those changes once merged to master


feat(deprecation): create deprecation function

Uniform deprecation function for both parameters and functions
Fixes NODE-1430

We did the performance testing and these are the results:
https://docs.google.com/spreadsheets/d/1mL0qkTL5HiArBPFErzAA8E6XfvDqb2bZyOIq_5qVCA8/edit?usp=sharing

We plan to merge in only the implementation of the new deprecator with this pull request, and submit a separate pull request for wrapping all the library methods as per Dan's request.


Feature Request: Comment upon resolution with an explanation

Each rule should define an explanation text for itself. An example would be to use a tree in the form of a bulleted list.
Example:
- Multiple Values (<output>)
  - Resolves to a dictionary of answers to weights
  - Value 1
    - Specific Value (<value>)
    - Weight: 1
  - Value 2
    - Random Index (<index>)
    - Method
      - Name: <method>
      - Params: <args>
        - Keyword: value
    - Seed: <seed>
    - Rounds: <rounds>
    - Weight: 1

Okay, explanations are now working, but I'm gated by the fact that there is no support for commenting via the API (https://github.com/manifoldmarkets/manifold/issues/821). I'll probably wait on specific case explanations until that's settled

Okay, infrastructure for this on my end is ready


support http kafka interface

support for kafka http interface, with dynamic wrapper of request Params

Hi, jhserodio, we have kafka plugin for enterprise edition of emqx, please contact with @zhengyupan

we are considering using web-hook as an interface for many situations, but we also need to be able to modify the private function send_http_request attributes, for 'application type' and 'params', this way we would be able to integrate with Confluent REST Proxy API and others.

Using web-hook as an interface for multiple situations is a bad idea because it will waste the advantage of mqtt protocol if you use http interface to operate mqtt broker. The performance would be bad.


Override text splitting mechanism for leaf nodes

https://github.com/jquintozamora/react-d3-treemap/blob/11fdef948b2fd6bc9f44ebf16bcff4875b178793/src/components/Node/LabelNewLine/LabelNewLine.tsx#L36
Right now, nodes without children split the text using a regular expression. Unfortunately, this regular expression doesn't always produce natural-looking splits for visualization (for instance, it splits "it's" into "i" and "t's"). It'd be nice to be able to override this behavior in some way, either with an alternate split regular expression or just with a boolean to disable the split.
(PS: thank you for implementing this treemap, it's nice!)

Hey @xandaschofield ,
Thanks for your suggestion, providing a way to override RegEx looks easy path to go.
Created new version, so you can use splitRegExp prop<EMAIL_ADDRESS>

Amazing, thank you!


Revision reference to see all changes made in one transaction

Thank you very much for this bundle @DamienHarper .
Is it possible to have a revision number which bundles all changes made in one transaction? i.E. when updating a entity with many relations it would be nice to get all these changes without relying on user and timestamp.

Hi @n3o77!
Revision number is not on the roadmap right now as you are the first one to request such a feature.
I need to think about it a bit more.

Thanks for considering it. I might need this soon in a project so i'm happy to send you a PR but would love to get your input on it first.

@n3o77 Great, I'd be happy to review it

@n3o77 I just merged a feature that should fulfill your request, can you test master branch and provide some feedback?

@DamienHarper you're awesome, thank you so much! I'll check it out in a bit.

Looks good so far. Only thing missing is the view.
Again, thank you very much!

Yeah, I'm working on it ;)
But I wanted to push the main (backend) part early to get feedback before really working on the UI part.

@n3o77 timeline now displays the transaction hash for each element. By clicking a transaction hash, you get a complete overview of the operations included into the transaction.
Just checkout master branch and give me some feedback please ;)

Looks awesome. One little bug: if you update to this version with existing data and there's no hash it throws an error because the route can't be generated here: https://github.com/DamienHarper/DoctrineAuditBundle/blob/master/src/DoctrineAuditBundle/Resources/views/Audit/entry.html.twig#L18

Good catch, a fix is on its way

@n3o77 should be fixed on master branch

looks good!

Ok, it will be part of next major release.
I close this issue. Feel free to reopen it if needed.


URl preview

Possibility to add url preview on parsed text

@Chahdro -- this is a great idea. It's unfortunately much more complex than it sounds, and probably out-of-scope for this library.
That said: if somebody implements the feature discussed in #68, then you'd be able to build this on your side and glue in a <LinkPreview> component.
I'm going to close this for now, but if you or others are motivated, we can keep discussing it here, and I'm happy to reopen the ticket.
If you find a bug or have a PR, I'm working on a new release in #79


explanation of metadata in atlas

Hi!
Thank you for having created this atlas, I really like your work!
I have a few questions about the metadata in the scanpy .h5ad object that I downloaded from the link in your readme. In particular, I'm wondering which covariate you used for your scANVI integration. In the paper I read the following:

We define "batch" as each unique biological sample and assume that each study is ≥1 unique sample. We studied the metadata and methods of each study to identify the unique biological samples. Within the current scEiaD dataset we identified 86 batches across 33 deposited datasets in 26 published articles.

None of the numbers in the atlas I downloaded line up with these numbers though, maybe because you have expanded the atlas since?
Either way, my questions are:

where can I find your batch covariate in the data?
what do the covariates batchand Batch represent (/what's the difference)? And what's Covariate.x?
where can I find donor information (i.e from which patient/donor/mouse each sample came)? Donor.X has only 7 unique values, so I'm guessing that's not it?
what's the difference between biosample_title.x, biosample.x and sample_accession.x? They have a different number of unique values. Same for biosample.x versus biosample.y etc. Which one should I use if I want to know the biological sample each cell came from?
am I correct to assume that all the data in the atlas comes from healthy/control samples?

Thanks a lot for your help!

Apologies for the delay...I didn't get (or notice) a notification for your issue.

The batch covariate for scANVI (used for the current release: https://tvst.arvojournals.org/article.aspx?articleid=2792870) is, apparently, "study_accession"

https://github.com/davemcg/scEiaD/blob/master/config.yaml (line 28)
I did test/try "batch" also but apparently it must have not made much of a difference so I ended up doing the simpler thing

everyone is healthy/control
The h5ad is a byproduct of the processing pipeline (I'm an R shop) and it appears that the join to add the metadata has caused some duplicates (hence the .x and .y fields)

the safest thing to do is to pull the cell level metadata and re-join to the h5ad via the "Barcode" field (which is unique to each cell by adding the sample_accession to each barcode).

The "batch" field in the core metadata is essentially me glomming on, not super consistently, sample level information onto the study accession (and scRNA tech). People are not consistent with using sample_accession with actual biological samples....hence me trying to read papers and interpret their metadata fields.
biosample_title/biosample/sample_accession comes from GEO/SRA
The "donor" info is best taken from either the sample_accession (which again sometimes is wrong) or the "batch" field (which is hand-curated...but no guarantees I did it right). This basically is substantially more annoying than you'd expect.

Happy to discuss this further - I can also (maybe?) provide scVI/scANVI objects. Though those are likely tricky to use as I last ran scVI/scANVI before they had fully worked out the "how to reliably share a model with someone else" engineering.

Expanding a bit on the "sample_accession" / "batch" messiness:

People don't reliably label their biological samples with a unique sample_accession
So you can get several, mice/whatever, with the same ID sometimes
BUT ALSO sometimes people will take a single sample and give it like four different sample_accessions because the same sample got sequenced across four machines.
In the previous case I would consider than "one sample" and thus the "batch" field was my attempt to try and understand what the researchers were actually doing

HI @davemcg , thanks a lot for your response, very helpful :)
And I know the pain of cleaning up metadata, we had the same issues for the human lung cell atlas and it was long and tedious work..
I didn't realize your scANVI model wasn't public yet, and yes it would be great if you could share it! When did you run it last? There are actually ways to update these to the latest format, so hoping it will be doable to share and reuse

The scANVI model pieces:

hpc.nih.gov/~mcgaugheyd/scEiaD/2022_03_22/scANVI_model/adata.h5ad
hpc.nih.gov/~mcgaugheyd/scEiaD/2022_03_22/scANVI_model/model.pt
hpc.nih.gov/~mcgaugheyd/scEiaD/2022_03_22/scANVI_model/adata.h5ad.gz (uh maybe just the h5ad that I manually zipped?)

Run with scvi 0.15.2

Thanks a lot!


Runtime error when importing simcse

Hi there, i followed the instalation guide and executed 'pip install simcse', but i got the following error and I don't know how to fix it.

ImportError                               Traceback (most recent call last)
Input In [20], in <cell line: 1>()
----> 1 import simcse
File /anaconda/envs/py38_default/lib/python3.8/site-packages/simcse/init.py:1, in
----> 1 from .tool import SimCSE
File /anaconda/envs/py38_default/lib/python3.8/site-packages/simcse/tool.py:7, in
5 import torch
6 from torch import Tensor, device
----> 7 import transformers
8 from transformers import AutoModel, AutoTokenizer
9 from sklearn.metrics.pairwise import cosine_similarity
File /anaconda/envs/py38_default/lib/python3.8/site-packages/transformers/init.py:43, in
40 from typing import TYPE_CHECKING
42 # Check the dependencies satisfy the minimal versions required.
---> 43 from . import dependency_versions_check
44 from .file_utils import (
45     _LazyModule,
46     is_flax_available,
(...)
53     is_vision_available,
54 )
55 from .utils import logging
File /anaconda/envs/py38_default/lib/python3.8/site-packages/transformers/dependency_versions_check.py:36, in
33 if pkg in deps:
34     if pkg == "tokenizers":
35         # must be loaded here, or else tqdm check may fail
---> 36         from .file_utils import is_tokenizers_available
38         if not is_tokenizers_available():
39             continue  # not required, check version only if installed
File /anaconda/envs/py38_default/lib/python3.8/site-packages/transformers/file_utils.py:51, in
49 import requests
50 from filelock import FileLock
---> 51 from huggingface_hub import HfApi, HfFolder, Repository
52 from transformers.utils.versions import importlib_metadata
54 from . import version
File /anaconda/envs/py38_default/lib/python3.8/site-packages/huggingface_hub/init.py:63, in
61 from .hub_mixin import ModelHubMixin, PyTorchModelHubMixin
62 from .inference_api import InferenceApi
---> 63 from .keras_mixin import (
64     KerasModelHubMixin,
65     from_pretrained_keras,
66     push_to_hub_keras,
67     save_pretrained_keras,
68 )
69 from .repository import Repository
70 from .snapshot_download import snapshot_download
File /anaconda/envs/py38_default/lib/python3.8/site-packages/huggingface_hub/keras_mixin.py:24, in
21 logger = logging.get_logger(name)
23 if is_tf_available():
---> 24     import tensorflow as tf
27 def _extract_hyperparameters_from_keras(model):
28     if model.optimizer is not None:
File /anaconda/envs/py38_default/lib/python3.8/site-packages/tensorflow/init.py:37, in
34 import sys as _sys
35 import typing as _typing
---> 37 from tensorflow.python.tools import module_util as _module_util
38 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader
40 # Make sure code inside the TensorFlow codebase can use tf2.enabled() at import.
File /anaconda/envs/py38_default/lib/python3.8/site-packages/tensorflow/python/init.py:37, in
29 # We aim to keep this file minimal and ideally remove completely.
30 # If you are adding a new file with @tf_export decorators,
31 # import it in modules_with_exports.py instead.
32
33 # go/tf-wildcard-import
34 # pylint: disable=wildcard-import,g-bad-import-order,g-import-not-at-top
36 from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
---> 37 from tensorflow.python.eager import context
39 # pylint: enable=wildcard-import
40
41 # Bring in subpackages.
42 from tensorflow.python import data
File /anaconda/envs/py38_default/lib/python3.8/site-packages/tensorflow/python/eager/context.py:35, in
33 from tensorflow.python import pywrap_tfe
34 from tensorflow.python import tf2
---> 35 from tensorflow.python.client import pywrap_tf_session
36 from tensorflow.python.eager import executor
37 from tensorflow.python.eager import monitoring
File /anaconda/envs/py38_default/lib/python3.8/site-packages/tensorflow/python/client/pywrap_tf_session.py:19, in
17 # pylint: disable=invalid-import-order,g-bad-import-order, wildcard-import, unused-import
18 from tensorflow.python import pywrap_tensorflow
---> 19 from tensorflow.python.client._pywrap_tf_session import *
20 from tensorflow.python.client._pywrap_tf_session import _TF_SetTarget
21 from tensorflow.python.client._pywrap_tf_session import _TF_SetConfig
ImportError: SystemError: <built-in method contains of dict object at 0x7f9a366a83c0> returned a result with an error set

Hi,
It seems to be a tensor flow error. SimCSE does not need tensor flow. Maybe you can try uninstalling tensor flow and running it again.


Created ContextKV

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

22 of 25 (88.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.08%) to 90.868%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

nillogger.go
0
1
0.0%

context.go
16
18
88.89%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
796

Relevant Lines:
876

💛  - Coveralls


Add draft preview mode to podcast episodes

Like Articles have already

[ ] Admin only
[ ] Add "THIS IS A PREVIEW" warning banner
[x] Draft "secret" URL, like article
[ ]  "Preview" button from the resource's admin show page to its public show page.

I'm giving this a shot :)

On further consideration, I don't think these need a "secret URL" if they are protected by signed_in? users only.

@shushugah Are you interested in coming back to this issue?

Related to: https://github.com/crimethinc/website/issues/417


ABC assertion

Steps to reproduce the issue
When running abc -S 3 -lut 5 for some 3Mgates design... after some random time I'll get this.
Any idea how to debug this. If I run it from command line it works.
 /usr/local/bin/yosys-abc -s -f /tmp/yosys-abc-A0hxVw/abc.script
2.4242.1. Executing ABC.
Running ABC command: <yosys-exe-dir>/yosys-abc -s -f <abc-temp-dir>/abc.script 2>&1
ABC: ABC command line: "source <abc-temp-dir>/abc.script".
ABC:
ABC: + read_blif <abc-temp-dir>/input.blif
ABC: + read_lut <abc-temp-dir>/lutdefs.txt
ABC: + strash
ABC: + ifraig
ABC: + scorr
ABC: Warning: The network is combinational (run "fraig" or "fraig_sweep").
ABC: + dc2
ABC: + dretime
ABC: + retime
ABC: + strash
ABC: + dch -f
ABC: + if
ABC: + mfs2
ABC: + lutpack -S 3
ABC: Assertion failed: (((unsigned)(ABC_PTRUINT_T)pFanin->pCopy) & 0xffff0000), function Lpk_CutTruth, file src/opt/lpk/lpkCut.c, line 200.
sh: line 1: 83118 Abort trap: 6           /usr/local/bin/yosys-abc -s -f /tmp/yosys-abc-A0hxVw/abc.script 2>&1
ERROR: ABC: execution of command "/usr/local/bin/yosys-abc -s -f /tmp/yosys-abc-A0hxVw/abc.script 2>&1" failed: return code 134.

Expected behavior
No assertion.
Actual behavior
Assertion.

Tried with DISABLE_ABC_THREADS := 1
and it works. I run it again to check was it false positive.

It was false positive, so still assertion.

If I run it from command line it works.
/usr/local/bin/yosys-abc -s -f /tmp/yosys-abc-A0hxVw/abc.script

That's pretty weird. Are you sure it's not just a Heisenbug that comes and goes randomly?

Any idea how to debug this.

Pretty much what you seem to have been trying anyways: Run the Yosys abc command with -nocleanup -showtmp, then continue with yosys-abc directly without Yosys in the way.

Without providing a testcase there's not much any of us can do to help. At first glance it looks to be an upstream issue, since it fires an assertion inside abc. One workaround could be not use lutpack and see if it completes.
Please re-open if you have new information.

@eddiehung I am seeing a similar error. (see also https://github.com/icebreaker-fpga/icebreaker-examples/issues/10)
2.44.1. Extracting gate netlist of module `\top' to `<abc-temp-dir>/input.blif'..
Extracted 61 gates and 85 wires to a netlist network with 24 inputs and 24 outputs.

<IP_ADDRESS>. Executing ABC.
Running ABC command: <yosys-exe-dir>/yosys-abc -s -f <abc-temp-dir>/abc.script 2>&1
ABC: <yosys-exe-dir>/yosys-abc: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
ERROR: ABC: execution of command "/usr/local/bin/yosys-abc -s -f /tmp/yosys-abc-tlPlxn/abc.script 2>&1" failed: return code 127.
Makefile:79: recipe for target 'blinky.json' failed
make: *** [blinky.json] Error 1

when I run yosys-abc -nocleanup -showtmp I get an interesting message:
yosys-abc: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory

I have the dependencies installed per the instructions, but perhaps something is still missing? Any idea how to find what is missing?
As mentioned in https://github.com/YosysHQ/yosys/issues/643 I tried
sudo apt-get purge libreadline-dev
sudo apt-get install libreadline6-dev

and rebuilt yosys. I still see this error:
 $ yosys -ql 7seg_count.log  -p 'synth_ice40 -top top -json 7seg_count.json' 7seg_count.v
ERROR: ABC: execution of command "/usr/local/bin/yosys-abc -s -f /tmp/yosys-abc-HPMiJE/abc.script 2>&1" failed: return code 127.

Here's the tail end of the build, install, and test:
[100%] Building share/gowin/bram_init_16.vh
[100%] Building share/sf2/arith_map.v
[100%] Building share/sf2/cells_map.v
[100%] Building share/sf2/cells_sim.v

  Build successful.

gojimmypi@ElectronicsDesk : /mnt/c/workspace/yosys
0 $ sudo make install
[sudo] password for gojimmypi:
[Makefile.conf] CONFIG := gcc
mkdir -p /usr/local/bin
cp yosys yosys-config yosys-abc yosys-filterlib yosys-smtbmc /usr/local/bin
strip -S /usr/local/bin/yosys
strip /usr/local/bin/yosys-abc
strip /usr/local/bin/yosys-filterlib
mkdir -p /usr/local/share/yosys
cp -r share/. /usr/local/share/yosys/.
gojimmypi@ElectronicsDesk : /mnt/c/workspace/yosys
0 $ make test
[Makefile.conf] CONFIG := gcc
cd tests/simple && bash run-test.sh ""
make[1]: Entering directory '/mnt/c/workspace/yosys/tests/simple'
+ gcc -Wall -o /mnt/c/workspace/yosys/tests/tools/cmp_tbdata /mnt/c/workspace/yosys/tests/tools/cmp_tbdata.c
Test: arrays02 -> ok
Test: defvalue -> ERROR!
Note: Make sure that 'iverilog' is an up-to-date git checkout of Icarus Verilog.
../tools/autotest.mk:10: recipe for target 'defvalue.sv' failed
make[1]: *** [defvalue.sv] Error 1
make[1]: Leaving directory '/mnt/c/workspace/yosys/tests/simple'
Makefile:754: recipe for target 'test' failed
make: *** [test] Error 2

I have the latest iverilog installed, and make check seems to indicate it is happy:
 make check
make -C ivlpp all &&  make -C vhdlpp all &&  make -C vvp all &&  make -C vpi all &&  make -C libveriuser all &&  make -C cadpli all &&  make -C tgt-null all &&  make -C tgt-stub all &&  make -C tgt-vvp all &&  make -C tgt-vhdl all &&  make -C tgt-vlog95 all &&  make -C tgt-pcb all &&  make -C tgt-blif all &&  make -C tgt-sizer all &&  make -C driver all &&  true
make[1]: Entering directory '/mnt/c/workspace/iverilog/ivlpp'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/ivlpp'
make[1]: Entering directory '/mnt/c/workspace/iverilog/vhdlpp'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/vhdlpp'
make[1]: Entering directory '/mnt/c/workspace/iverilog/vvp'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/vvp'
make[1]: Entering directory '/mnt/c/workspace/iverilog/vpi'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/vpi'
make[1]: Entering directory '/mnt/c/workspace/iverilog/libveriuser'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/libveriuser'
make[1]: Entering directory '/mnt/c/workspace/iverilog/cadpli'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/cadpli'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-null'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-null'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-stub'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-stub'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-vvp'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-vvp'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-vhdl'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-vhdl'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-vlog95'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-vlog95'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-pcb'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-pcb'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-blif'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-blif'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-sizer'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-sizer'
make[1]: Entering directory '/mnt/c/workspace/iverilog/driver'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/driver'
make -C ivlpp check &&  make -C vhdlpp check &&  make -C vvp check &&  make -C vpi check &&  make -C libveriuser check &&  make -C cadpli check &&  make -C tgt-null check &&  make -C tgt-stub check &&  make -C tgt-vvp check &&  make -C tgt-vhdl check &&  make -C tgt-vlog95 check &&  make -C tgt-pcb check &&  make -C tgt-blif check &&  make -C tgt-sizer check &&  make -C driver check &&  true
make[1]: Entering directory '/mnt/c/workspace/iverilog/ivlpp'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/ivlpp'
make[1]: Entering directory '/mnt/c/workspace/iverilog/vhdlpp'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/vhdlpp'
make[1]: Entering directory '/mnt/c/workspace/iverilog/vvp'
./vvp -M../vpi ./examples/hello.vvp | grep 'Hello, World.'
Hello, World.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/vvp'
make[1]: Entering directory '/mnt/c/workspace/iverilog/vpi'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/vpi'
make[1]: Entering directory '/mnt/c/workspace/iverilog/libveriuser'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/libveriuser'
make[1]: Entering directory '/mnt/c/workspace/iverilog/cadpli'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/cadpli'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-null'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-null'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-stub'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-stub'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-vvp'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-vvp'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-vhdl'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-vhdl'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-vlog95'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-vlog95'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-pcb'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-pcb'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-blif'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-blif'
make[1]: Entering directory '/mnt/c/workspace/iverilog/tgt-sizer'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/tgt-sizer'
make[1]: Entering directory '/mnt/c/workspace/iverilog/driver'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/mnt/c/workspace/iverilog/driver'
test -r check.conf || cp ./check.conf .
driver/iverilog -B. -BMvpi -BPivlpp -tcheck -ocheck.vvp ./examples/hello.vl
vvp/vvp -M- -M./vpi ./check.vvp | grep 'Hello, World'
Hello, World

Any suggestions will be appreciated.

This is a totally unrelated problem so please continue any further discussion on a new issue. Please make sure you have tried a totally clean rebuild, and also include the output of ldd /usr/local/bin/yosys-abc.

@gojimmypi I often see the "Note: Make sure that 'iverilog' is an up-to-date git checkout of Icarus Verilog." error, but it goes away when I run make test again. Haven't been able to figure out what causes it, but it's unrelated to abc problems. The second error you get after rebuild seems to be a different one (the line about libreadline is no longer there), have you tried running yosys-abc manually in the temp directory again to confirm if it's still the same error?

@daveshah1 and @nakengelhardt thanks for the suggestions. I've opened a new https://github.com/YosysHQ/yosys/issues/2048 for the problem I am seeing


Z+ button mislabeled (jog screen)

The button caption is incorrectly 'Z-'.

I basically never use the jog screen ;)
Will check that once I'll be on machine and fix it.
Thanks of the feedback.

<EMAIL_ADDRESS>and<EMAIL_ADDRESS>icons fixed to "+Z"
see https://github.com/twentyfortysix/uccnc_screenset_2046/tree/main/UCCNC/Flashscreen/BMP/Stepcraft_2046
If you re-download these to your UCCNC/Flashscreen/BMP/Stepcraft_2046 you should be fine.

Thanks for the fix and your screenset in general. Should be the standard UCCNC screenset IMHO.


[Extensions] Design renaming dysfunctional

Current Behavior
(audio included)
https://github.com/meshery/meshery/assets/7570704/9198e2a0-e232-4fba-a04d-1ccac1039443
This isn't a websocket problem, given that I refreshed the page.
Desired Behavior

Users should be warned of their change not being saved.
Designs shouldn't automatically save upon load.

Screenshots/Logs

Environment

Host OS: Mac Linux Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Handbook

📚 Meshery Build and Release Strategy
🎨 UI Design For Meshery Extensions Figma in Figma (open invite)
📚 Meshery Extensibility Providers
⌨ Meshery API Docs
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

This issue has been open for some time with no recent activity, unassigning to open it up for new contributors to give it a go.


Readme is outdated

The Readme file for this repo is outdated.
The copy and paste examples are not working because the version is now 0.6.0 and the artifact name for the standalone artifact changed to org.opensearch:opensearch-spark-standalone

Closing. Feel free to reopen if anything else. Thanks!


Kafka Connect dependencies question

Hi guys,
I want to integrate AWS Glue SR with Kafka connect, I've been following your documentation steps and I stuck.
After of cloning the repo and doing mvn clean install and mvn dependency:copy-dependencies, there is no path <AWS GlueSchema Registry base directory>/target/dependency/* that will be referenced in the env CLASSPATH. All jars creates  are stored in folders such as: /<AWS GlueSchema Registry base directory>/aws-glue-schema-registry/avro-flink-serde/target/dependency or   <AWS GlueSchema Registry base directory>/jsonschema-kafkaconnect-converter/target/dependency/.
I don't know what i'm doing wrong or what path I have to reference in CLASSPATH.
Thanks in advance.

It looks like a mistake in our documentation, sorry for that. You can use the path <AWS GlueSchema Registry base directory>/jsonschema-kafkaconnect-converter/target/dependency/ instead if you are using the Json converter.
Let us know if it works.
Thanks for pointing this out!

path I have to reference in CLASSPATH

Ideally, you don't use CLASSPATH. Instead, you can edit plugin.path property in Connect worker properties to point at a parent directory containing your plugin JARs


Remove gap between empty periods when using datetime

I have the following chart in my project, it receives several data based on datetime to show stocks quotation, however, there are hours that the stocks stops receiving data.
The chart receives the last data of the past day at 6pm, and receives the next data only on the next day at 10am, but that time gap between 6pm and 10am is represented by a flatline on the chart and I don't want that behavior. Is there a solution to this behavior?

Bump

any solution how to fix

any solution?


rbac: remove permissions for patch/update nodes and webhook resources

Thanks for contributing!

What type of PR is this?

release/bug

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

Fixes https://github.com/spidernet-io/spiderpool/issues/3882
Special notes for your reviewer:

this PR shouldn't cherry-pick to release-v0.8, only main branch.


Added String() methods for datagram, sample and record types.

I added the String() methods for datagram, sample and record types to allow better printing of these types.

Thanks, Lucas!


Give the partner role the exact same permissions and same things as applicant role

The partner role is used to add additional applicants, co applicants, to a submission. Partners should in every instance have the exact same permissions and see the same things as the applicant. In most instances this should already be implemented. This issue is to make sure Hypha is consistent.
The permissions for partners regarding comments are fixed in a separate issue: #3486

[ ] Make sure partners to an submission has the same permissions as the submission author.
[ ] Where convenient/possible make it obvious in the code that partners of a submission has the same permissions and see the same things as applicants to a submission.

as per #3455, the partner role slightly differs from applicant in OTF's usage of the role.


Deployment test upgrade

Attached is a combination of:

Test cleanup
Adding tests that were requested from deployments previously by @xcoulon

I'd like some advice on how to handle a section of contexts as tagged in a comment below with a "(1)" since I'm not that happy with it and it's probably due to my inexperience with Go. Is there a better way?

@c-koehler snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1899-3

Codecov Report

Merging #1899 into master will increase coverage by 0.55%.
The diff coverage is 19.14%.

@@            Coverage Diff             @@
##           master    #1899      +/-   ##
==========================================
+ Coverage   60.82%   61.38%   +0.55%
==========================================
  Files         139      139
  Lines       13589    13573      -16
==========================================
+ Hits         8266     8332      +66
+ Misses       4594     4506      -88
- Partials      729      735       +6

Impacted Files
Coverage Δ

controller/deployments_osioclient.go
89.47% <ø> (ø)
:arrow_up:

controller/deployments.go
53.14% <19.14%> (+33.45%)
:arrow_up:

workitem/typegroup.go
86.2% <0%> (-2.03%)
:arrow_down:

controller/work_item_type_group.go
100% <0%> (ø)
:arrow_up:

remoteworkitem/scheduler.go
60.97% <0%> (+7.31%)
:arrow_up:

remoteworkitem/jira.go
100% <0%> (+25%)
:arrow_up:

Continue to review full report at Codecov.

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

@c-koehler snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1899-6

@kwk There was some very minor changes after rebasing to master (due to extra error parameters added to the OSIOClient), the remaining commits were fixing up the tests themselves from discussions we had. Let me know what you think.

@c-koehler snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1899-7

@c-koehler snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1899-9

Can one of the admins verify this patch?

Chris Koehler is no longer working at Red Hat; I'm not sure this work will be continued. Feel free to close or take over as you wish.


Execution failed for task ":app:transformDexArchiveWithDexMergerForDebug"

When run my app with this command cd android && gradlew cleanBuildCache && gradlew clean && cd ../ && react-native run-android i get this error:

Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'.

com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/measurement/zzcl;

Environment:
  OS: Windows 10
  Node: 10.16.0
  Yarn: 1.9.4
  npm: 6.9.0
  Watchman: Not Found
  Xcode: N/A
  Android Studio: Version  <IP_ADDRESS> AI-173.4819257

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: 0.55.3 => 0.55.3

android/build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        buildToolsVersion = '27.0.3'
        minSdkVersion = 16
        compileSdkVersion = 27
        targetSdkVersion = 27
        supportLibVersion = "27.1.1"
        playServicesVersion = "16.0.0"
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'

        classpath 'com.google.gms:google-services:4.2.0' // google-services plugin

    }
}

allprojects {
    repositories {
        mavenLocal()
        maven {
            url "https://maven.google.com"
        }
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
        google() // Google's Maven repository
    }
}

android/app/build.gradle
buildscript {
    repositories {
        maven { url 'https://plugins.gradle.org/m2/' } // Gradle Plugin Portal
    }
    dependencies {
        classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.10.0, 0.99.99]'
    }
}

apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'

apply plugin: "com.android.application"

import com.android.build.OutputFile

/**
 * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
 * and bundleReleaseJsAndAssets).
 * These basically call `react-native bundle` with the correct arguments during the Android build
 * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
 * bundle directly from the development server. Below you can see all the possible configurations
 * and their defaults. If you decide to add a configuration block, make sure to add it before the
 * `apply from: "../../node_modules/react-native/react.gradle"` line.
 *
 * project.ext.react = [
 *   // the name of the generated asset file containing your JS bundle
 *   bundleAssetName: "index.android.bundle",
 *
 *   // the entry file for bundle generation
 *   entryFile: "index.android.js",
 *
 *   // whether to bundle JS and assets in debug mode
 *   bundleInDebug: false,
 *
 *   // whether to bundle JS and assets in release mode
 *   bundleInRelease: true,
 *
 *   // whether to bundle JS and assets in another build variant (if configured).
 *   // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
 *   // The configuration property can be in the following formats
 *   //         'bundleIn${productFlavor}${buildType}'
 *   //         'bundleIn${buildType}'
 *   // bundleInFreeDebug: true,
 *   // bundleInPaidRelease: true,
 *   // bundleInBeta: true,
 *
 *   // whether to disable dev mode in custom build variants (by default only disabled in release)
 *   // for example: to disable dev mode in the staging build type (if configured)
 *   devDisabledInStaging: true,
 *   // The configuration property can be in the following formats
 *   //         'devDisabledIn${productFlavor}${buildType}'
 *   //         'devDisabledIn${buildType}'
 *
 *   // the root of your project, i.e. where "package.json" lives
 *   root: "../../",
 *
 *   // where to put the JS bundle asset in debug mode
 *   jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
 *
 *   // where to put the JS bundle asset in release mode
 *   jsBundleDirRelease: "$buildDir/intermediates/assets/release",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in debug mode
 *   resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in release mode
 *   resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
 *
 *   // by default the gradle tasks are skipped if none of the JS files or assets change; this means
 *   // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
 *   // date; if you have any other folders that you want to ignore for performance reasons (gradle
 *   // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
 *   // for example, you might want to remove it from here.
 *   inputExcludes: ["android/**", "ios/**"],
 *
 *   // override which node gets called and with what additional arguments
 *   nodeExecutableAndArgs: ["node"],
 *
 *   // supply additional arguments to the packager
 *   extraPackagerArgs: []
 * ]
 */

project.ext.react = [
    entryFile: "index.js"
]

apply from: "../../node_modules/react-native/react.gradle"

/**
 * Set this to true to create two separate APKs instead of one:
 *   - An APK that only works on ARM devices
 *   - An APK that only works on x86 devices
 * The advantage is the size of the APK is reduced by about 4MB.
 * Upload all the APKs to the Play Store and people will download
 * the correct one based on the CPU architecture of their device.
 */
def enableSeparateBuildPerCPUArchitecture = false

/**
 * Run Proguard to shrink the Java bytecode in release builds.
 */
def enableProguardInReleaseBuilds = false

android {
    compileSdkVersion rootProject.ext.compileSdkVersion
    buildToolsVersion rootProject.ext.buildToolsVersion

    defaultConfig {
        applicationId "com.demelka.android"
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode 24
        versionName "2.3"
        multiDexEnabled true
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
    }
    signingConfigs {
        release {
            if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
                storeFile file(MYAPP_RELEASE_STORE_FILE)
                storePassword MYAPP_RELEASE_STORE_PASSWORD
                keyAlias MYAPP_RELEASE_KEY_ALIAS
                keyPassword MYAPP_RELEASE_KEY_PASSWORD
            }
        }
    }
    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a", "x86"
        }
    }
    buildTypes {
        debug {
                manifestPlaceholders = [excludeSystemAlertWindowPermission: "false"]
         }
        release {
            manifestPlaceholders = [excludeSystemAlertWindowPermission: "true"]
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"

 signingConfig signingConfigs.release

        }
    }
    // applicationVariants are e.g. debug, release
    applicationVariants.all { variant ->
        variant.outputs.each { output ->
            // For each separate APK per architecture, set a unique version code as described here:
            // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
            def versionCodes = ["armeabi-v7a":1, "x86":2]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
            }
        }
    }
}

dependencies {
    implementation(project(":react-native-google-analytics-bridge"),  {
      exclude group: "com.google.android.gms"
    })
    implementation "com.google.android.gms:play-services-analytics:16.0.0"

    implementation(project(':react-native-maps')){
         exclude group: 'com.google.android.gms', module: 'play-services-base'
         exclude group: 'com.google.android.gms', module: 'play-services-maps'
     }
     implementation 'com.google.android.gms:play-services-base:10.0.1'
     implementation 'com.google.android.gms:play-services-maps:10.0.1'

    implementation project(':react-native-fcm')

    implementation "com.google.android.gms:play-services-gcm:16.0.0"

    implementation fileTree(dir: "libs", include: ["*.jar"])

    implementation "com.android.support:appcompat-v7:27.0.1"
    implementation "com.facebook.react:react-native:+"  // From node_modules

    implementation 'com.facebook.fresco:fresco:1.9.0'

    // For animated GIF support
    implementation 'com.facebook.fresco:animated-gif:1.9.0'

    // For WebP support, including animated WebP
    implementation 'com.facebook.fresco:animated-webp:1.9.0'
    implementation 'com.facebook.fresco:webpsupport:1.9.0'

    implementation project(':react-native-svg')

    // Automatically selecting the latest available version
    implementation 'com.google.firebase:firebase-core:16.0.8'
    implementation 'com.google.firebase:firebase-messaging:17.6.0'
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
    from configurations.compile
    into 'libs'
}

apply plugin: 'com.google.gms.google-services'

android/gradle.properties
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

android.useDeprecatedNdk=true
android.enableAapt2=false

firebaseCoreVersion=16.0.8
firebaseMessagingVersion=17.6.0

The upgrade to latest release is currently not possible for me.
Please remove the "Resolution: Old Version" label. @react-native-bot

@christocracy Please guide me if you can 🙏

Did you find a solution please? I have the same problem now

I had an unwanted error in my code
implementation(project(":react-native-google-analytics-bridge"),  {
  exclude group: "com.google.android.gms"
})
implementation "com.google.android.gms:play-services-analytics:16.0.0"

I changed the top code like this
implementation(project(":react-native-google-analytics-bridge"),  {
  exclude group: "com.google.android.gms"
})
implementation "com.google.android.gms:play-services-gcm:16.0.0"

I'm building React from source so solution was to:
Modify my android/build.gradle, and add:
allprojects {
    repositories { ... }

    configurations.all {
        resolutionStrategy {
            dependencySubstitution {
                substitute module("com.facebook.react:react-native:+") with project(":ReactAndroid")
            }
        }
    }
}

for more info for anyone else encountering this error while building ReactAndroid from source,, here is tutorial which I should follow :D
https://github.com/facebook/react-native/wiki/Building-from-source

Hey Guys, I have same error how can i solve it?

at my android/app/build.grade I set multiDexEnabled to be true:
defaultConfig {
    applicationId "com.jagapros"
    minSdkVersion rootProject.ext.minSdkVersion
    targetSdkVersion rootProject.ext.targetSdkVersion
    versionCode 1
    versionName "1.0"
    multiDexEnabled true   // <=== this
}

hello friends, I´m stupid too. Have you solve it?
import com.android.build.OutputFile
at com shows it me an error!!!

this is solution =>>

buildTypes {
debug {

        multiDexEnabled true
    }
    release {

        multiDexEnabled true
    }
}

Multidex is quite often required, particularly when also importing Firebase dependencies.  However, there’s more involved with enabling it on older devices.

this is solution =>>

buildTypes {
debug {

        multiDexEnabled true
    }
    release {

        multiDexEnabled true
    }
}

In which file this is located

this is solution =>>

buildTypes {
debug {

        multiDexEnabled true
    }
    release {

        multiDexEnabled true
    }
}

at which file it is located ?

build.gradle
android > app > build.gradle

Hope it helps you
https://medium.com/@tiwarishani/task-app-transformdexarchivewithdexmergerfordebug-failed-in-react-native-6d03bc4655af

this is solution =>>

buildTypes {
debug {

        multiDexEnabled true
    }
    release {

        multiDexEnabled true
    }
}

at which file it is located ?

build.gradle
android > app > build.gradle

this one works with me .... +1 top guy

in android/gradle.properties put:
org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=4096m -XX:+HeapDumpOnOutOfMemoryError
org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.configureondemand=true
work fine to me


Revert "Excises VirtualPlacer from layout optimizer transposer."

This reverts commit 612a531c9bc729329470e778dfc014d2d978e587.
I found that commit 612a531 causes significant performance degradation for TF-TRT 2.10.x and 2.11.x. This commit was added to master after 2.9.0 release on Apr 19, 2022.
Performance tests below show TF-TRT 2.10.x and 2.11.x performance with and without the fix.
g4dn: TU104GL [Tesla T4]
-------------------------------------------------------------------------------
                     TensorRT Converted Model exec time in ms
-------------------------------------------------------------------------------
                      |                    Tensorflow Version                 |
    Model             | 2.9.3 | 2.10.1 | 2.10.1 fixed | 2.11.0 | 2.11.0 fixed |
                      |  fast |  slow  |    fast      |  slow  |    fast      |
-------------------------------------------------------------------------------
imagenet_inception_v1    0.65    1.86       0.64         1.51       0.56
imagenet_inception_v3    1.59    3.47       1.58         2.91       1.43
imagenet_mobilenet_v1    0.45    1.17       0.46         1.00       0.41
imagenet_mobilenet_v2    0.86    1.87       0.85         1.64       0.94
imagenet_resnet_v2_50    1.03    1.91       1.05         1.72       0.85

Related issue: https://github.com/tensorflow/tensorflow/issues/58248

Hi @ezhulenev Can you please review this PR ? Thank you!

Hi @apivovarov Can you please resolve conflicts? Thank you!


[WIP] Enable Build on Windows again and Update CI badge

Use "&&" instead of "and" for Windows C++ Compiler
Update Windows-CI badge from my account to onnx account
Simulate fork() on Windows: redirect the stderr to files and then redirect back
My implementation makes stderr as:
(before) A
temp.onnx.mlir -> B
temp.mlir -> C
(after) D
Final stderr -> A, D

Not sure whether this implementation breaks the original logic. Please carefully review it. Thank you.

Can one of the admins verify this patch?

@jacky82226 I'm not exactly sure why we used fork in the first place, but it looks like this is kinda troublesome for Windows? Maybe we should use the print method of a Module and we can pass in a llvm_os_stream made from a std::basic_fstream.
Hope this helps!

Modify the setup script for Windows-CI. (Use exisiting onnx-mlir instead of cloning from master)
Remove [WIP].

@tjingrant Thanks for the advice. Still, I did not modify the behavior of model->dump(). To simulate the fork on Linux, I redirect the stderr to separate files then redirect back to stderr. I think the behavior should be same as fork here.

Modify the setup script for Windows-CI. (Use existing onnx-mlir instead of cloning from master)
Remove [WIP] tag and it is ready for PR.

Modify the setup script for Windows-CI. (Use existing onnx-mlir instead of cloning from master)
Remove [WIP] tag and it is ready for PR review.

@jenkins-droid test this please.


TAJO-1438: Resolve findbug warnings on Tajo Client Module

Tested only
mvn clean install -Pdist -Dhadoop.version=2.6.0 -DskipTests
cd tajo-client; mvn compile findbugs:findbugs
It's trivial, but I will rebase and test again as soon as the master branch comes back from the build break.

It passed. ( Please refer https://issues.apache.org/jira/browse/TAJO-1440 )
mvn clean install -Pparallel-test,hcatalog-0.12.0 -DLOG_LEVEL=INFO -Dmaven.fork.count=2

Rebased.

+1


F26 problems

The repository no detect the new release...
unitedrpms (our repository needs a replace of previous configs) WORKING NOW
Complete log:
[root@localhost evil]# dnf system-upgrade download --refresh --releasever=26
unitedrpms                                       88 kB/s | 954 kB     00:10
created by dnf config-manager from https://s3-u 6.4 kB/s | 6.2 kB     00:00
Error: problem with installed package lz4-1.7.5-1.fc25.i686.
package vlc-core-3.0.0-36.git78d3459.fc25.x86_64 requires libbluray.so.1()(64bit), but none of the providers can be installed.
package deadbeef-0.7.2-6.20170318git87d3fd5.fc25.x86_64 requires libzip.so.4()(64bit), but none of the providers can be installed.
package vidcutter-3.5.0-1.fc25.noarch requires python(abi) = 3.5, but none of the providers can be installed.
package vlc-core-3.0.0-36.git78d3459.fc25.x86_64 requires libvncclient.so.0()(64bit), but none of the providers can be installed.
package mlt-1:6.4.1-7.fc25.x86_64 requires libopencv_tracking.so.3.1()(64bit), but none of the providers can be installed.
package mlt-1:6.4.1-7.fc25.x86_64 requires libopencv_core.so.3.1()(64bit), but none of the providers can be installed.
package python3-3.5.3-6.fc25.x86_64 requires python3-libs(x86-64) = 3.5.3-6.fc25, but none of the providers can be installed.
package python3-libs-3.5.3-6.fc25.x86_64 requires system-python-libs(x86-64) = 3.5.3-6.fc25, but none of the providers can be installed.
package mpv-libs-1:0.25.0-3.git4e66356.fc25.x86_64 requires libbluray.so.1()(64bit), but none of the providers can be installed.
package opencv-core-3.1.0-8.fc25.x86_64 requires libjasper.so.1()(64bit), but none of the providers can be installed.
package deadbeef-0.7.2-6.20170318git87d3fd5.fc25.x86_64 requires libzip.so.4()(64bit), but none of the providers can be installed.
package gvfs-1.30.4-1.fc25.x86_64 requires gvfs-client(x86-64) = 1.30.4-1.fc25, but none of the providers can be installed.
package ffmpeg-libs-3.3.2-2.fc25.x86_64 requires libbluray.so.1()(64bit), but none of the providers can be installed.
package python3-libs-3.5.3-6.fc25.x86_64 requires system-python-libs(x86-64) = 3.5.3-6.fc25, but none of the providers can be installed.
package mpv-libs-1:0.25.0-3.git4e66356.fc25.x86_64 requires libbluray.so.1()(64bit), but none of the providers can be installed.
package ffmpeg-libs-3.3.2-2.fc25.x86_64 requires libbluray.so.1()(64bit), but none of the providers can be installed.
package ffmpeg-libs-3.3.2-2.fc25.x86_64 requires libbluray.so.1()(64bit), but none of the providers can be installed.
package ffmpeg-libs-3.3.2-2.fc25.x86_64 requires libbluray.so.1()(64bit), but none of the providers can be installed.
package ffmpeg-libs-3.3.2-2.fc25.x86_64 requires libbluray.so.1()(64bit), but none of the providers can be installed.
package ffmpeg-libs-3.3.2-2.fc25.x86_64 requires libbluray.so.1()(64bit), but none of the providers can be installed

Solved :)


Implement structures like parameter_studies.h in abm.cpp to simplify run calls

Motivation / Current Behaviour
Currently in abm.cpp, there is no structure like parameter_studies.h (see memilio/compartments) and some of these structures should maybe be implemented to simplify these ensemble run calls. Note that the https://github.com/DLR-SC/memilio/blob/main/cpp/memilio/compartments/parameter_studies.h already handles graph-ODE and MPI.
Enhancement description
Additional context
Checklist

[X] Attached labels, especially loc:: or model:: labels.
[X] Linked to project

Thanks for opening this issue @khoanguyen-dev. I'd only like to add / modify the goal to implement these structures not in abm.cpp but either in some ABM-specific parameter_studies.h or in a more general global way.


Add support for tc redirect based VM to Container connection

Add support for tc redirect based VM to Container connection
Implement a new interconnection capability to support tc based traffic redirection.
This can be based on the existing bridge connection logic, using tc instead of the linux bridge
Connecting a veth device to tap

veth device from CNI/CNM plugin: eth0
tap device that connects to the VM: tap0

Redirecting traffic between the two devices
To quickly prototype, select the virtcontainers bridge networking implementation.
Then for each container
nsenter --net=<container_ns>
ip link del br0
tc qdisc add dev eth0 ingress
tc filter add dev eth0 parent ffff: protocol all u32 match u8 0 0 action mirred egress redirect dev tap0
tc qdisc add dev tap0 ingress
tc filter add dev tap0 parent ffff: protocol all u32 match u8 0 0 action mirred egress redirect dev eth0

https://github.com/vishvananda/netlink/blob/0e3b74dbe28f37fd911f9bca3565fdca33c03f29/qdisc_linux.go#L130

@bergwolf  - who on hyper side implemented the TC in runv?

@gao-feng did the job. thanks to him.
But he had shifted to other work and may not be available for this job.
@mcastelino @egernst Why do you need this? I can't tell the pros/cons between tc&macvtap. Each has their own merits.

@laijs See this issue in clear-containers that is valid for kata-containers:
https://github.com/clearcontainers/runtime/issues/1042

@laijs - there are a couple scenarios, like what @amshinde pointed out, which shows the advantages of TC.  Having said that, I envision this is something where we can offer two implementations and allow the user to configure.

This issue was moved to kata-containers/runtime#144


[W6.2b][T16-1]Gian Zhi Cai

Exercise: Add a polymorphic isMutating method
and take advantage of the the new method you added to limit file saving to only for command types that mutate data.

Noted with thanks 💯


cmd/server: add histogram for match percentages

Codecov Report

Merging #158 into master will decrease coverage by 1.18%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
- Coverage   60.87%   59.68%   -1.19%
==========================================
  Files          26       26
  Lines        2804     2833      +29
==========================================
- Hits         1707     1691      -16
- Misses        928      974      +46
+ Partials      169      168       -1


Fix the checkbox of "Plugin Stays Open"

Fixes https://github.com/etn-ccis/blui-figma-plugins/pull/64#issuecomment-1538943409 (Thanks, @JeffGreiner-eaton!)
https://user-images.githubusercontent.com/8997218/236926199-3069d899-ff73-47cd-bb6d-efe18b7d6d10.mov

I have published this fix as v8. You should be able to run the "market place" from Figma.


[RFC] Multi-source, Single Sink Wiring Proposal

Type of issue: feature request | other enhancement
Impact: API addition (no impact on existing code)
Development Phase: proposal
Other information

Prior discussion on Gitter had @azidar asking the following question:

@seldridge for the wiring transform, can it wire all instances of a signal from a multiply-instantiated-module to the top level?

Currently what is done by the WiringTransform is encapsulated by WiringInfo:
/** A data store of one sink--source wiring relationship */
case class WiringInfo(source: ComponentName, sinks: Seq[Named], pin: String)

This implicitly assumes that the WiringTransform is always resolving only two types of connections:

A point to point connection of a single source ComponentName to a single ComponentName or ModuleName, e.g., "connect the scan_out of the first slave on a FIRRTL-created scan chain to the scan_in of the second slave"
A broadcast connection of a single source ComponentName to multiple ComponentName or ModuleName, e.g., "connect the scan_en from a scan chain master controller to all slaves on the scan chain"

A many-to-one connection is not currently supported for one obvious reason: hardware can't have multiply driven components. However, the motivation here is not to define multiple drivers, but a shorthand for connecting many sources to members of an AggregateType sink. I agree that there's strong motivation for this. @jackkoenig had some ideas on what this would entail:

@jackkoenig: The way I've generally envisioned it is that I want to wire a signal S from some module of some type T to a new sink wire or port. Because of deduplication, there could be multiple instances of S and I still want them in a single sink. This sink would then be a VectorType[T]. I can imagine also making the sink a BundleType I suppose. You would also probably want some information about which index of the sink corresponds to which instance of S, so you'd also probably produce a mapping from absolute path of each instance of S to the index in the sink VectorType. You could obviously do something similar with a BundleType sink as well.

This example entirely assumes the connection of multiple sources (the number of which are intentionally unspecified at the annotation level) to a single AggregateType sink, i.e., the two current AggregateType subclasses: VectorType or BundleType. This introduces one critical question: how do you determine the mapping between the discovered source components to their VectorType indices or to their BundleType elements?
There are two rough ways of doing this that aren't mutually exclusive---one can be a fallback for the other:

Explicit Specification: WiringInfo needs some information about how its supposed to map specific source instances to sink AggregateType elements. This can be something like Map[String, ComponentName] or some variation thereof where String is a full path to an instance, e.g., Top.A.B.C.D.E.source. Note that this is technically an InstanceName which is a yet-to-be implemented Named subclass. For explicit specification, the mapping is entirely unambiguous. Unfortunately, this starts to break the utility of "wire all these random modules to the top" that @azidar outlined. Additionally, a Chisel workflow would have a user annotating without knowing how many instances of a specific source will be created until elaboration. Hence, there's a dependency on the user defining the mapping before elaboration. This is very related to the problem that Rocket Chip's Diplomacy library tries to solve for configuration parameters.
Implicit Specification: Here, the way in which things are connected is determined (deterministically) by the linearized order of the InstanceGraph. There are other approaches that could be specified here, but this seems to be the most sane. Then, based on how the WiringTransform decides to connect things, it needs to emit some auxiliary information (JSON) about what it did to define the mapping. Arguably, any WiringTransform should likely do this, even if it's not falling back to this implicit specification. As an example, the first found source is connected to sink[0], the second to sink[1], etc. The implicit specification, I think, is not workable for a BundleType sink.

Implicit Specification with New Element Creation: A subset of the implicit specification and likely only to be used for the case of connecting to a sink ModuleName (where there is no sink component, only a sink port that will be created). Here, the width of the sink is determined based on the number of found sources.

I'm proposing that the three use approaches above should all be supported. Some contributions of more specific use cases may help (as the current WiringTransform was entirely motivated by my need for scan chain construction).
Weird things this may enable that are outside of the scope of this Issue (just so that this is written down somewhere):

The implicit specification with new element creation starts to smell a lot like Diplomacy. Theoretically, a specific component in the design that is widened by the WiringTransform could trigger a Chisel inline compilation callback to recompile that module with the new width (which is assumedly a parameter). This seems like a haphazard, bad approach that reimplements Diplomacy, but there may be some motivation here. Not proposing this, but I just want to think about how things are handled if we need to, at the FIRRTL level, change the width of a signal and if we error on that or if we try to fix it.

Ugh........ I need to keep my repositories straight.


Got Import Failed

On the ComfyUI teminal
Traceback (most recent call last):
  File "D:\SD\Nouveau dossier\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2026, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "D:\SD\Nouveau dossier\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LexTools\__init__.py", line 2, in <module>
    from .nodes import SegformerNode,ImageCaptioningNode,ImageProcessingNode
  File "D:\SD\Nouveau dossier\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LexTools\nodes\ImageProcessingNode.py", line 2, in <module>
    from fastapi import FastApi
ImportError: cannot import name 'FastApi' from 'fastapi' (D:\SD\Nouveau dossier\ComfyUI_windows_portable\python_embeded\Lib\site-packages\fastapi\__init__.py). Did you mean: 'FastAPI'?

Cannot import D:\SD\Nouveau dossier\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LexTools module for custom nodes: cannot import name 'FastApi' from 'fastapi' (D:\SD\Nouveau dossier\ComfyUI_windows_portable\python_embeded\Lib\site-packages\fastapi\__init__.py)
Please install pyav to use video processing functions.
Initializing EasyNodes. Auto-registration: True
Traceback (most recent call last):
  File "D:\SD\Nouveau dossier\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2026, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "D:\SD\Nouveau dossier\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXVideo\__init__.py", line 3, in <module>
    from .transformer import LTXVModelConfigurator, LTXVShiftSigmas
  File "D:\SD\Nouveau dossier\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXVideo\transformer.py", line 15, in <module>
    from ltx_video.models.transformers.transformer3d import Transformer3DModel
ModuleNotFoundError: No module named 'ltx_video'

Cannot import D:\SD\Nouveau dossier\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXVideo module for custom nodes: No module named 'ltx_video'

When manually installing requirements
(base) D:\SD\Nouveau dossier\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXVideo>pip install -r requirements.txt
Collecting ltx-video<EMAIL_ADDRESS>(from -r requirements.txt (line 2))
  Cloning https://github.com/Lightricks/LTX-Video.git (to revision ltx-video-0.9) to c:\users\pgc\appdata\local\temp\pip-install-ztxoh6c8\ltx-video_4e26cbcdd8e0435d8201594e6b235f95
  Running command git clone --filter=blob:none --quiet https://github.com/Lightricks/LTX-Video.git 'C:\Users\PGC\AppData\Local\Temp\pip-install-ztxoh6c8\ltx-video_4e26cbcdd8e0435d8201594e6b235f95'
  Running command git checkout -q 48a9500f50da637ba39bfb9e318ce938e589beca
  Resolved https://github.com/Lightricks/LTX-Video.git to commit 48a9500f50da637ba39bfb9e318ce938e589beca
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting comfyui-easynodes (from -r requirements.txt (line 1))
  Using cached ComfyUI_EasyNodes-1.2.7-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: huggingface_hub==0.25.2 in c:\users\pgc\anaconda3\lib\site-packages (from -r requirements.txt (line 3)) (0.25.2)
Requirement already satisfied: filelock in c:\users\pgc\anaconda3\lib\site-packages (from huggingface_hub==0.25.2->-r requirements.txt (line 3)) (3.13.1)
Requirement already satisfied: fsspec>=2023.5.0 in c:\users\pgc\anaconda3\lib\site-packages (from huggingface_hub==0.25.2->-r requirements.txt (line 3)) (2024.6.1)
Requirement already satisfied: packaging>=20.9 in c:\users\pgc\anaconda3\lib\site-packages (from huggingface_hub==0.25.2->-r requirements.txt (line 3)) (24.1)
Requirement already satisfied: pyyaml>=5.1 in c:\users\pgc\anaconda3\lib\site-packages (from huggingface_hub==0.25.2->-r requirements.txt (line 3)) (6.0.1)
Requirement already satisfied: requests in c:\users\pgc\anaconda3\lib\site-packages (from huggingface_hub==0.25.2->-r requirements.txt (line 3)) (2.32.3)
Requirement already satisfied: tqdm>=4.42.1 in c:\users\pgc\anaconda3\lib\site-packages (from huggingface_hub==0.25.2->-r requirements.txt (line 3)) (4.66.5)
Requirement already satisfied: typing-extensions>=<IP_ADDRESS> in c:\users\pgc\anaconda3\lib\site-packages (from huggingface_hub==0.25.2->-r requirements.txt (line 3)) (4.11.0)
Requirement already satisfied: torch in c:\users\pgc\anaconda3\lib\site-packages (from comfyui-easynodes->-r requirements.txt (line 1)) (2.5.1)
Requirement already satisfied: pillow in c:\users\pgc\anaconda3\lib\site-packages (from comfyui-easynodes->-r requirements.txt (line 1)) (10.4.0)
Collecting ansi2html (from comfyui-easynodes->-r requirements.txt (line 1))
  Using cached ansi2html-1.9.2-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: colorama in c:\users\pgc\anaconda3\lib\site-packages (from comfyui-easynodes->-r requirements.txt (line 1)) (0.4.6)
Collecting coloredlogs (from comfyui-easynodes->-r requirements.txt (line 1))
  Using cached coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: numpy in c:\users\pgc\anaconda3\lib\site-packages (from comfyui-easynodes->-r requirements.txt (line 1)) (1.26.4)
Collecting openai (from comfyui-easynodes->-r requirements.txt (line 1))
  Using cached openai-1.55.0-py3-none-any.whl.metadata (24 kB)
Collecting diffusers~=0.28.2 (from ltx-video<EMAIL_ADDRESS>requirements.txt (line 2))
  Using cached diffusers-0.28.2-py3-none-any.whl.metadata (19 kB)
Requirement already satisfied: transformers~=4.44.2 in c:\users\pgc\anaconda3\lib\site-packages (from ltx-video<EMAIL_ADDRESS>requirements.txt (line 2)) (4.44.2)
Collecting sentencepiece~=0.1.96 (from ltx-video<EMAIL_ADDRESS>requirements.txt (line 2))
  Using cached sentencepiece-0.1.99.tar.gz (2.6 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\PGC\AppData\Local\Temp\pip-install-ztxoh6c8\sentencepiece_3a60a4b5b2764dffaca410dff38b06e1\setup.py", line 126, in <module>
          subprocess.check_call([
        File "C:\Users\PGC\anaconda3\Lib\subprocess.py", line 408, in check_call
          retcode = call(*popenargs, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\PGC\anaconda3\Lib\subprocess.py", line 389, in call
          with Popen(*popenargs, **kwargs) as p:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\PGC\anaconda3\Lib\subprocess.py", line 1026, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "C:\Users\PGC\anaconda3\Lib\subprocess.py", line 1538, in _execute_child
          hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

same here

Same

I didn't get this. I'm using it currently. I cloned it into custom nodes, did pip install -r requirements.txt in this folder and it worked. I did start from a fresh ComfyUI though

I didn't get this. I'm using it currently. I cloned it into custom nodes, did pip install -r requirements.txt in this folder and it worked. I did start from a fresh ComfyUI though

May I ask what version of sentencepiece do you use? "pip show sentencepiece"

I didn't get this. I'm using it currently. I cloned it into custom nodes, did pip install -r requirements.txt in this folder and it worked. I did start from a fresh ComfyUI though

May I ask what version of sentencepiece do you use? "pip show sentencepiece"

Version: 0.1.99
I did have issues installing it in python 3.11 so I went with the 3.10.5 suggested in the official repo

I have SentencePiece 0.2.0 with Python 3.12.7. I think I'm giving up on this, but thank you for your answers

just create a conda env with python 3.10.5

I have SentencePiece 0.2.0 with Python 3.12.7. I think I'm giving up on this, but thank you for your answers

just create a conda env with python 3.10.5

I'm on 3.10.12 (with some other custom nodes requiring that).
Here's the relevant output when installing the broken dep via pip
Collecting ltx-video<EMAIL_ADDRESS>  Cloning https://github.com/Lightricks/LTX-Video.git (to revision ltx-video-0.9) to /tmp/pip-install-g1649iyf/ltx-video_e68b4148616e4e2dab8b36f512c56241
  Running command git clone --filter=blob:none --quiet https://github.com/Lightricks/LTX-Video.git /tmp/pip-install-g1649iyf/ltx-video_e68b4148616e4e2dab8b36f512c56241
  Running command git checkout -q 48a9500f50da637ba39bfb9e318ce938e589beca
  Resolved https://github.com/Lightricks/LTX-Video.git to commit 48a9500f50da637ba39bfb9e318ce938e589beca
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package ltx-video produced metadata for project name unknown. Fix your #egg=ltx-video fragments.
Discarding<EMAIL_ADDRESS>Requested unknown from<EMAIL_ADDRESS>has inconsistent name: filename has 'ltx-video', but metadata has 'unknown'
ERROR: Could not find a version that satisfies the requirement ltx-video (unavailable) (from versions: none)
ERROR: No matching distribution found for ltx-video (unavailable)

I have SentencePiece 0.2.0 with Python 3.12.7. I think I'm giving up on this, but thank you for your answers

just create a conda env with python 3.10.5

I'm on 3.10.12 (with some other custom nodes requiring that).
Here's the relevant output when installing the broken dep via pip
Collecting ltx-video<EMAIL_ADDRESS>  Cloning https://github.com/Lightricks/LTX-Video.git (to revision ltx-video-0.9) to /tmp/pip-install-g1649iyf/ltx-video_e68b4148616e4e2dab8b36f512c56241
  Running command git clone --filter=blob:none --quiet https://github.com/Lightricks/LTX-Video.git /tmp/pip-install-g1649iyf/ltx-video_e68b4148616e4e2dab8b36f512c56241
  Running command git checkout -q 48a9500f50da637ba39bfb9e318ce938e589beca
  Resolved https://github.com/Lightricks/LTX-Video.git to commit 48a9500f50da637ba39bfb9e318ce938e589beca
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package ltx-video produced metadata for project name unknown. Fix your #egg=ltx-video fragments.
Discarding<EMAIL_ADDRESS>Requested unknown from<EMAIL_ADDRESS>has inconsistent name: filename has 'ltx-video', but metadata has 'unknown'
ERROR: Could not find a version that satisfies the requirement ltx-video (unavailable) (from versions: none)
ERROR: No matching distribution found for ltx-video (unavailable)

you don't need to install via pip, where did you read that? just clone the node and pip install -r requirements.txt

Generating metadata for package ltx-video produced metadata for project name unknown. Fix your #egg

That was the dependency in requirements.txt that failed to install, so to clean up the log for pasting here, I ran the command to install just it.

@PGCRT this should be fixed now, please let us know if you have any problems.

Yes, I reinstalled the package without issues, well played


Support redirects in gcs storage with default credentials

Hi! GCS storage driver does not support redirect URLs only when configured to use application default credentials. Supporting this case looks useful in general and makes GCS driver behaviour consistent (currently, changing the configuration from using service account key to using default credentials may have an unexpected effect of making registry forward data increasing its' load).
This PR adds support and documentation for using redirects with default credentials. Since it was a very small change I've created the PR directly.
Sadly adding this isn't backward compatible - if someone is running a registry on a vm with default credentials and has left 'redirect' unconfigured then this PR is going to break their setup - after an upgrade they would start receiving errors if required IAM permissions weren't configured. It's easy to fix (either by configuring IAM, or by disabling 'redirect' in registry configuration), so maybe it would be ok for a major release? To make this backward compatible we could add an additional configurtation parameter (like this)...
WDYT, does it look ok?

It doesn't look like any new storage driver configuration is needed to support signing when using default credentials from any source, including credentials from logging in with the gcloud CLI. I would prefer not to add new configuration if it is not required.

Sure, it sounds reasonable. I've removed extra configuration and updated documentation. I thought about linking storage go docs, but I'm worried it may be a bit confusing so I decided no to.

You're in luck! That major release is v3.0.0, which we have not yet tagged. You don't need to worry about this being a breaking change.

Great, thanks a lot!


README

#README
User Story
As a bootcamp student
I want the prework notes to be structured on a web page
So that I can easily find and read the information
Acceptance Criteria
GIVEN the prework project repository
WHEN I view the README for the repository
THEN I can see a professional README that provides information on the project and how to use it

added README content


Saving strings that contain the character 0

Hi,
Currently, the call to SQLite3.BindText in the BindParameter method uses -1 as the 4th argument. This choice prevents us to use a string that contains the character 0. For example "value1\0value2" will be saved as "value1" although .NET perfectly supports this, and SQLite as well (http://www.sqlite.org/c3ref/bind_blob.html)
Code could be changed like this for writes:
... else if (value is String) {
    string svalue = (string)value;
    int bytes = svalue != null ? System.Text.Encoding.Unicode.GetByteCount(svalue) : -1;
    SQLite3.BindText (stmt, index, svalue, bytes, NegativePointer);
} ...

And like this for reads:
[DllImport("sqlite3", EntryPoint = "sqlite3_column_bytes16", CallingConvention = CallingConvention.Cdecl)]
public static extern int ColumnBytes16(IntPtr stmt, int index);

public static string ColumnString (IntPtr stmt, int index)
{
    int len = ColumnBytes16(stmt, index);
    if (len == 0)
        return Marshal.PtrToStringUni(SQLite3.ColumnText16(stmt, index));

    return Marshal.PtrToStringUni(SQLite3.ColumnText16(stmt, index), len / 2);
}

Interesting, this may have been fixed already. Need to write a test for it.


[GTX 1080 & GTX 1080Ti] Add EthPillEnlargement

Is it possible to add the EthPillEnlargement for the GTX 1080 and GTX 1080Ti to run hidden along with it? Or make a secondary software that is hidden? The one I found needs to open and visible, making it obvious that a Miner is running.

Well I guess you could add another resource into the project and then add Run(GetTheResource("#dll"), commandargs, programbyts) if the file is a native binary. Make sure that it's a "trusted" version of it and not one of the countless malwares out there.

I grabbed the original, but I am not sure how to make it run silent. Could you implement it into your Builder? Or make an invisible secondary .exe for it perhaps?

I got mine from here. If you could somehow include this in the Silent ETH Miner, then that would be perfect.
Source: https://www.kryptex.org/r/ethlargementpill

@UnamSanctam So, is this possible to add? The GTX 1080 and 1080Ti are quite powerful with the EthEnlargementPill, thus adding good revenue.

Well I could add it to one and link it here although I won't test it since it isn't open source.

Okay cool, then let me know if you ever get implemented, then I will try it for you and let you know :)!


Flutter 2.5 error pub get

When trying to pub get android 2.5 there is a problem which is
The plugin `agora_rtm` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

Do you mean Flutter 2.5?

Seem like it is a warning. I will plan to upgrade it to v2.

@LichKing-2234 Yes It's not a warning it wont let me do pub get

same problem, I can't use rtm anymore, any date to update?

How can I fix this issue?it's working in android but when I want to update the pod at that time I'm getting the same issue.

@LichKing-2234 Below line I have added. but getting error "Execution failed for task ':app:compileDebugKotlin'",
Added:-     GeneratedPluginRegistrant.registerWith(this)

@panchalAlpit you should not add GeneratedPluginRegistrant.registerWith(this) when using v2.

After upgrade the plugin it's working.


SpotData reading and writing.

A component of #34
Components to read and write data. Unit tests for reading and writing routines, plus missing tests for ancillaries.
Testing:

[x] Ran tests and they passed OK
[x] Added new tests for the new feature(s)

There remains a point for discussion about the way data is found, currently walking down the directory tree from the provided directory path. This is likely to change.


cmd: document -c/--checkpoints for run and stage add

You may disregard these recommendations if you used the Edit on GitHub button from dvc.org to improve a doc in place.

❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.
🐛 Please make sure to mention Fix #issue (if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.
Please choose to allow us to edit your branch when creating the PR.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏
Will close https://github.com/iterative/dvc.org/issues/2253

Mergeable as soon as the core PR is released (ideally)
Or is it already available? (Not sure what "suppressed" means in Python argparse flags)

argparse.SUPPRESSED makes it so the option is available to be used but will not appear in usage/help text (so it's suppressed in -h output). It's normally used for hidden flags which may be set as defaults, but in this case we were using it to hide the experiments related options back when it was still in opt-in alpha/beta status for DVC 1.x

Looks like I merged it accidentally via Restyled already 😆


Auto docs - Deprecated Feature

The details will be provided soon. Currently, we are working on it.
Deprecated Feature
Developers should be able to decide to mark some as deprecated some features;

Endpoints: /api/v1/users/:id
Fields: users.full_name
Validation: users.name:required
Middlewares: isAdmin (Somehow)
Supported language: en

To define these kinds of deprecated values, developers should be able to manage some kind of configuration file like the following one;
docs/deprecation.yml
- version: v1
  endpoints:
    - User.paginate
    - User.show
    - User.store
  fields:
    - User.full_name
    - User.gender
    - User.age
  validations:
    - User:POST:email:required
    - User:PUT:email:required
    - Post.phone:number
  middlewares:
    - isAdmin
    - Posts.shouldBeModerator
  supportedLanguages:
    - en
    - en-GB
    - en-UK
- version: v2
  endpoints:
    - Metric.*

This is related to Auto docs creation. Actually, developers don't have to do anything in the code.

Axe API is going to support Swagger-based documentation with v1.
https://github.com/axe-api/axe-api/issues/268
https://v1.axe-api.com/learn/documentation.html#customization
Because of that, we don't need to support any other customization structure. You can use the swagger.ts for the documentation customization like the following example
export default {
  info: {
    title: "Bookstore API",
    description:
      "This API project is an example API project built with Axe API Framework.",
  },
  servers: [
    {
      url: "https://bookstore.axe-api.com",
    },
  ],
  paths: {
    "/api/v1/books": {
      post: {
        deprecated: true,
      },
    },
  },
};


Beta 1-3

https://github.com/JiroCab/Olupis/blob/main/changelog.txt
+ Added Placeholder1 for the two planets
+ Olupis Tech tree now takes a items from all 3 planet's sectors
+ Added Raw Files of certain sprites (.aseprite & .ase Contributed by NightmarishWolf)
+ Added Mod options to turn off invasive features
+ Added an option for Green team to have the corroded icon
+ Added Code play music via overriding the game music Seq (wip)
+ World tiles added - pinkGrass, pinkGrassWater, pinkShrubs, pinkTree
+ Units added - zoner
+ Blocks added - shredder, fortifiedTank, fortifiedCanister, mendFieldProjector, taurus, rustyPump, iron junction,  rustyScrapWall, rustyScrapWallLarge, rustyScrapWallHuge, rustyScrapWallGigantic
~ Units Sprites updated - gnat
~ Sprites Updated - iron, corroder, rustyIronConveyor, ironConveyor, cobaltConveyor, pipeBridge, pipeRouter, coreRemnant, windmill, garden, coreRemnant, ironWall, ironWallLarge, rustyWall, rustyWallLarge, rustyWallHuge, rustyWallGigantic
~ Fixed certain blocks not having / improper Ui Icons
~ Fixed windMills generating light
~ Fixed steam being used as coolant by Serpulo turrets
~ Updated README.md
~ Updated Olupis TechTree
~ Updated bundle.properties
~ Updated Placeholder maps
~ `rustyPipe` renamed to `leadPipe`
~ Made some of Serpulo's items included in Olupis planets' items, will be whitelisting Olupis blocks instead & ban-hide other blocks
~ updated debug button export map for changes above
~ Packages changed 'com.jirocab.planets' to 'olupis' (Name was not final when orginal packages made and changing it now while it's early)
~ Bumped required Mindustry Version in build.gradle [v140.4 -> v141]
-- Removed rustyPipe Variants (No easy way to add variants)

lets pretend the push request test does not exist since It's not yet properly updated :3


Unable to get ps/2 keyboard input working

I've flashed my ATTiny4313 with the keyboard_4313 sketch, using an Arduino as ISP:

I also flashed the rom withSoftware/rom/19_keyboard_test.
When I boot the computer (with a ps2 keyboard plugged in) the lights briefly flash on the keyboard.
It then shows key 4 as being pressed intermittently, but I am unable to type anything.
I checked my solder joints on the ps/2 connector, and they look ok.

Hey, thanks for reporting this, but I would need more information about the problem:

What kind of keyboard are you using (native PS/2 or via connector),
How did you flash the ATTiny4313 (I need details on which pin was connected to which pin on the AVR ISP interface),
Are you absolutely sure that the keyboard is working fine?

When I get these details I will repeat the same process (including the ATTiny upload) exactly as you did, but with logic analyser connected to the ATTiny pins to see what happens there. Basically this should work "just like that", I have never seen any issues on my build and I know of other builds where it also worked fine. This might be problem with solder joints on the ATTiny or VIA socket. You can do simple continuity tests on ATTiny pins and respective VIA connectors, but let's start with me repeating your procedure.

What kind of keyboard are you using (native PS/2 or via connector),

PS/2 keyboard

How did you flash the ATTiny4313 (I need details on which pin was connected to which pin on the AVR ISP interface),

I used an Arduino UNO as ISP (ArduinoISP sketch).  I then connected the Arduino UNO to the 6502 ICSP interface:
5V -> 5V
GND -> GND
Pin 10 -> RESET
Pin 11 -> MOSI
Pin 12 -> MISO
Pin 13 -> SCK
In the Arduino interface I selected "Arduino as ISP", ATTiny4313 as board/chip, and 8 MHz for speed.

Are you absolutely sure that the keyboard is working fine?

To be completely honest, I don't know.  I purchased the keyboard specifically for this purpose, so it's brand new, but obviously could be defective.
Thanks!

You can do simple continuity tests on ATTiny pins and respective VIA connectors, but let's start with me repeating your procedure.

For what it's worth, everything appears to be wired up correctly (after continuity tests on all the ATTiny pins).

One additional piece of information (perhaps useless):
The keyboard lights flash again once (briefly) while the text "Keyboard testing program. is displayed on the LCD, but prior to the "Key pressed: 4" and "Key pressed [ENTER]"

On Aug 3, 2020, at 4:50 PM, Jon Lorusso<EMAIL_ADDRESS>wrote:
You can do simple continuity tests on ATTiny pins and respective VIA connectors, but let's start with me repeating your procedure.
For what it's worth, everything appears to be wired up correctly (after continuity tests on all the ATTiny pins).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/dbuchwald/6502/issues/50#issuecomment-668234727, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADP27F3ONOZDSYYFK2YH5DR64PHRANCNFSM4PTUN5LA.

Hey, sorry, I have tried to replicate the issue you are observing, but it still works on my build. These are the steps I took:

Checked out master branch
Uploaded rom/19_keyboard_test to EEPROM
Uploaded keyboard_4313 using Arduino as ISP programmer (the only difference - used Arduino Mega instead of Uno, as I don't own one)
Inserted 1MHz oscillator for system clock
Connected PS/2 keyboard
Run the computer

It detected keyboard correctly and worked fine displaying keys that I pressed.
So, current version of the code should work correctly with the PCB and working keyboard. These are the possible issues that could cause it:

Incorrect seating of ATTiny4313 or VIA chip
Failed upload (I actually had to struggle for a bit to upload the sketch, it didn't work immediately, USBasp is much more stable)
Soldering issue
Broken keyboard
Last but not least - I don't even know if this is possible, but maybe the PS/2 connector you use doesn't match the pinout assumed in PCB design?

I would advise using one of these cheap logic analysers (13$ or so) to confirm that the signal coming to ATTiny is correct. You need to connect two lines to pins 2 and 6 - these are DAT/CLK of PS/2 respectively. If this is correct (represents keys pressed on keyboard), then check ATTiny output on pins 12-19 to confirm that correct data is transmitted to VIA.
Sorry I can't help you any further, but it "just works" on my build...

One last thing - it's actually possible that the fuses on your ATTiny are incorrectly set. Arduino IDE doesn't burn them with the sketch, you need to "Burn Bootloader" first, even if you don't intend to use the bootloader (which, by the way, is not even possible for ATTiny4313). Try this and let me know if it helps, please.

you need to "Burn Bootloader" first, even if you don't intend to use the bootloader

🤦♂🤦♂🤦♂
That was it!  Keyboard is now working! Thanks!

Awesome, I'm glad we managed to find the reason! I will update the documentation to reflect this step.

Documentation updated


Fixed typo

Description:
Fixed typo
Related issue(s):
N/A
Checklist

[x] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

Thank you for your PR. At the moment the GitHub integration is down with our GitBook site. Will get to review and merge when we get back up and running.


Ability to use route function and route string together

Description
As a developer using vite-plugin-ssr I want to re-use routing internals so that I don't have to roll my own route matching.
I have some cases where I want more control over the routing, I use the Route Function for that.
Sometimes I still want to use some form of string matching within the function, I use regex for that.
It would be nice to also be able to re-use the built-in Route String functionality, something like this:
import { resolveRouteString } from 'vite-plugin-ssr';

const ROUTE = '/product/@id/@slug';

export default (pageContext: ServerPageContext) => {
  const match = resolveRouteString(ROUTE, pageContext.url);
  if(!match) return false;

  const { routeParams } = match;

  // do some extra stuff

  return {
    routeParams,
    precedence: 1,
  };
};

I'm running on version 0.4.9.
Would be nice to hear your thoughts on this!

In my case I want to enable/disable pages feature-based:
if (!features.vue3?.giftcard) {
    return false;
  }

The features are retrieved from API in onBeforeRender of _default.page.server and passed to the pageContext.

Makes sense. I'm up for implementing this.
I'm thinking a resolveRouteString() that returns a value that aligns well with Route Functions:
export default '/product/@id'
// Equivalent to the above:
import { resolveRouteString } from 'vite-plugin-ssr/routing'
export default pageContext => resolveRouteString('/product/@id', pageContext.url)

export default (pageContext) => {
  const res = resolveRouteString('/product/@id', pageContext.url)
  if (res.match) {
    // do some extra stuff
  }
  return res
};

For features that represent a unique value proposition (compared to Next.js/Nuxt) I usually ask for a small monetary compensation. Do you mind me asking whether you develop your app for yourself or a company?
Feel free to DM me on Discord.

Released in 0.4.21.
Docs: https://vite-plugin-ssr.com/route-function#resolveroute.


Cant load .rnd into RNG

If I run dehydrated in cron mode and it is generating a CSR it throws the following error.
+ Signing domains...
 + Generating private key...
 + Generating signing request...
Can't load /root/.rnd into RNG
140303236821440:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd

I am not sure if this is a problem and where it comes from. Google just leads to some odd openssl options for which I do not know if dehydrated uses them.

This should be an issue with your systems openssl/libressl config, nothing directly related to dehydrated. I can't really help you with that.

For anyone else having this issue, see https://github.com/openssl/openssl/issues/7754.
TLDR, comment or remove the RANDFILE variable from your openssl config file, at /usr/lib/ssl/openssl.cnf in Ubuntu.