Multiple icons in statusbar

Hi!
Each message received generates 1 new icon in my statusbar.
Would it be possible to generate only 1 icon, always with the last message received?
thank you very much,
Gabriel

@gmbad use collapse_key on server https://stackoverflow.com/questions/39886108/adding-collapse-key-in-fcm

@chemerisuk
I'll try. Thank you very much


Submit a Cloud Definition

Do NOT copy/paste a definition from somewhere else. Read about the word you want to define and come up with your own definition. Copy/Paste submissions will be closed and not added.
Fill out the JSON with your submission:
    {
    "word": "Classless Inter-Domain Routing",
    "content": "A more efficient system of assigning IP addresses that replaced the original classful system, reducing wastage and enabling creation of multiple subnetworks with separate host counts.",
    "learn_more_URL":"https://www.techtarget.com/searchnetworking/definition/CIDR?amp=1",
    "tag":"networking",
    "abbreviation": "CIDR",
    "author_name":"codenamenuke",
    "author_link": "https://github.com/codenamenuke"
    }

Fill out the JSON below with the following.
Word (REQUIRED)
The word you are defining. Check this URL for all words we currently have.
Content (REQUIRED)
The definition. No more than 3 sentences.
learn more URL (REQUIRED)
Website where people can visit to learn more about the word.
tag (REQUIRED and select one)
Tech category the word fits in. Options:

compute
security
service
general
analytics
developer tool
web
networking
database
storage
devops
ai/ml
identity
iot
monitoring
cost management
disaster recovery

abbreviation (OPTIONAL)
If the word is commonly abbreviated, please provide it. For example, command line interface is often abbreviated as CLI.
author name (REQUIRED)
Your name.
author link (REQUIRED)
The URL you want your name to link to.

Good one, thank you! I've added it.


Panic due to funding transaction rejected with "non-BIP68-final"

> openchannel 0227d8e3f25e4d991cc51a19782c0277904f1590db7da27b33bf96cca181022bd8@<IP_ADDRESS>:9737 1000000
EVENT: initiated channel with peer 0227d8e3f25e4d991cc51a19782c0277904f1590db7da27b33bf96cca181022bd8.
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "Errored with status: 500 and contents: {\"result\":null,\"error\":{\"code\":-26,\"message\":\"non-BIP68-final\"},\"id\":\"129\"}\n" }', src/bitcoind_client.rs:241:88

Then on restart:
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "Errored with status: 500 and contents: {\"result\":null,\"error\":{\"code\":-27,\"message\":\"Transaction already in block chain\"},\"id\":\"5\"}\n" }', src/bitcoind_client.rs:241:88

Matt's explanation: "yes, we currently are quite lazy and send transactions which conflict with ones we see on the chain (this addresses some super-theoretical basically nonsense cases around eclipse-style attacks) as well as ones which are not yet broadcastable as they are time-locked. in the second case, the docs currently say its the users' responsibility to rebroadcast the transactions until the timelock is reached (hence the "non-BIP68-final" error you see above), but I'd realllllyyyy like to change that requirement."
Before addressing this known issue, we'll want to get https://github.com/rust-bitcoin/rust-lightning/pull/642 merged, as the solution will heavily conflict.

This should be resolved now.


Enhance Footer Social Icons with Hover Effects

Description
Details:
I have modified the social icons in the footer.
Expected Behavior:
When a user hovers over the social icons:
The Facebook icon changes to blue.
The Instagram icon changes to pink.
All icons increase in size slightly.

Before:
https://github.com/user-attachments/assets/4c5ba593-bbed-4fd5-8712-64c8ec7efbab
After:
https://github.com/user-attachments/assets/5e984c82-1d0d-4e2b-a2b2-7f80d8808b94

@Shekhar-Raj please modify for all html pages then i will assign level 2

@Shekhar-Raj please modify for all html pages then i will assign level 2

ok ! doing for all the html pages

@Shekhar-Raj please also mention issue number with hastag in PR description

@Shekhar-Raj please also mention issue number with hastag in PR description

ya sure will do!

i have done [Enhance Footer Social Icons with Hover Effects](https://github.com/Anjaliavv51/Retro/pull/92#top)
#92 :
Changes have been made to the various pages where the social icon was at the footer, in cart.html, electronic.html and other pages.

cart.html
Before:

After
https://github.com/user-attachments/assets/e1162cbe-f997-401e-a1b4-4ba14842f0ea

@Shekhar-Raj great work.

Thank you!

@Shekhar-Raj keep contributing to our repo!


Cleanup and prepare v0.15.0

Minor Tasks

[x] Fix incorrect references to ZoneUpdateRequiredPermissionMixin in comments
[x] Rename _update_cache_rows() (1)
[x] Fix sodar-oa-alert-* template IDs and classes
[x] Remove unnecessary slug/kwarg args from OBOFormatOntologyListView
[x] Document template_output_dir_display setting
[x] Remove taskflow link from SODAR Core settings in admin_settings.rst
[x] Update FontAwesome icon comments
[x] Unify title case in get_statistics() implementations
[x] Add missing site-wide apps in admin_ui.rst
[x] Update wheel dependency in CI
[x] Update assay app plugin descriptions in docs

Issues to Add in CHANGELOG

[x] #1931
[x] #1952

Release Checklist

[x] Review code style and cleanup
[x] Review and update docs entries
[x] Update SODAR_API_DEFAULT_VERSION and SODAR_API_ALLOWED_VERSIONS
[x] Run npx update-browserslist-db@latest for Vue app
[x] Update Vue app version with npm version
[x] Update version in CHANGELOG and SODAR Release Notes doc
[x] Update version in docs conf.py
[x] Ensure both SODAR and SODAR Core API versioning is correct in API docs
[x] Ensure docs can be built without errors

Notes

Do this after merging #1946.

Done.


Tempcal-branch update

PR to merge current results/status of the temperature compensation enhancement from our dev-branch to the tempcal-branch of the PX4 firmware.
is related to PR #1943 and issue #1939

Thanks, much appreciated!


Update Gradle version

We're currently on Gradle 4.2. Gradle recently shipped their latest version 6.0.1.
It would be great to be able to upgrade our Gradle version to a newer one.

https://github.com/apache/aurora/commit/ebf093d00b7aff19a94649775ea11761d688e50e
Since no one took it up, I decided to take a crack at it. Upgraded to 4.10.2. Hope to update to 5.x in the near future.


Matt manuel/865 language mermaid update

Pull Request Template
What are you trying to address

Update to Documentation/Language page for Mermaid diagrams
Closes #865

Description of new changes

Changed link to Mermaid Live Editor to https://mermaid.live
Added example mermaid code and resulting image

Benefit is to show how to create a mermaid file to encourage their use in documentation

For all pull requests

[X] Link to the issue you are solving (so it gets closed)
[X] Label the pull request with the appropriate area(s)
[X] Assign potential reviewers (you may also want to contact them on Teams to ensure timely reviews)
[X] Assign the project - Engineering Playbook Backlog
[X] Assign the pull request to yourself

Note: I don't appear to have permissions to add reviewers, label, nor assign to a project.


error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}

Python bindings fail on macOS with gcc12:
:info:build /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_libpetanque/libpetanque/work/arybo-1.1.0/petanque/third-party/pybind11/cast.h: In function 'std::string pybind11::detail::error_string()':
:info:build /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_libpetanque/libpetanque/work/arybo-1.1.0/petanque/third-party/pybind11/cast.h:442:36: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
:info:build   442 |                 "  " + handle(frame->f_code->co_filename).cast<std::string>() +
:info:build       |                                    ^~
:info:build In file included from /opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/Python.h:42:
:info:build /opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject' {aka 'struct _frame'}
:info:build    22 | typedef struct _frame PyFrameObject;
:info:build       |                ^~~~~~
:info:build /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_libpetanque/libpetanque/work/arybo-1.1.0/petanque/third-party/pybind11/cast.h:442:75: error: expected primary-expression before '>' token
:info:build   442 |                 "  " + handle(frame->f_code->co_filename).cast<std::string>() +
:info:build       |                                                                           ^
:info:build /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_libpetanque/libpetanque/work/arybo-1.1.0/petanque/third-party/pybind11/cast.h:442:77: error: expected primary-expression before ')' token
:info:build   442 |                 "  " + handle(frame->f_code->co_filename).cast<std::string>() +
:info:build       |                                                                             ^
:info:build /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_libpetanque/libpetanque/work/arybo-1.1.0/petanque/third-party/pybind11/cast.h:444:29: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
:info:build   444 |                 handle(frame->f_code->co_name).cast<std::string>() + "\n";
:info:build       |                             ^~
:info:build /opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject' {aka 'struct _frame'}
:info:build    22 | typedef struct _frame PyFrameObject;
:info:build       |                ^~~~~~
:info:build /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_libpetanque/libpetanque/work/arybo-1.1.0/petanque/third-party/pybind11/cast.h:444:64: error: expected primary-expression before '>' token
:info:build   444 |                 handle(frame->f_code->co_name).cast<std::string>() + "\n";
:info:build       |                                                                ^
:info:build /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_libpetanque/libpetanque/work/arybo-1.1.0/petanque/third-party/pybind11/cast.h:444:66: error: expected primary-expression before ')' token
:info:build   444 |                 handle(frame->f_code->co_name).cast<std::string>() + "\n";
:info:build       |                                                                  ^
:info:build /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_libpetanque/libpetanque/work/arybo-1.1.0/petanque/third-party/pybind11/cast.h:445:26: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
:info:build   445 |             frame = frame->f_back;
:info:build       |                          ^~
:info:build /opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject' {aka 'struct _frame'}
:info:build    22 | typedef struct _frame PyFrameObject;
:info:build       |                ^~~~~~

Without Python bindings the library builds fine and all tests pass: https://github.com/macports/macports-ports/pull/17103

I don't believe it supports Python 3.11 yet. Try on 3.9 and you should be fine

just replace the bundled pybind11 in pytanque with latest pybind11 release and it will compile


No coverage for file!

