Broken links in bug template

Please make sure you have searched for information in the following guides.

[X] Search the issues already opened: https://github.com/GoogleCloudPlatform/google-cloud-node/issues
[X] Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js
[X] Check our Troubleshooting guide: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting
[X] Check our FAQ: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq
[X] Check our libraries HOW-TO: https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md
[X] Check out our authentication guide: https://github.com/googleapis/google-auth-library-nodejs
[X] Check out handwritten samples for many of our APIs: https://github.com/GoogleCloudPlatform/nodejs-docs-samples

A screenshot that you have tested with "Try this API".
n/a
Link to the code that reproduces this issue. A link to a public Github Repository or gist with a minimal reproduction.
n/a
A step-by-step description of how to reproduce the issue, based on the linked reproduction.
Create a bug report in this repo.
A clear and concise description of what the bug is, and what you expected to happen.
The Bug Report template for this repo contains links to the following URLs:

https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting
https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq

Both of these URLs redirect to https://cloud.google.com/nodejs/docs/reference/guides/latest/, which results in a 404. I expected both links to work.
A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **
Links shouldn't be broken.

Please reopen this issue and give users a reasonable way to leave this kind of feedback. (I guess I could create a new issue with a fake reproduction link, but that doesn't seem like a very good use of my time.)


docs: document MDXComponents scope

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation
I have explained this many times on Discord. Worth making it into the documentation.
Test Plan

Test links

Deploy preview: https://deploy-preview-7503--docusaurus-2.netlify.app/docs/markdown-features/react/#mdx-component-scope
Related issues/PRs

Merging because we already have a spoiler now: https://twitter.com/docusaurus/status/1529810485280968706


edgetest fix

What

edgetest is failing - dask.distributed is not found

How to Test

run the edgetest action

https://github.com/capitalone/rubicon-ml/actions/runs/9551775021/job/26326893060

closing in favor of #447 from the successful action run linked above


[Copy Path] Command unhides all Finder Windows

Extension
https://www.raycast.com/koinzhang/copy-path
Description
When I launch the command with a hotkey and I have more than one Finder window open (but most are hidden / minimized / out of focus), it brings all of them to the front of the screen, which is quite distracting.
Steps To Reproduce

Open multiple Finder windows
Open other applications, have some Finder windows be hidden or behind them
Focus on one Finder window
Perform the command with a hotkey
All other Finder windows are brought to the front

Current Behaviour
Windows are brought to the front
Expected Behaviour
Windows are kept where they are

Hi @brunocbreis The extension uses AppleScript to get the Finder directory, and if there are multiple visible Finder windows, the following script will automatically bring all Finder windows to the forefront when you run it. There is no good workaround for this yet, so if you have any suggestions feel free to chime in!
export const scriptFinderPath = `
if application "Finder" is not running then
    return "Finder not running"
end if

tell application "Finder"
    return POSIX path of ((insertion location) as alias)
end tell
`;

Hi @pernielsentikaer
Latest discovery, this issue occurs when calling getSelectedItem on the Raycast extension, so I hope the Raycast team can fix it.

Hi @brunocbreis The latest version of Raycast fixes this issue, I'll switch off this issue
@raycastbot close this issue


Implement order offer and fulfill component structure

Overview
Implement order offer and fulfill
this is done after https://github.com/kaguraswap/monorepo/issues/241 merged.

This is a big implementation so this is focusing on component structure.

use this
https://chakra-ui.com/docs/components/drawer


Feature Description Text Not Converting

Module Version: v<IP_ADDRESS>
Describe the bug
The text for Features on a D&D 5e character sheet is still displaying as dark on dark. I was curious if this was strictly on my game's end or if this was able to be reproduced on your side as well. As you can see below, the description text for Arcane Recovery is still dark.
To Reproduce
Steps to reproduce the behavior:

Create / Open a D&D 5e Character Sheet.
Go to 'Features'
Click '+Add' to add a new feature or go to an existing one.
Edit the feature to have description text or find one that does.
Uncollapse the Feature to show the text by clicking on the name.
This is where the Dracula theme + dark text is displayed most prominently.

Expected behavior
I expected the Feature Description text to -also- swap to a lighter theme.
Screenshots

(The text below Arcane Recovery isn't swapping as I expected it would.)
Browser:
Chrome - Version 96.0.4664.110 (Official Build) (64-bit)
Foundry Version:
Version 9 - Build 238
Game System:
D&D 5e
Additional context
I have a sneaking suspicion this might have been something wrong with importing features but this can also be reproduced when making a new feature from scratch. We're using quite a few plugins/mods and I wasn't able to test this on its own by itself so I apologize for that, the primary one I was suspicious of fighting with it was Plutonium when you import D&D 5e classes/items/features more easily.
Sadly I wasn't able and didn't have the time to give a more deep dive into this and happily will if it turns out to be something you can't reproduce on your end. I'll look more into this when I can and trim it down to find conflicts if any, so if you can't reproduce this feel free to comment and close the ticket! I also wasn't able to try to manually change the font color myself when editing the feature but I'll do that as well when I can.
Thank you for your time and I apologize if this is a user error!

My bad! I missed this one. This is definitely on me and not you. I'll release it in a quick second.


Update dependencies

Bump all dependencies, should fix all dependabot currently open PRs

Codecov Report

Merging #155 (63a0fee) into master (ebf309a) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##           master     #155   +/-   ##
=======================================
  Coverage   48.22%   48.22%
=======================================
  Files           8        8
  Lines         309      309
=======================================
  Hits          149      149
  Misses        153      153
  Partials        7        7


changed default post settings when creating a new post

What does this pull request aim to achieve? 💯
Changes the defaults when creating a new post to Worldwide and Forever
Please be concise and link any related issue(s):
#523
Before defaults:

After defaults:

Note:
This change would set defaults to Worldwide | Forever to both Individual Posts & Org Posts
🚨Before submitting this pull request🚨:
Please do NOT submit this PR if you have not done the following:

I have checked that no one else is working on similar changes.
I have read the latest README and understand the development workflow.
The name of this branch is: feature/<branch_name> (need to have cloned the repo not forked).
This branch is rebased/merged with the latest master.
There are no merge conflicts.
There are no console warnings and errors.
On the right hand side of this PR, I have linked the appropriate issue(s) under "Issues" and added a project progress under "Projects".

@idjevm can we revert this? Actually the default should be City and Month. I guess is still not updated in the design.
@Yu-Alexa-Zhao can you help us with updating the defaults?

@manualzuru @Yu-Alexa-Zhao
At least I'll quickly ask for adding a comment/description on figma/zeplin with explanation that default should be "City and Month".
@manualzuru @idjevm
Should I reopen issue #523 or you prefer to open a new one?


Can't deploy two Java apps at once

It seems that multiple jars that are the same are causing issues:
error: initial deploy failed: unknown: duplicate key value violates unique constraint "artefacts_digest_key": conflict

The system is designed to not upload duplicate (by content hash) artefacts, so I'm not sure why this would be occurring 🤔


provision: Give a clear error message when virtualenv is missing.

Right now when the virtualenv package is not installed the related subprocess call results in an error with the following traceback:
Traceback (most recent call last):
  File "./tools/provision", line 68, in <module>
    main()
  File "./tools/provision", line 25, in main
    if subprocess.call(['virtualenv', '-p', python_interpreter, venv_dir]):
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I think it would be great to have a more beginner-friendly error message for this easy-to-fix (and potentially frequent) case.

Another little tweak I suggest is to ensure that pip inside the environment has a version 8.0.0 or higher before using it. The older versions of pip don't have the prefix option, which causes the script to exit with an error.
I used a clean Ubuntu 14.04 (a pretty common setup I think) and tried installing the virtualenv package several different ways, but the version of pip that was installed inside the environment it created was always 1.5.4.

Hmm, according to http://www.python3statement.org/practicalities/, the safe recommended version of pip SHOULD be pip>=9.0.

@rht This is a good point, I'll update the commit.

Awesome, thanks for doing this @alenavolk!  This looks great, I merged this, with one tweak to add a comment explaining why we do the pip upgrade.  Thanks again for doing this!

Let us know if you're looking for a next project!  There's lots to do.

@timabbott Awesome! I was planning to get busy with these tasks in the main Zulip repo, then work on this issue. If there is something more urgent I could do, let me know :)

Sounds great!


[FEATURE] Add default icon

Description
Add a default icon if icon doesnt exist
Screenshots
No response
Additional information
No response

Added as part of PR #823


Check and compare objects value with check_result

With check_result option, we can check primitive values and list values. It would be great to compare objects.
Example:
- my.endpoint:
  save_result: myObject
  check_result: myObject == myOtherObject

And more :
- my.endpoint:
  save_result: myObject
  check_result:
    - myObject.attribute: myOtherObject.attribute
    - myObject.id: myOtherObject.id
    - myObject.attr: "#r#[a-z]+"

Thanks LumRest team :smile:

Second example is already possible:
- my.endpoint:
  save_result: myObject
  check_result: {
    attribute: !expr myOtherObject.attribute,
    id: !expr myOtherObject.id,
    attr: "#r#[a-z]+"
  }


Adding Python 3 notes to the documentation

This addition is in regards of issue https://github.com/mgood/jprops/issues/12

Thanks!


Add Graph CLI based on PostgreSQL's psql.

Copy complete src/bin/psql folder from PostgreSQL code to set up the initial version of Graph CLI. This commit marks the beginning of Graph CLI development and all further changes will be done on this codebase.

@moiz697 This PR is pointing to the wrong branch.
i have changed it to master branch

@moiz697 Rejected. You cannot just copy stuff into the master, or any of the version (PG??) masters.

This PR merges in files that don't have the appropriate licenses.
This PR merges in files from the wrong version.


Support for Terraform v0.14.0

[x] Support for Terraform v0.14.0 and higher.

We've already had a change for this but it was reverted until Terraform v0.14 fixes various issues with sentitive marking gone awry. I don't recommend you update yet. https://github.com/poseidon/typhoon/pull/911


sbt pkg does not use prescribed JDK instance

Describe the bug
If you create a simple nix shell description that include pkgs.sbt and pkgs.jdk11 where the host system has jdk17 installed, jdk17 is used by sbt instead of jdk11.
The issue is described here by someone else I believe who knows more about nix than I do!
Steps To Reproduce
Steps to reproduce the behavior:

On a machine with JDK 17 installed.
Create a nix-shell file
Add the sbt and jdk11 pkgs
Launch the nix-shell

Expected behavior
Once inside the shell, checking JAVA_HOME will correctly point to JDK11 in the nix-store. Entering sbt on the command line will fire up the sbt console, and one of the first lines will read:
[info] welcome to sbt 1.6.1 (Azul Systems, Inc. Java 17.0.3)
Where it should say:
[info] welcome to sbt 1.6.1 (Azul Systems, Inc. Java 11.0.11)
Screenshots
N/A
Additional context
I am not good at Nix yet 😄, but I've managed to bodge a local fix for my nix-shell by doing the following:
  buildInputs =
    let
      sbtWithJRE = pkgs.sbt.overrideAttrs (finalAttrs: previousAttrs: {
        postPatch = '''';
      });
    in
      [
        pkgs.jdk11
        sbtWithJRE
      ];

Essentially (I think) removing this line from the pkg:
https://github.com/NixOS/nixpkgs/blob/nixos-22.05/pkgs/development/tools/build-managers/sbt/default.nix#L18
Notify maintainers
@nequissimus
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
these 2 paths will be fetched (0.01 MiB download, 0.14 MiB unpacked):
  /nix/store/d1nci0syj7sn38bz157z49z5p34yl1gz-nix-info
  /nix/store/dqwlzb1jb51padp3f09nj470kfy96yha-DarwinTools-1
copying path '/nix/store/dqwlzb1jb51padp3f09nj470kfy96yha-DarwinTools-1' from 'https://cache.nixos.org'...
copying path '/nix/store/d1nci0syj7sn38bz157z49z5p34yl1gz-nix-info' from 'https://cache.nixos.org'...
 - system: `"aarch64-darwin"`
 - host os: `Darwin 21.4.0, macOS 12.3`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.10.3`
 - channels(dave): `"home-manager-22.05.tar.gz"`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

(Paging scala Nix guru @gvolpe, who might be interested and/or have a better idea of how the fix should have been done than me. 😄)

Hey @davesmith00000 👋🏽
I think this is one of the quirks that's classified as "it's a feature, not a bug" :)  Every Nix package is required to declared all its dependencies. In the case of sbt, it needs to declare the jre / jdk in order to make a derivation, it doesn't care about global packages or global environment variables.
This can be easily overridden, though. Just need to override a pkgs.jre = yourJdk, and sbt will pick it up.
For instance, in tyrian, I think it will suffice to add a jre overlay to point to the desired JDK package, right here.
{
overlays = [
  (f: p: { jre = p.jdk17_headless; } )
  (f: p: { mill = p.mill.override { jre = p.jdk17_headless; }; })
 ];
}

Happy to help with any specific shell :)

Yes, this is in fact how Nix is supposed to work. The overlay solution is somewhat of a large hammer, as that will configure every package which uses jre to use that particular one.
Another solution is to say sbtWithJRE = pkgs.sbt.override { jre = pkgs.jre11 }; to set that input for just that sbt.

Great! Thank you both for the explanations. :+1:


Caret size doesn't match hint text

I investigated the issue where the caret doesn't match the height of the hint text. I found a few areas in the code that might contribute to the problem. To test the issue directly, I created a new component called TextWithHintComponent and then I painted a demo screen with multiple text hints at different sizes.
You can see in the attached video that the carets all match the hint text. Therefore, I'll need some further information to understand why this is a problem in Superlist.
https://user-images.githubusercontent.com/7259036/138003325-6ed2a6b3-2d42-47a1-a8c2-825a17a2e7aa.mov
Changes:

Created a demo screen for text components with hint text
Created ProxyDocumentComponent to easily wrap an existing DocumentComponent with decoration
Created ProxyTextComposable to easily wrap an existing TextComposable with decoration
(Resolves #314)

@brian-superlist I've updated this PR with an approach that I think handles your situation. Can you confirm that what's in the demo can fit your requirements?
Admittedly, I think the demo shows that too much work is needed for this capability, but I want to make sure I've identified a solution before I look into refactoring for a better API.

@brian-superlist I rebased this PR and updated it to use the hint component that I added. The block level attribution is now always passed to the regular text and the hint text style builders, and the hint text now supports its own AttributedText instead of just a String.
Do you wanna give this a try and see how it works for your needs?
For your idea about an InheritedWidget, I think there's an argument for an overall typography InheritedWidget, but I think this issue should be solved locally. For overall document styling, we'll need to figure out how to provide useful configurations for developers that also allow extensions. If you consider the standard Material Theme, it's convenient when all you want to style are Material things. But there's no way to extend Theme to help style your own widgets. We're going to run into a similar problem with SuperEditor.


Undo CSS override for Chrome 62

Remove a CSS reset that was added specifically for Chrome 62, since it's been over a year, and we're at Chrome 70 now.

Thanks!


Workspace improvement

https://github.com/gruntwork-io/terratest/issues/1101
A better way to handle workspaces when running tests in parallel

Thanks. I'm just back from vacation, hopefully, I will have some time to write a test/example for this


IIW Redesign

@AlexAndrei98 I converted your draft to this issue.  but it's pretty general and so i'll leave it to you to close it and create new ones if you need.

Redesign looks good.


[Feature] Support for NATS Java client Plugin

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
We have supported Micronaut . And I discover Micronaut support NATS as message system .
So , I want to try implementing NATS Java Client agent plugin   . And I will put the plugin to optional-plugins module.
Use case
No response
Related issues
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I will put the plugin to optional-plugins module.

Could you explain why this should be in optional? Is that able to hurt the application somehow? Or trigger some conflicts?

I will put the plugin to optional-plugins module.

Could you explain why this should be in optional? Is that able to hurt the application somehow? Or trigger some conflicts?

I think it's not commonly used .Your suggestion ?

If this is only targeting NATS client's classes(such as under io.nats.client.* only), the agent would not make it work automatically.
About the optional plugins, https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/optional-plugins/, you could notice all plugins have their own reasons to be optional only, as they may have a side-effect.

Got it . I will choose appropriate  module


[FEATURE]-Add new Cisco codec features

Is your feature request related to a problem? Please describe.
The following features are needed to achieve feature parity with some SIMPL Cisco modules:

Trigger to hang up individual callers 1-8.
Feedback reflecting amount of currently connected calls. This value does not seem to match the 'Current Participant count' analog object as getting into a call does not increment the value for this object.
Feedback reflecting call duration for caller 1-8. Looking for serial string with call timer per call.
Trigger and feedback selecting DTMF control for caller 1-8 to determine which call the DTMF keypad controls.
Trigger/feedback to control far end camera pan, tilt, zoom in/out, focus near/far, or preset recall.
Triggers to control near end camera focus near/far.
Trigger/feedback for ringtone volume set/fb and mute (low priority item, but it is used on one project).
Trigger/feedback choosing near end presentation input 1-5 (stop already exists, but need a way to discretely choose input to start presentation on as client projects switch between various HDMI inputs for presentation).
Trigger/feedback choosing near end source input 1-5 (typically triggered at the same time a local camera is selected when multiple local cameras are available for selection).
Mechanism to select and dial entry from call history list (recently dialed entries), clear selected item, feedback for call history selected entry name and number, as well as list results of last 10 entries in the history list.
Mechanism to select and dial 'multiple dial methods' from phonebook entry. Corporate directory has option to dial entries from either SIP, email address, or other (not a high priority item, but was recent feature request on last project).
Essentials directory seems to dial a directory entry immediately when the analog value for selected entry-in has been propagated. Should the directory show caller info when I choose the directory entry but wait to dial until I press the digital trigger to dial selected directory entry?
Trigger/feedback to hold caller 1-8.
Trigger to resume caller 1-8 from hold.
Trigger to join or merge with caller 1-8 as well as merge all.

Essentials v1.9.8-alpha-1681 throws a null reference exception when attempting to create the following device types: 'ciscoSparkPlusCodec', 'ciscoRoomKit, 'ciscospark', 'ciscowebexpro', or 'ciscowebex'.  Null ref exception is below.
[20:54:42.202]App 1:   at PepperDash.Essentials.Devices.Common.VideoCodec.Cisco.CiscoSparkCodec.SetFeedbackActions()
at PepperDash.Essentials.Devices.Common.VideoCodec.Cisco.CiscoSparkCodec..ctor(DeviceConfig config, IBasicCommunication comm)
at PepperDash.Essentials.Devices.Common.VideoCodec.Cisco.CiscoSparkCodecFactory.BuildDevice(DeviceConfig dc)
at PepperDash.Essentials.Core.DeviceFactory.GetDevice(DeviceConfig dc)
at PepperDash.Essentials.ControlSystem.LoadDevices()
at PepperDash.Essentials.ControlSystem.Load()
at PepperDash.Essentials.ControlSystem.GoWithLoad()
at PepperDash.Essentials.ControlSystem.StartSystem(Object obj)
at Crestron.SimplSharp.CTimer.a(Object A_0)
at System.Threading.Timer.ring()

I've reviewed the latest Cisco codec feature updates to the bridge and had some RFIs. Please review and let me know your thoughts.

What do the 'speed dial' digital signals on bridge accomplish at join To-SIMPL at 41-44? Do they simply recall a saved speed dial entry saved within the endpoint?
What is the purpose of the 'Dial Phone' object on bridge at join To-From-SIMPL at 71?
Why are there three separate instance of 'End a specific call by call index' on the bridge at join 81, 90, and 91 (all with a join-span of 8)?
How is it possible to save a Camera preset without first recalling it? Seems like I first have to recall the preset by updating analog value at bridge join 121. Would it be possible to have a separate analog input for save versus recall?
Does the camera mode auto/manual/off work for the last camera selected or discretely for the 'speaker-track' camera should one be installed? Example of speaker-track-on SIMPL application API call, 'xCommand Cameras SpeakerTrack Activate\n'.
Does 'Join first/second/third meeting' at bridge join 160-162 join merge with caller 1-3 or is this a meeting only function that has nothing to do with peer-to-peer calls?
What is the purpose of the digital bridge 'Removes the selected recent call item' item at join 181?
Is it possible that the bridge is sending the same feedback object for both bridge join 205 and 206 ('Presentation Local Only Feedback')?
What is the purpose of the 'advance selfview position' bridge join 211? What does that feature do?
Something is amiss with the 'Holds Call at specified index' and 'Activates Do Not Disturb Mode.  FB High if active.' both From-SIMPL at join 221? They can't both utilize SIMPL bridge join 221 and be From-SIMPL, correct? This seems to impact the remaining joins at 321 as the 'Holds Call at specified index' has a join span of 8.
Would it be possible to provide feedback for call hold state? I don't expect feedback for call resume, but feedback for call hold would be beneficial to show on touch panel. Join map text for call hold shows From-SIMPL only.
What does bridge join 223, 'Toggles Do Not Disturb Mode' To-SIMPL do? The wording is confusing. Is 222 a DND-On discrete while 223 is a DND-Off discrete? Does 223 join not provide feedback while 222 does?
Does the bridge include any serial feedback reflecting call duration for current calls? I see the recent call times, but no current call timer. No need to keep it accurate to the second, but perhaps every 3 seconds? Is this information already included in the 'Current call data XSIG'? If not, could it be?
Bridge does not include trigger/feedback to set the main video source for video input 1-5. Example existing API call for video 1 source, 'xCommand Video Input SetMainVideoSource SourceId: 1\n'
What is the XSIG layout for the 'Current call data' bridge serial join 2? Meaning, which output is for name versus number? Are there digital outputs for connected/connecting feedback or just serial?
How do I discretely select or dial from the provided list of contact methods? Would it be possible to include digital feedback To-SIMPL if/when multiple contact methods are possible to drive touch panel pop-up logic?
Would it be possible to add a 'JoinAllCalls' and a 'HoldAllCalls' From-SIMPL method?
Would it be possible to make the 'Current Layout Fb' serial join on the bridge a To-From-SIMPL rather than just a To-SIMPL mechanism?
Does the analog value to select the recent dial automatically dial the recent caller? Would it be possible to prevent auto-dialing the selected recent caller matching the phonebook directory list recent addition?
Would it be possible to poll the Cisco endpoint for its IP address and SIP URI info?
Would it be possible to include a From-SIMPL serial join on the bridge allowing the SIMPL application to send a serial command without having to create a unique TCP/IP or SSH connection to the endpoint? Some of the SIMPL application serial strings sent do not require feedback or are basing from fake feedback on last command sent. This would be very helpful.

I've reviewed the latest Cisco codec feature updates to the bridge and had some RFIs. Please review and let me know your thoughts.

What do the 'speed dial' digital signals on bridge accomplish at join To-SIMPL at 41-44? Do they simply recall a saved speed dial entry saved within the endpoint?

There are speed dial entries that can be specified in the device config (for example a webex bridge number).  These joins will dial those entries

What is the purpose of the 'Dial Phone' object on bridge at join To-From-SIMPL at 71?

Pulsing this digital join will trigger the codec to dial the address specified by the CurrentDialString (Serial join 1).  Join description will be updated to clarify.

Why are there three separate instance of 'End a specific call by call index' on the bridge at join 81, 90, and 91 (all with a join-span of 8)?

Descriptions fields were incorrect on join map definition. They will be updated to correctly describe the join functions.

How is it possible to save a Camera preset without first recalling it? Seems like I first have to recall the preset by updating analog value at bridge join 121. Would it be possible to have a separate analog input for save versus recall?

Camera preset must be selected first, then the camera moved to the desired position and the CameraPresetSelect join pulsed to save the new position to that preset number.  This is fairly common functionality on codec modules and changing would break the existing API for existing systems.

Does the camera mode auto/manual/off work for the last camera selected or discretely for the 'speaker-track' camera should one be installed? Example of speaker-track-on SIMPL application API call, 'xCommand Cameras SpeakerTrack Activate\n'.

These controls are not for any specific camera, but for the codec itself.  The CameraModeAuto (Activates SpeakerTrack), CameraModeManual (Deactivates SpeakerTrack) and CameraModeOff (performs video mute).  They effectively operate as interlocked modes and provide feedback to SIMPL as to the current mode.  Manual is always supported but auto and off modes depend on whether or not the hardware device supports those modes.

Does 'Join first/second/third meeting' at bridge join 160-162 join merge with caller 1-3 or is this a meeting only function that has nothing to do with peer-to-peer calls?

These joins are not for joining/merging calls.  These are for joining scheduled meetings.

What is the purpose of the digital bridge 'Removes the selected recent call item' item at join 181?

As requested in original issue item 10, this clears the selected item from the call history list, specified by the SelectRecentCallItem analog join.

Is it possible that the bridge is sending the same feedback object for both bridge join 205 and 206 ('Presentation Local Only Feedback')?

Description on both joins was the same. Updated the description to differentiate, but the function of the joins should report accurately based on feedback from the device about the current presentation instances.  However, because the codec supports multiple presentation instances, these values may not necessarily be mutually exclusive.  We may need to play with the hardware to see how it reports under normal use cases and adjust how we determine the feedback accordingly.

What is the purpose of the 'advance selfview position' bridge join 211? What does that feature do?

Toggles the position of the selfview window. Description has been update to be clearer.

Something is amiss with the 'Holds Call at specified index' and 'Activates Do Not Disturb Mode.  FB High if active.' both From-SIMPL at join 221? They can't both utilize SIMPL bridge join 221 and be From-SIMPL, correct? This seems to impact the remaining joins at 321 as the 'Holds Call at specified index' has a join span of 8.

This was a mistake.  There was an overlap of joins specific to the cisco codec in the 221-229 range.  The cisco specific joins have been moved to the 241-249 range to resolve the conflict.

Would it be possible to provide feedback for call hold state? I don't expect feedback for call resume, but feedback for call hold would be beneficial to show on touch panel. Join map text for call hold shows From-SIMPL only.

Feedback for call hold state is provided, but not on the same set of joins.  It's provided on the call status XSIG as a digital FB join. The first digital join on the XSIG reports if the call is active, the second digital join reports if the call is on hold.

What does bridge join 223, 'Toggles Do Not Disturb Mode' To-SIMPL do? The wording is confusing. Is 222 a DND-On discrete while 223 is a DND-Off discrete? Does 223 join not provide feedback while 222 does?

There are three joins: ActivateDoNotDisturbMode, DeactivateDoNotDisturbMode and ToggleDoNotDisturbMode.  They have been moved up 20 joins to the 241-243 range to avoid the previously noted conflict.  Function should be self explainatory.

Does the bridge include any serial feedback reflecting call duration for current calls? I see the recent call times, but no current call timer. No need to keep it accurate to the second, but perhaps every 3 seconds? Is this information already included in the 'Current call data XSIG'? If not, could it be?

This was added to the current call stats XSIG as the next serial join after the call status join for each call instance.

Bridge does not include trigger/feedback to set the main video source for video input 1-5. Example existing API call for video 1 source, 'xCommand Video Input SetMainVideoSource SourceId: 1\n'

As per the original issue item 9 The CameraNumberSelect analog join value will now cause this command to be sent to the codec to select the camera input as this functionality was previously missing for the camera select function on the Cisco codec class.  Does this need to be exposed outside of the desire to switch cameras as a separate analog join?

What is the XSIG layout for the 'Current call data' bridge serial join 2? Meaning, which output is for name versus number? Are there digital outputs for connected/connecting feedback or just serial?

This is difficult to document in the code itself and we don't have a current mechanism to report it via console command but here's the updated join pattern for the call status XSIG:

Digital FB 1: Call is Active (Connected)
Digital FB 2: Call is On Hold
Serial FB 1: Call Name
Serial FB 2: Call Number
Serial FB 3: Call Direction
Serial FB 4: Call Type
Serial FB 5: Call Status
Serial FB 6: Call Duration

How do I discretely select or dial from the provided list of contact methods? Would it be possible to include digital feedback To-SIMPL if/when multiple contact methods are possible to drive touch panel pop-up logic?

Good catch.  An XSIG was added to report the available contact methods for the selected contact, but no feedback as to whether the selected contact has none (folder), one or multiple contact methods.  I've added some new joins to address this:

SelectedContactMethodCount analog (102) reports the number of contact methods for the selected contact
In terms of dialing a contact method, the string reporting the number from the contact methods XSIG can be passed to the CurrentDialString input and the ManualDial digital can be pulsed to dial that method.  This is how it's accomplished in Essentials standalone applications.
Here's the join pattern for the contact methods XSIG:
Serial FB 1: Number
Serial FB 2: Contact Method ID
Serial FB 3: Device

Would it be possible to add a 'JoinAllCalls' and a 'HoldAllCalls' From-SIMPL method?

JoinAllCalls already exists at digital join 90.  Hold all calls was not requested in original issue.  It could be added if necessary.

Would it be possible to make the 'Current Layout Fb' serial join on the bridge a To-From-SIMPL rather than just a To-SIMPL mechanism?

Currently we only support toggling the layout and providing feedback as to the current layout for Cisco devices.  We could add the ability to set a discrete layout by name from this serial join.  I don't think there's a way to determine what layouts are valid so the layout may or may not actually change based on the codec state and requested layout.

Does the analog value to select the recent dial automatically dial the recent caller? Would it be possible to prevent auto-dialing the selected recent caller matching the phonebook directory list recent addition?
Would it be possible to poll the Cisco endpoint for its IP address and SIP URI info?

I've added a series of joins in the 301-305 range, both digital and analog that report various information about the codec, including it's IP address and SIP URI that was already available on the class but not exposed on the bridge.

Would it be possible to include a From-SIMPL serial join on the bridge allowing the SIMPL application to send a serial command without having to create a unique TCP/IP or SSH connection to the endpoint? Some of the SIMPL application serial strings sent do not require feedback or are basing from fake feedback on last command sent. This would be very helpful.

Yes, we could add a serial join that would send the string directly to the codec via whatever connection method is being used (RS232, TCP, SSH).  I've added this already on serial join 5 CommandToDevice because it's a quick add with no potential breaking changes

#Problems/Questions - Items Tested - 2022-01-04#
Are the items below something the products and services team could work together to review and resolve in tandem?

Ringtone volume set and feedback not working (I'm getting feedback from can't set the volume 0-100d to make any changes)
Standby state on and off as well as feedback is not working correctly (I'm reviewing screenshots from the Touch-10 and webpage provisioning, it's not working)
Phonebook directory is not populating on the touch panel, pressing 'Up one level' while on the top does not repropagate the list.
Serial text feedback not populating (IPv4-Address, SIP Phone Number, E.164 Alias, H323.ID, SIP URI)

##Problems Ongoing
[ ] CallXX.Hold.Btn and Fb is not working.
[ ] Pressing half-wake does not reflect feedback from codec that it's in half-wake. Requesting half-wake doesn't seem to force device to half-wake. Feedback of half-wake is not reported
[ ] When attempting to hang up call 1, there is an index out of range exception at: 'VideoCodec.VideoCodecBase+<>c__DisplayClass48.b__3a ()'. I can still trigger the hangUpAllCalls, but I am not able to individually hang up call-1 without receiving the exception.
[ ] 'Incoming Call Name' on joinMap ID 51 and 'Incoming Call Number' on joinMap ID 52 are not populating during an incoming call.
[ ] When restarting Essentials while codec in a call, getting a JSON deserialization exception due to unexpected character. It happens often, but seems to change at what position the character is received at.
[ ] Serial text feedback for "IPv4-Address" not populating
Items Tested & Confirmed Working
[X] Phonebook directory feedback of names
[X] Recent call list feedback of names
[X] Self-View Toggle
[X] Ringtone volume Fb
[X] SIP Phone.Fb and SIP.URI.Fb
[X] Standby state trigger and feedback
[X] DND on/off and feedback state
[X] Camera names propagate
[X] Interesting! Selecting a camera seems to select 'Main' inputs on the VC codec
[X] HangUpAllCalls
[X] Recent call select and pressing 'Connect' from Recent Calls
[X] Device Online feedback state
[X] Speaker-Track auto, manual, and off select and feedback
[X] Volume up/down/mute/mute toggle, and manual set as well as feedback
[X] Mic mute on/off/toggle and feedback
[X] Toggle self-view and feedback
[X] Feedback of number of connected calls
[X] Feedback of the number of reported cameras (is this really cameras or is this inputs on the device?)
[X] Feedback names of cameras
[X] Feedback of directory row count
[X] Recent call times
[X] Present trigger
[X] Near end camera preset saving
[X] Near end Camera preset select
[X] Presentation start, stop, select discrete
[X] Merge/Join all calls
[X] Incoming call feedback
[X] Incoming call answer/decline
[X] Contact method XSIG
Items Not Tested
[ ] Join/Merge/Resume individual call
[ ] DTMF dialing per call
[ ] Speed Dials (Stored in Essentials config)
[ ] Far end Camera preset saving
[ ] Far end Camera preset select
[ ] Far end camera control
[ ] Join meeting trigger
[ ] Update meetings trigger
[ ] Feedback of minutes before meeting start, meeting is joinable, and meeting count
[ ] Schedule data XSIG
[ ] Current layout name
[ ] Current participants XSIG
[ ] Current call direction name
[ ] Advance self-view position name

Update from further testing:
[x] CallXX.Hold.Btn and Fb is not working.
[x] Pressing half-wake does not reflect feedback from codec that it's in half-wake. Requesting half-wake doesn't seem to force device to half-wake. Feedback of half-wake is not reported
The codec isn't reporting feedback for the halfwake state properly.  Setting to halfwake works, but no FB
[x] When attempting to hang up call 1, there is an index out of range exception at: 'VideoCodec.VideoCodecBase+<>c__DisplayClass48.b__3a ()'. I can still trigger the hangUpAllCalls, but I am not able to individually hang up call-1 without receiving the exception.
[x] 'Incoming Call Name' on joinMap ID 51 and 'Incoming Call Number' on joinMap ID 52 are not populating during an incoming call.
[ ] When restarting Essentials while codec in a call, getting a JSON deserialization exception due to unexpected character. It happens often, but seems to change at what position the character is received at.
this will require some more in depth debugging to grab the offending response and find the invalid character.  If it only happens if the program starts while a call is in progress I'm slightly less concerned about this one, but we do need to try to solve it eventually.
[ ] Serial text feedback for "IPv4-Address" not populating
May require further testing, but codec isn't reporting an IPv4 address in it's configuration.  I added code to pull it from Status.Network.IPv4.Address but that doesn't seem to be working currently. This seems to be more of a codec issue than a code issue though.  The IP address should be reported by the codec under Configuration.Network.IPv4.Address and it's not there...

Thanks ND, a lot of progress has been made here. Updates from my testing are below. I've continued updating the 'Not Tested' items for full disclosure.
##Problems Ongoing
[ ] Serial text feedback for "IPv4-Address" not populating. [ND: May require further testing, but codec isn't reporting an IPv4 address in it's configuration. I added code to pull it from Status.Network.IPv4.Address but that doesn't seem to be working currently. This seems to be more of a codec issue than a code issue though. The IP address should be reported by the codec under Configuration.Network.IPv4.Address and it's not there...]
[ ] Current call direction not populating (joinMap serial ID 22). Note that the 'Current Call Data - XSIG' on joinMap serial ID 2 does provide the call direction per call.
Items Tested & Confirmed Working
[X] Phonebook directory feedback of names
[X] Recent call list feedback of names
[X] Self-View Toggle
[X] Ringtone volume Fb
[X] SIP Phone.Fb and SIP.URI.Fb
[X] Standby state trigger and feedback
[X] DND on/off and feedback state
[X] Camera names propagate
[X] Interesting! Selecting a camera seems to select 'Main' inputs on the VC codec
[X] HangUpAllCalls
[X] Hang-Up Call (1-x)
[X] Recent call select and pressing 'Connect' from Recent Calls
[X] Device Online feedback state
[X] Speaker-Track auto, manual, and off select and feedback
[X] Volume up/down/mute/mute toggle, and manual set as well as feedback
[X] Mic mute on/off/toggle and feedback
[X] Toggle self-view and feedback
[X] Feedback of number of connected calls
[X] Feedback of the number of reported cameras (is this really cameras or is this inputs on the device?)
[X] Feedback names of cameras
[X] Feedback of directory row count
[X] Recent call times
[X] Present trigger
[X] Near end camera preset saving
[X] Near end Camera preset select
[X] Presentation start, stop, select discrete
[X] Merge/Join all calls
[X] Incoming call feedback
[X] Incoming call answer/decline
[X] 'Incoming Call Name' and 'Incoming Call Number' (joinMap ID 51 & 52)
[X] Contact method XSIG
[X] Join/Merge/Resume individual call
[X] Current layout name
Items Not Tested
[ ] DTMF dialing per call
[ ] Speed Dials (Stored in Essentials config)
[ ] Far end Camera preset saving
[ ] Far end Camera preset select
[ ] Far end camera control
[ ] Join meeting trigger
[ ] Update meetings trigger
[ ] Feedback of minutes before meeting start, meeting is joinable, and meeting count
[ ] Schedule data XSIG
[ ] Current participants XSIG
[ ] Advance self-view position name
[ ] Half-wake trigger or feedback


MFCard

Easily integrate Credit Card payments in iOS App

MFCard
https://github.com/MobileFirstInc/MFCard
Description
Easily integrate Credit Card payments in iOS App
Why it should be included to awesome-ios (optional)
MFCard is an awesome looking Credit Card input & validation control. You can easily customize UI according to project design
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

MFCard is an awesome looking Credit Card input & validation control

          1 Error

:no_entry_sign:
Found 1 link issue

Link issue by awesome_bot

Line
Status
Link

416
301
http://developer.couchbase.com/mobile/ redirects tohttps://developer.couchbase.com/mobile/

  Generated by :no_entry_sign: danger

Added :large_orange_diamond: for Swift identification.

@arpandesai why did you close it? I really liked your lib 😢

@arpandesai why did you close it? I really liked your lib 😢

@arpandesai don't worry about the CI Error. We use travis to know when a link is broken or is redirecting, but that's for the managers to fix it and not the external contributors.
Thanks for the ❤  and happy New Year 🎉

@arpandesai don't worry about the CI Error. We use travis to know when a link is broken or is redirecting, but that's for the managers to fix it and not the external contributors.
Thanks for the ❤  and happy New Year 🎉

Happy new year Lucas ! I will submit it shortly.
— Arpan Desai
MobileFirst | Principal consultant
Mobile: +91 (0) 99 9875 5114
Email<EMAIL_ADDRESS><EMAIL_ADDRESS>MobileFirst Applications Private Limited
43, JMC House, Opp. Parimal Garden,
Ambawadi, Ahmedabad - 380006
http://mobilefirst.in http://mobilefirst.in/
http://facebook.com/mobilefirst http://facebook.com/mobilefirst
@ MobileFirst http://twitter.com/mobilefirstinc

On 02-Jan-2017, at 12:35 AM, Lucas Farah<EMAIL_ADDRESS>wrote:
@arpandesai https://github.com/arpandesai don't worry about the CI Error. We use travis to know when a link is broken or is redirecting, but that's for the managers to fix it and not the external contributors.
Thanks for the ❤ and happy New Year 🎉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/vsouza/awesome-ios/pull/1373#issuecomment-269915016, or mute the thread https://github.com/notifications/unsubscribe-auth/AAe_wnqgg6EUaHbCFp4a6FvwNAqZM-GNks5rN_jtgaJpZM4LXlB_.

Happy new year Lucas ! I will submit it shortly.
— Arpan Desai
MobileFirst | Principal consultant
Mobile: +91 (0) 99 9875 5114
Email<EMAIL_ADDRESS><EMAIL_ADDRESS>MobileFirst Applications Private Limited
43, JMC House, Opp. Parimal Garden,
Ambawadi, Ahmedabad - 380006
http://mobilefirst.in http://mobilefirst.in/
http://facebook.com/mobilefirst http://facebook.com/mobilefirst
@ MobileFirst http://twitter.com/mobilefirstinc

On 02-Jan-2017, at 12:35 AM, Lucas Farah<EMAIL_ADDRESS>wrote:
@arpandesai https://github.com/arpandesai don't worry about the CI Error. We use travis to know when a link is broken or is redirecting, but that's for the managers to fix it and not the external contributors.
Thanks for the ❤ and happy New Year 🎉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/vsouza/awesome-ios/pull/1373#issuecomment-269915016, or mute the thread https://github.com/notifications/unsubscribe-auth/AAe_wnqgg6EUaHbCFp4a6FvwNAqZM-GNks5rN_jtgaJpZM4LXlB_.


ZeroDivisionError: division by zero

Hello,I am an outdoor man of this scope.So my question may be very stupid.sorry^-^
I use the model to train a chatbot.But I have an error:
line 174, in rouge_n
recall = overlapping_count / reference_count
ZeroDivisionError: division by zero
why I get this?
ps:formation of the file to endoce,decode is UTF-8.

I think this was fixed in https://github.com/google/seq2seq/pull/94 - Please pull the latest version.

Thanks,but I use the latest version but I have an another bug:
WARNING:tensorflow:multi-bleu.perl script returned non-zero exit code
WARNING:tensorflow:b'Illegal division by zero at /tmp/tmpyjco9aw8 line 154,  line 24512.\n'
I run this program in ubuntu terminal and it just show as above,always warning.
P.S:
if I change the YAML of text_metrics_bpe.yml the eva will not go on.Can you explain the configuration of this yaml.Thanks very lot!


I am trying to generate polish.vcf and consensus sequence for virus using nanopolish --consensus. I am unable to generate vcf using given documentation. please give me an idea about the same.

Hi,
Can you please provide me with the commands you ran, and any errors you received?
Jared


Settings outdated

We have lots of spots in the settings that became outdated. Seems that nobody looked deeply into this for a long time:
https://github.com/devonfw/devon-ide/blob/b016b3e7e4004076973e15b0960644285e806033/settings/src/main/settings/eclipse/workspace/setup/.metadata/.plugins/org.eclipse.core.runtime/.settings/de.bastiankrol.startexplorer.prefs#L6
https://github.com/devonfw/devon-ide/blob/b016b3e7e4004076973e15b0960644285e806033/settings/src/main/settings/eclipse/project.dictionary.readme.txt#L6
https://github.com/devonfw/devon-ide/blob/b016b3e7e4004076973e15b0960644285e806033/settings/src/main/settings/eclipse/codetemplates.xml#L12
https://github.com/devonfw/devon-ide/blob/b016b3e7e4004076973e15b0960644285e806033/settings/src/main/settings/eclipse/workspace/update/.metadata/.plugins/net.sf.eclipsecs.core/checkstyle-config.xml#L3
https://github.com/devonfw/devon-ide/blob/b016b3e7e4004076973e15b0960644285e806033/settings/src/main/settings/eclipse/workspace/update/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ant.core.prefs#L2
https://github.com/devonfw/devon-ide/blob/b016b3e7e4004076973e15b0960644285e806033/settings/src/main/settings/eclipse/workspace/setup/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.sonar.ide.eclipse.core.prefs#L2
https://github.com/devonfw/devon-ide/blob/b016b3e7e4004076973e15b0960644285e806033/settings/src/main/settings/eclipse/workspace/setup/.metadata/.plugins/org.eclipse.m2e.core/archetypesInfo.xml#L1

Done with PR #185


Wrong key used in /episode-srcs

Describe the bug
In the route /episode-srcs an anilist id is given, but it actually is a MAL ID. For example if you go to /anime/episode-srcs?id=hanma-baki-son-of-ogre-2nd-season-18458?ep=104219 it will give you a MAL ID. MAL: https://myanimelist.net/anime/51318. ANILIST: https://anilist.co/anime/51318 [404].
Expected behavior
{
  headers: {
    Referer: string,
    "User-Agent": string,
    ...
  },
  sources: [
    {
      url: string, // .m3u8 hls streaming file
      isM3U8: boolean,
      quality?: string,
    },
    {...}
  ],
  subtitles: [
    {
      lang: "English",
      url: string, // .vtt subtitle file
    },
    {...}
  ],
  anilistID: number | null **(must be a valid anilist id or change the key to malId)**
}

The anilistId key must give a valid anilist id or the key must be changed to malId for all id's.
Actual behavior
{
  headers: {
    Referer: string,
    "User-Agent": string,
    ...
  },
  sources: [
    {
      url: string, // .m3u8 hls streaming file
      isM3U8: boolean,
      quality?: string,
    },
    {...}
  ],
  subtitles: [
    {
      lang: "English",
      url: string, // .vtt subtitle file
    },
    {...}
  ],
  anilistID: number | null
}

anilistId gives malId instead of anilist id.
Additional context
I suggest just changing the key from anilistId to malId.
It was probably just a typo.

Well if it's an invalid id then that's aniwatch's fault. I am just scraping the data. One thing I can do it include the mal_id alongside the anilist_id

I thought aniwatch only provides a mal_id not an anilist_id.

When you export your watchlist from aniwatch it also only gives you a mal I'd with every anime.

@WBRK-dev so only adding the mal_id will do right?

Oh I didn't know that. What you mentioned resolves this, if I understand you correctly.


onCommand handler is missing

Please add onCommand method, to handle arbitrary commands, not just /start, /settings and /help

Hey, thanks for raising this. Just added it to the dev branch. Soon to be published to release. Thanks again :)


Feature Request: Download retweets

Hi
With your wonderful addon I can download the media timeline with all media posted by twitter user.
But I cannot download retweets and the media contained in retweets.
With your app it is possible to download all the likes and their media. (which is large amount)
but it is impossible to download twitter timeline retweets and their media. (which is a smaller amount)
Please allow one button to download original timeline media with retweets.

sorry i found the button


[SMALLFIX] Correct the file of .gitignore

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8750/
Test PASSed.

@aaudiber  Because there are some logs file, such as master.log.1 master.log.2 master.out.1.
I think these files shouldn't be tracked by git.

That makes sense, thanks for the improvement :)


parse() throws exception when it receives a datetime

If a datetime object is passed to parse(), it should simply return it.  Currently it throws an exception.
>>> import datetime
>>> import dateparser
>>> dateparser.parse(datetime.datetime(2016, 4, 28, 0, 0))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/adamn1/.venvs/django/lib/python3.5/site-packages/dateparser/conf.py", line 80, in wrapper
    return f(*args, **kwargs)
  File "/Users/adamn1/.venvs/django/lib/python3.5/site-packages/dateparser/__init__.py", line 40, in parse
    data = parser.get_date_data(date_string, date_formats)
  File "/Users/adamn1/.venvs/django/lib/python3.5/site-packages/dateparser/date.py", line 339, in get_date_data
    date_string = date_string.strip()
AttributeError: 'datetime.datetime' object has no attribute 'strip'
>>>

Hello again @adamn, we appreciate your input. the parse function has a very clear intent to only accept strings or unicodes as inputs. That's why, returning datetime object as it is when encountered in the input is in contrast with the intent. Although this is well documented, it's not as obvious on the code side. Hence, PR #178. Thank you!

I have to disagree.  You're forcing the user to put all sorts of logic into their code just to handle what should be a non-event.  I can't see any reason why dateparser couldn't handle the datetime gracefully - it's trivial.

That's an interesting point of view, Adam though many won't agree.
We always use recipes. Here's one which applies to your case:
>>> from dateparser import parse
>>> from datetime import datetime
>>> parse_date_or_datetime = lambda x: parse(x) if not isinstance(x, datetime) else x
>>> parse_date_or_datetime(datetime(2016, 1, 2, 10, 20))
datetime.datetime(2016, 1, 2, 10, 20)

Also, take a look here for a similar use case.
P.S.  Zen of Python.

I can't imagine anybody would disagree with the request.  I see no disadvantage to putting that lambda in the method itself.

Well, I dare to disagree.
If you have a device that turns cockroaches into zebras and you give it a zebra, would you rather get your shiny old zebra back and pretend like nothing happened, patting the device on its back for good work, or be notified that the device prefers cockroaches to work on?
If you already have the zebra, why use the device?

IMO, @adamn 's request is not unreasonable.
pandas.to_datetime for example accepts several input types:
>>> import pandas as pd
>>> from datetime import datetime
>>> pd.to_datetime('2016-05-12')
Timestamp('2016-05-12 00:00:00')
>>> pd.to_datetime(pd.to_datetime('2016-05-12'))
Timestamp('2016-05-12 00:00:00')
>>> pd.to_datetime(datetime.now())
Timestamp('2016-05-12 11:52:31.850405')

On the other hand, python-dateutil also does not accept non-strings:
>>> from dateutil.parser import parse
>>> parse('2016-05-12')
datetime.datetime(2016, 5, 12, 0, 0)
>>> parse(parse('2016-05-12'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 1164, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 552, in parse
    res, skipped_tokens = self._parse(timestr, **kwargs)
  File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 671, in _parse
    l = _timelex.split(timestr)         # Splits the timestr into tokens
  File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 188, in split
    return list(cls(s))
  File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 184, in next
    return self.__next__()  # Python 2.x support
  File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 177, in __next__
    token = self.get_token()
  File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 93, in get_token
    nextchar = self.instream.read(1)
AttributeError: 'datetime.datetime' object has no attribute 'read'

maybe @adamn  you could tell us in what context do you pass datetimes to dateparser? (like throwing a bunch of data to dateparser from different source and normalizing them)
and how having this in dateparser would save you trouble checking input types?

I'm all about doing one thing and doing it well ... but the one thing that
I feel this library could do well is take an arbitrary input and turn it
into a datetime.  To take all arbitrary strings and unicodes but not a
datetime seem abstruse.  "Simple is better than complex." ... and the
current situation is complex because it requires every user of the library
to write boilerplate code that could easily be put into the library with no
performance constraints and fewer lines of code than #178 (i.e. one if
statement and a return).
Anyway, I'm taking feeds via feedreader and using dates from there
(strings).  If the date is not available, I use the publish_date from
newspaper3k (datetime).  If those aren't available, I start parsing other
datetimes I find (strings) or simply now() (datetime).
I've made a corresponding ticket on dateutil -
https://github.com/dateutil/dateutil/issues/269
On Thu, May 12, 2016 at 6:04 AM, Paul Tremberth<EMAIL_ADDRESS>wrote:

IMO, @adamn https://github.com/adamn 's request is not unreasonable.
pandas.to_datetime for example accepts several input types:

import pandas as pd
from datetime import datetime
pd.to_datetime('2016-05-12')
Timestamp('2016-05-12 00:00:00')
pd.to_datetime(pd.to_datetime('2016-05-12'))
Timestamp('2016-05-12 00:00:00')
pd.to_datetime(datetime.now())
Timestamp('2016-05-12 11:52:31.850405')

On the other hand, python-dateutil also does not accept non-strings:

from dateutil.parser import parse
parse('2016-05-12')
datetime.datetime(2016, 5, 12, 0, 0)
parse(parse('2016-05-12'))
Traceback (most recent call last):
File "", line 1, in
File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 1164, in parse
return DEFAULTPARSER.parse(timestr, **kwargs)
File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 552, in parse
res, skipped_tokens = self._parse(timestr, **kwargs)
File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 671, in _parse
l = _timelex.split(timestr)         # Splits the timestr into tokens
File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 188, in split
return list(cls(s))
File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 184, in next
return self.next()  # Python 2.x support
File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 177, in next
token = self.get_token()
File "/home/paul/.virtualenvs/pandas/local/lib/python2.7/site-packages/dateutil/parser.py", line 93, in get_token
nextchar = self.instream.read(1)
AttributeError: 'datetime.datetime' object has no attribute 'read'

maybe @adamn https://github.com/adamn you could tell us in what context
do you pass datetimes to dateparser? (like throwing a bunch of data to
dateparser from different source and normalizing them)
and how having this in dateparser would save you trouble checking input
types?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/scrapinghub/dateparser/issues/177#issuecomment-218714044

@adamn FYI, you may be interested in arrow. It is a higher level date and time library that tries to abstract away this sort of thing.  arrow.get() accepts anything date-like and returns an Arrow object:
>>> import arrow
>>> import datetime
>>> from datetime import datetime

>>> arrow.get(datetime(2015, 1, 1))
<Arrow [2015-01-01T00:00:00+00:00]>

>>> arrow.get('2015-01-01')
<Arrow [2015-01-01T00:00:00+00:00]>

If you are looking for a general abstract date interface, that might be the right way to go.

A compromise might be to raise a UserWarning.
I'll check out arrow in the meantime.
@asadurski If I have a device that turns cockroaches into zebras and I give it a zebra, I would prefer to get back the zebra, not for the device to kill the zebra :-)


Support service credentials in JSON format

The Java SDK should support loading service credentials from a JSON file.

per https://github.com/IBM-Bluemix/gp-common/issues/13


update packages

:white_check_mark: Build TheIdServer 2.3.1-fix-dependencies1-0033 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/ad858baf0b by @)


Supress error when the server return 200 and intentionally return no content

On JSON access, if the server returns 200 and intentionally return no content, error is triggered.
JSON.parse(res) tries to parse response content, but it is actually null (i.e. not JSON) and throws error.

First 2 commits are #10's. Plz merge after you merged #10.

And sorry again, but test is in progress.
I don't know how to respond null by grunt-contrib-connect's middleware.
Do you know how to solve this?

Hi, thank you for your contributions, it's really great that you help fixing aja.js errors of youth.
I don't think you need to respond null because JSON.parse(null) returns null and does not trigger an Error, but if the value is undefined. You should just try with res.end();

And please, do not forget to add your details in the contributors fields of the package.json (if you're agree with that)

I don't think you need to respond null because JSON.parse(null) returns null and does not trigger an Error, but if the value is undefined.
Oh, then maybe empty string or something falsy is returned in my environment. Maybe if(res) works, but it is considerable what value should be returned by test server.


navigation()->menu() Navigation menu helper

Sometimes developers want to make customization of menu in the output. For example, add bootstrap or other icon  to menu item. It would be useful to be able to specify a template of menu item, like "{icon} {link} {other_content}", where {link} -  tag, generated in method htmlify(). Content for placeholders can be passed in page params or menu helper params. Some placeholders out of box, like {link}, can be required in template.

Menu items links may be more customizable if tags  and   make as different placeholders. Then will be a possibility paste something in link, together with label.
something bebore label  LABEL = {startLink}something bebore label {label}{endLink}

You can add any HTML elements to a label:
Configuration:
'navigation' => [
    'default' => [
        'github' => [
            'label' => '<i class="icon-github"></i> GitHub',
            'href'  => '#',
        ],
    ],
],

and in a layout script:
echo $this->navigation('navigation')->menu()->escapeLabels(false);

Or use a partial script or pure CSS.

I think there are enough options to add icons or other elements.


⚠ Empornium has degraded performance

In d64b7bc, Empornium ($EMP) experienced degraded performance:

HTTP code: 500
Response time: 1321 ms

Resolved: Empornium performance has improved in 9bfe6e3 after 6 minutes.


CMake Error: The source "D:/ebpf-for-windows/external/ebpf-verifier/CMakeLists.txt" does not match the source "/d/ebpf-for-windows/external/ebpf-verifier/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.

& "C:\Program Files\CMake\bin\cmake.exe" -S external\ebpf-verifier -B external\ebpf-verifier\build

CMake Error: The source "D:/ebpf-for-windows/external/ebpf-verifier/CMakeLists.txt" does not match the source "/d/ebpf-for-windows/external/ebpf-verifier/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.

@TylerJaacks thank you for the feedback. Would it be possible for you to provide more information about the setup? This error usually shows up when the git repo is moved from one folder to another.

It was not moved

For some reason it appears to be fixed now after updating Visual Studio.

Closing since it appears to be fixed.  Please reopen if a repro resurfaces.


feat: add ryodocx/kube-credential-cache

https://github.com/aquaproj/aqua-registry/pull/6418 ryodocx/kube-credential-cache: Accelerator cache for kubernetes access
$ aqua g -i ryodocx/kube-credential-cache

How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.
Command and output
kcc-injector
$ kcc-injector --help
Usage: kcc-injector [flags] <kubeconfig-filepath>
  -c string
        injection command (default "kcc-cache")
  -i    edit file in-place
  -r    restore kubeconfig to original

kcc-cache (Called from kubectl)
$ kcc-cache --help
kcc-cache: read command output failed: exec: "--help": executable file not found in $PATH
error occurred at: https://github.com/ryodocx/kube-credential-cache/blob/0571d68ea98e04f8d5726d47627bbfeecb7a7853/cmd/kcc-cache/main.go#L151

If files such as configuration file are needed, please share them.
Inject kcc-cache command to kubectl config. (or manual setup)
$ kcc-injector -i ~/.kube/config

Run kubectl
$ kubectl get pod

Reference

README - Usage

https://github.com/ryodocx/kube-credential-cache#usageedit-kubeconfig

Thanks!

BTW, I found a tweet. 😄
https://twitter.com/ryodocx/status/1562847088006021121

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.59.0


Split auth endpoints from hostname in configuration

Makes it a bit simpler to swap out configuration when using another oauth2 provider.

Made this basically in case anyone was working on this feature branch, to inform that I wanted to change the structure of env vars.
With this change, unless you export the OAUTH2_PROVIDER_BACKEND, it will all work as before (since it concats BACKEND + ENDPOINT). Anyways, it'll be easier to manage in the future.


Create metrics table

In an effort to make the metrics more consumable for tooling, I created this HTML table. If this is acceptable, I will create one for the remaining metrics pages.
I went with HTML on this because it allows for row spanning which I believe allows us to visualize the relationships between the lower level metrics and aggregate them into high-level metrics.

Hi @klumb ,
Thank you for this initiative. I think the table structure looks great but I am not a tooling person.
Maybe you could send a message to the mailing lists (metrics and software), include a link to this pull request, and ask for feedback from people who will actually consume the document.
Once the table is build out to your satisfaction, we can merge in the pull request.

I like the idea. But maybe it would be better to write the table in Markdown? (just for consistency with the rest of the document).

What are the options outside of HTML?

Github Flavoured Markdown supports tables, but not (AFAIK) merged cells, so it would look like this:
Metric | Signal | Action
--- | --- | ---
Value Accumulation | Bug Resolution | Tickets Closed = Time from bug opened to bug closed
Value Accumulation | Bug Resolution | Time to Close = Total # of tickets closed
Value Accumulation | Patch Speed | Time to Merge = Time from submission to merge or abandon
Value Accumulation | Patch Speed | Review Efficiency = # of merged patches / # of abandoned patches
Community Growth | # of new developers | New Contributors = # of first time contributors over time
Community Growth | # of new developers | ...

Metric
Signal
Action

Value Accumulation
Bug Resolution
Tickets Closed = Time from bug opened to bug closed

Value Accumulation
Bug Resolution
Time to Close = Total # of tickets closed

Value Accumulation
Patch Speed
Time to Merge = Time from submission to merge or abandon

Value Accumulation
Patch Speed
Review Efficiency = # of merged patches / # of abandoned patches

Community Growth
# of new developers
New Contributors = # of first time contributors over time

Community Growth
# of new developers
...

I am not following exactly what this is .... The term metric is now at a high level of abstraction, and signal is more granular. Action then sounds like a specifically measurable item that we had previously been calling a "metric."
I like the idea of separating layers, but I am concerned that right now this commits us to a language about what each "thing" means that has not yet been sorted out.
What I would like to see is a set of 3-7 specific, measurable items identified for a pilot cycle through the various software implementations.  From that I think we can start to figure out what the right words and layers are ... This is helpful, but I want to build something off of a list of "things to build" without making a commitment to what we call them just yet.
In this paper I describe how making commitments to what we call things too soon can cause a lot of confusion for along time on social computing projects ... https://goo.gl/info/ypuKzJ

Thanks, I do think markdown is the better way to go here, I only went with HTML because it allowed me to display the table the way I visualized it based on the current discussion in the markdown file.
@goggins, your comment is very helpful. What does tooling want to see here?

@klumb : see my comment above and let me know if it helps. I do not speak for the software committee, but only for my thoughts as a member of the software committee.

Reposting my response from the mailing list to keep the discussion together:
Quick feedback based on my undestanding:

Our framing to date has been:
Metric Category (Growth, Maturity & Decline, for example)
Metric (Tickets Closed, for example).

I always thought of "activity metric" as the counter part to (component of) what you call "metric category".

The proposed change to our framing looks sort of like this:
Metric Category

“Metric” (Value accumulation, for example)
“Signal” (Bug Resolution, for example)
“Action” (Tickets Closed, for example)

Here’s my concern, and its not really a concern that is conceptual, but instead procedural, or wishing to guide how we iterate on the things we encase in software construction. As principles:

I think we know that the lowest level of abstraction needs to be something implemented in code.

Agreed.
For this reason, I don't think the framing of metric - signal - action is appropriate for understanding these levels of abstractions.
I propose an understand the terms that is independent of metric aggregation:

metric is independent of level of abstraction (could be composit or raw activity metric) [example: average time to close issue is increasing month over month];
signal is merely how the metric can be interpreted [example: contributors are submitting issues faster than maintainers can close them];
action is the response to the (metric informed) signal [example: promote more contributors to maintainers to spread the load of responding to and closing issues].

With this understanding, we need to ignore signal and action for now and focus solely on metric - which is the only aspect relevant to implementation for now.

I think we know that the metric category is a bucket for collecting things implemented in code into groups that make sense to both the metrics and software committees.

Agreed.
I think Kevin was proposing a way to show these "buckets" and what they contain, including the "layers of subcategories".

Its also likely that there will be layers of subcategories and groupings in between the coarsest (metrics category) and most granular (discrete measurable items or “activity metrics” like ‘Tickets closed’).

I propose that;

We identify the layers in between through an actual implementation of 3-7 “activity metrics” or “measurable items” like ‘tickets closed’ in different software against possibly different repository types.
From that working iteration cycle, we then come back and try to identify how the “activity metrics” or “measurable items” might be grouped together to inform subcategories or subgroupings of “growth, maturity and decline” (a metrics category, for example.).

Sounds like a good approach.
Does this mean we go back to what we used to have on the wiki, only with fewer (3-7) activity metrics for each of the four highest-level metrics. During the implementation process, I would expect to learn whether these activity metrics are actually at the lowest level (measurable item?) or composite metrics (which introduces a layer).

@klumb said:

What does tooling want to see here?

I think, at least from the GrimoireLab side, we don't have a preference here. In our standard dashboard metrics are now grouped by data source, but other arrangements are possible, and one based on "what do metrics mean" seems quite reasonable to me.

In response to the table above and based on today's Google Hangout.

Remove two leftmost columns.
Rename Action column as Activity Metic

This will remove any predefined associations and hone in on 3-7 activity metrics that can be used to define specific metrics.

I have updated the table of Growth-Maturity-Decline and added tables for the remaining metrics. The activity metrics I have inserted into the tables are taken directly from the metrics discussions occurring in the markdown pages.

I'd say go ahead and merge this. We can start a new request to tweak the language.

Thanks for the review @germonprez

Just a quick comment (sorry I've been absent as I've been traveling....)
I like the simplified table we have with 2 columns.  At some point, would it make sense to add a third column to note if any of the metrics are already implemented in the software?  We could just say Y/N with a link to a repo if there's an implementation in the Software committee repo.

Good idea :)


Allow pre-selecting a specific tab when using the tabs component

Related component
Tabs
Context
Unless you pass the ID for a specific tab as part of the anchor in the URL, the tabs component assumes that you always want the first tab to be visible:
https://github.com/alphagov/govuk-frontend/blob/19015c3df291db1653ea94793bfcbd95cbdd4063/src/govuk/components/tabs/tabs.mjs#L76-L78
If you're using the Nunjucks macro, the --selected modifier is always added to the first tab:
https://github.com/alphagov/govuk-frontend/blob/19015c3df291db1653ea94793bfcbd95cbdd4063/src/govuk/components/tabs/template.njk#L14
However, if the user is using the HTML they can put the --selected modifier on whichever tab they like – but because of the assumption in the JavaScript, the tab to be visible on page load, but as soon as the JavaScript kicks the user will be switched back to the first tab.
I'd suggest:

if any of the tabs have the --selected modifier on page load, the JavaScript should keep the first tab with that class as the active tab
the Nunjucks macro should be extended to allow the user to set a specific tab as selected (but should default to the first tab as it does currently).

Alternatives
One alternative is to include the ID of the target tab in the URL when linking to the page, but that results in the viewport being scrolled to the top of the tab, cutting off the top of the page.
Additional information (if applicable)
This came up when supporting a user on Slack, who (quite rightly) expected to be able to set the active tab by moving the --selected modifier class, and was surprised when that didn't work.

Is there any benefit to defining the default based on the presence of a modifier class versus using a data-* attribute or JS configuration option?

Not that I can immediately think of, but I think changing that would be a breaking change as it'd require folks to update their markup.

Another workaround is to manually set window.location.hash before the GOV.UK Frontend JS kicks in, which avoids the viewport scrolling to the tab:
<script>
window.location.hash = 'id-of-tab'
</script>


Add convert bits

Imports the convert_bits function from rust-bech32-bitcoin.

@sgeisler @apoelstra Any comments on this one?

Would it make sense to add BitcoinConversionError to the top-level Error enum?

Yep. We can reuse Error::InvalidData(u8) and add InvalidPadding to the existing enum.

Great, if you can do that then ACK from me.

ACK

Resolves #3

I'd like to change the type of data to &[u8], so the signature becomes  fn convert_bits(data: &[u8], from: u32, to: u32, pad: bool). I will include this in #6 after rebasing on master.


[WIP] Fix RMSE Annotation

On this PR we are enhancing the RSME annotation produced when comparing diploes. We stop overwriting annotations from previous runs.
We also add a message in the gui console with the information from the last comparison.
solves #710

I selected the wrong branches to merge in this PR

perhaps @rythorpe @ntolley can help review ?

This branch needs a rebase to clear up some of the diffs that there merged from #730.

@gtdang Rebase done. This PR is ready to review

Looks good! Can you squash your commits and add an entry in whats_new.rst so we can give you credit when making the release?


Add missing sum of multiples test

Addresses https://github.com/exercism/todo/issues/52.

Thanks!


Axel dubar/feature/codecov coverage

Compute the coverage and use Codecov (https://about.codecov.io/) to host the review and provide a badge.

Thanks all good for me


Update suid3num.py

Added ZSH SUID Escalation

Thanks @ryanrohypnol, but, copying the zsh binary to the local directory (or anywhere else) will remove its SUID bit set by root (or whoever user we're trying to escalate permissions with). Afterwards calling chmod +s ./bin will set the SUID bit as our user rather than the one we're trying to escalate our privs with.
Can you please explain/share the use-case, machine or scenario where you did this and escalated privileges?
Let me know if I'm missing something.
Some screenshots to share my understanding:

Closing this because of no replies/activity. Let me know if you have a use case (where the above^ wirjs) and we can reopen and look into it again.


[Circular Progress] looks broken in Safari

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
Spinner should looks like in chrome

Current Behavior
Spinners looks like whole circle

Steps to Reproduce

MacOS 10.13
Open Safari 11.0
Go to the official documentation (https://material-ui-1dab0.firebaseapp.com/demos/progress/#circular)
Check circular progress animation

Your Environment

Tech
Version

Material-UI
v1.0.0-beta.12

React
15.6+

browser
Safari 11.0

etc
MacOS 10.13

duplicate of #5524


Bad character escape sequence when the path of workspace contain non-English characters

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[ ] I have tried the npm run clear or yarn clear command.
[ ] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[ ] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
If the project path contain non-English characters it gives me Bad character escape sequence

the path of the project is :  F:\برمجة\PixelPlatform\
there are non-English word برمجة, this make the issue happen
If i move the project to a path that contains English letters like :   F:\PixelPlatform\
The problem will be solved
Steps to reproduce
Just put the project in a folder has non-English characters
and run:

npx create-docusaurus@latest PixelPlatform classic
yarn install
yarn start

Expected behavior
Works!!
Actual behavior
Got an error because the path contain non-English characters
Your environment

Docusaurus version used: 2.0.0-beta.14
Environment name and version: Chrome 96.0.4664.110, Nodejs v15.5.0
Operating system and version: Windows 10

Reproducible demo
No response
Self-service

[ ] I'd be willing to fix this bug myself.

We had the same problem with Chinese paths. Paths on windows always seem messed up😅

Fixed by #6190. Please test with the latest canary release.

Fixed by #6190. Please test with the latest canary release.

Sorry for the late reply, I just tested it and everything works 👍

Good to know!


Hidden and disabled fields not sends

I trying to use library in my project based on F3 framework. I have many disabled and hidden fields and i notice that fields with disabled attribute and fields with hidden class not sends.

Disabled fields is not send - it is standard behavior in browsers.
Regarding hidden class need more information (please show your code).

Ah, it's my bad. I used bootstrap3 and I though disabled is same as readonly. Also my hidden fields contains disabled attribute.
All works fine, sorry and thank you for attention. :smile:


DRAFT: TRACEFOSS-SEC - Added trivy security scan engine

Based on this confluence Page, I added the trivy security scanner.
https://confluence.catena-x.net/pages/viewpage.action?spaceKey=cxsecurity&title=[Traceability-Foss]+Status


Enchanting Table Issue

While playing All The Mods 6 v1.3.7, the crafting table would not show up in JEI. After crafting it from memory it was named "Air", and when placing it it had a glitched texture before becoming an invisible block that prevented me from walking or jumping on the space where I had attempted to place it.

That would be caused by a mod conflict of something else replacing the table.


Error when running uv sync --no-install-project: pyproject.toml file not found

I'm trying the new feature in today's 0.3.3 release: uv sync --no-install-project but I could not make it work since it keeps failing because pyproject.toml file is not found
The full Dockerfile example provided in the documentation here https://docs.astral.sh/uv/guides/integration/docker/#intermediate-layers does not work and raises this error too

Apologies, does it work if you copy over the pyproject.toml? It might be relying on discovering it but not actually reading from it. Will fix.

Yes, it works after copying pyproject.toml

Yes it reads it to discover the project name, so it can pick out the right dependency tree in the lockfile.

But it does not require the project contents which is the critical piece that would ruin caching.

(The docs are incorrect though.)

What happens if the project has multiple packages (using workspaces), do I need to copy all other pyproject.toml files too?

Let me test it before I try to answer confidently.

Yes, but I think we can fix that part.

I updated the documentation (and added test coverage) for now. We'll follow-up with some other changes.

thank you @charliermarsh !
One suggestion: Maybe we can consider storing the root (?) project name in uv.lock so that pyproject.toml is not needed. I have no idea how hard it would be to change the code, but it would make it slightly easier to have a working Dockerfile

I think we probably can. Just trying to decide if we should. It creates some weirdness if we don't use the pyproject.toml to discover the root directory, etc.

@charliermarsh I don't know low-level differences between uv and pdm, just to mention the latter is able to update venv without pyproject.toml with the below command:

pdm sync --no-self

Btw, what is a difference between these two flags?
      --locked                                   Assert that the `uv.lock` will remain unchanged
      --frozen                                   Sync without updating the `uv.lock` file

@zanieb thanks, I haven't noticed docs contain extended version of options' help messages

The end of uv sync --help suggests the longer option and we cover this at https://docs.astral.sh/uv/getting-started/help/ — let me know if there's anything more we can do to emphasize that it's available though!

@zanieb ach lol, haven't noticed the footer at all 😄 Maybe you can make it bold:

Use uv help sync for more details.

or put at the top:

❯ uv sync --help
Update the project's environment
Note: Use uv help sync for more detailed help.
Usage: uv sync [OPTIONS]
...

but generally - it was simply my bad, I was just quickly testing uv and haven't got familiar with the CLI and docs yet

The biggest hangup to doing this is that you lose any configuration specified in the pyproject.toml, which feels like a footgun.


Correct command CLI

Thanks for PR.
I found current CLI usage is wrong.
However, your solution cannot support for renaming CLI. (User may rename binary version.)
I think best solution is yargs $0 (See here)
By the way, I think CLI example is not necessary in README, besause of CLI --help flag.
So, please separate "Fix CLI usage" PR from this PR.

Thank for your reply. I checked again in my PR there are many another commit not related to CLI command. I checked out and created a new pull request. In this commit, I have changed the command correctly. Can you check back, thanks?


Mobile Lock Screen Play/Pause state is being overridden by ReactPlayer

Current Behavior

When trying to pause a live hls audio stream from my mobile phone's lock screen (iOS and Android), it pauses for a moment and then resumes playing. Somehow ReactPlayer is overriding the  native functionality.
Expected Behavior

I would expect the audio to respect the play/pause state on the device.
Steps to Reproduce

Start a live HLS stream
Access it from a mobile device.
Put the device in lock screen mode.
Try to pause the stream.

Environment

URL attempting to play: https://prankcast.com/milkbox/showreel/1377-Nathan-Fielder-s-The-Rehearsal-Interview-with-Cheap-Chick-in-the-City-s-Tricia-from-Ep-1
Browser: Safari
Operating system: iOS
jsFiddle example: dont have one

Other Information

hlsVersion: 0.13.1
Here's the ReactPlayer code, in case this is helpful:
`
//hlsVersion: 0.13.1
          <ReactPlayer
                        ref={player_state?.playerRef}
                        url={stream_url_active}
                        config={{
                                forceAudio: true,
                                forceHLS: player_state?.useHLS,
                                hlsOptions:  {
                                                maxLoadingDelay: 4,
                                                minAutoBitrate: 0,
                                                lowLatencyMode: true,
                                                enableWorker: true,
                                            }
                        }}

                        width='100%'
                        height='40px'
                        autoPlay={player_state?.isMediaLoaded}
                        preload={"auto"}
                        controls={false}
                        playing={player_state?.isPlaying}
                        muted={player_state?.isMuted}
                        volume={player_state?.volume}
                        onPlay={()=> {
                            set_player_state({...player_state
                                    ,isPlaying:true
                                    ,isSeeking:false
                                    ,isLoading:false
                                    ,isMediaLoaded:true
                                })
                        }}
                        onPause={()=> {
                            set_player_state({...player_state
                                ,isPlaying:false
                                ,isSeeking:false
                            })
                        }}
                        onEnded={()=> {
                            console.log("audio ended");
                            set_player_state({...player_state
                                ,url:''
                                ,file:''
                                ,isPlaying:false
                                ,isSeeking:false
                                ,isEnded:true
                            })
                        }}
                        onBuffer={()=> set_player_state({...player_state,isBuffering:true})}
                        onBufferEnd={()=> set_player_state({...player_state,isBuffering:false})}
                    />`

Just curious if this is happening to anyone else and if there is a simple workaround?

I can’t reproduce this on iOS 15.6.1 when using the HLS example on the demo page.
Does the issue still occur if you remove the onPause handler?
Actually, I wonder if it’s because you are passing a new function in to the onPlay and onPause etc handlers on every render. Maybe try wrapping them in useCallback and see if that changes anything?

Ok thanks! will do - I’ll let you know.
On Fri, Sep 16, 2022 at 6:50 PM Pete Cook @.***> wrote:

I can’t reproduce this on iOS 15.6.1 when using the HLS example on the demo
page https://cookpete.com/react-player/.
Does the issue still occur if you remove the onPause handler?
Actually, I wonder if it’s because you are passing a new function in to
the onPlay and onPause etc handlers on every render. Maybe try wrapping
them in useCallback and see if that changes anything?
—
Reply to this email directly, view it on GitHub
https://github.com/cookpete/react-player/issues/1490#issuecomment-1249920136,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADWSST6D3VNE4TAP5K3EJDV6T2TPANCNFSM55T2UIDA
.
You are receiving this because you authored the thread.Message ID:
@.***>

OK, so I tested both scenarios.

Wrapping in a callback did not change anything (issue persists).

removing the onPause event did stop this issue from happening. I had some
custom functionality inside of onPause, so if there's an alternative way to
trigger that when someone hits the pause button please do let me know.

On Fri, Sep 16, 2022 at 6:50 PM Pete Cook @.***> wrote:

I can’t reproduce this on iOS 15.6.1 when using the HLS example on the demo
page https://cookpete.com/react-player/.
Does the issue still occur if you remove the onPause handler?
Actually, I wonder if it’s because you are passing a new function in to
the onPlay and onPause etc handlers on every render. Maybe try wrapping
them in useCallback and see if that changes anything?
—
Reply to this email directly, view it on GitHub
https://github.com/cookpete/react-player/issues/1490#issuecomment-1249920136,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADWSST6D3VNE4TAP5K3EJDV6T2TPANCNFSM55T2UIDA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Simplify and relax specification

Hey friends <3
This update is an attempt to make the specification more consistent and clear, as well as relaxing the requirements related to automatic template/scheme fetching by the builders (making simpler builders possible).
This reworked specification (spec.md) replaces builder.md and file.md. I've also (slightly) tweaked the relevant README section to account for this change.
I tried my best to make the specification as clear and complete as possible, while avoiding new restrictions. This should not be a breaking change! I bumped the minor version, but please let me know if it would make sense for this to be a patch update instead. Or perhaps 1.0.0 if we have everyone's blessing to mark base16 as stable :))
I did not include the new variables we discussed (underscored, light/dark) just yet, so that we can discuss these separetely.
Please let me know what you think!
PS: I plan on following up (on another PR, of course) later with my proposal of a minimal reference builder specifications.

Oh and a quick question.
As templates can include multiple templates, I propose we call the "templates" directories template sets, and each .mustache file a template. What do you folks think? Should we keep calling both template, or maybe template/subtemplate?

And quick note:
I mentioned I relaxed builder specifications, but they were always kind of relaxed (as they were called guidelines). This PR should cleanly split what is a requirement for the spec (the specific template variables), and what is a guideline (how to output it, fetching stuff from git, etc)


Windows 10 style BSOD

Part of #429

Your pull request needs further work because of the following reason(s):

You have modified BSoD/casman.html, You can only modify BSoD/casman300.html

Once you have resolved the issues, comment on this request to be re-judged
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

faa08d9d9c37581c56def9633dbde2a0a84ff2ba

Corrected file name!

Your pull request seems good, but must be checked by a human maintainer for the following reason(s):

This contains potentially hazardous tags that need manual review.

Please be patient until a maintainer has time to look over your contribution.
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

d84acea9b9cbfdd57c4ea78d269512fb33140e88