run on OSX

abcdeMacBook-Pro:examples abc$ python facerec_from_webcam.py
OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvShowImage, file /Users/travis/build/skvark/opencv-python/opencv/modules/highgui/src/window.cpp, line 583
Traceback (most recent call last):
File "facerec_from_webcam.py", line 44, in
cv2.imshow('Video', frame)
cv2.error: /Users/travis/build/skvark/opencv-python/opencv/modules/highgui/src/window.cpp:583: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvShowImage

Excuse me, could you tell me how to solve the problem is?

I wrote myself a set of face recognition, face detection, with caffe. TensorFlow also got it. How to solve this I really forgot, the time a little longer


[BUG] Slide Unfinished Drafts Infinitely

Context & versions

Although I have only one draft I can slide it to infinite time.

Steps to reproduce
https://www.loom.com/share/d512245bc772445db74ac8a13719b0cf

@kneerose It can be tested on dev with new version of pdf now.
CC: @bosko-m

@vpaunovic , Thanks
I am closing this ticket as the issue is no longer reproducible.


Missing content on semantic change history

This is an interesting topic because it feels that some information was lost:

https://github.com/search?q=org%3Ametanorma doc-history-misc-container&type=code

There are 4 entries that refer to this "semantic document history" location but it doesn't exist.
Originally posted by @ronaldtse in https://github.com/metanorma/metanorma.org/issues/793#issuecomment-2208155467

This has happened a lot as a result of the two years of ignored PRs, and I've often had to go back to the source ticket to find the missing PR in metanorma.org. Did you do so, @ronaldtse ? When this happens again, please do so, or get me to.

Yes this is fixed now, with content rewritten from old commits.