If I generate coverage for multiple files I get
`No coverage for file!
If I generate coverage for one file it works.

Sorry my bad, it works great!

Did you do anything specific to fix this, or did it fix itself? (Getting the same issue)

@wub I don't remember what I did. I thought I used it wrong but it just disappeared.

@wub are you using a coverage file that is not named lcov.info? there is a extension setting that lets you set your filename to assist the system with finding it.


Phrasing Error

The following is an issue someone emailed to me:

Hi,
I noticed an error when -q -a are used together and then immediately -R.
I looked at the code and the playlist appends are backgrounded, so
mpvc exits but items are still being added, so I think it just need a
wait.

-a will now accept args after it now properly in a91dc73f0693e3df066159e9955f3dd0b7796250
However, there is still some issue with using -R number still, for now use -r number. It will have the same effect that you're trying to achieve.

Fixed in 6b184ae90d1773364dd50a781f1076fd5a43106e


Nodejs:20-arm64 - Error - php: undefined symbol

Hi, I'm building a Lambda function using a Docker container.
Having this in the Dockerfile f.e.
# Use AWS Lambda base images for NodeJS
FROM public.ecr.aws/lambda/nodejs:20-arm64

# Install system dependencies
RUN dnf -y update && dnf clean all && dnf -y install unzip php

Then run the container locally
docker run --rm -p 8080:8080 lambda-docker
The get a shell in the container
docker exec -it CONTAINER_ID /bin/bash
Execute php
bash-5.2# php
php: symbol lookup error: php: undefined symbol: EVP_rc2_64_cbc, version OPENSSL_3.0.0

It works if I switch to:
# Use AWS Lambda base images for NodeJS
FROM public.ecr.aws/lambda/nodejs:18-arm64

# Install system dependencies
RUN yum -y update && yum clean all && yum -y install unzip php

bash-4.2# php -v
PHP 5.4.16 (cli) (built: Apr  9 2024 17:02:58)
Copyright (c) 1997-2013 The PHP Group

Any ideas?

Any ideas?

Don't try to use yum or dnf to install an archaic version of PHP inside of a Lambda environment. This is not how you do PHP successfully inside Lambda.
If you want PHP inside Lambda, you can either compile it yourself and ship the binary with your .zip file, OR use one of the official PHP Docker images and have Lambda run that.
You may be able to find a Lambda Layer that someone wrote which adds modern PHP to a Lambda environment, but I would seriously recommend reviewing the code that produces those layers and making sure they're doing the right things before arbitrarily depending on an untrusted third-party dependency.
Better yet, don't shove a round peg into a square hole. Write your Lambda function in a language that Lambda supports.

My credentials: I wrote the AWS SDK for PHP. Amazon hired me and hard-forked my project and renamed it. I know how to do this stuff at scale.


autoconfig now generated the same as config override

Quick fix: when generating the autoconfig, make it the same as the override config

Does this mean the autoconfig contains all of the content of the normal config?
So far I've intended the autoconfig to only contain the explicit overrides from default. This makes it easier to see what's manually been modified to have behavior different than the default. Can you elaborate on your motivations for your change? I may be misunderstanding it

It would contain the same content at first when they are both generated. After testing with the examples repo, it seemed cumbersome to have a barebones override config such as this:
"resources": {
            "<root>": {
              "packages": {
              }
            }
          }

then, have to fill in the desired changes manually. With this new way, effort from the user's standpoint is diminished because everything is already there, they would just need to change simple values like true and false, or destroy entries completely.
It's the same thing but the user doesn't need to add metamask-logo again since it already exists in the dep graph

But you're right, it makes for a less clear understanding of what changes from the default

This is a significant change to workflow, which is not well mapped out and battle tested. I think having the original config in the override diminishes the purpose of the override. My intuition is that the override should be minimal and we'll commented (an issue for json). But I'm happy to have those challenged against use in practice.
While the override changed values would be visible in version control, i think it helps auditiblity to see just the manual overrides in the override file.
Tell me more about working with the examples

This idea spawned purely from a user experience standpoint. Was testing automatic re-bundling with watchify and felt that it's extra work to fill in information (deps) in lavamoat-config-override.json that's already present in  lavamoat-config.json

That being said, it would be less of a consideration if we could add comments in the config to better guide the user. Changing to a different comment-supported filetype such as YAML could be a viable solution.

here is part of my logic:

if the two files are the same(-ish), there should just be one
if there is just one, re-running autogen will squash user adjustments
so we should keep both and keep overrides minimal

in order to keep the devx good, we should strive to make it work well out of the box and make overrides rarely necessary
i appreciate the exploration of possible devx improvements :man_scientist:


请求支持arm

闲置甲骨文 急需支持（

怎么支持....

有不支持ARM架构的pip包？我待会上树莓派看看

zzlpnaau/wheels/df/12/98/5ed5f2aea3c8e4e374be714f5b3d99687ff1cc92b6a8021115
2361
#16 252.7   Building wheel for jieba (setup.py): started
2362
#16 262.3   Building wheel for jieba (setup.py): finished with status 'done'
2363
#16 262.6   Created wheel for jieba: filename=jieba-0.42.1-py3-none-any.whl size=19314458 sha256=aed51ed6139240e33893514d8c77363e1784b563bf12790e6eb5154e8193ac11
2364
#16 262.6   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/c9/69/31/d56d90b22a1777b0b231e234b00302a55be255930f8bd92dcd
2365
#16 262.6   Building wheel for elara (setup.py): started
2366
#16 264.7   Building wheel for elara (setup.py): finished with status 'done'
2367
#16 264.8   Created wheel for elara: filename=elara-0.5.4-py3-none-any.whl size=18466 sha256=5dc3fb34671a10caa2b50cc6108f48a4075c6444b4881d68fb9be4aae96de6a7
2368
#16 264.8   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/cd/12/b6/77c57184421aebf90799434555ebbaf3c7424c16f61b3960e1
2369
#16 264.8   Building wheel for wget (setup.py): started
2370
#16 266.9   Building wheel for wget (setup.py): finished with status 'done'
2371
#16 266.9   Created wheel for wget: filename=wget-3.2-py3-none-any.whl size=9656 sha256=06248ef503c9a4c9ed53bfa37a4398f67b254bc3c9954fed5c8d426069727ab4
2372
#16 266.9   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/8b/f1/7f/5c94f0a7a505ca1c81cd1d9208ae2064675d97582078e6c769
2373
#16 266.9   Building wheel for fasttext (setup.py): started
2374
#16 412.1   Building wheel for fasttext (setup.py): still running...
2375
#16 484.1   Building wheel for fasttext (setup.py): still running...
2376
#16 558.2   Building wheel for fasttext (setup.py): still running...
2377
#16 613.6   Building wheel for fasttext (setup.py): finished with status 'done'
2378
#16 613.7   Created wheel for fasttext: filename=fasttext-0.9.2-cp310-cp310-linux_aarch64.whl size=275377 sha256=be51b4cd5896199b995bb8abf6412f7522d7a6ef6425761f9278a9ceec28f20f
2379
#16 613.7   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/a5/13/75/f811c84a8ab36eedbaef977a6a58a98990e8e0f1967f98f394
2380
#16 613.7   Building wheel for pycorrector (setup.py): started
2381
#16 618.6   Building wheel for pycorrector (setup.py): finished with status 'done'
2382
#16 618.6   Created wheel for pycorrector: filename=pycorrector-0.4.8-py3-none-any.whl size=4428822 sha256=e103a3fc20d17b6de431d1d614efdad7cc52ddbd03766820651c6208f001f009
2383
#16 618.6   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/44/0f/45/a3e92e8c8ca5867bdfc8e991cceffc9ca2cc5e7a3decf3f9c1
2384
#16 618.6   Building wheel for blip (setup.py): started
2385
#16 621.0   Building wheel for blip (setup.py): finished with status 'done'
2386
#16 621.0   Created wheel for blip: filename=blip-0.0.0-py3-none-any.whl size=55429 sha256=8aee917091159877ef9da71f401e1f09aff69a442d2d25f2f45200a2c88990be
2387
#16 621.0   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/ec/75/14/c10f17fa4ed741023bc86d18150e1e6d45f18df85f3f2e5d63
2388
#16 621.0   Building wheel for fairscale (pyproject.toml): started
2389
#16 623.6   Building wheel for fairscale (pyproject.toml): finished with status 'done'
2390
#16 623.7   Created wheel for fairscale: filename=fairscale-0.4.4-py3-none-any.whl size=292838 sha256=1d400337c49f2129ec237230520e047b391eda31b3b955141e972ad833d02cfd
2391
#16 623.7   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/08/58/6f/56c57fa8315eb0bcf0287b580c850845be5f116359b809e9f1
2392
#16 623.7   Building wheel for openai-async (pyproject.toml): started
2393
#16 625.6   Building wheel for openai-async (pyproject.toml): finished with status 'done'
2394
#16 625.6   Created wheel for openai-async: filename=openai_async-0.0.2-py3-none-any.whl size=4969 sha256=6aedd5753836a0ce41f976ba69133d80ba0a4ad6cbb882b4cfd444fedbafa79b
2395
#16 625.6   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/e2/b4/fd/bc98888047ae432c9735680cf4dce912889733853dc61cbf60
2396
#16 625.6   Building wheel for tiktoken (pyproject.toml): started
2397
#16 627.6   Building wheel for tiktoken (pyproject.toml): finished with status 'error'
2398
#16 627.6   error: subprocess-exited-with-error
2399
#16 627.6
2400
#16 627.6   × Building wheel for tiktoken (pyproject.toml) did not run successfully.
2401
#16 627.6   │ exit code: 1
2402
#16 627.6   ╰─> [35 lines of output]
2403
#16 627.6       running bdist_wheel
2404
#16 627.6       running build
2405
#16 627.6       running build_py
2406
#16 627.6       creating build
2407
#16 627.6       creating build/lib.linux-aarch64-cpython-310
2408
#16 627.6       creating build/lib.linux-aarch64-cpython-310/tiktoken
2409
#16 627.6       copying tiktoken/core.py -> build/lib.linux-aarch64-cpython-310/tiktoken
2410
#16 627.6       copying tiktoken/registry.py -> build/lib.linux-aarch64-cpython-310/tiktoken
2411
#16 627.6       copying tiktoken/init.py -> build/lib.linux-aarch64-cpython-310/tiktoken
2412
#16 627.6       copying tiktoken/load.py -> build/lib.linux-aarch64-cpython-310/tiktoken
2413
#16 627.6       creating build/lib.linux-aarch64-cpython-310/tiktoken_ext
2414
#16 627.6       copying tiktoken_ext/openai_public.py -> build/lib.linux-aarch64-cpython-310/tiktoken_ext
2415
#16 627.6       running egg_info
2416
#16 627.6       writing tiktoken.egg-info/PKG-INFO
2417
#16 627.6       writing dependency_links to tiktoken.egg-info/dependency_links.txt
2418
#16 627.6       writing requirements to tiktoken.egg-info/requires.txt
2419
#16 627.6       writing top-level names to tiktoken.egg-info/top_level.txt
2420
#16 627.6       reading manifest file 'tiktoken.egg-info/SOURCES.txt'
2421
#16 627.6       reading manifest template 'MANIFEST.in'
2422
#16 627.6       adding license file 'LICENSE'
2423
#16 627.6       writing manifest file 'tiktoken.egg-info/SOURCES.txt'
2424
#16 627.6       copying tiktoken/py.typed -> build/lib.linux-aarch64-cpython-310/tiktoken
2425
#16 627.6       running build_ext
2426
#16 627.6       running build_rust
2427
#16 627.6       error: can't find Rust compiler
2428
#16 627.6
2429
#16 627.6       If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
2430
#16 627.6
2431
#16 627.6       To update pip, run:
2432
#16 627.6
2433
#16 627.6           pip install --upgrade pip
2434
#16 627.6
2435
#16 627.6       and then retry package installation.
2436
#16 627.6
2437
#16 627.6       If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs)/ is the recommended way to download and update the Rust compiler toolchain.
2438
#16 627.6       [end of output]
2439
#16 627.6
2440
#16 627.6   note: This error originates from a subprocess, and is likely not a problem with pip.
2441
#16 627.6   ERROR: Failed building wheel for tiktoken
2442
#16 627.6   Building wheel for kenlm (setup.py): started
2443
#16 693.6   Building wheel for kenlm (setup.py): still running...
2444
#16 760.8   Building wheel for kenlm (setup.py): still running...
2445
#16 827.6   Building wheel for kenlm (setup.py): still running...
2446
#16 896.5   Building wheel for kenlm (setup.py): still running...
2447
#16 956.7   Building wheel for kenlm (setup.py): still running...
2448
#16 978.7   Building wheel for kenlm (setup.py): finished with status 'done'
2449
#16 978.7   Created wheel for kenlm: filename=kenlm-0.1-cp310-cp310-linux_aarch64.whl size=271308 sha256=77e81151ce79b27d3ac47c262161fee4f4da1c909ff802609449a9bc4e250d6f
2450
#16 978.7   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/4e/3a/01/9105a071c30781823efbd96a58279c16f948a87cafb1144042
2451
#16 978.7   Building wheel for pycocotools (pyproject.toml): started
2452
#16 1025.9   Building wheel for pycocotools (pyproject.toml): finished with status 'done'
2453
#16 1026.0   Created wheel for pycocotools: filename=pycocotools-2.0.6-cp310-cp310-linux_aarch64.whl size=88265 sha256=004269e980d1864eed6652a243dae841a74e06734bacf18f7b08450d4e59c382
2454
#16 1026.0   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/58/e6/f9/f87c8f8be098b51b616871315318329cae12cdb618f4caac93
2455
#16 1026.0 Successfully built pyTelegramBotAPI jieba elara wget fasttext pycorrector blip fairscale openai-async kenlm pycocotools
2456
#16 1026.0 Failed to build tiktoken
2457
#16 1026.0 ERROR: Could not build wheels for tiktoken, which is required to install pyproject.toml-based projects
2458
#16 ERROR: process "/dev/.buildkit_qemu_emulator /bin/sh -c pip install --upgrade --no-cache-dir pip && pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1
2459
2460

[linux/arm64 5/5] RUN pip install --upgrade --no-cache-dir pip && pip install --no-cache-dir -r requirements.txt:
2461
#16 978.7   Building wheel for kenlm (setup.py): finished with status 'done'
2462
#16 978.7   Created wheel for kenlm: filename=kenlm-0.1-cp310-cp310-linux_aarch64.whl size=271308 sha256=77e81151ce79b27d3ac47c262161fee4f4da1c909ff802609449a9bc4e250d6f
2463
#16 978.7   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/4e/3a/01/9105a071c30781823efbd96a58279c16f948a87cafb1144042
2464
#16 978.7   Building wheel for pycocotools (pyproject.toml): started
2465
#16 1025.9   Building wheel for pycocotools (pyproject.toml): finished with status 'done'
2466
#16 1026.0   Created wheel for pycocotools: filename=pycocotools-2.0.6-cp310-cp310-linux_aarch64.whl size=88265 sha256=004269e980d1864eed6652a243dae841a74e06734bacf18f7b08450d4e59c382
2467
#16 1026.0   Stored in directory: /tmp/pip-ephem-wheel-cache-zzlpnaau/wheels/58/e6/f9/f87c8f8be098b51b616871315318329cae12cdb618f4caac93
2468
#16 1026.0 Successfully built pyTelegramBotAPI jieba elara wget fasttext pycorrector blip fairscale openai-async kenlm pycocotools
2469
#16 1026.0 Failed to build tiktoken
2470
#16 1026.0 ERROR: Could not build wheels for tiktoken, which is required to install pyproject.toml-based projects
2471

2472
Dockerfile:6
2473
2474
4 |     ADD . $WORKDIR
2475
5 |     RUN apt update && apt install build-essential git -y
2476
6 | >>> RUN pip install --upgrade --no-cache-dir pip && pip install --no-cache-dir -r requirements.txt
2477
7 |
2478
2479
ERROR: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c pip install --upgrade --no-cache-dir pip && pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1
2480
Error: buildx failed with: ERROR: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c pip install --upgrade --no-cache-dir pip && pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1

Have you ever considered running x86 dockers or programs on arm?
Try to refer to the article:
https://www.cnblogs.com/bamanzi/p/run-x86-linux-progs-with-qemu-user-on-arm.html

太怪了
我换了好几个环境，每个环境扔出来的异常都不一样

我是用 GitHub 跑的 docker  每次都一样

  - name: Set up Docker Buildx
    uses: docker/setup-buildx-action@v2

  - name: Build and push Docker image
    uses<EMAIL_ADDRESS>    with:
      context: .
      push: true
      platforms: linux/arm/v7,linux/arm64,linux/amd64
      tags: ${{ steps.meta.outputs.tags }}
      labels: ${{ steps.meta.outputs.labels }}

在甲骨文正统Linux上，运行下面指令预装rust工具链即可正常编译：
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
之所以说正统，是因为之前的测试环境都是一些docker容器，组件七零八落的（

我这边测试是正常运行的，要是你那没啥问题就可以关issue了 @aiastia

好像docker 可以编译成功 还没测试能不能运行 晚点试一试

成功 通过docker 在甲骨文arm上运行了
但是有个这个提醒
Warning : load_model does not return WordVectorModel or SupervisedModel any more, but a FastText object which is very similar.
但好像不影响使用
看了要这个https://github.com/PaddlePaddle/PaddleOCR/issues/5551
是需要
python3.7 -m pip install fasttext==0.9.1
还没测试

不影响

fasttext 用于语言类型判别，如果你装不了fasttext，可以跳过，程序内置基于Unicode的中日英三语判别器

tiktoken  在arm 下真难受
#21 135.7       error: cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module -- --crate-type cdylib failed with code -9


Does PowerShell support the real "Stream" response?

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I am writing a PowerShell module for OpenAI (and Azure OpenAI or other GPT services), they are supporting the "stream" mode of chat completions (https://platform.openai.com/docs/api-reference/chat/create). In other languages, for example, Python. we can easily get the response by some code below.
# Example of an OpenAI ChatCompletion request with stream=True
# https://platform.openai.com/docs/api-reference/streaming#chat/create-stream

# a ChatCompletion request
response = client.chat.completions.create(
    model='gpt-3.5-turbo',
    messages=[
        {'role': 'user', 'content': "What's 1+1? Answer in one word."}
    ],
    temperature=0,
    stream=True  # this time, we set stream=True
)

for chunk in response:
    print(chunk)
    print(chunk.choices[0].delta.content)
    print("****************")

But I didn't find a similar way to implement this in PowerShell, instead I need to write a lot of code like below.
  $client = New-Object System.Net.Http.HttpClient
  $body = $params.Body
  Write-Verbose "body: $body"

  $request = [System.Net.Http.HttpRequestMessage]::new()
  $request.Method = "POST"
  $request.RequestUri = $params.Uri
  $request.Headers.Clear()
  $request.Content = [System.Net.Http.StringContent]::new(($body), [System.Text.Encoding]::UTF8)
  $request.Content.Headers.Clear()
  $request.Content.Headers.Add("Content-Type", "application/json;chatset=utf-8")

  foreach ($k in $header.Keys) {
      $request.Headers.Add($k, $header[$k])
  }

  $task = $client.Send($request)
  $response = $task.Content.ReadAsStream()
  $reader = [System.IO.StreamReader]::new($response)
  $result = "" # message from the api
  $firstChunk = $true
  while ($true) {
      $line = $reader.ReadLine()
      if (($line -eq $null) -or ($line -eq "data: [DONE]")) { break }
      $chunk = ($line -replace "data: ", "" | ConvertFrom-Json).choices.delta.content
      if ($firstChunk) {
          $firstChunk = $false
          Write-Host "`r[$current] " -NoNewline -ForegroundColor Red
      }
      Write-Host $chunk -NoNewline -ForegroundColor Green
      $result += $chunk
      Start-Sleep -Milliseconds 5
  }

  Write-Host ""
  $reader.Close()
  $reader.Dispose()

  $messages += [PSCustomObject]@{
      role    = "assistant"
      content = $result
  }

