Toltec-bootstrap installation error

When running bootstrap, the downloads for the patched wget and the opkg binary proceed without issue, but the installation does not continue.
Steps to reproduce the behaviour:

Connect device to wifi.
SSH into device.
Download the bootstrap script with wget http://toltec-dev.org/bootstrap

Installation should proceed as normal or spit out an error. The process was working as of 2024/02/23, but is not as of 2024/02/25.
Log:
root@reMarkable:~# echo "04a28483286f88c5c7f39e352afb62adc57f6162a29fd7e124d832205bb0980e  bootstrap" | sha256sum -c && bash bootstrap
bootstrap: OK
INFO:  Fetching secure wget
INFO:  Bootstrapping Opkg
2024-02-25 23:38:48 URL:https://bin.entware.net/armv7sf-k3.2/installer/opkg [752572/752572] -> "/home/root/.local/bin/opkg" [1]
2024-02-25 23:38:49 URL:https://toltec-dev.org/stable/rmall/toltec-bootstrap_0.2.3-1_rmall.ipk [6756/6756] -> "/tmp/toltec-bootstrap_0.2.3-1_rmall.ipk" [1]

Error when opkg install ... portion of script no longer has its errors redirected to /dev/null:
Unknown package 'toltec-bootstrap'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency coreutils-tsort for toltec-bootstrap
 * pkg_hash_check_unresolved: cannot find dependency toltec-base for toltec-bootstrap
 * pkg_hash_fetch_best_installation_candidate: Packages for toltec-bootstrap found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package toltec-bootstrap.

Device: ReMarkable 2
OS version: <IP_ADDRESS>9

This device had toltec installed on it previously, but has been factory reset and updated twice before reverting to <IP_ADDRESS>9. Execution does not proceed past opkg install ... portion of script due to error. As suggested by @Eeems , I submitted this issue and will walk through the script step by step to attempt to identify a cause.

I can replicate this in the run-in-remarkable test action: https://github.com/Eeems-Org/run-in-remarkable-action/actions/runs/8041803942/job/21961567916

Here is the opkg output with verbosity -V4.
INFO:  Fetching secure wget
INFO:  Bootstrapping Opkg
2024-02-26 06:21:36 URL:https://bin.entware.net/armv7sf-k3.2/installer/opkg [752572/752572] -> "/home/root/.local/bin/opkg" [1]
2024-02-26 06:21:38 URL:https://toltec-dev.org/stable/rmall/toltec-bootstrap_0.2.3-1_rmall.ipk [6756/6756] -> "/tmp/toltec-bootstrap_0.2.3-1_rmall.ipk" [1]
opkg_install_cmd: /tmp/toltec-bootstrap_0.2.3-1_rmall.ipk
pkg_init_from_file: applying abpkg flag to /tmp/toltec-bootstrap_0.2.3-1_rmall.ipk
opkg_prepare_url_for_install: Package toltec-bootstrap provided by hand (/tmp/toltec-bootstrap_0.2.3-1_rmall.ipk).
flag_related_packages: propagating pkg flag to dependent abpkg coreutils-tsort
flag_related_packages: propagating pkg flag to dependent abpkg toltec-base
pkg_vec_insert_merge: Adding new pkg=toltec-bootstrap version=0.2.3 arch=rmall.
pkg_hash_load_feeds:
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg coreutils-tsort
pkg_hash_load_package_details_helper: found yet incomplete flagged abpkg toltec-base
pkg_hash_load_package_details: Found 2 packages requiring details, reloading feeds
pkg_hash_load_feeds:
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg coreutils-tsort
pkg_hash_load_package_details_helper: skipping already seen flagged abpkg toltec-base
pkg_hash_load_status_files:
pkg_info_preinstall_check: Updating file owner list.
pkg_hash_fetch_best_installation_candidate: Best installation candidate for toltec-bootstrap:
pkg_hash_fetch_best_installation_candidate: Adding toltec-bootstrap to providers.
pkg_hash_fetch_best_installation_candidate: toltec-bootstrap arch=rmall arch_priority=200 version=0.2.3.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=(nil)
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=(nil)
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=(nil)
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=(nil)
Unknown package 'toltec-bootstrap'.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
write_status_files_if_changed: Nothing to be done.
hash_table: pkg-hash, 12288 bytes
	n_buckets=1024, n_elements=3, n_collisions=0
	max_bucket_len=0, n_used_buckets=3, ave_bucket_len=1.00
	n_hits=3, n_misses=4
hash_table: file-hash, 12288 bytes
	n_buckets=1024, n_elements=0, n_collisions=0
	max_bucket_len=0, n_used_buckets=0, ave_bucket_len=0.00
	n_hits=0, n_misses=0
hash_table: obs-file-hash, 768 bytes
	n_buckets=64, n_elements=0, n_collisions=0
	max_bucket_len=0, n_used_buckets=0, ave_bucket_len=0.00
	n_hits=0, n_misses=0
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency coreutils-tsort for toltec-bootstrap
 * pkg_hash_check_unresolved: cannot find dependency toltec-base for toltec-bootstrap
 * pkg_hash_fetch_best_installation_candidate: Packages for toltec-bootstrap found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package toltec-bootstrap.

My guess is that the static opkg that entware provides for the install process has changed. For some reason, it's no longer respecting the --force-depends flag.


fixed compatibility for ghidrathon and jython

Fixes #62
Currently the script uses currentProgram() as a function call which is used by Ghidrathon but not Ghidra's Jython. Changing the function call to getCurrentProgram() works for both.
Tested on Ghidra 11.1.2, both with and without Ghidrathon.

Thank you!


♻ update instructions for grabbing the pathname

I've updated the documentation so that it's more clear for developers on how they should be grabbing the current pathname.
The previous iteration of the docs is ambiguous  and implies that Astro.site.pathname will return the current pathname when it should be Astro.canonicalURL.pathname.

What kind of changes does this PR include?

[ ] Minor content fixes (broken links, typos, etc.)
[x] New or updated content
[ ] Translated content
[ ] Changes to the docs site code
[ ] Something else!

Description

What does this PR change? Give us a brief description.
Did you change something visual? A before/after screenshot can be helpful.

This is a great, and helpful tweak of the docs, @shaunchander ! Welcome to Team Docs with your first PR!  🥳


Reply twitter bot

Naming: feature/descriptive-name
Reviewers: minimum 2 (Chris and/or 2 from Web or DS respectively and not person who submitted PR)
Description:
What is the motivation for changes?

Integrating twitter bot logic with ds API
setting up ds endpoints for form send and form response
function to run twitter bot initially left human called (not automatic)
What specific changes were made?
Added routes to dump data for FE (maybe not needed)
Added Added routes to send form, receive form, get unnaproved
Added functions to DB file, mostly SQL queries

----- If you have any theories about how the code runs or want to test anything a deployed app can be found here ----
http://rowendevtest.eba-bwc9wxnx.us-east-1.elasticbeanstalk.com/#/

due to the volume of data being loaded, the open api test page will freeze for any large queries, so just run them in your browser in the way they would be in production
e.g.
http://rowendevtest.eba-bwc9wxnx.us-east-1.elasticbeanstalk.com/view-data/
http://rowendevtest.eba-bwc9wxnx.us-east-1.elasticbeanstalk.com/to-approve/
http://rowendevtest.eba-bwc9wxnx.us-east-1.elasticbeanstalk.com/get-approved-timeline/
http://rowendevtest.eba-bwc9wxnx.us-east-1.elasticbeanstalk.com/get-pending/

FUTURE CHANGES

Current procfile calls for 2 workers due to app structure, two different solves, init api in each individual job as opposed to on startup ---- OR (I want to do this one >) --- Build out a distributed lock system using Redis.
Set up Alembic for DB migrations, this will allow future admins/devs to manage DBs much more easily, and is good to learn.
Set up API calls to run DMs/replies from a more complex yet more compact POST request, to manage all conversations
Test system of running multiple response types concurrently
Set up Redis distributed lock for DB connections/operations for scale safety

Submitter Checklist:

[ ] Small scope (1-2 components)
[ ] Not too many concerns in a single commit
[x] Remove extraneous comments (code in comments), print statements, to-dos, console.logs, extra fluff
[ ] Atomic, descriptive commit messages
[x] Consistent formatting
[x] Runs Locally
[x] Runs on EB

Reviewer Checklist:

[ ] Small scope (1-2 components)
[ ] Comments, print statements, to-dos, console.logs, extra fluff were removed
[x] Give feedback no matter what conversations happened elsewhere, document here (Andrew, Brody)
[x] Comment on the line of code itself (blue plus box) in files changed tab (Andrew, Brody)

Ideally there will be slightly further optimization -- but this is an evergrowing commit and the PRs should be broken down going forward


Is there any event triggered on text input?

The only way I've found to listen to the text input is to add event listener to woofmark.find(textarea).textarea and .editable objects.
Is there any other way of doing that?

Also it would be really great to trigger an event upon switching between modes. An example usage would be making the textarea autoexpand, which currently requires not only watching for new input inside the textarea, but also somehow detecting the switch away from the WYSIWYG mode, because that also means the text in the textarea might have changed.

The library uses crossvent, an event library also by @bevacqua -- so you can create events using crossvent like this: https://github.com/publiclab/PublicLab.Editor/blob/12287656c35630a77c47a547f87e12d70c89a585/src/modules/PublicLab.RichTextModule.js#L135-L149
However, I'm not sure what all the different events are, and it's still element-based, so I think you may still need to watch both elements. But the above example triggers on mode change.


Not returning 404 result code for page not found

If you go to a url that doesn't exist, either because the post has been deleted or there is no such url, you will see a message that "Sorry, we couldn't find what you were looking for."  However, the HTTP result code is 200.  It should be 404 to indicate that the URL doesn't point to anything.  This can be important for search engine indexing and other automated tools like broken link detectors.
Two example URLs:

https://www.lesserwrong.com/sdfjgdfkjgndfkgdf
https://www.lesserwrong.com/posts/QKbzD7zrbCyQEWQya/draft-link/

Indeed. This is a bit more of a Vulcan issue, but we can probably hotfix it if it doesn't get fixed there. But lower priority for now.


About the training

I use
action_gt = batch["labels"][:, 1:].to(action_preds.device)
to see the values of action_gt  and I see a lot of -100 in it. What does that mean and I don't see any -100 in action_pred