[Wait for #1103] [Props] Implement load properties

[Props] Implement load properties

This patch implement `load_properties` which helps loading properties
for a tuple of properties.

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #1104. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/1104-202104092252100.48440408706665-f7a35efaeef429ba9b18d85dbd26adcc2d72cc5a/.

:octocat: cibot: @zhoonit, nntrainer/utils/node_exporter.cpp includes bug(s). Please fix incorrect coding constructs in your commit before entering a review process.

:octocat: cibot: @zhoonit, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/1104-202104121107200.79840302467346-0c404914a437153bdd4bac63620de267ac3003f0/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/1104-202104121230450.054847955703735-8165237b38a9108611ba9c41693d0e8a1d121f91/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/1104-202104121240490.044559001922607-dcd54ed6d4ef7cab149db0c4b802623d5ff6a36f/.

Is there any overhead to use type checking for every operation?

No, checking type happens at the compile time. So the whole property managing system is lightweight. (getting item from tuple happens at compile time as well)


Feature: Add Blast currency

✅ Checklist

[x] npx changeset was attached.
[x] Covered by automatic tests.
[x] Impact of the changes:

no impact

📝 Description
Adding support for the L2 Blast in Ledger Live

❓ Context

JIRA or GitHub link:

🧐 Checklist for the PR Reviewers

The code aligns with the requirements described in the linked JIRA or GitHub issue.
The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
There are no undocumented trade-offs, technical debt, or maintainability issues.
The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
Any new dependencies have been justified and documented.
Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

Small issues in CI but lgtm


Build Error (broccoli-persistent-filter:Babel >

ember-cli - 3.7.1
ember-data - 3.7.0
ember-cli-babel - 7.4.0

[BABEL] /Users/rinold/mb_project/workspace/web_client/web-client/adapters/application.js: Invalid Option: compact is not a valid top-level option.
        Maybe you meant to use 'spec'? (While processing<EMAIL_ADDRESS>

Stack Trace and Error Report: /var/folders/5l/n69gw2bx779gl145qqxyq17c0000gp/T/error.dump.ec73433589555161a2e98dd738319870.log

@rinoldsimon Do you mean that the latest ember-cli-babel doesn't support the compact option?

Yes. When I worked with ember-cli-babel the version was 7.4.0. Not sure about the latest version.


Directly talk to the JupyterHub API to launch services

We should have code in binderhub that actually talks to the JupyterHub API to launch the user, and return info about the launched pod rather than rely on redirects forever.

Need to figure out how to do authentication in this case, in a way that works across JupyterHub authenticators.

Done now, thanks to @minrk


Urgent: dispatch refresh incorrectly forces the dispatched luis app use the same authoring resource as the dispatch App itself

Tool
Name: Dispatch
Version: 1.7.1
OS: Repros on both Windows and Linux
Describe the bug
Impact: This is blocking us from enabled CICD automation E2E as we need to allocate separate authoring resources for Dispatch itself and the Apps to dispatch.
Issue:
Dispatch refresh failed with the specified authoring key for the luis app listed in the *.dispatch file, but succeeded after switching the Authoring resource for the LUIS App to use the same authoring resource used by the Dispatch app itself, which indicates the CLI only allows the LUIS apps to be dispatched to use the dispatch app's own authoring resource, which does not make sense, as in microservice model, the dispatched luis app could be owned by others with a different authoring resource.
To Reproduce
Steps to reproduce the behavior:

Create a dispatch with a luis app
The LUIS App should have a different LUIS Authoring Azure Cognitive Resource assigned
Refresh the dispatch with dispatch refresh, e.g.,

 dispatch refresh --publishToStaging True --gov False --version 1.0 --dispatch Test_en-us_Dispatch.dispatch --dataFolder C:\test

Change the authoringKey of Test_en-us_AppToDispatch in the sample *.dispatch json below, and also Go to LUIS Portal, switch the Authoring Resource for the LUIS App Test_en-us_AppToDispatch to the same Authoring resource used by the Dispatch itself., and rerun the dispatch refresh command

{
    "authoringRegion": "",
    "culture": "en-us",
    "hierarchical": true,
    "useAllTrainingData": true,
    "dontReviseUtterance": false,
    "copyLuisData": true,
    "normalizeDiacritics": true,
    "services": [
        {
            "intentName": "l_AppToDispatch",
            "appId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            "authoringKey": "",
            "version": "0.1",
            "region": "",
            "type": "luis",
            "name": "Test_en-us_AppToDispatch",
            "id": "1"
        }
    ],
    "serviceIds": [
        "1"
    ],
    "appId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "authoringKey": "",
    "version": "0.1",
    "region": "",
    "type": "dispatch",
    "name": "Test_en-us_Dispatch"
}

Actual behavior
Dispatch refresh failed with the error below.
 {
  "error": {
    "code": "Unauthorized",
    "message": "The user is not the owner or a co-owner of this application."
  }
}

Dispatch refresh succeeded after switching the Authoring resource for the LUIS App to use the same authoring resource used by the Dispatch app itself, which indicates the CLI is mistakenly using its own authoring key to operate the dispatched app.
Expected behavior
Dispatch refresh should work properly at Step#3 with using the corresponding authoring key specified for the LUIS App in the *.dispatch file.
Addtional Notes
Please note that at Step#4, the dispatch refresh would still fail if the authoring key of Test_en-us_AppToDispatch in the *.dispatch file remains the original authoring key when you only switch the authoring resource for it through LUIS Portal, so this indicates the CLI seems reading and validating the authoring key in some logic, but somehow can only make it through when the Test_en-us_AppToDispatch is with the same authoring resource as the Test_en-us_Dispatch itself.
[bug]

@dawwa, dispatch refresh should still succeed/finished regardless of the error.  You could safely ignore the message.  That step tries to add the key as subscription keys to the child LUIS app(s), since the key has no access to the child LUIS app(s), the error message is printed.  However the refresh command should still finish.
Let me know if refresh doesn’t actually finish, thanks!


Gladiator's Preseverance leech

The Gladiator's Preserverance node in PoB states "0,6% of Attack Damage Leeched as Life" but actually is "0,6% of Physical Attack Damage Leeched as Life"

Nevermind, already fixed


"Xbox Live" sandbox moved to "Device Manager"?

On some of my windows machines this Device Portal has an "Xbox Live" section, where I can change the XBL sandbox for my machine.
On one of my recently-updated machines, I couldn't find this option. However the "Device Manager" section seems to now have an option to change the "Sandbox", without reference to Xbox Live. (I suppose that's because the Windows Store also uses this sandbox system?)
A note to clarify where this option lives, and/or the fact that it's moved, would be helpful for UWP ID@XBOX developers.

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

ID: 488cd511-8a4c-8c0d-83a8-c22b6fe46228
Version Independent ID: 6c723fa9-de64-f757-b32e-dff7e35692d8
Content: Device Portal for Windows Desktop - UWP app developer
Content Source: windows-apps-src/debug-test-perf/device-portal-desktop.md
Product: windows
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

Hi @IQpierce, thanks for the feedback. Are you still seeing this behavior, where on some machines there is an Xbox Live section in the Windows Device Portal, but on others there isn't? On both of my machines (Windows 10, version 1809, build 17763) I see the Xbox Live section. Perhaps make sure you're up-to-date?


Convos installation error

Having some issues running this guy...
uname:
Linux notrealhostname 4.9.50-x86_64-linode86 #1 SMP Thu Sep 14 19:28:20 UTC 2017 x86_64 GNU/Linux
convos.log:
[Wed Nov 22 19:30:55 2017] [info] CONVOS_HOME="/home/convos/convos" # https://convos.by/doc/config.html#convos_home"
[Wed Nov 22 19:30:55 2017] [info] CONVOS_SECRETS written to /home/convos/convos/secrets # https://convos.by/doc/config.html#convos_secrets
Could not load "Mojolicious::Plugin::AssetPack::Pipe::Reloader": Can't locate Mojolicious/Plugin/AssetPack/Pipe/Reloader.pm in @INC (you may need to install the Mojolicious::Plugin::AssetPack::Pipe::Reloader module) (@INC contains: /home/convos/perl5/lib/perl5 /home/convos/convos/script/../lib /home/convos/convos/script/../local/lib/perl5/x86_64-linux-gnu-thread-multi /home/convos/convos/script/../local/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 128) line 1.
 at /home/convos/convos/script/../local/lib/perl5/Mojolicious/Plugin/AssetPack/Util.pm line 48.
	Mojolicious::Plugin::AssetPack::Util::load_module("Mojolicious::Plugin::AssetPack::Pipe::Reloader") called at /home/convos/convos/script/../local/lib/perl5/Mojolicious/Plugin/AssetPack.pm line 136
	Mojolicious::Plugin::AssetPack::_pipes(Mojolicious::Plugin::AssetPack=HASH(0x55ee32e171a8), ARRAY(0x55ee32df59c0)) called at /home/convos/convos/script/../local/lib/perl5/Mojolicious/Plugin/AssetPack.pm line 102
	Mojolicious::Plugin::AssetPack::register(Mojolicious::Plugin::AssetPack=HASH(0x55ee32e171a8), Convos=HASH(0x55ee30bf9d70), HASH(0x55ee32e17730)) called at /home/convos/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm line 46
	Mojolicious::Plugins::register_plugin(Mojolicious::Plugins=HASH(0x55ee32d2d028), "AssetPack", Convos=HASH(0x55ee30bf9d70), HASH(0x55ee32e17730)) called at /home/convos/convos/script/../local/lib/perl5/Mojolicious.pm line 186
	Mojolicious::plugin(Convos=HASH(0x55ee30bf9d70), "AssetPack", HASH(0x55ee32e17730)) called at /home/convos/convos/script/../lib/Convos.pm line 128
	Convos::_assets(Convos=HASH(0x55ee30bf9d70)) called at /home/convos/convos/script/../lib/Convos.pm line 80
	Convos::startup(Convos=HASH(0x55ee30bf9d70)) called at /home/convos/convos/script/../local/lib/perl5/Mojolicious.pm line 179
	Mojolicious::new("Convos") called at /home/convos/convos/script/../local/lib/perl5/Mojo/Server.pm line 17
	Mojo::Server::build_app(Mojo::Server=HASH(0x55ee30b5f098), "Convos") called at /home/convos/convos/script/../local/lib/perl5/Mojolicious/Commands.pm line 71
	Mojolicious::Commands::start_app("Mojolicious::Commands", "Convos") called at /home/convos/convos/script/convos line 84

Tried installing mojolicious separately with the same issue.

I think @marcusramberg have fixed this now..? Please try again.


add oauth2 flow as provider

[x] make frontend schick

[x] Authorize screen
[x] CRUD views für applications
[x] user token view

[x] scopes definieren
[x] bestehende endpoints updaten (scopes und permissions ranschreiben)
[x] Was passiert beim Logout? Was passiert bei Passwort-Änderung?
[x] restrict application creation to staff users
[x] create followup issues:

[x] API-Key mit Gruppen permissions -> #906
[x] Idee: Manual User Token creation -> #907

Coverage: 86.671% (-1.3%) from 87.921% when pulling 852f614fc493c9b1a70cadee2803ac7f1741bb48 on oauth2 into ef0c77e1f2c82230bdcce0bc6bd54866562fef5a on main.


Strategic question

Is mikkoo a new tool to replace pg_amqp ?

I can serve as a suitable replacement for pg_amqp. That's what I use it for at work.
Regards,
Gavin


Idea for new ruleset: check if flow is saved in auto layout

Sometimes a record-triggered flow is not showing in the trigger explorer if it is not saved in the auto layout mode. Apart from that, there are more benefits to do so.
I assume for you it is an easy one to check the tag and return true / false
<processMetadataValues>
    <name>CanvasMode</name>
    <value>
        <stringValue>AUTO_LAYOUT_CANVAS</stringValue>
    </value>
</processMetadataValues>

This feature seems to be in beta, but at least that is my recommendation. The auto layout will give you a tree-like representation of the flow and makes it easier to understand the logic from top to button. apart from that, Salesforce does not let you create unconnected elements.
https://help.salesforce.com/s/articleView?id=release-notes.rn_forcecom_flow_fbuilder_autolayout_mode.htm&release=228&type=5
FREE_FORM_CANVAS is the value which should not be used  AUTO_LAYOUT_CANVAS is the correct one
Below you will see that sometimes record-triggered flows are not showing up in the flow trigger explorer if saved in free form. Saving the flow in an auto-save layout will fix the issue. Since this is only appearing for record triggered flows, this can may be filtered to flows with
<start>
    <locationX></locationX>
    <locationY></locationY>
    <connector>
        <targetReference>Flow_enabled</targetReference>
    </connector>
    <object></object>
    **<recordTriggerType>CreateAndUpdate</recordTriggerType>**
    <triggerType></triggerType>
</start>

To be honest, I agree and this is an easy rule, but it also makes me think we ideally need 'Beta' rules. My proposal would be that this becomes an included best practice as soon as  the feature is not in beta anymore?


Issue with running the container

Thank you for providing the docker setup for compass. I wish I am allowed to give you more than one star.
I have built the docker image using the following command from a directory containing Dockerfile, entrypoint.sh, install_compass.sh, and install_cplex.expect.
docker build -t username/campass:latest
I tried to run the container using the following command from a directory containing expression.tsv (the example file from the developers) and got an error.
docker run username/campass:latest --data expression.tsv
This gave the following error.
usage: Compass [-h] [--data FILE] [--data-mtx FILE [FILE ...]] [--model MODEL]
[--species SPECIES] [--media MEDIA] [--output-dir DIR]
[--temp-dir DIR] [--torque-queue QUEUE] [--num-processes N]
[--lambda F] [--num-threads N] [--and-function FXN]
[--select-reactions FILE] [--select-subsystems FILE]
[--num-neighbors N] [--symmetric-kernel] [--input-weights FILE]
[--penalty-diffusion MODE] [--no-reactions]
[--calc-metabolites] [--precache] [--input-knn FILE]
[--input-knn-distances FILE] [--output-knn FILE]
[--latent-space FILE] [--only-penalties] [--example-inputs]
[--microcluster-size C] [--microcluster-file FILE]
[--microcluster-data-file FILE] [--anndata-output]
[--isoform-summing MODE] [--list-genes FILE]
[--list-reactions FILE]
Compass: error: Nothing selected to do. Add arguments --data, --data-mtx, --precache, --list-genes, --list-reactions, or --example-inputs for Compass to do something.
Can you help me find out what went wrong?

Hey! Thanks for finding that bug. I forgot to forward the command line arguments to Compass inside the container. I just pushed a fix on the main branch. Please try again.

Thanks Adam for sharing the bug fix.
It ran but threw up an error with example file.
Here is the error.
docker run compass --data expression.tsv --species homo_sapiens --num-processes 10 --temp-dir DIR
Building up model cache
100%|██████████| 4849/4849 [34:41<00:00,  2.33it/s]
100%|██████████| 10211/10211 [37:19<00:00,  4.56it/s]
Evaluating Reaction Penalties...
Traceback (most recent call last):
File "/work/.venv/bin/compass", line 33, in
sys.exit(load_entry_point('compass-sc==<IP_ADDRESS>', 'console_scripts', 'compass')())
File "/work/.venv/lib/python3.10/site-packages/compass/main.py", line 588, in entry
penalties = eval_reaction_penalties(args['data'], args['model'],
File "/work/.venv/lib/python3.10/site-packages/compass/compass/penalties.py", line 60, in eval_reaction_penalties
expression = utils.read_data(expression_file) #pd.read_csv(expression_file, sep='\t', index_col=0)
File "/work/.venv/lib/python3.10/site-packages/compass/utils.py", line 60, in read_data
return pd.read_csv(data[0], sep='\t', index_col=0)
File "/work/.venv/lib/python3.10/site-packages/pandas/io/parsers/readers.py", line 1026, in read_csv
return _read(filepath_or_buffer, kwds)
File "/work/.venv/lib/python3.10/site-packages/pandas/io/parsers/readers.py", line 620, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/work/.venv/lib/python3.10/site-packages/pandas/io/parsers/readers.py", line 1620, in init
self._engine = self._make_engine(f, self.engine)
File "/work/.venv/lib/python3.10/site-packages/pandas/io/parsers/readers.py", line 1880, in _make_engine
self.handles = get_handle(
File "/work/.venv/lib/python3.10/site-packages/pandas/io/common.py", line 873, in get_handle
handle = open(
FileNotFoundError: [Errno 2] No such file or directory: '/work/expression.tsv'
The persists even when I not use --temp-dir option and when I specify absolute path of expression.tsv

The issue occurs because the expression.tsv file is being mounted into the Docker container. By default, Docker containers do not have access to files from your host system unless you explicitly mount a directory or file when you run the container. You need to mount the file (or a directory containing it) from your host into the container when running the docker run command using the -v|--volume option.
If the expression.tsv file is in the current directory:
docker run -v $(pwd):/data compass --data /data/expression.tsv

FYI: I will also add this info to the Readme.

I have updated the Readme file. Also, I have improved the installation process.


Simplify config and port setup

@moyix @Frederisk this is a follow up from the discussion we had in https://github.com/moyix/fauxpilot/pull/66
I think this PR superseded #66 if it resolved the discussions we still had left.

This looks good to me, but my GPUs are currently occupied on a long-running task so I can't test immediately. Will do so once I have a free GPU and can run a quick smoke test! :)

@moyix thanks, I tried testing different scenarios but its quite difficult. I tried setting up some automated tests but with my Apple Silicon there is not a lot that I can do due to dependency issues and not having a GPU :D


[WIP] Refactor convert init tooltips.js to type script & add unit tests

When complete Closes #9505
[✔] Convert to typescript and add relevant types
[✔] add JSDOC descriptions as needed
[❌] Add unit tests for the functions in the file - (still working on this part)

This is a great start - well done - thanks for making some epic progress here, let me know when you want a review or if you have questions.

@FatumaA  did you want to flag this as ready for review?

Not quite yet. I had to take a forced break but I will get back to the pending ones

@lb- I think the tests still have issues but a review might help point out any errors


Support deserializing types nested within enums

Hi! Thanks for this library! I am pleasantly surprised by everything it lets me do.
However, I have found a hitch. When deserializing an enum, it seems that the type information is somehow lost, and everything falls back to being Strings. See this test:
#[test]
fn deserialize_i32_in_struct_in_enum() {
    #[derive(Deserialize, Debug, PartialEq, Eq)]
    struct ItemStruct {
        field: i32
    }

    #[derive(Deserialize, Debug, PartialEq, Eq)]
    #[serde(tag = "tag")]
    enum Test {
        Item(ItemStruct)
    };

    let result = Test::Item(ItemStruct{ field: 42 });

    assert_eq!(serde_urlencoded::from_str("tag=Item&field=42"), Ok(result));
}

It currently fails with the run-time error invalid type: string "42", expected i32:
---- deserialize_i32_in_struct_in_enum stdout ----
        thread 'deserialize_i32_in_struct_in_enum' panicked at 'assertion failed: `(left == right)` (left: `Err(Error { err: "invalid type: string \"42\", expected i32" })`, right: `Ok(Item(ItemStruct { field: 42 }))`)', tests/test_deserialize.rs:79
note: Run with `RUST_BACKTRACE=1` for a backtrace.

I have committed this test along with a similar succeeding one with String to my fork. (See also the entire patch)

Where is your patch exactly?

I have made a fork with changes visible in the patch at the link I posted in the initial description: https://github.com/nox/serde_urlencoded/compare/master...maghoff:master
This is not a patch in the sense that it is a proposed change that will fix my problem.
Instead it contains two unit tests to describe my problem: One that fails and a similar one that succeeds. This issue is to request that the necessary changes be made to support both the unit tests.

Oh I see. I don't think this crate will support that ever because that would mean buffering things in case the tag didn't come first, and I don't want this crate to have to do any buffering. Did you check whether serde_qs support this use case already?

Fair enough, buffering is a bummer! :) (Although I do think this would be similar for all other deserializers that support this)
I did try serde_qs without success at the time I initially posted this issue, but it's been a while, so I might try again tonight.

As a side note, I would be happy if this were supported only in the cases where the tag does indeed come first. But I would understand if you would not want to offer that kind of an interface.

That's a reasonable request (well, the original issue is reasonable too), I'll think about it.

I have now been able to try out serde_qs again. It seems to support deserializing tagged enums, but not as the top-level type. This adds some extra syntax to the query string. So, in serde_qs, the feature I am looking for is kind of within reach, but not quite there :slightly_smiling_face:
Elaborating a bit, what I have asked for in this issue looks like this: tag=Item&field=42, while what I can get with serde_qs looks like this: item[tag]=Item&item[val][field]=42. A lot less elegant, I think.
Relevant unit test in serde_qs: https://github.com/samscott89/serde_qs/blob/93d0f47e2aa0fc31a196726163001e31f4824722/tests/test_deserialize.rs#L282-L319
This comment just to inform you of the state of serde_qs with regards to enums.

Cool!

The issue has not been addressed, it seems like this has been closed in error.
Please reopen or state clearly the intention to dismiss.

Oh I see. I don't think this crate will support that ever because that would mean buffering things in case the tag didn't come first, and I don't want this crate to have to do any buffering.

Re-reading this, I can't shake the feeling that a central point has not come across, so I will take the liberty to make it again, more clearly:
serde_urlencoded currently supports deserializing tagged enums. For example tag=Item&field=value can be sucessfully deserialized to the value Item { field: "value" } of the following type:
enum Test {
    Item {
        field: String
    }
}

You can see this in action on the playground, functioning as desired: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=8acdbb53b4721cbd12147246b0c37ecc
This requires no bufring, and is a very useful feature!

My request here is about completing this support such that it also works when the nested type is i32. Playground link to failing example.

Oh, ok.

I ran into this problem myself today. To anyone else arriving here looking for a solution, I have been able to use the flatten workaround described in the serde_qs docs to deserialize nested enum fields using plain serde_urlencoded too.
It involves adding a serde field attribute with a custom deserializer for only that field. It's probably not a great solution if you need to do this frequently in your code as it will add clutter, but for occasional use it's fine.


Update SSH to HTTPS links to fix failed task update

Fixes #1

Thanks for making the PR. Since you created a separate PR for the missing folder, that commit should probably not be included here, right?

Thanks!


Remove user and bookmarks, move to isomorphic fetch

Title of change

Removes user & bookmarks from redux connects
Replaces superagent with isomorphic-fetch
Adds fetch mock for jest
Fixes tests
Changes how ApiClient was setup

As written to @naveed-ahmad on slack:
I am trying to thin down the files (by removing the auth and bookmark stuff) and rewrite some things in a better way. I learnt a lot at Airbnb so far and want to bring those learnings to the project. Hence, removing unused code for the time being. Until we focus on one.quran.com again. But we had a lot of dead code :disappointed:
Checklist

[x] Unit tests written
[x] Manually tested
[x] Prettier & ESLint were run
[x] New dependencies are included in package-lock.json

Screenshot
insert screenshot if needed

rebuild

Deployed to: http://staging.quran.com:32921

rebuild

Deployed to: http://staging.quran.com:32922

@ahmedre any way i can see the logs for last build? Just says internal server error

Deployed to: http://staging.quran.com:32923

@mmahalwy
ReferenceError: fetch is not defined     at ApiClient.get (/quran/dist/helpers/ApiClient.js:82:21)     at loadAll (/quran/dist/redux/actions/chapters.js:34:21)     at chaptersConnect (/quran/dist/containers/Surah/connect.js:74:41)     at /quran/dist/server.js:173:23     at Array.forEach (native)     at /quran/dist/server.js:172:22     at Array.some (native)     at /quran/dist/server.js:168:18     at Layer.handle [as handle_request] (/quran/node_modules/express/lib/router/layer.js:95:5)     at trim_prefix (/quran/node_modules/express/lib/router/index.js:312:13)     at /quran/node_modules/express/lib/router/index.js:280:7     at Function.process_params (/quran/node_modules/express/lib/router/index.js:330:12)     at next (/quran/node_modules/express/lib/router/index.js:271:10)     at bound (domain.js:282:14)     at runBound (domain.js:293:12)     at Raven.extend.context (/quran/node_modules/raven/lib/client.js:267:40)     at /quran/node_modules/raven/lib/client.js:396:12     at Layer.handle [as handle_request] (/quran/node_modules/express/lib/router/layer.js:95:5)     at trim_prefix (/quran/node_modules/express/lib/router/index.js:312:13)     at /quran/node_modules/express/lib/router/index.js:280:7     at Function.process_params (/quran/node_modules/express/lib/router/index.js:330:12)     at next (/quran/node_modules/express/lib/router/index.js:271:10)     at SendStream.error (/quran/node_modules/serve-static/index.js:121:7)     at emitOne (events.js:96:13)     at SendStream.emit (events.js:188:7)     at SendStream.error (/quran/node_modules/serve-static/node_modules/send/index.js:275:17)     at SendStream.onStatError (/quran/node_modules/serve-static/node_modules/send/index.js:392:12)     at next (/quran/node_modules/serve-static/node_modules/send/index.js:711:28)     at /quran/node_modules/serve-static/node_modules/send/index.js:719:23     at FSReqWrap.oncomplete (fs.js:123:15)

Exception are recorded at:  https://sentry.io/qurancom/web/

Oh man, @naveed-ahmad we got lots of exceptions. Also, we have exceeded our monthly quota... we might have to host sentry ourselves cc @hammady @ahmedre

Deployed to: http://staging.quran.com:32924


enable rochester for users

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.45%. Comparing base (bec376e) to head (2d243b8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1198   +/-   ##
=========================================
  Coverage     84.45%   84.45%
  Complexity     3749     3749
=========================================
  Files           385      385
  Lines         12714    12714
  Branches       1098     1098
=========================================
  Hits          10737    10737
  Misses         1470     1470
  Partials        507      507

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


[settle] Add timeout to all settlement calls

Add timeout to all settlement calls to prevent bad connection

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

7 of 7 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 89.184%

Totals

Change from base Build<PHONE_NUMBER>4:
0.05%

Covered Lines:
973

Relevant Lines:
1091

💛  - Coveralls


update log plot and add image plot

Sorry for this late PR. Here is what it contains:

in the new version, semilogx and semilogy are only special cases of loglog, to which I  added an axis parameter.
Add a image plot. Please see here (code, figure) for an example. To remove the ticks/labels around the image, I add a is_image property to page in order for _config_2d_axis to return the proper code -1.

Thanks, this is really useful PR.  A couple of suggestions: 1) we perhaps need to change the function name image to something else if it only shows grayscale image; 2) image can be used to showcase the neural network examples in future; 3) I think axis can be part of the spec, so I will refactor the code a bit later, remember to fetch upstream to sync :)
Nice PR and great job! 👍

It may be worth using plimagefr for this as it would allow more control over the color range used.

@hcarty  Thanks for your suggestion. Currently I'm trying to use plplot to draw color images. I find functions that can manipulate/load colormap palette and map color index to continuous colors, but not a function that can map RGB color back to color index, since my understanding is that plimage and plimagefr only accept one index color matrices as input, while the image data I have consist of 3 matrices, one for each color channel. I've checked related documents but must have missed something. It will be really appreciated if any suggestion about it could be kindly provided. Thanks!

@jzstark plplot does not have a function to map a specific color to a specific matrix element.  plimagefr gives more control over the color range used within a continuous color palette but it doesn't allow directly mapping colors.
It's something that would be good to have in plplot in general so if you want to get your hands dirty in some C then I suspect that a contribution would be welcome!  I haven't been actively involved in the project for a while though unfortunately so I can't offer much direct insight.


arch/x86_64: Fix SMP startup for ACRN Hypervisor

Summary
This patch fixed SMP startup for ACRN Hypervisor.
Impact
x86_64 SMP startup.
Testing
Tested on NUC12 ACRN hypervisor and QEMU/KVM x86_64.

[Experimental Bot, please feedback here]
No, the PR does not meet the NuttX requirements.
Here's why and how to improve it:

Insufficient Detail: The provided information is too brief and lacks the necessary specifics.
Missing Information: Several sections are entirely missing, making it impossible to assess the PR's impact fully.

How to Improve the PR:
Summary:

Why?  Explain the root cause of the SMP startup issue on ACRN Hypervisor.
What? Specify the code modules modified (e.g., architecture-specific startup code, scheduler, etc.).
How? Describe the technical implementation of your fix (e.g., synchronization mechanism added, timing adjustment, etc.).
Links: If applicable, provide links to related NuttX issues this PR addresses.

Impact:

New Feature?  NO (this is a bug fix).
Existing Feature Changed? YES - x86_64 SMP startup
User Impact:  Likely NO (unless users were relying on the broken behavior, which is unlikely).
Build Impact: Possibly YES if build flags or dependencies are affected. Describe any changes.
Hardware Impact:  YES - Specifically targets x86_64 systems running the ACRN Hypervisor.
Documentation Impact:  Possibly YES. If the fix involves user-facing behavior, documentation updates might be needed.
Security Impact:  Potentially YES. SMP issues can sometimes have security implications. Analyze and explain if this fix impacts security.
Compatibility Impact:  Possibly YES. Determine if this fix introduces any backward or forward compatibility issues.

Testing:

Be Specific:

List the exact host operating systems, CPUs, and compiler versions used for testing.
Provide details on the specific ACRN Hypervisor version and QEMU/KVM configurations.

Show, Don't Tell: Include relevant snippets from your testing logs. Demonstrate:

Evidence of the issue before the fix.
Successful SMP startup after the fix.

Remember: A well-written PR makes it easy for reviewers to understand your changes and their impact, significantly increasing the chances of a swift and successful merge.

let's ignore ci check error which is fixed by https://github.com/apache/nuttx/pull/14176 to avoid wasting github resources.


changing resource classes

Coverage increased (+1.6%) to 92.5% when pulling 718fcde67547502b7973456a23ad7c4e8b6a6f63 on reader-writer into 048c10eb2657acb245b56e75df92f01824f0f6da on master.

Coverage increased (+1.6%) to 92.5% when pulling 718fcde67547502b7973456a23ad7c4e8b6a6f63 on reader-writer into 048c10eb2657acb245b56e75df92f01824f0f6da on master.

Coverage increased (+1.6%) to 92.5% when pulling 718fcde67547502b7973456a23ad7c4e8b6a6f63 on reader-writer into 048c10eb2657acb245b56e75df92f01824f0f6da on master.

Coverage increased (+1.6%) to 92.5% when pulling 67f20a76c76827d59b7d9e995305389dc7ffa509 on reader-writer into 048c10eb2657acb245b56e75df92f01824f0f6da on master.

Coverage increased (+4.8%) to 95.625% when pulling ec3b8cbcff7a2ec4b37cc0809141aaa0862e3a08 on reader-writer into 048c10eb2657acb245b56e75df92f01824f0f6da on master.

Coverage increased (+4.8%) to 95.625% when pulling 8b851d7a99c0ee3a9342570aada90ab923a5121d on reader-writer into 048c10eb2657acb245b56e75df92f01824f0f6da on master.


Get release 2.2 ready

We are going to release 2.2 🐣🐣🐣
In this PR, we have all supported system built-in transition animations. Many thanks to @tbaranes
@tbaranes @seanwoodward  please have a look at the changes for BorderDesignable when you have time. refer to #150  Thanks

Just one comment! Otherwise, perfect :+1:


Unintuitive Hello world example in readme

The hello world example in the readme doesn't print anything to the console, so maybe it would be better replaced by a clearer example.

Updated now


Revert "Merge pull request #5470

This reverts commit 87bdeaee41f7bedbc3a5f974eedc013377ef3822, reversing changes made to b5e6365a9bb9e0ca3af194d7add212c092ad1b13, since it breaks the Dustmite, among probably other projects.

So what happened here? I see two unrelated pull requests mentioned.

@andralex The first part of my pull request description was generated automatically by git. It means that your pull-request (#5470) will be reverted and after that the master branch will be in the same state as before (#5470) was merged - the last commit effective commit will be b5e6365 (which remains intact).

I suggest https://github.com/dlang/phobos/pull/5816 instead. I plan to expose the functionality publicly but would like to work the kinks out for a release cycle.

Yes, I would prefer #5816 too.


Analytics 8.3.0

Analytics 8.3.0 podspec.json files

Working on PRs for the SPM updates now.

cc: @paulb777


load_gen build failed.

root@ubuntu1:/home/data/mlperf_inference/mlperf_inference# make mlperf_loadgen
cd third_party/ninja && python configure.py --bootstrap
bootstrapping ninja...
wrote build.ninja.
bootstrap complete.  rebuilding...
[25/25] LINK ninja
# Generate gn's ninja build file
python third_party/gn/build/gen.py
# Build gn
third_party/ninja/ninja -C third_party/gn/out
ninja: Entering directory `third_party/gn/out'
ninja: no work to do.
# Copy gn to third_party/gn, where depot_tools expects it.
cp third_party/gn/out/gn* third_party/gn/.
third_party/gn/gn gen out/MakefileGnProj
ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code.
pkgresult = exec_script(pkg_config_script, args, "value")
^----------
Current dir: /home/data/mlperf_inference/mlperf_inference/out/MakefileGnProj/
Command: python /home/data/mlperf_inference/mlperf_inference/build/config/linux/pkg-config.py glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
Returned 1.
stderr:
File "/home/data/mlperf_inference/mlperf_inference/build/config/linux/pkg-config.py", line 57
print "You must specify an architecture via -a if using a sysroot."
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("You must specify an architecture via -a if using a sysroot.")?
See //build/config/linux/BUILD.gn:89:3: whence it was called.
pkg_config("glib") {
^-------------------
See //build/config/compiler/BUILD.gn:218:18: which caused the file to be included.
configs += [ "//build/config/linux:compiler" ]
^------------------------------
Makefile:22: recipe for target 'mlperf_loadgen' failed
make: *** [mlperf_loadgen] Error 1

I had the same problem. Running the build command with sudo solved the problem

I had the same problem. Running the build command with sudo solved the problem

Thanks， it is solved.

Just wondering why a build command would require sudo...


Aggregate Basic Design

Signed-off-by: Veeupup<EMAIL_ADDRESS>Basic Aggregate design without group by

LGTM


Update photoprism to 2024-05-31

Seems to be working fine on my instance, although I haven't tested it thoroughly.
The main difference seems to be the usage of govips/vips:
https://github.com/photoprism/photoprism/commit/8731215429c8f557466d9df49635c89ae07845ae
https://github.com/photoprism/photoprism/issues/1474
Without devel/pkgconf, the build would fail on:
github.com/davidbyttow/govips/v2/vips
github.com/davidbyttow/govips/v2/vips: exec: "pkg-config": executable file not found in $PATH
*** Error code 1

Stop.
make: stopped in /root/photoprism-freebsd-port

Without graphics/vips, the build would fail on:
github.com/davidbyttow/govips/v2/vips
# github.com/davidbyttow/govips/v2/vips
# [pkg-config --cflags  -- vips]
Package vips was not found in the pkg-config search path.
Perhaps you should add the directory containing `vips.pc'
to the PKG_CONFIG_PATH environment variable
Package 'vips' not found
*** Error code 1

Stop.
make: stopped in /root/photoprism-freebsd-port

#73 has been merged. close this one. Thank you and sorry for my later response on this.

@huo-ju no worries. Thanks for eventually looking into it!


[error 0x800700c1 when launching `C:\Program Files\PowerShell\7\pwsh.exe']

Windows Terminal version (or Windows build number)
1.8.1521.0, 1.9.1523.0
Other Software
Windows 10 Pro
Version 2004 (OS Build 19041.1052)

Steps to reproduce
Windows Terminal

PowerShell installed in C:\Program Files\PowerShell\7
PowerShell the default windows terminal profile
Open Windows Terminal with PowerShell as the default profile.

Expected Behavior
Windows Terminal open PowerShell console.

Actual Behavior

Workaround
Find the 8.3 path to the directory with the space (dir /x)
Update the Windows Terminal Profile for PowerShell to use the 8.3 Path

Success

You have a file or folder called "C:\Program".

WWDYK. The damn Citrix Receiver Application installer update has generated an install log to a file named program in the root of C:\ 😡
Thx, closed.

Can anybody help me with this error


Check for updates: TlsException: Invalid certificate received from server

Can't check for updates because Mono doesn't trust the connection.

TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a
Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection certificates)

Explanation:

That’s probably because you do not trust the site you are connecting to. Note that a default installation of Mono doesn’t trust anyone!
http://www.mono-project.com/docs/faq/security/

Possible solution #-1, actively ignore security concerns:
ServicePointManager.ServerCertificateValidationCallback = (a, b, c, d) => { return true; };

Alternative solutions: http://www.mono-project.com/archived/usingtrustedrootsrespectfully/

Hey! I will look into this. It works fine on a Mac. I'll set up a Windows machine to reproduce and then take a look a the solutions described in your links.

Ok, your solution works fine! Thanks! I'll release a new version soon which will contain your fix.


[DSIP-13][Feature]local_resource_plugin

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@xdu-chenrj Please associate the issue.

Codecov Report

Merging #11360 (f66d877) into dev (9d6fc92) will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #11360      +/-   ##
============================================
+ Coverage     39.41%   39.43%   +0.01%
  Complexity     4619     4619
============================================
  Files           980      980
  Lines         37260    37242      -18
  Branches       4176     4168       -8
============================================
  Hits          14687    14687
+ Misses        21037    21019      -18
  Partials       1536     1536

Impacted Files
Coverage Δ

...e/dolphinscheduler/remote/NettyRemotingClient.java
50.00% <0.00%> (-2.78%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.29% <0.00%> (-0.57%)
:arrow_down:

...eduler/api/service/impl/DataSourceServiceImpl.java
27.90% <0.00%> (ø)

...cheduler/server/master/utils/DependentExecute.java
0.00% <0.00%> (ø)

.../dolphinscheduler/plugin/task/datax/DataxTask.java
0.00% <0.00%> (ø)

...phinscheduler/plugin/task/chunjun/ChunJunTask.java
0.00% <0.00%> (ø)

...cheduler/plugin/task/api/ShellCommandExecutor.java
0.00% <0.00%> (ø)

...nscheduler/service/process/ProcessServiceImpl.java
29.02% <0.00%> (+0.01%)
:arrow_up:

...server/master/runner/task/SwitchTaskProcessor.java
2.52% <0.00%> (+0.02%)
:arrow_up:

...ver/master/runner/task/ConditionTaskProcessor.java
4.93% <0.00%> (+0.06%)
:arrow_up:

... and 6 more

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

I approval the CI run

I fix some CI error in 61176b5

This error may be due to your specific the not found path is windows path, and the value of string is not like the *unix like, we can use fuzzy matching for the error raise in fd37037

This error may be due to your specific the not found path is windows path, and the value of string is not like the *unix like, we can use fuzzy matching for the error raise in fd37037

I'm still thinking about how to output the path correctly. That's wonderful.


org.biojava3.core.exceptions.compoundnotfounderror

I keep getting this message after I hit run:
org.biojava3.core.exceptions.compoundnotfounderror
What might be a solution to this?

Is there any more information in the stack trace? That's an error thrown by BioJava when trying to parse your sequence alignment. Make sure your alignment is a valid FASTA file of protein-coding sequences. You might have a character your sequences that the parser does not understand.

Hello Tamuri,
Thank you for making this amazing package! However, I've encountered the same issue with noia00.
Here are some details:
The error messages:
[1/6] Copying file from '/DATA/Peiyu/PAML_results/H5-17_ancestral_recon/H1_fas/H5_20160623_20170206_17_small_new.phy' to '/DATA/Peiyu/PAML_results/H5-17_ancestral_recon/H1_fas/alignment'.
Successfully copied file.
[2/6] Converting FASTA file 'alignment' to PHYLIP file 'alignment.phylip'.
ERROR: org.biojava3.core.exceptions.CompoundNotFoundError: Compound not found for: Cannot find compound for: 1
Compound not found for: Cannot find compound for: 1
Paths for RaxML, PAML and alignment:
/DATA/standard-RAxML-master/raxmlHPC-PTHREADS-SSE3
/DATA/paml4.9d/bin/baseml
/DATA/gen1.phy
I've tried two format of the phylip files, one is well-accepted by PAML CODEML, the other is directly converted from fasta with script Fasta2Phylip.pl and none of them works. Please find attached two phylips and the script I used.
My PAML and RaxML works fine and PAL and BIoJAVA were installed on ubuntu. Not sure why I can't get treesub work. Any help from you will be greatly appreciated. :-)
Best wishes,
Peiyu
Fasta2Phylip.pl.txt
gen1.txt
gen2.txt

The treesub program works with FASTA format files only. It will convert alignments to Phylip format internally; you should not do it yourself.

Thank you for your swift reply. I've imported fasta file and got this error message:
RAxML was called as follows:
/DATA/Peiyu/standard-RAxML-master/raxmlHPC-PTHREADS-SSE3 -m GTRGAMMA -T 2 -# 10 -s alignment.raxml.phylip -n RECON
Partition: 0 with name: No Name Provided
Base frequencies: 0.352 0.178 0.218 0.253
Error: you need to specify a random number seed with "-p" for the randomized stepwise addition
parsimony algorithm or random tree building algorithm such that runs can be reproduced and debugged ... exiting
raxmlHPC-PTHREADS-SSE3: fastDNAparsimony.c:137: checkSeed: Assertion `adef->parsimonySeed > 0' failed.
Successfully ran RAxML.
[4/6] Rooting tree by outgroup sequence.
ERROR: java.io.FileNotFoundException: /DATA/Peiyu/PAML_results/H5-17_ancestral_recon/H1_fas/RAxML_bestTree.RECON (No such file or directory)
Thank you for your help in advance. :-)

Strange error. It is missing the "-p" option for RAxML. Did you edit the code at all or the annotator.properties file? The annotator.properties file contains the RAxML options used for the program. I think the defaults are "-m GTRGAMMA -T 2 -# 10 -p 12345". Make sure you have the "-p" option.

Thank you so much Tamuri! Indeed the -p is missing in annotator.properties file and the problem was solved after adding it back. Wonderful package!   :-D


sorted bedGraph ouput

In the present, the output of PileOMeth extract is non-sorted bedGraph output with the track header. Why not sort the bedgraph before put the header? I don't know whether it is harder to do?

The output should already be sorted according to the header of the BAM file. Can you give an example of it not being sorted?

It is interesting. I see maybe you are sorted the bedgraph with the header of the Bam file. However, usually, the sorted files is the following sorting.
sort -k1,1 -k2,2 non-sorted.bedGraph > sorted.bedGraph
And we can see such kind of sorting is the requirement from bedgraph to bigwig.
Obviously, if we run the bedGraphTobigwig with the output of the PileOMeth extract, the script will be reported error since:
1, PileOMeth ouputed bedGraph is 6 column not 4 column
2, PileOMeth outputed bedGraph is not sorted by: chr1, chr10, chr11,chr12....chr2, chr20, chr21,chr22, chr3, chrM, chrX, chrY.
3, I think the order of PileOMeth extract bedgraph is chr1, chr2, chr3, ...chr22, chrM, chrX, chrY.
I don't which order is more standardized. Maybe it is not the necessary to change it in PileOMeth extract. We can preapre a script to do the re-ordering easily.

That UCSC's tools complains when a file is already properly sorted is its problem. I will always output by however the BAM file is sorted, since this almost always matches how the fasta file is sorted as well.
If you want a 4 column bedGraph file then you can use the --fraction command. This is convenient for visualization, but not statistics, which is more the purpose of PileOMeth.


socket.accept on release mode crashes with " invalid address "

Note: in debug mode it works.

LLDB:
* thread #1, name = 'my_program', stop reason = signal SIGSEGV: invalid address (fault address: 0x555500000000)
    frame #0: my_program`main at my_program.cr:224
   221        begin
   222          if server.is_a?(TCPServer)
   223            @logger.debug("Before Client Accept, server: #{server}")
-> 224            (client = server.accept) if server.is_a?(TCPServer)
   225            raise "Error accepting client" unless client.is_a?(TCPSocket)
   226            spawn do
   227              client_handler(client.as TCPSocket)
(lldb) bt
* thread #1, name = 'my_program', stop reason = signal SIGSEGV: invalid address (fault address: 0x555500000000)
  * frame #0: my_program`main at my_program.cr:224
    frame #1: 0x00007ffff60ee511 libc.so.6`__libc_start_main + 241
    frame #2: 0x0000555555556dba my_program`_start + 42

Without debugger:
Invalid memory access (signal 11) at address 0x558f00000000
[0x558f95e055e6] ???
[0x558f95dccf80] __crystal_sigfault_handler +32
[0x7f0aeb1c3fe0] ???
[0x558f95dcbb34] main +10740
[0x7f0aea5c1511] __libc_start_main +241
[0x558f95daadba] _start +42
[0x0] ???

Would you paste your LLVM version here?

Please post a reduced test case that always reproduces the error.
BTW: this looks convoluted, and won't do what you seem to want. For example TCPServer#accept will always return a TCPSocket or raise an exeption if an error occured. You'll may want TCPServer#accept? which may return nil if the server was closed (but still raise on errors). For example:
TCPServer.open(9292) do |server|
  loop do
    if client = server.accept?
      spawn client_handler(client)
    else
      break
    end
  end
end

It seems that by moving a few things around (spawn client_handler, instead of spawn do ...) I got it to stop crashing :\ well, at least it's working now I guess


good job! but there is a bug

the bug is about \n，when I open time_pairs.txt with vim, the \n was show in text,that's wrong.with this bug,you can only cut one segment, no two or more segments,because parsing \n is wrong.I don't know about lua and shell,so I change \n to a special char,like:
cutter.lua :  line 82 , change "\n" to  ";"
c_concat.sh: line 39 ,change "\n" to ";"
now I can cut two segments.
以上。

which os do you use? I use mac os,it has no problem,\n was not found in vim.

manjaro linux.
cut rmvb file fail.would you support rmvb?

This script convert video with FFmpeg. maybe original FFmpeg has problem when support rmvb.
------------------ 原始邮件 ------------------
发件人:                                                                                "rushmj/mpv-video-cutter"                                                                                @.>;
发送时间: 2021年4月25日(星期天) 晚上9:27
@.>;
<EMAIL_ADDRESS>主题: Re: [rushmj/mpv-video-cutter] good job! but there is a bug (#4)
manjaro linux.
cut rmvb file fail.would you support rmvb?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

manjaro linux.
cut rmvb file fail.would you support rmvb?

This script convert video with FFmpeg. maybe original FFmpeg has problem when support rmvb.

in Linux, it is not working with \n;
cutter.lua: line 90
change
			if (k%2==1) then str=str..v..',' else str=str..v..'\\n'  to
			if (k%2==1) then str=str..v..',' else str=str..v..';'  end
c_concat.sh: line 39
change "\n" to ";"
IFS=$'\n' a=(`eval cat $time_pairs_txt`)

to
IFS=$';' a=(`eval cat $time_pairs_txt`)

Thank you @gabin22 for the fix!

Thank you guys, I've forked it for flatpak https://github.com/fastrizwaan/mpv-video-cutter-linux


add support for storing the answer under a custom string

Hi,
It would be nice to have support for storing the answer in a custom string and reusing it at any given time in the process.
TakeNote.of(LastResponse.body()).as('first response'),

This is available in the latest release, check out the docs and unit tests for examples.


File shows corrupted after save file

Description
I tried to save cell value/picture to .xlsm file, but I found the file would show corrupted after saving file.
OS: Windows 10
Go Version: 1.18.10

Code:
f, err := excelize.OpenFile(fileName)
if err != nil {
	fmt.Println(err)
	return
}
defer f.Close()

if err := f.SetCellValue(sheetName, cell, val); err != nil {
	fmt.Println(err)
	return
}

if err := f.Save(); err != nil {
	fmt.Println(err)
}

Thanks for your issue. I have fixed some style related issues in v2.8.0, please try to upgrade the master branch code, and if it still doesn't work, please provide a reproducible attachment and code.

Thanks for your issue. Which version of Excelize are you using? I have fixed some style-related issues in v2.8.0, please try to upgrade the master branch code, and if it still doesn't work, please provide a reproducible attachment and code.

Hello, I have the same error too:
The server is Linux,
go v1.20,
excelize/v2 v2.8.0
Note: I use the function f.AddTable() (Maybe this is the cause)
In my case, I can generate the file, and I can open it with WPS 2019, here the file is normal.
However, when download the file from windows, show the next error in Excel (version Microsoft Office Profesional Plus 2019 - Windows 11 as reference):

error148240_01.xmlSe han detectado errores en el archivo "C:\Users\JhonRiv\Desktop\2024-01-26-OpenInvoices (3).xlsx"Característica quitada: Filtro automático de /xl/tables/table2.xml parte (Tabla)Característica quitada: Tabla de /xl/tables/table2.xml parte (Tabla)Característica quitada: Filtro automático de /xl/tables/table4.xml parte (Tabla)Característica quitada: Tabla de /xl/tables/table4.xml parte (Tabla)Característica quitada: Filtro automático de /xl/tables/table6.xml parte (Tabla)Característica quitada: Tabla de /xl/tables/table6.xml parte (Tabla)Característica quitada: Filtro automático de /xl/tables/table8.xml parte (Tabla)Característica quitada: Tabla de /xl/tables/table8.xml parte (Tabla)Característica quitada: Filtro automático de /xl/tables/table10.xml parte (Tabla)Característica quitada: Tabla de /xl/tables/table10.xml parte (Tabla)Característica quitada: Filtro automático de /xl/tables/table12.xml parte (Tabla)Característica quitada: Tabla de /xl/tables/table12.xml parte (Tabla)
Note: the file open in excel, but after that show the error.

@xuri, I am using github.com/xuri/excelize/v2 v2.8.0.
The attachment is the sample, and I had tried that it would be also corrupted.
Code:
f, err := excelize.OpenFile("sample.xlsm")
if err != nil {
	fmt.Println(err)
	return
}
defer f.Close()

if err := f.SetCellValue("test", "K34", "123"); err != nil {
	fmt.Println(err)
	return
}

if err := f.Save(); err != nil {
	fmt.Println(err)
}

sample.zip

Hi @jason10880, thanks for your feedback. As my reply above, I have fixed some style-related issues in v2.8.0, please try to upgrade the master branch code by command go get github.com/xuri/excelize/v2@master, and I have tested it with your attachment and it works well. These patches will be released in the next version.

Hi @jhonriv, thanks for your feedback. Please try to upgrade the master branch code by go get github.com/xuri/excelize/v2@master, and if it still doesn't work, please provide a reproducible attachment and code.

Hi @xuri,
This is a wonderful library. I am currently experiencing corrupted export file on CentOS 8 Streaming like @jhonriv .
Linux  4.18.0-408.el8.x86_64 #1 SMP Mon Jul 18 17:42:52 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID:	CentOSStream
Description:	CentOS Stream release 8
Release:	8
Codename:	n/a

go version go1.21.0 linux/amd64
It works fine on Windows 11. Here is a snippet of my code:
f := excelize.NewFile()
f.SetDocProps(
	&excelize.DocProperties{
		Creator: "Test",
		Created: time.Now().Format(time.RFC3339),
	})

// Column Header Style
style, err := f.NewStyle(
	&excelize.Style{
		Font: &excelize.Font{
			Bold: true,
		},
	})
if err != nil {
	return err
}

for _, c := range cells {
	if c.IsHeader {
		f.SetCellStyle("Sheet1", c.Axis, c.Axis, style)
	}
	f.SetCellValue("Sheet1", c.Axis, c.Value)
}

// Save to file to count the contents
if err = f.SaveAs(tempfile); err != nil {
	return err
}
b, err := os.ReadFile(tempfile)
if err != nil {
	return err
}
w.Header().Set("Content-Length", strconv.Itoa(len(b)))
w.Header().Set("Content-Type", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")
w.Header().Set("Content-Disposition", "attachment; filename="+filepath.Base(tempfile))
if _, err = w.Write(b); err != nil {
	return err
}

Thank you

Thanks for your feedback @eaglebush, if it does not work with Go 1.21.0, please reference the issues #1465, #1595, #1603, #1608, #1614, #1619, #1620, #1621, #1623, #1633, #1637, #1641, #1642, #1648, #1651, #1652, #1656, #1657, #1660, #1663, #1670, #1686, #1734, #1752, #1764 and #1768. There are some incompatible changes in the Go 1.21.0 encoding/xml library. I have given feedback to the Go team and created a patch for it (golang/go#61881), and it has been fixed on Go 1.21.1. Please using the Go 1.20.12 and previous Go released version or upgrade to Go 1.21.1 and later. I have added notice on the README and documentation website for this.

Hi @xuri ,
Thanks for the quick response. I think I will just update to 1.21.1+.

@xuri It works for me after upgrade the master branch to v2.8.1.
Thanks for the help.

This issue has been closed. But there is still not enough info such as code and attachments to reproduce the comments by @jhonriv, so if you have any feedback, please let me know.


docs(dpg): sample convenience method GetCrops

related to https://github.com/Azure/autorest.csharp/issues/2199
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check for Azure.Verticals.AgriFood.Farming
API changes have been detected in Azure.Verticals.AgriFood.Farming. You can review API changes here

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Verticals.AgriFood.Farming

close since board review is complted


Update to use docopt.go import which should be ok since Go 1.13

Updated the repository to use github.com/docopt/docopt.go which since version Go 1.13 should work ok with Go modules (I know because other project I help maintain nats.go was one of the first projects ending with .go being able to use this approach without issues 😅 )
Signed-off-by: Waldemar Quevedo<EMAIL_ADDRESS>

Coverage remained the same at 88.261% when pulling 8d0f41e610b4ca70a1cea54aca6ffe50f7d24a2b on wallyqs:updates2020 into ee0de3bc6815ee19d4a46c7eb90f829db0e014b1 on docopt:master.

@mboersma ping

@mboersma ping

Closing since seems that project is not maintained anymore, but this should be fine in case someone wants to pick this up.

Closing since seems that project is not maintained anymore, but this should be fine in case someone wants to pick this up.

@wallyqs my apologies for not following up! You're right that the project is unmaintained now, and I'm reluctant to make any changes that would imply it's still supported.
I still think docopt is a groovy idea, but the project founder has moved on and none of us have been able to contact him for years. 😞

@wallyqs my apologies for not following up! You're right that the project is unmaintained now, and I'm reluctant to make any changes that would imply it's still supported.
I still think docopt is a groovy idea, but the project founder has moved on and none of us have been able to contact him for years. 😞

@mboersma no worries! I liked docopt since it was great for prototyping when using it in Ruby, thanks for the reply :)

@mboersma no worries! I liked docopt since it was great for prototyping when using it in Ruby, thanks for the reply :)

Would be great to add 1.16 and 1.17 to CI with this PR as well @wallyqs

@oprypin This looks safe to merge targeting a 1.x release and deprecating pre-module Go along with #80.

@shakefu thanks, just added 👍


Allows passing kwargs to the dataclass underlying strawberry types.

Description
As per title and #2688 .
Types of Changes

[ ] Core
[ ] Bugfix
[ ] New feature
[x] Enhancement/optimization
[ ] Documentation

Issues Fixed or Closed by This PR

#2688

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver, so make sure to pick the appropriate type. If in doubt feel free to ask :)
Here's the tweet text:
🆕 Release (next) is out! Thanks to Corentin-Br for the PR 👏

Get it here 👉 https://github.com/strawberry-graphql/strawberry/releases/tag/(next)

@Corentin-Br @patrick91 Would a better solution be to check if the class is already a dataclass in the _wrap_dataclass function and if it is just return it? That way you can create a customised data class first and then wrap it as a strawberry type:
@strawberry.type
@dataclass(repr=False)
class MyType:
    …

@Corentin-Br @patrick91 Would a better solution be to check if the class is already a dataclass in the _wrap_dataclass function and if it is just return it? That way you can create a customised data class first and then wrap it as a strawberry type:
@strawberry.type
@dataclass(repr=False)
class MyType:
    …

I think I tried that once and I broke things, but I didn't spent too much time on it :)
@Corentin-Br would that work for you too?
I'm not opposed to either to be honest

I'm not opposed to it, but the naive way to implement it (if is_dataclass(cls): return cls) does indeed create quite a few errors, and I have no idea why (though it seems to come from inheritance/multiple decorations).
I feel like the advantages it has over my proposition (not having to follow closely the dataclasses library changes, and the usecase where your class is already a dataclass before being decorated) aren't worth the hassle.
But maybe someone has an easy way to implement it?

@Corentin-Br I'll do a quick try later today or tomorrow!
Thanks for your patience :D

I feel like the advantages it has over my proposition (not having to follow closely the dataclasses library changes, and the usecase where your class is already a dataclass before being decorated) aren't worth the hassle.

The other advantage is that it avoids us being coupled to using dataclasses as the only way to define Strawberry types. If we include the dataclass args in the Strawberry type definition then we are always tied to using dataclasses.

@Corentin-Br @patrick91 figured out a way of doing it here: https://github.com/strawberry-graphql/strawberry/pull/2700


[1.18 - 21W43A] Portal placed on roof of Nether type dimensions

Hi, on latest beta45v2, the portal is placed on the roof of my nether like dimension.
I define the dim this way like the vanilla Nether:
{
"logical_height": 128,
"infiniburn": "minecraft:infiniburn_nether",
"effects": "minecraft:the_nether",
"ambient_light": 0.1,
"respawn_anchor_works": true,
"has_raids": false,
"min_y": 0,
"height": 256,
"natural": false,
"coordinate_scale": 8.0,
"piglin_safe": true,
"bed_works": false,
"fixed_time": 18000,
"has_skylight": false,
"has_ceiling": true,
"ultrawarm": true
}

Ah I know why, the mapping that changed had to do with getting the logical top. I think I changed that mapping to the incorrect thing, likely the actual top of the world.

This was fixed in beta45v3

okie dokie, I will  update and test.

seems to work great, I did a number of portals at different levels and they all worked fine.


expr: real and double precision should round to even (aka banker's rounding)

Describe the bug
According to PostgreSQL doc:

When rounding values, the numeric type rounds ties away from zero, while (on most machines) the real and double precision types round ties to the nearest even number.

However, RisingWave is using num_traits::ToPrimitive::to_i64 which actually truncates towards zero. For decimal/numeric, round_dp is called before to_i64.
To Reproduce
select '1.7'::float8::int;
select '1.7'::numeric::int;
select '-1.7'::numeric::int;
select '-1.7'::float8::int;

select '1.5'::float8::int;
select '1.5'::numeric::int;
select '-1.5'::numeric::int;
select '-1.5'::float8::int;

select '2.5'::float8::int;
select '2.5'::numeric::int;
select '-2.5'::numeric::int;
select '-2.5'::float8::int;

Expected behavior
2
2
-2
-2

2
2
-2
-2

2
3
-3
-2

Additional context

rust as operator
num_traits::ToPrimitive impl
Different rounding algorithms or wikipedia.

This would be easier once rust has native support: https://github.com/rust-lang/rust/pull/95317

Available in nightly:
https://doc.rust-lang.org/nightly/std/primitive.f64.html#method.round_ties_even


Null pointer exception when no period is found

Have you read the FAQ and checked for duplicate open issues?
Yes, I checked, but if there is anything similar, please close it.
What version of Shaka Player are you using?
master and 2.5.4
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from master?
yes
Are you using the demo app or your own custom app?
custom app
If custom app, can you reproduce the issue using our demo app?
no
What browser and OS are you using?
chrome and mac
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
Tizen 2017, 2018
What are the manifest and license server URIs?
If you require, we can send it.
What did you do?
When we call resetConfiguration during live playback, it causes null pointer exception at this line. Because period is returned null from getPresentationPeriod_ even though there are valid periods . The reason for the null period is presentationTime is returned 0 at the beginning of the stream. So, it could not set the lastPeriod. Eventually, the user is not able to change channels.
What did you expect to happen?
The user should be able to change channels.
What actually happened?
Explained above. To elaborate on the issue a little bit more, the presentationTime is calculated correctly later on, but the beginning on the stream is calculated as 0. This seems like a race condition and it is not easy to reproduce it. I also attached a screenshot although it is caught in minified shaka player. Could you give us some insight about why presentationTime is return 0? Or what else could it be causing this issue?
Thank you.

Confirmed.  I've just run across the same issue on Chromecast for another partner.  I believe I have a working fix, and it's in review.


upstream date-time parsing fixes

Two bugs revealed so far from fuzz testing in bilrost:

parse_two_digit_numeric does not check the length of its input before calling split_at, potentially causing a panic
a logic error in the translation of year_to_seconds from the original musl implementation caused it to treat the year 1900 as a leap year, causing (i believe) every date from 1900-01-01 to 1900-03-01 to be offset one day into the past when converting from DateTime to Timestamp.

Here's another suggested fix for some weirdness that fuzzing failures highlighted: https://github.com/mumbleskates/bilrost/commit/2e43e023664d2127ccd9dc650476b7c397bfc077

Here's another suggested fix for some weirdness that fuzzing failures highlighted: mumbleskates/bilrost@2e43e02

Could you create a PR for that? Thanks.


New version: AtomsBaseTesting v0.1.1

Registering package: AtomsBaseTesting
Repository: https://github.com/JuliaMolSim/AtomsBase.jl
Created by: @mfherbst
Version: v0.1.1
Commit: 3f8c1108dfb239770ec293dd162c0befed5ff135
Reviewed by: @mfherbst
Reference: https://github.com/JuliaMolSim/AtomsBase.jl/commit/3f8c1108dfb239770ec293dd162c0befed5ff135#commitcomment-116584062
Description: A Julian abstract interface for atomic structures.

[noblock] Can someone give the CI another push here?

[noblock] could this get merged please?

[noblock] @giordano sorry to be a bother, but could you give this another push ?

Note that you can always retrigger CI yourself by re-registering the same version, the PR will be automatically updated
[noblock]

I did not know. Next time I wont bother you then.
Thanks!


My youtube view only showing black screen and only audio is playing. I have upgraded the youtube player.

It started working by adding android:hardwareAccelerated="true" in manifest

Hi @PierfrancescoSoffritti great library.
I'm however facing this issue even though i've added android:hardwareAccelerated="true" to my application tag.
The video load. Audio plays. However there's no video.
Kindly help.
Below is my xml if recyclerview item
 <com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView                 android:id="@+id/youtubePlayerView"                 android:layout_width="match_parent"                 android:layout_height="match_parent" />
And here is the code in my adapter
  fragment.lifecycle.addObserver(itemViewHolder.youtubePlayerView)     itemViewHolder.youtubePlayerView.addYouTubePlayerListener(object :         AbstractYouTubePlayerListener() {                     override fun onReady(youTubePlayer: YouTubePlayer) {                         super.onReady(youTubePlayer)                         mainYouTubePlayer = youTubePlayer                         mainYouTubePlayer?.cueVideo(currentVideoId ?: "", 0f)                    }       })

I am also facing the same problem, is there a way to detect if the video plays with black screen. So that we can refresh the video.

We have same issue only with some users

Just try android:hardwareAccelerated="true" or check the ID of youtube link if put correctly.

hi dear, android:hardwareAccelerated = "true" doesn't solves the problem. Have already tried that with app level and activity level.

Just try android:hardwareAccelerated="true" or check the ID of youtube link if put correctly.

It started working by adding android:hardwareAccelerated="true" in manifest

THIS ONE WORKED FOR ME!!!!

I face the same issue and I try to add hardware accelerated by every way I can do, but it still cannot. Does there have anyone resolve that.
In MainActivity:
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        youTubeView = findViewById(R.id.youtube_player_view);
        getLifecycle().addObserver(youTubeView);
        getWindow().setFlags(
                WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
                WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);
        youTubeView.setLayerType(View.LAYER_TYPE_HARDWARE, null);
    }

In Manifest:
      <application
        android:allowBackup="true"
        android:hardwareAccelerated="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">
        <activity
            android:hardwareAccelerated="true"
            android:name=".MainActivity"
            android:label="@string/title_activity_main"
<EMAIL_ADDRESS>            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

My emulator choose Graphics: Hardware - GLES 2.0.

android:hardwareAccelerated="true" doesn't work for me, testing on Android nexus 5x

Just try android:hardwareAccelerated="true" or check the ID of youtube link if put correctly.

Works for me

android:hardwareAccelerated="true"
this solution is working for me

This solution is not working for me

android:hardwareAccelerated="true" works for me

Cools, seems like hardware acceleration does it.
It might not fix the problem on an emulator, but I suggest double checking on a real device.

ok, I've already tested it on a real device and it's good. I'm using your
api to load videos into a feed, like instagram.
I have two questions if you can answer me:

can I get rid of related videos showing at the end of a video? the rel
option only has options to show from the same channel or from multiple, but
no option not to show.
sometimes when tapping on the video a shadow screen appears above the
video with some options like account, loop, copy url, copy code...Can I
prevent this from happening?

Em sex., 12 de ago. de 2022 às 02:33, Pierfrancesco Soffritti <
@.***> escreveu:

Cools, seems like hardware acceleration does it.
It might not fix the problem on an emulator, but I suggest double checking
on a real device.
—
Reply to this email directly, view it on GitHub
https://github.com/PierfrancescoSoffritti/android-youtube-player/issues/594#issuecomment-1212745369,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2POMLKRHUC3SQDMSRPK4DDVYXO3XANCNFSM4OL5ZE5Q
.
You are receiving this because you commented.Message ID:
<PierfrancescoSoffritti/android-youtube-player/issues/594/1212745369@
github.com>

can I get rid of related videos showing at the end of a video? the rel
option only has options to show from the same channel or from multiple, but
no option not to show.

google's web player doesn't allow to remove that.

sometimes when tapping on the video a shadow screen appears above the
video with some options like account, loop, copy url, copy code...Can I
prevent this from happening?

see #848


[CI] Enhancement License checker

What?
Current license checker is implemented only with minimum features.
Let's make it little bit more fancy!
(Meanwhile, let's fix some bugs...)
Todo

[x] #372
[x] #373
[x] Refactoring license checker

[x] #380
[x] #383
[x] #400
[x] #393
[x] #405

[x] BugFix

[x] #357
[x] #369
[x] #382
[x] #385
[x] #396

Draft

#358

Done!


feat(header): use routerLink for brand instead of href attribute

Using href causes page reload what is not welcome in SPA.

@Hagith - good catch, thanks!


The finally() operator for 2.x branch

The same as #129 just updated for 2.x branch.

Coverage decreased (-0.05%) to 99.954% when pulling 9c7745dbe64e6eb9eb247a902a0b6af2d52074cf on martinsik:dofinally-operator-2.x into b59ebe597a61604c68cdd7e697cf00f5c6b46ee4 on ReactiveX:2.x.


Improve PTransformMatcher ToStrings

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @dhalperi

LGTM, please self-merge when green.

Coverage decreased (-0.003%) to 70.331% when pulling df364d6da821d44c87acaceac13acc3461d7f6fe on tgroh:matcher_tostrings into 3b4e0fb1686108e2d74b6dd3cea1a23398462270 on apache:master.


Spelling of Graylog

https://www.portainer.io/features/observability
The product Graylog is misspelled, furthermore there is no information of what this is referring to.
Is it the docker/application-logs or the auth-logs?

Logging
Portainer is able to display your application logs, either at an individual container/pod level, or via an aggregated service/application view. Logs remain visible for the life of the container and are presented to the user via the Portainer GUI. Portainer even allows the logs to be saved locally to allow for in depth forensic analysis.
Application logs can be easily redirected to an external logging solution, such as ELK, Greylog, or Syslog.

Thanks for this, I have passed this on to our website team to look at further.


Documentation hasn't be updated for a long time

https://github.com/hansjorg/rust-ci/issues/22 unfortunately means that the online docs are very out of date, e.g. the changes in https://github.com/PistonDevelopers/event/commit/e4d7b295f9bdf481d9b4ba9066cf0221cc58e897 are not reflected in the docs (one would expect the Eq and Show traits to appear in the list of derived implementations).
Strictly speaking this is not a piston bug, but I thought you may wish to know.

This is still a problem. piston-image added commands to .travis.yml to fix this https://github.com/PistonDevelopers/image/blob/master/.travis.yml

I opened https://github.com/PistonDevelopers/piston/issues/845

Closed by https://github.com/PistonDevelopers/piston/pull/849


New bidder adapter: Viant

🏷 Type of documentation

[ x] new bid adapter
[ ] update bid adapter
[ ] new feature
[ ] text edit only (wording, typos)
[ ] bugfix (code examples)
[ ] new examples

📋 Checklist

[ x] Related pull requests in prebid.js or server are linked -> https://github.com/prebid/Prebid.js/pull/10149

docs PR https://github.com/prebid/prebid.github.io/pull/4681

https://docs.prebid.org/dev-docs/bidder-adaptor.html#submitting-your-adapter

added the missing header fields as requested


Node Module Errors

Unable to run npm install.

@tangentkitty Can you please paste the error you are getting? I verified it and did not receive any issues. Which version of node are you using?

@tangentkitty can you also provide the details of the version of Node/npm you're using

@rywilson-ibm @ThomasHurek . I am using node v8.0 I am getting the attached error. Also, when I delete the .npmrc files it says the version for ibm-wch-sdk-ng cannot be found.

Update.  I've removed the first line of the .npmrc file, that was referring to a registry you cannot get to.  You should just be able to pick up the latest version of .npmrc now., but the dependency for ibm-wch-sdk-ng will still need to be updated.

Please update package.json to "ibm-wch-sdk-cli": "1.0.771" in devDependencies. Now I am able to start the application. However I am not getting the components. This is how the application looks.
Also these are the errors I get,
WARNING in ./src/app/wchHeader/wchHeader.component.ts
134:50-66 "export 'RenderingContext' was not found in 'ibm-wch-sdk-ng'
WARNING in ./src/app/wchHeader/wchHeader.component.ts
134:86-102 "export 'RenderingContext' was not found in 'ibm-wch-sdk-ng'
WARNING in ./src/app/wchHeader/wchHeader.component.ts
135:57-73 "export 'RenderingContext' was not found in 'ibm-wch-sdk-ng'
WARNING in ./src/app/wchHeader/wchHeader.component.ts
135:93-109 "export 'RenderingContext' was not found in 'ibm-wch-sdk-ng'

@tangentkitty Did you configure the CORS in WCH - e.g. * ?

@ThomasHurek - I missed to add the domains. It's working perfectly fine now. Thank you all for your immediate assistance


UI Theme: 1 is not a supported code page.

Hello,
I'm using the latest flashDevelop development build & I'm getting the following error while trying to apply a Full UI Theme (via Tools/Select UI Theme...) :
1 is not a supported code page.
Parameter name: codepage

   at System.Text.Encoding.GetEncoding(Int32 codepage)
   at ICSharpCode.SharpZipLib.Zip.ZipConstants.ConvertToString(Byte[] data, Int32 count)
   at ICSharpCode.SharpZipLib.Zip.ZipConstants.ConvertToStringExt(Int32 flags, Byte[] data)
   at ICSharpCode.SharpZipLib.Zip.ZipInputStream.GetNextEntry()
   at FlashDevelop.MainForm.ExtractZip(Object sender, EventArgs e)

Best,
Aurélien

I can not repeat it on my latest development version :(

What is your specific version(Help -> About FlashDevelop...)?
From where and how did you install it?
What kind of theme do you want to install?
Is the error stable?

My version is FlashDevelop <IP_ADDRESS>8 for .NET 4.0 (development#55b0322bd7)
I have downloaded the installer from the build page: https://flashdevelop.org/downloads/builds/
I want to install the VsDark Full Theme (1.2) downloaded from the embedded AppMan tool.
The error is 100% reproduceable on my side for all Full Themes (.fdz) but UI theme are working (.fdi).
The issue seems to come while extracting the zip.


Integrate the redis database on EdgeX

Hello everyone,
Do you know how can I integrate the redis database on EdgeX?
Thanks for helping me :)

You should read the docs or check out the #help channel on Slack.

And just to be clear, Redis has already been integrated. See redis/CONFIGURATION.md.

Thank you, I found it.


gvm not quite working on zsh

i did a fresh gvm installation, then closed all my shells. then opened it again and did gvm install lazybones. then i tried to use lazybones and it, nor any of the other candidates, were on the PATH.

Just an update. For sdkman this works in my case when added to ~/.zshrc:
[[ -s ~/.sdkman/bin/sdkman-init.sh ]] && source ~/.sdkman/bin/sdkman-init.sh

Without double quotes..

The double quotes are used to escape spaces in edge cases where users have spaces in folder names.
Apart from that it does not affect anything, and is considered good practice to always use them when expressing paths in bash.

Now I see. Thanks for the explanation. It didn't work for me, because I used ~ sign as a shortcut for my home dir. So this doesn't work:
[[ -s "~/.sdkman/bin/sdkman-init.sh" ]] && source "~/.sdkman/bin/sdkman-init.sh"

but this works fine:
[[ -s "/home/stan/.sdkman/bin/sdkman-init.sh" ]] && source "/home/stan/.sdkman/bin/sdkman-init.sh"

Or with ~ as mentioned above, but without quotes. Obviously bash and linux programming is not my area of expertise. :) So now I presume that signs like this ~ are not interpreted as special characters when used in a string enclosed by double quotes.


Create auth with refresh token

Lacks implementation of refresh tokens to automatically refresh the access token in JWT Authentication

Done 😉


improve error management

the wis2box-gui needs to capture and display any issues it encounters while interacting with the GDC and the downloader-backend, currently the application assumes things work a certain way but in practice issues can occur when talking to an external-endpoint and parsing the response ...

Addressed in PRs #44 and #50.


t.uploadFile renamed to t.setFilesToUpload including server API (closes #595)

\cc @AlexanderMoskovkin, @VasilyStrelyaev

lgtm

Can we postpone merging of this a little bit, pls? I'm about to submit selectors PR and it affects really huge part of current code. It will be a hell for me to rebase on top of all your PRs and it will be easier to apply individual narrowly focused on top of selectors-related changes. Thanks in advance.

rebase required

@testcafe-build-bot \retest

rebased, please review

lgtm
/cc @helen-dikareva

FPR

lgtm

lgtm


Objects as points

This implements Objects as Points
Additions:

centernet detector
hourglass backbone
DLA backbone
centernet head and loss
Integrate centernet data loading
configs for voc and coco training and testing
centernet debugger

Links to fully trained models for pascal and coco

Links to fully trained models for pascal and coco

whats the mAP of the trained model, is it DLA or hg?

Using DLA, The mAP on pascal is 0.791

Using DLA, The mAP on pascal is 0.791

Thanks. Does it support multi-scale testing?

Using DLA, The mAP on pascal is 0.791

what is results on COCO?

I'm sorry, when I run your code with command python tools/test.py configs/centernet_dla_1x.py checkpoints/ctdet_coco_dla_1x.pth --out results.pkl, then I got the error.

The model and loaded state dict do not match exactly
Traceback (most recent call last):
File "tools/test.py", line 311, in
main()
File "tools/test.py", line 264, in main
if 'CLASSES' in checkpoint['meta']:
KeyError: 'meta'

So, could you tell me what's wrong?
At first I thought maybe the config and checkpoints file are not matched. But I have tried three combinations:

python tools/test.py configs/centernet_dla_1x.py checkpoints/ctdet_coco_dla_1x.pth --out results.pkl
python tools/test.py configs/centernet_dla_2x.py checkpoints/ctdet_coco_dla_1x.pth --out results.pkl
python tools/test.py configs/centernet_hg.py checkpoints/ctdet_coco_dla_1x.pth --out results.pkl

And all got the same error messages.
So, waiting for your reply. @Ridhwanluthra

Using DLA, The mAP on pascal is 0.791

what are results on COCO?

I've tested the fully trained coco model, achieving a bbox_mAP of 39.0

Using DLA, The mAP on pascal is 0.791

what are results on COCO?

I've tested the fully trained coco model, achieving a bbox_mAP of 39.0

Ok, thanks for you reply!

Using DLA, The mAP on pascal is 0.791

what are results on COCO?

I've tested the fully trained coco model, achieving a bbox_mAP of 39.0

How to down the code?

@chenchongsong How many gpus have you used for training? What is the learning rate? How many days have you trained

Using DLA, The mAP on pascal is 0.791

what are results on COCO?

I've tested the fully trained coco model, achieving a bbox_mAP of 39.0

May I ask the speed(FPS) of inference?

 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.

Already supported in #4602

Hi @Ridhwanluthra ！We are grateful for your efforts in helping improve mmdetection open-source project during your personal time.
Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us ：https://discord.gg/UjgXkPWNqA
If you have a WeChat account，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends：）
Thank you again for your contribution❤


Improvement: Run multiple bots in one instance

Hey there,
I don't know if you have time for this or not but a cool improvement was if you could provide multiple tokes in token.txt and the bot then runs multiple instances of itself, for each line in the file one instance.

PHP scripts supports passing in token directly, like so:
php cheat.php tokengoeshere
That should have solved any multi instance problems. It's really not worth the trouble trying to manage multiple accounts within one process. It's easier to just make a script to spin up multiple processes.


Use alpine 3.14 to fix CVE-2021-36159

Snyk has a critical issue on all containers running alpine 3.13, app.snyk.io/vuln/SNYK-ALPINE313-APKTOOLS-1533754
This is fixed in 3.14 so this PR bumps the prebuilt-Dockerfile to that version
[ch2425]

@kreativka has raised a related concern here https://github.com/Countingup/build-toolkit/pull/262#issuecomment-902624862 it would be good to clarify.


Make --quiet quieter

Expected Behavior
less noise from gradle, only output from my build. These lines should be changed to warn or info I think, but not output with quiet set
Current Behavior (optional)
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org/.
==============================================================================

Context
I don't expect to see help on how to run gradle when logging is set to --quiet. Like I know --stacktrace and --info already. This just takes up a lot of space in my intellij terminal, most of it actually, so I can't see the actual error without scrolling up.

------------------------------------------------------------
Gradle 8.6
------------------------------------------------------------

Build time:   2024-02-02 16:47:16 UTC
Revision:     d55c486870a0dc6f6278f53d21381396d0741c6e

Kotlin:       1.9.20
Groovy:       3.0.17
Ant:          Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM:          21.0.2 (Eclipse Adoptium 21.0.2+13-LTS)
OS:           Linux 6.6.10-1-MANJARO amd64

This feature request is in the backlog of the relevant team and is prioritized by them.


IntelliSense completion list is inaccurate

VSCode Version: 1.7.1
OS Version: Windows 10 x64

Vscode fails to display IntelliSense of object`s property when the object's property name is more than one character. In the case when I use type define  as below.
Steps to Reproduce:
First, in index.d.ts, I define a function called test
// index.d.ts
export function test<Obj>(oldV: Obj, newV : Obj): string

Then, I use test function  in action.js.
I pass a object with one-character and multi-character props to test , as follow
// action.js
import { test } from './index'

let testObj = {
  a: 1,
  bb: 2
}

test(testObj, {
  //TODO
})

When I input a  at //TODO, IntelliSense runs well, as follow :

But when I input b  at //TODO, IntelliSense fails to parse 'bb' as a property of testObj :

Am I mistakenly writing index.d.ts, or are there some bugs with vscode ?

@dbaeumer do you have a thought on this issue? Is there anything special with writing to index.d.ts?

@waderyan I guess this is a TS issue. I would enable tsserver tracing and see what the response looks like. If it doesn't contain bb as a symbol then move to the TS team.

@mhegazy can you help me? I'm trying to figure out if this is a bug on VS Code's side or on TS's side. I'm having a hard time understanding what is coming through in the logs.
@mjbvz you might have an insight as well.
Here is the reproduction.
// index.d.ts
export function test<Obj>(oldV: Obj, newV : Obj): string

/// <reference path="index.d.ts" />

// action.js
import { test } from './index'

let testObj = {
  a: 1,
  bb: 2
}

test(testObj, {
    // TODO
})

When triggering IntelliSense at //TODO I see this:

And in the log:
[Trace - 4:13:55 PM] Sending request: completions (73). Response expected: yes. Current queue length: 0
Arguments: {}
[Trace - 4:13:55 PM] Response received: completions (73). Request took 1 ms. Success: true
Result: [
    {},
    {},
    {},
    {}
]
[Trace - 4:13:55 PM] Sending request: completionEntryDetails (74). Response expected: yes. Current queue length: 0
Arguments: {}
[Trace - 4:13:55 PM] Response received: completionEntryDetails (74). Request took 1 ms. Success: true
Result: []

This seems wrong to me. I don't see any property suggested in the IntelliSense window.
If I type a in //TODO, I see this:

And see this in the log:
[Trace - 4:14:57 PM] Sending request: change (82). Response expected: no. Current queue length: 0
Arguments: {}
[Trace - 4:14:57 PM] Sending request: completions (83). Response expected: yes. Current queue length: 0
Arguments: {}
[Trace - 4:14:57 PM] Response received: completions (83). Request took 11 ms. Success: true
Result: [
    {},
    {},
    {},
    {}
]
[Trace - 4:14:57 PM] Sending request: completionEntryDetails (84). Response expected: yes. Current queue length: 0
Arguments: {}
[Trace - 4:14:57 PM] Response received: completionEntryDetails (84). Request took 1 ms. Success: true
Result: [
    {}
]
[Trace - 4:14:58 PM] Sending request: geterr (85). Response expected: no. Current queue length: 0
Arguments: {}
[Trace - 4:14:58 PM] Event received: syntaxDiag (0).
Data: {}
[Trace - 4:14:58 PM] Event received: semanticDiag (0).
Data: {}

I would've expected to see a somewhere in the log.
OP's issue is typing bb at //TODO. When I do that I see:

And I see this in the log:
[Trace - 4:15:49 PM] Sending request: change (91). Response expected: no. Current queue length: 0
Arguments: {}
[Trace - 4:15:49 PM] Sending request: change (92). Response expected: no. Current queue length: 0
Arguments: {}
[Trace - 4:15:49 PM] Sending request: completions (93). Response expected: yes. Current queue length: 0
Arguments: {}
[Trace - 4:15:49 PM] Response received: completions (93). Request took 13 ms. Success: true
Result: [
    {},
    {},
    {},
    {}
]
[Trace - 4:15:49 PM] Sending request: completionEntryDetails (94). Response expected: yes. Current queue length: 0
Arguments: {}
[Trace - 4:15:49 PM] Response received: completionEntryDetails (94). Request took 1 ms. Success: true
Result: []
[Trace - 4:15:50 PM] Sending request: geterr (95). Response expected: no. Current queue length: 0
Arguments: {}
[Trace - 4:15:50 PM] Event received: syntaxDiag (0).
Data: {}
[Trace - 4:15:50 PM] Event received: semanticDiag (0).
Data: {}

This behaving as expected. let me try to explain. the original generic function is defined as function test<Obj>(oldV: Obj, newV: Obj): string  with the generic type parameter Obj used in two parameter positions. when invoked with test(testObj, { }) the type system tries to "infer" the generic type parameter from the actual arguments, so it comes up with two inferences, type of testObj and {}, and since {} is a super type of typeof testObj, the inference for Obj is {}. then completion kicks in, and tries to see if there are any known properties in the expected argument type to show, and it does not.
If the function use site was defined as test<typeof testObj>(testObj, { }) you would be able to see a and b from the type of testObj. otherwise, i am afraid it is a chicken and egg problem.

I see. Thank you for explaining. We will close this as designed for now.