Expected behavior
I want to read the chunk one by one.

Actual behavior
It seems like PowerShell supports the stream mode, but it will response to me until it read all the chunks.

Error details
No response
Environment data
PS C:\home> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Hi, if the existing Invoke-WebRequest and Invoke-RestMethod don't support the response mechanisms or formats that you need and you find yourself repeating the same blocks of .NET method calls to the SDK, then I would recommend building a cmdlet in C# that does all the networking API and then streams the response to the pipeline output. Then you can have PowerShell functions or scriptblocks that are fed from the output pipeline of the cmdlet. I suggest that is the closest you might get to a stream in PowerShell.

I don't believe Invoke-WebRequest supports streaming of the response, since it returns a complete response object. Might be a worthwhile addition to add a -Stream parameter, which instead returns the raw response.

As an aside, it might be a worthwhile addition to add a -Stream parameter to the web cmdlets, which stream the raw response as it comes in.

I suggest a proof of concept would be needed for this. Essentially you would need the HTTPResponse without the content written to the output pipeline, followed by the chunks of the response as byte []. The stage following the pipeline will need to deal with the chunks of arbitrary size. I am hard pressed to think of an example where this complexity would be appropriate with the PowerShell programming model and level of abstraction.

As an aside, it might be a worthwhile addition to add a -Stream parameter to the web cmdlets, which stream the raw response as it comes in.

I suggest a proof of concept would be needed for this. Essentially you would need the HTTPResponse without the content written to the output pipeline, followed by the chunks of the response as byte []. The stage following the pipeline will need to deal with the chunks of arbitrary size. I am hard pressed to think of an example where this complexity would be appropriate with the PowerShell programming model and level of abstraction.

Wouldn't send both the response and the content, that would be very annoying to process. Just pass through the string segments (or byte[]) as they come, or maybe split the string line-by-line for consistency.

Wouldn't send both the response and the content, that would be very annoying to process. Just pass through the string segments (or byte[]) as they come, or maybe split the string line-by-line for consistency.

