text:
Cold/Flu: Worksite contact is not reflecting the name of the user registering for clinic

Background:
when a user who registered as “Bobby Brown”, goes back to edit, the registration has pulled his legal name information and not the actual worksite contact he entered

Steps to Reproduce:

[ ] go into the cold and flu for in TEST
[ ] register as a fictional character/preferred name for a worksite
[ ] open a new form look up the worksite check to see who is registered
Actual Behavior:
legal name is appearing
Expected Behaviour:
Preferred or entered name should appear
Environment: TEST

Heather Reports: I checked one of my registrations, I registered as “Minnie Mouse” but when I go to edit that reg, it pulls up that the worksite registered is Heather Bishop
While MOST people coming on to register their worksite contact will be registering themselves… some may be registering on behalf of someone else… and I certainly will be… so I wonder how this will show up on the reporting – I’ve included @Moffatt, Don PSA:EX here as well. Don, the DEV data you sent me this morning (snip of that below), doesn’t seem to show my registration for MINNIE MOUSE… but DONALD DUCK was the secondary… and the number of employees is 185, though the report line shows 85. Yikes?

Logic updated on the backend DB procedures on DEV/Test, will accept any changes for contacts, if email already exists will allow first/last names and phone to be updated.

yay thanks @mikeshi-bcgov I will move this over to Test /QA

Tested this in Test Environment and achieved expected behavior ✅
Snapshot of a fictional character name registered for the worksite -

Snapshot confirming that entered fictional name appears -

PO approve

authors: MeghanStothers Stella-Archer ayushdamani mikeshitelus

repo: bcgov/digital-journeys


text:
"Gateway Services publish failed" message when using gwa apply

Even when only publishing a Product or DraftDataset, gwa makes a PUT call to api.gov.bc.cagw/api/v2/namespaces/gw-abc123/gateway which will return an error message:

This is unnecessary and a nuisance for users.

Verified - looks good

testing modified Jira automation - this should not change ticket status to In Progress

source: gharchive/issue

authors: ikethecoder rustyjux

repo: bcgov/gwa-cli

license_type: permissive

license_source: github-api


text:
Added HA specific extracts for both milestone and applicant extracts

Updated data extracts. For HA users, only users who have a "referred to " milestone will have their milestones extracted.
I added two steps to the process. The first takes the users HA PCN and finds the id of the "Applicant Referred to " milestone for that HA. The second selects a list of ids of users who have that milestone.
The remainder is the main query, just with a check to ensure that only milestones from those users are selected.

Linting issue

source: gharchive/pull-request

authors: dbayly-freshworks jerry-ey

repo: bcgov/internationally-educated-nurses


text:
LCFS - 'All organization compliance units' feature showing for BCeID users on the transactions page

Describe the task
BCeID users are currently able to see "All organizations compliance units:" and "Show transactions involving:" and a drop-down list of all organizations. This feature should only be available to users on the IDIR side. Please make this feature not visible or accessible to BCeID users.
Please see screenshot of section that should not be visible to BCeID users:

Purpose
The reason this should not be visible to BCeID users is that it shares organization's names and all organizations compliance units; two pieces of information that should be restricted to IDIR use only to ensure privacy for all BCeID users.
Acceptance Criteria

[ ] first
[ ] second
[ ] third

Additional context

Add any other context about the task here.
Or here

Was displayed in wireframe on BCeID user side accidently:
https://preview.uxpin.com/59145260c7d8cc48969ac79401cc03d84843c3d9#/pages/164923037/simulate/sitemap

@prv-proton I updated this card. Please let me know if I missed anything or if you have any follow-up questions. Thank you!

Tested the IDIR side and this feature is working, but I am getting an error when I test the BCeID side. Please see screenshot of error:

repo: bcgov/lcfs


text:
Spike: Investigate including certbot

https://github.com/BCDevOps/certbot

Deprecated.

repo: bcgov/quickstart-openshift


text:
AH getting error when submitting minor amendment

See image below.  Tried twice to same effect.
Created amendment
Submitted amendment
Got this message (whether I did a “save draft” action before submitting or not

@micheal-w-wells, I didn't consider this, but somehow we have to reseed the database to include these new statuses. Maybe just npx knex seed:run will work.

@LisaMoore1 Should be working now; let me know if it's not.

repo: bcgov/range-web


text:
update the composite actions

link to demo deployment of your smk based app is
https://smk-fap-fcb-rt-b16795-dev.apps.silver.devops.gov.bc.ca
Verify that it looks good, if so merge the pull request which will trigger a prod deployment, otherwise close the pull request without merging
mentions / notifications: @GuyTheFlower, @NicoledeGreef, @franTarkenton

The Vanity URL for the dev deploy is https://smk-fap-fcb-api-gov-bc-ca.test.apsgw.xyz
If this is a dev deploy,  verify that it looks good, then merge the pull request to trigger prod deployment.
If this is a prod deployment, view your prod deploy at the url above :)
mentions / notifications: @GuyTheFlower, @NicoledeGreef, @franTarkenton

The Vanity URL for the dev deploy is https://smk-fap-fcb-api-gov-bc-ca.test.apsgw.xyz
If this is a dev deploy,  verify that it looks good, then merge the pull request to trigger prod deployment.
If this is a prod deployment, view your prod deploy at the url above :)
mentions / notifications: @GuyTheFlower, @NicoledeGreef, @franTarkenton

repo: bcgov/smk-fap-fcb


text:
CI 4.5.3 TypeError

I tried to type in the console (Docker): php spark phpini:check
And I got an error:
root@f117b1029506:/var/www# php spark phpini:check

CodeIgniter v4.5.3 Command Line Tool - Server Time: 2024-07-05 22:15:20 UTC+00:00

[TypeError]
CodeIgniter\CLI\CLI::color(): Argument #1 ($text) must be of type string, null given, called in /var/www/vendor/codeigniter4/framework/system/Security/CheckPhpIni.php on line 62
at SYSTEMPATH/CLI/CLI.php:58

PHP 8.1.27

wrong repository. This is for CI 3.x
see here: https://github.com/codeigniter4/CodeIgniter4

Another version CodeIgniter

authors: aletoropov bunglegrind

repo: bcit-ci/CodeIgniter

license: MIT


text:
Adapt unit tests so as not to fail when run as root

When the phpunit tests are run as root the test Log_test::test_configuration fails because it can write to the /root/ dir while the test expects that /root/ is not writeable. So fix the test so that it doesn't fail when it is run as root.

No, that part of the test should check the situation where the log path is not writeable/not a dir. We shouldn't check for the enabled property differently.
We have vfsStream and we shall use it for this. Please see the below commit.

authors: gxgpet tenzap


text:
travis test coverage report service

I think it will be great to generate coverage report on travis build with service like coveralls or scrutinizer or other that can be a benchmark in case any regression after fix/feature.

Good point. I had that thought early on, but have been so busy just trying to get the main code in place I've never made it back to that. Thanks for the reminder. Will see about getting coveralls setup for it.

authors: lonnieezell samsonasik

license: mit

license_source: bigquery


text:
Hangs on #> Saving the indexing plan to /...

Having an issue when using GPU where it hangs on saving the index plan
hangs here:
[Feb 06, 20:31:34] [0] 		 # of sampled PIDs = 519 	 sampled_pids[:3] = [426, 10, 305] Expand [Feb 06, 20:31:34] [0] 		 #> Encoding 519 passages.. [Feb 06, 20:31:40] [0] 		 avg_doclen_est = 131.91522216796875 	 len(local_sample) = 519 [Feb 06, 20:31:40] [0] 		 Creating 4,096 partitions. [Feb 06, 20:31:40] [0] 		 *Estimated* 68,464 embeddings. [Feb 06, 20:31:40] [0] 		 #> Saving the indexing plan to /dir/plan.json ..
  self.rag.index(               collection=entry_texts,               document_ids=entry_ids,               document_metadatas=entry_metadatas,               index_name="name",                max_document_length=180,                split_documents=True  )
Works without GPU fine
image: nvidia/cuda:12.1.0-cudnn8-devel-ubuntu22.04
python version 3.9
confirmed cuda available
no additional logs with
"COLBERT_LOAD_TORCH_EXTENSION_VERBOSE": "True"

Hey, thank you for the report. Could you give us the full output of your pip freeze? This seems to be happening to a small subset of users and we're trying to figure out exactly what the environment has in common in every case.
cc @Anmol6, related to the random hangup issues.