I have understood. It means padding or neglect


ENH: Attachments

This is the corrisponding PR for this PR in the main repo.
When this is done there will be a viewer and editor for the attachments of surfaces and topographies.
The new component will:

[x] list the attached files
[ ] have a working upload form
[ ] have a working delete button

Looks good - @tdbjacobs, any thoughts and/or requirements regarding attachments?

Looks great!
But we should probably add a little explanatory text that attachments should not be raw data, but simply helper files that may be useful in evaluating the raw data (such as microscope images or other related (non-topography) content.
Also, do we need a "flag inappropriate content" button just in case some one misuses our attachments?
Also we should probably put a size limit so that it doesnt take up unreasonable storage
Tevis
Tevis Jacobs
Mechanical Engineering and Materials Science
University of Pittsburgh

From: Lars Pastewka @.>
Sent: Thursday, March 21, 2024 5:35:09 PM
To: ContactEngineering/ce-ui @.>
Cc: Tevis Jacobs @.>; Mention @.>
Subject: Re: [ContactEngineering/ce-ui] ENH: Attachments (PR #62)
Looks good - @tdbjacobshttps://github.com/tdbjacobs, any thoughts and/or requirements regarding attachments?
—
Reply to this email directly, view it on GitHubhttps://github.com/ContactEngineering/ce-ui/pull/62#issuecomment-2013814267, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFOUYWUUXI6VWGHYMIHOUULYZNHA3AVCNFSM6AAAAABE7XZWXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJTHAYTIMRWG4.
You are receiving this because you were mentioned.Message ID: @.***>

Two comments:

We discussed that there should be attachments for measurements and digital surface twins.

What is the typical size of an attachment for either of those, i.e. what is a good size limit?

Storage does not cost much but I agree that there should be some limit just to fight abuse.

This looks good @IoannisNezis - no comments


line_profiler is not working

line_profiler under  https://enccs.github.io/HPDA-Python/performance/#profilers is not working.

For Thor it works, probably something is wrong with my setup


polars-cli doesn't build: unkown feature proc_macro_span_shrink

Checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest version of the Polars CLI.

Reproducible example
Example
> cargo +nightly install --locked polars-cli
error[E0635]: unknown feature `proc_macro_span_shrink`

Running context
rustup 1.26.0 (5af9b9484 2023-04-05)
cargo 1.72.0 (103a7ff2e 2023-08-15)
> rustup show
Default host: aarch64-apple-darwin
rustup home:  /Users/eskowronski-lutz/.rustup

installed toolchains
--------------------

stable-aarch64-apple-darwin (default)
nightly-aarch64-apple-darwin
1.62-aarch64-apple-darwin

installed targets for active toolchain
--------------------------------------

aarch64-apple-darwin
x86_64-apple-darwin

active toolchain
----------------

stable-aarch64-apple-darwin (default)
rustc 1.72.0 (5680fa18f 2023-08-23)

Alternate, older example
Using older install method, not locked to file:
> cargo install polars-cli
error[E0034]: multiple applicable items in scope
  --> /Users/.../.cargo/registry/src/index.crates.io-6f17d22bba15001f/polars-arrow-0.31.1/src/array/get.rs:33:17
   |
33 |         if self.is_null_unchecked(item) {
   |                 ^^^^^^^^^^^^^^^^^ multiple `is_null_unchecked` found
   |
note: candidate #1 is defined in an impl of the trait `IsValid` for the type `A`

Issue description
Uknown feature is preventing polar-cli from building.

Expected behavior
Note:
This issues is also described internally here, in a feature request.  Thought it deserved it's own bug issue, but, ofc, feel free to do with as is most useful.
Installed version
0.3.0

After releasing 0.4.0, this seems to no longer be an issue.


using code to pull metadata from WOS using scrapped data as reference

this one is most likely me doing something silly:
But when trying to use get_wos_records_from_api.py I do not manage to get the metadata and keep getting errors dumped into the log file.
Here is what I tried so far:

import code
initiate class using the inner DATA_PATHS variable as source_files , a local folder as output_dir, and the api_key from WOS.
run this:

data = wosTtr.scraped_data()
record = wosTtr.get_records_from_scraped_data(data)

so effectively:
import get_wos_records_from_api as gwr

source_files =  gwr.DATA_PATHS
output_dir ="./test_wos"
api_key = "wos_api"

wosTtr = gwr.TitlesToRecords(source_files,output_dir,api_key)

data = wosTtr.scraped_data()
record = wosTtr.get_records_from_scraped_data(data)

but no success so far...
welp!

uploaded a notebook with examples of what I have been trying, but do not seem to get things working.
https://github.com/amchagas/open-hardware-supply/blob/master/code/collect_wos_entries.ipynb

cool, thanks for the clarification!
I ran the code you mentioned above, but keep getting no data... maybe something with the API key?
Would you mind trying to run the jupyter notebook I created on your side?
Also, had to update the code a bit so that it would run on a windows machine (just the naming of the log files... substituting space and : for _ )

api_key = "wos_api"
api_key = "wos_api"
api_key = "wos_api"

ha! sorry for that.... :see_no_evil:  too sleep deprived I suppose...

You actually did the (kind of) right thing, the key should not be in a public notebook. The right thing™ would be for your code to read the key from a file in a non-shared space. So it turns out you had the right key but was including some separator they used when they sent it tot us. Glad we got that figured out (=


chore: bdd-sbhg-1587530619 to 0.0.1

chore: Promote bdd-sbhg-1587530619 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Experimental support for user extensible cppcheck  options

This change set implements the processing logic to inject user (unchecked) options into the cppcheck commandline call vector.
Note: There is yet no documentation informing the users that they can use this.
Example:
other_options: --report-progress --xml -v -l 2
... not sure about the yaml syntax here, but in commandline environment the following setting works:
OTHER_OPTIONS="--report-progress --xml -v -l 2    " python ./entrypoint.py
This resolves #22 (the implementation part).
Any feedback much appreciated.
PS: The version and help calls were reset to not check return code. This is considered good, as it is not assumed we really get the name of the binary called wrong ... and simplifies error handling.

Also replace the action.yaml with
...
  other_options:
    description: "Any other options you want to add ,seperate with a space, wrong options will cause a failure"

Small typo descriptoin -> description fixed.

Looks good.
I'll test it in a branch and let you know ASAP.

@sthagen  please enable discussion on your repo. we need to discuss something there :1:

@all-contributors please add @sthagen  for infrastructure, tests and code

Hello @sthagen, i hope you're doing fine.
i hope we revive back this pr because its really useful!
i have tested the other_options addition you made in another repo (the only way i could test this without docker)
i have created 2 repositories:

the first is a fork of this repository plus this pull request additions: https://github.com/BaderEddineOuaich/cppcheck-action
the second is a new repository which tests the additions:  https://github.com/BaderEddineOuaich/cppcheck-action-other_options-tests
and this is what the workflow outputs: https://github.com/BaderEddineOuaich/cppcheck-action-other_options-tests/runs/2316871417

if there is a better way to test this please let me know considering i haven't learnt docker yet...
and if testing is a problem, we can use this method until we figure out another better way.
we can make changes to the repos above until it works, then we perform the changes here.
Thanks in advance!

@BaderEddineOuaich  @sthagen
check: https://github.com/BaderEddineOuaich/cppcheck-action-other_options-tests/runs/2316871417
source root not found? Command '['cppcheck', '--enable=all', '--force', '--force', '-i./__tests__/exclude/', '-i./__tests__/exclude/', '--language=c', '--language=c', '--max-ctu-depth=12', '--max-ctu-depth=12', '--std=c++20', '--std=c++20', '--bug-hunting --verbose --std=c11', '--bug-hunting', '--verbose', '--std=c11', '--output-file=./CppCheckReport.txt', '.']' returned non-zero exit status 1.
details:
cppcheck: error: unrecognized command line option: "--bug-hunting --verbose --std=c11".

if you look closely: '--bug-hunting --verbose --std=c11' is one signle option in the case. along with right '--bug-hunting', '--verbose', '--std=c11' seperately
so we are getting the error for the '--bug-hunting --verbose --std=c11', need to remove this. maybe the split_other_options needs modification. not sure .
let me know if anyone is interested else I will look into it sometime.

@BaderEddineOuaich @sthagen
check: https://github.com/BaderEddineOuaich/cppcheck-action-other_options-tests/runs/2316871417
source root not found? Command '['cppcheck', '--enable=all', '--force', '--force', '-i./__tests__/exclude/', '-i./__tests__/exclude/', '--language=c', '--language=c', '--max-ctu-depth=12', '--max-ctu-depth=12', '--std=c++20', '--std=c++20', '--bug-hunting --verbose --std=c11', '--bug-hunting', '--verbose', '--std=c11', '--output-file=./CppCheckReport.txt', '.']' returned non-zero exit status 1.
details:
cppcheck: error: unrecognized command line option: "--bug-hunting --verbose --std=c11".

if you look closely: '--bug-hunting --verbose --std=c11' is one signle option in the case. along with right '--bug-hunting', '--verbose', '--std=c11' seperately
so we are getting the error for the '--bug-hunting --verbose --std=c11', need to remove this. maybe the split_other_options needs modification. not sure .
let me know if anyone is interested else I will look into it sometime.

I will take a look (but not before this European evening)

Hello @deep5050 and @sthagen,
this PR works just fine, i mistakenly forgot to remove an extra line when i was applying changes to the other repo which causes that error cppcheck: error: unrecognized command line option: "--bug-hunting --verbose --std=c11".
after removing the extra line, the action works like a charm!
sorry guys about this mistake.

well done guys 👍🏼


feat(Beaker): Support custom configurable ks_meta values

get the ks_meta from host configuration, global
provisioning config or default hardcoded in code.
The priority is following:

host
provisioning-config.yaml
default (if nothing set)
https://beaker-project.org/docs/user-guide/customizing-installation.html#kickstart-metadata-ks-meta

Approved. It works. Looks OK. But have a Q: Why is one key named ks_meta and the other kickstart_metadata shouldn't it be the same, or is there some other specific reason?

To reply to above comment the reason is just that it is more readable in my opinion ks_meta is variable passed to provider which is supported to it but it is basically kickstart_metadata which user can pass as a string. If that's not what we want we can rename it to ks_meta of course.

We can merge this. My only worry is that it will confuse users. Time will tell.


attribute interpolation does not work on shape attribute of clr-icon

Select one ...  (check one with "x")
[x] bug
[ ] feature request
[ ] enhancement

Binding or interpolating the shape attribute of the clr-icon does not work.
Sample code:
<clr-icon [attr.shape]="{{page.icon}}"></clr-icon>
Environment details

Angular version: 2.0.X

Clarity version:

OS and version:

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

@whizkidwwe1217: Works fine. Check this link: https://plnkr.co/edit/eexlZg?p=preview
Try changing your code to:
<clr-icon [attr.shape]="page.icon"></clr-icon>


Evaluate feasibility of O self-verification based on latency/cost overhead and expected false negative rate

Closing this as we are not exploring this right now.


Updated default German IBAN validation message

IBAN is an acronym. The term 'IBAN-Kontonummer' is redundant, since the 'AN' part (Account Number) already translates to 'Kontonummer'. It's like saying 'International Bank Account Number Account Number'.

This is a read only repository.
Pull Request should be send to https://github.com/symfony/symfony.
After the merge in the main repository, a sub-tree of split is done and this repository is updated.


Bump eureka-client version

Bump eureka-client version to get rid of underlying xstream vulnerability: https://nvd.nist.gov/vuln/detail/CVE-2021-29505

@SeraphC Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@SeraphC Thank you for signing the Contributor License Agreement!

Unsure what's going on here. Test fails with or without my change. Some guidance would be appreciated, failing that I'll close this PR.


About pcsx2, sorry I couldn't find an email or another way to contact you

I'm the maintainer of the pcsx2-git package for the AUR. With the recent ... work Stenz has been doing for pcsx2 I've been maintaining patches to reapply package mode and any other change I've thought weren't the best. https://aur.archlinux.org/cgit/aur.git/tree/0001-Fix-resources-Fix-CMake.patch?h=pcsx2-git If you want to keep going with the latest nightly I'll be keeping that up to date with any changes he makes

Thanks, but felt it wasn't worth trying to keep package mode given doing a manual install isn't /too/ involved (the whole thing just feels kind of silly).
Notable bits from the ebuilds are first to set the AppRoot to /usr/share/pcsx2 (could be a patch but sed is convenient for us given EPREFIX is non-static):
    sed -e "/EmuFolders::AppRoot =/s|=.*|= \"${EPREFIX}/usr/share/${PN}\";|" \
        -i pcsx2/Frontend/CommonHost.cpp || die

An alternate route could be doing like alpine and use a wrapper instead, more solid although have to install things in weird locations.
And the install:
    newbin "${BUILD_DIR}"/pcsx2-qt/pcsx2-qt ${PN}

    insinto /usr/share/${PN}
    doins -r "${BUILD_DIR}"/pcsx2-qt/resources

    dodoc README.md bin/docs/{Debugger.pdf,GameIndex.pdf,PCSX2_FAQ.pdf,debugger.txt}
    newman bin/docs/PCSX2.1 ${PN}.1

    newicon bin/resources/icons/AppIconLarge.png ${PN}.png
    make_desktop_entry ${PN} ${PN^^}

Suppose could switch to the .desktop from .github/workflows/scripts/linux/pcsx2-qt.desktop rather than our make_desktop_entry but well, leaving it alone for now. May do some cleanups later when things stop changing.
https://gitweb.gentoo.org/repo/gentoo.git/tree/games-emulation/pcsx2/pcsx2-9999.ebuild


obsidian: 1.1.15 -> 1.1.16

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for obsidian is: A powerful knowledge base that works on top of a local folder of plain text Markdown files
meta.homepage for obsidian is: https://obsidian.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.1.16 with grep in /nix/store/8nz6jfs5h369lb6vw6w44p7l50dkll2d-obsidian-1.1.16
found 1.1.16 in filename of file in /nix/store/8nz6jfs5h369lb6vw6w44p7l50dkll2d-obsidian-1.1.16

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
obsidian

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8nz6jfs5h369lb6vw6w44p7l50dkll2d-obsidian-1.1.16 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8nz6jfs5h369lb6vw6w44p7l50dkll2d-obsidian-1.1.16
ls -la /nix/store/8nz6jfs5h369lb6vw6w44p7l50dkll2d-obsidian-1.1.16/bin

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

1 package built:

obsidian

Maintainer pings
cc @AtilaSaraiva @ConradMearns @zaninime @opeik for testing.

I really should remove myself as a maintainer for obsidian since I haven't used it in months now 🫠

@opeik I can make a PR that gets the darwin hash and adds myself as a maintainer / removes you if you want :D

@qbit That would be great, I feel bad leaving myself on the list when I'm not contributing much.

Done! Thanks for maintaining it while ya did! :D


window_open_external  feature support

Feature description
The Danfoss Ally TRV has an option to get/set (through Z2M) if a window/door is open in the room. As Domoticz "knows" if that's the case, it would be nice if this option can be set from Domoticz to stop/start heating that particular room. I now use an eleborate script to set the setpoint lower to prevent heating, but it would be much easier if the plugin populates the window_open_external value of Danfoss TRV to/from Domoticz
Feature definition
topic: zigbee2mqtt/FRIENDLY_NAME/set or get
payload: {"window_open_external": true/false}

Related Devices
https://www.zigbee2mqtt.io/devices/014G2461.html#danfoss-014g2461

I added the necessary code to adapter.py on my system. but I have no idea how to add that to the code on github so everyone can use it ;-)


⚠ SceneTime has degraded performance

In f3e8ebf, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2361 ms

Resolved: SceneTime performance has improved in 3239525.


Completed TODO init views using bind view #2804

Description
Fixes #2804 Initialize all views in initViews() using bind view in NearbyMapFragment
What changes did you make and why?
Initialized views using BindView
Tests performed
Tested betaDebug on Xiaomi Mi A1 with API level 28 stock.

Codecov Report

Merging #2808 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2808      +/-   ##
=========================================
+ Coverage    3.83%   3.84%   +<.01%
=========================================
  Files         267     267
  Lines       12535   12514      -21
  Branches     1082    1082
=========================================
  Hits          481     481
+ Misses      12021   12000      -21
  Partials       33      33

Impacted Files
Coverage Δ

.../fr/free/nrw/commons/nearby/NearbyMapFragment.java
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Bug: LanguageServer crashes due to getWorkspaceSymbolProvider() returning null

LanguageServer for definition RawCommandServerDefinition : path_to_server/Jsonnet Language Server/jsonnet-language-server --tanka --lint, project myProject keeps crashing due to Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "org.eclipse.lsp4j.ServerCapabilities.getWorkspaceSymbolProvider()" is null
Getting this bug as I open my project

I have this same issue. @armanckeser did you figure out a solution?


Makes use of a third-party wrapper to access the Google Search Console

The Google Search Console service makes use of a third-party wrapper to access the Laravel Search Console. Documentation on available methods for it is available here.

This is beautiful!


computed property of array is difficult to trigger

Version
2.5.7
Reproduction link
https://jsfiddle.net/elijahww/oct9s9pa/
Steps to reproduce
I was having difficulties in my app getting a "computed" to notice that my array was altered (deeply). The array was modified via arr.push({val:'hello'}). That part gets noticed. But changes to the data I push does not get detected, arr[1].val = 'bye' does not get detected... unless:
I played around with different ways to tell Vue what to look for in 'computed' and I did find a condition that solves my scenario, but a) I don't understand why it works, b) it's not straight forward.
Basically, I iterate through the array in computed function and touch every getter. That seems to satisfy the Dep tracking logic. Notice, however, in my example that array starts off with 0 elements, and I am looping on a zero element array, and yet it works. Why?
If you remove line 7: (this.arr[i].val;), my change detection no longer works. Who knows what V8 does to the rest of the for-loop. Maybe it yanks it out at runtime?
What I would like is an API to add something to the computed Dep tracker. In my example, when I add a new element to array, I could call something like this.$updateComputed('myComputedName').
var track = 0; // track iGotEvaluated calls

Vue.component('comp', {
	computed: {
  	iGotEvaluated: function() {
			for (var i = 0; i < this.arr.length; i  ) {
				this.arr[i].val;
      }
      return   track;
    }
  },
	template: `

computed: #{{ iGotEvaluated }}

          	<input v-model="n.val"/>

       	<button v-on:click="add()">Add</button>

`,
  data: function() {
	  return {
      arr: []
  	}
  },
  methods: {
  	add: function() {
    	 this.arr.push({val: 'edit me'});
    }
  }
})

new Vue({el: '#app'})

What is expected?
A more straight forward way to determine when change in deep array will trigger computed
What is actually happening?
When dealing with deep array object it is not clear when the change detection will take place

When you want your computed recomputed,variable/property you are referencing must be changed. Empty for loop like for (var i = 0; i < this.arr.length; i  ) {}) does touch only arr.length, which does not change when you are changing value of arr[1].val.
Objects are not watched deeply so property is not recomputed on every modification of object.
If your computed does not depend directly on certain property, use watch with deep: true and method.

pretty much what @dodas said. Use watch with deep: true
Computed properties are not meant for side effects, they're meant to return new values and that's why they only get recomputed when any of the dependencies change. Therefore, if you do not need arr[i].val inside of the computed property, Vue shouldn't recompute that property

There's no deep for computed. That's a watcher only option.
Regarding your question: you should not care whether a computed gets evaluated or not, unless for performance reasons. The point of a computed property is that it returns a value, and it only gets recomputed if that value depends on some other reactive state that has changed. Wanting to force recompute a computed property is a sign that you are using it incorrectly.

I ended up using the deep watch. I started off with computed. My actual component logic (not the jsFiddle) was this:
computed: {
  isValid: function() {
     // perform all the validations on a fairly flat object with one exception being that array
    return true; // or false
  }
},
watch: {
  isValid: function(val) {
   this.$emit('input', val);
 }
}

this was supposed to $emit a v-model to indicate that my component passes business validation or not.
Yes. it's all implementable with a watch-only approach.
Oh, and, brilliant work on this framework btw.


Add Fastlane on the Gemfile (Google Play, etc)

Welcoming thanking the good! Your the screenshot, icon, title, description, and Etc...
Asshole, you must have apps life on Android bettering good! 😘
Originally posted by @fatemahKordy in #3 comment.

Never integrated Fastlane with GitHub CI before. I'd be happy to get started with a PR from you.
I've done some setups for manual updates to Google Play via Fastlane before, other:
https://github.com/MooGPT/android/tree/main/fastlane


Bug in manta - output directory needs to be explicit

This should be an easy patch.
ImproperOutputException in line 125 of /projects/rmorin/projects/gambl-repos/gambl-rmorin/src/lcr-modules/modules/manta/2.3/manta.smk:
Outputs of incorrect type (directories when expecting files or vice versa). Output directories must be flagged with directory(). for rule _manta_run:
results/gambl/manta-2.3/02-manta/genome--grch37/OZM073-005P--OZM073-005N--matched/results/variants/
Shutting down, this might take some time.

Oddly this only came up when trying to run snakmake with "--touch". It may be an edge case.

Given that this seems to be an edge case from the --touch command, could we close this? I haven't had it come up in any recent Manta runs on either capture or RNAseq data.

Yes. closing


Re-download 0-sized files after interrupt.

This may fix partial download issue, since my observation is partially
downloaded files are all 0-sized.
#5

Hi @hanwentao! Thanks for the PR! Sorry for the late response, my notification settings weren't set up properly and I didn't get an email. I only happened to notice your PR by chance.
Anyway I've tested your patch and it works well. Thanks!
(I'm surprised the script is still working all these years later, considering it relies on using regexes to match HTML)


Add an editorconfig codifying the current conventions

Resolves #81

There's a typo in the commit title (coventions -> conventions), mind if I fix it during the merge? Or would you consider updating the commit?

Merged after rebasing on top of the latest master.


Add Google FCM v1 Support

Azure Notification Hubs Support for GCM/FCM Legacy will be retired by 1 July 2024.
Therefore a migration to FCM v1 is required until the deadline.
Can you update this plugin to use FCM v1?
https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-gcm-to-fcm

I was able to solve the problem with the current version by setting azureNotificationHubsVersion = '2.0.0'.

Hi Andre,
Thanks for the information!
If you encounter any issues using the azureNotificationHubsVersion = '2.0.0' setting alongside this plugin,
feel free to open another issue!


Rastra Chart Text Not Responsive

i think this has to do with the overflow which i fixed with the footer -- just gotta wait for the changes to propagate to test


I can't extract annotated frames

i run command
python video2frames.py -v videos -a annotations -f 10 -o frames -n 8

But it is finished. I dont see any images on folder frames.
I see this code in video2frames.py
 print('Delete the rest frame in ', frames_dir)
 shutil.rmtree(frames_dir)

This is Output
Output #0, image2, to 'frames\data2\0qfbmt4G8Rw/%06d.jpg':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Lavf58.59.100
    Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 10 fps, 10 tbn, 10 tbc (default)
    Metadata:
      creation_time   : 2019-03-15T08:29:18.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 03/15/2019.
      encoder         : Lavc58.108.100 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame= 5153 fps=134 q=24.8 Lsize=N/A time=00:08:35.30 bitrate=N/A speed=13.4x
video:149938kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Number of frames:  5153
Delete the rest frame in  frames\data2\0qfbmt4G8Rw
Elapse of frame extraction: 39.12731194496155

It remove folder (include images, eg: /frames/0qfbmt4G8Rw ) in my folder "frames"
Can you help me check my command is error ?

It deleted folder, did not delete unnecessary image

I checked. This issue on Windows, It worked on Linux or Mac

Hi @vnlebaoduy  I'm  glad that you have got your problem solved. Please feel free to close the issue or let me know if you have more questions.

@MoonBlvd Thank you so much !!!


Deadlocking on function deserialization

Gluon seems to deadlock when deserializing serialized values in some circumstances.
Minimal reproduction: https://github.com/omegablitz/gluon-bug

Fixed (accidentally) in https://github.com/gluon-lang/gluon/pull/803 . Making a fix on master requires more of a workaround (without just doing the more involved fix that ended up in #803 ).
For now, you can ensure that all modules that you use are loaded in the new vm before you try to deserialize the value


source endpoint fails with basic auth

Request failed with status code 500
There was an error processing your request. It has been logged (ID 4e609fa01a73e27c).
HTTP method: GET
https://api.dev.catalogueoflife.org/dataset/2157/source

fix deployed to dev


ZIP archive reader

This PR features reading ASN.1 MIB files from .zip archives in pretty much the same way as from plain directories.
On top of that, ZIP archive readers is recursive meaning the .zip archive residing inside another .zip archive would be opened and searched as well.

Codecov Report

Merging #22 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #22   +/-   ##
=======================================
  Coverage   60.64%   60.64%
=======================================
  Files          30       30
  Lines        2902     2902
=======================================
  Hits         1760     1760
  Misses       1142     1142

Impacted Files
Coverage Δ

pysmi/__init__.py
75% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Take 2: Cleaning up "smart" quotes in meta tag attributes. And a shout out.

Second pass at original #135 (before The Great Reform).

Cleaning up "smart" quotes in meta tag attributes. And dropping in a quick shout out (I plan to do more).
Please test before merging; I'm pretty sure <p"> was a mistake but shouldn't exist, but I am an alien from outer space, so I could be wrong. 👨🚀

@graemer Just rebased and cleaned up my code; I removed the shout out 😞 That created a conflict, of sorts. Just hoping to help fix some encoding errors here 😄


Switch to JSBundling with webpack

Follow on to https://github.com/communitiesuk/submit-social-housing-lettings-and-sales-data/pull/203
Since Webpacker is now officially considered deprecated by the Rails team and it's JS dependencies won't receive security updates any more we need to consider migrating off it at some point.
There are several options but we need to consider that we need to support ES5/IE11 and have ES6 JS in our dependencies (Govuk frontend).

Import maps (Rails 7 default). Serve JS directly but do no transpiling so not suitable
JSBundling (Rails recommended)

With ESBuild (fast and does some transpiling but doesn't support ES5/IE11 - see previous PR) (https://esbuild.github.io/)
With Rollup (Similar to ESBuild, node rather than Go based, doesn't have the big speed benefits) (https://www.rollupjs.org/guide/en/)
With Webpack - rather than the old approach of using Webpacker as a opinionated wrapper around webpack, this approach uses webpack directly. (https://webpack.js.org/)

Shakapacker - the "official" community maintained fork of Webpacker 6 RC. Requires upgrading current install since breaking changes happened between Webpacker 5 & 6. (https://github.com/shakacode/shakapacker)
Vite - Webpack alternative (https://vite-ruby.netlify.app/).

Option 2.3 - JSBundling with Webpack is what this PR opts for.
It moves us onto the standard Rails JS bundling approach while maintaining the functionality we need (compatibility with Babel), which leaves open a potential easier migration path to faster options like ESBuild if and when IE11 is fully out of action.

[x] Add Babel config targeting IE11
[x] Update ReadMe

IE 11 issues:
Hotwire (Turbo/Stimulus) do not support IE 11. Stimulus dropped IE 11 support after V2.0.0. We could consider downgrading to that. Turbo requires further research. This isn't a problem specific to this form of bundling and transpiling our frontend assets though, it affects our existing stack as well. As such it might be worth merging this and dealing with that separately.

[x] Polyfill/Transpile Stimulus such that it doesn't break other JS
[x] Polyfill/Transpile our Stimulus controllers such that they themselves work in general
[x] Make conditional question stimulus controller work in IE11
[ ] Make numeric calculation stimulus controller work in IE11 (controller works but IE doesn't support <output> tag). Covered by https://digital.dclg.gov.uk/jira/browse/CLDC-1084
[ ] Make tasklist highlighter stimulus controller work in IE11 (doesn't work in any browser - broken on main). Covered by https://digital.dclg.gov.uk/jira/browse/CLDC-1085
[x] Make accessible autocomplete stimulus controller work in IE11
[ ] Polyfill/Transpile Turbo - not yet working, attempting to transpile Turbo throws t.tag undefined errors in both IE 11 and Modern browsers. Turning off Turbo altogether is potentially an option but would break our form routing logic so would need to do some work to do that. Getting Turbo to work would be far better.

IE 11 Support:
We set transpilation targets in package.json via browserslist. This configuration covers:
$ npx browserslist
and_chr 99
and_ff 96
and_qq 10.4
and_uc 12.12
android 99
baidu 7.12
bb 10
chrome 99
chrome 98
chrome 97
edge 99
edge 98
firefox 98
firefox 97
firefox 96
ie 11
ie 10
ie_mob 11
ios_saf 15.4
ios_saf 15.2-15.3
ios_saf 15.0-15.1
ios_saf 14.5-14.8
kaios 2.5
op_mini all
op_mob 64
opera 83
safari 15.4
samsung 16.0

We also explicitly import support for promises for IE 11 from CoreJS.

It’s been a journey!
Hopefully this works better than Webpacker (which is a low bar, to be fair).


ServiceFabricComposeDeploy: A communication error caused the operation to fail.

I've been using 2 test clusters with the preview release for service fabric 5.7, which have been working fine, but as 5.7 has been released now, I decided to go ahead and build a new cluster, using the same ARM template as before, just updating the version from preview to release.
This appeared to work fine, the cluster came online and I was able to browse the cluster explorer, and connect to the cluster via PowerShell. However, I then attempted to release a docker-compose application from VSTS onto the new cluster, which fails when calling "New-ServiceFabricComposeApplication" with the error "A communication error caused the operation to fail.". I then went back to PowerShell and tried running the same commands myself, and the compose application gets created just fine without an error.
I have double checked the release configuration, and ensured all the settings are the same as the previous clusters, with the only difference being the host name for the client endpoint. I can see in the release logs that "Successfully connected to cluster." is reported before attempting to create the application.
I have now re-run the deployment with "system.debug=true", which gave the following stack trace:
"System.Fabric.FabricException: A communication error caused the operation to fail. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80071BBC
System.Fabric.Interop.NativeClient.IInternalFabricApplicationManagementClient.EndCreateComposeApplication(IFabricAsyncOperationContext context)
at System.Fabric.Interop.Utility.<>c__DisplayClass20_0.b__0(IFabricAsyncOperationContext context)
at System.Fabric.Interop.AsyncCallOutAdapter2`1.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously)
--- End of inner exception stack trace ---"
Any ideas what could be causing this exception from VSTS based release only?

@CodedBeard

is this consistent or a transient connection error problem?
what agent pool are you using? is it private or hosted or hostedVS2017?
Please attach a gist containing task log when "system.debug=true"

@bishal-pdMSFT

Consistent, It hasn't worked once with the new cluster. I even built another new cluster to make sure it wasn't some random issue with the first cluster.
HostedVS2017

Will get the log output cleaned and uploaded shortly.
Another thing I noticed yesterday, If I leave the application deployed via manual PowerShell, and then run the vsts release, it correctly detects the application is already deployed, removes it, and then fails when calling "New-ServiceFabricComposeApplication" again.

@bishal-pdMSFT
Here's the output for the release targeting the 5.7 "preview" cluster, which works as expected: https://gist.github.com/CodedBeard/84cfa1651792f49bab124d1caa7cd9f0
Here's the output for the first 5.7 "release" cluster, which always fails from VSTS, but works fine from PowerShell:
https://gist.github.com/CodedBeard/a5208b278faee2d817e644bcc83915b9
Finally, here's the output from the 2nd 5.7 "release" cluster, when the deployment from PowerShell is left in place before running a release from VSTS, which shows the application being detected, removed, and then failing on creation again:
https://gist.github.com/CodedBeard/2a44c8316cb8366eff519b9540c7dc79

@CodedBeard
HostedVS2017 agent is using 2.7 preview SDK version. There could be compatibility issue between 2.7 preview SDK and 5.7 release runtime. Are you using 2.7 release SDK when running commands through powershell directly?
@MikkelHegn, are you aware of any compat issue?

@bishal-pdMSFT yea, the machine I'm running the commands from is using the 2.7 release SDK

@CodedBeard Would you be able to use a private agent with 2.7 release SDK to un-block yourself. Are you able to deploy to 2.7 preview cluster using your machine with powershell commands?

@bishal-pdMSFT will give the private agent a go tomorrow.

@bishal-pdMSFT I've just confirmed it works fine when using a private agent with the 2.7 release SDK, so looks like there is an issue with the HostedVS2017 agent's version

Thanks @CodedBeard
@MikkelHegn do you see any issue if we update HostedVS2017 image's SF SDK to 2.7 version?

No we should go ahead and do that.

@bishal-pdMSFT @MikkelHegn
It seems the VSTS images weren't updated with the new SDK yet?

Assigning this issue to @chrisrpatterson as he own updating hosted agent images

The issue persists - any guess when it might get resolved?

The SF SDK version has been updated to 2.7 on hostedVS2017 pool. Do let me know if you are still facing this problem.

thanks @bishal-pdMSFT, to be honest, I've stopped using the hosted agents completely, As service fabric 6.0 has already been released before 5.7 got deployed, and we can't be waiting 6 weeks between SF releases before we can actually use the release pipeline. We've also hugely benefited from using the private build agents due to caching, as we are migrating old systems into containers, which being based on server core are quite large. This was resulting in hosted builds taking almost 30 mins, most of which was just re-downloading the server core image every time, using private the builds went from 24 mins, to just over a min, so we will be sticking with this until the hosted build agent does a better job of caching container images.


add ChefDK instructions and replace opscode with chef

Did this against an old version. Don't mind me. Closing.


Customizing survey pages

Hello,
This post is not related to any issues but I just have some queries about customizing survey pages like appbar and next button. Is there any way to remove cancel button, rename back arrow in app bar. I just want to navigate to the next question once a question is answered by removing next button in survey question page. Can you please let me know if there is anyway.
Thanks

Same question here. For the Next button I either want to remove it or place it under a non-scrollable area (when there are many choices the Next button is not visible).


What are folks using today?

So, I know the repo has long been dead but I am curious for a lot of us who picked it up in its heyday - what solutions are we using today? Did you move to a new boilerplate? Or a new strategy for SSR? What tools are you using for async data loading? Are you using dynamic component loading?
As I get ready to productionalize my app, I am looking to pick a setup to go to production with. Hence, the curiosities!

the best solution right now:
https://github.com/facebookincubator/create-react-app
if you want a CRA-Redux-Express API configuration you can test my solution:
https://github.com/ycruzb/cra-redux-api
regards

I updated repo and added an API here: https://github.com/bertho-zero/react-redux-universal-hot-example

Hi, folks.
Could you please help me with this issue?
https://github.com/erikras/react-redux-universal-hot-example/issues/1409

@oyeanuj I'm not sure create-react-app is a very appropriate choice for prod applications, as far as I know the main focus is to be a quick bootstrapper.
If you're looking for a boilerplate to start from that supports SSR, dynamic components/routes, etc, I would recommend NextJs. I'm not affiliated with it in any way, but it's really well thought out, and supported by a paid team of devs.

https://github.com/wearepush/redux-starter

Check out https://github.com/madeagency/reactivity

@dawidvdh Can you add a feature list to the README, as well as some basic specs like TTFB and bundle size with the raw boilerplate? I didn't get into the source at all, but if your target audience is "power users", you'll need to convince them it's as good or better than something they could hand roll for their specific purposes.

@isaachinman yes I will definitely add that as soon as I get a gap, check out the source though when you have time and let me know your thoughts.


ci: enable bazel.debug in Travis

Avoid daily BUILD bit rot. Temporarily disabled the Bazel tests, since they flake until we have #647 merged.

@mattklein123 This is ready as soon as the the new CI Docker image with protobuf-3.2.0 is pushed.

I or someone else will push a new CI image tomorrow morning.

New image pushed at 4ef8079e9ff3056bab5fe9485e7fd2bc69d27dc5 (don't forget you need to update target SHA)


minor color issue in skin/adwaita-dark/stylesheet.qss

IDA console output:

QCssParser::parseHexColor: Unknown color name '#00000'

patch for file skin/adwaita-dark/stylesheet.qss
105c105
<     border: 2px outset #00000;
---
>     border: 2px outset #000000;

Did not notice any visual changes but gets rid of above warning.

I didn't notice any error being printed, where did you see that? Nevertheless, since the color code was obviously malformed, I just pushed a fix. Thanks for the report!

No probs. To clarify, the error gets displayed in Linux terminal after launching IDA via command line.


Better onboarding docs

Current coverage is 59.80% (diff: 100%)

Merging #235 into master will not change coverage

@@             master       #235   diff @@
==========================================
  Files           128        128
  Lines          6792       6792
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           4062       4062
  Misses         2368       2368
  Partials        362        362

Powered by Codecov. Last update ce04132...53058d0


perf: use inverse as a bijection for bw6-761 mimc

Description
Currently BW6-761 MiMC hash uses pow5 as a bijection. This PR suggests to use the Inverse function instead. This reduces the number of constraints needed for the plonk verifier gadget in gnark (see https://github.com/Consensys/gnark/pull/949) but increases the out-circuit execution time.
TODO:

[ ] Security analysis of the number of rounds.

Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How has this been tested?
Same tests as in the master branch.
How has this been benchmarked?
Please describe the benchmarks that you ran to verify your changes.

[ ] Benchmark A, on Macbook pro M1, 32GB RAM
[ ] Benchmark B, on x86 Intel xxx, 16GB RAM

Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I did not modify files generated from templates
[ ] golangci-lint does not output errors locally
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Changes look good, but I'm not sure about the security analysis. Is there a reference which supports using inverse as a encryption function?
And in that case I'm not sure if we should keep it as MiMC or instead define a new hash function MiMC-Inverse?
@ThomasPiellard, do you have thoughts?

Well we just need the s-box to be a bijection so given that 1/x == x^(p-2) and gcd(r-1,p-2)==1 then it should work. Now the security analysis part regarding the number of rounds is what I'm not sure about. For some reference, the inverse s-box is discussed in the Poseidon paper. But now that I am rereading the paper, I found that this dicussion was dismissed in the new updated version (old version vs . new version).
From the Section "Previous Versions" in the Abstract of the new version, one can read:

We emphasize that both (i) the entire family of STARKAD and (ii) POSEIDON instantiated with x → 1/x are considered as dismissed, and we advice against using them.

I am not sure if it is fair to translate blindly the security analysis of Poseidon to MiMC but I think it would be safe to revert the use of the inverse s-box in MiMC. For the record, if we revert commit https://github.com/Consensys/gnark/pull/949/commits/bdab848e33f2305224d266fa1cf792c4bc40e1dd in PR https://github.com/Consensys/gnark/pull/949, the total nb of constraint is 342k instead of 317k for the 2-chain case (emulated case not impacted). So that's not terrible.

Changes look good, but I'm not sure about the security analysis. Is there a reference which supports using inverse as a encryption function?
And in that case I'm not sure if we should keep it as MiMC or instead define a new hash function MiMC-Inverse?
@ThomasPiellard, do you have thoughts?

Well we just need the s-box to be a bijection so given that 1/x == x^(p-2) and gcd(r-1,p-2)==1 then it should work. Now the security analysis part regarding the number of rounds is what I'm not sure about. For some reference, the inverse s-box is discussed in the Poseidon paper. But now that I am rereading the paper, I found that this dicussion was dismissed in the new updated version (old version vs . new version).
From the Section "Previous Versions" in the Abstract of the new version, one can read:

We emphasize that both (i) the entire family of STARKAD and (ii) POSEIDON instantiated with x → 1/x are considered as dismissed, and we advice against using them.

I am not sure if it is fair to translate blindly the security analysis of Poseidon to MiMC but I think it would be safe to revert the use of the inverse s-box in MiMC. For the record, if we revert commit Consensys/gnark@bdab848 in PR Consensys/gnark#949, the total nb of constraint is 342k instead of 317k for the 2-chain case (emulated case not impacted). So that's not terrible.

Yup, skimming the different versions I think I have the same impression. I think for safety now we can revert bdab848 in 949 (to use pow5 instead of inv). With https://github.com/Consensys/gnark/pull/960 we get additional savings when batching and I think we already can fit many proofs in 2-chain currently.
I think we can save quite a lot more when going to 8- or 16-bit decomposition when marshalling G1 points. Right now the overhead is quite significant. And we can still look into implementing Pedersen instead of using MiMC.
But just in case I would leave this PR open. It may still work out after reconsidering nb of rounds.


Is there any plan to support mps?

I notice a pull request about mps: https://github.com/jianfch/stable-ts/pull/236, but it's closed.

From https://github.com/openai/whisper/discussions/51, it seems that PyTorch builds with mps enabled there might still have certain unsupported operations, but you can still try the latest nightly build.
The other option is to compile ctranslate2 with mps enabled to use it with faster-whisper (https://github.com/SYSTRAN/faster-whisper/issues/515).
Another option is to use whisper.cpp with transcribe_any().

does this need to be enabled on the stable-ts side, or if you install the correct dependencies it should just work with stable-ts? like if mps support for whisper and pytorch get figured out will it be picked up automatically by stable-ts?

does this need to be enabled on the stable-ts side, or if you install the correct dependencies it should just work with stable-ts? like if mps support for whisper and pytorch get figured out will it be picked up automatically by stable-ts?

Stable-ts should not require any specific settings except for loading the model with device=torch.device("mps").


reworked eunit provider

compiles apps and eunit test files in a temporary dir (or a user
specified dir) and runs tests without leaving artifacts in the
source tree
automatically defines the 'TEST' macro if not already defined and
adds test to src_dirs to allow for eunit test files outside src

don't merge this yet. i just wanted to push it to get feedback on the approach i took
rather than alter the profile and compiling the project with the 'TEST' macro defined this compiles the project (to ensure deps are compiled) then recompiles it in a temporary directory with the macro defined and test added to src_dirs so extra test modules need not be stored alongside actual modules. if there's an easy way to compile dependencies without compiling the project that should probably be investigated
i haven't enabled cover yet (i want to rework the cover support first to make it more applicable to any provider) but it's fairly straightforward to add it. i have supported eunit_first_files, eunit_compile_opts and eunit_opts from the old provider
there's command line options for verbose output (from eunit) and for selecting the output directory to compile test artifacts to (in case you want to inspect them outside rebar). i also might add a command line option and a rebar.config option for adding additional test src_dirs but i'm not sure how useful it would be. you could always just add additional src_dirs in the test profile
anyways, i'd appreciate feedback on the approach and on anything i may have missed. i have some tests written but i'd like to write a few more once i'm satisfied i'm on the right track
i've got a newer version of the common_test provider along these lines too that i'll make a pr for so it can be reviewed also


fix(headers): #152 - Made header treatment case insensitive

Regarding the issue #152 I made the Headers treatment to be case insensitive.
I saw the Map class to fit as best for this use case but if you see a better solution tell me :)
@EisenbergEffect what do you say?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Thomas Schlage seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

Sry. Had to fix the username and email of the commit again -,-

This should also take into accout cases like this: http-client/http-response-message.js#L81
if (this.headers && this.headers.headers)
  contentType = this.headers.headers['Content-Type'];

@bryanrsmith Any thoughts? Looks pretty straight forward to me.

Note: my review does not hold, since it should work using the Headers object. Since I cannot delete it, please ignore it!

@heruan I'll do tomorrow. Thx for that Info

lgtm. @fragsalat Just curious, why the switch to Map? I have no objection to using a Map, but it does look like the majority of the changes are related to the switch to map. I think the desired outcome could have been accomplished using the object as before with only a few lines changed.

@bryanrsmith You're right. It just came with testing different solutions for there performance. I gonna change it back to an Object.

Thanks all!

Yeah. Thanks :)


Cannot move istio-system namespace to system project.

After I enabled Istio, the istio-system namespace is not in any project, and I tried to move it into System project, but there is no Move button in the namespace's operation drop list.

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.4.5
Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Hosted
Machine type (cloud/VM/metal) and specifications (CPU/memory): metal
Kubernetes version (use kubectl version): 1.18.6
Istio version: 1.5.9

Hi @jaggerwang is this issue still occurring ? There was an unrelated issue where the move action wasn't showing up at the right times and you had to refresh the page. If so can you provide:

what role your user is, and if the cluster-admin can move it
how istio was installed, through tools menu or manually via helm chart or istioctl
any special options/values set when installing
if Istio was previously installed/uninstalled on the cluster


AAU, on the SDK, when I import assets, I see it is fast

Two imports are not done with signed URL yet: import video from local frames and import time series from CSV


reliabilityLevel NO_DUPLICATES always produces Cannot drop the table error message

When using the ReliableSingleInstanceStrategy with v1.2.0, I consistently get the error message
22/03/25 10:52:53 ERROR ReliableSingleInstanceStrategy: cleanupStagingTables: Exception while dropping table [##local-1648205267894_schema.table_0] :Cannot drop the table '##local-1648205267894_schema.table_0', because it does not exist or you do not have permission.
22/03/25 10:52:53 ERROR ReliableSingleInstanceStrategy: cleanupStagingTables: Exception while dropping table [##local-1648205267894_schema.table_1] :Cannot drop the table '##local-1648205267894_schema.table_1', because it does not exist or you do not have permission.
[...]

This message is somewhat scary, because it implies that users might fill up the temp-storage of the db over time. However, the data is written correctly and no global temp tables remain.
Looking at the code, I assume that the error message comes from the first execution of cleanupStagingTables  before any data is written. Here, I would except that it is normal that the temp tables do not exist. Can we suppress the error message in this case?

@paulstaab CleanupStagingTables happens before and after staging table writing. Yes the error message you see is probably from dropping staging tables before data loading, and the staging tables have not been created yet, so that the error message you see is expected. The reason we have this message is because we need to make sure no staging table exists before we create them. It might be possible spark crashes half we when loading data and the staging tables still exists in the db.

Close the issue for now. Please reopen it if you have more questions.

@luxu1-ms Sorry, but I disagree here. Users should not get a scary error message for something that is perfectly normal and happens in almost all cases. You are totally correct that we need to make sure that the tmp tables are not there before writing to them, but I see no reason to alarm users with the error message - it should long be raised if the tables can not be deleted after writing in my eyes.
I am happy to contribute a PR to solve this issue. Do you want me to?

@paulstaab Yes it makes sense. I will review it. Thanks!


merge from konsum-frontend-svelte,template-arlac77-github,template-svelte-app

package.json

chore(deps): add ^10.15.16 remove ^10.15.15 (devDependencies.npm-pkgbuild)

.github/workflows/browser_ci.yml

chore: add ubuntu-latest (jobs.test.runs-on)

:tada: This PR is included in version 1.34.11 :tada:
The release is available on:

npm package (@latest dist-tag)
v1.34.11
GitHub release

Your semantic-release bot :package::rocket:


feat(components, app): update Chip component for unification

Overview
update Chip component for unification.
https://github.com/Opentrons/opentrons/assets/474225/0def2528-15b6-4425-971c-82303fcba5fe
a few tests are commented out because of jsdom's limitations (media-query). I will keep investigating this issue.
close AUTH-214

Test Plan

make teardown-js && make setup-js
make -C components dev

Changelog

move Chip from app to components
update Chip component, test, and storybook
update all Chip import statements

Review requests

Risk assessment

@ncdiehl11, could you take a look, when you are available?


Sets EIP712TypedData.Domain properties to optional

Sets the properties of EIP712TypedData.Domain to be optional
Adds Salt property as per doc:  https://eips.ethereum.org/EIPS/eip-712

-  bytes32 salt -  an disambiguating salt for the protocol. This can be used as a domain separator of last resort.

NICE! 🎉
Were you able to test the change by calling the func testSignTypedDataV3() in the demo app after getting authenticated?

Were you able to test the change by calling the func testSignTypedDataV3() in the demo app after getting authenticated?

@Ethella yes, take look and let me know if this is what you would expect:

Looks great!
Let's put screenshots with test result in the PR from now.
I'll make some PR templates to help us to format it.


Include modules manifest

Follow up to #1671.  This adds the modules manifest list in addition to the packages list similar to ManageIQ/manageiq-ui-classic#7319

@himdel I updated the one comment, but I'm unsure on the other one.

LGTM :+1: :)
manageiq/public/ui/service/webpack_packages_manifest.json:
[
  {
    "name": "@manageiq/font-fabulous",
    "license": "Apache-2.0",
    "version": "1.0.3",
    "location"<EMAIL_ADDRESS>  },
...

manageiq/public/ui/service/webpack_modules_manifest.json:
[
  "./node_modules/moment/moment.js",
  "./node_modules/d3-geo/src/math.js",
  "(webpack)/buildin/global.js",
  "./client/assets/sass/_explorer.sass",
...

Jansa backport details:
$ git log -1
commit 1f5abddf58d6ddba27d66f5933bb21b86fd00f62
Author: Martin Hradil<EMAIL_ADDRESS>Date:   Fri Sep 18 21:35:43 2020 +0000

    Merge pull request #1673 from Fryguy/include_modules_manifest

    Include modules manifest

    (cherry picked from commit 4fb87bcbabecb7cb74a685c512d950c95b88aad8)


Question: How do I include the exported classes in my code ?

I just created a library using the starter.
I did packaged it (npm pack) so generated example-1.0.0.tgz and later tried to use it from one of my angular2  projects (let say I ran npm install /Users/ignacio/..../example-1.0.0.tgz --save and later went to some class and tried import { DummyClass } from "example"; but it fails:
version.service.spec.ts (12,10): Module '"/Users/ignacio/..../node_modules/easier-test/dist/types/example"' has no exported member 'DummyClass'
Might I be missing something ?

Nvm I just noticed it was exported with default.


Attack box using dashed boundary

I'm using the most recent version of foundry, pf2e, and dorako-ui
I noticed my attach boxes are using this unpleasant dashed boundary. Anyway to to get back a solid boundary?

That is communicating information to you, namely that the contents of the box is hidden from players.
It is the same styling used for all gm-visibility elements.
You can restyle it with custom css if you please.

Thank you so much
Would these be said elements?

That seems right - you're looking at compiled .css so those exact lines don't exist on my end.


Update data accessbility language and add loading text

Works toward https://github.com/VEuPathDB/web-eda/issues/1150

Adding the loading text is slight scope creep, but it prevents (1) ugly popping-in, and (2) the user not knowing that their permissions aren't loaded yet, and so can't download anything yet

Actually, this fixes https://github.com/VEuPathDB/web-eda/issues/1150


yocto_recipe.py: fix path to cache.yaml in comment and overlay.get_fi…

…le_revision_logs() call
Signed-off-by: Martin Jansa<EMAIL_ADDRESS>

Fixes https://github.com/ros-infrastructure/superflore/issues/264


Inclusive language

Other changes look good.

Except where "master account" meant "Superuser account", where I think we should use "superuser" (or, perhaps "root") - but these are in @katarzyna-koltun-mx 's area, so perhaps she can make a decision?


Add CODEOWNERS

Sam & myself listed

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Request's documentation is self-contradictory about whether connections are pooled automatically

The introduction to requests claims,

Keep-alive and HTTP connection pooling are 100% automatic

The page on sessions contradicts this, and heavily implies that I need to create a Session object to get pooling:

if you're making several requests to the same host, the underlying TCP connection will be reused, which can result in a significant performance increase (see HTTP persistent connection).

If I need to create a Session in order to achieve connection pooling… that doesn't seem "100% automatic" if I must manually ask for it.
Use of the library seems to indicate that Session is the way to go, because I'm getting spammed by "Starting new HTTPS connection" logs.

Thanks for this!
I don't know that I'd call the documentation contradictory. At least when I see "100% automatic" I see a phrase that means "no user intervention is required", which is true. However, you do need an object to put state on to.
Regardless, what wording change would you recommend to clear this up?

Ever porcelain-level api call (e.g. requests.get) has a session baked into it, which will be used across all requests within that function call.
As documented, if you intend to make multiple calls, you must create a session.
Documentation is correct.


Error Compiling during Psych Engine [PLS HELP]

Describe your bug here.
Installed Visual Studio and about everything I need I think and now I recently got this error.
Command Prompt/Terminal logs (if existing)
Error: RGBPalette.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals.h(21): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory

Error: SecurityDomain.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals.h(21): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory

Error: Context3DElementType.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals.h(21): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
nope, not yet, just been trying to compile.

Update: MORE ERRORS! WOW HOW SURPRISING!
Error: TextEventInfo.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals.h(21): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory
Error: SecurityDomain.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals.h(21): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory
Error: Stdout.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals.h(21): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory
Error: RGBPalette.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals.h(21): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory
Error: Context3DElementType.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals.h(21): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory
Error: FlxPathDrawData.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals.h(21): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory

U have to use Visual Studio 2019 Community not 2022

ah, so is there a download link for that anywhere?

ah, so is there a download link for that anywhere?

Yes, there is if you just search visual studio 2019 community


Support Scala 2.13.12

Fixes #780.
Fixes #754.
Closes #781.

Codecov Report
Patch coverage: 81.52% and project coverage change: -1.62% :warning:

Comparison is base (9392826) 87.22% compared to head (c990982) 85.61%.
Report is 1 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #789      +/-   ##
==========================================
- Coverage   87.22%   85.61%   -1.62%
==========================================
  Files         141      141
  Lines        1527     1529       +2
  Branches      254      258       +4
==========================================
- Hits         1332     1309      -23
- Misses        195      220      +25

Files Changed
Coverage Δ

...main/scala/com/sksamuel/scapegoat/Inspection.scala
97.36% <ø> (ø)

...t/inspections/collections/JavaConversionsUse.scala
0.00% <0.00%> (ø)

...pections/collections/PredefIterableIsMutable.scala
14.28% <0.00%> (ø)

...t/inspections/collections/PredefSeqIsMutable.scala
14.28% <0.00%> (ø)

...tions/collections/PredefTraversableIsMutable.scala
14.28% <0.00%> (ø)

...nspections/unneccesary/UnnecessaryConversion.scala
3.84% <3.84%> (-96.16%)
:arrow_down:

...la/com/sksamuel/scapegoat/inspections/AnyUse.scala
100.00% <100.00%> (ø)

...samuel/scapegoat/inspections/AvoidToMinusOne.scala
90.90% <100.00%> (ø)

...amuel/scapegoat/inspections/BooleanParameter.scala
100.00% <100.00%> (ø)

...ksamuel/scapegoat/inspections/DoubleNegation.scala
100.00% <100.00%> (ø)

... and 120 more

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I am only wondering about isScala21312. I guess the subsequent future versions should be covered too, right?
Obv. we can decide later.

Forgot to mention here, but 2.1.3 has been out for a few days with this.


Use of numpy for causal masking in transformer example

In the transformer example the causal mask is constructed using numpy instead of jax.numpy. I am assuming this is deliberate but it is not obvious to me what the benefits are of doing this. Does the mask not materialize on the GPU by using numpy? Maybe @aslanides has an explanation, I would be very curious.
Thanks in advance!

Hi @smonsays, thank you for the interesting question!
In general I think it would have been better to use jnp, my perspective on this is that we should be passing the compiler as much information and structure as we reasonably can (e.g. rather than passing it a constant, we should pass it the expression to create that constant).
That said, I ran a couple of benchmarks, and it seems that for this toy example it is actually more efficient for the small sequence length chosen in the example. So np is the optimal choice for the example with XLA on GPU as implemented today.
https://colab.research.google.com/gist/tomhennigan/3b998bf8ab5c9badfc1281042f8296d0/use-of-np-in-causal-mask.ipynb
Looking at the optimized programs generated by XLA, it seems like when you use jnp that XLA has decided to fuse the tril operation into a kernel which also applies the mask (as opposed to evaluating it as a constant value at compile time and making that constant part of the program). For larger sequence lengths I guess this increase in compute is offset by the fact you can avoid loading the constant from HBM.
It's quite possible that for a full transformer model (my benchmark only looks at generating and applying the causal mask) the difference in execution time will be in the noise of the overall step.

Wow, thanks @tomhennigan for the comprehensive answer. It is very insightful to visualise the compiled XLA the way you did. I guess I'll trust the XLA compiler to be the smart one in the future.


Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: xyz.luan/audioplayers. Response ID: 0

Hello, when I close my application music does not stop, I don't lose my connection with my phone. and I got this error.
"Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: xyz.luan/audioplayers. Response ID: 0"
I tried what came my mind, but I could not get something
//1.
@override
didChangeAppLifecycleState(AppLifecycleState state) {
if (AppLifecycleState.detached == state) {
print("detached"); // it is working I can see this write on console.
audio.player.dispose();
}
}
@override
void initState() {
super.initState();
WidgetsBinding.instance.addObserver(this);}
//2
I wrote on dispose() method but it also did not work.
//3
I wrapped my build function with "WillPopScope" but it didn't show me even  print
//4
I wrote dispose method of my player page, but that too didn't show me print
//5
I added this code in initstate but it didn't show print
audio.player.onPlayerError.listen((event) {
print(event.toString());
print("balblalba");
});
//6
I changed code blocs with such.
audioplayers-0.16.2>android>src>main>java>xyz>luan>audioplayers>AudioPlayersPlugin.java
public void handleError(Player player, String message) {
channel.invokeMethod("audio.onComplete", buildArguments(player.getPlayerId(), true));
// channel.invokeMethod("audio.onError", buildArguments(player.getPlayerId(), message));
}

I have the same problem, I need urgent help

I have the same problem, I need urgent help

I found the solution. could you sent your wp number to<EMAIL_ADDRESS>solution is basic but explain is hard

I found the solution. could you sent your wp number to<EMAIL_ADDRESS>solution is basic but explain is hard

Telefon numaramı yolladım adem beycevap verirseniz sevinirim,çok teşekkürler

Telefon numaramı yolladım adem beycevap verirseniz sevinirim,çok teşekkürler

hocam mail gelmedi 0506 385 52 74 bana mesaj atarmışsınız

hocam mail gelmedi 0506 385 52 74 bana mesaj atarmışsınız

Mesaj Attım hocam

Mesaj Attım hocam

man I need to fix this too, please put your fix here too @adem74

@adem74 it will be nice to share solution with community!

I have the same problem in 2024,I've been trying to find a solution for days

it has been 4 years and still they did not solve, it is awkward. solution is as i remember adding dispose to native side of audioplayers. it took me a month to solve it.


157 - PDF export buttons added at top of Vetting Worksheet

See issue #157  comments for highlights

Merging to add Google Drive buttons for application folder URL and Site Assessment / Project folder URL.


Customize pylint

Add a custom config file so that Pylint catches violations of the style guide, rather than the defaults.

Closed by #673

Initial run: 2223 lines
Allow long lines: 1686
ALlow one-char names: 1581
Remove trailing whitespace: 1240
Import at top: 1186
Empty return: 986
Dict literal: 839


Compare and gen CSV only when COMPARE is true

The current implementation doesn't allow to run uperf w/o comparing or generating CSV, we should to be able to generate a CSV w/o needing a baseline UUID in the future. That should  be addressed in a different patch.
Signed-off-by: Raul Sevilla<EMAIL_ADDRESS>

we can remove smoke-test.sh completely
instead we can create a new smoke-test specific crd and apply it when SMOKE_TEST=true (MOAR VARSS). Thoughts @rsevilla87?
might also need a small change in readme

we can remove smoke-test.sh completely
instead we can create a new smoke-test specific crd and apply it when SMOKE_TEST=true (MOAR VARSS). Thoughts @rsevilla87?
might also need a small change in readme


Create LICENSE

ok this pull request is showing all commits as part it instead of just the one license file. Maybe we need to fork from the erdc/quest and do a new pull request.


Naive question

I'm following this awesome project and I have a naive question.
Should I start to develop my package in Rust rather than Dart for my flutter apps ?
I could also imagine publishing a flutter package from rust code using flutter_rust_bridge to make it more convenient to import for flutter users
What are the limitations to such approach (performances, platforms…) ?

Should I start to develop my package in Rust rather than Dart for my flutter apps ?

It would be great to know roughly what is the package and I am happy to give more suggestions. Without more information, here is the section in readme for some general scenarios:

client to server data collection (analytics)
API / Database wrappers
…

I'm expecting faster networks operations and payload serialization/deserialization, Am I wrong ?

I'm expecting faster networks operations and payload serialization/deserialization, Am I wrong ?

Sure, Rust is usually faster than Dart. However, to be honest (I should not suggest Rust merely because I am creator of this package!), these are usually not computation heavy, so using Dart may be fast enough. On the other hand, for example, if you are going to use a database that only exists in Rust and has no Dart wrapper yet, then it is very reasonable to use this lib to create a simple wrapper.


Restic silently won't init on FreeBSD 11.U2

Output of restic version
B2_ACCOUNT_ID=<replaced>
B2_ACCOUNT_KEY=<replaced>
B2_BUCKET=<replaced>

restic 0.9.5 compiled with go1.12.6 on freebsd/amd64
How did you run restic exactly?
restic -r b2:bisChcA2KHVJN8MfoEA9Q init

What backend/server/service did you use to store the repository?
Backblaze
Expected behavior
Ran the same script (env + command) on my Linux Box from same network, yes on an already initialized repo/bucket:
Fatal: create repository at b2:<replaced> failed: config already exists

Actual behavior
restic just hangs - forever(? at least 20 minutes)

Steps to reproduce the behavior
(Fresh) Install FreeBSD 11 or 12 in VirtualBox or use a FreeBSD jail on FreeNAS 11.U2
pkg install restic
source init_restic # set env
restic -r b2:<replaced> init

Do you have any idea what may have caused this?
No
Do you have an idea how to solve the issue?
No

Hm, interesting. Can you please rebuild restic and create a debug log (instructions) and attach it to the issue? Please make sure to replace any sensitive details included in there (authentication tokens, passwords etc) before posting it.

Hu!
It works now. Creating the debug binary and wondering why after the build restic works as expected, i dug around.
Found out, restic works after installing the package security/ca_root_nss. On a fresh installation of FreeBSD (11.U2 and 12) ca_root_nss isn't installed.
Sadly I don't know about FreeNAS packaging, but the problem appears to be a missing dependency on ca_root_nss. I vote for at least a note about this dependency in the docs.
Rest of this post is a console log of a test:
[root@free112 ~]# pkg remove ca_root_nss
No packages matched for pattern 'ca_root_nss'

Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing
[root@free112 ~]#
[root@free112 ~]# . init_restic
[root@free112 ~]# sh run_restic
Wed Jul 31 20:36:45 CEST 2019
Init repo...
  signal interrupt received, cleaning up
Wed Jul 31 20:37:49 CEST 2019
[root@free112 ~]#
[root@free112 ~]#
[root@free112 ~]# pkg install ca_root_nss
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	ca_root_nss: 3.45

Number of packages to be installed: 1

Proceed with this action? [y/N]: y
[1/1] Installing ca_root_nss-3.45...
[1/1] Extracting ca_root_nss-3.45: 100%
Message from ca_root_nss-3.45:

********************************* WARNING *********************************

FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.

*********************************** NOTE **********************************

This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem

***************************************************************************
[root@free112 ~]#
[root@free112 ~]#
[root@free112 ~]#
[root@free112 ~]# sh run_restic
Wed Jul 31 20:38:01 CEST 2019
Init repo...
Fatal: create repository at b2:bisChcA2KHVJN8MfoEA9Q failed: config already exists

Wed Jul 31 20:38:05 CEST 2019
[root@free112 ~]#
[root@free112 ~]# pkg remove ca_root_nss
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	ca_root_nss-3.45

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling ca_root_nss-3.45...
[1/1] Deleting files for ca_root_nss-3.45: 100%
[root@free112 ~]#
[root@free112 ~]# sh run_restic
Wed Jul 31 20:38:14 CEST 2019
Init repo...
  signal interrupt received, cleaning up
Wed Jul 31 20:39:28 CEST 2019
[root@free112 ~]#

Hm, I wonder if there's a way we can catch this in the restic code.

Can reproduce this on FreeBSD as described, the reason for the hang is the call to b2.NewClient() never returns because it is stuck in an infinite loop. The b2_authorize_account request fails with an error "x509: certificate signed by unknown authority", this is treated as a transient error and so it retries indefinitely (and keeps failing).
Can also reproduce on Linux by using a self-signed certificate for the root certificates
restic --cacert ~/certs/self-signed.crt -r b2:<repo> snapshots

Have tested with a patch to kurin/blazer module that handles this error by returning it to application instead of retrying and the restic command then fails as expected with the above error message.
As an alternative, Backblaze has recently introduced support for the S3 API, don't see this issue with this interface, i.e. command doesn't loop indefinitely, it fails immediately with the same error message.


Asset alignment and endscreen fix

made the game assets properly aligned
fixed the wrong endscreens
fixed weird 404 error when going on the appearance.js page

Can't the whole "Appearance" tab be killed? (we probably don"t integrate anything there anymore)

I accidentally removed the game-field id around the game field during the refactoring. Added it back and aspect-ration should work again @StrongCoding @memaar92


Update project to Python 3.11

Creating this issue in reference to

https://github.com/onnela-lab/beiwe-backend/issues/370

Python 3.8 goes out of support in October, Beiwe Backend will be upgrading before that, but can't upgrade until Forest is known to be compatible 3.11. (and I encountered a requirements issue last week when I did some testing on a local environment)
@hackdna Could you please flesh-out this issue with tasks that should be done along with a python platform upgrade?

@hackdna this sounds great, would you like the RA's to help with Forest testing?

Yes, and also troubleshooting any errors that may arise.

@biblicabeebli Forest should be compatible with 3.11 now: https://github.com/onnela-lab/forest/pull/248 Please approve if it looks good to you.

Cool. We are going to be stuck for a little bit on 3.8, but the requirements issue I mentioned up at the top was due to a conflict in the old version of Celery, which has been upgraded.
The blocker will be any new Python 3.11 syntax, but running the backend's test suite (which should do the handful of imports that we need) under python 3.8 didn't explode anything.
No objections to merging this into your dev branch, any further complications should be my own fault (I suppose we might encounter new and exciting forest issues but we won't know until we try.)
@GeorgeEfstathiadis @hydawo I'm going to put this build up on the staging data processing server running under 3.8, let's make sure everyone who needs to know knows.


GVR Spatial Audio not Functioning as Expected

Hey,
I am attempting to utilise the GVR spatialiser plugin in my tango project which is an ever so slightly adapted version of the mesh builder with occlusion example. I eventually managed to work my way through to a successful compile, through using a blank project, importing GVR SDK, then Tango SDK and a few horrible edits of the android manifests.
The audio is currently playing and appears to be spatialised, when I select a new world position for the AR marker the HRTF appears to change and does indeed sound like it is coming from the direction. However all "head" (phone) rotation and movement does not work, the HRTF filters appear unchanged.
I currently have only GVRAudio related objects within my scene, is it possible that the GVR Audio Listener needs a GVR associated object in order to determine its positon/rotation (like a GVR head?) I haven't used GVR before this project and really only want the spatialiser, I am currently having to use oculus and would really like the extra features from GVR.
And is there an accepted standard way to integrate GVR and Tango?
Thanks

Unfortunately, GVR and Tango do not work nicely together. But you should be able to only add the GVR Audio plugin to your Tango project by making a small change in the code. I did some test and I got GVR Audio working with Tango. Here is what I did:

Create an empty Unity project.
Import Tango Unity Plugin.
Import the following files from Unity GVR Plugin:

GvrAudio.cs
GvrAudioListener.cs
GvrAudioRoom.cs
GvrAudioSoundField.cs
GvrAudioSource.cs
BaseAndroidDevice.cs
Pose3D.cs
gvr_audio.jar
libaudioplugingvrunity.so
libgvrunity.so(from GVRBackwardsCompatibility.unity)
gvr_android_common(from GVRBackwardsCompatibility.unity)

Change BaseAndroidDevice to NOT inherit from BaseVRDevice.
Open the AugmentedReality Scene.
Select Gvr Audio Spatializer as the Spatializer Plugin in the Edit > Project Settings > Audio : Spatializer Plugin dropdown menu.
Add GvrAudioListener and AudioListener to Tango AR Camera
Add GvrAudioSource to an object in the scene.
Build and Run the AugmentedReality Scene.

Result: I can hear the spatialized audio and it changes correctly according to my phone(camera) location.

Hey,
I can confirm that this method works, thank you very much! I can happily use GVR spatialisation again!
I actually solved the problem myself, the solution is not as elegant as yours though:
Import GVR package,
Import Tango package,
Then edit all android manifest's to min version 19 and max version 24.
This then worked for me, but is obviously a little hacky.
Do you have any info on how spatial audio / GVR will integrate with tango in the future?

We probably will make GVR Audio easier to separate from the reset GVR Unity plugin.


Improve League URI Parser speed

Issue summary
The current parser is accurate but slow. We should try to improve the parser speed.

Looks like repetitive patterns for all various preg call. Could be done in the 1st one.
Also I would suggest to enable pcre JIT when available.
Simple regex (host f.e.) could be faster using simple strings ops.
After quick review, but analyze the pcre calls will bring more insight.

Add same idea of @pierrejoye: the parsing should be done with a single, bigger, preg_match and sometimes no need regex at all.
For example
if (preg_match(self::REGEXP_INVALID_URI_CHAR, $uri)) {
  throw new InvalidArgumentException();
}

could be
if ($uri !== str_replace(self::INVALID_URI_CHARS, 'x', $uri)) {
  throw new InvalidArgumentException();
}

where
const INVALID_URI_CHARS = [
		"\x00",
		"\x01",
		"\x02",
		"\x03",
		"\x04",
		"\x05",
		"\x06",
		"\x07",
		"\x08",
		"\x09",
		"\x0A",
		"\x0B",
		"\x0C",
		"\x0D",
		"\x0E",
		"\x0F",
		"\x10",
		"\x11",
		"\x12",
		"\x13",
		"\x14",
		"\x15",
		"\x16",
		"\x17",
		"\x18",
		"\x19",
		"\x1A",
		"\x1B",
		"\x1C",
		"\x1D",
		"\x1E",
		"\x1F",
		"\x7F",
	];

You might want to consider looking at other implementations. The first thing that comes up in my mind in Servo (Mozilla

Improvement so far:
@pierrejoye Only 3 regular expressions remains. And one won't be used in PHP7 in most cases
@Giuseppe-Mazzapica instead of str_replace I'm using strcspn to check for invalid characters

@nyamsprod I used str_replace to have invalid chars in array which is more readable, but I guess strcspn is fine :)
Have you noted speed improvements so far?

yes great improvement. The Parser on the master branch compared to the original parser found on league URI v4 there's a gain between 30 and 75% depending on the complexity of the URI structure.

version 0.2.0 is out which removes all regular expressions. The parser speed is improved between 30 and 75% against the current stable League\Uri\UriParser.