Absolutely, hence why a proof of concept to show how it would work. I don't think it practical for the cmdlet to be doing much processing given it has no knowledge of the format of the content other than the read chunk sizes from the response. There are many text formats which have no need for any line splitting (eg JSON and XML) and the lines may not align with the chunks read from the response, a chunk may end mid-line. It can also be ambiguous to detect whether the response is a text or binary format. There may be important information in the headers that the caller still needs, along with the status code.

Hi all,
I had similar problem but managed to resolve. i used Send the HTTP POST request asynchronously. Solved by change it to  SendAsync with HttpCompletionOption.ResponseHeadersRead. (This will return control to your code as soon as the headers are read, allowing you to start processing the response body as a stream immediately.)
working code: https://github.com/voytas75/AzureOpenAI-PowerShell/blob/7a3478920771a7afc3ae519dba556a982ae6b76b/PSAOAI/Private/Invoke-PSAOAIApiRequestStream.ps1


Microsoft.Data.Sqlite: Store TimeSpan as REAL

It's probably way too late to change, but I wish we could store TimeSpan values as REAL values (days). This would enable queries like the following. (where SLA is a TimeSpan column and OpenDate is a DateTime column).
SELECT datetime(julianday(OpenDate) + SLA) AS DueDate
       julianday(CloseDate) - julianday(OpenDate) AS ResponseTime
FROM Tickets

To be clear, we would continue to support reading and writing values stored as TEXT. We'd just write them as REAL by default. You could still write TEXT values using parameter.SqliteType = SqliteType.Text.

Note, working in SQL with TimeSpan values stored as TEXT isn't bad if you register a couple user-defined functions:
connection.CreateFunction("days", (TimeSpan value) => value.TotalDays);
connection.CreateFunction("timespan", (double value) => TimeSpan.FromDays(value));

These are roughly equivalent to the built-in julianday and datetime functions for working with DateTime values in SQL.

Triage: decision is not to break those with existing databases that currently work. Instead, at least for EF Core users, we will look into making the functions above always available, so that we can then use them in translations. @bricelam Do we need another issue for this?

Tracked by https://github.com/bricelam/EFCore.SqliteEx/issues/1 (and partially implemented)

Confirmed: This would be lossy and doesn't always round-trip. #NoRegrets


Make scanning on iOS a little bit more robust

We had some problems with the iOS part returning wrong scan results. I added a temporary array of the last n scan results and only let it pass on if we got the same result 7 times in a row.
We chose 7 since it didn't add any unnecessary lag to the scanning but seems to keep the false positives from appearing.

Please merge this in!

Tests seem to be passing. Haven't had a chance to test it out fully but lets see if people have problems. I'll publish 3.1.0 to npm now with the changes.

call scan and image hang and never updates at 4.0.1 version


Dead URL / question regarding Nuxt hooks & sitemap module

Describe the bug
https://nuxtseo.com/sitemap/api/nitro-hooks still contains a link to https://nuxtseo.com/sitemap/api/nuxt-hooks, which is a dead link / empty page.
Regarding the closed #156 - where/how do I pass my noIndex URLs that I've fetched from the headless CMS to the sitemap module to exclude them? Creating a string array in a nitro:config hook is easy, passing said array to the exclude option not so much..
Reproduction
No response
System / Nuxt Info
No response

Hi @pascalwengerter
This is an interesting one, You could use the sitemap:resolved nitro hook to filter out the URLs the sitemap based on your endpoint URLs, but it's not that elegant.
I may consider adding a runtime way to do this, but for now I'd recommend doing this within a custom Nuxt module and extend the route rules. This will allow the sitemap module to automatically ignore these URLs, if you're using nuxt-simple-robots, it will also add the correct headers no index headers for you.
Something like this.
import { $fetch } from 'ofetch'
import { defu } from 'defu'

export default defineNuxtConfig({
  modules: [
   (_, nuxt) => {
     const blockedUrls = await $fetch('/cms/blocked-urls')
     for (const url of blockedUrls) {
        nuxt.options.nitro.routeRules[url] = defu({ index: false }, nuxt.options.nitro.routeRules[url])
     }
   }
  ]
})

Let me know if you have any questions

This is possible now with the latest nuxt-simple-robots, see the docs here: https://nuxtseo.com/robots/nitro-api/nitro-hooks#robotsconfig
This module uses getPathRobotConfig() which is reading off of this config.


FreshRSS selfsigned certificate

With a self-signed certificate it is not possible to log in

Make sure you have the self-signed certificate trusted. Are there any error codes that are mentioned?

This is the error i get, i can't make it trusted because FreshRSS is only accessible on the LAN

You should still be able to trust the certificate. Have you tried downloading your root certificate to your device and then enabling full trust for it (Settings→General→About→Certificate Settings)?

Nothing change, the error still present

I'm having this issue as well. I am able to confirm that I successfully added the certificate to my device and marked it as trusted because I can access FreshRSS through Safari. The application still treats the certificate as untrusted and refuses to add the account.

Is there some plan to resolve this issue? Would be nice to let the user decide to trust or not the self signed certificate

Bump
Did anyone get an alt solution ?

I'm having the exact same issue. I have added my self-signed certificate to the iOS Trust Store but I'm getting the same message from NetNewsWire and I can't add my self-hosted FreshRSS account.


one step setup broken, troubleshooting steps don't seem to work

First troubleshooting step for the one-step headless setup process is "Try sudo -i and then run /etc/rc.local. The scripts are fairly resilient to restarting and not re-running previous steps, and will tell you about progress/failure."
This results in:
root@teslausb:~# /etc/rc.local
My IP address is <IP_ADDRESS>
dos2unix: converting file /root/teslausb_setup_variables.conf to Unix format...
Detecting whether to update wpa_supplicant.conf
Setup doesn't seem to have completed, there is no /root/bin/archiveloop.
Try re-running /root/bin/setup-teslausb (re-downloading if needed),
or export HEADLESS=true and run /etc/rc.local if you want to run automatic setup.
Exporting HEADLESS=true and running /etc/rc.local doesn't work; it just prints the same message again:
root@teslausb:~# export HEADLESS=true
root@teslausb:~# /etc/rc.local
My IP address is <IP_ADDRESS>
dos2unix: converting file /root/teslausb_setup_variables.conf to Unix format...
Detecting whether to update wpa_supplicant.conf
Setup doesn't seem to have completed, there is no /root/bin/archiveloop.
Try re-running /root/bin/setup-teslausb (re-downloading if needed),
or export HEADLESS=true and run /etc/rc.local if you want to run automatic setup.
Running /root/bin/setup-teslausb doesn't work either, because the free space check fails:
(I think this is because the drive has already been partitioned by the setup script at this point, so there is no unpartitioned space left, but the script still expects to find enough unused space to create the backingfiles partition)
root@teslausb:~# /root/bin/setup-teslausb
Updating package index files...
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Reading package lists... Done
Verifying that the requested configuration is valid...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   693  100   693    0     0   1138      0 --:--:-- --:--:-- --:--:--  1141
Downloaded /tmp/verify-configuration.sh ...
Verifying that there is sufficient space available on the MicroSD card...
STOP: The MicroSD card is too small.
(it's 128GB card, so plenty big)

The message that /etc/rc.local prints is wrong. Submitted a pull request for correction.

Fixing the modules-load parameter in /boot/cmdline.txt...
Fixed cmdline.txt.
Starting to create backing files partition...
Checking existing partitions...
Modifying partition table for backing files partition...
Error: The location<PHONE_NUMBER>24 is outside of the device /dev/mmcblk0.

That is what I am getting when I run the setup

Getting the "location outside the device" as well.  The root partition is already using the whole as card.. not sure how that's happening.
I'm going to try reimaging the card and creating a 3rd partition so the root can't be expanded into it before booting in the raspi.
My log snippet:
...
Checking existing partitions...
Modifying partition table for backing files partition...
Error: The location<PHONE_NUMBER>8 is outside of the device /dev/mmcblk0.
root@raspberrypi:~# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 29.8 GiB,<PHONE_NUMBER>8 bytes, 62521344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4cd3a954
Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    98045    89854 43.9M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      98304 62521343 62423040 29.8G 83 Linux
root@raspberrypi:~#

Looks like the cmdline.txt has an initial script to expand the filesystem on first boot, so if you edit that while doing the rest of the first-time-setup stuff in the boot partition, it'll help.  Trying that now.

Using guidance here: https://raspberrypi.stackexchange.com/questions/56621/temporarily-disable-expand-filesystem-during-first-boot
I simply deleted the init= argument from /boot/cmdline.txt before first boot and that left the ~2G root partition per the image and left the rest of the device unallocated.  Running setup now - fingers crossed!

aaand, this is already in the repository somehow - I guess because of the way I'm doing this (on a chromebook) I'm not getting the benefit.
https://github.com/cimryan/teslausb/blob/master/pi-gen-sources/00-patches/01-cmdline-update.diff

Hi! I'm working on this today and have had to start over like 10 times.. Were you able to bypass this error by updating the cmdline.txt file?

Yep - just delete init= and everything after it before you boot from the sd card the first time.  I'm still dealing with other issues, but I'm mixing-and-matching this and another repo in order to make it work on the latest Tesla software version.

I'll give that a shot. Let me know if you get it working!

https://www.reddit.com/r/teslamotors/comments/b67f8c/single_usb_drive_for_both_music_and_cam/

Pretty sure that's already implemented with the "campercent" variable - although I had mine set to 100% since I just stream and it still created two partitions - might not have plugged it into the right spot.
The idea is the campercent is the percent of the unallocated portion of the sd card that is allocated for the camera files, and the remainder is music.

ah ok, I'll just get through the set up and see if it works then  :)
Thanks brother!

Sure thing - it looks like it defaulted to something like 90% for the camera, 10% for music.  Maybe I'll give it a try - I can live without a couple GB of camera file space.

Mattster98, it worked!!  "delete init= and everything after it"


Translate time info in notifications

This is  a feature request.
Description
See screenshot
At the moment the time info in notifications is not translated.
Be aware that we have different possibilities here:

lass than a minute
xx minutes
...

Steps to Reproduce
Login
Request a new export
run php artisan queue:work
Expected behavior
Time info should be translated
Actual behavior
Time info is in EN

closed with laravel-enso/core@7ac6b86


Page still refers to dashboards

The chart regarding roles still lists dashboards in its header rather than workbooks

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

ID: 1a7e388c-e6fd-22df-0070-b051fc09cb0c
Version Independent ID: c543b5d2-e0db-d137-acd2-43ed1f712817
Content: Permissions in Azure Sentinel
Content Source: articles/sentinel/roles.md
Service: azure-sentinel
Sub-service: azure-sentinel
GitHub Login: @yelevin
Microsoft Alias: yelevin

@garybushey Thanks for your feedback! We will investigate and update as appropriate.

This has been fixed.
#please-close


"Page limit" isn't working.

"Page limit" isn't working.

Are you referring to the number of 'pages' in the list at the bottom?
The page limit refers to the number of YouTube API query result pages it performs with a maximum of 50 items per page. The list at the bottom is configured to display 10 items per page. You can verify by checking the total item count in the list as long as it's equal to or less than 50 * page limit.
However, the page limit may only do 1 page of results because your query is too specific. If your query is too specific, in an area that is likely to have few videos, or the time frame too short, there just may not be enough results to come back.

Then you're right, it's working the way you're saying. It's just users don't know the page size, i was assuming 1 page equals the "show XX entries" value. May be the list should say "1 page (50 entries)", "2 pages (100 entries)", etc.
You can close this issue now, thanks for your reply.

41e3178dc3173ee35c8e27f76075155f84edada5 added additional comment below page limit selection box to let you know the 50 max-items per page


ProEditor 关联的leva模块，webpack5运行会报错

直接安装后，运行会报错，webpack5报如下错误
Module parse failed: Unexpected token (1:12)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

import type { UseBoundStore } from 'zustand'
| import { StoreApiWithSubscribeWithSelector } from 'zustand/middleware'
| import type { SpecialInput, RenderFn, FolderSettings, Plugin, OnChangeHandler } from './public'
ERROR in ./node_modules/leva/src/types/internal.ts 1:12
Module parse failed: Unexpected token (1:12)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
import type { UseBoundStore } from 'zustand'
| import { StoreApiWithSubscribeWithSelector } from 'zustand/middleware'
| import type { SpecialInput, RenderFn, FolderSettings, Plugin, OnChangeHandler } from './public'

能提供一些更多的信息么？我这边没有遇到你这个问题。

额，我的问题，webpack后面配了一下，好了

@johnnychengchj123 请问你后面webpack怎么配置的呢

@johnnychengchj123 请问你后面webpack怎么配置的呢

 {     test: /\.(js|mjs|jsx|ts|tsx)$/,     include: [paths.appSrc, paths.leva], }


Add UnicyclePlanner to the list of dependency to disable in CI to check if build works fine anyhow

My guess is that this is what silently caused https://github.com/robotology/robotology-superbuild/issues/907 .

Bingo, the CI fails with:
2021-11-02T13:50:41.3144123Z [ 75%] Building CXX object bindings/python/CMakeFiles/pybind11_blf.dir/bipedal_locomotion_framework.cpp.o
2021-11-02T13:50:41.4343102Z /home/runner/work/bipedal-locomotion-framework/bipedal-locomotion-framework/build/bindings/python/bipedal_locomotion_framework.cpp:32:10: fatal error: BipedalLocomotion/bindings/Planners/Module.h: No such file or directory
2021-11-02T13:50:41.4345580Z    32 | #include <BipedalLocomotion/bindings/Planners/Module.h>
2021-11-02T13:50:41.4346477Z       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-02T13:50:41.4347412Z compilation terminated.
2021-11-02T13:50:41.4366276Z make[2]: *** [bindings/python/CMakeFiles/pybind11_blf.dir/build.make:76: bindings/python/CMakeFiles/pybind11_blf.dir/bipedal_locomotion_framework.cpp.o] Error 1
2021-11-02T13:50:41.4371723Z make[1]: *** [CMakeFiles/Makefile2:4173: bindings/python/CMakeFiles/pybind11_blf.dir/all] Error 2
2021-11-02T13:50:41.4381675Z make: *** [Makefile:146: all] Error 2

Exactly like in https://github.com/robotology/robotology-superbuild/issues/907 .

Or we add the unicycle planner as a dependency if Planner component
What do you think @S-Dafarra @traversaro ?

We need something like this in the bindings
https://github.com/ami-iit/bipedal-locomotion-framework/blob/9844d832574488fac4063fb87ed21989bd97315c/src/Planners/CMakeLists.txt#L46

Why "compile"?

Or we add the unicycle planner as a dependency if Planner component
What do you think @S-Dafarra @traversaro ?

I guess this was added with https://github.com/ami-iit/bipedal-locomotion-framework/pull/320. So it should be already an optional dependency right?

MacOS failure related to https://github.com/ami-iit/bipedal-locomotion-framework/issues/685


Taxi program from code forces in c++

Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Fixes #1119
Added code for taxi program in c++ language.
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

Someone already raise this issue before you @Khushi-agarwal

@ravikr126 this issue was opened by me and I have made the pr in two languages one was c++ and the other one was java.

Yes I know but I see this issue already present in the repo by someone

Yes I know but I see this issue already present in the repo by someone

Okay @ravikr126 :)