sure, thanks for taking a look @bclavie
aiohttp==3.9.1 aiosignal==1.3.1 aiostream==0.4.4 anyio==4.2.0 asgiref==3.5.2 asttokens==2.4.1 async-timeout==4.0.3 attrs==23.2.0 bitarray==2.9.2 blinker==1.7.0 bytecode==0.15.1 catalogue==2.0.10 cattrs==23.2.3 certifi==2023.11.17 charset-normalizer==2.1.1 click==8.1.7 cloudpickle==2.0.0 colbert-ai==0.2.18 commonmark==0.9.1 dataclasses-json==0.6.4 datasets==2.16.1 ddsketch==2.0.4 ddtrace==1.5.2 decorator==5.1.1 Deprecated==1.2.14 dill==0.3.7 dirtyjson==1.0.8 distro==1.9.0 envier==0.5.0 exceptiongroup==1.2.0 executing==2.0.1 faiss-gpu==1.7.2 fastapi==0.88.0 fastprogress==1.0.0 filelock==3.13.1 Flask==3.0.2 frozenlist==1.4.1 fsspec==2023.10.0 git-python==1.0.3 gitdb==4.0.11 GitPython==3.1.41 greenlet==3.0.3 grpclib==0.4.3 h11==0.14.0 h2==4.1.0 hpack==4.0.0 httpcore==1.0.2 httpx==0.26.0 huggingface-hub==0.20.3 hyperframe==6.0.1 idna==3.6 importlib-metadata==4.8.1 ipython==8.18.1 itsdangerous==2.1.2 jedi==0.19.1 Jinja2==3.1.3 joblib==1.3.2 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 langchain==0.1.5 langchain-community==0.0.18 langchain-core==0.1.19 langsmith==0.0.87 llama-index==0.9.45 MarkupSafe==2.1.5 marshmallow==3.20.2 matplotlib-inline==0.1.6 modal==0.56.4909 mpmath==1.3.0 multidict==6.0.4 multiprocess==0.70.15 mypy-extensions==1.0.0 nest-asyncio==1.6.0 networkx==3.2.1 ninja==1.11.1.1 nltk==3.8.1 numpy==1.26.3 nvidia-cublas-cu12==12.1.3.1 nvidia-cuda-cupti-cu12==12.1.105 nvidia-cuda-nvrtc-cu12==12.1.105 nvidia-cuda-runtime-cu12==12.1.105 nvidia-cudnn-cu12==8.9.2.26 nvidia-cufft-cu12==11.0.2.54 nvidia-curand-cu12==10.3.2.106 nvidia-cusolver-cu12==11.4.5.107 nvidia-cusparse-cu12==12.1.0.106 nvidia-nccl-cu12==2.19.3 nvidia-nvjitlink-cu12==12.3.101 nvidia-nvtx-cu12==12.1.105 onnx==1.15.0 openai==1.11.1 packaging==23.2 pandas==2.2.0 parso==0.8.3 pexpect==4.9.0 pillow==10.2.0 prompt-toolkit==3.0.43 protobuf==4.25.2 ptyprocess==0.7.0 pure-eval==0.2.2 pyarrow==15.0.0 pyarrow-hotfix==0.6 pydantic==1.10.13 Pygments==2.17.2 python-dateutil==2.8.2 python-dotenv==1.0.1 python-multipart==0.0.6 pytz==2024.1 PyYAML==6.0.1 RAGatouille==0.0.6b5 referencing==0.32.1 regex==2023.12.25 requests==2.31.0 rich==12.3.0 rpds-py==0.17.1 ruff==0.1.15 safetensors==0.4.2 scikit-learn==1.4.0 scipy==1.12.0 sentence-transformers==2.3.1 sentencepiece==0.1.99 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 SQLAlchemy==2.0.25 srsly==2.4.8 stack-data==0.6.3 starlette==0.22.0 sympy==1.12 tblib==1.7.0 tenacity==8.2.3 threadpoolctl==3.2.0 tiktoken==0.5.2 tokenizers==0.15.1 toml==0.10.2 torch==2.2.0 tqdm==4.66.1 traitlets==5.14.1 transformers==4.37.2 triton==2.2.0 typeguard==4.1.5 typer==0.6.1 types-certifi==2021.10.8.3 types-toml==0.10.4 typing-inspect==0.9.0 typing_extensions==4.9.0 tzdata==2023.4 ujson==5.9.0 urllib3==2.2.0 voyager==2.0.2 wcwidth==0.2.13 Werkzeug==3.0.1 wrapt==1.16.0 xmltodict==0.13.0 xxhash==3.4.1 yarl==1.9.4 zipp==3.17.0
also getting an issue now with it hanging on CPU (with separate dependencies to above in a separate project, locally on my Mac vs deployed on docker) deps for this also below:
`
aiohttp==3.9.1
aiosignal==1.3.1
alembic==1.13.1
annotated-types==0.6.0
anyio==4.2.0
async-timeout==4.0.3
attrs==23.2.0
backoff==2.2.1
bitarray==2.9.2
blinker==1.7.0
catalogue==2.0.10
certifi==2024.2.2
charset-normalizer==3.3.2
click==8.1.7
colbert-ai==0.2.18
colorlog==6.8.2
dataclasses-json==0.6.4
datasets==2.14.7
Deprecated==1.2.14
dill==0.3.7
dirtyjson==1.0.8
distro==1.9.0
dspy-ai @ git+https://github.com/stephenbyrne99/dspy.git@c189f3bd317dffece4598ef5749bb58208e22f86
exceptiongroup==1.2.0
faiss-cpu==1.7.4
filelock==3.13.1
Flask==3.0.2
frozenlist==1.4.1
fsspec==2023.10.0
git-python==1.0.3
gitdb==4.0.11
GitPython==3.1.41
greenlet==3.0.3
h11==0.14.0
html2text==2020.1.16
httpcore==1.0.2
httpx==0.26.0
huggingface-hub==0.20.3
idna==3.6
itsdangerous==2.1.2
Jinja2==3.1.3
joblib==1.3.2
jsonpatch==1.33
jsonpointer==2.4
langchain==0.1.5
langchain-community==0.0.18
langchain-core==0.1.19
langsmith==0.0.87
llama-hub==0.0.78
llama-index==0.9.45
Mako==1.3.2
MarkupSafe==2.1.5
marshmallow==3.20.2
mpmath==1.3.0
multidict==6.0.5
multiprocess==0.70.15
mypy-extensions==1.0.0
nest-asyncio==1.6.0
networkx==3.2.1
ninja==1.11.1.1
nltk==3.8.1
numpy==1.26.4
onnx==1.15.0
openai==1.11.1
optuna==3.4.0
packaging==23.2
pandas==2.1.4
pillow==10.2.0
protobuf==4.25.2
psutil==5.9.8
pyaml==23.12.0
pyarrow==15.0.0
pyarrow-hotfix==0.6
pydantic==2.6.1
pydantic_core==2.16.2
python-dateutil==2.8.2
python-dotenv==1.0.1
pytz==2024.1
PyYAML==6.0.1
RAGatouille==0.0.6b5
regex==2023.10.3
requests==2.31.0
retrying==1.3.4
ruff==0.1.15
safetensors==0.4.2
scikit-learn==1.4.0
scipy==1.12.0
sentence-transformers==2.3.1
sentencepiece==0.1.99
six==1.16.0
smmap==5.0.1
sniffio==1.3.0
SQLAlchemy==2.0.25
srsly==2.4.8
sympy==1.12
tenacity==8.2.3
threadpoolctl==3.2.0
tiktoken==0.5.2
tokenizers==0.15.1
torch==2.2.0
tqdm==4.66.1
transformers==4.37.2
typing-inspect==0.9.0
typing_extensions==4.9.0
tzdata==2023.4
ujson==5.8.0
urllib3==2.2.0
voyager==2.0.2
Werkzeug==3.0.1
wrapt==1.16.0
xxhash==3.4.1
yarl==1.9.4
`