You cN create another issue @Khushi-agarwal

@ravikr126 I have created a issue #1110 in which you had asked about the question.I have mentioned it so if you could kindly look into it.Thanks.


Problems with the $PATH variable

Hi,
I installed  the package via Melpa following the README.md, but when I try to edit go code flycheck gives me the following error:
Suspicious state from syntax checker gometalinter: Checker gometalinter returned non-zero exit code 2, but no errors from output: WARNING: exec: "deadcode": executable file not found in $PATH
WARNING: exec: "gosimple": executable file not found in $PATH
WARNING: exec: "gocyclo": executable file not found in $PATH
WARNING: exec: "staticcheck": executable file not found in $PATH
WARNING: exec: "errcheck": executable file not found in $PATH
WARNING: exec: "varcheck": executable file not found in $PATH
WARNING: exec: "ineffassign": executable file not found in $PATH
WARNING: exec: "aligncheck": executable file not found in $PATH
WARNING: exec: "unconvert": executable file not found in $PATH
WARNING: exec: "golint": executable file not found in $PATH
WARNING: exec: "structcheck": executable file not found in $PATH
WARNING: exec: "dupl": executable file not found in $PATH
WARNING: exec: "interfacer": executable file not found in $PATH
WARNING: exec: "goconst": executable file not found in $PATH

Checker definition probably flawed.

I've tried adding the go/bin directory to $PATH via
(add-to-list 'exec-path "~/go/bin/")

and
(setenv "PATH" (concat "~/go/bin/" ":" (getenv "PATH")))

but the error persists. The programs that are supposed to be missing are all installed and can be called from eshell within Emacs. My Emacs Version is 24.5. Any help would be greatly appreciated

Have you installed gometalinter following this instruction? Note that you will have to install both gometalinter, and after that gometalinter checkers.
If yes, please executes those command in shell-command (M-!) and post the results here.
echo $PATH
which gometalinter
which gosimple

Yes, I've followed the Installation instructions of gometalinter.
I've somehow fixed it (at least the error isn't appearing any longer) by hardcoding the PATH into /etc/profile. (Which is kinda strange since the same code was already in ~/.profile) And while the error is gone I still can't execute which gometalinter via M-!, where I get gometalinter not found (Same with the other tools.)I can execute them all fine via eshell on the other hand. Executing echo $PATH via M-! gets me /home/gerrit/.cabal/bin:/home/gerrit/go/bin/:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin at which point I'm just completely stumped and start believing that my Emacs might be possessed. I'm not quite sure one can do much more at this point, and since the error is gone for some strange reason, I think this issue can be closed.


Mpo sum

Refactoring and generalization of MPS environments.
Function Env(bra, target) dispatches over various contraction scenarios, where the target can be:
* ket or [ket] for <bra|ket>
* [mpo, ket]  for <bra|mpo|ket>
* [[mpo_1, mpo_2, ...], ket] for <bra}| \sum_i mpo_i | ket>.
* [[ket_1], [mpo_2, ket_2], [[mpo_3, mpo_4], ket_3]] for a sum of any combination of the above.

This  appears in all functions using environments (to the extend it makes sense).
Algorithm relying on environments can handle:

a new special class MpoPBC that was introduce for periodic-boundary operators (e.g., transfer matrices).
a flag added by mpo.on_bra() function to apply mpo on an auxliary (bra) leg of the state (density matrix).
This allows e.g., for Heisenberg picture simulation of an operator.

In dmrg_, replace the idea of projecting out some states with penalty term appearing in the cost function.
This is handled by one of the new environment classes.
Improved yastn.tn.mps testing with code coverage close to 100%.
Updated documentation.
Small auxiliary function updates:
New function neg  (for tensor and mps)
add_leg() can take argument leg [useful for fused dimension-one legs]
eye(isdiag=False)  can create a diagonal tensor of any signature (previously only s=(1, -1) or (-1, 1))
mps.reverse_sites()  to flip the order of MPS sites.
New short-hands: mps.H  or mps.conjugate_transpose()

Ready


add TString deallocation step

When I compare TString usage in cppflow and tensorflow's unittest, it seems that deallocation step may be required. But I did not check actual implementation of TString, so if I am wrong, please let it go.
https://github.com/tensorflow/tensorflow/blob/2305f9d0a58921987788fbd1d8fa43eda888233f/tensorflow/core/platform/ctstring_test.cc#L34-L68

I believe this should be merged, though not tested. Thanks.
In addition, we also need to add test cases for the string typed tensor.

This solution does not work, as it deallocates before using the tensor.


Scala 2.13.1 + Updated dependencies

Cross compile to 2.13, update to scala 2.12.10, sbt 1.3.0, fs2 2.0.0, scalatest 3.1.0-SNAP13, box-java-sdk to 2.37.0, google-cloud-storage 1.91.0, google-cloud-nio 0.109.0-alpha, aws-java-sdk-s3 1.11.631, jsch 0.1.55
Based on current master.
sbt-rig plugin requires jumping over some hoops to make things work.
This PR just updates dependencies, code changes are only to make everything compile and run (No changes to use cats.effect.Blocker to block on correct EC for blocking operations, those changes would be part of next PR, and/or #52).

https://github.com/typelevel/kind-projector/issues/116 😐


Model stuck loading

I'm on an M2 Max macbook and this happens
Requested to load SD1ClipModel Loading 1 new model [AnimateDiffEvo] - INFO - Sliding context window activated - latents passed in (50) greater than context_length 16. [AnimateDiffEvo] - INFO - Injecting motion module mm_sd_v15_v2.ckpt version v2. Requested to load BaseModel Loading 1 new model   0%|                                                                                | 0/25 [00:00<?, ?it/s]
The model just will never load

It seems like you're using the AnimateDiffEvo repo and not this one.
But based on the logs it's not the model not being loading, but more like the generation couldn't start.

Hi there. The same happens to me. I am not sure how to proceed from here.

Currently experiencing this on an M1; generation doesn't start. Anyone find a fix?


After crafting an item the items drop out of the crafting table giving me the item and items I used to craft it

Java version: build 1.8.0_66-b17
OS: Mac OSX El Capitan (10.11)
Glowstone ver.: newest (40df0c7)
What I did:
I used creative mode the get 2 sticks and a diamond then I switched back and put them into a crafting table to make a diamond shovel. After I pulled out the shovel the items disappeared from the other slots (as they should) then I exited out and items that I used to craft the diamond shovel dropped to the ground with the shovel that I crafted still in my inventory.

I tested it and this only happens on a click, not a shift click. Crafting does not happen when the client clicks, so the items only disappear to the client, but the server thinks it is still there.


Added home section

I have added this home section if user is not logedin

please checkout this

@shivamy009 Deployment failed and It is very basic design.

@shivamy009
This pull request has been closed due to inactivity and unresolved conflicts. If you're still interested in working on this issue, please resolve the conflicting files and feel free to raise a new PR.
We appreciate your contributions and look forward to your updates!
Thanks!


Unable to start 2.0.0-beta.0 inside podman container

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Unable to start the beta version of Uptime-Kuma using the following command: sudo podman run -d --replace --restart=always -p 3001:3001 -v ~/uptime-kuma-beta/data:/app/data --name uptime-kuma-beta louislam/uptime-kuma:beta
📝 Error Message(s) or Log
Welcome to Uptime Kuma
Your Node.js version: 20.18.0
2024-12-04T13:42:28Z [SERVER] INFO: Env: production
2024-12-04T13:42:29Z [SERVER] INFO: Uptime Kuma Version: 2.0.0-beta.0
2024-12-04T13:42:29Z [SERVER] INFO: Loading modules
2024-12-04T13:42:29Z [SERVER] INFO: Creating express and socket.io instance
2024-12-04T13:42:29Z [SERVER] INFO: Server Type: HTTP
Trace: Error: EACCES: permission denied, mkdir 'data/upload/'
at Object.mkdirSync (node:fs:1371:26)
at Database.initDataDir (/app/server/database.js:146:16)
at /app/server/server.js:173:14
at Object. (/app/server/server.js:1624:3)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: 'data/upload/'
}
at process.unexpectedErrorHandler (/app/server/server.js:1872:13)
at process.emit (node:events:519:28)
at emitUnhandledRejection (node:internal/process/promises:250:13)
at throwUnhandledRejectionsMode (node:internal/process/promises:385:19)
at processPromiseRejections (node:internal/process/promises:470:17)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
If you keep encountering errors, please report to https://github.com/louislam/uptime-kuma/issues
🐻 Uptime-Kuma Version
v<IP_ADDRESS>-beta.0
💻 Operating System and Arch
RHEL 9
🌐 Browser
not used
🖥 Deployment Environment
not used

Trace: Error: EACCES: permission denied, mkdir 'data/upload/'

What are the permissions of data/upload

The folder data/upload/ doesn't excist. The folder data is created by me with 0755 rights.

Trace: Error: EACCES: permission denied, mkdir 'data/upload/'

What are the permissions of data/upload

The folder data/upload/ doesn't excist. The folder data is created by me with the permissions set at 0755


Enable writing formatted data to Klasse

For object based classifications, the class ID contains metadata from the case.
Add ability to set class ID using ${name} formats.

Duplicate of #7


Any Support for discriminator-based multi-tenancy?

Hi, I learned your code, which is based on a Shared Schema.I would like to know if there is a practice based on discriminator.
I have to use  discriminator-based multi-tenancy! You know, I have a tenant_id field for each table.
I know from here) that Hibernate doesn't have a practical solution for now, but I'm not sure if this issue has actually been turned off.
Looking forward to your reply. I really want to discuss it with someone.

I would go for Row Level Security in PostgreSQL. Basically you create a User / Role per Tenant in the database. By setting policies on tables per row-level you can make sure, that a tenant is only allowed to read the subset.
Here is a nice writeup for PostgreSQL:

https://aws.amazon.com/blogs/database/multi-tenant-data-isolation-with-postgresql-row-level-security/

This is what I would do. I am sure other databases have similar features.

It was interesting to see how it could be done.
I have added an example project for the Shared Database, Shared Schema Multitenancy model here:

https://github.com/bytefish/SpringBootMultitenancyUsingRowLevelSecurity

It uses the Postgres Row Level Security Feature for providing data isolation per tenant.
There is also a blog post, that adds some more information.


Revert "Revert "Release Python3.8 wheels for Windows""

Reverts grpc/grpc#21339
Original PR #21271
This PR aims to stabilize the interfering between Windows installers...

@gnossen @jtattermusch PTAL. Welcome any better solutions than the flip trick!

@gnossen PTALA. To reduce flakiness:

This PR installs Golang before Python 3.8;
Switch from passive install mode to quiet install mode, remove the GUI factor;
As suggested by @gnossen, adding a check with timeout to ensure the installation process is properly exited.

Known failures: https://github.com/grpc/grpc/issues/21355


chore: Abstract prometheus metrics to interfaces

Fixes #N/A
Description
This leverages https://github.com/awslabs/operatorpkg/pull/92 to create abstract metrics so that you can create an arbitrary pipeline for routing metrics beyond prometheus
For instance,
status.TerminationDuration = pmetrics.NewMultiObservation(
	status.TerminationDuration,
	pmetrics.NewEMFObservation(writer, "operatorpkg", "operator_termination_duration_seconds", []string{"group", "kind", "namespace"}),
)

How was this change tested?
make presubmit
/karpenter snapshot
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

15 of 15 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 82.798%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.02%

Covered Lines:
5675

Relevant Lines:
6854

💛  - Coveralls


Add a sample application for the web client SDK

This sample application demonstrates the new web client library for Microsoft Graph notifications, @microsoft/user-notifications-client version 0.1.7.
The sample app lets you do the following:

Sign in using a Microsoft Azure Active Directory user account. (If you'd like to use a personal, free-of-charge Microsoft account, follow the instructions in the included README file to modify the sample code.)
Subscribe and unsubscribe for Microsoft Graph notifications.
Receive push notifications from the Graph notifications server.
Fetch Graph notifications (notification data is logged to the JavaScript console).
Update Graph notification state and delete Graph notifications.

To do Azure AD user authentication, this sample app uses the Microsoft Authentication Library for JavaScript (MSAL.js). Microsoft recommends you use MSAL when building your Graph notifications client app, but you can feel free to use any OAuth web authentication library.
We hope you find this sample app useful!

Microsoft-internal reviewers, please note that this code has already been reviewed internally under PRs 128, 132, and 144.


Cleanup - DirectedGraph

DirectedGraph does not have centralized state, the same state is stored in the graph and the node (forwarding edges).
There is also a lot of dead code that can be removed.

I'd recommend eliminating the Graph project entirely.  The only thing we really need is topological ordering.  We could probably do that better with a simple adjacency matrix or something.  There could be some lean NuGet packages out there that might give us what we need.

I only see this now. Yes, agree on getting rid of the graph library. I have some code ready which can do depth first and topological sort enumeration on any type without the need of a graph, I could create a new issue for this

Yes, I have used similar approaches in the past to implement graph algos.  I'm not 100% sure where we'd put those extensions - possibly just in Cql.Abstractions.  That's an overarching project that both the compile-time and run-time projects need.


Unclear instructions for installing the WPA extension (perf_msvcbuildinsights.dll)

Quote:

Visual Studio 2019 version 16.6 and above.
... unfortunately there is no perf_msvcbuildinsights.dll in VS2022.

The alternative, the instructions state, is the use of this NuGet package (moniker Microsoft.Cpp.Buildsights); alas, again no perf_msvcbuildinsights.dll to be found far and wide after downloading and unpacking the package (I am unable to follow the dotnet add package instructions, it seems).
So where does one get the perf_msvcbuildinsights.dll file from?
Does one really need to keep a VS2019 installation around to make use of this?
Thank you!

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

ID: 8e8c6235-3094-06cd-e709-bec9d0d8a294
Version Independent ID: 45e56020-cbf8-7c83-2728-772e65755bdd
Content: Tutorial: vcperf and Windows Performance Analyzer
Content Source: docs/build-insights/tutorials/vcperf-and-wpa.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @kevcadieux
Microsoft Alias: kevca

We are in the process of moving away from GitHub issues for C++ documentation (we still accept pull requests). For details, please see Announcing a new way to give feedback on Microsoft Learn This issue will be closed after it is copied to an internal system.

@exoosh Thank you for bringing this to our attention. We need to update the document.
There is no need to copy that file anymore. It already comes with the Windows Performance Toolkit (WPA is part of it) AND the Windows Performance Toolkit gets installed by default with C++ Build Insights (VS 2022)

@exoosh Thank you for bringing this to our attention. We need to update the document.
There is no need to copy that file anymore. It already comes with the Windows Performance Toolkit (WPA is part of it) AND the Windows Performance Toolkit gets installed by default with C++ Build Insights (VS 2022)

@NelsonDaniel Thanks for leaving this info here already. And thanks for tending to it!
PS: please close at your discretion as I don't know if you still track stuff here until it is done.

Thanks @NelsonDaniel!  And thank you @exoosh  for taking the time to improve the docs. Unfortunately, I need to close this as we are in the process of moving away from GitHub issues. I know that this is being worked on and that your issue will be addressed. Take care.


Exception on Centos. Working fine on macOS

Hey,
ran into another issue with mythril today. Running truffle compile && myth --truffle throws the following exception in our CI (based on centos:7):
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 968, in _sym_exec
    callee_address = hex(helper.get_concrete_int(to))
  File "/usr/lib/python3.6/site-packages/laser/ethereum/helper.py", line 72, in get_concrete_int
    return simplify(item).as_long()
AttributeError: 'BitVecRef' object has no attribute 'as_long'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/myth", line 9, in <module>
    mythril.interfaces.cli.main()
  File "/usr/lib/python3.6/site-packages/mythril/interfaces/cli.py", line 134, in main
    mythril.analyze_truffle_project(args)
  File "/usr/lib/python3.6/site-packages/mythril/mythril.py", line 139, in analyze_truffle_project
    return analyze_truffle_project(*args, **kwargs)  # just passthru for now
  File "/usr/lib/python3.6/site-packages/mythril/support/truffle.py", line 44, in analyze_truffle_project
    sym = SymExecWrapper(ethcontract, address, max_depth=10)
  File "/usr/lib/python3.6/site-packages/mythril/analysis/symbolic.py", line 22, in __init__
    self.laser.sym_exec(address)
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 265, in sym_exec
    node = self._sym_exec(gblState)
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 927, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 927, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 927, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  [Previous line repeated 20 more times]
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 904, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 854, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 854, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 854, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 904, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 904, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 1001, in _sym_exec
    state.mem_extend(memoutstart, 1)
  File "/usr/lib/python3.6/site-packages/laser/ethereum/svm.py", line 115, in mem_extend
    if (start < 4096 and sz < 4096):
  File "/usr/lib/python3.6/site-packages/z3/z3.py", line 318, in __bool__
    raise Z3Exception("Symbolic expressions cannot be cast to concrete Boolean values.")
z3.z3types.Z3Exception: Symbolic expressions cannot be cast to concrete Boolean values.

How to reproduce

docker pull centos:7
docker run -it centos /bin/sh
yum -y update
yum -y install yum-utils
yum -y groupinstall development
yum -y install https://centos7.iuscommunity.org/ius-release.rpm
yum -y install python36u
yum -y install python36u-pip
yum -y install python36u-devel
pip3.6 install --upgrade pip
yum install openssl-devel wget bzip2
pip3.6 install mythril
git clone https://github.com/brickblock-io/smart-contracts
cd smart-contracts
truffle compile
myth --truffle

It works fine on macOS for me, and it used to work fine in centos for us until recently.
Were any new system-level dependencies added for mythril? Unfortunately there's no install instructions for rpm-based distros like debian or centos so I'm tapping in the dark here a little bit.

It does not work on macOS too.
memoutstart:
160 +
32*
Concat(0,
       Extract(255,
               5,
               31 +
               calldata_ExchangeRates_4 + calldata_ExchangeRates_4)) +
160

I'll try to handle this symbolic memory access.

same here on mac os 10.13.4, python 3.6.5
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 581, in _sym_exec
    dstart = helper.get_concrete_int(op1)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/helper.py", line 72, in get_concrete_int
    return simplify(item).as_long()
AttributeError: 'BitVecRef' object has no attribute 'as_long'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/myth", line 9, in <module>
    mythril.interfaces.cli.main()
  File "/usr/local/lib/python3.6/site-packages/mythril/interfaces/cli.py", line 202, in main
    max_depth=args.max_depth)
  File "/usr/local/lib/python3.6/site-packages/mythril/mythril.py", line 322, in fire_lasers
    max_depth=max_depth)
  File "/usr/local/lib/python3.6/site-packages/mythril/analysis/symbolic.py", line 22, in __init__
    self.laser.sym_exec(address)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 265, in sym_exec
    node = self._sym_exec(gblState)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 927, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 904, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 904, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 854, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 904, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 904, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 854, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 854, in _sym_exec
    new_node = self._sym_exec(new_gblState)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 584, in _sym_exec
    state.mem_extend(mstart, 1)
  File "/usr/local/lib/python3.6/site-packages/laser/ethereum/svm.py", line 128, in mem_extend
    raise Exception