I am also running into this problem.  I have tried this on several machines on vast.ai and am just following the first example.
Code I am running to produce the result:
`
from ragatouille import RAGPretrainedModel
RAG = RAGPretrainedModel.from_pretrained("colbert-ir/colbertv2.0", index_root="./index")
full_document = get_wikipedia_page("Hayao_Miyazaki")
RAG.index(
collection=[full_document],
document_ids=['miyazaki'],
document_metadatas=[{"entity": "person", "source": "wikipedia"}],
index_name="Miyazaki",
max_document_length=180,
split_documents=True
)
`
And the output is...
`[Feb 09, 07:33:42] #> Creating directory ./index/colbert/indexes/Miyazaki
[Feb 09, 07:33:43] [0] 		 #> Encoding 81 passages..
[Feb 09, 07:33:45] [0] 		 avg_doclen_est = 129.82716369628906 	 len(local_sample) = 81
[Feb 09, 07:33:45] [0] 		 Creating 1,024 partitions.
[Feb 09, 07:33:45] [0] 		 Estimated 10,516 embeddings.
[Feb 09, 07:33:45] [0] 		 #> Saving the indexing plan to ./index/colbert/indexes/Miyazaki/plan.json ..
`
At this point it will just hang as long as I leave it.
Here is my pip freeze
aiohttp==3.9.1
aiosignal==1.3.1
annotated-types==0.6.0
anyio==4.2.0
archspec @ file:///croot/archspec_1697725767277/work
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens @ file:///opt/conda/conda-bld/asttokens_1646925590279/work
astunparse==1.6.3
async-lru==2.0.4
async-timeout==4.0.3
attrs @ file:///croot/attrs_1695717823297/work
Babel==2.14.0
bash_kernel==0.9.3
beautifulsoup4 @ file:///croot/beautifulsoup4-split_1681493039619/work
bitarray==2.9.2
bleach==6.1.0
blinker==1.7.0
boltons @ file:///croot/boltons_1677628692245/work
Brotli @ file:///tmp/abs_ecyw11_7ze/croots/recipe/brotli-split_1659616059936/work
catalogue==2.0.10
certifi @ file:///croot/certifi_1700501669400/work/certifi
cffi @ file:///croot/cffi_1700254295673/work
chardet @ file:///home/builder/ci_310/chardet_1640804867535/work
charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
click @ file:///croot/click_1698129812380/work
colbert-ai==0.2.18
comm==0.2.1
conda @ file:///croot/conda_1696257509808/work
conda-build @ file:///croot/conda-build_1705600620173/work
conda-content-trust @ file:///croot/conda-content-trust_1693490622020/work
conda-libmamba-solver @ file:///croot/conda-libmamba-solver_1691418897561/work/src
conda-package-handling @ file:///croot/conda-package-handling_1690999929514/work
conda_index @ file:///croot/conda-index_1706633791028/work
conda_package_streaming @ file:///croot/conda-package-streaming_1690987966409/work
cryptography @ file:///croot/cryptography_1702070282333/work
dataclasses-json==0.6.4
datasets==2.16.1
debugpy==1.8.0
decorator @ file:///opt/conda/conda-bld/decorator_1643638310831/work
defusedxml==0.7.1
Deprecated==1.2.14
dill==0.3.7
dirtyjson==1.0.8
distro @ file:///croot/distro_1701455004953/work
dnspython==2.5.0
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
executing @ file:///opt/conda/conda-bld/executing_1646925071911/work
expecttest==0.2.1
faiss-gpu==1.7.2
fastjsonschema==2.19.1
filelock @ file:///croot/filelock_1700591183607/work
Flask==3.0.2
fqdn==1.5.1
frozenlist==1.4.1
fsspec==2023.10.0
git-python==1.0.3
gitdb==4.0.11
GitPython==3.1.41
gmpy2 @ file:///tmp/build/80754af9/gmpy2_1645455533097/work
greenlet==3.0.3
h11==0.14.0
httpcore==1.0.2
httpx==0.26.0
huggingface-hub==0.20.3
hypothesis==6.97.3
idna @ file:///croot/idna_1666125576474/work
iniconfig==2.0.0
ipykernel==6.29.0
ipython @ file:///croot/ipython_1704833016303/work
ipywidgets==8.1.1
isoduration==20.11.0
itsdangerous==2.1.2
jedi @ file:///tmp/build/80754af9/jedi_1644315229345/work
Jinja2 @ file:///croot/jinja2_1666908132255/work
joblib==1.3.2
json5==0.9.14
jsonpatch==1.33
jsonpointer==2.1
jsonschema @ file:///croot/jsonschema_1699041609003/work
jsonschema-specifications @ file:///croot/jsonschema-specifications_1699032386549/work
jupyter==1.0.0
jupyter-archive==3.4.0
jupyter-console==6.6.3
jupyter-events==0.9.0
jupyter-http-over-ws==0.0.8
jupyter-lsp==2.2.2
jupyter_client==8.6.0
jupyter_core==5.7.1
jupyter_server==2.12.5
jupyter_server_terminals==0.5.2
jupyterlab==4.0.12
jupyterlab-widgets==3.0.9
jupyterlab_pygments==0.3.0
jupyterlab_server==2.25.2
langchain==0.1.6
langchain-community==0.0.19
langchain-core==0.1.22
langsmith==0.0.87
libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work
libmambapy @ file:///croot/mamba-split_1698782620632/work/libmambapy
llama-index==0.9.46
MarkupSafe @ file:///croot/markupsafe_1704205993651/work
marshmallow==3.20.2
matplotlib-inline @ file:///opt/conda/conda-bld/matplotlib-inline_1662014470464/work
menuinst @ file:///croot/menuinst_1702390294373/work
mistune==3.0.2
mkl-fft @ file:///croot/mkl_fft_1695058164594/work
mkl-random @ file:///croot/mkl_random_1695059800811/work
mkl-service==2.4.0
more-itertools @ file:///croot/more-itertools_1700662129964/work
mpmath @ file:///croot/mpmath_1690848262763/work
multidict==6.0.5
multiprocess==0.70.15
mypy-extensions==1.0.0
nbclient==0.9.0
nbconvert==7.14.2
nbformat==5.9.2
nbzip==0.1.0
nest-asyncio==1.6.0
networkx @ file:///croot/networkx_1690561992265/work
ninja==1.11.1.1
nltk==3.8.1
notebook==7.0.7
notebook_shim==0.2.3
numpy @ file:///croot/numpy_and_numpy_base_1704311704800/work/dist/numpy-1.26.3-cp310-cp310-linux_x86_64.whl#sha256=a281f24b826e51f1c25bdd24960ab44b4bc294c65d81560441ba7fffd8ddd2a7
onnx==1.15.0
openai==1.12.0
optree==0.10.0
overrides==7.7.0
packaging==23.2
pandas==2.2.0
pandocfilters==1.5.1
parso @ file:///opt/conda/conda-bld/parso_1641458642106/work
pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
Pillow @ file:///croot/pillow_1696580024257/work
pkginfo @ file:///croot/pkginfo_1679431160147/work
platformdirs @ file:///croot/platformdirs_1692205439124/work
pluggy==1.4.0
prometheus-client==0.19.0
prompt-toolkit @ file:///croot/prompt-toolkit_1704404351921/work
protobuf==4.25.2
psutil @ file:///opt/conda/conda-bld/psutil_1656431268089/work
ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
pure-eval @ file:///opt/conda/conda-bld/pure_eval_1646925070566/work
pyarrow==15.0.0
pyarrow-hotfix==0.6
pycosat @ file:///croot/pycosat_1696536503704/work
pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work
pydantic==2.6.1
pydantic_core==2.16.2
Pygments @ file:///croot/pygments_1684279966437/work
pyOpenSSL @ file:///croot/pyopenssl_1690223430423/work
PySocks @ file:///home/builder/ci_310/pysocks_1640793678128/work
pytest==8.0.0
python-dateutil==2.8.2
python-dotenv==1.0.1
python-etcd==0.4.5
python-json-logger==2.0.7
pytz @ file:///croot/pytz_1695131579487/work
PyYAML @ file:///croot/pyyaml_1698096049011/work
pyzmq==25.1.2
qtconsole==5.5.1
QtPy==2.4.1
RAGatouille==0.0.6rc1
referencing @ file:///croot/referencing_1699012038513/work
regex==2023.12.25
requests @ file:///croot/requests_1690400202158/work
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rpds-py @ file:///croot/rpds-py_1698945930462/work
ruamel.yaml @ file:///croot/ruamel.yaml_1666304550667/work
ruamel.yaml.clib @ file:///croot/ruamel.yaml.clib_1666302247304/work
ruff==0.1.15
safetensors==0.4.2
scikit-learn==1.4.0
scipy==1.12.0
Send2Trash==1.8.2
sentence-transformers==2.3.1
sentencepiece==0.1.99
six @ file:///tmp/build/80754af9/six_1644875935023/work
smmap==5.0.1
sniffio==1.3.0
sortedcontainers==2.4.0
soupsieve @ file:///croot/soupsieve_1696347547217/work
SQLAlchemy==2.0.25
srsly==2.4.8
stack-data @ file:///opt/conda/conda-bld/stack_data_1646927590127/work
sympy @ file:///croot/sympy_1701397643339/work
tenacity==8.2.3
terminado==0.18.0
threadpoolctl==3.2.0
tiktoken==0.6.0
tinycss2==1.2.1
tokenizers==0.15.1
tomli @ file:///opt/conda/conda-bld/tomli_1657175507142/work
toolz @ file:///croot/toolz_1667464077321/work
torch==2.2.0
torchaudio==2.2.0
torchelastic==0.2.2
torchvision==0.17.0
tornado==6.4
tqdm @ file:///croot/tqdm_1679561862951/work
traitlets @ file:///croot/traitlets_1671143879854/work
transformers==4.37.2
triton==2.2.0
truststore @ file:///croot/truststore_1695244293384/work
types-dataclasses==0.6.6
types-python-dateutil==2.8.19.20240106
typing-inspect==0.9.0
typing_extensions @ file:///croot/typing_extensions_1705599297034/work
tzdata==2023.4
ujson==5.9.0
uri-template==1.3.0
urllib3 @ file:///croot/urllib3_1698257533958/work
voyager==2.0.2
wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
webcolors==1.13
webencodings==0.5.1
websocket-client==1.7.0
Werkzeug==3.0.1
widgetsnbextension==4.0.9
wrapt==1.16.0
xxhash==3.4.1
yarl==1.9.4
zstandard @ file:///croot/zstandard_1677013143055/work

I have the same issue.
Running the indexing example on the README locally on my Mac.
[Feb 09, 10:38:44] [0]           avg_doclen_est = 187.74490356445312     len(local_sample) = 98
[Feb 09, 10:38:44] [0]           Creating 2,048 partitions.
[Feb 09, 10:38:44] [0]           *Estimated* 18,399 embeddings.
[Feb 09, 10:38:44] [0]           #> Saving the indexing plan to .ragatouille/colbert/indexes/my_index/plan.json ..
WARNING clustering 17480 points to 2048 centroids: please provide at least 79872 training points
Clustering 17480 points in 128D to 2048 clusters, redo 1 times, 20 iterations
  Preprocessing in 0.00 s
  Iteration 5 (0.20 s, search 0.19 s): objective=2953.7 imbalance=1.465 nsplit=0

I just switched from python 3.9 to 3.11 and it works for me now.

If anyone else runs into this issue with faiss-gpu (I did on wsl2), ensure you're using the conda install from nightly pytorch (or build from source).

Hello,
I am running into the same issue.
@franperic, switching to Python 3.11 did not help :(
Could you check if you are indeed using faiss-gpu?
@fblissjr, could you elaborate on the install commands you used? I tried using nightly but it still does not work.

(Copy/pasting this message in a few related issues)
Hey guys!
Thanks a lot for bearing with me as I juggle everything and trying to diagnose this. It’s complicated to fix with relatively little time to dedicate to it, as it seems like the dependencies causing issues aren’t the same for everyone, with no clear platform pattern as of yet. Overall, the issues center around the usual suspects of faiss and CUDA.
While because of this I can’t fix the issue with PLAID optimised indices just yet, I’m also noticing that most of the bug reports here are about relatively small collections (100s-to-low-1000s). To lower the barrier to entry as much as possible, #137 is introducing a second index format, which doesn’t actually build an index, but performs an exact search over all documents (as a stepping stone towards #110, which would use an HNSW index to be an in-between compromise between PLAID optimisation and exact search). This approach doesn’t scale, but offers the best possible search accuracy & is still performed in a few hundred milliseconds at most for small collections. Ideally, it’ll also open up the way to shipping lower-dependency versions (#136)
The PR above (#137) is still a work in progress, as it needs CRUD support, tests, documentation, better precision routing (fp32/bfloat16) etc… (and potentially searching only subset of document ids). However, it’s working in a rough state for me locally. If you’d like to give it a try (with the caveat that it might very well break!), please feel free to install the library directly from the feat/full_vectors_indexing branch and adding the following argument to your index() call:
index(…
index_type=“FULL_VECTORS”,
)

Any feedback is appreciated, as always, and thanks again!

Thanks @bclavie for providing this fix. It is effective on my M2 on python 3.9.

Hey all. This should FINALLY be fixed, or at least heavily alleviated, by the new experimental default indexing in 0.0.8, which skips using faiss (does K-means in pure pytorch) as long as you're indexing fewer than ~100k documents! @NohTow @fblissjr @deichrenner @inteoryx @stephenbyrne99.
Thanks again for the help in diagnosing too -- took a while to realise a lot of the unrelated bugs were different flavours of faiss hangups in most cases 🥲

authors: NohTow bclavie deichrenner fblissjr franperic inteoryx stephenbyrne99

repo: bclavie/RAGatouille


text:
Installing yargs globally

Hi, I don't know if this is the right place to ask.
I installed yargs globally but can't use it, I'm new to node, am I doing something wrong?

@jpsala Hey, that's a great question! I think our docs probably take it for granted that users understand what yargs helps them do - which is a poor assumption to make - so we focus on describing how to use yargs rather than describing what yargs is and its main objective.
Description
Let me see if I can answer your question. In short, yargs is not a package intended for global installation. Rather, yargs is a library that helps you build your CLI program that is meant to be installed globally.
When we say "install globally", we really just mean install an npm package that has one or more binary modules that allow it to be run as a CLI program, added to your system's PATH. So it's "global" in the sense that, once it's installed, it can be run from anywhere on your system, just as you would run git or ssh or npm, because they're on the PATH that the system uses to find programs to run when you type a command on the command line.
So getting back to yargs, it's intended to be a dependency that your code require()s to help build your own command line interface, which is typically just accepting arguments and writing stuff to stdout. yargs makes it easy to define what type of arguments your CLI accepts and will build help/usage text for your program on your behalf. It also gives you a simple way to access the arguments to your program, either by name (for "flag" based options) or by index (for "flagless" arguments), all from a simple object called argv.
Example Code
Here's a quick example.
// file name: hello.js
var argv = require('yargs')
  .usage('Usage: $0 [options] <name>')
  .option('t', {
    alias: 'thanks',
    describe: 'Print a "thanks" message too',
    type: 'boolean'
  })
  .help('h').alias('h', 'help')
  .demand(1) // at least one "flagless" argument required for <name>
  .example('$0 Bob', 'Prints: Hello Bob!')
  .example('$0 -t Bob', 'Prints: Hello Bob! Thanks for using yargs!')
  .example('$0 -h', 'Prints this help text')
  .argv // this actually parses the arguments to the program and returns them as an object
var msg = 'Hello ' + argv._[0] + '!' // flagless arguments are put in the argv._ array
if (argv.thanks) msg += ' Thanks for using yargs!' // flag arguments can be referenced by name or alias
console.log(msg)

When we run our program without any arguments, we get help text and an error message because our program requires at least one flagless argument:
$ node hello.js
Usage: hello.js [options] <name>

Options:
  -t, --thanks  Print a "thanks" message too                           [boolean]
  -h, --help    Show help                                              [boolean]

Examples:
  hello.js Bob     Prints: Hello Bob!
  hello.js -t Bob  Prints: Hello Bob! Thanks for using yargs!
  hello.js -h      Prints this help text

Not enough non-option arguments: got 0, need at least 1

When we run it with one flagless argument and no flag options, we get the hello message expected:
$ node hello.js Jon
Hello Jon!

When we run it with one flagless argument and our boolean flag option -t or --thanks, we get the hello message with the additional thanks message:
$ node hello.js -t Jon
Hello Jon! Thanks for using yargs!

Running it with just the -h or --help option, we get the help text:
$ node hello.js --help
Usage: hello.js [options] <name>

Options:
  -t, --thanks  Print a "thanks" message too                           [boolean]
  -h, --help    Show help                                              [boolean]

Examples:
  hello.js Bob     Prints: Hello Bob!
  hello.js -t Bob  Prints: Hello Bob! Thanks for using yargs!
  hello.js -h      Prints this help text

Defining a Global Package
If we want to be able to run our program without explicitly calling node, then we just make our hello.js executable (chmod +x hello.js) and add this to the top:
#!/usr/bin/env node
// javascript code from above goes here

So we can now just run hello.js from the command line:
$ ./hello.js Paul
Hello Paul!

And to round it out, we can add a "bin" section to our package.json file that will allow our package to be installed globally:
{
  "name": "hello",
  "version": "1.0.0",
  "description": "A simple friendly CLI package",
  "main": "index.js",
  "bin": {
    "hello": "hello.js"
  },
  "dependencies": {
    "yargs": "^3.31.0"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [
    "hello"
  ],
  "author": "nexdrew",
  "license": "ISC"
}

Now if we npm install -g this package, npm will add the hello program to our PATH.
$ npm install -g .
/usr/local/bin/hello -> /usr/local/lib/node_modules/hello/hello.js
$ hello jpsala --thanks
Hello jpsala! Thanks for using yargs!

End (Phew!)
Hopefully this helps make some sense of yargs and gets you started on the right path. Let us know if you have any more questions. Good luck! :smiley_cat:

Thank you very much for taking time to answer SO kindly!!!!!!!!!!! and congrats for this peace of helpful software! Good luck to you too

authors: jpsala nexdrew

repo: bcoe/yargs


text:
transition not working on wechat  browser with android

在安卓微信浏览器里没有过渡了，其他浏览器是好的。

试了下在CSS里.islider-outer > li加上transition就可以了。

目前的translation带有webkit前缀，没有做兼容处理，不知道安卓的wechat用的什么内核...... 后面会加上的。

已做兼容处理 2.1.5修复

repo: be-fe/iSlider


text:
In Project 21, The image of the product is not displayed (Image Product-1)

I Have attached this image for refference
Steps to Reproduce:
Go to t https://openfrontendmentor.netlify.app/21-ecommerce-product-page/index.html#.
Scroll down to Project 21.
The image does not load.
Expected Result:
The image should be displayed properly.
Actual Result:
No image is shown, and there is a broken image icon

@beRajeevKumar I would like to work on this issue


text:
Add api for giving incentive to users for hosting content

Examples:

I am a streamer that uses hypercast but I want my audience to host parts of my back catalog so new fans can see old streams. I could give special emoticons or other user incentives to motivate people into hosting part of the content.
I am a video game company and I would reward my users with in-game "vbucks" when they would act as a peer for the website.

This feature would add a section under the scrollbar:

Where you would see the incentives you would get for each step.

Interesting idea. There's currently no way to prove to another user that you're seeding, nor a way to assert how much time you're online. (That's largely what the Filecoin project is trying to solve.) Are there any approximations that we could use?
At some point, we'll have authenticated connections in Dat. You might be able to declare that you're hosting something and authenticate with network, so that the publisher least detect that "Bob is online and willing to serve the content." At that point you could just trust those users; if the rewards are minor, it might not be worth the effort to verify.
It's interesting to think that groups of users could be defined by this. "We are the beakerbrowser.com swarm. We're the people that keep that site online." It's almost like a membership.
cc @mafintosh

@pfrazee
Maybe users could just specify their user account email or name related to their steam account(for games). For streaming if we are using hypercast no account exists but if say the streamer has a patreon he could use the emails or the patron name as a reference. This would transfer the authentication burden on the website developers and not on beaker.
For the accounting of time could just add an event like OnStartSeeding(currentTime) that sends to the seeded website the email of the user and the start time. Then when the user stops seeding we send another call saying seeding as stopped at time x with user y.( This is an oversimplification but it's just to give a broad idea).
I was wondering when beaker detects the number of seeders is their any other information on say where the seed is coming from ?

I really like the seeding function as it is now. It's like couch surfing for the web. And I can easily manage what I'm seeding. (Perhaps add a total of data seeded.)
Incentives just create incentive for people to keep their computers running longer than they would normally. Increasing energy consumption. Don't get me wrong, I spend more time than most on a PC and I'm happy to seed websites for most of my friends. A decent flash drive could seed many websites.
If people get paid for hosting/seeding, some people might host they dont agree with just for the reward.
Now it's like a gift economy. That's awesome!!

Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw
Get Fortnite Free V Bucks Hack Generator here===>>> https://freevbucksgenerators.pw

authors: Mdbadsax1 mundusnine pfrazee roscoevanderboom

repo: beakerbrowser/beaker


text:
Error while reading the drive configuration

Operation System: Fedora 30
Beaker version: #1435 1677c5f9c58aee1aa1cab72ec3398f17d47c9371
Node: 10.15.3 (+ 12.16.1)
NPM: 6.9.0 (+ 6.14.3)
After successfully running npm install and npm run rebuild, npm start will throw the following error, next to #1531:
Error while reading the drive configuration at /drives.json NotFoundError: File not found
error:    Error while reading the drive configuration at /drives.json {"category":"filesystem","error":"NotFoundError: File not found"}

At this point it is not easy to guess how this can be avoided, or how drives.json can be put into place at /.

This is a little confusing, it's actually just debug info for me. Not an error. I'll remove it from the console output.

Removed from stderr

authors: almereyda pfrazee


text:
🛑 File Service (Nextcloud) is down

In 4958087, File Service (Nextcloud) ($MAOW_VERY_SECRET_SITE_4) was down:

HTTP code: 0
Response time: 0 ms

Resolved: File Service (Nextcloud) is back up in 1c19417 after 33 minutes.


text:
Repacked output is missing the last sample/waveform's pointer

I'm using my dumped copy of The Adventures of Jimmy Neutron Boy Genius: Attack of the Twonkies to generate a repacked file for this one, and I am certain this pops up in all of my test repacks as well.
All samples/waveforms are saved, and all but one of the waveforms has a corresponding pointer assigned.

This means that when the waveform bank is unpacked from the repacked output, one waveform is missing (that being the cymbal crash). Attempting to index this missing waveform in my WIP GAX instrument code throws an error.

The output in the image is supposed to display wave #0 up to wave #18, btw

repo: beanieaxolotl/shinen-gax-python


text:
Gui does not start in java 8 (place holder)

Adding this issue on the top of the pile as placeholder and reminder for #4

Java 11+12:
Couldn't start desktop: Sourced file: inline evaluation of: ``desktop();'' : Method Invocation bcm.getClassPath : at Line: 40 : in file: /bsh/commands/makeWorkspace.bsh : bcm .getClassPath ( )
Called from method: desktop : at Line: 1 : in file: inline evaluation of: ``desktop();'' : desktop ( )
Target exception: java.lang.NullPointerException

@JamesOlvertone Tx

Closed with #4 placeholder not required anymore.

authors: JamesOlvertone nickl-

repo: beanshell/beanshell


text:
process.env.BEARCAT_LOGGER关闭是否会导致内存泄漏？

@fantasyni
如果我将process.env.BEARCAT_LOGGER关闭。
并且在项目的log4j.json中不配置bearcat日志项
那么会导致bearcat的日志记录内存泄漏吗？

不会的，都是同一个 pomelo-logger ，不配置就是不配置对应的 category 日志不会输出到对应的 file/console 而已，忽略了

okay,好的。
但是：都是同一个 pomelo-logger 这个可能不正确。
今天刚填了个坑：在pomelo中使用bearcat，如果不关闭bearcat的日志，会导致日志异常。
http://nodejs.netease.com/topic/548d24c3cb93b0031fb1918e

repo: bearcatjs/bearcat


text:
Finding Disparity Range

It's taking me quite a long time to look for the disparity range value to set in the command line to get a smooth disparity output from the code. Is there a good way to figure out what disparity range to set the "--disp" parameter to?

Some datasets specify the disparity range, but if you are working with your own dataset and do not know the value, you will need to test different values! (Maybe there is a way, but I am not aware of it at the moment!)

authors: beaupreda bricksaver

repo: beaupreda/semi-global-matching


text:
User get unlogged when trying to access not found page

Hi !
Thanks again for your work !
I noticed that as soon as I try to access a page that doesn't exists, the cookie get destroyed and therefor the user get disconnected.
Log in -> Cookie inserted -> type <yoursite>/unknownpage -> Cookie is destroyed -> Nuxt error 404 -> click on back to home -> user is now unlogged.
Another behavior with global auth:
Log in -> Cookie inserted -> type <yoursite>/unknownpage -> Redirect to /login page (even tho we're still supposed to be logged in) -> type user + password + submit form -> Nuxt error 404 -> Back to home -> still unlogged

Is it supposed to happen ?

@Vincent-HD are you using Directus 10.10?

Not currently, it's actually pretty outdated, but it shouldn't affect auth right ?

@Vincent-HD are you using Directus 10.10?

Not currently, it's actually pretty outdated, but it shouldn't affect auth right ?

10.10 introduces some breaking auth changes so I was wondering if that could have been it.
I'm not sure of the minimum required Directus version needed for this, but I know the SDK got a significant update a few versions ago. I'll let @becem-gharbi speak on that.

10.10 introduces some breaking auth changes so I was wondering if that could have been it.
I'm not sure of the minimum required Directus version needed for this, but I know the SDK got a significant update a few versions ago. I'll let @becem-gharbi speak on that.
But I have had this issue on local host as well. Once I put everything on the same domain, cookies acted normally.

Yes I also had problem with cookies, like after refresh I was losing the cookie, but now it works as intended, it's been in production for two month, but I still have this problem when trying to access unknown pages so I'm not sure it's related on cookies security policies

I also just noticed that when using global auth, between the logged in step (the one that's not supposed to happen), the whole page get stuck (can't even scroll) few seconds before being redirected to the Nuxt's error page

Hi, thanks for this issue,
The problem occurs on ssr. First nuxt runs the auth plugin to refresh the access token when the user is logged in. This results in refresh token being passed to the ssr response via a cookie. The when nuxt discovers that the page does not exists it renders the error page. The problem is that the plugin re-runs and performs the refresh logic on the first refresh token sent by the original request and not on the second one on the ssr response.
The solution can be to skip the refresh logic on server-side if an error is thrown. Or maybe to solve the issue on nuxt core.

authors: BlackDahlia313 Vincent-HD becem-gharbi

repo: becem-gharbi/nuxt-directus


text:
Add timeUs32() and timeUs64()

Return time since the microcontroller was turned on in microseconds (32bit or 64bit format)

I canceled the repo and redone the fork, I hope it is now cleaner

Second commit, a simple example of timeUs32()

Thanks!


text:
enums break if they don't end with a comma

@julfers

Nice, thanks for the quick solutions.  ^_^

repo: beefsack/GDScript-sublime


text:
Add Zap functionality for MMF

Currently shows "Failed to estimate swap." when testing locally

Currently shows "Failed to estimate swap."

you say like it will fix itself over time. no, zap contract is not working.
im surprised you didn't bother to test it even once.

authors: pumpingGhost roman-monk


text:
As I new user (no active project selected) I get error in search recipe

As I new user (no active project selected) I get error in search recipe.
The use can be reproduce cleaning the localstorage.
When opening the search recipe and error shows and breaks the app.
Error:
SingleSearchRecipe.jsx:112 Uncaught TypeError: Cannot read property 'id' of null
at SingleSearchRecipe.saveBookmarksToLocalStorage
This is due to not checking  if there is an activeProject already there.

@jblom Solved in branch
task/#187-bug-when-no-active-project-present

repo: beeldengeluid/labo-components


text:
🛑 API Docs is down

In c402d0d, API Docs (http://tms.vko-kmt.ru:8080/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API Docs is back up in 66a583c.

repo: beglov/upptime


text:
Multiple instances of VSCode fails

Hi,
I had two instances of VSCode opened up and I noticed that only on one of them formatting with csharpier got executed correctly. The second one outputs:
...
["DEBUG" - 13:35:33] Unable to find dotnet-tools.json, falling back to running dotnet csharpier --version
["DEBUG" - 13:35:35] dotnet csharpier --version output 0.21.0
["DEBUG" - 13:35:36] dotnet csharpier --version output: 0.21.0
["ERROR" - 13:35:38] ,,Tool 'csharpier' is already installed.
["DEBUG" - 13:35:38] returning NullCSharpierProcess because of the previous error when trying to set up a csharpier process
["INFO" - 13:35:38] Formatted in 4514.589999999851ms
["DEBUG" - 13:35:38] result is empty

I believe this is particularly because of the Tool 'csharpier' is already installed. as it somehow fails to reuse/recreate the process? By the way I do not install csharpier locally, but I have 0.21.0 installed globally with dotnet tool.

I haven't been able to recreate this, but it sounds like they were both trying to install csharpier at the same time, and the second one got an error because the first instance installed it. I'm guessing if you close out VSCode and reopen it, things will be working.
I believe it should be possible to handle this condition by looking for that specific error.

Hmm, very strange, I opened up a single instance today and noticed that it wasn't formatting, this time the full output:
["INFO" - 15:10:51] Initializing csharpier-vscode
["INFO" - 15:11:47] Formatting started for c:\repos\CodeStandard-Secret\MyClassLib\Class1.cs.
["DEBUG" - 15:11:47] Ensure there is a csharpier process for c:\repos\CodeStandard-Secret\MyClassLib
["DEBUG" - 15:11:47] Looking for c:\repos\CodeStandard-Secret\MyClassLib/*.csproj
["DEBUG" - 15:11:47] Looking at c:\repos\CodeStandard-Secret\MyClassLib\MyClassLib.csproj
["DEBUG" - 15:11:47] Looking for c:\repos\CodeStandard-Secret\MyClassLib\.config\dotnet-tools.json
["DEBUG" - 15:11:47] Looking for c:\repos\CodeStandard-Secret/*.csproj
["DEBUG" - 15:11:47] Looking for c:\repos\CodeStandard-Secret\.config\dotnet-tools.json
["DEBUG" - 15:11:47] Looking for c:\repos/*.csproj
["DEBUG" - 15:11:47] Looking for c:\repos\.config\dotnet-tools.json
["DEBUG" - 15:11:47] Looking for c:\/*.csproj
["DEBUG" - 15:11:47] Looking for c:\.config\dotnet-tools.json
["DEBUG" - 15:11:47] Unable to find dotnet-tools.json, falling back to running dotnet csharpier --version
["DEBUG" - 15:11:49] dotnet csharpier --version output 0.21.0

["WARN" - 15:11:50] Exception while running 'dotnet csharpier --version' in C:\Users\MY_USER\AppData\Local\CSharpier\0.21.0
"A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\\Program Files\\dotnet\\'.\r\nFailed to run as a self-contained app.\r\n  - The application was run as a self-contained app because 'C:\\Users\\MY_USER\\AppData\\Local\\CSharpier\\0.21.0\\.store\\csharpier\\0.21.0\\csharpier\\0.21.0\\tools\\net7.0\\any\\dotnet-csharpier.runtimeconfig.json' was not found.\r\n  - If this should be a framework-dependent app, add the 'C:\\Users\\MY_USER\\AppData\\Local\\CSharpier\\0.21.0\\.store\\csharpier\\0.21.0\\csharpier\\0.21.0\\tools\\net7.0\\any\\dotnet-csharpier.runtimeconfig.json' file and specify the appropriate framework.\r\n"
["ERROR" - 15:11:51] ,,Tool 'csharpier' is already installed.

["DEBUG" - 15:11:51] returning NullCSharpierProcess because of the previous error when trying to set up a csharpier process
["INFO" - 15:11:51] Formatted in 3634.2987999999896ms
["DEBUG" - 15:11:51] result is empty

Not sure about the warning, but the error is the same.
Manually going to C:\Users\MY_USER\AppData\Local\CSharpier\0.21.0 and executing dotnet-csharpier --version displays 0.21.0 as expected.
So maybe this is not related to two instances, but rather something else

After waiting for a bit, one instance scenario is randomly now fixed, however I'm back to the same scenario with 2 instances running (one works ok, one fails). If I try to restart the bad instance with the good one still running, it does not help. If I exit the good instance, the bad one still fails. If I exit both instances and then start a new single instance, it works.
Not sure what is going on. I'm on windows by the way.

Sorry for the delay - I'm able to reproduce this consistently now. It appears that the second instance of VSCode somehow corrupts the install of csharpier, which then leaves it in a non-working state for the second instance. The first instance continues to work because it has csharpier already running in the background. If you close out all instances, the first instances started is able to recover from the corrupted install.
I haven't had time to look into exactly why that happens, but I should have time in the next couple of days to get a fix out.

This is fixed in version 1.3.6 of the extension, it should be available shortly.

Much thanks!

authors: BenasB belav

repo: belav/csharpier


text:
Подключение плагина к PostCSS

Расскажите пожалуйста, как подключить пакет для PostCSS на примере Lost (вариант, установить bem-grid не предлагать).
Насколько мне известно, PostCSS уже включен в последний пакет enb-stylus.
Используется  enb сборщик, и yo bem stub как стартовый пакет.
Хочу получить возможность использовать LostGrid в .styl, например:
.header {
    lost-column: 2;
}

//cc @awinogradov

@vlastv https://github.com/awinogradov/enb-postcss

А чем https://github.com/bem-incubator/bem-grid не подошел?

@voischev я взял lost для примера, возможно мне нужны и другие плагины для postcss и хотелось понимать как их устанавливать.

В enb-stylus теперь тоже postcss подключен. Но, кажется, там нет API для подключения плагинов.
сс @blond

Да, в enb-stylus внутри используется postcss, но наружу нет никакой возможности подключить плагины, кроме как через поделку новых опций.
Считаете, что нужно подумать над таким API?

Именно из-за того, что внутри используется PostCSS я и решил, что могу пользоваться плагинами. А оказалось, что не видно "снаружи", по этому и появился данный топик.

@awinogradov ваш вариант имеет конфликт
Error: Concurrent techs for target: index.css, techs: "stylus" vs "enb-postcss"

// .enb/make.js
    config.nodes('*desktop.bundles/*', function (nodeConfig) {
        nodeConfig.addTechs([
            // essential
            [enbBemTechs.levels, {
                levels: [
                    { path: 'libs/bem-core/common.blocks', check: false },
                    { path: 'libs/bem-core/desktop.blocks', check: false },
                    { path: 'libs/bem-components/common.blocks', check: false },
                    { path: 'libs/bem-components/desktop.blocks', check: false },
                    'common.blocks',
                    'desktop.blocks'
                ]
            }],
            // css
            [require('enb-stylus/techs/stylus'), {
                target: '?.css',
                autoprefixer: {
                    browsers: ['ie >= 10', 'last 2 versions', 'opera 12.1', '> 2%']
                }
            }],
            // postcss
            [require('enb-postcss/techs/enb-postcss'), {
                sourcemap : true,
                plugins : [require('lost')()]
            }],
        ]);
    });

@vlastv и enb-stylus, и enb-postcss принимают на вход fileList, а в данном случае необходимо, чтобы результат работы enb-stylus (бандл) был обработан postCSS.
Вот пример того, что подойдет, пока не появится возможность подключать плагины прямо в enb-stylus: https://github.com/tadatuta/enb-bundle-postcss

tadatuta  а есть ли в enb-stylus возможность прокинуть не валидный код в бандл?  Для дальнейшей обработки enb-bundle-postcss'ом?
Например такой код:
@define-mixin icon $name {
padding-left: 16px;
&::after {
content: "";
background-url: url(/icons/$(name).png);
}
}
.search {
@mixin icon search;
}
Сломает сборку, а нужно чтобы он пробросился в бандл и обработался postCSS'ом.

@campykid Нет. Можно поставить postCSS перед Stylus либо писать код, предназначенный только для postCSS в файлах с расширением css, они (вроде) будут переданы дальше без измеений.
Но @ai обещает в обозримом будущем sugarSS, тогда в Stylus в принципе нужда отпадет.

authors: Guria awinogradov blond campykid tadatuta vlastv voischev

repo: bem/bem-forum-content-ru


text:
how to limit recursive children bean's depth, please help~

the bean like this:
public class Data {
    private List<Data> datas;
    //...
}

You can use a combination of objectPoolSize and randomizationDepth parameters in order to avoid recursion in data structures like these.

Thanks for your response. In fact, I've read the doc and tried that, but failed, I'll try it again, check if I miss sth. @benas

I'm closing this ticket as I think there is no issue, a combination of objectPoolSize and randomizationDepth parameters should do it.
@live106 if you still struggle to implement what you want, feel free to add a comment here.

repo: benas/random-beans


text:
Changing imports for flex-layout and paper-style

I'm purposing this pull request because:

The element is importing iron-flex-layout-classes while it is not using the classes at all. However, it is using iron-flex-vars, so I included iron-flex-layout instead.
The element is importing paper-styles but it only uses some styling definitions from the typography module. The paper-styles import is also importing a deprecated iron-flex-classes that are causing warnings in the console (see issue PolymerElements/paper-styles#105). By importing the specific styling modules, those warnings can be circumvented.

I tested the changes and everything seems still displayed correctly.

This pull request is similar to bendavis78/paper-date-picker#106.

I had to revert this merge -- the element does in fact require iron-flex-layout-classes.


text:
Update tsc check to read from config if present

See Microsoft/TypeScript#5858, fixes #200. Thanks to @HerringtonDarkholme for doing all the work.

I do appreciate your effort,but, sadly, this pr will probably be closed.
By default neomake pass filename to tsc, while tsc ignore all settings when filename is passed as argument. On the other hand, tsc does need a config file to compute the root of project to resolve modules.
tsc isn't a good candidate for neomake to use. Maybe you could still contribute to this project by removing tsc from default makers, if sufficient deprecation notes have been told to users.
For more discussion, please refer to https://github.com/benekastah/neomake/issues/200#issuecomment-164345422

Agree - since making this PR I started using tsuquyomi.
For googlers: if tsuquyomi is hanging/freezing on save, check to see if you have gitgutter installed. If you do, disable it and check tsuquyomi. For me, tsuquyomi was freezing when gitgutter was installed. I replaced it with https://github.com/sgur/vim-lazygutter

authors: HerringtonDarkholme faceleg

repo: benekastah/neomake


text:
Use of British English in library

I love this library very much, but one thing that bothers me is the use of British English in the code, while American English is standardized in coding.
For example, the word colour is used, instead of the American English color:
colourMap = {},

Another example, where inconsistency between the two occurs:
// compute the center of some circles by maximizing the margin of
// the center point relative to the circles (interior) after subtracting
// nearby circles (exterior)
function computeTextCentre(interior, exterior) {}

If HTML, CSS, JavaScript, and basically every other language use American English, then why does this library not follow that standard?
I understand changing this would possibly introduce compatibility issues, but the longer you wait the worse the impact will be.

I'm actually using Canadian English spelling -  in British English function names like normalizeSolution would be  normaliseSolution instead. Having said that, Canadian English isn't exactly well known and I can understand how you might have gotten it confused =)
I agree about being consistent with CSS and HTML for the public API though - it could be a source of friction for most people using this library. I'm on vacation until September, I'll see about adding support for Americans when I get back.

I apologize for getting Canadian English and British English mixed up. I'm not a native English speaker myself. I personally prefer British English over American English on most occasions, however, I feel that - in programming - American English should always be used, for standardization purposes, obviously.
Anyway, thanks for getting back to me. Enjoy your vacation.

in my fork at https://github.com/upsetjs/venn.js. I added support for both: https://github.com/upsetjs/venn.js/blob/eb3e1c2c6a227a485af79a932db056f867e2e3b7/src/index.d.ts#L170-L175

authors: JelleBlaauw benfred sgratzl


text:
Firefox shadow bug

In your example circles with shadow are not visible (the 4th chart)
I'm using FireFox v47
With Chromium everything is good.
Weird thing is that no error is shown in console.

Hmm - this definitely used to work in firefox, but doesn't seem to now.  Removing the          areas.attr("filter", "url(#dropshadow)"); line makes it show up again

Last commit should fix - Thanks for pointing this out!

authors: benfred missingdays


text:
Styled Components

Is it possible to use styled components to style components?

@ribeiroevandro did you tried? Are you having any issue?
I'm closing this issue once it's a conversation, not an issue, ok?

authors: benhurott ribeiroevandro

repo: benhurott/react-native-masked-text


text:
Add six.open()?

Originally reported by: Barry Warsaw (Bitbucket: warsaw, GitHub: warsaw)

If you want to open a text file in a particular encoding in a bilingual way, you need to use codecs.open() because Python 2's built-in open() doesn't take an encoding.  It would be kind of nice if six provided an open() that bridged that particular difference.  It would call built-in open in Python 3 and codecs.open() in Python 2.

Bitbucket: https://bitbucket.org/gutworth/six/issue/117

I would argue for WONTFIX here, because people should be in my opinion encouraged to use io.open.

I  would suggest adding the encouragement to use io.open to the six documentation.   It is currently the best guide to 2/3 compatibility.  There is a lot of conflicting advice out there.

authors: benjaminp diekhans mcepl

repo: benjaminp/six


text:
Lock file not compatible with the current version of Poetry.

From the following GitHub Actions job: (https://github.com/benjaminwoods/derek/actions/runs/7232234542/job/19706216196, #70)
Run poetry install
Creating virtualenv derek-py-s[7](https://github.com/benjaminwoods/derek/actions/runs/7232234542/job/19706216196?pr=70#step:6:8)Ijf0qn-py3.6 in /home/runner/.cache/pypoetry/virtualenvs

  RuntimeError

  The lock file is not compatible with the current version of Poetry.
  Upgrade Poetry to be able to read the lock file or, alternatively, regenerate the lock file with the `poetry lock` command.

  at /opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/poetry/packages/locker.py:4[8](https://github.com/benjaminwoods/derek/actions/runs/7232234542/job/19706216196?pr=70#step:6:9)2 in _get_lock_data
      478│                 "regenerate the lock file with the `poetry lock` command."
      47[9](https://github.com/benjaminwoods/derek/actions/runs/7232234542/job/19706216196?pr=70#step:6:10)│             )
      480│         elif not lock_version_allowed:
      481│             raise RuntimeError(
    → 482│                 "The lock file is not compatible with the current version of Poetry.\n"
      483│                 "Upgrade Poetry to be able to read the lock file or, alternatively, "
      484│                 "regenerate the lock file with the `poetry lock` command."
      485│             )
      486│
Error: Process completed with exit code 1.

Okay. The currnet lock file is generated by Poetry 1.7.1.
The problem here can be summarized as follows:

This project supports Python >=3.6,<3.10.
Poetry 1.7.1 is for Python >=3.8.

So, in the Python 3.6 job, we install a compatible version of Poetry, which is <1.7 (in this case, it appears to have been 1.1.15).

I don't like Option 3, because it shreds the lockfile every time. That's the same as just not having a lock file. This then screws with environments.
Option 1 is fine, but removes version support. Users in the Python community can be a bit slow to update their version of Python -- it's best to avoid removing version support where possible.
So, I think Option 2 is the best way to go. Recommended changes:

update dev documentation to state that Poetry version needs to be 1.1.15 for this to work (therefore, probably best to use a local venv with poetry in it, a la pipx) -- do this separately
rebuild lockfile using Poetry 1.1.15 + fix the version in CI (poetry<1.2).

repo: benjaminwoods/derek


text:
Fix the check for appspec.yml

Fixes the issue with check for appspec.yml

Previously, it would return true if any file other than appspec.ymlexists as we are using the inverse argument.
Now, it would return true only when appspec.yml is not found in the tar zip

You're right, thanks @vikasperi !


text:
InputRules should ignore escaped $ symbols

I write many more LaTeX equations than dollar amounts, but I recognize that I am in the minority.  For accessibility, prosemirror-math should have a standard (but configurable) way of escaping $ characters.
At the moment, the default inline input rule uses a negative-lookbehind regex to avoid inserting math nodes, but this has a few limitations:

Negative lookbehinds are currently only supported in new-ish versions of Chrome and FireFox
Sometimes, the input rules will accidentally latch on to a $ symbol in a distant node and assume the user wants to create a math block.

Solutions to consider:

Modify ProseMirror's InputRule implementation to support escape sequences before a matched string
By default, prosemirror-math should assume all $'s are math-related, unless the user explicitly indicates otherwise.  For example, any of the following actions should create an escaped $

use a backslash \$ to escape math
or put a space after the dollar sign $  to escape math (automaticaly remove the space)

Related to #2 .

Lookbehind now supports in most browsers: https://caniuse.com/js-regexp-lookbehind (93%+ of all users).
I think, you can update readme section https://github.com/benrbray/prosemirror-math?tab=readme-ov-file#input-rules for use REGEX_INLINE_MATH_DOLLARS_ESCAPED or add link to this issue.

authors: Kroid benrbray

repo: benrbray/prosemirror-math


text:
🐛 Cannot link Github account

I tried to add a Github Workplace but I got everytime a 400 error.
Here it is from the log:
{
  "status": 400,
  "headers": {
    "content-length": "240",
    "content-type": "application/json; charset=utf-8",
    "x-github-media-type": "github.v3; format=json",
    "x-github-request-id": "2D2A:61C9:58C4D76:59DA6B8:643BCCE9",
    "x-ratelimit-limit": "60",
    "x-ratelimit-remaining": "52",
    "x-ratelimit-reset": "1681644047",
    "x-ratelimit-resource": "core",
    "x-ratelimit-used": "8"
  },
  "body": {
    "message": "Must specify access token via Authorization header. https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param",
    "documentation_url": "https://docs.github.com/v3/#oauth2-token-sent-in-a-header"
  }
}

The app correctly asked Github to issue an token beforehand, it looks like it is not using it however.

StackEdit plus has fixed this bug.

Should be fixed with v5.15.0.

@benweet Can't login to Github on Librewolf (Firefox fork). I'm getting redirected to https://stackedit.io/oauth2/callback?code=CODE&state=STATE 200 code but it's blank page and nothing happens.
Workaround:
Login in chromium and copy data/tokens from local storage

authors: AdrKacz benweet mafgwo omnigenous

repo: benweet/stackedit


text:
Disable MathJax when output panel is hidden

I was recently editing a math-heavy document. Since the output panel re-renders the whole document after each edit, the math processing eventually slowed things down to a crawl. I expected that hiding the output panel would disable math processing and allow me to edit at normal speed, but it looks like math is still being processed when the output panel is hidden.

Closing as too old.

authors: benweet fgdorais


text:
Saved Train Modules

Building upon the popular new feature to save trains created with the attachment editor to savedTrainProperties.yml, I propose a system I call savedTrainModules, a paradigm for managing multiple hot-reloadable SavedTrainPropertiesStores. This allows for saved trains to be easily shared across servers (useful for those managing multi-server networks) and easily edited in text editors, as well as easily compartmentalizing saved trains into logical collections, or modules.
Usage
On startup, a new folder is created in the plugin's data folder, savedTrainModules. To save a train to this folder instead of the default savedTrainProperties.yml, run the command /train save <name> <module>. This will save your selected train to savedTrainModules/<module>.yml (and it will create the module if it does not exist). If you wish to reload modules from the disk (in the case of editing or adding additional modules), run /train reloadsavedtrains.
There is no need to specify the module name when spawning a saved train, however there is currently no build in way to deal with name collision--when locating a saved train, TrainCarts will search each loaded module in an arbitrary order, before searching savedTrainProperties.yml.
This might be a good condition to address in the future
Implementation
This was accomplished by giving a SavedTrainPropertiesStore its own map of module names to SavedTrainPropertiesStores (Map<String, SavedTrainPropertiesStore>). Loaded modules are not authorized to load their own modules.
I did not implement upgradeSavedTrains to upgrade the trains in loaded modules, so it's best to only use this feature with trains created on 1.12.2-v3 and later.

Theres a few minor issues I have with it, but I can fix those myself

authors: RyanHecht bergerkiller

repo: bergerhealer/TrainCarts


text:
Updating test_affine.py.

Just updated the tests for the real data. Still left it commented out for Travis CI.

awesome! merged! we will connect all pieces tomorrow night!

authors: Zubair-Marediya dpzhang


text:
🛑 SIDAP is down

In 1aaf3b1, SIDAP (http://uladap.adm.ula.ve/sidap/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SIDAP is back up in 9c0b6b4 after 39 minutes.

repo: berlinserver/estatus


text:
Bug: some values are not converted correctly

Added some of the columns to the example.vcf for debugging

The issue is that the header logic appears to not look for info fields in all rows, resulting in the omission of some fields such as "OriginalAlleles" and "SwappedAlleles" in the bug-affected rows.
The solution here should be to extract the INFO from the header columns ("##INFO") rather than the INFO itself, and then use this to compose the columns.

It is possible that the Header does not contain all of the information field values. Thus, the script must still go through all of the entries to find all possible values for the info variables.

repo: berntpopp/vcf-converter


text:
Improving design & subreddit additions

- Added proper spaces in UI
- Changed font family of tags element for a more nicer look
- Added following subreddits :+1:

firefox
netsec
privacy
privacytoolsIO
security

As always you can preview the changes at :
https://refined-github-html-preview.kidonng.workers.dev/fynks/bestreddit.github.io/raw/master/index.html

As always you can preview the changes at :
https://refined-github-html-preview.kidonng.workers.dev/fynks/bestreddit.github.io/raw/master/index.html

Looks Perfect dude :D
Thank you so much 💓
PR accepted !!!

Looks Perfect dude :D
Thank you so much 💓
PR accepted !!!

authors: Tibinsunny fynks


text:
upgrade to pagy 6

or maybe just unrestrict gem version constraint

done in 5b9c9ee1f90215473e85503cae3171fbcd1561e2

repo: betagouv/dsfr-view-components


text:
Meta tags

Surtout pour publicodes et l'écran de fin, mais aussi les autres pages du bas de page.
Voir ça https://github.com/laem/blog/commit/db24603428ad44fe461174dc096af490574fe108
et https://github.com/laem/blog/commit/1400b8eb654cf4fdaed80986d98cbcd97ec89f55

Aussi, s'occuper du sitemap, le mettre à jour pour google

repo: betagouv/ecolab-climat


text:
NextJS (Server- & ClientSide request for session)

sign-up, sign-in, and then open page:
(left side is server-side rendered, right side client-side)

sorry my fault,...  i have to use auth.api.getSession({...}). sorry.

repo: better-auth/better-auth


text:
Current design does not support retail price change of product

Current design does not support retail price change of product
Since the discount amount / discount price etc is calculated from the retail price in product definition, so it will not capture the actual discount at the exact time of the sales order creation.
Need to change the design to make it capture a snapshot of what's the retail price and what's the actual price in sales order line.

Written by @xqliu
Created at 2016-02-05T19:39:25.000+0800
Link to http://betterlife.atlassian.net/browse/BE-169

Actually it supports
use UNIT_PRICE in both purchase order and sales order to capture the actual price used in the specify order.

Written by @xqliu
Created at 2016-02-21T21:40:10.980+0800

repo: betterlife/psi


text:
🛑 Betül Aksoy Psikoloji is down

In 3bf5e8d, Betül Aksoy Psikoloji (https://betulaksoypsikoloji.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Betül Aksoy Psikoloji is back up in 4c0bfd2 after 1 hour, 41 minutes.

repo: betterwithagency/status-page


text:
🛑 Emir Tarlan is down

In 2e14137, Emir Tarlan (https://emirtarlan.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Emir Tarlan is back up in 493603a after 14 minutes.


text:
Win10: Trying to link Bevy dynamically results in the error STATUS_ENTRYPOINT_NOT_FOUND

Bevy version
0.4
Operating system & version
Windows 10, version: 1909, OS build: 18363.1256, 64-bit
What you did
I ran the binary with cargo run --features bevy/dynamic as instructed by the Bevy book. I believe I had the correct software and the given config.toml file at the folder .cargo
What you expected to happen
The game running regularly and opening my screen, just like when not using the features flag.
What actually happened
After the cargo started running the application, it exited with the error message:
error: process didn't exit successfully: `target\debug\<crate>.exe` (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)
Additional information
The current code is basically a very slightly modified version of the 3d scene example from the repo, with only main.rs in the src folder and no other dependencies besides Bevy 0.4.
I tried removing the "-Zshare-generics=y" flag from .cargo/config.toml, and also running it with stable. Both variations had the same result and message.
When I had only the cargo's autogenerated helloworld in my main.rs, the binary functioned normally with and without the flag, which is why I believe that my setup should be correct.

Hmm yeah a number of people are reporting issues with dynamic linking on windows. Currently I'm working from my linux/mac laptop, so I won't be able to investigate Windows-related issues until I get back to my desktop in early-January. I'm hoping a motivated Windows user will pick this up before then :smile:

Building without fast-build configuration gives link error 1189 (too many objects). It compiles with fast-build, but the generated DLL has exact 65536 functions exported. It seems the DLL being sliently truncated.

I have a feeling that glsl-to-spirv is the culprit. Basically every link issue we've had in the past can be traced back to it. Maybe try removing that dep and commenting out relevant code until it compiles? It wouldn't work but if we don't get the link error, then we have our culprit.

I’ve encountered all of these problems and found a solution, and I think we should create a README file for anyone who has a problem to solve.
STATUS_ENTRYPOINT_NOT_FOUND：
1.Create a cargo profile under your game project, such as this:
├── .cargo
│   └── config.toml
├── .gitignore
├── Cargo.lock
├── Cargo.toml
└── src
    └── main.rs

2.Modify the config.toml file as:
[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"
rustflags = ["-Zshare-generics=off"]   # Here is the key to solving this problem

3.(optional) next modify your Cargo.toml makes it easy for you to run your project directly:
[dependencies]
bevy = { version = "0.4", features = ["dynamic"] }

4.Run your project happily:
cargo run

If you did not choose 3：
cargo run --features bevy/dynamic

This method also applies to https://github.com/bevyengine/bevy/issues/1110
I need your feedback.

@Cupnfish I think you're right. There's over 90k monomorphized functions from rust core in .so file built on linux. Disabling share-generics makes total exported functions down to 19k on windows.

For me, using link.exe instead of rust-lld.exe on Windows fixed the problem.
But I can only compile in release mode or I get that error message: bevy_dylib.dll has more than 65535 objects.

@Cupnfish
Doing that seems to have worked for me, thank you.

@Cupnfish
Doing that seems to have worked for me, thank you.

I can verify that cupinfish's solution is working for me on Windows :)

@Cupnfish
did the exact same and the output i got,
error: failed to run rustc to learn about target-specific information
Caused by:
process didn't exit successfully: rustc - --crate-name ___ --print=file-names -Zshare-generics=off --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg (exit code: 1)
--- stderr
error: the option Z is only accepted on the nightly compiler

@Divakar-2508: In order to enable dynamic linking, you need to install and use nightly Rust.

@alice-i-cecile aight, I'll check it and update! :)

authors: Cupnfish Divakar-2508 Keithcat1 TheZalli alice-i-cecile cart goooosick

repo: bevyengine/bevy


text:
error: linking with cc failed: exit status: 1

Bevy version
0.14.2
What you did
Describe how you arrived at the problem. If you can, consider providing a code snippet or link.
GitHub action failed on bevy_dylib
https://github.com/nixon-voxell/lumina/actions/runs/10958198016/job/30427921562
What went wrong
error: linking with `cc` failed: exit status: 1

  = note: /usr/bin/ld: __rust_realloc: undefined version:
          /usr/bin/ld: __rust_no_alloc_shim_is_unstable: undefined version:
          /usr/bin/ld: __rust_dealloc: undefined version:
          /usr/bin/ld: __rust_alloc_zeroed: undefined version:
          /usr/bin/ld: __rust_alloc_error_handler_should_panic: undefined version:
          /usr/bin/ld: __rust_alloc_error_handler: undefined version:
          /usr/bin/ld: __rust_alloc: undefined version:
          /usr/bin/ld: failed to set dynamic section sizes: bad value
          collect2: error: ld returned 1 exit status

error: could not compile `bevy_dylib` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

I see, the weird thing is that it works on windows on my machine, it just fails on github actions, which makes it hard to troubleshoot.

while ideally it should work, enabling dynamic linking in CI can only lead to problems...

I see. I have turned it off for now in my CI. (Tho the original CI from TheBevyFlock/bevy_quickstart enables it). Turning defaul features off makes the CI test works for now.

Closing as duplicate of #14117

authors: BenjaminBrienen mockersf nixon-voxell


text:
Strange wasm render error on my linux desktop browser

Bevy version
bevy 0.15
[Optional] Relevant system information
If you cannot get Bevy to build or run on your machine, please include:

the Rust version you're using (you can get this by running cargo --version)

rust version:   v1.83.0-nightly

the operating system or browser used, including its version

Linux6.12.7-arch1-1 SMP PREEMPT_DYNAMIC Fri, 27 Dec 2024 14:24:37 +0000 x86_64 GNU/Linux
chrome  Version 131.0.6778.204 (Official Build) (64-bit)
If your bug is rendering-related, copy the adapter info that appears when you run Bevy.

` AdapterInfo { name: "NVIDIA GeForce GTX 1060 3GB", vendor: 4318, device: 7044, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "565.77", backend: Vulkan }`

browser
`AdapterInfo { name: "ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero) (0x0000C0DE)), SwiftShader driver)", vendor: 0, device: 0, device_type: Cpu, driver: "", driver_info: "WebGL 2.0 (OpenGL ES 3.0 Chromium)", backend: Gl }`

You should also consider testing the examples of our upstream dependencies to help isolate any setup-specific issue:

wgpu for rendering problems
winit for input and window management
gilrs for gamepad inputs

What you did
spawn three node under the cell,   one is visible , other are hidden.
What went wrong
In my linux desktop , chrome and firefox render wasm error,   native is ok

Additional information
Other information that can be used to further reproduce or isolate the problem.
This commonly includes:
online demo
source code

This appears to be a duplicate of #14970

authors: foxzool rparrett


text:
Panic/segfault with opt-level=3

Bevy version: can reproduce on both 0.5.0 and commit bc13d11c
3rd-party plugins used: bevy_tilemap 0.4.0 (latest)
Operating System and Hardware: Linux 5.11.10 (gentoo) + AMDGPU RADV vulkan driver on AMD Vega 64
When I build my game with opt-level=3, I get a panic+segfault related to rendering.
opt-level=1 works fine.
No idea if the problem is in Bevy, wgpu, or bevy_tilemap, but I doubt bevy_tilemap touches stuff low-level enough to cause this.
The problem is triggered by compiler optimizations. If I add opt-level=3 to my debug builds, the problem also occurs, not just in release builds. Hence, it is not caused by the lack of debug assertions or some debug-only logic.
I smell UB.
Output:
paste.txt

@inodentry: Is this still reproducible with the 0.6 render rework? If not, please close this issue.

I don't know and cannot test. I don't have that project anymore. This issue is not specific enough to be actionable. Closing.