Exception```

@JoranHonig Try to fix in https://github.com/b-mueller/laser-ethereum/pull/35.
Help review please.


Switch bitblob from dub fetch to git submodules

Same version, same code, but it should be easier to deal with and more predictable

Yay, it's green.

This is ready to go

So if I have any build scripts of my own, I have to make sure to use --skip-registry=all always?

No


Cherry picking

Fixes #8657

added unit tests for generateSupportLink

added one more test case for generateSupportLink

use it.each method to combine separate tests that are related

Could you link to the issue that this PR resolved via the fixes <issue link> notation from the PR template? That makes it easier for everyone to review, connects it in the gh interface and ensure the issue gets to the correct state once this RR merges.
Having said that though, https://github.com/rancher/dashboard/issues/8657 looks like it targets v2.7.next3, is there a specific 2.7.5 issue?

Could you link to the issue that this PR resolved via the fixes <issue link> notation from the PR template? That makes it easier for everyone to review, connects it in the gh interface and ensure the issue gets to the correct state once this RR merges.
Having said that though, #8657 looks like it targets v2.7.next3, is there a specific 2.7.5 issue?

I linked the issue, but I am not really sure about the milestone. I'll ask Neil about it and come back to you.

The target branch of this PR is release-2.7.5 and needs a specific github issue with a v2.7.5 milestone.
The one linked is for v2.7.next3, the github automation has run and changed the PR milestone to match that issue. However if no-one has requested a backport of that issue, no need to backport the feature. Given where we are with 2.7.5 guessing that's the case  (we're pretty much only fixing blockers).

The target branch of this PR is release-2.7.5 and needs a specific github issue with a v2.7.5 milestone.
The one linked is for v2.7.next3, the github automation has run and changed the PR milestone to match that issue. However if no-one has requested a backport of that issue, no need to backport the feature. Given where we are with 2.7.5 guessing that's the case (we're pretty much only fixing blockers).

@richard-cox So here's the problem, my changes related to the issue #8657 was merged into master branch before release-v.2.7.5 branch being created, then I created another PR just writing unit tests for that fix which this backport is all about.
I mentioned this to Gary and he thinks it's better to revert my change to not be included in 2.7.5 at all.

@richard-cox I have created a PR to revert, once it's merged I'll close this PR


Updated Krita to <IP_ADDRESS>

Thank you for the contribution. It was merged directly as f47400b8abd3d55e69d5ae876b854ba79bf28415 to keep commit history cleaner. Your contribution is still credited to you.


Remove gRPC and HTTP server interdependency in services

FEATURE REQUEST

Is there an open issue addressing this request? If it does, please add a "+1" reaction to the
existing issue, otherwise proceed to step 2.

Describe the feature you are requesting, as well as the possible use case(s) for it.

Currently, all services have gRPC and HTTP servers started by main.go. If any of those 2 servers sends an err to errs channel, it will cause the whole service to terminate.
Maybe it would be better to rearrange the code, so for example the gRPC server error doesn't necessarily cause the whole service to terminate, thus leaving the HTTP server operational.

Indicate the importance of this feature to you (must-have, should-have, nice-to-have).

I think this is a nice to have feature.

@nmarcetic @anovakovic01 @dusanb94 what is your opinion on this? Do we need just one server running, or would we prefer restarting whole service (to reinitialize the state)?

@drasko No gRPC no healthy service (we use gRPC for internal logic, mostly for AutX and AutZ), no HTTP API no healthy service. IMHO does not make sense to keep service running with only one  healthy server.

@nmarcetic I agree. I always liked Erlang's philosophy "Let it crash". Rather restart the whole serive into a known state that try to recover from various errors. This especially comes actual today when k8s plays at some extent the role of Erlang's supervisor processes...
I will colose this issue, please re-opne if needed.


Improve test coverage to 80%

I'll try this issue.

use https://pypi.org/project/pytest-cov/ can check coverage in local

I'll try this!


go sub tests names needs to be regex quoted

go test -v ./domain/transforming/transformers/internal/denom -run="^\QTest_Shorten\E$"/"^\Qinterval [1, 500] - step 1\E$"

that's how it is supposed to be able to run any sub-test.

i have no idea why the tests are failing because a lot of them are not even related.

@ray-x can you help me a lil bit?

@ray-x 👋

Thanks for the PR
I think you need to update the lua/test/go_test_spec.lua
e.g
    eq({ 'go', 'test', './coverage', '-run', [['^Test_branch$'/"b10"]] }, cmd)

may need to be updated to something like
    eq({ 'go', 'test', './coverage', '-run', [['^\QTest_branch\E$'/"\Qb10\E"]] }, cmd)

Also, I do not think changing Test_branch to \QTest_branch\E helps much. I agree the sub-case name change could help.

Thanks for the PR I think you need to update the lua/test/go_test_spec.lua e.g
    eq({ 'go', 'test', './coverage', '-run', [['^Test_branch$'/"b10"]] }, cmd)

may need to be updated to something like
    eq({ 'go', 'test', './coverage', '-run', [['^\QTest_branch\E$'/"\Qb10\E"]] }, cmd)

Also, I do not think changing Test_branch to \QTest_branch\E helps much. I agree the sub-case name change could help.

Yes, I agree with the method name but it's how JetBrains runs the tests so I thought it might be a reason that might not be obvious to me at this moment. :)

@ray-x fixed the tests but I have no idea how I could make those tests run on my local before I push to upstream.
make localtest
nvim --headless --noplugin -u lua/tests/init.vim -c "PlenaryBustedDirectory lua/tests/ {minimal_init = 'lua/tests/init.vim'}"
Error detected while processing /Users/viorel/Projects/vcraescu/go.nvim/lua/tests/init.vim:
line   33:
E5108: Error executing lua [string ":lua"]:3: module 'plenary/busted' not found:
        no field package.preload['plenary/busted']
        no file './plenary/busted.lua'
        no file '/opt/homebrew/share/luajit-2.1/plenary/busted.lua'
        no file '/usr/local/share/lua/5.1/plenary/busted.lua'
        no file '/usr/local/share/lua/5.1/plenary/busted/init.lua'
        no file '/opt/homebrew/share/lua/5.1/plenary/busted.lua'
        no file '/opt/homebrew/share/lua/5.1/plenary/busted/init.lua'
        no file './plenary/busted.so'
        no file '/usr/local/lib/lua/5.1/plenary/busted.so'
        no file '/opt/homebrew/lib/lua/5.1/plenary/busted.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        [string ":lua"]:3: in main chunk
Error detected while processing command line:
E492: Not an editor command: PlenaryBustedDirectory lua/tests/ {minimal_init = 'lua/tests/init.vim'}

@ray-x can you review this please?

@ray-x I think it needs a kick?


Allow closing windows at runtime

Objective
Fixes #3180, builds from https://github.com/bevyengine/bevy/pull/2898
Solution
Support requesting a window to be closed and closing a window in bevy_window, and handle this in bevy_winit.
This is a stopgap until we move to windows as entites, which I'm sure I'll get around to eventually.

@superdump, once you're happy with this, feel free to merge it in.

bors r+


Windows Key as PowerToys Run

Description of the new feature / enhancement
Implementation of setting the Windows key to run PowerToys Run. Grant the ability to add shortcuts to launch the normal Start Menu (Such as Ctrl + Win Key still restores normal functionality)
Scenario when this would be used?
This will be used all the time due to the high amount of options that are available within PowerToys Run. The search is a lot more accurate than the original start menu and removes clutter - a simple search feature with a single button.  To change this to a duo button press takes the momentum away from me typing, due to the similar functionality of PowerToys Run and how searching works on Windows already - this would feel like more of a QoL improvement as well as a feature enhancement.
Supporting information
Shortcut must not run on immediate tap, only upon lift IF no other key has been pressed whilst the Windows key is depressed.
Optional Game Mode - as I work on and play both on a single PC, having the option to prevent the Windows Key being triggered whilst PowerToys Run is the new shortcut to stop the GUI launching and taking me away from a fullscreen application could improve a lot of peoples configurations. This could also have an override shortcut to disable it to allow for full control even.

/dup https://github.com/microsoft/PowerToys/issues/3269


More Camera Commands

See #1.

[x] Move Up
[x] Move Down
[x] Move Left
[x] Move Right
[ ] find other camera commands, this surely can't be it

@dodekeract Talking about issue #1 I was only talking about panning, up, down, left, and right I'm currently unaware of any other directions

okay, will close this then for now, thanks


README; docs; better references; icwt arg fix

Fixes #91

Codecov Report

Merging #93 (27a2897) into master (f709cfd) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master      #93      +/-   ##
==========================================
- Coverage   92.05%   92.03%   -0.03%
==========================================
  Files          17       17
  Lines        3476     3478       +2
==========================================
+ Hits         3200     3201       +1
- Misses        276      277       +1

Impacted Files
Coverage Δ

ssqueezepy/_cwt.py
93.42% <ø> (ø)

ssqueezepy/ridge_extraction.py
100.00% <100.00%> (ø)

ssqueezepy/ssqueezing.py
91.61% <100.00%> (-0.55%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

how do I mute this guy from sending notifications


report warning while build with sqlite3 lib.(contains C code using ld tool)

What version of Go are you using (go version)?

$ go version
go version go1.12.5 darwin/amd64

Does this issue reproduce with the latest release?
Yes,still apears in go version go1.12.6 darwin/amd64
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/violin/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/violin/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12.5/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.5/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/violin/Projects/go/src/violin/sq/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/9k/g9fr68yx00dfx_9790kccrb80000gn/T/go-build560338982=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

details described in issue
What did you expect to see?
no warnings
What did you see instead?
# violin/sq
ld: warning: building for macOS, but linking in object file (/var/folders/9k/g9fr68yx00dfx_9790kccrb80000gn/T/go-link-904695182/go.o) built for

Please let me know if I'm misunderstanding the issue filed, but it looks like this is more of a question than it is a bug that needs to be fixed. For questions about Go, see https://golang.org/wiki/Questions.

I had the same problem and found a fix. You need to update the Mojave's Command Line Tools manually using the installer available here https://developer.apple.com/download/more/
Take the most recent corresponding to your macOS version. That was Command Line Tools (macOS 10.14) for Xcode 10.2.1.dmg for me. Tell me if it solved your issue.

I had the same problem and found a fix. You need to update the Mojave's Command Line Tools manually using the installer available here https://developer.apple.com/download/more/
Take the most recent corresponding to your macOS version. That was Command Line Tools (macOS 10.14) for Xcode 10.2.1.dmg for me. Tell me if it solved your issue.

Worked for me on Mojave as well.


Only show CC icon for video

I know is not a common case, but consider a person learning a new language, having both audio and text  description (technically is a caption not a subtitle).

@grunjol I've never seen a caption file with an audio tag. Is that actually possible?
If we want to support this, I think the right way is to have an "Add Subtitle File..." menu item like VLC has that the user can use when the CC icon is missing.


New sciline release

Prepares the package for the new sciline release.
Not sure if there are more things that should be done. Please take a look an make some suggestions.
The behavior changes slightly in this PR despite it being a refactoring, because there is still no mechanism for optional inputs in providers as far as I understand, and the orso file writing relied on the old behavior there.

The changes here are small, so I think it doesn't matter if this or #51 gets merged first.

The changes here are small, so I think it doesn't matter if this or https://github.com/scipp/essreflectometry/pull/51 gets merged first.

That's fine with me, go ahead and merge #51.


Prevent SVG transform from clobbering previous nodes

Maintains indices after transform by rerunning findInstances. We could make it a little more performant maybe by iterating indices but this is the more consistent approach.
Wasn't exactly sure how to best write a test for this case so I kept the test simple.
Fixes #85

Thanks for the PR, much appreciated!


UI update

UI element added to display (Damage per Pallet) x (Projectiles) = (Total Damage) when weapons are set to use one shot but multiple projectiles.

No longer relevant after https://github.com/BattletechModders/IRTweaks/commit/f32c4f01ed1724d821f0d0bdac26876584ebd7de; refactored code to support CAC and vanilla weapons correctly (I hope!)


Set non-zero exit code on error

I noticed that when cipm fails (due to missing npm-shrinkwrap.json, oops), it still exits 0, so the CI process continues on as usual, and errors later on. This sets process.exitCode to 1 when the installer promise is rejected.
I don't write a lot of JS so I'm not sure if this is the right way to do this (rather than using process.exit(1)?). I also couldn't find any tests for the code in bin/cli.js - if you'd like me to add tests could you point me in the right direction?

To answer your question: the main difference between process.exitCode = 1 vs process.exit(1) is that the former allows the process to terminate normally (timers can execute, asynchronous operations finish up their work, etc), whereas process.exit(1) simply kills the process on the spot.
I think, then, that your solution is fine (though it doesn't protect against dangling/zombie operations, so it might be worthwhile to put a setTimeout in there in case things take too long, but idc, tb).

My bad, fixed now.


bugfix in me_cce_to_cache and ME testbench update

This PR fixes a bug in the the bp_me_cce_to_cache module related to handshaking on the incoming memory command port.
This PR also reworks the ME testbench scripts and fixes some out of date configs in a couple CI scripts.

LGTM

merge when CI passes

CI passed. other branches (namely dev) may require manual running of "bleach_all" on CI to capture SDK bump.


Firefox hardware video acceleration failes due to missing kcmp() system call

Describe the bug
To enable hardware video decoding in Firefox the kcmp() system call needs to be available, because mesa depends on it. This was observed on an AMD Renoir Thinkpad.
To make this work, the CHECKPOINT_RESTORE config option needs to be enabled in Linux.
To Reproduce
Steps to reproduce the behavior:

On a system with AMD GPU with firefox-wayland, follow the Arch Wiki to enable the right about:config flags for VA-API for Firefox
Run firefox with debug logs: MOZ_LOG="PlatformDecoderModule:5" firefox
See that VA-API fails to be enabled by findingVA-API FFmpeg is disabled by platform in the log when you try to play a youtube video

Expected behavior
VA-API works and video decoding is hardware accelerated.
Additional context
The issue is linked to Mesa not being able to use the kcmp() system call. This in turn leads to VA-API not being initialzed. See the big Note at the beginning of https://wiki.archlinux.org/index.php/Firefox#Hardware_video_acceleration
The kcmp() system call is exposed by the Linux kernel when the CHECKPOINT_RESTORE config option is enabled. On NixOS it defaults to off. On a Fedora box, it defaults to on.
kcmp() usage seems to have been introduced in mesa in 2020 with this commit:
commit f76cbc7901f7d500f5a4f74aedfd29970d1efd00
Author: Michel Dänzer<EMAIL_ADDRESS>Date:   Mon Jan 6 18:24:52 2020 +0100

    util: Add os_same_file_description helper

    Acked-by: Pierre-Eric Pelloux-Prayer<EMAIL_ADDRESS>    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3202>

Notify maintainers
Firefox: @edolstra
Mesa: @primeos @vcunat
Linux kernel: ??
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
 - firefox
 - firefox-wayland
# a list of nixos modules affected by the problem
module:

To make this work, the CHECKPOINT_RESTORE config option needs to be enabled in Linux.

Sounds good to me, thanks for the detailed analysis!
We currently set CHECKPOINT_RESTORE only for CRIU (66080ae4d8b0ae5830f2671d5e33cec7649a64ac, cc @bendlas) but setting EXPERT as well shouldn't be required anymore. And on Debian Buster CHECKPOINT_RESTORE=y is also set by default:
$ grep CHECKPOINT /boot/config-4.19.0-14-amd64
CONFIG_CHECKPOINT_RESTORE=y

From init/Kconfig:
config CHECKPOINT_RESTORE
        bool "Checkpoint/restore support"
        select PROC_CHILDREN
        default n
        help
          Enables additional kernel features in a sake of checkpoint/restore.
          In particular it adds auxiliary prctl codes to setup process text,
          data and heap segment sizes, and a few additional /proc filesystem
          entries.

          If unsure, say N here.

So in pkgs/os-specific/linux/kernel/common-config.nix we should be able to replace:
    criu = optionalAttrs (features.criu or false) ({
      EXPERT              = yes;
      CHECKPOINT_RESTORE  = yes;
    } // optionalAttrs (features.criu_revert_expert or true) {
      RFKILL_INPUT          = option yes;
      HID_PICOLCD_FB        = option yes;
      HID_PICOLCD_BACKLIGHT = option yes;
      HID_PICOLCD_LCD       = option yes;
      HID_PICOLCD_LEDS      = option yes;
      HID_PICOLCD_CIR       = option yes;
      DEBUG_MEMORY_INIT     = option yes;
    });

with just CHECKPOINT_RESTORE  = yes; and an explanation that this is required for CRIU and Mesa.

Sounds OK at a quick look, but it would be nice to test it fixes the acceleration before merging that.  (even though it seems more about mesa using the syscall than about firefox)

@vcunat

Sounds OK at a quick look, but it would be nice to test it fixes the acceleration before merging that. (even though it seems more about mesa using the syscall than about firefox)

Good call. I retested everything with the same settings with and without CHECKPOINT_RESTORE and the only difference at the moment is that without it Mesa complains when starting Firefox:
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!

But VA-API works in both cases despite the ominous warning. I could have sworn it didn't until I changed the kernel settings. :confused:

@vcunat What do you think. Should we enable kcmp anyway now that mesa seems to depend on it? It seems like the right thing to do.

Coincidentally, upstream seems to be changing kcmp() to be available without CHECKPOINT_RESTORE. See https://lwn.net/Articles/845448 (only freely available on February 25) or just look at the patchset<EMAIL_ADDRESS>This isn't to say that we shouldn't enable CHECKPOINT_RESTORE, just that it might not be necessary in the long run.

I expect it's worth getting kcmp() by default.  I believe we'll be defaulting to 5.4 or 5.10 kernels for quite some time (about a year at least) and those branches surely won't change in this respect anymore.  (I assume they need CHECKPOINT_RESTORE for kcmp() but I haven't verified that.)

We could just backport the patch ourselves, but since we don't really do that kind of thing AFAIK, we can just enable CHECKPOINT_RESTORE and maybe think about disabling it again, when an upstream stable kernel doesn't need it for kcmp() anymore.
Do we have any defined processes on how do decide on kernel config or is it as ad-hoc as everything else?

I believe there's no process for that.

So CHECKPOINT_RESTORE was removed from EXPERT with this commit, which landed in Linux 4.19:
commit 5cb366bb3a746f6b06ea086b322e21e345401c9d
Author: Adrian Reber<EMAIL_ADDRESS>Date:   Tue Aug 21 22:01:17 2018 -0700

    init/Kconfig: remove EXPERT from CHECKPOINT_RESTORE

@vcunat @primeos I gave this a shot in #113236.


fix/update the grant all on schema macro for snowflake

This PR is the solution to this issue and updates the macro to be on the future database objects level.

oh wait, this needs a run_query macro in it, ignore me.